Commit graph

37138 commits

Author SHA1 Message Date
Josh Matthews
ee20b9ab88
Document gstreamer installation 2019-05-15 10:40:23 -04:00
Josh Matthews
7e84740fee
Add new mac builders to roster. 2019-05-15 10:28:30 -04:00
Josh Matthews
b3709dedc9
Update to generic-worker 14.1.1 on macOS 2019-05-15 10:27:12 -04:00
bors-servo
ed5c1cd6c2
Auto merge of #23395 - servo:win, r=jdm
Bump Windows build tasks time out

Before:

https://tools.taskcluster.net/groups/L8mSy2kiT9qzVt9r6b2bnQ/tasks/IkU0GgVJReGIEp3wUrzpHg/runs/0/logs/public%2Flogs%2Flive.log#L1100

After:

https://tools.taskcluster.net/groups/TDkbydkZSCOeb3z7ap-24g/tasks/HIS8WSMjRUe05nXOgssfzQ/runs/0/logs/public%2Flogs%2Flive.log#L1180

(Well that second one happened to only take 58 minutes, but still.)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23395)
<!-- Reviewable:end -->
2019-05-15 09:51:39 -04:00
Simon Sapin
0e527c8b6f Bump Windows build tasks time out 2019-05-15 14:39:17 +02:00
Jan Andre Ikenmeyer
19a1a5f44d
Bootstrap: Use most recent version of OpenSSL 2019-05-15 09:27:14 +02:00
Jan Andre Ikenmeyer
715f9c6653
Taskcluster: Build and run with OpenSSL 1.1.0 2019-05-15 01:44:54 +02:00
bors-servo
576394b288
Auto merge of #23388 - servo:jdm-patch-41, r=Manishearth
Install webrtc-required components for gstreamer

We will need to reinstall gst-plugins-bad on the existing mac builders, but this should help any future mac builders that are created.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23388)
<!-- Reviewable:end -->
2019-05-14 18:22:43 -04:00
Josh Matthews
65f1638980
Install webrtc-required components for gstreamer 2019-05-14 12:37:31 -04:00
bors-servo
36c75c4e5f
Auto merge of #23382 - servo:rustup, r=jdm
Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23382)
<!-- Reviewable:end -->
2019-05-14 11:38:52 -04:00
Simon Sapin
06b99983fc Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13) 2019-05-14 17:37:40 +02:00
bors-servo
6f8bb4dd40
Auto merge of #23355 - jdm:mac-taskcluster, r=Manishearth,SimonSapin
Increase number of mac taskcluster WPT jobs

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23355)
<!-- Reviewable:end -->
2019-05-14 09:49:55 -04:00
bors-servo
3f30720bba
Auto merge of #23363 - Darkspirit:https, r=jdm
More https

* Disabled unused legacy TLS.
It will be disabled for Nightly 72 or 73 in 5-7 months and ride the [trains](https://wiki.mozilla.org/Release_Management/Calendar).
https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/
* Updated MPL license in a few files.
It would be nice if a new version of https://pypi.org/project/servo_tidy/ could be released to update WebRender as well.
* Switched servo-deps.s3.amazonaws.com back to https.
This was recently regressed by 10585be25c and fc28073dfb.
* Made https the default protocol for address bar on desktop.
Press Ctrl+L on the Glutin port and enter `example.com`:
Servo previously assumed you meant `http://example.com/`, now it is `https://example.com/`.

---

- [x] `./mach build --release` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23363)
<!-- Reviewable:end -->
2019-05-14 08:21:17 -04:00
bors-servo
3ca9d143af
Auto merge of #23374 - jdm:wpt-job-pkgconfig, r=SimonSapin
Fix libffi pkg-config in WPT nightly job.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23374)
<!-- Reviewable:end -->
2019-05-13 22:29:24 -04:00
bors-servo
fdafc833ae
Auto merge of #23135 - maharsh312:master, r=jdm
Create CanvasRect for OffscreenCanvas

