reactos.git
6 years ago[CDFS]
Colin Finck [Wed, 16 Aug 2017 20:04:55 +0000 (20:04 +0000)]
[CDFS]
Register CDFS as a disk filesystem too in order to flash our ISOs directly to USB drives and boot from them. Also fix some DPRINTs in the course of that.

One step closer towards CORE-13184: This gets qemu -hda bootcd.iso to work.
What still doesn't work is qemu -hda livecd.iso and booting from a flashed USB drive on real hardware.
Further changes are also required in fs_rec, but this code isn't ready yet and doesn't seem to be the current blocker either.

Credits go to the entire Hackfest Team for helping on this!!

svn path=/trunk/; revision=75579

6 years ago[PSDK][GDIPLUS] Further Pen work
Benedikt Freisen [Wed, 16 Aug 2017 18:13:22 +0000 (18:13 +0000)]
[PSDK][GDIPLUS] Further Pen work

svn path=/trunk/; revision=75578

6 years ago[PSDK] Add Win10 NTDDI version defines, improve version check
Timo Kreuzer [Wed, 16 Aug 2017 17:10:06 +0000 (17:10 +0000)]
[PSDK] Add Win10 NTDDI version defines, improve version check

svn path=/trunk/; revision=75577

6 years ago[PSDK][GDIPLUS] Partly implement Pen
Benedikt Freisen [Wed, 16 Aug 2017 16:19:17 +0000 (16:19 +0000)]
[PSDK][GDIPLUS] Partly implement Pen

svn path=/trunk/; revision=75576

6 years ago[FLTMC][NFSD] Fix version definition
Timo Kreuzer [Wed, 16 Aug 2017 16:06:41 +0000 (16:06 +0000)]
[FLTMC][NFSD] Fix version definition

svn path=/trunk/; revision=75575

6 years ago[KERNEL32] Support PAGE_EXECUTE_WRITECOPY in CreateFileMappingW if OsMajorVersion...
Timo Kreuzer [Wed, 16 Aug 2017 16:06:36 +0000 (16:06 +0000)]
[KERNEL32] Support PAGE_EXECUTE_WRITECOPY in CreateFileMappingW if OsMajorVersion is 6+.

svn path=/trunk/; revision=75574

6 years ago[DELAYIMP] Use underscore symbol prefix only on x86
Timo Kreuzer [Wed, 16 Aug 2017 16:06:31 +0000 (16:06 +0000)]
[DELAYIMP] Use underscore symbol prefix only on x86

svn path=/trunk/; revision=75573

6 years ago[PSDK] Add SymSrvIsStoreW prototype to dbghelp.h
Timo Kreuzer [Wed, 16 Aug 2017 16:06:27 +0000 (16:06 +0000)]
[PSDK] Add SymSrvIsStoreW prototype to dbghelp.h

svn path=/trunk/; revision=75572

6 years ago[INTRIN.H] Add _mul128 and _umul128 prototypes and remove some obsolete ones from...
Timo Kreuzer [Wed, 16 Aug 2017 16:06:22 +0000 (16:06 +0000)]
[INTRIN.H] Add _mul128 and _umul128 prototypes and remove some obsolete ones from the MSC version.

svn path=/trunk/; revision=75571

6 years ago[FAT32] Remove duplicated print
Timo Kreuzer [Wed, 16 Aug 2017 16:06:18 +0000 (16:06 +0000)]
[FAT32] Remove duplicated print

svn path=/trunk/; revision=75570

6 years ago[SHELLDESKTOP] Add missing dependency to psdk
Timo Kreuzer [Wed, 16 Aug 2017 16:06:14 +0000 (16:06 +0000)]
[SHELLDESKTOP] Add missing dependency to psdk

svn path=/trunk/; revision=75569

6 years ago[SETUPAPI]
Eric Kohl [Wed, 16 Aug 2017 14:18:42 +0000 (14:18 +0000)]
[SETUPAPI]
Add stubs for the remaining range list functions.

svn path=/trunk/; revision=75568

