jurcovicovam
d086d64e12
Eat up comments instead of calling them parse error:
...
* in @keyframe declaration #2059 ,
* after rule name before semicolon #826 .
The comments are eaten instead of being printed into output, but it is
better then crashing on them.
2014-08-27 17:50:33 +02:00
Luke Page
c4ed7069e7
Fix missing ^, causing parse error. Fixes #2154
2014-08-24 22:43:11 +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
fc26d5c77e
Fix backtracking on multiplication to support dimension /|* keyword, with or without strict maths. Fixes #2066 .
2014-06-22 11:23:33 +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
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
beb52739c0
allow % to be passed to the unit function. Fixes #1550 and fixes #1571
2014-02-23 17:09:33 +00:00
Luke Page
baba33ea6a
Fix some bugs with detached rulesets and media queries
2014-02-17 19:15:47 +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
Josh Schmidt
815741acfb
Check value of elements before getting args
...
When parsing, mixin.call() doesn't need to look for mixin.args if there weren't any elements
2014-01-22 20:05:44 -07:00
seven-phases-max
52ba472bb7
Added rounding of output numbers (hardcoded to max. 8 digits in this commit).
2014-01-18 09:58:14 +04:00
Kemal Dag
94ef7cba5e
small compatibility fix for prototype.js
2014-01-14 18:38:17 +02:00
Luke Page
86476d58cb
allow empty files
2014-01-12 11:51:02 +00:00
Luke Page
3755fb28b0
Merge pull request #1780 from brenmar/master
...
#1778 standardised using starting index, to fix incorrectly mapped sourcemaps
2014-01-11 10:43:16 -08:00
Luke Page
0f8f995983
Fix css guard error. fixes #1796
2014-01-11 18:35:11 +00:00
Luke Page
92c3ac2c88
support shadow dom selectors. fixes #1801
2014-01-11 17:43:19 +00:00
seven-phases-max
bca1f996a6
Fixed incorrect property interpolation for certain variable types, updated tests.
2014-01-07 19:51:41 +04:00
Mark Brennan
261d4e0f9c
fixed using starting index for parser nodes, which enables the creation of accurate source maps
2014-01-05 21:10:55 -08:00
Luke Page
626b004263
add comment explaining new function check
2014-01-03 07:14:47 +00:00
Matthew Dean
13aba08ed8
Fixes "function" test against regular expressions
...
In some browser engines (especially older versions of Webkit), this
test fails when the argument is a RegExp.
See:
http://stackoverflow.com/questions/5054352/why-use-typeof-for-identifyin
g-a-function
Fix tested and works with Adobe AIR.
2014-01-02 15:04:02 -08:00
Luke Page
479827b02f
add banner option. Fixes #1735
2013-12-22 16:17:52 +00:00
Luke Page
8440773f8a
change to use format consistent with the browser and for sourcemaps to take additional variables into account
2013-12-21 11:14:35 +00:00
Luke Page
9fccf9643f
Merge branch 'parse-add-variables' of https://github.com/joscha/less.js
...
Conflicts:
lib/less/parser.js
test/less-test.js
2013-12-20 16:41:27 +00:00
seven-phases-max
ebdadaedac
Experimental support for "property name interpolation", part-2.
2013-12-18 07:10:00 +04:00
Luke Page
3818727bf7
jshint: boss
2013-12-16 23:23:34 +00:00
Luke Page
4f7c06c9c8
jshint: eval option
2013-12-14 20:01:09 +00: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
Joscha Feth
723cdb501e
This adds an additional vars parameter to the parse method. It allows a user to inject variables into a less string before compiling.
2013-12-08 22:50:54 +01: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
5c41f72fa9
add clean css options parameter and option. fixes #1721
2013-12-08 10:52:06 +00:00
Luke Page
3b242daacd
allow plugins
2013-11-17 23:07:01 +00:00