Commit Graph

1423 Commits

Author SHA1 Message Date
Sandro Santilli
6a040acd07 Catch parser exception in the correct scope 2012-09-26 15:51:05 +02:00
Sandro Santilli
381806c7c7 Catch parser exceptions (it does throw!) 2012-09-26 13:02:46 +02:00
Tom MacWright
4a9b5b5939 Remove directives. Fixes #157 2012-09-21 15:12:39 -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
Dane Springmeyer
31ea5ff6c6 use mapnik-reference tag 2012-09-06 22:23:51 -07:00
Tom MacWright
03867bf61b Point to numbertypes branch of mapnik-reference 2012-09-04 12:58:32 -04:00
Tom MacWright
829fe84baf Add unsigned support and test code 2012-09-04 12:57:25 -04:00
Dane Springmeyer
f4132221d6 use latest mapnik-reference 2012-08-30 17:16:38 -07:00
Dane Springmeyer
5e5de824de bump to 0.9.1 2012-08-15 15:04:49 -07:00
Tom MacWright
02b8cae3c7 Remove anonymous type. Fixes #148 2012-08-15 17:27:22 -04:00
Tom MacWright
0a10327fb1 Update mocha version and use spec reporter 2012-08-15 17:20:43 -04:00
Tom MacWright
bd3073bbed Remove variable is for the time being 2012-08-15 17:12:37 -04:00
Tom MacWright
73a7c6b87a Merge pull request #173 from mapbox/fix-mapnik-functions
Fix mapnik functions
2012-08-15 14:09:02 -07:00
Dane Springmeyer
788aa03e80 use latest mapnik-reference 2012-08-14 13:49:20 -07: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
Tom MacWright
26e690dc0d Make more types identify themselves with is, don't tolerate
incorrectly-cased functions.
2012-08-13 17:37:51 -04:00
Tom MacWright
5b024a1465 Fix code style. 2012-08-13 11:15:45 -04:00
Tom MacWright
0c4de0dc38 Merge pull request #170 from strk/throw_on_unsupported_mapnik_version
Error out on unsupported mapnik version
2012-08-13 08:14:31 -07:00
Sandro Santilli
0377e809ea Have setVersion return a bool, rather than throwing an exception 2012-08-13 10:44:59 +02:00
Sandro Santilli
b24288b7ef Have render() catch Reference errors by invoking the user callback 2012-08-10 19:33:14 +02:00
Sandro Santilli
42e9c476f5 Throw an exception when an unsupported mapnik version is requested 2012-08-08 09:31:13 +02:00
Tom MacWright
dd8169ea84 Rename sys to util to fix last commit 2012-08-07 11:32:07 -04:00
Dane Springmeyer
6d8c963af2 remove unused sys require 2012-08-02 14:48:04 -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
Dane Springmeyer
f52f7da5eb push to 0.8.1, mapnik-reference to ~3.1.0 2012-06-29 13:20:09 -07:00
Tom MacWright
4841e40a72 Rename to CartoCSS 2012-06-28 14:59:14 -04:00
Tom MacWright
262aa3c1df Bump package to 0.8.0 2012-06-28 14:58:08 -04: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
d1574100af Merge 2012-06-28 13:58:50 -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
Dane Springmeyer
b165c2080d add required/used mapnik-reference to 0.7.0 changelog - closes #155 2012-06-27 11:37:56 -07:00
Dane Springmeyer
f53a226505 update changelog in prep for 0.7.1 2012-06-27 11:19:49 -07:00
Dane Springmeyer
9a27483af6 use mapnik-reference 2.2.x 2012-06-27 11:07:38 -07: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
1f28f7b79e Fix error checking around string operations, fix quoting, though it is
still broken in the quoted + field + quoted case.
2012-06-26 15:54:36 -04:00
Tom MacWright
672a271cbe Change field result, fix building height result. 2012-06-26 14:41:13 -04:00
Tom MacWright
d244fd0da8 Sys is now util, switch to util 2012-06-26 14:38:51 -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
AJ Ashton
ff0f0fc9f9 No longer writes out layer status if it is undefined 2012-06-25 16:01:42 -04:00
AJ Ashton
991feb9ba3 Prevents undefined layer status 2012-06-25 13:29:18 -04:00
Tom MacWright
6132d82359 Merge pull request #149 from mapbox/layer-status
Add ability to enable/disable layers
2012-06-25 09:51:10 -07:00