gingerBill
effc71ca43
Fix case: bug with by-ref unions
2024-03-18 12:20:53 +00:00
gingerBill
43d695a990
Fix for x in y where y is an "optional ok" value, but ignores #optional_allocator_error values
2024-03-18 11:21:06 +00:00
gingerBill
19eb2a8890
Fix #3282
2024-03-16 22:24:34 +00:00
gingerBill
3875fb08e8
Fix #3284
2024-03-16 22:12:17 +00:00
gingerBill
04f0fbf23a
Merge pull request #3272 from iansimonson/add_getrusage_darwin
...
Add getrusage syscall for mac/darwin
2024-03-14 19:45:25 +00:00
gingerBill
51d6a254cf
Merge pull request #3277 from kavalee/slice-unique-fixes
...
fixed slice.unique and slice.unique_proc
2024-03-14 19:40:18 +00:00
Ian Simonson
835effdef1
Use c.long rather than int
2024-03-14 09:36:57 -07:00
Ian Simonson
c7bec2962e
Fix __darwin_suseconds_t definition
...
__darwin_suseconds_t is defined as long which on macos
64 bit systems is equivalent to 8 bytes. It is equivalent
to Odin int type _not_ i32
2024-03-14 07:21:26 -07:00
Aaron Kavaler
ac634acd4b
fixed slice.unique and slice.unique_proc
2024-03-13 19:19:31 -07:00
Ian Simonson
34c4389d75
No need for timeval definition
...
It already existed so lets just use that rather than
redeclaring it
2024-03-13 14:58:56 -07:00
Ian Simonson
8917a7ef88
Make RUsage more inline with macos man page
...
Swap to tabs to adhere to the Odin Core library standard
and also rename the rusage fields to match the actual
definitions from the macos bsd man pages
2024-03-13 14:51:17 -07:00
gingerBill
45d5066029
Merge pull request #3274 from iansimonson/darwin_munmap_syscall_fix
...
Fix syscall_munmap in darwin
2024-03-13 20:17:31 +00:00
gingerBill
b47eeac414
Merge pull request #3275 from Chickenkeeper/bit-set-error-message-fix
...
Improve bit_set error message
2024-03-13 20:17:06 +00:00
Chris
5cc936245c
Improve bit_set error message
2024-03-13 19:50:41 +00:00
gingerBill
e68d3c8bbc
Merge pull request #3143 from Pariatech/cgltf-linux-build
...
Adding linux & darwin makefile for cgltf
2024-03-13 17:47:18 +00:00
Ian Simonson
d7b1901b16
Fix syscall_munmap in darwin
...
this was using the .mmap syscall number when it should be
using the .munmap syscall number
2024-03-13 10:39:50 -07:00
gingerBill
97d6bf6d8f
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-13 16:30:28 +00:00
gingerBill
271f84ab5b
Expect stream as a field directly on os2.File
2024-03-13 16:30:22 +00:00
gingerBill
75b60fdb12
Merge pull request #3273 from Chickenkeeper/mutex-allocator-fix
...
Make Mutex_Allocator use Ada_Case
2024-03-13 15:45:52 +00:00
Chris
55141bdbb1
Make Mutex_Allocator use Ada_Case
2024-03-13 15:29:02 +00:00
gingerBill
5f2496226f
Change return to panic
2024-03-13 15:17:21 +00:00
gingerBill
dee66b8451
Fix typo due to deletion
2024-03-13 15:14:31 +00:00
gingerBill
4aec2de7bd
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-13 15:12:19 +00:00
gingerBill
ac10f504e4
Add infinite loop check and early out in map_insert_hash_dynamic
2024-03-13 15:12:14 +00:00
Ian Simonson
26d107ce64
Add getrusage syscall for mac/darwin
...
The syscall number existed but the wrapper for calling it
did not. Also adds the RUsage struct to receive the data.
Naming is kept the same as in sys/linux
2024-03-13 08:07:12 -07:00
gingerBill
d62c92f5a9
Merge pull request #3267 from harold-b/copy-dirent-path
...
Retain copies of `dirent->name` for .odin files when using `read_directory`
2024-03-13 12:23:28 +00:00
gingerBill
5c1646a6b3
Merge pull request #3271 from rick-masters/too_many_poly_args
...
Fix check for too many arguments to a polymorphic record type
2024-03-13 12:23:19 +00:00
Pariatech
b539bb2693
Update vendor/cgltf/src/Makefile
...
missing darwin folder
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2024-03-13 07:37:42 -04:00
rick-masters
7bc962b852
Fix variable used to index polymorphic parameter.
2024-03-12 23:58:20 +00:00
rick-masters
f7ec628cb2
Fix check for too many arguments to a polymorphic record type.
2024-03-12 23:57:13 +00:00
Jeroen van Rijn
23f3898b4e
Merge pull request #3270 from edyu/master
...
Expose internal invmod and int_exponent_mod with more consistent naming
2024-03-12 19:06:10 +01:00
Ed Yu
dd74a57c44
Expose internal invmod and int_exponent_mod with more consistent naming
2024-03-12 11:01:09 -07:00
gingerBill
d6353daf91
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-12 12:11:53 +00:00
gingerBill
c7c6852057
Support swizzle selector syntax .xyzw for #simd vectors
2024-03-12 12:11:48 +00:00
Harold Brenes
b543be0d15
Copy file names fromdirent into FileInfo during read_directory
2024-03-11 18:09:41 -04:00
gingerBill
47837b206e
Merge pull request #3266 from nnym/master
...
Use a POSIX-compliant equality operator in `build_odin.sh`.
2024-03-11 13:00:01 +00:00
gingerBill
9a41a450e7
Add builtin map_upsert
2024-03-11 12:30:24 +00:00
Muhammad
f20d0202fa
Use a POSIX-compliant equality operator.
2024-03-11 06:05:42 +00:00
gingerBill
8721d03cfe
Merge pull request #3199 from JamesDSource/soa
...
Add into_dynamic_soa, unordered_remove_soa, and ordered_remove_soa
2024-03-09 16:56:04 +00:00
gingerBill
d06575dd49
Merge pull request #3149 from IllusionMan1212/missing-x11-funcs
...
vendor/x11: added XQueryExtension, XGetEventData, and XFreeEventData
2024-03-09 16:53:11 +00:00
gingerBill
568b07473f
Merge pull request #3148 from IllusionMan1212/cookie-struct-fix
...
vendor/x11: fix "display" with no pointer in XGenericEventCookie
2024-03-09 16:52:53 +00:00
gingerBill
04666746d7
Merge pull request #3261 from spindlebink/fix-orthonormalize
...
Properly initialize return matrices in linalg.orthonormalize
2024-03-09 15:51:53 +00:00
spindlebink
b2e7eb4db4
Properly initialize return matrices in linalg.orthonormalize
2024-03-09 09:10:25 -06:00
gingerBill
f88af59372
Merge pull request #3258 from deckarep/patch-1
...
Base/runtime (darwin): Incorrect write syscall on Darwin - fixes stderr output.
2024-03-09 11:11:09 +00:00
Ralph Caraveo
a974c08aff
Incorrect write syscall on Darwin - fixes stderr output.
...
On macos, Odin was previously swallowing errors that would be reported via stderr.
I've confirmed with @laytan on Discord that this fixes the issue.
2024-03-08 16:19:59 -08:00
Jeroen van Rijn
fc9d3ec5a7
Merge branch 'master' of github.com:odin-lang/Odin
2024-03-08 18:06:13 +01:00
Jeroen van Rijn
db03c86544
Fix typo in big.internal_invmod
...
Fixes #3253
2024-03-08 18:05:34 +01:00
gingerBill
51d12acab3
Enforce linalg
2024-03-08 13:28:15 +00:00
gingerBill
032e193d0d
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-08 13:20:33 +00:00
gingerBill
0f83ab466f
Minor change to spacing when printing a map
2024-03-08 13:20:27 +00:00