<!-- Please describe your changes on the following line: -->

Created CanvasRect fot OffscreenCanvas and Updated Testcases

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23135)
<!-- Reviewable:end -->
2019-05-13 16:19:57 -04:00
bors-servo
2c28e2b64f
Auto merge of #23347 - Darkspirit:hsts_ca_suffix, r=jdm
Update Public Suffix list, HSTS Preloading list and CA database

* Updated Public Suffix list using ./mach update-pub-domains
* Updated HSTS Preload list using ./mach update-hsts-preload
* Applied tiny format change to etc/cert_generator.sh
* Updated CA [database](https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV) using etc/cert_generator.sh. New CAs are:
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign ECC Root CA - C3
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign ECC Root CA - G3
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign Root CA - C1
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign Root CA - G1
  * [bug 1464306](https://bugzilla.mozilla.org/show_bug.cgi?id=1464306) Hongkong Post Root CA 3

---

- [x] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23347)
<!-- Reviewable:end -->
2019-05-13 14:57:02 -04:00
Maharsh
cbff66928f removed comments 2019-05-13 14:17:12 -04:00
Josh Matthews
4ca139ec1e Ensure libffi pkgconfig is set up for WPT tests. 2019-05-13 12:35:09 -04:00
Josh Matthews
7119bc093f Enable gstreamer debug output on taskcluster. 2019-05-13 12:30:55 -04:00
Josh Matthews
dd18ad29ac Install gstreamer libraries for WPT runner tasks on mac. 2019-05-13 12:29:21 -04:00
Josh Matthews
1b8429f9ce Move two mac WPT jobs to taskcluster. 2019-05-13 12:18:53 -04:00
Josh Matthews
24f4792dee Add third mac builder to taskcluster. 2019-05-13 12:18:20 -04:00
Maharsh
854ba8d514 Borrow Layout Change 2019-05-13 12:04:17 -04:00
Josh Matthews
f147b8d119 Fix libffi pkg-config in WPT nightly job. 2019-05-13 11:45:45 -04:00
Maharsh
65e1f1fb3e Updated Testcases and Formatting 2019-05-11 21:58:15 -04:00
bors-servo
965f57e3f8
Auto merge of #23309 - CYBAI:update-workers, r=nox
Support WorkerOptions for Worker

I'd like to start working on updating SW related codes and I found it will have some algorithms related to module workers. And I found parts of the spec update is related to [fetch a module worker script graph](https://html.spec.whatwg.org/multipage/#fetch-a-module-worker-script-tree), maybe it's worth being a separate PR?

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #23308
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23309)
<!-- Reviewable:end -->
2019-05-11 03:36:23 -04:00
bors-servo
d9559499b2
Auto merge of #23163 - jdm:smup66, r=asajeffrey
Upgrade to SpiderMonkey 66

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23163)
<!-- Reviewable:end -->
2019-05-10 23:51:12 -04:00
CYBAI
dececad390 Update Worker webidl to support WorkerOptions 2019-05-11 12:14:25 +09:00
CYBAI
261c8d9e0c Introduce parser metadata for request 2019-05-11 12:10:28 +09:00
CYBAI
ffdcd3aa7a Fix mode and credential-mode for fetching classic worker script
Ref to step 1 in https://html.spec.whatwg.org/multipage/#fetch-a-classic-script
2019-05-11 12:08:55 +09:00
Josh Matthews
7c1c1d9af4 Use clang as assembler for magic leap. 2019-05-10 22:47:03 -04:00
Josh Matthews
757d1eb8c9 Update test results. 2019-05-10 22:47:03 -04:00
Josh Matthews
8420b299ca Update CI to use Clang instead of outdated GCC. 2019-05-10 22:47:02 -04:00
Josh Matthews
4328713f71 Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
Josh Matthews
d0d3401361 Use correct android platform version when linking. 2019-05-10 22:43:42 -04:00
Josh Matthews
d84679c715 Remove unused arm32 build. 2019-05-10 22:43:42 -04:00
bors-servo
887f43b65b
Auto merge of #23353 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23353)
<!-- Reviewable:end -->
2019-05-10 21:20:50 -04:00
bors-servo
81f750afa7
Auto merge of #23356 - jdm:tc-android-mac, r=jdm
Move android mac build to taskcluster

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23356)
<!-- Reviewable:end -->
2019-05-10 18:26:35 -04:00
bors-servo
b13f7abb16
Auto merge of #23359 - jdm:fix-ffi-tc, r=SimonSapin
Add libffi to pkgconfig's search path.

