154 Commits

Author SHA1 Message Date
Luke Street 506ee9c5f4 web: Fix bug causing infinite CPU loop 2024-07-31 18:11:10 -06:00
Luke Street dc5502f32b Fix web build & minor cleanup 2024-07-30 23:41:11 -06:00
Luke Street 370fd5807e GDB stub 2024-07-30 18:26:41 -06:00
Luke Street 71ba495b4b win32: Many more implementations
DeleteFileA, RemoveDirectoryA, SetEndOfFile,
CreateDirectoryA, SetFileAttributesA (stub)
SetFileTime (stub), IsDBCSLeadByte(Ex)

Fixed FindFirstFileA logic and now properly
supports wildcards. Simplified host interface
2024-07-29 13:11:12 -07:00
Luke Street 6f73d71584 cli: Log ebp in trace points 2024-07-29 13:08:44 -07:00
Luke Street 5154a77bcf cli: Respect ExitProcess code 2024-07-29 13:08:44 -07:00
Luke Street 49dc6677ab cli: Add --debug flag and reduce warning logs 2024-07-29 13:08:44 -07:00
Qishuai Liu cd9c9fef26 code cleanup and misc fixes 2024-07-29 10:31:35 -07:00
Luke Street 5aeb7ab8ca Use typed-path for path handling, simplify host interface
Reworks FILETIME handling again
2024-07-25 13:17:41 -07:00
Luke Street c2ae922e2f Implement FileTimeToSystemTime, FormatMessageA (stub)
Other changes:
- Reworks FILETIME handling a bit
- Makes host.canonicalize normalize the path
  without it having to exist (matches
  GetFullPathName behavior)
- Zeroes `lpNumberOfBytesWritten` at the
  beginning of ReadFile/WriteFile
2024-07-25 13:17:08 -07:00
Evan Martin fdb0bf8c38 fmt 2024-07-24 13:22:19 -07:00
Qishuai Liu 30d1bb3ea9 fix some issues related to window messages 2024-07-23 09:09:56 -07:00
Luke Street 5429036305 Address PR comments & add unix path mapping 2024-07-22 18:41:26 -07:00
Luke Street 757490effb Implement time APIs and proper command line 2024-07-22 18:41:26 -07:00
Luke Street 0d1f745a4c Implement GlobalReAlloc, GlobalFlags 2024-07-17 12:24:09 -07:00
Luke Street db15bddd1c Working FindFirstFile, FindNextFile and more 2024-07-17 12:24:09 -07:00
Luke Street d3942660f4 Begin implementing real file APIs 2024-07-17 12:24:09 -07:00
Luke Street 66f721a4cc Some winapi stubs for mwcc 2024-07-17 12:24:09 -07:00
Evan Martin 451c348bff restore logging 2024-06-27 18:45:53 -07:00
Evan Martin 4c3eed9a64 drop custom log crate
I had done this for asm-reading reasons that I am no longer worried about.
Codesize impact is also (barely) positive so it shouldn't cost more.
2024-06-26 12:15:24 -07:00
Evan Martin 383fc9d9fe a bit more SetFilePointer 2024-06-24 23:12:19 -07:00
Evan Martin 542216d9c1 schedule soonest ready cpu when all are blocked 2024-06-24 22:04:43 -07:00
Evan Martin f3cf2f23b5 implement some headless timing api 2024-06-24 22:00:30 -07:00
Evan Martin 2aacc6d83d fix headless build 2024-06-16 14:05:16 -07:00
Evan Martin 0d55c786ee move breakpointing out to Machine 2024-06-15 15:17:12 -07:00