Commit Graph

332 Commits

Author SHA1 Message Date
Sandro Santilli
fa994557e8 Fix escaping of single quote. Closes #307, updates tests. 2013-10-03 13:46:27 +02:00
Tom MacWright
761b05b599 Correctly deal with invalid content in non-selfclosing tags. Fixes #297 2013-09-11 17:28:24 +02:00
Dane Springmeyer
dc798c0e07 Merge branch 'master' of github.com:mapbox/carto 2012-10-24 13:06:02 -07:00
Dane Springmeyer
410f47b5ce report correct, current carto version via package.json - closes #205 2012-10-24 13:04:25 -07:00
Tom MacWright
8fc2c06b45 Evaluate calls before keywords. Fixes #203 2012-10-21 17:57:45 -04:00
Tom MacWright
f9fcffeeba Fix nested class behavior. This changes the output of complex_cascades
and changes current behavior, but to the best of my sleep-deprived
cognition I think we were testing for incorrect behavior.
2012-10-15 10:16:27 -07: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
1d9b5d93ca Permit keywords as strings. Fixes #193 2012-10-08 18:28:27 -04:00
Tom MacWright
4b7fc5fb57 Fix concatenation of strings with variables and other strings 2012-10-08 18:12:54 -04:00
Tom MacWright
3d216f6295 Test for #192 to keep it closed 2012-09-29 16:54:10 -04:00
Tom MacWright
101026fe3c Fix parsing of selectors with comments between elements.
This brings over cloudhead/less.js@3331637913 and fixes #179
2012-09-21 14:52:47 -04:00
Tom MacWright
912988e174 Fix parsing of whitespace in calls.
This brings over cloudmade/less.js@333d1def4 to permit whitespace in
front of arguments of function calls, and tweaks the related test to
make sure it stays that way. This fixes #154
2012-09-21 14:27:19 -04:00
Tom MacWright
033a5cd5a5 Add missing MML file for transforms test 2012-09-21 14:20:21 -04:00
Dane Springmeyer
6a794cd610 add raster-mesh-size test and bump to 0.9.2 2012-09-06 22:33:27 -07:00
Dane Springmeyer
63152ef4e3 fix tests 2012-09-06 22:31:31 -07:00
Tom MacWright
829fe84baf Add unsigned support and test code 2012-09-04 12:57:25 -04:00
Dane Springmeyer
874f51870a adapt to Mapnik 2.1 syntax for new features that are settling out - specifically now using commas to separate chained transforms or image-filters and using () in agg-stack-blur image filter - refs #171 and #140 2012-08-14 13:26:33 -07:00
Dane Springmeyer
53e7ece4cc finish update to use mapnik-reference 0.4.0 2012-08-01 18:16:48 -07:00
Dane Springmeyer
3710517fdc bump to 0.9.0 with breaking rename changes in experimental features via mapnik-reference 2012-08-01 17:55:56 -07:00
Tom MacWright
05718df884 Push to 0.8.0, push mapnik-reference dependency to 3.0.0. Changes are
detailed in the CHANGELOG and are extensive; this is
backwards-compatible and introduces new field and functions types
in reference.json which allow more powerful use of transforms,
image filters, and expressions in Mapnik
2012-06-28 14:17:17 -04:00
Tom MacWright
255b0219b6 Merge 2012-06-28 13:58:04 -04:00
Tom MacWright
d57006dd97 Add advanced field test, fixes for combining fields with colors that otherwise go back to mapnik 2012-06-27 14:58:56 -04:00
Tom MacWright
651a650f2e Simplify quoted implementation, move field logic up to
operate level, add Literal, add tests for transforms with fields.
2012-06-26 17:54:01 -04:00
Tom MacWright
a66fa6c462 Fix quoting situation around fields 2012-06-26 17:03:34 -04:00
Tom MacWright
672a271cbe Change field result, fix building height result. 2012-06-26 14:41:13 -04:00
Tom MacWright
d7e6cdf082 Improve operating with mapnik field types 2012-06-26 12:57:10 -04:00
Tom MacWright
bdfcd7aa6d Note some new features in the changelog, add modulus operation 2012-06-26 12:37:05 -04:00
Tom MacWright
28ab872e72 Support operations between strings and fields, support concatenating
strings.
2012-06-26 12:14:13 -04:00
Tom MacWright
ea89af6ae2 Add field type, parsing, and failing test. 2012-06-22 18:35:00 -04:00
Tom MacWright
265554813b Update results for temporary image-transform renaming, update
reference to mapnik-reference to point to the transforms branch,
prep a changelog message
2012-06-22 18:06:15 -04:00
Tom MacWright
a941bda795 Add backwards compatibility for transforms tests 2012-06-22 12:38:20 -04:00
Tom MacWright
e27ce12ea0 Support variables and expressions as the arguments to functions. 2012-06-22 12:32:36 -04:00
Tom MacWright
42784dcca2 Revert last, still in transforms branch 2012-06-20 19:04:18 -04:00
Tom MacWright
5ff9051104 Support named transforms in Carto with variable interpolation. Removes
Anonymous type.
2012-06-20 17:34:27 -04:00
Tom MacWright
4c3aa03012 Version 0.7.0: adds style level opacity support. Fixes #146. 2012-06-19 17:33:42 -04:00
Tom MacWright
c7a3ded1a2 Version 0.6.0, push mapnik-reference dep 2012-06-19 16:11:45 -04:00
Tom MacWright
b839983a9f Bump mapnik-reference dependency, add result for image_filters operation 2012-06-18 16:28:51 -04:00
Tom MacWright
40b032c9bb Remove reference.json in favor of adding a mapnik-reference
dependency which will update easily from the other repository.
Also update tests for 2.1.0 compatibility
2012-06-18 15:35:19 -04:00
Tom MacWright
fef914cdc2 Support future syntax of agg-stack-blur 2012-05-22 16:19:28 -04:00
Tom MacWright
3e3b4f09bc Add comp-op support. 2012-05-10 18:28:57 -04:00
Tom MacWright
66012862db Working push. Still needs agg-gradient 2012-05-10 18:12:51 -04:00
Tom MacWright
5efa4bd40e First push toward compositing 2012-05-10 17:08:09 -04:00
Tom MacWright
262ef7e722 Add regex filter, tests, clean up code more. Fixes #66 2012-05-08 15:26:08 -04:00
Tom MacWright
9960cd2667 Add maximum-extent property. Fixes #43. 2012-05-08 12:30:28 -04:00
Tom MacWright
afad11d3fe XML-escape quotes in quoted values. 2012-05-02 14:05:38 -04:00
Tom MacWright
a7748e6392 Port tests to mocha, remove many global variable leaks. 2012-05-02 12:56:38 -04:00
Tom MacWright
34deb99997 Add test suite for #32 2012-05-02 12:08:10 -04:00
Tom MacWright
c48a02196e Adding error tests for 119 and 124. Fixes #124 2012-05-01 15:48:01 -04:00