Commit graph

69455 commits

Author SHA1 Message Date
Mark Jansen a5b5ed5bd3 [ACPPAGE] Do not allow shims to be applied to files in System32/WinSxs.
CORE-13618

svn path=/trunk/; revision=75552
2017-08-15 12:37:25 +00:00
Thomas Faber 0435bc7005 [DDK]
- Fix calling convention for NDIS_PROC. Fixes stack corruption when running 3rd party network drivers
CORE-13685 #resolve

svn path=/trunk/; revision=75551
2017-08-15 12:32:05 +00:00
Giannis Adamopoulos 2af89ef8f0 [SHELL32] -Greatly optimize the already hacky implementations of ILIsEqual, ILIsParent and ILFindChild by not using the crappy _ILSimpleGetText but the new one _ILHACKCompareSimpleIds. CORE-13681
svn path=/trunk/; revision=75550
2017-08-15 12:13:19 +00:00
Mark Jansen c06d8a94c9 [ATL] Use the AtlThrow helper so we can disable exceptions by defining _ATL_NO_EXCEPTIONS
svn path=/trunk/; revision=75549
2017-08-15 09:02:17 +00:00
Eric Kohl 4730de1195 [EXPLORER]
Improve the taskbar property sheet.
- Improve the preview images (pixel perfect).
- Improve the Japanese translation.
Patch by Katayama Hirofumi MZ.
CORE-13574

svn path=/trunk/; revision=75548
2017-08-14 20:43:14 +00:00
Eric Kohl 3cb9b85a65 [VARIOUS]
Mass update for Romanian resource files.
Patch by Ștefan Fulea.
CORE-13599

svn path=/trunk/; revision=75547
2017-08-14 20:14:19 +00:00
Mark Jansen f70b9ef65f [SHIMENG] Filter shims based on the include/exclude node specified, as well as their presence in certain directories.
- Shims are not allowed on files from System32 / WinSxs.
- Individual shims can override this per module with includes/excludes.
- Shims can specify additional dlls to ignore or include.
- Specify a default list of dlls to be included from system32.
CORE-13618

svn path=/trunk/; revision=75541
2017-08-14 16:34:56 +00:00
Thomas Faber 84de59dab1 [USETUP]
- Include some actually useful information when printing errors

svn path=/trunk/; revision=75536
2017-08-14 16:01:46 +00:00
Giannis Adamopoulos 976a20a098 [COMCTL32] -DrawShadowText: Don't print an error when GdiAlphaBlend fails. This can happen when the painting is outside the clip region. Some themes tend to move text elements in weird places so as just to hide them so this only causes spam.
svn path=/trunk/; revision=75535
2017-08-14 15:51:12 +00:00
Eric Kohl 959a179f58 missing german translation and sort treeview alphabetically
Patches by: reactosfanboy and Katayama Hierofumi MZ
CORE-13674 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=75534
2017-08-14 15:40:15 +00:00
Giannis Adamopoulos 551d8fa312 [SHELL32]
- CDefaultContextMenu: Make it respect the IContextMenu interface and expect menu id offsets instead of real menu ids and actually use the idCmdFirst and idCmdLast parameters in QueryContextMenu. Make the default part use and existed menu from the resources but changed accordingly so the ids of its elements can be adjusted to the next free id of the constructed menu. Rename InsertMenuItemsOfDynamicContextMenuExtension to AddShellExtensionsToMenu, DoDynamicShellExtensions to InvokeShellExt, and DoStaticShellExtensions to InvokeRegVerb. Make AddShellExtensionsToMenu and AddStaticContextMenusToMenu behave like QueryContextMenu to return the number of ids they occupy. Add two helpers SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the id that is contained in the lparam of WM_DRAWITEM and WM_MEASUREITEM before forwarding them.
- CDefView: When calling QueryContextMenu before using TrackPopupMenu, use 1 as the first id that will filled by the IContextMenu because we want 0 to be used as an indicator that the menu was canceled. Use SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the lparam of the messages forwarded to the IContextMenu accordingly.
- CDefViewBckgrndMenu: Add a hack so as to keep the code as simple as possible while respecting idCmdFirst and idCmdLast.
- CNewMenu: Remove a hack that was needed because WM_DRAWITEM didn't come with the menu id offset but with the real menu id.
- CDesktopFolder, CFSFolder: Make the callbacks avoid adding an extra separators.
After that shell extensions in menus should work better and callbacks to shell folders should really be able to add several menu items. 

svn path=/trunk/; revision=75533
2017-08-14 15:25:58 +00:00
Hervé Poussineau 9748e8bde3 [USETUP] Remove one special case for keyboard devices
Keyboard devices must have an upperfilter (kdbclass) to work correctly. Detect these
devices using the Keyboard GUID class instead of using the inf section name.

svn path=/trunk/; revision=75532
2017-08-13 13:11:43 +00:00
Pierre Schweitzer 9e84082a45 [MOVEFILE]
Open source the movefile utily that allows queueing deletion/renaming operations for the next reboot

