Commit graph

10664 commits

Author SHA1 Message Date
artemp
8ebb9db431 add xml:id support ( ref #2989 ) 2015-07-27 15:55:34 -07:00
Dane Springmeyer
8efaacd923 add recent work to changelog #2991, #2985, #2983 [skip ci] 2015-07-27 15:53:09 -07:00
Dane Springmeyer
e82de0109d centralize plugin registration for unit tests 2015-07-27 15:35:00 -07:00
Dane Springmeyer
871a881634 Merge pull request #3002 from mapnik/issue-2971
Fix windows compile around glyph_info forward declare
2015-07-27 14:59:18 -07:00
Dane Springmeyer
ba8d51e029 include fixups 2015-07-27 14:57:57 -07:00
artemp
34a1d1315a clamp rx/ry to valid range (<= 0.5*width/0.5*height)
SVG spec : ".. If 'rx' is greater than half of the width of the rectangle, then the user agent must process the 'rect' element with the effective value for 'rx' as half of the width of the rectangle. If 'ry' is greater than half of the height of the rectangle, then the user agent must process the 'rect' element with the effective value for 'ry' as half of the height of the rectangle.."
2015-07-21 20:50:26 +02:00
artemp
27fb4a9e00 update tests 2015-07-20 20:36:31 +02:00
artemp
0625b90067 SVG unit test - add <line> test
(http://www.w3.org/TR/SVGTiny12/shapes.html#LineElement)
2015-07-20 17:44:47 +02:00
artemp
fb155a57cd support compilers that can't construct tuple from initializer list 2015-07-20 17:16:35 +02:00
artemp
6a2d0b9ebf started adding svg parsing tests to increase test coverage (work-in-progress) 2015-07-20 15:41:35 +02:00
artemp
9da6b9b389 format 2015-07-20 15:41:04 +02:00
artemp
f58a13825f correct std::clog message 2015-07-20 14:51:24 +02:00
artemp
faa2c19359 make visitor return status + don't mutating svg_name_ 2015-07-20 12:05:26 +02:00
artemp
9ab1935a36 add boolean flag for tracking when to re-calculate extent (ref #2985) 2015-07-17 20:17:51 +02:00
artemp
bb8b835618 calculate percentage value inside parser, reduce local vars 2015-07-17 20:00:14 +02:00
artemp
a8da31b765 make '%' sign optional ( was 0 or N) 2015-07-17 19:49:28 +02:00
artemp
c63e71acac +unit test: feature_collections with extra properties 2015-07-17 17:43:04 +02:00
Dane Springmeyer
25af931f58 don't forward declare glyph_info in text_line.hpp 2015-07-17 07:49:41 -07:00
Dane Springmeyer
bb16cf90ff make text_itemizer noncopyable 2015-07-17 07:49:16 -07:00
Dane Springmeyer
f9d65d0167 Merge branch 'master' of github.com:mapnik/mapnik into issue-2971 2015-07-17 07:23:10 -07:00
artemp
5423f4c5bf relax grammar rules to allow arbitary ordering - currently we're looking for features skipping anything else
ref: https://github.com/mapnik/mapnik/issues/2983
2015-07-17 10:59:59 +02:00
Dane Springmeyer
a43faf9017 Merge pull request #2961 from CartoDB/3.0.x.pgraster
Render NODATA as transparent and clip highbit data
2015-07-16 16:14:28 -07:00
Dane Springmeyer
461163d883 Merge pull request #2981 from mapnik/unmaintained-plugins
move occi, osm, rasterlite to non-core repo
2015-07-16 13:07:49 -07:00
Dane Springmeyer
ab7c255e8e Merge pull request #2979 from mapnik/plugin-policy
Add a plugin policy
2015-07-16 12:00:01 -07:00
Dane Springmeyer
2048be7b30 move occi, osm, rasterlite to non-core repo 84b0bfecb3 - refs #2980 2015-07-16 11:46:10 -07:00
Dane Springmeyer
cd2c76689d Add a plugin policy per #2978 2015-07-16 11:20:50 -07:00
artemp
c664394397 remove duplicate operator= 2015-07-16 12:17:21 +02:00
Dane Springmeyer
af0369d812 add no-op rendering benchmark - refs #2976 2015-07-15 12:59:54 -07:00
artemp
1733db5022 c++ - don't rely on implicit int to bool conversions 2015-07-15 17:46:27 +02:00
artemp
eded32d27d formattin 2015-07-15 11:30:05 +02:00
artemp
dfe73b7995 mapnik c++ style 2015-07-15 11:26:45 +02:00
Dane Springmeyer
0a126a3765 attemp to fix #2971 2015-07-14 22:54:32 -07:00
Dane Springmeyer
2b8abc4bfa fix #2975 - remove usage of boost/algorithm/clamp.hpp 2015-07-14 19:19:39 -07:00
Dane Springmeyer
8a9b46edfd bring in new regression tests for 6d6cb15 2015-07-14 13:34:50 -07:00
Dane Springmeyer
4cb2dcace2 add fix for skew (6d6cb15) to changelog [skip-ci] 2015-07-14 13:29:17 -07:00
artemp
6d6cb15b45 skewX/skewY - add input validation ref https://github.com/mapbox/mapbox-studio/issues/1409
* convert input angle into -90,90 range
* clamp to -89,89 range
2015-07-14 11:53:50 +02:00
artemp
c2295755f6 fix typo 2015-07-13 13:48:34 +02:00
Dane Springmeyer
15af190c77 add #2964 to changelog [skip ci] 2015-07-10 12:56:10 -07:00
Dane Springmeyer
0145476ff7 only run geojson unit test if plugin was built 2015-07-10 12:34:18 -07:00
Dane Springmeyer
b54b2753a0 fixup geojson test 2015-07-10 12:10:46 -07:00
artemp
8ab5125431 update submodules 2015-07-10 11:19:13 +02:00
artemp
16e6db3281 add initial geojson unit test 2015-07-10 11:05:48 +02:00
artemp
6325bf21cd geojson : correct parsing feature boundaries ref #2964 2015-07-10 09:45:24 +02:00
Dane Springmeyer
153051d020 add test to ensure icu/harfbuzz shapers can be compiled 2015-07-08 23:28:38 -07:00
Dane Springmeyer
a6a4f1eb2e fix compile of dormant icu_shaper 2015-07-08 23:27:41 -07:00
Dane Springmeyer
784bd8d194 use correct include type in scrptrun.hpp 2015-07-08 23:25:55 -07:00
Jiri Drbalek
293863d38a Merge pull request #2959 from mapycz/improve-visual-test-10
visual tests: report total time spent by renderers
2015-07-08 20:02:31 +02:00
Jiri Drbalek
ced3d35023 visual tests: report total time spent by renderers 2015-07-08 20:01:23 +00:00
Paul Ramsey
d144f97f4e Render NODATA as transparent and clip highbit data
ala GDAL for greyscale outputs. Addresses #2661
2015-07-08 08:29:53 -07:00
Blake Thompson
1c56214bbb update CHANGELOG for mapnik v3.0.0 release 2015-07-07 14:50:42 -05:00