Christoffer Lerno
edfea639cf
- Introduce $vaarg[...] syntax and deprecate the old $vaarg(...).
...
- Similar change to `$vasplat`: `$vasplat` and `$vasplat[1..]`.
2024-08-16 09:28:28 +02:00
Christoffer Lerno
9fd9280132
Fix incorrect parsing of $exec.
2024-08-16 00:07:09 +02:00
Christoffer Lerno
d0bb69516a
Missing check on optional left hand side for s.x. #1360
2024-08-15 21:15:59 +02:00
Christoffer Lerno
dc44254ba1
Debug info with recursive canonical type usage could cause segfault.
2024-08-15 20:22:56 +02:00
Christian Buttner
85c682f7e6
Escape arguments to platform linker/compiler. ( #1358 )
...
* Escape arguments to platform linker/compiler.
2024-08-15 15:01:53 +02:00
Christoffer Lerno
2a69f93605
Issues with wincrt linking.
2024-08-15 13:33:08 +02:00
Christoffer Lerno
ad4950130c
Remove use of tappend in rmtree on windows.
2024-08-15 00:40:01 +02:00
Christoffer Lerno
3ccb4b9ec3
$exec may now provide a stdin parameter. Deprecated path.append, path.tappend, getcwd, tgetcwd, path.absolute, ls. Deprecated env::get_config_dir, replaced by env::new_get_config_dir. Added path.has_extension, path.new_append, path.temp_append, new_cwd, temp_cwd, path.new_absolute, new_ls, temp_ls. Added dstring.replace Updated win escapes for exec.
2024-08-15 00:31:47 +02:00
Christoffer Lerno
6bc486400c
Add globals to -P output.
latest
2024-08-13 22:50:45 +02:00
Christoffer Lerno
9228dbb8b8
Fix ordering issues with $include / $exec by adding a pass #1302 .
2024-08-13 22:19:53 +02:00
Christoffer Lerno
e68b453218
Do not bundle output with docker.
2024-08-13 15:23:56 +02:00
Christoffer Lerno
1dd2b0ec19
Add a few newlines to maybe keep some compilers happy.
2024-08-13 14:33:33 +02:00
Tom Clesius
e7e9d3b8c7
Adapt Docker script and Dockerfile ( #1347 )
...
Adapt Docker script and Dockerfile
2024-08-13 13:37:16 +02:00
kostyavechkanov
800ad9e898
Feature/add-target ( #1 ) ( #1350 )
...
Feature/add target (#1 ) project add-target command
2024-08-13 13:34:53 +02:00
Christoffer Lerno
ddecf2d5f0
Correctly show macOS version settings for project.json
2024-08-13 10:25:15 +02:00
Mikhail Shimanov
09da17dab7
Update README.md
...
Duplicate package removed
2024-08-12 23:26:38 +02:00
Christoffer Lerno
1678e2a939
Assert not properly traced #1354 . Update interface fix.
2024-08-12 21:01:04 +02:00
Christoffer Lerno
9aab962ebc
Interface resolution when part of generics #1348 .
2024-08-12 10:25:53 +02:00
Christoffer Lerno
baf6e71a80
Fix interface lazy resolution errors. Fix i128 change in LLVM.
2024-08-12 01:25:30 +02:00
Christoffer Lerno
412fa4b12f
Use PIE/PIC on Linux
2024-08-11 23:00:38 +02:00
Christoffer Lerno
3cae557b88
Int128 alignment fixed on x64 Linux.
2024-08-11 22:48:21 +02:00
Christoffer Lerno
f7c39ae4a9
Recursively follow interfaces when looking up method.
2024-08-11 21:16:02 +02:00
Christoffer Lerno
6d93ce9d33
Update to libc::setjmp on Win32, to do no stack unwinding.
2024-08-11 18:22:14 +02:00
Sergwest
031cbae0d6
added the necessary library to build on void linux in the README.md
2024-08-11 17:07:48 +02:00
Christoffer Lerno
5fbee47c2b
Update version information,
2024-08-11 17:03:21 +02:00
Christoffer Lerno
2cd25a489a
Fix of global state init.
2024-08-11 16:55:40 +02:00
Christoffer Lerno
e67586b8b0
Fixes to library loading and test sources.
2024-08-11 16:46:53 +02:00
Christoffer Lerno
7d643942b4
Fix issues when checking methods and interfaces hasn't been resolved yet.
2024-08-11 16:16:16 +02:00
Christoffer Lerno
2257a7f4ec
Comment out decl size.
2024-08-11 15:14:52 +02:00
Christoffer Lerno
f8ca173fd8
Refactoring a bit.
2024-08-11 15:05:36 +02:00
Christoffer Lerno
b08e6743be
When resolving inherited interfaces, the interface type wasn't always resolved.
2024-08-11 10:19:20 +02:00
Christoffer Lerno
a97e4fe42d
Add temp allocator scribble. Make bufferstream safer.
2024-08-11 01:17:25 +02:00
Christoffer Lerno
2706495668
Add temp allocator scribble. Make bufferstream safer.
2024-08-11 01:17:03 +02:00
Christoffer Lerno
224c3f4123
Printable values passed to the Formatter as pointers, will print as if passed by value. Pointers are rendered with "0x" prefix when passed to '%s'.
2024-08-11 00:27:06 +02:00
Christoffer Lerno
f2911be116
Assertion when has_tagof is accidentally called on fn type #1343
2024-08-10 21:59:41 +02:00
Christoffer Lerno
05c5eaed48
Add deprecation notice for $and, $or, $concat, $append.
2024-08-10 21:25:13 +02:00
Christoffer Lerno
8541e9535e
Fix print when a tag is not found.
2024-08-10 21:15:19 +02:00
Christoffer Lerno
811cb2b95c
Add string methods to json, and fix issue in dstring when the formatter uses temp. Remove unnecessary use of temp allocator in to_format for json.
2024-08-10 19:13:58 +02:00
Christoffer Lerno
05421223be
Add --silence-deprecation
2024-08-10 09:54:59 +02:00
Christoffer Lerno
808a6b82f3
Add simple UTF16 detection.
2024-08-10 02:50:42 +02:00
Christian Buttner
30af7f1ca6
Add c-include-dirs project/manifest setting. ( #1338 )
...
Set the include directories to be used when compiling C sources.
2024-08-10 01:51:59 +02:00
Christoffer Lerno
274e5280cb
Rename muldiv and update tests for LLVM 20
2024-08-09 23:56:26 +02:00
Samuel Goad
f85c4cd79f
Update string_iterator.c3 to include extra convenience methods ( #1327 )
...
Update string_iterator.c3 to include extra convenience methods
Added peek: returns the next character without incrementing current
Added has_next: checks if the iterator has another element
Added get: gets the current element (the same one that was returned with the previous call to next).
2024-08-09 23:10:46 +02:00
Lexi
696d39b922
Move safe_mul_div macro and make it generic on integer types ( #1334 )
...
Move safe_mul_div macro and make it generic on integer types
2024-08-09 22:54:26 +02:00
Christoffer Lerno
d997445284
The compiler now skips UTF8 BOM.
2024-08-09 22:39:24 +02:00
Christoffer Lerno
f3e5268083
% analysis was incorrect for int vectors.
2024-08-09 15:23:40 +02:00
Christoffer Lerno
44db4a21fc
Add @tag and .tagof .has_tagof. Allow bitstructs to have attributes.
2024-08-09 15:03:44 +02:00
Christoffer Lerno
c8a113384c
Better precision with Clock on Win32
2024-08-08 23:03:04 +02:00
Lexi Allen
07e7bc0a94
Fix win32 native_clock() by converting native performance counter value to nanoseconds using previously gotten frequency value
2024-08-08 21:14:58 +02:00
Prithviraj Renjella Rajendra Prasad
7c8acbe485
Implemented arg passing to clean-run and run commands ( #1328 )
...
* added clean-run and run commands to list of commands that pass args
* Updated compiler usage message to reflect that commands run and clean-run accept args
2024-08-08 16:24:00 +02:00