Commit Graph

128 Commits

Author SHA1 Message Date
cloudhead
00bbf81471 support parametric mixins with # 2010-07-08 00:27:32 +02:00
cloudhead
f7be8f515d fix font shorthand with % 2010-07-08 00:21:36 +02:00
cloudhead
2afcdd7860 fix error messages with no index 2010-07-07 11:58:26 +02:00
cloudhead
c020db0240 (doc) comments 2010-07-06 16:51:57 +02:00
cloudhead
69b1c050e1 reload imports when parsing a stylesheet 2010-07-06 16:49:39 +02:00
cloudhead
3664f26c06 support functions in operations 2010-07-05 01:19:04 +02:00
cloudhead
8a4a9a471a support variables in url() 2010-07-04 10:45:55 +02:00
cloudhead
d1c16908b6 fix syntax error with semi-colons in strings 2010-07-01 10:46:31 +02:00
cloudhead
8bb17cc4b9 removed unused inputLength 2010-07-01 02:16:03 +02:00
cloudhead
3318f0a294 minor refactoring in chunkification 2010-07-01 02:05:55 +02:00
cloudhead
1a56c6d225 proper chunkification of comments.
comments are preserved even with chunkified input now.
2010-07-01 01:31:48 +02:00
cloudhead
ca561a7c2c Merge branch 'master' of github.com:cloudhead/less.js 2010-06-30 20:00:16 +02:00
cloudhead
2e47c69a98 don't use __filename if no filename 2010-06-30 19:59:46 +02:00
cloudhead
f8e6b412bf (minor) ws 2010-06-30 13:20:24 +02:00
cloudhead
4ce7a44bf2 ability to pass some variables to toCSS in the form of a hash 2010-06-30 13:20:11 +02:00
cloudhead
7565305c4d default to __filename when no filename in env 2010-06-30 13:19:41 +02:00
James Foster
356ba4fd0d Fixed inner quotes 2010-06-30 14:59:10 +08:00
cloudhead
075523e96d fix '!important' in certain scenarios 2010-06-27 16:40:12 -04:00
cloudhead
30fa07f39d fix runtime error 2010-06-25 19:59:28 -04:00
cloudhead
a2ea973746 cleanup, smaller chunks, speed improvements 2010-06-25 19:58:25 -04:00
cloudhead
272b035528 don't create nodes for whitespace 2010-06-25 12:52:38 -04:00
cloudhead
843aeffa41 slice parsing 2010-06-25 03:03:37 -04:00
cloudhead
89a5a03ca0 various improvements to the parser, resulting in a 20% speed bump 2010-06-24 17:50:51 -07:00
cloudhead
3327734881 better chunkification algorithm 2010-06-21 17:32:31 -07:00
cloudhead
87b428bf2f strip querystring when importing, and caching. Allow relative @import urls 2010-06-20 12:47:33 -04:00
cloudhead
fa286eb507 fix @import not working. Better error message for empty response 2010-06-20 01:33:03 -04:00
cloudhead
e9bfa462f1 fix error messages with no callLine 2010-06-19 14:35:56 -04:00
cloudhead
94dfd6fac7 simplify regexps 2010-06-19 01:58:58 -04:00
cloudhead
fc35e55456 improve error reporting, provide a one line call-stack 2010-06-18 20:12:03 -04:00
cloudhead
f872b0f3f3 silent option. pass options through writeError 2010-06-18 19:51:29 -04:00
cloudhead
58c457f1d3 fix error message when no filename, also try to print stack 2010-06-18 19:44:48 -04:00
cloudhead
7a80774960 fix comments in mixins. 2010-06-16 02:13:59 -04:00
cloudhead
b195601898 (dist) require() goes in its own file 2010-06-15 18:54:46 -04:00
cloudhead
7a2ce13712 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
0477f14dde better error handling 2010-06-11 21:46:24 -04:00
cloudhead
4bb64a2753 (new) css compression support 2010-06-11 21:45:51 -04:00
cloudhead
85d50c84da Better error messages, wrap browser.js. 2010-06-07 15:47:41 -04:00
cloudhead
6a5354579b improve error reporting, include filename 2010-06-04 13:28:38 -04:00
cloudhead
2487dbcec0 revert chunk split improvement 2010-06-04 12:27:25 -04:00
James Foster
bb2d359e78 Fixed incorrect inputLength. Avoid creating multiple empty chucks for consecutive blank lines. 2010-06-05 00:13:26 +08:00
cloudhead
23a4d55d04 fix optimizations, and errors on multi-line comments 2010-06-01 21:21:59 -04:00
cloudhead
697136961e support CSS3 @media more fully 2010-05-22 18:24:37 -04:00
cloudhead
7a29d7fd67 support [0-9_] in CSS attribute names 2010-05-22 15:13:02 -04:00
cloudhead
fae02b0889 (minor) formatting 2010-05-18 21:16:44 -04:00
James Foster
101790db21 Fixes for IE7 compatibility 2010-05-19 08:52:49 +08:00
cloudhead
d501d9df7b (minor) formatting 2010-05-18 19:51:24 -04:00
cloudhead
d552222a65 [#.] is not optional in a mixin call 2010-05-18 19:49:19 -04:00
cloudhead
944a7c2be9 removed wildcard parser 2010-05-18 19:12:41 -04:00
cloudhead
b38f5325c9 Refactored some of the evaluation mechanisms
- Don't call `eval` from `toCSS`
- Every node responds to `eval`
2010-05-07 23:21:16 -04:00
cloudhead
7155f44f43 be more flexible, pattern matching 2010-05-04 20:37:06 -04:00