Commit Graph

504 Commits

Author SHA1 Message Date
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
e69433b8d1 rename is-* functions to is* 2012-01-07 01:33:54 +01:00
Alexis Sellier
aab66a4d10 support '!important' after mixin calls
ex: `.mixin(4) !important;`
2012-01-05 21:53:03 +01:00
Alexis Sellier
1078c8b3d2 (dist) version bump 1.2.0 2012-01-05 21:33:02 +01:00
Alexis Sellier
7dd31ff654 improve import support with media features 2012-01-05 21:31:39 +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
b43d442d55 add more is-* functions 2012-01-03 19:01:47 +01:00
Alexis Sellier
2844e03c5b (minor) tidying up 2012-01-03 18:46:28 +01:00
Alexis Sellier
5ec708c3f4 type-checking stylesheet functions
is-string, is-keyword, is-color, is-number
2012-01-03 18:45:31 +01:00
Alexis Sellier
77c8df029b support more falsy values 2011-12-30 00:50:26 +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
db452778c1 Merge branch 'master' of github.com:cloudhead/less.js 2011-12-24 13:35:07 +01:00
Alexis Sellier
626d7f1523 additional support for mixin guards 2011-12-24 13:32:13 +01:00
Alexis Sellier
d99e366849 Merge pull request #515 from imcotton/patch-1
Shift the type setting in order to work with Webkit, and fix typo for IE
2011-12-23 17:33:57 -08:00
Alexis Sellier
17137c1a70 fix string interpolation bug when var is empty 2011-12-20 01:31:51 +01:00
Alexis Sellier
ddc27617cf improve function call error reporting 2011-12-18 17:30:02 +01:00
Alexis Sellier
eadc0d8704 color() function parses color string 2011-12-18 17:29:40 +01:00
Alexis Sellier
6c6cdcb839 Merge pull request #527 from hokaccha/percentage
Add function `percentage`
2011-12-17 09:03:05 -08:00
Alexis Sellier
3fa7b2fcc0 parenthesized node init 2011-12-17 17:42:34 +01:00
Alexis Sellier
ff3d7c61ff properly support @media and @import features 2011-12-17 17:41:54 +01:00
Alexis Sellier
96689e4f37 fix error output on unexpected errors 2011-12-16 19:06:24 +01:00
Alexis Sellier
3506838620 support vanilla @keyframes 2011-12-16 17:42:45 +01:00
Alexis Sellier
3e31cc17f0 fix error reporting when index == 0 2011-12-16 17:40:56 +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
hokaccha
b00aee79d6 Add function percentage 2011-12-15 11:15:38 +09:00
Cotton Hou
7a033af705 Use if rather than try 2011-12-12 15:57:50 +08:00
Cotton Hou
f255aefccf Shift the type setting in order to work with Webkit, and fix typo for IE. 2011-12-11 14:37:53 +08:00
Alexis Sellier
867014c4b9 (dist) version bump 2011-12-10 14:19:45 +01:00
Alexis Sellier
5c94387928 Merge pull request #379 from khalsah/bug/chrome-extensions
Accept 2xx statuses even for file requests
2011-12-10 05:06:56 -08:00
Alexis Sellier
4ae2d1bf05 Merge pull request #514 from eager/master
Fix java.io.FileNotFoundException when @importing from LESS in subdirectory
2011-12-10 05:03:55 -08: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
7ae5af9b42 add ceil/floor math functions, refactor. 2011-12-10 13:50:53 +01:00
Alexis Sellier
d352284ba5 merge named-colors 2011-12-10 13:43:48 +01:00