Skip to content

Implement viewport functions for window #1718 - #7500

Merged
bors-servo merged 1 commit into
servo:masterfrom
farodin91:viewport
Sep 2, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
farodin91:viewport

Conversation

@farodin91

Copy link
Copy Markdown
Contributor

@jdm r?
closes #6875

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 1, 2015
@jdm

jdm commented Sep 1, 2015

Copy link
Copy Markdown
Member

For future reference, it's perfectly acceptable to squash and then force push the result to the original branch so we don't need a separate PR :)

@jdm

jdm commented Sep 1, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+
Thanks for sticking through the review process :)

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f50e7de has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 1, 2015
@farodin91

Copy link
Copy Markdown
Contributor Author

How can i reset the original branch to upstream/master?

@jdm

jdm commented Sep 1, 2015

Copy link
Copy Markdown
Member

git reset --hard remotes/upstream/master will reset the current branch.

@farodin91

Copy link
Copy Markdown
Contributor Author

Thanks

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f50e7de with merge 0f0436b...

bors-servo pushed a commit that referenced this pull request Sep 1, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 1, 2015
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 1, 2015
@jdm

jdm commented Sep 1, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 41d67de has been approved by jdm

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 41d67de with merge c0a5d66...

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 1, 2015
bors-servo pushed a commit that referenced this pull request Sep 1, 2015
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 1, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - gonk

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 1, 2015
@jdm

jdm commented Sep 1, 2015

Copy link
Copy Markdown
Member
src/window.rs:10:5: 10:23 error: unused import
src/window.rs:10 use euclid::rect::Rect;
                     ^~~~~~~~~~~~~~~~~~
src/main.rs:5:9: 5:23 note: lint level defined here
src/main.rs:5 #![deny(unused_imports)]
                      ^~~~~~~~~~~~~~
src/window.rs:307:30: 307:43 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found Rust type `isize` in foreign module, while `libc::c_int` or `libc::c_long` should be used, #[warn(improper_ctypes)] on by default
src/window.rs:307     fn gnw_perform(win: *mut ANativeWindow, op: c_int, ...) -> c_int;
                                               ^~~~~~~~~~~~~
src/window.rs:802:30: 802:34 error: unused variable: `size`
src/window.rs:802     fn set_inner_size(&self, size: Size2D<u32>) {
                                               ^~~~
src/main.rs:6:9: 6:25 note: lint level defined here
src/main.rs:6 #![deny(unused_variables)]
                      ^~~~~~~~~~~~~~~~
src/window.rs:806:28: 806:33 error: unused variable: `point`
src/window.rs:806     fn set_position(&self, point: Point2D<i32>) {
                                             ^~~~~
src/main.rs:6:9: 6:25 note: lint level defined here
src/main.rs:6 #![deny(unused_variables)]
                      ^~~~~~~~~~~~~~~~
error: aborting due to 3 previous errors
Could not compile `b2s`.

@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Sep 1, 2015
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 1, 2015
@jdm

jdm commented Sep 2, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f098738 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 2, 2015
@jdm jdm self-assigned this Sep 2, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f098738 with merge a844c0b...

bors-servo pushed a commit that referenced this pull request Sep 2, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit f098738 into servo:master Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants