0
Commit Graph

13 Commits

Author SHA1 Message Date
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
94aa49019c logger: code style fixes 2019-03-07 15:33:28 +01:00
Nicolas F
3551518bbd logger: reduce pillow verbosity
With newer pillow versions, pillow would create debug log lines for
every single PNG images it touches, so that spams the log in
Overviewer's verbose mode quite a bit.
2017-03-16 17:03:06 +01:00
Aaron Griffith
df732bfa25 Revert "Merge remote-tracking branch 'exhuma/master', PR #963"
This reverts commit e26727943f, reversing
changes made to 7bbb077704.
2013-12-02 07:40:00 -05:00
Michel Albert
d4f19bda76 Fixed a crash when redirecting stdout. 2013-08-05 18:06:58 +02:00
Michel Albert
e473314b4d Fixed log format reconfiguration regression.
Commit c991135 introduced a regression where it was no longer possible
to re-configure the loggers once they had been set up. This is now
fixed.
2013-08-03 20:43:55 +02:00
Michel Albert
8e29ca7875 Removed second logger.
The root logger for "overviewer" is now named "`overviewer_core`".
2013-07-31 20:24:45 +02:00
Michel Albert
108d488f4b docstring for InverseLevelFilter added. 2013-07-28 15:08:34 +02:00
Michel Albert
4112b5a72e Using a dedicated logger inside overviewer_core. 2013-07-28 15:04:51 +02:00
Michel Albert
c991135e40 Log messages routed to stdout/stderr as appropriate.
This also uses a dedicated logger instead of passing everything to the
root logger. `overviewer_core` still needs to be updated to reflect
this.

Additionally, `logger.configure` has been simplified.
2013-07-28 14:50:01 +02:00
Andrew Chin
cb448cc58f Added a --simple-output option
This option turns off fancy output options like colors or progress bars.

Address #649
2012-04-07 21:16:58 -04:00
Andrew Chin
d6602caa04 Output to stdout instead of stderr
Fixes #645
2012-04-07 20:19:24 -04: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