2222 Commits

Author SHA1 Message Date
Roman Ožana
77966d4457 Improve comments stripping in compress
Ignore comment during compress if starts with exclamation mark
2013-07-05 06:51:53 +01:00
ForbesLindesay
9de0e30c64 Fix global variable leaks 2013-07-05 06:51:52 +01:00
David Cornu
823ba78380 Catch errors thrown by root.toCSS() 2013-07-05 06:51:49 +01:00
Luke Page
cc277d4f03 move call to initiate loading of styles to the end of browser.js in case of syncronous load - make sure all the functions have been assigned before starting up 2013-07-05 06:51:48 +01:00
Byron Wong
8ed519fd98 simplify by saving reference to style tag instead of saving index 2013-07-05 06:51:48 +01:00
Byron Wong
c4dc89b74b take out previous inline test attempt. add new test to runner-browser to test inline LESS 2013-07-05 06:51:47 +01:00
Byron Wong
cd45ac90a3 take out log 2013-07-05 06:51:46 +01:00
Byron Wong
bf88f660f2 initial fix in browser.js and a small test addition 2013-07-05 06:51:45 +01:00
Kim Joar Bekkelund
11197b34e3 Remove ; 2013-07-05 06:51:44 +01:00
Kim Joar Bekkelund
5444e9482b Simplify ifs 2013-07-05 06:51:43 +01:00
Luke Page
5cb5f561c8 Convert property merging to the new agreed syntax of +: 2013-07-05 06:51:41 +01:00
Luke Page
577d24cc97 Fix merge tests when running in phantomjs 2013-07-05 06:51:40 +01:00
Daniel Katz
ff029c34bd Syntax changed to !merge(space | comma)
* Syntax changed to !merge(space | comma)
* !merge(space) implemented by Expression instead of Value.
* Added test for lonely property with !merge directive
2013-07-05 06:51:40 +01:00
Daniel Katz
5dde7b3381 Added support and tests for !merge() syntax #700 2013-07-05 06:51:39 +01:00
Luke Page
de27a6fd88 Add bypass for saturate(5%) filter function. Helps issue #1299 2013-07-05 06:51:05 +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
dce452421f Fix the rest of import silent 2013-07-05 06:51:01 +01:00
Luke Page
e591bc56ed changelog info 2013-07-05 06:51:00 +01:00
Luke Page
47b7bda64b todo to fix last part of import silent 2013-07-05 06:50:58 +01:00
Luke Page
493d6facf2 support comments. Add failing test case for when mixin call does not have parent selectors 2013-07-05 06:50:57 +01:00
Luke Page
aa802bd84c import silent to work with media queries and directives 2013-07-05 06:50:56 +01:00
Luke Page
b912a971d3 import silent: add tests for extends 2013-07-05 06:50:56 +01:00
Luke Page
33c5ecd100 import silent - handle selectors containing amp 2013-07-05 06:50:55 +01:00
Luke Page
5df82b69ce Basic functionality and basic tests for import silent 2013-07-05 06:50:54 +01:00
Luke Page
898e27f525 Add silent option 2013-07-05 06:50:53 +01:00
Luke Page
ab1a9c5598 1.4.1 so far changelog changes 2013-07-05 06:50:52 +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
f068d2da68 multi comments in selectors and other places 2013-07-05 06:48:48 +01:00
Luke Page
6fc6dc2301 Add import inline option. Fixes #1209 2013-07-05 06:48:47 +01:00
Luke Page
08fca7a7cc Align the callback param orders 2013-07-05 06:48:46 +01:00
Luke Page
40ce2bc4b4 move new parseEnv into parser 2013-07-05 06:48:45 +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
ede491b02d move browser to parse inside parser 2013-07-05 06:48:43 +01:00
Luke Page
d907cccf6f Move parsing into loadStylesheet from loadFile 2013-07-05 06:48:42 +01:00
Luke Page
806ddb64e6 start seperating browser load stylesheet and loadFile 2013-07-05 06:48:41 +01:00
agatronic
c2adad8341 Change node to use the file loader interface 2013-07-05 06:48:40 +01:00
agatronic
9f086324a2 Add interface for a file loader rather than an importer 2013-07-05 06:48:38 +01:00
Luke Page
290376f4eb 1.4.1 release v1.4.1 2013-07-05 06:24:56 +01:00
Ricardo Tomasi
bca5a39d3b Check for global variable leaks 2013-07-05 06:19:38 +01:00
Luke Page
6d160a2b9a use yui-compress option 2013-07-05 06:16:49 +01:00
Luke Page
7843e7767c global var fix 2013-07-05 06:12:55 +01:00
ForbesLindesay
22c5bd77c4 Fix global variable leaks 2013-07-05 06:10:16 +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
Doug Patti
333cf22686 Add .gitattributes to .npmignore
One of the dependencies, hawk, uses CRLF line endings. If you use less
in your project and check in node_modules to source control, git sees
the .gitattributes that is packaged with less and obeys it for that
subdirectory. This gives you line ending conflicts with hawk.

.gitattributes is not relevant to the packaged module and should not be
included anyway.
2013-06-27 16:59:58 -04:00
Luke Page
5b6b5ccc8d 1.4.0 release v1.4.0 2013-06-05 21:17:47 +01:00
Luke Page
ff6a0395b5 missing option name change 2013-06-05 19:56:06 +01:00
Luke Page
5bdb765394 Beta 4 v1.4.0-b4 2013-05-04 07:18:37 +01:00