3023 Commits

Author SHA1 Message Date
Myles Bostwick
5cc99b53fa Ignore undefined content in generating source maps (#3360) 2019-02-21 13:34:15 -08:00
Gabriel "_|Nix|_" Schulhof
6155c4d2e0 Avoid Buffer constructor on newer Node.js (#3305) (#3307)
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
2019-02-11 15:15:02 -08:00
Leonid Gaiazov
b50515c3a9 Do not pollute window object in less-browser bootstrap (#3352)
Signed-off-by: Leonid Gaiazov <leonid.gaiazov@appian.com>
2019-01-11 17:46:25 -08:00
Gervasio Marchand
764e883068 Use the correct mime type when loading a plugin (#3337)
refs #3336
2018-11-30 12:14:52 -08:00
Matthew Dean
2001694712 Release v3.9.0 v3.9.0 2018-11-28 22:04:06 -08:00
Matthew Dean
d787592132 Adds range() function for lists (#3334) 2018-11-28 21:49:29 -08:00
Matthew Dean
c816d828b4 Fixes #3325 #3313 #3328 - each() function fixes (#3333) 2018-11-28 21:48:41 -08:00
Matthew Dean
96fa17982b Prevent Browserify from bundling Buffer (#3335) 2018-11-28 20:43:14 -08:00
Matthew Dean
a84358d295 Update CHANGELOG.md 2018-08-07 20:54:14 -07:00
Matthew Dean
52304860c7 v3.8.1 (#3302) v3.8.1 2018-08-07 20:46:15 -07:00
Matthew Dean
33a3830342 Fixes: #3300 (#3301)
* Fixes: #3300

* Small fixes for color functions

* Remove package-lock file

* Add package-lock to gitignore
2018-08-07 20:06:35 -07:00
Matthew Dean
4e903e8254 Demonstrate 3.7 fixes #3160 (#3292) 2018-07-28 17:17:35 -07:00
Matthew Dean
a9c69a360f Color function updates - #RRGGBBAA and CSS Variables (#3291)
* Supports #RRGGBBAA color form

* Allow conversion of #RRGGBBAA to rgba()

* Preserves unsupported color values - Fixes #2986

* Maintains color-space when possible
2018-07-28 17:17:20 -07:00
Matthew Dean
59e919b3fc v3.8.0 (#3293) v3.8.0 2018-07-22 23:43:22 -07:00
Matthew Dean
2d43c0b964 Feature/rewrite urls (#3248)
* Rename relativeUrls option to rewriteUrls

* Refactor contexts.js

- Rename isPathRelative to pathRequiresRewrite
- Add special handling for rewriteUrls=relative
- Add rewritePath for path rewriting
- Ensure that explicit relative paths stay explicit relative
- Remove code style inconsistencies

* Add missing tests for url rewriting

* Rename rewrite-urls option value to explicit-relative

* Add missing tests for url rewriting

* Refactor rewrite urls options

- Rename explicit-relative to local
- Add rewrite-urls argument validation
- Replace unknown CSS property background-url with background-image

Based on discussion https://github.com/less/less.js/pull/3041

* Re-add tests for deprecated relative-urls option

* Improve tests

- Remove redundant tests
- Add rootpath-rewrite-urls-all test
- Add rootpath-rewrite-urls-local test

* Fix typo in unknown argument warning

* Revert old tests to deprecated relativeUrls option again

* Added more CSS Grid tests

* All tests passing

*  Merge branch 'master' into feature/rewrite-urls (#3282)

* WIP - Added strictMath: 'division' option

* Removes `less-rhino` (broken for a long time) - Fixes #3241

* Expressions require a delimiter of some kind in mixin args

* Removes "double paren" issue for boolean / if function

* WIP each() re-implementation

* Allows plain conditions without parentheses

* Added each() and tests

* Added tests calling mixins from each()

* Fixes #1880 - Adds two new math modes and deprecates strictMath

* Allows named args for detached ruleset (anonymous mixin)

* Makes sure this doesn't regress needing parens around mixin guard conditions

* Remove javascriptEnabled from browser options check, add to defaults

* Workaround weird Jasmine conversion of < to HTML entity

* Removes remaining Rhino cruft

* Remove rhino files from bower

* Bump Jasmine version

* Added .() example to each

* v3.6.0

* Update CHANGELOG.md

* add explicit nested anonymous mixin test

* add explicit nested anonymous mixin test result

* derp: align test with expected output

* v3.7.0 (#3279)

* Update CHANGELOG.md

* Rewrite the rewriteUrls feature to use same pattern as strictMath-to-math

* Update console warning for --relative-urls
2018-07-18 12:36:32 -07:00
Matthew Dean
b0228c92c6 Update CHANGELOG.md 2018-07-11 15:33:48 -07:00
Matthew Dean
c9772a0f05 Release v3.7.1 (#3284) v3.7.1 2018-07-11 15:30:35 -07:00
Calvin Juárez
ee2d9fd1d6 Fix #3281: console.warning → console.warn (#3283)
* fix #3281 console.warning —> console.warn

* lessc – update strict-math deprecation warning to match existing warnings

* Gruntfile – add shell:opts to test lessc option handling
2018-07-11 15:11:13 -07:00
Matthew Dean
c6813b2cc8 Update CHANGELOG.md 2018-07-11 00:18:37 -07:00
Matthew Dean
94e52accb3 Update CHANGELOG.md 2018-07-11 00:18:21 -07:00
Matthew Dean
c3fafd7255 Update CHANGELOG.md 2018-07-11 00:18:02 -07:00
Matthew Dean
3b5dfbbb8d v3.7.0 (#3279) v3.7.0 2018-07-10 23:25:52 -07:00
Matthew Dean
8938e98865 Merge pull request #3274 from matthew-dean/strict-math-division
Fixes #1880 - Adds two new math modes and deprecates strictMath
2018-07-10 22:52:01 -07:00
Matthew Dean
78c38e40e4 Merge branch 'master' into strict-math-division
# Conflicts:
#	test/less/functions.less
2018-07-10 19:38:05 -07:00
Matthew Dean
d99a1b854f Merge pull request #3258 from matthew-dean/bugfix-2824
Fixes #2824 - Expressions require a delimiter of some kind in mixin args
2018-07-10 19:33:37 -07:00
Matthew Dean
3f82ef5856 Merge pull request #3263 from matthew-dean/feature/each-2
Fixes #2270 - Adds each() function to Less functions
2018-07-10 19:31:39 -07:00
Calvin Juárez
c974d4e0d4 derp: align test with expected output 2018-07-10 19:17:50 -06:00
Calvin Juárez
c49b11eee3 add explicit nested anonymous mixin test result 2018-07-10 19:10:16 -06:00
Calvin Juárez
7104c3cd71 add explicit nested anonymous mixin test 2018-07-10 19:08:52 -06:00
Matthew Dean
36ec7b85a6 Merge pull request #3278 from matthew-dean/release/v3.6.0
v3.6.0
v3.6.0
2018-07-10 07:21:21 -07:00
Matthew Dean
ea78558063 Update CHANGELOG.md 2018-07-10 07:12:55 -07:00
Matthew Dean
4546a6a8cf v3.6.0 2018-07-10 07:07:27 -07:00
Matthew Dean
ccee809f9c Merge pull request #3252 from matthew-dean/bugfix-remove-rhino
Removes `less-rhino` (broken for a long time) - Fixes #3241
2018-07-10 06:57:28 -07:00
Matthew Dean
85e64ce7bd Merge pull request #3259 from matthew-dean/bugfix-boolean-if
Removes "double paren" issue for boolean / if function
2018-07-10 06:53:42 -07:00
Matthew Dean
e1e1c39272 Added .() example to each 2018-07-10 06:48:22 -07:00
Matthew Dean
9734a60e37 Merge pull request #3276 from matthew-dean/dep-jasmine-bump
Bump Jasmine version
2018-07-07 22:12:41 -07:00
Matthew Dean
5bda6e314a Bump Jasmine version 2018-07-07 21:14:44 -07:00
Matthew Dean
9caa77eb05 Remove rhino files from bower 2018-07-07 20:39:03 -07:00
Matthew Dean
751335abc3 Removes remaining Rhino cruft 2018-07-07 20:20:45 -07:00
Matthew Dean
740ab6a951 Merge branch 'master' into bugfix-remove-rhino 2018-07-07 20:14:26 -07:00
Matthew Dean
ea8a4f263a Workaround weird Jasmine conversion of < to HTML entity 2018-07-07 20:12:51 -07:00
Matthew Dean
556ea61712 Remove javascriptEnabled from browser options check, add to defaults 2018-07-07 20:06:31 -07:00
Matthew Dean
c66282d6f7 Merge branch 'master' into bugfix-2824 2018-07-07 20:01:14 -07:00
Matthew Dean
dfba629bf8 Makes sure this doesn't regress needing parens around mixin guard conditions 2018-07-07 20:00:19 -07:00
Matthew Dean
5aeb6c0093 Merge branch 'master' into bugfix-boolean-if 2018-07-07 19:43:43 -07:00
Matthew Dean
8e814c7bcf Merge pull request #3275 from matthew-dean/fix-ci-promise
Adds Promise polyfill for PhantomJS under Node 9
2018-07-07 19:34:32 -07:00
Matthew Dean
7f9435f1b1 Change "parens-all" to "parens|strict"
- Merge branch 'master' into strict-math-division
2018-07-07 19:33:19 -07:00
Matthew Dean
e95eed3f09 Add vendor folder to eslintignore 2018-07-07 19:22:37 -07:00
Matthew Dean
3c7ccdb587 Allows named args for detached ruleset (anonymous mixin) 2018-07-07 19:09:59 -07:00
Matthew Dean
defc03fd62 Merge branch 'master' into feature/each-2 2018-07-07 16:09:31 -07:00