Christoffer Lerno
45a0895c39
Fix fmod regression.
2025-06-04 15:25:18 +02:00
Christoffer Lerno
72cc8e430a
-0xFF will now be a signed integer.
...
- `-2147483648`, MIN literals work correctly.
2025-06-04 15:20:49 +02:00
Christoffer Lerno
9645bd3289
- $typefrom now also accepts a constant string, and so works like $evaltype.
...
- `$evaltype` is deprecated in favour of `$typefrom`.
2025-06-03 14:51:56 +02:00
Christoffer Lerno
8fc01d4e1a
Simplify contract macros.
2025-06-02 22:53:06 +02:00
Bram Windey
a48e2274e5
Update options.run_dir from target.run_dir if options.run_dir is null
2025-06-02 14:09:29 +02:00
Christoffer Lerno
786e47408a
Update compiler version
2025-06-02 13:40:16 +02:00
Christoffer Lerno
6e348d1e71
Update compiler version
v0.7.2
2025-06-02 10:12:04 +02:00
Christoffer Lerno
d697b910ba
Removed the naive check for compile time modification, which fixes #1997 but regresses in detection.
2025-06-01 23:50:13 +02:00
Christoffer Lerno
4d848f1707
Incorrect ensure on String.split.
2025-06-01 20:28:32 +02:00
Christoffer Lerno
6377f0573d
Typo
2025-06-01 20:06:34 +02:00
Christoffer Lerno
c3d2b2824c
Bug using #foo arguments with $defined #2173
2025-05-31 17:35:29 +02:00
Christoffer Lerno
18e408ead4
Fix example.
2025-05-30 19:22:17 +02:00
Christoffer Lerno
08c63108a1
Release candidate 0.7.2
2025-05-30 19:13:19 +02:00
Christoffer Lerno
da25a411f9
Generic faults is disallowed.
2025-05-30 19:12:26 +02:00
Christian Brendlin
e685414829
Fix #1718 : Add --header-output option to specify header file directory ( #2161 )
...
* Fix #1718 : Add --header-output option to specify header file directory
- Add header_out field to BuildOptions struct
- Add header_file_dir field to BuildTarget struct
- Add --header-output command line option parsing with help text
- Modify header_gen() to use configured output directory instead of hardcoded root
- Add default behavior to use build directory when no custom path specified
- Add directory creation for header output paths
- Resolves issue where generated C headers were always output to root directory
* Fix directory creation timing for header output
- Move header output directory creation before header_gen() call
- Ensures custom header output directories are created before files are written
- Fixes issue where --header-output would fail if directory doesn't exist
* Fix style
* Fix Style
* Add to releasenotes.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-05-30 10:19:46 +02:00
BWindey
ae5a74bc41
[Feat] add quiet to project.json settings ( #2166 )
...
* Add quiet to BuildTarget struct and set default to false
* Link BuildTarget.quiet with BuildOptions.verbosity_level (like --quiet flag)
* Parse quiet from project.json, and sort the entries alphabetically
* Add changes to release-notes
* Only set options.verbosity_level if it wasn't set on the commandline
* Formatting
* Added small fix.
2025-05-30 10:16:14 +02:00
Christoffer Lerno
76374d31c4
Spelling
2025-05-30 10:08:04 +02:00
Christoffer Lerno
ffd7a5e483
Fix incorrect percentage
2025-05-30 01:47:05 +02:00
BWindey
d143ec227c
Libc ioctl extern function ( #2162 )
...
* Add barebones extern ioctl() binding in libc
* Update release notes
2025-05-29 23:00:35 +02:00
Christoffer Lerno
f2703508f2
Fixed test.
2025-05-29 21:14:50 +02:00
Christoffer Lerno
bb96dc931e
Add deprecation for @param foo "abc".
2025-05-29 00:45:11 +02:00
Christoffer Lerno
a5a2b00ec8
Too strict project view #2163 .
2025-05-28 22:44:00 +02:00
Christoffer Lerno
00f1206f3c
Compiler didn't check foreach over flexible array member, and folding a flexible array member was allowed #2164 .
2025-05-28 22:21:06 +02:00
Christoffer Lerno
349d9ef3cf
Allow recursive generic modules.
2025-05-28 15:39:35 +02:00
Christoffer Lerno
9f30b56e13
Deprecate f32, f64 and f128 suffixes.
2025-05-28 13:01:49 +02:00
Christoffer Lerno
83d6b35afe
Add d as floating point suffix for double types.
2025-05-28 12:02:24 +02:00
Christoffer Lerno
f4b9f375e0
Add run-dir to project.json
2025-05-27 23:22:32 +02:00
Christoffer Lerno
be3f9007c9
Check pointer/slice/etc on [out] and & params. #2156 .
2025-05-27 23:03:43 +02:00
Christian Brendlin
b665e2cbe5
change releasenotes entry to reflect to correct issue ( #2159 )
...
I changed the reference #2138 to point to the issue #2012 instead of the pull request.
2025-05-27 14:15:36 +02:00
Christoffer Lerno
0ed68f94cf
Update matrix pass.
2025-05-27 13:59:12 +02:00
Christoffer Lerno
966e8107f8
Add $$matrix_mul and $$matrix_transpose builtins.
2025-05-27 00:50:21 +02:00
Book-reader
61a4dcc807
add macro wrappers for $$overflow_add, $$overflow_sub, and $$overflow_mul builtins
2025-05-26 20:58:16 +02:00
Christoffer Lerno
52541a03eb
@jump now included in --list-attributes #2155 .
2025-05-26 16:18:08 +02:00
Christoffer Lerno
972c84b65b
for with incorrect var declaration caused crash #2154 .
2025-05-26 15:56:51 +02:00
Christoffer Lerno
f668b96cc9
$$sat_mul was missing.
2025-05-26 12:23:19 +02:00
Christoffer Lerno
9461873b4c
Distinct types could not be used with tagof #2152
2025-05-26 00:57:20 +02:00
Christoffer Lerno
8d563eba7a
Implicit casting from struct to interface failure for inheriting interfaces #2151 . Fix second bug in #2148
2025-05-24 17:10:11 +02:00
Christoffer Lerno
fe98225f0a
Remove superfluous cleanup parameter in os::exit and os::fastexit.
2025-05-23 22:04:54 +02:00
Christoffer Lerno
bae3e59217
Add missing @noreturn to os::exit
2025-05-23 21:41:33 +02:00
Christoffer Lerno
b5ddc36d7f
Limit vector max size, default is 4096 bits, but may be increased using --max-vector-size.
2025-05-23 21:40:14 +02:00
Christoffer Lerno
c2c0ecded8
- --path does not interact correctly with relative path arguments #2149 .
2025-05-23 19:17:04 +02:00
Christoffer Lerno
9d5b31dad5
Missing error on default values for body with default arguments #2148 .
2025-05-23 18:57:21 +02:00
Christoffer Lerno
6c0e94cad9
Fix indent
2025-05-23 16:45:57 +02:00
Christian Brendlin
84aee6a25b
Feature: Add inherit_stdio Option for SubProcess ( #2138 )
...
* add inherit_stdio option
2025-05-22 11:06:23 +02:00
Matthew Brush
71a765c66e
Update CODESTYLE.md
...
Fix a couple typos and wording.
2025-05-22 11:03:50 +02:00
Gregory Oakes
5c3b637cf6
Add Maybe.equals when inner type is equatable.
2025-05-22 00:06:11 +02:00
Christoffer Lerno
bd1de1e7dc
&&& was accidentally available as a valid prefix operator.
2025-05-21 23:36:33 +02:00
Christoffer Lerno
3cd2267b0a
Update error message.
2025-05-20 23:00:31 +02:00
Christoffer Lerno
7fcc91edc8
Improve error message when encountering recursively defined structs. #2146
2025-05-19 21:36:47 +02:00
Christoffer Lerno
9052f07c19
Empty default case in @jump switch does not fallthrough #2147 .
2025-05-19 21:18:23 +02:00