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
Jeroen van Rijn
4c35633e01
math.big constants were no longer initialized
...
Fixes #3243
2024-03-03 15:09:38 +01:00
Laytan Laats
50ded324e0
move va_list into core:c
2024-03-01 20:30:19 +01:00
gingerBill
674bd94f72
Add check to see if raylib is imported with ShowCursor on sys/windows
2024-03-01 18:30:23 +00:00
gingerBill
11b7be1640
Merge pull request #3203 from listeriaceae/master
...
port math.round from Golang
2024-03-01 11:33:43 +00:00
gingerBill
7f1069cb0b
Add Recursive_Mutex procedures to procedure groups
2024-03-01 11:31:13 +00:00
blob1807
41fbaaf1d3
changed to use reflect.enum_name_from_value_any
2024-03-01 14:53:39 +10:00
blob1807
f14babe419
Merge branch 'odin-lang:master' into json-better-enum-support
2024-03-01 14:24:51 +10:00
gingerBill
6805b85f89
Fix leap year bug
2024-02-29 20:20:37 +00:00
gingerBill
0a5c85f8e3
Merge pull request #3207 from Tetralux/printfln
...
Add `fmt.*printfln`
2024-02-29 14:04:38 +00:00
gingerBill
9c20df5b1b
Merge pull request #3201 from Yawning/feature/avl
...
core/container/avl: Add an AVL tree implementation
2024-02-29 14:02:45 +00:00
gingerBill
7df7fec6f7
Keep -vet happy
2024-02-28 18:27:49 +00:00
gingerBill
dce176fa39
Remove unnecessary use of transmute
2024-02-28 18:24:59 +00:00
Yawning Angel
874d6ccb60
core/container/avl: Initial import
2024-02-24 14:05:15 +09:00
gingerBill
5c5b78cbbe
Improve bit_field printing
2024-02-22 19:48:44 +00:00
gingerBill
54515af8cc
Add field tags to bit_field
2024-02-22 19:41:48 +00:00
gingerBill
afcc2889ec
Support compound literals for bit_field
2024-02-22 18:41:15 +00:00
gingerBill
c9e37a08be
Add backing type of a bit_field to the doc-format
2024-02-22 17:41:22 +00:00
gingerBill
dcbcf75269
Add doc-format support for bit_field
2024-02-22 17:37:42 +00:00
gingerBill
007bd993a6
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-22 17:24:48 +00:00
gingerBill
5a84a08225
Add general support for bit_fields
2024-02-22 17:24:42 +00:00
gingerBill
a4b8c1ea17
Begin work adding bit_field
2024-02-22 15:55:54 +00:00
Jeroen van Rijn
20e75cd463
Merge pull request #3221 from Tetralux/net/reservedports
...
[net] Better error code for binding a privileged port without root access
2024-02-22 16:23:15 +01:00
Tetralux
d74ddb2d91
fixup
2024-02-22 15:01:55 +00:00
Tetralux
ec0831da70
[net] Better error code for binding a privileged port without root access on Darwin
...
This condition results in os.EACCESS, which we were translating to Broadcast_Disabled.
This was the case because binding to the broadcast address on a UDP port, without setting the BROADCAST flag, also results in this error.
Given the fact that reserved ports also produce this error, we now check for this condition in net.bind() and translate it to a custom, clearer error:
Privileged_Port_Without_Root.
2024-02-22 14:55:27 +00:00
gingerBill
213b2fd0f8
Add bit_field as a keyword
2024-02-22 14:01:23 +00:00
gingerBill
656de10ba4
Minor changes to sync/chan (HIGHLY EXPERIMENTAL)
2024-02-22 13:59:22 +00:00
gingerBill
41549b502b
Basic concept of core:sync/chan
2024-02-21 15:24:24 +00:00