Commit Graph

1459 Commits

Author SHA1 Message Date
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
Dane Springmeyer
33d325b0fc return errors if any have occurred - refs #128 2012-12-18 16:07:50 -08:00
Dane Springmeyer
4825f9aee8 only call done when the test is actually finished, whether error or not - refs #210 2012-12-18 16:02:44 -08:00
Dane Springmeyer
7d7cc2653c add tests specifically of error handling of parsing standalone mss files 2012-12-18 15:51:39 -08:00
Dane Springmeyer
0c04ad07b6 move the mss standalone renderer into core to make it easier to maintain - and add more fine grained benchmark output 2012-12-18 15:44:39 -08:00
Tom MacWright
4c7af7f492 Merge pull request #217 from mapbox/stderr
Use stderr for error messages, use console instead of util
2012-12-18 08:57:23 -08:00
Tom MacWright
19ac7b2fb0 Use stderr for error messages, use console instead of util 2012-12-15 19:24:44 -05:00
Tom MacWright
217498a207 Push to 0.9.4 with regex nesting fix 2012-12-06 12:50:04 -05:00
Tom MacWright
25a2940ebc Fix regex nesting inheritance 2012-12-06 12:48:09 -05:00
Tom MacWright
2fcbdaacfd Stricter equality for empty string arguments to functions, and tests. 2012-11-29 15:17:06 -05:00
Dane Springmeyer
8ef4efbe39 fix handling of no errors from error handling tests - closes #210 2012-11-29 11:36:39 -08:00
Dane Springmeyer
a21a195f1b log layer id when benchmarking 2012-10-24 16:19:48 -07: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
1eaf7e4fbf Remove & from old-style less combinators in the parser 2012-10-21 21:08:11 -04:00
Tom MacWright
e1a484018f Merge pull request #200 from mapbox/mss-out
add mss support to carto command line program
2012-10-21 15:04:18 -07:00
Tom MacWright
8fc2c06b45 Evaluate calls before keywords. Fixes #203 2012-10-21 17:57:45 -04:00
Tom MacWright
5cbe78457c Merge pull request #201 from mapbox/nested-classes
Fix nested class behavior.
2012-10-15 19:21:12 -07:00
Dane Springmeyer
840e16a3f2 improve carto command line to be able to handle just converting mss chunks - mostly for easy testing 2012-10-15 13:14:47 -07: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
5978135bb6 Finalize renaming 2012-10-09 21:44:59 -04:00
Tom MacWright
dde52e43aa Note gravitystorm 2012-10-09 21:43:44 -04:00
Tom MacWright
1efa60757b Update readme 2012-10-09 21:42:40 -04:00
Tom MacWright
13448ee297 Bump package 2012-10-09 21:35:24 -04:00
Tom MacWright
cce8440755 Push changelog 2012-10-09 21:35:04 -04: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
67f007064a Report unclosed strings as well. Fixes #188" 2012-10-08 18:03:18 -04:00
Dane Springmeyer
896b247fe9 avoid wrapping in CDATA if special inline 'Format' is used - closes #196 2012-10-05 17:03:13 -07:00
Tom MacWright
3d216f6295 Test for #192 to keep it closed 2012-09-29 16:54:10 -04:00
Tom MacWright
afdac4b94f Merge pull request #192 from gravitystorm/patch-2
Include the instance name in the rule id (fixes #177)
2012-09-29 13:53:31 -07:00
Tom MacWright
e055301fa8 Merge pull request #191 from gravitystorm/patch-1
Remove legacy comment
2012-09-29 13:51:49 -07:00
Andy Allan
25343589ab Include the instance name in the rule id
This fixes #177. The addRules method of definition.js checks rule inheritance using the id of the rule, and only adds rules from ancestors if the id is different. However, without this patch, foo/line-color and bar/line-color have the same id and therefore aren't recognised as applying to different instances.
2012-09-28 16:37:00 +02:00
Andy Allan
0560ae9f86 Remove legacy comment
Remove the comment for the extend method, which was removed back in 7c81eb353d
2012-09-28 16:27:23 +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