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
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
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
gingerBill
53ce945034
Merge pull request #3230 from avanspector/haiku
...
Add Haiku OS support
2024-03-08 11:15:13 +00:00
gingerBill
0e168dd292
Merge pull request #3241 from Hyrtwol/sys-windows
...
Gathered what I made for sys/windows
2024-03-07 15:26:31 +00:00
gingerBill
5ff6a25bdc
Improve formatting for %# on maps
2024-03-07 13:45:52 +00:00
gingerBill
b6b8e640f5
Replace b with _ as it is not needed
2024-03-07 13:41:54 +00:00
gingerBill
573402c97e
Begin work on %w - 'w'rite as valid Odin literals
2024-03-07 13:39:44 +00:00
gingerBill
e01701ce0e
Fix typo
2024-03-07 12:32:46 +00:00
gingerBill
f9b14500be
Add default_commit_size to virtual.Arena
2024-03-07 12:30:34 +00:00
gingerBill
4bb7cd5e4b
Add bit_field option to core_type in the compiler
2024-03-07 11:31:00 +00:00
gingerBill
6d5b1800fe
Fix typo
2024-03-06 16:34:17 +00:00
gingerBill
0f5328973e
Add mem.Mutex_Allocator
2024-03-06 16:33:54 +00:00
gingerBill
65277ddd6b
Add missing attribute
2024-03-06 16:30:39 +00:00
gingerBill
46718d6d85
Add Query_Info to Buddy_Allocator
2024-03-06 16:26:10 +00:00
gingerBill
2a0543d2f0
Add mem.Buddy_Allocator
2024-03-06 16:14:45 +00:00
gingerBill
792f06a234
Fix indentation
2024-03-06 15:29:07 +00:00
gingerBill
14f7619cdc
Merge pull request #3069 from pcleavelin/master
...
Respect `-lld` CLI arg on non-windows machines
2024-03-06 15:25:16 +00:00
gingerBill
ffa3669d02
Add virtual.Arena utilities: new, new_aligned, make
2024-03-06 15:23:56 +00:00
gingerBill
b1903b915b
Change to IEEE 754-2008 conformance for min/max runtime operations.
2024-03-06 15:16:11 +00:00
gingerBill
a7bab89c93
Unify min/max semantics for simd_(min|max)
2024-03-06 15:07:21 +00:00
gingerBill
a1ee9e7035
Change min/max runtime behaviour to match IEEE 754-2019
2024-03-06 15:04:46 +00:00
gingerBill
c05a92ab3e
Merge pull request #3215 from blob1807/json-better-enum-support
...
core:encoding/json Add support for writing enum value names
2024-03-06 14:56:19 +00:00
gingerBill
5789df5c0c
Disable core library tests for ARM (Silly CI)
2024-03-06 14:54:23 +00:00
gingerBill
78c05a49a3
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-06 14:52:04 +00:00
gingerBill
8d496dc3d0
Fix #3173
2024-03-06 14:51:56 +00:00
gingerBill
703eab2f15
Merge pull request #3229 from Yawning/feature/moar-crypto
...
core/crypto: More improvements/additions
2024-03-06 14:49:15 +00:00