Commit Graph

  • 1eb4eb3339 Reuse the usage.name for printing version info master Rangi 2025-11-18 22:32:45 -05:00
  • a3d3e1525a Fix RGBLINK object type detection Rangi 2025-11-18 22:01:43 -05:00
  • 3553c9c4da Fix RGBLINK evaluation of undefined RPN symbols Rangi 2025-11-18 16:40:24 -05:00
  • 5c2c893ced Refactor getSectionDescription in src/link/assign.cpp Rangi 2025-11-16 17:37:01 -05:00
  • 0f266d1c66 Specify more ASan options (#1860) Rangi 2025-11-16 17:11:09 -05:00
  • 8ab4602ae5 Add -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG to develop builds (#1859) Rangi 2025-11-16 13:11:08 -05:00
  • 04e3a904c2 Avoid calling style_Set/Reset before strerror(errno), since they may call isatty which can change errno Rangi 2025-11-08 12:06:16 -05:00
  • 395b03e88e Disallow SECTION UNION for ROM sections Rangi 2025-11-07 11:30:38 -05:00
  • fb9fa6038c Release version 1.0.0 v1.0.0 release Rangi42 2025-10-31 20:19:24 -04:00
  • 35e5808423 Update rgbasm(5) docs based on @nummacway's feedback (#1852) Rangi 2025-10-31 18:36:53 -04:00
  • 558d3ca0fc Disallow labels before ENDC Rangi42 2025-10-31 18:21:59 -04:00
  • df5162edca Use loops instead of tail calls and musttail Rangi42 2025-10-27 12:05:27 -04:00
  • 2519d1e698 Mention REDEF and FOR regarding EQUS expansion Rangi42 2025-10-27 10:54:16 -04:00
  • ca383c91ca Revert "More accurate 8-bit <=> 5-bit RGB color conversion (#1827)" Rangi42 2025-10-24 13:32:59 -04:00
  • 8bedd710d7 Simplify musl's getopt, including removing optind, optopt, opterr, idx, and longonly Rangi 2025-10-23 13:13:18 -04:00
  • efb5a88edb Show conventional colored "error:"/"FATAL:" for CLI option errors Rangi 2025-10-23 12:38:43 -04:00
  • f065243cd2 Enable RGBGFX's CLI "at-files" for all programs (#1848) Rangi 2025-10-22 17:05:59 -04:00
  • a0bb830679 More consistent man page descriptions for CLI options Rangi 2025-10-22 14:48:24 -04:00
  • 7654c6e27a More consistent man page descriptions for warning diagnostics Rangi 2025-10-22 14:03:34 -04:00
  • 400375b2e5 Share some handling between two tests of rgbasm -M - Rangi 2025-10-20 20:57:48 -04:00
  • 7462bccb72 Move struct Palette into its own file (#1850) Rangi 2025-10-20 16:59:24 -04:00
  • 2873e0b8c8 Use musttail attribute to guarantee tail recursion (#1849) Rangi 2025-10-20 15:56:22 -04:00
  • 1badba03d8 Clean up some #define callables Rangi 2025-10-13 13:14:22 -04:00
  • 64bcef99bd Lower default -Wtrunction= level to 1 Rangi42 2025-10-13 11:48:33 -04:00
  • aa672bbec9 Rephrase PURGE documentation and raise the default level to 2 Rangi42 2025-10-13 11:43:29 -04:00
  • 651877e094 Avoid reusing a static local variable (too fragile) Rangi42 2025-10-08 21:19:23 -04:00
  • 26c48cc409 Add RGBGFX test for libpng warning with invalid bKGD chunk Rangi 2025-10-08 15:44:15 -04:00
  • 23b9039716 Give clearer names to template parameters Rangi 2025-10-08 14:52:34 -04:00
  • 711fba5e35 Add more tests for things that only the external tests had covered Rangi 2025-10-08 13:08:51 -04:00
  • 089fc11e31 A local label starting with a keyword (e.g. jr.local) is an error Rangi 2025-10-08 12:21:07 -04:00
  • 837f552987 Fix bank increment never happening due to unsigned overflow Rangi42 2025-10-07 16:20:24 -04:00
  • cb8c973453 Add test for undefined __SCOPE__ Rangi 2025-10-06 17:51:21 -04:00
  • cca3794dd0 Mention libpng in its internal warning and error messages Rangi 2025-10-06 17:03:51 -04:00
  • 02c2408f58 Implement reversed template for reversing for-each loops Rangi 2025-10-06 16:50:47 -04:00
  • fba0562650 Fix repeated REPT nodes in backtraces Rangi 2025-10-06 16:36:55 -04:00
  • 0c9920d4a6 Use C++ iterator for fragment/union "pieces" of RGBLINK sections Rangi 2025-10-05 15:06:17 -04:00
  • 7733ccdeb6 Implement __SCOPE__ (#1845) Rangi 2025-10-04 16:41:21 -04:00
  • 13e85b5151 Replace all ctype.h functions with locale-independent ones Rangi 2025-10-03 12:52:24 -04:00
  • 268b586c9d Release v1.0.0-rc2 v1.0.0-rc2 Rangi 2025-09-30 18:56:00 -04:00
  • 85d3b5df58 Add more RGBFIX tests Rangi 2025-09-30 17:18:58 -04:00
  • eea277ae9c Add more tests for RGBFIX Rangi 2025-09-28 16:58:46 -04:00
  • 538395b92c Prevent simple syntax highlighters from breaking on /* in a string Rangi 2025-09-29 11:11:26 -04:00
  • 3108fb5297 Rename gbz80.7 "CPU opcode reference" to "Game Boy CPU instruction reference" Rangi 2025-09-28 16:43:36 -04:00
  • f99591bf6f Link FORCE_COLOR and NO_COLOR Rangi42 2025-09-25 14:06:44 -04:00
  • 0297da4d4c Add more tests for RGBASM coverage Rangi42 2025-09-25 12:21:08 -04:00
  • 96b953fe51 Add a test case for overlapping IF/ENDC and REPT/ENDR Rangi42 2025-09-25 11:39:49 -04:00
  • 0670c03bc2 Add CLI tests for RGBASM Rangi42 2025-09-23 15:51:05 -04:00
  • 09ef5b7e06 Refactor error fix suggestions in fstk_RunMacro Rangi42 2025-09-24 19:35:41 -04:00
  • d5bb462f25 Separate isLetter into isUpper and isLower Rangi42 2025-09-24 19:19:50 -04:00
  • b0727e9779 Suggest removing space before colon to define a label instead of invoking a macro Rangi42 2025-09-24 18:32:45 -04:00
  • ca4b890273 Consistently do & alignMask, not % alignSize Rangi42 2025-09-23 11:53:05 -04:00
  • 96a75500d3 Test gb-starter-kit from codeberg.org, not github.com Rangi42 2025-09-23 13:00:48 -04:00
  • 634fd853d1 Factor out a single parseNumber utility function (#1839) Rangi 2025-09-22 15:15:24 -04:00
  • c8d22d8744 Refactor some iterator template code in RGBGFX pal_packing.cpp Rangi42 2025-09-21 10:54:27 -04:00
  • 3ece61b103 Use fewer templates in RGBGFX pal_packing.cpp Rangi42 2025-09-20 21:27:52 -04:00
  • a82fd17529 Simplify RGBGFX code by using fewer templates Rangi42 2025-09-20 21:06:51 -04:00
  • e7f5ab3f55 Warn about rgbgfx -O without -o or any of -A -T -P -Q Rangi42 2025-09-20 20:21:37 -04:00
  • 595c87b2f8 Update test dependencies Rangi42 2025-09-20 15:23:02 -04:00
  • c49a7d1e2f Make CLI and OPT options -p and -Q more consistent (#1834) Rangi 2025-09-20 13:54:28 -04:00
  • d8aff148bb Factor out RRANGE macro like RANGE Rangi42 2025-09-19 16:49:14 -04:00
  • e31bcabbaa Implement === and !== string comparison operators (#1832) Rangi 2025-09-19 14:06:36 -04:00
  • 67741ab428 Trim left space from macro args, even past block comments (#1831) Rangi 2025-09-19 13:44:18 -04:00
  • e0a6199f83 Allow charmap to map 'characters' as well as "strings" (#1830) Rangi 2025-09-16 06:51:07 -04:00
  • 6cffd991f7 Document rgbasm -Wempty-data-directive Rangi42 2025-09-15 09:44:50 -04:00
  • 1fdeb34e50 Fix too-short .out.bin expected test results Rangi42 2025-09-15 09:12:26 -04:00
  • 9f16881d64 Use for-each loop Rangi42 2025-09-10 21:18:33 -04:00
  • 223b3d1921 More accurate 8-bit <=> 5-bit RGB color conversion (#1827) Rangi 2025-09-08 15:13:25 -04:00
  • 65d408eb5d Document more about the RGBDS architecture (#1809) Rangi 2025-09-07 15:34:52 -04:00
  • 3677ab2ebf Correct -q's arg name in rgbgfx(1) (#1826) ReiquelApplegate 2025-09-07 12:28:37 -04:00
  • d404621e0d Don't silence strings-as-numbers with OPT Wno-obsolete in tests Rangi42 2025-09-07 12:11:48 -04:00
  • c8a088f281 Avoid nonessential EQUS expansion in tests Rangi42 2025-09-06 13:30:01 -04:00
  • 94ed28acf8 Avoid nonessential strings-as-numbers in tests Rangi42 2025-09-06 12:45:01 -04:00
  • 00b5077b2a Make usage info output responsive to the terminal width Rangi42 2025-09-05 21:06:38 -04:00
  • 024b33b63a make format should apply to all .cpp and .hpp files Rangi42 2025-09-05 21:05:58 -04:00
  • dcc10cebc3 Add test for duplicate section after use of fragment literal Rangi42 2025-09-05 20:14:01 -04:00
  • 1fc9ba86c4 Some RGBLINK refactoring Rangi42 2025-09-05 16:34:51 -04:00
  • e569e0c200 Don't comment "; Next fragment/union" in .map files for empty section pieces Rangi42 2025-09-05 15:17:21 -04:00
  • f7fb3af615 Run make tidy with Checks: '-*,misc-include-cleaner' in .clang-tidy (IWYU) Rangi42 2025-09-04 13:39:23 -04:00
  • 1dfc1d3231 Factor out isBinDigit and parseHexDigit utility functions Rangi42 2025-09-04 13:14:27 -04:00
  • 891e6f98df Fix formatting of very long fixed-point numbers Rangi42 2025-09-04 12:42:54 -04:00
  • bdc885bd69 Avoid UB when checking truncation range Rangi42 2025-09-04 12:04:10 -04:00
  • 5b67dc94b6 Add more test coverage Rangi42 2025-09-04 01:29:50 -04:00
  • 4f702a4be8 Try to optimize RPN expressions with .emplace_back instead of .push_back Rangi42 2025-09-03 23:00:06 -04:00
  • c5d437ab3c Tell people to use character literals or CHARVAL instead of strings as numbers Rangi42 2025-09-03 22:46:19 -04:00
  • c5c2800f17 Move RPN buffer encoding logic into rpn.cpp Rangi42 2025-09-03 22:36:00 -04:00
  • c798500563 Don't call rpn.clear() when we can safely assume it's already empty() Rangi42 2025-09-03 21:02:57 -04:00
  • 590d113e94 Use a vector of RPN values (#1820) Rangi 2025-09-03 14:42:37 -04:00
  • ee1db0a582 Fix RPN patches for all commands (#1819) Rangi 2025-09-02 16:44:25 -04:00
  • 5701d747d4 Document the stricter rules for lexing underscores in integer constants Rangi42 2025-09-02 14:39:28 -04:00
  • 2110aaca20 Fix RGBLINK and RGBGFX warning/error message colors Rangi42 2025-09-01 20:51:33 -04:00
  • 8df88f92ba Release v1.0.0-rc1 v1.0.0-rc1 Rangi42 2025-09-01 18:09:42 -04:00
  • 534a4efee4 Add 0/1/2 warning levels to rgblink -Wtruncation (#1816) Rangi 2025-09-01 15:35:53 -04:00
  • cc96b4d517 Two small improvements Rangi42 2025-09-01 11:36:19 -04:00
  • 0ccdbf509a Simplify format specs to not use a per-character state machine Rangi42 2025-08-30 12:23:01 -04:00
  • 531278961f Require underscores to actually be digit separators (#1812) Rangi 2025-08-30 10:44:20 -04:00
  • 85176ef10a Fix q format spec (#1811) Rangi 2025-08-29 14:23:49 -04:00
  • 02b880e1b0 Separate RGBFIX header fixing from CLI option parsing (#1808) Rangi 2025-08-28 12:28:08 -04:00
  • c6997fe73c Factor out InsertionOrderedMap to group an indexed list with a string-keyed map Rangi42 2025-08-26 15:38:21 -04:00
  • c578a7b761 More specific error message when an expression is not constant because a symbol is undefined Rangi42 2025-08-24 22:02:41 -04:00
  • 8564df51e5 -Wexport-undefined warning for exporting undefined symbols Rangi42 2025-08-24 16:52:20 -04:00