Commit graph

51098 commits

Author SHA1 Message Date
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
Thomas Faber 3d4754e67f [KERNEL32_APITEST]
- Add a test checking that GetModuleFileName returns a full path
See issue #6786 for more details.

svn path=/trunk/; revision=56494
2012-05-04 12:31:47 +00:00
Timo Kreuzer 6c68899cf1 [GDI32_APITEST]
Fix gcc build

svn path=/trunk/; revision=56493
2012-05-04 12:10:15 +00:00
Timo Kreuzer f0771d26df [GDI32_APITEST]
- Add tests for GetDIBColorTable and SetPixel, 
- Add more tests for CreateBitmap, GetPixel, PatBlt

svn path=/trunk/; revision=56492
2012-05-04 11:40:36 +00:00
Timo Kreuzer 5c32d6c764 [NTOSKRNL]
- Fix amd64 build
- Fix some MSVC/amd64 warnings

svn path=/trunk/; revision=56491
2012-05-04 11:32:07 +00:00
Thomas Faber f6abb6c7ac [KERNEL32]
- Fix SetCurrentDirectoryA to return success when setting the current directory again
See issue #6874 for more details.

svn path=/trunk/; revision=56490
2012-05-04 10:32:49 +00:00
Thomas Faber 1cb2379b98 [KERNEL32_APITEST]
- Add some tests for GetCurrentDirectory and SetCurrentDirectory

svn path=/trunk/; revision=56489
2012-05-04 10:28:54 +00:00
Art Yerkes 494445d381 [NTOSKRNL]
Account for wait entries delaying a view attribute change and interacting
with the machinery in CoW copying code, specifically making CoW insert and
revoke a wait while copying the page, and make the CoW copy function take
both pages as arguments rather than relying on the address space.

Also alter the MM_WAIT_ENTRY value a bit to take into account an assert
that it must have bit 0x800 set.

svn path=/trunk/; revision=56488
2012-05-03 21:05:06 +00:00
James Tabor 3768cccb0e [Win32k]
- Add a define for non window pointers. Help out Timo.

svn path=/trunk/; revision=56487
2012-05-03 20:58:53 +00:00
Timo Kreuzer 4fbb6addbc - Move NtGdiSetBrushOrg from brush.c to dcobjs.c, since it doesn't really deal with brushes, but with the dc and is related to the brush seletcted into the dc. Cleanup, simplify and fix the function.
- rename IntptlBrushOrigin to DC_vSetBrushOrigin and also move it to dcobjs.c

svn path=/trunk/; revision=56486
2012-05-03 18:55:38 +00:00
Timo Kreuzer a97d8f8aee [GDI32_APITEST]
Add tests for SetBrushOrgEx

svn path=/trunk/; revision=56485
2012-05-03 18:54:19 +00:00
Cameron Gutman 5aa9b26f83 [TCPIP]
- Update the cached link and IP information when a link status change occurs

svn path=/trunk/; revision=56484
2012-05-03 18:38:59 +00:00
Timo Kreuzer 27d8b97b03 [WIN32K]
Remove debug break point. Thanks to r3ddr4g0n for noticing.

svn path=/trunk/; revision=56483
2012-05-03 15:19:47 +00:00
Timo Kreuzer f0ba219f34 [WIN32K]
Only set the surface's bitmap bits when iType == STYPE_BITMAP.
Fixes booting with vbox drivers installed.

svn path=/trunk/; revision=56482
2012-05-03 14:39:53 +00:00
Timo Kreuzer 03c5fb1d08 [WIN32K]
Revert a part of 56478.

svn path=/trunk/; revision=56481
2012-05-03 11:14:11 +00:00