121 Commits

Author SHA1 Message Date
41f8388bac Totally rework VirtualAlloc and friends 2025-10-01 15:35:57 -06:00
aee35ee0da A few more kernel32 stubs for MSVC versions 2025-10-01 15:20:55 -06:00
ccd79a256a Reimplement kernel32 time functions, fix HeapReAlloc, debug log improvements 2025-10-01 00:59:11 -06:00
02d26c7bb9 Add msvcr71/80/90 aliases to msvcrt 2025-09-29 23:37:21 -06:00
705607fcfb Remove now-redundant .dll names from module stubs 2025-09-29 23:35:16 -06:00
62d8daccac Overlapped I/O support (fixes ProDG compilers) 2025-09-29 23:32:17 -06:00
cb154f3118 Fix up some kernel32 logging 2025-09-29 22:30:57 -06:00
7f9d141a20 Add --cmdline arg; rework wibo subprocess spawn 2025-09-29 22:05:33 -06:00
9dd65bc70a More msvcrt (WIP quality) and various fixes 2025-09-29 20:07:19 -06:00
f09e6a3986 Reimplement GetFullPathName and GetCurrentDirectory 2025-09-29 15:22:55 -06:00
d69fc8a422 Implement kernel32 Heap* funcs using mimalloc 2025-09-29 14:54:38 -06:00
c17953b318 Refactor main module resolution & HMODULE handle behavior 2025-09-29 13:50:27 -06:00
4a2ba45620 Resolve own absolute path for subprocess spawn 2025-09-29 09:25:57 -06:00
195f6c1408 Un-stub FileTime functions; impl TerminateProcess, HeapDestroy 2025-09-29 09:25:19 -06:00
f941a1e642 Initial threading support & more impls for compilers 2025-09-28 22:44:35 -06:00
8884c9597e Merge remote-tracking branch 'origin/main' into dll 2025-09-28 20:40:26 -06:00
1c35da4801 Implement GetComputerNameW 2025-09-28 19:52:15 -06:00
1a4944e619 More msvcrt, fix loading DLLs in program dir regression 2025-09-28 19:33:58 -06:00
8cac50e50e Rewrite BCryptGenRandom and add tests 2025-09-28 17:20:43 -06:00
bc33bae659 Formatting, fixes, deduplication 2025-09-28 17:00:38 -06:00
2732bd584a More msvcrt impls for Ubuntu mingw 2025-09-28 15:09:13 -06:00
2c5fdd6c72 msvcrt: export calloc 2025-09-28 13:17:43 -06:00
b53ae15c82 Force builtin lmgr stub and stub missing imports 2025-09-26 19:59:58 -06:00
f23224bbcc cl.exe works! but I didn't review most of this code 2025-09-26 17:38:24 -06:00
b4ea1da959 Improve DLL loading and process launch handling 2025-09-26 15:04:55 -06:00
042a43ced1 DLL fixes; impl GetSystemInfo, __dllonexit, and more 2025-09-26 13:30:39 -06:00
a17a3c5413 Invoke dllMain with proper TIB selector 2025-09-26 13:09:27 -06:00
a27d5c2078 msvcrt: Implement strlen, strcmp, strncmp 2025-09-26 12:52:02 -06:00
b5da26aa48 msvcrt: Clean up __wgetmainargs, _wdupenv_s, _wgetenv_s; add __getmainargs 2025-09-26 11:40:36 -06:00
104e9e869d Add proper testing framework & integrate with CI 2025-09-26 10:39:09 -06:00
c14ad86d72 Implement version.dll properly 2025-09-26 09:49:21 -06:00
01ddf95d36 Add proper resource implementation 2025-09-26 01:51:25 -06:00
720e6639a9 Return ERROR_RESOURCE_DATA_NOT_FOUND if open_resource_stream fails 2025-09-26 01:16:52 -06:00
836f485d66 Initial external DLL support 2025-09-26 00:55:35 -06:00
rjkiv
866dd6ddbb implement _vswprintf_c_l 2025-09-03 14:21:33 -07:00
rjkiv
98f1548370 implement onexit and get_wpgmptr 2025-09-03 11:06:48 -07:00
rjkiv
9a98c29a59 implement _wfullpath 2025-09-02 17:49:50 -07:00
rjkiv
6b4f27a888 cleanup memory leak fix 2025-09-02 17:18:18 -07:00
rjkiv
d3e6da54e3 get memory leaked nerd 2025-09-02 15:33:19 -07:00
rjkiv
4c9918ff2a more debug logs for wstr conversions 2025-09-02 14:21:05 -07:00
rjkiv
e92f6e911d wideStringToString no longer cuts off wide chars 2025-09-02 12:04:40 -07:00
rjkiv
2650eaa946 no more unhandled funcs apparently 2025-09-01 15:10:11 -07:00
rjkiv
6f81e707ed file ops 2025-09-01 14:59:03 -07:00
rjkiv
f45dd85be3 more wstr funcs 2025-09-01 14:10:25 -07:00
c80b7cb3d0
Integrate mimalloc (#88) 2025-08-15 10:03:13 -06:00
rjkiv
da17dd573d bug fixes 2025-08-10 10:15:14 -07:00
rjkiv
f80d7dda62 FindFirstFileW 2025-08-09 14:53:56 -07:00
rjkiv
87c71a6763 implement itow_s 2025-08-09 14:21:33 -07:00
rjkiv
87916afc79 oops a few wchar_t's slipped through 2025-08-09 14:07:41 -07:00
rjkiv
f6a2635e15 replace all wchar_t's with uint16_t's 2025-08-09 13:54:47 -07:00