gingerBill
086d7956b1
Merge branch 'master' into bill/sdl3
2025-02-04 10:31:12 +00:00
gingerBill
a219da14ce
Fix gb.h's gb_fprintf_va to allocate if the string is larger than the default buffer
2025-01-31 09:43:30 +00:00
gingerBill
05a2d1bfbf
Fix #4750
2025-01-31 09:34:38 +00:00
gingerBill
2af60b8767
Fix #4763
2025-01-31 09:30:15 +00:00
gingerBill
0cd20e61ab
Add @(export) foreign import
2025-01-31 08:34:15 +00:00
gingerBill
4093026a9a
Clean up @(export) foreign import code
2025-01-30 11:36:12 +00:00
gingerBill
b48f14ba82
@(export) foreign import to be package scope level
2025-01-30 11:30:38 +00:00
gingerBill
2656ecd4e1
Fix #4773 - Change order of evaluation for slicing indices
2025-01-29 15:53:34 +00:00
Laytan
5ebc31edcb
Merge pull request #4580 from tf2spi/4485-fix-exact-value-float
...
Fix parsing of integer w/ 'e' notation
2025-01-29 07:28:40 +01:00
gingerBill
15ece42e74
Print frameworks first on Darwin targets
2025-01-28 10:34:41 +00:00
gingerBill
868ab27720
Add @(ignore_duplicates) for foreign import declarations
2025-01-28 10:31:46 +00:00
Laytan Laats
9dc17f4c47
optimize fix
2025-01-24 19:33:57 +01:00
Laytan Laats
b2aaf90f88
fix separate modules with objc code
2025-01-24 19:23:49 +01:00
gingerBill
867af80bff
Add -use-single-module
2025-01-22 13:26:35 +00:00
gingerBill
d4e15074ea
Enable -use-separate-modules as default for all platforms
2025-01-22 13:13:00 +00:00
gingerBill
d6633639dc
Remove duplicates of .framework/.dynlib/.so in linker
2025-01-22 13:01:06 +00:00
jason
e85667c95c
fix grammar in error message
2025-01-21 20:48:11 -05:00
jason
b25ca0bb11
fixes compiler crash on syntax error (issue 4738)
2025-01-21 20:37:17 -05:00
David Rubin
5951c25f71
fix inverted error messages
2025-01-18 02:04:35 -08:00
gingerBill
b9bf5b1496
Merge pull request #4703 from flysand7/4685-range-stack-overflow
...
Do not warn about stack overflow in range loops 'by reference'
2025-01-17 13:23:15 +00:00
flysand7
3f20b63243
Error if -no-thread-local is used in presence of -no-crt on Unix
2025-01-17 02:51:22 +03:00
flysand7
4f0206ce08
Added compile-time checks for thread locals with -no-crt
...
Now using any thread-local variables with -no-crt enabled
will cause a compiler error, unless -no-thread-local is
given.
Also fixed a minor typo in a comment.
2025-01-17 01:12:23 +03:00
flysand7
87b590c99b
Do not warn about stack overflow in range loops 'by reference'
2025-01-16 22:11:30 +03:00
Laytan Laats
aa3f0b86c1
compiler: fix align error check
2025-01-15 20:18:50 +01:00
Harold Brenes
794e812932
Fixes crash when unused defines are used in conjunction with -ignore-warnings.
2025-01-15 02:04:49 -05:00
gingerBill
328d893cb5
#unroll(N) for
2025-01-10 12:22:18 +00:00
Laytan Laats
2620721128
'#no_nil' I am actually disappointed in myself
2025-01-08 21:45:59 +01:00
Laytan Laats
b3c359557e
#no_nil third time's the charm
2025-01-08 21:24:22 +01:00
Laytan Laats
7185a93a86
actually fix #no_nil debug info
...
Fixes #4664
2025-01-08 20:24:31 +01:00
Laytan Laats
2aae4cfd46
fix #no_nil in debug info
...
Fixes #4664
2025-01-08 18:47:32 +01:00
gingerBill
3d8bde9549
Merge pull request #4601 from Barinzaya/simd_vector_broadcasting
...
Implicit broadcasting for SIMD arrays
2025-01-06 11:15:28 +00:00
gingerBill
7da7d4e410
Allow #+ tags on single files
2025-01-05 15:41:51 +00:00
gingerBill
bca08d3b85
Make -no-dynamic-literals the default now
2025-01-05 13:33:06 +00:00
gingerBill
2efe4c2d68
Add #+feature dynamic-literals
2025-01-05 13:19:10 +00:00
gingerBill
a2a0a2c8d8
Merge pull request #4611 from tf2spi/4491-max-field-align-pack
...
Add packing + aligned access w/ field_align
2025-01-01 18:03:44 +00:00
gingerBill
4882eefaf8
Merge pull request #4616 from flga/master
...
make -export-dependencies emit valid json
2025-01-01 17:46:25 +00:00
gingerBill
bfbcc02aff
Merge pull request #4608 from zen3ger/assignment-of-non-specialized-parapoly
...
Fix crash on assignment of parapoly proc to variable
2025-01-01 17:40:40 +00:00
gingerBill
8d400f43fd
Merge pull request #4607 from zen3ger/parapoly-proc-fixes
...
Fix crash when proc return type is undeclared parapoly variable
2025-01-01 17:40:04 +00:00
gingerBill
7b334d2bd9
Add #branch_location
2025-01-01 17:26:15 +00:00
gingerBill
c8ad2a4245
Support multiple paths for wasm in foreign import
2025-01-01 15:12:54 +00:00
fleandro
6ff81b6e4c
make -export-dependencies:json emit valid json
2024-12-23 01:03:51 +00:00
misomosi
fdf510b7b3
Pack struct when needed, use field_align metadata
2024-12-22 10:05:13 -05:00
Roland Kovacs
9f77f7c417
Fix crash on assignment of parapoly proc to variable
2024-12-22 12:38:37 +01:00
Roland Kovacs
f2f952b344
Fix crash when proc return type is undeclared parapoly variable
...
Disallow the declaration of new parapoly variables in return types, when
the procedure's parapoly scope is itself. This happens if e.g.:
`foo :: proc() -> $T`.
Closes #3949 , #4294 , #4563
2024-12-22 02:31:25 +01:00
misomosi
26f9688c69
Fix early overwrite of dst w/ exp_u64
2024-12-21 16:53:31 -05:00
Barinzaya
14216ebf51
Added some implicit broadcasting for #simd arrays.
...
This covers broadcasting from untyped numbers when assigning, as well as
when performing binary operations. SIMD intrinsics have not been
adjusted
2024-12-19 20:07:04 -05:00
gingerBill
0a29d36aa3
Fix bug with comparisons with big endian types
2024-12-12 15:44:49 +00:00
Laytan Laats
c8f0d27cee
compiler: remove viral #force(_no)_inline
...
If a procedure was marked `#force_no_inline`, any procedure calls within
it would also implicitly be. This is not expected for multiple reasons:
1. `#force(_no)_inline` on a call expr works differently than on a procedure literal.
2. Adding the attribute on it and every called proc blows up the amount
of work for the inliner pass and may increase the time it takes.
3. Putting `#force_no_inline` on a procedure to keep executable size
down (like we do for some map procedures), benchmark it, or find it in
asm/ir has the added effect of slowing those procedures down significantly
and not representing truth.
2024-12-09 19:12:42 +01:00
Laytan Laats
676fe34863
fix #4547 - wasm -out without file extension
2024-12-06 19:38:53 +01:00
gingerBill
e3b1646490
Fix #4552
2024-12-05 15:46:35 +00:00