Rangi42
185a3b29e6
Implement base palette ID
2025-07-06 12:57:20 +02:00
Rangi42
d7b1569ee6
Document % changing from remainder to modulo in 0.5.0
2025-07-04 23:02:45 +02:00
Rangi42
468f1cd912
"The windows-2019 runner image is being deprecated"
2025-07-02 19:43:11 +02:00
Rangi42
965288de38
Fix out-of-bounds image slices
2025-07-02 19:43:11 +02:00
Rangi42
20ed6a52ee
Clarify release procedure checklist
2025-06-30 15:52:42 -04:00
Rangi42
8b85875b67
Release v0.9.3
2025-06-30 15:08:04 -04:00
Rangi42
e7a3b9d90e
Format rgbgfx -vvvvvv string visually
2025-06-21 14:16:48 -04:00
Rangi42
612cf3b7dd
Fix some formatting
2025-06-12 17:27:08 -04:00
Rangi42
1715f85d50
Release v0.9.2
2025-05-04 10:04:11 -04:00
Rangi42
c2de0a991a
Update test dependency
2025-05-03 12:43:57 -04:00
Rangi42
081f48404c
Remove a TODO comment about overlapping proto-palettes
...
The original algorithm makes a simplifying assumption that one
proto-palette does not fully contain another, and we have no
particular reason to violate this condition.
2025-05-03 10:19:33 -04:00
Rangi42
bdac0ce053
Remove unplanned TODO comments in src/gfx/pal_spec.cpp
...
ACT palette files support a transparent color index, but RGBGFX
cannot apply *one* such transparent color; it would need every
palette's first color to be transparent. Also ACT files tend to
say the first color is transparent anyway, which the user may
not have intended.
ACO palette files can specify version 2 color data, but it's
required to come after version 1 data, and the colors themselves
already exist in the earlier v1 data; v2 just adds UTF-16 names.
Thus, we do not need to be handling these data in those formats.
2025-05-02 21:29:14 -04:00
Rangi42
e0a8eb8aff
Update test dependencies
2025-04-24 09:52:08 -04:00
Rangi42
a72843748f
Avoid using indirect C++ types
2025-04-23 00:53:20 -04:00
Rangi42
762e2311d2
Add test case for FOR loop variable reusing an existing one
2025-04-22 15:10:50 -04:00
Rangi42
df83bc31d2
Consistently use PRId* not PRIi*
2025-04-19 23:44:34 -04:00
Rangi42
c841672059
Don't use tabs for alignment
2025-03-31 19:13:46 -04:00
Rangi42
75b605797d
Fix rgblink(5) man page syntax error
...
Copied from https://salsa.debian.org/twolife/rgbds/-/blob/640a5293/debian/patches/groff.patch
2025-03-07 10:37:20 -05:00
Rangi42
00d0ae840d
Avoid use of goto in nextLine
2025-02-27 14:28:17 -05:00
Rangi42
2cdbb145da
Avoid use of goto in shiftChar
2025-02-27 14:17:01 -05:00
Rangi42
d8192560b0
Avoid use of goto in FormatSpec::useCharacter
2025-02-27 13:45:13 -05:00
Rangi42
9b395f3bf1
Fix double negative
2025-02-23 13:36:55 -05:00
Rangi42
ad4d9da4cf
Remove unnecessary default constructor definitions
2025-02-14 18:58:34 +01:00
Rangi42
1489854932
Use more const references when possible
2025-02-14 18:58:34 +01:00
Rangi42
48412e9c56
Some miscellaneous refactoring and copy-editing
2025-02-10 16:51:51 +01:00
Rangi42
d9d381cb62
Refactor the parser to have fewer *_no_str intermediate rules
2025-02-04 18:59:11 +01:00
Rangi42
81ea4ee920
Release 0.9.1
2025-02-02 20:16:54 +01:00
Rangi42
d54619a453
Remove colNo column tracking from lexer
...
This was added as part of 71f88717 just for debug and fstack trace
output, but we no longer output it anyway.
2025-01-28 01:12:18 -05:00
Rangi42
e49291b7cf
Refactor readUTF8Char into charmap_ConvertNext
2025-01-28 00:07:08 -05:00
Rangi42
34a9c8e083
Add some more string test cases
2025-01-28 00:02:25 -05:00
Rangi42
c4b456b166
Remove unused fix_PrecisionFactor function
2025-01-27 23:04:11 -05:00
Rangi42
79401cce8b
Add braces inside #define macro bodies
2025-01-27 20:12:12 -05:00
Rangi42
4e44958d26
Add braces to Bison .y files
2025-01-27 20:12:12 -05:00
Rangi42
cae31005f8
Always use braces with InsertBraces: true in .clang-format
2025-01-27 20:12:12 -05:00
Rangi42
25c9f8f383
Add more rules to .clang-format
2025-01-27 20:12:12 -05:00
Rangi42
01c9106b59
Include windows.h before other Win32 header files
2025-01-27 20:12:12 -05:00
Rangi42
192fc808c8
Run clang-format on some Bison .y file contents
2025-01-27 20:12:12 -05:00
Rangi42
9c8e327ae2
Zero-initialize trimmedTile array
2025-01-27 20:12:12 -05:00
Rangi42
9ebd2a7e8e
Fix clang-format of sectionTypeInfo array
2025-01-27 20:12:12 -05:00
Rangi42
b8b60207f5
Use // line comments not /* block comments
2025-01-27 20:12:12 -05:00
Rangi42
c5e59f40fd
Get rid of unnecessary extern "C" blocks
2025-01-27 20:12:12 -05:00
Rangi42
a354af3d08
Reformat source files with clang-format 19.1.7
2025-01-27 20:12:12 -05:00
Rangi42
890528812e
Prefer C++ constructs to C-style sizeof-based macros
2025-01-24 18:56:41 -05:00
Rangi42
84f59e14ed
Rename Z80 prefix to SM83
2025-01-24 12:11:46 -05:00
Rangi42
91d7ce5e09
Add test case for expansions changing context
2025-01-21 21:47:22 -05:00
Rangi42
157826bf82
Support fetch-test-deps.sh --get-deps debian
...
Also use `apt-get` instead of `pip` to install
Pillow for libbet
2025-01-21 14:40:09 -05:00
Rangi42
a5e36f924f
Update help and error messages in run-tests.sh
2025-01-21 14:10:36 -05:00
Rangi42
056190413e
Add test to cover RGBLINK behavior for patch overflow
2025-01-20 14:42:58 -05:00
Rangi42
edc9e07a2d
Move all common error checks together inside mergeSections
2025-01-17 02:18:40 -05:00
Rangi42
fac5e35d24
Prefer empty braces to semicolons for empty loop bodies
2025-01-17 00:20:33 -05:00
Rangi42
a85d6b3b57
Remove unused readMagic function
2025-01-17 00:09:47 -05:00
Rangi42
f23a14afc7
Remove unnecessary semicolons after closing braces
2025-01-17 00:01:06 -05:00
Rangi42
f63167dd0f
Use const reference
2025-01-16 23:45:43 -05:00
Rangi42
0ee4ba95b3
Replace old-style cast in Windows-only code with static_cast
2025-01-16 23:41:12 -05:00
Rangi42
d9773424e4
RGBDS_OBJECT_VERSION_STRING is a literal
2025-01-04 03:53:59 -05:00
Rangi42
4e2464a69d
Replace some #define with constexpr
2025-01-04 03:53:59 -05:00
Rangi42
a5f12f66bb
Define the default -recursion depth in main.cpp with other default values
2025-01-04 03:53:59 -05:00
Rangi42
d88feee1c0
Update test dependencies
2024-12-31 13:07:46 -05:00
Rangi42
5963dc9e0e
Only define __asan_default_options in make develop builds
...
`NDEBUG` is not defined in `develop`, `debug`, `profile`, and `coverage`
builds.
`__SANITIZE_ADDRESS__` is defined in `develop` builds.
2024-12-31 11:01:26 -05:00
Rangi42
b99ce3845e
Fix RGBFIX writing bytes when one syscall is not sufficient
2024-12-30 11:25:20 +01:00
Rangi42
d63955eccd
Release 0.9.0
2024-12-25 10:46:17 -05:00
Rangi42
2c4fc4cbe8
Update man page dates
2024-12-25 10:37:08 -05:00
Rangi42
7d3c31b6d8
Update CI test project commits
...
Note that libbet's latest commit updated some text, so its ROM hash changed
2024-12-25 10:29:06 -05:00
Rangi42
151f83db6d
Using C++20 [[unlikely]] here would be excessive micro-optimization
2024-12-23 14:14:10 -05:00
Rangi42
22838ce2d8
Remove redundant 0xC7 masking for RST values (the parser handles it)
2024-12-23 10:10:01 -05:00
Rangi42
b058bb6e15
Sorting RGB palettes by luminance is not a "legacy" feature
2024-12-23 10:01:30 -05:00
Rangi42
36b04b5dea
Rename parser value const to iconst to distinguish it from C++ keyword
2024-12-23 09:21:30 -05:00
Rangi42
a7296ecb31
Fix man page formatting
2024-12-21 00:44:33 -05:00
Rangi42
92917ceb2f
List LDHL as an unsupported instruction alias
2024-12-13 11:35:59 +01:00
Rangi42
b18cfe6bdb
Consistently use UINT32_MAX, not -1, for uint32_t values
2024-12-10 19:47:23 -05:00
Rangi42
a8ec9228d4
List post-release steps to take for other gbdev projects
2024-12-10 13:06:58 -05:00
Rangi42
e66da4c8c7
Consistently capitalize C
2024-12-09 13:42:01 -05:00
Rangi42
ceb43c7aa4
Remove sample comments in workflow
2024-12-04 15:38:49 -05:00
Rangi42
a27f704c25
Implement -Wunmatched-directive
2024-11-28 20:30:38 +01:00
Rangi42
9216485bca
Add TRACE-level verbose logging for efficiency calculations
2024-11-27 21:06:18 +01:00
Rangi42
c33acb905b
Avoid precision loss from floating-point division in calculating efficiency
...
This was breaking test results on 32-bit MinGW
2024-11-27 21:06:18 +01:00
Rangi42
81c3521610
Add color_curve RGBGFX test
2024-11-27 21:06:18 +01:00
Rangi42
cb546f0cd8
Fix rgbasm(1) formatting
2024-11-08 22:29:52 -05:00
Rangi42
a60186db2f
Document the RGBGFX -X and -Y options
2024-11-03 18:54:16 +01:00
Rangi42
0d3980d039
Refactor how map file sections are printed
...
This makes size-0 sections print as "($0000 bytes)" instead of
"(0 bytes)", which is more consistent.
2024-10-23 17:10:39 +02:00
Rangi42
ab6244d81c
Escape characters in section names in map files
2024-10-23 17:10:39 +02:00
Rangi42
4c495c31d9
Release 0.9.0-rc2
2024-10-21 22:52:18 -04:00