Commit Graph

648 Commits

Author SHA1 Message Date
Bryan Bishop
eb7902c6f8 chmod -x dump_sections.py 2013-09-01 01:59:52 -05:00
Bryan Bishop
276111f04d version bump to: v1.2.0 2013-08-31 12:59:47 -05:00
Bryan Bishop
8c6328543a Merge pull request #1 from kanzure/preprocessor
Also have the common bits of the preprocessor.
2013-08-31 10:55:49 -07:00
Bryan Bishop
4998994c9a merge preprocessor from pokecrystal c0a01c99
That version was better anyway.
2013-08-31 12:43:05 -05:00
Bryan Bishop
4209ad8637 fix a wrong error message in ItemFragment.__init__ 2013-08-29 12:11:06 -05:00
Bryan Bishop
4c56a6c57a better KeyError exception message in preprocessor 2013-08-29 12:07:27 -05:00
Bryan Bishop
0856dee10a also have the common bits of the preprocessor
This doesn't really belong in both pokecrystal and pokered. It should be
shared between the two without copy/paste.
2013-08-28 22:41:01 -05:00
Bryan Bishop
016f0206b5 version bump to: v1.1.0 2013-08-27 10:55:26 -05:00
Bryan Bishop
5e66419093 Merge branch 'from-yenatch' into master
These commits (roughly) represent the changes made against extras/ by
yenatch. These are not cherrypicked and this isn't repeatable, sorry.
2013-08-27 10:53:17 -05:00
Bryan Bishop
f0ef450967 jp char ァ
see also: d4e6ccca3b8cf1d5efb851153af8d9dd8c9de1e9
2013-08-27 10:43:27 -05:00
Bryan Bishop
993162a6d7 manually apply crystal.py changes from upstream 2013-08-27 10:41:21 -05:00
Bryan Bishop
94dd0f6d63 script command scripttalkerafter is an ender
Also, reformat the list of enders for readability and to work better
with diff tools in the future.

see also: 92152c98fc0cd319f5fff1b0e7ee76dc2c0520d2
2013-08-27 10:29:25 -05:00
Bryan Bishop
c8c8b32efb refactor symfile parser
Also add labels.json generator.

see also: ff1536ddf9c70b9b98c5332c193ad099a103162d
2013-08-27 10:23:19 -05:00
Bryan Bishop
22d5cc55e2 rewrite the encoding line in sym.py 2013-08-27 10:10:55 -05:00
Bryan Bishop
7ac26e0546 remove unused imports from sym.py 2013-08-27 10:09:58 -05:00
Bryan Bishop
967de1cf3c don't include precompiled python files in the egg
version bump to: v1.0.2
2013-08-04 23:32:08 -05:00
Bryan Bishop
d4acb1349b include README.md and bump version to v1.0.1
There was previously no way to install this package from pypi because
README.md is required through setup.py's long_description attribute.
2013-08-04 23:06:44 -05:00
Bryan Bishop
b2a7156acb Merge branch 'better-testing' into master 2013-08-04 17:16:27 -05:00
Bryan Bishop
611c2ecdd0 fix the test for calculate_bank
There shouldn't be any exception thrown by calculate_bank since it was
changed some time ago.
2013-08-04 16:11:51 -05:00
Bryan Bishop
a1bfc404cb make isolate_incbins not take a global asm
Why on earth was this using globals?
2013-08-04 15:59:16 -05:00
Bryan Bishop
dbf6c1eedc fix setUpClass for a unittest.TestCase 2013-08-04 15:42:59 -05:00
Bryan Bishop
51d7e0e876 fix a test that used Label
Label had changed since the test was first written.
2013-08-04 15:40:04 -05:00
Bryan Bishop
1169805e54 improve the test for incbin splitting 2013-08-04 15:35:51 -05:00
Bryan Bishop
5c32531c48 separate more integration tests 2013-08-04 14:27:36 -05:00
Bryan Bishop
4aacc3bf3e move TestEncodedText into tests/integration/ 2013-08-04 14:16:44 -05:00
Bryan Bishop
782f6fee10 move a TestAsmList test into tests/integrations/ 2013-08-04 14:00:56 -05:00
Bryan Bishop
b401a99d42 clean up the formatting in test_write_all_labels 2013-08-04 13:52:17 -05:00
Bryan Bishop
3f68f25dbf remove a file that was created during a test 2013-08-04 13:46:43 -05:00
Bryan Bishop
09ac98ba7a separate some of the integration tests
These tests require extra assets to complete. At the moment they
shouldn't work because the data isn't available.
2013-08-04 13:43:16 -05:00
Bryan Bishop
0ee820c6d6 remove unused imports from tests.py 2013-08-04 13:14:50 -05:00
Bryan Bishop
f4f0005e94 remove a useless test 2013-08-04 13:07:59 -05:00
Bryan Bishop
0d97582126 remove test helpers and meta testing
The meta testing code was really redundant. There are libraries and
tools already made for coverage tests.

