Commit Graph

  • a6a70bb7e6 Format code with clang-format 21 (#2247) master Rangi 2026-11-20 23:58:53 -05:00
  • b47eb3128d Use CMake's add_compile_definitions instead of add_definitions (#2249) Rangi 2026-11-20 23:58:12 -05:00
  • d510d937e5 Replace add_definitions(/D_CRT_SECURE_NO_WARNINGS) with add_compile_definitions(_CRT_SECURE_NO_WARNINGS) Rangi 2026-11-20 22:35:10 -05:00
  • df84b5a4df CMake 4.5 C++ module scanning breaks with libstdc++, so set(CMAKE_CXX_SCAN_FOR_MODULES OFF) Rangi 2026-11-20 22:34:00 -05:00
  • 4c29408a80 Fix incorrect bank for first unoptimized tile with no tiles in bank 0 (#2244) Rangi 2026-11-18 16:24:07 -05:00
  • c6b6a42458 Update zlib to 1.4 Rangi 2026-11-18 15:00:04 -05:00
  • c062624983 Disable non-target-directive diagnostic (introduced in CMake 4.5) (#2243) Rangi 2026-11-14 22:00:14 -05:00
  • 861baee8a5 Add test case Rangi 2026-11-12 11:27:17 -05:00
  • 965c298289 Escape Make special characters other than dollar signs Rangi 2026-11-12 11:01:52 -05:00
  • f18bdc37db Escape Make characters in -M dependency filenames, not just -MQ target filenames Rangi 2026-11-12 10:55:39 -05:00
  • bec11bcaa7 Validate section patch sizes in case object files are invalid (#2242) Rangi 2026-11-14 19:50:34 -05:00
  • a2086efa50 Ignore "inconsistent" errors from LCOV coverage checking (#2239) Rangi 2026-11-12 13:33:14 -05:00
  • 926d6d81ce Fix -B/--background with -c/--color dmg (#2237) Rangi 2026-11-06 18:13:08 -05:00
  • 6466c167d6 Point out offsets when merging fragments bails (#2232) Eldred Habert 2026-11-06 23:46:16 +01:00
  • 6054102f9e Raise the effective limit of rgbgfx --nb-tiles (#2235) Rangi 2026-10-30 18:42:00 -04:00
  • 2738116158 Use more static_assert in place of assert features-1.1.0 Rangi 2026-10-15 00:49:52 -04:00
  • fe082e7ff2 Remove the unused offset field from Assertions (#2205) Rangi 2026-10-11 10:43:32 -04:00
  • 17475648cc Implement -c embedded:multiple (#2194) Rangi 2026-10-03 13:26:02 -04:00
  • 729bcc5c6d Allow negative from-the-end starting indexes in INCBIN (#2181) Rangi 2026-09-28 20:43:14 -04:00
  • 92759288c0 Add RGBASM -Winclude-shadow warning (#2180) Rangi 2026-09-27 20:49:21 -04:00
  • e73bad7413 Add RGBLINK truncation warnings for add sp, e8 and ld hl, sp + e8 (#2179) Rangi 2026-09-27 20:08:26 -04:00
  • 30974be312 Add -Wsingle-union warning for UNION without NEXTU (#2170) Rangi 2026-09-27 20:02:42 -04:00
  • 4f4800f385 Add __CYCLES__ variable to count cycles used by instructions (#2171) Rangi 2026-09-27 19:59:32 -04:00
  • ab600acdff Add %A/%a uppercase/lowercase string format specifiers (#2165) Rangi 2026-09-26 19:30:05 -04:00
  • 477daf099f Make STRCMP and STRICMP tests more precise Rangi 2026-09-26 18:31:53 -04:00
  • ab9650bcfa Allow RSSET to take a negative value (#2167) Rangi 2026-09-26 18:24:39 -04:00
  • 95206f24a0 Add STRICMP case-insensitive string compare function (#2164) Rangi 2026-09-26 18:19:10 -04:00
  • ab0d81591d Add POPCOUNT function (#2166) Rangi 2026-09-26 18:17:31 -04:00
  • 8328b0364b Make the comma after assert warn/fail/fatal optional (#2160) RangiandEldred Habert 2026-09-26 13:55:35 -04:00
  • fabc276a92 Implement compound assignment operators **= and >>>= (#2158) Rangi 2026-09-26 13:10:39 -04:00
  • 2de2747389 Allow STARTOF(SECTTYPE) and SIZEOF(SECTTYPE) to be constant when possible (#2131) Rangi 2026-09-26 13:08:28 -04:00
  • 8bb0fbf8ae Add STRSTARTS and STRENDS functions (#2159) Rangi 2026-09-26 13:04:14 -04:00
  • 27a0a6bc2a Use named constants for meaningful numbers in RGBGFX (#2233) Rangi 2026-10-28 19:19:33 -04:00
  • 65d730336f Factor out shared alignment sanity checks for linker scripts Rangi 2026-10-22 15:56:47 -04:00
  • 1e9e2ad5fa Fix reversing an image with an empty -c/--colors spec file (#2228) Rangi 2026-10-22 15:30:43 -04:00
  • b99069e25d Fix reversing an image with an empty -p/--palette file (#2227) Rangi 2026-10-22 14:41:11 -04:00
  • cc88a7a437 Correct documentation about RGBGFX grayscale luminance ordering Rangi 2026-10-22 13:44:45 -04:00
  • 44b55dce69 Fix parsing of SDCC .rel objects' "b_" magic bank symbols (#2226) Rangi 2026-10-22 13:42:09 -04:00
  • ada6be082e Add error check for empty OPT string Rangi 2026-10-21 17:25:21 -04:00
  • 129b4dabee Fix an off-by-one overflow bug in SDCC object parsing (#2222) Rangi 2026-10-21 15:59:00 -04:00
  • 85f96d671f Allow empty one-past-the-end sections (#2221) Rangi 2026-10-21 15:58:30 -04:00
  • 72c9171216 Output UINT16_MAX for unused grayscale palette slots (#2219) Rangi 2026-10-21 10:01:41 -04:00
  • 96fefcc562 Fix .Sq spanning across two names ISSOtm 2026-10-20 22:16:15 +02:00
  • 4864f37662 Do not allow -c embedded for non-indexed PNGs even with PLTE chunks Rangi 2026-10-20 11:17:26 -04:00
  • d766efe95d Use a vector for emitting section patches ISSOtm 2026-09-19 01:06:47 -04:00
  • 6883dd903e Omit a type name where possible ISSOtm 2026-09-19 01:35:15 -04:00
  • 170b341315 Refactor unassignedSections into a flat list sorted by constraints (#2218) Rangi 2026-10-17 14:12:58 -04:00
  • dfe76a12c1 Update libpng to 1.6.59 (#2217) Rangi 2026-10-16 16:32:33 -04:00
  • d1fb662501 Fix rgbgfx -c/--colors to read GBC palettes with less than 4 colors (#2216) Rangi 2026-10-15 19:47:23 -04:00
  • 451cf69f7d Fix a typo Rangi 2026-10-15 10:21:42 -04:00
  • c5fe5f0762 Use else if in checkNBit for symmetry with checkPatchSize Rangi 2026-10-15 10:21:27 -04:00
  • 292f39deb3 Ensure that STRCMP is either -1, 0, or 1 Rangi 2026-10-15 10:20:24 -04:00
  • eac993c903 Rephrase some rgbasm(5) contents Rangi 2026-10-15 10:19:57 -04:00
  • 5d1742ebf2 Do not list CLI diagnostic flags as being enabled by -Weverything Rangi 2026-10-15 10:19:19 -04:00
  • 7d00c170a5 Use more static_assert in place of assert Rangi 2026-10-15 10:18:12 -04:00
  • 12698e0596 Consistently use ON, not TRUE or True, in CMakeLists.txt Rangi 2026-10-14 19:31:02 -04:00
  • 586bd2eec8 Non-constant expressions do not fail a static_assert (#2215) Rangi 2026-10-14 19:24:47 -04:00
  • ddd4ba9952 Always link asm tests (#2151) Eldred HabertandRangi 2026-10-15 00:01:12 +02:00
  • d663ab59e4 Enable more sanitizers (#2154) Eldred Habert 2026-10-15 00:00:14 +02:00
  • 85fdb3b111 Use static_assert in RGBASM tests whenever possible (#2213) Rangi 2026-10-14 14:39:59 -04:00
  • 6818759a8c Tiny refactor ISSOtm 2026-10-11 18:56:32 +02:00
  • df66063eb4 Document the behavior of overlong INCBIN length (#2207) Eldred Habert 2026-10-11 16:41:38 +02:00
  • 1827fbf297 Edit the warning flags documentation (#2204) Rangi 2026-10-11 08:56:46 -04:00
  • 781a5cf53d Clarify the .hex palette format Rangi 2026-10-10 22:45:02 -04:00
  • 6df6868f0d Check assert message requirement whether or not they are deferred Rangi 2026-10-10 22:36:19 -04:00
  • 82ee97b088 Check for builtin symbols directly, and document why ISSOtm 2026-10-11 01:12:15 +02:00
  • bf894bce6f Encapsulate Symbol and Section ID checks into isReferenced methods ISSOtm 2026-10-11 01:06:47 +02:00
  • af192a95b1 Do not output unreferenced unexported symbols in object files Rangi 2026-10-09 20:02:28 -04:00
  • 9d6dab13d8 Sort linked sections by alignment before size (#2201) Rangi 2026-10-10 21:40:15 -04:00
  • d73a05aa78 Fix backtraces for REPT nodes with quiet non-REPT ancestors (#2196) Rangi 2026-10-03 16:16:58 -04:00
  • 9095c5b320 Do not reuse Patch struct for outputting assertions (#2184) Rangi 2026-10-03 13:24:49 -04:00
  • 6c76606839 Remove unused RawTiles class Rangi 2026-10-02 10:28:27 -04:00
  • 3b105d053b Bump actions/cache from 5 to 6 in the actions group (#2188) dependabot[bot] 2026-10-01 08:33:08 -04:00
  • 7b7bb57bcb Restore usage of _fseeki64 and _ftelli64 on Windows (#2185) Rangi 2026-09-28 23:36:02 -04:00
  • 1d4c741975 Test division and modulo at link time as well as asm time Rangi 2026-09-27 14:01:36 -04:00
  • 093024c534 Verify that successful RGBLINK runs have no stderr output Rangi 2026-09-27 13:50:49 -04:00
  • 32a9d3a01b Consistently compare outputs for RGBGFX tests even when .err exists (#2177) Rangi 2026-09-27 13:21:06 -04:00
  • c0a16e4bad Move File-opening of PNG image into Png constructor (#2161) Rangi 2026-09-27 13:19:05 -04:00
  • ac7d7edf4d Consistently compare .out.bin test results for RGBLINK tests (#2176) Rangi 2026-09-27 13:02:37 -04:00
  • 721df27ae1 Use Bash array for run-tests.sh args to make (#2175) Rangi 2026-09-27 12:08:32 -04:00
  • e06140be46 Actually use -C for reverse_curve test now that #2110 supports it Rangi 2026-09-27 11:35:59 -04:00
  • 877ce79a39 Remove non-functioning and unused --installed-rgbds flag from run-tests.sh (#2174) Rangi 2026-09-27 11:51:24 -04:00
  • 74ee2b217f Fix RGBFIX test harness's special tests (#2173) Rangi 2026-09-27 11:37:31 -04:00
  • 6df932c010 Fix rgbgfx_test.cpp 8-to-5 bit color conversion (#2172) Rangi 2026-09-27 09:16:07 -04:00
  • f37e289fde Fix off-by-one error in transparent palette count Rangi42 2026-09-27 09:07:33 -04:00
  • dc585eb302 Bump the Ubuntu runner for creating release artifacts from 22.04 to 24.04 Rangi42 2026-09-26 22:46:39 -04:00
  • fcd4031034 Combine sect_BinaryFile and sect_BinaryFileSlice (#2169) Rangi 2026-09-26 22:05:39 -04:00
  • 321ad497fa Fix RGBFIX --output with a pre-existing or same-as-input file (#2145) Rangi 2026-09-26 19:31:53 -04:00
  • f5f503c7b1 Bump our Ubuntu runners (#2168) Eldred Habert 2026-09-27 01:27:41 +02:00
  • b732f59472 Improve handling of platform-specific build options (#2162) RangiandISSOtm 2026-09-26 16:31:25 -04:00
  • 43bdeb873e Consistently use * for Markdown italic emphasis, not _ Rangi 2026-09-26 14:59:43 -04:00
  • c2d1bcefc8 Link to the GBDev AI policy from CONTRIBUTING.md (#2157) RangiandEldred Habert 2026-09-26 13:40:24 -04:00
  • fdd819d0ea Fix typo ("implict" -> "implicit") Rangi 2026-09-25 23:09:56 -04:00
  • fd7715dcb0 Fix inconsistent handling of transparent colors in the middle of palettes Rangi 2026-09-25 23:02:38 -04:00
  • e6e5133bcf RGBGFX honors -c/--colors in -r/--reverse mode (#2144) Rangi 2026-09-26 13:13:34 -04:00
  • 03c71ced93 Fix FLOATING in linker scripts conflicting with section constraints (#2148) Rangi 2026-09-26 07:54:48 -04:00
  • 6a08e809b5 Mark an asm test as failed if linking fails ISSOtm 2026-09-25 13:48:10 -04:00
  • 646cb05faf Fix BANK(@) discrepancy within LOAD blocks (#2149) Rangi 2026-09-25 13:18:52 -04:00
  • dc701294f8 Add an additional check to the jr-@ test (ported from rsgbds) Rangi42 2026-09-25 12:59:00 -04:00
  • f7b8207322 Release v1.0.4 v1.0.4 release ISSOtm 2026-09-22 12:35:20 -04:00