Commit graph

4537 commits

Author SHA1 Message Date
kunitoki
74342e3083 - no need to #ifdef all the time: the compiler should optimize out the log calls when no MAPNIK_LOG is defined
- initially got rid of those ifdefs in plugins only
2012-04-09 12:05:49 +02:00
kunitoki
2df8e99af2 Merge branch 'master' of github.com:mapnik/mapnik 2012-04-09 03:03:31 +02:00
kunitoki
8c58a9aa73 - improved again the logging facilities
- aligned the plugins to using the new methods with severity
- implemented per object severity, with fallback to global (with global functions to set them programmatically)
- initial check in of logger python bindings (todo)
2012-04-09 03:00:51 +02:00
Dane Springmeyer
55ea1e4621 get stats output working on windows 2012-04-08 10:52:48 -07:00
Dane Springmeyer
65c3e9021c fix compile error if MAPNIK_LOG is not defined - refs #937 2012-04-07 20:15:48 -07:00
kunitoki
50de846082 - fixed a compilation error when no logging is defined 2012-04-08 04:09:48 +02:00
kunitoki
7b59fec405 Merge branch 'master' of github.com:mapnik/mapnik 2012-04-08 04:01:34 +02:00
kunitoki
4ef7343416 - added severity to logger (global variable for now)
- added a logger class for each severity level
2012-04-08 03:59:47 +02:00
kunitoki
09f3728db0 - fix a warning 2012-04-08 03:56:32 +02:00
Dane Springmeyer
31303ff341 shape plugin: only add feature value if parsing is successful 2012-04-07 17:56:58 -07:00
Dane Springmeyer
0015a68e19 throw during zoom_all if a proj_init error is encountered 2012-04-07 17:56:18 -07:00
Dane Springmeyer
566ae578bb scons: do not use -rdynamic flag on os x 2012-04-07 17:55:41 -07:00
kunitoki
af201551b8 got rid of old CVS $Id comments kludge in files 2012-04-08 02:45:01 +02:00
Lucio Asnaghi
e360a34602 Merge pull request #1169 from mapnik/new-debug
implement new debug system
2012-04-07 17:20:58 -07:00
kunitoki
1f351e0e09 implement new debug system 2012-04-08 02:20:56 +02:00
Dane Springmeyer
19f5f77417 reuse path_expression_grammar - finishes and closes #1028 2012-04-06 16:50:11 -07:00
Dane Springmeyer
b21d8a9957 avoid copy 2012-04-06 14:29:13 -07:00
Dane Springmeyer
215f7a911c remove lexical cast from value_type conversions - refs #1055 2012-04-06 14:20:32 -07:00
Dane Springmeyer
8220acce82 more params tests 2012-04-06 14:20:04 -07:00
Dane Springmeyer
98e470903c less lexical cast - refs #1055 2012-04-06 13:39:13 -07:00
Dane Springmeyer
e57eb47ba0 cast to const char 2012-04-06 13:05:59 -07:00
Dane Springmeyer
ab776edbf5 reduce string copying slightly in populate_tree - refs #1055 2012-04-06 12:58:08 -07:00
Dane Springmeyer
cb048b92d4 formatting 2012-04-06 12:29:51 -07:00
Dane Springmeyer
43d646c759 formatting 2012-04-06 11:42:36 -07:00
Dane Springmeyer
36516c00e2 Merge branch 'master' of https://github.com/mapnik/mapnik 2012-04-05 16:59:52 -07:00
Dane Springmeyer
7b84a2ce94 fix linking of postgis.input by using MAPNIK_DECL and ensuring the header is included in src/conversions.cpp - closes #1127 2012-04-05 16:59:36 -07:00
Dane Springmeyer
f90a07eb94 add explicit include for MAPNIK_DECL 2012-04-05 14:41:52 -07:00
Dane Springmeyer
b7f714f7ec postgis: primary key autodetection will now only happen if 'autodetect_key_field' is set to true - maintains current behavior - refs #804 2012-04-05 11:05:14 -07:00
Dane Springmeyer
17e2b83117 run valgrind over all C++ tests but only output 'definitely lost' values 2012-04-05 08:48:46 -07:00
Dane Springmeyer
8e708c89fd run all cpp tests available 2012-04-05 08:41:01 -07:00
Dane Springmeyer
9c3d3ab285 more concise output from c++ tests 2012-04-05 08:35:28 -07:00
Dane Springmeyer
977f78a237 ignore the c++ test programs 2012-04-04 15:21:16 -07:00
Dane Springmeyer
9084ea600b ignore the tif output 2012-04-04 15:20:48 -07:00
Dane Springmeyer
ba4d815972 compile the c++ demo by default 2012-04-04 15:20:18 -07:00
Dane Springmeyer
a50ea0750e compile c++ tests even if only installing and hook them all up automatically to make test target 2012-04-04 15:19:37 -07:00
Dane Springmeyer
3e3bdf6607 compile rundemo even during install 2012-04-04 15:18:28 -07:00
Dane Springmeyer
b5af9e3639 use default env compiler 2012-04-04 15:17:52 -07:00
Dane Springmeyer
d6c4e7f7fc fix encoding of rundemo.cpp (windows1 -> utf8) and correctly declare the encoding of the boundaries shapefile (fixing white background to be green) 2012-04-04 15:17:37 -07:00
Dane Springmeyer
0e64cc157e tests: allow the visual tests to be run in quiet mode 2012-04-04 14:54:07 -07:00
Dane Springmeyer
bd7b07d3f9 add missing test files 2012-04-04 14:37:27 -07:00
Dane Springmeyer
4dbadaa7cd ensure proper reprojection of unbuffered bbox used for geometry clipping - closes #1138 2012-04-04 12:43:32 -07:00
Dane Springmeyer
d29ae14104 make it possible to set the map.maximum_extent back to None/uninitialized from python 2012-04-04 12:07:15 -07:00
Dane Springmeyer
d3cc8f9294 update changelog with cairo markers work 2012-04-04 11:47:20 -07:00
Dane Springmeyer
8c41bdc040 remove unused variables 2012-04-04 10:30:37 -07:00
Dane Springmeyer
40e8ceca55 add missing set_color_to_alpha impl - TODO - add advanced algo that supports tolerance - refs #1018 2012-04-03 16:49:05 -07:00
Dane Springmeyer
c88fcc8f04 revert unintended change to sqlite in a7e150a593 2012-04-03 16:33:06 -07:00
Dane Springmeyer
46b16c917e support nodata for paletted images and allow user to set nodata on-the-fly - closes #1160 and #1161 - refs #688 and refs #730 and refs #50 and refs #1018 2012-04-03 16:06:36 -07:00
Dane Springmeyer
a7e150a593 tests: add simple tests for postgis 'bbox' token replacement 2012-04-02 19:29:06 -07:00
Dane Springmeyer
d9cb76f7a1 postgis: support mixed case table names - closes #1159 2012-04-02 19:21:14 -07:00
Dane Springmeyer
253a1e4b4b occi: fix invalid concatenation uncovered by latest clang++ 2012-04-02 19:20:09 -07:00