Commit graph

76775 commits

Author SHA1 Message Date
Joachim Henze cabf120833 [APISETS] Appease regression CORE-16563
Symptom: "Far Manager main app does not longer start up"

The issue started to show with 0.4.13-dev-986-g
029b8f2cf9

Thanks to Mark Jansen for providing this first patch.

I intend to port this back into 0.4.13RC,
but we are not completely done with this ticket.
2019-12-23 13:26:42 +01:00
Katayama Hirofumi MZ 03854056a2 [SDK][ATL] Use CStringW in CImage 2019-12-23 20:19:48 +09:00
Katayama Hirofumi MZ ad319ef944
[SHIMGVW] Image Viewer transparent image fix (#2165)
If the pixel is transparent or translucent, fill the background with a checkered pattern. CORE-15287
2019-12-23 19:43:20 +09:00
Katayama Hirofumi MZ 12c683a846 [UNICODE] Re-trial to fix Travis build 2019-12-23 17:05:38 +09:00
Katayama Hirofumi MZ 1ec0e9f6c3 [UNICODE] Trial to fix Travis build 2019-12-23 16:47:01 +09:00
Amine Khaldi 1a472d9453 [UNICODE] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:58:51 +01:00
Amine Khaldi 3cfeed64b1 [REG] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:58:26 +01:00
Amine Khaldi e87b3957e4 [CSCRIPT][WSCRIPT] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:58:01 +01:00
Amine Khaldi e32507b525 [LOCALUI] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:57:33 +01:00
Amine Khaldi 90cb67a7f4 [INETCPL] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:57:10 +01:00
Amine Khaldi 4d74a058bd [XMLLITE_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:56:47 +01:00
Amine Khaldi fba7694887 [XMLLITE] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:56:19 +01:00
Amine Khaldi b05ac020b4 [XINPUT1_3_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:55:56 +01:00
Amine Khaldi a80c5a56e3 [WUAPI] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:55:33 +01:00
Amine Khaldi eea75d46e7 [WTSAPI32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:55:08 +01:00
Amine Khaldi 667d393424 [WTSAPI32] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:54:46 +01:00
Amine Khaldi c376b5acea [PSDK] Update wtsapi32.h. CORE-16441 2019-12-23 00:54:23 +01:00
Mark Jansen 0bd9535d4d
[CMAKE] Update baseaddresses 2019-12-22 15:38:36 +01:00
Mark Jansen c519650009
[SDK] Update the gen_baseaddress script
- Remove some debug leftovers
- Automatically write the correct file
2019-12-22 15:38:36 +01:00
Mark Jansen 0e7ab51875
[GEN_BASEADDRESS] Fix the script for python 3 and update *_pe.dll entries,
as hinted by hermes
2019-12-22 15:38:30 +01:00
Katayama Hirofumi MZ 5fbf239348
[GDI32_APITEST] Fix GetGlyphOutline testcase (#2163)
ROSTESTS-340
2019-12-22 22:59:22 +09:00
Eric Kohl b4777797aa [DNSAPI] Set proper record flags for query results and converted records 2019-12-22 14:40:18 +01:00
Eric Kohl 75f66049cf [IDL] Add missing acf files 2019-12-22 12:43:23 +01:00
Eric Kohl 6c7878f35e [DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable() 2019-12-22 11:21:04 +01:00
Eric Kohl 6499cf9e1a [DNSRSLVR] Set proper flags for the hosts file entries 2019-12-21 22:12:55 +01:00
Katayama Hirofumi MZ eba2d5d30a
[BOOTDATA][NTUSER] Fix GetSystemMetrics values (#2137)
Fix user32!GetSystemMetrics values. CORE-16547
SM_MENUDROPALIGNMENT and SM_CXSMSIZE
2019-12-21 22:38:49 +09:00
Mark Jansen 3d4a557db3 [ATL_APITEST] Fix CComVariant test 2019-12-21 12:44:48 +01:00
Timo Kreuzer 465745b683 [APITESTS] Improve and fix tests 2019-12-21 12:44:48 +01:00
Timo Kreuzer cd5cc017cb [PSDK] Add versionhelpers.h 2019-12-21 12:44:48 +01:00
Timo Kreuzer e6eec56a44 [PSDK] Add extern "C" for c++ code in mmddk.h 2019-12-21 12:44:48 +01:00
Timo Kreuzer 2dfa6f2979 [GDI32_APITEST] Remove duplicated test in Test_CreateBitmap 2019-12-21 12:44:48 +01:00
Timo Kreuzer 1131d90516 [NTDLL_APITEST] Remove duplicated test for RtlInitilizeBitMap 2019-12-21 12:44:48 +01:00
Timo Kreuzer 261e5a72cc [APITESTS] Add PROJECT(ApiTests) to get a separate VS solution file 2019-12-21 12:44:48 +01:00
Timo Kreuzer 88ab888f94 [TESTS] Instead of entirely skipping tests with ros_skip_flaky, only disable counting errors 2019-12-21 12:44:48 +01:00
Katayama Hirofumi MZ 2af9e7dfac
[USER32] Add ICO_ExtractIconExW RetPtr NULL check (#2149)
CORE-16557
2019-12-16 20:37:23 +09:00
Victor Perevertkin 23147330dd
[USBOHCI] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime 2019-12-16 03:21:28 +03:00
Victor Perevertkin 1d9e03b708
[KS] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
This avoids overflow when system time is changed between calls (for example, via NTP)
2019-12-16 02:28:41 +03:00
Eric Kohl 7908e2e41f [NETAPI32][WKSSVC] Implement NetGetJoinInformation using the workstation service 2019-12-15 19:53:23 +01:00
Eric Kohl d2540090d3 [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.
2019-12-15 18:21:11 +01:00
Hermès Bélusca-Maïto bfd8a84865
[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.
2019-12-15 03:37:52 +01:00
Hermès Bélusca-Maïto 67c9e81cb0
[BLUE] Use ExFreePoolWithTag(). 2019-12-15 03:36:24 +01:00
Hermès Bélusca-Maïto 45b655ec3a
[BLUE] Improve includes. 2019-12-15 03:36:21 +01:00
Hermès Bélusca-Maïto d684f90632
[BLUE] Code formatting, add SAL2 annotations, and update file source headers. 2019-12-15 03:36:17 +01:00
Doug Lyons c917c442ad [CONSRV] Fix for console windows shrinking on Minimize and Restore (#2014)
CORE-14200
2019-12-14 16:51:49 +01:00
Thomas Faber be617cf987
[ACPICA] Update to version 20191213. CORE-16559 2019-12-14 09:48:11 +01:00
Victor Perevertkin d495a4fceb
[MSI_WINETEST] Fix build with CMake 3.9.0 and higher (attempt #2) 2019-12-13 04:44:31 +03:00
Victor Perevertkin 7c474426eb
[MSI_WINETEST] Fix build with CMake 3.9.0 and higher 2019-12-13 04:15:57 +03:00
Bișoc George 14ebc0ba3d [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.
2019-12-12 08:25:55 +09:00
Bișoc George 8ec05f5fa1 [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
2019-12-12 08:24:20 +09:00
Serge Gautherie cfdd483c0e [VGA_NEW] Fix 2 'MAX_USHORT' typos in commented code (#2145) 2019-12-10 13:17:17 +01:00