robert-yates
b2296930d3
prepare 32bit support with name and class inheritance modifications
2025-04-22 12:01:40 +02:00
Maurice Heumann
1b9e114737
Improvements to locale syscalls, fix TimeZone query and add more syscalls ( #223 )
...
This PR aims to do the following:
- Add the `NtUserGetAtomName` syscall.
- Add stub handlers for `NtUserSetWindowsHookEx`,
`NtUserUnhookWindowsHookEx`, and `NtUserCreateWindowEx`.
- Implement `NtGetNlsSectionPtr` (for Code Pages), add
`NtQueryDefaultUILanguage`, and improve `NtQueryInstallUILanguage`.
- Handle `SystemTimeZoneInformation`,
`SystemCurrentTimeZoneInformation`, and
`SystemDynamicTimeZoneInformation` in `NtQuerySystemInformation`.
- Skip `ThreadAffinityMask` in `NtSetInformationThread`.
- Fix `NtConnectPort` to allow TimeZone queries to work properly. This
is probably the most problematic change here because it required messing
with the shared section and hardcoding an offset (2504). Initializing
the data in this offset seems necessary for calls like
`GetTimeZoneInformation` to succeed, so maybe there's no other way
around it.
2025-04-22 09:08:42 +02:00
Igor Pissolati
8970c4b1e6
Fix x86 build (again)
2025-04-22 03:54:13 -03:00
Igor Pissolati
b5abcce65d
Fix NtUserGetAtomName signature
2025-04-22 03:45:52 -03:00
Igor Pissolati
657bf6121a
Apply suggested changes
2025-04-22 03:44:45 -03:00
Igor Pissolati
5f2c15e642
Fix x86 build
2025-04-22 02:51:19 -03:00
Igor Pissolati
bd8818c335
Fix failing checks
2025-04-22 02:35:54 -03:00
Igor Pissolati
7e93f5d7f6
Improvements to locale syscalls and fix TimeZone query
2025-04-22 01:48:52 -03:00
Igor Pissolati
08098da538
Skip ThreadAffinityMask in NtSetInformationThread
2025-04-22 01:25:15 -03:00
Igor Pissolati
039b276fb7
Add 3 new syscall stubs
2025-04-22 01:23:27 -03:00
Igor Pissolati
6deefb932f
Add NtUserGetAtomName syscall
2025-04-22 01:19:05 -03:00
Igor Pissolati
927d7fcd27
Merge branch 'pr/3' of https://github.com/Igoorx/emulator into pr/3
2025-04-21 21:53:38 -03:00
Igor Pissolati
b40cfa2bed
Apply suggested changes
2025-04-21 21:52:40 -03:00
Igor Pissolati
c59002e263
Fix null dereference issue
2025-04-20 18:34:20 -03:00
Igor Pissolati
7dbf498ea9
Fix clang-tidy warning (attempt 2)
2025-04-20 17:08:54 -03:00
Igor Pissolati
5eba6d5e8d
Fix clang-tidy warning
2025-04-20 16:44:12 -03:00
Igor Pissolati
140d1dd5b3
Fix failing checks
2025-04-20 16:26:08 -03:00
Igor Pissolati
763b8fc760
Improvements to registry syscalls
2025-04-20 16:09:04 -03:00
Igor Pissolati
317d90d7d8
Merge branch 'main' into pr/1
2025-04-20 01:34:06 -03:00
Igor Pissolati
e74b1dad5a
Fix formatting (attempt 2)
2025-04-19 17:23:03 -03:00
Igor Pissolati
8e48793f47
Fix formatting
2025-04-19 17:12:41 -03:00
Igor Pissolati
d8f8bd07f9
Fix failed check
2025-04-19 17:12:27 -03:00
Igor Pissolati
c702bedaee
Add 3 new syscall handlers
2025-04-19 16:33:34 -03:00
Igor Pissolati
5d19803020
Fix NtOpenSection
2025-04-19 16:29:47 -03:00
Igor Pissolati
88a744a756
Hopefully fix formatting
2025-04-19 15:29:17 -03:00
Igor Pissolati
09b25d8c89
Fix NtDeleteAtom signature
2025-04-19 15:18:26 -03:00
Igor Pissolati
6b1df674ab
Fix non-windows builds
2025-04-19 15:07:12 -03:00
Igor Pissolati
3dfad0f789
Add more atom-related syscalls
2025-04-19 13:52:13 -03:00
momo5502
a8d25b0a5c
Save another DLL
2025-04-19 09:23:11 +02:00
momo5502
3e53325c03
Fix compilation
2025-04-19 08:35:50 +02:00
momo5502
b5c37e6a92
Disable object watching for GCC
2025-04-19 08:25:58 +02:00
momo5502
2d7aecc3f4
Fix warnings
2025-04-19 08:25:47 +02:00
momo5502
662db697a7
Watch system objects everywhere
2025-04-19 08:13:31 +02:00
momo5502
22c3d0bc7c
Watch objects in detail only with verbose logging
2025-04-19 08:02:03 +02:00
momo5502
5c70f780d1
Archive more dlls
2025-04-19 08:01:47 +02:00
momo5502
59f700e1cd
Revert "Fix node tests"
...
This reverts commit ff050ed74c .
2025-04-18 17:28:42 +02:00
momo5502
ff050ed74c
Fix node tests
2025-04-18 17:17:15 +02:00
momo5502
ef72596436
Add nodejs support
2025-04-18 16:59:04 +02:00
momo5502
bf23eac588
Always perform concise executable read logging without verbose logging
2025-04-18 11:46:48 +02:00
momo5502
baca3ce0f9
Always print errors
2025-04-18 11:29:40 +02:00
momo5502
31906fef2d
Throw detailed exception
2025-04-18 08:30:41 +02:00
momo5502
4ac8d853a6
Always use static socket factory for emscripten
2025-04-18 08:15:17 +02:00
momo5502
b170dac195
Fix warnings
2025-04-18 06:52:21 +02:00
momo5502
00353e9a16
Fix argument adapters
2025-04-18 06:28:11 +02:00
momo5502
c1553ad2ec
Fixes for emscripten
2025-04-17 19:40:20 +02:00
momo5502
cd348e0095
Add padding
2025-04-17 18:54:46 +02:00
momo5502
1959f94c39
Support logging for emscripten
2025-04-17 18:54:16 +02:00
momo5502
a35745ba90
Fix functions
2025-04-14 20:16:30 +02:00
momo5502
68022ef501
Fixes
2025-04-14 20:16:24 +02:00
momo5502
d9fc5457bc
Emscripten tests
2025-04-14 19:47:48 +02:00