586 Commits

Author SHA1 Message Date
seven-phases-max
7203286706 fix #2558 2015-04-19 19:49:27 +04:00
Luke Page
7ed9574d8a Merge pull request #2530 from seven-phases-max/proper-non-primitive-value-replacement-for-format-and-replace
Proper non-primitive value replacement for `%` and `replace`
2015-04-03 08:04:03 +01:00
Bass Jobsen
ea43e7d6d0 Merge remote-tracking branch 'upstream/master' into image-size 2015-04-01 23:45:14 +02:00
Luke Page
86fa4f6f9d Merge pull request #2522 from rjgotten/fix-plugin-scoping
Fix `@plugin` scoping rules
2015-04-01 06:46:40 +01:00
seven-phases-max
13ef5b7422 proper non-primitive value replacement for % and replace functions 2015-03-31 19:35:22 +04:00
Bass Jobsen
f0f271919b fixes for issue #2482 2015-03-29 18:16:01 +02:00
Luke Page
e411f548c1 Merge pull request #2520 from less/bugfix/2440
Fix 2440
2015-03-26 16:25:56 +00:00
rjgotten
0a6e2f814d merge changes from upstream 2015-03-23 10:40:01 +01:00
Luke Page
17aafae556 Add test for #2440 2015-03-21 22:08:50 +00:00
seven-phases-max
414d21c7af Fix naked url import 2015-03-21 15:19:14 +04:00
Luke Page
5c0179d199 Merge branch 'master' of https://github.com/less/less.js 2015-03-20 17:14:41 +00:00
Luke Page
936b78c6b4 See missing media blocks. Fixes #2494 2015-03-20 17:13:10 +00:00
rjgotten
4d17c8b35d Fix plugin scope for mixins, directives and detached rulesets
Fixed scope for plugins to apply correctly for mixins, directives and
detached rulesets.
Updated plugin unit tests to be more comprehensive
2015-03-20 16:41:05 +01:00
Luke Page
a6dca8872a Merge pull request #2504 from bassjobsen/relative
optional relative amounts for color functions, see#975
2015-03-20 08:22:44 +00:00
Luke Page
b10928720f Merge branch 'tests' of https://github.com/bassjobsen/less.js
Conflicts:
	test/index.js
2015-03-20 08:11:46 +00:00
rjgotten
b948dad7ab Fix selectors folding into directives
When directives bubble up to global scope, selectors are no longer
folded into directives that do not logically allow them.
Fixes #2511
2015-03-19 20:22:40 +01:00
Luke Page
8526dee6be Merge pull request #2505 from bassjobsen/paths
fix for issue #2500
2015-03-16 06:40:19 +00:00
Bass Jobsen
4bb098bfc9 fix for issue #2500 2015-03-15 23:09:50 +01:00
Luke Page
d7846e2ae5 Merge pull request #2479 from rjgotten/import-plugin
Import plugin
2015-03-15 17:44:47 +00:00
rjgotten
9518763128 Updated plugin import syntax
- Updated parser to recognize `@plugin` and removed parsing support for
the (plugin) import option.
- Updated plugin import unit tests to `@plugin` syntax
2015-03-15 11:05:37 +01:00
Bass Jobsen
622a521b11 optional relative amounts for color functions, see#975 2015-03-15 00:12:47 +01:00
Bass Jobsen
1376b77582 all tests run both in browser and CLI now 2015-03-11 10:24:37 +01:00
Luke Page
5387ee5f2f Merge pull request #2497 from calvinjuarez/ruleset-as-default-arg
Allow detached rulesets as mixin argument defaults
2015-03-11 06:03:30 +00:00
Calvin Juárez
fb81856a61 tests – update tests to reflect changes 2015-03-10 18:26:40 -06:00
Bass Jobsen
0ed1772e4d Merge remote-tracking branch 'upstream/master' into tests 2015-03-10 15:12:38 +01:00
rjgotten
94d3f469d4 merge from upstream 2015-03-05 16:12:56 +01:00
rjgotten
d119e01807 Scoped @import (plugin) functions loading
- Limited @import (plugin) support to add/addMultiple of functions
- Altered @import (plugin) loading to support browser
- Support proper closure scoping of @import (plugin) loaded functions
2015-03-05 15:55:37 +01:00
Bass Jobsen
410a86a594 run postprocess plugin test CLI too 2015-03-04 09:11:17 +01:00
Bass Jobsen
6c66aeb71c change use case and add test 2015-02-28 22:32:40 +01:00
Luke Page
a37a742b7d Fix #2472 - don't loose the unit when not in strictUnits mode 2015-02-26 18:41:26 +00:00
Luke Page
7d86a5e72d Temp. fix for comment nodes in functions. Fixes #2475 2015-02-26 18:22:39 +00:00
rjgotten
2c7a9f826e Fix unit tests 2015-02-26 15:34:49 +01:00
rjgotten
d96af08795 Fix lint errors and add tests for @import (plugin) 2015-02-26 14:40:36 +01:00
jurcovicovam
ff558e9851 Merge https://github.com/less/less.js into nested-directives-in-directives-v2-1691-2104 2015-02-26 09:39:18 +01:00
jurcovicovam
028f3c79be Bubbling of directives. 2015-02-24 17:27:27 +01:00
Bass Jobsen
121bdd8365 allow a list of colors as argument for the svg-gradient function 2015-02-11 20:35:28 +01:00
Luke Page
f2dc984e7f Merge branch 'master' of https://github.com/less/less.js 2015-02-07 11:26:58 +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
23a1159c44 Merge branch 'master' of https://github.com/less/less.js 2015-02-02 21:53:31 +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
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
jurcovicovam
b9a3d45dbb Selector composed from multiple joined selectors should keep original
extends. #2206
2015-01-30 13:54:21 +01: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
70fb045df4 Added test for optional 2015-01-26 22:34:22 +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
8ba6080171 also test for using string functions with data-uri as that used to fail 2015-01-26 20:20:13 +00:00