Commit graph

57830 commits

Author SHA1 Message Date
David Quintana 6600002283 Sync with trunk r63343.
svn path=/branches/shell-experiments/; revision=63351
2014-05-18 12:11:58 +00:00
David Quintana 4242fb21c0 [WIN32K/NTUSER]
* Allow WM_ACTIVATEAPP to be sent to the deactivated windows. Fixes the start menu not closing when clicking outside the taskbar. Patch by Huw (Frontier).
CORE-8235 #resolve #comment Included in shell-experiments branch. Thanks.

svn path=/branches/shell-experiments/; revision=63350
2014-05-18 12:04:25 +00:00
Hermès Bélusca-Maïto 2736ab0dca [NTVDM]: Improve the dumper a bit.
svn path=/trunk/; revision=63343
2014-05-17 23:55:14 +00:00
Hermès Bélusca-Maïto ad69b4a3c0 [NTVDM]
Add a memory dump facility.

svn path=/trunk/; revision=63342
2014-05-17 23:49:35 +00:00
Timo Kreuzer 7c2c3d6d1f [USER32]
Fix sizeof(WCHAR) vs sizeof(CHAR) problem. Patch by Victor Martinez.
CORE-8166 #resolve #comment Committed in r63341, thanks.

svn path=/trunk/; revision=63341
2014-05-17 23:00:34 +00:00
Timo Kreuzer 34ea0a3ea7 [VGA_NEW]
Improve order of check against NULL and assignement. Patch by Victor Martinez.
CORE-8121 #resolve #comment Committed in r63340, thanks

svn path=/trunk/; revision=63340
2014-05-17 22:55:22 +00:00
Timo Kreuzer 1a918ac33b [WIN32K]
Revert r56462. Should fix some win32k crashes. See CORE-7965

svn path=/trunk/; revision=63339
2014-05-17 22:33:42 +00:00
Timo Kreuzer 5e5f4c1d14 [NTOSKRNL]
Fix Mm

svn path=/trunk/; revision=63338
2014-05-17 22:30:43 +00:00
Aleksandar Andrejevic 22679f9a7c [NTVDM][KERNEL32][BASESRV]
Modify BaseSrvFillCommandInfo to always return the correct lengths of the parameters.
In BaseSrvGetNextVDMCommand, check if BaseSrvFillCommandInfo failed.
In CommandThreadProc, expand the size of the environment if necessary.
Add a useful DPRINT1 in BiosKbdBufferPush.
Finish implementing BaseCreateVDMEnvironment.
In GetNextVDMCommand, return the correct lengths of parameters if BaseSrvGetNextVDMCommand
failed.


svn path=/trunk/; revision=63337
2014-05-17 22:26:37 +00:00
Timo Kreuzer bef68d6f6c [NTOSKRNL]
Modify the VAD node code to return a TABLE_SEARCH_RESULT instead of an NTSTATUS, this allows us to avoid a 2nd tree iteration when inserting VADs. Fix several bugs in MiFindEmptyAddressRangeDownBasedTree. This code now contains a compatibility hack, that emulates a bug in the Windows 2003 kernel. Note that this bug is also present in MiFindEmptyAddressRangeDownTree on Windows 2003, but will not be exposed to the user, since it only affects the region above the top-most VAD, which will always be occupied by the PEB or TEB. Implement MEM_TOPDOWN in NtAllocateVirtualMemory. See CORE-6392

svn path=/trunk/; revision=63336
2014-05-17 20:34:11 +00:00
Amine Khaldi f88752ba0e [FREETYPE]
* Update to 2.5.3. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63335
2014-05-17 18:52:24 +00:00
Timo Kreuzer aa3d15ae6c [TESTDATA]
Fix test.dll

svn path=/trunk/; revision=63334
2014-05-17 18:36:22 +00:00
Timo Kreuzer 9f835ff3ff [NTDLL_APITEST]
Add more tests for NtMapViewOfSection. Fix some tests, so that everything works on windows 2003.

svn path=/trunk/; revision=63333
2014-05-17 18:35:39 +00:00
Amine Khaldi a17de02b71 [LIBJPEG]
* Update to release 9a. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63332
2014-05-17 18:14:51 +00:00
Aleksandar Andrejevic 9de7dafcc9 [NTVDM]
DosResizeMemory shouldn't succeed unless the memory block has been resized to the specified amount.


svn path=/trunk/; revision=63331
2014-05-17 15:29:07 +00:00
Eric Kohl a47b155648 [NTOSKRNL]
Partial revert of r63326! The correct partition numbers cause boot failures.

