Commit graph

59537 commits

Author SHA1 Message Date
Aleksandar Andrejevic f991665f09 [FAST486][NTVDM]
Arch, I/O port numbers should always be stored in USHORT variables!


svn path=/trunk/; revision=64917
2014-10-23 11:44:07 +00:00
Jérôme Gardou 03b386d0e0 [USER32_APITEST]
- Add a test showing that CopyImage accepts LR_SHARED flag.
CORE-7575

svn path=/trunk/; revision=64916
2014-10-23 11:19:21 +00:00
Jérôme Gardou f0e276168d [WIN32K]
- Call IntDestroyCurIconObject instead of explicitly destroying the handle.
CORE-7575

svn path=/trunk/; revision=64915
2014-10-23 09:52:57 +00:00
Jérôme Gardou 6e51ca263b [WIN32K]
- Reference cursor and icon objects when copying a class from one heap to another.
CORE-7575

svn path=/trunk/; revision=64914
2014-10-23 09:32:46 +00:00
Jérôme Gardou 78c8971f65 [USER32]
- Return the right value in CopyImage when copying cursors/icons
CORE-7575

svn path=/trunk/; revision=64913
2014-10-23 09:32:43 +00:00
Jérôme Gardou 54592b1afb [WIN32K]
- Remove the cursor from the process cache when its handle is deleted, not after.
 - Do not return an invalid handle in NtUserSetCursor.
CORE-7575

svn path=/trunk/; revision=64912
2014-10-23 09:32:39 +00:00
Jérôme Gardou 797a6346f2 [USER32]
- Fix LookupIconIdFromDirectoryEx, returning 0 when no matching entry is found.
 - Fix error handling when opening a cursor file.
 - Various code beautification here and there
CORE-7575

svn path=/trunk/; revision=64911
2014-10-23 09:32:21 +00:00
Timo Kreuzer 8dc7d09ca1 [CRT/OLDNAMES]
Fix ARM build, patch by Yuntian Zhang with minor adjustment by me.
CORE-8666 #resolve #comment Committed in r64910, thanks!

svn path=/trunk/; revision=64910
2014-10-23 09:22:45 +00:00
Timo Kreuzer 70bd834afe [CRT]
Do not raise an exception in _invalid_parameter, which is only done in later MSVCRTs. Wine uses a symbolic constant (_MSVCR_VER) to handle this and other things and compiles their CRT code multiple times. As an alternative we could use a global version variable to avoid recompiling, once we implement other CRT dlls.
CORE-8670 #resolve

svn path=/trunk/; revision=64909
2014-10-23 09:05:32 +00:00
Kamil Hornicek 0f21d941ce [I8042PRT]
- check the right buffer's length
[WIN32K]
- simplify IntKeyboardUpdateLeds a bit and mind previous mode
- fixes keyboard indicators
CORE-8547

svn path=/trunk/; revision=64908
2014-10-22 20:05:32 +00:00
Thomas Faber b990d9a4c9 [RTL]
- Address a review comment by Timo -- use more explicit comparison

svn path=/trunk/; revision=64907
2014-10-22 19:40:13 +00:00
Thomas Faber d13df46fe4 [NTOS:FORMATTING]
- Trip trailing whitespace in Io/Pnp

svn path=/trunk/; revision=64906
2014-10-22 19:34:46 +00:00
Timo Kreuzer 5c0f6850a4 [XDK/DDK]
Improve debugprint in __assert_annotationA/W

svn path=/trunk/; revision=64905
2014-10-22 19:30:27 +00:00
Kamil Hornicek 93d7ffd181 [SERVMAN]
- better fix for CDI 513719, LVText might not be null terminated - spotted by Timo

svn path=/trunk/; revision=64904
2014-10-22 19:28:33 +00:00
Timo Kreuzer 86018d03c4 [NTOSKRNL]
- Fix potential use-after-free CID 732509
- Fix buffer size in call to ObQueryNameString

svn path=/trunk/; revision=64903
2014-10-22 19:20:03 +00:00
Hervé Poussineau f42c9182f2 [NTOS:IO] Replace an error message by an assert
This was expected to be done soon after r32518.

