Commit Graph

227 Commits

Author SHA1 Message Date
Marcel Jackwerth
9f9eeec297 media-query can now be a variable 2012-02-20 17:28:24 +01:00
Alexis Sellier
222f5e6b8a Merge pull request #595 from hokaccha/fix_parser_error
Fix callback called two times
2012-02-01 11:54:00 -08:00
Alexis Sellier
8e186400e0 add hook for import error 2012-02-01 19:55:15 +01:00
Alexis Sellier
557177c76d use basename when fetching import file contents 2012-01-25 20:15:06 +01:00
hokaccha
e58238bd17 Fix callback called two times 2012-01-25 09:51:39 +09:00
Alexis Sellier
bb5f038615 fix url() imports 2012-01-21 02:30:56 +01:00
Alexis Sellier
72f7fa6077 fix 'missing }' error message 2012-01-16 14:59:00 +01:00
Alexis Sellier
e618119e03 parsing/compiling speedups 2012-01-16 14:56:07 +01:00
Alexis Sellier
aefd310514 fix Runtime error reports from imported files 2012-01-11 00:55:14 +01:00
Alexis Sellier
2cc1b018fe fix 'File not found' import error 2012-01-10 23:52:45 +01:00
Alexis Sellier
4cb962c5cd refactor rhino setup logic 2012-01-10 21:58:52 +01:00
Ken McHugh
e90fbdfd42 Additional update for when window is not defined 2012-01-10 20:34:32 +08:00
Ken McHugh
39f277f726 Fix to allow compilation with rhino while using asual lesscss engine 2012-01-10 20:22:34 +08:00
Alexis Sellier
dc1c6c4555 fix bug in string arguments to mixin call 2012-01-09 22:49:16 +01:00
Alexis Sellier
6d4516e6fc improve errors from imported files 2012-01-09 20:39:24 +01:00
Alexis Sellier
48db59ec82 remove '^=', support 'not' better 2012-01-07 01:34:31 +01:00
Alexis Sellier
aab66a4d10 support '!important' after mixin calls
ex: `.mixin(4) !important;`
2012-01-05 21:53:03 +01:00
Alexis Sellier
d8441445a5 change negation operators to be more cssy 2012-01-03 22:41:14 +01:00
Alexis Sellier
a40a9ee4db and/or for mixin guards 2012-01-03 22:27:54 +01:00
Alexis Sellier
7a71697965 improve condition parser, support true/false values 2011-12-30 00:43:46 +01:00
Alexis Sellier
1d67c5b382 improve error-reporting
- add a LessError class
- add an expect() function
- add an error() function
2011-12-30 00:42:29 +01:00
Alexis Sellier
40011da01b mixin-guards: support >= != =< operators 2011-12-29 23:39:59 +01:00
Alexis Sellier
bdf3763e4b change guard syntax to be more 'cssy' 2011-12-29 23:20:33 +01:00
Alexis Sellier
626d7f1523 additional support for mixin guards 2011-12-24 13:32:13 +01:00
Alexis Sellier
ff3d7c61ff properly support @media and @import features 2011-12-17 17:41:54 +01:00
Alexis Sellier
3506838620 support vanilla @keyframes 2011-12-16 17:42:45 +01:00
Alexis Sellier
d1cb4aab97 improvements to error messages 2011-12-15 23:42:22 +01:00
Alexis Sellier
321920a50d mixin guards
Allows functional-style guard expressions:

  .mixin (@a) ? @a > 0 {...}
2011-12-15 23:38:53 +01:00
Alexis Sellier
db72c646bb dynamic selectors
Allows things like:

  a:nth-child(@var) {}
2011-12-15 22:24:52 +01:00
Alexis Sellier
ff0dc06c54 Merge branch 'master' of github.com:cloudhead/less.js 2011-12-10 14:00:23 +01:00
Alexis Sellier
c47e5fa87d Merge pull request #506 from Harrison/master
Issue #393 Add support for "rem" dimensions
2011-12-10 05:00:09 -08:00
Alexis Sellier
bec6b223ae support -ms- vendor extension 2011-12-10 13:59:32 +01:00
Alexis Sellier
431b202d88 (minor) ws 2011-12-10 13:54:24 +01:00
Alexis Sellier
c2d61e75de Merge branch 'master' of https://github.com/Glench/less.js into yui 2011-12-10 13:52:07 +01:00
Alexis Sellier
d352284ba5 merge named-colors 2011-12-10 13:43:48 +01:00
Alexis Sellier
b44d2dc9fe merge named-colors patch 2011-12-10 13:41:20 +01:00
Glen Chiacchieri
164be53d0e Remove useless variable assignment. 2011-12-03 15:13:07 -05:00
Philip Harrison
6c3317ff0b Add rem dimension support 2011-12-03 17:58:25 +01:00
Glen Chiacchieri
e57fd2383e Add yui css compressor on lessc for better compression. Call with lessc
--yui-compressor. If -x and --yui-compressor are present, it will only
use the YUI compressor.
2011-12-02 17:33:12 -05:00
Jacob Thornton
602c0c5c5a fix comments in operations (ex: *height: 2px * 4 /* ie hack */) 2011-11-26 15:01:09 -08:00
Alexis Sellier
97cbfa5d1a fix minor directive parsing bug 2011-11-26 23:42:11 +01:00
Alexis Sellier
920034233b Merge pull request #458 from fat/assignment-entities
Assignment entities
2011-11-24 16:14:39 -08:00
Alexis Sellier
0e01c72560 more flexible parsing of vendor selectors 2011-11-23 12:02:17 +01:00
Alexis Sellier
2af0f62f98 fix less.mode in node 2011-11-14 17:24:20 +01:00
Jacob Thornton
416efd3b60 clean up comment which read confusing 2011-11-13 00:34:39 -08:00
Jacob Thornton
56fc8fe510 clean up + add test 2011-11-13 00:21:03 -08:00
Jacob Thornton
c3b560c6c1 Merge branch 'master' into assignment-entities 2011-11-12 23:57:36 -08:00
Jacob Thornton
354844e802 add assignment entities 2011-11-12 23:55:40 -08:00
Alexis Sellier
e80847267b fix IE 6 support 2011-11-12 14:06:40 +01:00
Alexis Sellier
e35dc0efc0 merge 2011-11-12 13:49:41 +01:00