Commit Graph

80 Commits

Author SHA1 Message Date
Simone Deponti
959e22f5ff Added media query support.
* env.dumpLineNumbers was being lost when doing "offline" compilation
   (within node.js)
 * Added documentation for the changed options
 * --line-numbers now takes a parameter
   (either "comments", "mediaquery" or "all")
 * The system can now again output mediaqueries for FireLESS
 * Moved comments tests in debug/comments, will duplicate
   for mediaquery and for "all"

Everything is still utterly broken though, tests still fail.
2012-10-07 12:16:03 +01:00
Matt
5132c71a5b Fix error output and extract a helper object for lessc related methods
- Fixed a bug, which prevents colors from being set in error messages.
- Created a helper object for lessc methods and moved the stylize function
  into it. Changed test/less-test.js and lib/less/index.js to use new methods.
- Removed duplicate definitions of the stylize function.
2012-08-15 18:53:35 +01:00
Paulo Gaspar
66bbb9a44a Fix for issue 592. Additional removal of TODOs and Rhino support by
@agatronic.
2012-08-11 16:40:59 +01:00
Matt
3be05a1c7b Remove trailing ANSI escape sequences in no-color mode
Added a 'reset' code to the stylize function and changed the previously
hard-coded ANSI escape sequence string to a function call.
2012-08-05 11:57:35 +01:00
skoni
be675c6566 Move error formatting to a seperate function 2012-08-05 11:26:12 +01:00
Andrew Stone
221e850b89 add support for ratios in media queries 2012-07-28 18:14:48 +01:00
Alexis Sellier
3fb212d9c3 (dist) 1.3 2012-03-10 20:29:10 +01:00
Marcel Jackwerth
53b67e79fe moved @media code to own file 2012-02-16 20:56:21 +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
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
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
031006daf3 (meta) todo paths.unshift fix 2012-01-19 21:14:11 +01:00
Alexis Sellier
469f56843d (dist) 1.2.1 2012-01-15 17:18:40 +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
6d4516e6fc improve errors from imported files 2012-01-09 20:39:24 +01:00
Alexis Sellier
1078c8b3d2 (dist) version bump 1.2.0 2012-01-05 21:33:02 +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
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
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
867014c4b9 (dist) version bump 2011-12-10 14:19:45 +01:00
Alexis Sellier
b44d2dc9fe merge named-colors patch 2011-12-10 13:41:20 +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
85a681de2f require 'util' instead of 'sys' 2011-11-14 11:50:56 +01:00
Jacob Thornton
56fc8fe510 clean up + add test 2011-11-13 00:21:03 -08:00
Alexis Sellier
7401f5aed3 Merge pull request #445 from jlaire/patch-1
fix undefined reference
2011-11-12 05:09:26 -08:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
Johannes Laire
0e6046e00d initialize 'options' before using it 2011-11-04 02:30:12 +02:00
Alexis Sellier
198f7c9d96 fix additional paths not being loaded 2011-10-18 15:31:46 -07:00
cloudhead
041f119b13 add '--no-color' option 2011-08-22 08:20:05 -04:00
revolunet
63c028b9bf implement named color conversion 2011-07-08 00:55:59 +02:00
Alexis Sellier
fe456a21cf (dist) version 1.1.3 2011-05-27 18:22:48 -04:00
Alexis Sellier
3d24dfe90a (dist) verison bump 2011-05-24 16:44:18 -04:00
Alexis Sellier
3dd0f82d3e (dist) version bump 1.1.1 2011-05-17 20:51:46 -04:00
Alexis Sellier
fb9dbab030 (dist) build 1.1.0 2011-05-11 13:59:41 -04:00
Alexis Sellier
9379fa4fdd (dist) version bump 2011-05-10 10:05:37 -04:00
cloudhead
ffb75c27c0 (dist) version bump & build 2011-04-22 17:00:53 -04:00
cloudhead
4b3ec3eee0 (dist) version bump 2011-02-25 18:56:14 -05:00
cloudhead
cc88b975bb fix options ignored in less.render 2011-02-25 18:55:04 -05:00
cloudhead
15bd30eff9 (dist) version bump to 1.0.40 2010-11-30 11:51:20 -05:00
cloudhead
4c944a7fc4 (dist) version bump 2010-11-20 02:18:37 -05:00
cloudhead
f0781cd6cb (dist) version bump 2010-11-19 15:19:11 -05:00
cloudhead
f79f3b5f10 (dist) version bump 2010-10-14 17:26:30 -04:00
Felix Geisendörfer
74462f178a Fix @import file loading routine
Again, old fs.open syntax is deprecated, replaced with fs.readFile.
2010-10-13 14:09:00 +08:00
cloudhead
70b6684f87 (dist) version bump 2010-08-22 14:47:45 -04:00