0
Commit Graph

159 Commits

Author SHA1 Message Date
Aaron Griffith
ab22724fc7 moved nice_exit() back into util.py (Issue #647) 2012-03-15 04:03:46 -04:00
Andrew Brown
fe55d5343c added a "changelist" option 2012-03-06 23:37:29 -05:00
Aaron Griffith
fde63ec221 renders are now ordered according to their order in the config file 2012-03-05 13:37:05 -05:00
Aaron Griffith
626129394a split up util.py into files.py and logger.py, moved code appropriately 2012-03-05 12:12:27 -05:00
Andrew Brown
98c23fd970 added a memcached option. It's really slow though. don't use it. 2012-03-04 22:25:38 -05:00
Andrew Brown
8206272fc8 Added a cache for open regionfile objects 2012-03-04 18:46:02 -05:00
Andrew Brown
30b224d5b1 only output cache stats with -p1 2012-03-04 00:20:22 -05:00
Andrew Brown
b852e8b1e3 Re-did the caching layer for regionset chunk caching 2012-03-03 23:56:38 -05:00
Andrew Brown
fd2f6193e6 'forcerender' option to render dict now works. Updated docs. 2012-03-03 14:50:39 -05:00
Andrew Chin
6b5c421c9e detect worlds in cwd, and print detected world paths 2012-03-01 22:37:07 -05:00
Andrew Brown
f43498d033 Added a "crop" feature to render subsets of worlds 2012-02-26 20:19:26 -05:00
Andrew Brown
e50cb2db88 Generalized regionset wrapper objects so they can be chained 2012-02-26 17:59:37 -05:00
Andrew Brown
f48f0445d1 Dump assets and "initial" data before rendering starts
Now does preprocessing off of main() instead of in the dispatcher
initializer.
2012-02-25 19:33:35 -05:00
Andrew Brown
f8769c0a0d --forcerender, --check-tiles, and --no-tile-checks now work 2012-02-16 11:36:31 -05:00
Andrew Brown
aaf8e1d7cb Changed "worldname" to "world" in configfile
Also brought tests up to date. All tests pass now.
2012-02-14 20:39:05 -05:00
Andrew Chin
1703b4952b Fix print_status to not crash if total tiles is unknown 2012-02-12 16:35:56 -05:00
Andrew Brown
c94cc079c1 Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	overviewer.py
2012-02-12 15:35:37 -05:00
Andrew Brown
ec2ae2ebfc added --rendermodes option 2012-02-12 15:30:05 -05:00
Andrew Chin
14306f7e8a Bring docs and code in sync 2012-02-12 13:45:43 -05:00
Aaron Griffith
6cf38d08b6 --processes=1 now correctly uses the vanilla dispatcher 2012-02-12 01:20:32 -05:00
Andrew Chin
9b419a8995 Nicer looking status messages 2012-02-11 16:30:36 -05:00
Andrew Chin
c60936efbd Remove development/debug output 2012-02-11 15:57:38 -05:00
Andrew Brown
9319fee138 added processes option to command line and config file
Also the config file parser now just looks for all Settings objects in
settingsDefinitions.py, not the items in __all__
2012-02-08 21:05:02 -05:00
Andrew Brown
6d95d80a73 overhaul to configParser. Parsing config works now. 2012-02-04 21:23:44 -05:00
Andrew Brown
d4379fff93 fixed up command line parsing to match what we discussed
now supports --config= with no world/destdir on the command line, and no
--config but with specifying world/destdir on command line. Options are
validated accordingly.

Depricated and commented out options removed from option parser.

Config file mode currently broken due to the lack of "outputdir" parsing
from the config parser.
2012-02-03 21:13:22 -05:00
Aaron Griffith
9dc9e1e952 textures now appropriately handle north direction 2012-01-29 17:18:21 -05:00
Andrew Brown
68792d7015 updated usage text. Removed --display-config. 2012-01-29 12:21:47 -05:00
Andrew Chin
96602a48d4 Specifying a dimension in a config file now works 2012-01-27 20:30:58 -05:00
Andrew Chin
c29c983a79 Print a more user friendly error message on validation failure 2012-01-27 19:37:16 -05:00
Andrew Chin
8297f4c0a3 northdirection glue 2012-01-22 23:25:56 -05:00
Andrew Chin
163dd66a38 Create RegionSets via the World object 2012-01-21 19:04:21 -05:00
Andrew Chin
0d23adb237 Avoid digging into the tileset when writing out config.js 2012-01-16 22:54:35 -05:00
Andrew Chin
aa34853664 Only pass to TileSet the options it required 2012-01-16 20:35:13 -05:00
Aaron Griffith
624d6ba351 updated and cleaned up overviewer.py
- moved c_overviewer version checks into __init__.py
 - bare_console support (mostly) moved into util, slightly more sane
 - removed and updated a ton of old code
2012-01-14 01:11:05 -05:00
Aaron Griffith
6f66a31738 ripped out all the rendermode option stuff, preparing to move it to python 2012-01-08 00:08:16 -05:00
Andrew Chin
25db39463f The AssetManager will now create a kinda working html output 2012-01-07 23:04:42 -05:00
Andrew Chin
cb2f0129bc Allow regionsets to be named in a settings.py file 2012-01-07 15:11:19 -05:00
Aaron Griffith
1baf506a59 renders now work with the multiprocessing dispatcher 2012-01-06 21:56:26 -05:00
Andrew Chin
d7012c265b Create the destdir, if needed 2012-01-05 00:27:22 -05:00
Andrew Chin
a098e5d01a Merge remote-tracking branch 'overviewer/rewrite' into rewrite 2012-01-02 00:03:31 -05:00
Andrew Chin
287b16fd13 Fixing some settings stuff 2012-01-02 00:03:10 -05:00
Aaron Griffith
c88bfa3adc almost-working full TileSet render 2012-01-01 23:58:18 -05:00
Andrew Chin
c2a1d8487a Start of the new rewrite code flow. TileSet still needs work 2012-01-01 16:12:10 -05:00
Andrew Chin
c17fb351f0 Removing more stuff that we will not support just yet 2012-01-01 14:31:38 -05:00
Andrew Chin
0a23187f51 Removed ConfigOptionParser usaged
Command line args are now parsed with the vanilla OptParser.  This
paves the way for a new settings.py parser
2012-01-01 14:05:51 -05:00
Andrew Chin
9b06d980af More World->RegionSet conversions. still broken 2011-12-22 00:23:20 -05:00
Andrew Chin
fbdeb90f9f overviewer.py now runs without crashing
but still is broken
2011-12-20 23:17:28 -05:00
Andrew Chin
3aa9e49631 useBiomeData is a property of worlds
Rewrite Tracking Issue: ##568
2011-12-20 00:53:43 -05:00
Andrew Brown
e5fed90d04 fixed up comments in googlemap.py, moved region.js to web_assets 2011-12-17 21:49:08 -05:00
Aaron Griffith
a690771253 --version now displays the correct (new-form) version number 2011-12-17 06:54:27 -05:00