Commit graph

59299 commits

Author SHA1 Message Date
Eric Kohl 8caa060f52 [NET]
Implement and use console-aware print functions to print strings and resources.

svn path=/trunk/; revision=64998
2014-10-25 21:27:05 +00:00
Timo Kreuzer 75d471db4b [WIN32k]
Stop ASSERTing, that we always have all the resources we need in IntCreateCompatibleBitmap

svn path=/trunk/; revision=64997
2014-10-25 21:16:17 +00:00
Amine Khaldi 518b6188ec [WININET_WINETEST]
* ROSTESTS-73 is not fixed yet.

svn path=/trunk/; revision=64995
2014-10-25 18:35:58 +00:00
Amine Khaldi 8a0b31154d [ADVAPI32]
* Update ImpersonateNamedPipeClient().
CORE-8540

svn path=/trunk/; revision=64994
2014-10-25 18:30:05 +00:00
Jérôme Gardou 8680a1f138 [WIN32K]
- Use a palette created from the DIB infos for surface created through CreateDIBitmap(CBM_CREATEDIB)
CORE-8695 #comment Booting in 16bpp mode is now OK, but some problems remain when switching mode from 16bpp to 32bpp

svn path=/trunk/; revision=64993
2014-10-25 18:11:36 +00:00
Jérôme Gardou 35e122d62f [WIN32K]
- Always store alpha-aware cursors in a 32bpp RGB surface.
CORE-8695

svn path=/trunk/; revision=64992
2014-10-25 18:11:31 +00:00
Jérôme Gardou 5211c92255 [WIN32K]
- Avoid leaking handles when loading animated cursors.

svn path=/trunk/; revision=64991
2014-10-25 18:11:27 +00:00
Jérôme Gardou 34a323186d [USER32]
- Fix a stupid buffer overflow I introduced in r64967.
 - Take BITMAPCOREINFO into account when loading a cursor from file.

svn path=/trunk/; revision=64990
2014-10-25 18:11:11 +00:00
Amine Khaldi 147bfd92e5 [ADVAPI32]
* Move a couple functions from sec.c to security.c.
CORE-8540

svn path=/trunk/; revision=64989
2014-10-25 17:46:33 +00:00
Aleksandar Andrejevic a037c16a5b [FAST486]
The opcode handlers don't need a return value, it's not used anywhere.


svn path=/trunk/; revision=64988
2014-10-25 17:16:37 +00:00
Amine Khaldi 9e3669b4fb [ADVAPI32]
* Update GetKernelObjectSecurity().
CORE-8540

svn path=/trunk/; revision=64987
2014-10-25 16:08:39 +00:00
Hermès Bélusca-Maïto ab0736d95a [NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number of instructions per second :)
svn path=/trunk/; revision=64985
2014-10-25 15:36:11 +00:00
Amine Khaldi be62f3c6b3 [ADVAPI32]
* Update AllocateAndInitializeSid().
CORE-8540

svn path=/trunk/; revision=64984
2014-10-25 15:28:29 +00:00
Eric Kohl c1e082a84a [NET]
Display local group properties and members.

svn path=/trunk/; revision=64983
2014-10-25 14:28:38 +00:00
Amine Khaldi a3930ce68f [ADVAPI32]
* Update CreateRestrictedToken().
* More advapi32:security tests run now.
CORE-8540

svn path=/trunk/; revision=64982
2014-10-25 14:15:00 +00:00
Amine Khaldi 93ecff8e68 [ADVAPI32]
* Update ADVAPI_IsLocalComputer().
CORE-8540

svn path=/trunk/; revision=64981
2014-10-25 14:02:23 +00:00
Amine Khaldi 21ef917d3f [ADVAPI32]
* Fix set_ntstatus() to use NT_SUCCESS when performing the checks.
CORE-8540

svn path=/trunk/; revision=64980
2014-10-25 13:56:28 +00:00
Amine Khaldi 648ce226ac [ADVAPI32]
* Move some functions from trustee.c to security.c.
CORE-8540

svn path=/trunk/; revision=64979
2014-10-25 12:45:57 +00:00
Amine Khaldi 5781991967 [ADVAPI32]
* Move some functions from sec/misc.c to security.c.
CORE-8540

