342 Commits

Author SHA1 Message Date
seven-phases-max
194f2c5213 a few minor selector match fixes... 2013-10-29 18:48:10 +04:00
seven-phases-max
05ef5cd0ac fixed mixin call matching for multi-selector parent... 2013-10-29 08:04:38 +04:00
Luke Page
9a7351d27f fix spacing issue with extends and fix tests 2013-10-20 11:28:47 +01:00
Luke Page
8b68ecd98e Fix missing parameter to Quoted - Fixes #1562 2013-10-15 18:13:27 +01:00
Luke Page
dd5bb4dd5a send important on to sub mixins. Fixes #1256 2013-09-18 17:49:33 +01:00
Luke Page
58e3269c74 do not match args with a variadic mixin that does not have enough arguments. Fixes #1527 2013-09-18 17:25:12 +01:00
Luke Page
39b36d9cfc Add alias for =< as <= fixes #1435 2013-09-18 05:42:21 +01:00
Luke Page
62751c917c support inline css files in the sourcemaps 2013-09-17 19:37:00 +01:00
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
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
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
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
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
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
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
c68352dc17 Fix issue with svg-gradient breaking the opacity 2013-07-30 12:07:03 +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
f14f86136c add tests for sourcemaps and get prototype working 2013-07-18 22:21:59 +01:00
Luke Page
1cc63d11b4 convert the rest of the nodes to use genCSS 2013-07-18 12:47:11 +01:00
Luke Page
fb75c42e4b move more files over to use genCSS 2013-07-18 06:48:32 +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
f99d29cfad continue moving to genCSS 2013-07-17 21:59:43 +01:00
Luke Page
8ca2bb74d2 edit to show bug in extends. move selector toCSS to be concurrent 2013-07-17 20:26:21 +01:00
Luke Page
d6f386727c move mergerules into toCSS visitor 2013-07-16 22:48:29 +01:00
Luke Page
45bc539b57 refactor toCSS to be in output order 2013-07-16 22:45:21 +01:00
Luke Page
1464d22183 move rule duplication removal into the toCSS visitor 2013-07-16 22:25:23 +01:00
Luke Page
190bcca19f Move more toCSS logic into the toCSS visitor 2013-07-16 21:41:38 +01:00
Luke Page
967543cf08 housekeeping ready for next part of refactoring 2013-07-16 20:56:02 +01:00
Luke Page
f032f20206 Fix error in previous commit 2013-07-16 20:24:44 +01:00
Luke Page
2a0df97291 move rule/ruleset re-ordering away from toCSS 2013-07-15 23:05:27 +01:00
Luke Page
037cdb5916 fix tests 2013-07-15 22:03:52 +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
Luke Page
8529f93b48 start moving the tab indent so that css is not modified once output 2013-07-13 15:43:09 +01:00
Luke Page
4db7c883cf start refactoring toCSS so we will be able to collect sourcemap information at the same time 2013-07-11 22:08:38 +01:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00