Commit graph

51112 commits

Author SHA1 Message Date
Timo Kreuzer 2e19d5b6f6 [GDI32_APITEST]
Add more tests for GetDIBColorTable

svn path=/trunk/; revision=56545
2012-05-08 23:15:49 +00:00
Timo Kreuzer b4cf798850 [WIN32K]
Fix crashes due to CreateDIBitmap tests

svn path=/trunk/; revision=56543
2012-05-08 16:21:27 +00:00
Timo Kreuzer 6743cf9776 [GDI32_APITEST]
Add more tests for CreateDIBitmap and CreateDIBPatternBrushPt

svn path=/trunk/; revision=56542
2012-05-08 15:49:04 +00:00
Timo Kreuzer 812d4b73e0 [WIN32]
Add undocumented flag CBM_CREATDIB

svn path=/trunk/; revision=56541
2012-05-08 14:57:57 +00:00
Art Yerkes 37f34e8443 [NTOSKRNL]
Fix a couple of omissions from my PAGEOP removal;
Make sure to place a wait entry in the address space when faulting
in bss pages.
Restore the original entry in the final cases of section swap out,
because the entry had been replaced with a wait and nothing else
restores it.

svn path=/trunk/; revision=56540
2012-05-08 06:01:59 +00:00
James Tabor 5ea511aa17 - Fix build.
svn path=/trunk/; revision=56539
2012-05-08 05:57:09 +00:00
James Tabor 98fe9f7db3 [Win32k]
- Fix crash when sending activate application message and check if thread is in cleanup. Use kernel functions for thread data types.

svn path=/trunk/; revision=56538
2012-05-08 05:55:42 +00:00
Timo Kreuzer 0ea604d8d6 [WIN32K]
Don't assert on DIB brushes with BR_IS_DIBPALCOLORS, since we already handle this properly.

svn path=/trunk/; revision=56537
2012-05-07 22:57:41 +00:00
Timo Kreuzer b1305c8589 [WIN32K]
- Implement EngMapSectionView and EngUnmapSectionView. Use EngUnmapSectionView in SURFACE_Cleanup.

svn path=/trunk/; revision=56536
2012-05-07 22:41:10 +00:00
Amine Khaldi c0a4db6701 [DDK]
* Add netioddk.h.

svn path=/trunk/; revision=56535
2012-05-07 18:53:11 +00:00
Amine Khaldi 1727caafd1 [PSDK]
* Add netiodef.h.
* Add some missing definitions in ntdef.h and winnt.h.

svn path=/trunk/; revision=56534
2012-05-07 18:50:45 +00:00
Amine Khaldi 2afe0c85bb [WINED3D]
* Remove unneeded powf.c and sqrtf.c.

svn path=/trunk/; revision=56533
2012-05-07 18:49:59 +00:00
Amine Khaldi 3548ba4554 [PSDK]
* Add nldef.h and include it in mstcpip.h.

svn path=/trunk/; revision=56532
2012-05-07 18:48:54 +00:00
James Tabor 2e3ac87b3d [Win32k]
- Fix crash when pcti is null. See bug 6759.

svn path=/trunk/; revision=56531
2012-05-07 06:00:08 +00:00
Eric Kohl b99fb7c724 [ADVAPI32]
Fix broken commit.

svn path=/trunk/; revision=56530
2012-05-06 23:01:39 +00:00
Cameron Gutman c8f8e17ea5 [LWIP]
- Use ULONG_PTR instead of ULONG for pointer types
- Dedicated to Timo

svn path=/trunk/; revision=56529
2012-05-06 22:59:42 +00:00
Eric Kohl 550ccd5a09 [ADVAPI32]
The third parameter of LsaCreateAccount and LsaOpenAccount is an ACCESS_MASK.

svn path=/trunk/; revision=56528
2012-05-06 22:29:46 +00:00
Eric Kohl 686b87d7d2 [ADVAPI32/LSASRV]
- Implement LsaEnumeratePrivilegesOfAccount and LsarEnumeratePrivilegesAccount.
- Implement parts of LsarAddPrivilegesToAccount.

