Commit graph

11583 commits

Author SHA1 Message Date
Dane Springmeyer
c037fcba36 fix shapeindex tests - closes #3252 2016-01-25 16:57:32 -08:00
artemp
fa5bbd99fa mapnik::value - refactor, synchronise and simplify comparisons implementations 2016-01-25 12:27:52 +01:00
artemp
9774f41b85 mapnik::value_null - add <,<=,>,>= implementations 2016-01-25 12:26:57 +01:00
artemp
db9facef90 update submodules 2016-01-25 10:04:10 +01:00
Artem Pavlenko
f17b11a1e5 Merge pull request #3251 from lightmare/svg-parser-test
Fix #3249 and make parse_svg_value more strict
2016-01-25 09:58:14 +01:00
Artem Pavlenko
8f055d1252 Merge pull request #3250 from tomhughes/boost60
Adapt geometry tests got changes in boost 1.60
2016-01-25 09:55:51 +01:00
Mickey Rose
e9fbe0724f travis: fetch required git submodule pull requests 2016-01-24 18:34:28 +01:00
Mickey Rose
8d7fca3236 svg_parse_value - add 'px' unit, report trailing garbage
- avoid operator comma in semantic action, refs #3249
2016-01-23 20:44:14 +01:00
Mickey Rose
05b66fc355 refactor svg_parser_test
- moved some boilerplate to helper struct test_parser
- added REQUIRE(!parse...) to parsing error tests
- changed parsing error tests to compare full error lists instead of
  just count and then individual messages (if count was different, you
  were left in the dark with no messages at all)
- changed some double-quotes in errors to single-quotes
  (corresponding change to parser follows)
2016-01-23 20:21:05 +01:00
Tom Hughes
72297c9431 Adapt geometry tests got changes in boost 1.60
The issues with points at NaN and infinity bring considered as
valid reported in https://svn.boost.org/trac/boost/ticket/11711 has
been fixed in boost 1.60 so the tests need to reflect that.

Also per https://svn.boost.org/trac/boost/ticket/11710 empty
polygons are now considered invalid, and hence not simple.
2016-01-23 14:43:02 +00:00
Blake Thompson
5e30aee4e7 Added missing required header from unit test 2016-01-22 11:02:12 -06:00
Mickey Rose
0784e36754 add util::movable to complement util::noncopyable 2016-01-22 00:24:24 +01:00
Blake Thompson
d3d1106865 Fixed bug around set envelope in memorydatasource 2016-01-21 15:20:50 -06:00
artemp
f140cc7dd1 update submodules 2016-01-21 18:52:24 +01:00
artemp
a3ed9ad07e value test - improve coverage 2016-01-21 18:36:41 +01:00
artemp
0e836d7e20 mapnik::value - add value_bool/value_bool impl 2016-01-21 18:35:53 +01:00
artemp
85c3f5dbc1 improve type promotion across arithmetic ops 2016-01-21 18:14:55 +01:00
artemp
a707d5cd65 test svg - refactor common code into separate *.hpp 2016-01-21 18:14:17 +01:00
artemp
74776631c5 add value tests 2016-01-21 12:48:36 +01:00
artemp
e100037288 mapnik::value - improve type promotion for impl::add 2016-01-21 12:47:56 +01:00
artemp
e5db888673 remove redundant t == "png" check as it results in slower code ref #3243 2016-01-20 16:48:26 +01:00
artemp
be7a70746c image_io_test - increase coverage 2016-01-20 13:43:01 +01:00
artemp
c36ae3964a image_io_test : add basic save options tests 2016-01-20 13:39:32 +01:00
artemp
2db9818ab9 image_io_test : add 'save_to_xxx' tests 2016-01-20 12:24:08 +01:00
artemp
5471f519cd box2d - add missing tests 2016-01-19 12:15:50 +00:00
artemp
19c8b3e581 mapnik::color + increase unit test coverage (operator<<, to_string(), premultiply/demultiply) 2016-01-19 11:39:12 +00:00
artemp
f41d515572 fix operator<< 2016-01-19 11:38:52 +00:00
bergwerkgis
acdfde2062 AppVeyor: do a real clone (instead of 'zip-clone') but limit to latest 5 commits 2016-01-18 11:30:42 +00:00
bergwerkgis
58c0f29355 AppVeyor: 'git submodule update --init deps/mapbox/variant' 2016-01-18 10:52:02 +00:00
Dane Springmeyer
ca310c5439 Merge pull request #3237 from mapnik/geojson-props
Test for geojson with multiple different properties across features
2016-01-15 11:41:21 -08:00
mapsam
7a98745883 adding new passing test that catches failure of feature collection properties 2016-01-15 08:37:30 -08:00
artemp
1bfabec6be parse_svg_value - add DPI template parameter (default 90) (#3233) 2016-01-15 09:38:46 +00:00
artemp
c615708a2a restore local variant_io.hpp with specialisation for bool (https://github.com/mapnik/node-mapnik/issues/582) 2016-01-15 09:26:42 +00:00
Dane Springmeyer
5a6de7627b improve formatting of INFO output [skip ci] 2016-01-14 16:10:10 -08:00
Dane Springmeyer
bba2826813 make available test functions as macros to allow catch to report correct line numbers 2016-01-14 16:06:20 -08:00
Dane Springmeyer
6ad373019d revert unintended change added in 9c4085c8b1 2016-01-14 15:26:15 -08:00
Dane Springmeyer
03285f60b0 install mapbox variant - followup to #3236 2016-01-14 14:09:32 -08:00
Dane Springmeyer
9c4085c8b1 Adapt install docs to needing submodule before building #3236 2016-01-14 11:00:38 -08:00
Artem Pavlenko
c82b5c50c6 Merge pull request #3234 from mapnik/svg-tests
More SVG visual tests (testing tuesday 01/12/2016)
2016-01-14 16:19:55 +00:00
Artem Pavlenko
7997f3725e Merge pull request #3235 from mapnik/raster_mem_ds
Raster Type Memory Datasource
2016-01-14 16:19:43 +00:00
Artem Pavlenko
711d9eb679 Merge pull request #3236 from mapnik/external-variant
inherit mapnik::util::variant from mapbox::variant and add mapbox::va…
2016-01-14 16:19:20 +00:00
artemp
3333f3e1fa inherit mapnik::util::variant from mapbox::variant and add mapbox::variant as submodule 2016-01-14 15:02:41 +00:00
Blake Thompson
044c21db13 Made it possible to change the type of a memory datasource by inspecting the features that are added to the memory datasource 2016-01-14 08:36:12 -06:00
artemp
cc635df7bc svg_parser - use parse_svg_value 2016-01-14 11:03:55 +00:00
artemp
8ab10d0231 update test 2016-01-14 10:56:05 +00:00
artemp
48c043ec42 implement "parse_svg_value" supporting SVG units (https://www.w3.org/TR/SVG/coords.html#Units) (#3233) 2016-01-14 10:54:33 +00:00
artemp
1dff67e1fe fix namespace qualifiers 2016-01-14 10:24:40 +00:00
jakepruitt
ebc0f2eb8b Removed random tests from reference images 2016-01-13 15:37:56 -07:00
jakepruitt
de9023f5e0 Add circle tests 2016-01-13 15:20:01 -07:00
mapsam
3b79892ae5 svg test for multiple command parts, #3229 & #3225 2016-01-12 15:28:40 -08:00