Matthew Dean
55380d49e9
All tests passing
2017-10-08 18:31:41 -07:00
Matthew Dean
4f6818db37
Merge branch '3.x' into dev/3.x-work
2017-10-08 15:30:08 -07:00
Matthew Dean
26674fc867
FIXES syncImport for less-node
2017-10-08 15:21:13 -07:00
Max Mikhailov
006ce2651d
special functions: add boolean and if, clean up alpha
2017-06-07 16:31:35 +03:00
Matthew Dean
68ea31dc89
Line and column # reporting for Node errors
2017-01-01 12:58:09 -08:00
Matthew Dean
43ab0b8722
Added error test for unparseable @plugin with better error messaging
2016-12-31 20:04:51 -08:00
Matthew Dean
fda4565e8d
Replace "return {}" statement in plugins with explicit registerPlugin() function (more logical)
2016-12-31 11:53:53 -08:00
Matthew Dean
a38f8a1eb7
Added property accessors - performance issue solved by re-tooling value parsing
...
i.e. All values are anonymous strings until "queried"
- Unlike original PR, no change in existing test output for un-referenced properties
- unused variables would theoretically result in a tiny improvement in parsing time
2016-07-18 14:28:32 -07:00
Matthew Dean
270fd097c9
Plugin loader set up for lessc, node, and browser
2016-07-06 13:26:25 -07:00
Matthew Dean
bd14f14709
Rename @plugin to @use extensions
2016-06-24 20:36:00 -07:00
Matthew Dean
d061bdb2f1
Added tests for valid and invalid nodes returned by functions
2016-03-05 14:31:13 -07: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
Max Mikhailov
e3c13121df
allow unknown at-rules w/o {} block
2016-01-26 11:00:31 +03: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
Michal Moravec
7bafb62057
Converted CLRFs in error tests
2015-09-09 22:32:11 +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
Luke Page
936b78c6b4
See missing media blocks. Fixes #2494
2015-03-20 17:13:10 +00:00
Calvin Juárez
fb81856a61
tests – update tests to reflect changes
2015-03-10 18:26:40 -06:00
Bass Jobsen
121bdd8365
allow a list of colors as argument for the svg-gradient function
2015-02-11 20:35:28 +01:00
Luke Page
8ea1e880f2
improve error messages when failing to import for #2375
2015-01-11 16:30:29 +00:00
Luke Page
10ea767708
Fix #2242 - detect if less does not parse final character
2015-01-04 08:45:31 +00:00
Luke Page
49955d3a35
Fix parse error effectinge pseudo classes with guards. Fixes #2352
2015-01-03 17:07:06 +00:00
Luke Page
41732cc60b
pull out the input processing out of the parser class and a few small improvements - the no js option now applies to all js, including that within quotes. The Javascript node now also returns the right index.
2014-08-25 12:19:04 +01:00
Luke Page
cde9b79b6c
much improved comment parsing
2014-08-17 11:30:18 +01:00
Luke Page
f85f253586
merge from master
2014-08-14 17:27:16 +01:00
Luke Page
0e883957cc
tests for import malformed
2014-07-27 20:56:21 +01:00
Luke Page
1e04f3364d
better error message when import missing a semi-colon or malformed.
2014-07-27 20:47:19 +01:00
Luke Page
73c34ac24f
improve some of the error messages when not using the chunker.
2014-06-22 10:43:05 +01:00
Luke Page
94f746b5e7
move some dependencies out of chunker. make chunker optional. start fixing error messages chunker handled
2014-06-19 18:23:19 +01:00
Luke Page
fdd01f6b00
merge in latest 1.7.1 release
2014-06-10 19:30:21 +01:00
Luke Page
c872caa289
Merge pull request #1976 from peruginni/master
...
Added condition to check if HEX code contain only valid characters (issue #1015 )
2014-06-06 08:11:50 +01:00
Ondřej Macoszek
a5406a939c
Added another test case for missed space in color definition
2014-05-08 12:18:28 +02:00
Ondřej Macoszek
5b8b8def23
Added more flexible check for HEX color code. Also error is now less specific.
2014-05-08 12:12:06 +02:00
Luke Page
9ad5f181dc
Switch to a different js error as the text is different in new versions of node
2014-05-06 06:35:01 +01:00
Ondřej Macoszek
31ffdb8c9f
Added condition to check if HEX code contain only valid characters
2014-04-15 13:20:04 +02:00
XhmikosR
7efbcd31cf
Trim trailing whitespace.
2014-03-02 14:06:26 +02:00
Luke Page
beb52739c0
allow % to be passed to the unit function. Fixes #1550 and fixes #1571
2014-02-23 17:09:33 +00:00
Luke Page
7c90acaae6
Fix a small scope issue with mixins when using parent selectors, introduced in 1.6.2. Fixes #1877
2014-02-21 11:22:42 +00:00
Luke Page
b46ca11286
error tests and test detached rulesets without a mixin call
2014-02-13 21:42:32 +00:00
seven-phases-max
09c4311594
Added support for variables in certain at-rules (keyframes, namespace, charset).
2014-02-09 13:42:01 +04:00
seven-phases-max
7768a91b3c
Improved positioning of "missing closing )" error.
2014-02-01 08:31:40 +04:00
seven-phases-max
554448d49b
Improved missing ( and { error detection.
2014-02-01 03:03:00 +04:00
seven-phases-max
5146c1b1ee
improved multiple default() guards conflict detection, updated tests.
2014-01-21 19:11:08 +04:00
Luke Page
0f8f995983
Fix css guard error. fixes #1796
2014-01-11 18:35:11 +00:00
seven-phases-max
4d7a2bcd84
improved error message for undefined variable in js eval statement.
2013-12-27 17:42:37 +04:00
seven-phases-max
bbc15a413b
default function: added error when used with css-guards. updated tests.
2013-12-22 18:54:39 +04:00
Luke Page
b2b1451902
Merge branch 'mutually-exclusive-guards' of https://github.com/seven-phases-max/less.js
2013-12-19 06:33:38 +00:00
seven-phases-max
4fd9704266
Experimental support for "property name interpolation".
2013-12-18 07:09:14 +04:00
seven-phases-max
6d3414d217
Initial implementation of mixin guard default function (aka "mutually exclusive guards")
2013-12-17 06:32:35 +04:00