Commit Graph
595 Commits
Author SHA1 Message Date
Aaron Griffith 24d8dc4b99 dispatcher status callback
Right now it's called every 100 work items. This number is completely
arbitrary and should probably be tuned.
2011-12-26 10:36:52 -05:00
Aaron Griffith 740f5ee628 dispatcher.finish_jobs() has been removed
the other dispatcher functions can provide the same functionality, so
removing finish_jobs() only makes the dispatcher interface slimmer.
2011-12-26 10:05:57 -05:00
Aaron Griffith e6ccd79b1b blocks with invalid or unsupported data will now still draw *something*
it looks weird to just draw nothing, especially if the block is
opaque, since you can then see through the world.

fixes issue reported in Issue #563
2011-12-24 15:42:28 -05:00
Andrew Chin c7ee75d68d Started work on a MultiWorldParser to replace ConfigOptionParser 2011-12-24 01:10:58 -05:00
Andrew Chin 579e82e2af New settings definitions and validators.
Will be used by a new settings.py parser.  In progress
2011-12-24 00:22:45 -05:00
Andrew Brown 0245ed104b more tileset code and comments on how the traversal will work 2011-12-22 05:00:16 -05:00
Andrew Brown fa18b26eb5 copied DirtyTiles and Tile objects to tileset.py 2011-12-22 02:00:50 -05:00
Andrew Brown 49a840c01b more of TileSet filled in 2011-12-22 02:00:50 -05:00
Andrew Chin 9b06d980af More World->RegionSet conversions. still broken 2011-12-22 00:23:20 -05:00
Andrew Chin ffbd019db5 Small changes to get the quadtree to use RegionSets 2011-12-21 11:51:50 -05:00
Aaron Griffith e8683fd0bc saner timeout handling on MultiprocessingDispatcher
_handle_messages() now *doesn't* block if it's being called simply to
see what jobs are done, but still blocks and times out when it's
*waiting* on jobs to be done.
2011-12-21 06:32:55 -05:00
Aaron Griffith 2863876589 moved in signals from the gist
gist: https://gist.github.com/1479733
tracker: #564
2011-12-21 06:10:34 -05:00
Aaron Griffith 2717485031 dispatcher class now supports work-item dependencies
Thanks to ion in #overviewer for a particularly slick way to implement
this without using too much memory.

tracker: Issue #564
2011-12-21 04:43:17 -05:00
Andrew Brown 1933df32d6 Added comments about rendercheck option and dependency stuff 2011-12-21 01:21:59 -05:00
Andrew Chin fbdeb90f9f overviewer.py now runs without crashing
but still is broken
2011-12-20 23:17:28 -05:00
Aaron Griffith 77ae3e2cb6 some minor changes to allow multinode (!!!) dispatching
tracker: #564
2011-12-20 06:38:37 -05:00
Aaron Griffith 192591c2b0 comments and docstrings for the multiprocessing dispatcher 2011-12-20 05:39:41 -05:00
Aaron Griffith 8db7d37164 dispatcher docstrings and first multiprocessing dispatcher
tracker: Issue #564
2011-12-20 01:36:34 -05:00
Andrew Brown 0b56ee0e4b started writing TileSet. put convert coords in util.py 2011-12-20 01:17:35 -05:00
Andrew Chin 3aa9e49631 useBiomeData is a property of worlds
Rewrite Tracking Issue: ##568
2011-12-20 00:53:43 -05:00
Andrew Chin 2e01a36686 Merge remote-tracking branch 'origin/rewrite' into rewrite 2011-12-19 23:55:45 -05:00
Andrew Chin 119b6e1b54 Removed biome handling and north-direction
We'll have to figure out how/where to put it back in

