Commit graph

6251 commits

Author SHA1 Message Date
Dane Springmeyer
c92c8f1bfd define projection objects before transform to ensure they stay in scope 2013-01-27 17:27:24 -08:00
Dane Springmeyer
57c99a69a2 add tests for longlat/merc transformations 2013-01-27 17:26:54 -08:00
Dane Springmeyer
19526eb7f7 benchmark: add tests for longlat/merc transformations 2013-01-27 17:26:32 -08:00
Dane Springmeyer
430e3d3406 benchmark: number tests, allow dry-run to get test idx #, and allow passing args to only run specific tests 2013-01-27 17:25:58 -08:00
Dane Springmeyer
cb49d9be81 tests: fix more inconsistent projection strings 2013-01-25 01:36:06 -08:00
Dane Springmeyer
4543032a0d fix dynamic prefix detection on linux - closes #1701 2013-01-25 01:18:29 -08:00
Dane Springmeyer
714ecf803d tests: more fixes to make epsg:4326 proj4 string consistent 2013-01-25 01:04:51 -08:00
Dane Springmeyer
ae5f4d26d1 tests: make consistent the proj4 string for epsg:4326 2013-01-25 00:49:55 -08:00
Dane Springmeyer
b987d2287c iwyu 2013-01-25 00:45:58 -08:00
Dane Springmeyer
20718b0585 Merge branch 'master' of github.com:mapnik/mapnik 2013-01-24 22:04:25 -08:00
Dane Springmeyer
790be266f8 iwyu 2013-01-24 22:04:17 -08:00
artemp
730f07fbd6 + fix #1700 2013-01-24 17:28:32 +00:00
artemp
7c229b457d + fix formatting 2013-01-24 13:44:17 +00:00
artemp
57c8b55079 + add geometry conversions tests (clipping,smothing...) 2013-01-24 13:34:00 +00:00
artemp
225362b3f6 + fix to compile in c++11/libc++ mode (clang++ 3.3) 2013-01-24 13:32:43 +00:00
Dane Springmeyer
6f91aaa77d supress ldflags and dep-libs in mapnik-config if we are statically linking deps 2013-01-23 22:00:25 -08:00
Dane Springmeyer
98a145acd0 avoid hardcoding prefix that mapnik-config knows about and rather determine on the fly based on where it is installed (helps with package building and should be harmless otherwise) 2013-01-23 21:58:04 -08:00
Dane Springmeyer
c5837ea2b7 iwyu 2013-01-22 21:23:02 -08:00
Dane Springmeyer
3149c8db3d fixup a few includes around text formatting 2013-01-21 17:05:33 -08:00
Dane Springmeyer
ba6f3cf2ca include cleanup around symbolizer helpers 2013-01-21 14:32:28 -08:00
Dane Springmeyer
70008ca781 iwyu 2013-01-21 14:15:08 -08:00
Dane Springmeyer
d6587d791d avoid aign conversion compiler warnings 2013-01-21 14:13:24 -08:00
Dane Springmeyer
c315e192b7 avoid sign conversion compiler warnings 2013-01-21 14:12:27 -08:00
Dane Springmeyer
9f28010f53 avoid taking const& to a copy (which is what is returned from geom.envelope() currently) 2013-01-21 11:14:32 -08:00
Dane Springmeyer
8a677f9c14 tweak benchmark: add snprintf test, only measure join_all time not thread creation, and use a double test value that converts the same across karma/snprintf/ostringstream 2013-01-21 10:31:16 -08:00
Dane Springmeyer
84197b1b98 speed up snprintf double to string by removing unused code but default to using karma for now given it is more future proof - followup to #1697 2013-01-21 10:25:27 -08:00
Artem Pavlenko
27554cbef8 Merge pull request #1697 from mapnik/faster_to_string
default to fast, simple, and correct (per ostringstream) to_string conversions
2013-01-21 10:01:09 -08:00
Dane Springmeyer
ccd9acfecc default to fast, simple, and correct (per ostringstream) to_string conversions fully removing boost::lexical_cast, disabling karma, and fixing up tests 2013-01-19 10:12:32 -08:00
Dane Springmeyer
82f1a8c200 Add rebuild target to makefile 2013-01-18 19:01:12 -08:00
Dane Springmeyer
7a5e35d0fa Add double to string benchmark and rework tests to support threaded benching as well as serial 2013-01-18 19:00:57 -08:00
Dane Springmeyer
11e38b3e1c Merge branch 'master' of github.com:mapnik/mapnik 2013-01-18 15:01:09 -08:00
Dane Springmeyer
8b18f9f5d4 fixup utility to single test file but all tests within - refs #1539 2013-01-18 13:13:01 -08:00
artemp
1ef9ec2b88 + use std::deque for caching features. 2013-01-18 12:27:29 +00:00
artemp
dc19a6ab27 + use std::deque instead of std::vector and avoid
expenssive re-alloc's
2013-01-18 11:45:20 +00:00
Dane Springmeyer
1c42f48613 re-enable double conversion test and make expected value match actual which is fine because this is also the behavior of std::ostringstream (tested on OS X with clang++ 3.3) - closes #1676 2013-01-17 16:57:01 -08:00
Dane Springmeyer
e16567fecb fixup std:: prefixing of cmath functions - closes #1694 2013-01-17 13:53:48 -08:00
Dane Springmeyer
f483e590d8 remove way out of date and unmaintained demo app previously part of osm plugin code 2013-01-17 13:41:02 -08:00
Dane Springmeyer
d0b7eb401e tweak test image 2013-01-17 13:18:10 -08:00
Dane Springmeyer
769b15e42a use std::fabs for clarity - refs #1694 2013-01-17 13:13:33 -08:00
Dane Springmeyer
0ab900bc64 iwyu 2013-01-17 13:12:32 -08:00
Dane Springmeyer
d0e375b25c Merge branch 'master' of github.com:mapnik/mapnik 2013-01-17 13:02:03 -08:00
Dane Springmeyer
3ef93f8684 fix incorrect float rounding - closes #1693 - refs #1694 2013-01-17 13:00:54 -08:00
Dane Springmeyer
038159385b minor syntax cleanups to markers placement - no functional change 2013-01-17 12:45:10 -08:00
artemp
8c12d6895f + support unicode names in mapnik.Parameter
(Py_Unicode <-> utf8)
2013-01-17 15:59:42 +00:00
artemp
b8c43b5026 + update test to include unicode 2013-01-17 15:31:27 +00:00
artemp
b5f2c8f9f9 + mapnik.Parameter from Py_Unicode ctor
(stored as utf8 std::string)
2013-01-17 15:17:46 +00:00
artemp
b438eec762 + implement from std::string extractor to minimize
usage of boost::lexical_cast
2013-01-17 14:21:11 +00:00
artemp
eb8b2552ef + update xml_tree to use xml_attrinbute_cast and remove fast_cast 2013-01-16 12:42:20 +00:00
artemp
95f631f0ff + xml_attribute_cast
NOTE: will throw for types that don't have explicit specialization
      it's ok to use boost::format in err branch of code
2013-01-16 12:40:25 +00:00
artemp
1b3ef49377 + remove unnecessarily checks 2013-01-16 10:51:45 +00:00