413 Commits

Author SHA1 Message Date
Luke Page
17a92e3f9b Merge pull request #1890 from roelvanduijnhoven/feature/luma-definition
Let `luma` follow spec
2014-02-27 19:53:41 +00:00
Luke Page
ccd8ebbfdf always execute import-once in the same way. Fixes #1898 2014-02-27 06:12:31 +00:00
Luke Page
beb52739c0 allow % to be passed to the unit function. Fixes #1550 and fixes #1571 2014-02-23 17:09:33 +00:00
Luke Page
5ab0e08665 Do not evaluate css with guards if the guards fail. Fixes #1873 2014-02-21 12:37:40 +00:00
Luke Page
7c90acaae6 Fix a small scope issue with mixins when using parent selectors, introduced in 1.6.2. Fixes #1877 2014-02-21 11:22:42 +00:00
Luke Page
bf9c59025b Fixed that in some situations a mixin call into a referenced file wouldn't import media queries. Fixes #1469 2014-02-21 11:03:38 +00:00
Roel van Duijnhoven
ea1822385a Let luma follow spec
The `luma` function found in LESS is not implemented as defined in the specification (http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef).
2014-02-20 16:19:19 +01:00
Luke Page
88b44dfc43 make mixin definitions have similar coding style to detached rulesets for grabbing frames 2014-02-17 19:50:43 +00:00
Luke Page
baba33ea6a Fix some bugs with detached rulesets and media queries 2014-02-17 19:15:47 +00:00
Luke Page
c730829d1d Fix one issue with media queries and detached rulesets, one to go 2014-02-16 17:50:51 +00:00
Luke Page
b46ca11286 error tests and test detached rulesets without a mixin call 2014-02-13 21:42:32 +00:00
Luke Page
c301ea6e42 Merge remote-tracking branch 'origin/master' into detached-rulesets 2014-02-12 23:42:15 +00:00
Luke Page
9749d20c3d Fix tests, fix a bug in comparing values 2014-02-11 21:09:06 +00:00
Luke Page
dff83f8d97 Merge branch 'master' of https://github.com/deviprsd21/less.js 2014-02-11 20:38:12 +00:00
seven-phases-max
68f97faf5d Fixed empty args matching for named variadics (e.g. .mixin(@var...)). 2014-02-11 19:25:20 +04:00
Luke Page
2be0b8c922 Merge remote-tracking branch 'origin/master' into detached-rulesets 2014-02-11 13:53:16 +00:00
Luke Page
f7414a1072 detached rulesets 2014-02-09 22:20:08 +00:00
seven-phases-max
09c4311594 Added support for variables in certain at-rules (keyframes, namespace, charset). 2014-02-09 13:42:01 +04:00
Luke Page
38cca0471c make selector-less css guard fold into the current selector 2014-02-02 17:38:13 +00:00
Luke Page
eb19ae4cfa Fix bug with css guards. Fixes #1750. Fixes #1613. Fixes #1813 2014-02-01 19:13:56 +00:00
Luke Page
eba67deddf Merge branch 'property-interp-fix-2' of https://github.com/seven-phases-max/less.js
Conflicts:
	lib/less/parser.js
2014-02-01 18:33:58 +00:00
Josh Schmidt
c425541e0d Fix grunt test, declare i 2014-01-27 09:47:01 -07:00
Josh Schmidt
d5b2c2760c Cache match elements to speed up compiler 2014-01-26 11:50:50 -07:00
Luke Page
e18b274f62 Merge branch 'cache-buster' of https://github.com/bcluca/less.js
Conflicts:
	test/index.js
2014-01-22 21:19:57 +00:00
seven-phases-max
5146c1b1ee improved multiple default() guards conflict detection, updated tests. 2014-01-21 19:11:08 +04:00
Luke Page
8580ff8c10 Merge pull request #1814 from seven-phases-max/numeric-precision
Rounding of output numbers.
2014-01-21 04:27:59 -08:00
Luke Page
9a0f813167 Merge pull request #1806 from SomMeri/rhino
rhino version not up to date (#1405)
2014-01-21 04:17:50 -08:00
Josh Schmidt
ec462237ba Update ruleset.js
Correct arguments for tree.Element
2014-01-18 21:07:05 -07:00
Luca Bernardo Ciddio
d6244cb3f9 Renamed --cache-buster option to --url-args 2014-01-18 19:26:27 -08:00
seven-phases-max
52ba472bb7 Added rounding of output numbers (hardcoded to max. 8 digits in this commit). 2014-01-18 09:58:14 +04:00
Luca Bernardo Ciddio
958716160f Cache buster for url tokens 2014-01-16 21:12:56 -08:00
meri
85197ee577 Merge branch 'master' of https://github.com/less/less.js into rhino
Conflicts:
	.gitattributes
	README.md
	test/index.js
2014-01-14 22:48:46 +01:00
Marek Duława
13635e7462 ability to insert uppercase color names 2014-01-14 15:19:51 +01:00
deviprsd21
e6b94f9c45 Pixel conversion added. 2014-01-13 16:43:46 +05:30
Luke Page
3755fb28b0 Merge pull request #1780 from brenmar/master
#1778 standardised using starting index, to fix incorrectly mapped sourcemaps
2014-01-11 10:43:16 -08:00
Luke Page
92c3ac2c88 support shadow dom selectors. fixes #1801 2014-01-11 17:43:19 +00:00
Luke Page
6dfb00751c Fix for in without hasOwnProperty 2014-01-10 20:09:36 +00:00
seven-phases-max
bca1f996a6 Fixed incorrect property interpolation for certain variable types, updated tests. 2014-01-07 19:51:41 +04:00
Mark Brennan
261d4e0f9c fixed using starting index for parser nodes, which enables the creation of accurate source maps 2014-01-05 21:10:55 -08:00
Luke Page
4dd5a4b8e8 Merge pull request #1737 from seven-phases-max/clamped-rgba-output
Clamped rgba format color output
2014-01-01 05:05:59 -08:00
lesswtf
216facd033 If result of evaluated javascript is a number return it as Dimension. 2013-12-30 05:11:24 +03:00
seven-phases-max
34f54cf645 improved error message for undefined variable in js eval statement, more clean fix. 2013-12-27 17:51:54 +04:00
seven-phases-max
4d7a2bcd84 improved error message for undefined variable in js eval statement. 2013-12-27 17:42:37 +04:00
Luke Page
fdf666fe22 Merge branch 'master' of https://github.com/cloudhead/less.js 2013-12-22 15:48:29 +00:00
Luke Page
327a4bdc79 Merge branch 'patch-2' of https://github.com/oyejorge/less.js 2013-12-22 15:43:53 +00:00
Luke Page
b334c31d21 Merge pull request #1758 from seven-phases-max/master
Removed redundant code from tree.Selector.match()
2013-12-22 07:39:11 -08:00
seven-phases-max
4cdd4a6b73 Removed redundant code from tree.Selector.match() 2013-12-22 19:19:50 +04:00
seven-phases-max
bbc15a413b default function: added error when used with css-guards. updated tests. 2013-12-22 18:54:39 +04:00
seven-phases-max
bdfff94920 * functions.js: (minor) reworking to clean-up initialization of "externally" defined functions (math, blending, default).
* `default` function "front-end" reworked for a bit higher-level control from its "back-end" code (e.g. tree.mixin.eval).
2013-12-22 18:27:51 +04:00
seven-phases-max
302143255d clamped rgba format color output. 2013-12-22 10:02:49 +04:00