Commit graph

93 commits

Author SHA1 Message Date
artemp
58927b404c c++11
+ replace BOOST_FOREACH with for( : )
+ remove boost/foreach.hpp
+ fix benchmarks (17,18)
2013-04-24 16:40:35 +01:00
Dane Springmeyer
401ca20b32 Merge branch 'master' of github.com:mapnik/mapnik into image-readers-c++11 2013-04-19 11:18:07 -07:00
Dane Springmeyer
1ae236c176 scons: disable special handling of agg test, uneeded except for specific dev 2013-04-19 11:17:43 -07:00
artemp
c73e48fa58 + use std::unique_ptr instead of std::auto_ptr (deprecated!) 2013-04-19 09:50:50 +01:00
artemp
22a1df8388 Merge branch 'master' into image-readers-c++11
Conflicts:
	include/mapnik/factory.hpp
2013-04-18 09:48:31 +01:00
Sandro Santilli
0ecf7e5728 Add a couple more float to string conversion tests
See #1811
2013-04-17 11:00:27 +02:00
artemp
b9e66c82de + update image_io test to support WEBP 2013-04-16 11:36:23 +01:00
kunitoki
e919e96484 - added testcase for wkb format parser (still to be extended). complement of 4d85cd2c43 2013-04-09 08:38:48 +02:00
Dane Springmeyer
8814994dc4 add test using invalid png which leaks fd when it throws - refs #1783 2013-04-07 23:43:34 -07:00
Dane Springmeyer
b0d3132208 add image io tests for proper error behavior on invalid images - refs #1775 2013-03-25 18:27:41 -07:00
Dane Springmeyer
cc776d9553 update expected test images after fix landed for #1769 2013-03-22 18:12:19 -07:00
Dane Springmeyer
25591cfcbf replace one more cairo/halo image 2013-03-19 14:24:05 -07:00
artemp
bdf3c59a2c + disable failing clipping tests pending different impl 2013-03-15 12:51:31 +00:00
Dane Springmeyer
11e825a045 formatting 2013-03-14 18:33:59 -07:00
Dane Springmeyer
e2c7283522 Added new mapnik-config options: git-describe, defines, includes, dep-includes, and cxxflags - closes #1443 2013-03-13 19:49:59 -07:00
Dane Springmeyer
5e1f81d954 clipping test - we do not expect a close path if using line clipper 2013-03-13 15:26:54 -07:00
Dane Springmeyer
96c65979a1 first pass at a lower level set of clipping tests that avoid complexity of wkt and vertex converters - refs #1699 2013-03-07 13:31:32 -08:00
Dane Springmeyer
0aa81e75a7 add missing test file 2013-02-28 12:19:09 -05:00
Dane Springmeyer
00c2ff999d fix all double to_string conversion failures by using sprintf method in all cases - closes #1741 2013-02-27 10:08:55 -05:00
Dane Springmeyer
ef021e84ad comment out non-critical failing karma conversion to_string tests, leaving just single important failure - refs #1741 2013-02-27 09:40:16 -05:00
Dane Springmeyer
4d82a97814 implement support in cairo and grid renderer for mapnik::request - refs #1737 2013-02-26 15:05:44 -05:00
Dane Springmeyer
575164afb7 enable cairo in the cpp tests 2013-02-26 15:00:04 -05:00
Dane Springmeyer
00a2f54346 further refine the mapnik::request object which can be passed to custom agg_renderer 2013-02-25 19:33:08 -05:00
Dane Springmeyer
a8599d7c61 remove uneeded default args to projection ctor (also fixes msvc linking) 2013-02-20 10:47:55 -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
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
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
bbcd53c6f4 refactor headers involving variant attempting to move as much variant usage out of hpp files to speed up compiles 2013-01-12 21:00:45 -08:00
Dane Springmeyer
9db18a6ffa remove uneeded includes 2013-01-11 11:11:34 -08:00
Dane Springmeyer
24cb20051e iwyu 2013-01-04 00:06:05 -08:00
Dane Springmeyer
fb5b6e5a7c fix -Wshadow warning 2013-01-03 18:03:26 -08:00
Dane Springmeyer
ec47745abf fix failing exceptions test which needed a symbolizer added after #1670 and 0d8f415070 2013-01-03 16:25:14 -08:00
Dane Springmeyer
0aa2c491ed comment failing to_string precision test - refs #1676 2013-01-02 18:09:15 -08:00
artemp
b75b54a787 + fix bigint support
+ fixup cpp tests
2012-12-18 20:34:27 +00:00
artemp
8f9ebe8452 + remove LL 2012-12-18 18:05:17 +00:00
artemp
a38b252ccd Merge branch 'master' into bigint
Conflicts:
	plugins/input/geojson/geojson_datasource.cpp
	plugins/input/postgis/postgis_featureset.cpp
2012-12-18 13:57:39 +00:00
Sandro Santilli
e8b7b82bbb Implement scientific notation for double-to-string
Also fixes tests for 1e5 expecting fixed precision rather than
scientific notation (stringstream gives scientific notation indeed)

The only still failing test now is the one having less than 16
significant digits of precision, due to the boost bug:
https://svn.boost.org/trac/boost/ticket/7785
2012-12-17 19:29:44 +01:00
Dane Springmeyer
4040eebf10 catch c++ abort 2012-12-14 13:52:39 -08:00
artemp
9453d93f15 + update conversion tests to have 0.0 and negative numbers 2012-12-14 19:22:04 +00:00
artemp
c4bae9d30a Merge branch 'master' into bigint
Conflicts:
	bindings/python/mapnik_feature.cpp
	plugins/input/shape/dbfile.cpp
2012-12-14 10:01:21 +00:00
Artem Pavlenko
e60a3f7703 Merge pull request #1632 from strk/master-float-labels
Fix float data conversion to string
2012-12-12 06:21:17 -08:00
Sandro Santilli
9416a57b85 Add test for backward compatibility of double to string conversion
The testcase is ready to host more conversion tests but is currently
really only targetting the double-to-string.

refs #430, #1632
2012-12-11 10:47:01 +01:00
Dane Springmeyer
348eed125e try/catch in case font_registration test cannot run 2012-12-06 15:15:21 -08:00
artemp
855aea95e0 + mapnik::value and mapnik::parameters - initial support for 64-bit integers 2012-12-03 13:12:09 +00:00
Dane Springmeyer
f39c3ad857 add marker-multi-policy parameter to support user-configurable rendering behavior for multi-geometries when using either point or interior placement - closes #1573, refs #1555 2012-11-20 17:58:39 -08:00
Dane Springmeyer
5ef08b557b fix namespace usage 2012-10-30 19:21:34 -07:00
Dane Springmeyer
858252323c only link to agg if needed 2012-10-10 10:23:04 -07:00
Dane Springmeyer
e0bcf44874 Add c++ fontset test 2012-10-04 16:35:46 -07:00