Commit Graph

1380 Commits

Author SHA1 Message Date
Luke Page
148a0f5908 put the appendage of the .less extension through the file manager so that behaviour can be over-ridden. Fixes #2235 2014-10-21 13:16:40 +01:00
Luke Page
ba3d24a352 Support urls begining // which are unquoted. Fixes #2238 2014-10-21 13:01:01 +01:00
Luke Page
0fa3a9fe9c change version to beta 1 2014-10-19 21:12:05 +01:00
Luke Page
9f82ece8fb sourcemap filename is optional so put a guard around the path replace 2014-10-19 18:40:12 +01:00
Luke Page
fde35b7c1c Fix default rootpath. Do not apply to sourcemap filename. Replace windows directory seperators. 2014-10-19 18:21:49 +01:00
Luke Page
9d535c0470 Whitespace - undo unusual new() syntax 2014-10-19 16:57:22 +01:00
Luke Page
845ec72131 improve error reporting 2014-10-19 16:48:04 +01:00
Luke Page
c40069e83e Fix the API files 2014-10-12 16:49:38 +01:00
Luke Page
6d64213996 Fix issue #2221 2014-10-11 18:51:09 +01:00
Luke Page
b966cf1d1b some renames, tidy ups and bugfixes whilst adding npm plugin 2014-10-11 17:51:08 +01:00
Luke Page
c0f60cccf8 Fix plugin issues 2014-10-09 18:21:31 +01:00
Luke Page
a344240423 Remove unused warn function (replaced with logger) and allow null environments 2014-10-09 17:48:56 +01:00
Luke Page
9869b29c3d Add file manager to plugin system 2014-10-09 17:45:30 +01:00
Luke Page
d3ca207fe8 jsdoc and add file manager 2014-10-09 17:11:47 +01:00
Luke Page
91025dbe7e move browser log code out to log listener and remove option I added temporarily that wasn't an opiption 2014-10-07 21:05:26 +01:00
Luke Page
9be165ba8a Fix tests by adding logger to record messages in test common js 2014-10-07 07:42:35 +01:00
Luke Page
8d431179e5 Add logger 2014-10-05 20:36:23 +01:00
Luke Page
dedf0eee38 rename env to context to avoid confusion with environment 2014-10-05 18:50:34 +01:00
Luke Page
414df4d482 rename imports to class name 2014-10-05 10:53:52 +01:00
Luke Page
3af09233b1 Fix final weird error - in phantom only some console.log calls are going missing? 2014-10-05 10:42:38 +01:00
Luke Page
ee9eefd94f Fix some more browser tests 2014-10-05 09:30:00 +01:00
Luke Page
27494c280e Fix svg function in browser 2014-10-04 18:49:12 +01:00
Luke Page
10296d2947 Merge pull request #2217 from seven-phases-max/2_0_0
Fix interpolated selector match regression
2014-10-04 18:06:23 +01:00
Luke Page
70bf802b2c Fix the main browser tests 2014-10-04 18:04:50 +01:00
Luke Page
7a6b1e278b Pull out the file manager aspect of the environment so new file managers can be added dynamically 2014-10-04 17:46:30 +01:00
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
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
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
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