svn path=/trunk/; revision=56527
2012-05-06 20:57:21 +00:00
Eric Kohl 497e2b9709 [LSASRV]
Implement LsarOpenAccount.

svn path=/trunk/; revision=56526
2012-05-06 12:08:51 +00:00
Timo Kreuzer 366d8d52e3 [WIN32K]
Do not ASSERT that the object is not exclusively locked in GDIOBJ_vDereferenceObject. The idea behind this was to easily detect cases where someone would accidentally dereference an object, instead of unlocking it. But this function is used from other functions, that can definately deal with exclusively locked objects. Changing this would leat to code duplication / more complex code.
Forgetting to unlock an object will still be detected by the kernel, when returning to user mode, since APC would still be disabled.
Should fix failed assertion when running dx9 setup.

svn path=/trunk/; revision=56525
2012-05-06 11:51:57 +00:00
Eric Kohl f2e65997ea [LSASRV]
- Clean up the LSA database APIs.
- Fix database object reference counting.

svn path=/trunk/; revision=56524
2012-05-06 09:57:31 +00:00
Timo Kreuzer f5acffdf62 [WIN32K]
- Create default hatch brush bitmaps on win32k init
- After creating a PDEV fill the fields in the ahsurf array that are not filled by the driver with these bitmaps
- don't create a new bitmap when a hatch brush is created, instead only store the style and use the related bitmap from the PDEV when realizing the brush.
- Fix the palette of DIB brushes, when realizing the brush
- Don't leak the bitmaps for DIB brushes in BRUSH_Cleanup

svn path=/trunk/; revision=56523
2012-05-06 08:17:48 +00:00
Art Yerkes f030e937a4 [NTOSKRNL]
Formatting.

svn path=/trunk/; revision=56522
2012-05-06 02:12:24 +00:00
Timo Kreuzer c183b86b8a [WIN32K]
Fix regression of gdi32_winetest palette

svn path=/trunk/; revision=56521
2012-05-05 22:50:47 +00:00
Timo Kreuzer 2b1b0f0fa5 [WIN32K]
Someone passes iUsage == 2, so don't assert in that case, but ignore it as long as it's not supported.

svn path=/trunk/; revision=56520
2012-05-05 22:06:15 +00:00
Timo Kreuzer d31e05222e fix build
svn path=/trunk/; revision=56519
2012-05-05 21:43:39 +00:00
Timo Kreuzer 2962518823 [WIN32K]
Implement CreateDIBPalette(), replacing BuildDIBPalette.
It creates a palette without a handle and handles DIB_PAL_COLORS as well as DIB_RGB_COLORS. Additionally it now handles DIB_PAL_BRUSHHACK, which is used for DIB brushes, when DIB_PAL_COLORS is passed to CreateDIBPatternBrush(). The palette is not created directly, but instead the indices into the DC palette are put into the palette and the real palette is created, when the brush is realized. The latter is not yet handled.

svn path=/trunk/; revision=56518
2012-05-05 21:39:35 +00:00
Timo Kreuzer 7afed148ab [WIN32K]
When dereferencing an object without a handle, don't check for the ready-to-die flag

svn path=/trunk/; revision=56517
2012-05-05 21:09:08 +00:00
Sir Richard 043a85aad1 [NTOS]: Cleanup MiQueryAddressState.
svn path=/trunk/; revision=56516
2012-05-05 19:37:34 +00:00
Sir Richard 747ae40486 [NTOS]: Attempt to hackfix MiGetPageProtection to support the case seen in OllyDBG.
[NTOS]: Implement Case C of NtFreeVirtualMemory, which is sometimes seen in some heap logs. The hard part is figuring out the right amount of committed/decommitted pages. Only supports 2-level paging for now as the algorithm is already messy enough.

svn path=/trunk/; revision=56515
2012-05-05 19:26:21 +00:00
Timo Kreuzer f067d3a67c [WIN32K]
Rename PALETTE_AllocPalette2 to PALETTE_AllocPalette, allocate PALETTE and color array in one allocation, improve code

