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)
Jérôme Gardou [Mon, 21 Jan 2019 08:35:20 +0000 (09:35 +0100)]
[NTOS/KE] Add diagnosis DPRINT for CORE-15642
Eric Kohl [Sun, 20 Jan 2019 23:25:17 +0000 (00:25 +0100)]
[MMSYS] Set the tab title, implement the 'restore defaults' button and the synchronized trackbar movement.
Eric Kohl [Sun, 20 Jan 2019 20:59:45 +0000 (21:59 +0100)]
[MMSYS] Improvements to the speaker volume property page
- Open a separate mixer instance for the page, so that MM_MIXM_CONTROL_CHANGE notifications can be received.
- Keep line and channel configurations in a global struct.
- Handle MM_MIXM_CONTROL_CHANGE and WM_HSCROLL notifications.
Bișoc George [Sun, 20 Jan 2019 18:58:26 +0000 (19:58 +0100)]
[NOTEPAD] Fix "Save As" dialog resource (#1272)
Fix the placement of the "Encoding" and "Endlines" selection controls.
CORE-15596
Stanislav Motylkov [Sun, 20 Jan 2019 16:55:45 +0000 (19:55 +0300)]
[WINMM] Load Wave/MIDI mapper drivers only after actual device drivers (#1241)
CORE-15620
Pierre Schweitzer [Sun, 20 Jan 2019 16:32:48 +0000 (17:32 +0100)]
[MOUNTMGR] Misc. fixes to QueryDeviceInformation:
- Simplify failure path for DeviceName query failure
- Don't make stable query failure fail the whole function call
Based on a patch by Vadim Galiant
CORE-15550
Eric Kohl [Sun, 20 Jan 2019 15:35:52 +0000 (16:35 +0100)]
[MMSYS] Replaces some magic values
Eric Kohl [Sun, 20 Jan 2019 14:57:34 +0000 (15:57 +0100)]
[MMSYS] Add the speaker volume dialog.
Retrieve information on the channels and initialize the trackbars accordingly.
Timo Kreuzer [Sun, 20 Jan 2019 14:58:32 +0000 (15:58 +0100)]
[ROSTESTS] Fix 64bit issues (#1261)
Katayama Hirofumi MZ [Sun, 20 Jan 2019 14:11:54 +0000 (23:11 +0900)]
[WIN32SS][NTUSER] Fix caret position of Ghostscript (#1271)
CORE-13934, CORE-15656
Pierre Schweitzer [Sun, 20 Jan 2019 10:09:54 +0000 (11:09 +0100)]
[MDI] Fix GCC build
Pierre Schweitzer [Sun, 20 Jan 2019 10:06:42 +0000 (11:06 +0100)]
[BUTTERFLIES] Fix GCC build
Thomas Faber [Sat, 19 Jan 2019 10:26:39 +0000 (11:26 +0100)]
[NTOS:KE] Remove unnecessary breakpoint in KiRaiseException. CORE-15640
Timo Kreuzer [Sun, 20 Jan 2019 08:04:58 +0000 (09:04 +0100)]
[ROSAPPS] Fix 64 bit issues
Denis Malikov [Sat, 19 Jan 2019 22:05:19 +0000 (05:05 +0700)]
[WIN32SS:NTUSER] Fix Window-snap madness (#1246)
Desktop window was treated as possible to resize.
Fix for
7e396787
CORE-15624
Stanislav Motylkov [Sat, 19 Jan 2019 21:48:22 +0000 (00:48 +0300)]
[WINMM:MIDIMAP] Support Windows XP compatible MIDIMap registry setting (#1240)
CORE-15602
Yaroslav Kibysh [Sat, 19 Jan 2019 17:44:13 +0000 (19:44 +0200)]
[USETUP] Implement handling Home/End keys in Boot Loader Page (#1265)
Katayama Hirofumi MZ [Sat, 19 Jan 2019 14:56:33 +0000 (23:56 +0900)]
[WIN32SS][NTUSER] Refactor PR #1226 (#1266)
Refactoring of #1226. CORE-12845
Jérôme Gardou [Tue, 15 Jan 2019 16:25:05 +0000 (17:25 +0100)]
[OPENGL32] Fix wglChoosePixelFormat
Not asking for a feature is not asking not to have it.
Jérôme Gardou [Thu, 22 Nov 2018 17:18:05 +0000 (18:18 +0100)]
[APITESTS] Add tests for opengl32.dll
Ensure that our SW implementation exposes the same extensions and the same pixel formats than windows.
Jérôme Gardou [Wed, 12 Dec 2018 21:35:14 +0000 (22:35 +0100)]
[PSDK] Add PFD_SUPPORT_COMPOSITION definition
Jérôme Gardou [Mon, 10 Dec 2018 17:04:20 +0000 (18:04 +0100)]
[OPENGL32][MESA] Downgrade Mesa library to version 2.6
With this commit, we now use a forked version of MESA which only supports OpenGL 1.1, like the windows implementation does.
It exposes :
- The same pixel formats
- The same set of extensions
- Nothing more
All of this without taking 10% of your build time.
If you need a more modern option, look at the MESA package from Rapps, which is (and must be) maintained outside of this code tree.
CORE-7499
Jérôme Gardou [Sat, 19 Jan 2019 10:19:00 +0000 (11:19 +0100)]
[SDK] Provide .const macro for gas
Timo Kreuzer [Sat, 19 Jan 2019 12:38:24 +0000 (13:38 +0100)]
[NTOS] Turn broken assert into DPRINT
Timo Kreuzer [Fri, 18 Jan 2019 21:11:43 +0000 (22:11 +0100)]
[NTOS:Mm] Rewrite MiWriteProtectSystemImage (#749)
* The previous version was overcomplicated and broken and therefore disabled.
* The new version also enforces NX protection on x64.
* Now that protecting works, also protect the boot loaded images.
Katayama Hirofumi MZ [Fri, 18 Jan 2019 03:11:53 +0000 (12:11 +0900)]
[USER32_APITEST] Improve GetMessageTime tests more (#1254)
Compare GetMessageTime and GetTickCount values.
CORE-15565
Yaroslav Kibysh [Thu, 17 Jan 2019 19:45:40 +0000 (21:45 +0200)]
[NTOS:INBV] Update the boot screen's rotation bar's image (#1256)
Make it smoother than what it currently is.
Katayama Hirofumi MZ [Thu, 17 Jan 2019 00:31:35 +0000 (09:31 +0900)]
[USER32_APITEST] Improve GetMessageTime tests
Katayama Hirofumi MZ [Wed, 16 Jan 2019 12:12:59 +0000 (21:12 +0900)]
[WIN32SS][NTUSER] Fix PostTimeMessage message time
Katayama Hirofumi MZ [Wed, 16 Jan 2019 13:37:14 +0000 (15:37 +0200)]
[USER32_APITEST] Add tests for GetMessageTime
Jared Smudde [Wed, 16 Jan 2019 11:53:00 +0000 (05:53 -0600)]
[MMSYS] Set the initial media folder location. (#1248)
Serge Gautherie [Wed, 16 Jan 2019 11:51:49 +0000 (12:51 +0100)]
[SHELL32] CDefView: Remove a remnant string part (#1250)
Addendum to
9ae373a.
Thomas Faber [Sat, 1 Dec 2018 19:57:10 +0000 (20:57 +0100)]
[MSXML3] Handle libxml2 API breakage. CORE-15280
Imports Wine commit
2a8719d280c.
Thomas Faber [Sat, 5 Jan 2019 17:34:29 +0000 (18:34 +0100)]
[LIBXSLT] Update to version 1.1.33. CORE-15280
Thomas Faber [Sat, 1 Dec 2018 10:57:57 +0000 (11:57 +0100)]
[LIBXML2] Update to version 2.9.8. CORE-15280
Mark Jansen [Wed, 16 Jan 2019 02:39:27 +0000 (03:39 +0100)]
[CTM] Add a visual indication to show there are more processes (#1222)
Pierre Schweitzer [Tue, 15 Jan 2019 21:07:35 +0000 (22:07 +0100)]
[NTOSKRNL] Add support for callback when enumerating large pool allocations
Denis Malikov [Tue, 15 Jan 2019 13:36:41 +0000 (20:36 +0700)]
[WIN32SS:NTUSER] Implement "Window Snap" feature (#1226)
Implemented the following actions: stick the window on the left/right or maximize it,
with the following shortcuts:
- Win key + Arrows;
- drag to left/right screen border;
- double-click on top/bottom.
CORE-12845
Stanislav Motylkov [Sat, 12 Jan 2019 19:48:07 +0000 (22:48 +0300)]
[MMSYS] Properly save Audio/MIDI In/Out in the registry
CORE-15582
Mark Jansen [Mon, 14 Jan 2019 20:49:59 +0000 (21:49 +0100)]
[SHELL32] CDefView: Find a reasonable place to show a context menu
Previously, we would treat the input as unsigned coordinates, this is wrong!
If the coordinates are invalid, we try to find a focused or selected item.
The center of this item is where we'll show the menu.
When there is no item, we default to 0,0
Mark Jansen [Mon, 14 Jan 2019 19:50:37 +0000 (20:50 +0100)]
[ATL] Add GET_X_LPARAM and GET_Y_LPARAM to atlwin.h
Remove all local definitions
Mark Jansen [Mon, 14 Jan 2019 19:49:23 +0000 (20:49 +0100)]
[WIN32K:NTUSER] Fix a case where the menu was off-screen on the other side
Found by Denis Malikov
CORE-15001
CORE-9037
Katayama Hirofumi MZ [Tue, 15 Jan 2019 11:32:23 +0000 (20:32 +0900)]
[WIN32SS][USER32] Make IsHungAppWindow check FNID (#1245)
CORE-11944
Katayama Hirofumi MZ [Tue, 15 Jan 2019 10:40:34 +0000 (19:40 +0900)]
[WIN32SS][USER32] Ghost is a hung window (#1244)
IsHungAppWindow(a ghost window) == TRUE. CORE-11944
Colin Finck [Tue, 15 Jan 2019 08:37:54 +0000 (09:37 +0100)]
[DOXYGEN] Update Doxyfile for our build of Doxygen 1.8.15.
Katayama Hirofumi MZ [Tue, 15 Jan 2019 04:45:28 +0000 (13:45 +0900)]
[WIN32SS][NTUSER] Don't freeze Task Bar in switching the app (#1243)
This avoids taskbar hung up.
Eric Kohl [Sun, 13 Jan 2019 22:19:25 +0000 (23:19 +0100)]
[MMSYS] Move global variables into a GLOBAL_DATA struct and free allocated memory on WM_DESTROY.
Denis Malikov [Sun, 13 Jan 2019 17:57:50 +0000 (00:57 +0700)]
[TASKMGR] adjust widths for status bar parts
Now "commit charge" not clipped
Stanislav Motylkov [Sun, 13 Jan 2019 18:13:20 +0000 (21:13 +0300)]
[MMSYS] Add icons for the sound tree (#1235)
CORE-15584
Denis Malikov [Sun, 13 Jan 2019 15:55:45 +0000 (22:55 +0700)]
[COMCTL32] add padding for status bar text
Joachim Henze [Sun, 13 Jan 2019 16:14:41 +0000 (17:14 +0100)]
[GDIPLUS] Fix a regression painting gradient CORE-15479
patch is import of Wine commit
0937186f7d15fed60f77fa2014d650f4d0b6b20b
by Nikolay Sivov
Eric Kohl [Sun, 13 Jan 2019 14:38:06 +0000 (15:38 +0100)]
[MMSYS] Fix the main volume trackbar
- Increase the height of the trackbar in order to make it fully visible.
- Remove the selection range code.
- Set a range from 0 to 500 and fix the volume calculations accordingly.
- Set a tick frequency of 50 and a page size of 100.
- Play the default sound on TB_ENDTRACK notifications.
Eric Kohl [Sun, 13 Jan 2019 13:05:00 +0000 (14:05 +0100)]
[MMSYS] Play default sound when the volume trackbar is released.
This works on Windows XP but it might not work on ReactOS because of unimplemented features of PlaySound().
Eric Kohl [Sat, 12 Jan 2019 21:11:37 +0000 (22:11 +0100)]
[MMSYS] Replace the sound event list ListView by a TreeView.
CORE-15584
Extravert-ir [Sun, 13 Jan 2019 00:01:31 +0000 (03:01 +0300)]
[HALX86] Removed reduntant INIT_FUNCTION attribute from HalpGetSystemInterruptVector. (#1234)
This fixes livecd crashes started since
71fefa32db013317842fd9224b63bcf5f72f2e32.
Stanislav Motylkov [Sat, 12 Jan 2019 20:18:10 +0000 (23:18 +0300)]
[MMSYS] Fix tab-stop for group controls and comboboxes (#1231)
CORE-15581
Hermès Bélusca-Maïto [Sat, 12 Jan 2019 15:57:51 +0000 (16:57 +0100)]
[CMAKE] MSVC cmake settings improvements.
- Always use string pooling when building: this helps reducing the
size of the binaries due to string redundancy coming from the usage
of __FILE__ / __RELFILE__ in the debugging helper macros. Note also
that GCC builds use string pooling by default.
- Use suitable add_compile_flags() command.
- Add some explanative comments for some settings.
Some numbers (obtained with my local builds):
Before / After => Reduction
===========================
freeldr.sys : 443 KB ( 453.632 bytes) / 364 KB ( 372.736 bytes) => ~ 18%
win32k.sys : 1877 KB (1.922.048 bytes) / 1562 KB (1.599.488 bytes) => ~ 17%
ntoskrnl.exe : 2253 KB (2.307.072 bytes) / 1902 KB (1.947.136 bytes) => ~ 15.6%
kernel32.dll : 3008 KB (3.080.192 bytes) / 2906 KB (2.975.744 bytes) => ~ 3.4%
Thomas Faber [Sat, 12 Jan 2019 12:24:57 +0000 (13:24 +0100)]
[ACPICA] Update to version
20190108. CORE-15593
Thomas Faber [Sat, 12 Jan 2019 12:21:22 +0000 (13:21 +0100)]
[ACPICA] Update to version
20181213. CORE-15593
Thomas Faber [Sat, 12 Jan 2019 15:25:52 +0000 (16:25 +0100)]
[FASTFAT] Avoid a use after free in VfatCloseFile.
Thomas Faber [Sat, 12 Jan 2019 15:25:34 +0000 (16:25 +0100)]
[FASTFAT] Avoid a use after free in VfatCheckForDismount.
Thomas Faber [Sat, 12 Jan 2019 11:58:21 +0000 (12:58 +0100)]
[LIBPNG] Update to version 1.6.36. CORE-15280
Stanislav Motylkov [Fri, 11 Jan 2019 09:59:37 +0000 (12:59 +0300)]
[MMSYS] Properly select current MIDI output device
CORE-15582
Giannis Adamopoulos [Thu, 10 Jan 2019 21:35:56 +0000 (23:35 +0200)]
[COMCTL32] button: Don't erase the area of the checkbox or the text.
Attempt to fix the menace of the world, CORE-13278.
Note that this can also cause visual glitches for classic check boxes or radio buttons.
Mark Jansen [Wed, 9 Jan 2019 21:27:41 +0000 (22:27 +0100)]
[WIN32K:NTUSER] Find a better position for a menu that is off-screen
Previously, we would just stick the menu on the edge of the screen.
We should actually try to flip the menu around the point of origin,
and only when that fails move it to the edge of the screen.
CORE-15001
CORE-9037
Denis Malikov [Sat, 8 Dec 2018 18:36:41 +0000 (01:36 +0700)]
[MSVCRT] export _local_unwind4 for 6.0+ version
Stanislav Motylkov [Thu, 10 Jan 2019 02:33:46 +0000 (05:33 +0300)]
[SYSSETUP] Add spec definition for SetupInfObjectInstallActionW (#1228)
CORE-9897
Thomas Faber [Sat, 5 Jan 2019 10:14:58 +0000 (11:14 +0100)]
[MBEDTLS] Update to version 2.7.9. CORE-15280
Thomas Faber [Sun, 30 Sep 2018 14:09:26 +0000 (16:09 +0200)]
[KMTESTS:EX] Add a test that triggers big pool expansion. CORE-15051
Thomas Faber [Sat, 15 Sep 2018 10:27:08 +0000 (12:27 +0200)]
[NTOS:MM] Implement big pool table expansion. CORE-15051
Andrew Boyarshin [Sun, 25 Nov 2018 07:45:49 +0000 (14:45 +0700)]
[SPEC2DEF] Fix compilation of generated stub C files with int64 parameters
Luo Yufan [Tue, 8 Jan 2019 12:42:17 +0000 (20:42 +0800)]
[TRANSLATION] Update Chinese translation. (#1227)
Update Chinese and Traditional Chinese translations.
Thomas Faber [Tue, 8 Jan 2019 10:26:26 +0000 (11:26 +0100)]
[WIN32K:NTUSER] Avoid dereferencing a null pointer in NC_DoNCPaint. CORE-15569
Pierre Schweitzer [Tue, 8 Jan 2019 07:42:51 +0000 (08:42 +0100)]
[NTOSKRNL] Add support for large allocations in !poolfind
Pierre Schweitzer [Mon, 7 Jan 2019 07:41:36 +0000 (08:41 +0100)]
[NTOSKRNL] In !irpfind, add info about current stack major/minor
Eric Kohl [Mon, 7 Jan 2019 21:45:33 +0000 (22:45 +0100)]
[KERNEL32] GetComputerNameExW: Fix crash in kernel32_winetest environ test
Giannis Adamopoulos [Mon, 7 Jan 2019 09:38:42 +0000 (11:38 +0200)]
[UXTHEME] Fix a series of problems regarding ThemeCalculateCaptionButtonsPos
Only call it when needed. Also make it fail properly if the window theme could not be opened.
CORE-15564
Pierre Schweitzer [Sun, 6 Jan 2019 22:21:20 +0000 (23:21 +0100)]
[NTOSKRNL] Misc fixes to !irpfind
Pierre Schweitzer [Sun, 6 Jan 2019 21:49:23 +0000 (22:49 +0100)]
[NTOSKRNL] Move KDBG MM functions implementation to their own file