111 Commits

Author SHA1 Message Date
meri
73f93d4fce removing forgotten commit 2016-01-15 14:37:41 +01:00
meri
ce55a8e79c Fixing #2124 - Parsing Error "Unrecognised input" for color operations
with color names.
2016-01-14 23:46:05 +01:00
Luke Page
b10928720f Merge branch 'tests' of https://github.com/bassjobsen/less.js
Conflicts:
	test/index.js
2015-03-20 08:11:46 +00:00
Bass Jobsen
4bb098bfc9 fix for issue #2500 2015-03-15 23:09:50 +01:00
Bass Jobsen
410a86a594 run postprocess plugin test CLI too 2015-03-04 09:11:17 +01:00
Krzysztof Chrapka
5fac1f0e0b Fix empty sourcemaps
fixes #2430
2015-02-06 18:21:24 +01:00
Luke Page
f5700b8b33 do not do bom test unless prep is called - in order to allow plugins to continue to use less acceptance test system without bom tests. 2015-02-02 20:12:18 +00:00
Luke Page
604c911441 style cop 2 - indentation 2015-01-30 20:41:25 +00:00
Luke Page
1494e25ef0 More style cop.. 2015-01-30 18:28:02 +00:00
Luke Page
d206167c84 enforce spaces between operators for consistency 2015-01-27 22:24:12 +00:00
Luke Page
31c3d04980 jscs style checking. Fixed whitespace issues. 2015-01-26 23:34:35 +00:00
shaun
d7f79be40d Always copy/create BOM tests, even if they already exist.
Useful if editing tests, so you don't have to keep deleting the
test/less-bom folder between each test.
2015-01-14 20:49:36 -08:00
shaun
023dd62c88 Make copy of options before each test set.
Some operations modify the options object, which could influence the next
test set.
Modified the test labels in the output to include the
folder (to distinguish between the normal and BOM tests).
Modified warning message from data-uri file-not-found to include the
filename.
2015-01-14 08:26:39 -08:00
shaun
7f8026284a Remove BOM in imports.
Modified tests to run against a copy of the test files with BOMs inserted
into each .less and .css file (the copies are generated automatically if
the /test/less-bom folder doesn't exist or is empty).
2015-01-13 20:32:47 -08:00
jurcovicovam
84b1863ddf Support include-path inside data-uri. Related to #1634 and #2275 2015-01-13 15:09:41 +01:00
Luke Page
15fc1cb332 exclude sync and integration tests if test name is specified 2015-01-04 08:45:57 +00:00
Luke Page
f47875ea28 some fixes to the tests and warn if render calls the callback multiple times 2015-01-03 14:52:50 +00:00
Luke Page
52a3790569 Fix testing framework - was skipping some tests. 2015-01-03 09:03:08 +00:00
Luke Page
8fc12e1b67 run less tests one after another 2014-11-28 19:46:49 +00:00
Luke Page
d87777d18c output warning log messages during testing 2014-11-28 18:07:54 +00:00
Luke Page
89c95af070 Fix isSync option, turn browser back to running sychronously and fix many issues that came up 2014-11-22 18:30:36 +00:00
Veres Lajos
73f3fc4468 typo fixes 2014-11-02 23:18:29 +00:00
Luke Page
823ab221dd further simplifications to the parse context 2014-09-22 21:24:48 +01:00
Luke Page
5dbae36642 Do not require users to construct a source map builder 2014-09-20 00:43:02 +01:00
Luke Page
e172602938 change render and tree to return an object containing css and map and in the future possibly other things 2014-09-20 00:29:05 +01:00
Luke Page
d9a6b46234 initial work to allow post process plugins to work with sourcemaps 2014-09-19 14:45:41 +01:00
Luke Page
b721c4f44f use a sourcemap builder for sourcemap output, seperated from the other less options 2014-09-18 22:23:15 +01:00
Luke Page
d9c42e206d seperate out the environments at the top-most-level 2014-09-04 19:11:59 +01:00
Luke Page
4f5a449b0b move creation of env to invoker 2014-09-04 18:24:24 +01:00
Luke Page
544bd3abf0 Change code to use less.render 2014-09-03 16:24:09 +01:00
Luke Page
cde9b79b6c much improved comment parsing 2014-08-17 11:30:18 +01:00
Luke Page
d7e7ddba44 move functions into its own folder and give it a set interface 2014-08-16 13:17:35 +01:00
Luke Page
1ff24b4c26 do not use util.print since it is deprecated. Fixes #2081 2014-07-27 16:56:46 +01:00
Luke Page
6de8fc189f Fix double toCSS calls in unusual situations causing an exception. Fixes #1830 2014-02-08 16:45:36 +00: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
Luke Page
479827b02f add banner option. Fixes #1735 2013-12-22 16:17:52 +00:00
Luke Page
8440773f8a change to use format consistent with the browser and for sourcemaps to take additional variables into account 2013-12-21 11:14:35 +00:00
Luke Page
9fccf9643f Merge branch 'parse-add-variables' of https://github.com/joscha/less.js
Conflicts:
	lib/less/parser.js
	test/less-test.js
2013-12-20 16:41:27 +00:00
meri
eff959f38f Added "debug" tests. They are failing currently, due to weird rhino
version handling of slashes.
2013-12-13 13:39:28 +01:00
Joscha Feth
723cdb501e This adds an additional vars parameter to the parse method. It allows a user to inject variables into a less string before compiling. 2013-12-08 22:50:54 +01:00
Luke Page
13f41017ed move the tester into a seperate module so it can be used by other projects 2013-11-20 22:05:34 +00: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
9447421258 switch on latedef option and fix issues. Fixes #1521 2013-09-01 12:34:20 +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
37c4e1126a correct some paths 2013-07-26 17:06:04 +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
Luke Page
fc35190d38 unused variable cleanup 2013-07-20 22:44:13 +01:00
Luke Page
0c41e06ff8 Merge branch '1.5.0-wip' into sourcemaps-wip 2013-07-20 22:18:54 +01:00
Luke Page
4c51ff1914 Merge branch 'lessmaster' into 1.5.0-wip 2013-07-20 22:17:39 +01:00
Luke Page
bc33e6bfbe fix regression in support for font property. fixes #1429 2013-07-20 14:56:26 +01:00