Commit Graph

1493 Commits

Author SHA1 Message Date
meri
b8cb398de1 Fixing windows related errors in gradle build file. 2013-12-12 13:51:48 +01:00
meri
cef6fbd285 Merge branch 'rhino' of https://github.com/obecker/less.js into rhino
Conflicts:
	build/build.yml
2013-12-11 11:05:48 +01:00
Luke Page
c26be63a50 add transparency colour function change to the changelog 2013-12-08 14:03:29 +00:00
Luke Page
27524402a3 Merge branch 'master' of https://github.com/cloudhead/less.js 2013-12-08 14:02:19 +00:00
Luke Page
3b1c1a5f16 Merge pull request #1704 from seven-phases-max/color-blending-with-transparency
Color blending functions with transparency.
2013-12-08 06:01:06 -08:00
Luke Page
68d6b48520 add changelog 2013-12-08 11:21:05 +00:00
Luke Page
bdab12151a Merge branch 'color-ops-fixes' of https://github.com/seven-phases-max/less.js
Conflicts:
	test/less/errors/color-operation-error.txt
2013-12-08 11:11:18 +00:00
Luke Page
f37047d6f7 Merge pull request #1708 from Swissbite/master
Updated Readme for full examples
2013-12-08 03:06:29 -08:00
Luke Page
49a0e81a38 Merge pull request #1717 from joscha/fix-head
Minifier complains about annotation in non-JSDoc tag
2013-12-08 02:59:50 -08:00
Luke Page
c5c56e6eb9 move return false to the right place. Fixes #1720 2013-12-08 10:56:41 +00:00
Luke Page
1692e2f639 Merge branch 'master' of https://github.com/cloudhead/less.js 2013-12-08 10:52:16 +00:00
Luke Page
5c41f72fa9 add clean css options parameter and option. fixes #1721 2013-12-08 10:52:06 +00:00
seven-phases-max
1f57576d90 color-blending-with-transparency: changed func dispatch method from closure to bind() 2013-12-07 18:51:07 +04:00
Joscha Feth
a2f979d935 Change American spelling to UK spelling 2013-12-05 19:37:45 +01:00
Joscha Feth
f827819197 Minifier complains about annotation in non-JSDoc tag
```INFO: [Minify] Minify: Exception in minifier: input:1665: WARNING - Parse error. Non-JSDoc comment has annotations. Did you mean to start it with '/**'?```
2013-12-05 19:00:50 +01:00
Luke Page
5f089a2a4b Merge pull request #1714 from seven-phases-max/math-op-error-msg-fix
Fix for math expr/ops error messages line/column numbers.
2013-12-05 00:56:54 -08:00
seven-phases-max
ba5c8189cd Fixed line/column numbers in math expr/ops error messages. Updated tests. 2013-12-05 10:56:20 +04:00
David Daester
d5105e3e95 Updated Readme for full examples
Most users and testers would just copy paste the examples. So I added the variables to the small examples itself that it would be testable for anyone.
2013-12-03 10:21:44 +01:00
seven-phases-max
f835b1701c color-blending-with-transparency: removed debug log statement mistakenly left out 2013-12-03 04:58:07 +04:00
seven-phases-max
28e5295dae color-blending-with-transparency: fixed negative result alpha handling (though allowing out-of-range alpha inputs is subject for further discussions/decision) 2013-12-02 01:54:59 +04:00
Mária Jurčovičová
a2081fb00c Replaced make command for tests running by grunt command. 2013-12-01 21:06:06 +01:00
meri
c19f0227d9 Added rhino header into build.yml. Fixes #1651 2013-12-01 19:36:40 +01:00
seven-phases-max
61ff14b63c color-blending-with-transparency: initial implementation 2013-11-30 00:15:13 +04:00
Synchro
167e802875 Tests and fix for #1689 2013-11-29 01:24:25 +01:00
seven-phases-max
4b113be27e improved alpha channel handling for math ops, removed 'can't substract or divide a color from a number' constraint 2013-11-24 04:46:27 +04:00
Luke Page
13f41017ed move the tester into a seperate module so it can be used by other projects 2013-11-20 22:05:34 +00:00
Luke Page
3b242daacd allow plugins 2013-11-17 23:07:01 +00:00
Luke Page
f4e1faf7e7 1.5.1 release v1.5.1 2013-11-17 17:08:58 +00:00
Luke Page
ef4c2b75a9 correct the sourcemap url option 2013-11-17 16:38:35 +00:00
Luke Page
355cd7488e rename the sourcemappingurl to sourcemapurl, add to bin/lessc and adjust to not normalize 2013-11-17 16:26:47 +00:00
Kevin Attfield
855eca1d93 added sourceMappingURL option 2013-11-17 15:57:38 +00:00
Luke Page
5b3b04869b update bower version 2013-11-17 15:45:53 +00:00
Luke Page
c3dce83cc9 update readme 2013-11-17 15:44:12 +00:00
Luke Page
526ca32f80 revert to env.syncImport 2013-11-17 15:42:41 +00:00
Luke Page
f946ee951e Merge branch 'avoidStatSync' of https://github.com/papandreou/less.js 2013-11-17 15:37:58 +00:00
Luke Page
3567fa995f Merge pull request #1658 from joshuaspence/master
Fixes #1619
2013-11-17 07:31:12 -08:00
Joshua Spence
18f4083f29 A better solution for fixing #1619 2013-11-17 12:55:34 +11:00
Luke Page
cc401c2def warn about using sourcemap option with clean css 2013-11-16 22:55:51 +00:00
Luke Page
0e57dca6b9 add options to disable clean css options that interfere with less operation. upgrade clean css 2013-11-16 17:41:46 +00:00
Max Ruman
7268386570 Disable yui-compress parmeter (instead of falling back to incompatible clean-css). Fixes #1637 2013-11-16 17:13:04 +00:00
Max Ruman
9d2b48d481 Add lessc parameter availability check. Fixes #1637
Conflicts:

	bin/lessc
