Commit graph

51003 commits

Author SHA1 Message Date
Thomas Faber 0515cd1d2e [KMTESTS/RTL]
- Add a small RtlException test, mainly to check that a stack overflow really throws STATUS_STACK_OVERFLOW, not STATUS_ACCESS_VIOLATION.

svn path=/trunk/; revision=56434
2012-04-27 08:36:58 +00:00
Timo Kreuzer 348bef46b7 [WIN32K]
- add missing  DBG_DECREASE_LOCK_COUNT() when deleting an object that was exclusively locked. Fixes strange hang in comctl32_winetest.
The question is: why does changing a variable, which is never checked cause such trouble?
- Don't pass the DC's clip object to IntEngCopyBits, when querying a pixel
- make acExclusiveLockCount[] 0x20 bytes long, just to be really sure, that (x & 0x1F) does never overflow it.

svn path=/trunk/; revision=56433
2012-04-26 21:48:06 +00:00
Thomas Faber 46a246e79b [WINED3D]
- Do not rely on undefined behavior to get values easily accessible as constants.
- Quick build fix. Will be sent to Wine, possibly modified.

svn path=/trunk/; revision=56432
2012-04-26 17:20:53 +00:00
Thomas Faber 3c49ba735f [CMAKE]
- Enable MSVC build for Wine DirectX libraries, which mostly work just fine.

svn path=/trunk/; revision=56431
2012-04-26 16:51:27 +00:00
Timo Kreuzer 196349d550 [WIN32K]
Fix palette index wraparound when initializing a DIB palette with DIB_PAL_COLORS. Fixes gdi32_winetest::palette

svn path=/trunk/; revision=56430
2012-04-26 16:32:01 +00:00
Timo Kreuzer e43f7b0dfa [WIN32K]
- Implement TranslateCOLORREF, based on IntHandleSpecialColorType, but now returning both the translated color and the resulting RGB color, correctly handling DIBINDEX, which will use the given value without translation.
- Rewrite NtGdiSetPixel using IntPatBlt
- Rewrite NtGdiGetPixel  using IntEngCopyBits
- Fix EXLATEOBJ_iXlateTable to return 0, when the palette index is too big, instead of wrapping around
- Remove old debugcode

svn path=/trunk/; revision=56429
2012-04-26 16:19:22 +00:00
Timo Kreuzer eb00489bf8 [WIN32K]
Fix NtGdiPatBlt: ROPs with a source are not allowed, the background ROP is simply ignored.

svn path=/trunk/; revision=56428
2012-04-26 09:42:46 +00:00
Timo Kreuzer 416711ec61 [WIN32K]
Pass EBRUSHOBJ to IntPatBlt instead of the BRUSH. This way we can use the DC's eboFill, instead of initializing a new EBRUSHOBJ.

svn path=/trunk/; revision=56427
2012-04-26 09:30:15 +00:00
Thomas Faber 9a9ec7bb7c [RTL]
- Accept NULL Buffer/Size in RtlGetFullPathName_Ustr
- Fix NULL dereference in RtlGetFullPathName_UstrEx if no StaticString was given
- Various other corrections to path functions. 17 test failures fixed overall.

svn path=/trunk/; revision=56426
2012-04-25 22:21:00 +00:00
Timo Kreuzer c1dd858adc [WIN32K]
Make sure a bitmap is compatible with the dc before selecting it.

svn path=/trunk/; revision=56425
2012-04-25 19:25:48 +00:00
Timo Kreuzer 05599f98f0 [GDI32]
Fix SetWindowExtEx to pass all tests

svn path=/trunk/; revision=56424
2012-04-25 18:15:41 +00:00
Timo Kreuzer e28f37f061 [GDI32_APITEST]
Add more tests for SetWindowExtEx

svn path=/trunk/; revision=56423
2012-04-25 18:14:52 +00:00
Timo Kreuzer 0e6b454957 [WIN32K]
- Make XFORMOBJ_iSetXform fail, when the XFORM is invalid (eM11 or eM22 are 0)
- Handle error in GreModifyWorldTransform

svn path=/trunk/; revision=56422
2012-04-25 17:29:50 +00:00
Timo Kreuzer ca47627718 [GDI32]
Fix CombineTransform to pass all tests

svn path=/trunk/; revision=56421
2012-04-25 15:20:55 +00:00
Timo Kreuzer 308687a953 [GDI32_APITEST]
Add more tests for CombineTransform and cleanup the code a bit

svn path=/trunk/; revision=56420
2012-04-25 15:18:12 +00:00
Thomas Faber c1abc87910 [NTDLL_APITEST]
- Try GetProcAddress even on private functions. Allows easier testing in ROS by temporarily exporting them.

svn path=/trunk/; revision=56419
2012-04-25 13:06:30 +00:00
Timo Kreuzer 3263e4fd82 {ROSTESTS]
Fix compilation

svn path=/trunk/; revision=56418
2012-04-25 12:42:40 +00:00
Timo Kreuzer 652128646c [WINETESTS]
Add some useful macros to wine/test.h

svn path=/trunk/; revision=56417
2012-04-25 12:38:23 +00:00
Thomas Faber d0683c7f6f [NTDLL_APITEST]
- Add a test for RtlDoesFileExists_U (and its three friends, if addresses are provided)
- Various small path test improvements

svn path=/trunk/; revision=56416
2012-04-25 12:13:38 +00:00
Thomas Faber eefe549b17 [NDK]
- Remove RtlDoesFileExists_UstrEx

svn path=/trunk/; revision=56415
2012-04-25 12:04:44 +00:00
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