svn path=/trunk/; revision=63330
2014-05-17 14:42:28 +00:00
Amine Khaldi 1a4036b369 [WINSCARD]
* Import from Wine 1.7.17.
* Properly stub some exports thanks to our previous code.
* Add to build.
CORE-8224 #resolve #comment Added in r63328. Thanks for reporting!
CORE-8080

svn path=/trunk/; revision=63329
2014-05-17 14:06:12 +00:00
Amine Khaldi b0f91e882d [PSDK]
* Add some missing definitions.
* Fix SCardReleaseStartedEvent().

svn path=/trunk/; revision=63328
2014-05-17 14:00:54 +00:00
Hermès Bélusca-Maïto 9ef81cf038 [GREEN]: Fix 2nd parameter of ObOpenObjectByName.
svn path=/trunk/; revision=63327
2014-05-17 13:26:32 +00:00
Eric Kohl 7a4fd32957 [NTOSKRNL]
xHalIoReadPartitionTable: Only used non-container partition entries have a non-zero partition number.

svn path=/trunk/; revision=63326
2014-05-17 12:55:06 +00:00
Amine Khaldi 1d4476db48 [FONTS]
* Update tahoma.ttf and tahomabd.ttf.
CORE-7909 #resolve #comment Committed in r63325. Thanks Ștefan!
CORE-8080

svn path=/trunk/; revision=63325
2014-05-17 11:40:54 +00:00
Amine Khaldi dd17546bfe [RAPPS]
* Some list entries fixes.
* Mention that Turkish translations were done by Erdem Ersoy.
CORE-7710 #resolve #comment Committed in r63324.

svn path=/trunk/; revision=63324
2014-05-17 11:25:50 +00:00
Timo Kreuzer c64645fd66 [SPEC2DEF]
Fix def file generation on non-86

svn path=/trunk/; revision=63323
2014-05-17 10:58:10 +00:00
Amine Khaldi 778c8e998c [CRT]
* Update _sopen_s().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63322
2014-05-17 10:41:36 +00:00
Amine Khaldi fa9bf9ef6e [CRT]
* Import _chsize_s().
* Update _chsize().
CORE-8080

svn path=/trunk/; revision=63321
2014-05-17 10:35:35 +00:00
Amine Khaldi 9273fa01fa [CRT]
* Update _fseeki64().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63320
2014-05-17 10:28:57 +00:00
James Tabor ef2221fd12 [ConSrv]
- Move Alt-Escape, Space and Tab to ConWndProc, disable GuiProcessKeyCallback.
- Alt-Space was not getting launched out of GuiProcessKeyCallback. The key needed translated.
- Reduce code for system menus.

svn path=/trunk/; revision=63319
2014-05-17 02:15:50 +00:00
James Tabor fdc93df98f [ConSrv]
- Readjust the bytes to wide character size.

svn path=/trunk/; revision=63318
2014-05-16 21:05:37 +00:00
James Tabor d5880674f2 [NtUser|User32]
- Fully strip the Atl-F4 from the Pop Up System Menu.
- Fix menu.c:1418: Test failed: InsertMenuItem should have failed. Both A/W...
- Fix menu key by Item when cloning menus.

svn path=/trunk/; revision=63317
2014-05-16 20:43:23 +00:00
David Quintana 7a09d4a028 [WIN32K/NTUSER]
* HSHELL_WINDOWCREATED should only be sent for visible windows.
CORE-8226 #resolve #comment Fixed in the latest commit. Thanks for reporting.

svn path=/branches/shell-experiments/; revision=63316
2014-05-16 19:13:12 +00:00
James Tabor a61decb1c0 [ConSrv]
- Strip the Atl-F4 from the Pop Up System Menu since we do not support it.


svn path=/trunk/; revision=63315
2014-05-16 18:26:00 +00:00
Kamil Hornicek 07c315c504 [OPENGL32]
- don't try to free an invalid address

svn path=/trunk/; revision=63314
2014-05-16 15:52:15 +00:00
David Quintana 1f5d24518e [WIN32k/NTUSER]
* Make the conditions actually check what was intended.

svn path=/branches/shell-experiments/; revision=63313
2014-05-16 11:14:04 +00:00
David Quintana 2caa76f93d [RSHELL]
* Fix shell menus closing when clicking on the frame/banner.
CORE-7586

