Commit Graph

12303 Commits

Author SHA1 Message Date
FourteenBrush
12813e5d48 Fix 'odin [run|test] --' giving a compiler out of bounds 2024-08-14 21:37:40 +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
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
Laytan Laats
67ea7bb65a posix: address some freebsd feedback 2024-08-14 01:44:37 +02:00
Laytan Laats
175f5b0bb1 os2: don't rely on PATH_MAX in posix read_directory implementation 2024-08-14 01:44:37 +02:00
Laytan Laats
939ba4cf08 os2: fix leak and always close directory 2024-08-14 01:44:37 +02:00
Laytan Laats
f00f68ef6f posix/os2: fix test and add back in removed temp guard 2024-08-14 01:44:37 +02:00
Laytan Laats
de9abe1f7b os2: skip . and .. in read dir 2024-08-14 01:44:37 +02:00
Laytan Laats
bd808f9ec6 os2: fix wiping results with temp allocator guard 2024-08-14 01:44:37 +02:00
Laytan Laats
7474db6a34 os2: fix lstat logic 2024-08-14 01:44:37 +02:00
Laytan Laats
00eb702c4a os2: implement the iterator based read directory 2024-08-14 01:44:37 +02:00
Laytan Laats
ea5783c2ac os2: fixes after rebasing 2024-08-14 01:44:37 +02:00
Laytan Laats
e05fddc001 posix: fix file type checks in stat 2024-08-14 01:44:37 +02:00
Laytan Laats
406e60f5dd posix: revert change to os that was done for testing 2024-08-14 01:44:37 +02:00
Laytan Laats
5115aee23f posix: actually fix netbsd test 2024-08-14 01:44:37 +02:00
Laytan Laats
72220a855f posix: fix write error check 2024-08-14 01:44:37 +02:00
Laytan Laats
4a61bac100 posix: fix test on netbsd 2024-08-14 01:44:37 +02:00
Laytan Laats
726891588f posix: more tests 2024-08-14 01:44:37 +02:00
Laytan Laats
2a5ceff667 posix: move doc 2024-08-14 01:44:37 +02:00
Laytan Laats
9e2c5acb9d os2: fix bit checks 2024-08-14 01:44:37 +02:00
Laytan Laats
7c9ca60ff0 mem/virtual: support the BSDs 2024-08-14 01:44:37 +02:00
Laytan Laats
379cd6fe66 os2: cleanup 2024-08-14 01:44:37 +02:00
Laytan Laats
ffff3c3c88 posix: fix foreign import of dl for free/netbsd 2024-08-14 01:44:37 +02:00
Laytan Laats
a4d459f651 os2: initial implementation for Darwin&BSDs, process API is only thing incomplete 2024-08-14 01:44:37 +02:00