90 Commits

Author SHA1 Message Date
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
Luke Page
63109417c7 small fixes to sourcemaps 2013-07-19 19:26:24 +01:00
Luke Page
8c3e304966 get the map file outputting and reference file from the end of the css file 2013-07-19 06:54:02 +01:00
Luke Page
f14f86136c add tests for sourcemaps and get prototype working 2013-07-18 22:21:59 +01:00
Luke Page
aab9c1b24f Fix jshint errors after merge and add jshint to makefile 2013-07-18 06:21:11 +01:00
Luke Page
fb9423b94b Merge remote-tracking branch 'evocateur/all-sourcemap-patches' into sourcemaps-wip 2013-07-17 22:18:29 +01:00
Luke Page
a554b8e088 get closer moving tab control away replacing text after converting to css 2013-07-14 23:04:09 +01:00
Daniel Stockman
2ede18b9eb Merge branch 'sm/log-stacks' into all-sourcemap-patches 2013-07-08 19:20:44 -07:00
Daniel Stockman
66a9890c39 Log stacks when errors are caught in tests to aid debugging. 2013-07-08 19:17:04 -07:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Luke Page
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
Ricardo Tomasi
bca5a39d3b Check for global variable leaks 2013-07-05 06:19:38 +01:00
Luke Page
c2dcb743d3 Allow creating parser without options. Fixes #1373 2013-07-05 06:09:40 +01:00
Luke Page
65602099cc rename strictMaths to strictMath, set default to false, update strict options to take = on | off 2013-05-02 18:18:51 +01:00
agatronic
5bc4059c6b Make non strict units less strict and change the default to not be strict units. Fixes #1254 2013-04-26 09:35:56 +01:00
Luke Page
464e777db5 Fix unit tests for debug 2013-03-04 11:02:22 +00:00
Daniel Stockman
51387047da Wrap data-uri warnings in an env.silent check, silencing test set. 2013-02-26 18:55:38 +00:00
Luke Page
914eb404d7 Fix import errors in browser mode. Fixes #1117 and fixes #1118 2013-02-10 12:47:25 +00:00
Luke Page
3ef22f16f9 Add strictUnits option, add tests for legacy behaviour 2013-01-30 20:31:26 +00:00
Luke Page
703aa928fc Add tests for compression. remove fullhex function - make colors not compress when used in strings. 2013-01-06 10:33:31 +00:00
Luke Page
9829f2409c When adding a path onto an unquoted url, escape characters that require it. Fixes #831 2012-12-28 21:04:28 +00:00
Luke Page
75a92bdc44 Add tests for static urls 2012-12-28 16:40:06 +00:00