Commit Graph

  • 08e83601f5 Fix CRLF check in parsing SDAS objects Rangi 2026-07-07 16:32:44 -04:00
  • e606f4e997 Fix condition for invalid bank range check (#2016) Rangi 2026-07-07 17:02:35 -04:00
  • 9008d8391c Consistently use sudo apt install -Uyq in workflows (two other cases) Rangi 2026-07-07 02:57:48 -04:00
  • 21682e8814 Consistently handle negative shifted macro args (#2014) Rangi 2026-07-07 02:19:37 -04:00
  • f82b0838a1 Disallow minus sign before symbol name in bracketed macro arguments (#2015) Rangi 2026-07-07 00:42:09 -04:00
  • dabd0a08d2 Remove impossible condition (uint64_t > UINT64_MAX) Rangi 2026-07-06 23:08:05 -04:00
  • c3e10dbb03 Safeguard against localtime or gmtime failure Rangi 2026-07-06 23:05:19 -04:00
  • 3883c2a2b8 Reuse scrambleLimit instead of its equivalent expression Rangi 2026-07-06 22:50:31 -04:00
  • cd0caaaceb Clarify comment about -Wno-* behavior with parametric warnings Rangi 2026-07-06 22:44:39 -04:00
  • 1e4a060d9e Guard against undefined behavior in double2fix Rangi 2026-07-06 22:38:06 -04:00
  • fe3b238dea Do not allow defining labels outside sections (#2013) Rangi 2026-07-06 16:18:42 -04:00
  • 46a6966b70 Fix $8000_0000 % -1 to warn with -Wdiv like $8000_0000 / -1 does (#2012) Rangi 2026-07-06 15:08:44 -04:00
  • be3fc61859 Fix included linker scripts with no newline at EOF (#2011) Rangi 2026-07-06 14:01:40 -04:00
  • 0adbb92e50 Same-line shellcheck comment explanations Rangi 2026-07-05 22:00:57 -04:00
  • 09da4e001a Use Bash arrays instead of POSIX splitting when possible Rangi 2026-07-05 21:59:28 -04:00
  • 3eb8c7e8f2 Let tests know they are being run under Cygwin ISSOtm 2026-07-06 02:07:17 +02:00
  • 189c679e13 Parallelize build jobs according to CPU count Rangi 2026-07-02 16:19:00 -04:00
  • 5d5000011a Remove CMAKE_INSTALL_PARALLEL_LEVEL Rangi 2026-07-02 17:00:54 -04:00
  • f81f5fe63c Use git clean -fdx instead of make clean in external projects Rangi 2026-07-04 23:43:07 -04:00
  • 6e643406a2 Refactor warning diagnostic code to reduce repeated output logic Rangi 2026-07-04 22:35:57 -04:00
  • de36a11be7 Prevent rgblink -Wno-* disabled warnings from printing a location trace anyway Rangi 2026-07-04 22:41:55 -04:00
  • 799c55b4dd Add [[gnu::format(printf, 1, 2)]] attribute to variadic function sectError Rangi 2026-07-04 22:39:37 -04:00
  • ddd8f37508 Remove unnecessary default constructor for Token Rangi 2026-07-04 18:48:03 -04:00
  • c55dec254d Remove unnecessary const_casting methods Rangi 2026-07-04 18:45:41 -04:00
  • 0996a2f5ed Encapuslate UTF-8 decoder state in a struct Rangi 2026-07-03 19:35:23 -04:00
  • e3c594c250 Explain why we do not use file(GLOB ext_projects CONFIGURE_DEPENDS "external/*.cfg") Rangi 2026-07-03 18:38:07 -04:00
  • daba94b495 Remove pointless std::move from non-move constructor Rangi 2026-07-03 13:12:29 -04:00
  • 2f604bfa9a Fix error message when an rgbgfx output file cannot be created Rangi 2026-07-03 13:08:28 -04:00
  • 9bbb2247a7 Fix rgbasm -Werror=... not adding to the final error count Rangi 2026-07-03 13:05:33 -04:00
  • 9b4df11473 Describe how to patch external projects Rangi 2026-07-02 12:36:31 -04:00
  • 4a77c42ed7 Remove redundant labels from tests ISSOtm 2026-07-01 05:54:01 +02:00
  • b12eac356e Try to automatically determine the test OS name ISSOtm 2026-07-01 05:13:05 +02:00
  • 82702d8149 Point out an ordering dep isn't a success one ISSOtm 2026-07-01 04:50:15 +02:00
  • 1f9cc9651a Avoid fetching some repos twice ISSOtm 2026-07-01 04:42:16 +02:00
  • 04b9c7fa3d Move external tests files to tests/external/ ISSOtm 2026-07-01 02:09:34 +02:00
  • 5e8a6cde20 Remove the need to explicitly list external tests ISSOtm 2026-07-01 01:31:08 +02:00
  • d59081a918 Shorten external test prop names slightly ISSOtm 2026-06-30 17:12:22 +02:00
  • 250a94c588 Tell Dependabot to ignore minor and patch releases (#2001) Rangi 2026-07-02 07:55:16 -04:00
  • 37818a1847 Updates actions/checkout from 6 to 7 (#1999)
    dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Rangi
    2026-07-01 23:06:12 -04:00
  • 0e3d1df129 Generate install.sh with make -n install (#1996) Rangi 2026-06-30 15:28:45 -04:00
  • 586c3073f9 Revert "Remove static compile flags" Rangi 2026-06-30 11:16:14 -04:00
  • e3fc46f933 Remove static compile flags ISSOtm 2026-06-30 16:52:22 +02:00
  • 3941a28661 Remove unused variables Rangi 2026-06-30 10:30:31 -04:00
  • a829e6c067 Refactor the test harness for external repo tests (#1994) Rangi 2026-06-30 10:19:41 -04:00
  • b252877b05 Comment why we use Ninja as the generator for CMake Rangi 2026-06-28 17:38:50 -04:00
  • 22a3625144 Explicitly test installation with Make and CMake (#1992) Rangi 2026-06-28 17:31:24 -04:00
  • 6cba5518e9 Install Pillow together with the rest of our CI deps (#1952) Eldred HabertandRangi 2026-06-28 19:06:40 +02:00
  • caf561457d Warn about CMake <3.27 for Windows-targeted builds (#1989) Rangi 2026-06-24 17:53:11 -04:00
  • fc7d9ad573 Handle more numeric literal syntax errors in linker scripts Rangi 2026-06-09 18:44:03 -04:00
  • 0b91bf654b Rename BaseV to ValidBaseV Rangi 2026-06-09 17:55:35 -04:00
  • 6b2b6e6000 Fix off-by-one error with INCLUDEd linker script line numbers Rangi 2026-06-09 15:54:46 -04:00
  • f72a4d53e2 Add -Wlarge-constant to RGBLINK as it is for RGBASM Rangi42 2026-04-28 14:45:22 +02:00
  • 998f636495 Fix rgbgfx -Z palette overgeneration on merged color sets (#1912) vulcandth 2026-06-07 08:55:05 -05:00
  • 075f132d77 Use a smaller unordered_map just for looking up line-leading keywords Rangi 2026-05-27 19:44:30 -04:00
  • 31e1d2ec87 Do not build up a std::string when skipping leading keywords Rangi 2026-05-27 19:37:15 -04:00
  • 673c62414f Use std::string_view keys for UpperMap Rangi 2026-05-27 21:11:39 -04:00
  • 007672f080 Intern identifier strings only after checking for keywords Rangi 2026-05-25 23:55:57 -04:00
  • 7eaca1577d Update .gitattributes for test/asm/crlf.asm Rangi 2026-05-25 22:57:00 -04:00
  • 996469ee28 Ensure CRLF line endings are preserved when necessary Rangi 2026-05-25 21:06:42 -04:00
  • 55db252a8f Simplify the lexer by removing BufferedContent and inlining ViewedContent (#1981) Rangi 2026-05-25 21:05:59 -04:00
  • cfa0adf295 Intern strings used as identifiers (for labels, constants, macros, charmaps, etc) (#1980) Rangi 2026-05-25 16:22:29 -04:00
  • ed19806434 Don't hard-code std::string as the key type for InsertionOrderedMap Rangi 2026-05-25 13:57:33 -04:00
  • a0d96a0856 Factor out repeated expandedSymName logic Rangi 2026-05-25 14:13:42 -04:00
  • 4b992bfea5 Use the name of sym_GetPC() instead of hard-coding "@" again Rangi 2026-05-25 14:05:01 -04:00
  • 141a7fe22b Add assume checks for expected Token types, like RPNValue has for RPNCommands Rangi 2026-05-25 14:02:41 -04:00
  • 43ffc89bb4 Correct comment SIZE_MAX to UINT16_MAX Rangi 2026-05-25 13:55:12 -04:00
  • 72a410c007 Encapsulate charmap_Init, like sym_Init Rangi 2026-05-25 13:54:22 -04:00
  • 090768e2c9 Some Expansion references can be const Rangi 2026-05-23 13:06:09 -04:00
  • 5f2ee530b8 Pass -Wno-unused-but-set-variable by default, not just in make develop Rangi42 2026-05-23 01:17:33 -04:00
  • 4a173130b9 Optimize skipToLeadingKeyword for the common ViewedContent case (#1968) Rangi 2026-05-22 19:06:12 -04:00
  • ef2f021892 Simplify sectError handling, without the need for an empty-string sentinel Rangi 2026-05-22 18:17:25 -04:00
  • dce14fd4b8 Use C++20 concepts to require constraints on template parameters (#1977) Rangi 2026-05-22 17:54:34 -04:00
  • 728bed39d5 Do not support GCC 9 (#1978) Rangi 2026-05-22 16:46:46 -04:00
  • 48fcd9a0ca Use templates to reduce the redundant number-lexing functions (#1963) Rangi 2026-05-21 17:13:09 -04:00
  • 1871b0a0b8 Use Windows git for checkout's post-job cleanup, not Cygwin's git (#1953) Eldred Habert 2026-05-21 21:25:29 +02:00
  • d56dbbb4bf Refactor section creation errors, and simplify output for single errors (#1964) Rangi 2026-05-21 13:01:08 -04:00
  • 728d14879b Consistently use -std=c++2a, not -std=c++20 Rangi 2026-05-20 17:09:23 -04:00
  • 0ed8c2f8ee Docu-comment an implicit correctness assumption ISSOtm 2026-05-14 02:47:34 +02:00
  • d5186b088b Link against (non-debug) MSVC runtime statically ISSOtm 2026-05-14 02:44:11 +02:00
  • fee177d0b9 Link zlib and libpng statically by default ISSOtm 2026-05-14 01:06:16 +02:00
  • 42e3da837c Comment the commands to use for profiling and code coverage Rangi 2026-05-09 20:52:45 -04:00
  • 358e8fe636 Add more tests of lexer's skipToLeadingKeyword behavior (#1971) Rangi 2026-05-09 15:56:17 -04:00
  • c50a849757 Verbose tracing shows lexed and captured values (#1969) Rangi 2026-05-09 12:01:29 -04:00
  • 57111b219a Describe the wine-shim Makefile target (#1967) Rangi 2026-05-09 09:27:08 -04:00
  • be2d028ae6 Format getopt errors more like others (sentence case, quoted options) (#1966) Rangi 2026-05-09 13:27:34 +02:00
  • 1af8bdda16 Have CMake put RGBDS executables in our own dir ISSOtm 2026-05-06 18:49:19 +02:00
  • fa22b78e7d Use type instead of which in shell scripts ISSOtm 2026-05-05 16:03:33 +02:00
  • f0161b41c8 Update readHexNumber for consistency with other routines Rangi42 2026-04-29 12:31:00 +02:00
  • ca23210f18 Refactor and rename some numeric literal lexing for asm and linkerscript consistency Rangi42 2026-04-29 12:15:14 +02:00
  • 85e044f5be Use std::move when relevant in Token constructor Rangi42 2026-04-28 13:32:45 +02:00
  • 60e76b2da4 Avoid UB if new OOMs by removing std:nothrow Rangi42 2026-04-28 13:28:21 +02:00
  • 3c7488c131 Some refactoring, renaming, and debug assertions for clarity and safety Rangi42 2026-04-27 18:47:06 +02:00
  • 9fd0c0297f Fix invalid character in bracketed macro argument Rangi42 2026-04-27 16:57:54 +02:00
  • c1c7e64249 Add two assume calls to verify lexer arguments Rangi42 2026-04-27 15:35:10 +02:00
  • a18b2f1049 Consistently lex local labels after keywords, even when skipping/capturing Rangi42 2026-04-27 15:28:30 +02:00
  • 3f144b7713 Add test case for local labels after block-ending keywords Rangi42 2026-04-27 15:04:12 +02:00
  • eeb3a73210 Small optimization to skipToLeadingKeyword Rangi42 2026-04-27 14:26:47 +02:00
  • 37d39f91f6 Build using GCC 9 in CI ISSOtm 2026-04-26 22:12:06 +02:00
  • d5ce5329ea Fix compilation with GCC 9 ISSOtm 2026-04-26 14:46:11 +02:00
  • 6bcd79b997 Revert "Derive operator!= from operator== (#1660)" ISSOtm 2026-04-26 14:43:57 +02:00