Commit graph

51323 commits

Author SHA1 Message Date
Amine Khaldi 04de8061da [KMTEST_DRV]
* Link to chkstk.

svn path=/trunk/; revision=56559
2012-05-10 13:05:37 +00:00
Amine Khaldi 6e926b14a8 * Introduce _VS_ANALYZE_ option for the VS static analysis support.
svn path=/trunk/; revision=56558
2012-05-10 10:39:16 +00:00
James Tabor 13ebffa83e [Win32SS]
- Fix the remaining wine Win tests for FindWindow/Ex/A/W. Check the buffer not the length, buffer could be pointing to a null. Enable the message window handling. Use wine code for FindWindowExA.

svn path=/trunk/; revision=56557
2012-05-10 06:08:51 +00:00
Sylvain Petreolle e65f13023e [FUSION]
Add a 4th instance of fusion.dll back into system32.
(doesnt match any actual windows system but needed for wine's msi.)

svn path=/trunk/; revision=56556
2012-05-09 22:12:07 +00:00
Timo Kreuzer 793a0684d3 [WIN32K]
- Make EngSecureMem probe the buffer, so we have at least a minimum functionality, even though it's not safe
- Implement EngSecureMemForRead
- Use IntEngBitBlt from IntEngStretchBlt, when source and dest size are equal

svn path=/trunk/; revision=56553
2012-05-09 20:15:23 +00:00
Sylvain Petreolle e9fe00d4c8 [MSI/FUSION]
Don't pretend the .net framework is installed until the fusion loading problem is fixed.
Fixes bug 7031 and 7035.

svn path=/trunk/; revision=56552
2012-05-09 18:13:37 +00:00
Thomas Faber 99abed5b52 [WORDPAD]
- Fix _WIN32_IE redefinition
See issue #7047 for more details.

svn path=/trunk/; revision=56551
2012-05-09 10:43:26 +00:00
Thomas Faber dfa6f8b595 [EXPLORER]
- Execute HKCU RunOnce entries as well. Patch by Edijs Kolesnikovics.
See issue #7062 for more details.

svn path=/trunk/; revision=56550
2012-05-09 09:08:02 +00:00
Timo Kreuzer 8d409bed60 [WIN32K]
- Make CreateDIBPalette handle BITMAPCOREINFO (we need to handle this, since win32k can load bitmap files, that can contain these headers)
- Remove obsolete IntSetDIBColorTable, IntGetDIBColorTable

svn path=/trunk/; revision=56548
2012-05-09 08:13:49 +00:00
Timo Kreuzer 1dc1e5db8e [WIN32K]
Mark dc brushes in GreGetSetColorTable as dirty
Fixes gdi32_winetest bitmap regression

svn path=/trunk/; revision=56547
2012-05-09 08:08:09 +00:00
Timo Kreuzer 505334785a [WIN32K]
- Alloca to use GDIOBJ_vReferenceObjectByPointer with exclusively locked objects
- Make sure the global mono palette actually has 2 entries
- Simplify allocation of default palette
- Implement GreGetSetColorTable, replacing IntSetDIBColorTable / IntGetDIBColorTable
- Make sure that memory possibly copied to user mode is zeroed.

svn path=/trunk/; revision=56546
2012-05-08 23:21:09 +00:00
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