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
gingerBill
c1d853a24e
Remove dead code
2024-01-28 17:32:34 +00:00
gingerBill
30636f5114
Change return values from Struct_Tag to string
2024-01-28 15:48:19 +00:00
gingerBill
9a9625f885
Fix #3053
2024-01-26 13:04:47 +00:00
gingerBill
15b40a4f29
Fix #3122
2024-01-26 12:56:16 +00:00
gingerBill
5406acc8fa
Fix type_ptr_set_update
2024-01-26 12:47:39 +00:00
gingerBill
799f4379d8
Keep vet happy
2024-01-17 22:51:49 +00:00
gingerBill
bd51b21386
Fix typo
2024-01-17 22:47:23 +00:00
gingerBill
276284cbec
Fix typo
2024-01-17 22:44:28 +00:00
gingerBill
a8021f03a6
Rename to Map_File_*
2024-01-17 22:43:35 +00:00
gingerBill
c35d5d4c42
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-01-17 22:41:28 +00:00
gingerBill
248a0bfa5f
Add virtual.map_file
2024-01-17 22:41:22 +00:00
gingerBill
90ac400ec5
stdcall -> system
2024-01-17 17:25:23 +00:00
gingerBill
75c659fa41
Change stdcall -> system
2024-01-17 17:04:54 +00:00
gingerBill
8cfff254c9
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-01-17 16:54:58 +00:00
gingerBill
8c2eb5df78
stdcall -> system
2024-01-17 16:54:50 +00:00
gingerBill
72d6b9b683
Replace stdcall with system
2024-01-17 16:43:27 +00:00
gingerBill
2f2c086382
Fix foreign import names
2024-01-17 16:35:28 +00:00
gingerBill
d9fafa7000
Have default foreign import system paths
2024-01-17 16:32:26 +00:00
gingerBill
12e53f2336
Fix imports to be case sensitive correct
2024-01-17 16:26:18 +00:00
gingerBill
a2e729c303
Remove //+build darwin
2024-01-17 16:06:59 +00:00
gingerBill
7b89174a26
Remove //+build windows tag
2024-01-17 15:57:37 +00:00
gingerBill
1d7f7a55d2
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-01-17 15:51:34 +00:00
gingerBill
766485ccab
Add README.md
2024-01-17 15:51:29 +00:00
gingerBill
6642aa94d5
Change examples/all
2024-01-17 15:50:00 +00:00
gingerBill
7954a7a6f3
Add darwin libraries back to normal examples/all to fix documentation generation
2024-01-17 12:27:03 +00:00
gingerBill
1d621295b1
Fix #1934 raylib IsGestureDetected
2024-01-17 12:26:44 +00:00
gingerBill
72dfb73c9d
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-01-09 11:01:24 +00:00
gingerBill
67dcd916e8
Update instrumentation signature to support runtime.Source_Code_Location as last parameter.
2024-01-09 11:01:18 +00:00
gingerBill
f4782157d3
Implement instrumentation pass
2024-01-07 21:34:44 +00:00
gingerBill
aff8f06e3c
Add frontend stuff instrumentation tooling
...
//+no-instrumentation
@(no_instrumentation)
@(instrumentation_enter)
@(instrumentation_exit)
2024-01-07 19:56:00 +00:00
gingerBill
b408ec6bac
Remove distinct from the specific types
2024-01-05 14:48:39 +00:00
gingerBill
8545f316ff
Fix the type inference in builtin.quaternion
2024-01-05 14:45:03 +00:00
gingerBill
3bf7b416e7
Fix builtin.quaternion generation
2024-01-05 14:36:58 +00:00
gingerBill
0b83e3dae5
Enforce naming the parameters with builtin.quaternion to reduce confusion
2024-01-05 14:29:14 +00:00
gingerBill
d7d23e65ea
Clean up error block usage
2024-01-05 13:47:00 +00:00
gingerBill
2820bbc269
Add @(entry_point_only) for procedures
2024-01-05 13:38:30 +00:00
gingerBill
70c5153471
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-01-03 21:00:35 +00:00
gingerBill
b410383aaf
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-01-01 16:11:13 +00:00
gingerBill
f3caa4aee3
Add bin/lld-link.exe
2023-12-30 13:53:15 +00:00
gingerBill
3ec253f385
Add bin/wasm-ld.exe
2023-12-30 13:52:37 +00:00
gingerBill
464a675adc
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-12-21 17:05:31 +00:00
gingerBill
55f3e99f63
Fix %g in fmt, and make %v default to %g for floats
2023-12-21 17:05:24 +00:00
gingerBill
4b38dbe133
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-12-19 12:32:10 +00:00
gingerBill
ad0ffa4833
Update .gitattributes with * text=auto
2023-12-19 12:32:05 +00:00
gingerBill
829e4cc67e
Fix assign_at_elems to match the same logic as assign_at_elem_string
2023-12-18 22:22:08 +00:00
gingerBill
beb4699b46
Check test procedures after all minimum dependency set calls are done
2023-12-18 22:09:10 +00:00
gingerBill
d47a403d29
Fix: Bill was a numpty
2023-12-15 11:02:40 +00:00
gingerBill
1606f756b3
Remove neighbouring duplicates from neighbouring sorted array of entities; fixes duplicate tests
2023-12-15 10:59:34 +00:00
gingerBill
feba52002e
Reduce repetition on initializing global type info member arrays
2023-12-13 17:46:00 +00:00
gingerBill
ca2b2c498e
Add -obfuscate-source-code-locations
2023-12-13 16:47:34 +00:00
gingerBill
e0652ee2f4
Minor fix to call expr in tilde with variadic parameters
2023-12-13 13:10:51 +00:00
gingerBill
bc99bacb21
Update Tilde
2023-12-13 12:38:01 +00:00
gingerBill
173527d631
Remove random tag
2023-12-13 01:53:15 +00:00
gingerBill
f8cb2bcad2
Add slice.unique and slice.unique_proc
2023-12-13 01:50:26 +00:00
gingerBill
b011487778
Reimplement binary_search_by to be simpler
2023-12-13 01:37:15 +00:00
gingerBill
c8cc130744
Fix the implementation of binary_search_by to work with a normal ordering call, rather than the backwards version.
...
WHY THE HECK WAS IT THIS WAY IN THE FIRST PLACE?!
2023-12-13 01:24:03 +00:00
gingerBill
fe0244606b
Revert
2023-12-13 01:20:53 +00:00
gingerBill
036fa6482c
Use cmp_proc in binary_search
2023-12-13 01:18:05 +00:00
gingerBill
04ca22b9ea
Add to core:slice reduce_reverse, filter_reverse, repeat
2023-12-13 00:35:23 +00:00
gingerBill
bf9ae77fbd
Remove duplicates from init/fini procedure list
2023-12-12 17:29:52 +00:00
gingerBill
4adfc120ba
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-12-12 17:11:42 +00:00
gingerBill
d8bb93accc
Fix race condition caused by lack of checking specialized parapoly procedures as a dependency ( #2968 )
2023-12-12 17:10:59 +00:00
gingerBill
c12eb3ec93
Improve returning a struct directly for certain ABIs; reuse the temp callee return struct memory when needed
2023-11-24 11:44:20 +00:00
gingerBill
7343ed0cac
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-11-24 10:57:25 +00:00
gingerBill
3102abf1aa
mem zero rather than store to a union where the variant is of size zero
2023-11-24 10:57:18 +00:00
gingerBill
f809788f75
Add missing type information for soa structs
2023-11-23 17:31:00 +00:00
gingerBill
0888c69b57
Remove unneeded typeid_of
2023-11-23 17:16:21 +00:00
gingerBill
ab39644156
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-11-23 16:56:24 +00:00
gingerBill
4c1a9d2b3f
Fix &x[i] of ^#soa types
2023-11-23 16:56:18 +00:00
gingerBill
3baf8d92c3
Add assert to disallow -no-crt when importing core:c/libc
2023-11-23 01:20:19 +00:00
gingerBill
4af77aeff6
Lower MAP_MIN_LOG2_CAPACITY from 6 to 3 (64->8)
2023-11-22 15:04:41 +00:00
gingerBill
6564ce0fb0
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-11-06 13:59:12 +00:00
gingerBill
c36ac4bdfd
Bodge: fix matrix_flatten issue in Win64 ABI
2023-11-06 13:59:06 +00:00
gingerBill
5edb2c5688
Fix #2913
2023-11-04 14:53:42 +00:00
gingerBill
ce5e7998ba
Add warning for things like 1.0 / some_int
2023-11-04 11:22:06 +00:00
gingerBill
e206d6ba35
Add allocator parameter to fmt's aprint and aprintln
2023-11-03 13:26:33 +00:00
gingerBill
ef5eb4b612
A docs.odin explaining what are the required entities in core:runtime by the compiler
2023-11-01 13:59:39 +00:00
gingerBill
864b29f7f1
Add missing calls
2023-11-01 13:57:20 +00:00
gingerBill
b7af4e7f6b
Explicitly write out the passes for each level and remove certain passes
2023-10-30 12:31:24 +00:00
gingerBill
61ad2a1345
TEST: Add sroa passes back
2023-10-29 20:45:19 +00:00
gingerBill
d589914956
Ignore store undef calls
2023-10-29 20:43:02 +00:00
gingerBill
f54a026acc
Remove trailing comma
2023-10-29 20:33:29 +00:00
gingerBill
fc06d7011d
Use default passes without coro, openmp, and sroa passes
2023-10-29 20:31:53 +00:00
gingerBill
ed7c9ec619
Test: use custom passes for -o:speed
2023-10-29 20:13:03 +00:00
gingerBill
1d9f6346d4
Force dynamic map calls on non-windows targets
2023-10-29 17:23:24 +00:00
gingerBill
034aead930
Only make static map get calls inlineable outside of debug builds
2023-10-27 14:55:54 +01:00
gingerBill
c8a5bafc6b
Fix static map calls and default to them!
2023-10-27 14:53:48 +01:00
gingerBill
0a7b9338f6
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-10-27 13:03:28 +01:00
gingerBill
bc0fa1240b
Disable using giant packed struct for type info table for the time being
2023-10-27 13:03:21 +01:00
gingerBill
8e4bdcfb98
Remove disabled attribute from unimplemented
2023-10-25 11:41:24 +01:00
gingerBill
f3f0ab6e2c
On -disable-assert, panic will still work but not print the caller location
2023-10-25 11:34:09 +01:00
gingerBill
23c4615f5e
Disallow direct return a compound literal of a slice with elements
2023-10-13 12:19:48 +01:00
gingerBill
cffa035c1b
Add ERROR_BLOCK() to check_unique_package_names
2023-10-09 13:36:15 +01:00
gingerBill
2cca005056
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-10-02 20:59:49 +01:00
gingerBill
d27109640e
Partial pseudo-revert
2023-10-02 20:59:43 +01:00
gingerBill
f9c6f6856b
Fix #2261
2023-09-30 20:32:24 +01:00
gingerBill
b9cc2606f2
Remove default value
2023-09-30 20:26:52 +01:00