reactos.git
2 months ago[WMVCORE] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:11:07 +0000 (13:11 +0100)]
[WMVCORE] Sync with Wine Staging 4.18. CORE-16441

2 months ago[PSDK] Update wmsdkidl.idl. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:10:44 +0000 (13:10 +0100)]
[PSDK] Update wmsdkidl.idl. CORE-16441

2 months ago[WMIUTILS_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:10:23 +0000 (13:10 +0100)]
[WMIUTILS_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WMIUTILS] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:10:01 +0000 (13:10 +0100)]
[WMIUTILS] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WLDAP32] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:09:39 +0000 (13:09 +0100)]
[WLDAP32] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINTRUST_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:09:17 +0000 (13:09 +0100)]
[WINTRUST_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINTRUST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:08:52 +0000 (13:08 +0100)]
[WINTRUST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINSPOOL_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:08:30 +0000 (13:08 +0100)]
[WINSPOOL_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINSCARD] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:08:06 +0000 (13:08 +0100)]
[WINSCARD] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINMM_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:07:44 +0000 (13:07 +0100)]
[WINMM_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WININET_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:07:21 +0000 (13:07 +0100)]
[WININET_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[PSDK] Add missing define. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:06:57 +0000 (13:06 +0100)]
[PSDK] Add missing define. CORE-16441

2 months ago[WININET] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:06:34 +0000 (13:06 +0100)]
[WININET] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINHTTP_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:06:11 +0000 (13:06 +0100)]
[WINHTTP_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINHTTP] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:05:48 +0000 (13:05 +0100)]
[WINHTTP] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINEMP3.ACM] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:05:25 +0000 (13:05 +0100)]
[WINEMP3.ACM] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINDOWSCODECS_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:05:00 +0000 (13:05 +0100)]
[WINDOWSCODECS_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WINDOWSCODECS] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:04:33 +0000 (13:04 +0100)]
[WINDOWSCODECS] Sync with Wine Staging 4.18. CORE-16441