Rewrite Tracking Issue: #568
2011-12-19 23:49:26 -05:00
Aaron Griffith 0029753c36 first version of single-process dispatcher
tracker: Issue #564
2011-12-19 23:20:59 -05:00
Andrew Chin 8f69da86f4 Finished implemention of RegionSet. not yet tested
Rewrite Tracking Issue: #568
2011-12-19 23:05:29 -05:00
Andrew Chin 19782cbad0 Merge remote-tracking branch 'origin/rewrite' into rewrite 2011-12-19 22:44:12 -05:00
Andrew Chin 51babfef02 More work on RegionSet and World
Rewrite Tracking Issue: #568
2011-12-19 22:42:28 -05:00
Andrew Brown eed4110eec Added in documetation for what options are accepted 2011-12-19 22:41:57 -05:00
Andrew Brown 9163d8d0a3 skeleton outline of TileSet object and tileset.py created 2011-12-19 22:17:28 -05:00
Andrew Chin a9dafa0d05 Moved some more stuff from World to RegionSet
Also, fixed some syntax errors and other minor issues

Rewrite Tracking Issue: #568
2011-12-19 22:10:46 -05:00
Andrew Chin ad2399165a Scan the FS to find RegionSets
Rewrite Tracking Issue: #568
2011-12-19 21:25:24 -05:00
Andrew Chin d332554ec2 Initial commit of the AssetManager
Mostly a blind copy/past from world.py and googlemap.py.  Not runnable

Rewrite Tracking Issue: #565
2011-12-19 19:48:27 -05:00
Aaron Griffith 581ee0906a nbt.py now simply *reads files*, nothing more 2011-12-19 02:03:57 -05:00
Aaron Griffith debb14c48b overviewer no longer trusts ancillary data from blocks that should have none 2011-12-18 04:51:53 -05:00
Andrew Brown a078b46274 comments clarifications and whitespace adjustments 2011-12-17 21:51:32 -05:00
Andrew Brown 86c1b8ba15 dump markers json out in one shot. Added marker comments. 2011-12-17 21:51:32 -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
Aaron Griffith 6fb96ca8ab fixed crash when strftime returns non-ascii characters
also generally better unicode handling on web_assets (all files are UTF-8)
2011-12-16 19:48:46 -05:00
Johan Kiviniemi abf643e3ae Switch to autoupdated cacheTag from constant cacheMinutes 2011-12-13 19:24:41 +02:00
Andrew Chin 0aeee084d7 Merge remote-tracking branch 'overviewer/nethermode' 2011-12-12 21:46:33 -05:00
Aaron Griffith cc95799d1a renamed uppertile to compositetile (makes more sense)
This reverts commit d4c6e40d59, and
re-applies it with a renamed uppertile.
2011-12-12 15:15:36 -05:00
Andrew Brown 4b622b1333 issue #559: don't error if the map needs expanding but the tiledir was deleted
Also changed from using a join on self.destdir and self.tiledir to just
using self.full_tiledir, which is the same thing but already computed.
2011-12-11 11:27:07 -05:00
Andrew Brown d4c6e40d59 renamed innertile to uppertile (makes more sense)
also changed a few "rendertile" to "worldtile"
2011-12-10 17:44:07 -05:00
Aaron Griffith 6cbcd73532 fix yet another zero-division error :/ 2011-12-08 14:48:19 -05:00
Alex Headley 4eec8b59bd tweak title format again 2011-12-07 11:36:23 -05:00
Alex Headley 4e60e6e724 change title format a bit 2011-12-07 11:28:53 -05:00
Alex Headley 350cc70749 add proper title to generated html 2011-12-07 11:17:39 -05:00
Aaron Griffith 8b55203d41 initial version of 'nether' option for normal render modes
based on eminence's gist https://gist.github.com/92b6dac4c2ed3cdcff10
2011-12-04 10:21:48 -05:00
Andrew Brown 4edc5e48b6 Set tile mtimes to the max of the chunk mtimes on render
or in the case of inner-tiles, the max of its child tile mtimes
2011-12-03 18:05:46 -05:00
Andrew Chin 74ad1e8ea5 Another attempt at fixing up print_statusline 2011-12-03 16:31:43 -05:00