Commit Graph

476 Commits

Author SHA1 Message Date
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
ebc6f5e1df add passing test for urls containing escaped quotes 2013-09-14 14:04:19 +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
74c66e7d5d Merge branch 'master' of https://github.com/cloudhead/less.js 2013-09-09 22:11:53 +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
44857ed3f5 add back sourcemap test result file 2013-09-09 08:05:21 +01:00
Luke Page
c15f931c09 Merge branch 'grunt-wip' 2013-09-09 08:02:30 +01:00
Luke Page
ea83b9147b Fix the final tests and get grunt to stop f the javascript tests fail 2013-09-09 08:00:48 +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
e097c189cb fix another browser test 2013-09-05 17:07:59 +01:00
Luke Page
75de5059f9 Fix more browser tests under grunt 2013-09-05 13:49:55 +01:00
Luke Page
fc6f9d81bd Fix most of the browser tests running through grunt 2013-09-05 13:16:41 +01:00
Luke Page
e2724cd64a add the test sourcemaps command and delete unused file 2013-09-05 12:43:26 +01:00
Luke Page
c139e691ad Merge branch '1.5.0-wip' of https://github.com/upstage/less.js
Conflicts:
	.gitignore
	.jshintrc
	CHANGELOG.md
	Makefile
	build/browser-header.js
	lib/less/browser.js
	lib/less/functions.js
	lib/less/rhino.js
	lib/less/tree/dimension.js
	lib/less/tree/value.js
	package.json
	test/browser-test-prepare.js
	test/browser/common.js
	test/browser/css/relative-urls/urls.css
	test/browser/css/urls.css
	test/browser/template.htm
	test/css/compression/compression.css
	test/css/static-urls/urls.css
	test/css/urls.css
	test/less-test.js
2013-09-04 23:12:34 +01:00
Luke Page
090a386a4b don't strip units when compressing for durations 2013-09-01 18:34:18 +01:00
Luke Page
0d9160d82d Fix browser tests after removing .. path elements 2013-09-01 18:21:47 +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
f37de83082 Fix another extend issue - Fixes #1404 2013-09-01 15:04:21 +01:00
Luke Page
9447421258 switch on latedef option and fix issues. Fixes #1521 2013-09-01 12:34:20 +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
Jon Schlinkert
15c38b1ac2 fixed some typos, ran jshint and reformatted for clarity 2013-08-21 16:33:30 -04: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
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
meri
1105f1e02f Raised timeout for error test, it did not made it till the end
occasionally.
2013-08-07 16:18:50 +02:00
meri
e3f573d6b2 Removed files that are not used anymore. 2013-08-07 14:07:52 +02:00
meri
12da566398 Added modify vars tests. 2013-08-07 13:52:10 +02:00
meri
d2c60d2884 Added production tests. 2013-08-07 11:30:16 +02:00
meri
296dac360c Added rootpath-relative tests. 2013-08-07 11:09:48 +02: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
meri
1f4bab6453 Added rootpath tests. 2013-08-07 09:41:59 +02:00
meri
58f35b4cd1 Added relative urls tests. 2013-08-07 09:17:19 +02:00
meri
e41d32184e Converted browser/browser tests into jasmine. 2013-08-06 16:45:59 +02:00
meri
38d72f1030 Removed dead code. 2013-08-05 16:11:36 +02:00
meri
c1e1edc0c3 Changed error message. 2013-08-05 15:59:29 +02:00
meri
1ea0416adb Added wait into error tests. 2013-08-05 15:58:04 +02:00
meri
3765bb2926 Did legacy tests and working on errors. 2013-08-05 11:32:06 +02:00
meri
9eddb1b5af Added template and config for main runner. 2013-08-03 16:20:06 +02:00
Jon Schlinkert
38a8664013 Merge branch 'less.js/1.5.0-wip'
Conflicts:
	.jshintrc
	Makefile
	package.json
2013-08-01 06:51:59 -04: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
Luke Page
4bedef4fd3 Fix issue with css guards not hiding inner classes 2013-07-30 12:14:20 +01:00
Luke Page
41f53f2fc2 correct radial gradient format to w3c spec 2013-07-30 12:07:15 +01:00
Luke Page
37c4e1126a correct some paths 2013-07-26 17:06:04 +01:00
Luke Page
f16e5142cf test some more advanced sourcemaps and correct a bug in the output column 2013-07-24 13:46:20 +01:00
Luke Page
b2a445c46c pass more lines and columns to the sourcemap generator. start passing the filenames to the sourcemap generator. 2013-07-20 23:02:28 +01:00