svn path=/trunk/; revision=64902
2014-10-22 19:17:13 +00:00
Amine Khaldi a1bc1edda7 [ADVAPI32/CRED]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64901
2014-10-22 18:41:40 +00:00
Amine Khaldi 3bfe9ee622 [ADVAPI32/CRYPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64900
2014-10-22 18:29:59 +00:00
Amine Khaldi eabfb53a71 [PSDK]
* Add missing PFE_IMPORT_FUNC and WriteEncryptedFileRaw.

svn path=/trunk/; revision=64899
2014-10-22 18:26:47 +00:00
Amine Khaldi d7530c0ea5 [KERNEL32]
* Zap szCountryListName.
* Comment out unused charset_names and strcpynAtoW.
CORE-8540

svn path=/trunk/; revision=64898
2014-10-22 18:05:36 +00:00
Amine Khaldi 5bc272dbc3 [KERNEL32]
* Sync GetStringTypeW with Wine 1.7.27.
* Allows more kernel32:locale tests to run.
CORE-8540

svn path=/trunk/; revision=64897
2014-10-22 17:58:58 +00:00
Amine Khaldi 1994661271 [KERNEL32]
* Sync LCMapString{A,W} with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64896
2014-10-22 17:52:18 +00:00
Amine Khaldi 06e986393a * Sync up to trunk head (r64894).
svn path=/branches/shell-experiments/; revision=64895
2014-10-22 17:07:43 +00:00
Amine Khaldi c094a9b51f [CMAKE]
* Allow the use of the LOCATION property with new CMake versions.

svn path=/trunk/; revision=64894
2014-10-22 16:56:56 +00:00
Amine Khaldi f47eeb21ab [TASKMGR]
* Minor style changes in wWinMain.

svn path=/trunk/; revision=64893
2014-10-22 16:51:25 +00:00
Amine Khaldi 4ef9ff28e2 [KERNEL32]
* Zap NLS_RegEnumSubKey.

svn path=/trunk/; revision=64892
2014-10-22 16:43:19 +00:00
Amine Khaldi 18ec4d369d [KERNEL32]
* Replace EnumSystemGeoID with the one from Wine 1.7.27.
* Fixes some kernel32:locale tests.
CORE-8540

svn path=/trunk/; revision=64891
2014-10-22 16:40:54 +00:00
Kamil Hornicek 6f16539c0c [TASKMGR]
- fix CIDs 731628 (unlikely buffer overrun), 500038 (dead code), 1101977 (unchecked return value)

svn path=/trunk/; revision=64890
2014-10-22 16:01:24 +00:00
Thomas Faber 6256673633 [NTOS:MM]
- Add a way to generate a pool tag from the calling driver name if none is specified. Disabled by default.

svn path=/trunk/; revision=64889
2014-10-22 13:26:50 +00:00
Thomas Faber 2e4b0e9661 [NTOS:MM]
- Add missing call to ExpSeedHotTags

svn path=/trunk/; revision=64888
2014-10-22 13:18:10 +00:00
Thomas Faber 5c565a4740 [NTOS:KE]
- Issue the appropriate bug check codes when faulting in special pool
CORE-8680

svn path=/trunk/; revision=64887
2014-10-22 13:13:31 +00:00
Thomas Faber 2c09a3d5af [NTOS:MM]
Make special pool usable:
- Invalidate PTEs on free to catch use-after-free situations (and not confuse Mm)
- Fix pattern check not to look for more than 8 bits in a byte
- Enable POOL_FLAG_SPECIAL_POOL if special pool has been initialized
- Implement MmExpandSpecialPool
- Issue the correct SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION bugcheck when problems are detected
- Magic values--
To enable special pool for a single tag, set a value for MmSpecialPoolTag in ntoskrnl/mm/ARM3/pool.c.
To enable it for more than one tag, set MmSpecialPoolTag and modify MmUseSpecialPool in ntoskrnl/mm/ARM3/special.c (e.g. to return TRUE independent of Tag).
CORE-8680 #resolve

svn path=/trunk/; revision=64886
2014-10-22 13:04:57 +00:00
Thomas Faber f67ab25a16 [NTOS:MM]
- Generate PAGE_FAULT_IN_NONPAGED_AREA bugcheck for PTEs that have their protection set to zero. This gives a more useful error description than the infamous 'TempPte.u.Long != 0' assertion*.
CORE-8679 #resolve

* and is also What Windows Does(TM)

svn path=/trunk/; revision=64885
2014-10-22 12:29:31 +00:00
Kamil Hornicek a48fe43631 [MSCONFIG]
- fix CID 503793 (unlikely NULL pointer dereference), 514558 (check return value)

svn path=/trunk/; revision=64884
2014-10-22 12:13:40 +00:00
Amine Khaldi 27938d24c5 [KERNEL32]
* Replace GetGeoInfo{A,W} with the ones from Wine 1.7.27.
* Fixes many kernel32:locale tests.
CORE-8540

svn path=/trunk/; revision=64883
2014-10-21 23:02:21 +00:00
Kamil Hornicek 2ee22c5764 [SERVMAN]
- fix resource leaks CID 716292, 716293, 716294
- fix CID 716772 (double free), 513719 (wrong NULL check), 1206739 (cosmetic)
- make line endings CR LF when exporting the services list

svn path=/trunk/; revision=64882
2014-10-21 22:58:23 +00:00
Hermès Bélusca-Maïto c7f4cb10e3 [FAST486]: Rename some 0F0x opcodes to "ExtOpcode..." to clarify what they are and where they are used.
svn path=/trunk/; revision=64881
2014-10-21 21:18:23 +00:00
Kamil Hornicek a90ae59c2a [USER32]
- fix CID 514402 (by Christoph)
[MMIXER]
- fix CID 503774, 715945, 511119
[WS2_32_NEW]
- fix a debug print

svn path=/trunk/; revision=64880
2014-10-21 21:08:51 +00:00
Jérôme Gardou 12faa73856 [WIN32K]
- Fix a few usages of UserSetCursor
 - Defer the actual freeing of cursor resources to when the object is freed for real.
CORE-7575

svn path=/trunk/; revision=64879
2014-10-21 19:57:03 +00:00
Jérôme Gardou 68fb2f6899 [I_KNEW_IT]
- InterlockedDecrement(JeromesBuildFailures)

svn path=/trunk/; revision=64878
2014-10-21 19:14:47 +00:00
Jérôme Gardou 1c19d25eb3 [WIN32K]
- "Convert" new cursor & icons implementation to the new user object handle manager.
 - Fix a few idiosyncracies in the way cursor handles are used (only with USE_NEW_CURSORICON_ENABLED)
[WIN32SS]
 - Storm out the flowers out of how classes use icon and cursor objects, with proper refcounting and all those joyous things.
Handles are for the powerless, kernel mode use pointers.
Only with USE_NEW_CURSORICON enabled (soon!)
CORE-7575

svn path=/trunk/; revision=64877
2014-10-21 18:59:44 +00:00
Jérôme Gardou f696300a7a [WIN32K]
- Use the first frame of an animated cursor in case we're trying to use one.

svn path=/trunk/; revision=64876
2014-10-21 18:59:39 +00:00
Jérôme Gardou 19cf379c80 [WIN32K]
- Refcount++ the process info when we're adding it to a cursor process list.
CORE-8661

svn path=/trunk/; revision=64875
2014-10-21 18:59:34 +00:00
Amine Khaldi 359e6346cd [KERNEL32]
* Sync casemap.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64874
2014-10-21 18:42:12 +00:00
Amine Khaldi d8fff8998e [IP]
* Zap tcp_state_str.

svn path=/trunk/; revision=64873
2014-10-21 18:39:22 +00:00
Amine Khaldi 3f32c3a15d [KERNEL32]
* Sync format_msg.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64872
2014-10-21 18:25:34 +00:00
Kamil Hornicek cd1f57b5d4 [CMD]
- fix resource leaks CID 716324, 716323, 716322, 716321, 716320, 716319, 716318

svn path=/trunk/; revision=64871
2014-10-21 16:05:54 +00:00
Amine Khaldi 8d45f7ba25 [STRMBASE]
* Zap InputPin_Vtbl, OutputPin_Vtbl and impl_BaseInputPin_from_BasePin(). Already accepted upstream.

svn path=/trunk/; revision=64870
2014-10-21 15:52:51 +00:00
Amine Khaldi 931a7cbb25 [XCOPY_WINETEST]
* Import from Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64869
2014-10-21 15:50:16 +00:00
Thomas Faber 7b84cd051b [WIN32K]
- Fix DCE list entry handling
CORE-8669 #resolve

svn path=/trunk/; revision=64868
2014-10-21 14:28:16 +00:00