371 Commits

Author SHA1 Message Date
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
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
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
fredburger
1a33bc69f8 Misc. perf optimizations. #1615 2013-10-30 08:09:17 +01:00
seven-phases-max
194f2c5213 a few minor selector match fixes... 2013-10-29 18:48:10 +04:00
seven-phases-max
05ef5cd0ac fixed mixin call matching for multi-selector parent... 2013-10-29 08:04:38 +04:00
Luke Page
9a7351d27f fix spacing issue with extends and fix tests 2013-10-20 11:28:47 +01:00
Luke Page
8b68ecd98e Fix missing parameter to Quoted - Fixes #1562 2013-10-15 18:13:27 +01:00
Luke Page
dd5bb4dd5a send important on to sub mixins. Fixes #1256 2013-09-18 17:49:33 +01:00
Luke Page
58e3269c74 do not match args with a variadic mixin that does not have enough arguments. Fixes #1527 2013-09-18 17:25:12 +01:00
Luke Page
39b36d9cfc Add alias for =< as <= fixes #1435 2013-09-18 05:42:21 +01:00
Luke Page
62751c917c support inline css files in the sourcemaps 2013-09-17 19:37:00 +01:00
Luke Page
577751a174 improve output of page rules during compression - don't strip ; on rule before rulesets 2013-09-16 22:22:33 +01:00
Luke Page
0b0519fecb use the same environment frames for guards as for evaluating parameters 2013-09-14 13:34:09 +01:00
Luke Page
862d7ed0ab support transparent as a color but do not alter existing output of transparent and rgba() 2013-09-14 12:10:57 +01:00
Luke Page
4c552349e5 Fix #1536 - pattern used in bootstrap is causing a recursion error 2013-09-09 22:11:29 +01:00
Luke Page
1f456ffc18 clean up a TODO and avoid some un-necessary calls 2013-09-08 17:25:03 +01:00
Luke Page
023c3f020a do not create empty sourcemaps or add mapping comments on to empty files. Also fix empty files from having a newline in them. fixes #1491 2013-09-08 17:12:13 +01:00
Luke Page
090a386a4b don't strip units when compressing for durations 2013-09-01 18:34:18 +01:00
Luke Page
0524e48c93 Merge branch 'patch-1' of https://github.com/quarterto/less.js into 1.5.0-wip 2013-09-01 18:27:37 +01:00
Luke Page
c1928b49d4 Merge branch 'normalized-urls' of https://github.com/rjgotten/less.js into 1.5.0-wip
Conflicts:
	test/css/static-urls/urls.css
	test/css/urls.css
2013-09-01 18:17:32 +01:00
Luke Page
1b3acd403a fix media query bug. Fixes #1502 2013-09-01 17:56:59 +01:00
Luke Page
bc568f7bd8 Fix bad reliance on env variable, causing error when interpolating a comma seperated value 2013-08-15 21:58:02 +01:00
rjgotten
e0561e3d95 Normalize URLs in generated CSS
Adds a normalizePath method to tree.evalEnv.prototype with which to normalize paths, i.e. , remove /../ or /./ segments stuck in the middle.

Unit tests have been updated to reflect these changes.
2013-08-07 10:44:12 +02:00
Luke Page
e68f47fec5 Merge branch 'sourcemaps-wip' into 1.5.0-wip
Conflicts:
	bin/lessc
	lib/less/env.js
	lib/less/tree/color.js
	package.json
2013-07-31 22:21:44 +01:00