Commit graph

11672 commits

Author SHA1 Message Date
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
9831e9eb87 Merge branch 'master' into spirit-x3 2016-01-25 10:29:38 +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
artemp
a3c4bffd2a add missing space character 2016-01-22 17:17:18 +01:00
artemp
57a4040caf Merge remote-tracking branch 'origin/spirit-x3' into spirit-x3 2016-01-22 16:53:37 +01:00
artemp
049382a961 Merge remote-tracking branch 'origin' into spirit-x3 2016-01-22 16:52:15 +01:00
Mickey Rose
0784e36754 add util::movable to complement util::noncopyable 2016-01-22 00:24:24 +01:00
Dane Springmeyer
e52feaa44d use clang-3.6 to dodge compile error around std::function - refs https://github.com/mapnik/mapnik/issues/3179#issuecomment-173743954 2016-01-21 15:09:33 -08:00
Dane Springmeyer
68a2ead2fd -Wc++14-extensions for only clang++ 2016-01-21 14:15:22 -08:00
Dane Springmeyer
136e62333e add -Wc++14-extensions 2016-01-21 14:14:11 -08:00
Dane Springmeyer
e14fa647a1 fix yet more -Wshadow warnings 2016-01-21 14:13:55 -08:00
Dane Springmeyer
9b5f948c7f more g++ warning fixes 2016-01-21 13:56:29 -08:00
Dane Springmeyer
a9d58ee894 more warning fixes for g++-4.9 2016-01-21 13:39:30 -08:00
Blake Thompson
d3d1106865 Fixed bug around set envelope in memorydatasource 2016-01-21 15:20:50 -06:00
Dane Springmeyer
353d082a61 Merge branch 'master' of github.com:mapnik/mapnik into spirit-x3 2016-01-21 10:48:33 -08:00
artemp
f140cc7dd1 update submodules 2016-01-21 18:52:24 +01:00
artemp
165e05b453 Merge branch 'master' into spirit-x3 2016-01-21 18:42:18 +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
68ab306708 Merge branch 'master' into spirit-x3 2016-01-21 10:51:59 +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
49f5606a67 Revert "expression_test - attempt to fix nested function calls"
This reverts commit faaa841272.
2016-01-20 14:03:00 +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
faaa841272 expression_test - attempt to fix nested function calls 2016-01-20 13:08:08 +01:00
artemp
aa0180b4e8 Merge branch 'master' into spirit-x3 2016-01-20 12:29:54 +01:00
artemp
2db9818ab9 image_io_test : add 'save_to_xxx' tests 2016-01-20 12:24:08 +01:00
artemp
d08b3d106b c++11 - use std::abs (http://en.cppreference.com/w/cpp/numeric/math/fabs) 2016-01-20 11:21:04 +01:00
Dane Springmeyer
e874f9237b silence more gcc shadow/unused warnings 2016-01-19 18:06:11 -08:00
Dane Springmeyer
493e49257f easy_install does not respect PYTHONUSERBASE 2016-01-19 17:33:34 -08:00
Dane Springmeyer
368ed8b8df another attemp to fix pip install on os x 2016-01-19 17:27:22 -08:00
Dane Springmeyer
2ccda70f76 another attemp to fix pip install on os x 2016-01-19 17:27:15 -08:00
Dane Springmeyer
d6f26742dc install pip if not available, skip CPP tests when mason publishing to save time 2016-01-19 16:53:38 -08:00
Dane Springmeyer
85aae33925 avoid warnings in expression_grammar_x3_config.hpp 2016-01-19 13:00:42 -08:00
Dane Springmeyer
4432e93250 Merge branch 'master' of github.com:mapnik/mapnik into spirit-x3 2016-01-19 12:25:36 -08: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