2013-11-16 17:12:42 +00:00
Max Ruman
9b6d760b48 Change lessc exit status code on error. Fixes #1637 2013-11-16 17:11:18 +00:00
Luke Page
8c6b6d0115 Merge branch 'selector-match-fixes' of https://github.com/seven-phases-max/less.js 2013-11-16 16:29:18 +00:00
Joshua Spence
ce56c0d185 Fixes #1619 2013-11-16 14:10:06 +11:00
Luke Page
7869d46f20 Merge pull request #1643 from matthewp/location-port
Check location.port for truthiness
2013-11-15 11:37:20 -08:00
Luke Page
8f4ef412d5 Merge pull request #1655 from chipx86/custom-vars
Support specifying custom variables when calling lessc and less.js.
2013-11-15 11:36:15 -08:00
Oliver Becker
913d7c6d29 adjusted modules order for rhino (same as for browser) 2013-11-15 16:16:54 +01:00
Oliver Becker
eff7341d98 added base 64 encoding for rhino, fixes urls.less test case 2013-11-15 16:15:30 +01:00
Christian Hammond
daec7dff1c Support specifying custom variables when calling lessc and less.js.
Both lessc and less.js can now be provided with global variables that
all .less files will have immediate access to. This can be used to
provide, for example, a base path for an @import, signed URLs offering
temporary access to an image on S3, or anything else.

lessc has two new parameters, --global-var and --modify-var. Both take
a value of the form "varname=value". --global-var declares variables
immediately before the content of the .less files, and --modify-var
declares them after.

--global-var is used when rules, imports, or other variables will depend
on the provided variable.

--modify-var is used to override a variable declared within the .less
file.

less.js's equivalent for global variables is less.globalVars. This can
be set before loading less.js. There is no new requivalent to
--modify-var, as less.modifyVars can be used for that purpose.
2013-11-14 02:58:34 -08:00
Luke Page
ff611f729c Merge pull request #1628 from tomfuertes/patch-1
update bower.json main script
2013-11-13 23:50:36 -08:00