Commit Graph

126 Commits

Author SHA1 Message Date
cloudhead
e985bad5f4 fix error messages with no index 2010-07-07 11:58:26 +02:00
cloudhead
48690d0208 (doc) comments 2010-07-06 16:51:57 +02:00
cloudhead
7eafab64f5 reload imports when parsing a stylesheet 2010-07-06 16:49:39 +02:00
cloudhead
d983d8d1a1 support functions in operations 2010-07-05 01:19:04 +02:00
cloudhead
c68867c8e2 support variables in url() 2010-07-04 10:45:55 +02:00
cloudhead
cbb432edef fix syntax error with semi-colons in strings 2010-07-01 10:46:31 +02:00
cloudhead
0f4551f9c3 removed unused inputLength 2010-07-01 02:16:03 +02:00
cloudhead
913eefdcc0 minor refactoring in chunkification 2010-07-01 02:05:55 +02:00
cloudhead
13d6fbf63f proper chunkification of comments.
comments are preserved even with chunkified input now.
2010-07-01 01:31:48 +02:00
cloudhead
096b7cac18 Merge branch 'master' of github.com:cloudhead/less.js 2010-06-30 20:00:16 +02:00
cloudhead
acfd2463bc don't use __filename if no filename 2010-06-30 19:59:46 +02:00
cloudhead
a1e4d61a13 (minor) ws 2010-06-30 13:20:24 +02:00
cloudhead
27a123d779 ability to pass some variables to toCSS in the form of a hash 2010-06-30 13:20:11 +02:00
cloudhead
6a5e7d10ce default to __filename when no filename in env 2010-06-30 13:19:41 +02:00
James Foster
16ad5bee0b Fixed inner quotes 2010-06-30 14:59:10 +08:00
cloudhead
f817dcd2fe fix '!important' in certain scenarios 2010-06-27 16:40:12 -04:00
cloudhead
15140596bd fix runtime error 2010-06-25 19:59:28 -04:00
cloudhead
369b978c78 cleanup, smaller chunks, speed improvements 2010-06-25 19:58:25 -04:00
cloudhead
77fa4a171c don't create nodes for whitespace 2010-06-25 12:52:38 -04:00
cloudhead
669b3b6d92 slice parsing 2010-06-25 03:03:37 -04:00
cloudhead
0acc8c0ae1 various improvements to the parser, resulting in a 20% speed bump 2010-06-24 17:50:51 -07:00
cloudhead
544e0824e7 better chunkification algorithm 2010-06-21 17:32:31 -07:00
cloudhead
8d6af09dc5 strip querystring when importing, and caching. Allow relative @import urls 2010-06-20 12:47:33 -04:00
cloudhead
a26eb790a5 fix @import not working. Better error message for empty response 2010-06-20 01:33:03 -04:00
cloudhead
eae3fa11e5 fix error messages with no callLine 2010-06-19 14:35:56 -04:00
cloudhead
64832729b9 simplify regexps 2010-06-19 01:58:58 -04:00
cloudhead
7726f98493 improve error reporting, provide a one line call-stack 2010-06-18 20:12:03 -04:00
cloudhead
72e7c34921 silent option. pass options through writeError 2010-06-18 19:51:29 -04:00
cloudhead
29a894231a fix error message when no filename, also try to print stack 2010-06-18 19:44:48 -04:00
cloudhead
a1e1f01338 fix comments in mixins. 2010-06-16 02:13:59 -04:00
cloudhead
2bac8184c5 (dist) require() goes in its own file 2010-06-15 18:54:46 -04:00
cloudhead
7768d41050 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
8c5530c6a7 better error handling 2010-06-11 21:46:24 -04:00
cloudhead
123440864f (new) css compression support 2010-06-11 21:45:51 -04:00
cloudhead
25e3205eb3 Better error messages, wrap browser.js. 2010-06-07 15:47:41 -04:00
cloudhead
652f1110d3 improve error reporting, include filename 2010-06-04 13:28:38 -04:00
cloudhead
9e8c5860eb revert chunk split improvement 2010-06-04 12:27:25 -04:00
James Foster
05165ce90d Fixed incorrect inputLength. Avoid creating multiple empty chucks for consecutive blank lines. 2010-06-05 00:13:26 +08:00
cloudhead
9c390cbdf8 fix optimizations, and errors on multi-line comments 2010-06-01 21:21:59 -04:00
cloudhead
f35d035e51 support CSS3 @media more fully 2010-05-22 18:24:37 -04:00
cloudhead
d6934147d9 support [0-9_] in CSS attribute names 2010-05-22 15:13:02 -04:00
cloudhead
70045e9c4b (minor) formatting 2010-05-18 21:16:44 -04:00
James Foster
e501f2e47c Fixes for IE7 compatibility 2010-05-19 08:52:49 +08:00
cloudhead
61c2b5877a (minor) formatting 2010-05-18 19:51:24 -04:00
cloudhead
414fbc9dd4 [#.] is not optional in a mixin call 2010-05-18 19:49:19 -04:00
cloudhead
eaf3c7d187 removed wildcard parser 2010-05-18 19:12:41 -04:00
cloudhead
f5f0919349 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
59bd32bb12 be more flexible, pattern matching 2010-05-04 20:37:06 -04:00
cloudhead
1dcb4e77cb make operations left-associative Closes #20 2010-05-03 14:25:12 -04:00
cloudhead
d75becf9ba New % function, to perform string interpolation 2010-04-30 14:06:36 -04:00