Commit Graph

5209 Commits

Author SHA1 Message Date
jason
2b89829b52 minor edits in process_linux.odin 2024-08-03 18:08:00 -04:00
jason
38b96a7981 change child error behavior to trap instead of exit 2024-08-03 17:50:47 -04:00
jason
c7eb2ae6bb use sys/linux dirent instead of manual iteration 2024-07-30 10:19:09 -04:00
jason
792640df1f remove File_Impl_Kind from file_linux 2024-07-30 09:41:49 -04:00
jason
278a63caaa remove pidfd availability caching 2024-07-30 09:28:40 -04:00
jason
a03dffcd1a improve error handling; do not report errors from failed execve 2024-07-30 08:45:53 -04:00
jason
a5fa93e06d remove ctprintf; use fmt.caprintf; fix pipe_linux that I broke. 2024-07-24 10:23:23 -04:00
jasonKercher
215b21811e Merge branch 'master' into os2-process-linux 2024-07-24 10:14:59 -04:00
jason
95a8a4e7f0 typo - inverted logic 2024-07-24 10:12:16 -04:00
jason
ecdd3887b2 fix process_info assumptions 2024-07-24 10:09:50 -04:00
gingerBill
2dbccbde54 Improve win32 types 2024-07-24 14:53:48 +01:00
gingerBill
07b1819dc8 Improve os2.read_directory 2024-07-24 14:53:33 +01:00
gingerBill
9d8953538b Add missing attribute 2024-07-24 14:25:42 +01:00
gingerBill
d4af7b86a7 Begin cleaning up os2.read_directory 2024-07-24 14:19:30 +01:00
gingerBill
38e983cac6 Remove dead code 2024-07-24 13:47:57 +01:00
gingerBill
2ddaae45f3 Better handling of allocators 2024-07-24 13:47:22 +01:00
jason
16bdc6d240 use more iterators; global "has pidfd open" state is now thread-safe 2024-07-24 08:43:22 -04:00
gingerBill
6d2487a692 Add some more Ntdll calls 2024-07-24 13:38:14 +01:00
gingerBill
c407e423d9 Add inode to os2.Stat 2024-07-24 13:37:56 +01:00
gingerBill
0e91c8368c Add allocator parameters to fmt.caprint* 2024-07-24 09:01:41 +01:00
jason
0455e4b60f remove unused constants; fix comment 2024-07-23 19:48:18 -04:00
Laytan Laats
545fbc54c7 testing: add json reporting 2024-07-24 01:33:22 +02:00
jason
82deaa59ad os2 linux: fix order of operations bug in _open; fix process_info routine 2024-07-23 17:50:30 -04:00
jason
3c7d1f35db os2 process implementation for linux 2024-07-23 16:50:00 -04:00
Laytan Laats
fc2e31fcd0 fix build comment in os_freestanding 2024-07-23 20:51:00 +02:00
gingerBill
efa8c92bab Implement init_long_path_support 2024-07-23 17:46:22 +01:00
gingerBill
65fec9134e Use SHFileOperationW for remove_all on Windows 2024-07-23 17:30:42 +01:00
gingerBill
a28392852a Mock out os2.remove_all for Windows 2024-07-23 17:05:41 +01:00
gingerBill
8037ace873 Begin work on os2/dir.odin 2024-07-23 16:47:49 +01:00
gingerBill
182454a1c0 Minor clean ups 2024-07-23 16:09:15 +01:00
gingerBill
24f9e2bbeb Begin mocking out the linux stuff on os2 2024-07-23 16:06:14 +01:00
gingerBill
61b9a5dbb2 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-07-23 15:57:23 +01:00
gingerBill
0403626acf Add utility calls to os2 2024-07-23 15:57:17 +01:00
Damian Tarnawski
eb4f850b7f Remove space in indentation 2024-07-23 13:48:03 +02:00
Jeroen van Rijn
da80c51195 Merge pull request #3966 from KyleNBurke/sys-windows-add-type
Add `NCCALCSIZE_PARAMS` to `sys/windows`
2024-07-23 07:45:44 +02:00
Kyle Burke
9d99f98194 Remove semicolon 2024-07-23 00:22:19 -05:00
Kyle Burke
c32e12c3f5 Add NCCALCSIZE_PARAMS to sys/windows 2024-07-23 00:09:50 -05:00
Jeroen van Rijn
9cad8179b7 Clarify core:time Unix timestamp 2024-07-22 20:00:25 +02:00
Laytan
73a9a97413 Merge pull request #3476 from PucklaJ/syscall-fix
[sys/linux] Fix fork and execve syscalls on arm64
2024-07-22 13:58:17 +02:00
PucklaJ
1873f7215d [sys/linux]: Change execveat flags type to Execveat_Flags 2024-07-22 11:03:25 +02:00
Laytan Laats
3e618bed40 fix reflect.any_base and reflect.any_core with any's containing nil 2024-07-22 00:51:38 +02:00
Jeroen van Rijn
51733fce68 Merge pull request #3952 from Ronaldr1985/master
Ensure that values in ini map are unquoted
2024-07-21 14:58:15 +02:00
Jeroen van Rijn
a056e9da81 Merge pull request #3954 from flysand7/docs-thread
[thread]: Document all functions in core:thread
2024-07-21 14:10:49 +02:00
flysand7
b84b4c47d7 [thread]: Document all functions in core:thread 2024-07-21 14:34:36 +11:00
Ronald
1a6885c2a3 Tidy up code 2024-07-21 00:08:20 +01:00
Ronald
c3a57853e2 Ensure that values in ini map are unquoted 2024-07-21 00:00:47 +01:00
Jeroen van Rijn
fc5ce30f34 Allow json to unmarshal empty struct. 2024-07-21 00:37:11 +02:00
Jeroen van Rijn
cdd2c98b8d Merge pull request #3948 from flysand7/docs-time
[time]: Document all functions
2024-07-20 16:06:07 +02:00
flysand7
b3ca2d5e0a [time]: Document all functions 2024-07-20 18:48:50 +11:00
flysand7
0c78cab336 [time/datetime]: Document package datetime 2024-07-20 12:49:40 +11:00