Commit Graph

12259 Commits

Author SHA1 Message Date
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
3847d03248 Merge pull request #3281 from erjohnson/patch-1
Update mem doc example formatting
2024-08-14 00:10:03 +02:00
Laytan Laats
bb54a0a972 fix whitespace 2024-08-14 00:08:46 +02:00
Laytan Laats
ac68a9d52c update MacOS releases 2024-08-14 00:00:50 +02:00
Laytan Laats
d4d46df2fc box2d: add build script and MacOS libraries 2024-08-13 22:15:31 +02:00
gingerBill
660b6ff0f1 Add vendor:box2d to examples/all 2024-08-13 17:08:31 +01:00
gingerBill
9ccaca7f1a Minor style change 2024-08-13 17:01:55 +01:00
gingerBill
926c419ef8 Change .lib to be /MT compatible; Fix comments 2024-08-13 16:58:35 +01:00
gingerBill
22b32ab0fa Use intrinsics.has_target_feature 2024-08-13 16:35:28 +01:00
gingerBill
40361f877e Add libraries for windows 2024-08-13 16:34:31 +01:00
gingerBill
f2ba3da895 Create bindings for box2d
Currently missing lib binaries
2024-08-13 16:18:24 +01: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