Commit Graph

960 Commits

Author SHA1 Message Date
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
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
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
c68352dc17 Fix issue with svg-gradient breaking the opacity 2013-07-30 12:07:03 +01:00
Luke Page
b711d16f0d switch to use the clean-css compressor. #1349 2013-07-30 12:06:48 +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
Rik
adf55b225e added semi-colons to end of lines where missing 2013-07-24 11:03:05 +02:00
Rik
3a4a2074aa created less.log_level setting
This will control the amount of logging in the javascript console that
less will do while parsing.

Options are:
    2 - Information and errors
    1 - Errors
    0 - None

Defaults to 2
2013-07-24 10:52:04 +02: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
3235042f0f 1.4.2 release 2013-07-20 21:03:30 +01:00
Luke Page
026f33114b Merge pull request #1425 from SLaks/patch-1
Windows path fixes
2013-07-20 07:06:46 -07:00
Luke Page
fe8aabd8ff allow upper case in properties. fixes #1398 2013-07-20 15:01:07 +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
536bfa273c tweaks and start of output 2013-07-18 22:40:59 +01:00
Luke Page
f14f86136c add tests for sourcemaps and get prototype working 2013-07-18 22:21:59 +01:00
Luke Page
8a4e7b97c6 hack in prototype exporting empty source-map 2013-07-18 13:58:41 +01:00
Luke Page
1ec0563c9a add sourcemapper class 2013-07-18 13:06:56 +01:00
Luke Page
1cc63d11b4 convert the rest of the nodes to use genCSS 2013-07-18 12:47:11 +01:00