svn path=/trunk/; revision=64978
2014-10-25 12:30:01 +00:00
Amine Khaldi 2d07e343d6 [ADVAPI32]
* Move CreateProcessWithLogonW() from logon.c to security.c.
CORE-8540

svn path=/trunk/; revision=64977
2014-10-25 12:27:03 +00:00
James Tabor e4cff1c66a [Win32k]
- Fix a copy paste error, see CORE-8667.
- Set top margin to 2.

svn path=/trunk/; revision=64976
2014-10-25 11:45:47 +00:00
Daniel Reimer 36c59fdf14 [RAPPS]
Updates for some softwares.
Fix several broken mirrors and replace the in theory working one for IrfanView.
Fix some sizes.

svn path=/trunk/; revision=64975
2014-10-25 11:43:51 +00:00
Thomas Faber 23c10d8d81 [CRT]
- Add frame pointer omission information to assembly string functions to fix debugging annoyances. Reviews appreciated

svn path=/trunk/; revision=64974
2014-10-25 00:08:23 +00:00
Christoph von Wittich 2c42dec0d7 [TASKMGR]
fix HMENU leak in TaskManager_OnTabWndSelChange
CORE-8705

svn path=/trunk/; revision=64972
2014-10-24 20:41:25 +00:00
Timo Kreuzer 40369c24e3 [CMAKE]
Improve configure script to allow passing multiple arguments, like "configure VSSolution RTC". Add a small help command ("help" or "/?"), allow passing CMake parameters like -DFOO:BOOL=TRUE after our custom parameters.

svn path=/trunk/; revision=64971
2014-10-24 19:17:58 +00:00
Thomas Faber 33e318ed91 [RTL]
- Implement RtlTryEnterHeapLock and use it to fix RtlpDphEnterCriticalSection

svn path=/trunk/; revision=64970
2014-10-24 19:05:54 +00:00
Jérôme Gardou 5acaa31a62 [WIN32K]
- Properly check for CBM_INIT bit in CreateDIBitmap.
 - Take into account the fact that we could be passed a BITMAPCOREHEADER
CORE-8695

svn path=/trunk/; revision=64969
2014-10-24 18:45:25 +00:00
Amine Khaldi 2252d516b0 [ADVAPI32]
* Move some functions from ac.c to security.c.
CORE-8540

svn path=/trunk/; revision=64968
2014-10-24 17:51:40 +00:00
Jérôme Gardou 954bd930d0 [USER32]
- Use CreateDIBitmap with the CDM_CREATEDIB undocumented flag to create alpha bitmaps. This permits to create display compatible yet 32bpp DDBs.
CORE-8695 #comment PLease retest, should be OK now.

svn path=/trunk/; revision=64967
2014-10-24 17:31:50 +00:00
Jérôme Gardou a09a102a08 [WIN32K]
- First implementation of CreateDIBitmap with the undocumented CBM_CREATEDIB flag.
CORE-8695

svn path=/trunk/; revision=64966
2014-10-24 17:31:46 +00:00
Jérôme Gardou de410717f3 [WIN32K]
- Differenciate 16bpp 565 from 16bpp 555 in alphablending code.
 - Fix RGB vs BGR mismatch
CORE-8695

svn path=/trunk/; revision=64965
2014-10-24 17:31:37 +00:00
Thomas Faber 2c1be02837 [WIN32K]
- Move call to UserRegisterClass out of SEH. All parameters are kernel pointers, so exceptions here are critical kernel bugs that shouldn't be hidden.
CORE-8702 #resolve

svn path=/trunk/; revision=64964
2014-10-24 17:28:21 +00:00
Amine Khaldi f54eb842d6 [ADVAPI32]
* Reorder AllocateLocallyUniqueId() to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=64963
2014-10-24 16:57:17 +00:00
Amine Khaldi 7ff75bbc92 [ADVAPI32]
* Move some functions from token.c to security.c.
CORE-8540

svn path=/trunk/; revision=64962
2014-10-24 16:52:57 +00:00
Amine Khaldi 598366a6cc [ADVAPI32]
* Move PrivilegeCheck() to security.c.
CORE-8540

