Commit Graph

70 Commits

Author SHA1 Message Date
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
Luke Page
ff8285fbc6 some code review changes and test for the new extra/missing parens check 2013-12-14 17:59:59 +00:00
Luke Page
5367b8b6be Merge branch 'perf-tune' of https://github.com/fredburger/less.js
Conflicts:
	lib/less/to-css-visitor.js
2013-12-08 17:25:58 +00:00
Luke Page
bdab12151a Merge branch 'color-ops-fixes' of https://github.com/seven-phases-max/less.js
Conflicts:
	test/less/errors/color-operation-error.txt
2013-12-08 11:11:18 +00:00
seven-phases-max
ba5c8189cd Fixed line/column numbers in math expr/ops error messages. Updated tests. 2013-12-05 10:56:20 +04:00
seven-phases-max
4b113be27e improved alpha channel handling for math ops, removed 'can't substract or divide a color from a number' constraint 2013-11-24 04:46:27 +04:00
fredburger
52dc714927 New input chunker in parser.js. #1615 2013-10-30 08:12:44 +01:00
Luke Page
9a7351d27f fix spacing issue with extends and fix tests 2013-10-20 11:28:47 +01:00
Luke Page
d8d936862d Fix error message when putting guards on a single selector 2013-10-17 17:51:25 +01:00
Luke Page
0465398ab6 throw an error when the unit function is passed bad input. Fixes #1426 2013-09-18 05:54:38 +01:00
Luke Page
793bb89a2a Test for invalid colors. Fixes #1458 2013-09-16 19:50:05 +01:00
Luke Page
41f53f2fc2 correct radial gradient format to w3c spec 2013-07-30 12:07:15 +01:00
Luke Page
cfe9ae7798 Add svg-gradient function. Fixes #1383 2013-07-05 06:51:58 +01:00
Luke Page
2392e4133e Fix index on mixed units error. Fixes #1228 2013-03-18 10:54:01 +00:00
Luke Page
2ff9ae521e Allow circular references and ignore them when they become circular 2013-03-07 14:17:20 +00:00
Luke Page
7170aaf06e First part of extend chaining 2013-03-07 12:17:24 +00:00
Luke Page
10caaac723 correct bad test txt 2013-03-06 09:53:57 +00:00
Luke Page
c139c6e4df error when property is used in root. Fixes #442 2013-03-05 13:28:49 +00:00
Luke Page
aac8e973fe Add an extend finder visitor and extend processor visitor (breaks extend for now) 2013-03-04 10:03:16 +00:00