1607 Commits

Author SHA1 Message Date
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
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
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
meri
0952847217 remove debug logs 2015-12-20 20:24:09 +01:00
meri
81f6fcc312 testing predictability of pure virtual method 2015-12-20 20:19:52 +01:00
meri
77627050c7 Added "or" keyword and allowed arbitrary logical expression in guards. 2015-12-20 20:11:11 +01:00
Mária Jurčovičová
52281b68c1 Merge pull request #2759 from SomMeri/master
Fixed extend leaking through nested parent selector.
2015-12-16 14:27:34 +01:00
meri
c2477751e6 Fixed typo. 2015-12-13 15:54:00 +01:00
meri
dd09691b38 Fixed extend leaking through nested parent selector. #2586 2015-12-13 15:49:20 +01:00
Mária Jurčovičová
78bf3f18a9 Merge pull request #2485 from seven-phases-max/allow-underscore-after-numbers
Allow underscore in a dimension unit
2015-12-07 13:00:03 +01:00
meri
ead3e29f7b Fixing import by reference
- refactored how import reference works
- refactored to-css-visitor (this is side product, it was getting
  complicated)
- fixes issues #1851, #1896, #1878, #2716, #1968, #2162 (same as #1896)
2015-11-20 15:10:53 +01:00
Luke Page
33fa72767e v2.5.3 2015-09-25 12:50:16 +01:00
Luke Page
c7a6e8d886 Fix import inline. Fixes #2703 2015-09-25 12:39:24 +01:00
Luke Page
f0c454bc68 v2.5.2 2015-09-24 20:21:01 +01:00
Luke Page
dac026abd4 Merge pull request #2609 from mmelvin0/master
Skip missing optional imports
2015-09-24 20:14:54 +01:00
Luke Page
1f624bdf38 Merge pull request #2644 from SomMeri/percentage-should-error-on-nan-2553
`percentage` function should throw error if result would be `NaN`
2015-09-17 07:49:45 +01:00
Luke Page
8dc3bfb024 Merge pull request #2646 from SomMeri/mixin-matching-with-default-parameters-2645
Parametric mixins: parameters don't match error
2015-09-17 07:48:58 +01:00
Luke Page
21858a50d5 Merge pull request #2642 from SomMeri/import-by-reference-inline-2620
Fixes import by reference inlines source's inline imports - 2620
2015-09-09 13:04:14 +01:00
Luke Page
8a135bd89b Merge pull request #2643 from SomMeri/shorthand-color-interpolated-into-selector-1481
Keep shorthand color form the same way as named colors are kept.
2015-09-09 13:03:03 +01:00
Jacques Favreau
74ef1ebacd Reference inline comments.
As described in https://github.com/less/less.js/issues/2675 in-value comments are not preserved in referenced rules.

This patch adds reference marking to nodes below rules and expressions if markReferenced is available.
2015-08-31 11:42:40 -07:00
jurcovicovam
19dc9e78b9 Added getIsReferenced into anonymous node. The visibility of anonymous
node type now works the same way as visibility of ruleset or directive.
2015-07-25 16:03:06 +02:00
jurcovicovam
e7ce82bec6 Fixed mixins definition matching problem when mixin definition contains
parameters with default values. #2645
2015-07-22 17:02:36 +02:00
jurcovicovam
e8efa6e033 Percentage should work the same way as other math functions (round, floor,
etc) and throw error on NaN. #2553
2015-07-20 14:31:53 +02:00
jurcovicovam
30fe1cb9e2 Keep shorthand color form the same way as named colors are kept. #2481 2015-07-19 14:54:41 +02:00
jurcovicovam
34e3ea61ce Import inline located inside file imported by reference should not be
present in output. Close #2620
2015-07-19 14:07:21 +02:00
seven-phases-max
3178103b7f merge updated expand-operator with master
plus reworked tests
2015-06-25 23:53:32 +04:00
seven-phases-max
8204eca8a0 Merge branch 'philschatz_patch-1' into expand-operator 2015-06-25 17:53:55 +04:00
Michael Melvin
d4b9004647 Skip missing optional imports 2015-06-12 16:50:37 -07:00
Luke Page
59c012c16a 2.5.1 release 2015-05-21 12:26:46 +01:00
seven-phases-max
28006cf721 fix Ruleset.prototype.find failing in certain (programmatic usage) cases 2015-04-26 19:50:47 +04:00
seven-phases-max
7203286706 fix #2558 2015-04-19 19:49:27 +04:00
Luke Page
9b7021a309 2.5.0 release 2015-04-03 09:53:16 +01:00
Luke Page
7ed9574d8a Merge pull request #2530 from seven-phases-max/proper-non-primitive-value-replacement-for-format-and-replace
Proper non-primitive value replacement for `%` and `replace`
2015-04-03 08:04:03 +01:00