Commit Graph

  • ba00cf5684 Use std::string for section names Rangi42 2024-03-02 04:47:02 -05:00
  • b488d3a90f Use std::optional<std::string> for lexer expansion names Rangi42 2024-03-02 04:34:42 -05:00
  • 701b926288 Use RAII std::string and std::vector in randtilegen (#1325) Sylvie 2024-03-02 11:02:26 -05:00
  • 446fb07fd5 Use std::deque<std::vector> for free space (#1323) Sylvie 2024-03-01 16:21:29 -05:00
  • 1ac3c0262f Refactor structs to use methods instead of functions (#1322) Sylvie 2024-03-01 13:11:45 -05:00
  • e14ba664ea Remove redundant (void) parameter declarations Rangi42 2024-03-01 10:35:50 -05:00
  • 91d22f180e Reorganize the asm parser to be more like the linker script parser Rangi42 2024-02-29 16:17:55 -05:00
  • 043db49676 Replace NULL with nullptr (#1321) Sylvie 2024-02-29 15:06:33 -05:00
  • eff8c324c8 Remove now-unnecessary struct keyword (#1320) Sylvie 2024-02-29 14:41:58 -05:00
  • 1210a7441f Use std::visit with Visitor helper instead of std::holds_alternatve Rangi42 2024-02-29 13:32:50 -05:00
  • cf08fed067 Use std::vector for SDCC object section data Rangi42 2024-02-28 22:57:18 -05:00
  • c44b336e1b Use std::vector for SDCC object line buffer Rangi42 2024-02-28 22:50:14 -05:00
  • e90084ad06 Rename isWRA0Mode to isWRAM0Mode Rangi42 2024-02-28 21:57:56 -05:00
  • cdb9315366 Use std::vector for rgbfix ROMX data Rangi42 2024-02-21 17:57:17 -05:00
  • 2ff723f943 Use vec.data() instead of &vec[0] Rangi42 2024-02-28 21:05:06 -05:00
  • d1fa5ccd4d Rename lexer_DeleteState to lexer_CleanupState Rangi42 2024-02-28 21:01:49 -05:00
  • 17df94c75b Remove now-unnecessary cleanup functions Rangi42 2024-02-28 20:59:00 -05:00
  • 96f354026a Use automatic allocation for section data Rangi42 2024-02-28 20:54:33 -05:00
  • 8fe6be19f1 Use automatic allocation for tryReadstring Rangi42 2024-02-28 20:32:40 -05:00
  • 002eed405b Use automatic allocation for assertion error messages Rangi42 2024-02-28 20:09:49 -05:00
  • ef1c1440a0 Use automatic allocation for symbol names Rangi42 2024-02-28 19:56:29 -05:00
  • 826512730c Use automatic allocation for section symbols Rangi42 2024-02-28 19:11:06 -05:00
  • 5a26a48d11 Use automatic allocation for section names Rangi42 2024-02-28 19:02:00 -05:00
  • 3c0af94c5c Use automatic allocation for patches Rangi42 2024-02-28 18:49:33 -05:00
  • fc5ab8a14c Clarify comment explaining how referenced works Rangi42 2024-02-28 15:10:47 -05:00
  • ace45bfd90 Refactor to avoid repeating rpn_isKnown(expr) Rangi42 2024-02-28 14:33:03 -05:00
  • d6681d3580 struct Section's src can be const Rangi42 2024-02-28 14:32:15 -05:00
  • 0cc49782ab Use std::variant and automatic allocation for file stack node data Rangi42 2024-02-28 13:49:12 -05:00
  • e1ac51d7da Use std::vector's .size() for SDCC sections and symbols Rangi42 2024-02-28 12:26:27 -05:00
  • c3eb532439 Use copy constructor for file stack node Rangi42 2024-02-28 12:25:38 -05:00
  • 18d4a81954 Use move semantics for the union stacks Rangi42 2024-02-28 11:18:16 -05:00
  • 7daa8759c9 Use std::variant for STRFMT arguments Rangi42 2024-02-27 23:20:06 -05:00
  • beb1997378 Use std::unordered_map for the keyword dict Rangi42 2024-02-27 21:58:36 -05:00
  • 962398969b Use std::string for PURGE args Rangi42 2024-02-27 19:55:37 -05:00
  • 0bed84174b Use std::string for FOR loop variables Rangi42 2024-02-27 19:21:30 -05:00
  • 48b2e94aa3 Use std::string for symbol/section/node names and assertion messages Rangi42 2024-02-27 18:59:38 -05:00
  • a24df27cd8 Use std::vector for charmap output Rangi42 2024-02-26 13:07:51 -05:00
  • 52ac98c294 Use std::vector for section data Rangi42 2024-02-27 14:54:00 -05:00
  • 4cd88ade54 Use automatic allocation for object file symbols Rangi42 2024-02-27 12:15:41 -05:00
  • dead69eb2c Use std::vector for section symbols Rangi42 2024-02-27 12:00:34 -05:00
  • f47ce337bf Use std::vector for reading object file symbols Rangi42 2024-02-27 11:28:12 -05:00
  • 9a51fbafb3 Use std::vector for file stack nodes Rangi42 2024-02-27 10:54:03 -05:00
  • 3d23f5bbb3 Use std::vector for reading object file sections Rangi42 2024-02-27 10:12:07 -05:00
  • af055ecd27 Use automatic allocation for IF stacks and expansions Rangi42 2024-02-26 14:09:07 -05:00
  • 31836967fa Use automatic allocation for lexer states Rangi42 2024-02-26 13:53:52 -05:00
  • 514044496f Use std::string for RPN error reasons Rangi42 2024-02-25 10:43:49 -05:00
  • cf42d035f2 Use std::variant for file stack nodes Rangi42 2024-02-25 09:25:02 -05:00
  • 4b2294292a Use std::string for target file name Rangi42 2024-02-25 07:53:04 -05:00
  • 0e19f6c0ae Use automatic allocation for fstack nodes' iters/names Rangi42 2024-02-24 21:58:34 -05:00
  • 5075ac8887 Use std::vector for RPN expressions Rangi42 2024-02-24 12:12:19 -05:00
  • d792ee4b61 Use std::vector for section patches Rangi42 2024-02-24 11:42:42 -05:00
  • b207bff157 Use std::vector for fstack REPT nodes Rangi42 2024-02-24 10:59:22 -05:00
  • 53343d2fa6 Use automatic allocation for symbols Rangi42 2024-02-23 23:25:45 -05:00
  • e98d1efee3 Use std::vector for include paths Rangi42 2024-02-23 22:16:23 -05:00
  • e4764e37b1 Use std::stack for fstack contexts Rangi42 2024-02-23 21:53:49 -05:00
  • b8e267e387 Use std::vector for SDAS file sections Rangi42 2024-02-23 17:10:06 -05:00
  • 17861a970f Use std::vector for RPN data Rangi42 2024-02-22 22:30:44 -05:00
  • a5ea25cde5 Use automatic allocation for RPN stack Rangi42 2024-02-22 21:36:38 -05:00
  • 843f3394c8 Use automatic allocation for DS args Rangi42 2024-02-22 21:21:05 -05:00
  • b1aa98b43d Use automatic allocation for PURGE args Rangi42 2024-02-22 20:59:55 -05:00
  • 6a23c5fd48 Use automatic allocation for STRFMT args Rangi42 2024-02-22 20:39:37 -05:00
  • 6b2c6c20bc Use automatic allocation for macro args Rangi42 2024-02-22 20:22:03 -05:00
  • a4ed7e1d18 Use automatic allocation for charmaps Rangi42 2024-02-22 19:50:28 -05:00
  • 1b8e588961 Use automatic allocation for patch RPN Rangi42 2024-02-22 15:56:45 -05:00
  • dec1811d20 Use automatic allocation for section data Rangi42 2024-02-22 15:45:09 -05:00
  • 72e9f55368 Use automatic allocation for patches Rangi42 2024-02-22 15:34:49 -05:00
  • 9140180c85 Use automatic allocation for sections Rangi42 2024-02-22 15:04:52 -05:00
  • e022adf4a0 Use automatic allocation for assertions Rangi42 2024-02-22 14:26:12 -05:00
  • 6e03504802 Use std::deque for expansions Rangi42 2024-02-22 13:54:49 -05:00
  • 003977a9fb Use std::deque for unassigned sections Rangi42 2024-02-21 17:16:45 -05:00
  • 1afc8554c0 Use std::deque for file stack nodes Rangi42 2024-02-21 16:26:25 -05:00
  • 26a93a530b Use std::deque for assertions Rangi42 2024-02-21 15:57:44 -05:00
  • 2df4fff6c9 Use std::vector for sorted symbols Rangi42 2024-02-21 15:26:32 -05:00
  • b74b40abd2 Use std::deque for sorted sections Rangi42 2024-02-21 14:50:25 -05:00
  • d53bba97e8 Remove our custom hashmap Rangi42 2024-02-20 21:30:29 -05:00
  • 95e7dac9a6 Use std::map for rgbasm charmaps Rangi42 2024-02-20 21:24:28 -05:00
  • 83d3a39dcd Use std::map for rgbasm symbols Rangi42 2024-02-20 21:09:19 -05:00
  • f44701c02d Use std::map for rgblink symbols and sections Rangi42 2024-02-20 20:59:24 -05:00
  • d5de3fa111 Use std::deque for symbol lists Rangi42 2024-02-21 13:15:30 -05:00
  • bc8cb754c0 Use std::deque for sections Rangi42 2024-02-21 12:24:50 -05:00
  • 2ea6de7195 Use std::stack for unions Rangi42 2024-02-21 12:12:48 -05:00
  • 8083ef605f Use std::deque for section patches Rangi42 2024-02-21 11:06:36 -05:00
  • b87ee62e6c Use std::deque for assertions Rangi42 2024-02-21 10:51:24 -05:00
  • 521ca1c34a Use std::vector for symbols Rangi42 2024-02-21 10:43:43 -05:00
  • a310b659cd Use std::deque (iterable) for section stack Rangi42 2024-02-21 10:28:51 -05:00
  • feb342804b Use std::stack for IF stack Rangi42 2024-02-21 10:14:47 -05:00
  • 36cfce40ad Use std::stack for options Rangi42 2024-02-21 10:00:39 -05:00
  • 52c80c2740 Use std::stack for charmaps Rangi42 2024-02-21 09:48:55 -05:00
  • 0e07408c63 Document how to run the test suite ISSOtm 2024-02-29 11:03:45 +01:00
  • 3da201b26e Give explicit test output if the scramble-romx size is wrong Rangi42 2024-02-26 18:26:17 -05:00
  • b66212e6d6 Fix fstack traces for macro nodes (#1318) Sylvie 2024-02-24 20:23:25 -05:00
  • d87b1ed22a Refactor some redundant error/warning-printing code Rangi42 2024-02-24 19:05:29 -05:00
  • 595c066c2a Remove #include <stdbool.h> (#1317) Sylvie 2024-02-24 10:51:46 -05:00
  • 54d6a22d19 Build with pedantically standard C++ (#1309) Sylvie 2024-02-23 16:46:53 -05:00
  • c0d534f5ad No more flexible array members (not standard C++) (#1307) Sylvie 2024-02-22 16:22:37 -05:00
  • 6d29d2a67e Simplify fstk_FindFile usage (#1310) Sylvie 2024-02-22 07:14:38 -05:00
  • c70cecc24a Add missing license header Rangi42 2024-02-21 19:20:10 -05:00
  • bba5b8a740 Remove unused struct definition Rangi42 2024-02-21 16:42:14 -05:00
  • c0da9fa2bb Remove obsolete #undef fail Rangi42 2024-02-20 20:15:34 -05:00
  • ee59f17ea1 Free all the charmaps after parsing Rangi42 2024-02-19 09:00:15 -05:00