Commit Graph

505 Commits

Author SHA1 Message Date
Luke Page
f85f253586 merge from master 2014-08-14 17:27:16 +01:00
Luke Page
74766691cc Support for /deep/ selector. Fixes #2023 2014-08-14 16:35:13 +01:00
Luke Page
1e04f3364d better error message when import missing a semi-colon or malformed. 2014-07-27 20:47:19 +01:00
jurcovicovam
d44a524b92 Raise error in case of an empty selector inside :extend. 2014-07-25 22:35:51 +02:00
Luke Page
383027886c merge from master 2014-06-22 16:05:09 +01:00
Luke Page
fc26d5c77e Fix backtracking on multiplication to support dimension /|* keyword, with or without strict maths. Fixes #2066. 2014-06-22 11:23:33 +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
Forbes Lindesay
01a5d7cd8c Fix incorrect variable name for error 2014-06-06 11:03:06 +01:00
Forbes Lindesay
8c978cd767 Pass env to chunker for use in error messages 2014-06-06 10:58:29 +01:00
Forbes Lindesay
07f9ba258e Move chunker and LessError into separate files
This begins the process of cleaning up parser.js
[see #1902]
2014-05-20 16:12:18 +01: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
Ondřej Macoszek
31ffdb8c9f Added condition to check if HEX code contain only valid characters 2014-04-15 13:20:04 +02:00
Luke Page
aa3abeb716 fix trailing whitespace 2014-03-02 17:51:31 +00:00
Luke Page
7dfc0cf9b0 Merge branch 'whitespace' of github.com:XhmikosR/less.js into 2_0_0
Conflicts:
	lib/less/functions.js
	lib/less/index.js
	lib/less/tree/anonymous.js
	lib/less/tree/media.js
	lib/less/tree/mixin.js
2014-03-02 12:36:49 +00:00
Luke Page
7f34acd6d1 move visitors to a different namespace 2014-03-02 12:28:04 +00:00
XhmikosR
7efbcd31cf Trim trailing whitespace. 2014-03-02 14:06:26 +02:00
Luke Page
e5b0fb6967 move the visitors to return themselves instead of assuming where they live 2014-03-02 10:19:05 +00:00
Luke Page
ee64392362 Merge branch 'master' into 2_0_0
Conflicts:
	lib/less/import-visitor.js
	lib/less/index.js
2014-02-27 21:12:49 +00:00
Luke Page
0c8e117b85 update readme and rename LESS to Less 2014-02-27 20:22:47 +00:00
Luke Page
ccd8ebbfdf always execute import-once in the same way. Fixes #1898 2014-02-27 06:12:31 +00:00
Luke Page
ddf1a45e5e continue moving node functionality into the environment interface. function names need making consistent etc. 2014-02-24 21:51:38 +00:00
Luke Page
462b0274b2 move environment to the less namespace 2014-02-24 21:28:21 +00:00
Luke Page
08bd23dc2a add browserify (not yet working) and refactor tree nodes to not be dependent on their parent (currently breaks browser build) 2014-02-24 21:22:52 +00:00
Luke Page
f65da55168 Fix tests 2014-02-24 09:40:18 +00:00
Luke Page
e8c78d9d40 Merge branch 'master' into 2_0_0
Conflicts:
	lib/less/browser.js
	lib/less/parser.js
2014-02-23 17:38:39 +00: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
9d94e1c914 move the browser file out into the same format as the node environment file 2014-02-22 18:02:17 +00:00
Luke Page
e989b01f51 remove the old importer interface and move the node code into the common importer 2014-02-22 16:47:59 +00:00
Luke Page
f0d0ac965d Merge branch 'master' into 2_0_0
Conflicts:
	package.json
2014-02-22 15:31:32 +00:00
Luke Page
baba33ea6a Fix some bugs with detached rulesets and media queries 2014-02-17 19:15:47 +00:00
Luke Page
c844b022f9 remove unused optimization level 2014-02-15 14:49:25 +00:00
Luke Page
8ddcf66a67 Merge branch 'color-string-variable' of https://github.com/seven-phases-max/less.js into 2_0_0 2014-02-13 22:43:53 +00:00
Luke Page
15174c0860 small approx 1% speed improvement 2014-02-12 23:38:35 +00:00
Luke Page
ef3c63fb9a Test out some theoretical back tracking and fix bugs 2014-02-12 23:34:14 +00:00
Luke Page
e3576b9c01 implement n level back-tracking and then don't absorb a parenthesis, fixing both issues with 2 new test cases 2014-02-12 23:10:52 +00:00
Luke Page
ed0e13a0ec do not chunk inside parens so that we can predict mixin calls containing detached rulesets. Also now save the current chunk (may not be required). 2014-02-12 22:34:58 +00:00
Luke Page
7f26515630 small simplification 2014-02-11 22:02:48 +00:00
Luke Page
55033c77ed more tests and name arguments for caller 2014-02-11 22:01:26 +00:00
Luke Page
2be0b8c922 Merge remote-tracking branch 'origin/master' into detached-rulesets 2014-02-11 13:53:16 +00:00
Luke Page
f7414a1072 detached rulesets 2014-02-09 22:20:08 +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
9f4818d8fd Added support for property merge via +_; 2014-02-04 06:54:05 +04:00
Luke Page
eba67deddf Merge branch 'property-interp-fix-2' of https://github.com/seven-phases-max/less.js
Conflicts:
	lib/less/parser.js
2014-02-01 18:33:58 +00:00
Luke Page
4923696958 Merge branch 'patch-6' of https://github.com/oyejorge/less.js 2014-02-01 18:28:04 +00:00
Luke Page
245717afaa Fix parser error with block comments. Fixes #1833 2014-02-01 08:42:10 +00:00
seven-phases-max
7768a91b3c Improved positioning of "missing closing )" error. 2014-02-01 08:31:40 +04:00
seven-phases-max
98df50e016 removed debugger statement mistakenly left out. 2014-02-01 03:58:24 +04:00
seven-phases-max
554448d49b Improved missing ( and { error detection. 2014-02-01 03:03:00 +04:00