Mátyás Mustoha
a8343a0750
Canvas: implement global composition and blending.
2015-04-22 20:54:27 +02:00
bors-servo
8efd70b01b
Auto merge of #5794 - SimonSapin:negative-vertical-align, r=Manishearth
...
http://dev.w3.org/csswg/css2/visudet.html#propdef-vertical-align
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5794 )
<!-- Reviewable:end -->
2015-04-22 11:13:25 -05:00
bors-servo
c4b7979450
Auto merge of #5773 - mmatyas:canvas_clip, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5773 )
<!-- Reviewable:end -->
2015-04-22 10:40:10 -05:00
Simon Sapin
53c88f0413
vertical-align
can take negative lengths and percentages.
...
http://dev.w3.org/csswg/css2/visudet.html#propdef-vertical-align
2015-04-22 17:19:00 +02:00
bors-servo
b2afc01064
Auto merge of #5793 - Ms2ger:warnings, r=SimonSapin
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5793 )
<!-- Reviewable:end -->
2015-04-22 10:07:12 -05:00
Ms2ger
3cd999b60b
Only define feature gates when they're used.
2015-04-22 16:59:55 +02:00
Mátyás Mustoha
6fd6eefb35
Canvas: add clipping path support.
2015-04-22 16:25:02 +02:00
bors-servo
886805d76c
Auto merge of #5790 - Ms2ger:new_rt_and_cx, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5790 )
<!-- Reviewable:end -->
2015-04-22 07:08:41 -05:00
Ms2ger
04b532e1fb
Store a Runtime object in ScriptTask.
2015-04-22 11:17:09 +02:00
bors-servo
3a1bf45dea
Auto merge of #5788 - mbrubeck:gl-version, r=glennw
...
Fixes #5785 . r? @glennw or @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5788 )
<!-- Reviewable:end -->
2015-04-21 20:09:12 -05:00
Matt Brubeck
a20bc3364c
Use OpenGl ES on Android ( fixes #5785 ).
2015-04-21 17:39:11 -07:00
bors-servo
5502b5147f
Auto merge of #5784 - mbrubeck:ssl-static, r=larsbergstrom
...
Required by the latest version of the openssl-sys build script. Fixes #5145 .
r? @larsbergstrom or @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5784 )
<!-- Reviewable:end -->
2015-04-21 19:35:44 -05:00
Matt Brubeck
b4b828260c
Set the OPENSSL_STATIC env var for Android builds
...
Required by the latest version of the openssl-sys build script. Fixes #5145 .
2015-04-21 17:22:21 -07:00
bors-servo
533949150b
Auto merge of #5783 - Adenilson:ffBrokenImage01, r=mbrubeck
...
Got it from:
https://mxr.mozilla.org/mozilla-central/source/layout/generic/broken-image.png
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5783 )
<!-- Reviewable:end -->
2015-04-21 19:01:38 -05:00
Adenilson Cavalcanti
0f5b5a5cd4
Using FF broken image icon.
...
Got it from:
https://mxr.mozilla.org/mozilla-central/source/layout/generic/broken-image.png
2015-04-21 16:04:28 -07:00
bors-servo
f5d21faa8b
Auto merge of #5748 - glennw:x11-hack, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5748 )
<!-- Reviewable:end -->
2015-04-21 16:17:36 -05:00
Glenn Watson
7af7a78243
Hack workaround for X11 + threading issue.
2015-04-22 07:13:30 +10:00
bors-servo
9974ebb2f9
Auto merge of #5547 - aweinstock314:x11-clipboard, r=jdm
...
Manual re-opening of #5479 (since it seems that GitHub disables re-opening with the same number after a rebase).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5547 )
<!-- Reviewable:end -->
2015-04-21 14:41:32 -05:00
Avi Weinstock
cf6aef5d51
Make the channel argument to TextInput::new be optional, to support the signature expected by the unit tests.
2015-04-21 15:18:23 -04:00
bors-servo
f795440ee3
Auto merge of #5776 - servo:split-unit-tests, r=mbrubeck
...
Closes #5707 . (Includes a rebase of it.)
Fixes #5688 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5776 )
<!-- Reviewable:end -->
2015-04-21 14:06:22 -05:00
bors-servo
7fa1a6a426
Auto merge of #5775 - nox:cssstyledeclaration-float, r=jdm
...
It just needs to be prefixed by an underscore.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5775 )
<!-- Reviewable:end -->
2015-04-21 13:33:03 -05:00
Simon Sapin
ce1f2bab7b
Fix up the splitting of the unit tests crate.
...
Closes #5707 . (Includes a rebase of it.)
Fixes #5688 .
2015-04-21 20:22:10 +02:00
Prabhjyot Singh Sodhi
7b9c9e1453
Split up the unit tests crate
2015-04-21 20:05:53 +02:00
bors-servo
d654eada6f
Auto merge of #5747 - dhananjay92:Issue#5730, r=jdm
...
This PR does two things.
* Solve Issue #5730
* Refactor `tidy.py` to reduce code duplication.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5747 )
<!-- Reviewable:end -->
2015-04-21 12:59:39 -05:00
Anthony Ramine
b636481ca3
Implement CSSStyleDeclaration.float ( fixes #5101 )
...
It just needs to be prefixed by an underscore.
2015-04-21 19:34:52 +02:00
bors-servo
c8cb62058c
Auto merge of #5761 - dhananjay92:Issue#5754, r=jdm
...
Solves Issue #5754 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5761 )
<!-- Reviewable:end -->
2015-04-21 12:25:42 -05:00
Dhananjay Nakrani
030580e720
Rename check_whitespace_url_len() -> check_by_line().
2015-04-21 10:20:13 -07:00
Dhananjay Nakrani
7453959426
Refactor tidy.py to reduce code duplication.
2015-04-21 10:20:12 -07:00
Dhananjay Nakrani
a0295b7489
Make tidy.py check for links to spec pages. [Issue#5730]
2015-04-21 10:20:11 -07:00
Dhananjay Nakrani
72ab06a6ec
Add test for createDocument(). [Issue#5754].
2015-04-21 10:13:55 -07:00
Avi Weinstock
2d110e73b5
Update Cargo.lock files w.r.t. rust-xlib.
2015-04-21 11:47:42 -04:00
bors-servo
a3dafe4999
Auto merge of #5594 - mskrzypkows:get_attribute_by_name, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5594 )
<!-- Reviewable:end -->
2015-04-21 10:23:03 -05:00
bors-servo
3c4ca28a65
Auto merge of #5771 - Manishearth:cargo-update, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5771 )
<!-- Reviewable:end -->
2015-04-21 09:49:31 -05:00
Manish Goregaokar
f4f465d1b5
Alias cargo-update to update-cargo
2015-04-21 19:47:17 +05:30
Maciej Skrzypkowski
6a31a75bc6
Refactoring, added conversion to lowercase for get_attribute_by_name method. ( fixes #5561 )
2015-04-21 16:08:15 +02:00
bors-servo
1d66b090a2
Auto merge of #5770 - mmatyas:canvas_rect, r=jdm
...
A simple little patch.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5770 )
<!-- Reviewable:end -->
2015-04-21 08:43:47 -05:00
Avi Weinstock
d4f7ec5b4e
Update Cargo.lock files for cef/gonk.
2015-04-21 09:31:23 -04:00
Avi Weinstock
acb29201a9
Updated README.md to reflect Xmu dependency.
2015-04-21 09:31:22 -04:00
Avi Weinstock
503cc9e6d6
Moved clipboard integration from textinput to constellation, to facilitate sandboxing.
2015-04-21 09:31:20 -04:00
Mátyás Mustoha
5287cb7fba
Canvas: implement rectangle drawing.
2015-04-21 15:21:30 +02:00
bors-servo
fe61cdc95d
Auto merge of #5758 - dhananjay92:Issue#5735, r=jdm
...
Solves #5735 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5758 )
<!-- Reviewable:end -->
2015-04-21 08:05:48 -05:00
Avi Weinstock
ba4c455438
Implement X11 clipboard integration (Issue #5376 ).
2015-04-21 08:36:15 -04:00
bors-servo
e4b620ea54
Auto merge of #5652 - dmarcos:webgl, r=jdm
...
@jdm @ecoal95 I'm working on making VR happen in the Browser and I want to bring to Servo the [webVR APIs](https://github.com/MozVR/webvr-spec/blob/master/webvr.idl ) we already have in Gecko. Before anything happens we need a working implementation of WebGL (and also the [fullscreen API](https://fullscreen.spec.whatwg.org/ )). My implementation is very basic and probably naive (I just recently started to contribute to Servo). My patch is just a starting point:
- It only implements ```clearColor``` and ```clear``` methods of the [WebGL spec](https://www.khronos.org/registry/webgl/specs/latest/ ).
- It uses the readback strategy that ```canvasRenderingContext2D``` is using (The webgl task paints stuff independently on it's own buffer and the compositor task request the pixels back to the webgl task when it needs them) I'm sure there are much better ways to handle this. Latency and FPS are critical in VR so we have to figure out the fastest way to push pixels to the screen. I've read something about layerizing the canvas but I'm still not sure what that even means :)
- There's an included test you can try ```./mach run tests/ref/webgl-context/clearcolor.html```
@ecoal95 I know you'll be working on this for the next three months. With a foundation in place we will be able to make quick progress in parallel. This is exciting!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5652 )
<!-- Reviewable:end -->
2015-04-20 19:29:02 -05:00
bors-servo
99c6fbc3a4
Auto merge of #5765 - jdm:intermittentrestore, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5765 )
<!-- Reviewable:end -->
2015-04-20 18:55:32 -05:00
Josh Matthews
a1c4f49da8
Disable intermittently-passing test pending further investigation. #5764
2015-04-20 19:54:38 -04:00
bors-servo
69a2c45b34
Auto merge of #5763 - mbrubeck:trace-layout-readme, r=glennw
...
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5763 )
<!-- Reviewable:end -->
2015-04-20 16:50:12 -05:00
Matt Brubeck
f6bd2cb48a
Update layout viewer docs
2015-04-20 14:50:22 -07:00
Diego Marcos
c82485874d
Kicks off a WebGL implementation
2015-04-20 14:29:39 -07:00
bors-servo
23945f2ea8
Auto merge of #5759 - Adenilson:visibleReturn01, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5759 )
<!-- Reviewable:end -->
2015-04-20 15:01:44 -05:00
Adenilson Cavalcanti
8aa9427af0
Skip computing fragment position and return early if visibility property
...
is not set.
2015-04-20 12:17:38 -07:00