Commit Graph

1468 Commits

Author SHA1 Message Date
Tom MacWright
73f544333a Remove straggling import stuff 2012-12-19 18:24:35 -05:00
Tom MacWright
d4fe84a7cf Simplify, use lodash where possible 2012-12-19 17:43:35 -05:00
Tom MacWright
84a34be10a Add filter test 2012-12-19 17:37:17 -05:00
Tom MacWright
180cd0cc6e Add field test 2012-12-19 17:34:34 -05:00
Tom MacWright
78ea179c46 Add filterset.eval, support variable filter combinations. 2012-12-19 17:29:53 -05:00
Tom MacWright
9eee907467 Simplify filter system, support numeric variables in filters 2012-12-19 17:01:35 -05:00
Tom MacWright
8603799fa7 Add oneline test 2012-12-19 14:19:13 -05:00
Tom MacWright
78b3a5a5d4 Update chunker to less.js's version. Fixes #184 2012-12-19 14:18:35 -05:00
Tom MacWright
71547d059f Merge and fix renderer optimization' 2012-12-19 12:53:09 -05:00
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
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
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