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
Laytan Laats
ff0ca0bd53
os2: make config directory on darwin also ~/.config, it is the proper place
2024-08-14 01:44:37 +02:00
Laytan Laats
07b9f7d280
os2: fix read_entire_file bad logic
2024-08-14 01:44:37 +02:00
Laytan Laats
9f80191f60
os2: add default make_directory permissions
2024-08-14 01:44:37 +02:00
Laytan Laats
efe68c2e24
posix: add package
2024-08-14 01:44:35 +02:00
Laytan Laats
ac68a9d52c
update MacOS releases
2024-08-14 00:00:50 +02:00
Laytan
55be3e60a0
Merge pull request #3125 from marcs-feh/master
...
sys/linux: Add binding to ioctl syscall + standard fd constants.
2024-08-13 15:30:50 +02:00
gingerBill
62911539cd
Minor style change
2024-08-13 14:27:25 +01:00
Laytan
c7af8af76a
Update core/sys/linux/sys.odin
2024-08-13 15:22:35 +02:00
gingerBill
e3d5bbe62c
Merge pull request #4065 from laytan/fix-max-alignments
...
fix max alignments
2024-08-13 14:09:45 +01:00
gingerBill
2584c6bcd7
Merge pull request #4069 from zen3ger/1738-aliased-procedure-resolution
...
Fix alias handling of procedures
2024-08-13 14:07:51 +01:00
gingerBill
66d3082a9a
Merge pull request #4056 from laytan/re-enable-runtime-wasm-stuff
...
re-enable some wasm things in runtime
2024-08-13 14:04:19 +01:00
gingerBill
09a07bd7e0
Merge pull request #4055 from laytan/time-wasi
...
time: wasi implementation
2024-08-13 14:03:02 +01:00
gingerBill
848f7e117f
Merge pull request #4050 from IllusionMan1212/egl-procs
...
vendor/egl: added a few more egl procedures and constants
2024-08-13 14:01:20 +01:00
gingerBill
d93364ce52
Merge pull request #4049 from IllusionMan1212/xrandr-xinput-xfixes
...
vendor/x11: added a few procedures for xrandr, xinput, and xfixes
2024-08-13 14:00:08 +01:00
gingerBill
4c4f24b5f4
Merge pull request #4041 from zen3ger/1079-parametric-struct-from-other-package
...
Check if procedure parameter type declares polymorphic args
2024-08-13 13:59:06 +01:00
Jeroen van Rijn
069ad446cd
Merge pull request #4070 from Feoramund/test-runner-mem-fail-as-error
...
Let memory failures be errors in the test runner
2024-08-13 13:50:46 +02:00
Jeroen van Rijn
02b4bb8491
Merge pull request #4072 from laytan/fix-32-bit-math-round
...
fix type hint propagation for shift
2024-08-13 00:34:19 +02:00
Laytan Laats
2808ecc5b6
remove panic workaround
2024-08-12 23:48:36 +02:00
Laytan Laats
a1d518442a
fix type hint propogation for shift
...
Fixes #3856
2024-08-12 23:39:07 +02:00
Jeroen van Rijn
0d916a659e
Merge pull request #4053 from Feoramund/fix-gitignore
...
Fix `.gitignore`
2024-08-12 21:34:26 +02:00
Feoramund
3a32250b80
Add .gitignore for tests directory
2024-08-12 15:16:52 -04:00
Jeroen van Rijn
053e65a1c8
Merge pull request #4071 from andreas-jonsson/andreas-jonsson-patch-2
...
Use another URL for pkgsrc on CI
2024-08-12 20:58:41 +02:00
Andreas T Jonsson
7af0291c7d
Try use another arch URL for pkgsrc
2024-08-12 20:27:20 +02:00
Feoramund
0af025d056
Add explicit copyright info to core:testing
2024-08-12 14:16:22 -04:00
Roland Kovacs
9eb7186cda
Fix alias handling of procedures
...
An incorrect memmove when overriding entities caused multiple ones to point to
the same procedure with incomplete variant data, resulting in later hiting a
compiler assertion.
Introduced delayed type checking for procedure aliases, as it was masked by
the previous error in the override logic.
2024-08-12 19:52:42 +02:00
Laytan
d68cc41782
Merge pull request #4068 from laytan/fix-read-dir-closing-given-fd
...
fix `os.read_dir` closing the given file descriptor
2024-08-12 19:23:48 +02:00
Laytan
fb09ec06d3
Merge pull request #4066 from Tetralux/fmt-bitfields-pointers
...
[fmt] Add bit fields to the pointer printing logic
2024-08-12 19:14:15 +02:00
Laytan Laats
a4ac3cc6e8
fix os.read_dir closing the given file descriptor
2024-08-12 18:51:27 +02:00
Tetralux
4f56822204
[fmt] Add bit fields to the pointer printing logic
...
core:fmt prints pointers to structs as `&StructName{ ... }` but `bit_field`s are currently printed
the same as rawptrs (`0xAABBCCDDEEFF` only).
This commit changes that so they behave the same as structs and unions.
2024-08-12 16:25:22 +00:00
Laytan Laats
f22ff21039
fix max alignments
2024-08-12 17:05:51 +02:00
Laytan
b71e0c2e36
Merge pull request #4059 from laytan/loop-write-entire-file
...
loop write_entire_file to write more than MAX_RW
2024-08-12 13:54:46 +02:00
Laytan
fd9a008e1e
Merge pull request #4058 from laytan/fix-cvararg-bitset
...
fix c_vararg bit_set
2024-08-12 13:54:28 +02:00
Laytan
450fc3ec77
Merge pull request #4060 from laytan/support-field-tag-bitsets-in-core-odin
...
core/odin: support field tags on bit_field fields
2024-08-12 13:53:33 +02:00
Laytan
0a118a14ab
Merge pull request #4061 from laytan/fix-fmt-maybe-pointer-detection
...
fix `type_info_union_is_pure_maybe` only working with regular pointers
2024-08-12 13:53:17 +02:00
Feoramund
f42a22369e
Fix wrong define name in test runner log messages
2024-08-11 23:01:28 -04:00
Feoramund
675add4d90
Optionally treat memory failures as errors in the test runner
...
Enable with `-define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true`.
2024-08-11 22:59:20 -04:00
Jeroen van Rijn
1761802330
Merge pull request #4062 from laytan/fix-switch-over-internal-pointer-union
...
fix type switching over internal pointer union
2024-08-12 00:25:47 +02:00