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
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
fe8aabd8ff
allow upper case in properties. fixes #1398
2013-07-20 15:01:07 +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
1ec0563c9a
add sourcemapper class
2013-07-18 13:06:56 +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
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
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
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
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
98f2fef2df
add option to disable javascript. Fixes #688
2013-07-05 06:52:29 +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
7056f7b4d7
add tests and fix whitespace issue
2013-07-05 06:51:54 +01:00
ForbesLindesay
9de0e30c64
Fix global variable leaks
2013-07-05 06:51:52 +01:00
Kim Joar Bekkelund
11197b34e3
Remove ;
2013-07-05 06:51:44 +01:00
Kim Joar Bekkelund
5444e9482b
Simplify ifs
2013-07-05 06:51:43 +01:00
Luke Page
5cb5f561c8
Convert property merging to the new agreed syntax of +:
2013-07-05 06:51:41 +01:00
Daniel Katz
ff029c34bd
Syntax changed to !merge(space | comma)
...
* Syntax changed to !merge(space | comma)
* !merge(space) implemented by Expression instead of Value.
* Added test for lonely property with !merge directive
2013-07-05 06:51:40 +01:00
Daniel Katz
5dde7b3381
Added support and tests for !merge() syntax #700
2013-07-05 06:51:39 +01:00
agatronic
446e164444
rename mute to reference
2013-07-05 06:51:04 +01:00
Luke Page
f4902f809c
rename import silent to import mute. Fixes #1210
2013-07-05 06:51:02 +01:00
Luke Page
493d6facf2
support comments. Add failing test case for when mixin call does not have parent selectors
2013-07-05 06:50:57 +01:00
Luke Page
aa802bd84c
import silent to work with media queries and directives
2013-07-05 06:50:56 +01:00
Luke Page
5df82b69ce
Basic functionality and basic tests for import silent
2013-07-05 06:50:54 +01:00
Luke Page
898e27f525
Add silent option
2013-07-05 06:50:53 +01:00
Luke Page
f068d2da68
multi comments in selectors and other places
2013-07-05 06:48:48 +01:00
Luke Page
6fc6dc2301
Add import inline option. Fixes #1209
2013-07-05 06:48:47 +01:00
Luke Page
08fca7a7cc
Align the callback param orders
2013-07-05 06:48:46 +01:00
Luke Page
40ce2bc4b4
move new parseEnv into parser
2013-07-05 06:48:45 +01:00
Luke Page
e82536bfca
Simplify more of loadFile and make more of the env creation common between node and browser
2013-07-05 06:48:44 +01:00
Luke Page
c391e72c5e
seperate sheet and env
2013-07-05 06:48:43 +01:00
Luke Page
ede491b02d
move browser to parse inside parser
2013-07-05 06:48:43 +01:00
Luke Page
d907cccf6f
Move parsing into loadStylesheet from loadFile
2013-07-05 06:48:42 +01:00
Luke Page
806ddb64e6
start seperating browser load stylesheet and loadFile
2013-07-05 06:48:41 +01:00
agatronic
9f086324a2
Add interface for a file loader rather than an importer
2013-07-05 06:48:38 +01:00
ForbesLindesay
22c5bd77c4
Fix global variable leaks
2013-07-05 06:10:16 +01:00
Adam McCormick
c6d02c7a6f
Follow standard for inheriting from Error
2013-04-26 13:55:25 +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
3fc8944ce8
Tidy up options
2013-03-20 08:42:01 +00:00
leeight
fc56975b3a
ENABLE max-line-len options support
2013-03-20 08:26:03 +00:00