2222 Commits

Author SHA1 Message Date
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
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
SLaks
4b0795dc79 Windows path fixes
Fix uppercase drive letters, paths with multiple backslashes.

string.replace(string, string) only replaces the first match.
2013-07-17 14:03:58 -04: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
Brian Dukes
05be360993 Add failing test for imported mixin with wrong path
When relative URLs are on, and there's an image referenced via url(...),
if the URL is unquoted, the generated CSS duplicates the base path
2013-07-11 15:04:52 -05:00
Christophe Robin
2d1afdfe91 Added switch --insecure to allow imports from insecure/self-signed SSL certificates 2013-07-11 16:45:23 +09:00
Luke Page
24e2b01d6e better environment detection 2013-07-09 13:29:58 +01:00
Luke Page
283d623a98 switch to use the clean-css compressor. #1349 2013-07-09 08:22:59 +01:00
Daniel Stockman
2ede18b9eb Merge branch 'sm/log-stacks' into all-sourcemap-patches 2013-07-08 19:20:44 -07:00
Daniel Stockman
098360008b Merge branch 'sm/location-refactor' into all-sourcemap-patches
Conflicts:
	lib/less/parser.js
2013-07-08 19:20:25 -07:00
Daniel Stockman
8b4d45cd4d Merge branch 'sm/jshint' into all-sourcemap-patches 2013-07-08 19:19:49 -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
f000522855 Run JSHint in pretest phase, with basic config and ignores. 2013-07-08 19:09:52 -07:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
Daniel Stockman
5547e8a27e Refactor parser's private getLocation method for clarity, and reuse appropriately. 2013-07-08 14:55:30 -07:00
Luke Page
42dfeb8d3b move the property check out of the ruleset and fix an issue in the visitor 2013-07-05 20:56:59 +01:00
Luke Page
01fd5d679e remove variables before toCSS 2013-07-05 17:13:27 +01:00
Luke Page
831e343216 move comment filtering into visitor 2013-07-05 06:52:32 +01:00
Luke Page
800b4218d5 Start abstracting re-organising logic into a visitor before css output. Will allow nodes to just be 'read' and debugInfo written into a sourcemap. part 1. 2013-07-05 06:52:31 +01:00
Luke Page
8ea150d4cb Fix typo in changelog 2013-07-05 06:52:30 +01:00
Luke Page
98f2fef2df add option to disable javascript. Fixes #688 2013-07-05 06:52:29 +01:00
Luke Page
308bfe2e2b update changelog to add svg-gradient function 2013-07-05 06:52:02 +01:00
Luke Page
45184377ce update changelog 2013-07-05 06:52:00 +01:00
Luke Page
366f6755aa guards on css styles, first draft. Only allows guards on 1 selector in the block, that being the last one. 2013-07-05 06:51:59 +01:00
Luke Page
cfe9ae7798 Add svg-gradient function. Fixes #1383 2013-07-05 06:51:58 +01:00
Kevin Gillette
3d46350a40 Cleanup. Now responds to env.compress 2013-07-05 06:51:57 +01:00
Kevin Gillette
54a5f74c09 min/max now always reduce compatible terms. 2013-07-05 06:51:56 +01:00
Kevin Gillette
6df4e48976 Added min and max builtins. 2013-07-05 06:51:55 +01:00
Luke Page
d2255e64f6 do not use spaces between | namespace operators. Fixes #1300 2013-07-05 06:51:54 +01:00
Luke Page
7056f7b4d7 add tests and fix whitespace issue 2013-07-05 06:51:54 +01:00