Commit graph

66109 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 47d9985bb4 [CONSRV]
- Fix potential Out-of-bounds access during string copy/concatenation. CID 1322098.
- Fix check for NULL after potential dereference. CID 1322175.

svn path=/trunk/; revision=71913
2016-07-13 00:06:09 +00:00
Hermès Bélusca-Maïto a5b76eb779 [SHELL32]
- Use StringCbCopyW

[PROGMAN]
- Use StringCbCopyW: CID #1363712.
- Don't read registry values in a registry key if we failed to open it. CID #514350.

svn path=/trunk/; revision=71912
2016-07-12 23:00:50 +00:00
Hermès Bélusca-Maïto 4ef92827aa [USETUP]
- Don't hardcode buffer string size in GetPartTypeStringFromPartitionType calls.
- Possibly check whether the first character of the PartTypeString string is NULL before printing a generic partition information in case the partition type is unknown. We might check instead for the STRING_FORMATUNKNOWN string...
- Don't check for PartTypeString being NULL since it's not a pointer. CID #1363481 and CID #1363494.

svn path=/trunk/; revision=71911
2016-07-12 22:30:55 +00:00
Amine Khaldi 5ec6f3d9fc [KERNEL32_WINETEST] Sync with Wine Staging 1.9.14 except thread tests. CORE-11511
svn path=/trunk/; revision=71910
2016-07-12 21:10:24 +00:00
Amine Khaldi 54f3884769 [NTDLL_WINETEST] Partial sync with Wine Staging 1.9.14. CORE-11368 holds some remaining tests.
svn path=/trunk/; revision=71909
2016-07-12 20:40:20 +00:00
James Tabor 69fd33d2a0 [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 3. CORE-11368
svn path=/trunk/; revision=71907
2016-07-12 20:08:44 +00:00
James Tabor 45799931c9 [Win32SS]
- Update (Sync/Port) User32:Text to Wine Staging 1.9.11, see CORE-11368.

svn path=/trunk/; revision=71906
2016-07-12 20:06:30 +00:00
James Tabor d9af32368a [Win32SS]
- Cleanup error codes for Classes and Menus.
- Update (Sync/Port) User32:Dialog to Wine Staging 1.9.11, see CORE-11368.
- Now pass exactly the same tests as windows, except for the two ToDos lines 1596 & 1617. The other test failures are on wine for not being compatible!

svn path=/trunk/; revision=71904
2016-07-12 18:23:04 +00:00
Amine Khaldi 1c7b4d4699 [SCHTASKS] Import from Wine Staging 1.9.14. CORE-11576
svn path=/trunk/; revision=71903
2016-07-12 15:35:42 +00:00
Amine Khaldi a9be1b1122 [UXTHEME_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71902
2016-07-12 11:13:34 +00:00
Amine Khaldi 2a753b8ad3 [UXTHEME] Apply Wine commit 997e204 by Louis Lenders: Fix CloseThemeData with invalid handle value. CORE-11368
svn path=/trunk/; revision=71901
2016-07-12 11:12:58 +00:00
Amine Khaldi 94cda5e077 [SHELL32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71900
2016-07-12 10:49:51 +00:00
Amine Khaldi d86051a8c3 [PSDK] Add some missing ASSOCF_* enum elements.
svn path=/trunk/; revision=71899
2016-07-12 10:46:22 +00:00
Amine Khaldi c59d46ec65 [ADVAPI32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71898
2016-07-12 10:38:36 +00:00
Mark Jansen 78df1a00d6 [TRANSLATION] Russian translations by Nikolay Burshtyn (amber). CORE-11567 #resolve #comment Thanks!
svn path=/trunk/; revision=71896
2016-07-11 19:02:48 +00:00
Amine Khaldi a4db20e9a9 [INCLUDES/WINE] Update test.h.
svn path=/trunk/; revision=71895
2016-07-11 10:47:42 +00:00
Amine Khaldi dc0f375a2d [GDI32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71894
2016-07-11 10:46:47 +00:00
Hermès Bélusca-Maïto b9a5fd8135 Fix usage of the first parameter for TranslateAccelerator: this should be the handle of the window that will receive the accelerator commands (not the window from which the message originates).
svn path=/trunk/; revision=71893
2016-07-11 01:57:47 +00:00
Eric Kohl 3d32d3faaf [SERVMGR]
Service recovery page:
- Dissect the 'run process' command line and display it.
- Implement the 'Browse' button.

svn path=/trunk/; revision=71892
2016-07-10 21:54:17 +00:00
Eric Kohl a9f075392d [NEWDEV]
Fix words in newdev. (Italian translation)
Patch by decodp.
CORE-11437 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71891
2016-07-10 20:26:05 +00:00
Pierre Schweitzer 79bcce0cbe [FASTFAT]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly
CcPinRead 4th arg isn't a boolean but a flag. Fix it accordingly

svn path=/trunk/; revision=71890
2016-07-10 18:16:03 +00:00
Pierre Schweitzer bc25d25107 [CDFS]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly

svn path=/trunk/; revision=71889
2016-07-10 18:06:47 +00:00
Pierre Schweitzer e8028606cf [FASTFAT][CDFS]
Call CcMapData(), CcPinRead() inside a SEH block
This allows returning more significant error codes on failure

[NTOSKRNL]
Enable Thomas code for raising exceptions

CORE-9848

svn path=/trunk/; revision=71888
2016-07-10 17:14:33 +00:00
Mark Jansen 7320b9bca3 [SDK] Add the first appcompat database, containing references to version lie shims. CORE-11302 #resolve
svn path=/trunk/; revision=71887
2016-07-10 16:21:53 +00:00
Mark Jansen e3639a814e [SDK][XML2SDB] Introducing the xml2sdb host tool, used to convert xml files to appcompat Sdb files. CORE-11302
Uses tinyxml2 to parse the xml.
Thanks to Thomas for reviewing / suggesting fixes!

svn path=/trunk/; revision=71886
2016-07-10 16:14:39 +00:00
Mark Jansen 704241af92 [APPHELP] Prepare sdbwrite related api for a new hosttool. CORE-11302
- Adding an extra argument to SdbReAlloc
- Do not rely on platform wcs* functions.

svn path=/trunk/; revision=71885
2016-07-10 16:06:39 +00:00
Eric Kohl 35e5c8b39f [USETUP]
Add CAPS-LOCK support to the keyboard layout.
Patch by Carlo Bramini.
CORE-3368 #comment Thanks a lot!

svn path=/trunk/; revision=71884
2016-07-10 15:51:45 +00:00
Thomas Faber 20b9815882 [NTOS:CC]
- Raise exceptions on failure in CcMapData if RAISE_FROM_CC_MAP_DATA is defined. This is how the function should behave, and should be enabled once all our file system drivers correctly handle this.
CORE-9848

svn path=/trunk/; revision=71883
2016-07-10 14:46:37 +00:00
Mark Jansen 954b67bd37 [WIN32SS] Do not try to call DevModes when it is NULL (mirror drivers). Patch by Victor Matovykh. CORE-11441 #resolve #comment Thanks!
svn path=/trunk/; revision=71882
2016-07-10 14:23:58 +00:00
Mark Jansen 0ecb33fb4b [RAPPS] Fix some translated / misspelled tags.
svn path=/trunk/; revision=71881
2016-07-10 00:18:20 +00:00
Hermès Bélusca-Maïto 7e912fee22 [SHELL32]
- Fix the last parameter of a StringCchCopyEx call; fix a misspelling.
- Do not exclusively use GetFileAttributesEx to retrieve file attributes (for the file properties dialog). Indeed, it happens that this API (as well as GetFileAttributes), and equivalently, NtQueryFullAttributesFile (as well as NtQueryAttributesFile), can fail on *locked system* files (on Win2k/Win2k3/Win7, and on ROS), such as C:\pagefile.sys . See for example http://stackoverflow.com/questions/16772931/getfileattributes-on-locked-system-file and my comment in CORE-10757 . Therefore to retrieve file attributes also for these files we do a trick: we call FindFirstFile on the full path to said file. It happens that FindFirstFile can work on locked system files, and thus we are able to retrieve their attributes (+ size and file dates) as well!
See the code for more details.
CORE-10757 #resolve

svn path=/trunk/; revision=71880
2016-07-09 23:18:39 +00:00
Hermès Bélusca-Maïto 7795699eaa [KERNEL32]
- Do not use a "magic number" for the return value 0xFFFFFFFF from GetFileAttributes.
- Use a meaningful variable name for retrieving the result of GetFileAttributes.

svn path=/trunk/; revision=71879
2016-07-09 22:23:23 +00:00
Thomas Faber 121e0791d7 [SERVMAN]
- Fix MSVC build

svn path=/trunk/; revision=71878
2016-07-09 21:05:00 +00:00
Thomas Faber ea98e8a8fd [LIBXML2]
- Fix MSVC build (already fixed upstream)

svn path=/trunk/; revision=71877
2016-07-09 21:01:11 +00:00
Amine Khaldi b938f584f2 [LIBXSLT] Update to v1.1.29. CORE-11557
svn path=/trunk/; revision=71876
2016-07-09 18:30:47 +00:00
Amine Khaldi 5c2ff24677 [LIBXML2] Update to v2.9.4. CORE-11556
svn path=/trunk/; revision=71875
2016-07-09 18:07:58 +00:00
Amine Khaldi 2647877ea8 [CMAKE] Update baseaddress.cmake for the GCC build. CORE-11382
svn path=/trunk/; revision=71874
2016-07-09 17:38:40 +00:00
Amine Khaldi 647586b9d5 [FONTSUB] Import from Wine Staging 1.9.13. CORE-11219
svn path=/trunk/; revision=71873
2016-07-09 17:18:33 +00:00
Eric Kohl 995a10c899 [SERVMAN]
Add logon and recovery property pages. Still work in progress.

svn path=/trunk/; revision=71872
2016-07-09 16:51:21 +00:00
Pierre Schweitzer 746de0cb15 [FLTMGR]
Fix GCC build

svn path=/trunk/; revision=71871
2016-07-09 16:41:18 +00:00
Pierre Schweitzer e9ce17fc5f [DDK]
MS DDK defines FLT_CALLBACK_DATA_QUEUE_FLAGS as ULONG.

svn path=/trunk/; revision=71870
2016-07-09 16:40:31 +00:00
Pierre Schweitzer e5ca5b3971 [NTFS][FREELDR]
Cherrypick r71807 by Trevor Thompson

svn path=/trunk/; revision=71869
2016-07-09 16:21:13 +00:00
Thomas Faber 2bdf474cc4 [ACPI]
- This bus hosts all physical hardware. Surely some of it can be in the paging path...

svn path=/trunk/; revision=71868
2016-07-09 15:40:02 +00:00
Hermès Bélusca-Maïto 9a5faf7cc9 [EVENTVWR]
- Display 3 different "types" of logs in the tree: "system logs": Application, Security, System, that are the minimal set of standard logs present on NT systems; "application logs": all the other logs, that are available to the event log service (both "system" and "application" logs are registered in the registry, under the "EventLog" service key). Finally comes the "user logs" that consists in all the log files that are manually opened by the user inthe event log viewer.
- Use 'PEVENTLOGRECORD' instead of 'EVENTLOGRECORD *'.
- Don't hardcode the buffer length values in the size parameters used in the GetEventUserName function.
- Merge both GetDisplayNameFile and GetDisplayNameID helpers into a single GetDisplayNameFileAndID function, since the former two were always called in tandem.
- Forbid editing the labels of the tree root nodes "system"/"application"/"user" logs.
- Splitter bar: set the cursor only when it is on the bar, not when it is above the status bar...
- Resize the status bar only in WM_SIZE events.
- Remove few dead code.

svn path=/trunk/; revision=71867
2016-07-09 12:32:21 +00:00
Amine Khaldi 834f7edab0 [FREETYPE] Update to v2.6.4. CORE-11553 CORE-11543
svn path=/trunk/; revision=71866
2016-07-08 21:07:25 +00:00
Hermès Bélusca-Maïto b5bf3c7a1f [FLTMGR]: Remove a MSVC warning: FltObjectDereference, whose prototype is publicly defined in fltkernel.h, doesn't return any value.
svn path=/trunk/; revision=71864
2016-07-08 17:44:59 +00:00
Ged Murphy 442231df6f - Slight code cleanup
- Add missing PAGED_CODE (thanks thomas)

svn path=/trunk/; revision=71863
2016-07-08 13:41:31 +00:00
Ged Murphy 7a8d83b7ea [NTOS]
- Implement IoCreateFileSpecifyDeviceObjectHint - will be needed for fltmgr
- Rename IoCreateFile to IopCreateFile and forward both IoCreateFile and IoCreateFileSpecifyDeviceObjectHint to that routine
- Add support to IopParseDevice to check for a top level device hint and use that instead of the real device.
- Create a file object extension in IopParseDevice and use that to store our top level device hint data
- Update IoGetRelatedDeviceObject to check for file object extensions and return the 'fake' top level device if we have one

svn path=/trunk/; revision=71862
2016-07-08 13:18:39 +00:00
Ged Murphy 5095fb9b9e [SDK]
- Add missing filter manager status codes

svn path=/trunk/; revision=71861
2016-07-08 13:05:33 +00:00
Ged Murphy 6e3d7d5199 [FLTMGR]
Move it to a more correct place in the tree

svn path=/trunk/; revision=71860
2016-07-08 13:04:44 +00:00