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 |
|
Laytan Laats
|
04bd3cc525
|
encoding/cbor: rename diagnose to to_diagnostic_format to be clearer
|
2024-03-04 17:26:19 +01:00 |
|
Laytan
|
9fc8587e2c
|
encoding/cbor: untouch net/common.odin
|
2024-03-04 17:26:19 +01:00 |
|
Laytan
|
2a39c60fe4
|
encoding/cbor: respect default to panic allocator
|
2024-03-04 17:26:19 +01:00 |
|
Laytan
|
b11d839fb6
|
encoding/cbor: make temp allocations more explicit
|
2024-03-04 17:26:19 +01:00 |
|
Laytan
|
0076c07076
|
encoding/cbor: core -> base
|
2024-03-04 17:26:19 +01:00 |
|
Laytan
|
a664d9804f
|
encoding/cbor: remove usage of incl_elem and excl_elem
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
c4e45d509a
|
encoding/cbor: adhere to new quaternion rules of master
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
c1cf6c1a95
|
encoding/cbor: add general docs and example
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
317931a3c5
|
encoding/cbor: deterministically store bit sets as big endian
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
759d095548
|
encoding/cbor: ignore struct fields with cbor:"-"
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
72d5b87b52
|
encoding/cbor: clean
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
154e0d41c6
|
encoding/cbor: fix wrong allocator bug
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
3fccc77829
|
encoding/cbor: clean and fixup some allocations
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
85f1a60cf3
|
encoding/cbor: cleanup comments about tags
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
cb8bb8bfd8
|
encoding/cbor: cleanup default temp allocator
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
46b58ad48d
|
encoding/cbor: don't zero bytes we are going to write/read to/from anyway
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
7283b5e75c
|
encoding/cbor: minor things
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
21e6e28a3a
|
encoding/cbor: add decoder flags and protect from malicious untrusted input
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
d77ae9abab
|
encoding/cbor: fully support marshal/unmarshal of unions
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
363769d4d3
|
encoding/cbor: cleanup base64 tag
|
2024-03-04 17:26:19 +01:00 |
|
Laytan Laats
|
b6c47e7963
|
encoding/base64: add decode_into, add tests
|
2024-03-04 17:26:17 +01:00 |
|
Laytan Laats
|
5533a327eb
|
encoding/cbor: initial package implementation
|
2024-03-04 17:25:34 +01: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 |
|
Thomas la Cour
|
602e000379
|
hid usage flags
https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/hid-usages
|
2024-03-03 19:53:33 +01:00 |
|
Thomas la Cour
|
f93074a082
|
A few extra gdi procs for icons, cursors and drawing
|
2024-03-03 19:53:33 +01:00 |
|
Thomas la Cour
|
28f05e8aaa
|
SHChangeNotify + flags
https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shchangenotify
|
2024-03-03 19:53:33 +01:00 |
|
Thomas la Cour
|
9eb1596939
|
Flags for GlobalAlloc
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-globalalloc
|
2024-03-03 19:53:33 +01:00 |
|
Thomas la Cour
|
8412352e5a
|
bitmap v5 header
https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapv5header
|
2024-03-03 19:53:33 +01: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 |
|