Commit graph

17362 commits

Author SHA1 Message Date
bors-servo
7a439e6237 Auto merge of #10997 - mbrubeck:openssl-1.0.1t, r=aneeshusa
Upgrade to OpenSSL 1.0.1t on Android

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10997)
<!-- Reviewable:end -->
2016-05-04 06:18:28 -07:00
bors-servo
29823cb378 Auto merge of #10934 - emilio:other-gecko-pseudos, r=bholley,mbrubeck
style: Add infrastructure to support lazy pseudo-elements

This builds on top of #10815, so it's really just the last commit the one that should be reviewed.

I tried to apply the new infrastructure to servo, but failed (for now?).

The problem with it is that it'd require `ThreadSafeLayoutElement` to implement `selectors::Element`, which is a lot of work and might be racy (not totally sure about it though). Thus, I prefered to keep selectors eager until knowing that it's safe to do it.

r? @mbrubeck for style changes, @bholley for the geckolib changes (minimal for now, glue + a list of lazy PEs must be added)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10934)
<!-- Reviewable:end -->
2016-05-04 03:42:23 -07:00
bors-servo
1a1ea30f8c Auto merge of #10959 - heycam:color, r=bholley
Support color-typed properties in geckolib

This is on top of https://github.com/servo/servo/pull/10957 though I'm not sure how to make that PR's commits not appear in this one.

r? @bholley

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10959)
<!-- Reviewable:end -->
2016-05-04 01:00:22 -07:00
bors-servo
2e849b7064 Auto merge of #10983 - notriddle:no_alloc_sort_display, r=mbrubeck
Minor reduction in the amount of allocation display list building does

Use `mem::replace` to perform the lifetime-trick without allocating a whole new buffer.

(An older of this switched from the built-in heapsort to a non-allocating introsort. Unfortunately, introsort is not a stable sorting algorithm, and the display list system relies on it being stable.)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10983)
<!-- Reviewable:end -->
2016-05-03 23:51:53 -07:00
Cameron McCormack
d4e36556db Support color in geckolib. 2016-05-04 09:44:17 +10:00
Cameron McCormack
66a3769446 Support skip_longhands="*" on geckolib struct trait definitions. 2016-05-04 09:44:15 +10:00
Cameron McCormack
d8969e2447 Support {background,outline}-color in geckolib. 2016-05-04 09:44:14 +10:00
Cameron McCormack
330c47f78e Support {flood,lighting,stop,text-decoration}-color in geckolib. 2016-05-04 09:44:12 +10:00
Cameron McCormack
174680f98c Support border-*-color in geckolib. 2016-05-04 09:44:11 +10:00
Cameron McCormack
952459c0d4 Support color-typed properties in geckolib. 2016-05-04 09:44:10 +10:00
bors-servo
f9d9cd3aae Auto merge of #8454 - jdm:media, r=KiChjang
Implement basic <media> infrastructure

This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454)
<!-- Reviewable:end -->
2016-05-03 16:42:46 -07:00
bors-servo
2c69278067 Auto merge of #10756 - servo:smup, r=Ms2ger
Update SpiderMonkey

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10756)
<!-- Reviewable:end -->
2016-05-03 15:46:40 -07:00
Matt Brubeck
e1386cad6f Upgrade to OpenSSL 1.0.1t on Android 2016-05-03 15:46:18 -07:00
Emilio Cobos Álvarez
0f7b70c0b7
geckolib: Implement Servo_GetComputedValuesForPseudoElement 2016-05-04 00:34:10 +02:00
Emilio Cobos Álvarez
4429318450
docs: Ammend the lazy pseudo-element section to be clearer
Thanks to Simon for the feedback :)
2016-05-04 00:34:07 +02:00
Emilio Cobos Álvarez
aacf67afcd
layout: use debug! instead of warn! for the expected ThreadSafeLayoutElement methods 2016-05-04 00:34:05 +02:00
Emilio Cobos Álvarez
ca41e5359f
docs: Add style overview. 2016-05-04 00:34:03 +02:00
Emilio Cobos Álvarez
a87bf7c776
style: Minor documentation tweaks about lazy pseudo-elements 2016-05-04 00:34:00 +02:00
Emilio Cobos Álvarez
028f9b6cd2
style: layout: Allow a lazy pseudo-element implementation in Servo. 2016-05-04 00:33:58 +02:00
Josh Matthews
f16c05423c Add more specification step comments and update to the latest specification. 2016-05-03 18:05:28 -04:00
Josh Matthews
99f6fb34fc Tidy fixes. 2016-05-03 18:05:27 -04:00
Josh Matthews
f78d88acbe Implement partial spec-recommended preload=none support. 2016-05-03 18:05:26 -04:00
Josh Matthews
ef10393ba6 Execute the failure steps for an empty src attribute. 2016-05-03 18:05:25 -04:00
Josh Matthews
c64d7578d1 Disable two tests that take a very long time to time out. 2016-05-03 18:05:23 -04:00
Josh Matthews
a80320e24e Add event handlers for media-related events. 2016-05-03 18:05:22 -04:00
Josh Matthews
d718da1c6a Pause media elements when they're removed from the document. 2016-05-03 18:05:21 -04:00
Josh Matthews
e3db11fd8b Implement play, pause, paused, and autoplay APIs. 2016-05-03 18:05:20 -04:00
Josh Matthews
5960fbe604 Implement load, canPlayType, and error APIs for media elements. 2016-05-03 18:05:18 -04:00
bors-servo
fa4a8cb9db Auto merge of #10996 - jdm:disablenav, r=emilio
Disable mozbrowser_navigation.html pending further investigation.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10996)
<!-- Reviewable:end -->
2016-05-03 14:56:18 -07:00
Josh Matthews
bd912401ca Disable mozbrowser_navigation.html pending further investigation. 2016-05-03 17:15:18 -04:00
Josh Matthews
eae27adc4a Implement basic media resource selection and fetching. 2016-05-03 16:25:24 -04:00
Josh Matthews
5918954edd Add media tasks to the DOM manipulation task queue. 2016-05-03 16:25:22 -04:00
Josh Matthews
53f9307fb7 Add stubs for src and currentSrc for HTMLMediaElement. 2016-05-03 16:25:21 -04:00
Michael Howell
93c9dda793 Do not allocate when sorting the display list. 2016-05-03 12:57:46 -07:00
Emilio Cobos Álvarez
18c1fee3c7
geckolib: Make anon-box PEs an ADT. 2016-05-03 19:01:54 +02:00
Emilio Cobos Álvarez
9caaa6004e
style: Support lazy pseudo-elements
These can't be supported in Servo as of right now, because I'm not
totally sure the accesses that should be done in layout would be
thread-safe.

