Laytan Laats
142bda2804
posix: start on process API
2024-08-17 15:48:01 +02:00
Jeroen van Rijn
478f529744
Merge pull request #4094 from amad00r/fix-nil-logger
...
Fix log unnecessary allocations
2024-08-17 01:50:13 +02:00
gingerBill
536a342873
Merge pull request #4092 from laytan/fix-open-bindings
...
fix `open` bindings
2024-08-17 00:22:46 +01:00
Amadeu Moya
43dc7704a5
Fix log unnecessary allocations
2024-08-17 00:37:01 +02:00
Laytan Laats
e8933e43ec
add haiku to unsupported time file
2024-08-16 23:18:59 +02:00
Laytan Laats
f7d7d65bc0
fix open bindings
...
`open` specifies the `mode` argument as vararg (presumably to make it
optional). varargs actually have rules about casting, in this case the
rule that any integer arg of size <= 4 has to be casted to `i32` before
passing it.
Not doing that implicit cast makes the permissions wrong or not apply at
all.
2024-08-16 22:54:53 +02:00
Jeroen van Rijn
970dc7a1f2
Merge pull request #4091 from Feoramund/fix-darwin-os-open
...
Check if file open-mode is `O_CREATE` on Darwin before forcing chmod
2024-08-16 20:31:22 +02:00
Feoramund
a07878be71
Check if file open-mode is O_CREATE on Darwin before forcing chmod
...
Fixes #4087
2024-08-16 14:08:55 -04:00
Jeroen van Rijn
14e207088a
Merge pull request #4088 from Kelimion/benchmark
...
Improve benchmarks.
2024-08-16 17:16:59 +02:00
Jeroen van Rijn
6c46c9e04b
Improve benchmarks.
2024-08-16 17:00:16 +02:00
gingerBill
40b8150a23
Minor clean ups
2024-08-16 12:47:23 +01:00
gingerBill
31bb3dc4f0
Merge pull request #3971 from jasonKercher/os2-process-linux
...
os2 process linux implementation
2024-08-16 12:38:27 +01:00
gingerBill
65ce7687d7
Merge pull request #4004 from Skytrias/orca-odin-bindings
...
Add autogenerated orca bindings and macros from laytan
2024-08-16 12:37:36 +01:00
Laytan
6fc39c1b5d
Merge pull request #4075 from yay/more-foundation-bindings
...
More Foundation bindings.
2024-08-16 13:08:15 +02:00
jason
07a9c69714
update core:filepath's clean, join and split_list to return optional Allocator_Errors
2024-08-16 01:48:27 -04:00
Vitalii Kravchenko
004036dc59
More Foundation bindings.
2024-08-16 00:00:29 +01:00
Laytan
d91fa162d8
Merge pull request #3280 from beaumccartney/shm_syscalls
...
add shm_open and shm_unlink syscalls for darwin
2024-08-15 17:08:41 +02:00
gingerBill
6e91f6ab31
Merge pull request #4081 from DerTee/master
...
fix error handling in os2.read_entire_file_from_file()
2024-08-14 22:12:06 +01:00
gingerBill
b16d5198a3
Merge pull request #4082 from FourteenBrush/master
...
Fix 'odin [run|test] --' giving a compiler out of bounds
2024-08-14 22:11:55 +01:00
FourteenBrush
12813e5d48
Fix 'odin [run|test] --' giving a compiler out of bounds
2024-08-14 21:37:40 +02:00
DerTee
6422e49255
fix error handling in os2.read_entire_file_from_file()
...
even when an error in file_size() happened, os2.ERROR_NONE was returned
2024-08-14 17:30:02 +02:00
Jeroen van Rijn
f7234e2ed3
Allow ODIN_TEST_LOG_LEVEL override when -debug.
2024-08-14 16:29:51 +02:00
gingerBill
e810c3eace
Merge pull request #4012 from laytan/posix
...
core:sys/posix and core:os/os2 based on it (for darwin, netbsd, freebsd and openbsd)
2024-08-14 15:10:31 +01:00
gingerBill
18b6af1858
Minor clean up of comments
2024-08-14 14:15:20 +01:00
gingerBill
03dd38f203
Minor changes to vendor:ENet
2024-08-14 14:09:36 +01:00
gingerBill
eb6f2078cf
Add fmt:"v,extensions_count" tags to many struct fields
2024-08-14 14:03:41 +01:00
gingerBill
df61096317
Improve doc comments for vendor:ggpo
2024-08-14 13:55:25 +01:00
gingerBill
8abe054665
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-08-14 13:02:28 +01:00
gingerBill
324d9c2284
Fix doc writer bug caused by using an iterator rather than a for loop
2024-08-14 13:02:23 +01:00
Laytan Laats
f657b4cc0c
time: use assert_contextless in wasi implementation
2024-08-14 13:27:58 +02:00
gingerBill
c98c95fcf0
Add require_results and change some of the wrapper to return a slice
2024-08-14 11:29:23 +01:00
gingerBill
fd5376ba88
Allow @(require_results) on foreign blocks
2024-08-14 11:28:49 +01:00
gingerBill
78fa675c1a
Add assert_contextless, panic_contextless, unimplemented_contextless
2024-08-14 11:18:24 +01:00
gingerBill
4c19f507ff
Merge pull request #4074 from odin-lang/vendor/box2d
...
`vendor:box2d`
2024-08-14 11:15:34 +01:00
gingerBill
651122e9db
Fix foreign import paths
2024-08-14 11:01:54 +01:00
gingerBill
d1e114742e
Add deprecated and require_results attributes to math_functions.odin
2024-08-14 10:55:40 +01:00
Laytan
29a6959a56
Merge pull request #2977 from jakubtomsu/disallow-variadic-param-default
...
Report error when a variadic procedure parameter has a default value
2024-08-14 11:55:09 +02:00
gingerBill
491def9d5b
Fix paths for amd64 targets
2024-08-14 10:50:53 +01:00
gingerBill
427c48221d
Clean up foreign import code for library path determination
2024-08-14 10:28:07 +01:00
gingerBill
1c97739ca3
Merge branch 'vendor/box2d' of https://github.com/odin-lang/Odin into vendor/box2d
2024-08-14 10:18:41 +01:00
gingerBill
0b26115805
Improve presentation
2024-08-14 10:18:36 +01:00
gingerBill
1c8672ac6c
Merge pull request #4078 from funkkiy/fix-rodata-index
...
Error if assigning to `rodata` variable with index
2024-08-14 09:41:35 +01:00
jason
0f052dbde7
os2/process_linux: improve error handling, use pidfd where possible, remove usage of fmt
2024-08-14 00:45:25 -04:00
Davi
4bb51249d1
Error if assigning to rodata variable with index
2024-08-13 23:28:34 -03:00
Laytan Laats
e29f0a0f40
os2: dup the file descriptor before fdopendir
2024-08-14 01:45:24 +02:00
Laytan Laats
f837e35f4b
os2: fix bad free for posix file closure
2024-08-14 01:45:24 +02:00
Laytan Laats
61ee2efa35
os2: just use runtime._heap_allocator_proc instead of a copy for posix
2024-08-14 01:45:24 +02:00
Laytan Laats
e94c4e1e18
posix: remove the is_temp things that prevented use-after-frees
...
d0709a7de2
fixes those another way.
2024-08-14 01:45:24 +02:00
Laytan Laats
b07d0b38b1
os2: improve absolute/full path handling for posix
2024-08-14 01:45:23 +02:00
Laytan Laats
a73677d21a
os2: nice != priority
2024-08-14 01:44:37 +02:00