Commit Graph

992 Commits

Author SHA1 Message Date
seven-phases-max
fd1182bd69 Added length function (#1542). Added scalar value handling for extract and length (#1576). 2013-10-03 10:04:23 +04:00
Luke Page
5f20c4aeaa support @host. Fixes #1560 2013-09-22 10:03:50 +01:00
Luke Page
15e8897802 if ie compatability is off, do not warn at all about file sizes over IE's
limit. Fixes #1414
2013-09-18 18:07:34 +01:00
Luke Page
c04bdc91a8 allow media features to be variables. Fixes #1330 2013-09-18 18:04:00 +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
0465398ab6 throw an error when the unit function is passed bad input. Fixes #1426 2013-09-18 05:54:38 +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
ee11dfb0b1 1.5.0 beta 3 release 2013-09-17 06:13:07 +01:00
picomancer
a6cdb81b30 Replace deprecated sys.puts with console.log, resolve #1529 2013-09-16 18:32:29 -04: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
793bb89a2a Test for invalid colors. Fixes #1458 2013-09-16 19:50:05 +01:00
Luke Page
0de5653ccc small fixes to help allowing sourcemaps in browser mode 2013-09-16 19:30:16 +01:00
Luke Page
176260a035 allow sourcemaps to be inline, in the css 2013-09-14 19:33:08 +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
c41254f8fe Merge branch 'master' of https://github.com/brenmar/less.js 2013-09-14 12:14:48 +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
0a70eded8b Merge pull request #1543 from andjo/sourcemap-options
Sourcemap basepath option
2013-09-14 03:22:40 -07:00
Luke Page
6eb992a775 Merge pull request #1412 from christopherobin/master
Allow imports from self-signed SSL hosts
2013-09-11 05:01:53 -07:00
Anders Johansson
bab31952ff Normalize path for sourceMappingURL. 2013-09-11 13:48:50 +02:00
Anders Johansson
5ef2ff1707 Added --source-map-basepath option 2013-09-11 13:48:07 +02:00
Luke Page
c4a2ed6bce Release 1.5.0 beta 2 2013-09-09 22:29:15 +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
3cc76e6541 1.5.0 beta 1 2013-09-03 07:19:49 +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
Hector G. Parra
3918f940d0 Report bugs to: http://github.com/less/less.js/issues 2013-09-01 17:27:13 +01:00
Luke Page
f37de83082 Fix another extend issue - Fixes #1404 2013-09-01 15:04:21 +01:00
Luke Page
cae65e4ba0 Fix bug with extends. Fixes issue with added space with extend. Now all unit tests pass again 2013-09-01 14:59:19 +01:00
Luke Page
9447421258 switch on latedef option and fix issues. Fixes #1521 2013-09-01 12:34:20 +01:00
Luke Page
6fe1174382 rename log_level to logLevel and update some of the changelog 2013-08-22 19:30:15 +01:00
Luke Page
2ed6f34afb Use the log method for logging errors and turn the number into an
enumeration.
2013-08-22 19:11:23 +01:00
Luke Page
a63903cfff Merge branch '1.5.0-wip' of https://github.com/gitaarik/less.js into 1.5.0-wip
Conflicts:
	lib/less/browser.js
2013-08-22 19:06:09 +01:00
Luke Page
03a7183637 add tests and fix log to console feature 2013-08-21 20:35:32 +01:00
Luke Page
6c5072ebbc implement log to console and fix browser tests 2013-08-21 19:35:28 +01:00
brenmar
1ca52ff2be return callback values in parser to allow synchronous parsing 2013-08-20 23:36:24 +09:30
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
Luke Page
a10be4d6a6 Fix possible race condition in the import 2013-08-15 21:30:17 +01:00
Oliver Wong
0bf2354f12 use already existing head var 2013-08-15 20:46:00 +01:00
Oliver Wong
ee1d54a173 fix dom manipulation 2013-08-15 20:45:37 +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
Luke Page
969e70a573 sourcemaps: Fix some issues with output, add an inline flag, add a test harness 2013-07-31 22:11:53 +01:00
Luke Page
1563d5c087 sourcemaps: rename rootpath to basepath and add a rootpath option 2013-07-31 21:01:15 +01:00
Matt Brennan
dc45573cf9 Better "JavaScript evaluation error" message
Less's messages for JavaScript evaluation errors do not contain the actual error thrown, making them very hard to debug. This PR adds the error message to the log.
2013-07-30 16:56:14 +01:00