svn path=/branches/shell-experiments/; revision=63312
2014-05-16 11:12:51 +00:00
Hermès Bélusca-Maïto 2d601a6dfc [NTVDM]
Implement INT 21h, AH=5Ch "Lock/Unlock Region of File".

svn path=/trunk/; revision=63311
2014-05-16 00:56:46 +00:00
Hermès Bélusca-Maïto a242a67b73 [NTVDM]
Partially implement INT 21h, AH=60h -- "Canonicalize File Name or Path".

svn path=/trunk/; revision=63310
2014-05-16 00:34:54 +00:00
Hermès Bélusca-Maïto 325729ca4a [NTVDM]
- Add some diagnostic DPRINTs (they are off by default), and fix few of them.
- Fix/complete few comments.
- Implement INT 21h, AH=56h (rename file), 5Ah (create temporary file), 5Bh (create new file), 68h and 6Ah ("commit" aka. flush file; they are the same function).
- Stubplement INT 21h, AH=60h (canonicalize file name or path) and 6Ch (extended open or create file). For this latest one I will merge DosCreateFile and DosOpenFile into the same function (in fact a wrapper around CreateFileA, that is used both for creating and opening files).

svn path=/trunk/; revision=63309
2014-05-15 23:13:06 +00:00
Aleksandar Andrejevic 480e3ae350 [NTVDM]
Fix dead code.


svn path=/trunk/; revision=63308
2014-05-15 23:00:01 +00:00
David Quintana 389001ca69 [WIN32K/NTUSER]
* Fix gcc compilation.

svn path=/branches/shell-experiments/; revision=63307
2014-05-15 18:30:31 +00:00
David Quintana c0a40fbfe8 [WIN32K/NTUSER]
* Apply the same filter to HSHELL_WINDOWACTIVATED, that I used for _WINDOWCREATED.

svn path=/branches/shell-experiments/; revision=63306
2014-05-15 18:07:41 +00:00
Eric Kohl ac2f92611e [FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63305
2014-05-15 16:32:30 +00:00
David Quintana 9d30009eb1 [EXPLORER-NEW]
* Fix handling of taskbar items.
* Filter out the desktop and taskbar from the button list.
* Fixes minimizing from the taskbar in Windows (something else is preventing it from working in ros).

[NTUSER]
* Improve filtering of windows before calling HSHELL_WINDOWCREATED.

[USER32]
* Menus are supposed to be WS_EX_TOOLWINDOW so they don't show up in the taskbar.

[ATL]
[BROWSEUI]
[SHELL32]
* Include ATL aggregation patch by Huw (Frontier) (with Amine's changes).

CORE-8175

svn path=/branches/shell-experiments/; revision=63304
2014-05-15 13:23:06 +00:00
Hermès Bélusca-Maïto 8afc11c2e4 [NTVDM]: Code formatting and DPRINT fix.
svn path=/trunk/; revision=63303
2014-05-15 01:13:44 +00:00
Aleksandar Andrejevic 5f6ac9ac39 [NTVDM]
Don't calculate NextElement twice.
Properly initialize the keyboard buffer head and tail.


svn path=/trunk/; revision=63302
2014-05-14 20:56:21 +00:00
Timo Kreuzer 3ed2e2a095 [NTDLL_APITEST]
Revert unwanted changes

svn path=/trunk/; revision=63301
2014-05-14 20:46:47 +00:00
Timo Kreuzer e44bf54b10 [NTOSKRNL]
Fix NtReleaseMutant, which was expecting MUTANT_QUERY_STATE right on the mutant handle, which is not required, probably a copypasta. Fixes a test.

svn path=/trunk/; revision=63300
2014-05-14 20:27:18 +00:00
Timo Kreuzer a1b89faa39 [NTDLL_APITEST]
Add a test for NtReleaseMutant

svn path=/trunk/; revision=63299
2014-05-14 20:23:38 +00:00
Hermès Bélusca-Maïto f75a2aec51 [NTVDM]
For diagnostic/debugging purposes, prefill the keyboard buffer with invalid values.

svn path=/trunk/; revision=63298
2014-05-14 19:19:57 +00:00
Hermès Bélusca-Maïto dea92c0361 [NTVDM]: Introduce a echo state for INT 21h, AH=01h and AH=3Fh.
svn path=/trunk/; revision=63297
2014-05-14 18:50:29 +00:00
Amine Khaldi 3396b21b26 [CRT]
* Update _wsopen().
CORE-8080

svn path=/trunk/; revision=63296
2014-05-14 18:24:38 +00:00