Commit graph

51183 commits

Author SHA1 Message Date
Thomas Faber 74de187fd6 [KERNEL32]
- Do not use Zw functions from user mode

svn path=/trunk/; revision=56414
2012-04-25 10:17:29 +00:00
Thomas Faber bf4b9fbaad [NTDLL_APITEST]
- Add a test for RtlGetFullPathName_Ustr (requires the function address to be known)
- Various improvements to the other path tests

svn path=/trunk/; revision=56413
2012-04-25 09:52:38 +00:00
Thomas Faber 5eecc92cb2 [NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=56412
2012-04-25 07:57:50 +00:00
Thomas Faber fb43dc26f7 [NTDLL_APITEST]
- Add test for RtlGetLongestNtPathLength
- Add test for RtlDetermineDosPathNameType_U (and RtlDetermineDosPathNameType_Ustr, if address is known)

svn path=/trunk/; revision=56411
2012-04-25 07:43:33 +00:00
Thomas Faber 6eef1df19a [RTL/NDK]
- Add missing mmtypes.h include in mmfuncs.h
- Remove RtlDetermineDosPathNameType_Ustr from rtlfuncs.h, move it up in path.c
- Add RtlGetLongestNtPathLength to rtlfuncs.h

svn path=/trunk/; revision=56410
2012-04-25 07:24:17 +00:00
Timo Kreuzer 94545a76fb [WIN32K]
- Fix a bug in the region code that could cause allocating 0 bytes
- Remove SetLastError()
- "flatten" IntGdiCombineRgn making it more readable

svn path=/trunk/; revision=56409
2012-04-24 18:35:50 +00:00
Timo Kreuzer 65873aaab9 [GDI32_APITEST]
- Add tests for CombineRgn

svn path=/trunk/; revision=56408
2012-04-24 17:11:08 +00:00
Timo Kreuzer e4b20ac135 [WIN32K/GDI32]
- rewrite GetObject again :)
- simplify and fix FontGetObject
- remove some pointless code

svn path=/trunk/; revision=56407
2012-04-24 14:49:09 +00:00
Cameron Gutman d8580d250c [USBSTOR]
-  Add forgotten storage of the LUN in the PDO extension which not only broke units beyond LUN 0 but also caused a BSOD due to reporting duplicate devices to the PnP manager
- Thanks to tower for reporting

svn path=/trunk/; revision=56406
2012-04-24 14:47:15 +00:00
Timo Kreuzer 4fc848b780 [GDI32_APITEST]
- Add more tests for GetObject

svn path=/trunk/; revision=56405
2012-04-24 14:45:12 +00:00
Thomas Faber fc12d8ead4 [AFD] - Fix broken IP address pointer arithmetic (CID 14130)
[PCNET] - Fix incorrectly truncated FullDuplex BOOLEAN

svn path=/trunk/; revision=56404
2012-04-24 07:27:59 +00:00
James Tabor 1356410d99 - Fix message regressions from 54637.
svn path=/trunk/; revision=56403
2012-04-24 02:29:07 +00:00
Timo Kreuzer bbf9dac724 [GDI32_APITEST]
- Add more tests for GetObject and SelectObject
- Fix a bug that made gcc builds crash

svn path=/trunk/; revision=56402
2012-04-23 22:16:50 +00:00
Timo Kreuzer aa85f812bd [GDI32/WIN32K]
Fix some regressions from previous commit

svn path=/trunk/; revision=56401
2012-04-23 21:22:12 +00:00
Timo Kreuzer 4bc462e69c [GDI32/WIN32K]
- Rewrite GetCurrentObject and GetObject, fixes a lot of tests

svn path=/trunk/; revision=56400
2012-04-23 19:22:17 +00:00
James Tabor 3b3feb61a8 - Safe to test SetForegroundWindow.
svn path=/trunk/; revision=56399
2012-04-23 19:09:31 +00:00
Timo Kreuzer 4bea149dd8 fix build
svn path=/trunk/; revision=56398
2012-04-23 19:06:10 +00:00
Timo Kreuzer ce51c9773d [GDI32_APITEST]
- Add more tests for GetCurrentObject and GetObject
- Comment out tests that fail on debug builds

