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
Mark Jansen [Sun, 6 Jan 2019 19:57:10 +0000 (20:57 +0100)]
[GDI32] Add missing dependency
Mark Jansen [Sun, 6 Jan 2019 01:24:42 +0000 (02:24 +0100)]
[WINSPOOL] Semi implement DocumentPropertiesW
CORE-15522
Mark Jansen [Sat, 29 Dec 2018 22:51:32 +0000 (23:51 +0100)]
[PRINTING] Semi-implement GetPrinterDriverW
CORE-15522
Mark Jansen [Sun, 6 Jan 2019 11:18:40 +0000 (12:18 +0100)]
[PRINTING] The first argument to PackStrings can be const.
Hermès Bélusca-Maïto [Sun, 6 Jan 2019 17:34:49 +0000 (18:34 +0100)]
[FREELDR] Minor code formatting; constify some non-mutable data.
Luo Yufan [Sun, 6 Jan 2019 15:35:11 +0000 (23:35 +0800)]
[TRANSLATION] Update Chinese translation. (#1223)
[CLIPBRD][SOLITAIRE][RAPPS][REGEDIT][WINHLP32][WORDPAD][FDEBUG][SYSDM][BROWSEUI][DEVMGR][IEFRAME][OLEDLG][SHELL32][SYSSETUP][INF][WINFILE][NTVDM][USER32]
Pierre Schweitzer [Sun, 6 Jan 2019 12:00:43 +0000 (13:00 +0100)]
[NTOSKRNL] Fix !irpfind usage message
Pierre Schweitzer [Sun, 6 Jan 2019 11:58:14 +0000 (12:58 +0100)]
[NTOSKRNL] Properly check for address validity in !poolfind
Pierre Schweitzer [Sun, 6 Jan 2019 11:49:57 +0000 (12:49 +0100)]
[NTOSKRNL] Reimplement !irpfind using !poolfind helpers
This allows avoiding one of the previous implementation limits:
leaked IRP not queued to a thread are now totally visible since
we look directly in the memory pool.
Pierre Schweitzer [Sun, 6 Jan 2019 10:54:05 +0000 (11:54 +0100)]
[NTOSKRNL] Implement !poolfind command in KDBG
For now, it allows searching for pool allocations in
both paged and non paged pool.
It is based on Andreas Schuster work to identify POOL_HEADER
structures.
Baruch Rutman [Sat, 20 Oct 2018 08:53:14 +0000 (11:53 +0300)]
[NTUSER] Fix SetProcessDefaultLayout() (#1013)
- Add a check in co_UserCreateWindowEx() for parentless windows,
that checks the default layout direction; if it's LAYOUT_RTL
add the WS_EX_LAYOUTRTL flag to the extended window styles.
- Make the internal routine accepting also LAYOUT_LTR as a value for SetProcessDefaultLayout().
Limit receiving value to LAYOUT_ORIENTATIONMASK (and not just LAYOUT_RTL)
or LAYOUT_LTR, as per written in:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setprocessdefaultlayout
Now all the applications that call SetProcessDefaultLayout() to mirror the layout get mirrored.
This is based on Wine.
Katayama Hirofumi MZ [Sun, 6 Jan 2019 01:43:34 +0000 (10:43 +0900)]
[FONT][GDI32] Fix font enumeration functions (#1221)
Fix EnumFonts, EnumFontFamilies and EnumFontFamiliesEx functions.
The charsets of the font substitutes are also enumerated.
Delete meaningless codes. CORE-15558
Katayama Hirofumi MZ [Sun, 6 Jan 2019 00:12:00 +0000 (09:12 +0900)]
[GDI32_APITEST] Improve CreateFontIndirect testcase
Hermès Bélusca-Maïto [Sat, 5 Jan 2019 18:25:35 +0000 (19:25 +0100)]
[FREELDR] Simplify code by using a AddReactOSArcDiskInfo() helper, and few extra additions.
- Introduce the AddReactOSArcDiskInfo() helper to get rid of the
duplicated reactos_arc_disk_info usage scattered amongst different
files.
- GetHarddiskInformation(): If we cannot read the disk that has been
enumerated by the BIOS, return a default identifier string.
- GetHarddiskInformation(): The last character of the disk identifier
string corresponds to whether its MBR is "valid"/has the 0xAA55
signature (use 'A') or whether it's not (use 'X'). Tested on Windows.
- Split PcInitializeBootDevices() in two: the first part of this
function that enumerates hard disks from the BIOS is now moved into
EnumerateHarddisks().
- The 'ValidPartitionTable' field of the ARC disk signature records must
be initialized with correct value that is specified in the different
AddReactOSArcDiskInfo() calls.
Denis Malikov [Sun, 18 Nov 2018 14:32:13 +0000 (21:32 +0700)]
[KERNEL32] make some NLS and Format functions work. Wine-sync with latest version
Hermès Bélusca-Maïto [Sat, 5 Jan 2019 15:36:30 +0000 (16:36 +0100)]
[WIN32SS:NTUSER] Completely update the metrics in co_IntInitializeDesktopGraphics().
This change is similar to what is done in UserChangeDisplaySettings()
after changing screen video mode.
This allows e.g. having windows to be correctly maximized during
2nd-stage GUI setup. To compare and reproduce during 2nd-stage GUI
setup, open cmd.exe (Shift-F10) and from there a GUI app, e.g.
regedit.exe, and maximize it. Observe the limits used by the window.
David Quintana [Sat, 5 Jan 2019 14:44:16 +0000 (15:44 +0100)]
Resource file strings cleanup (#581)
[CMDUTILS/AT] Fix missing translation strings in certain files.
[NOTEPAD] Fix SUBLANG code to brazillian.
[RAPPS] Fix missing translation strings in certain files.
[FDEBUG] Fix translation string ID.
[CPL/INPUT] Fix missing translation strings in certain files.
[ACPPAGE] Fix incorrect resource IDs.
[NETSHELL] Fix incorrect resource IDs.
[DEVMGR] Fix missing translation strings in certain files.
[LSASRV] Fix missing translation strings in certain files.
[RASDLG] Fix missing translation strings in certain files.
[SHELL32] Fix missing translation strings and incorrect resource IDs.
[TAPIUI] Fix missing translation strings in certain files.
[WINFILE] Fix incorrect resource IDs.
[NTVDM] Fix missing translation strings in certain files.
[USERSRV] Fix missing translation strings in certain files.
[BROWSEUI] One more missing string.
[FLTMC] Fix missing translation strings in certain files.
Detected using the TransDiffer tool (early alpha).
This doesn't include everything anymore, but I wanted to get the PR out of the way.
Mark Jansen [Fri, 4 Jan 2019 20:55:38 +0000 (21:55 +0100)]
[SDK] Reset InDbgPrint state when an exception occurs
Previously this would not get reset, and all debug prints from the
current thread would be muted.
Eric Kohl [Sat, 5 Jan 2019 13:54:40 +0000 (14:54 +0100)]
[NET] Implement the /add and /del options of the computer command.
Bișoc George [Sat, 5 Jan 2019 13:54:57 +0000 (14:54 +0100)]
[VCDCONTROLTOOL] Implement Romanian & Italian translations (#1218)
Denis Malikov [Sun, 18 Nov 2018 17:02:22 +0000 (00:02 +0700)]
[MSVCRT] export _except_handler4_common
Serge Gautherie [Sat, 22 Dec 2018 01:12:46 +0000 (02:12 +0100)]
[LOG2LINES] Use translate_line() for command line input too
NB: Last step would be to re-use translate_files()...
Andrew Boyarshin [Mon, 26 Nov 2018 12:50:40 +0000 (19:50 +0700)]
[NTDLL][RTL] Implement RtlGetFullPathName_UEx
Mark Jansen [Thu, 3 Jan 2019 21:17:54 +0000 (22:17 +0100)]
[APPHELP] Prevent a nullptr dereference
Mark Jansen [Thu, 3 Jan 2019 21:17:01 +0000 (22:17 +0100)]
[SHIMENG] Prevent a nullptr dereference
Mark Jansen [Thu, 3 Jan 2019 21:11:13 +0000 (22:11 +0100)]
[APPCOMPAT] Move sdbtagid.h and sdbtypes.h to a shared location
Mark Jansen [Thu, 22 Nov 2018 23:18:17 +0000 (00:18 +0100)]
[SHIMENG] Ignore shims that are loading
Mark Jansen [Thu, 22 Nov 2018 23:08:58 +0000 (00:08 +0100)]
[APPHELP] Fix a typo in the logging