Denis Malikov [Sun, 27 Jan 2019 16:30:37 +0000 (23:30 +0700)]
[APPCOMPAT] Run apps in compatibility with 6.1 SP1 (7 SP1), 6.2 (8) and 6.3 (8.1) (#1273)
Hermès Bélusca-Maïto [Sun, 27 Jan 2019 14:49:06 +0000 (15:49 +0100)]
[MOUNTMGR] Fix MSVC build after commit
53abbb06.
Katayama Hirofumi MZ [Sun, 27 Jan 2019 11:54:19 +0000 (20:54 +0900)]
[WIN32SS][NTGDI] Delete magic number 565
Katayama Hirofumi MZ [Sun, 27 Jan 2019 11:25:15 +0000 (20:25 +0900)]
[WIN32KNT_APITEST] Check bit pattern of pvBits (#1315)
CORE-15657
Thomas Faber [Sun, 27 Jan 2019 11:08:52 +0000 (12:08 +0100)]
[WIN32KNT_APITEST] Test large buffers without relying on stack layout. (#1314)
CORE-15657
Katayama Hirofumi MZ [Sun, 27 Jan 2019 08:44:34 +0000 (17:44 +0900)]
[WIN32SS][NTGDI] Fix NtGdiSetBitmapBits in buffer size (#1313)
Let NtGdiSetBitmapBits function fail if buffer size was greater than 564. CORE-15657
Katayama Hirofumi MZ [Sun, 27 Jan 2019 08:17:09 +0000 (17:17 +0900)]
[WIN32KNT_APITEST] NtGdiSetBitmapBits: Add tests for max buffer size 2 (#1312)
Improve NtGdiSetBitmapBits testcase again and again. CORE-15657
Katayama Hirofumi MZ [Sun, 27 Jan 2019 07:35:53 +0000 (16:35 +0900)]
[WIN32KNT_APITEST] NtGdiSetBitmapBits: Add tests for maximum buffer size (#1311)
Improve NtGdiSetBitmapBits testcase by adding tests for maximum buffer size. CORE-15657
Katayama Hirofumi MZ [Sun, 27 Jan 2019 07:11:23 +0000 (16:11 +0900)]
[WIN32SS][NTGDI] Alignment probe change in NtGdiSetBitmapBits (#1309)
Don't check WORD alignment in NtGdiSetBitmapBits to match Win2k3 behaviour. CORE-15657
Katayama Hirofumi MZ [Sun, 27 Jan 2019 06:51:33 +0000 (15:51 +0900)]
[WIN32SS][NTGDI] Improve UnsafeGetBitmapBits and NtGdiGetBitmapBits (#1308)
CORE-15657
Katayama Hirofumi MZ [Sun, 27 Jan 2019 06:32:52 +0000 (15:32 +0900)]
[WIN32SS][NTGDI] Fix UnsafeSetBitmapBits (#1310)
CORE-15657
Hermès Bélusca-Maïto [Sun, 27 Jan 2019 01:34:20 +0000 (02:34 +0100)]
[MOUNTMGR][MUP] Use global definition of INIT_FUNCTION/INIT_SECTION (Addendum to
71fefa32).
Hermès Bélusca-Maïto [Sun, 27 Jan 2019 00:44:21 +0000 (01:44 +0100)]
[MVDM] Use again the correct CMAKE_C_COMPILER to pre-process the ASM code (addendum to
09c06a2f).
Hermès Bélusca-Maïto [Sun, 20 Jan 2019 01:47:25 +0000 (02:47 +0100)]
[FREELDR] Re-integrate the ASM files (and corresponding C code) in MSVC builds, that were previously compiled just for GCC builds. (#1224)
- Multiboot support added back in FreeLdr MSVC builds so that it can be
booted using e.g. GRUB. See CORE-15563.
- Re-introduce the disk drive mapper code.
Hermès Bélusca-Maïto [Sat, 19 Jan 2019 22:28:17 +0000 (23:28 +0100)]
[FREELDR] Introduce a MSVC "linker script" file that centralizes the commands for defining section-limit symbols, and the ordering and merging of PE sections, and the necessary CMake code to use it. (#1224)
As the MSVC linker alone doesn't permit such control, the file uses
ASM language (C can alternatively be used), together with extra linker
command-line switches.
It is pre-processed 3 times: first for generating the ASM code, second
for the C code and the third time for generating the linker response
file.
In our case, the ASM code defines the __bss_start__ and __bss_end__
symbols that allow us to find the limits of the .bss section (which is
by the way automatically appended to the .data section by the MSVC linker).
The C code is used to specify the list of linker switches that can be
passed through the `#pragma comment(linker, ...)' directive (the can be
alternatively specified in the linker response section).
Finally the linker response section contains all the linker switches
that cannot be specified with the `#pragma comment(linker, ...)'
directive.
Using all this we can recycle the BSS initialization code, that has been
written originally for GCC only, also for the MSVC builds.
Also, remove the outdated .text16 section merging.
Hermès Bélusca-Maïto [Sun, 13 Jan 2019 00:56:19 +0000 (01:56 +0100)]
[FREELDR] Minor code maintenance.
- Whitespace;
- Explicitly use string pooling (option "/GF"), so that even if it's
used globally in the main ReactOS CMAKE file or not, we still have it
there, because we are quite size-constrained;
- Rename the source lists (OK, we understand it's _COMMON_ ...);
- Remove redundant double inclusion of linuxboot.c;
- In the 'freeldr_common' static library, compile the ASM code first.
Hermès Bélusca-Maïto [Sun, 13 Jan 2019 00:32:38 +0000 (01:32 +0100)]
[SDK/INCLUDE] Fix the .code16 macro definition for MASM/ML.
Modify the .code16 macro so that the 16-bit code segment can get a
chance to be correctly merged with other (possibly 32-bit) code
segments, without keeping generating multiple .text segments with
different attributes and generating the corresponding LNK4078 warning.
This fixes the warning when compiling NTOSKRNL on MSVC:
"v86.S.obj : warning LNK4078: multiple '.text' sections found with different attributes (
C0520040)".
Amine Khaldi [Sat, 26 Jan 2019 12:18:47 +0000 (13:18 +0100)]
[MSADP32.ACM] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:18:13 +0000 (13:18 +0100)]
[MSACM32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:17:35 +0000 (13:17 +0100)]
[MMDEVAPI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:17:08 +0000 (13:17 +0100)]
[MMDEVAPI] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:16:35 +0000 (13:16 +0100)]
[MLANG_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:15:35 +0000 (13:15 +0100)]
[MLANG] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:15:03 +0000 (13:15 +0100)]
[MCIWAVE] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:14:31 +0000 (13:14 +0100)]
[MAPI32_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:13:59 +0000 (13:13 +0100)]
[MAPI32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:13:30 +0000 (13:13 +0100)]
[LOCALUI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:12:47 +0000 (13:12 +0100)]
[JSPROXY] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:12:15 +0000 (13:12 +0100)]
[JSCRIPT_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:11:40 +0000 (13:11 +0100)]
[JSCRIPT] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:11:11 +0000 (13:11 +0100)]
[INETMIB1_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:10:33 +0000 (13:10 +0100)]
[INETCOMM] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:10:01 +0000 (13:10 +0100)]
[IMM32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:09:32 +0000 (13:09 +0100)]
[IMAADP32.ACM] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:08:54 +0000 (13:08 +0100)]
[IEFRAME] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:08:26 +0000 (13:08 +0100)]
[IMAGEHLP_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:07:54 +0000 (13:07 +0100)]
[ICCVID] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:07:24 +0000 (13:07 +0100)]
[HLINK_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:06:56 +0000 (13:06 +0100)]
[HLINK] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:06:23 +0000 (13:06 +0100)]
[HID_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Sat, 26 Jan 2019 12:05:48 +0000 (13:05 +0100)]
[HHCTRL] Sync with Wine Staging 4.0. CORE-15682
Katayama Hirofumi MZ [Sat, 26 Jan 2019 11:28:40 +0000 (20:28 +0900)]
[WIN32KNT_APITEST] Improve NtGdiSetBitmapBits testcase more and more (#1307)
CORE-15657
Katayama Hirofumi MZ [Sat, 26 Jan 2019 10:10:23 +0000 (19:10 +0900)]
[WIN32KNT_APITEST] NtGdiSetBitmapBits: Expand tabs to spaces (#1306)
Expand Tabs to Spaces in NtGdiSetBitmapBits testcase. Follow-up of #1304.
Katayama Hirofumi MZ [Sat, 26 Jan 2019 02:38:42 +0000 (11:38 +0900)]
[WIN32KNT_APITEST] Improve NtGdiSetBitmapBits more (#1304)
Add some tests. CORE-15657
Katayama Hirofumi MZ [Fri, 25 Jan 2019 14:00:35 +0000 (23:00 +0900)]
[WIN32KNT_APITEST] Fix NtGdiGetFontResourceInfoInternalW message
Amine Khaldi [Fri, 25 Jan 2019 12:23:03 +0000 (13:23 +0100)]
[GDIPLUS_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:22:24 +0000 (13:22 +0100)]
[PSDK] Update gdiplusflat.h. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:21:54 +0000 (13:21 +0100)]
[GDIPLUS] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:21:12 +0000 (13:21 +0100)]
[DNSAPI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:20:18 +0000 (13:20 +0100)]
[CRYPTUI] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:19:36 +0000 (13:19 +0100)]
[CRYPT32_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:19:03 +0000 (13:19 +0100)]
[CRYPT32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:18:23 +0000 (13:18 +0100)]
[PSDK] Update wincrypt.h. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:17:45 +0000 (13:17 +0100)]
[CREDUI] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:17:07 +0000 (13:17 +0100)]
[COMDLG32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:16:18 +0000 (13:16 +0100)]
[COMCTL32_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:15:42 +0000 (13:15 +0100)]
[PSDK] Update commctrl.h. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:15:06 +0000 (13:15 +0100)]
[CMD_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:14:32 +0000 (13:14 +0100)]
[AVIFIL32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:14:00 +0000 (13:14 +0100)]
[ATL100_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:13:28 +0000 (13:13 +0100)]
[ATL] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:12:55 +0000 (13:12 +0100)]
[ADVPACK] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:12:18 +0000 (13:12 +0100)]
[DMUSIC] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:11:40 +0000 (13:11 +0100)]
[DINPUT_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:11:07 +0000 (13:11 +0100)]
[DINPUT] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:10:23 +0000 (13:10 +0100)]
[D3DX9_*] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:09:38 +0000 (13:09 +0100)]
[D3DRM_WINETEST] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:09:01 +0000 (13:09 +0100)]
[D3DRM] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:08:25 +0000 (13:08 +0100)]
[D3DCOMPILER_43] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:07:47 +0000 (13:07 +0100)]
[WINHLP32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:07:01 +0000 (13:07 +0100)]
[EXTRAC32] Sync with Wine Staging 4.0. CORE-15682
Amine Khaldi [Fri, 25 Jan 2019 12:06:19 +0000 (13:06 +0100)]
[WMIC] Sync with Wine Staging 4.0. CORE-15682
Oleg Dubinskiy [Thu, 24 Jan 2019 17:02:50 +0000 (19:02 +0200)]
[TASKMGR] Fix IDS_MSG_WARNINGTERMINATING and IDS_MSG_WARNINGCHANGEPRIORITY dialogs size in Russian translation (#1300)
Katayama Hirofumi MZ [Thu, 24 Jan 2019 13:41:42 +0000 (22:41 +0900)]
[USER32] Make App Switcher use the owner window's icon (#1299)
CORE-15672
Katayama Hirofumi MZ [Thu, 24 Jan 2019 13:17:40 +0000 (22:17 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiEnumFontOpen testcase (#1285)
Use ok, ok_int and ok_ptr macros instead of obsolete TEST macros.
Katayama Hirofumi MZ [Wed, 23 Jan 2019 13:44:11 +0000 (22:44 +0900)]
[USER32] Fix AppSwitcher (Alt+Tab) (#1296)
CORE-15653
Bișoc George [Wed, 23 Jan 2019 12:28:56 +0000 (13:28 +0100)]
[OSK] Use Unicode functions explicitly (#1291)
Yaroslav Kibysh [Wed, 23 Jan 2019 12:24:40 +0000 (14:24 +0200)]
[NTOS:INBV] Fix the rotation line bitmap (#1295)
Joachim Henze [Tue, 22 Jan 2019 18:20:47 +0000 (19:20 +0100)]
[CDFS] Addendum to last commit CORE-15659
#endif placed wrong.
Thx Pierre Schweitzer, Thomas Faber, Serge Gautherie
Joachim Henze [Tue, 22 Jan 2019 17:49:51 +0000 (18:49 +0100)]
[CDFS] Make windows gcc release build compile, regression CORE-15659
Katayama Hirofumi MZ [Tue, 22 Jan 2019 14:01:08 +0000 (23:01 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiEngCreatePalette testcase (#1284)
Use ok and ok_long and ok_ptr macros instead of obsolete TEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:20:49 +0000 (21:20 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiDoPalette testcase (#1283)
Use ok, ok_int and ok_long macros instead of RTEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:17:58 +0000 (21:17 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiDeleteObjectApp testcase (#1282)
Use ok, ok_int and ok_long macros instead of obsolete TEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:12:19 +0000 (21:12 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetFontResourceInfoInternalW testcase (#1290)
Use ok macro instead of obsolete TEST macro.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:11:26 +0000 (21:11 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiExtTextOutW testcase (#1286)
Use ok_int macros instead of obsolete TEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:10:22 +0000 (21:10 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiFlushUserBatch testcase (#1287)
Use ok, ok_int, ok_long, and ok_ptr macros instead of TEST and ASSERT macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:07:18 +0000 (21:07 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetRandomRgn testcase (#1293)
Use ok_int and ok_long macros instead of obsolete TEST and RTEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 12:06:00 +0000 (21:06 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetDIBits testcase (#1289)
Use ok, ok_int and ok_long macros instead of obsolete RTEST and ASSERT macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 11:59:38 +0000 (20:59 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiCreateCompatibleDC testcase (#1281)
Use ok, ok_int and ok_ptr macros instead of obsolete TEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 11:52:25 +0000 (20:52 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiCreateBitmap testcase (#1280)
Use ok, ok_int, ok_long and ok_ptr macros instead of obsolete TEST macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 11:51:00 +0000 (20:51 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiBitBlt testcase (#1277)
Use `ok_int`, `ok_long` and `ok` macros instead of obsolete `TEST` and `TESTX` macros.
Katayama Hirofumi MZ [Tue, 22 Jan 2019 11:49:47 +0000 (20:49 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiCombineRgn testcase (#1279)
Use `ok_int` and `ok_long` macros instead of obsolete `TEST` macros.
Mark Jansen [Sun, 20 Jan 2019 19:34:57 +0000 (20:34 +0100)]
[USER32_APITEST] Show that scrollbars can be created when extra window data is requested.
Mark Jansen [Thu, 17 Jan 2019 23:07:23 +0000 (00:07 +0100)]
[WIN32SS] Require at least the amount of extra memory, not the exact amount
This fixes Civ II trying to create scrollbars based on 'native' scrollbars.
Pierre Schweitzer [Mon, 21 Jan 2019 20:27:50 +0000 (21:27 +0100)]
[SYSDM] Meh
Pierre Schweitzer [Mon, 21 Jan 2019 20:16:11 +0000 (21:16 +0100)]
[SYSDM] Update French translation
Mark Jansen [Sun, 13 Jan 2019 18:41:51 +0000 (19:41 +0100)]
[DBGHELP_APITEST] Skip the test when the function is not found
Andreas Maier [Fri, 28 Dec 2018 22:33:22 +0000 (23:33 +0100)]
[DBGHELP_APITEST] Add test for SymRegisterCallbackW64.
Katayama Hirofumi MZ [Mon, 21 Jan 2019 16:39:05 +0000 (01:39 +0900)]
[APITESTS][WIN32KNT_APITEST] Improve NtGdiArcInternal testcase (#1276)
Use ok_int() and ok_long() macros instead of obsolete TEST() macro.
Katayama Hirofumi MZ [Mon, 21 Jan 2019 16:38:20 +0000 (01:38 +0900)]
[APITESTS][WIN32KNT_APITEST] Use ok_long for NtGdiGetBitmapBits/NtGdiSetBitmapBits (#1275)