svn path=/trunk/; revision=64959
2014-10-24 15:49:52 +00:00
Amine Khaldi 4423aa8bb2 [ADVAPI32]
* Reorder functions and definitions to reduce difference to the Wine source file.
CORE-8540

svn path=/trunk/; revision=64958
2014-10-24 15:40:29 +00:00
Amine Khaldi 51bb98a094 [ADVAPI32]
* Move sid.c to the wine folder as a starting point for security.c.
CORE-8540

svn path=/trunk/; revision=64957
2014-10-24 14:01:16 +00:00
Amine Khaldi 348778c75f [ADVAPI32]
* Move cred.c to the wine folder.
CORE-8540

svn path=/trunk/; revision=64956
2014-10-24 13:37:01 +00:00
Jérôme Gardou 6990f9e443 [WIN32K]
- Keep track of the PDEV which we create a compatible bitmap for.
 - Allow attaching a DDB to a DC if they are from the same PDEV
Fixes various problems after mode switching, including the infamous "Where is desk.cpl palette bitmap"

svn path=/trunk/; revision=64955
2014-10-24 11:35:07 +00:00
Jérôme Gardou 97fcf61354 [WIN32K]
- Do not dereference hook objects when it's not needed.
 - Avoid use after free.
CORE-8698 #resolve

svn path=/trunk/; revision=64954
2014-10-24 11:34:55 +00:00
Jérôme Gardou 7540c2ea36 [WIN32K]
- Add a proper Alpha blending implementation for 16bpp surfaces
CORE-8695

svn path=/trunk/; revision=64953
2014-10-24 11:34:45 +00:00
Thomas Faber 2b44442ffa [NTOS:IO]
- Serialize device enumeration requests
CORE-8697 #resolve

svn path=/trunk/; revision=64952
2014-10-24 10:03:42 +00:00
Thomas Faber fcae57435c [NTOS:IO]
- Introduce IopDriverLoadResource to protect against concurrent driver loading
CORE-8696 #resolve

svn path=/trunk/; revision=64951
2014-10-24 10:02:14 +00:00
Thomas Faber 2c91c440f1 [NTOS:IO]
- Don't delete the device node for root enumerated device objects on failure. It's pointless, since IopEnumerateDevice will just recreate it, and more importantly it causes a use-after-free because IopFreeDeviceNode does not unset the DeviceNode member of the device object extension, so IopEnumerateDevice will try to access the freed node
- Set the device object's DeviceNode pointer to NULL in IopFreeDeviceNode
- Use consistent pool tagging for device nodes
CORE-8671 #resolve

svn path=/trunk/; revision=64950
2014-10-24 09:39:15 +00:00
Thomas Faber 274363e9df [USER32]
- Zero-initialize result in SendMessageTimeout
CORE-8699 #resolve

svn path=/trunk/; revision=64949
2014-10-24 09:26:03 +00:00
Thomas Faber 487818ab87 [USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

svn path=/trunk/; revision=64948
2014-10-24 09:16:04 +00:00
Timo Kreuzer 02995bf1a1 [NTOSKRNL]
Do not try to dereference Irp->UserIosb if it is NULL, to avoid unnecessary exceptions (inside SEH).

svn path=/trunk/; revision=64947
2014-10-24 07:16:44 +00:00
Thomas Faber 08701eea3f [NTOS:IO]
- Normalize, er.. simplify IopNormalizeImagePath a bit and use pool tagging

svn path=/trunk/; revision=64946
2014-10-23 22:05:56 +00:00
Timo Kreuzer 3b3996b399 [FREELDR]
Move the BIOS call buffer to physical address 0x4000, making another page available at the top, moving the margin down to 0x9E000. Should fix boot with machines that have a large EBDA.
CORE-8692 #comment please retest.

svn path=/trunk/; revision=64945
2014-10-23 21:52:39 +00:00
Jérôme Gardou 9bc147ffd5 [WIN32K]
- Fix hook leaks.
User object manager creates object with 2 (two, deux, zwei, dos) reference counts.

svn path=/trunk/; revision=64942
2014-10-23 20:08:03 +00:00