Trevor Thompson [Sat, 9 Sep 2017 23:10:52 +0000 (23:10 +0000)]
[NTFS] - Respect NTFS' file ordering when enumerating a directory. Split off part of BrowseIndexEntries() into a separate function to simplify the code.
AddNewMftEntry() - Zero the (larger) buffer for the bitmap prior to reading the bitmap.
BrowseIndexEntries() - Check sub-nodes before checking an index entry. Read and use the index bitmap when checking sub-nodes.
+BrowseSubNodeIndexEntries() - Called for sub-nodes of an index when browsing index entries.
+NtfsDumpData() - Diagnostic function which allows for visualizing a series of bytes.
svn path=/branches/GSoC_2016/NTFS/; revision=75817
Trevor Thompson [Sat, 9 Sep 2017 16:41:59 +0000 (16:41 +0000)]
[CMAKE] Fix configure script issuing a warning on CMake parameters like -DFOO:BOOL=TRUE. Bug found by Thomas Faber.
svn path=/branches/GSoC_2016/NTFS/; revision=75807
Thomas Faber [Sat, 9 Sep 2017 08:25:42 +0000 (08:25 +0000)]
[NTFS]
- Revert ext2 change from r71341, since it's only a drop in the bucket
svn path=/branches/GSoC_2016/NTFS/; revision=75805
Thomas Faber [Fri, 8 Sep 2017 10:36:40 +0000 (10:36 +0000)]
[NTFS]
- Delete autorun.inf, which SVN decided to improperly merge. See r71342.
- Use trunk's version of the large MCB implementation, which already has Trevor's changes.
svn path=/branches/GSoC_2016/NTFS/; revision=75788
Thomas Faber [Sun, 3 Sep 2017 08:47:37 +0000 (08:47 +0000)]
[NTFS]
- Merge to trunk r75746
svn path=/branches/GSoC_2016/NTFS/; revision=75747
Thomas Faber [Sun, 3 Sep 2017 08:46:01 +0000 (08:46 +0000)]
[NTFS]
- Try to make SVN less confused about merging
svn path=/branches/GSoC_2016/NTFS/; revision=75746
Thomas Faber [Sat, 2 Sep 2017 22:48:45 +0000 (22:48 +0000)]
[USBPORT]
Patch by Vadim Galyant:
- Move isochronous transfer functions to their own file
- Fix return type of PUSBPORT_COMPLETE_TRANSFER
- Improve some debug prints
svn path=/trunk/; revision=75745
Thomas Faber [Sat, 2 Sep 2017 21:55:58 +0000 (21:55 +0000)]
[NTFS]
- Sync to trunk r75743
svn path=/branches/GSoC_2016/NTFS/; revision=75744
Timo Kreuzer [Sat, 2 Sep 2017 16:27:38 +0000 (16:27 +0000)]
[CMAKE] Add CL version 19.11 from VS 2017 version 15.3.3 to configure.cmd
svn path=/trunk/; revision=75743
Thomas Faber [Sat, 2 Sep 2017 15:18:02 +0000 (15:18 +0000)]
[NTOS:MM]
- Improve inaccurate debug print
svn path=/trunk/; revision=75742
James Tabor [Sat, 2 Sep 2017 14:36:16 +0000 (14:36 +0000)]
[User32]
- Disable code from CORE-10266.
svn path=/trunk/; revision=75741
Thomas Faber [Sat, 2 Sep 2017 13:06:14 +0000 (13:06 +0000)]
[MBEDTLS]
- Update to version 2.6.0
CORE-13739
svn path=/trunk/; revision=75740
Thomas Faber [Sat, 2 Sep 2017 13:03:21 +0000 (13:03 +0000)]
[MPG123]
- Update to version 1.25.6
CORE-13739
svn path=/trunk/; revision=75739
Thomas Faber [Sat, 2 Sep 2017 12:44:21 +0000 (12:44 +0000)]
[LIBPNG]
- Update to version 1.6.32
CORE-13739
svn path=/trunk/; revision=75738
Thomas Faber [Sat, 2 Sep 2017 09:03:07 +0000 (09:03 +0000)]
[USBPORT]
- Avoid unnecessary duplicate variables in USBPORT_FlushPendingTransfers
svn path=/trunk/; revision=75737
Thomas Faber [Sat, 2 Sep 2017 08:59:52 +0000 (08:59 +0000)]
[USBPORT]
- Fix logic error: don't complete IRPs for which the cancel routine has been called.
svn path=/trunk/; revision=75736
James Tabor [Sat, 2 Sep 2017 04:45:16 +0000 (04:45 +0000)]
[NtUser]
- Patch by Fabian Maurer : Send WM_NCPAINT and WM_ERASEBKGND when window is shown. Only send position-change messages when needed.
- Adapted patch and fixes CORE-3998.
svn path=/trunk/; revision=75735
James Tabor [Sat, 2 Sep 2017 04:08:22 +0000 (04:08 +0000)]
[NtUser]
- Fix a potential crash in test_menu_locked_by_window.
svn path=/trunk/; revision=75734
Hermès Bélusca-Maïto [Fri, 1 Sep 2017 20:35:25 +0000 (20:35 +0000)]
[EVENTCREATE]: Use wcstoul() to retrieve and check for valid numerical values.
svn path=/trunk/; revision=75733
Hermès Bélusca-Maïto [Fri, 1 Sep 2017 20:17:25 +0000 (20:17 +0000)]
[CONSOLE.CPL]: Fix an invalid success check after calling wcstoul(), plus usage fixes for the True-Type combobox edit box.
svn path=/trunk/; revision=75732
Mark Jansen [Fri, 1 Sep 2017 19:06:04 +0000 (19:06 +0000)]
[SHIMENG] Fix logging when handling ordinal ordinal functions.
svn path=/trunk/; revision=75731
Mark Jansen [Fri, 1 Sep 2017 18:27:40 +0000 (18:27 +0000)]
[SERVICES] Allow CreateService to create an interactive service under the LocalSystem account.
MSDN stated that this is allowed, and this fixes VMWare Horizon setup not working.
CORE-13434
svn path=/trunk/; revision=75730
Hermès Bélusca-Maïto [Fri, 1 Sep 2017 18:00:06 +0000 (18:00 +0000)]
[NET]: Whitespace fixes only.
svn path=/trunk/; revision=75729
Trevor Thompson [Fri, 1 Sep 2017 00:27:34 +0000 (00:27 +0000)]
[NTFS] - Fix some errors that break building in C89 mode, and remove an extraneous "ninja livecd" that got inserted in a comment. Thanks to Doug Lyons for spotting these errors.
SplitBTree() - comment-out redundant code for finding the median key and improve comments.
svn path=/branches/GSoC_2016/NTFS/; revision=75727
Hermès Bélusca-Maïto [Thu, 31 Aug 2017 20:49:02 +0000 (20:49 +0000)]
[ACPPAGE]: "Sync fail" with Mark Jansen's translation work in CORE-13693, sorry :(
svn path=/trunk/; revision=75726
Hermès Bélusca-Maïto [Thu, 31 Aug 2017 20:38:38 +0000 (20:38 +0000)]
[ACPPAGE]: Improve the compatibility tab:
- Use the tab title from the corresponding dialog resource caption string.
- Fix some translations, and complete the french one.
- Use DialogBoxParamW and MAKEINTRESOURCEW (with W).
svn path=/trunk/; revision=75725
Giannis Adamopoulos [Wed, 30 Aug 2017 12:59:05 +0000 (12:59 +0000)]
[BROWSEUI] -Demote a fixme print to a mere comment.
svn path=/trunk/; revision=75714
Giannis Adamopoulos [Wed, 30 Aug 2017 12:49:59 +0000 (12:49 +0000)]
[SHELL32] -SHChangeNotifyRegister: Don't call CreateFileW with something that is not a filesystem path as this will obviously fail like when we are browsing My Computer.
svn path=/trunk/; revision=75713
Giannis Adamopoulos [Wed, 30 Aug 2017 12:29:43 +0000 (12:29 +0000)]
[SHELL32][BROWSEUI] -Demote some uselass error prints and promote some others that make sense to have. Avoid a case that would logically hit an error as initialization of the shell browser is still under way,
svn path=/trunk/; revision=75712
Trevor Thompson [Tue, 29 Aug 2017 15:51:14 +0000 (15:51 +0000)]
[NTFS] - Add some helper functions for new features. Add some fixes. Add support for creating an index allocation, splitting a b-tree node, or "demoting" the index root. This allows for file creation without functional limitations.
+AddBitmap() - adds a $BITMAP attribute to a file record.
+AddIndexAllocation() - adds an $INDEX_ALLOCATION attribute to a file record.
+CountBTreeKeys() - Counts the number of linked B-Tree keys.
CreateIndexBufferFromBTreeNode() - Set INDEX_NODE_LARGE if the node has sub-nodes.
CreateIndexRootFromBTree() - Simplify the usage and math of MaxIndexSize; make it only account for the cumulative size of the index entries.
+DemoteBTreeRoot() - Replaces the contents of an index root with a dummy key, and puts those contents in a new node, which is made a child of the dummy key. This is done when an index root grows too large.
+GetIndexEntryVCN() - Retrieves the VCN from an index entry.
NtfsAddFilenameToDirectory() - Fix math for MaxIndexRootSize.
NtfsInsertKey() - Add support for splitting a B-Tree node. Don't check size of index root (that will be handled later).
+SplitBTreeNode() - Called when a B-Tree node grows too large.
UpdateIndexAllocation() - Create an $I30 index allocation attribute and bitmap attribute if needed.
UpdateIndexNode() - Update children before updating the current node. Store VCN of child nodes in the index entries of their respective keys.
svn path=/branches/GSoC_2016/NTFS/; revision=75707
Giannis Adamopoulos [Tue, 29 Aug 2017 09:11:57 +0000 (09:11 +0000)]
[EXPLORER] -Fix a comment typo. CORE-13566
svn path=/trunk/; revision=75706
Hermès Bélusca-Maïto [Mon, 28 Aug 2017 20:31:34 +0000 (20:31 +0000)]
[CMD]: Russian translation for the START command, adapted from amber CORE-13248, jperm CORE-13560 and reviewed by Alexander Shaposhnikov (sanchaez). Thank you all :)
Addendum to r75369.
svn path=/trunk/; revision=75705
Thomas Faber [Mon, 28 Aug 2017 19:42:35 +0000 (19:42 +0000)]
[INF]
- Properly set svn:eol-style. These files are text, so they shouldn't be marked as binary, and they need to have CRLF line endings since they go on the iso.
svn path=/trunk/; revision=75704
Giannis Adamopoulos [Mon, 28 Aug 2017 13:41:16 +0000 (13:41 +0000)]
[UXTHEME] -When calculating the size of caption buttons assume that they have the same size. Hacks in the theme files that change the way the buttons are drawn actually make them appear to have a different size. CORE-13512
svn path=/trunk/; revision=75696
Trevor Thompson [Mon, 28 Aug 2017 03:11:38 +0000 (03:11 +0000)]
[NTFS] - Fix increasing the mft size, to keep chkdsk happy.
IncreaseMftSize() - Add some fixes. Write blank records to newly-allocated mft entries, and update $MFTMirr when finished; these changes are needed for chkdsk. Increase size by 64 records instead of 8.
+UpdateMftMirror() - Backs up the first ~4 master file table entries to the $MFTMirr file.
svn path=/branches/GSoC_2016/NTFS/; revision=75694
Trevor Thompson [Sun, 27 Aug 2017 14:43:35 +0000 (14:43 +0000)]
[NTFS] - Fix for C89 compliance.
svn path=/branches/GSoC_2016/NTFS/; revision=75693
Trevor Thompson [Sun, 27 Aug 2017 14:37:17 +0000 (14:37 +0000)]
[NTFS] - Add support for directory creation. Add some helper functions, some comments, and some fixes.
+AddIndexRoot() - Creates an $INDEX_ROOT attribute and adds it to a file record.
AddNewMftEntry() - Make sure the buffer used by RtlInitializeBitmap() is ULONG-aligned, and a ULONG-multiple in size, per MSDN.
AllocateIndexNode() - Calculate BytesNeeded correctly. Read $BITMAP attribute before increasing its length, in anticipation of a future commit that will check for a free bit before assigning a new index record to the end of the allocation. Use appropriate Set*AttributeDataLength() function, as $BITMAP can be resident or non-resident.
B_TREE_FILENAME_NODE - Give two members more accurate names: change "ExistsOnDisk" member to "HasValidVCN" and rename "NodeNumber" member "VCN."
+CreateEmptyBTree() - Creates a B-Tree to represent an empty directory (for AddIndexRoot).
+NtfsCreateEmptyFileRecord() - Creates an empty file record in memory, with no attributes.
CreateIndexRootFromBTree() - Fix TotalSizeOfEntries calculation.
+NtfsCreateDirectory() - Creates a file record for an empty directory and adds it to the mft.
svn path=/branches/GSoC_2016/NTFS/; revision=75692
Sylvain Petreolle [Sun, 27 Aug 2017 12:00:55 +0000 (12:00 +0000)]
[RAPPS] Add a SHA1 sum to uTorrent.
CORE-13666
svn path=/trunk/; revision=75691
Giannis Adamopoulos [Sun, 27 Aug 2017 10:55:30 +0000 (10:55 +0000)]
[UXTHEME] -Ignore the alpha channel so that TrasnparentBlt will be used when a bitmap has an alpha channel but no pixel has alpha transparency. CORE-13464
svn path=/trunk/; revision=75688
Giannis Adamopoulos [Sun, 27 Aug 2017 09:35:03 +0000 (09:35 +0000)]
[BROWSEUI] -CExplorerBand: Calling ILGetDisplayNameEx with a full pidl was a bit hacky after all because it doesn't work always in win10. Just get the name manually as no helper is good enough.
svn path=/trunk/; revision=75687
James Tabor [Sat, 26 Aug 2017 22:49:13 +0000 (22:49 +0000)]
[GDI32|Metafile]
- Andrew Eikum : Update metafile world transform immediately in winnt mode.
- More information at https://www.winehq.org/pipermail/wine-cvs/2017-August/122607.html .
svn path=/trunk/; revision=75685
Kamil Hornicek [Sat, 26 Aug 2017 21:19:44 +0000 (21:19 +0000)]
[TRANSLATIONS]
- Fix missing shortcuts on desktop for Ukrainian localization.
svn path=/trunk/; revision=75682
Giannis Adamopoulos [Sat, 26 Aug 2017 14:38:32 +0000 (14:38 +0000)]
[BROWSEUI][SHELL32] -Move bitmap resources used by browseui from shell32 to browseui. Browseui alongside filebrowser.exe can already be used in windows so it makes sense to let it have toolbar icons even in latest windows versions. (It works from xp to win10).
svn path=/trunk/; revision=75677
Hermès Bélusca-Maïto [Sat, 26 Aug 2017 12:52:28 +0000 (12:52 +0000)]
[BOOTDATA]: Move an inf comment where it belongs.
svn path=/trunk/; revision=75675
Thomas Faber [Sat, 26 Aug 2017 07:31:38 +0000 (07:31 +0000)]
[WIN32K:NTUSER]
- Remove unnecessary thread reference in IsThreadSuspended.
svn path=/trunk/; revision=75672
Trevor Thompson [Fri, 25 Aug 2017 17:16:04 +0000 (17:16 +0000)]
[NTFS] - When creating files:
-Don't add a preceding backslash when creating files on root.
-Use NTFS_FILE_NAME_POSIX name type if CaseSensitive option is specified.
-Don't try to create a file when a folder is requested (folder creation is still TODO).
svn path=/branches/GSoC_2016/NTFS/; revision=75671
Giannis Adamopoulos [Fri, 25 Aug 2017 15:03:25 +0000 (15:03 +0000)]
[BROWSEUI] -CAddressEditBox: Populate address bar combobox. Patch by Barrett Karish with improvements by me to fix leaks and add error checks. CORE-10988
svn path=/trunk/; revision=75670
Giannis Adamopoulos [Fri, 25 Aug 2017 08:59:10 +0000 (08:59 +0000)]
[SHELL32] -Silence two unneeded prints.
svn path=/trunk/; revision=75666
Giannis Adamopoulos [Fri, 25 Aug 2017 08:44:13 +0000 (08:44 +0000)]
[SHELL32] -CRecycleBin: Call GetDriveTypeW with correct parameters. Now files can be deleted to the recycle bin again. Patch by Serge Gautherie. CORE-12340
svn path=/trunk/; revision=75665
Giannis Adamopoulos [Thu, 24 Aug 2017 23:08:09 +0000 (23:08 +0000)]
[USER32_APITEST] -Add a monster of a test to check if WM_DESTROYCLIPBOARD is blocking or not. Use a critical section while recording as we use a single message cache in two threads. After 50154, 50816, 50846 and 75616 changing back and forth, this test shows that 75616 is correct and making sure that it won't be changed again in the future, somehting that would break the ole clipboard.
svn path=/trunk/; revision=75663
James Tabor [Thu, 24 Aug 2017 22:03:01 +0000 (22:03 +0000)]
[User32]
- Patch by mudhead : If the index is out of range, no error should be set, see CORE-13716.
svn path=/trunk/; revision=75661
Aleksandar Andrejevic [Wed, 23 Aug 2017 04:44:55 +0000 (04:44 +0000)]
[NTVDM]: Fix linear 4-bpp mode. Return the status of the AC palette when the index register is read.
svn path=/trunk/; revision=75643
Giannis Adamopoulos [Tue, 22 Aug 2017 13:50:25 +0000 (13:50 +0000)]
[SHELL32] -CRecycleBin: Factor out a new class called CRecyclerDropTarget, which will take the data object and call SHFileOperation for its contents. Add a noisy print to show the parameters passed in SHFileOperation and make it to always use DROPEFFECT_MOVE. Make CDefaultContextMenu use the new drop target in order to delete a file.
svn path=/trunk/; revision=75640
Colin Finck [Tue, 22 Aug 2017 09:09:19 +0000 (09:09 +0000)]
[FS_REC]
Always register CDFS as a low-priority filesystem. This inserts it at the tail of the filesystem queue instead of the head, meaning UDF always takes precedence and UDF/CDFS hybrid media is properly detected as UDF.
Thanks to Pierre for the hint!
Should fix what's reported in https://jira.reactos.org/browse/CORE-9816?focusedCommentId=78820&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-78820
svn path=/trunk/; revision=75638
Giannis Adamopoulos [Tue, 22 Aug 2017 08:02:30 +0000 (08:02 +0000)]
[OLE32] -Recreate the clipboard window if it isn't a valid window handle. Can happen if the thread that first used the ole clipboard exists which also leads to the clipboard window being destroyed.
svn path=/trunk/; revision=75637
Giannis Adamopoulos [Mon, 21 Aug 2017 12:18:46 +0000 (12:18 +0000)]
[SHELL32] Misc fixes for CFSFolder
- GetCLSIDForFileType: Check if the shell extension is blocked by the Blocked key like wine does.
- CFSFolder::BindToObject: Remove a redundant check as _ILGetFileStructW already does the same check.
- CFSFolder::GetUIObjectOf: Do not try to load an IconHandler or an arbitrary extension for directories.
- CFSFolder::SetNameOf: Simplify and make secure by using great helpers like wcscmp and PathCombineW
svn path=/trunk/; revision=75634
Giannis Adamopoulos [Mon, 21 Aug 2017 09:07:41 +0000 (09:07 +0000)]
[SHELL32] -CFSFolder: Fix a couple of handle leaks.
svn path=/trunk/; revision=75633
Colin Finck [Sun, 20 Aug 2017 15:30:59 +0000 (15:30 +0000)]
[FS_REC]
- Add a detection routine for CDFS (ISO-9660) volumes that verifies the Primary Volume Descriptor.
- Use this to also detect CDFS on disks and load the CDFS driver if it has not been loaded yet (e.g. when a bootcd/livecd flashed USB drive is inserted at boot of an installed ReactOS).
- Fix a comment in udfs.c.
svn path=/trunk/; revision=75630
Thomas Faber [Sun, 20 Aug 2017 15:02:53 +0000 (15:02 +0000)]
[HDAUDBUS]
- Correctly disable interrupts for status change events. Fixes infinite "HDA_InterruptService
c0000000" debug spam (interrupt storm) on VMware with HDAudio sound enabled.
CORE-13704 #resolve
svn path=/trunk/; revision=75629
Hermès Bélusca-Maïto [Sun, 20 Aug 2017 12:05:25 +0000 (12:05 +0000)]
[BROWSEUI]: Improve the rendering of the toolbar pin buttons. By dsp8195. Sorry for the delay!
CORE-10838
svn path=/trunk/; revision=75628
Eric Kohl [Sun, 20 Aug 2017 08:47:23 +0000 (08:47 +0000)]
[SHELL32]
Folder Options: Japanese TreeView translation.
Patch by Katajama Hirofumi MZ.
CORE-13690
svn path=/trunk/; revision=75627
Eric Kohl [Sun, 20 Aug 2017 08:27:16 +0000 (08:27 +0000)]
[SYSSETUP]
Japanese translation of Theme dialog.
Patch by Katajama Hirofumi MZ.
CORE-13691
svn path=/trunk/; revision=75626
Giannis Adamopoulos [Sat, 19 Aug 2017 15:48:47 +0000 (15:48 +0000)]
[SHELL32] -CFSDropTarger: Improve the debug message that shows the first thing that is copied or moved and where. This way we sort of know what parameters we pass to SHFileOperationW.
svn path=/trunk/; revision=75625
Colin Finck [Sat, 19 Aug 2017 14:53:54 +0000 (14:53 +0000)]
[USETUP]
Add type 0x96 as "CDFS/ISO-9660" to our list of partition types now that our ISOs flashed to USB use it.
svn path=/trunk/; revision=75624
Giannis Adamopoulos [Sat, 19 Aug 2017 11:19:06 +0000 (11:19 +0000)]
[SHELL32] -CFSDropTarget: Simplyfy the code path that handles the CFSTR_SHELLIDLIST format. Don't use FOF_MULTIDESTFILES to keep things simple. CORE-13176
svn path=/trunk/; revision=75623
Giannis Adamopoulos [Sat, 19 Aug 2017 11:09:28 +0000 (11:09 +0000)]
[SHELL32] -Simplify the drop target of CRecycleBin to let the data object generate the list of names that can be passed to SHFileOperationW.
svn path=/trunk/; revision=75622
Mark Jansen [Sat, 19 Aug 2017 09:51:17 +0000 (09:51 +0000)]
[WINED3D] Dereference context slightly later, as seen in wine. This prevents some crashes while applications are starting up. (f.e. ANNO1602)
svn path=/trunk/; revision=75621
Christoph von Wittich [Sat, 19 Aug 2017 06:04:08 +0000 (06:04 +0000)]
[WLANAPI] map rpc to win error codes
svn path=/trunk/; revision=75620
Giannis Adamopoulos [Fri, 18 Aug 2017 17:39:34 +0000 (17:39 +0000)]
[SHELL32] -CDefaultContextMenu: Correctly differentiate the copy and the cut commands.
svn path=/trunk/; revision=75619
Giannis Adamopoulos [Fri, 18 Aug 2017 17:32:20 +0000 (17:32 +0000)]
[SHELL32] -CDefViewBckgrndMenu: Fix pasting in the background of a folder.
svn path=/trunk/; revision=75618
Mark Jansen [Fri, 18 Aug 2017 17:18:46 +0000 (17:18 +0000)]
[OLE32] Do not crash on an invalid / empty clipboard.
CORE-12302
svn path=/trunk/; revision=75617
Giannis Adamopoulos [Fri, 18 Aug 2017 17:18:17 +0000 (17:18 +0000)]
[WIN32K] -NtUserEmptyClipboard: Change its behaviour to wait for WM_DESTROYCLIPBOARD to return so it behaves like windows and our ole32 doesn't trip on its assumptions that everything works fine. A test will be written soon to prove that this is correct. CORE-12302
svn path=/trunk/; revision=75616
Benedikt Freisen [Fri, 18 Aug 2017 17:01:01 +0000 (17:01 +0000)]
[MSPAINT] Use Gdiplus::Bitmap in place of ATL::CImage to load pictures -- this un-breaks loading a picture's resolution from file
svn path=/trunk/; revision=75615
Timo Kreuzer [Fri, 18 Aug 2017 15:02:05 +0000 (15:02 +0000)]
[FTFD] Ignore NULL objects in free() wrapper
svn path=/trunk/; revision=75613
Timo Kreuzer [Fri, 18 Aug 2017 15:02:01 +0000 (15:02 +0000)]
[FTFD] Fix indentation
svn path=/trunk/; revision=75612
Eric Kohl [Fri, 18 Aug 2017 14:49:11 +0000 (14:49 +0000)]
[STOBJECT]
- Add support for the hotplug icon.
- Set default menu items in the context menus.
- Use a timer to properly distinguish between a single and a double click on an icon.
- Some code cleanup.
svn path=/trunk/; revision=75611
Timo Kreuzer [Fri, 18 Aug 2017 12:31:19 +0000 (12:31 +0000)]
[NTOSKRNL] Fix 64 bit warnings about conversion in PsExitSpecialApc and PspTerminateThreadByPointer
svn path=/trunk/; revision=75610
Timo Kreuzer [Fri, 18 Aug 2017 12:18:41 +0000 (12:18 +0000)]
Revert "[WIN32K] Fix probing and parameter validation in NtGdiPolyPolyDraw"
svn path=/trunk/; revision=75609
Timo Kreuzer [Fri, 18 Aug 2017 11:15:54 +0000 (11:15 +0000)]
[WIN32K] Fix probing and parameter validation in NtGdiPolyPolyDraw
svn path=/trunk/; revision=75608
Giannis Adamopoulos [Fri, 18 Aug 2017 09:11:59 +0000 (09:11 +0000)]
[SHELL32] Shell extension support for files.
- CFSFolder: Implement binding to files, implement loading arbitrary extensions for GetUIObjectOf from the registry, implement loading IconHandler shell extensions. Use the new helper routines to simplify getting the drop target.
- Improve the shortcut icons hack.
svn path=/trunk/; revision=75607
Timo Kreuzer [Fri, 18 Aug 2017 08:44:08 +0000 (08:44 +0000)]
[NDK] Fix prototype of Nt/ZwQuerySystemInformation
svn path=/trunk/; revision=75606
Timo Kreuzer [Fri, 18 Aug 2017 08:42:43 +0000 (08:42 +0000)]
[NTOSKRNL] Fix memory area macros
svn path=/trunk/; revision=75605
Giannis Adamopoulos [Fri, 18 Aug 2017 08:38:52 +0000 (08:38 +0000)]
[STOBJECT] Fix bug that caused some resource strings not to be loaded.
- These strings need to either be in every language file or have their own resource range but since we are using the same resource ids with windows I will just duplicate them.
svn path=/trunk/; revision=75604
Benedikt Freisen [Fri, 18 Aug 2017 08:09:04 +0000 (08:09 +0000)]
[PSDK][GDIPLUS] Further work on Graphics
svn path=/trunk/; revision=75603
Timo Kreuzer [Fri, 18 Aug 2017 07:13:34 +0000 (07:13 +0000)]
[NTOSKRNL] Remove duplicate fields from MEMORY_AREA
svn path=/trunk/; revision=75602
Giannis Adamopoulos [Thu, 17 Aug 2017 22:45:51 +0000 (22:45 +0000)]
[WIN32K] -Fix a bug with TransparentBlt when it should really ignore the alpha channel. CORE-13040. Approved by Timo.
svn path=/trunk/; revision=75601
Giannis Adamopoulos [Thu, 17 Aug 2017 21:31:52 +0000 (21:31 +0000)]
[UXTHEME] -Remove some dead code
svn path=/trunk/; revision=75600
Thomas Faber [Thu, 17 Aug 2017 19:55:13 +0000 (19:55 +0000)]
[USBHUB_NEW]
- Fix interval calculation in USBH_Wait. Patch by Vadim Galyant.
svn path=/trunk/; revision=75599
Thomas Faber [Thu, 17 Aug 2017 19:25:32 +0000 (19:25 +0000)]
[CMIDriver]
- Set svn:eol-style to CRLF for inf files. Files that end up on the iso should never have 'native' line endings.
svn path=/trunk/; revision=75598
Giannis Adamopoulos [Thu, 17 Aug 2017 16:46:15 +0000 (16:46 +0000)]
[SHELL32] -Simplify some coe in CShellLink.cpp
svn path=/trunk/; revision=75597
Mark Jansen [Thu, 17 Aug 2017 16:42:29 +0000 (16:42 +0000)]
[SHIMENG] Enable the Application Compatibility framework by default.
- Also add disabled keys to configure the logging
- Demote a noisy print used in the shim engine.
At this point the shim engine should be functional enough to be used.
One thing that remains is creating more shims(fixes) to use, and implement more features for the already existing ones.
CORE-13284
svn path=/trunk/; revision=75596
Giannis Adamopoulos [Thu, 17 Aug 2017 16:35:16 +0000 (16:35 +0000)]
[SHELL32] -AddFSClassKeysToArray: Increase the size of the buffer for the value read from the registry. There are cases when 40 are not enough.
svn path=/trunk/; revision=75595
Mark Jansen [Thu, 17 Aug 2017 16:27:56 +0000 (16:27 +0000)]
[ACLAYERS] Add a compatibility shim + layer for the VMWare Horizon setup.
This fixes the setup trying to print some debug strings.
For now the shim has to be applied manually, however the setup does not complete yet.
Patch bits & fixes by Thomas.
CORE-13434
svn path=/trunk/; revision=75594
Giannis Adamopoulos [Thu, 17 Aug 2017 16:01:29 +0000 (16:01 +0000)]
[COM_APITEST] -Add tests for CLSID_AttachmentServices.
svn path=/trunk/; revision=75593
Giannis Adamopoulos [Thu, 17 Aug 2017 14:37:24 +0000 (14:37 +0000)]
[ADVAPI32] -RegOpenKeyExW: Call NtOpenKey again with aligned parameters if STATUS_DATATYPE_MISALIGNMENT was returned the first time. CORE-13689
svn path=/trunk/; revision=75592
Colin Finck [Thu, 17 Aug 2017 12:21:27 +0000 (12:21 +0000)]
[CDFS]
- Add a basic CDFS filesystem library "cdfslib" for checking and formatting a CDFS volume. Checking is unimplemented and formatting not supported anyway :)
- Use this library in the new "ucdfs" DLL and that DLL in "autochk". Fixes the "Unable to verify a CDFS volume" message at boot.
- Return the right device type (FILE_DEVICE_CD_ROM or FILE_DEVICE_DISK) in when querying volume information in cdfs.sys to get the proper icon in Explorer.
svn path=/trunk/; revision=75591
Colin Finck [Thu, 17 Aug 2017 12:18:28 +0000 (12:18 +0000)]
[FORMATTING]
Convert all tabs to spaces in ntdddisk.h
svn path=/trunk/; revision=75590
Eric Kohl [Thu, 17 Aug 2017 12:11:10 +0000 (12:11 +0000)]
[ADVAPI32]
RegQueryInfoKey: Initializing *lpcbSecurityDescriptor before calling NtQueryKey fixes the remaining api tests.
svn path=/trunk/; revision=75589
Mark Jansen [Thu, 17 Aug 2017 11:42:13 +0000 (11:42 +0000)]
[NTDLL_APITEST] Test unaligned pointers for NtOpenKey
CORE-13689
svn path=/trunk/; revision=75588
Mark Jansen [Thu, 17 Aug 2017 11:06:46 +0000 (11:06 +0000)]
[ADVAPI32_APITEST] Addendum to 75585, use void pointers to work around gcc ignoring pshpack1.
svn path=/trunk/; revision=75587