6 years ago[WIN32K] Remove old comments
Timo Kreuzer [Wed, 16 Aug 2017 14:18:08 +0000 (14:18 +0000)]
[WIN32K] Remove old comments

svn path=/trunk/; revision=75567

6 years ago[WIN32K]
Timo Kreuzer [Wed, 16 Aug 2017 13:37:15 +0000 (13:37 +0000)]
[WIN32K]
- Refactor GreExtTextOutW to use a single exit path instead of 3
- Call MouseSafetyOnDraw* only for direct DCs

svn path=/trunk/; revision=75566

6 years ago[SETUPAPI]
Eric Kohl [Wed, 16 Aug 2017 11:45:21 +0000 (11:45 +0000)]
[SETUPAPI]
- Implement CMP_GetBlockedDriverInfo.
- Make sure that CMP_GetServerSideDeviceInstallFlags and CMP_WaitServicesAvailable can be called on local and remote machines.

svn path=/trunk/; revision=75565

6 years ago[FREELDR]
Colin Finck [Wed, 16 Aug 2017 10:44:15 +0000 (10:44 +0000)]
[FREELDR]
Lower MAX_DISKREADBUFFER_SIZE to let INT 13h, AH=42h only read a maximum of 127 sectors (instead of 128 previously).
This fixes USB booting into the kernel on at least Dell Latitude D531 and Lenovo ThinkPad X61.

Now CORE-13184 remains (in a VM and on real hardware, probably related to the CDFS driver)

svn path=/trunk/; revision=75564

6 years ago[PSDK][GDIPLUS] Forward NULL parameters to wrapped functions instead of blindly deref...
Benedikt Freisen [Wed, 16 Aug 2017 09:57:56 +0000 (09:57 +0000)]
[PSDK][GDIPLUS] Forward NULL parameters to wrapped functions instead of blindly dereferencing them when trying to pass a pointee's pointer member to the wrapped function

svn path=/trunk/; revision=75563

6 years ago[SETUPAPI]
Eric Kohl [Wed, 16 Aug 2017 09:44:20 +0000 (09:44 +0000)]
[SETUPAPI]
Implement CM_Create_Range_List and CM_Free_Range_List. Still WIP.

svn path=/trunk/; revision=75562

6 years ago[SHLWAPI] -Addendum to 75533. Pass the id offset to IContextMenu::InvokeCommand....
Giannis Adamopoulos [Tue, 15 Aug 2017 23:02:45 +0000 (23:02 +0000)]
[SHLWAPI] -Addendum to 75533. Pass the id offset to IContextMenu::InvokeCommand. Fixes launching applications from the start menu. CORE-13680

svn path=/trunk/; revision=75561

6 years ago[WIN32K] IntEngBitBlt returns BOOL, not NTSTATUS!
Timo Kreuzer [Tue, 15 Aug 2017 18:13:14 +0000 (18:13 +0000)]
[WIN32K] IntEngBitBlt returns BOOL, not NTSTATUS!
Fix usage in NtGdiSetDIBitsToDeviceInternal accordingly and get rid of NTSTATUS variable entirely.

svn path=/trunk/; revision=75553

6 years ago[ACPPAGE] Do not allow shims to be applied to files in System32/WinSxs.
Mark Jansen [Tue, 15 Aug 2017 12:37:25 +0000 (12:37 +0000)]
[ACPPAGE] Do not allow shims to be applied to files in System32/WinSxs.
CORE-13618

svn path=/trunk/; revision=75552

6 years ago[DDK]
Thomas Faber [Tue, 15 Aug 2017 12:32:05 +0000 (12:32 +0000)]
[DDK]
- Fix calling convention for NDIS_PROC. Fixes stack corruption when running 3rd party network drivers
CORE-13685 #resolve

svn path=/trunk/; revision=75551

