Commit Graph

17473 Commits

Author SHA1 Message Date
gingerBill
f231ef0596 Support simd.byte_swap 2026-05-19 15:44:31 +01:00
gingerBill
a3240373ac Allow simd.(reduce_any|reduce_all) to work with #simd integers 2026-05-19 15:33:45 +01:00
gingerBill
2094cd4768 Add suggestion for ternary if with simd 2026-05-19 15:27:34 +01:00
gingerBill
42d3f78bae Improve simd.sign_bit code generation 2026-05-19 14:54:39 +01:00
gingerBill
cfef365c9f Add another suggestion of #simd shifting 2026-05-19 14:53:50 +01:00
gingerBill
046771c94a Merge branch 'master' of https://github.com/odin-lang/Odin 2026-05-19 14:52:56 +01:00
gingerBill
0a87628a76 Add suggestion when trying to use << and >> with #simd 2026-05-19 14:52:46 +01:00
gingerBill
f370632888 Add suggestion when trying to index a #simd array 2026-05-19 14:47:06 +01:00
Jeroen van Rijn
9a0d939442 Merge pull request #6695 from Yawning/feature/mldsa
core/crypto/mldsa: Initial import
2026-05-19 12:34:12 +02:00
Yawning Angel
ccc17780b4 core/crypto/mldsa: Initial import 2026-05-19 19:32:50 +09:00
Yawning Angel
0c1c0372c7 core/crypto/mlkem: Minor cleanups 2026-05-19 19:32:50 +09:00
Yawning Angel
d5903be4e5 core/crypto/noise: Stop cheating and reaching into "opaque" structs 2026-05-19 19:32:50 +09:00
Yawning Angel
104da7d54b core/crypto/ecdh: Add private_key_public_bytes 2026-05-19 19:32:50 +09:00
Yawning Angel
c3e7a9026b core/crypto/ed25519: Add private_key_public_bytes 2026-05-19 19:32:50 +09:00
Yawning Angel
675389aeab core/crypto/ecdsa: Minor additions and cleanups 2026-05-19 19:32:50 +09:00
gingerBill
f6da3a76b4 Merge pull request #6707 from jakubtomsu/ord_gram_schmidt
linalg: gram schmidt in any order
2026-05-19 11:27:03 +01:00
jakubtomsu
6a206d9bce tabs... 2026-05-18 20:05:30 +02:00
jakubtomsu
b57db64c8e linalg: gram schmidt in any order 2026-05-18 19:34:53 +02:00
gingerBill
c19540dda4 Merge pull request #6696 from Spooky309/no-thread-local
Honour -no-thread-local for variables declared at procedure scope
2026-05-18 16:28:39 +01:00
gingerBill
9d92bf6a2e Merge pull request #6706 from BadWolfuu/master
adding missing documentation to strconv.parse_int and strconv.parse_uint
2026-05-18 16:28:25 +01:00
gingerBill
9501894e80 Merge pull request #6701 from Creativty/fix_poly_proc_nil
Fix nil typing when procedure call argument
2026-05-18 15:00:18 +01:00
gingerBill
bb819109c0 Merge pull request #6702 from Creativty/add_switch_type_duplicate_checks
Add duplicates checking in type switches
2026-05-18 14:58:34 +01:00
gingerBill
1e1f37fcef n -> num_appended for append return values 2026-05-18 14:33:35 +01:00
BadWolfuu
37aaf4519c adding missing documentation to strconv.parse_int and strconv.parse_uint
parse_int and parse_uint where missing documentation for the optional parameter `n: ^int` to store the length of the parsed substring
2026-05-18 14:01:31 +02:00
Abderrahim Indjaren
d02c5e1a21 add: check duplicates in type switches 2026-05-18 03:15:55 +01:00
Abderrahim Indjaren
d37284ce55 fix: nil keeps its type instead of taking expected type 2026-05-17 18:49:49 +01:00
gingerBill
97482f53f4 Minor rearrange 2026-05-17 13:18:48 +01:00
gingerBill
d8bbdf5ae6 Add EBNF for Odin 2026-05-17 12:54:22 +01:00
Jeroen van Rijn
e2c8d9ea33 Merge pull request #6697 from dogue/master
[core:io/utils]: fix undeclared name in read_slice (typo)
2026-05-16 20:21:43 +02:00
dogue
e6d10b02e5 [core:io/utils]: fix undeclared name in read_slice (typo)
Fixes a typo where `read_slice` tries to pass a `w` argument to
`read_ptr` instead of `r`.
2026-05-16 14:07:41 -04:00
Spooky309
765776d136 Honour no-thread-local for variables declared at procedure scope 2026-05-16 10:56:17 +01:00
gingerBill
80a21a01cc Merge pull request #6687 from MightyChubz/xlib-signature-changes
Additional Xlib binding changes
2026-05-15 12:40:17 +01:00
Alexander Cusaac (MightyChubz)
6888cca982 refactor: Change bit_set type for SizeHints to int
This doesn't really change actual behavior, but to stay accurate to the internal logic of X11, this would be a regular long for the flags, not an unsigned long.
2026-05-13 18:07:57 -04:00
gingerBill
7c2588b101 Fix formatting to keep -vet happy 2026-05-13 14:05:20 +01:00
gingerBill
1d1f72fa1a Merge pull request #6683 from jasonKercher/oslinux-statx
core:os (Linux): Convert (f)stat calls to statx
2026-05-13 14:03:05 +01:00
gingerBill
265a81eb09 Merge pull request #6684 from ddenizozgur/fix-x11-XInternAtoms
vendor/x11: fix missing only_if_exists parameter in XInternAtoms
2026-05-13 14:01:26 +01:00
Alexander Cusaac (MightyChubz)
310d27ff19 fix: Change discard from bool to b32 in Sync 2026-05-13 02:13:46 -04:00
Alexander Cusaac (MightyChubz)
53dd8075b1 refactor: Clean signature for GetWindowProperty 2026-05-13 02:13:15 -04:00
Alexander Cusaac (MightyChubz)
e294f3f1e1 feat: Add atom constants for XA_CARDINAL and XA_INTEGER
XA_CARDINAL is used in particular for frame extents.
2026-05-13 02:11:58 -04:00
Alexander Cusaac (MightyChubz)
a1a201b4ff typo
oops
2026-05-13 00:51:40 -04:00
Alexander Cusaac (MightyChubz)
844f813ab6 refactor: Add returns to all window mapping/unmapping functions
These do return a `b32` value on return, true for success and false for
failure. They should be here since these can fail.
2026-05-13 00:51:31 -04:00
ddenizozgur
4de05d4b49 vendor/x11: fix missing only_if_exists parameter in XInternAtoms 2026-05-13 04:08:05 +03:00
jason
57b63263b3 get .MODE and .TYPE right 2026-05-12 18:53:39 -04:00
jason
bb9cddabac linux.Stat -> linux.Statx
This provides access to os.Stat.creation_time for Linux.
Added a cast to string_interner.cpp for 32-bit compiles.
2026-05-12 18:24:08 -04:00
gingerBill
e0781c0e40 Just change the type when transposing #row_major to #column_major matrix types 2026-05-12 17:19:49 +01:00
gingerBill
16ebdc19dd Merge pull request #6672 from JoltedJon/gh-6660
Add unicode mapping between 'ẞ' <-> 'ß'
2026-05-12 14:55:06 +01:00
gingerBill
bab064ce61 Merge pull request #6680 from MightyChubz/xlib-binding-fixes
Fix xlib binding signatures
2026-05-12 14:54:55 +01:00
gingerBill
2952af3398 Merge pull request #6669 from BradLewis/fix/json-handle-invalid-utf8
Handle invalid utf8 when parsing json
2026-05-12 14:40:49 +01:00
gingerBill
d4508e39de Merge pull request #6677 from BigBoyBarney/builtin-fix
Fix `make_aligned` and `new_aligned` to be builtin
2026-05-12 14:31:26 +01:00
gingerBill
3715544202 Merge pull request #6670 from Creativty/fix_dynamic_cap_doc
Handle Fixed Capacity Dynamic Arrays in write_expr_to_string
2026-05-12 14:29:09 +01:00