Commit Graph

  • e4ffcf7153 Update the 'ucity' commit used for testing Rangi42 2024-08-04 21:52:57 -04:00
  • 1d194b68ca Update test deps (#1440) Sylvie 2024-08-04 21:49:22 -04:00
  • 9a5b3f0902 Implement multi-value charmaps (#1429) Sylvie 2024-08-04 17:32:08 -04:00
  • 436580a649 Consistently use "palette spec" not "color spec" Rangi42 2024-08-04 16:24:14 -04:00
  • 8af9e9d465 Add rgbgfx -r 0 to infer a width (#1437) Sylvie 2024-08-04 14:31:05 -04:00
  • 98bca79df4 Run clang-format ISSOtm 2024-07-26 22:51:52 +02:00
  • dae4219acd With -r, print both palettes if -c and -p mismatch ISSOtm 2024-07-26 22:46:46 +02:00
  • 3d1f5386c2 Fix parsing of GPL files ISSOtm 2024-07-26 19:37:02 +02:00
  • 1f8f28cac8 Fix parsing of textual colours ISSOtm 2024-07-26 19:36:26 +02:00
  • 8e60d1f0b8 Fix textual palettes not accepting to be filled ISSOtm 2024-07-26 16:42:56 +02:00
  • d8aceaea4a Ignore empty lines in HEX files ISSOtm 2024-07-26 14:59:18 +02:00
  • a23b4732e3 Distinguish EOF and empty lines when parsing text pal files ISSOtm 2024-07-26 14:58:36 +02:00
  • 3bd35a8848 "Write" to files, "print" to console Rangi42 2024-08-02 16:26:42 -04:00
  • 41046c287f Use appropriate format specifier for number of palettes ISSOtm 2024-08-02 21:59:51 +02:00
  • f4d0f01f91 Fix max number of palettes wrapping around after 255 ISSOtm 2024-08-02 16:14:43 +02:00
  • 0ed846c773 Remove outdated RGBASM options from man page Rangi42 2024-07-27 09:57:52 -04:00
  • 4e0f794c23 More refactoring and renaming Rangi42 2024-07-26 20:12:51 -04:00
  • 6a65cbc9ed Some refactoring and reformatting (#1431) Sylvie 2024-07-26 11:51:27 -04:00
  • 92abe24894 Implement EXPORT DEF to define and export symbols (#1422) Sylvie 2024-07-25 17:40:58 -04:00
  • 13a8895fca Improve the error messages for interpolating undefined or invalid symbols (#1423) Sylvie 2024-07-25 17:36:02 -04:00
  • e179ba5fd3 Add syntax to push and modify stacks in one line (#1421) Sylvie 2024-07-25 17:14:59 -04:00
  • 1d89d75381 Fix use-after-free when keeping pointers to args from at-files (#1426) Eldred Habert 2024-07-25 23:00:48 +02:00
  • c0904228f2 Fix bison.sh for patch-less bison versions (#1416) Sylvie 2024-07-03 07:37:04 -04:00
  • 556c8a968a Release 0.8.0 v0.8.0 Rangi42 2024-06-28 14:53:17 -04:00
  • ed5529d639 Fix generating a palette overriding a previous pal spec (#1415) Sylvie 2024-06-25 12:27:01 -04:00
  • 240ab8ed1c Keep the object version as RGB9; only increment the revision to 10 (#1413) Sylvie 2024-06-21 10:47:49 -04:00
  • 0433714d77 Allow a suffix (e.g. the version) to be added when installing (#1406) Sylvie 2024-06-18 16:06:43 -04:00
  • ee748cfe26 Miscellaneous refactoring of code and docs (#1411) Sylvie 2024-06-18 14:47:31 -04:00
  • 623c3f662c Allow NUL characters in strings (#1405) Sylvie 2024-06-18 14:26:18 -04:00
  • 9cc595b2cc Specify a custom logo file to use instead of the Nintendo logo (#1400) Sylvie 2024-06-18 14:02:50 -04:00
  • 8c3ca462fe Add more test cases (#1409) Sylvie 2024-06-17 15:07:35 -04:00
  • 9e1898238d Remove unsupported macOS 11 from CI (#1410) Sylvie 2024-06-17 14:30:57 -04:00
  • b3c94b5b87 Give names to links in man pages (#1407) Sylvie 2024-06-15 07:48:37 -04:00
  • 82f60e26c4 Fix reading ACO palette files (#1404) Sylvie 2024-06-13 12:21:19 -04:00
  • dfec7111e2 X && 0 and X & 0 are constant 0; X || 1 is constant 1 (#1399) Sylvie 2024-06-13 11:09:39 -04:00
  • c5c6cc9794 Refactor macros for fixing/trashing header values (#1401) Sylvie 2024-06-13 10:59:48 -04:00
  • 39e9315e8a Use a smaller size for the lexer buffer Rangi42 2024-05-17 20:59:42 -04:00
  • 352551d4f8 Allow padding to coexist with overlay file (#1395) Sylvie 2024-05-17 05:14:44 -04:00
  • e2633d5b66 Use the standard stream buffer size for the lexer buffer (#1396) Sylvie 2024-05-17 05:02:36 -04:00
  • 3e9d2cab12 Make some error messages more consistent (#1393) Sylvie 2024-04-20 17:13:01 -04:00
  • 7aecc00919 Fix rectangular rgbgfx --reverse --columns (#1392) Chris Pickel 2024-04-21 01:20:16 +09:00
  • b8387427a6 Use consistent RGBDS_<PROG>_<NAME>_HPP header guard convention Rangi42 2024-04-14 21:43:06 -04:00
  • a234da42a6 Replace assert with assume for release build optimization (#1390) Sylvie 2024-04-02 11:09:31 -04:00
  • 1d39e5ed56 Use std::variant for RPN expression value (#1389) Sylvie 2024-04-01 10:47:15 -04:00
  • 9ab3446d1a Fix two bugs with RGBASM fixed-point math (#1388) Sylvie 2024-03-31 12:53:20 -04:00
  • 6b5248f15b Add a build target for include-what-you-use Rangi42 2024-03-29 20:49:09 -04:00
  • eb708ebee5 Rename some variables left from the C parser (e.g. yylval) Rangi42 2024-03-29 19:42:23 -04:00
  • cf3e5e15f8 Update the 'ucity' commit used for testing Rangi42 2024-03-29 14:42:23 -04:00
  • 408a783fd8 Add more RGBLINK tests (#1386) Sylvie 2024-03-29 14:30:32 -04:00
  • 17afe611fd Update the 'libbet' commit used for testing Rangi42 2024-03-29 13:35:12 -04:00
  • 996db14ffa Make test built of 'libbet' reproducible with old Pillow versions (#1385) Sylvie 2024-03-29 11:59:36 -04:00
  • 7326cc6875 Verify ROM hashes for all CI test projects (#1384) Sylvie 2024-03-28 22:37:33 -04:00
  • 9dac583e45 Patch test projects so they build without deprecated features Rangi42 2024-03-28 16:45:45 -04:00
  • ccfd3b6af8 Remove documentation of already-removed RGBGFX options Rangi42 2024-03-22 17:22:56 -04:00
  • 4a4656af1b Remove the deprecated RGBGFX --output-* options (use --auto-*) Rangi42 2024-03-22 17:17:49 -04:00
  • b021090e7f Remove deprecated -i for --include (use -I) Rangi42 2024-03-22 15:58:18 -04:00
  • 230b1db438 Remove deprecated DEF-less definitions Rangi42 2024-03-22 15:51:52 -04:00
  • 14b72222b1 Remove the deprecated -H/-h/-L/-l options Rangi42 2024-03-22 15:14:11 -04:00
  • 106e516962 Split the .peek() method into its next-char and lookahead cases Rangi42 2024-03-28 15:00:29 -04:00
  • 6f74e4fb9c Remove the suboptimal .canPeek() and .peek() methods Rangi42 2024-03-28 14:49:36 -04:00
  • 83c0634f15 Refactor peekInternal to be a LexerState method Rangi42 2024-03-28 13:19:02 -04:00
  • 4172d330b9 Refactor BufferedContent and Expansion to have methods Rangi42 2024-03-28 11:20:32 -04:00
  • cf7bdb19b6 Run clang-format 14 on everything Rangi42 2024-03-28 09:17:27 -04:00
  • 20b7b591d4 Run clang-format ISSOtm 2024-03-28 01:41:25 +01:00
  • d327138cd8 Report as many build errors as possible in CI ISSOtm 2024-03-28 01:37:10 +01:00
  • 0c0923ac16 Disable some spurious MSVC warnings ISSOtm 2024-03-28 01:33:21 +01:00
  • e5078aba3b Clean up #includes ISSOtm 2024-03-28 01:16:51 +01:00
  • cae7b5dcf6 Use standard attribute syntax instead of IBM __attribute__ ISSOtm 2024-03-28 00:47:58 +01:00
  • 506911d7d0 Refactor to avoid redundant obj_CheckAssertions function Rangi42 2024-03-27 16:19:01 -04:00
  • dcb4e40388 Use QUOTEDSTRLEN macro instead of sizeof or strlen Rangi42 2024-03-27 11:50:48 -04:00
  • 912a1504ec Defer closing of depend file Rangi42 2024-03-27 11:44:26 -04:00
  • 2ef5e807f8 No more memory leaks! Rangi42 2024-03-27 11:07:39 -04:00
  • b6039870e5 Remove now-redundant MmappedContent struct Rangi42 2024-03-27 09:35:19 -04:00
  • 78801e324c Group pointer and size as a ContentSpan struct Rangi42 2024-03-26 23:47:33 -04:00
  • bf0cabb3ea Use std::shared_ptr for lexer capture buffers Rangi42 2024-03-26 13:45:20 -04:00
  • a68bebf4a2 Use a Defer struct to close files and restore lexer state with RAII (#1379) Sylvie 2024-03-27 10:42:53 -04:00
  • 32db0a0f18 Rename CaptureBody to Capture, and refactor its methods Rangi42 2024-03-26 12:15:09 -04:00
  • a167d23d01 Use content-specific destructors for lexer state Rangi42 2024-03-26 11:55:30 -04:00
  • 8b6ae994b1 Use STR and CAT macros for # and ## Rangi42 2024-03-25 14:16:06 -04:00
  • 2b44672873 Rename a few variables Rangi42 2024-03-25 14:10:12 -04:00
  • 3568418c5d Remove RGBLINK's unimplemented '-s' "smart linking" placeholder flag Rangi42 2024-03-25 11:36:23 -04:00
  • cb59119881 Use automatically-allocated std::string_view for macros Rangi42 2024-03-25 11:33:17 -04:00
  • d9e5e57e27 Make CaptureBufs be parser values instead of a single static global Rangi42 2024-03-23 19:44:54 -04:00
  • e9e8915725 Refactor to keep lexerState and lexerStateEOL static Rangi42 2024-03-23 16:42:28 -04:00
  • c075ffb570 Update test project commits (#1377) Sylvie 2024-03-22 17:06:39 -04:00
  • 96c808810f Remove .simple.err files, since we require Bison 3.0 (#1373) Sylvie 2024-03-22 15:36:32 -04:00
  • 6a5518e0c5 Use RAII to unmap or close the lexer states' files automatically Rangi42 2024-03-22 14:03:04 -04:00
  • 507439bc25 Refactor macro args to be owned collectively by their fstack contexts Rangi42 2024-03-22 13:22:28 -04:00
  • b85c5cde8f Use std::shared_ptr for MacroArgs Rangi42 2024-03-22 10:02:22 -04:00
  • e255af9e10 Do not limit strings to 255 characters ISSOtm 2024-03-21 21:31:10 -04:00
  • 9f239f6dcc Use std::shared_ptr<std::string> for lexed/parsed strings ISSOtm 2024-03-17 15:32:46 -04:00
  • 412073774c Refactor string-formatting routines to append to an existing string ISSOtm 2024-03-21 20:21:51 -04:00
  • 52e8e1f9fc Simplify \@ handling by using std::shared_ptr<std::string> ISSOtm 2024-03-20 17:19:07 +01:00
  • 04405fb444 Use std::shared_ptr for fstack nodes (#1371) Sylvie 2024-03-22 13:27:21 -04:00
  • dd43723e20 Use methods for RPN Expression (#1372) Sylvie 2024-03-22 04:41:04 -04:00
  • de667c8afb Remove unused Visitor template Rangi42 2024-03-22 03:29:56 -04:00
  • f792580816 Only restore parent context's \@ value if it had one defined (#1366) Sylvie 2024-03-21 19:53:49 -04:00
  • 0f772932a5 Convert bison.sh to posix shell (#1369) orbea 2024-03-21 13:06:36 -07:00
  • 0300971a17 Fix some header #includes with clangd LSP (#1370) Sylvie 2024-03-21 15:13:10 -04:00
  • 32b4a6f284 Use "snake_case" consistently in parsers Rangi42 2024-03-21 11:42:36 -04:00