Commit Graph

  • 71d9e236bc Document multiple -v options in the rgbasm and rgblink man pages, same as rgbgfx master Rangi 2026-08-19 09:21:05 -04:00
  • d9003f633a Allow the CMake user to provide their own version string ISSOtm 2026-08-15 19:43:22 +02:00
  • cda77721d4 Avoid assuming that RGBDS is the root CMakeLists ISSOtm 2026-08-15 19:46:44 +02:00
  • 307846b03e Release v1.0.3 v1.0.3 release Rangi 2026-08-01 11:27:43 -04:00
  • e7e671b249 Update external test commits Rangi 2026-08-01 11:24:42 -04:00
  • 0c772ea049 Update external testing CI with libbet's new way of running Python Rangi 2026-07-30 22:04:49 -04:00
  • 6f64fd00f6 Fix CI testing of installing RGBDS on Cygwin (#2038) Rangi 2026-07-31 10:25:59 -04:00
  • 4384223951 CI testing in Cygwin 64-bit now uses CMake and runs external tests (#2037) Rangi 2026-07-30 12:59:53 -04:00
  • 4e87f61656 Edit some comments and formatting in testing.yml for consistency Rangi 2026-07-29 21:29:42 -04:00
  • 9d854114ea Use Ninja as the generator for CMake on FreeBSD Rangi 2026-07-29 19:51:52 -04:00
  • 70d8d67ffc Run external tests for FreeBSD (#2035) Rangi 2026-07-29 19:45:07 -04:00
  • ca2b8e4cde Support the COLUMNS environment variable for help/usage output Rangi 2026-07-23 13:18:11 -04:00
  • 80c8e77b19 Fixed-point FMOD and LOG explicitly return 0 for some invalid inputs Rangi 2026-07-23 00:33:16 -04:00
  • 604c69e048 Fix palette-packing decant logic to avoid UB from invalid iterator (#2031) Rangi 2026-07-22 23:48:02 -04:00
  • ec5e6cbabb Handle -Wtruncation for link-time jr values Rangi 2026-07-21 14:51:58 -04:00
  • 50678d0942 Use _fseeki64/_ftelli64 on Windows since fseek/fell are limited by 32-bit long Rangi 2026-07-21 14:38:14 -04:00
  • c691ec6607 Use std::optional<uint64_t> instead of long with a special -1 sentinel for seekSize Rangi 2026-07-21 14:31:05 -04:00
  • c3073f4318 Assume that InsertionOrderedMap never adds duplicate keys Rangi 2026-07-21 14:07:45 -04:00
  • e5b03e3cb1 Zero-initialize Png struct width and height just in case Rangi 2026-07-21 13:58:31 -04:00
  • 0d379e9016 Assume clz/ctz argument is nonzero in our fallback implementations Rangi 2026-07-21 13:56:57 -04:00
  • 9cbfec30c7 Avoid redundant "Unexpected text" error message after "Unknown" error Rangi 2026-07-21 13:54:11 -04:00
  • 9def9c9aa8 Fix an SDAS object error message to use the valid section name variable Rangi 2026-07-21 13:41:53 -04:00
  • b5681c0d34 Set binary or text mode on stdout as well as stdin Rangi 2026-07-21 13:39:28 -04:00
  • ec43f06bd9 Fix handling of at-files containing -- followed by positional arguments Rangi 2026-07-21 13:35:39 -04:00
  • 106ec399d5 Fix reading value of relocations symbol/section index from SDAS objects Rangi 2026-07-21 13:14:35 -04:00
  • d9c0d37fd5 Explicitly allow JR offsets to wrap around in RGBLINK Rangi 2026-07-20 19:12:54 -04:00
  • 3b1606c63c Fix typo'd APT option in release workflow v1.0.2+hotfix Eldred Habert 2026-07-20 21:53:43 +02:00
  • fa49e238a9 Release v1.0.2 Rangi 2026-07-20 14:00:25 -04:00
  • 3426f685a0 Update libpng to 1.6.58 Rangi 2026-07-20 14:07:43 -04:00
  • c0e2f8340b Output negative values with correct with in .sym files Rangi 2026-07-20 00:09:06 -04:00
  • 8883251bf9 Avoid UB from FileStackNodeType(type) on an invalid type Rangi 2026-07-20 00:06:09 -04:00
  • f27a8132d9 Avoid truncating too-large JR offset from an invalid object file Rangi 2026-07-20 00:02:39 -04:00
  • 0af28de791 Fix assertion failure on nonzero base palette ID without an attribute map or palette map Rangi 2026-07-19 23:59:35 -04:00
  • 8d2275dc48 Use rpnErrorAt wrapper to ensure setting isError on all RPN errors Rangi 2026-07-19 23:45:07 -04:00
  • 7e11ab4d8f uint16_t tileIdx type matches options.baseTileIDs Rangi 2026-07-19 23:33:01 -04:00
  • e84bcf83b4 Use Procedure concept to type-check decantOn lambda Rangi 2026-07-15 23:27:08 -04:00
  • 57c9bab3a5 Addresses are 16-bit in .map files, consistent with .sym files Rangi 2026-07-15 22:59:50 -04:00
  • 4ada3e85d8 Avoid overflow for very large ROMs (e.g. TPP1) Rangi 2026-07-15 22:57:25 -04:00
  • ba4a7f2e6a Explicitly assume what was verified earlier by readSection Rangi 2026-07-15 22:51:09 -04:00
  • b0948566bb Fail-safe treat 16-bit alignment as a fixed address even in RGBLINK Rangi 2026-07-15 22:46:57 -04:00
  • 5aa7067876 Comment on how overflow to 0 is explicitly allowed for tile and palette IDs Rangi 2026-07-15 22:28:08 -04:00
  • dff176791c Correct grammar "is" vs "are" in RGBGFX reverse mode error messages Rangi 2026-07-14 11:29:30 -04:00
  • 07f5969005 Consistency check the palette map, not just the attribute map Rangi 2026-07-14 11:27:41 -04:00
  • d61c0561c1 Correct condition to completely print both palettes and options.palSpec Rangi 2026-07-14 11:23:03 -04:00
  • b13b0c8eb8 Fix the same shifting UB for SDAS objects as for RGBDS ones Rangi 2026-07-14 11:13:30 -04:00
  • ca2de0f429 Add issue template Rangi 2026-07-14 08:58:24 -04:00
  • a821badc3e Reorganize the readme Rangi 2026-07-14 08:54:38 -04:00
  • cb34fe18f7 Use transparent instead of repeating 0x8000 Rangi 2026-07-14 10:14:09 -04:00
  • 1ed22cc518 Mask blue for consistency (avoids transparent bit bugs) Rangi 2026-07-14 10:08:17 -04:00
  • 9a15b723f2 Format CGB colors in error/verbose messages as "GB:rr,gg,bb" Rangi 2026-07-14 10:06:50 -04:00
  • 7e2a3491a5 Encapsulate fseek+ftell idiom in seekSize Rangi 2026-07-14 01:32:15 -04:00
  • e7855ea1b8 Fix reverse mode with -s/--palette-size too small for the tile data Rangi 2026-07-14 01:11:11 -04:00
  • 19e60d9864 Fix large ds in linker script overflowing the PC Rangi 2026-07-14 00:42:42 -04:00
  • c0ff3d92ad Fix reverse palette offsets when base palette ID wraps around to 0 Rangi 2026-07-13 22:38:57 -04:00
  • e4583e7ac2 RGBGFX reverse mode checks for too-low palette IDs, not just too-high Rangi 2026-07-13 15:32:50 -04:00
  • 5869e0dc60 Fix RGBLINK scrambling algorithm to work for SRAM Rangi 2026-07-13 12:24:14 -04:00
  • 196d50c1d7 Add XXX: comment tag to working but fragile test cases Rangi 2026-07-13 12:06:21 -04:00
  • 8b951bc047 Fix a flaky/random-seed rgbgfx_test test failure Rangi 2026-07-13 21:31:03 -04:00
  • 59b6b15106 Run make format Rangi 2026-07-13 21:30:23 -04:00
  • 304cbb464f Factor out verboseDo to encapsulate magenta output color Rangi 2026-07-13 16:40:11 -04:00
  • ea3a8ee171 Use magenta color for some verbose output which was missing it Rangi 2026-07-13 16:21:51 -04:00
  • f0419eb183 More guards against invalid object file patch data Rangi 2026-07-13 17:16:10 -04:00
  • 4a6ea35299 Avoid overflow in counting tiles for unrealistically large images Rangi 2026-07-13 17:04:22 -04:00
  • 08354cf573 Explicitly encode assumption that an overlapping section exists Rangi 2026-07-13 16:56:36 -04:00
  • 417b5212d4 Fix OOM for too-small overlay files in 32K mode (rgblink -t) Rangi 2026-07-13 15:47:36 -04:00
  • 66312f55dd Avoid unsigned overflow/truncation from bad offset values in invalid object files Rangi 2026-07-13 13:16:49 -04:00
  • 21eaa2d2cc Fix a > to >=, and avoid underflow in some sanity checks Rangi 2026-07-13 13:14:06 -04:00
  • e9fa1e4e94 Avoid closing stdin/stdout/stderr standard streams Rangi 2026-07-13 13:02:46 -04:00
  • 8ab6190f96 Fix relative links in Markdown docs Rangi 2026-07-11 16:18:26 -04:00
  • 22bd8a9bd5 Enable automatic generation of compile_flags.txt for clang-tidy via make tidy (#2008) Eldred Habert 2026-07-11 22:11:14 +02:00
  • 96bc58b7f7 Add test case for local labels that superficially look like keywords Rangi 2026-07-11 13:51:53 -04:00
  • 4857ad1e00 Fix crash on image without any colors (all transparent) Rangi 2026-07-11 13:18:40 -04:00
  • 3b33c942ae Fix a crash and a limitation in RGBGFX unoptimized output Rangi 2026-07-11 12:32:31 -04:00
  • 5525dd902b Update external test commits Rangi 2026-07-10 23:29:19 -04:00
  • 4350a3252d Upgrade FreeBSD testing from 14.3 to 15.1 Rangi 2026-07-10 23:14:39 -04:00
  • a8442bccc7 Group the two dep install commands together in Dockerfile Rangi 2026-07-10 22:19:11 -04:00
  • 00006a9d00 Use set -u too Rangi 2026-07-10 22:12:26 -04:00
  • a383bec96e Rename install_deps.sh to install-deps.sh for consistency Rangi 2026-07-10 22:03:44 -04:00
  • 226031c18b Use #!/usr/bin/env bash, not #!/bin/bash Rangi 2026-07-10 21:58:51 -04:00
  • 24a896f60a Move CI-only check-diff script to .github/ Rangi 2026-07-10 21:56:53 -04:00
  • a6f5e3efd1 Move CI-only check-format script to .github/ Rangi 2026-07-10 21:54:35 -04:00
  • c02b234bb1 Add CI job to check syntax of contrib scripts Rangi 2026-07-10 21:52:00 -04:00
  • be4c1161bd Fix RGBGFX crash when trimming more tiles than exist after deduplication Rangi 2026-07-10 17:27:26 -04:00
  • 0e1e5e80f6 Use correct PRIu32 format spec for uint32_t usedTotal Rangi 2026-07-10 17:01:43 -04:00
  • 118f1f7543 Correct option letter in error message Rangi 2026-07-10 16:59:30 -04:00
  • eaa35ed26d Remove dead return after no-return fatal call Rangi 2026-07-10 14:36:46 -04:00
  • 7b39bcd412 Refactor expression for clarity Rangi 2026-07-10 14:30:22 -04:00
  • 255cd7f7f6 Fix a typo in a comment Rangi 2026-07-10 14:29:32 -04:00
  • b8011947a8 Correct assumption to avoid UB with 1 << 31 Rangi 2026-07-09 21:36:34 -04:00
  • 39e7e064c9 Print correct color set limit value in error message Rangi 2026-07-09 21:29:02 -04:00
  • 7b97d7ce15 Fix RGBGFX crash on deduplicating transparent tiles Rangi 2026-07-09 21:24:59 -04:00
  • c667bac93a Use trailing return type for begin()/end() Rangi 2026-07-08 16:57:52 -04:00
  • db96144d49 Use [[nodiscard]] instead of [[gnu::warn_unused_result]] Rangi 2026-07-08 16:44:15 -04:00
  • 276a1a7952 Use const_cast more precisely to remove const without changing type Rangi 2026-07-08 16:42:53 -04:00
  • b219e03b38 Use more structured bindings Rangi 2026-07-08 16:38:32 -04:00
  • 824ebd80f9 Use [[fallthrough]]; attribute instead of // fallthrough comment Rangi 2026-07-08 16:30:49 -04:00
  • 5aedf31b46 Prevent 32-bit multiplication overflow Rangi 2026-07-07 16:57:13 -04:00
  • d94d0bcc2f Make explicit the assumption that targetFileName is checked before ever calling printDep Rangi 2026-07-07 16:48:44 -04:00
  • ed8e3e4d02 Reset errno = 0 before parseWholeNumber calls and errno == ERANGE checks Rangi 2026-07-07 16:44:14 -04:00
  • 30fd4514dc Add fail-safe for invalid RPN commands in bad object files Rangi 2026-07-07 16:39:02 -04:00