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

Add initial bindings to Core Animation. #259

Merged
merged 1 commit into from Sep 27, 2018
Merged

Conversation

@pcwalton
Copy link
Contributor

pcwalton commented Sep 27, 2018

Bound types include CALayer, CATransaction, and CATransform3D.

r? @jdm


This change is Reviewable

@jdm
Copy link
Member

jdm commented Sep 27, 2018

@jrmuizel Do you know things about CoreAnimation? I know nothing.

@pcwalton
Copy link
Contributor Author

pcwalton commented Sep 27, 2018

@mstange has been reviewing my Core Animation related code in Gecko, FWIW.

@mstange
Copy link

mstange commented Sep 27, 2018

This CoreAnimation-specific parts looks straightfoward to me. What I have trouble with are the generic Objective C parts, and @jrmuizel is a better reviewer for those. For example the string conversion business and the use of wrap_under_get_rule, I'm not familiar with them.


/// This is only a snapshot, unlike the corresponding Cocoa API.
#[inline]
pub fn sublayers(&self) -> Vec<CALayer> {

This comment has been minimized.

@jrmuizel

jrmuizel Sep 27, 2018

Collaborator

Why not just return a CFArray?

This comment has been minimized.

@pcwalton

pcwalton Sep 27, 2018

Author Contributor

Good point, made that change.

Bound types include `CALayer`, `CATransaction`, and `CATransform3D`.
@pcwalton pcwalton force-pushed the pcwalton:core-animation branch from e5ce5e6 to e0951ae Sep 27, 2018
@pcwalton
Copy link
Contributor Author

pcwalton commented Sep 27, 2018

@bors-servo: r=jrmuizel

@bors-servo
Copy link
Contributor

bors-servo commented Sep 27, 2018

📌 Commit e0951ae has been approved by jrmuizel

@bors-servo
Copy link
Contributor

bors-servo commented Sep 27, 2018

Testing commit e0951ae with merge 2d97cbc...

bors-servo added a commit that referenced this pull request Sep 27, 2018
Add initial bindings to Core Animation.

Bound types include `CALayer`, `CATransaction`, and `CATransform3D`.

r? @jdm

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

bors-servo commented Sep 27, 2018

☀️ Test successful - status-travis
Approved by: jrmuizel
Pushing 2d97cbc to master...

@bors-servo bors-servo merged commit e0951ae into servo:master Sep 27, 2018
2 checks passed
2 checks passed
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

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