Luke Page
4f5a449b0b
move creation of env to invoker
2014-09-04 18:24:24 +01:00
Luke Page
e5faba5154
Remove some interdepedencies
2014-09-04 18:16:08 +01:00
Luke Page
ca77dc3a6e
Parser does not need to have a parseEnv stored on itself
2014-09-04 17:58:12 +01:00
Luke Page
9af3819822
parser no longer needs to expose imports (they are on the parseTree) and can use a variable instead of a reference to itself
2014-09-04 17:56:12 +01:00
Luke Page
d3c6f2208f
Move toCSS out to a new class (still need to remove creation of that class from parser)
2014-09-04 17:42:38 +01:00
Luke Page
20025f10b1
Remove duplication in render function
2014-09-04 15:57:20 +01:00
Luke Page
e108b50c51
move cleancss into lessc bin only
2014-09-03 18:33:19 +01:00
Luke Page
b55b596740
move transform out of the parser
2014-09-03 18:21:25 +01:00
Luke Page
544bd3abf0
Change code to use less.render
2014-09-03 16:24:09 +01:00
Luke Page
a0658a4b15
move render to be accessible in all environments and start using it in the browser
2014-09-03 15:07:33 +01:00
Luke Page
8fc964dc34
Merge remote-tracking branch 'origin/master' into 2_0_0
...
Conflicts:
lib/less/index.js
lib/less/parser/parser.js
lib/less/tree/rule.js
test/less/property-name-interp.less
2014-09-03 07:36:20 +01:00
seven-phases-max
36383dc89b
Fix property interpolation for @* values
2014-09-02 00:02:49 +04:00
jurcovicovam
d086d64e12
Eat up comments instead of calling them parse error:
...
* in @keyframe declaration #2059 ,
* after rule name before semicolon #826 .
The comments are eaten instead of being printed into output, but it is
better then crashing on them.
2014-08-27 17:50:33 +02:00
Luke Page
ca72b4d92f
Clean up dependency injection so environment is injected at the top level
2014-08-26 22:26:27 +01:00
Luke Page
16c4f88b7f
small optimisation/fix todo
2014-08-25 12:25:54 +01:00
Luke Page
dc691d6896
Merge pull request #1921 from rback/master
...
Pass options object to parser.parse in less.render
2014-08-25 12:21:09 +01:00
Luke Page
41732cc60b
pull out the input processing out of the parser class and a few small improvements - the no js option now applies to all js, including that within quotes. The Javascript node now also returns the right index.
2014-08-25 12:19:04 +01:00
Luke Page
f3c323810c
make some corrections to comment
2014-08-25 09:32:41 +01:00
Luke Page
87203788a7
seperate out imports and tidy a few un-necessary optimisations
2014-08-25 09:28:17 +01:00
Luke Page
5d26a378e7
Merge branch 'master' into 2_0_0
2014-08-24 22:50:44 +01:00
Luke Page
c4ed7069e7
Fix missing ^, causing parse error. Fixes #2154
2014-08-24 22:43:11 +01:00
Luke Page
f02d920b12
move parser files into a parser directory
2014-08-24 18:56:01 +01:00
Luke Page
5148db6e3d
move source map output into root directory
2014-08-24 18:50:43 +01:00
Luke Page
e325aec74d
Also remove dep-injection from visitors, none of which use environment. make functions used as classes TitleCase
2014-08-24 18:47:25 +01:00
Luke Page
fe5e2bf7cb
remove dependency injection from functions files apart from when needed for environment
2014-08-24 18:33:03 +01:00
Luke Page
95dedcc576
rename env to contexts
2014-08-24 18:03:33 +01:00
Luke Page
c41df95d23
move tree index underneath tree
2014-08-24 18:01:34 +01:00
Luke Page
16746e9b1e
untangle the mess of dependencies and remove all circular dependencies. Remove un-necessary dependency injection.
2014-08-24 17:55:46 +01:00
Luke Page
cde9b79b6c
much improved comment parsing
2014-08-17 11:30:18 +01:00
Luke Page
d7e7ddba44
move functions into its own folder and give it a set interface
2014-08-16 13:17:35 +01:00
Luke Page
953f70c879
Fix browser tests
2014-08-14 18:08:31 +01:00
Luke Page
ddba055461
Fix merge errors and node tests
2014-08-14 18:03:59 +01:00
Luke Page
f85f253586
merge from master
2014-08-14 17:27:16 +01:00
Luke Page
466bc39a10
Merge pull request #2136 from SomMeri/data-uri-1959
...
Fragment handling in data-uri function 1959
2014-08-14 17:13:25 +01:00
Luke Page
169bbada40
Merge pull request #2135 from SomMeri/charset-2126
...
Charsets should float on top #2126
2014-08-14 17:12:12 +01:00
Luke Page
3735d8118c
Merge pull request #2128 from SomMeri/issue-2127
...
Mixin wrongly called
2014-08-14 17:11:22 +01:00
Luke Page
7503268b6f
Merge branch 'master' of https://github.com/less/less.js
2014-08-14 16:35:21 +01:00
Luke Page
74766691cc
Support for /deep/ selector. Fixes #2023
2014-08-14 16:35:13 +01:00
jurcovicovam
0f8bd724f8
Fragment handling in data-uri function 1959
...
The change removes #fragment from filePath before readig the file and adds
it back to the end of the generated uri.
2014-08-03 13:20:02 +02:00
jurcovicovam
e7c81125b7
Charsets should float on top #2126
2014-08-03 10:37:10 +02:00
jurcovicovam
62eb799b40
Issue #2127 , selectors matching function ignored * selector.
2014-07-29 15:36:24 +02:00
jurcovicovam
86c1b0d557
Fix interpolated import into media #1645
...
Media objects do not have ruleset property. They have rules property which
always contains one-member array with fake ruleset in it.
2014-07-28 13:15:50 +02:00
Luke Page
a168b1f638
1.7.4 release
2014-07-27 21:04:20 +01:00
Luke Page
1e04f3364d
better error message when import missing a semi-colon or malformed.
2014-07-27 20:47:19 +01:00
Luke Page
4ec83bc940
Merge branch 'master' of github.com:MiguelCastillo/less.js
2014-07-27 16:19:16 +01:00
Luke Page
d750151536
Found race condition that caused file not to be skipped in importOnce, leading to random exceptions. Fixes #1931
2014-07-27 16:09:17 +01:00
Luke Page
4b40773f64
Merge pull request #2121 from SomMeri/font-face-property-merge-2-2035
...
Properties merging should work also inside directives #2035
2014-07-27 15:23:27 +01:00
jurcovicovam
8daa61f220
Merge https://github.com/less/less.js into font-face-property-merge-2-2035
...
Conflicts:
test/sourcemaps/basic.json
2014-07-27 14:02:38 +02:00
jurcovicovam
95beef2135
Merge https://github.com/less/less.js into misleading-error-message-2069
...
Conflicts:
test/sourcemaps/basic.json
2014-07-27 13:50:40 +02:00
jurcovicovam
c9c6ddbdfc
Properties merging should work also inside directives #2035
...
Fixes issue #2035 - property merge inside @font-face. The _mergeRules function is now called also for directives with rules. It used to be called only for rulesets.
I had to turn off jasmine tests for merge.less, because it was replacing all urls by their assumed full paths. For example, the url(something.eot) was changed into url(http://localhost:8081/test/less/something.eot ). The result did not matched with expected css and failed.
Note: I'm not sure why values order in source map changed. It does not seem to be caused by my change, it was failing before I made them.
2014-07-26 00:22:49 +02:00