Commit Graph

1334 Commits

Author SHA1 Message Date
Luke Page
50e299b8bc Fix url import. Fixes #2089. 2014-09-07 14:40:28 +01:00
Luke Page
bc42a73886 Fix memory leak in error. Fixes #2025 2014-09-06 17:23:19 +01:00
Luke Page
6bd327b3f4 Merge branch 'iterated-interpolation-2094' of github.com:SomMeri/less-rhino.js into 2_0_0
Conflicts:
	lib/less/tree/quoted.js
2014-09-06 14:39:32 +01:00
Luke Page
723b410db0 Merge branch 'SomMeri-namespaces-guards-1418' into 2_0_0
Conflicts:
	lib/less/tree/mixin.js
	lib/less/tree/ruleset.js
2014-09-06 13:27:11 +01:00
Luke Page
518887e9cc Merge branch 'namespaces-guards-1418' of github.com:SomMeri/less-rhino.js into SomMeri-namespaces-guards-1418 2014-09-06 02:09:51 +01:00
Luke Page
cf0ac69767 Merge branch 'reworked-guard-comparison' of github.com:seven-phases-max/less.js into 2_0_0
Conflicts:
	lib/less/tree.js
	lib/less/tree/anonymous.js
	lib/less/tree/color.js
	lib/less/tree/condition.js
	lib/less/tree/dimension.js
	lib/less/tree/keyword.js
	lib/less/tree/quoted.js
2014-09-06 01:52:47 +01:00
Luke Page
e31442cd63 Merge branch '2_0_0' of https://github.com/less/less.js into 2_0_0 2014-09-05 23:32:44 +01:00
Luke Page
f2bc59f63b Merge remote-tracking branch 'origin/master' into 2_0_0
Conflicts:
	CHANGELOG.md
	lib/less/index.js
	lib/less/parser/parser.js
	lib/less/tree/dimension.js
2014-09-05 23:31:42 +01:00
jurcovicovam
a038121676 Cleaned up and added iteration for javascript too. 2014-09-05 17:04:06 +02:00
jurcovicovam
796d37cc66 Iterated string interpolation
Solves issue #2094 .
2014-09-05 16:47:37 +02:00
seven-phases-max
9f68f43552 Fix #1973 2014-09-05 14:11:03 +04:00
jurcovicovam
4a49c63696 Merge https://github.com/less/less.js into case-insensite-units-2096
Conflicts:
	test/css/comments.css
	test/less/comments.less
2014-09-05 10:08:54 +02:00
jurcovicovam
cbc8c78625 Added case insensitive units handling. Issue #2096 2014-09-05 10:05:13 +02:00
jurcovicovam
c330c3a4a8 Added guards checking to namespaces. Issue #1418. 2014-09-05 09:01:56 +02:00
Luke Page
d9c42e206d seperate out the environments at the top-most-level 2014-09-04 19:11:59 +01:00
Luke Page
9d230623d2 Parser no longer requires environment 2014-09-04 18:42:00 +01:00
Luke Page
a46de448a3 move import manager creation out of parser 2014-09-04 18:35:56 +01:00
Luke Page
4f5a449b0b move creation of env to invoker 2014-09-04 18:24:24 +01:00
Luke Page
e5faba5154 Remove some interdepedencies 2014-09-04 18:16:08 +01:00
Luke Page
ca77dc3a6e Parser does not need to have a parseEnv stored on itself 2014-09-04 17:58:12 +01:00
Luke Page
9af3819822 parser no longer needs to expose imports (they are on the parseTree) and can use a variable instead of a reference to itself 2014-09-04 17:56:12 +01:00
Luke Page
d3c6f2208f Move toCSS out to a new class (still need to remove creation of that class from parser) 2014-09-04 17:42:38 +01:00
Luke Page
20025f10b1 Remove duplication in render function 2014-09-04 15:57:20 +01:00
seven-phases-max
c4e2514905 reworked guard comparison 2014-09-04 01:14:51 +04:00
Luke Page
e108b50c51 move cleancss into lessc bin only 2014-09-03 18:33:19 +01:00
Luke Page
b55b596740 move transform out of the parser 2014-09-03 18:21:25 +01:00
Luke Page
544bd3abf0 Change code to use less.render 2014-09-03 16:24:09 +01:00
Luke Page
a0658a4b15 move render to be accessible in all environments and start using it in the browser 2014-09-03 15:07:33 +01:00
Luke Page
08e2fc4136 1.7.5 release 2014-09-03 08:04:50 +01:00
Luke Page
8fc964dc34 Merge remote-tracking branch 'origin/master' into 2_0_0
Conflicts:
	lib/less/index.js
	lib/less/parser/parser.js
	lib/less/tree/rule.js
	test/less/property-name-interp.less
2014-09-03 07:36:20 +01:00
seven-phases-max
36383dc89b Fix property interpolation for @* values 2014-09-02 00:02:49 +04:00
Rasmus Back
f16cc89570 Pass options object to parser.parse in less.render. 2014-08-27 18:02:46 +02:00
Luke Page
e33d0b9b79 Fix missing ^, causing parse error. Fixes #2154 2014-08-27 18:02:45 +02:00
jurcovicovam
37ae8c4adb Fragment handling in data-uri function 1959
The change removes #fragment from filePath before readig the file and adds
it back to the end of the generated uri.
2014-08-27 18:02:44 +02:00
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
ca72b4d92f Clean up dependency injection so environment is injected at the top level 2014-08-26 22:26:27 +01:00
Luke Page
16c4f88b7f small optimisation/fix todo 2014-08-25 12:25:54 +01:00
Luke Page
dc691d6896 Merge pull request #1921 from rback/master
Pass options object to parser.parse in less.render
2014-08-25 12:21:09 +01: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
f3c323810c make some corrections to comment 2014-08-25 09:32:41 +01:00
Luke Page
87203788a7 seperate out imports and tidy a few un-necessary optimisations 2014-08-25 09:28:17 +01:00
Luke Page
5d26a378e7 Merge branch 'master' into 2_0_0 2014-08-24 22:50:44 +01:00
Luke Page
c4ed7069e7 Fix missing ^, causing parse error. Fixes #2154 2014-08-24 22:43:11 +01:00
Luke Page
f02d920b12 move parser files into a parser directory 2014-08-24 18:56:01 +01:00
Luke Page
5148db6e3d move source map output into root directory 2014-08-24 18:50:43 +01:00
Luke Page
e325aec74d Also remove dep-injection from visitors, none of which use environment. make functions used as classes TitleCase 2014-08-24 18:47:25 +01:00
Luke Page
fe5e2bf7cb remove dependency injection from functions files apart from when needed for environment 2014-08-24 18:33:03 +01:00
Luke Page
95dedcc576 rename env to contexts 2014-08-24 18:03:33 +01:00
Luke Page
c41df95d23 move tree index underneath tree 2014-08-24 18:01:34 +01:00
Luke Page
16746e9b1e untangle the mess of dependencies and remove all circular dependencies. Remove un-necessary dependency injection. 2014-08-24 17:55:46 +01:00