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
Luke Page
eb5c9fbf5d
Relative url's option for node lessc
2012-12-28 15:25:15 +00:00
Luke Page
6554117643
Add initial browser test suite using phantomjs for headless testing and jasmine
2012-12-16 08:45:51 +00:00
Luke Page
3dcf057fdb
Refix tests to work on unix and windows
2012-11-28 05:58:08 +00:00
Felix Gnass
a59801f50d
Test for escaped paths
2012-11-28 05:49:11 +00:00
Simone Deponti
54c7d12ba3
Fixed path replacements in text a little bit better.
2012-10-07 12:16:09 +01:00
Simone Deponti
dc12632f7b
Completed tests.
...
Made a minor modification to the test runner to best reuse tests
in these cases.
2012-10-07 12:16:09 +01:00
Simone Deponti
959e22f5ff
Added media query support.
...
* env.dumpLineNumbers was being lost when doing "offline" compilation
(within node.js)
* Added documentation for the changed options
* --line-numbers now takes a parameter
(either "comments", "mediaquery" or "all")
* The system can now again output mediaqueries for FireLESS
* Moved comments tests in debug/comments, will duplicate
for mediaquery and for "all"
Everything is still utterly broken though, tests still fail.
2012-10-07 12:16:03 +01:00
Luke Page
538097ec30
Unit tests for debug numbers
2012-10-07 12:16:02 +01:00
Luke Page
bd8679b4c6
Fix error unit tests to run on any computer
2012-08-21 07:20:23 +01:00
Matt
5132c71a5b
Fix error output and extract a helper object for lessc related methods
...
- Fixed a bug, which prevents colors from being set in error messages.
- Created a helper object for lessc methods and moved the stylize function
into it. Changed test/less-test.js and lib/less/index.js to use new methods.
- Removed duplicate definitions of the stylize function.
2012-08-15 18:53:35 +01:00
Luke Page
713cbd2002
support error tests in windows
2012-08-12 13:35:13 +01:00
Luke Page
42b83ef523
Make the test runner accept a argument to restrict the tests running (for debugging). Make the test runner pass the filename so it behaves like lessc - this fixed one of the tests. Also corrected the tests to run given the new format of the message
2012-08-11 22:28:57 +01:00