Commit Graph

1721 Commits

Author SHA1 Message Date
Tom MacWright
4ef52a82af Profile and optimize reference lookups 2012-12-19 12:37:48 -05:00
Tom MacWright
ec0699dd45 Cleanup 2012-12-19 11:53:10 -05:00
Dane Springmeyer
e7ba697fc4 Deeper benchmark output 2012-12-18 19:49:38 -08:00
Dane Springmeyer
0d294c1075 add standalone mss rendering tests for desired empty style dropping behavior - refs #219 2012-12-18 18:25:13 -08:00
Dane Springmeyer
23d11fedc6 skip mss that is valid 2012-12-18 16:40:11 -08:00
Dane Springmeyer
e3e2b42277 do not overwrite filename for mss 2012-12-18 16:25:00 -08:00
Dane Springmeyer
675158cba9 call path.basename on mss filename input 2012-12-18 16:24:14 -08:00
Dane Springmeyer
1e6ede278f add to ignores 2012-12-18 16:14:35 -08: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
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
1c569ce39d Simplify style.js 2012-12-18 17:41:08 -05:00
Tom MacWright
f41312597c Move .is to prototype, start testing quoteds 2012-12-18 17:16:40 -05:00
Tom MacWright
4181df378f Rewrite filterset in more vanilla-javascript style, add more tests 2012-12-18 16:50:53 -05:00
Tom MacWright
13bc8c3488 Start on a condense branch. This is related to #20
See https://gist.github.com/4329932 for more detail.
2012-12-18 13:27:04 -05: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