Commit graph

87467 commits

Author SHA1 Message Date
Timo Kreuzer
50028685dc [CRT:MATH] Implement _dsign and _dsignf 2025-06-30 09:19:47 +00:00
Timo Kreuzer
0e5d6af68e [CRT:MATH] Implement x86 sse2 math functions
These are just wrappers around the normal functions and lack any optimization.
2025-06-30 09:19:47 +00:00
Timo Kreuzer
5c6912f561 [CRT][UCRTBASE] Add round/roundf 2025-06-30 09:19:47 +00:00
Timo Kreuzer
d736b55644 [CRT:MATH] Fix a bug in _handle_error 2025-06-30 09:19:47 +00:00
Timo Kreuzer
35bc1e1d9e [CRT] Add crtmath library 2025-06-30 09:19:47 +00:00
Katayama Hirofumi MZ
4866a25a8f
[EXPLORER] Fix Taskbar context menu Z-order bug (#8186)
Taskbar task button context menu was wrongly
overlapped by Taskbar. #8105 introduced this bug.
JIRA issue: CORE-20260
- Don't bring the taskbar to top on no rude app.
- Check the target window by FindTaskItem in
  OnWindowActivated and OnWindowDestroyed.
2025-06-30 10:55:15 +09:00
Eric Kohl
c720dd4960 [NTOS:IO] NtPlugPlayControl.PlugPlayControlUnlockDevice is not implemented
It was probably used in previous versions of Windows NT.
2025-06-29 23:43:09 +02:00
Hermès Bélusca-Maïto
12e01218ad
[SYSTEMINFO] Do some code lift-up; use Conutils lib to be able to display localized unicode strings
In particular:
- unhardcode buffer sizes and API flags;
- add our standard file header in the .c file (I haven't done it for
  the other files);
- merge systeminfo.rc and rsrc.rc together.
2025-06-29 23:03:10 +02:00
Hermès Bélusca-Maïto
dc7c7fb9f5
[SYSTEMINFO] Review translations (#8169)
- Improve help/usage display formatting for all languages.

- Fix sk-SK Slovak typos and file encoding.
  With Notepad++:
  * "Encoding->Convert to ANSI", then Save;
  * "Encoding->Character encoding->Central Europe Languages->OEM 852", then Save;
  * "Encoding->Convert to UTF-8 (without BOM)"

- Fix and finish French (fr-FR) translation.
2025-06-29 21:04:23 +02:00
Eric Kohl
b364fee806 [NTOS:IO] Implement NtPlugPlayControl.PlugPlayControlDeviceClassAssociation
The unregistration part is not implemented yet.
2025-06-29 17:34:27 +02:00
Hermès Bélusca-Maïto
92fd611209
[SYSSETUP] Improve French (fr-FR) translation (#8167) 2025-06-29 16:48:44 +02:00
Hermès Bélusca-Maïto
9cb76114c6
[NETSHELL][SAMSRV] Fix "reqired" -> "required" typo
3rd-party code (drivers/filesystems/fastfat/dirsup.c) left untouched.

Caught by Serge Gautherie.
2025-06-29 16:42:35 +02:00
Hermès Bélusca-Maïto
2a91e496ee
[NETSHELL] Improve French (fr-FR) translation (#8166) 2025-06-29 16:36:53 +02:00
Hermès Bélusca-Maïto
488db450b8
[IPCONFIG] Update Russian (ru-RU) and Ukrainian (uk-UA) translations (#8165)
Co-authored-by: Oleg Dubinskiy <oleg.dubinskij30@gmail.com>
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2025-06-29 16:33:58 +02:00
Hermès Bélusca-Maïto
3ea9bab324
[IPCONFIG] Review translations (#8165)
- Improve help/usage display formatting for all languages.

- Change "IP" to "IPv4" where applicable (our IPCONFIG doesn't support
  IPv6 yet, but prepare the terrain in the translations :)

- Fix and finish French (fr-FR) translation.
2025-06-29 16:33:57 +02:00
Hermès Bélusca-Maïto
af96e9f353
[TRANSLATIONS] Fix some typos in French translations (#8164) 2025-06-29 16:31:39 +02:00
Katayama Hirofumi MZ
76daabf6d1 [CYLFRAC] Fix build; Japanese (ja-JP) translation
Fix mistake in:
4ac1aacc17

CORE-18706
2025-06-29 22:06:05 +09:00
Katayama Hirofumi MZ
3120d985ff [VCDCONTROLTOOL] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 22:02:00 +09:00
Oleg Dubinskiy
63ca8c414e
[NTOS:EX] Implement NtSetSystemInformation().SystemLoadGdiDriverInSystemSpaceInformation (#8180)
Implement SystemLoadGdiDriverInSystemSpaceInformation case of NtSetSystemInformation() function.
According to https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/gdi_driver.htm, it does the similar thing to SystemLoadGdiDriverInformation (these two cases even have the same shared SYSTEM_GDI_DRIVER_INFORMATION structure).
The only difference is, SystemLoadGdiDriverInSystemSpaceInformation uses the global system space (without passing an additional flag to MmLoadSystemImage()), while SystemLoadGdiDriverInformation uses the session space instead.
Since the session space is not supported yet, for now simply redirect SystemLoadGdiDriverInSystemSpaceInformation to SystemLoadGdiDriverInformation case, which we have already implemented. However, this code needs to be updated appropriately (an additional flag should be passed to MmLoadSystemImage() call for SystemGdiDriverInformation as well) once a support for session space is implemented.
This fixes VM starting failure for VirtualBox 3.1.0 - 4.0.24 and 4.3.0 - 4.3.12 versions. Newer versions of VirtualBox still don't work because of another blocking bugs.
CORE-20257
2025-06-29 15:00:41 +02:00
Katayama Hirofumi MZ
056bfd312e [SYSTEMINFO] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:53:24 +09:00
Katayama Hirofumi MZ
30dad221ed [STARFIELD] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:38:29 +09:00
Katayama Hirofumi MZ
0fc26352d8 [SSSTARS] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:36:14 +09:00
Katayama Hirofumi MZ
672fc60b5a [MAZESCR] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:31:10 +09:00
Katayama Hirofumi MZ
bc79a9a2cf [MATRIX] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:23:41 +09:00
Katayama Hirofumi MZ
4ac1aacc17 [CYLFRAC] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:17:48 +09:00
Katayama Hirofumi MZ
4642da06e1 [CIRCLES] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:15:11 +09:00
Katayama Hirofumi MZ
046679ddf3 [BUTTERFLIES] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:12:01 +09:00
Katayama Hirofumi MZ
5cd0ec8575 [BLANKSCR] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 21:05:33 +09:00
Katayama Hirofumi MZ
8c2a6aae31 [VGAFONTEDIT] Add Japanese (ja-JP) translation
CORE-18706
2025-06-29 20:59:33 +09:00
Timo Kreuzer
5549fbd6a4 [NTDLL_APITEST] Remove unused / broken definitions 2025-06-29 09:31:14 +00:00
Hervé Poussineau
7b9ef6b390 [NDIS] NdisOpenFile: close file locally, as we don't need it later
Remove now unused field FileHandle in NDIS_HANDLE_OBJECT structure.
2025-06-29 08:23:33 +02:00
Hervé Poussineau
e2904d3baf [NDIS] NdisOpenFile: read file contents into buffer when opening it
NdisMapFile now returns a non-null buffer.

CORE-20259
2025-06-29 08:23:33 +02:00
Hervé Poussineau
d72bcb149f [NDIS] NdisOpenFile: retrieve and return file length in *FileLength
CORE-20259
2025-06-29 08:23:32 +02:00
Hervé Poussineau
07f305cd59 [NDIS] NdisOpenFile: use local variables instead of using output variables 2025-06-29 08:23:32 +02:00
Eric Kohl
71b6fab74b [UMPNPMGR] PNP_AddEmptyLogConf: Add resource list to an existing requirements list 2025-06-28 15:58:11 +02:00
Katayama Hirofumi MZ
bc64f3aee1
[INDICDLL] Don't use user32 in DLL_PROCESS_ATTACH (#8179)
Related to #8145. We shouldn't use
user32 functions in
DllMain.DLL_PROCESS_ATTACH.
This bug affects Global Hook. See
DllMain and "Dynamic-Link Library
Best Practices" on MS Learn.
JIRA issue: CORE-20242
Don't use user32!FindWindow in
DllMain.DLL_PROCESS_ATTACH,
but in KbSwitchSetHooks function.
2025-06-28 04:59:08 +09:00
Hermès Bélusca-Maïto
f60be66d1f
[MSGINA][WINLOGON] Carefully zero password memory buffers before freeing them (#8172)
Including variables containing pointers to a password buffer and its lengths.
2025-06-27 16:45:12 +02:00
Whindmar Saksit
b087c08d76
[MSCONFIG] Disable actions that are not implemented (#8178) 2025-06-27 13:53:09 +02:00
Whindmar Saksit
c14a14e3b4
[BROWSEUI] Find files must compare the entire path when the view asks about the name (#8174)
CORE-20256
2025-06-26 23:02:04 +02:00
Whindmar Saksit
4562306ce4
[BROWSEUI] Find files must forward IItemNameLimits to the FS folder (#8176) 2025-06-26 23:00:53 +02:00
Eric Kohl
4afb871782 [UMPNPMGR] Implement PNP_UnregisterDeviceClassAssociation 2025-06-26 22:13:59 +02:00
Katayama Hirofumi MZ
f7c36c6d94
[SHELL32_APITEST] Certainly close newly-opened windows (#8171)
It's frustrating when windows open
during a test and remain after the test
is over.
JIRA issue: ROSTESTS-402
- Delete closewnd.cpp. Enhance
  closewnd.h.
- Modify ShellExecCmdLine,
  ShellExec_RunDLL, ShellExecuteEx,
  and ShellExecuteW testcases.
- Certainly close the newly-opened
  windows.
2025-06-26 18:20:49 +09:00
Eric Kohl
f1332c7722 [UMPNPMGR] Implement PNP_RegisterDeviceClassAssociation 2025-06-25 21:39:51 +02:00
Serge Gautherie
4164b8a053
[NTUSER] menu.c: Tiny optimizations (#8111)
A bit clearer code. A bit faster execution.
- NtUserGetTitleBarInfo(): Add/Use early returns.
  Addendum to
3b4c9ded42 (r33657).
- NtUserTrackPopupMenuEx():
  Check flags a bit earlier.
  Addendum to
3c35117f97
  (0.4.16-dev-1275).
- NtUserThunkedMenuItemInfo():
  Sort out code and comments
- menu.c: Move UserLeave() a bit earlier.
2025-06-25 21:15:28 +09:00
Katayama Hirofumi MZ
aaed9f77d9
[SHELL32_APITEST] Enhance SHAppBarMessage testcase (#8149)
SHAppBarMessage testcase has to
cover the auto-hide feature. Make the
testcase more stable.
JIRA issue: CORE-7237
Add more tests.
2025-06-25 08:48:30 +09:00
Hermès Bélusca-Maïto
b254ea8274
[MSGINA][WINLOGON] Perform thorough memory cleanup after user logging (#8155)
- MSGINA: The `pMprNotifyInfo` and `pProfile` structures returned by
  `WlxLoggedOutSAS()`, as well as all of their pointer fields, are
  allocated by `LocalAlloc()`[^1][^2]. This is what Windows' Winlogon
  expects (and ours too, for interoperability with GINA dlls written
  for Windows), as it then frees them using `LocalFree()`.

- WINLOGON: In `HandleLogon()`, free the cached `MprNotifyInfo` and
  `Profile` buffers (and all their members) obtained from a previous
  call to `WlxLoggedOutSAS()`.

[^1]: https://learn.microsoft.com/en-us/windows/win32/api/winwlx/nf-winwlx-wlxloggedoutsas
[^2]: 3rd-party GINAs rely on this as well. One example can be found at:
      https://www.codeproject.com/Articles/20656/Winlogon-using-Mobile-Disk
2025-06-24 20:30:34 +02:00
Piotr Hetnarowicz
64d1301b5a
[EXPLORER] Update Polish (pl-PL) translation (#8160) 2025-06-24 16:59:32 +02:00
Piotr Hetnarowicz
a889320d42
[SYSSETUP] Update Polish (pl-PL) translation (#8159)
Co-authored-by: Adam Słaboń <asaillen@protonmail.com>
2025-06-24 16:59:07 +02:00
Piotr Hetnarowicz
60cdfaa11f
[SHELL32] Update Polish (pl-PL) translation (#8158) 2025-06-24 16:58:02 +02:00
Piotr Hetnarowicz
6d2267d243
[SYSDM] Update Polish (pl-PL) translation (#8157) 2025-06-24 16:57:20 +02:00