1467 Commits

Author SHA1 Message Date
seven-phases-max
a51c8480ef Fix interpolated selector match regression 2014-10-04 20:19:50 +04:00
Luke Page
d4415a567a Add an option to get the input filename 2014-10-04 13:50:30 +01:00
Luke Page
823ab221dd further simplifications to the parse context 2014-09-22 21:24:48 +01:00
Luke Page
3f38581ce3 move some contexts into the import manager 2014-09-22 20:44:01 +01:00
Luke Page
b3b8b278bd import managaer related simplifications 2014-09-22 20:32:46 +01:00
Luke Page
ff72e24ba5 Fix browser if no less object specified 2014-09-22 20:31:25 +01:00
Luke Page
0c1fb3248b Add another todo 2014-09-21 16:48:35 +01:00
Luke Page
fb6c879cc4 remove env from all environment calls except the ones that actually need it 2014-09-21 16:46:44 +01:00
Luke Page
a53be80014 make the import manager one instance per render 2014-09-21 16:36:06 +01:00
Luke Page
40e0b212a6 simplify sourcemapfilename in lessc and expose the output filename 2014-09-20 03:26:06 +01:00
Luke Page
c07531a46f Fix the sourcemap options to default to the correct directories 2014-09-20 02:59:24 +01:00
Luke Page
5dbae36642 Do not require users to construct a source map builder 2014-09-20 00:43:02 +01:00
Luke Page
e172602938 change render and tree to return an object containing css and map and in the future possibly other things 2014-09-20 00:29:05 +01:00
Luke Page
d9a6b46234 initial work to allow post process plugins to work with sourcemaps 2014-09-19 14:45:41 +01:00
Luke Page
b721c4f44f use a sourcemap builder for sourcemap output, seperated from the other less options 2014-09-18 22:23:15 +01:00
Luke Page
bc335d142f move rhino to its own folder 2014-09-18 14:03:25 +01:00
Luke Page
86f78fa197 support min version 2014-09-18 12:53:05 +01:00
Luke Page
771ab4e430 sort out usage and allow a plugin argument 2014-09-17 21:14:40 +01:00
Luke Page
c7f8fe54cf Merge branch '2_0_0' of https://github.com/less/less.js into 2_0_0 2014-09-17 15:09:21 +01:00
Luke Page
6ea7a1995e move out clean css 2014-09-17 15:09:04 +01:00
Max Mikhailov
1ecce8b3ca tree/directive.js: fix incorrect accept() code
Fixes #2191.
2014-09-17 11:45:57 +04:00
Luke Page
4927bf1665 Add first draft post-processors, fix render function when using callback. remove regex compression (not compatible with sourcemaps) 2014-09-12 14:54:30 +01:00
Luke Page
e357dae7bc allow lessc to load plugins. rename visitor directory to visitors to match others. Fix indexes in URL 2014-09-09 21:20:04 +01:00
Luke Page
1a78cd5901 Remove unnecessary text from require statements 2014-09-08 00:57:50 +01:00
Luke Page
2778f53266 Point at the node version of less when imported and expose the environment non-specific one 2014-09-07 15:07:45 +01:00
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