Commit Graph

  • 03629b74d9 Add a test for a defining local label without a parent Jakub Kądziołka 2019-08-29 19:14:02 +02:00
  • b069278e98 Merge pull request #384 from dbrotz/fix-local-label-segfault Eldred Habert 2019-08-29 19:05:27 +02:00
  • 9738c88f95 Merge pull request #383 from dbrotz/fix-380 Eldred Habert 2019-08-29 17:14:05 +02:00
  • a21ea30be0 Add tests for bracketed symbols ISSOtm 2019-08-29 17:08:54 +02:00
  • 64752da42d Add "print types" to bracketed symbols Should partially cover #178 and close #270. This allows printing numbers in different bases and without the dollar prefix This is especially useful in macros because the dollar isnt a valid character for symbol names, requiring heavy STRSUB usage. ISSOtm 2019-08-28 03:04:19 +02:00
  • e3e18063c6 Prevent SET from overriding constant symbols Fixes #341 ISSOtm 2019-08-27 21:07:42 +02:00
  • e400eac42b Improve section overflow error message When trying to fix a section becoming too large, the size it reached is necessary to know whether to optimize away a few bytes or split it entirely. This error is also commonly encountered when INCBINing too large a slice of a file, in which case the amount of bytes by which the section is too large is again an useful information ISSOtm 2019-06-26 00:44:26 +02:00
  • a6bf77718c Check if parent exists for local label reference If an attempt is made to reference a local label before any non-local label is defined, raise an error instead of segfaulting. dbrotz 2019-08-20 09:57:53 -07:00
  • c2787a9ea9 Change the precedence of == to match the documentation The documentation states that == has the same precedence as the other comparison operators. dbrotz 2019-08-20 08:50:18 -07:00
  • e33e6e2413 Merge pull request #382 from NieDzejkob/checkpatch-bool-member Antonio Niño Díaz 2019-08-20 14:17:15 +01:00
  • 3cb56c5a2e checkpatch.conf: Don't complain when bools are used in struct Jakub Kądziołka 2019-08-20 14:43:31 +02:00
  • 91984cb7e7 rgbgfx: Add an option to take the CGB's color profile into account Jakub Kądziołka 2019-08-20 14:15:07 +02:00
  • b8d5dd1824 Merge pull request #366 from dbrotz/fix-313 Antonio Niño Díaz 2019-08-17 16:09:09 +01:00
  • 88b66f2941 Merge pull request #364 from dbrotz/fix-362 Antonio Niño Díaz 2019-08-17 16:08:27 +01:00
  • 3c7e59b9e1 Merge pull request #374 from Ben10do/pushs-outside-of-section Antonio Niño Díaz 2019-08-17 16:07:28 +01:00
  • c4471e3300 Update CONTRIBUTORS.rst Ben Hetherington 2019-08-16 12:05:12 +01:00
  • 16111f46ef Allow PUSHS to be used before a section Ben Hetherington 2019-08-16 13:20:15 +01:00
  • b019b03946 Merge pull request #358 from dbrotz/fix-357 Antonio Niño Díaz 2019-07-12 00:49:08 +01:00
  • 605acd24ba Merge pull request #372 from jidoc01/master Antonio Niño Díaz 2019-07-12 00:48:25 +01:00
  • c8630eee95 Document the feature of input from stdin jidoc01 2019-07-08 23:28:46 +09:00
  • 4040555532 Merge pull request #365 from dbrotz/terminate-bracketed-symbol Antonio Niño Díaz 2019-07-07 11:46:43 +01:00
  • defb221c98 Merge pull request #360 from jidoc01/master Antonio Niño Díaz 2019-07-07 11:46:08 +01:00
  • e7dc094e56 Improve charmap structure with trie jidoc01 2019-06-25 00:58:47 +09:00
  • dfdb107105 Merge pull request #370 from jidoc01/fix_bug Antonio Niño Díaz 2019-07-06 11:10:17 +01:00
  • 9f598dfdb7 Merge pull request #359 from dbrotz/fix-lexer-out-of-bounds Antonio Niño Díaz 2019-07-06 11:09:43 +01:00
  • 38110a833d Fix comment bug jidoc01 2019-07-04 11:59:13 +09:00
  • 484d15dbb2 Handle unprintable characters more gracefully * Skip UTF-8 byte order mark at beginning of file * Error on other unexpected unprintable characters dbrotz 2019-06-29 12:50:41 -07:00
  • 1decf5d0d4 Fix out of bounds array access in lexer If the type char is signed, then in the function yylex_GetFloatMaskAndFloatLen(), *s can have a negative value and be converted to a negative int32_t which is then used as an array index. It should be converted to uint8_t instead to ensure that the value is in the bounds of the tFloatingFirstChar, tFloatingSecondChar, and tFloatingChars arrays. dbrotz 2019-06-16 15:50:56 -07:00
  • 74e9de1b71 Check for RPN stack overflow in linker dbrotz 2019-06-11 10:45:51 -07:00
  • 015d2b0830 Fix buffer overflow when creating patches with long RPN expressions dbrotz 2019-06-11 09:35:57 -07:00
  • c75a9539ba Don't append invalid characters to symbol name When a macro arg appears in a symbol name, the contents are appended. However, the contents of the macro arg were not being validated. Any character, regardless of whether it was allowed in a symbol name, would be appended. With this change, the contents of the macro arg are now validated character by character. The symbol name is considered to end at the last valid character. The remainder of the macro arg is treated as though it followed the symbol name in the asm source code. dbrotz 2019-06-26 17:36:12 -07:00
  • ca6149abcf Fix signed integer overflow issues dbrotz 2019-06-28 16:36:23 -07:00
  • b3120aea25 Terminate standalone bracketed symbol strings dbrotz 2019-06-26 17:45:49 -07:00
  • 54e5bf0f0c Merge pull request #343 from phs/phs/docker Antonio Niño Díaz 2019-07-04 23:07:16 +01:00
  • 847cae5b95 Merge pull request #329 from NieDzejkob/allow-stdin-input Antonio Niño Díaz 2019-07-04 23:02:42 +01:00
  • df15c97b6e Handle zero-byte files gracefully Jakub Kądziołka 2019-07-03 16:28:51 +02:00
  • 0d97b58265 Avoid potentially implementation-defined behavior when using a pipe as input Jakub Kądziołka 2019-07-03 15:37:17 +02:00
  • f7bc61e874 Automatic tests for input from stdin Jakub Kądziołka 2019-06-05 20:48:27 +02:00
  • 8d5a53f529 Handle non-seekable input correctly Jakub Kądziołka 2019-06-05 20:25:24 +02:00
  • 20f9492899 Allow using - to indicate input from stdin Jakub Kądziołka 2019-03-03 23:27:53 +01:00
  • 3cd1d46a1b Merge pull request #356 from NieDzejkob/add-narg-test Antonio Niño Díaz 2019-06-16 22:35:37 +01:00
  • 88eceec257 Add a test for the behavior of NARG after SHIFT Jakub Kądziołka 2019-06-08 21:01:44 +02:00
  • d00ec024a2 Merge pull request #351 from dbrotz/fix-strsub-strlen Antonio Niño Díaz 2019-06-07 10:30:33 +01:00
  • 0bcd53778a Merge pull request #346 from qguv/tilemap-mirrored-duplicates Antonio Niño Díaz 2019-06-07 10:27:26 +01:00
  • 7592eaf42b Merge pull request #354 from NieDzejkob/test-runner-stuff Antonio Niño Díaz 2019-06-05 23:21:51 +01:00
  • 12ed9e044a Merge pull request #353 from qguv/checkpatch-path-override Antonio Niño Díaz 2019-06-05 23:10:43 +01:00
  • 0a3af87aee Ignore the .git folder of the test repositories Jakub Kądziołka 2019-06-05 20:54:21 +02:00
  • 4dee999f68 Clean the test repositories before running tests Jakub Kądziołka 2019-06-05 20:53:32 +02:00
  • 9a4941c794 Allow running the tests from outside of the test folder Jakub Kądziołka 2019-06-05 20:52:35 +02:00
  • 2d0fd71159 Clarify how to override checkpatch.pl path Quint Guvernator 2019-06-04 15:22:45 +02:00
  • 327582be31 Regenerate wwwman Quint Guvernator 2019-05-20 22:10:08 +02:00
  • 21aea281bd gfx: Add mirrored tile check when generating tilemap Quint Guvernator 2019-05-19 20:16:47 +02:00
  • 975f85260d Use code points instead of bytes for STRSUB/STRLEN dbrotz 2019-06-02 16:10:34 -07:00
  • f29d768989 Set all of expr struct's fields in mergetwoexpressions() dbrotz 2019-05-31 08:59:50 -07:00
  • 9bd7ecad4c Have a docker file Phil Smith 2019-05-11 17:21:48 -07:00
  • cc458a9693 Fix a few checkpatch issues Antonio Niño Díaz 2019-05-31 12:34:14 +01:00
  • d2bd9a2368 Merge pull request #337 from dbrotz/one-pass Antonio Niño Díaz 2019-05-31 12:10:17 +01:00
  • b909a5063a Include symbol name in 'symbol too long' error message dbrotz 2019-05-29 10:56:59 -07:00
  • b2c1f6122e Properly set all 16 characters in ROM header title Marcus Huderle 2019-05-18 16:48:43 -05:00
  • a761e98e18 Run checkpatch against origin/master Antonio Niño Díaz 2019-05-10 00:15:24 +01:00
  • e12e7b2acc Don't assign PC to macro symbols Macros have nothing to do with the current PC, so this doesn't make any sense. The value isn't ever used either. dbrotz 2019-05-09 15:01:06 -07:00
  • f927c41abb Add test for referencing a symbol before setting it dbrotz 2019-05-09 14:46:11 -07:00
  • 249acace08 Prevent non-reloc symbol from shadowing reloc symbol dbrotz 2019-05-09 12:48:10 -07:00
  • fa37922ca7 Remove develop branch from contributing guide Antonio Niño Díaz 2019-05-05 23:38:26 +01:00
  • 021990b8e0 Properly check if a symbol's full name is too long dbrotz 2019-05-05 20:21:55 -07:00
  • 540564694c Add missing space to error message dbrotz 2019-05-05 18:13:10 -07:00
  • 8da4feb83c Use sym_FindSymbol() where possible dbrotz 2019-05-05 18:10:05 -07:00
  • 23f5e9dacc Use only one pass dbrotz 2019-05-04 16:18:26 -07:00
  • 6ff9435e0a Merge pull request #335 from dbrotz/fix-334 Antonio Niño Díaz 2019-05-05 23:33:36 +01:00
  • 40006c6152 Make yylex() return int dbrotz 2019-05-02 19:53:45 -07:00
  • b256e4c2e3 Dynamically allocate RPN expression buffer dbrotz 2019-05-02 19:31:26 -07:00
  • a37a09c09c Merge pull request #328 from NieDzejkob/better-linker-errors Antonio Niño Díaz 2019-03-10 23:40:55 +01:00
  • 8ece231d8b Merge pull request #327 from NieDzejkob/symbol-length-check Antonio Niño Díaz 2019-03-10 23:39:29 +01:00
  • e7de0745ad Improve documentation of the object format Jakub Kądziołka 2019-03-04 09:45:14 +01:00
  • 7af2d5dfe1 Print location information in linker errors where viable Jakub Kądziołka 2019-03-03 22:55:17 +01:00
  • 2f2f14bf80 Fix symbol length checking Jakub Kądziołka 2019-03-02 19:11:53 +01:00
  • c59cb6a828 Increase version number to 0.3.8 v0.3.8 jmle 2019-02-20 00:10:02 +01:00
  • 06aaf5b571 Update README.rst Simon Harms 2019-02-14 18:03:28 -05:00
  • 65d7909466 Merge pull request #319 from mid-kid/patch-317 Antonio Niño Díaz 2019-01-19 16:15:37 +00:00
  • 861192c332 Merge pull request #318 from mid-kid/patch-316 Antonio Niño Díaz 2019-01-19 16:13:40 +00:00
  • c63af05427 Allow linker script to consider section attributes mid-kid 2019-01-12 14:04:20 +01:00
  • d07ba6971b Update a symbol's filename and line when defined mid-kid 2019-01-12 12:57:58 +01:00
  • 4b40d63dfd Merge pull request #311 from dbrotz/fix-222 Antonio Niño Díaz 2018-12-10 23:17:31 +00:00
  • a99b7f6902 Merge pull request #314 from dbrotz/fix-314 Antonio Niño Díaz 2018-12-10 23:09:28 +00:00
  • b3391f699f Merge pull request #310 from dbrotz/fix-302 Antonio Niño Díaz 2018-12-10 23:04:56 +00:00
  • 5a3c12cc6b Add test for file ending with \ dbrotz 2018-12-06 23:27:41 -08:00
  • a05fd9b818 Print full file path in error messages dbrotz 2018-12-06 22:59:24 -08:00
  • 6c1ec59a5b Use separate function to append newlines dbrotz 2018-12-05 01:32:06 -08:00
  • e25a4b0abc Merge pull request #309 from dbrotz/master Antonio Niño Díaz 2018-12-04 21:07:08 +00:00
  • a060f135b8 Only add newlines to file if necessary dbrotz 2018-12-02 20:43:20 -08:00
  • f5d3087e9b Check if integer constants only contain radix prefix dbrotz 2018-12-02 16:16:41 -08:00
  • 2795404cd7 Add myself to contributors dbrotz 2018-12-02 16:01:08 -08:00
  • 16fac50db4 Fix clone of external repository Antonio Niño Díaz 2018-12-02 23:39:09 +00:00
  • 3806eb3139 Fix ambiguity in const parsing dbrotz 2018-12-02 13:49:12 -08:00
  • bad66e54fa Fix buffer overflow when file ends with \ dbrotz 2018-12-01 07:10:59 -08:00
  • 5cb6c4af4b Fix typo in documentation karas 2018-08-30 08:10:22 +09:00
  • 69f79f8598 Remove unused str2int() Antonio Niño Díaz 2018-08-18 00:19:48 +01:00
  • 573011a99e Remove dead code karas 2018-08-17 18:49:19 +09:00
  • d778b8e71c Update HTML documentation Antonio Niño Díaz 2018-07-31 20:02:06 +01:00
  • 432a7574c9 Remove alphabetical list of keywords. Anthony J. Bentley 2018-07-28 02:05:52 -06:00