Fixes #23358.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23359)
<!-- Reviewable:end -->
2019-05-10 12:22:34 -04:00
bors-servo
623c5d0645
Auto merge of #23322 - pylbrecht:sync.network.fetch, r=jdm
Create performance resource timing entry for synchronous network fetch

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23150 (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23322)
<!-- Reviewable:end -->
2019-05-10 10:11:40 -04:00
Jan Andre Ikenmeyer
71fdba13be
Make https the default protocol for address bar on desktop 2019-05-10 15:34:56 +02:00
Jan Andre Ikenmeyer
b23219176d
Switch servo-deps back to https 2019-05-10 15:09:25 +02:00
Jan Andre Ikenmeyer
97deef4e19
Update MPL license to https 2019-05-10 15:03:19 +02:00
Jan Andre Ikenmeyer
25333b6451
Disable TLS 1.0 and 1.1 2019-05-10 14:53:32 +02:00
bors-servo
b604a87003
Auto merge of #23349 - ceyusa:no-clone-data, r=ferjm
No need to clone again the raw data.

Players frame's get_data() already delivers a cloned raw data.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there's not functional changes.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23349)
<!-- Reviewable:end -->
2019-05-10 07:43:53 -04:00
Emilio Cobos Álvarez
db2f6aa8ca style: Rustfmt + build fix. 2019-05-10 12:43:06 +02:00
Emilio Cobos Álvarez
f429c28f23 style: Add bindings for ArcSlice and ThinArc, and use them to reduce copies of SVG path data.
As I said over bug 1549593, the eventual goal is to use ArcSlice in all
inherited properties. But this seemed like a good first candidate that doesn't
require me to move around a lot more code, since we were already using cbindgen
for the path commands.

Differential Revision: https://phabricator.services.mozilla.com/D30134
2019-05-10 12:43:05 +02:00
Emilio Cobos Álvarez
0d5c4481b8 style: Introduce ArcSlice, a small wrapper over ThinArc but without an explicit header.
We could make the header PhantomData or something, but then we wouldn't be able
to bind to C++, since C++ doesn't have ZSTs. So add a canary instead to add a
runtime check of stuff being sane.

Differential Revision: https://phabricator.services.mozilla.com/D30133
2019-05-10 12:43:04 +02:00
Emilio Cobos Álvarez
2ed2151b3d style: Move OwnedSlice to style_traits.
Differential Revision: https://phabricator.services.mozilla.com/D30126
2019-05-10 12:43:04 +02:00
Emilio Cobos Álvarez
559235edad style: Use the owned slice type for basic shape polygon coordinates.
This enables destructors for tagged unions in cbindgen, implemented in:

 * https://github.com/eqrion/cbindgen/pull/333

Which allow us to properly generate a destructor for the cbindgen-generated
StyleBasicShape (which now contains an OwnedSlice).

For now, we still use the glue code to go from Box<BasicShape> to
UniquePtr<BasicShape>. But that will change in the future when we generate even
more stuff and remove all the glue.

I could add support for copy-constructor generation to cbindgen for tagged
enums, but I'm not sure if it'll end up being needed, and copy-constructing
unions in C++ is always very tricky.

Differential Revision: https://phabricator.services.mozilla.com/D29769
2019-05-10 12:43:03 +02:00