svn path=/trunk/; revision=75531
2017-08-13 10:15:55 +00:00
Pierre Schweitzer 88fd33f6a2 [ROSINTERNALS]
Addendum to r75529

svn path=/trunk/; revision=75530
2017-08-12 20:43:53 +00:00
Pierre Schweitzer a4774e85c1 [ROSINTERNALS]
Move the sysinternals tools to their own directory: rosinternals. To be completed :-)

svn path=/trunk/; revision=75529
2017-08-12 20:39:12 +00:00
Pierre Schweitzer 128ea676bf [PENDMOVES]
Open source the PendMoves utility from Sysinternals that allow easy display of renaming/deleting operations queued for next reboot.
See: https://docs.microsoft.com/en-us/sysinternals/downloads/pendmoves

svn path=/trunk/; revision=75528
2017-08-12 18:17:12 +00:00
Hermès Bélusca-Maïto e7fb5e7c33 [EVTLIB]: Allow specifying a memory allocation tag when freeing the allocated buffers (functionality similar to the Ex**WithTag kernel functions).
[EVENTLOG]: Use the previous functionality; use also the internal LogfpAlloc() / LogfpFree() functions when dealing with buffers related to event log files.

svn path=/trunk/; revision=75527
2017-08-11 12:37:15 +00:00
Mark Jansen bfac984256 [RAPPS] Delete uTorrent until CORE-13666 is cleared up.
svn path=/trunk/; revision=75521
2017-08-10 17:09:58 +00:00
Giannis Adamopoulos 7e43b947a1 [UXTHEME] -Implement taking into account the flags set by SetThemeAppProperties. Now the shim that disables themes per application works.
svn path=/trunk/; revision=75514
2017-08-09 08:14:50 +00:00
Giannis Adamopoulos 61427a2eaf [UXTHEME_APITEST] -Add tests for SetThemeAppProperties.
svn path=/trunk/; revision=75513
2017-08-09 07:14:44 +00:00
Giannis Adamopoulos effafa925c [USER32] -Make it clear when VersionRegisterClass is used. This should be called after a versioned class was not found hence it should appear after some failures in win32k (and this is exactly how RegisterClassNameW was designed to be used, after a failure to find a class).
svn path=/trunk/; revision=75511
2017-08-08 21:09:51 +00:00
Mark Jansen 92d7c962fa [UNATTEND] Show how to enable the lautus theme in unattended mode.
svn path=/trunk/; revision=75510
2017-08-08 19:43:49 +00:00
Giannis Adamopoulos f33a6d3c88 [COMCTL32] -Fix a typo.
svn path=/trunk/; revision=75502
2017-08-07 11:08:26 +00:00
Hermès Bélusca-Maïto 5bef76033f [SYSSETUP]: Fix a typo.
svn path=/trunk/; revision=75501
2017-08-07 11:03:02 +00:00
Giannis Adamopoulos 7a138bc11f [SHELL32] -Restore some code I incorrectly removed in r75360. CORE-13564
svn path=/trunk/; revision=75500
2017-08-07 10:09:30 +00:00
Robert Naumann 28cce7cb83 [ACPPAGE][SYSSETUP] Update German translation
svn path=/trunk/; revision=75499
2017-08-06 20:38:49 +00:00
Robert Naumann a27bfb60bd [CPL] Improve some German string translationd. This better matches the position of the applets in the control panel and avoids truncation of the icon captions. Patch by Joachim Henze. CORE-12099 #resolve #comment Committed all but "Ordneroptionen -> Ordner" in r75498
svn path=/trunk/; revision=75498
2017-08-06 20:23:00 +00:00
Pierre Schweitzer cec633535f [SYSSETUP]
Translate r75495 in French.
Thanks Giannis! :-)

svn path=/trunk/; revision=75496
2017-08-06 12:15:19 +00:00
Giannis Adamopoulos fc1f0c2088 [SYSSETUP] -Implement a wizard page that lets the user select lautus as the default theme. If the user keeps pressing enter, the theme will not be applied.
svn path=/trunk/; revision=75495
2017-08-06 09:18:19 +00:00
Giannis Adamopoulos 02cc8362fa [COMCTL32] -Implement BUTTON_IMAGELIST_ALIGN_RIGHT, BUTTON_IMAGELIST_ALIGN_TOP, BUTTON_IMAGELIST_ALIGN_BOTTOM
svn path=/trunk/; revision=75494
2017-08-06 09:05:58 +00:00
Mark Jansen f13b9a9480 [FONTSUB] Russian translation by Sergey Stopkin.
ROSAPPS-339 #resolve #comment Thanks!

svn path=/trunk/; revision=75492
2017-08-05 20:08:00 +00:00
Mark Jansen d10c0ec112 [WIN32SS] Improve GetFontResourceInfoW. Patch by Katayama Hirofumi MZ & Doug Lyons.
CORE-13365 #resolve #comment Thanks!

svn path=/trunk/; revision=75491
2017-08-05 20:04:24 +00:00
Daniel Reimer d057073a7c [RAPPS]
Update RAPPS d/l urls to fix broken links.
Update version changes on unchanged direct links.

