Commit graph

87438 commits

Author SHA1 Message Date
Katayama Hirofumi MZ
92ff994cc2
[SDK][USER32_APITEST] Update <msgdump.h> (#8099)
JIRA issue: N/A
- Replace MSGDUMP_TPRINTF with
  MSGDUMP_PRINTF and use ANSI for
  strings. Now, we can use printf-
  compatible function for dump.
- Fix some mistakes.
- Adapt user32_apitest
  MessageStateAnalyzer to these
  changes.
2025-06-08 14:10:22 +09:00
Katayama Hirofumi MZ
87f4b28b99 [NTUSER][FORMATTING] NtUserTrackPopupMenuEx: Just formatting
for #8094. CORE-3247
2025-06-08 07:48:41 +09:00
Timo Kreuzer
c129b6d921 [COMPILER_APITEST] Disable some tests for GCC
We cannot fix these, since GCC inlines the conversion.
2025-06-07 15:53:51 +00:00
Whindmar Saksit
4b87ae3dca
[SHLEXTDBG] Added more SEI flags (#8091) 2025-06-07 16:54:29 +02:00
Katayama Hirofumi MZ
901af6a681 [SENDMAIL] Add 'override' keywords
to CDeskLinkDropHandler. CORE-19469
2025-06-07 11:24:40 +09:00
Katayama Hirofumi MZ
99ddf459e0 [MYDOCS] Add 'override' keywords
to CMyDocsDropHandler.
JIRA issue: CORE-19469
2025-06-07 11:22:06 +09:00
Katayama Hirofumi MZ
7cf1e01cd4
[SDK][MSUTB] Move WM_IME_SYSTEM to <imm32_undoc.h> (#8093)
Defining macros in proper place will improve header
compatibility.
JIRA issue: CORE-19268
- Move WM_IME_SYSTEM macro in <undocuser.h>
  into <imm32_undoc.h>.
- Move IMS_... macros in <immdev.h> into
  <imm32_undoc.h>.
- Include <imm32_undoc.h> in base/ctf/msutb.
2025-06-07 07:52:05 +09:00
Katayama Hirofumi MZ
2335229c32
[USER32][IMM32][SDK] Support WM_IME_SYSTEM.0x1D (#8088)
Splitted from #8080. The message
handling of WM_IME_SYSTEM.0x1D
is needed for IME menu handling.
JIRA issue: CORE-20142
- Define IMS_IMEMENUITEMSELECTED
  (0x1D) in <immdev.h>.
- Add WM_IME_SYSTEM.0x1D handling
  in ImeWnd_OnImeSystem function.
- Rename and extend
  User32GetImmFileName function as
  User32GetSystemFilePath, with
  adding a filename parameter.
2025-06-07 06:51:46 +09:00
Katayama Hirofumi MZ
5b4d1dbd4b
[NTUSER] IntTrackPopupMenuEx: Check TPMPARAMS.cbSize (#8092)
Validate structure size.
JIRA issue: CORE-3247
- In IntTrackPopupMenuEx function,
  if lpTpm was non-NULL, then
  validate lpTpm->cbSize.
- If validation failed, then set last
  error and return FALSE.
2025-06-06 22:37:27 +09:00
Katayama Hirofumi MZ
6dd04063ba
[KBSWITCH] Rename kbsdll.dll as indicdll.dll (#8087)
Splitted from #8080. We have confirmed usage of the
name of "indicdll.dll" in user32.dll, in #8080. So, we
have to rename kbsdll.dll as "indicdll.dll".
JIRA issue: CORE-20142
2025-06-05 07:24:19 +09:00
Stanislav Motylkov
21d02b8266 [KMTESTS] Allocate buffer for the test list dynamically
Fixes broken test list output.
Addendum to 7c3a119d6d. CORE-20078
2025-06-04 22:04:03 +02:00
Hermès Bélusca-Maïto
fbd676f4c9
[WINLOGON] Register hotkeys for 'Lock Workstation' and 'Accessibility' (UtilMan) (#8083)
- The hotkeys are respectively: Win+L and Win+U .
- Use instead the hotkey IDs in the WM_HOTKEY handler.
2025-06-04 16:44:44 +02:00
Serge Gautherie
dfe30e58c0
[ROSAPPS:SYSUTILS] Remove remnant config.h (#8075)
- `REACTOS_NO_SECURITY_SS`
Added on 9ef17ea (r475), without being used.
Not currently used either.

- `FMIFS_IMPORT_DLL`
Now lives in the 2 /base programs which use it.
Addendum to (probably earlier than) 9723b5e (r70868) and dc17af9 (r70916).
2025-06-04 16:25:35 +02:00
Hermès Bélusca-Maïto
273b4c8702
[WIN32SS:NTUSER] Minor code cleanup in hotkey code (#8084)
- Remove duplicated code in NtUserRegisterHotKey() and in
  NtUserUnregisterHotKey() by directly calling UserRegisterHotKey()
  and UserUnregisterHotKey() after the usual user-validation steps.

- In UserRegisterHotKey(), ignore hotkeys with virtual key VK_PACKET
  since this is not a real keyboard input, but is instead used in
  conjunction with unicode characters to simulate keystrokes for
  non-keyboard input methods.

- s/StartDebugHotKeys/SetDebugHotKeys/

- Remove duplicate code between NtUserCallMsgFilter() and IntCallMsgFilter().
2025-06-04 14:26:34 +02:00
Dmitry Borisov
7c3a119d6d [KMTESTS:HAL] Add a test for string I/O intrinsic functions
CORE-20078
2025-06-04 10:52:34 +03:00
Dmitry Borisov
4a3a446ba7 [KMTESTS] Add the ability to detect a virtual machine
This allows the tests to interact directly with hardware
CORE-20078
2025-06-04 10:52:34 +03:00
Katayama Hirofumi MZ
18290a7b6b [KBSWITCH] Follow-up of #8039
JIRA issue: CORE-18546
2025-06-04 15:13:15 +09:00
Katayama Hirofumi MZ
7d8d8a6e52
[USER32_APITEST] Add MenuUI testcase (#8066)
Verifying menu behavior.
JIRA issue: CORE-5065
JIRA issue: CORE-10829
JIRA issue: CORE-11756
- Add user32_apitest_menuui sub
  program for MenuUI testcase.
- Add MenuUI testcase.
2025-06-04 05:56:01 +09:00
Katayama Hirofumi MZ
67a4cf93be
[NTUSER] ime.c: Add SAL2 annotations and tracing (#8070)
Refactoring and improving trace.
JIRA issue: CORE-19455
- Add SAL2 annotations to
  function parameters.
- Add and improve tracing
  (TRACE and ERR) for easier
  debugging.
2025-06-04 05:47:54 +09:00
Carl J. Bialorucki
0947a64a90
[GDI32_APITEST] Fix test on all versions of Windows at certain vertical resolutions (#8048)
* Use MulDiv to generate the result and negate that instead of dividing by a negative number, which can cause test failures.
2025-06-03 14:08:03 -06:00
Hervé Poussineau
aa0089a3ec [DXDIAG] Rework display enumeration, to use DirectDrawEnumerateEx
We can now get a device GUID by display, which is given to DirectDrawCreate.
2025-06-03 21:35:59 +02:00
Hervé Poussineau
343d1d4873 [DXDIAG] Add a GUID field to DXDIAG_DISPLAY, and give it to DirectDrawCreate
Currently, this GUID is always NULL.
2025-06-03 21:34:56 +02:00
Hervé Poussineau
6f47c884d5 [DXDIAG] Add a structure to contain all data related to one display
Also change user pointer of display page to be the PDXDIAG_DISPLAY structure.
2025-06-03 21:34:56 +02:00
Whindmar Saksit
4f7736a088
[SHELL32] Implement single-click mode in DefView (#8054) 2025-06-03 20:39:38 +02:00
Daniel Victor
22d077f9f1
[FREELDR] Make the NTFS filename comparison conforming to NTLDR/BOOTMGR (#8021)
When an NTFS partition is created with Windows and modified with Linux
(see below), the NTLDR/BOOTMGR will compare the file names ignoring the
case of the files, while FreeLdr does not and the same hack is on Btrfs
file name comparison.

This PR is necessary because the case of the file names on registry, etc.
may not always be consistent!

How to reproduce:
- Try to install Windows with NTFS and install FreeLdr on it;
- Try to modify Windows partition on Linux like creating/copying some new files;
- Try to boot with FreeLdr (it will fail if the hive file path case is different
  than the actual file path);
- Try to boot with NTLDR/BOOTMGR (it will work finally reaching the desktop).
2025-06-03 16:47:15 +02:00
Katayama Hirofumi MZ
2ab01e7302
[SHELL32_APITEST] Add shell32_apitest_sub dependency (#8077)
Improve shell32_apitest build.
JIRA issue: N/A
Add dependency to shell32_apitest_sub.
2025-06-03 23:22:06 +09:00
Katayama Hirofumi MZ
d80fdbe146
[IMM32][SDK] Refactor IMM32 and fix annotations (#8071)
Fix annotations' mistakes. Improve debug output.
JIRA issue: CORE-19268
- Fix some SAL annotations.
- Use debugstr_a and debugstr_w for tracing
  strings.
- Add static to some functions.
- Remove APIENTRY of some functions.
- Fix code formatting.
2025-06-03 11:09:36 +09:00
Katayama Hirofumi MZ
2fd0af4f8f
[EXPLORER] AppBar Part 3 (#7966)
Follow-up of #7946.
JIRA issue: CORE-7237
- Implement ABM_GETSTATE,
 ABM_GETTASKBARPOS, ABM_ACTIVATE,
  ABM_WINDOWPOSCHANGED,
  ABM_GETAUTOHIDEBAR,
  ABM_SETAUTOHIDEBAR, and
  ABM_SETSTATE appbar messages.
- Implement TWM_SETZORDER tray
  message.
2025-06-03 06:59:30 +09:00
Katayama Hirofumi MZ
2543e2179c
[USER32] Alt+Tab: Don't switch to IME-related window (#8061)
The application switcher (Alt+Tab) shouldn't switch to IME-related (CS_IME) windows.
JIRA issue: CORE-19268
2025-06-03 06:53:51 +09:00
Serge Gautherie
1395e7ecc4
[FORMAT] Usage(): Remove redundant LoadFMIFSEntryPoints() call (#8072)
`wmain()` already handles this. Addendum to commit 9cea0fddde (r24253).

CORE-20218
2025-06-02 22:30:47 +02:00
Serge Gautherie
9fd4378def
[BOOTDATA] hivesys.inf: Sort 5 NLS languages and locales (#8068)
- Remove '0414' redundant NLS Language. Addendum to 532d977 (r27709).
- Remove '0401' redundant NLS Language. Addendum to 3a88ebc (r63713).
- Sort '0845', '0c04' and '1004' NLS Locales

CORE-16766
2025-06-02 22:27:10 +02:00
Andrei-Valentin Miloiu
bb282448c6
[MSUTB] Add Romanian (ro-RO) translation (#7923) 2025-06-02 22:18:04 +02:00
Andrei-Valentin Miloiu
81edd1f9b4
[NETSHELL] Update Romanian (ro-RO) translation (#7973) 2025-06-02 21:43:33 +02:00
Andrei-Valentin Miloiu
6a154167cf
[REGEDIT] Update Romanian (ro-RO) translation (#7948) 2025-06-02 21:43:12 +02:00
Gabriele Lo Re
9d8b342e60
[BASE] Add and improve Italian (it-IT) translation (#7893) 2025-06-02 21:40:46 +02:00
Hervé Poussineau
d09c3d0af8 [COMCTL32] Pass WM_SYSCOLORCHANGE/WM_DISPLAYCHANGE/WM_WININICHANGE to property pages
Property pages may want to react on such events, like 'Font' or 'Layout' pages
in console.dll

CORE-13212
2025-06-02 21:23:30 +02:00
Carl J. Bialorucki
dd896f6f44
[DNSAPI_APITEST] Fix dnsapi:DnsQuery on Server 2003 x86, 8.1 x86, 8.1 x64, 10 x86, 10 x64 (#8043)
* Windows Server 2003 x86 may return a DNS_ERROR_RCODE_NAME_ERROR in some tests where other versions of Windows may return ERROR_INVALID_NAME, ERROR_TIMEOUT, or DNS_ERROR_INVALID_NAME_CHAR. Pass this behavior.

* Windows 8+ sets the query to a null pointer when given an invalid query pointer while earlier Windows versions don't change the query pointer. Pass either behavior.
2025-06-02 12:15:45 -06:00
Daniel Victor
bad53bf847
[FREELDR] Fix UEFI boot after FreeLoader split (#8069)
Add missing initialization of the module list and boot devices.
This makes UEFI boot work again after #7488 merge.

CORE-11954
2025-06-02 13:42:49 +03:00
Justin Miller
9fe829874b
[KERNELBASE][KERNEL32] Import KernelBase from WINE-10.0 (#8049)
* [KERNELBASE] Import KernelBase from wine-10.0
* [KERNELBASE] Create some cmake files and add stuff into headers
2025-06-01 23:13:41 -07:00
Katayama Hirofumi MZ
1286711ac4
[SDK][CICERO] Replace msctf_undoc.h with msctf_undoc.idl (#8060)
Follow-up of #8057. Generally, the IDL
file is a higher level than the header file.
JIRA issue: CORE-19361
- Modify CMakeLists.txt.
- Add sdk/include/reactos/CMakeLists.txt.
- Add reactos_idls CMake target in
- sdk/include/reactos/CMakeLists.txt
  to process IDL files.
- Add reactos_idls dependency to cicero.
- Delete msctf_undoc.h and add
  msctf_undoc.idl.
2025-06-02 06:53:42 +09:00
Katayama Hirofumi MZ
52ca35327e
[MSCTF] Make ITfLangBarMgr C++ (#8056)
Implementing missing features...
JIRA issue: CORE-19361
- Delete langbarmgr.c (C) and add
  langbarmgr.cpp (C++).
- Remove the legacy C
  implementation of ITfLangBarMgr.
- Add CLangBarMgr class.
2025-06-02 05:07:49 +09:00
Whindmar Saksit
ddcd5f7083
[SHELL32] Don't assert on broken ShellExecuteEx error reporting (#8065) 2025-06-01 06:49:38 +02:00
Katayama Hirofumi MZ
54840389ee [NETSHELL] Update Japanese (ja-JP) translation
CORE-18706
2025-06-01 11:36:06 +09:00
Justin Miller
45eff312cb
[SDK][XDK][PSDK] Grab header changes needed for Wine-10.0 KernelBase (#8047)
* [SDK] Update ThreadInfoClass to wine-10.0

* [SDK][MODULES] Fix a test and add wine-10 entries to headers

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2025-05-31 17:20:02 -07:00
Eric Kohl
babe6046e5 [DHCPCSVC] Fix exception on service restart
CORE-14390
2025-05-31 16:16:34 +02:00
Timo Kreuzer
87b8c1ee2f [NTDLL_APITEST] Fix build 2025-05-31 13:14:31 +00:00
Katayama Hirofumi MZ
51495b1b75
[KBSWITCH] Refactor on layout numbers (#8052)
We believe the power of simplicity.
JIRA issue: CORE-20142
- Rename g_nCurrentLayoutNum as
  g_iKL for simplicity.
- Make g_iKL zero-based indexing.
- Add ID_LANG_BASE id for language
  menu items and adjust
  ID_EXIT/ID_PREFERENCES values.
- Fix KbSwitch_OnNotifyIconMsg
  function.
2025-05-31 21:17:41 +09:00
Eric Kohl
c187cf8b9e [SERVICES] Add check for valid control codes to RI_ScSendPnPMessage 2025-05-31 14:07:18 +02:00
Timo Kreuzer
001d0051e9 [CRT_APITEST] Fix test failures on Win 2003 x64 2025-05-31 09:57:32 +00:00
Timo Kreuzer
e431470ff9 [REACTOS] Fix build with VS 17.14.2 / CL 19.44.35207.1 2025-05-31 09:51:33 +00:00