Commit Graph

2386 Commits

Author SHA1 Message Date
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
rjgotten
7a80a82283 Add missing null check 2015-03-20 12:46:19 +01:00
Luke Page
39c603a558 Merge pull request #2512 from rjgotten/directive-selectors
Fix selectors folding into directives
2015-03-19 19:51: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
1033939243 Merge pull request #2510 from wahuneke/fix_issue_2508
Fix issue 2508
2015-03-19 06:37:13 +00:00
wahuneke
96ad40dec2 was missing declaration for a variable
sorry bout that. fixed.
2015-03-18 17:43:17 -04:00
Bill Huneke
e19e89d4f4 Merge branch 'master' into fix_issue_2508
Conflicts:
	bin/lessc
2015-03-18 16:34:08 -04:00
Bill Huneke
9585d4a063 fixes: #2508 - strip quotes on lessc command line input/output file names 2015-03-18 16:24:46 -04: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
ebb79c08b2 fix call to removed function 2015-03-15 17:50:48 +00:00
Luke Page
d7846e2ae5 Merge pull request #2479 from rjgotten/import-plugin
Import plugin
2015-03-15 17:44:47 +00:00
Luke Page
54556bddf2 missing save/restore code searching for assignments 2015-03-15 17:39:29 +00:00
Luke Page
63a150b3be escape quickley with simple properties 2015-03-15 17:29:25 +00:00
Luke Page
d05ffcc4b0 remove the quoted regex, simplify the comment parsing 2015-03-15 13:45:06 +00:00
Luke Page
376c264f95 Fix missing forget in parser 2015-03-15 12:17:41 +00:00
Luke Page
f8de5bcb16 replace simple regex's with simple string comparisons 2015-03-15 10:24:41 +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
Luke Page
d04e1d7464 make benchmark easier to run 2015-03-15 09:59:18 +00:00
Luke Page
c4fa45f3b9 fix benchmark 2015-03-13 17:56:47 +00:00
Luke Page
5651517f5f Fix missing new statement, causing a undefined throw and bad error message 2015-03-13 16:06:19 +00:00
Luke Page
fe8cf75d14 verbose is not deprecated since now it does something. Fixes #2441 2015-03-13 15:54:47 +00:00
Luke Page
926de5779c appveyor - abandon 0.11 and start testing 0.12 2015-03-12 23:23:25 +00:00
Luke Page
31ad118674 upgrade source-map 2015-03-12 23:21:09 +00:00
Luke Page
a96e82d868 Also test on iojs 2015-03-12 19:17:42 +00:00
Luke Page
8000f625c6 Merge branch 'master' of https://github.com/less/less.js 2015-03-12 19:01:25 +00:00
Luke Page
124128470b fix config for promises in less.js 2015-03-12 19:01:05 +00: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
Calvin Juárez
d4a8804808 parser – fix #2496: allow detached rulesets as mixin argument defaults 2015-03-10 18:10:39 -06:00
Luke Page
831ce17eb5 Merge branch 'master' of https://github.com/less/less.js 2015-03-10 06:07:20 +00:00
rjgotten
a9e0848b6e Cleaning up some left-overs
There were still some changes around that were based on an older
implementation of `@import (plugin)`. This removes them and tidies up
the files.
2015-03-06 10:24:58 +01:00
rjgotten
99de4970bd Allow all @import (plugin) tests to run in browser 2015-03-05 16:21:41 +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
Luke Page
b3e06577f9 Merge pull request #2488 from bassjobsen/jit-grunt
add jit-grunt to the build chain
2015-03-03 06:47:08 +00:00
Bass Jobsen
139757aa9d remove matchdep 2015-03-03 00:20:56 +01:00
Bass Jobsen
c7c56913dc Merge branch 'jit-grunt' of https://github.com/bassjobsen/less.js into jit-grunt 2015-03-02 23:45:10 +01:00
Luke Page
c3b2be843b Merge pull request #2489 from bassjobsen/browser-plugin-test
add browser postProcessor Plugin test
2015-03-02 19:58:51 +00:00
Bass Jobsen
553e75f9dc add browser postProcessor Plugin test 2015-03-01 22:06:31 +01:00
Bass Jobsen
6128b9ca9a add jit-grunt to the build chain 2015-03-01 11:40:25 +01:00
Bass Jobsen
6c66aeb71c change use case and add test 2015-02-28 22:32:40 +01:00
Bass Jobsen
57def23b52 Merge branch 'patch-12' of https://github.com/bassjobsen/less.js into patch-12 2015-02-28 15:48:12 +01:00
Luke Page
95441fa501 Do not require every extend is matched inside every media query and directive - removes alot of false warnings. Fixes #2499 2015-02-26 19:07:45 +00:00
Luke Page
4492a3a64e Tidy up the calls to console.error vs console.log. Fixes #2457 (part 2) and fixes #2461 2015-02-26 19:02:12 +00:00
Luke Page
7e48d83f86 Set error code in all cases where invalid args are given. Fixes #2457 2015-02-26 18:50:36 +00: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
Luke Page
eac5f5bcab Merge pull request #2473 from SomMeri/nested-directives-in-directives-v2-1691-2104
Bubbling of nested directives
2015-02-26 17:54:58 +01:00
rjgotten
2c7a9f826e Fix unit tests 2015-02-26 15:34:49 +01:00