svn path=/trunk/; revision=56514
2012-05-05 17:29:34 +00:00
Thomas Faber 80a53d624f [WINETESTS]
- Do not multiply define WINVER and friends
- Add missing _WIN32_WINNT define in rpcrt4_winetest. Already sent to Wine(TM)

svn path=/trunk/; revision=56513
2012-05-05 16:54:37 +00:00
Timo Kreuzer 2d7b85a68d [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56512
2012-05-05 14:19:22 +00:00
Timo Kreuzer da7a389957 [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56511
2012-05-05 12:59:08 +00:00
Timo Kreuzer 2fb827a99c Add missing test data files
svn path=/trunk/; revision=56510
2012-05-05 12:24:49 +00:00
Timo Kreuzer bc53e4ea25 [GDI32_APITEST]
- Comment out tests that fail on windows 2003
- Try to fix a number of tests for Windows 2003

svn path=/trunk/; revision=56509
2012-05-05 12:21:56 +00:00
Thomas Faber e8beca164c [CRT]
- Fix declaration of malloc_func_t and free_func_t. Already sent upstream(TM)

svn path=/trunk/; revision=56508
2012-05-05 11:49:54 +00:00
Thomas Faber aa98e3086e [MOUNTMGR]
- Silence false GCC warnings

svn path=/trunk/; revision=56507
2012-05-05 10:31:47 +00:00
Thomas Faber 8faff057db [POWRPROF_APITEST]
- Fix warnings - there is no DischargePolicy[4]
- Disable tests that fail on Windows 2003 (576 failures?!)
- Add missing file header

svn path=/trunk/; revision=56506
2012-05-05 10:21:19 +00:00
Thomas Faber 6443144a2b [POWRPROF_WINETEST]
- This test is not from Wine! Move to apitests.

svn path=/trunk/; revision=56505
2012-05-05 10:09:38 +00:00
Olaf Siejka cbeedb06dc [TRANSLATION]
- italian translation update by Paolo Devoti (bug no. 7012);

svn path=/trunk/; revision=56504
2012-05-05 09:23:27 +00:00
Thomas Faber 19810b80d1 [NTOSKRNL]
- Give more useful debug output on BAD_POOL_HEADER bug checks

svn path=/trunk/; revision=56503
2012-05-05 08:49:45 +00:00
James Tabor 5344c175ee [Win32k]
- Add alerts and set window state to message box windows. Expands bug 5281.


svn path=/trunk/; revision=56502
2012-05-05 02:49:17 +00:00
James Tabor 971ec809a1 - Add notification alerts.
svn path=/trunk/; revision=56501
2012-05-05 00:03:50 +00:00
Timo Kreuzer 3ff644b5dc [TESTS]
Add missing definition

svn path=/trunk/; revision=56500
2012-05-04 19:06:15 +00:00
Timo Kreuzer 5b92fc6b91 [GDI32_APITEST]
Fix warnings

svn path=/trunk/; revision=56499
2012-05-04 19:06:12 +00:00
Timo Kreuzer 92d1183079 [GDI32_APITEST]
- Add tests for CreateDIBPatternBrush(Pt)
- Add some helper code to initialize a dibsection and a palette, which can be reused by other tests
- Add tests for DIB brush in GetObject

svn path=/trunk/; revision=56498
2012-05-04 18:56:43 +00:00
Timo Kreuzer 433b60dc6a [WIN32K]
Commit what I forgot

svn path=/trunk/; revision=56497
2012-05-04 17:39:00 +00:00
Timo Kreuzer 7bf273c819 [WIN32K]
- Add cjMaxBits parameter to GreCreateDIBitmapInternal
- Rename GDIBRUSH_* constants to BR_*, as they are named in gdikdx

svn path=/trunk/; revision=56496
2012-05-04 17:37:07 +00:00
Timo Kreuzer 7434309535 [GDI32_APITEST]
- Comment out a broken test (works only on 32bpp)
- Fix MSVC warning

svn path=/trunk/; revision=56495
2012-05-04 12:32:11 +00:00