0
Commit Graph

44 Commits

Author SHA1 Message Date
Ben Steadman
8bd731fde1 decode Popen stdout bytes to utf-8 2019-04-20 10:36:53 +01:00
Nicolas F
e348a548b6 Initial Python 3 port
Many things work, some don't. Notably, genPOI doesn't work, and
there's some signedness comparison stuff going on in the C extension.

This also completely drops support for Python 2, as maintaining a C
extension for both Python 2 and 3 is a pain and not worth it for the
9 months that Python 2 is still going to be supported upstream.

The documentation needs to be adjusted as well.

All of the few tests we have pass, and rendering a map works, both
with a configuration file and without. We can also use optimizeimages.

Concerns #1528.
2019-03-17 17:57:07 +01:00
Nicolas F
ec63aa55b6 util: fix code style 2019-03-07 15:49:37 +01:00
Andrew Chin
381d66f36d Try to prevent findGitHash from ever returning None
See #1093
2014-06-01 21:13:55 -04:00
Andrew Chin
a7aab9d1b2 Try to prevent findGitHash from ever returning None 2014-06-01 21:13:14 -04:00
Robin
5bc3f13b4f Exit if already running (pid file) 2013-11-26 20:38:38 +01:00
Aaron Griffith
3ef5382be8 fixed new version incantation to work on windows 2013-08-18 17:36:10 -04:00
Aaron Griffith
6ba77a029c findGitVersion() ignores non-versiony tags 2013-08-18 16:38:28 -04:00
Aaron Griffith
d09b74e6f0 use git to find current hash, should work with overviewer-as-submodule 2013-01-21 16:50:38 -05:00
Andrew Chin
34ca588ec2 Added missing import 2012-03-15 18:55:57 -04:00
Aaron Griffith
ab22724fc7 moved nice_exit() back into util.py (Issue #647) 2012-03-15 04:03:46 -04: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
Aaron Griffith
143523e1dd Merge branch 'master' into anvil
The "Anvil currently in development" message was left out of the merge.
2012-03-02 19:12:54 -05:00
Aaron Griffith
3007099c44 fixed --version on debian 2012-03-02 19:09:40 -05:00
Aaron Griffith
8b28e42c8d Merge branch 'rewrite' into anvil
Conflicts:
	overviewer_core/src/overviewer.h
	overviewer_core/tileset.py
	overviewer_core/util.py
	overviewer_core/world.py
2012-02-26 19:39:58 -05:00
Andrew Brown
19f6f136e4 Now writes images to temporary files and atomically moves in place*
* on systems with an atomic os.rename
2012-02-26 00:16:16 -05:00
Andrew Brown
2957677e32 Merge remote-tracking branch 'origin/rewrite' into anvil 2012-02-23 19:48:38 -05:00
Andrew Brown
b98dcab2d9 Merge master changes into rewrite 2012-02-23 19:42:50 -05:00
Andrew Chin
9d18b0cacd fixed --version on 64-bit windows builds 2012-02-19 21:39:03 -05:00
Andrew Brown
4c21fb2e05 modified tileset.py for the new Anvil format 2012-02-19 00:04:26 -05:00
Andrew Chin
aa34853664 Only pass to TileSet the options it required 2012-01-16 20:35:13 -05:00
Andrew Brown
f9c24df769 Merge remote-tracking branch 'origin/rewrite-rendermodes' into rewrite 2012-01-16 00:50:57 -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
Andrew Brown
3995a06c97 added TileSet tests, fixed several bugs. Still needs work. 2012-01-08 02:51:06 -05:00
Andrew Chin
4255b26fc7 Fixed some crashes in assetManager
Copy in the rest of the web assets
2012-01-07 23:56:08 -05:00
Andrew Brown
fa18b26eb5 copied DirtyTiles and Tile objects to tileset.py 2011-12-22 02:00:50 -05:00
Andrew Brown
0b56ee0e4b started writing TileSet. put convert coords in util.py 2011-12-20 01:17:35 -05:00
Aaron Griffith
a690771253 --version now displays the correct (new-form) version number 2011-12-17 06:54:27 -05:00
Andrew Brown
435c8ee1cb Merged master into brownan-chunkscan
This pulls in all the 1.9prep and textures.py updates into
brownan-chunkscan
2011-11-20 10:53:48 -05:00
Aaron Griffith
eac7561ed1 redirecting output to a log file now works on Python 2.6 (Issue #535) 2011-11-15 15:47:33 -05:00
Andrew Brown
14ed48f975 misc cleanup and minor optimizations 2011-11-08 15:31:01 -05:00
Andrew Chin
42593bab58 Use a terse logging line if --verbose is not specified 2011-11-03 21:29:27 -04:00
Andrew Chin
1b9a40e183 Removed extra newline 2011-11-01 10:29:58 -04:00
Andrew Brown
470440563c changed windows logging to be a special output stream 2011-11-01 00:11:13 -04:00
Andrew Chin
6a67841b44 Windows code for fancy colors 2011-10-31 22:38:11 -04:00
Andrew Brown
1d077fe34e better logging formatter with support for color 2011-10-31 19:01:39 -04:00
Andrew Brown
f5ae4b3451 changed bare exceptions to except Exception 2011-10-26 22:36:23 -04:00
Aaron Griffith
1f9bef14e6 --version now understands vX.X.X tags 2011-09-14 19:01:16 -04:00
Aaron Griffith
c12f95b0a1 nice version numbers, and metadata update 2011-05-13 23:39:44 -04:00
Aaron Griffith
4ec1b4c971 working versions, data files, and package metadata 2011-05-13 22:24:49 -04:00
Aaron Griffith
383b01859f Merge branch 'master' into py-package
Conflicts:
	overviewer_core/data/config.js
	overviewer_core/data/web_assets/functions.js
	overviewer_core/data/web_assets/style.css
	setup.py
	web_assets/overviewer.css
	web_assets/style.css
2011-05-10 20:19:10 -04:00
Aaron Griffith
115c36ad5e Merge branch 'dtt-c-render' into py-package
Conflicts:
	overviewer.py
2011-04-01 22:00:45 -04:00
Aaron Griffith
42596416d9 sdist and install now work
next step is using a custom data dir, and falling back on the package
data dir. Also, fixing --version.
2011-03-29 13:49:50 -04:00