Also, it was causing a problem with the unit testing because importing
the unittest module inside of another included module is apparently
broken. Why would that be broken?
2013-08-04 13:00:07 -05:00
Bryan Bishop
a818c979e6 remove unused modules from test helpers 2013-08-04 12:59:28 -05:00
Bryan Bishop
8d179bb81b split meta-testing into separate files 2013-08-04 12:54:33 -05:00
Bryan Bishop
fac185b781 remove python2.6 check in tests.py
There's no way that this library supports python2.6, and even if it
does, it's not a target or something worth maintaining.
2013-08-04 10:41:37 -05:00
Bryan Bishop
3011f9243c fix path walking in gfx.py 2013-08-03 19:59:19 -05:00
Bryan Bishop
39afc5873a add dist/ to .gitignore
This is a leftover from the python egg building process.
2013-08-03 18:39:14 -05:00
Bryan Bishop
2c58182ddd README: fix import statements (pokemontools) 2013-08-03 17:10:11 -05:00
Bryan Bishop
0403a4a90d Merge branch 'organizing' into master
Everything works in pokecrystal, so it's time to merge.
2013-08-03 16:51:46 -05:00
Bryan Bishop
a76acbadd2 fix import lines in tests/ 2013-08-03 16:12:54 -05:00
Bryan Bishop
28490230cf make a basic python module 2013-08-03 16:10:52 -05:00
Bryan Bishop
a14c36eadb ignore python/egg output 2013-08-03 15:55:34 -05:00
Bryan Bishop
4bc7d85036 write some TODO comments in wram.py 2013-08-03 15:21:36 -05:00
Bryan Bishop
ed2949c31d add mock into requirements.txt
(for unit testing)
2013-08-03 15:16:27 -05:00
Bryan Bishop
f6b13962f6 combine hram/gbhw readers into read_constants
This consolidates read_hram_constants and read_gbhw_constants.
2013-08-03 15:12:45 -05:00
Bryan Bishop
860829c2b1 make read_gbhw_constants consume an IOError 2013-08-03 15:08:08 -05:00
Bryan Bishop
b94bbf92ba make read_hram_constants to eat hram.asm IOError 2013-08-03 15:05:17 -05:00
Bryan Bishop
1bdb15456e fix the bss/wram section default
The default section needs to include a list of labels (even if the list
is empty) because downstream code assumes that the section contains a
key called "labels" that has a value associated with a list.
2013-08-03 14:55:58 -05:00
Bryan Bishop
2bbe5da4b6 ignore wram.asm non-existence
The IOError is now caught and swallowed by read_wram_sections.
2013-08-03 14:53:42 -05:00
Bryan Bishop
f17090f319 remove extra newlines from python files
Remove all of the ending newlines at the end of the file, since this is
apparently against pep8.
2013-08-03 14:41:27 -05:00