Laytan Laats
32a4a5e601
remove darwin from bsd filename
2024-02-13 17:34:40 +01:00
Laytan Laats
91cf0826c1
use Security.framework with SecRandomCopyBytes for rand_bytes on darwin
2024-02-13 17:34:40 +01:00
Laytan Laats
3bc172c70b
add crypto.rand_bytes for Darwin and FreeBSD
2024-02-13 17:34:00 +01:00
gingerBill
f378367fe7
Store cell data in map debug metadata
2024-02-12 15:17:06 +00:00
gingerBill
c291fffce1
Add metadata type to maps debug information to aid debuggers knowing what is in it it
2024-02-12 12:29:37 +00:00
gingerBill
900fe95ba0
Split out linalg.identity between matrices and array-based matrix
2024-02-12 12:08:43 +00:00
gingerBill
5dd2e38aff
Change minor/adjoint to be row, col from c, r to be consistent with [row, col] syntax; Add #no_bounds_check were appropriate
2024-02-12 11:54:24 +00:00
gingerBill
5ad8ebba9f
Merge pull request #3188 from Tetralux/fixchdir
...
[os] Fix os.change_directory(), os.set_current_directory()
2024-02-12 11:24:45 +00:00
gingerBill
e7719eed65
Merge pull request #3189 from mothfuzz/json_unmarshal_enumerated_enums_fix
...
remove return statement from case Type_Info_Enumerated_Array
2024-02-12 11:23:51 +00:00
Kay
5f49b8997a
remove return statement from case Type_Info_Enumerated_Array, as it causes early exit in JSON unmarshalling.
2024-02-12 01:45:11 -06:00
Tetralux
d6734c85b8
[os] Fix os.change_directory(), os.set_current_directory()
...
- set_current_directory() was leaking the wstring path string because it wasn't using the temp allocator.
- change_directory() wasn't calling SetCurrentDirectoryW() under the lock!
2024-02-12 06:03:51 +00:00
gingerBill
4ca23499fa
Add raymath procedures (with numerous deprecated attributes to suggest to use array programming)
2024-02-10 16:31:03 +00:00
gingerBill
e201a2fabb
Add rand.choice_enum
2024-02-10 15:13:09 +00:00
gingerBill
5c4485f657
Add #load_directory(path: string) > []runtime.Load_Directory_File
2024-02-09 15:18:29 +00:00
gingerBill
bae2a6fc1e
Merge pull request #3184 from Lperlind/master
...
Add more window procedures
2024-02-09 11:59:12 +00:00
Lucas Perlind
8777fa1c04
Add more window procedures
2024-02-09 14:04:16 +11:00
gingerBill
d771b3286d
Merge pull request #3182 from laytan/fix-instrumentation-in-debug-mode
...
fix instrumentation in debug mode
2024-02-08 21:36:43 +00:00
Laytan
0e6dd56ac1
fix instrumentation in debug mode
2024-02-08 22:29:45 +01:00
gingerBill
9127e584c5
Merge pull request #3181 from laytan/fix-no-crt-on-linux
...
fix -no-crt on Linux
2024-02-08 21:07:42 +00:00
Laytan
eab0e730a0
fix -no-crt on Linux
2024-02-08 19:48:37 +01:00
gingerBill
7128bc4b34
Add core:relative
...
This will eventually replace the #relative types
2024-02-08 15:15:16 +00:00
gingerBill
7b672ac72a
Disallow mixture of polymorphic $ names and normal identifiers within record parameters
2024-02-08 14:03:03 +00:00
gingerBill
8f4ab3c07d
Add check for a procedure
2024-02-08 13:49:27 +00:00
gingerBill
dc5cfacc0a
Fix edge case for procedures
2024-02-08 13:45:18 +00:00
gingerBill
3aea2e1fff
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-08 13:41:07 +00:00
gingerBill
59933b244d
Allow polymorphic checking with intrinsics.type_is_subtype_of(Derived_Type, Poly_Type)
2024-02-08 13:41:02 +00:00
gingerBill
42aca72d9f
Correct the logic for parapoly records to match that of procedures (polymorphic non-typeid parameters)
2024-02-08 13:21:41 +00:00
gingerBill
7034a31745
Merge pull request #3180 from z64/z64/fix
...
Remove invalid allocator assignment to slice
2024-02-08 12:39:49 +00:00
Zac Nowicki
9d0786ded7
Remove invalid allocator assignment to slice
...
`T` is `#soa[]$E`, which does not carry an allocator.
2024-02-08 04:14:16 -05:00
gingerBill
4c51706941
Merge pull request #3179 from laytan/fix-ci
...
fix ci
2024-02-07 19:09:04 +00:00
Laytan Laats
a8c4f46747
fix ci
2024-02-07 19:53:52 +01:00
gingerBill
8e367d221b
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-07 17:16:05 +00:00
gingerBill
a08250ac5b
Improve error handling for missing library collection provided by the compiler
2024-02-07 17:15:59 +00:00
gingerBill
131c71ea76
Merge pull request #3142 from jay-j/feature/gl-allow-geometry-shaders
...
Expose OpenGL shader procs to allow creation of pipelines with geometry shaders
2024-02-07 16:09:58 +00:00
gingerBill
9db04fe446
Merge pull request #3156 from laytan/spall-instrumentation
...
Make spall able to be used in instrumentation procedures
2024-02-07 12:16:20 +00:00
gingerBill
abaa906f34
Fix lb_hasher_proc_for_type
2024-02-07 11:05:38 +00:00
gingerBill
fa093d9b09
Add runtime.map_insert_and_check_for_previous
2024-02-06 23:58:22 +00:00
gingerBill
4035a226da
Fix filepath.rel allocation behaviour
2024-02-06 23:39:20 +00:00
gingerBill
df5ee2dd06
Merge pull request #3178 from laytan/fix-virtual-static-reset-logic
...
mem/virtual: fix arena_static_reset_to inverted logic
2024-02-06 23:31:07 +00:00
Laytan
9b4cd0743c
mem/virtual: fix arena_static_reset_to inverted logic
2024-02-06 20:24:38 +01:00
laytan
3f090ed523
fix for instrumenting on Windows
2024-02-06 19:55:09 +01:00
gingerBill
79173ef119
Merge pull request #3136 from Yawning/feature/crypto-hash
...
core:crypto/hash - Add and refactor
2024-02-06 17:40:45 +00:00
Yawning Angel
44758f2a60
core/crypto: Stop using context.temp_allocator
...
The max digest size for the foreseeable future will be 512 bits, and the
max block size is currently 1152 bits (SHA3-224). If people add more
exotic hash algorithms without bumping the constants when required,
tests will fail.
The stream buffer will currently be 576 bytes, which is "fine" to just
stick on the stack, and is a sensible multiple of the more common block
size of 64 bytes.
2024-02-07 02:33:53 +09:00
gingerBill
1f0b24b735
Remove unneeded casts
2024-02-06 17:22:13 +00:00
gingerBill
327853ab92
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-06 17:20:13 +00:00
gingerBill
a6878fcd91
Clean up code for initialize_symbols
2024-02-06 17:20:07 +00:00
gingerBill
61202b5abd
Merge pull request #3174 from thetarnav/webgl2-matrix-flatten-2
...
Use `intrinsics.matrix_flatten` in `webgl2.odin`
2024-02-06 17:00:33 +00:00
Yawning Angel
56516ee8b2
core/crypto/poly1305: Relax the tag length check on the verify helper
2024-02-07 00:42:01 +09:00
Yawning Angel
1cc639bc93
core/crypto/hmac: Initial import
2024-02-07 00:42:01 +09:00
Yawning Angel
2357293e05
core/crypto/hash: Make the low level interface allocator-less
...
Just (ab)using reflect to victory is probably fine.
2024-02-07 00:37:18 +09:00