reactos.git
4 years ago[WTSAPI32_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:55:08 +0000 (00:55 +0100)]
[WTSAPI32_WINETEST] Sync with Wine Staging 4.18. CORE-16441

4 years ago[WTSAPI32] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:54:46 +0000 (00:54 +0100)]
[WTSAPI32] Sync with Wine Staging 4.18. CORE-16441

4 years ago[PSDK] Update wtsapi32.h. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:54:23 +0000 (00:54 +0100)]
[PSDK] Update wtsapi32.h. CORE-16441

4 years ago[CMAKE] Update baseaddresses 1922/head
Mark Jansen [Sat, 21 Sep 2019 20:06:12 +0000 (22:06 +0200)]
[CMAKE] Update baseaddresses

4 years ago[SDK] Update the gen_baseaddress script
Mark Jansen [Sat, 14 Dec 2019 17:28:03 +0000 (18:28 +0100)]
[SDK] Update the gen_baseaddress script
- Remove some debug leftovers
- Automatically write the correct file

4 years ago[GEN_BASEADDRESS] Fix the script for python 3 and update *_pe.dll entries,
Mark Jansen [Sat, 21 Sep 2019 20:03:49 +0000 (22:03 +0200)]
[GEN_BASEADDRESS] Fix the script for python 3 and update *_pe.dll entries,
as hinted by hermes

