153 Commits

Author SHA1 Message Date
Max Mikhailov
c5fe8934f8 Merge pull request #2830 from gtalusan/master
make --depends generate no CSS output
2016-04-12 16:42:03 +04:00
George Talusan
dff9697286 make --depends generate no output 2016-04-12 08:33:00 -04:00
Anna Henningsen
ec04a03f1c bin/lessc: Make sure path.dirname gets passed strings
Since nodejs/node@08085c49b6, which will be part of Node.js v6.0,
functions from the `path` core module (like `dirname`) will require
the input to be a string.

Because `.sourceMapFullFilename` and `.sourceMapInputFilename` in
bin/lessc may be `undefined`, default to passing `'.'` to
`path.dirname` instead.
2016-03-27 12:27:27 +02:00
jurcovicovam
ce4a7bc0e9 Undefined source map should result in an empty map file. #2430 2015-07-17 09:57:55 +02:00
Luke Page
dbe2eaa5f7 Tidy up path splitting 2015-04-03 08:33:21 +01:00
Adam Royle
b4bf0546b7 Add support for : or ; path separators in --include-path regardless of platform. Understands absolute paths with Windows drive letters (ie. .:C:\Windows\) 2015-03-22 07:40:30 +10:00
Bill Huneke
328ea62d7c re: #2508 - revert #2510 - undo all fixes. issue == WONTFIX 2015-03-20 12:01:33 -04:00
wahuneke
96ad40dec2 was missing declaration for a variable
sorry bout that. fixed.
2015-03-18 17:43:17 -04:00
Bill Huneke
e19e89d4f4 Merge branch 'master' into fix_issue_2508
Conflicts:
	bin/lessc
2015-03-18 16:34:08 -04:00
Bill Huneke
9585d4a063 fixes: #2508 - strip quotes on lessc command line input/output file names 2015-03-18 16:24:46 -04:00
Luke Page
4492a3a64e Tidy up the calls to console.error vs console.log. Fixes #2457 (part 2) and fixes #2461 2015-02-26 19:02:12 +00:00
Luke Page
7e48d83f86 Set error code in all cases where invalid args are given. Fixes #2457 2015-02-26 18:50:36 +00:00
Luke Page
604c911441 style cop 2 - indentation 2015-01-30 20:41:25 +00:00
Luke Page
1494e25ef0 More style cop.. 2015-01-30 18:28:02 +00:00
Luke Page
66fe6d8064 Fix depends option Fixes #294 2015-01-28 17:17:17 +00:00
Luke Page
d206167c84 enforce spaces between operators for consistency 2015-01-27 22:24:12 +00:00
Luke Page
08a7f9ebeb more whitespace rules 2015-01-27 21:38:13 +00:00
Luke Page
31c3d04980 jscs style checking. Fixed whitespace issues. 2015-01-26 23:34:35 +00:00
jurcovicovam
ea122a8ea5 Added error handling to file write for both css file and source map file.
#2408
2015-01-26 10:49:47 +01:00
Luke Page
2738aaea66 Merge pull request #2390 from bassjobsen/patch-7
message when sourcemap has been written
2015-01-15 07:06:02 +01:00
shaun
7f8026284a Remove BOM in imports.
Modified tests to run against a copy of the test files with BOMs inserted
into each .less and .css file (the copies are generated automatically if
the /test/less-bom folder doesn't exist or is empty).
2015-01-13 20:32:47 -08:00
Bass Jobsen
e8aa9442aa message when sourcemap has been written 2015-01-13 21:39:05 +01:00
Luke Page
4ddcf63d33 Use the parser for modify vars and global vars - Fixes additional \n in sourcemap content. Fixes #1761 2015-01-04 10:51:33 +00:00
Luke Page
39a93cb9ba Deprecate compression option. Fixes #2318 2015-01-01 17:38:40 +00:00
Luke Page
5e4fa2a5a5 Fix the depends option. Fixes #1799 2014-11-15 10:12:27 +00:00
Luke Page
e02449b656 improve some of the source map options 2014-10-19 21:00:19 +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
c0f60cccf8 Fix plugin issues 2014-10-09 18:21:31 +01:00
Luke Page
9869b29c3d Add file manager to plugin system 2014-10-09 17:45:30 +01:00
Luke Page
8d431179e5 Add logger 2014-10-05 20:36:23 +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
Luke Page
b3b8b278bd import managaer related simplifications 2014-09-22 20:32:46 +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
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
6ea7a1995e move out clean css 2014-09-17 15:09:04 +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
d9c42e206d seperate out the environments at the top-most-level 2014-09-04 19:11:59 +01:00
Luke Page
e108b50c51 move cleancss into lessc bin only 2014-09-03 18:33:19 +01:00
Luke Page
544bd3abf0 Change code to use less.render 2014-09-03 16:24:09 +01:00
Luke Page
f85f253586 merge from master 2014-08-14 17:27:16 +01:00
Luke Page
a16aff18b9 update dependencies 2014-08-14 17:04:51 +01:00
Luke Page
1ff24b4c26 do not use util.print since it is deprecated. Fixes #2081 2014-07-27 16:56:46 +01:00
Luke Page
d0f2305b12 tidy merge - fix mistake in lessc and remove dist files merged in 2014-06-10 19:34:33 +01:00
Luke Page
fdd01f6b00 merge in latest 1.7.1 release 2014-06-10 19:30:21 +01:00