| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-08-30 | remove ItemFragment from preprocessor | Bryan Bishop | |
| It's not required. see #178 | |||
| 2013-08-30 | remove "skippable_macros" from preprocessor | Bryan Bishop | |
| The preprocessor no longer has the concept of skippable_macros and now always skips any line that starts with "db" or "dw" because neither of these should be treated as macros. fixes #178 | |||
| 2013-08-30 | HACK: re-instate the ItemFragment macro hack | Bryan Bishop | |
| This is to fix the preprocessor temporarily. Maybe ItemFragment can be removed completely. | |||
| 2013-08-28 | two more unused imports from preprocessor | Bryan Bishop | |
| 2013-08-28 | don't use globals in the preprocessor | Bryan Bishop | |
| Macros are now passed around as lists and dicts. | |||
| 2013-08-28 | use generic skippable macros in preprocessor | Bryan Bishop | |
| This removes TextEndingCommand from the preprocessor. Instead, there is a generic concept of a skippable type of macro like "db". This adds SkippableMacro to the preprocessor. | |||
| 2013-08-28 | don't directly reference two macro classes | Bryan Bishop | |
| Ideally the macro classes will be removed from the preprocessor core soon, there's no reason they should be infecting these functions. | |||
| 2013-08-28 | remove MoneyByteParam from preprocessor | Bryan Bishop | |
| It didn't belong in there. All of the references were removed. | |||
| 2013-08-28 | Merge branch 'master' into remove-another-moneybyteparam-special-case | Bryan Bishop | |
| 2013-08-28 | remove another MoneyByteParam special case | Bryan Bishop | |
| This updates the preprocessor to just look for a from_asm method on the class for the parameter it's processing. If there's a from_asm method, then it uses it to spit out the right asm. | |||
| 2013-08-28 | remove a special case for MoneyByteParam | Bryan Bishop | |
| The preprocessor should ideally have no special cases for macros at all in the first place. But it does. This one doesn't seem to be necessary. | |||
| 2013-08-27 | Merge branch 'master' into remove-extras | Bryan Bishop | |
| 2013-08-03 | fix preprocessor imports for the latest submodule | Bryan Bishop | |
| I am surprised this worked. Maybe it's not actually working, and I just have cached files everywhere. | |||
| 2013-07-31 | jp char ァ | yenatch | |
| 2013-07-10 | chars: ▷ | yenatch | |
| 2013-06-25 | don't mix tabs/whitespace | Bryan Bishop | |
| 2013-06-25 | pre: restore separate_comment's behavior | yenatch | |
| 2013-06-21 | preprocess asm files individually | yenatch | |
| this fixes a lot of previous hacks first off, rgbds requires that labels from includes be marked as globals. instead, 3626ddeb stuffed includes into the parent file in the preprocessor. this meant one huge file got preprocessed every time, adding an additional ten seconds to compile time. running the preprocessor once for each file would create too much overhead, so a list is fed into prequeue.py, which then makes calls to preprocessor.py. this paves the way for compiling source files separately some day. next, compiling previously required `make clean` to be executed first. f3340de6 touched main.asm to force a fresh compile instead. this behavior has been reverted. now, `make all` will only attempt to recompile if a source file has changed. preprocessor.py has some marginal changes. prequeue.py is created to keep the original functionality of preprocessor.py intact. so many files are preprocessed on first compile (1951 as of this commit) that the prequeue call has been hidden. compile time is reduced to 15-30 seconds on first compile, and 5-10 seconds subsequently. the majority of this time is spent in rgbasm. | |||
| 2013-05-15 | preprocessor: minor optimization in separate_comment | yenatch | |
| 2013-05-11 | preprocessor: print macro automatically inserts newlines | yenatch | |
| 2013-05-06 | Merge pull request #126 from yenatch/master | Bryan Bishop | |
| map scripts + ai + disabled line ending correction | |||
| 2013-05-01 | downward triangle character 0xee | yenatch | |
| 2013-04-27 | Merge yenatch/master. | Bryan Bishop | |
| 2013-03-29 | dump move effects | yenatch | |
| 2013-03-21 | fix docstring formatting everywhere | Bryan Bishop | |
| 2013-03-01 | include some http ascii from the ROM | Bryan Bishop | |
| 2013-01-27 | clean up the preprocessor macro list | Bryan Bishop | |
| 2013-01-23 | allow labels and includes on the same line | yenatch | |
| 2013-01-10 | speed up text conversion in preprocessor | Bryan Bishop | |
| 2013-01-10 | combine multiple calls to sys.stdout.write | Bryan Bishop | |
| 2013-01-10 | disable macro error checking by default | Bryan Bishop | |
| 2013-01-10 | make include_file faster in the preprocessor | Bryan Bishop | |
| 2013-01-10 | disable '; original line' by default | Bryan Bishop | |
| 2013-01-10 | even faster preprocessor | Bryan Bishop | |
| 2013-01-10 | make the preprocessor a little faster | Bryan Bishop | |
| This reduced the preprocessing time from 8s to 2.7s. | |||
| 2013-01-10 | saner import syntax in preprocessor | Bryan Bishop | |
| 2012-11-30 | even better preprocessor formatting | Bryan Bishop | |
| 2012-11-30 | make preprocessor includable as a module | Bryan Bishop | |
| The preprocessor only runs against stdin when __main__ is activated, instead of always running on stdin. This allows the file to be included in an interactive python session or in other scenarios. | |||
| 2012-11-30 | update spacing for read_line in preprocessor | Bryan Bishop | |
| 2012-11-30 | make the include macro check better | Bryan Bishop | |
| The include macro is now checked against only the beginning of the line, and comments in the asm file can say "INCLUDE \"" if they need to. In addition, the preprocessor now supports INCLUDE lines that are preceded by a tab character. However, if this included file has multiple lines, the output will not be automatically aligned with the initial tab. This might cause problems with rgbasm. | |||
| 2012-11-30 | more preprocessor comments | Bryan Bishop | |
| 2012-11-30 | clean up formatting in preprocessor | Bryan Bishop | |
| 2012-11-30 | move allowed_lengths for music macros out | Bryan Bishop | |
| This moves the allowed_lengths setting out of the preprocessor. Special cases should not be hardcoded in the preprocessor. | |||
| 2012-11-30 | implement music macros; INCLUDE injection in pre | padz | |
| 2012-07-07 | Add some functions from Mobile Stadium. | IIMarckus | |
| 2012-05-23 | remove extra whitespace from preprocessor.py | Bryan Bishop | |
| 2012-05-16 | use db instead of item_frag on ItemFragment remote chunks | Bryan Bishop | |
| 2012-05-16 | add a 'correction' to preprocessor to account for storetext issues | Bryan Bishop | |
| 2012-05-16 | fix preprocessor/givepoke for variable-number-of-parameter macros | Bryan Bishop | |
| 2012-05-13 | better movement command/macro support | Bryan Bishop | |
