Commit Graph

  • 998f636495 Fix rgbgfx -Z palette overgeneration on merged color sets (#1912) master 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
  • decc5f7153 Let parallelism be determined automatically ISSOtm 2026-04-16 03:09:49 +02:00
  • a3c953ea46 Pass C++ compiler to CMake via env var ISSOtm 2026-04-16 02:51:03 +02:00
  • d43049c84d Imply CMake source dir ISSOtm 2026-04-16 02:49:15 +02:00
  • b6ff54acc3 Avoid libpng compilation on Windows spamming the Microsoft banner ISSOtm 2026-04-15 01:23:55 +02:00
  • 71fc449452 Use Ninja on Unix platforms ISSOtm 2026-04-15 00:32:19 +02:00
  • 59dd1fbbf8 Correct naming of MSBuild CMake presets ISSOtm 2026-04-15 00:31:20 +02:00
  • 2502d130eb Use Ninja on Windows ISSOtm 2026-04-14 16:41:42 +02:00
  • a78a268cb4 Pass convenience options to Make invoked via CMake ISSOtm 2026-04-14 16:34:36 +02:00
  • 0553491107 Replace a FIXME comment with an explanation of why we can't/won't "fix" it Rangi42 2026-04-20 14:51:38 +02:00
  • 6edac50cc4 Target an even older version of Mac OS X Eldred Habert 2026-04-20 14:33:59 +02:00
  • 77dceaf43a Update libpng to 1.6.57 (#1958) Rangi 2026-04-20 13:55:27 +02:00
  • cfec017fed Consolidate, refactor, and bugfix the lexer's handling of captures and skips (#1957) Rangi 2026-04-20 13:04:20 +02:00
  • 12186fdccc Keep more non-declaration initialization within the for loop clause Rangi42 2026-04-19 22:01:56 +02:00
  • 71dfab3365 Use charmapEntry to simplify charmap_HasChar Rangi 2026-04-17 15:01:13 -04:00
  • 20b11039c9 Keep trie edges sorted for O(log N) lookup Rangi 2026-04-17 14:49:52 -04:00
  • eb9e9c0f33 Replace charmaps' fixed-size 256-value array with a vector of pairs Rangi 2026-04-16 18:51:23 -04:00
  • ac2a022124 Set the Cygwin shell once as a default for its job Rangi 2026-04-15 23:54:12 -04:00
  • 1249c4ef58 Revert "Set up Cygwin before cloning our repo" Rangi 2026-04-15 21:53:29 -04:00
  • aeedfb35a6 Set up Cygwin before cloning our repo ISSOtm 2026-04-16 03:16:56 +02:00
  • 63609871f4 Cache downloaded dependencies for MinGW build also ISSOtm 2026-04-16 02:56:14 +02:00
  • 393eaa9dc1 Fix a Fix typo ;) ISSOtm 2026-04-16 02:54:40 +02:00
  • b3c3981a90 Use a separate CI step to install clang-format before running it Rangi 2026-04-15 20:12:48 -04:00
  • 185a5c5369 Add necessary flags to apt install for checkformat ISSOtm 2026-04-16 01:58:42 +02:00
  • 4ea15ed85a Touch up checkformat.bash ISSOtm 2026-04-16 01:05:03 +02:00
  • b218fd65a0 Install clang-format on ubuntu-slim runner ISSOtm 2026-04-16 01:02:30 +02:00
  • 81edc27b6e Fix two warnings on MinGW ISSOtm 2026-04-14 21:56:12 +02:00
  • dc52487d31 Make -Wformat non-fatal on MinGW ISSOtm 2026-04-14 02:30:40 +02:00
  • 6b994b1737 Fix some warnings raised by MSVC ISSOtm 2026-04-13 22:13:29 +02:00
  • 0849eb801e Decouple -Werror from MORE_WARNINGS ISSOtm 2026-04-13 21:50:24 +02:00
  • e6916360f4 Set some flags only for our own code ISSOtm 2026-04-13 21:43:07 +02:00
  • a802bcb320 Switch MinGW building to CMake ISSOtm 2026-03-19 21:44:18 +01:00
  • 846aa975f1 Stop trying to install md5sha1sum ISSOtm 2026-04-14 16:25:05 +02:00
  • b65649ca73 Tidy up system info ISSOtm 2026-04-14 16:20:36 +02:00
  • 62ddabb570 Avoid hardcoding Brew's prefix ISSOtm 2026-04-14 16:18:08 +02:00
  • d48d6fe5d9 Bump our macOS CI runners ISSOtm 2026-04-14 01:40:05 +02:00
  • ac0f93ffda Delete GCC static analyzer workflow (#1950) Eldred Habert 2026-04-14 22:04:20 +02:00
  • a1712cb6d9 Run patch format check on ubuntu-slim ISSOtm 2026-04-14 22:03:29 +02:00
  • 2968bee86f Run macos-static tests using CTest (#1947) Eldred Habert 2026-04-14 01:25:47 +02:00
  • dec7a74166 Fix macOS static build ISSOtm 2026-04-13 22:50:30 +02:00
  • 9c4e53d1c4 Transition CI from pkg-config to pkgconf (#1942) Eldred Habert 2026-04-13 19:46:05 +02:00
  • 463edc3c01 Enable color output in our Linux and macOS CI tests (#1939) Eldred Habert 2026-04-13 19:31:01 +02:00
  • 73941c3249 Add .git-blame-ignore-revs as a blame.ignoreRevsFile Rangi 2026-04-13 13:24:39 -04:00
  • 7596ae67b5 Fix internal link to docs/CONTRIBUTING.md Rangi42 2026-04-13 02:34:46 -04:00
  • fc08ab6aee Print a GitHub Actions error annotation if install_deps.sh fails Rangi 2026-04-13 02:03:54 -04:00
  • c7663423d6 Update our Dockerfile to base on Debian 13 slim Rangi 2026-04-12 22:36:41 -04:00
  • 1ff73cd5e0 Revert "Stop trying to explicitly install pkg-config in CI (#1940)" Rangi 2026-04-12 22:33:25 -04:00
  • 65ec1af1e8 Switch macOS static build to CMake (#1938) Eldred Habert 2026-04-13 04:26:15 +02:00
  • bc3572ec37 Stop trying to explicitly install pkg-config in CI (#1940) Eldred Habert 2026-04-13 04:08:38 +02:00
  • 78281a4aaa Break down CTest cases into each test suite (#1931) Eldred Habert 2026-04-13 03:29:12 +02:00
  • 6e51ab6f55 Remove a duplicate warning flag ISSOtm 2026-04-13 01:52:25 +02:00
  • 52aaf7e3b3 Fix MSVC dependent option syntax ISSOtm 2026-04-13 01:37:38 +02:00
  • 09db4f25dd Bump the maximum version of CMake tested with ISSOtm 2026-04-13 00:32:38 +02:00