gingerBill
e127d21fed
Check for pseudo-fields before bit fields
2024-02-22 19:24:50 +00:00
gingerBill
3060225f46
Simplify usage code
2024-02-22 19:24:16 +00:00
gingerBill
c14b9d461a
Support using of a bit_field within a struct
2024-02-22 19:14:16 +00:00
gingerBill
8060e3170e
Remove debug message
2024-02-22 18:53:02 +00:00
gingerBill
980947b355
Give a better error message when the user uses context as if it was an identifier in a field list.
2024-02-22 18:52:17 +00:00
gingerBill
fd987b29ff
Improve error handling with assignments to bit_field using constants
2024-02-22 18:47:43 +00:00
gingerBill
afcc2889ec
Support compound literals for bit_field
2024-02-22 18:41:15 +00:00
gingerBill
5f001f6d51
Allow casting between a bit_field and its backing type
2024-02-22 18:15:13 +00:00
gingerBill
fc07211772
Change hack a little
2024-02-22 17:43:37 +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
59479b2ba6
Fix typo
2024-02-22 17:26:32 +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
gingerBill
b12ba1508e
Update vulkan bindings for to work with the new keyword bit_field
2024-02-22 14:09:12 +00:00
gingerBill
f3b0b82461
Fix futex
2024-02-22 14:04:31 +00:00
gingerBill
fea38f6910
Minor changes to futex implementation on Linux
2024-02-22 14:01:39 +00:00
gingerBill
213b2fd0f8
Add bit_field as a keyword
2024-02-22 14:01:23 +00:00
gingerBill
42d595f6a1
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-22 13:59:27 +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
gingerBill
f989f4df3e
Add sync.One_Shot_Event
2024-02-21 13:08:12 +00:00
gingerBill
21d1c0e5a4
Revert change since it is not needed
2024-02-21 12:58:26 +00:00
gingerBill
d7b7804215
if -> while in wait_signal_until_available to check for spurious wake-ups
2024-02-21 12:55:26 +00:00
gingerBill
8472338bfa
Add reflect.enum_name_from_value and reflect.enum_name_from_value_any
2024-02-21 12:43:09 +00:00
gingerBill
43a199b57b
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-17 13:42:02 +00:00
gingerBill
fa1875a8f1
Minor changes to os2
2024-02-17 13:41:54 +00:00
gingerBill
c5c2a4d09d
Fix typo
2024-02-13 17:13:39 +00:00
gingerBill
912c326d8b
Fix typo that causes map info debug issues
2024-02-13 17:06:04 +00:00
gingerBill
d496dbf3a0
Fix race condition with #soa
2024-02-13 16:54:41 +00:00
gingerBill
cbfb32c34c
Fix race condition with regards to #soa arrays by using the fields mutex
2024-02-13 16:21:41 +00:00
gingerBill
5cd57a3a7f
Use Raw_Map as the debug information for a map
2024-02-13 15:50:07 +00: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
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
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
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
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
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
b0675358c3
Add angle_between and matrix2_rotate
2024-02-06 14:09:05 +00:00
gingerBill
80a0b161b0
Force 128-bit calls on wasm
2024-02-05 13:51:16 +00:00
gingerBill
27feb5998c
Add require to 128-bit and f16 casts
2024-02-05 13:49:10 +00:00
gingerBill
e88db2818b
force requiring the 128-bit calls on WASM targets
2024-02-05 13:48:08 +00:00
gingerBill
19535d8721
Add require flags to 128-bit integer procedures
2024-02-05 11:11:28 +00:00
gingerBill
cec08114fd
Mock out comments
2024-02-02 14:57:22 +00:00
gingerBill
bf90b61908
Fix type_elem_type for complex32 and quaternion64
2024-02-02 14:52:42 +00: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
e7122a0950
Minimize extra dependencies if u128/i128 and f16 are not used
2024-02-02 11:42:22 +00:00
gingerBill
539cec7496
Move Tracking_Allocator to its own file.
2024-02-01 13:01:38 +00:00
gingerBill
000709b594
Make file_console_logger.odin be ignored on freestanding targets
2024-01-31 22:01:35 +00:00
gingerBill
a4664f82cc
Fix dummy code
2024-01-31 14:10:18 +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
a626adac8e
Use long-form names and alias with short-form UNIX-like names
2024-01-29 13:33:39 +00:00
gingerBill
338793b68e
Remove use of incl in vendor:nanovg
2024-01-29 13:11:14 +00:00
gingerBill
59575d9b22
Remove incl and excl
2024-01-29 12:52:41 +00:00
gingerBill
b58a0b60d0
Add matrix related intrinsics to dummy file
2024-01-29 11:48:50 +00:00
gingerBill
3a4c82abf8
Move core:(builtin|intrinsics) to base:
2024-01-29 11:46:16 +00:00
gingerBill
946cf52df1
Merge branch 'master' into base-work
2024-01-28 23:50:31 +00:00
gingerBill
a78f062499
Fix semantics for casting between polymorphic specialized procedures
2024-01-28 23:49:59 +00:00
gingerBill
3c47503780
Improve foreign variable fuzzy type checking
2024-01-28 23:35:01 +00:00
gingerBill
6da82e038d
Fix types for BSD
2024-01-28 23:27:30 +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
3c24584290
Remove cyclic import hack for package runtime
2024-01-28 23:12:48 +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
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
gingerBill
6a07effdd2
Freestanding - default to nil allocator; wasm - default to panic allocator
2024-01-28 22:15:28 +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
2743bf7e44
Remove sdl.stack_* calls
2024-01-28 21:42:36 +00:00
gingerBill
d95c28f41b
Fix demo docs
2024-01-28 21:39:18 +00:00
gingerBill
e57224d6e4
Fix demo
2024-01-28 21:30:08 +00:00
gingerBill
f67691c457
Move matrix related procedures to the different linalg packages
2024-01-28 21:28:54 +00:00
gingerBill
d04c82e547
Move matrix compiler builtins to intrinsics; alias within core_builtin_matrix.odin
2024-01-28 21:20:30 +00:00
gingerBill
09fa1c29cd
Move core:runtime to base:runtime; keep alias around
2024-01-28 21:05:53 +00:00
gingerBill
ddcaa0de53
Remove core:mem dependency from core:reflect
2024-01-28 20:52:01 +00:00
gingerBill
621b3c7829
Add missing clone for Struct_Type
2024-01-28 17:34:32 +00:00
gingerBill
68df35b378
Add #field_align(N)
...
It sets the minimum alignment for the fields within a struct. This cannot be used with `#packed`, but can be used with `#align(N)`.
If `#align(N)` is less than `#field_align(N)`, then a warning will be printed.
2024-01-28 17:33:29 +00:00