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
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
Ed Yu
de41c2256d
For invmod, b has to be > 1, fix a logic typo
2024-03-04 10:16:19 -08:00
blob1807
b419615002
Apply suggestions from code review
...
Fixing spelling mistakes pointed out & fixed by layton.
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2024-03-04 21:20:13 +10:00
Yawning Angel
fa8dd5a13b
core/crypto: Misc cleanups and documentation improvements
2024-03-04 17:50:45 +09:00
Yawning Angel
b818ebc02f
core/crypto/kmac: Initial import
2024-03-04 17:50:45 +09:00
Yawning Angel
c04a53e453
core/crypto/tuplehash: Initial import
2024-03-04 17:50:43 +09:00
Yawning Angel
15287a771f
core/crypto/shake: Support cSHAKE
2024-03-04 17:50:24 +09:00
Yawning Angel
2db31cf0d5
core/crypto/_sha3: Cleanups, prepare for cSHAKE
2024-03-04 14:51:38 +09:00
Yawning Angel
550e798c1b
core/crypto/hkdf: Initial import
2024-03-04 14:51:38 +09:00
Yawning Angel
290168f862
core/crypto/pbkdf2: Initial import
2024-03-04 14:51:38 +09:00
Yawning Angel
2f2a92866b
core/crypto/hmac: Add a clone method
2024-03-04 14:51:38 +09:00
blob1807
116edb9052
convert spaces to tabs
2024-03-04 15:09:17 +10:00
blob1807
9070e613a4
Return underlining value instead of panicing
...
when no name it found.
Renamed use_enum_value_names to use_enum_names
it get the same point across & inline with the
reflect procs
2024-03-04 15:06:30 +10:00
Thomas la Cour
6243160ecd
Cleanup of ShowCursor after Bill pushed a fix
2024-03-03 19:53:34 +01:00
Thomas la Cour
980ee3310f
didn't help :/ so removed it to see if it can build again
2024-03-03 19:53:34 +01:00
Thomas la Cour
c5d5d055ac
Trying to resolve a strange nameclash on ShowCursor seems like raylib is also defining that. Unsure why exactly this is related so for now just tried to change the name here to _ShowCursor :/
2024-03-03 19:53:34 +01:00
Thomas la Cour
a783d4ce5b
Callback types
2024-03-03 19:53:33 +01:00
Thomas la Cour
a7b09a24b7
Waveform Functions
...
https://learn.microsoft.com/en-us/windows/win32/multimedia/waveform-functions
2024-03-03 19:53:33 +01:00