Commit Graph

  • 9ef2e43bf7 Track local label scope, string equated as .. (#1504) Sylvie 2024-09-18 09:52:30 -04:00
  • 197f6cb0ba No need for .c_str() with keywordDict lookups (#1505) Sylvie 2024-09-18 06:23:05 -04:00
  • 9b3d19c3f2 Prefer snprintf to sprintf Rangi42 2024-09-15 00:00:39 -04:00
  • 02439b18c0 \# will always be defined inside macros Rangi42 2024-09-15 00:00:00 -04:00
  • 122ef95d9c Implement . string constant for the current label scope (#1499) Sylvie 2024-09-13 15:20:01 -04:00
  • bfb96b038d Make error messages for "undefined" built-ins more accurate (#1501) Sylvie 2024-09-11 11:54:23 -04:00
  • 1adf68d018 Refer to "label scope", not "symbol scope" Rangi42 2024-09-09 12:21:23 -04:00
  • 750e69c5a6 More asserts like the one in addLabel Rangi42 2024-09-09 12:14:24 -04:00
  • 6e83a14143 Consistently handle auto-scoping of local symbols Rangi42 2024-09-09 11:31:42 -04:00
  • cff05435ad Remove redundant and sometimes inaccurate comments Rangi42 2024-09-09 10:10:40 -04:00
  • 3b59e8963e Rename variables to avoid C++ reserved "_[A-Z]" prefix Rangi42 2024-09-09 10:08:59 -04:00
  • 56af572bfd Refactor symbol value getters for less redundancy Rangi42 2024-09-09 09:35:58 -04:00
  • 6bc2446966 Rephrase error messages for consistency Rangi42 2024-09-09 09:14:33 -04:00
  • 155e7287db Store a pointer to the scoped label, not just its name Rangi42 2024-09-08 22:35:42 -04:00
  • 1dcc000572 Report locations for RGBLINK errors with conflicting objects (#1494) Sylvie 2024-09-10 13:23:48 -04:00
  • 8cd0e66297 Revert "Implement INCLUDE_ONCE directive (#1481)" Rangi42 2024-09-08 11:30:31 -04:00
  • 5f07095f6d Implement INCLUDE_ONCE directive (#1481) sukus 2024-09-08 06:02:02 +02:00
  • 11f0e88b30 Factor out common sanity checks for section union and fragment Rangi42 2024-09-06 21:55:28 -04:00
  • d917df406d Use camelCase instead of lowercase for static functions Rangi42 2024-09-06 21:47:33 -04:00
  • 323028d9f2 RGBLINK lists local symbols when encountering an unknown symbol reference (#1496) Sylvie 2024-09-06 21:31:13 -04:00
  • 7960a10228 These extensions should be binary Rangi42 2024-09-06 12:53:57 -04:00
  • 068ad93427 Allow syntax cpl a Rangi42 2024-09-06 12:42:45 -04:00
  • 610f04beeb Fix condition for assuming at EOF ISSOtm 2024-09-05 15:24:17 +02:00
  • e289387b09 Avoid attempting to link if assembling fails ISSOtm 2024-09-05 14:58:17 +02:00
  • 80d37f9988 Implement --input-tileset (#1464) Eldred Habert 2024-09-04 21:20:01 +02:00
  • 1283b0b6a6 Allow dollar signs in identifiers (#1493) Sylvie 2024-09-03 17:09:06 -04:00
  • a098213053 Rearrange switches so default cases are last Rangi42 2024-09-01 13:00:04 -04:00
  • 6b8d33529e Improve string/interpolation formatting (#1491) Sylvie 2024-09-01 12:54:26 -04:00
  • 2fb76ce584 Traverse the charmap trie to reconstruct mappings instead of saving them (#1487) Sylvie 2024-09-01 09:22:56 -04:00
  • 7330c2c606 Replace unmangle with cygpath (#1490) Sylvie 2024-08-31 00:10:44 -04:00
  • c07371c9fc Revert "Show test issues as annotations in the GitHub Actions job summary" Rangi42 2024-08-27 14:07:35 -04:00
  • 15f0871683 Update some names and comments Rangi42 2024-08-27 14:04:52 -04:00
  • 26fcff831d Run clang-format Rangi42 2024-08-27 01:49:05 -04:00
  • 3a5ff35928 Show test issues as annotations in the GitHub Actions job summary Rangi42 2024-08-27 01:02:53 -04:00
  • 38a90890fb A few more rgbasm documentation tweaks Rangi42 2024-08-27 01:02:06 -04:00
  • de84e3ea8b Rewrite and rearrange some rgbasm docs Rangi42 2024-08-27 00:48:49 -04:00
  • b77ba1d87d Forward declare struct Section to avoid a nested header include Rangi42 2024-08-26 22:45:25 -04:00
  • 4ce6c9f4a5 Avoid bogus comparisons when linking fails ISSOtm 2024-08-23 02:45:53 +02:00
  • 8286d9c462 Check that there is enough room to write a patch when linking ISSOtm 2024-08-23 00:49:42 +02:00
  • fbe28e0def Remove outdated "absolute data" terminology in function names Rangi42 2024-08-26 22:17:59 -04:00
  • 23272f028f Update the best proto-pal relative size when a new best is found ISSOtm 2024-08-23 13:35:48 +02:00
  • 77129b9e80 Fix a false positive reported by scan-build ISSOtm 2024-08-23 01:34:36 +02:00
  • 44332ff4be Charmaps cannot map an empty string (#1486) Sylvie 2024-08-22 13:21:16 -04:00
  • 81ab133566 Enable more testing of RGBGFX output (#1473) Sylvie 2024-08-22 13:19:39 -04:00
  • 0e8a17ce82 Report any section overflows at the end of assembly (#1482) Sylvie 2024-08-22 12:51:52 -04:00
  • 7bc9a24bf0 Edit some documentation of unions and macros Rangi42 2024-08-22 00:41:07 -04:00
  • b438c83bda Implement a '#' prefix for raw identifiers that may alias keywords (#1480) Sylvie 2024-08-21 13:31:44 -04:00
  • 82e81ab1da Test RGBLINK on SDCC object files (#1479) Sylvie 2024-08-20 17:51:01 -04:00
  • 57c3d74b9e Use a custom generic tagged union Either instead of std::variant for efficiency (#1476) Sylvie 2024-08-20 15:19:11 -04:00
  • 7d98b9a900 Add RGBFIX tests for MBC names (#1477) Sylvie 2024-08-20 15:15:37 -04:00
  • 8f47fb494b Improve some documentation (#1474) Eldred Habert 2024-08-19 20:29:20 +02:00
  • 8c96293b11 Test the RGBASM state file output (#1472) Sylvie 2024-08-19 14:13:27 -04:00
  • 57f122a04e Document !cc support alongside HIGH(r16) and LOW(r16) support (#1475) Sylvie 2024-08-19 12:56:16 -04:00
  • 356367bfd3 Allow mirroring only the X or Y axes (#1468) Sylvie 2024-08-18 21:47:39 -04:00
  • b7290366cb Reword some RGBASM docs Rangi42 2024-08-18 13:18:00 -04:00
  • 731715ff36 Refactor test.sh scripts for consistency Rangi42 2024-08-18 21:13:48 -04:00
  • 7cf4156003 Add some more tests, and fix some existing ones Rangi42 2024-08-09 22:41:20 -04:00
  • ee3a93a442 Test macro args \0 and \<0> Rangi42 2024-08-09 23:22:36 -04:00
  • 96a0481cba Pass RGBDS= to make clean as well in downstream tests ISSOtm 2024-08-18 20:11:01 +02:00
  • 86140b5b2f Correctly apply section fragment offsets to contained symbols ISSOtm 2024-08-18 15:37:54 +02:00
  • 369296693c Avoid softlock if linker script contains a comment but no newline ISSOtm 2024-08-14 03:01:09 +02:00
  • 47b2e0e912 Trap bad __at() values too ISSOtm 2024-08-14 02:58:01 +02:00
  • 28733fe312 Implement floating bank in linker script ISSOtm 2024-08-14 02:16:13 +02:00
  • e45a422da3 Clarify error message when a section lacks a type ISSOtm 2024-08-14 01:46:32 +02:00
  • 9fd4ba90cc Trap invalid section types in RGBDS objs ISSOtm 2024-08-14 01:44:08 +02:00
  • e548ecc6fa Report attempts to assign a SDCC area in a way inconsistent with its data ISSOtm 2024-08-14 01:35:23 +02:00
  • 00b0914436 Reserve space to avoid file sym array realloc ISSOtm 2024-08-13 23:29:24 +02:00
  • 60c03ec1e3 Clear the old line buffer when filling the next one in nextLine Ruben Zwietering 2024-08-13 21:42:04 +02:00
  • 379aa8c267 Use line.reserve in sdobj_ReadFile instead of constructor Ruben Zwietering 2024-08-13 21:32:25 +02:00
  • 589cea47f6 Add a contrib script for visualising the generated palettes as a PNG ISSOtm 2024-08-14 17:55:39 +02:00
  • 68a6abd00e Fix ProtoPalette::compare ISSOtm 2024-08-14 17:30:56 +02:00
  • c42e856efb Fix charmap state output for inherited characters Rangi42 2024-08-09 22:13:43 -04:00
  • b987e5669f Comment the parsers better (#1463) Sylvie 2024-08-09 21:36:52 -04:00
  • 718066c2cf Build “fat binaries” for macOS (#1461) Eldred Habert 2024-08-09 19:18:58 +02:00
  • 2d530dbcd6 Fix constant expression detection functions (#1462) Sylvie 2024-08-09 03:40:53 -04:00
  • a9140e6bb4 Fix incorrect name of macos-static artifact Eldred Habert 2024-08-09 01:59:17 +02:00
  • fb6f861a08 Use macOS 14 in CI (#1335) Eldred Habert 2024-08-08 22:16:32 +02:00
  • 0adff57e2c Sync warning flags between Makefile and CMakeLists.txt Rangi42 2024-08-08 16:02:11 -04:00
  • 784e828219 Enforce C++ compiler when building test binaries in CI too ISSOtm 2024-08-08 20:24:43 +02:00
  • b20b2dd28c Pass CXX env var through when compiling RGBGFX test binaries ISSOtm 2024-08-08 20:22:55 +02:00
  • 2a85009b6b Be verbose about building the RGBGFX test binaries ISSOtm 2024-08-08 20:22:10 +02:00
  • 809b364958 Be stricter in test scripts ISSOtm 2024-08-08 20:34:09 +02:00
  • 60f9e86361 Pass libpng CFLAGS when building rgbgfx_test.cpp too ISSOtm 2024-08-08 20:30:15 +02:00
  • 817dcfdc70 Improve fixed-point documentation (#1455) Eldred Habert 2024-08-08 19:56:08 +02:00
  • a3f9952b9e Advise on how to use -x to make -r work (#1459) Sylvie 2024-08-08 13:50:51 -04:00
  • 0cd79c33ef Fix RGBGFX reversal (#1425) Sylvie 2024-08-08 13:40:41 -04:00
  • 747427e801 Make test/gfx/at-file-ref consistent ISSOtm 2024-08-08 12:23:12 +02:00
  • 6b09838739 Sort proto-palettes by decreasing size when refitting overloaded palettes ISSOtm 2024-08-08 12:12:29 +02:00
  • 0f1137c6ec Fix ineffective sorting of palettes pre-packing ISSOtm 2024-08-08 11:31:46 +02:00
  • 1ad9383042 Disable optimisations in make debug ISSOtm 2024-08-08 11:15:19 +02:00
  • 5b486e1d87 Document the behavior of FMOD, and other man page cleanup (#1458) Sylvie 2024-08-07 13:51:35 -04:00
  • e93190d491 Implement BITWIDTH and TZCOUNT functions (#1450) Sylvie 2024-08-07 10:39:30 -04:00
  • 7435630d6a Error messages note when a symbol has been purged (#1453) Sylvie 2024-08-06 15:35:06 -04:00
  • fc8707886c Output exported numeric constants to sym file (#1439) Sylvie 2024-08-06 10:58:35 -04:00
  • bb480b761c Rephrase numeric-string warning to not be identical to another one (#1449) Sylvie 2024-08-06 07:56:09 -04:00
  • 2706f94788 Multiple fixes and enhancements to RPN behavior: (#1448) Sylvie 2024-08-06 07:54:55 -04:00
  • 2f8f99bd94 Implement -Wpurge= (#1443) Sylvie 2024-08-05 12:50:48 -04:00
  • f304e1dd7f Implement state file output for RGBASM (#1435) Sylvie 2024-08-05 12:41:40 -04:00
  • c5e6a815fa Deprecate treating multi-unit strings as numbers (#1438) Sylvie 2024-08-05 10:05:50 -04:00
  • d4231f9efa Remove redundant "unknown option" error messages (#1441) Sylvie 2024-08-05 10:04:53 -04:00