2606 Commits

Author SHA1 Message Date
Matthew Dean
ceb54053e7 v2.7.2 v2.7.2 2017-01-04 17:57:58 -08:00
Matthew Dean
c93b7f6395 Revert contrast() changes in 2.7.1 2017-01-04 17:53:19 -08:00
Matthew Dean
5621cb9199 Merge pull request #2908 from maxrd2/patch-1
Added 'request' as optional dependency.
2016-12-21 15:32:20 -08:00
Matthew Dean
6f06301dff Merge pull request #2988 from nicoschoenmaker/hotfix/2987
Fixes #2987, --source-map-map-inline works as expected
2016-12-21 15:23:13 -08:00
Nico Schoenmaker
bd375432ad Fixes #2987, --source-map-map-inline works as expected 2016-11-16 17:00:14 +01:00
Mladen Milinkovic
9e27352600 Added 'request' as optional dependency.
Compiling following less code:
@import (less) url(http://example.com/somefile.less);

Will fail with if npm 'request' package is not installed:
FileError: optional dependency 'request' required to import over http(s)
2016-06-07 11:42:45 +02:00
Matthew Dean
cc1a1436d0 Merge pull request #2905 from abrobston/bug2898
Download PhantomJS from CDN
2016-05-31 19:16:09 -07:00
Andrew Brobston
d6bd0e9e4f Test against latest Node 4 and 6
Update .travis.yml to test against the latest Node release within
versions 4.x and 6.x (as well as 0.10 and 0.12 still).  Update
appveyor.yml to add Node 6 to the list of environments.
2016-05-31 19:38:08 -05:00
Andrew Brobston
e29f7de7a6 Roll back Grunt to version 0.4.5
Continuous-integration builds now fail due to peer-dependency
issues.  It appears that the `grunt-saucelabs` package does not
currently work with Grunt 1+.  Future versions likely will, but for
now, rolling back to Grunt ~0.4.5 may allow the CI builds to
progress.
2016-05-31 16:34:33 -05:00
Andrew Brobston
726cd9660a Download PhantomJS from CDN
Addresses #2898.  Instead of attempting a manual download of
PhantomJS, use the npm package phantomjs-prebuilt and the
environment variable `PHANTOMJS_CDNURL` as suggested in
the comment at
https://github.com/ariya/phantomjs/issues/13953#issuecomment-200862297.
2016-05-31 15:57:01 -05:00
Matthew Dean
2449c4e36e Merge pull request #2866 from mlowijs/master
Changed octals to hex for ES6 strict mode
2016-05-29 12:02:23 -07:00
Matthew Dean
7a5e073e90 Small bug fix: index is passed to Comment node but never assigned 2016-05-10 19:58:34 -07:00
Matthew Dean
9500bfb734 Merge pull request #2891 from jhnns/fix/error-reporting-2
Fix error reporting of lessc executable II
2016-05-09 13:56:27 -07:00
Matthew Dean
d3e1531370 v2.7.1 HOTFIX v2.7.1 2016-05-09 13:38:37 -07:00
Matthew Dean
36edeaa787 Fix input start position for @media blocks 2016-05-08 00:15:16 -07:00
Matthew Dean
fbd000c194 Revert "Make sourcemap generation a bit faster"
This reverts commit 470af20f64.
2016-05-07 19:01:09 -07:00
Matthew Dean
b76db1799d v2.7.0 v2.7.0 2016-05-07 18:35:07 -07:00
Max Mikhailov
94344699c4 Merge pull request #2894 from nex3/update-name
Update my name.
2016-05-06 00:07:18 +02:00
Natalie Weizenbaum
657972cc41 Update my name. 2016-05-05 14:17:07 -07:00
Max Mikhailov
9db686ad47 polish abstractFileManager.extractUrlParts comments 2016-05-04 22:55:23 +02:00
Max Mikhailov
e72751a1bb Merge pull request #2892 from Taritsyn/master
Fix invalid extraction of the host part from URL
2016-05-04 22:45:59 +02:00
Andrey Taritsyn
cb1f0f50bb Fix invalid extraction of the host part from URL 2016-05-04 21:30:51 +03:00
Johannes Ewald
73f4aa3e60 Fix error reporting of lessc executable
This commit replaces the old control flow of exiting the process when an error occurred which swallowed the error in some situations (https://github.com/less/less.js/issues/2881). It also adds process.exitCode = 1 in some error situations that have previously been reported as exitCode = 0. Additionally, it adds a listener for "unhandledRejection" to also catch errors caused by rejected promises.
2016-05-03 11:02:21 +02:00
Matthew Dean
d07a9b6cc6 Fix for #2841 - Fix reversion for "color-like" keywords. 2016-04-22 16:31:56 -07:00
Max Mikhailov
d100bae01b Merge pull request #2874 from jeremyVignelles/master
removed dependency to unused package "request"
2016-04-21 02:31:03 +03:00
Jérémy VIGNELLES
d6ec55e199 removed dependency to package "request" (closes #2870) 2016-04-18 21:05:27 +02:00
Max Mikhailov
c5fe8934f8 Merge pull request #2830 from gtalusan/master
make --depends generate no CSS output
2016-04-12 16:42:03 +04:00
George Talusan
dff9697286 make --depends generate no output 2016-04-12 08:33:00 -04:00
Michiel Lowijs
a76db10182 Changed octals to hex for ES6 strict mode 2016-04-10 17:17:16 +02:00
Max Mikhailov
e257ebb1d8 fix broken license string
fix #2865
2016-04-09 15:20:46 +04:00
Matthew Dean
ff94626eca Merge branch 'master' of https://github.com/less/less.js
* 'master' of https://github.com/less/less.js:
  Remove unreachable code
  Fix typos found by codespell
  Fix AST to include text for single line comments
  bin/lessc: Make sure path.dirname gets passed strings
  Add some more URLs for less-docs builds
  Add master branch path for less-docs builds
2016-04-08 13:25:13 -07:00
Matthew Dean
4c67576168 Merge pull request #2860 from shkdee/patch-1
Remove unreachable code
2016-04-04 11:38:05 -07:00
Louis Traynard
981cb95b1b Remove unreachable code
This line is unreachable. This is not just about code style, it actually also raises a compilation error when I try to include less.js in a TypeScript project (the TypeScript compiler performs some checks on the input .js files as well).
2016-04-04 16:38:18 +02:00
Matthew Dean
848c8acff7 Fix to function imports - only flag known nodes, empty function results allowed 2016-04-01 22:38:58 -07:00
Max Mikhailov
96877c7e54 Merge pull request #2859 from stweil/master
Fix typos found by codespell
2016-04-01 15:12:25 +03:00
Stefan Weil
bf279b36be Fix typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-01 12:01:40 +02:00
Max Mikhailov
f4957bd246 Merge pull request #2858 from zzzzBov/patch-1
Fix AST to include text for single line comments
2016-04-01 01:08:56 +03:00
Timothy
7853edcc96 Fix AST to include text for single line comments 2016-03-31 16:14:29 -04:00
Max Mikhailov
5bf6329469 Merge pull request #2853 from addaleax/path-dirname-string-input
bin/lessc: Make sure path.dirname gets passed strings
2016-03-27 18:47:43 +04:00
Anna Henningsen
ec04a03f1c bin/lessc: Make sure path.dirname gets passed strings
Since nodejs/node@08085c49b6, which will be part of Node.js v6.0,
functions from the `path` core module (like `dirname`) will require
the input to be a string.

Because `.sourceMapFullFilename` and `.sourceMapInputFilename` in
bin/lessc may be `undefined`, default to passing `'.'` to
`path.dirname` instead.
2016-03-27 12:27:27 +02:00
Matthew Dean
2c974b2c02 Add some more URLs for less-docs builds 2016-03-26 11:27:13 -07:00
Matthew Dean
c548e3c223 Add master branch path for less-docs builds 2016-03-26 10:52:38 -07:00
Matthew Dean
a577abf8e1 Clean up log messages 2016-03-25 14:45:20 -07:00
Matthew Dean
d666829260 Fix for Jasmine tests - don't log messages in production 2016-03-25 14:43:56 -07:00
Andrej
8feb269e8e Fix both issues of the refresh() function: #2844 (promise called sometimes too soon) and #2812 (promise never called if no less files were declared). 2016-03-24 15:20:00 +01:00
Matthew Dean
bcc8ced8b0 Merge pull request #2754 from Synchro/master
Update contrast function and tests, fixes #2743
2016-03-15 09:52:40 -07:00
Matthew Dean
2f07cd7b42 Merge pull request #2785 from less/root-functions
Allows root (non-value) functions in Less
2016-03-15 09:51:52 -07:00
Matthew Dean
87d59fabd6 Fix attempt for Travis build 2016-03-15 09:42:34 -07:00
Matthew Dean
6ae3582a8c Merge branch 'master' into root-functions
* master:
  Make sourcemap generation a bit faster
2016-03-15 09:30:10 -07:00
Matthew Dean
d094d7e8fb Merge pull request #2834 from Medium/nick-sourcemap
Make sourcemap generation a bit faster
2016-03-15 09:05:11 -07:00