Commit graph

10507 commits

Author SHA1 Message Date
Dane Springmeyer
53be585240 iwyu in view_strategy.hpp 2015-05-14 17:59:40 -07:00
artemp
6ed878955a cleanup 2015-05-14 15:39:11 +01:00
artemp
75a77882e8 image_options - add key0=value0:key1:key2=value2 parser
remove tokenizer usage from image_util_png
2015-05-14 15:37:21 +01:00
Jiri Drbalek
a2d7ba4665 update visual tests 2015-05-14 16:18:15 +00:00
Jiri Drbalek
7a0f38c8f2 update visual tests 2015-05-14 15:50:26 +00:00
Artem Pavlenko
86a603ac8d Merge pull request #2810 from mapycz/improve-visual-test-2
handle styles with missing reference images
2015-05-14 14:11:09 +01:00
Artem Pavlenko
2a8086fbcc Merge pull request #2788 from mapycz/fix-labeling-on-polygons
fix labeling on polygons
2015-05-14 14:10:02 +01:00
Jiri Drbalek
78ce66aee0 remove useless log 2015-05-14 12:25:53 +00:00
artemp
881dba4fc9 fix camel case 2015-05-14 12:53:21 +01:00
artemp
ee414c4796 partially revive numeric_cast<> 2015-05-14 12:40:00 +01:00
Jiri Drbalek
87d4990f9a handle styles with missing reference images 2015-05-14 11:36:08 +00:00
Jiri Drbalek
a8e3174817 text on polygon: fix missing closing segment 2015-05-14 11:26:01 +00:00
Jiri Drbalek
527cbe7897 fix labeling on polygons 2015-05-14 11:26:01 +00:00
artemp
5126491705 fix unit test 2015-05-14 12:08:14 +01:00
artemp
5b865d1f2e more constness 2015-05-14 12:07:34 +01:00
artemp
3b3ca55042 remove numeric_cast + more constness correctness 2015-05-14 11:17:53 +01:00
artemp
e20ae67110 apply constness 2015-05-14 10:47:06 +01:00
artemp
78c56968c1 add clamp(v, min, max) function + clamp opacity in ctor 2015-05-14 10:43:25 +01:00
Blake Thompson
d1616737f2 Removed the mapnik type of 'byte' because it seemed sparsely used and simply providing data type should be easier as it is never going to change. Also added some tests around mapnik palette 2015-05-13 19:32:54 -05:00
Blake Thompson
f3abe7fc25 Added test coverage to image buffer 2015-05-13 16:50:31 -05:00
Blake Thompson
86b65146a7 Added more tests around image_any 2015-05-13 16:50:31 -05:00
Blake Thompson
deba4c114a Added test coverage for image_any 2015-05-13 16:50:31 -05:00
Blake Thompson
cebbca16d4 Improved test coverage for image and image view 2015-05-13 16:50:31 -05:00
Blake Thompson
f2b26f5707 Initial commit for image unit test 2015-05-13 16:50:31 -05:00
Blake Thompson
c3dfda4977 Merge pull request #2808 from mapnik/bugfix/strategy_rounding
Bugfix/strategy rounding
2015-05-13 13:45:26 -05:00
Blake Thompson
d904f06b10 Merge pull request #2805 from mapycz/improve-visual-test
visual tests: use boost::filesystem::unique_path() instead of boost::uuids::uuid
2015-05-13 13:45:02 -05:00
Blake Thompson
f9acd07aaf Merge pull request #2807 from mapnik/drop-big-endian
Drop obsolete and unsupported big endian support
2015-05-13 13:43:09 -05:00
artemp
3e16c4b8f2 remove unused vars 2015-05-13 15:15:52 +01:00
artemp
ba117c6384 update SVG path generator to avoid using boost::phoenix::if_() which doesn't work with boost 1.58 2015-05-13 11:33:09 +01:00
artemp
270679bc20 style 2015-05-13 11:32:34 +01:00
Blake Thompson
166e606b71 Better tests to fully cover all cases 2015-05-12 15:01:17 -05:00
Blake Thompson
39428585f0 Added the rounding_cast utility, and added a scale_rounding_strategy to support this new casting type. Added tests for it 2015-05-12 14:36:29 -05:00
Blake Thompson
1dddfd17ef Removed try catch around set_alpha, and just checked bounds. Added unit tests for image_view 2015-05-12 12:24:14 -05:00
Dane Springmeyer
613766b104 drop obsolete and unsupported big endian support - refs #2806 2015-05-12 10:19:37 -07:00
Jiri Drbalek
7ca96eb824 visual tests: use boost::filesystem::unique_path() instead of boost::uuids::uuid 2015-05-12 12:52:02 +00:00
artemp
73dbec32fa Merge branch 'fix-topojson' 2015-05-12 10:19:47 +02:00
artemp
a9ae6c111c Merge branch 'master' into fix-topojson 2015-05-12 09:42:29 +02:00
Dane Springmeyer
d0abe672fc support older boost in visual tests - closes #2801 2015-05-11 21:23:39 -07:00
Dane Springmeyer
2d2f63f27f visual tests: show errors when hit both in console and in html report 2015-05-11 19:49:38 -07:00
Dane Springmeyer
b9d39a2883 avoid crash on uninitialized pointer [skip ci] 2015-05-11 19:22:44 -07:00
Dane Springmeyer
175e9f1571 fix spelling [skip ci] 2015-05-11 19:07:33 -07:00
Dane Springmeyer
a79b33236a fix spelling [skip ci] 2015-05-11 19:04:23 -07:00
Dane Springmeyer
706be7397f Merge branch 'master' of github.com:mapnik/mapnik 2015-05-11 17:49:42 -07:00
Dane Springmeyer
d57f1cbb71 display deprecated value in enumeration warning [skip ci] 2015-05-11 17:49:35 -07:00
Dane Springmeyer
41ad16f4d7 hello world plugin is now standalone at https://github.com/mapnik/hello-world-input-plugin - refs #2790 2015-05-11 17:07:33 -07:00
Dane Springmeyer
493e1d8362 fix #2743 [skip ci] 2015-05-11 16:59:00 -07:00
Dane Springmeyer
c2e2c96dde #2789 is landed, update the contributing docs around adding more visual tests [skip ci] 2015-05-11 16:52:08 -07:00
Dane Springmeyer
834ae832be tuple adapter is needed in the end 2015-05-11 16:52:08 -07:00
Dane Springmeyer
14c73304de iwyu 2015-05-11 16:52:08 -07:00
Dane Springmeyer
46246fdbf6 ensure topojson plugin id starts at 1 for consistency #753 2015-05-11 16:52:07 -07:00