Commit Graph

52 Commits

Author SHA1 Message Date
Andreas T Jonsson
4558f3992a Initial commit of NetBSD port 2024-04-16 14:27:29 +02:00
Jeroen van Rijn
8a6a3e883c Merge pull request #3406 from laytan/bit-field-core-parser
add bit_field to `core:odin`
2024-04-10 03:12:40 +02:00
Laytan Laats
af6d2480fa add bit_field parsing to core:odin/parser
Also adds it to the core type thingy like it is in the compiler.
2024-04-10 01:01:32 +02:00
gingerBill
9933ca8b56 Make map_total_allocation_size public; Add map_total_allocation_size_from_value 2024-04-08 23:58:30 +01:00
gingerBill
34247b2658 Fix resize bug caused by typo 2024-03-24 12:24:44 +00:00
gingerBill
45d7dd8f27 Fix resize zeroing behaviour 2024-03-24 12:20:39 +00:00
Laytan Laats
bb5dab342a fix wasm with -target-features:"simd128"
the required procs within wasm would compile to take native v128
arguments in, but the procs are supposed to take in i64's causing bad wasm
modules.

Fixes #3263
2024-03-22 17:04:15 +01:00
gingerBill
29e5f94c2a Add #no_broadcast procedure parameter to disallow automatic array programming broadcasting on procedure arguments 2024-03-21 11:52:48 +00:00
gingerBill
a750fc0ba6 Add #row_major matrix[R, C]T
As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`.
This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
2024-03-19 21:05:23 +00:00
gingerBill
5f2496226f Change return to panic 2024-03-13 15:17:21 +00:00
gingerBill
dee66b8451 Fix typo due to deletion 2024-03-13 15:14:31 +00:00
gingerBill
ac10f504e4 Add infinite loop check and early out in map_insert_hash_dynamic 2024-03-13 15:12:14 +00:00
gingerBill
9a41a450e7 Add builtin map_upsert 2024-03-11 12:30:24 +00:00
gingerBill
8721d03cfe Merge pull request #3199 from JamesDSource/soa
Add into_dynamic_soa, unordered_remove_soa, and ordered_remove_soa
2024-03-09 16:56:04 +00:00
Ralph Caraveo
a974c08aff Incorrect write syscall on Darwin - fixes stderr output.
On macos, Odin was previously swallowing errors that would be reported via stderr. 

I've confirmed with @laytan on Discord that this fixes the issue.
2024-03-08 16:19:59 -08:00
avanspector
5d6b4eda1e Merge branch 'odin-lang:master' into haiku 2024-02-29 03:16:04 +01:00
gingerBill
51edf01162 Change type info table to be initializable constantly
[]Type_Info -> []^Type_Info
2024-02-27 15:07:55 +00:00
avanspector
dfa0ccf976 Update entry_unix.odin 2024-02-25 03:46:52 +01:00
avanspector
6c16860be6 fix runtime and libc 2024-02-25 03:43:41 +01:00
avanspector
d032cff23b Update os_specific_haiku.odin 2024-02-25 03:38:15 +01:00
avanspector
c3746d9f56 fix core and libc 2024-02-25 03:32:35 +01:00
avanspector
b03f17dd8d add haiku to base:runtime and core:c/libc 2024-02-25 02:59:45 +01:00
gingerBill
54515af8cc Add field tags to bit_field 2024-02-22 19:41: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
James Duran
44aae76294 Fix syntax mistake again
Sorry for being blind
2024-02-16 10:55:55 -08:00
James Duran
009cebe8bf Fix Syntax Mistake 2024-02-16 10:50:54 -08:00
James Duran
9399cb53b6 Make into_dynamic_soa more concise and remove builtin tag from it 2024-02-16 10:46:46 -08:00
James Duran
a4d3777ab2 Added into_dynamic_soa, unordered_remove_soa, and ordered_remove_soa 2024-02-14 16:51:09 -08:00
gingerBill
5c4485f657 Add #load_directory(path: string) > []runtime.Load_Directory_File 2024-02-09 15:18:29 +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
fa093d9b09 Add runtime.map_insert_and_check_for_previous 2024-02-06 23:58:22 +00:00
gingerBill
5f0f9f477e Merge pull request #3161 from laytan/fix-no-crt-darwin
fix -no-crt on Darwin
2024-02-03 12:30:00 +00:00
Laytan Laats
eb811e8341 fix -no-crt on Darwin 2024-02-02 19:49:40 +01:00
gingerBill
ae0a5b1a87 RUNTIME_REQUIRE :: false 2024-02-02 12:03:14 +00:00
gingerBill
55ff9b857e Add contextless where missing 2024-02-02 11:51:26 +00:00
gingerBill
f0a7f1812f Rename runtime.os_write to runtime.stderr_write 2024-01-29 16:29:56 +00:00
gingerBill
9c9ae5987a Fix #3150 2024-01-29 16:21:26 +00:00
gingerBill
59575d9b22 Remove incl and excl 2024-01-29 12:52:41 +00:00
gingerBill
3c47503780 Improve foreign variable fuzzy type checking 2024-01-28 23:35:01 +00:00
gingerBill
38af752cd1 Fix typo 2024-01-28 23:24:05 +00:00
gingerBill
0428f508d8 Fix typo of _heap_resize 2024-01-28 23:21:59 +00:00
gingerBill
535b8a9483 Remove core:os dependency completely from base:runtime 2024-01-28 23:11:38 +00:00
gingerBill
038086d1d9 Alias heap calls from base:runtime is core:os 2024-01-28 22:47:55 +00:00
gingerBill
9a16bc5fc5 Remove core:os dependency for base:runtime 2024-01-28 22:40:46 +00:00
gingerBill
eee8e0faa2 Make //+private 2024-01-28 22:20:12 +00:00
gingerBill
395e0fb225 -default-to-panic-allocator 2024-01-28 22:09:20 +00:00
gingerBill
9be9f0bb2c Remove core:os dependency for runtime.os_write on linux 2024-01-28 22:05:13 +00:00
gingerBill
9e7cc8cf93 Remove core:os dependency from base:runtime; change to base:intrinsics 2024-01-28 21:59:43 +00:00
gingerBill
f67691c457 Move matrix related procedures to the different linalg packages 2024-01-28 21:28:54 +00:00