4 years ago[GDI32_APITEST] Fix GetGlyphOutline testcase (#2163)
Katayama Hirofumi MZ [Sun, 22 Dec 2019 13:59:22 +0000 (22:59 +0900)]
[GDI32_APITEST] Fix GetGlyphOutline testcase (#2163)

ROSTESTS-340

4 years ago[DNSAPI] Set proper record flags for query results and converted records
Eric Kohl [Sun, 22 Dec 2019 13:40:18 +0000 (14:40 +0100)]
[DNSAPI] Set proper record flags for query results and converted records

4 years ago[IDL] Add missing acf files
Eric Kohl [Sun, 22 Dec 2019 11:43:23 +0000 (12:43 +0100)]
[IDL] Add missing acf files

4 years ago[DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable()
Eric Kohl [Sun, 22 Dec 2019 10:21:04 +0000 (11:21 +0100)]
[DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable()

4 years ago[DNSRSLVR] Set proper flags for the hosts file entries
Eric Kohl [Sat, 21 Dec 2019 21:12:21 +0000 (22:12 +0100)]
[DNSRSLVR] Set proper flags for the hosts file entries

4 years ago[BOOTDATA][NTUSER] Fix GetSystemMetrics values (#2137)
Katayama Hirofumi MZ [Sat, 21 Dec 2019 13:38:49 +0000 (22:38 +0900)]
[BOOTDATA][NTUSER] Fix GetSystemMetrics values (#2137)

Fix user32!GetSystemMetrics values. CORE-16547
SM_MENUDROPALIGNMENT and SM_CXSMSIZE

4 years ago[ATL_APITEST] Fix CComVariant test
Mark Jansen [Sat, 14 Dec 2019 16:16:00 +0000 (17:16 +0100)]
[ATL_APITEST] Fix CComVariant test

4 years ago[APITESTS] Improve and fix tests
Timo Kreuzer [Mon, 9 Dec 2019 16:16:02 +0000 (17:16 +0100)]
[APITESTS] Improve and fix tests

4 years ago[PSDK] Add versionhelpers.h
Timo Kreuzer [Sat, 7 Dec 2019 10:33:10 +0000 (11:33 +0100)]
[PSDK] Add versionhelpers.h

4 years ago[PSDK] Add extern "C" for c++ code in mmddk.h
Timo Kreuzer [Fri, 29 Nov 2019 07:14:56 +0000 (08:14 +0100)]
[PSDK] Add extern "C" for c++ code in mmddk.h

4 years ago[GDI32_APITEST] Remove duplicated test in Test_CreateBitmap
Timo Kreuzer [Tue, 19 Sep 2017 09:17:12 +0000 (11:17 +0200)]
[GDI32_APITEST] Remove duplicated test in Test_CreateBitmap

4 years ago[NTDLL_APITEST] Remove duplicated test for RtlInitilizeBitMap
Timo Kreuzer [Tue, 26 Dec 2017 15:10:16 +0000 (16:10 +0100)]
[NTDLL_APITEST] Remove duplicated test for RtlInitilizeBitMap

4 years ago[APITESTS] Add PROJECT(ApiTests) to get a separate VS solution file
Timo Kreuzer [Tue, 26 Dec 2017 19:08:24 +0000 (20:08 +0100)]
[APITESTS] Add PROJECT(ApiTests) to get a separate VS solution file

4 years ago[TESTS] Instead of entirely skipping tests with ros_skip_flaky, only disable counting...
Timo Kreuzer [Wed, 4 Dec 2019 15:20:18 +0000 (16:20 +0100)]
[TESTS] Instead of entirely skipping tests with ros_skip_flaky, only disable counting errors

4 years ago[USER32] Add ICO_ExtractIconExW RetPtr NULL check (#2149)
Katayama Hirofumi MZ [Mon, 16 Dec 2019 11:37:23 +0000 (20:37 +0900)]
[USER32] Add ICO_ExtractIconExW RetPtr NULL check (#2149)

CORE-16557

4 years ago[USBOHCI] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
Victor Perevertkin [Mon, 16 Dec 2019 00:21:28 +0000 (03:21 +0300)]
[USBOHCI] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime

4 years ago[KS] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
Victor Perevertkin [Sun, 15 Dec 2019 23:28:41 +0000 (02:28 +0300)]
[KS] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
This avoids overflow when system time is changed between calls (for example, via NTP)

4 years ago[NETAPI32][WKSSVC] Implement NetGetJoinInformation using the workstation service
Eric Kohl [Sun, 15 Dec 2019 18:53:23 +0000 (19:53 +0100)]
[NETAPI32][WKSSVC] Implement NetGetJoinInformation using the workstation service

4 years ago[WIDL] Fix type offset calculation for toplevel pointers to non-basetypes.
Eric Kohl [Sun, 15 Dec 2019 17:21:11 +0000 (18:21 +0100)]
[WIDL] Fix type offset calculation for toplevel pointers to non-basetypes.

WIDL used the wrong type information when a pointer to a non-basetype is used as a functions parameter. For example, a 'wchar_t**' would be treated as a 'wchar_t*'.

This patch will be sent upstream.

4 years ago[BLUE] Improve initialization and interfacing with INBV.
Hermès Bélusca-Maïto [Sun, 15 Dec 2019 02:37:52 +0000 (03:37 +0100)]
[BLUE] Improve initialization and interfacing with INBV.
CORE-15901

This fixes display reset transition when an external module acquired
INBV ownership and then released it, similarly to what was done in
commit 0ad65796 for VIDEOPRT.

For this a backup screenbuffer is used to store the contents of the
screen just before an INBV screen acquire transition, and these contents
are restored when it is detected that INBV ownership has been released.
Also, the active text font associated with the active console code-page
is restored, as well as the cursor state and shape.

In addition, any user of BLUE.SYS is now required to explicitly issue
a new IOCTL_CONSOLE_RESET_SCREEN to either enable or disable the screen.
This allows avoiding nasty unwanted screen mode switches when a handle
to the \Device\BlueScreen device is opened but no screen mode switch was
actually wanted - This "fixes" this annoyance on ReactOS and Windows,
when these are running witha VGA-compatible video driver and one wants
to look at properties of the \Device\BlueScreen device using
Sysinternals' WinObj.

Following this, we don't need to check anymore for explicit INBV
ownership by issuing calls to InbvCheckDisplayOwnership(), but instead
we check whether the screen has beeen manually enabled using the
aforementioned IOCTL. This partly supersedes commit 8b553a4b, and allows
fixing the second bug, namely that if we start ReactOS without the
/NOGUIBOOT option (and thus, INBV is active during boot), USETUP would
not show up anything because BLUE.SYS wouldn't display anything on screen.
See CORE-15901.

[USETUP][CONSRV] Call IOCTL_CONSOLE_RESET_SCREEN to tell BlueScreen device to enable the screen.

4 years ago[BLUE] Use ExFreePoolWithTag().
Hermès Bélusca-Maïto [Sun, 15 Dec 2019 01:41:42 +0000 (02:41 +0100)]
[BLUE] Use ExFreePoolWithTag().

4 years ago[BLUE] Improve includes.
Hermès Bélusca-Maïto [Sat, 14 Dec 2019 17:22:49 +0000 (18:22 +0100)]
[BLUE] Improve includes.

4 years ago[BLUE] Code formatting, add SAL2 annotations, and update file source headers.
Hermès Bélusca-Maïto [Sat, 14 Dec 2019 17:05:45 +0000 (18:05 +0100)]
[BLUE] Code formatting, add SAL2 annotations, and update file source headers.

4 years ago[CONSRV] Fix for console windows shrinking on Minimize and Restore (#2014)
Doug Lyons [Sat, 14 Dec 2019 15:51:49 +0000 (09:51 -0600)]
[CONSRV] Fix for console windows shrinking on Minimize and Restore (#2014)

CORE-14200

4 years ago[ACPICA] Update to version 20191213. CORE-16559
Thomas Faber [Sat, 14 Dec 2019 08:04:07 +0000 (09:04 +0100)]
[ACPICA] Update to version 20191213. CORE-16559

4 years ago[MSI_WINETEST] Fix build with CMake 3.9.0 and higher (attempt #2)
Victor Perevertkin [Fri, 13 Dec 2019 01:44:31 +0000 (04:44 +0300)]
[MSI_WINETEST] Fix build with CMake 3.9.0 and higher (attempt #2)

4 years ago[MSI_WINETEST] Fix build with CMake 3.9.0 and higher
Victor Perevertkin [Fri, 13 Dec 2019 01:15:57 +0000 (04:15 +0300)]
[MSI_WINETEST] Fix build with CMake 3.9.0 and higher

4 years ago[OSK] Refactor the registry configuration code (#2096)
Bișoc George [Wed, 11 Dec 2019 23:25:55 +0000 (00:25 +0100)]
[OSK] Refactor the registry configuration code (#2096)

Rewrite LoadDataFromRegistry() and SaveDataToRegistry() as function helpers. With these, we'll be able to load and save data to registry on our choice.

4 years ago[SHELL32] Do not return -1 if a file is not valid or not found - ExtractIconEx()...
Bișoc George [Wed, 11 Dec 2019 23:24:20 +0000 (00:24 +0100)]
[SHELL32] Do not return -1 if a file is not valid or not found - ExtractIconEx() (#2113)

ExtractIconEx() returns the number of successfully extracted icons from a file. The routine may return 0 in case no icons could be extracted but it could also return 0 if the file is not a valid PE image file or the file couldn't be found.

PrivateExtractIcons and the internal USER32 routine, ICO_ExtractIconExW(), return -1 in such scenarios. The behaviour is correct however we do not want that ExtractIconEx() returns -1 as well as it doesn't comply with the general documentation. In such cases, simply return 0 as no successful icons have been extracted due to related file failures.

CORE-16535

4 years ago[VGA_NEW] Fix 2 'MAX_USHORT' typos in commented code (#2145)
Serge Gautherie [Tue, 10 Dec 2019 12:17:17 +0000 (13:17 +0100)]
[VGA_NEW] Fix 2 'MAX_USHORT' typos in commented code (#2145)

4 years ago[SETUPLIB] Fix 'MAX_USHORT' typo in a comment (#2144)
Serge Gautherie [Tue, 10 Dec 2019 12:16:46 +0000 (13:16 +0100)]
[SETUPLIB] Fix 'MAX_USHORT' typo in a comment (#2144)

4 years ago[CMD] Fix 'MAX_ULONG' typo in a comment (#2143)
Serge Gautherie [Tue, 10 Dec 2019 12:16:26 +0000 (13:16 +0100)]
[CMD] Fix 'MAX_ULONG' typo in a comment (#2143)

4 years ago[TRANSLATION] Update Portuguese translation (#2125)
Jose Carlos Jesus [Tue, 10 Dec 2019 12:13:58 +0000 (12:13 +0000)]
[TRANSLATION] Update Portuguese translation (#2125)

Add translation for joy.cpl and update it for comdlg32.dll.

4 years ago[CONFIGURE] Add support for 'Visual Studio 2019, v16.4' (#2147)
Serge Gautherie [Tue, 10 Dec 2019 11:37:43 +0000 (12:37 +0100)]
[CONFIGURE] Add support for 'Visual Studio 2019, v16.4' (#2147)

4 years ago[COMCTL32][USER32] Fix radio button regression (#2146)
Katayama Hirofumi MZ [Tue, 10 Dec 2019 02:07:56 +0000 (11:07 +0900)]
[COMCTL32][USER32] Fix radio button regression (#2146)

PR #2135 (e329e83) caused radiobutton regression. This PR will fix it.
- Clear DT_BOTTOM | DT_VCENTER flags upon calculating the button text height.
CORE-16552

4 years ago[SetupAPI] Sync to wine.
jimtabor [Tue, 10 Dec 2019 01:15:49 +0000 (19:15 -0600)]
[SetupAPI] Sync to wine.

See CORE-16543.

4 years agoMerge branch 'master' of https://github.com/reactos/reactos
jimtabor [Mon, 9 Dec 2019 17:19:18 +0000 (11:19 -0600)]
Merge branch 'master' of https://github.com/reactos/reactos

4 years ago[Win32SS] Fix Opaque Text Fade while in Desktop Startup
jimtabor [Mon, 9 Dec 2019 17:18:32 +0000 (11:18 -0600)]
[Win32SS] Fix Opaque Text Fade while in Desktop Startup

See CORE-16498.

4 years ago[WIN32SS][COMCTL32] Improve button text position (#2135)
Katayama Hirofumi MZ [Mon, 9 Dec 2019 12:16:28 +0000 (21:16 +0900)]
[WIN32SS][COMCTL32] Improve button text position (#2135)

Improve DrawText function especially DT_CALCRECT and DT_VCENTER. CORE-15478

4 years ago[KERNEL32_APITEST] Follow-up of #2131
Katayama Hirofumi MZ [Mon, 9 Dec 2019 11:55:13 +0000 (20:55 +0900)]
[KERNEL32_APITEST] Follow-up of #2131

4 years ago[NTUSER] Improve loading settings (SystemParamtersInfo) (#2139)
Katayama Hirofumi MZ [Mon, 9 Dec 2019 01:50:04 +0000 (10:50 +0900)]
[NTUSER] Improve loading settings (SystemParamtersInfo) (#2139)

Fix SPI_GETSCREENSAVETIMEOUT, SPI_GETKEYBOARDSPEED and SPI_GETKEYBOARDDELAY values. CORE-16547

4 years ago[TRANSLATION] Fix hungarian translation for usetup & syssetup to use formal addressin...
Tibor Lajos Füzi [Mon, 9 Dec 2019 01:09:31 +0000 (02:09 +0100)]
[TRANSLATION] Fix hungarian translation for usetup & syssetup to use formal addressing / conjugation (#2138)

4 years ago[USER32_APITEST] Add DrawText testcase (#2140)
Katayama Hirofumi MZ [Mon, 9 Dec 2019 01:02:50 +0000 (10:02 +0900)]
[USER32_APITEST] Add DrawText testcase (#2140)

This PR will add a testcase for user32!DrawText function. CORE-15478

4 years ago[WKSSVC] Implement parts of NetrJoinDomain2 to join a work group
Eric Kohl [Sun, 8 Dec 2019 18:18:16 +0000 (19:18 +0100)]
[WKSSVC] Implement parts of NetrJoinDomain2 to join a work group

NOTE: We can not connect to a work group yet!

4 years ago[LIBMPG123] Update to version 1.25.13. CORE-16550
Thomas Faber [Sun, 8 Dec 2019 11:52:31 +0000 (12:52 +0100)]
[LIBMPG123] Update to version 1.25.13. CORE-16550

4 years ago[LIBTIFF] Update to version 4.1.0. CORE-16550
Thomas Faber [Sun, 8 Dec 2019 11:36:30 +0000 (12:36 +0100)]
[LIBTIFF] Update to version 4.1.0. CORE-16550

4 years ago[NETAPI32] Add RPC binding code to remaining functions that require explicit binding
Eric Kohl [Sun, 8 Dec 2019 11:46:35 +0000 (12:46 +0100)]
[NETAPI32] Add RPC binding code to remaining functions that require explicit binding

4 years ago[MEDIA][FONTS] Improve tahomabd.ttf (Latin) No.35
Katayama Hirofumi MZ [Sun, 8 Dec 2019 10:30:51 +0000 (19:30 +0900)]
[MEDIA][FONTS] Improve tahomabd.ttf (Latin) No.35

Tahoma Bold.
Version 0.021 khmz.
11px LATIN CAPITAL LETTER B (again).
CORE-8408

4 years ago[NETAPI32] Add RPC binding code to functions that require explicit binding
Eric Kohl [Sun, 8 Dec 2019 09:52:37 +0000 (10:52 +0100)]
[NETAPI32] Add RPC binding code to functions that require explicit binding

4 years ago[MEDIA][FONTS] Improve tahomabd.ttf (Latin) No.34
Katayama Hirofumi MZ [Sun, 8 Dec 2019 09:00:00 +0000 (18:00 +0900)]
[MEDIA][FONTS] Improve tahomabd.ttf (Latin) No.34

Tahoma Bold.
Version 0.020 khmz.
11px LATIN CAPITAL LETTER B.
CORE-8408

4 years ago[MMIXER_TEST] Fix build (Use %Iu for dwUser)
Katayama Hirofumi MZ [Sun, 8 Dec 2019 04:11:52 +0000 (13:11 +0900)]
[MMIXER_TEST] Fix build (Use %Iu for dwUser)

4 years ago[WINMM_WINETEST][SDK][INCLUDE] Try to fix MSVC winmm:generated build
Katayama Hirofumi MZ [Sun, 8 Dec 2019 03:45:33 +0000 (12:45 +0900)]
[WINMM_WINETEST][SDK][INCLUDE] Try to fix MSVC winmm:generated build

4 years ago[WINLOGON] Start the screensaver on the user desktop, since support for secure screen...
Hermès Bélusca-Maïto [Sun, 8 Dec 2019 01:26:26 +0000 (02:26 +0100)]
[WINLOGON] Start the screensaver on the user desktop, since support for secure screensaver desktop is not completely implemented in Winlogon. CORE-16548

4 years ago[PSDK] Replace the wine version of lmjoin.h by an extended version that includes...
Eric Kohl [Sun, 8 Dec 2019 01:03:26 +0000 (02:03 +0100)]
[PSDK] Replace the wine version of lmjoin.h by an extended version that includes NetJoinDomain and NetUnjoinDomain.

4 years ago[SHELL32] Fix hung-up of shell32:shlfileop (#2136)
Katayama Hirofumi MZ [Sat, 7 Dec 2019 22:58:14 +0000 (07:58 +0900)]
[SHELL32] Fix hung-up of shell32:shlfileop (#2136)

#2085 caused some failures and hung-up in shell32:shlfileop testcase. This PR will fix it.
CORE-16546

4 years ago[CONSRV] Speed up console txt output CORE-16187
Joachim Henze [Sat, 7 Dec 2019 17:35:06 +0000 (18:35 +0100)]
[CONSRV] Speed up console txt output CORE-16187

By demoting good-path DPRINT1 to DPRINT.
HBelusca agreed.

The more important commit to solve CORE-16187 has
been done beforehand in 0.4.14-dev-553-g
1dcdb4c2d0298ee71822c1d432a30604a82bbd21

4 years ago[WSHOM_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:12:15 +0000 (13:12 +0100)]
[WSHOM_WINETEST] Sync with Wine Staging 4.18. CORE-16441

4 years ago[WSHOM.OCX] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:11:52 +0000 (13:11 +0100)]
[WSHOM.OCX] Sync with Wine Staging 4.18. CORE-16441

4 years ago[WMVCORE_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sat, 7 Dec 2019 12:11:29 +0000 (13:11 +0100)]
[WMVCORE_WINETEST] Sync with Wine Staging 4.18. CORE-16441

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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.

4 years 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

4 years 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

4 years 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.

4 years 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

4 years 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

4 years 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

4 years 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.

4 years 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

4 years 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

4 years 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.

4 years 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.

4 years 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

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

4 years 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

4 years 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

4 years 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