15 Commits

Author SHA1 Message Date
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