2 months ago[REGEDIT] Improve arrow button visual (#2133)
Katayama Hirofumi MZ [Sat, 7 Dec 2019 01:09:44 +0000 (10:09 +0900)]
[REGEDIT] Improve arrow button visual (#2133)

Add IDI_ARROW resource icon and use it for the arrow button.

2 months ago[WIN32SS][WINSRV] Do CJK font choose workaround (#2134)
Katayama Hirofumi MZ [Fri, 6 Dec 2019 13:18:51 +0000 (22:18 +0900)]
[WIN32SS][WINSRV] Do CJK font choose workaround (#2134)

Don't choose Asian charset font if there is no preferred font for CJK. CORE-12451

2 months ago[KERNEL32_APITEST] Adjust ConsoleCP testcase for Win10 JPN (#2131)
Katayama Hirofumi MZ [Thu, 5 Dec 2019 13:07:00 +0000 (22:07 +0900)]
[KERNEL32_APITEST] Adjust ConsoleCP testcase for Win10 JPN (#2131)

CORE-12451

2 months ago[WIN32SS][WINSRV] Optimize console background drawing (#2132)
Katayama Hirofumi MZ [Thu, 5 Dec 2019 11:19:00 +0000 (20:19 +0900)]
[WIN32SS][WINSRV] Optimize console background drawing (#2132)

Console needs speed. This PR will optimize drawing of console.
- Set NULL to the background brush.
- Skip WM_ERASEBKGND.

2 months ago[SHELL32] Add 'm_' prefix to CFSFolder members (#2129)
Katayama Hirofumi MZ [Wed, 4 Dec 2019 20:35:25 +0000 (05:35 +0900)]
[SHELL32] Add 'm_' prefix to CFSFolder members (#2129)

CORE-7585

2 months ago[ROSTESTS] Skip some flaky test / do not count successes
Timo Kreuzer [Sun, 15 Sep 2019 13:07:32 +0000 (15:07 +0200)]
[ROSTESTS] Skip some flaky test / do not count successes

2 months ago[SHELL32] Delete unused CNewMenu::m_wszPath
Katayama Hirofumi MZ [Tue, 3 Dec 2019 04:46:22 +0000 (13:46 +0900)]
[SHELL32] Delete unused CNewMenu::m_wszPath

2 months ago[VIDEOPRT] Protect access to HwResetAdaptersList with spinlock.
Hermès Bélusca-Maïto [Tue, 3 Dec 2019 01:08:34 +0000 (02:08 +0100)]
[VIDEOPRT] Protect access to HwResetAdaptersList with spinlock.

2 months ago[NTOS:PO] PopShutdownHandler(): Fully screen-center images. Addendum to 55aed4f8. 2126/head
Serge Gautherie [Mon, 2 Dec 2019 18:21:39 +0000 (19:21 +0100)]
[NTOS:PO] PopShutdownHandler(): Fully screen-center images. Addendum to 55aed4f8.
CORE-16342

2 months ago[CPL][INPUT] Fix bullet (#2124)
Katayama Hirofumi MZ [Mon, 2 Dec 2019 09:04:41 +0000 (18:04 +0900)]
[CPL][INPUT] Fix bullet (#2124)

CORE-13807

2 months ago[NTOSKRNL][INBV] Fix IDB_SHUTDOWN_MSG position
Katayama Hirofumi MZ [Mon, 2 Dec 2019 07:55:02 +0000 (16:55 +0900)]
[NTOSKRNL][INBV] Fix IDB_SHUTDOWN_MSG position

Make "shutdown.bmp" (IDB_SHUTDOWN_MSG: 213x11px) horizontally centered.

2 months ago[WIN32K][VIDEOPRT] Improve initialization and interfacing with INBV.
Hermès Bélusca-Maïto [Tue, 26 Nov 2019 01:49:35 +0000 (02:49 +0100)]
[WIN32K][VIDEOPRT] Improve initialization and interfacing with INBV.
CORE-12149

VIDEOPRT:
=========

Improve interfacing with INBV, so as to detect when an external module
acquired INBV display ownership, and whether ownership is being released
later on. (This does NOT rely on hooking!)

For this purpose we improve the IntVideoPortResetDisplayParameters(Ex)
callback that gets registered with an InbvNotifyDisplayOwnershipLost()
call during initialization, and we add a monitoring thread.

The callback is called whenever an external module calls
InbvAcquireDisplayOwnership(), for example the bugcheck code or the KDBG
debugger in SCREEN mode. When this happens, a flag that tells the
monitoring thread to start monitoring INBV is set (ReactOS-specific),
and the display adapters get reset with HwResetHw() (as done on Windows).

Due to the fact that this INBV callback can be called at *ANY* IRQL, we
cannot use dispatcher synchronization mechanisms such as events to tell
the INBV monitoring thread to start its operations, so we need to rely
instead on a flag to be set. And, since INBV doesn't provide with any
proper callback/notification system either, we need to actively monitor
its state by pooling. To reduce the load on the system the monitoring
thread performs 1-second waits between each check for the flag set by
the INBV callback, and during checking the INBV ownership status.

When the INBV ownership is detected to be released by an external module,
the INBV callback is re-registered (this is *MANDATORY* since the
external module has called InbvNotifyDisplayOwnershipLost() with a
different callback parameter!), and then we callout to Win32k for
re-enabling the display.

This has the virtue of correctly resetting the display once the KDBG
debugger in SCREEN mode is being exited, and fixes CORE-12149 .

The following additional fixes were needed:

VIDEOPRT & WIN32K:
==================

Remove the registration with INBV that was previously done in a ReactOS-
specific hacked IRP_MJ_WRITE call; it is now done correctly during the
video device opening done by EngpRegisterGraphicsDevice() in the VIDEOPRT's
IRP_MJ_CREATE handler, as done on Windows.

WIN32K:
=======

- Stub the VideoPortCallout() support, for VIDEOPRT -> WIN32 callbacks.
  This function gets registered with VIDEOPRT through an
  IOCTL_VIDEO_INIT_WIN32K_CALLBACKS call in EngpRegisterGraphicsDevice().

- Only partially implement the 'VideoFindAdapterCallout' case, that just
  re-enables the primary display by refreshing it (using the new function
  UserRefreshDisplay()).

VIDEOPRT:
=========

- PVIDEO_WIN32K_CALLOUT is an NTAPI (stdcall) callback.

- In the IntVideoPortResetDisplayParameters(Ex) callback, reset all the
  "resettable" adapters registered in the HwResetAdaptersList list.
  We thus get rid of the global ResetDisplayParametersDeviceExtension.

- Make the IntVideoPortResetDisplayParameters(Ex) callback slightly more
  robust (using SEH) against potential HwResetListEntry list corruption
  or invalid DriverExtension->InitializationData.HwResetHw() that would
  otherwise trigger a BSOD, and this would be disastrous since that
  callback is precisely called when INBV is acquired, typically when the
  BSOD code initializes the display for displaying its information...

Extras:
- Validate the IrpStack->MajorFunction in IntVideoPortDispatchDeviceControl()
  and implement IRP_MJ_SHUTDOWN handling. Stub out the other IOCTLs that
  are handled by VIDEOPRT only (and not by the miniports).

- VIDEOPRT doesn't require IRP_MJ_INTERNAL_DEVICE_CONTROL (unused).

- Implement IOCTL_VIDEO_PREPARE_FOR_EARECOVERY that just resets the
  display to standard VGA 80x25 text mode.

2 months ago[USERENV] Improve Japanese translation again
Katayama Hirofumi MZ [Sun, 1 Dec 2019 22:05:57 +0000 (07:05 +0900)]
[USERENV] Improve Japanese translation again

2 months ago[SHELL32] Improve Japanese translation
Katayama Hirofumi MZ [Sun, 1 Dec 2019 22:03:18 +0000 (07:03 +0900)]
[SHELL32] Improve Japanese translation

2 months ago[SHELL32] Improve and fix SendTo (#2122)
Katayama Hirofumi MZ [Sun, 1 Dec 2019 19:06:20 +0000 (04:06 +0900)]
[SHELL32] Improve and fix SendTo (#2122)

Because of timing of SendTo folder initialization, SendTo My Documents didn't work well.
Now My Documents item is working well. CORE-12562

2 months ago[WBEMPROX_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:45:25 +0000 (19:45 +0100)]
[WBEMPROX_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[WBEMPROX] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:45:00 +0000 (19:45 +0100)]
[WBEMPROX] Sync with Wine Staging 4.18. CORE-16441

2 months ago[PSDK] Add GetSystemFirmwareTable. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:44:36 +0000 (19:44 +0100)]
[PSDK] Add GetSystemFirmwareTable. CORE-16441

2 months ago[WBEMDISP] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:44:13 +0000 (19:44 +0100)]
[WBEMDISP] Sync with Wine Staging 4.18. CORE-16441

2 months ago[VSSAPI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:43:49 +0000 (19:43 +0100)]
[VSSAPI] Sync with Wine Staging 4.18. CORE-16441

2 months ago[VERSION] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:43:24 +0000 (19:43 +0100)]
[VERSION] Sync with Wine Staging 4.18. CORE-16441

2 months ago[VBSCRIPT_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:43:01 +0000 (19:43 +0100)]
[VBSCRIPT_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[PSDK] Update activscp.idl. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:42:38 +0000 (19:42 +0100)]
[PSDK] Update activscp.idl. CORE-16441

2 months ago[VBSCRIPT] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:42:07 +0000 (19:42 +0100)]
[VBSCRIPT] Sync with Wine Staging 4.18. CORE-16441

2 months ago[USP10_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:41:41 +0000 (19:41 +0100)]
[USP10_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[USP10] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:41:14 +0000 (19:41 +0100)]
[USP10] Sync with Wine Staging 4.18. CORE-16441

2 months ago[USER32_WINETEST] Sync with Wine Staging 4.18 except win.c (PR #1980). CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:40:48 +0000 (19:40 +0100)]
[USER32_WINETEST] Sync with Wine Staging 4.18 except win.c (PR #1980). CORE-16441

2 months ago[PSDK] Add some missing definitions. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:40:17 +0000 (19:40 +0100)]
[PSDK] Add some missing definitions. CORE-16441

2 months ago[URLMON_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:39:54 +0000 (19:39 +0100)]
[URLMON_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[URLMON] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:39:31 +0000 (19:39 +0100)]
[URLMON] Sync with Wine Staging 4.18. CORE-16441

2 months ago[UPDSPAPI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:39:04 +0000 (19:39 +0100)]
[UPDSPAPI] Sync with Wine Staging 4.18. CORE-16441

2 months ago[TWAIN_32] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:38:39 +0000 (19:38 +0100)]
[TWAIN_32] Sync with Wine Staging 4.18. CORE-16441

2 months ago[TAPI32] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:38:13 +0000 (19:38 +0100)]
[TAPI32] Sync with Wine Staging 4.18. CORE-16441

2 months ago[T2EMBED] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:37:45 +0000 (19:37 +0100)]
[T2EMBED] Sync with Wine Staging 4.18. CORE-16441

2 months ago[RICHED32_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 1 Dec 2019 18:37:14 +0000 (19:37 +0100)]
[RICHED32_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[TRANSLATION] Some Hebrew Translation for Shell32 (#2121)
Shy Zedaka [Sun, 1 Dec 2019 18:30:48 +0000 (20:30 +0200)]
[TRANSLATION] Some Hebrew Translation for Shell32 (#2121)

2 months ago[SHELL32][ZIPFLDR] Implement SendTo ZIP folder (#2118)
Katayama Hirofumi MZ [Sun, 1 Dec 2019 17:26:34 +0000 (02:26 +0900)]
[SHELL32][ZIPFLDR] Implement SendTo ZIP folder (#2118)

Follow-up of #2114.
- s/Creater/Creator/
- Add an empty file in the SendTo folder.
- Trick.
CORE-16495

2 months ago[DNSRSLVR] Add support for IP6 hosts file entries 2120/head
Eric Kohl [Sun, 1 Dec 2019 16:17:50 +0000 (17:17 +0100)]
[DNSRSLVR] Add support for IP6 hosts file entries

2 months ago[SHELLEXT][ZIPFLDR] Implement ZIP creation (#2114)
Katayama Hirofumi MZ [Sun, 1 Dec 2019 12:20:53 +0000 (21:20 +0900)]
[SHELLEXT][ZIPFLDR] Implement ZIP creation (#2114)

This PR will implement *.ZFSendToTarget file type that will realize SendTo ZIP folder in future.
CORE-16495, CORE-12562

2 months ago[TRANSLATION] Update Portuguese translation (#2115)
Jose Carlos Jesus [Sun, 1 Dec 2019 09:14:13 +0000 (09:14 +0000)]
[TRANSLATION] Update Portuguese translation (#2115)

2 months ago[SHELL32] Fix regression of DoCreateSendToFiles
Katayama Hirofumi MZ [Sun, 1 Dec 2019 04:55:43 +0000 (13:55 +0900)]
[SHELL32] Fix regression of DoCreateSendToFiles

CoInitializeEx/CoUninitialize added.
CORE-12562

2 months ago[SHELL32_APITEST] Improve DragDrop testcase 2
Katayama Hirofumi MZ [Sun, 1 Dec 2019 02:44:43 +0000 (11:44 +0900)]
[SHELL32_APITEST] Improve DragDrop testcase 2

CORE-11238

2 months ago[TRANSLATION][MC] Polish translation update for errcodes.mc (#2108)
Adam Słaboń [Sat, 30 Nov 2019 15:31:28 +0000 (16:31 +0100)]
[TRANSLATION][MC] Polish translation update for errcodes.mc (#2108)

2 months ago[SXS_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:58:10 +0000 (14:58 +0100)]
[SXS_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SXS] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:56:42 +0000 (14:56 +0100)]
[SXS] Sync with Wine Staging 4.18. CORE-16441

2 months ago[STI_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:56:15 +0000 (14:56 +0100)]
[STI_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[STI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 23 Nov 2019 17:21:33 +0000 (18:21 +0100)]
[STI] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SNMPAPI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:51:23 +0000 (14:51 +0100)]
[SNMPAPI] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SLBCSP] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:50:58 +0000 (14:50 +0100)]
[SLBCSP] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SHLWAPI_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:50:34 +0000 (14:50 +0100)]
[SHLWAPI_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SHELL32_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:50:08 +0000 (14:50 +0100)]
[SHELL32_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SHDOCVW] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:49:41 +0000 (14:49 +0100)]
[SHDOCVW] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SENSAPI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:49:13 +0000 (14:49 +0100)]
[SENSAPI] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SECUR32_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:48:48 +0000 (14:48 +0100)]
[SECUR32_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[PSDK] Add SECPKG_FLAG_APPLY_LOOPBACK. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:48:23 +0000 (14:48 +0100)]
[PSDK] Add SECPKG_FLAG_APPLY_LOOPBACK. CORE-16441

2 months ago[SCRRUN_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:47:55 +0000 (14:47 +0100)]
[SCRRUN_WINETEST] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SCRRUN] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:47:27 +0000 (14:47 +0100)]
[SCRRUN] Sync with Wine Staging 4.18. CORE-16441

2 months ago[SCCBASE] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 30 Nov 2019 13:46:59 +0000 (14:46 +0100)]
[SCCBASE] Sync with Wine Staging 4.18. CORE-16441

2 months ago[STORAGE] Storage driver cleanup part 5 (last part)
Eric Kohl [Sat, 30 Nov 2019 12:33:32 +0000 (13:33 +0100)]
[STORAGE] Storage driver cleanup part 5 (last part)

Move the fdc and flpydrv drivers into the floppy directory.

2 months ago[STORAGE] Storage driver cleanup part 4
Eric Kohl [Sat, 30 Nov 2019 12:13:59 +0000 (13:13 +0100)]
[STORAGE] Storage driver cleanup part 4

Move the floppy driver into the floppy/floppy directory.

2 months ago[STORAGE] Storage driver cleanup part 3
Eric Kohl [Sat, 30 Nov 2019 11:58:59 +0000 (12:58 +0100)]
[STORAGE] Storage driver cleanup part 3

Move the storahci driver into the port directory.

2 months ago[STORAGE] Storage driver cleanup part 2
Eric Kohl [Sat, 30 Nov 2019 11:19:03 +0000 (12:19 +0100)]
[STORAGE] Storage driver cleanup part 2

Move the scsiport driver into the port directory.

2 months ago[STORAGE] Storage driver cleanup part 1
Eric Kohl [Sat, 30 Nov 2019 10:41:39 +0000 (11:41 +0100)]
[STORAGE] Storage driver cleanup part 1

Move the classpnp driver into the class directory because it is a class driver, just like the class2 driver.

2 months ago[SHELL32] Validate file operation (#2085)
Katayama Hirofumi MZ [Sat, 30 Nov 2019 06:36:16 +0000 (15:36 +0900)]
[SHELL32] Validate file operation (#2085)

- Support FOF_RENAMEONCOLLISION flag of SHFileOperationW.
- Add validate_operation function and use it in SHFileOperationW.

CORE-10225

2 months ago[KERNEL32] Fix multibyte conversion in default char (#2111)
Katayama Hirofumi MZ [Sat, 30 Nov 2019 06:10:10 +0000 (15:10 +0900)]
[KERNEL32] Fix multibyte conversion in default char (#2111)

Fix kernel32!MultiByteToWideChar function. The default character was wrong. CORE-16468

2 months ago[USERENV] Fix Japanese profile info
Katayama Hirofumi MZ [Sat, 30 Nov 2019 05:55:45 +0000 (14:55 +0900)]
[USERENV] Fix Japanese profile info

Probably we shouldn't localize IDS_APPDATA and IDS_LOCALSETTINGS resource strings of userenv module until localization complete.
CORE-16539

2 months ago[MEDIA][NLS] Fix c_932.nls header (#2110)
Katayama Hirofumi MZ [Sat, 30 Nov 2019 03:57:29 +0000 (12:57 +0900)]
[MEDIA][NLS] Fix c_932.nls header (#2110)

Modify and fix file c_932.nls that is codepage 932 information of NLS (National Language Support). CORE-16468

2 months ago[WINSTA] Export WinStationRedirectErrorMessage (#2072)
Oleg Dubinskiy [Fri, 29 Nov 2019 13:51:04 +0000 (15:51 +0200)]
[WINSTA] Export WinStationRedirectErrorMessage (#2072)

Add export for WinStationRedirectErrorMessage() function in Winsta. We already have a stub for this function in dll/win32/winsta/logon.c, but for some reason it is not exported.
Required by MS Winlogon with Win32SS and some other needed dlls replaced. Now it fails due to missing WinStationCanLogonProceed, for which we currently haven't a stub.

This function has been introduced with Win2k3 SP1 (and exists in SP2 as well), see http://blog.airesoft.co.uk/apichanges/changes-Server2003%20SP0-To-Server2003%20SP1.xml#winsta.dll

JIRA issue: CORE-16458

2 months ago[RPCRT4] Stub RpcGetAuthorizationContextForClient (#2042)
Oleg Dubinskiy [Fri, 29 Nov 2019 13:19:56 +0000 (15:19 +0200)]
[RPCRT4] Stub RpcGetAuthorizationContextForClient (#2042)

## Purpose

Add a stub for RpcGetAuthorizationContextForClient function into rpcrt4, according to https://docs.microsoft.com/en-us/windows/win32/api/rpcasync/nf-rpcasync-rpcgetauthorizationcontextforclient (but with Wine-specific diffs in the syntax, according to the code guidelines: https://wiki.winehq.org/Submitting_Patches#Code_guidelines, since we're syncing rpcrt4 with Wine). Required by MS Winlogon with also Win32 subsystem and some other dlls replaced (aka ROS-Frankenstein), so after my changes it doesn't fail with our rpcrt4.dll at the system startup.
I think I also need to submit a patch in Wine, but it is a bit problematically to reproduce this error there, since Wine has no even winlogon.exe, and launching MS Winlogon in pair with profmap.dll, causes the crash due to unimplemented RtlSetProcessIsCritical function in ntdll (which is completely different than our). Ftr, our ntdll already has it implemented: https://git.reactos.org/?p=reactos.git;a=blob;f=sdk/lib/rtl/process.c;hb=67c78d88c885ca92c72e2bcf59ddcf1d429096b1#l453 But with MS ntdll.dll, as far as I know, Wine will not work.

JIRA issue: CORE-16458

Although this PR doesn't fix that shutdown issue, it at least improves the situation with replaced system files and allows to investigate it more.

## Proposed changes

- Add a stub for the function in `dll/win32/rpcrt4/rpc_async.c`;
- Properly call it in `dll/win32/rpcrt4/rpcrt4.spec`.

2 months ago[BOOTDATA] Restore "CMD here" 'Extended' key, but commented out (#2093)
Serge Gautherie [Fri, 29 Nov 2019 13:13:59 +0000 (14:13 +0100)]
[BOOTDATA] Restore "CMD here" 'Extended' key, but commented out (#2093)

Addendum to db5a2fff
CORE-16519

2 months ago[DEVMGR] CClassNode::SetupNode(): Properly use Type (#2100)
Serge Gautherie [Fri, 29 Nov 2019 13:13:13 +0000 (14:13 +0100)]
[DEVMGR] CClassNode::SetupNode(): Properly use Type (#2100)

2 months ago[ATTRIB] Delete unused variable 'szText'
Katayama Hirofumi MZ [Fri, 29 Nov 2019 11:08:46 +0000 (20:08 +0900)]
[ATTRIB] Delete unused variable 'szText'

2 months ago[CMDUTILS][ATTRIB] Support folder attributes (#2103)
Katayama Hirofumi MZ [Fri, 29 Nov 2019 11:03:19 +0000 (20:03 +0900)]
[CMDUTILS][ATTRIB] Support folder attributes (#2103)

CORE-16538

2 months ago[KERNEL32] Stub GetSystemTimePreciseAsFileTime
Oleg Dubinskiy [Wed, 9 Oct 2019 15:40:22 +0000 (18:40 +0300)]
[KERNEL32] Stub GetSystemTimePreciseAsFileTime

2 months agoStub GetCurrentPackageId() (#1942)
William Kent [Fri, 29 Nov 2019 07:56:02 +0000 (02:56 -0500)]
Stub GetCurrentPackageId() (#1942)

* [KERNEL32] Add stub implementation for GetCurrentPackageId() function

This Windows 8+ function is called by WiX bundles (EXE-based installers) upon exit, if the export is present. If it is a stub in the spec, they will crash, even if they are coded to be compatible with Windows XP/ReactOS.
Also add GetCurrentPackageId() forwarder to apiset.

2 months ago[CHARMAP] LoadSettings(): Properly use RegQueryValueEx()
Serge Gautherie [Thu, 28 Nov 2019 16:11:27 +0000 (17:11 +0100)]
[CHARMAP] LoadSettings(): Properly use RegQueryValueEx()

2 months ago[OPENGLCFG] general.c: Fix overruns and warnings, improve code consistency (#1923)
Serge Gautherie [Fri, 29 Nov 2019 07:43:15 +0000 (08:43 +0100)]
[OPENGLCFG] general.c: Fix overruns and warnings, improve code consistency (#1923)

* [OPENGLCFG] dwNumDrivers: Fix related pOglDrivers[] overruns

Follow-up to e7b8f273094c9402ff1df3baa5841bf3518a3f02.

* [OPENGLCFG] dwNumDrivers: Sync related iKey to DWORD type

* [OPENGLCFG] Fix 2 MSVC-x64 'C4267' warnings about RegSetValueExW()

2 months ago[NETSTAT] Fix output formats and more (#1709)
Serge Gautherie [Fri, 29 Nov 2019 07:26:19 +0000 (08:26 +0100)]
[NETSTAT] Fix output formats and more (#1709)

* [NETSTAT] Restore expected output formats

"Revert" parts of bd3c852012943f7407f79edabea33f9ae4be9f49.

CORE-16119

* [NETSTAT] Improve default and ICMPv4 output formats

* [NETSTAT] Fix a few typos, in output strings

* [NETSTAT] Output usage to StdErr

* [NETSTAT] Be more explicit about unimplemented -b/-t/-v options

2 months ago[BOOT][SHELL32][INCLUDE] Support 'SuperHidden' files (#2102)
Katayama Hirofumi MZ [Fri, 29 Nov 2019 06:14:18 +0000 (15:14 +0900)]
[BOOT][SHELL32][INCLUDE] Support 'SuperHidden' files (#2102)

PR #2101 shows desktop.ini files on Desktop. I want to hide them.
- Add "ShowSuperHidden" setting to Explorer.
- Add SHCONTF_INCLUDESUPERHIDDEN flag.
- Support SHCONTF_INCLUDESUPERHIDDEN in Explorer.
CORE-10045

2 months ago[SHELL32] Add desktop.ini more to some folders (#2101)
Katayama Hirofumi MZ [Fri, 29 Nov 2019 05:40:04 +0000 (14:40 +0900)]
[SHELL32] Add desktop.ini more to some folders (#2101)

Provides special icons for special folders by adding desktop.ini. CORE-10045

2 months ago[CMD_APITEST] Add attrib testcase (#2104)
Katayama Hirofumi MZ [Fri, 29 Nov 2019 02:13:17 +0000 (11:13 +0900)]
[CMD_APITEST] Add attrib testcase (#2104)

CORE-16284

2 months ago[URLMON] Delay-load advpack 2106/head
Mark Jansen [Thu, 28 Nov 2019 20:40:20 +0000 (21:40 +0100)]
[URLMON] Delay-load advpack
CORE-5007