Commit Graph

23 Commits

Author SHA1 Message Date
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
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
Dane Springmeyer
75875e2781 add tests for #214 - test 'a' currently fails for me 2012-12-18 16:12:47 -08:00
Dane Springmeyer
cd948535a5 add test for #218 2012-12-18 16:09:31 -08:00
Tom MacWright
00e797dc2d Did you mean for properties, with proper levenstein distance for
better matching. Fixes #199
2012-10-09 21:30:42 -04:00
Tom MacWright
e7658c618e Much better error reporting, did you mean 2012-10-09 09:09:17 -04:00
Tom MacWright
45657268f9 More verbose and informative error messages, especially when dealing
with keyword values. Fixes #109
2012-10-08 18:39:09 -04:00
Tom MacWright
c48a02196e Adding error tests for 119 and 124. Fixes #124 2012-05-01 15:48:01 -04:00
Tom MacWright
d17416b54f Test for 123 fix. Fixes #123 2012-05-01 15:17:46 -04:00
Dane Springmeyer
d01c45d714 carto works fine with node v6, so allow it 2012-03-07 12:42:16 -08:00
Tom MacWright
90fbe75213 Adding quick test case for not-enough-args error 2011-12-07 22:58:51 -05:00
Tom MacWright
b1da1af86c Nopound tests 2011-10-13 10:59:54 -04:00
Tom MacWright
70cc208e62 Add new tests, tree.Filter fix. 2011-09-06 11:00:14 -04:00
Young Hahn
e14d8f3720 Use Error objects. 2011-07-25 02:26:20 -04:00
Dane Springmeyer
f5fee15c91 add +wktext to all spherical mercator proj4 strings 2011-05-12 11:33:58 -07:00
Dane Springmeyer
a57b08dc95 add +over to proj4 mercator definitions - see https://github.com/mapbox/tilemill/issues/330 2011-05-10 17:05:07 -07:00
Tom MacWright
6626b3257e Catch several more classes of undefined variable errors. Fixes TM#278 2011-03-14 11:15:36 -04:00
Tom MacWright
39681dcae5 Adding invalid value test 2011-01-28 11:27:56 -05:00
Tom MacWright
4e8542ec3a Adding undefined variable test 2011-01-28 11:26:40 -05:00
Tom MacWright
1782e81407 Adding first error test, and error testing framework 2011-01-28 11:08:38 -05:00