Commit Graph

525 Commits

Author SHA1 Message Date
Marcel Jackwerth
1ba622dd8d fixed a bug when using @media with mixins 2012-02-17 11:57:31 +01:00
Marcel Jackwerth
081c26dc9a adjusted indent-whitespace to 4 spaces 2012-02-17 01:42:22 +01:00
Marcel Jackwerth
936ab7d52e Added automatic merging of media-query conditions 2012-02-17 01:39:03 +01:00
Marcel Jackwerth
80e8b42e9a remove @media code from tree.Directive 2012-02-17 01:19:46 +01:00
Marcel Jackwerth
53b67e79fe moved @media code to own file 2012-02-16 20:56:21 +01:00
Marcel Jackwerth
378ddef61f fixed double-space 2012-02-15 17:17:48 +01:00
Marcel Jackwerth
288248dc5a added @media bubbling (similar to SASS) 2012-02-14 20:10:25 +01:00
Alexis Sellier
83426e424d (dist) version 1.2.2 2012-02-11 18:17:09 +01:00
Alexis Sellier
8864ac652c Merge pull request #601 from adrianlang/patch-1
Make parse error handler more robust
2012-02-01 11:54:59 -08: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
f69de479d4 Merge pull request #604 from treshugart/master
Fixes #602
2012-02-01 11:52:01 -08:00
Alexis Sellier
0f1527c12d (ws) 2012-02-01 19:55:26 +01:00
Alexis Sellier
8e186400e0 add hook for import error 2012-02-01 19:55:15 +01:00
Trey Shugart
acf65e0f5d Fixes #602 2012-01-31 13:50:26 +11:00
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
hokaccha
e58238bd17 Fix callback called two times 2012-01-25 09:51:39 +09: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