33 Commits

Author SHA1 Message Date
Guillaume Delhumeau
f94c41fe42 Remove the "done" message displayed at the end of the compilation with Rhino. 2014-05-20 16:10:36 +02:00
Sandro Boehme
87f8df23af Throwing an error now on writeError if silentoption is not set to give users of the API the possibility to distinguish between a successful compilation and an unsuccessful one without needing to parse the output. 2014-04-05 18:46:08 +02:00
Luke Page
0c8e117b85 update readme and rename LESS to Less 2014-02-27 20:22:47 +00:00
Doug Haber
9b3513b801 Split rhino and rhino version of lessc. This lets us have cleaner tests (since we don't need to include the test code in the rhino source). Also
sets the stage for sharing lessc code between lessc and rhino less (issue #14) and provides a hook so lesscss-java can have custom js.
2014-01-21 21:48:37 -05:00
Doug Haber
3c507118f2 fix empty test 2014-01-14 18:52:00 -05:00
meri
e2c1c13cc0 Solving lint errors in rhino.js. The rest is still open #15 2014-01-14 23:21:25 +01:00
Doug Haber
de4e888211 Add Support Map Tests
This patch adds Support Map Tests to the rhino test suite.  It makes the
following changes:

1.  Fix typo in the Gruntfile.js for the sourcemap-test
2.  Update Gradle build to always build the less-rhino-<version>.js
before running the tests
3. Add a new testRhinoSourceMap and add it to the test list
4. Add a SourceMapRhinoTest that bootstraps SourceMap tests and then
validates them after they run
5. Add hooks in RhinoTest to support custom bootstraping and validation
6. Add compiled version of source-map (version 0.1.31) because Rhino
can't dynamically pull in dependencies
7. Add source-map to the Rhino build with a Header/Footer that wraps
source-map as a less-friendly dependency
8. Update lib/less/rhino.js to properly handle (some) source-map options
and add a new one (--source-map-output-map-file) that will output the
source-map to a separate file (so we can validate our Rhino tests)
9. Remove unused callback in less-test.js
2014-01-13 23:39:52 -05:00
meri
32e67b6b70 Fixed input file encoding problem (failing css.less test) 2013-12-19 22:41:34 +01:00
meri
b8cb398de1 Fixing windows related errors in gradle build file. 2013-12-12 13:51:48 +01:00
Oliver Becker
b02d35891e refactored rhino require() for provided (node) modules 2013-11-12 21:58:29 +01:00
Oliver Becker
4210cfd2d1 started data-uri implementation, added basic console formatting support 2013-11-11 22:15:42 +01:00
Oliver Becker
4aa040a356 renamed path implementation in less for rhino to _path 2013-11-08 18:53:03 +01:00
Oliver Becker
929bb44fa7 fixed test for initRhinoTest function 2013-10-27 17:02:02 +01:00
Oliver Becker
6367b96a2a fixed some jshint errors 2013-10-27 15:15:46 +01:00
Oliver Becker
716101256e added gradle based test suite, reviewed rhino integration 2013-10-27 12:47:59 +01:00
Luke Page
9447421258 switch on latedef option and fix issues. Fixes #1521 2013-09-01 12:34:20 +01:00
Luke Page
fc35190d38 unused variable cleanup 2013-07-20 22:44:13 +01:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
ForbesLindesay
22c5bd77c4 Fix global variable leaks 2013-07-05 06:10:16 +01:00
Luke Page
ab3ddf413d Fix rhino merge error. Fixes #1184 2013-02-16 10:02:50 +00:00
Spocke
8bde1635fe Fixed bug where a UTF8 BOM in the less files would break the rhino command line compressor. 2013-01-05 16:24:58 +00:00
Luke Page
d0512b1ce2 Make import-once fix, but for the browser 2012-12-22 18:10:49 +00:00
Luke Page
b65d420353 Fix typo in rhino. Fixes #896 2012-08-15 18:50:48 +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
Luke Page
e98a20a50d allow windows and unix path seperators in rhino. Fixes #828 2012-07-29 14:03:32 +01:00
Luke Page
be5464d2a6 make rhino arguments match lessc 2012-07-29 11:47:17 +01:00
Luke Page
acace43415 merge compression argument support 2012-07-29 11:37:13 +01:00
Luke Page
1199ce41b0 Make rhino error support better 2012-07-28 23:16:10 +01:00
Simon Dittlmann
e0ebaeeb55 Fixed rhino's loadStyleSheet callback invocation (first parameter is the error object and not root) 2012-07-28 19:19:41 +01:00
Jeff Tougas
9403777f82 adding optional compress flag for rhino command line tool 2012-02-21 14:19:39 -05:00
Christian Eager
c7bcf94ef7 Pass current sheet's path to the new Parser.
This fixes relative @imports from LESS files in subdirectories.
2011-12-09 15:03:09 -05:00
Erwan Loisant
43b0e95fd5 Support output to a file 2011-09-14 17:46:53 +02:00
Erwan Loisant
c5c1031402 Basic rhino support 2011-09-14 17:46:53 +02:00