Commit Graph

510 Commits

Author SHA1 Message Date
Adrian Lang
a8802fc8ac Make parse error handler more robust
This is necessary to get useful error messages in cases where root has not been constructed successfully.
2012-01-29 13:04:43 +01:00
Alexis Sellier
557177c76d use basename when fetching import file contents 2012-01-25 20:15:06 +01:00
Alexis Sellier
c56ab0ad4a Merge branch 'master' of github.com:cloudhead/less.js 2012-01-23 11:37:12 +01:00
Alexis Sellier
5c52f4579c Merge pull request #585 from fat/newline-selectors
newline all selectors whose combined length is greater than 25 chars
2012-01-23 01:52:49 -08:00
Jacob Thornton
75419077d7 always newline selector lists 2012-01-20 19:56:18 -08:00
Alexis Sellier
bb5f038615 fix url() imports 2012-01-21 02:30:56 +01:00
Alexis Sellier
031006daf3 (meta) todo paths.unshift fix 2012-01-19 21:14:11 +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
e8ac71c5b0 (minor) add missing semi-colon 2012-01-15 17:23:20 +01:00
Alexis Sellier
469f56843d (dist) 1.2.1 2012-01-15 17:18:40 +01:00
Alexis Sellier
b9dbfc08a4 fix imports on browser 2012-01-15 17:15:17 +01:00
Alexis Sellier
b5dd30f4d4 fix imports on browser 2012-01-15 16:44:03 +01:00
Alexis Sellier
9c344ba5a1 improve error reporting on browser 2012-01-15 16:39:51 +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
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