Commit graph

51342 commits

Author SHA1 Message Date
Timo Kreuzer 9af06a8a60 [WIN32K]
- Handle unknown color types in TranslateCOLORREF
- properly translate the color back to RGB in NtGdiSetPixel
Fixes a few hundred thousand gdi32 winetests (dib) :)

svn path=/trunk/; revision=56582
2012-05-13 22:31:28 +00:00
Eric Kohl 319e0c17df [ADVAPI32]
Use LSA functions to query the account domain SID.

svn path=/trunk/; revision=56581
2012-05-13 21:45:59 +00:00
Timo Kreuzer be92b4851b [WIN32K]
Check for psoMask == NULL in BltMask. Fixes part 2 of bug #7070

svn path=/trunk/; revision=56580
2012-05-13 19:39:20 +00:00
Timo Kreuzer cb936d362c [WIN32K]
- In DC_vSetOwner, do not take ownership of the current dc brush and pen, instead dereference them and select default brush and pen. Fixes bug #7070
- Fix debug logging in GDIOBJ_vDereferenceObject
- create debug log event in GDIOBJ_vSetObjectOwner

svn path=/trunk/; revision=56579
2012-05-13 18:29:31 +00:00
Eric Kohl 12ad95e140 [ADVAPI32]
Do not add the "SeUnsolicitedInputPrivilege" privilege to the administrators privilege set because it has been superseded by the "SeMachineAccountPrivilege" privilege and the later has already been added to the privilege set.

svn path=/trunk/; revision=56578
2012-05-13 18:28:32 +00:00
Amine Khaldi 821ed065bb [PSDK]
* Sync shldisp.idl with Wine.

svn path=/trunk/; revision=56577
2012-05-13 18:15:48 +00:00
Amine Khaldi 0f01ebae92 [SHELL32_WINETEST]
* Sync to Wine 1.5.4.

svn path=/trunk/; revision=56576
2012-05-13 18:14:09 +00:00
Sylvain Petreolle 0ee2dd3bd6 [SHELL32]
- Fix typo from r54845. Fixes crash in shell32:shlexec test.

svn path=/trunk/; revision=56575
2012-05-13 17:47:49 +00:00
Eric Kohl 8b006cca18 [SYSSETUP]
Re-add the call to SamSetDomainSid because the logon code in advapi32 still relies on it.

svn path=/trunk/; revision=56574
2012-05-13 17:32:09 +00:00
Eric Kohl b209ab9884 [SYSSETUP]
Set the account domain name and account domain sid by using LSA functions instead of the samlib hack.

svn path=/trunk/; revision=56573
2012-05-13 16:16:18 +00:00
Thomas Faber dadcc449dd [SHELL32]
- Fix some typos from r54845. Fixes crash in shell32:shlexec test.

svn path=/trunk/; revision=56572
2012-05-13 10:33:46 +00:00
James Tabor 7a4d47a61f - Fix wine Win test_dialog_styles tests and todos.
svn path=/trunk/; revision=56571
2012-05-13 07:15:53 +00:00
James Tabor ad8ba92407 [Win32k]
- Fix bug 6796, use wine code to clear bits before checking to minimize or maximize.
- Fix all the wine Win test_window_styles and todo tests.

svn path=/trunk/; revision=56570
2012-05-13 05:38:04 +00:00
Amine Khaldi b8eb8fbaac [KERNEL32_WINETEST]
* Sync to Wine 1.5.4. I excluded loader and virtual tests from the sync until bug #7071 is fixed.
See issue #7070 for more details.

svn path=/trunk/; revision=56567
2012-05-12 19:33:11 +00:00
Amine Khaldi 6cdf643af6 [PSDK]
* Add some missing definitions.

svn path=/trunk/; revision=56566
2012-05-12 19:16:39 +00:00
Amine Khaldi ec734c5ab0 [PSDK]
* Add missing HS_API_MAX definition.

svn path=/trunk/; revision=56564
2012-05-12 16:49:36 +00:00
Amine Khaldi 211df8ffed [GDI32_WINETEST]
* Sync to Wine 1.5.4. I excluded bitmap and dib tests from the sync until bug #7070 is fixed.

svn path=/trunk/; revision=56563
2012-05-12 16:46:20 +00:00
Amine Khaldi 92daea0588 [SHELL32]
* Remove an unused variable.

svn path=/trunk/; revision=56562
2012-05-12 15:05:02 +00:00
James Tabor 784c0d6568 [Win32k]
- Patch by Dmitry Timoshkov : SetParent() should use ShowWindow() to make a reparented window visible and move a window to new position.
- Note: SetWindowPos should be correct, http://www.winehq.org/pipermail/wine-cvs/2012-April/086267.html

svn path=/trunk/; revision=56560
2012-05-10 16:26:02 +00:00
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