Commit Graph

36 Commits

Author SHA1 Message Date
Luke Page
08bd23dc2a add browserify (not yet working) and refactor tree nodes to not be dependent on their parent (currently breaks browser build) 2014-02-24 21:22:52 +00:00
Luke Page
c844b022f9 remove unused optimization level 2014-02-15 14:49:25 +00:00
Luca Bernardo Ciddio
d6244cb3f9 Renamed --cache-buster option to --url-args 2014-01-18 19:26:27 -08:00
Luca Bernardo Ciddio
958716160f Cache buster for url tokens 2014-01-16 21:12:56 -08: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
b0477fca22 import multiple has a cascade effect. fixes #1497 2013-10-04 06:54:58 +01:00
Luke Page
6eb992a775 Merge pull request #1412 from christopherobin/master
Allow imports from self-signed SSL hosts
2013-09-11 05:01:53 -07:00
Luke Page
c1928b49d4 Merge branch 'normalized-urls' of https://github.com/rjgotten/less.js into 1.5.0-wip
Conflicts:
	test/css/static-urls/urls.css
	test/css/urls.css
2013-09-01 18:17:32 +01:00
rjgotten
e0561e3d95 Normalize URLs in generated CSS
Adds a normalizePath method to tree.evalEnv.prototype with which to normalize paths, i.e. , remove /../ or /./ segments stuck in the middle.

Unit tests have been updated to reflect these changes.
2013-08-07 10:44:12 +02:00
Luke Page
1ec0563c9a add sourcemapper class 2013-07-18 13:06:56 +01:00
Luke Page
fb9423b94b Merge remote-tracking branch 'evocateur/all-sourcemap-patches' into sourcemaps-wip 2013-07-17 22:18:29 +01:00
Christophe Robin
2d1afdfe91 Added switch --insecure to allow imports from insecure/self-signed SSL certificates 2013-07-11 16:45:23 +09:00
Luke Page
283d623a98 switch to use the clean-css compressor. #1349 2013-07-09 08:22:59 +01:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Luke Page
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
agatronic
446e164444 rename mute to reference 2013-07-05 06:51:04 +01:00
Luke Page
f4902f809c rename import silent to import mute. Fixes #1210 2013-07-05 06:51:02 +01:00
Luke Page
898e27f525 Add silent option 2013-07-05 06:50:53 +01:00
Luke Page
b726b0d96c Fix modifyVars to use a per file cache so less is re-evaluated properly. Also add tests and \n in case of comment on the last line 2013-07-05 06:49:09 +01:00
Luke Page
e82536bfca Simplify more of loadFile and make more of the env creation common between node and browser 2013-07-05 06:48:44 +01:00
Luke Page
c391e72c5e seperate sheet and env 2013-07-05 06:48:43 +01:00
Luke Page
6d160a2b9a use yui-compress option 2013-07-05 06:16:49 +01:00
Luke Page
c2dcb743d3 Allow creating parser without options. Fixes #1373 2013-07-05 06:09:40 +01:00
Kayo Phoenix
3bb4a10866 Fix: syncImport issue #1389 (nodejs) 2013-07-05 06:05:35 +01:00
Luke Page
65602099cc rename strictMaths to strictMath, set default to false, update strict options to take = on | off 2013-05-02 18:18:51 +01:00
Luke Page
5d54af2039 import interpolation finished. refactored the import phase to occur only within the import visitor - so that the import eval env can be passed between imports. 2013-03-01 13:40:54 +00:00
Daniel Stockman
b9bc6e73a0 Pass silent and verbose flags to evalEnv. 2013-02-26 18:55:37 +00:00
Daniel Stockman
08175320f8 Functions use evalEnv, not parseEnv. (move ieCompat env flag) 2013-02-26 18:55:36 +00:00
Daniel Stockman
e4fe935ea1 Prevent data-uri function from embedding files larger than 32KB.
Although IE8 does support data-uris, it only does so with a limit of 32KB. It's a silly limitation, but a source of potential bugs. When the limit is exceeded, the data-uri() function will simply return a normal url() value with a relative path to the asset.

One may pass --no-ie-compat to lessc to avoid this safeguard.
2013-02-26 18:55:35 +00:00
Luke Page
e7cbc4c190 Fix data-uri relative url to be relative in the same way as normal url's 2013-02-17 12:44:31 +00:00
Luke Page
f68337e450 change data-uri to look at the file relative to the root or current less file. Fixes #1186 2013-02-16 22:11:01 +00:00
Luke Page
914eb404d7 Fix import errors in browser mode. Fixes #1117 and fixes #1118 2013-02-10 12:47:25 +00:00
Luke Page
3ef22f16f9 Add strictUnits option, add tests for legacy behaviour 2013-01-30 20:31:26 +00:00
Luke Page
988d378922 add evalEnv class and strictMaths option 2013-01-25 20:05:37 +00:00
Luke Page
531195c92d take maths further 2013-01-24 22:27:17 +00:00
Luke Page
e45ec8a31e refactoring - add a env type to better organise its properties 2013-01-23 19:07:29 +00:00