Commit Graph

421 Commits

Author SHA1 Message Date
Sandro Santilli
236d64ec14 symbolizersToXML: Do not assume tagcontent has a value
Fixes #297

Includes testcase
2013-09-11 13:00:56 +02:00
Yohan Boniface
8497bd36f7 More attachment tests (cf #245) 2013-08-09 22:03:55 +02:00
Yohan Boniface
7a3b659d4e More tests for attachement (cf #245) 2013-08-09 15:39:12 +02:00
Dane Springmeyer
d1af35763a add currently failing test for #290 2013-08-07 20:46:32 -04:00
Tom MacWright
92b67a0a73 Test for #288 to keep it closed, space before zoom bug 2013-08-06 11:45:02 -04:00
Dane Springmeyer
60396cbeef add support for direct-image-filters 2013-07-24 22:03:13 -04:00
Dane Springmeyer
1d637717d5 fix typo - refs #245 2013-07-09 15:41:00 -04:00
Dane Springmeyer
45fae55ac0 add more variations (currently passing) on the issue #284 test 2013-07-09 15:33:42 -04:00
Tom MacWright
bbeff81a16 Fix byFilter regression 2013-07-09 15:00:13 -04:00
Dane Springmeyer
93264c6e41 add test for #284 - passes as 6eda91a and fails in master 2013-07-02 19:00:33 -04:00
Young Hahn
45b5c107af Merge pull request #279 from mapbox/dataonly
Allow Layer-only rendering without corresponding styles
2013-06-24 08:58:48 -07:00
Young Hahn
15ab78a3a8 Allow custom map parameters. 2013-06-14 18:25:55 -04:00
Young Hahn
bb153521e2 Allow Layer-only rendering without corresponding styles. 2013-06-14 12:21:13 -04:00
Young Hahn
ff0fc2b1c8 Revert "Dimensions." Refs #258.
This reverts commit 0f65b869fd.
2013-06-14 10:47:43 -04:00
Dane Springmeyer
cfc90da91e Add regression test for issue #247 - broken in master at 4d4abb2, works in 6eda91a 2013-05-31 17:15:45 -07:00
Tom MacWright
b113bfea99 Prevent image filter duplication. Fixes #270 2013-04-16 10:24:48 -04:00
Tom MacWright
0f65b869fd Dimensions. 2013-04-15 16:10:00 -04:00
Tom MacWright
49b2324ea1 Handle errant zoom-as-field better. Fixes #269. 2013-04-15 15:45:53 -04:00
Tom MacWright
435452ba50 Merge pull request #265 from strk/master-quote-amp
Quote ampersend chars in XML text. Closes #263.
2013-03-29 08:44:59 -07:00
Tom MacWright
5d626d3c10 Do not output references to empty styles. Fixes #244 2013-03-27 11:59:09 -04:00
Tom MacWright
49c81edd3a Tolerate single-stop colorizers. Fixes #251 2013-03-27 11:48:47 -04:00
Tom MacWright
05797dd711 Tolerate commas in values. Fixes #266 2013-03-27 11:30:51 -04:00
Sandro Santilli
d6585d3691 Quote all needed XML chars. See #263.
Includes testcase.
2013-03-27 12:36:25 +01:00
Sandro Santilli
acf94e5fab Quote ampersend chars in XML text. Closes #263.
Includes testcase.
2013-03-22 11:11:16 +01:00
Tom MacWright
60661b68c3 Add failing identity nesting case, refs #262 2013-03-17 19:31:22 -04:00
Tom MacWright
5e2ea67df9 Fix repeated comments in selectors. Fixes #260 2013-03-13 11:27:00 -04:00
Tom MacWright
26dbcf3ca3 Fix test for missing brackets 2013-03-11 16:34:43 -04:00
Tom MacWright
3382bfa29f Merge branch 'missing-bracket' 2013-03-11 16:32:48 -04:00
Dane Springmeyer
039031b68d fix failing tests in master 2013-03-01 15:22:22 -05:00
Dane Springmeyer
19bf87cf3a fix expected result so test passes because it appears #239 is not actually a regression 2013-03-01 15:14:23 -05:00
Dane Springmeyer
8efc1c5d5e output both path to json mismatches to make debugging test failures easier 2013-03-01 15:08:29 -05:00
Tom MacWright
c5a67fa938 Missing bracket. Refs #254 2013-02-25 09:17:56 -05:00
Young Hahn
be78202e0b Allow layers to be rendered without datasources. 2013-02-21 15:29:33 -05:00
Tom MacWright
0e0bac0e5c Fix fadeout 2013-02-18 17:34:49 -05:00
Dane Springmeyer
74fa914c8c updated raster colorizer support 2013-02-01 15:57:29 -05:00
Dane Springmeyer
633754306e add testcase for issue #239 2013-01-23 16:59:22 -08:00
Dane Springmeyer
3f70b8a36c avoid unneeded whitespace in style XML output 2013-01-23 16:57:27 -08:00
Tom MacWright
e2764d12f1 Add rendering tests for units 2013-01-23 16:01:03 -05:00
Stefan Klug
cf8c11f038 replace dpi by ppi 2013-01-23 10:20:04 +01:00
Stefan Klug
56ac678c0a add support for the units m, mm, cm, pt, pc
these are converted to pixels depending on env.dpi (defaulting to 90.714)

adding and subtracting percentages works also
2013-01-21 16:40:15 +01:00
Dane Springmeyer
0d686bb8d8 fixup code comments - amends 87d4f9627b 2013-01-06 11:58:14 -08:00
Dane Springmeyer
bfc9d40f43 fix testcase issue # 214 -> 204 - previously incorrectly referenced 214 - refs #214 and #204 2013-01-03 18:47:10 -08:00
Tom MacWright
87d4f9627b Rename eval to ev to fix many jshint problems and future safari problems 2013-01-03 16:19:25 -05:00
Tom MacWright
29b641c72d Detect and report basic self-conflicting filters.
This does not yet report anything for more complex cases. We were also testing for
tolerance of self-conflicting filters, which this breaks, in
partial_overrides. This patch may want to wait for warning reporting
since it may break stylesheets in the wild.
2013-01-03 15:06:07 -05:00
Tom MacWright
6f687ff9e3 Remove throws in function evaluation and handle color function arguments
correctly.
2013-01-03 13:47:51 -05:00
Tom MacWright
ece3eb3b0e Remove throw in zoom evaluation 2013-01-03 13:20:49 -05:00
Tom MacWright
c1e8c3b8f3 Support mapnik keywords in filters and error on bare keywords. Fixes 2013-01-03 10:11:30 -05:00
Tom MacWright
f87e8adc95 Unswap specificity tests: ordering is now same as master 2012-12-26 18:24:17 -05:00
Tom MacWright
3f31bcbe5f Fix absolute paths in other symbolizer types 2012-12-26 18:19:39 -05:00
Tom MacWright
6fed91d728 Update chunker, fixes #184. 2012-12-26 17:48:01 -05:00