gingerBill
fdc48a242d
Retype out the entire bindings for Orca
2024-03-19 22:36:56 +00:00
gingerBill
5714ea4ea3
Merge branch 'master' into orca-dev
2024-03-19 21:25:29 +00:00
gingerBill
a750fc0ba6
Add #row_major matrix[R, C]T
...
As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`.
This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
2024-03-19 21:05:23 +00:00
gingerBill
9d9b190ada
test
2024-03-19 18:20:15 +00:00
gingerBill
cc62773a05
Attempt at getting orca working somehow with the @(link_suffix)
2024-03-18 22:47:57 +00:00
gingerBill
1f2d2b0289
Add bridge_log
2024-03-18 22:13:00 +00:00
skytrias
ba46b0a535
distinct, const format, proper cstring parameters
2024-03-18 22:32:16 +01:00
skytrias
bca4c37f02
push orca target and old bindings
2024-03-18 22:09:17 +01: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
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
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
Chris
55141bdbb1
Make Mutex_Allocator use Ada_Case
2024-03-13 15:29:02 +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
Ed Yu
dd74a57c44
Expose internal invmod and int_exponent_mod with more consistent naming
2024-03-12 11:01:09 -07:00
spindlebink
b2e7eb4db4
Properly initialize return matrices in linalg.orthonormalize
2024-03-09 09:10:25 -06: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
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
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
ffa3669d02
Add virtual.Arena utilities: new, new_aligned, make
2024-03-06 15:23:56 +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
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
gingerBill
04bfc926ee
Merge pull request #3238 from laytan/libc-free-raylib-and-rectpack
...
makes raylib and stb_rect_pack free of libc
2024-03-06 14:11:41 +00:00
gingerBill
6d3a57b4ac
Zero intrinsics.alloca
2024-03-06 13:48:37 +00:00
gingerBill
c7b8f1fb0a
Use intrinsics.alloca rather than context.temp_allocator in json.unmarshal_object
2024-03-06 13:42:38 +00:00
gingerBill
462f3f4abd
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-06 11:49:24 +00:00
gingerBill
5eef29290c
Fix #3250
2024-03-06 11:49:17 +00:00
gingerBill
a944aa406d
Merge pull request #3246 from edyu/master
...
For invmod, b has to be > 1, fix a logic typo
2024-03-05 14:00:52 +00:00
gingerBill
8c6c2543da
Merge pull request #2999 from laytan/crypto-random-bytes-on-freebsd-and-darwin
...
add crypto.rand_bytes for Darwin and BSD
2024-03-05 12:55:37 +00:00