394 Commits

Author SHA1 Message Date
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
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
Luke Page
5196277b35 Merge pull request #1624 from seven-phases-max/mixins-with-interpolated-selectors
Experimental support for mixins with interpolated selectors
2013-12-19 22:49:59 -08:00
Luke Page
b2b1451902 Merge branch 'mutually-exclusive-guards' of https://github.com/seven-phases-max/less.js 2013-12-19 06:33:38 +00:00
Luke Page
d90678e466 Merge branch 'property-name-interp' of https://github.com/seven-phases-max/less.js 2013-12-19 06:32:49 +00:00
Luke Page
07841b3860 Fix issue with unqouted urls in mixins having their context evaluated twice. Fix sourcemap test output 2013-12-18 19:42:32 +00:00
meri
cba972d0db Fixing url slash problem that caused failures. 2013-12-18 16:17:00 +01:00
Josh Schmidt
d8d40c1d87 fix whitespace 2013-12-17 22:44:57 -07:00
Josh Schmidt
6ff68041de Set object id and initiate parent_ids array 2013-12-17 22:44:18 -07:00
seven-phases-max
ebdadaedac Experimental support for "property name interpolation", part-2. 2013-12-18 07:10:00 +04:00
Luke Page
818109beca Fix issue with urls in mixins 2013-12-17 23:42:08 +00:00
seven-phases-max
f168d187e1 mixin guard default: default moved to functions.js + other minor improvements 2013-12-17 06:32:36 +04:00
seven-phases-max
6d3414d217 Initial implementation of mixin guard default function (aka "mutually exclusive guards") 2013-12-17 06:32:35 +04:00
seven-phases-max
2ad97c96c7 interpolated mixins, fixed: possible false match if variable contains , 2013-12-17 05:41:09 +04:00
seven-phases-max
002d6db966 Experimental support for mixins with interpolated selectors. 2013-12-17 05:41:08 +04:00
Luke Page
3818727bf7 jshint: boss 2013-12-16 23:23:34 +00: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
5367b8b6be Merge branch 'perf-tune' of https://github.com/fredburger/less.js
Conflicts:
	lib/less/to-css-visitor.js
2013-12-08 17:25:58 +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
seven-phases-max
ba5c8189cd Fixed line/column numbers in math expr/ops error messages. Updated tests. 2013-12-05 10:56:20 +04: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