svn path=/trunk/; revision=75490
2017-08-05 16:52:57 +00:00
Mark Jansen 7746fd43d1 [APPHELP][XML2SDB] Code cleanup + add assertions
- Always used pdb or hsdb, no more 'db'
- Add property to an PDB that describes if it's opened for read/write, and assert on this
- Add comments

svn path=/trunk/; revision=75489
2017-08-05 12:05:06 +00:00
Giannis Adamopoulos 793519c8bc [COMCTL32] -BUTTON_PaintWithTheme: Draw checked pushlike buttons as pressed.
svn path=/trunk/; revision=75488
2017-08-05 10:23:07 +00:00
Pierre Schweitzer 98d7d08cbf [RDBSS]
- Implement RxSetRenameInfo()
- Implement the SL_OPEN_TARGET_DIRECTORY case in RxCreateFromNetRoot()
This implements renaming in RDBSS, and thus in NFS.
So far, renaming fails due to different NET_ROOT, I need to check why. So far, files are properly copied on rename failure.

CORE-8204
CORE-11327
CORE-13632

svn path=/trunk/; revision=75487
2017-08-05 08:12:23 +00:00
Sylvain Petreolle a315eeefe1 Revert r75485, MSVC needs wininet to do the UrlCrackW forward.
svn path=/trunk/; revision=75486
2017-08-04 23:39:15 +00:00
Sylvain Petreolle 41c7842302 Remove a theoretical circular dependancy between wininet and shlwapi.
shlwapi actually doesn't use wininet.

svn path=/trunk/; revision=75485
2017-08-04 23:06:54 +00:00
Pierre Schweitzer ff54a48737 [NFS]
And make NP a bit more discrete when not really used...

svn path=/trunk/; revision=75484
2017-08-04 19:46:32 +00:00
Pierre Schweitzer b7661c5a63 [NFS]
Make hack introduced in r75415 more verbose.

CORE-8204
CORE-11327

svn path=/trunk/; revision=75483
2017-08-04 19:43:42 +00:00
Pierre Schweitzer 29a235cb9b [RDBSS]
Implement RxSetDispositionInfo(): this allows deleting files on a remote NFS share!

CORE-8204
CORE-11327
CORE-13636

svn path=/trunk/; revision=75482
2017-08-04 19:23:42 +00:00
Pierre Schweitzer 6afca05215 [RDBSS]
On cleanup, only take the quick path if the file was already orphaned

CORE-11327

svn path=/trunk/; revision=75481
2017-08-04 19:18:42 +00:00
Pierre Schweitzer e010523b86 [RXCE]
In RxRemoveNameNetFcb(), check if name was already removed. MS doesn't do this, but as we use double linked-list macros
that perform extra sanity checks, this is required. This can be called twice for a single FCB.

CORE-11327
CORE-13632
CORE-13636

svn path=/trunk/; revision=75480
2017-08-04 19:05:11 +00:00
Pierre Schweitzer ebe9e0bce0 [KERNEL32]
Don't leak a handle when renaming a source file which is a MS mount point or a file without the reparse attribute while we can query its reparse information.

CORE-13635

svn path=/trunk/; revision=75478
2017-08-04 12:18:52 +00:00
Giannis Adamopoulos 2dd61864ba [hivecls.inf] -Add an option to immediately enable an msstyles file with right click.
svn path=/trunk/; revision=75477
2017-08-04 09:12:33 +00:00
Giannis Adamopoulos e5733424ba [DESK.CPL]
-Improve the hack that lets it process arguments by using the process command line instead of the one shell32 gives to the cpl.
-Implement a new action called ActivateMSTheme that activates an msstyle file without showing any gui. If no file is passed, the classic theme is activated thus making it possible to switch themes from command line (or any other application may need to switch themes by launching desk.cpl).

svn path=/trunk/; revision=75476
2017-08-04 08:53:06 +00:00
Mark Jansen 7b06ed4395 [RAPPS] Remove Burnaware free. CORE-12194 #resolve
svn path=/trunk/; revision=75475
2017-08-03 20:52:01 +00:00
Pierre Schweitzer eae32333ca [RDBSS]
Don't attempt to dereference NULL-ptr if CCB isn't set.
Fixes crash in RxFsdCommonDispatch() under rare circumstances.

CORE-11327

svn path=/trunk/; revision=75474
2017-08-03 20:47:41 +00:00
Pierre Schweitzer 62806dc561 [RXCE]
In spite of what its name may look like: SyncEvent is a notification event, not a sync event.
Use the correct event for synchronization. This avoids infinite wait in certain circumstances in RxScavengeFobxsForNetRoot()

CORE-11327

svn path=/trunk/; revision=75473
2017-08-03 20:23:39 +00:00
Hermès Bélusca-Maïto d767b361d2 [FREELDR][INFLIB]: It is perfectly correct to retrieve the field of index == 0 of an INF line, by using the InfGetStringField() helper (corresponding to the SetupGetStringField() API).
svn path=/trunk/; revision=75472
2017-08-03 14:56:07 +00:00