Commit Graph
59205 Commits
Author SHA1 Message Date
Hermès Bélusca-Maïto fd83e0e04f [NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of them are *LONGLONG).
svn path=/trunk/; revision=65005
2014-10-26 02:38:07 +00:00
Aleksandar Andrejevic 0c4632c9e5 [NTVDM]
Make sure the offset doesn't exceed the VGA bank size.
Load the latch registers after the loop (optimization).


svn path=/trunk/; revision=65004
2014-10-26 02:29:31 +00:00
Hermès Bélusca-Maïto 1e491f4d40 [NTVDM]: Fix the validity check of the hVdd handle in the port structure so that we don't try to call an invalid VDD IO handler. That fixes stack corruption for example in the case of OUTSB/W operations, where we could call an invalid VDD handler taking 3 parameters that in fact calls (because VDD handlers and our internal ones are stored in a union, the choice of the handler is done via the hVdd value) an internal handler taking only 2 parameters... Bug triggered when testing MSVC-compiled NTVDM in speed-optimized mode. Diagnosed by V. and I, thanks V!
svn path=/trunk/; revision=65003
2014-10-26 02:27:11 +00:00
Hermès Bélusca-Maïto 6a9276ecb9 [DDK]: VDD IO handlers are WINAPI and not something undefined (CDECL ... ?). Double-checked by V.
svn path=/trunk/; revision=65002
2014-10-26 01:28:32 +00:00
Amine Khaldi c9b98be5d3 [ADVAPI32]
* Update OpenThreadToken().
CORE-8540

svn path=/trunk/; revision=65000
2014-10-25 22:37:02 +00:00
James Tabor f65a37a7d0 [NtUser]
- Do not block sending messages from a dying thread. See CORE-7447.

svn path=/trunk/; revision=64999
2014-10-25 22:06:13 +00:00
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