718 Commits

Author SHA1 Message Date
Luke Page
aab9c1b24f Fix jshint errors after merge and add jshint to makefile 2013-07-18 06:21:11 +01:00
Luke Page
fb9423b94b Merge remote-tracking branch 'evocateur/all-sourcemap-patches' into sourcemaps-wip 2013-07-17 22:18:29 +01:00
Luke Page
8ca2bb74d2 edit to show bug in extends. move selector toCSS to be concurrent 2013-07-17 20:26:21 +01:00
Luke Page
f032f20206 Fix error in previous commit 2013-07-16 20:24:44 +01:00
Luke Page
2a0df97291 move rule/ruleset re-ordering away from toCSS 2013-07-15 23:05:27 +01:00
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +01:00
Luke Page
a554b8e088 get closer moving tab control away replacing text after converting to css 2013-07-14 23:04:09 +01:00
Luke Page
8529f93b48 start moving the tab indent so that css is not modified once output 2013-07-13 15:43:09 +01:00
Brian Dukes
05be360993 Add failing test for imported mixin with wrong path
When relative URLs are on, and there's an image referenced via url(...),
if the URL is unquoted, the generated CSS duplicates the base path
2013-07-11 15:04:52 -05:00
Daniel Stockman
2ede18b9eb Merge branch 'sm/log-stacks' into all-sourcemap-patches 2013-07-08 19:20:44 -07:00
Daniel Stockman
66a9890c39 Log stacks when errors are caught in tests to aid debugging. 2013-07-08 19:17:04 -07:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Luke Page
42dfeb8d3b move the property check out of the ruleset and fix an issue in the visitor 2013-07-05 20:56:59 +01:00
Luke Page
831e343216 move comment filtering into visitor 2013-07-05 06:52:32 +01:00
Luke Page
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
Luke Page
366f6755aa guards on css styles, first draft. Only allows guards on 1 selector in the block, that being the last one. 2013-07-05 06:51:59 +01:00
Luke Page
cfe9ae7798 Add svg-gradient function. Fixes #1383 2013-07-05 06:51:58 +01:00
Kevin Gillette
54a5f74c09 min/max now always reduce compatible terms. 2013-07-05 06:51:56 +01:00
Kevin Gillette
6df4e48976 Added min and max builtins. 2013-07-05 06:51:55 +01:00
Luke Page
d2255e64f6 do not use spaces between | namespace operators. Fixes #1300 2013-07-05 06:51:54 +01:00
Luke Page
7056f7b4d7 add tests and fix whitespace issue 2013-07-05 06:51:54 +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
bf88f660f2 initial fix in browser.js and a small test addition 2013-07-05 06:51:45 +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
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
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
Ricardo Tomasi
bca5a39d3b Check for global variable leaks 2013-07-05 06:19:38 +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
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
agatronic
017bb2c234 Improvements to browser tests that don't raise a false negative when switching branches 2013-04-30 15:18:11 +01:00
agatronic
46e1613ba7 Handle ./ paths in the browser when relative correctly. Fixes #1238 2013-04-30 15:17:05 +01:00
Luke Page
5d102d545b Fix browser tests 2013-04-29 16:41:49 +01:00
agatronic
572b45a94b Add isunit function. fixes #1298 2013-04-29 16:28:20 +01:00
agatronic
4997ce9ced extends recognise attributes. Fixes #1295 2013-04-29 16:28:04 +01:00
agatronic
5bc4059c6b Make non strict units less strict and change the default to not be strict units. Fixes #1254 2013-04-26 09:35:56 +01:00
Luke Page
b2d75e82b4 Allow variable interpolation in attributes everywhere that is sensible 2013-03-18 12:19:02 +00:00