svn path=/trunk/; revision=56397
2012-04-23 19:02:51 +00:00
James Tabor 3e02fbea93 [Win32SS]
- Desktop: Added code for server side switch over and some notes. Did not include desktopbg.c.
- Focus: Fixes wine Win tests for SetParent, Active, Focus and Foreground. Leaving the wine todos. Msg tests improved. Pop up menus are still broken see bug 6751. The tests reflect these pop up menu issues.
- WinPos: (WIP) Fixed MapWindowPoints. Arrange icons is still broken. SetWindowPos sets the foreground when it should.
- Implemented AllowSetForegroundWindow and LockSetForegroundWindow.
- Commit to reset base lines for RegTest ComCtl32 and related bugs.
- Coding credits and complements go out to the Wine team.

svn path=/trunk/; revision=56396
2012-04-23 18:51:48 +00:00
Amine Khaldi 7f3808dd4f [PSDK]
* Add the missing PWIN32_FIND_DATA type.

svn path=/trunk/; revision=56395
2012-04-23 16:43:05 +00:00
Timo Kreuzer cc8ff50175 [GDI32_APITEST]
Fix build

svn path=/trunk/; revision=56394
2012-04-23 10:56:45 +00:00
Timo Kreuzer 3f8f2a7550 [GDI32_APITEST]
Add tests for CreateBitmap, CreateIconIndirect, GetRandomRgn and PatBlt

svn path=/trunk/; revision=56393
2012-04-23 10:42:22 +00:00
Timo Kreuzer 568c7307a6 [WIN32K]
- Fix calculation of the brush origin. The coordinates passed to EngBitBlt "defines which pixel in the mask corresponds to the upper left corner of the destination rectangle." Our code was using it as corresponding to the surface origin.
The fix is currently only used when the new dib code is compiled. The old dib code is broken and expects the broken behaviour

svn path=/trunk/; revision=56392
2012-04-23 10:12:35 +00:00
Sylvain Petreolle fa3a49d6e8 [ADVAPI32/SERVICES]
Fix changing a service description in (R)ChangeServiceConfig2W.

Fixes bad service description in Vmware Tools.

svn path=/trunk/; revision=56391
2012-04-23 00:17:01 +00:00
Eric Kohl d0ca2665de [USETUP]
Treat REG_DWORD values in inf files as unsigned values.

svn path=/trunk/; revision=56390
2012-04-22 22:40:43 +00:00
Thomas Faber 5258184b49 [AFD/FORMATTING]
- Try to fix indentation nightmare

svn path=/trunk/; revision=56389
2012-04-22 13:11:54 +00:00
Timo Kreuzer 85b693d42d [DIBLIB]
Fix calculation of pattern pointer
[WIN32K]
Fix (almost) calculation of pattern origin. There's still a bugger left.

svn path=/trunk/; revision=56388
2012-04-21 21:00:08 +00:00
Timo Kreuzer e3411f18ca [DIBLIB]
Fix a bug that caused all BitBlt functions with for a solid brush to ignore the XLATEOBJ

svn path=/trunk/; revision=56387
2012-04-21 18:42:14 +00:00
James Tabor 814e1a9ae5 [Win32k]
- Troubleshooting bug 5630, moved DestroyProcessClasses from process to thread since process is called first. This way, it is assured the class destruction is on queue, but not before thread death.
- Added a global pointer to be used in a later commit.
- Warning: this does not fix bug 5630.

svn path=/trunk/; revision=56386
2012-04-21 18:18:59 +00:00
Thomas Faber 68ce44de26 [NTOSKRNL]
- Export base MCB functions

