gingerBill
dab3c832e0
Add #warning(<string>) builtin compile time procedure
2024-06-20 15:32:30 +01:00
gingerBill
8c760e140f
Move import to a windows specific file
2024-06-20 12:38:09 +01:00
gingerBill
3db7780a2c
Add vendor:wgpu to examples/all
2024-06-20 12:20:06 +01:00
gingerBill
8b446fc88d
Fix wgpu paths for Windows
2024-06-20 12:18:26 +01:00
gingerBill
c9884906d9
Add #directory
2024-06-20 12:15:55 +01:00
gingerBill
56383e45a7
Fix #3768
2024-06-20 11:44:00 +01:00
gingerBill
3d9db56410
Minor formatting changes to unicode stuff
2024-06-18 12:53:56 +01:00
gingerBill
bacb915ff8
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-15 16:24:07 +01:00
gingerBill
e41ad2bf16
to_random_generator -> random_generator
2024-06-15 16:24:01 +01:00
gingerBill
1c940e3968
Remove dead variable
2024-06-15 15:53:16 +01:00
gingerBill
c97ffbecbc
Fix rand in container tests
2024-06-15 15:50:35 +01:00
gingerBill
2380720fa2
Fix core:sync/chan for rand
2024-06-15 15:46:48 +01:00
gingerBill
149ecafdef
Remove the need for rand in core:math/big
2024-06-15 15:43:57 +01:00
gingerBill
7ec17ecf98
Update core:math/rand to use context.random_generator and remove rand.Rand
2024-06-15 15:33:24 +01:00
gingerBill
318d5e4a7e
Add Reset mode
2024-06-15 15:17:23 +01:00
gingerBill
eaec8a2bbf
Add runtime.default_random_generator
2024-06-15 15:08:49 +01:00
gingerBill
c2a01096c4
Remove unneeded reassignment of r
2024-06-15 14:49:09 +01:00
gingerBill
827cb24023
Add random_generator.odin
2024-06-15 14:47:37 +01:00
gingerBill
dc4ec8638c
Add runtime.Random_Generator interface
2024-06-15 14:45:57 +01:00
gingerBill
c5f7788652
Check to see if matrices are exactly the same type
2024-06-12 12:54:57 +01:00
gingerBill
f57c03c170
Improve matrix type hinting rules a little
2024-06-12 12:40:29 +01:00
gingerBill
35a845b93f
Fix indentation
2024-06-11 13:12:41 +01:00
gingerBill
3ff8952813
Replace panic(fmt.tprintf( antipattern with fmt.panicf
2024-06-11 13:11:14 +01:00
gingerBill
1dc90103bd
Make verification ignorable with a define flag
2024-06-11 12:30:24 +01:00
gingerBill
0b02c67cdf
Minor clean up for backend
2024-06-11 12:19:52 +01:00
gingerBill
9b0e87544a
Unify LLVMVerifyFunction invocations into on place
2024-06-11 12:07:22 +01:00
gingerBill
f1779c85de
Fix #3727
2024-06-10 18:50:53 +01:00
gingerBill
eef2aef021
Fix #3724
2024-06-10 15:07:45 +01:00
gingerBill
c1e81dc14d
Fix #3726
2024-06-10 15:05:24 +01:00
gingerBill
fa3cae2bb0
Add intrinsics.procedure_of
...
```odin
foo :: proc(x: $T) { fmt.println(x) }
bar :: intrinsics.procedure_of(foo(int(123))) // parameters are never ran at compile time, similar to `size_of`
bar(333) // prints 333
```
2024-06-10 15:02:34 +01:00
gingerBill
1945218f6d
Improve parsing for label: #reverse for and label: #partial switch
2024-06-10 14:18:33 +01:00
gingerBill
7c529e990d
Add -target:freestanding_arm32 (experimental)
2024-06-09 17:48:46 +01:00
gingerBill
828870004b
Change indentation
2024-06-09 17:15:08 +01:00
gingerBill
ef7c6b9895
Re Fix #3713
2024-06-09 14:07:07 +01:00
gingerBill
c17981ac38
Add edge case to error_operand_no_value
2024-06-09 14:02:01 +01:00
gingerBill
4b52f7fe2b
Fix #3713
2024-06-09 13:35:22 +01:00
gingerBill
8fcfd8c506
Fix sign flag
2024-06-09 13:21:22 +01:00
gingerBill
e0d0dc704c
Make f32(u8) etc do an immediate cast to f32(u32(u8)) in code generation
2024-06-09 13:20:48 +01:00
gingerBill
be0774acc8
Add error message on return a constant slice value from a procedure
2024-06-08 16:07:28 +01:00
gingerBill
7e994b6d21
Remove empty line preventing a suggestion from happening
2024-06-08 15:42:19 +01:00
gingerBill
371749d474
Make certain procedures "contextless" for microui
2024-06-08 14:48:04 +01:00
gingerBill
68781f8dd3
Remove unnecessary Wait_Signal checks
2024-06-07 00:11:00 +01:00
gingerBill
1d99bc0f87
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-06 23:55:54 +01:00
gingerBill
7044a7d776
Try to fix a possible race condition with polymorphic record parameters
2024-06-06 23:55:48 +01:00
gingerBill
08612423b9
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-06 21:03:44 +01:00
gingerBill
ff37a7435c
Add parentheses around the foreign import paths
2024-06-06 21:03:35 +01:00
gingerBill
d0dbe9a1bd
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-06 17:59:19 +01:00
gingerBill
039bb8794a
Improve matrix_align_of logic when it has invalid inputs.
2024-06-06 17:59:12 +01:00
gingerBill
3a9b86628a
Add @(rodata) and @(static, rodata) where appropriate
2024-06-06 15:23:52 +01:00
gingerBill
bea47db495
Allow @(rodata) on @(static) variables
2024-06-06 15:20:47 +01:00
gingerBill
9ef43fc782
Add @(rodata)
2024-06-06 15:16:34 +01:00
gingerBill
971229fe66
Fix #3686
2024-06-06 13:27:55 +01:00
gingerBill
c4ef8e7f6c
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-06 13:02:16 +01:00
gingerBill
155516b897
Fix -ignore-warnings
2024-06-06 13:02:08 +01:00
gingerBill
a667878d23
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-05 15:43:21 +01:00
gingerBill
cbabcb0907
Fix #3682
2024-06-05 15:43:15 +01:00
gingerBill
fac9ce5d83
Change to init from create
2024-06-05 15:30:35 +01:00
gingerBill
d3342c2381
core:mem/tlsf - "Two-Level Segregated Fit" memory allocator
2024-06-05 15:15:39 +01:00
gingerBill
3b7100f8e5
raygui: change c.int to their correct enum types
2024-06-04 16:17:49 +01:00
gingerBill
6b386631dd
Improve error message suggestion for passing enums to integers
2024-06-04 16:16:27 +01:00
gingerBill
11b1a48bf0
Fix extra_linker_flags for raylib on windows
2024-06-04 15:54:57 +01:00
gingerBill
72ce111a95
Keep -vet happy
2024-06-04 15:51:19 +01:00
gingerBill
606608c02b
Utilize foreign import constant strings for foreign imports
2024-06-04 15:49:17 +01:00
gingerBill
17225131f7
Try / rather than
2024-06-03 23:12:24 +01:00
gingerBill
c8f9af64db
Add print to delete_old_binaries.py
2024-06-03 23:01:39 +01:00
gingerBill
0ef0894213
Fix to bl.tok = path
2024-06-03 22:55:24 +01:00
gingerBill
dc6a8e5ffb
Fix typo
2024-06-03 22:44:12 +01:00
gingerBill
5b5106baee
Try updating nightly stuff
2024-06-03 22:36:54 +01:00
gingerBill
4dac577caa
Add attributes to Foreign_Import_Decl in clone
2024-06-03 22:21:54 +01:00
gingerBill
8e9716ea2f
Add ast.Foreign_Import_Decl to ast.clone
2024-06-03 22:20:39 +01:00
gingerBill
50b4a63fe1
Add ast.Foreign_Impot_Decl.fullpaths to walk.odin
2024-06-03 22:02:35 +01:00
gingerBill
5628cfabe5
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-05-31 16:35:38 +01:00
gingerBill
31a9b3f428
core:encoding/ini
2024-05-31 16:35:30 +01:00
gingerBill
ae63fd9230
Fix #3649
2024-05-30 23:08:42 +01:00
gingerBill
6d9957d7e4
Fix types again
2024-05-30 21:59:01 +01:00
gingerBill
e737122ce8
Add experimental target orca_wasm32
2024-05-30 21:58:27 +01:00
gingerBill
8db87170a9
Clean up handle_link_name handling of link_suffix
2024-05-30 21:53:23 +01:00
gingerBill
ba1e9c8abe
Fix #3651
2024-05-30 21:50:30 +01:00
gingerBill
66acbb7fed
Add @(link_suffix=<string>)
2024-05-30 21:48:23 +01:00
gingerBill
d91054b615
Change parser to use ^Expr rather than string for the foreign import paths
2024-05-28 00:27:13 +01:00
gingerBill
a1b8749e74
Delay checking foreign import paths until after global scope is checked
2024-05-28 00:23:23 +01:00
gingerBill
38fffff06a
Begin moving foreign import import paths to be evaluated in the semantic phase rather than parsing.
2024-05-27 23:51:43 +01:00
gingerBill
149ae70be1
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-05-26 12:17:09 +01:00
gingerBill
64bdb3a097
Fix #3630 (first part)
2024-05-26 12:17:03 +01:00
gingerBill
590db0838a
Fix types
2024-05-24 17:21:00 +01:00
gingerBill
1081e9ac09
Fix enum definition for bit_set use
2024-05-24 11:41:56 +01:00
gingerBill
7dc1f114b9
Add shadow suggestion
2024-05-22 22:22:41 +01:00
gingerBill
f3f08c264f
Be very particular with the cases for the error notes
2024-05-22 21:55:48 +01:00
gingerBill
2f35ee9671
Improve errors a lot for assigning procedures of the wrong signature
2024-05-22 21:52:15 +01:00
gingerBill
856537f0ce
Fix #3603
2024-05-20 15:54:53 +01:00
gingerBill
bc706f8b0c
Fix indexing type when using a #row_major matrix
2024-05-20 15:04:15 +01:00
gingerBill
a68c635c00
Remove constant indexing for matrix value propagation
2024-05-20 15:00:43 +01:00
gingerBill
f600562ca5
Improve fmt parsing of struct field tags
2024-05-20 14:45:49 +01:00
gingerBill
46b3e7b6fa
Fix for &v in &fixed_array
2024-05-20 13:36:32 +01:00
gingerBill
a80011c830
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-05-20 13:32:22 +01:00
gingerBill
542c3d7561
Improve "Expected a type" syntax error
2024-05-20 13:32:16 +01:00
gingerBill
5473758467
Add intrinsics type_is_matrix_row_major & type_is_matrix_column_major
2024-05-20 10:15:21 +01:00
gingerBill
1207d64c64
Fix intrinsics.ptr_sub
2024-05-19 23:55:45 +01:00
gingerBill
ab8e3db7e9
Remove bad code
2024-05-16 17:18:37 +01:00
gingerBill
575b268e88
Fix more #soa changes
2024-05-16 17:15:38 +01:00