Rangi
85f96d671f
Allow empty one-past-the-end sections ( #2221 )
2026-10-21 15:58:30 -04:00
Rangi
72c9171216
Output UINT16_MAX for unused grayscale palette slots ( #2219 )
2026-10-21 10:01:41 -04:00
ISSOtm
96fefcc562
Fix .Sq spanning across two names
2026-10-20 22:16:15 +02:00
Rangi
4864f37662
Do not allow -c embedded for non-indexed PNGs even with PLTE chunks
2026-10-20 11:17:26 -04:00
ISSOtm
d766efe95d
Use a vector for emitting section patches
...
Turns out this makes errors be emitted in source order,
which is far more intuitive and pleasant-looking!
2026-10-17 14:39:51 -04:00
ISSOtm
6883dd903e
Omit a type name where possible
...
This also allows omitting a header
(though it gets included implicitly by `<queue>` instead,
but that's fine).
This also makes our code slightly more amenable to change,
of course.
2026-10-17 14:15:54 -04:00
Rangi
170b341315
Refactor unassignedSections into a flat list sorted by constraints ( #2218 )
...
Also removes the now-redundant `nbSectionsToAssign` counter
2026-10-17 14:12:58 -04:00
Rangi
dfe76a12c1
Update libpng to 1.6.59 ( #2217 )
2026-10-16 16:32:33 -04:00
Rangi
d1fb662501
Fix rgbgfx -c/--colors to read GBC palettes with less than 4 colors ( #2216 )
2026-10-16 01:47:23 +02:00
Rangi
451cf69f7d
Fix a typo
2026-10-15 10:21:42 -04:00
Rangi
c5fe5f0762
Use else if in checkNBit for symmetry with checkPatchSize
2026-10-15 10:21:27 -04:00
Rangi
292f39deb3
Ensure that STRCMP is either -1, 0, or 1
2026-10-15 10:20:24 -04:00
Rangi
eac993c903
Rephrase some rgbasm(5) contents
2026-10-15 10:19:57 -04:00
Rangi
5d1742ebf2
Do not list CLI diagnostic flags as being enabled by -Weverything
2026-10-15 10:19:19 -04:00
Rangi
7d00c170a5
Use more static_assert in place of assert
2026-10-15 10:18:12 -04:00
Rangi
12698e0596
Consistently use ON, not TRUE or True, in CMakeLists.txt
2026-10-14 19:31:02 -04:00
Rangi
586bd2eec8
Non-constant expressions do not fail a static_assert ( #2215 )
2026-10-14 19:24:47 -04:00
Eldred Habert and Rangi
ddd4ba9952
Always link asm tests ( #2151 )
...
We don't want to accidentally have a test pass because an
`assert` gets deferred to a linker invocation that never happens!
---------
Co-authored-by: Rangi <[email protected] >
2026-10-14 18:01:12 -04:00
Eldred Habert
d663ab59e4
Enable more sanitizers ( #2154 )
2026-10-14 18:00:14 -04:00
Rangi
85fdb3b111
Use static_assert in RGBASM tests whenever possible ( #2213 )
2026-10-14 14:39:59 -04:00
ISSOtm
6818759a8c
Tiny refactor
2026-10-11 18:56:32 +02:00
Eldred Habert
df66063eb4
Document the behavior of overlong INCBIN length ( #2207 )
2026-10-11 10:41:38 -04:00
Rangi
1827fbf297
Edit the warning flags documentation ( #2204 )
...
Use syntax consistent with what the programs print (thus, no `-Wno-` prefix anymore),
and document which meta-warning each levels is controlled by.
2026-10-11 14:56:46 +02:00
Rangi
781a5cf53d
Clarify the .hex palette format
...
Fixes #2187
2026-10-10 22:45:02 -04:00
Rangi
6df6868f0d
Check assert message requirement whether or not they are deferred
2026-10-10 22:36:19 -04:00
ISSOtm
82ee97b088
Check for builtin symbols directly, and document why
2026-10-11 03:44:39 +02:00
ISSOtm
bf894bce6f
Encapsulate Symbol and Section ID checks into isReferenced methods
2026-10-11 03:44:39 +02:00
Rangi
af192a95b1
Do not output unreferenced unexported symbols in object files
2026-10-11 03:44:39 +02:00
Rangi
9d6dab13d8
Sort linked sections by alignment before size ( #2201 )
...
Note that Libbet has no canonical hash and is sensitive to floating section placement
2026-10-11 03:40:15 +02:00
Rangi
d73a05aa78
Fix backtraces for REPT nodes with quiet non-REPT ancestors ( #2196 )
2026-10-03 22:16:58 +02:00
Rangi
9095c5b320
Do not reuse Patch struct for outputting assertions ( #2184 )
2026-10-03 19:24:49 +02:00
Rangi
6c76606839
Remove unused RawTiles class
...
This has been left over ever since its introduction in 8c62e80c1 (#981 ).
2026-10-02 10:28:27 -04:00
dependabot[bot]
3b105d053b
Bump actions/cache from 5 to 6 in the actions group ( #2188 )
...
Bumps the actions group with 1 update: [actions/cache](https://github.com/actions/cache ).
Updates `actions/cache` from 5 to 6
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 08:33:08 -04:00
Rangi
7b7bb57bcb
Restore usage of _fseeki64 and _ftelli64 on Windows ( #2185 )
...
These overrides were removed in b732f59472 ,
but that broke handling of >2GiB files for `seekSize`.
2026-09-28 23:36:02 -04:00
Rangi
1d4c741975
Test division and modulo at link time as well as asm time
2026-09-27 14:01:36 -04:00
Rangi
093024c534
Verify that successful RGBLINK runs have no stderr output
2026-09-27 13:50:49 -04:00
Rangi
32a9d3a01b
Consistently compare outputs for RGBGFX tests even when .err exists ( #2177 )
2026-09-27 13:21:06 -04:00
Rangi
c0a16e4bad
Move File-opening of PNG image into Png constructor ( #2161 )
...
Also rename `File::c_str` to `display_name` for clarity
2026-09-27 13:19:05 -04:00
Rangi
ac7d7edf4d
Consistently compare .out.bin test results for RGBLINK tests ( #2176 )
...
Tests with variant flags or linker scripts were not checking ROM output
2026-09-27 13:02:37 -04:00
Rangi
721df27ae1
Use Bash array for run-tests.sh args to make ( #2175 )
2026-09-27 12:08:32 -04:00
Rangi
e06140be46
Actually use -C for reverse_curve test now that #2110 supports it
2026-09-27 11:51:58 -04:00
Rangi
877ce79a39
Remove non-functioning and unused --installed-rgbds flag from run-tests.sh ( #2174 )
2026-09-27 11:51:24 -04:00
Rangi
74ee2b217f
Fix RGBFIX test harness's special tests ( #2173 )
2026-09-27 11:37:31 -04:00
Rangi
6df932c010
Fix rgbgfx_test.cpp 8-to-5 bit color conversion ( #2172 )
2026-09-27 09:16:07 -04:00
Rangi42
f37e289fde
Fix off-by-one error in transparent palette count
2026-09-27 09:07:33 -04:00
Rangi42
dc585eb302
Bump the Ubuntu runner for creating release artifacts from 22.04 to 24.04
...
Follow-up to #2168
2026-09-26 22:46:39 -04:00
Rangi
fcd4031034
Combine sect_BinaryFile and sect_BinaryFileSlice ( #2169 )
2026-09-26 22:05:39 -04:00
Rangi
321ad497fa
Fix RGBFIX --output with a pre-existing or same-as-input file ( #2145 )
2026-09-27 01:31:53 +02:00
Eldred Habert
f5f503c7b1
Bump our Ubuntu runners ( #2168 )
...
chore: No supported no moar :((
2026-09-27 01:27:41 +02:00
Rangi and ISSOtm
b732f59472
Improve handling of platform-specific build options ( #2162 )
...
* Opt into POSIX functions with `_POSIX_C_SOURCE` before any system
headers are `#include`d
* Allow user to override `make develop`'s `WARNFLAGS` and `CXXFLAGS`
* Use `make develop` on 32-bit Cygwin with sanitizers disabled
* Do not unnecessarily redefine `fseek` and `ftell`
* Disable a false-positive `-Wno-null-dereference` on 32-bit Cygwin
Co-authored-by: ISSOtm <[email protected] >
2026-09-26 16:31:25 -04:00