svn path=/trunk/; revision=56385
2012-04-21 17:52:29 +00:00
Timo Kreuzer fd2013dc9e [WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative.

svn path=/trunk/; revision=56384
2012-04-21 16:05:24 +00:00
Amine Khaldi 9dbd062a44 [PSDK]
* Sync cryptuiapi.h with Wine. Patch by Carlo Bramini.
See issue #7016 for more details.

svn path=/trunk/; revision=56383
2012-04-21 13:22:52 +00:00
Amine Khaldi 88e4b7735f [CHARMAP]
* Implement LoadSettings() and SaveSettings(). Patch by Edijs Kolesnikovics with some minor changes by me.
See issue #6925 for more details.

svn path=/trunk/; revision=56382
2012-04-21 10:57:16 +00:00
Amine Khaldi ca75cf2a0d [MSCONFIG]
* Correctly update the selected command line text. Patch by Edijs Kolesnikovics.
See issue #6963 for more details.

svn path=/trunk/; revision=56381
2012-04-21 10:46:07 +00:00
Amine Khaldi 0c1c4c5793 [MSCONFIG]
* Get the timeout correctly. Patch by Edijs Kolesnikovics.
See issue #6964 for more details.

svn path=/trunk/; revision=56380
2012-04-21 10:41:16 +00:00
Thomas Faber 1a908c8114 [KMTESTS/OB]
- Add ObTypes test that checks all object types that should be present on Windows

svn path=/trunk/; revision=56379
2012-04-21 09:06:54 +00:00
Thomas Faber 95e2e118d0 [RTL/NDK]
- RtlGetFullPathName_UstrEx returns NTSTATUS

svn path=/trunk/; revision=56378
2012-04-21 06:57:07 +00:00
Thomas Faber 7495c41a26 [NDK]
- Add PsJobType, LpcPortObjectType

svn path=/trunk/; revision=56377
2012-04-21 06:44:26 +00:00
Thomas Faber 4b9b72182c [NTOSKRNL]
- Export SeTokenObjectType

svn path=/trunk/; revision=56376
2012-04-21 06:35:45 +00:00
Timo Kreuzer dd414ba20f [[NTOSKRNL]
Fix another typo



svn path=/trunk/; revision=56375
2012-04-20 19:35:27 +00:00
Timo Kreuzer fef455ec53 [NTOSKRNL]
Fix a typo ;-)

svn path=/trunk/; revision=56374
2012-04-20 19:32:36 +00:00
Timo Kreuzer 9f34d2cfc7 [NTOSKRNL]
Implement keyed events (untested)

svn path=/trunk/; revision=56373
2012-04-20 19:31:07 +00:00
Amine Khaldi 3da4729f56 * Missed this in my previous commit.
svn path=/trunk/; revision=56372
2012-04-20 19:24:27 +00:00
Amine Khaldi 9714322e59 [EXPLORER]
* Handle the /select cmd option. Patch by Edijs Kolesnikovics.
See issue #6096 for more details.

svn path=/trunk/; revision=56371
2012-04-20 19:21:16 +00:00
Amine Khaldi b9a7b90af3 [FORMATTING]
* No code changes.

svn path=/trunk/; revision=56370
2012-04-20 19:12:07 +00:00
Timo Kreuzer 54d9802905 [NDK]
- Fix name of ETHREAD::KeyedWaitSemaphore
- Reorder some amd64 msr constants

svn path=/trunk/; revision=56369
2012-04-20 19:01:15 +00:00
Timo Kreuzer f237b33f0e [CMAKE]
- Rename CreateBootSectorTarget2 to CreateBootSectorTarget and remove the old rbuild version

svn path=/trunk/; revision=56368
2012-04-20 12:39:00 +00:00
Pierre Schweitzer c20ab1959d [NTOSKRNL]
Fix a memory leak


svn path=/trunk/; revision=56367
2012-04-19 20:55:59 +00:00
Timo Kreuzer a9d728c50a [NTOSKRNL]
Fix a bug in MiAllocatePoolPages, that made the function succeed, when MAX_ULONG / -1 / 0xFFFFFFFF bytes were requested. The value overflowed into 0 and 0 pages were returned. When freeing this block, it could either free the next following large allocation or ASSERT when the end of the pool was reached without finding the end of the allocation.
Fixes FoxitReader 4.2/4.3

svn path=/trunk/; revision=56366
2012-04-19 14:33:53 +00:00
Timo Kreuzer daedde8ad3 [CRT TEST]
disable the crt tests until the cmake issues are resolved

svn path=/trunk/; revision=56365
2012-04-18 18:06:23 +00:00