Matthew Dean
54affb852b
Faster Jasmine tests, Sauce Labs settings update / trying to fix Sauce Labs issues for specific browsers
2016-07-16 20:45:12 -07:00
Matthew Dean
ec30272425
Update Gruntfile.js with a more comprehensive (and up-to-date) browser testing list for Sauce Labs
2016-07-16 14:22:19 -07:00
Matthew Dean
a3e43acb26
Pass function registry to plugin install()
...
- Create Anonymous nodes from non-null (but non-Node) function return values
- Allow empty Anonymous nodes to collapse on output
2016-07-15 16:05:20 -07:00
Matthew Dean
9b0c8abb54
Reduced lookups and type checking on object properties
2016-07-15 16:03:02 -07:00
Matthew Dean
992f1f3ca3
Added more accurate & detailed benchmark
2016-07-14 13:14:58 -07:00
Matthew Dean
623bc2f816
3.0.0-pre.2 dist files
2016-07-14 12:29:54 -07:00
Matthew Dean
1136a9c050
3.0.0-pre.2
2016-07-14 12:29:11 -07:00
Matthew Dean
e309bf67a2
Added the concept of inherited index / fileInfo for nodes
2016-07-14 02:07:15 -07:00
Matthew Dean
b39b36f700
Update dist files
2016-07-13 12:03:56 -07:00
Matthew Dean
2766d40479
Rename version to pre-release
2016-07-13 12:01:50 -07:00
Matthew Dean
d5803515d5
Allow minimum Less version for plugins to be a string
2016-07-13 02:33:28 -07:00
Matthew Dean
16c80efa61
Fix directive / rule shims
2016-07-13 01:38:30 -07:00
Matthew Dean
1ecb327a67
Merge branch 'feature/@plugin' into 3.x
...
* feature/@plugin:
All tests passing for @plugin - Inline JavaScript disabled by default - Deprecated "preprocessor" option removed (preprocessor plugins still valid)
Plugin loader set up for lessc, node, and browser
2016-07-12 22:35:16 -07:00
Matthew Dean
ad57737ce0
All tests passing for @plugin
...
- Inline JavaScript disabled by default
- Deprecated "preprocessor" option removed (preprocessor plugins still valid)
2016-07-12 22:26:39 -07:00
Matthew Dean
270fd097c9
Plugin loader set up for lessc, node, and browser
2016-07-06 13:26:25 -07:00
Matthew Dean
52e9b5e4fe
Rename Directive -> AtRule & Rule -> Declaration
...
- Added tree shim for old node types and plugin visitor shim to upgrade node visitors to new node types
2016-07-01 20:53:01 -07:00
Matthew Dean
c73f50e2c7
Added plugin function "setContext()". Allows the context from where the plugin is declared to be passed into the plugin after it is evaluated. (Useful for creating function calls / vars dynamically.)
2016-07-01 15:08:48 -07:00
Matthew Dean
777d95f11b
Add plugin cache to plugin manager
...
- Add visitor iterator so that visitors can be added while visiting (such as plugins in nested scope)
2016-07-01 14:44:54 -07:00
Matthew Dean
27492a71ef
Rename extensions back to plugins
2016-07-01 14:43:34 -07:00
Matthew Dean
1df9443cf4
Add create() and getLocalFunctions() to function registry so it can be used for plugins
2016-07-01 14:43:00 -07:00
Matthew Dean
a1c08857e4
Add AbstractPluginLoader to create a cross-platform abstraction for loading plugins by name
2016-07-01 14:39:52 -07:00
Matthew Dean
bd14f14709
Rename @plugin to @use extensions
2016-06-24 20:36:00 -07: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