Commit Graph

1023 Commits

Author SHA1 Message Date
Luke Page
e45ec8a31e refactoring - add a env type to better organise its properties 2013-01-23 19:07:29 +00:00
Marcus Bointon
26d35c98fe Merge pull request #1148 from Synchro/luma
Better implementation of luma
2013-01-23 01:30:26 -08:00
Synchro
8f1bc4badf Better implementation of luma 2013-01-23 09:30:15 +01:00
Marcus Bointon
d36e485d11 Merge pull request #1147 from Synchro/hsv
HSV support for #1143
2013-01-23 00:17:04 -08:00
Synchro
4d5c404dd9 HSV support for #1143 2013-01-23 08:43:12 +01:00
Marcus Bointon
783f5d895a Merge pull request #1145 from Synchro/master
Contrast percentage fix for #1144
2013-01-22 15:35:16 -08:00
Synchro
3b293be8e2 Fix contrast percentage handling, fixes #1144 2013-01-23 00:32:41 +01:00
ScottRippey
80d9f387c0 Reversed the order of extract's parameters, to match the precedence set
by other functions. Fixes #1119
2013-01-12 12:55:09 +00:00
Luke Page
1abb5dd460 Fix #1122 2013-01-12 09:46:20 +00:00
Luke Page
3f9d01ac2f optional dependencies should be loaded in a try-catch so they are actually optional 2013-01-11 22:29:46 +00:00
Luke Page
6308dc06bd Update alpha 1.4.0 2013-01-11 21:14:48 +00:00
Luke Page
d4c84c3f95 Fix missing , from previous commit 2013-01-11 17:43:52 +00:00
Daniel Stockman
8d1eaa2ae8 Optionally use mkdirp to ensure output destination directory exists. Fixes #1099 2013-01-10 22:24:59 +00:00
Gustavo Henke
11aba0ea45 pow() function: more tests 2013-01-10 22:16:49 +00:00
Gustavo Henke
0ac95336f7 Added function pow() with tests 2013-01-10 22:16:49 +00:00
ScottRippey
454a761e9c Added a new function - extract for extracting padding values from a variable 2013-01-10 22:13:33 +00:00
Luke Page
d5bb30b4db Support angle unit conversion. add trig functions. don't compress angle unit. add mod and abs. Fixes #858 and fixes #240 2013-01-06 13:01:10 +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
Spocke
30ee944a4c Fixed so compression can be disabled on specific color values and a issue with a previous commit. 2013-01-05 16:38:49 +00:00
Spocke
432f89aaf4 Fixed issue where the compress value wouldn't get passed around correctly. 2013-01-05 16:36:17 +00:00
Spocke
4e1e3ab957 Added fullhex function to disable compression of color values in MS filter: values. 2013-01-05 16:33:44 +00:00
Spocke
c04ad3adc1 Added better compression for rules by removing the last semicolon. 2013-01-05 16:30:34 +00:00
Spocke
8fdec6ba94 Added better compression for dimension values 0px -> 0 and 0.1 -> .1. 2013-01-05 16:30:33 +00:00
Spocke
f3bb594943 Added better compression for colors hex values #FFFFFF -> #FFF. 2013-01-05 16:24:59 +00:00
Spocke
8bde1635fe Fixed bug where a UTF8 BOM in the less files would break the rhino command line compressor. 2013-01-05 16:24:58 +00:00
Luke Page
6ffee4b903 nice error message if missing dependency 2013-01-05 16:17:05 +00:00
Luke Page
70d610f877 support https and 301 redirects in imports. fixes #1103 2013-01-05 16:08:32 +00:00
Luke Page
8e41393be0 ignore .idea directory 2013-01-05 16:07:03 +00:00
Luke Page
8745ab442a test production browser mode does not output log messages 2013-01-05 15:29:48 +00:00
Richard Brown
fb60990145 Add a lint option to lessc 2013-01-05 15:29:47 +00:00
Guy Bedford
52e13a855a Allow flexible naming for amd support (#933) 2013-01-05 15:29:46 +00:00
Luke Page
4c2d01a316 make env available to functions. Fix the path for the data-uri function in the browser. Fixes #997 2013-01-05 15:29:45 +00:00
Luke Page
aa9c47b5da move data-uri tests to url.less so they are not run in the browser. add browser tests. make function return url() in the browser 2013-01-05 15:29:45 +00:00
Jay Adkisson
2394c0065e guess the mimetype, and properly encode non-base64 uris 2013-01-05 15:29:44 +00:00
Jay Adkisson
5b241fd3a7 throw an error if data-uri is used in the browser
and move require('fs') into the function, so other things
still work in the browser.
2013-01-05 15:29:43 +00:00
Jay Adkisson
24e41081ef add a data-uri function
as described in a comment on #775
2013-01-05 15:29:42 +00:00
Salehen Rahman
d56e0a476d Added the square root function. 2013-01-05 15:29:41 +00:00
Luke Page
782d00972a regenerate browser files 2013-01-05 15:29:41 +00:00
Luke Page
d26159e5c6 Correct unit merge 2013-01-05 15:29:40 +00:00
Luke Page
697515b56c Add additional test for nested selectors. Rebuild dist. 2013-01-05 15:29:39 +00:00
Luke Page
97d0b0205b Rudimentary support for extend in selectors 2013-01-05 15:29:38 +00:00
Luke Page
4633f7cc4c Fix unit comparing after merge 2013-01-05 15:29:37 +00:00
Luke Page
c1efcf4e57 Change extend format to :extend(.class); - part 1 - support for stand-alone &:extend(.class); 2013-01-05 15:29:37 +00:00
Jordan Harband
d9f929a063 - Change the default behavior of "@import" to only import once.
- Add @import-multiple if for some insane reason you want multiple imports.
- Continue to support @import-once for backwards compatibility.
- Fixes #212.
2013-01-05 15:29:36 +00:00
Luke Page
ecc9b0606b Fix merge errors/problems and change format to ++ 2013-01-05 15:29:35 +00:00
hokaccha
815ca4a818 Fix combinator is not extended 2013-01-05 15:29:34 +00:00
hokaccha
f8f2c89ba3 Fix bug global leaks, ; to , 2013-01-05 15:29:33 +00:00
hokaccha
e793e81e92 Add Sass like extend 2013-01-05 15:29:32 +00:00
Marcel Jackwerth
61e7bd6fb1 loosened restriction on css units (who knows what W3C will think up next) 2013-01-05 15:29:32 +00:00
Marcel Jackwerth
c98495a100 Correct handling of units.
width: 1cm - 5mm
=> width: 0.5cm (instead of -4cm)

@ratio: 100px/50px
=> @ratio == 2 (instead of 2px)
2013-01-05 15:29:31 +00:00