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

Remove FromJSValConvertible implementation for HandleValue #388

Merged
merged 3 commits into from Jan 5, 2018

Conversation

@Xanewok
Copy link
Contributor

Xanewok commented Dec 25, 2017

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for HandleValue, so Vec<HandleValue> conversion is impossible.
Also adds the implementation for *mut JSObject so the sequence<object> -> CustomAutoRooterGuard<Vec<*mut JSObject>> conversion works.


This change is Reviewable

@jdm
jdm approved these changes Dec 28, 2017
@jdm
Copy link
Member

jdm commented Dec 28, 2017

I'm going to hold off on merging this until the Servo PR is ready to merge.

@jdm
Copy link
Member

jdm commented Jan 3, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2018

📌 Commit 2f473fa has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2018

Testing commit 2f473fa with merge ad8f138...

bors-servo added a commit that referenced this pull request Jan 3, 2018
Remove FromJSValConvertible implementation for HandleValue

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for `HandleValue`, so `Vec<HandleValue>` conversion is impossible.
Also adds the implementation for `*mut JSObject` so the `sequence<object>` -> `CustomAutoRooterGuard<Vec<*mut JSObject>>` conversion works.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/388)
<!-- Reviewable:end -->
@jdm
Copy link
Member

jdm commented Jan 3, 2018

@bors-servo: r-
Let's increase the version number so we can publish this.

@jdm jdm mentioned this pull request Jan 3, 2018
4 of 5 tasks complete
@Xanewok
Copy link
Contributor Author

Xanewok commented Jan 3, 2018

Bumped to 0.1.10.

@jdm
Copy link
Member

jdm commented Jan 3, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2018

📌 Commit 81e042f has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2018

Testing commit 81e042f with merge 5e79529...

bors-servo added a commit that referenced this pull request Jan 3, 2018
Remove FromJSValConvertible implementation for HandleValue

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for `HandleValue`, so `Vec<HandleValue>` conversion is impossible.
Also adds the implementation for `*mut JSObject` so the `sequence<object>` -> `CustomAutoRooterGuard<Vec<*mut JSObject>>` conversion works.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/388)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2018

💔 Test failed - status-appveyor

@jdm
Copy link
Member

jdm commented Jan 4, 2018

The appveyor problem will go away once #389 is merged.

@jdm
Copy link
Member

jdm commented Jan 5, 2018

@bors-servo: retry

@bors-servo
Copy link
Contributor

bors-servo commented Jan 5, 2018

Testing commit 81e042f with merge d829b21...

bors-servo added a commit that referenced this pull request Jan 5, 2018
Remove FromJSValConvertible implementation for HandleValue

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for `HandleValue`, so `Vec<HandleValue>` conversion is impossible.
Also adds the implementation for `*mut JSObject` so the `sequence<object>` -> `CustomAutoRooterGuard<Vec<*mut JSObject>>` conversion works.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/388)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 5, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: jdm
Pushing d829b21 to master...

@bors-servo bors-servo merged commit 81e042f into servo:master Jan 5, 2018
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.