1718 Commits

Author SHA1 Message Date
Matthew Dean
c93b7f6395 Revert contrast() changes in 2.7.1 2017-01-04 17:53:19 -08: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
d3e1531370 v2.7.1 HOTFIX 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 2016-05-07 18:35:07 -07: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
Andrey Taritsyn
cb1f0f50bb Fix invalid extraction of the host part from URL 2016-05-04 21:30:51 +03:00
Matthew Dean
d07a9b6cc6 Fix for #2841 - Fix reversion for "color-like" keywords. 2016-04-22 16:31:56 -07:00
Michiel Lowijs
a76db10182 Changed octals to hex for ES6 strict mode 2016-04-10 17:17:16 +02: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
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
Stefan Weil
bf279b36be Fix typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-01 12:01:40 +02:00
Timothy
7853edcc96 Fix AST to include text for single line comments 2016-03-31 16:14:29 -04:00
Matthew Dean
a577abf8e1 Clean up log messages 2016-03-25 14:45:20 -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
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
Matthew Dean
d061bdb2f1 Added tests for valid and invalid nodes returned by functions 2016-03-05 14:31:13 -07:00
Nick Santos
470af20f64 Make sourcemap generation a bit faster 2016-03-04 17:55:55 -05:00
Matthew Dean
6e97db84b3 Tests passing for creating directives 2016-03-04 14:10:53 -07:00
Matthew Dean
7a80224415 Merge branch 'master' into root-functions 2016-03-04 09:47:48 -07:00
Matthew Dean
b550b2081f v2.6.1 2016-03-04 09:37:57 -07:00
Max Mikhailov
4bd587818c Merge pull request #2797 from seven-phases-max/fix-variable-call-whitespace
Disallow whitespace in variable calls (i.e "DR"-calls)
2016-02-24 20:01:08 +03:00
meri
c12a7df917 This fixes #2798 - left part of inequality could not be enclosed in
parenthesis.
2016-02-17 16:20:17 +01:00
Max Mikhailov
7b4dcc10f6 remove redundant condition in parser.expect per #2804 2016-02-17 11:33:46 +03:00
Max Mikhailov
67c3875900 Merge pull request #2804 from marijaselakovic/master
use instanceof operator instead of class comparison optimization
2016-02-17 11:30:48 +03:00
Max Mikhailov
17efa868be Merge pull request #2806 from seven-phases-max/fix-named-colors-regression
Fix comments after named color regression
2016-02-06 06:01:48 +03:00
Max Mikhailov
01b11a7440 Fix comments after named color regression 2016-02-06 04:29:07 +03:00
marija
3d23cce4b1 use instanceof operator for class comparison 2016-02-05 16:56:19 +01:00
Matthew Dean
b67403d341 Add allowRoot property to nodes that can be returned by a function into root or ruleset 2016-02-01 19:49:20 -08:00
Max Mikhailov
f1ded2b2f4 disallow whitespace in variable calls 2016-02-01 23:48:06 +03:00
Luke Page
29f8ae22cc upgrade jshint and fix new errors 2016-01-30 08:29:47 +00:00
Luke Page
2c0f833a1b Fix jscs error 2016-01-30 07:12:39 +00:00
Matthew Dean
633e499566 - Bump version to 2.6.0 and update changelog 2016-01-29 11:55:13 -08:00
Matthew Dean
0a703c4d7f v2.5.4 2016-01-29 07:36:11 -08:00
Max Mikhailov
a58bb76e4c polish "root func" error handling 2016-01-29 02:20:40 +03:00
Matthew Dean
7f535a891d Allow root functions defined via @plugin 2016-01-26 16:54:51 -08:00
Matthew Dean
809f1b1862 Merge pull request #2735 from less/browser-cache
Fix for #2384 and caching enabled with modifyVars set
2016-01-26 09:54:39 -08:00
Max Mikhailov
e3c13121df allow unknown at-rules w/o {} block 2016-01-26 11:00:31 +03:00
meri
8cc6ea89b1 Logical operator and now has higher precence then logical operator or. 2016-01-17 19:37:51 +01:00
meri
d538509101 Merge https://github.com/less/less.js 2016-01-14 23:46:37 +01:00
meri
ce55a8e79c Fixing #2124 - Parsing Error "Unrecognised input" for color operations
with color names.
2016-01-14 23:46:05 +01:00
Mária Jurčovičová
8c1fcb5115 Merge pull request #2763 from SomMeri/master
Added "or" keyword and allowed arbitrary logical expression in guards.
2016-01-14 14:27:36 +01:00
meri
1791587fdc removed pointless comment 2015-12-20 20:25:55 +01:00
meri
07c1c821e9 Simplified code. 2015-12-20 20:25:11 +01:00