It can be revisited later though.
2016-05-03 19:01:54 +02:00
Anthony Ramine
eb94f1a918 Update SpiderMonkey 2016-05-03 18:36:11 +02:00
bors-servo
3f2ceeff5d Auto merge of #10914 - shinglyu:docs, r=aneeshusa
Added documents for commandline arguments

An initial draft for #10878

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10914)
<!-- Reviewable:end -->
2016-05-03 06:31:38 -07:00
bors-servo
4594f71b0e Auto merge of #10990 - mmatyas:cargoup_16may03, r=larsbergstrom
Update Cargo to 2016-05-03 nightly

To pick up rust-lang/cargo/pull/2629.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10990)
<!-- Reviewable:end -->
2016-05-03 05:29:07 -07:00
Mátyás Mustoha
77560bdbee Update Cargo to 2016-05-03 nightly 2016-05-03 14:26:23 +02:00
bors-servo
7533013c16 Auto merge of #10984 - frewsxcv:python-cleanup, r=metajack
Minor python/README fixes.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10984)
<!-- Reviewable:end -->
2016-05-03 03:20:19 -07:00
bors-servo
ff687c5b01 Auto merge of #10980 - KiChjang:referer-policy-comment, r=jdm
Re-add TODO comment for adding referer info to LoadData

Fixes the accidental removal in #10970.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10980)
<!-- Reviewable:end -->
2016-05-03 02:26:05 -07:00
bors-servo
8e2cb95d25 Auto merge of #10979 - bstrie:mutwarn, r=frewsxcv
Fix unused mut warning

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10979)
<!-- Reviewable:end -->
2016-05-03 01:36:08 -07:00
Shing Lyu
998afeed48 Added documents for commandline arguments 2016-05-03 14:11:23 +08:00
bors-servo
ddada69acb Auto merge of #10957 - heycam:number, r=bholley
Support plain number-typed properties in geckolib

r? @bholley

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10957)
<!-- Reviewable:end -->
2016-05-02 21:58:17 -07:00
bors-servo
3128a71ac7 Auto merge of #10971 - shssoichiro:remove-cacherequestdetails, r=KiChjang
Remove CacheRequestDetails

Fixes #10904

Note that the related web-platform-tests failed both before and after this commit

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10971)
<!-- Reviewable:end -->
2016-05-02 19:58:14 -07:00
Corey Farwell
1bdc999e53 Fix styling for Markdown headers. 2016-05-02 22:20:49 -04:00
Corey Farwell
d71ac89110 Remove reference to no-longer-existing directory.
https://github.com/servo/servo/pull/10976
2016-05-02 22:20:00 -04:00
Joshua Holmer
8bb740e95e Remove CacheRequestDetails
Fixes #10904
2016-05-02 22:08:16 -04:00
Keith Yeung
c76d0006ee Re-add TODO comment for adding referer info to LoadData 2016-05-02 21:07:54 -04:00