Commit Graph

686 Commits

Author SHA1 Message Date
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
624c297e7b (test) mixin-guards 2011-12-24 13:32:43 +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
eda86e5c74 (test) variable in @media feature 2011-12-17 17:47:35 +01: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
9e48460eff (dist) build 1.1.6 2011-12-10 14:20:04 +01:00
Alexis Sellier
867014c4b9 (dist) version bump 2011-12-10 14:19:45 +01:00
Alexis Sellier
c11bddc673 fix duplicate header in minified js 2011-12-10 14:19:33 +01:00
Alexis Sellier
6ba85e1c7e improve minification process a little 2011-12-10 14:18:15 +01:00
Alexis Sellier
cf5d3050ea Merge pull request #496 from wfreeman/master
Removed call to put header into minified build, because it's already there.
2011-12-10 05:16:52 -08: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
62e7840a6e Merge pull request #494 from jmcclell/patch-1
Adding support for absolute paths on Windows.
2011-12-10 05:05:07 -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
205816758d Merge pull request #461 from dmcass/sys-util
require 'util' instead of 'sys' in lessc and less-benchmark.js
2011-12-10 05:01: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
ecb61ac169 Merge pull request #507 from garth/master
Fixed lessc require('sys') for nodejs 0.6.*
2011-12-10 04:50:07 -08: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