Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Intent to Remove] Remove Rhino (Less Java) and refactor #2985 #3241

Closed
matthew-dean opened this issue Jun 27, 2018 · 1 comment
Closed

[Intent to Remove] Remove Rhino (Less Java) and refactor #2985 #3241

matthew-dean opened this issue Jun 27, 2018 · 1 comment

Comments

@matthew-dean
Copy link
Member

It's very unlikely the less-rhino adapter in this repo actually functions, or functions as expected. It should be removed and the Nashorn PR at #2985 should be refactored.

My proposal is that Nashorn support is a separate repo with less as a dependency (as mentioned on that thread), such that the "Less Java" repo is at https://github.com/less/less-java. BUT this is contingent on a dedicated Java developer taking on this work of both
a) migrating that PR
b) being the core maintainer of less-java

Either way, no one seems to be active in maintaining Rhino, so it needs to be removed.

@matthew-dean
Copy link
Member Author

Open Rhino issues: #2005 #2044 #2316

@matthew-dean matthew-dean changed the title [To Do] Remove Rhino and refactor #2985 [To Do] Remove Rhino (Less Java) and refactor #2985 Jun 27, 2018
@matthew-dean matthew-dean changed the title [To Do] Remove Rhino (Less Java) and refactor #2985 [Intent to Remove] Remove Rhino (Less Java) and refactor #2985 Jun 27, 2018
matthew-dean added a commit that referenced this issue Jul 10, 2018
Removes `less-rhino` (broken for a long time) - Fixes #3241
matthew-dean pushed a commit that referenced this issue Jul 11, 2018
* 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

* Update CHANGELOG.md

* Update CHANGELOG.md
matthew-dean added a commit that referenced this issue Jul 18, 2018
* 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 #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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant