Commit Graph

  • a3c4652bfd Fix dead stores in charmap_ConvertNext ISSOtm 2021-05-17 12:20:28 +02:00
  • 5ad48851ed Allow error messages for subsequent syntax errors (#892) Rangi 2021-05-21 17:04:27 -04:00
  • e3b7339dd6 Save UNION stack when using PUSHS as well ISSOtm 2021-05-21 09:47:27 +02:00
  • 69d7f84502 Reset LOAD offset when changing SECTIONs ISSOtm 2021-05-21 09:06:48 +02:00
  • e970b6d6eb Update Zsh completions with CLI changes ISSOtm 2021-05-15 19:13:13 +02:00
  • d9cce3fa1f Update TPP1 canonical name to "TIMER", not "RTC" ISSOtm 2021-05-15 18:05:10 +02:00
  • 23721694ea Comment that anonymous labels internally start with '!' Rangi 2021-05-15 12:57:22 -04:00
  • aa02958e18 Fix mandoc warnings ISSOtm 2021-05-15 12:23:05 +02:00
  • 011d4ec392 Use the Ad macro for RST addresses ISSOtm 2021-05-15 12:03:20 +02:00
  • afbaf10185 Fix MBC help string ISSOtm 2021-05-15 11:24:55 +02:00
  • 6a5e2f439e Fix the STRFMT documentation in rgbasm(5) Rangi 2021-05-09 17:23:57 -04:00
  • fba77c4dce Specify to update the release branch in RELEASE.rst Rangi 2021-05-08 23:44:53 -04:00
  • 830df360ae Specify that all .sh files need Unix line endings v0.5.1 Rangi 2021-05-08 23:22:31 -04:00
  • c75551b1b3 Release 0.5.1 Rangi 2021-05-08 22:38:20 -04:00
  • 5a38f6e148 rgbasm supports "Q16.16" fixed-point literals Rangi 2021-05-06 23:17:08 -04:00
  • 869021f47d Fix -Wformat build warnings on macOS Rangi 2021-05-04 21:05:38 -04:00
  • c06985a7ad Fix incorrect lexing of "$ff00+c" (#882) Eldred Habert 2021-05-05 02:04:19 +02:00
  • c502804192 Update winflexbison to 2.5.24 ISSOtm 2021-05-05 01:57:16 +02:00
  • 75f1bcde31 Make SECTION size overflow non-fatal ISSOtm 2021-05-03 12:09:12 +02:00
  • 60b85298a9 Fix all memory leaks in RGBLINK ISSOtm 2021-05-03 12:43:41 +02:00
  • 8bbafb7200 Rename out_ functions in section.c to sect_ ISSOtm 2021-05-03 12:21:07 +02:00
  • 75ce230dce Make UNION-related errors non-fatal ISSOtm 2021-05-02 23:57:03 +02:00
  • 1d01268249 Remove LOAD FRAGMENT ISSOtm 2021-05-02 23:51:41 +02:00
  • 02cb5a0526 Avoid performing invalid actions on LOAD errors ISSOtm 2021-05-02 23:42:53 +02:00
  • 8397b3d8ec .sym file sorts symbols from zero-length sections first Rangi 2021-05-02 17:56:43 -04:00
  • 296e5489c9 rgblink adjusts patches' PC offsets when merging FRAGMENTs Rangi 2021-05-02 14:57:54 -04:00
  • 9ab9d0f39c Output all SECTION UNION/FRAGMENT symbols in .sym files Rangi 2021-05-02 17:40:43 -04:00
  • 6e1a5dcc9d Add TPP1 support ISSOtm 2021-05-01 14:40:24 +02:00
  • d360d03403 Enable address sanitizer in develop builds (#834) Jakub Kądziołka 2021-05-02 18:08:03 +02:00
  • e9bfe849ad Allow OPT to toggle -h Rangi 2021-05-01 23:04:57 -04:00
  • 665eb916a2 OPT L acts like -L and *dis*ables optimizing LD to LDH Rangi 2021-05-01 22:54:26 -04:00
  • 04788e15af Fix a potential out-of-bounds array access in RGBGFX Rangi 2021-05-01 22:33:54 -04:00
  • dcb8c69661 Fix UAF in lexer capture ISSOtm 2021-05-01 12:24:33 +02:00
  • cc6b70f1d5 Add option to list accepted MBC names and clarify man page ISSOtm 2021-04-29 18:25:50 +02:00
  • 38a9a613da Make data output outside of a SECTION non-fatal ISSOtm 2021-05-01 23:34:28 +02:00
  • ad9a766a56 Allow dollar-prefixed hex for RGBFIX -m ISSOtm 2021-05-01 23:48:23 +02:00
  • 21b59c4651 Reinstate PUSHS clearing the SECTION scope (#870) Eldred Habert 2021-05-01 23:30:09 +02:00
  • 3ffdd50909 Test that RGBFIX does nothing when given no flags ISSOtm 2021-05-01 14:16:45 +02:00
  • ca36422ac9 Parse 'ld hl, sp - <e8>' correctly Rangi 2021-04-30 18:00:31 -04:00
  • 8e4ba8d2e4 Allow REDEF for EQU constants Rangi 2021-04-25 21:06:19 -04:00
  • ee67f1039c Fix REDEF EQUS behavior Rangi 2021-04-28 12:11:26 -04:00
  • d37aa93a7d Port some cleanup from the WIP 'strings' branch Rangi 2021-04-25 19:50:54 -04:00
  • bba532193b Port some cleanup from PR #847 Rangi 2021-04-25 18:36:19 -04:00
  • b4814b06b9 Updated RGBFIX to report when non-zero bytes are overwritten GreenAndEievui 2021-04-28 11:57:43 -04:00
  • 4ee2eb845b Clone test repositories with earlier --shallow-since dates Rangi 2021-04-27 17:27:23 -04:00
  • 3fdf01c0f5 Resolve some TODO comments Rangi 2021-04-26 15:52:30 -04:00
  • 1949a61c6f Tested the ctz and clz shim functions Rangi 2021-04-26 12:17:34 -04:00
  • 43cf20b155 Support Mac OS classic CR line endings in linkerscripts Rangi 2021-04-26 11:55:50 -04:00
  • e27a6d53a0 Support character escapes in linkerscript strings Rangi 2021-04-26 11:40:58 -04:00
  • d17e9c663e Update the tested commits of pokecrystal, pokered, and ucity (#859) Rangi 2021-04-26 10:47:32 -04:00
  • dd8f396227 Fix compiler warnings ISSOtm 2021-04-23 15:12:44 +02:00
  • b60853ea21 Fix RGBFIX option parsing on platforms with unsigned char ISSOtm 2021-04-25 11:05:34 +02:00
  • b936ca27ab Enable _ISOC11_SOURCE ISSOtm 2021-04-23 17:02:38 +02:00
  • e050803ed1 Use size_t for measuring nested depths Rangi 2021-04-21 13:31:48 -04:00
  • 27f38770d4 Parentheses in macro args prevent commas from starting new arguments Rangi 2021-04-20 19:50:46 -04:00
  • db1f77f90b Correct "| operator" line not including the pipe ISSOtm 2021-04-23 14:24:42 +02:00
  • 4d21588eb2 Make invalid UTF-8 characters in strings non-fatal Rangi 2021-04-20 12:24:01 -04:00
  • e596dbfc80 Make failed macro arg expansions non-fatal Rangi 2021-04-20 11:51:01 -04:00
  • 1aeaca2af6 Add test case sort-algorithms.asm Rangi 2021-04-20 22:36:56 -04:00
  • 267e4bc25c rgbds.7(7) shows an example of piping rgbasm to rgblink to rgbfix Rangi 2021-04-20 22:06:02 -04:00
  • c3e27217dd More specific "Symbol name too long" error messages Rangi 2021-04-20 10:37:27 -04:00
  • fe3521c7a4 Switch from parentheses to angle brackets Rangi 2021-04-20 10:02:39 -04:00
  • b0f8d75d1d Shorten quine.asm with \(parenthesized) macro args Rangi 2021-04-19 00:05:16 -04:00
  • 7a314e7aff Support numeric symbol names in \(parentheses) Rangi 2021-04-18 23:47:10 -04:00
  • 637bbbdf43 Support multi-digit macro arguments in parentheses Rangi 2021-04-18 23:26:03 -04:00
  • 8230e8165c Eliminate isAtEOF by changing yylex control flow Rangi 2021-04-20 10:26:51 -04:00
  • a727a0f81f Capture termination status is equivalent to not having reached EOF Rangi 2021-04-20 09:25:27 -04:00
  • 7a587eb7d6 Use midrule action values for captures' terminated status Rangi 2021-04-19 09:23:12 -04:00
  • 7ac8bd6e24 Return a marker token at the end of any buffer Rangi 2021-04-18 20:25:09 -04:00
  • be2572edca Track nested interpolation depth even outside string literals Rangi 2021-04-20 09:37:18 -04:00
  • cf2bbe6435 Position -1 is the last character of a string Rangi 2021-04-19 12:09:32 -04:00
  • dc5b7802c8 Make the len parameter optional in STRSUB(str, pos, len) Rangi 2021-04-19 12:00:42 -04:00
  • b1e6c73197 STRSUB and CHARSUB allow zero or negative positions Rangi 2021-04-18 21:40:38 -04:00
  • 459773b3f0 Update some whitespace after Hungarian prefixes were removed Rangi 2021-04-19 16:47:39 -04:00
  • 6d0a3c75e9 Get rid of Hungarian notation for good ISSOtm 2021-04-19 21:58:05 +02:00
  • e35585960c Avoid generating CRLF'd release tarballs ISSOtm 2021-04-18 23:19:11 +02:00
  • 3bea7930a9 Only update documentation for gbdev/rgbds Rangi 2021-04-18 16:16:17 -04:00
  • 52797b6f68 Implement SIZEOF("Section") and STARTOF("Section") (#766) Rangi 2021-04-17 18:36:26 -04:00
  • 5108c5643c Let charmap_ConvertNext advance its output pointer Rangi 2021-03-08 16:40:36 -05:00
  • 2005ed1df9 Implement CHARLEN and CHARSUB Rangi 2021-03-08 15:11:12 -05:00
  • d43408f4f3 Allow OPT to modify -W Rangi 2021-03-15 10:30:40 -04:00
  • 2c30ab8731 Allow OPT to modify -L Rangi 2021-03-15 09:44:38 -04:00
  • 432c769d60 Release v0.5.0 v0.5.0 ISSOtm 2021-04-17 22:53:00 +02:00
  • 9923fa3eee Fix expansions that start from the end of another expansion (#839) Rangi 2021-04-17 13:14:40 -04:00
  • 750e93be3d Further simplify formatting code Rangi 2021-04-17 01:01:36 -04:00
  • ee5da4468d Fix interpolation/STRFMT overflow issues (#838) Rangi 2021-04-17 00:52:55 -04:00
  • 503c3b5364 Revert "Fix interpolation/STRFMT overflow issues" Rangi 2021-04-16 22:19:37 -04:00
  • 992be3fd9b Fix interpolation/STRFMT overflow issues Rangi 2021-04-16 22:00:17 -04:00
  • c755fa3469 readIdentifier does not process characters that get truncated Rangi 2021-04-16 21:15:01 -04:00
  • e78a1d5bfd readInterpolation is limited by nMaxRecursionDepth Rangi 2021-04-16 16:10:46 -04:00
  • d2f6def2eb Remove unused function hash_ReplaceElement Rangi 2021-04-16 12:36:45 -04:00
  • 1ffd7cb5bb Make tests work on NixOS Jakub Kądziołka 2021-04-16 16:28:11 +02:00
  • 215e26b478 charmap: Store hashmap nodes in charmap stack Jakub Kądziołka 2021-04-16 13:58:27 +02:00
  • 8885f7bcf6 hash_AddElement: return the new node Jakub Kądziołka 2021-04-16 13:42:17 +02:00
  • 5334fc334e Don't report hashmap collisions Jakub Kądziołka 2021-04-16 13:32:11 +02:00
  • f97663aa37 hashmap: add hash_GetNode Jakub Kądziołka 2021-04-16 13:08:14 +02:00
  • 08bdbd1949 Add an .editorconfig Jakub Kądziołka 2021-04-16 15:09:33 +02:00
  • 5c852c7651 Store the nested expansions starting from the deepest one (#829) Rangi 2021-04-16 09:54:13 -04:00
  • 6be3584467 LexerState's 'size' and 'offset' for mmapped files are unsigned Rangi 2021-04-15 19:52:50 -04:00
  • 8c90d9d2d7 Get rid of skip in struct Expansion Rangi 2021-04-15 19:31:59 -04:00