Matt Brubeck
79894f7ec5
Show a notification for all builds > 30 sec.
...
The 300 second threshold was originally from the Gecko/Firefox build system.
It doesn't fit Servo builds, which are shorter, and often hover right around
the 300 second mark (making the notification unpredictable).
2015-04-23 11:42:09 -07:00
bors-servo
1b08211a5e
Auto merge of #5806 - nox:splittext, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5806 )
<!-- Reviewable:end -->
2015-04-23 09:38:48 -05:00
Anthony Ramine
163d97d270
Implement Text.splitText()
2015-04-23 16:36:50 +02:00
bors-servo
d037187213
Auto merge of #5768 - nox:document-title, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5768 )
<!-- Reviewable:end -->
2015-04-23 05:20:45 -05:00
Anthony Ramine
4e95a8c4c9
Implement SVG support for Document.title
2015-04-23 12:19:12 +02:00
bors-servo
68f03c9dbb
Auto merge of #5805 - pcwalton:whitespace-effect-on-minimum-inline-sizes, r=glennw
...
Improves Amazon.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5805 )
<!-- Reviewable:end -->
2015-04-22 20:23:17 -05:00
bors-servo
43d666f94b
Auto merge of #5802 - mmatyas:indentfix, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5802 )
<!-- Reviewable:end -->
2015-04-22 19:49:30 -05:00
Patrick Walton
f8b9b31680
layout: Take the white-space
property into account when computing
...
intrinsic sizes of inline flows.
Improves Amazon.
2015-04-22 17:45:16 -07:00
bors-servo
ac0645c236
Auto merge of #5767 - glennw:image-cache, r=larsbergstrom,jdm
...
* Simpler image cache API for clients to use.
* Significantly fewer threads.
* One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
* 4 threads for decoder worker tasks.
* Removed ReflowEvent hacks in script and layout tasks.
* Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
* Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
* Add reflow batching for when multiple images load quickly.
* Reduces the number of paints loading wikipedia from ~95 to ~35.
* Reasonably simple to add proper prefetch support in a follow up PR.
* Async loaded images always construct Image fragments now, instead of generic.
* Image fragments support the image not being present.
* Simpler implementation of synchronous image loading for reftests.
* Removed image holder.
* image.onload support.
* image NaturalWidth and NaturalHeight support.
* Updated WPT expectations.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5767 )
<!-- Reviewable:end -->
2015-04-22 19:16:46 -05:00
Glenn Watson
d8aef7208e
Refactored image cache task - details below.
...
* Simpler image cache API for clients to use.
* Significantly fewer threads.
* One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
* 4 threads for decoder worker tasks.
* Removed ReflowEvent hacks in script and layout tasks.
* Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
* Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
* Add reflow batching for when multiple images load quickly.
* Reduces the number of paints loading wikipedia from ~95 to ~35.
* Reasonably simple to add proper prefetch support in a follow up PR.
* Async loaded images always construct Image fragments now, instead of generic.
* Image fragments support the image not being present.
* Simpler implementation of synchronous image loading for reftests.
* Removed image holder.
* image.onload support.
* image NaturalWidth and NaturalHeight support.
* Updated WPT expectations.
2015-04-23 09:40:24 +10:00
bors-servo
43e664cda1
Auto merge of #5801 - Ms2ger:range, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5801 )
<!-- Reviewable:end -->
2015-04-22 18:24:21 -05:00
bors-servo
f9a50c9be0
Auto merge of #5787 - Adenilson:colorWhite01, r=SimonSapin
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5787 )
<!-- Reviewable:end -->
2015-04-22 17:04:41 -05:00
Adenilson Cavalcanti
2c7edeb2bf
Renaming the color function to just *transparent*,
...
as suggested on review.
2015-04-22 14:51:39 -07:00
Adenilson Cavalcanti
cf2406de47
After discussion, it seems that transparent_white() has undefined behavior.
2015-04-22 14:42:14 -07:00
Mátyás Mustoha
91b4246e1b
Fix some irregular indentation.
2015-04-22 21:57:58 +02:00
bors-servo
e278e5b9a2
Auto merge of #5757 - mmatyas:canvas_globalcomposite, r=jdm
...
Implements https://html.spec.whatwg.org/multipage/scripting.html#dom-context-2d-globalcompositeoperation .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5757 )
<!-- Reviewable:end -->
2015-04-22 14:15:28 -05:00
Mátyás Mustoha
a8343a0750
Canvas: implement global composition and blending.
2015-04-22 20:54:27 +02:00
Ms2ger
4d41f1c991
Stop using the deprecated range function.
2015-04-22 20:26:40 +02:00
bors-servo
9ae3cad31e
Auto merge of #5781 - jdm:reparent, r=Ms2ger
...
Fixes html5test.com.
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5781 )
<!-- Reviewable:end -->
2015-04-22 13:01:32 -05:00
nithin murali
c5e101b6e5
Implement child reparenting and node removal during parsing.
2015-04-22 13:47:28 -04: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
Adenilson Cavalcanti
95bcc5747c
Adding transparent white.
...
Using helper color function (less verbose and clear to understand).
2015-04-21 19:10:07 -07: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