Commit Graph

48 Commits

Author SHA1 Message Date
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
Luke Page
5d54af2039 import interpolation finished. refactored the import phase to occur only within the import visitor - so that the import eval env can be passed between imports. 2013-03-01 13:40:54 +00:00
Luke Page
914eb404d7 Fix import errors in browser mode. Fixes #1117 and fixes #1118 2013-02-10 12:47:25 +00:00
Luke Page
88f3f02213 Correct some error inconsistancies. Add browser testing of errors - import missing error fails because of #1117 2013-02-05 22:38:43 +00:00
Luke Page
d9d959fd21 Ensure error thrown uses 'type' not 'name' 2013-02-03 11:55:34 +00:00
Luke Page
aecab5e7dd add error tests for value lists in brackets 2013-02-03 00:06:52 +00:00
Luke Page
c27922890d Add tests for strict unit errors 2013-01-31 07:06:59 +00:00
Luke Page
8325548b7f bad error message trying to assign @@var. Fixes #1077 2012-12-16 08:57:16 +00:00
Luke Page
2d73502955 Fix tests and report error at index -1 so it is a valid index 2012-12-09 15:42:14 +00:00
Luke Page
e3268e12b2 detect parse errors, even with an import. fixes #1053 2012-12-08 13:38:22 +00:00
Luke Page
6ec856097c self referencing variable gives a proper error (no stack overflow). Fixes #972 2012-10-29 20:22:05 +00:00
Luke Page
e1485dd706 Fix #990 - error message incorrect 2012-10-21 16:16:51 +01:00
Luke Page
0ab748371c basic support in definition, clean up and tests 2012-10-21 15:20:24 +01:00
Luke Page
587d6c2338 Add support for ';' as a delimiter 2012-10-21 15:20:24 +01:00
Luke Page
bd8679b4c6 Fix error unit tests to run on any computer 2012-08-21 07:20:23 +01:00
Luke Page
e0fc8986cb Add test for #826 2012-08-12 19:44:06 +01:00
Luke Page
3e052e5580 Add more error tests from #244 2012-08-12 13:35:55 +01:00
Luke Page
42b83ef523 Make the test runner accept a argument to restrict the tests running (for debugging). Make the test runner pass the filename so it behaves like lessc - this fixed one of the tests. Also corrected the tests to run given the new format of the message 2012-08-11 22:28:57 +01:00
Luke Page
8c6d14bcf2 Fix previous test. Fix error on invalid import. Fixes #761 2012-08-11 20:35:29 +01:00
Luke Page
22b3ee939d More tests for errors 2012-08-11 16:04:32 +01:00
Luke Page
b809e8eeb2 Fix #861 and introduce tests for errors 2012-08-11 12:00:28 +01:00