2323 Commits

Author SHA1 Message Date
Luke Page
6fd2a5751c v2.4.0 release v2.4.0 2015-02-08 11:41:49 +00:00
Luke Page
c6bccffd39 Try updating npm to fix appveyor 2015-02-07 11:44:58 +00:00
Luke Page
2e97bc7ff3 Try running under 0.12 2015-02-07 11:30:18 +00:00
Luke Page
8e7c285de7 Fix jscs violations, happening on travis 2015-02-07 11:29:52 +00:00
Luke Page
f2dc984e7f Merge branch 'master' of https://github.com/less/less.js 2015-02-07 11:26:58 +00:00
Luke Page
00c862fab6 Merge pull request #2439 from OhJeez/sourcemaps-empty-fix
Fix empty sourcemaps
2015-02-06 22:35:27 +00:00
Krzysztof Chrapka
5fac1f0e0b Fix empty sourcemaps
fixes #2430
2015-02-06 18:21:24 +01:00
Luke Page
97d039f267 extract and length now skip over comment nodes. Fixes #2431 2015-02-04 17:28:48 +00:00
Luke Page
054d88abb9 Merge pull request #2429 from Justineo/master
Implementing preprocessing plugins
2015-02-03 07:53:25 +01:00
Luke Page
23a1159c44 Merge branch 'master' of https://github.com/less/less.js 2015-02-02 21:53:31 +00:00
Luke Page
f5700b8b33 do not do bom test unless prep is called - in order to allow plugins to continue to use less acceptance test system without bom tests. 2015-02-02 20:12:18 +00:00
Luke Page
2114a3fe7a fragment urls referencing just a fragment are assumed absolute - referencing the current page. Fixes #2320 2015-02-02 20:08:48 +00:00
Justineo
197619ab2a fix code style 2015-02-02 17:24:41 +08:00
Justineo
093e2ea42c Merge branch 'master' of https://github.com/less/less.js 2015-02-02 16:15:40 +08:00
Justineo
d53801eb77 try to implement preprocess plugins 2015-02-02 16:15:33 +08:00
Luke Page
4f60ab1669 Merge pull request #2427 from SomMeri/nested-mixin-changing-important-2421
Nested mixin changing important 2421
2015-02-01 15:51:14 +01:00
jurcovicovam
2e579cf42a cleaning up forgotten debug help 2015-02-01 15:39:33 +01:00
jurcovicovam
996947d2f6 Fixing makeImportant on mixins and rulesets: #2421
1.) Rulesets `makeImportant` must create a new ruleset.
2.) Mixin-definition `makeImportant` must create a new mixin definition.
It must NOT convert mixin into ruleset.
2015-02-01 15:32:58 +01:00
Luke Page
4972d476a4 Merge pull request #2423 from SomMeri/extend-on-parent-selector-v1-2206
Bug: extend doesn't work when appended on nested selector with &
2015-01-31 08:50:33 +01:00
Luke Page
fb5280f16f Merge branch 'master' of https://github.com/less/less.js 2015-01-30 22:29:03 +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
e967465607 keep promise an optional dependency for now. Fixes #2422 2015-01-30 17:51:14 +00:00
Luke Page
cf4f8e5a71 if strict units are off also use the denominator, if there is no numerator. Fixes #2418 2015-01-30 17:41:24 +00:00
jurcovicovam
b9a3d45dbb Selector composed from multiple joined selectors should keep original
extends. #2206
2015-01-30 13:54:21 +01:00
Luke Page
163a8c4657 Merge pull request #2420 from bassjobsen/patch-10
endlines and comments
2015-01-30 08:12:39 +01:00
Bass Jobsen
cf4039625f Update parser.js 2015-01-29 11:11:06 +01:00
Bass Jobsen
d3781258b7 Update parser-input.js 2015-01-29 11:07:37 +01:00
Bass Jobsen
48b379bbd0 endlines and comments
possible fix for https://github.com/less/less.js/issues/2370

I have used the following command to test this issue: `printf "p {\r//less\rc:1;\r}\r" | lessc -`

I'm not sure if this the most efficient fix.
I also tried `var nextNewLine = inp.substr(parserInput.i + 1).search(/\n|\r/);` to replace the `indexOf` but then i expect possible mismatches for `\r\n` which match on the first `\r`.
2015-01-29 00:27:09 +01:00
Luke Page
edca7f4cfa 2.3.1 release v2.3.1 2015-01-28 17:29:34 +00:00
Luke Page
273ee5bee9 update dependencies 2015-01-28 17:24:57 +00:00
Luke Page
85dde9165a Merge pull request #2400 from SomMeri/nested-parent-selector-2026-v1
Nested parent selectors &:not(&)  - 2026
2015-01-28 18:20:18 +01:00
Luke Page
66fe6d8064 Fix depends option Fixes #294 2015-01-28 17:17:17 +00:00
jurcovicovam
dc93dd54bf Merge https://github.com/less/less.js into nested-parent-selector-2026-v1
Conflicts:
	lib/less/parser/parser.js
	lib/less/tree/ruleset.js
2015-01-28 10:46:49 +01:00
jurcovicovam
964b991423 Reviews changes: spacing and commented code.
Bug fixed: fixed handling of multi level nesting.
2015-01-28 09:50:44 +01:00
Luke Page
d206167c84 enforce spaces between operators for consistency 2015-01-27 22:24:12 +00:00
Luke Page
dc703deaf0 laxbreak 2015-01-27 22:02:05 +00:00
Luke Page
28de1cf788 Require parenthesis 2015-01-27 21:57:07 +00:00
Luke Page
08a7f9ebeb more whitespace rules 2015-01-27 21:38:13 +00:00
Luke Page
379968773e disallow weird type conversion 2015-01-27 17:40:18 +00:00
Luke Page
7eb3d63632 Prevent double protocol in debug info. Fixes #2383 2015-01-27 17:35:33 +00:00
Luke Page
d0830141ef v2.3.0 v2.3.0 2015-01-27 00:18:46 +00:00
Luke Page
d70071546e Merge branch 'master' of https://github.com/lejenome/less.js
Conflicts:
	lib/less/render.js
2015-01-26 23:40:14 +00:00
Luke Page
31c3d04980 jscs style checking. Fixed whitespace issues. 2015-01-26 23:34:35 +00:00
Luke Page
70fb045df4 Added test for optional 2015-01-26 22:34:22 +00:00
Luke Page
82b29de3cd Merge branch 'patch-8' of https://github.com/bassjobsen/less.js 2015-01-26 22:28:42 +00:00
Luke Page
69d4d60240 Merge pull request #2401 from SomMeri/interpolate-pseudo-selector-1294
Allow selector interpolation inside pseudoselectors. #1294
2015-01-26 23:14:47 +01:00
Luke Page
3571cadafb Merge pull request #2404 from SomMeri/important-with-nested-mixin-v2-2394
Important on parametrized mixin
2015-01-26 23:13:17 +01:00
Luke Page
ab96e71a34 Merge remote-tracking branch 'sommeri/import-refence-directives-2008'
Conflicts:
	test/css/import-reference.css
	test/less/import-reference.less
	test/less/import/import-reference.less
2015-01-26 22:08:35 +00:00
Luke Page
10586f0a92 make node available in tree 2015-01-26 21:53:02 +00:00