bors-servo
bfd1698462
Auto merge of #5936 - pcwalton:fast-resize, r=jdm
...
2.1x improvement on resizing on Reddit.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5936 )
<!-- Reviewable:end -->
2015-05-07 18:13:29 -05:00
Patrick Walton
be8a5a2939
layout: Don't rerun selector matching unless we need to when resizing
...
the window.
2015-05-07 15:48:14 -07:00
bors-servo
92f46e3149
Auto merge of #5955 - zmike:embedding-REBASE_RAGE, r=larsbergstrom
...
This updates all the CEF interface stuff to the current CEF codebase.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5955 )
<!-- Reviewable:end -->
2015-05-07 14:10:29 -05:00
bors-servo
29a43a00b3
Auto merge of #5894 - nox:putforwards, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5894 )
<!-- Reviewable:end -->
2015-05-07 09:07:12 -05:00
Anthony Ramine
cc5eee48a6
Generate forwarded setters
2015-05-07 16:04:25 +02:00
bors-servo
c7608f7691
Auto merge of #5957 - ecoal95:glcontext-mac-support, r=jdm
...
Now we have mac support, and since android build is broken, we can
drop glutin from WebGL code.
Went back to upstream repo, see:
https://github.com/servo/rust-offscreen-rendering-context/pull/1#issuecomment-99234534
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5957 )
<!-- Reviewable:end -->
2015-05-07 07:51:04 -05:00
bors-servo
5f2a8494be
Auto merge of #5949 - mmatyas:canvas_dirty, r=jdm
...
With this patch, it is now possible to create nice animations using the canvas.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5949 )
<!-- Reviewable:end -->
2015-05-07 07:09:41 -05:00
ecoal95
a3b0c10381
Remove Glutin dependency for WebGL
...
Now we have mac support, and since android build is broken, we can
drop glutin from WebGL code.
Went back to upstream
(see: https://github.com/servo/rust-offscreen-rendering-context/pull/1#issuecomment-99234534 )
Rebased
2015-05-07 13:31:08 +02:00
bors-servo
63ba1cb69b
Auto merge of #5884 - jgraham:webdriver_screenshot, r=jdm
...
This adds support for compositing to a PNG without actually quiting
the browser.
Cargo bits need to be updated after the upstream changes to rust-png land.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5884 )
<!-- Reviewable:end -->
2015-05-07 04:59:04 -05:00
James Graham
5311d9ab59
Support WebDriver takeScreenshot command.
...
This adds support for compositing to a PNG without actually quiting
the browser.
2015-05-07 09:56:15 +01:00
bors-servo
0ec6d80b6e
Auto merge of #5967 - Ms2ger:warnings, r=mbrubeck
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5967 )
<!-- Reviewable:end -->
2015-05-07 03:50:17 -05:00
bors-servo
59cb1b0396
Auto merge of #5968 - SimonSapin:deduplicate-deps, r=Manishearth
...
This uses some dependencies from crates.io instead of git where the crates.io copy was already used in some other part of the dependency tree, so we had two copies of the same library.
The `android_glue` crate is the only one left where we have two copies, but solving that is more tricky since we hard-code a path in `components/servo/.cargo/config`.
r? @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5968 )
<!-- Reviewable:end -->
2015-05-07 02:31:15 -05:00
Simon Sapin
0d226722b7
Deduplicate some dependencies.
...
This uses some dependencies from crates.io instead of git
where the crates.io copy was already used in some other part
of the dependency tree, so we had two copies of the same library.
The `android_glue` crate is the only one left where we have two copies,
but solving that is more tricky since we hard-code a path in
`components/servo/.cargo/config`.
2015-05-07 01:56:49 +02:00
bors-servo
d9cc36ac22
Auto merge of #5946 - mmatyas:canvas_mxreset, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5946 )
<!-- Reviewable:end -->
2015-05-06 16:51:02 -05:00
bors-servo
5cb1356e9e
Auto merge of #5800 - aweinstock314:x11-clipboard, r=jdm
...
...ed test_clipboard_paste to the "test-unit" suite.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5800 )
<!-- Reviewable:end -->
2015-05-06 16:09:37 -05:00
Avi Weinstock
d054946f7d
Fix test_clipboard_paste to pass on Mac OS.
2015-05-06 15:30:29 -04:00
bors-servo
19744984da
Auto merge of #5923 - nox:limited-unsigned-long, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5923 )
<!-- Reviewable:end -->
2015-05-06 14:22:45 -05:00
Mátyás Mustoha
9302aaab96
Canvas: implement transformation matrix reset.
2015-05-06 20:37:14 +02:00
Mátyás Mustoha
53af4e4cb5
Mark the canvas as dirty on certain drawing calls.
2015-05-06 20:27:26 +02:00
Anthony Ramine
fedad2af1f
Improve support of limited unsigned long attributes
2015-05-06 20:18:08 +02:00
bors-servo
ccf1e6b9a7
Auto merge of #5361 - luniv:css-device-adapt, r=mbrubeck
...
Spec: http://dev.w3.org/csswg/css-device-adapt/
Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell).
I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom').
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5361 )
<!-- Reviewable:end -->
2015-05-06 12:41:09 -05:00
Ms2ger
2bfca8f96f
Remove unused imports.
2015-05-06 19:20:10 +02:00
Mike Blumenkrantz
7fc50db898
update cef embedding readme
2015-05-06 13:04:28 -04:00
bors-servo
e39ed1eaae
Auto merge of #5966 - mbrubeck:openssl-status, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5966 )
<!-- Reviewable:end -->
2015-05-06 11:58:39 -05:00
Matt Brubeck
041d527335
Fail the build if openssl.makefile fails
2015-05-06 09:59:18 -07:00
Mike Blumenkrantz
6011d39ca1
one more embedding interfaces update because they removed cef_url & time_t
2015-05-06 12:49:32 -04:00
Mike Blumenkrantz
745e3bd49f
update embedding interfaces again to use filling_drop feature
...
...and remove trailing whitespaces
2015-05-06 12:33:15 -04:00
Mike Blumenkrantz
efb2b37185
update embedding interfaces/mod.rs to add MPL
2015-05-06 12:33:14 -04:00
Mike Blumenkrantz
ff6667f564
update embedding interfaces mod.rs generator script to add MPL
...
also use better zsh syntax
2015-05-06 12:33:09 -04:00
Avi Weinstock
0587717944
Change the dispatch in TextInput::handle_keydown_aux match on enum values instead of strings.
2015-05-06 11:46:21 -04:00
Avi Weinstock
29f8306089
Heuristically create a Key value in KeyboardEvent::Constructor based on the string provided.
2015-05-06 11:46:20 -04:00
Avi Weinstock
b742eeca05
Made the clipboard-related functionality in TextInput more testable. Added test_clipboard_paste to the "test-unit" suite.
2015-05-06 11:46:18 -04:00
bors-servo
72c20d8491
Auto merge of #5962 - jgraham:webdriver_navigation, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5962 )
<!-- Reviewable:end -->
2015-05-06 10:34:44 -05:00
James Gilbertson
455ac536af
Add a basic ref test for @viewport
2015-05-06 09:19:16 -06:00
James Gilbertson
3f006f96b2
Move parsing of @viewport rules in a stylesheet behind --experimental.
...
This is for parsing of the rule within a stylesheet only. <meta name=viewport> could create a viewport rule and add it to the list of stylesheets for the page (like quirks mode).
2015-05-06 09:18:57 -06:00
bors-servo
9aa801f140
Auto merge of #5961 - Ms2ger:closeevent, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5961 )
<!-- Reviewable:end -->
2015-05-06 09:51:31 -05:00
bors-servo
3327fe3013
Auto merge of #5945 - mmatyas:canvas_mxrotate, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5945 )
<!-- Reviewable:end -->
2015-05-06 08:53:56 -05:00
James Graham
1576107c45
Implement webdriver commands for back/forward/title/handles.
2015-05-06 12:22:10 +01:00
Mátyás Mustoha
e3e2119c4c
Canvas: implement transformation matrix rotation.
2015-05-06 12:38:48 +02:00
Ms2ger
6498240340
Correct the initial value of wasClean in CloseEvent.
2015-05-06 12:36:06 +02:00
bors-servo
387836c42e
Auto merge of #5942 - duncankl:whatwg-link-suggest, r=jdm
...
Simplified the checking logic a bit too; only a single match per line and a stricter regex that matches everything in one go.
I tested this against commit 8b08c6f4
and made sure it caught the same problems. Note that tidy doesn't currently check the webidls, so those would have still made it through.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5942 )
<!-- Reviewable:end -->
2015-05-06 05:25:28 -05:00
Ms2ger
94b3617629
Move the CloseEventInit defaults into IDL.
2015-05-06 12:19:53 +02:00
Ms2ger
692fc09041
Make the CloseEvent members immutable.
2015-05-06 12:05:26 +02:00
Ms2ger
31ebfff9bc
Improve formatting in closeevent.rs.
2015-05-06 11:27:37 +02:00
bors-servo
b762758366
Auto merge of #5953 - mbrubeck:libc, r=jdm
...
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5953 )
<!-- Reviewable:end -->
2015-05-06 03:43:02 -05:00
James Gilbertson
226b757789
Convert remaining CSS values types to use AllowedNumericType when parsing numbers
2015-05-06 00:34:34 -06:00
James Gilbertson
138596e861
Constrain the viewport & zoom when reflowing
2015-05-06 00:34:33 -06:00
bors-servo
16a7c792b5
Auto merge of #5931 - nox:rm-helpers, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5931 )
<!-- Reviewable:end -->
2015-05-06 01:31:26 -05:00
bors-servo
5e59e77c41
Auto merge of #5753 - JIoJIaJIu:timeline, r=jdm
...
RequestAnimationFrame
[Task](https://github.com/servo/servo/issues/5681 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5753 )
<!-- Reviewable:end -->
2015-05-06 00:50:13 -05:00
James Gilbertson
8977316d3e
Implement constraining as per DEVICE-ADAPT § 6
...
Spec: http://dev.w3.org/csswg/css-device-adapt/#constraining
2015-05-05 21:04:27 -06:00