6 years ago[SHELL32] -Greatly optimize the already hacky implementations of ILIsEqual, ILIsParen...
Giannis Adamopoulos [Tue, 15 Aug 2017 12:13:19 +0000 (12:13 +0000)]
[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

6 years ago[ATL] Use the AtlThrow helper so we can disable exceptions by defining _ATL_NO_EXCEPTIONS
Mark Jansen [Tue, 15 Aug 2017 09:02:17 +0000 (09:02 +0000)]
[ATL] Use the AtlThrow helper so we can disable exceptions by defining _ATL_NO_EXCEPTIONS

svn path=/trunk/; revision=75549

6 years ago[EXPLORER]
Eric Kohl [Mon, 14 Aug 2017 20:43:14 +0000 (20:43 +0000)]
[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

6 years ago[VARIOUS]
Eric Kohl [Mon, 14 Aug 2017 20:14:19 +0000 (20:14 +0000)]
[VARIOUS]
Mass update for Romanian resource files.
Patch by Ștefan Fulea.
CORE-13599

svn path=/trunk/; revision=75547

6 years ago[SHIMENG] Filter shims based on the include/exclude node specified, as well as their...
Mark Jansen [Mon, 14 Aug 2017 16:34:56 +0000 (16:34 +0000)]
[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

6 years ago[USETUP]
Thomas Faber [Mon, 14 Aug 2017 16:01:46 +0000 (16:01 +0000)]
[USETUP]
- Include some actually useful information when printing errors

svn path=/trunk/; revision=75536

6 years ago[COMCTL32] -DrawShadowText: Don't print an error when GdiAlphaBlend fails. This can...
Giannis Adamopoulos [Mon, 14 Aug 2017 15:51:12 +0000 (15:51 +0000)]
[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

6 years agomissing german translation and sort treeview alphabetically
Eric Kohl [Mon, 14 Aug 2017 15:40:15 +0000 (15:40 +0000)]
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

6 years ago[SHELL32]
Giannis Adamopoulos [Mon, 14 Aug 2017 15:25:58 +0000 (15:25 +0000)]
[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

6 years ago[USETUP] Remove one special case for keyboard devices
Hervé Poussineau [Sun, 13 Aug 2017 13:11:43 +0000 (13:11 +0000)]
[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

6 years ago[MOVEFILE]
Pierre Schweitzer [Sun, 13 Aug 2017 10:15:55 +0000 (10:15 +0000)]
[MOVEFILE]
Open source the movefile utily that allows queueing deletion/renaming operations for the next reboot

svn path=/trunk/; revision=75531

6 years ago[ROSINTERNALS]
Pierre Schweitzer [Sat, 12 Aug 2017 20:43:53 +0000 (20:43 +0000)]
[ROSINTERNALS]
Addendum to r75529

svn path=/trunk/; revision=75530

6 years ago[ROSINTERNALS]
Pierre Schweitzer [Sat, 12 Aug 2017 20:39:12 +0000 (20:39 +0000)]
[ROSINTERNALS]
Move the sysinternals tools to their own directory: rosinternals. To be completed :-)

svn path=/trunk/; revision=75529

6 years ago[PENDMOVES]
Pierre Schweitzer [Sat, 12 Aug 2017 18:17:12 +0000 (18:17 +0000)]
[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

6 years ago[EVTLIB]: Allow specifying a memory allocation tag when freeing the allocated buffers...
Hermès Bélusca-Maïto [Fri, 11 Aug 2017 12:37:15 +0000 (12:37 +0000)]
[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

6 years ago[RAPPS] Delete uTorrent until CORE-13666 is cleared up.
Mark Jansen [Thu, 10 Aug 2017 17:09:58 +0000 (17:09 +0000)]
[RAPPS] Delete uTorrent until CORE-13666 is cleared up.

svn path=/trunk/; revision=75521

6 years ago[UXTHEME] -Implement taking into account the flags set by SetThemeAppProperties....
Giannis Adamopoulos [Wed, 9 Aug 2017 08:14:50 +0000 (08:14 +0000)]
[UXTHEME] -Implement taking into account the flags set by SetThemeAppProperties. Now the shim that disables themes per application works.

svn path=/trunk/; revision=75514

6 years ago[UXTHEME_APITEST] -Add tests for SetThemeAppProperties.
Giannis Adamopoulos [Wed, 9 Aug 2017 07:14:44 +0000 (07:14 +0000)]
[UXTHEME_APITEST] -Add tests for SetThemeAppProperties.

svn path=/trunk/; revision=75513

6 years ago[USER32] -Make it clear when VersionRegisterClass is used. This should be called...
Giannis Adamopoulos [Tue, 8 Aug 2017 21:09:51 +0000 (21:09 +0000)]
[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

6 years ago[UNATTEND] Show how to enable the lautus theme in unattended mode.
Mark Jansen [Tue, 8 Aug 2017 19:43:49 +0000 (19:43 +0000)]
[UNATTEND] Show how to enable the lautus theme in unattended mode.

svn path=/trunk/; revision=75510

6 years ago[COMCTL32] -Fix a typo.
Giannis Adamopoulos [Mon, 7 Aug 2017 11:08:26 +0000 (11:08 +0000)]
[COMCTL32] -Fix a typo.

svn path=/trunk/; revision=75502

6 years ago[SYSSETUP]: Fix a typo.
Hermès Bélusca-Maïto [Mon, 7 Aug 2017 11:03:02 +0000 (11:03 +0000)]
[SYSSETUP]: Fix a typo.

svn path=/trunk/; revision=75501

6 years ago[SHELL32] -Restore some code I incorrectly removed in r75360. CORE-13564
Giannis Adamopoulos [Mon, 7 Aug 2017 10:09:30 +0000 (10:09 +0000)]
[SHELL32] -Restore some code I incorrectly removed in r75360. CORE-13564

svn path=/trunk/; revision=75500

6 years ago[ACPPAGE][SYSSETUP] Update German translation
Robert Naumann [Sun, 6 Aug 2017 20:38:49 +0000 (20:38 +0000)]
[ACPPAGE][SYSSETUP] Update German translation

svn path=/trunk/; revision=75499

6 years ago[CPL] Improve some German string translationd. This better matches the position of...
Robert Naumann [Sun, 6 Aug 2017 20:23:00 +0000 (20:23 +0000)]
[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

6 years ago[SYSSETUP]
Pierre Schweitzer [Sun, 6 Aug 2017 12:15:19 +0000 (12:15 +0000)]
[SYSSETUP]
Translate r75495 in French.
Thanks Giannis! :-)

svn path=/trunk/; revision=75496

6 years ago[SYSSETUP] -Implement a wizard page that lets the user select lautus as the default...
Giannis Adamopoulos [Sun, 6 Aug 2017 09:18:19 +0000 (09:18 +0000)]
[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

6 years ago[COMCTL32] -Implement BUTTON_IMAGELIST_ALIGN_RIGHT, BUTTON_IMAGELIST_ALIGN_TOP, BUTTO...
Giannis Adamopoulos [Sun, 6 Aug 2017 09:05:58 +0000 (09:05 +0000)]
[COMCTL32] -Implement BUTTON_IMAGELIST_ALIGN_RIGHT, BUTTON_IMAGELIST_ALIGN_TOP, BUTTON_IMAGELIST_ALIGN_BOTTOM

svn path=/trunk/; revision=75494

6 years ago[FONTSUB] Russian translation by Sergey Stopkin.
Mark Jansen [Sat, 5 Aug 2017 20:08:00 +0000 (20:08 +0000)]
[FONTSUB] Russian translation by Sergey Stopkin.
ROSAPPS-339 #resolve #comment Thanks!

svn path=/trunk/; revision=75492

6 years ago[WIN32SS] Improve GetFontResourceInfoW. Patch by Katayama Hirofumi MZ & Doug Lyons.
Mark Jansen [Sat, 5 Aug 2017 20:04:24 +0000 (20:04 +0000)]
[WIN32SS] Improve GetFontResourceInfoW. Patch by Katayama Hirofumi MZ & Doug Lyons.
CORE-13365 #resolve #comment Thanks!

svn path=/trunk/; revision=75491

6 years ago[RAPPS]
Daniel Reimer [Sat, 5 Aug 2017 16:52:57 +0000 (16:52 +0000)]
[RAPPS]
Update RAPPS d/l urls to fix broken links.
Update version changes on unchanged direct links.

svn path=/trunk/; revision=75490

6 years ago[APPHELP][XML2SDB] Code cleanup + add assertions
Mark Jansen [Sat, 5 Aug 2017 12:05:06 +0000 (12:05 +0000)]
[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

6 years ago[COMCTL32] -BUTTON_PaintWithTheme: Draw checked pushlike buttons as pressed.
Giannis Adamopoulos [Sat, 5 Aug 2017 10:23:07 +0000 (10:23 +0000)]
[COMCTL32] -BUTTON_PaintWithTheme: Draw checked pushlike buttons as pressed.

svn path=/trunk/; revision=75488

6 years ago[RDBSS]
Pierre Schweitzer [Sat, 5 Aug 2017 08:12:23 +0000 (08:12 +0000)]
[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

6 years agoRevert r75485, MSVC needs wininet to do the UrlCrackW forward.
Sylvain Petreolle [Fri, 4 Aug 2017 23:39:15 +0000 (23:39 +0000)]
Revert r75485, MSVC needs wininet to do the UrlCrackW forward.

svn path=/trunk/; revision=75486

6 years agoRemove a theoretical circular dependancy between wininet and shlwapi.
Sylvain Petreolle [Fri, 4 Aug 2017 23:06:54 +0000 (23:06 +0000)]
Remove a theoretical circular dependancy between wininet and shlwapi.
shlwapi actually doesn't use wininet.

svn path=/trunk/; revision=75485

6 years ago[NFS]
Pierre Schweitzer [Fri, 4 Aug 2017 19:46:32 +0000 (19:46 +0000)]
[NFS]
And make NP a bit more discrete when not really used...

svn path=/trunk/; revision=75484

6 years ago[NFS]
Pierre Schweitzer [Fri, 4 Aug 2017 19:43:42 +0000 (19:43 +0000)]
[NFS]
Make hack introduced in r75415 more verbose.

CORE-8204
CORE-11327

svn path=/trunk/; revision=75483

6 years ago[RDBSS]
Pierre Schweitzer [Fri, 4 Aug 2017 19:23:42 +0000 (19:23 +0000)]
[RDBSS]
Implement RxSetDispositionInfo(): this allows deleting files on a remote NFS share!

CORE-8204
CORE-11327
CORE-13636

svn path=/trunk/; revision=75482

6 years ago[RDBSS]
Pierre Schweitzer [Fri, 4 Aug 2017 19:18:42 +0000 (19:18 +0000)]
[RDBSS]
On cleanup, only take the quick path if the file was already orphaned

CORE-11327

svn path=/trunk/; revision=75481

6 years ago[RXCE]
Pierre Schweitzer [Fri, 4 Aug 2017 19:05:11 +0000 (19:05 +0000)]
[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

6 years ago[KERNEL32]
Pierre Schweitzer [Fri, 4 Aug 2017 12:18:52 +0000 (12:18 +0000)]
[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

6 years ago[hivecls.inf] -Add an option to immediately enable an msstyles file with right click.
Giannis Adamopoulos [Fri, 4 Aug 2017 09:12:33 +0000 (09:12 +0000)]
[hivecls.inf] -Add an option to immediately enable an msstyles file with right click.

svn path=/trunk/; revision=75477

6 years ago[DESK.CPL]
Giannis Adamopoulos [Fri, 4 Aug 2017 08:53:06 +0000 (08:53 +0000)]
[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

6 years ago[RAPPS] Remove Burnaware free. CORE-12194 #resolve
Mark Jansen [Thu, 3 Aug 2017 20:52:01 +0000 (20:52 +0000)]
[RAPPS] Remove Burnaware free. CORE-12194 #resolve

svn path=/trunk/; revision=75475

6 years ago[RDBSS]
Pierre Schweitzer [Thu, 3 Aug 2017 20:47:41 +0000 (20:47 +0000)]
[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

6 years ago[RXCE]
Pierre Schweitzer [Thu, 3 Aug 2017 20:23:39 +0000 (20:23 +0000)]
[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

6 years ago[FREELDR][INFLIB]: It is perfectly correct to retrieve the field of index == 0 of...
Hermès Bélusca-Maïto [Thu, 3 Aug 2017 14:56:07 +0000 (14:56 +0000)]
[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

6 years ago[RXCE]
Pierre Schweitzer [Tue, 1 Aug 2017 18:04:18 +0000 (18:04 +0000)]
[RXCE]
Make code that deals with DBG stuff only built in DBG builds

CORE-11327
CORE-13610

svn path=/trunk/; revision=75468

6 years ago[ACPICA]
Thomas Faber [Tue, 1 Aug 2017 09:11:52 +0000 (09:11 +0000)]
[ACPICA]
- Update to version 20170728
CORE-13625 #resolve

svn path=/trunk/; revision=75467

6 years ago[RDBSS]
Pierre Schweitzer [Tue, 1 Aug 2017 06:35:20 +0000 (06:35 +0000)]
[RDBSS]
For non dbg builds, don't implement macro defined functions RxCheckShareAccess(), RxRemoveShareAccess(), RxSetShareAccess(), RxUpdateShareAccess()

CORE-11327
CORE-13610

svn path=/trunk/; revision=75465

6 years ago[SYSSETUP.INF] -Move registering comctl32.dll and ole32.dll much earlier in the setup.
Giannis Adamopoulos [Mon, 31 Jul 2017 16:11:09 +0000 (16:11 +0000)]
[SYSSETUP.INF] -Move registering comctl32.dll and ole32.dll much earlier in the setup.

svn path=/trunk/; revision=75464

6 years ago[COMCTL32] -Fix some failed tests for TB_GETMETRICS. Add support for button spacing.
Giannis Adamopoulos [Mon, 31 Jul 2017 13:10:46 +0000 (13:10 +0000)]
[COMCTL32] -Fix some failed tests for TB_GETMETRICS. Add support for button spacing.

svn path=/trunk/; revision=75463

6 years ago[COMCTL32_APITESTS] -Add toolbar tests for TB_SETBUTTONSIZE, TB_SETPADDING, TB_GETBUT...
Giannis Adamopoulos [Mon, 31 Jul 2017 13:04:09 +0000 (13:04 +0000)]
[COMCTL32_APITESTS] -Add toolbar tests for TB_SETBUTTONSIZE, TB_SETPADDING, TB_GETBUTTONSIZE, TB_GETMETRICS.

svn path=/trunk/; revision=75462

6 years ago[RXCE]
Pierre Schweitzer [Mon, 31 Jul 2017 10:35:18 +0000 (10:35 +0000)]
[RXCE]
Only implement RxTrackerUpdateHistory() if RDBSS_TRACKER is defined

CORE-11327
CORE-13610

svn path=/trunk/; revision=75461

6 years ago[RDBSS]
Pierre Schweitzer [Mon, 31 Jul 2017 09:33:01 +0000 (09:33 +0000)]
[RDBSS]
For non dbg builds, don't implement macro defined functions RxDumpCurrentAccess(), RxDumpWantedAccess()

CORE-11327
CORE-13610

svn path=/trunk/; revision=75460

6 years ago[REGEDIT] Fix the search dialog not opening when the root node is selected. Patch...
Mark Jansen [Sun, 30 Jul 2017 14:04:44 +0000 (14:04 +0000)]
[REGEDIT] Fix the search dialog not opening when the root node is selected. Patch by Joachim Henze (reactosfanboy).
Small changes by me.
CORE-13071 #resolve #comment Thanks!

svn path=/trunk/; revision=75458

6 years ago[SDK][XML2SDB] Simplify include / exclude node specification.
Mark Jansen [Sun, 30 Jul 2017 13:37:35 +0000 (13:37 +0000)]
[SDK][XML2SDB] Simplify include / exclude node specification.

svn path=/trunk/; revision=75457

6 years ago[SHIMENG] Partial rewrite to make the code easier to maintain.
Mark Jansen [Sun, 30 Jul 2017 12:47:57 +0000 (12:47 +0000)]
[SHIMENG] Partial rewrite to make the code easier to maintain.
- Protect ARRAY access with macro's / helper functions.
- Do not store objects in the ARRAY data, but store pointers to the objects.
- Rewrite import hooking to use an ARRAY instead of single linked lists.

svn path=/trunk/; revision=75455

6 years ago[ACPPAGE] Fix the shell extension asking to add an empty layer.
Mark Jansen [Sun, 30 Jul 2017 12:46:53 +0000 (12:46 +0000)]
[ACPPAGE] Fix the shell extension asking to add an empty layer.

svn path=/trunk/; revision=75454

6 years ago[RDBSS]
Pierre Schweitzer [Sun, 30 Jul 2017 12:24:26 +0000 (12:24 +0000)]
[RDBSS]
Implement RxPrepareToReparseSymbolicLink().
This allows symbolic links to work on a NFS share, we can now follow links that would have been exported by the server.

Safe to merge.

CORE-8204
CORE-11327
CORE-13615

svn path=/trunk/; revision=75451

6 years ago[RDBSS] 0.4.7-dev
Pierre Schweitzer [Sun, 30 Jul 2017 08:54:09 +0000 (08:54 +0000)]
[RDBSS]
When CcFlushCache fails, properly set status before leaving.

CORE-11327

svn path=/trunk/; revision=75445

6 years ago[NFSD]
Pierre Schweitzer [Sun, 30 Jul 2017 08:46:01 +0000 (08:46 +0000)]
[NFSD]
In case NFS session expires while reading/writing to a file, renew the session instead of just failing.
This avoids not being able to transfer any file with slow connection, and not being able to transfer big files with normal connection.

CORE-8204
CORE-13484

svn path=/trunk/; revision=75444

6 years ago[KERNEL32]
Pierre Schweitzer [Sun, 30 Jul 2017 08:31:59 +0000 (08:31 +0000)]
[KERNEL32]
In case of synchronous read, it's legit for the FSD to notify EOF by returning success & zero read length.
It fixes never ending reads when copying a file from NFS to local disk.

CORE-8204
CORE-11327
CORE-13484

svn path=/trunk/; revision=75443

6 years ago[RXCE]
Pierre Schweitzer [Sun, 30 Jul 2017 08:22:34 +0000 (08:22 +0000)]
[RXCE]
Don't forget to set RX_CONTEXT_FLAG_FROM_POOL flag when allocating a new RX_CONTEXT structure from pool.
This avoids leaking it afterwards and exhausting NP pool when using NFS.

CORE-8204
CORE-11327
CORE-13484
CORE-13604

svn path=/trunk/; revision=75442

6 years ago[RXCE]
Pierre Schweitzer [Sun, 30 Jul 2017 07:58:25 +0000 (07:58 +0000)]
[RXCE]
- Implement RxAcquireFcbForLazyWrite(), RxAcquireFcbForReadAhead(), RxReleaseFcbFromLazyWrite(), RxReleaseFcbFromReadAhead()

This makes RXCE better at dealing with Cc (and the other way round ;-)). This notably avoids infinite acquire loops from Cc when writing on a NFS share.

CORE-8204
CORE-11327

svn path=/trunk/; revision=75441

6 years ago[EXPLORER] -Fix calculatting the size of the tray icons for ral this time. When posit...
Giannis Adamopoulos [Sat, 29 Jul 2017 13:57:29 +0000 (13:57 +0000)]
[EXPLORER] -Fix calculatting the size of the tray icons for ral this time. When positioning the windows in the tray take into account the theme content margins.

svn path=/trunk/; revision=75440

6 years ago[UXTHEME] -Fix for the 3rd or 4th time the bug where the caption window overflows...
Giannis Adamopoulos [Sat, 29 Jul 2017 09:43:48 +0000 (09:43 +0000)]
[UXTHEME] -Fix for the 3rd or 4th time the bug where the caption window overflows over the caption buttons which was last broken by me in 74960. CORE-13435

svn path=/trunk/; revision=75439

6 years ago[UXHTEME] - ThemeDrawCaptionText: Get the TMT_CONTENTALIGNMENT theme property and...
Giannis Adamopoulos [Sat, 29 Jul 2017 09:25:15 +0000 (09:25 +0000)]
[UXHTEME] - ThemeDrawCaptionText: Get the TMT_CONTENTALIGNMENT theme property and position the text accordingly. Patch by Stas'M. CORE-13600

svn path=/trunk/; revision=75438

6 years ago[COMCTL32] -Take into account the upper theme margin when drawing the icon so that...
Giannis Adamopoulos [Sat, 29 Jul 2017 08:52:04 +0000 (08:52 +0000)]
[COMCTL32] -Take into account the upper theme margin when drawing the icon so that it doesn't look misplaced. This makes the themed taskbar buttons look more or less good despite the fact that we completely ignore the left and right margins.

svn path=/trunk/; revision=75437

6 years ago[User32]
James Tabor [Sat, 29 Jul 2017 01:59:07 +0000 (01:59 +0000)]
[User32]
- Patch by MudHead : Combobox sends a message to the deselect the text when focus is lost.
CORE-10266 #resolve

svn path=/trunk/; revision=75436

6 years ago[APPHELP] Various cleanup tasks
Mark Jansen [Fri, 28 Jul 2017 19:00:27 +0000 (19:00 +0000)]
[APPHELP] Various cleanup tasks
- Move debug heap functionality to a separate file
- Clean includes
- Remove msvcrt dependency
- Clean up string usage
- Remove some higher level functions in favor of their ntdll counterparts (wip).

svn path=/trunk/; revision=75432

6 years ago[EXPLORER] -Implement changing the size of the icons in the notification area when...
Giannis Adamopoulos [Fri, 28 Jul 2017 10:04:38 +0000 (10:04 +0000)]
[EXPLORER] -Implement changing the size of the icons in the notification area when the non client metrics change. Now they always have the size of the title bar icon. Center vertically or horizontally the notification area in the taskbar.

svn path=/trunk/; revision=75430

6 years ago[APPHELP] Use DbgPrint instead of OutputDebugString + fix SDBAPI_DEBUG_ALLOC
Mark Jansen [Thu, 27 Jul 2017 20:36:51 +0000 (20:36 +0000)]
[APPHELP] Use DbgPrint instead of OutputDebugString + fix SDBAPI_DEBUG_ALLOC

svn path=/trunk/; revision=75429

6 years ago[ATL]: - Both the CAtlList class and its helper class CNode do not support copy const...
Hermès Bélusca-Maïto [Thu, 27 Jul 2017 19:08:55 +0000 (19:08 +0000)]
[ATL]: - Both the CAtlList class and its helper class CNode do not support copy construction. - Remove a redundant call to GetFreeNode().
CORE-13597

svn path=/trunk/; revision=75427

6 years ago[DLLS]
Thomas Faber [Thu, 27 Jul 2017 18:48:19 +0000 (18:48 +0000)]
[DLLS]
- Fix import order
- Remove unnecessary imports

svn path=/trunk/; revision=75426

6 years ago[EXT2]
Pierre Schweitzer [Thu, 27 Jul 2017 10:22:57 +0000 (10:22 +0000)]
[EXT2]
Import commits by Kaho Ng <ngkaho1234@gmail.com> from upstream:
b7657e5 Ext3Fsd: Introduce VCB_RO_COMPAT_READ_ONLY flag for struct VCB
e7c1142 Ext3Fsd: EXT4_FEATURE_INCOMPAT_64BIT is not supported
785943f Ext3Fsd: fix issue #6

Refuse mounting filesystems with incompatible flags. This avoids corrupting 64bits filesystems.

Patch by Lubomir Rintel

CORE-13589

svn path=/trunk/; revision=75422

6 years ago[KERNEL32_VISTA]
Pierre Schweitzer [Thu, 27 Jul 2017 09:43:56 +0000 (09:43 +0000)]
[KERNEL32_VISTA]
Delay load NTDLL_vista, in order to save *380KB* at boot.

CORE-13361

svn path=/trunk/; revision=75421