Commit graph

37138 commits

Author SHA1 Message Date
bors-servo
ae09fe490b
Auto merge of #22277 - servo:android, r=jdm
Put every Android build artefact in target/android/

This works around #20380 at the cost of rebuilding build-only dependencies twice,
once for normal builds and once for android builds.

<!-- 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/22277)
<!-- Reviewable:end -->
2018-11-28 07:02:12 -05:00
Anthony Ramine
496a62860e Move Android and ML build artefacts to their own subdirectory
Works around #20380.
2018-11-28 13:00:44 +01:00
bors-servo
3f0643c1de
Auto merge of #22263 - Darkspirit:servo_preload, r=jdm
Preload servo.org

Pending submissions of servo.org and searchfox.org were [merged](https://chromium.googlesource.com/chromium/src/net/+log/master/http/transport_security_state_static.json) into the HSTS Preload list today.
r? @jdm

---
- [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/22263)
<!-- Reviewable:end -->
2018-11-28 02:34:31 -05:00
bors-servo
100acea433
Auto merge of #22278 - CYBAI:turn-sw-wpt-on, r=jdm
Turn on upstream SW wpt tests

Generated these metadata with following command

```sh
$ ./mach test-wpt --log-raw=update.log tests/wpt/web-platform-tests/service-workers
$ ./mach update-wpt update.log
```

Ref: https://github.com/servo/servo/pull/22218#discussion_r236739048

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] This PR will turn on `ServiceWorker` for upstream WPT tests

<!-- 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/22278)
<!-- Reviewable:end -->
2018-11-28 01:15:09 -05:00
WPT Sync Bot
5c371dd958 Update web-platform-tests to revision 9c2bea6dac36e36ba1f489d10c2be42160d8f34f 2018-11-27 23:18:10 -05:00
bors-servo
f180b840d5
Auto merge of #22237 - Manishearth:wrup, r=pcwalton
Update webrender

Fixes https://github.com/servo/servo/issues/22232 , once https://github.com/servo/webrender/pull/3327 lands and I update this PR to include it

All the integer casts are due to https://github.com/servo/webrender/pull/3291

<!-- 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/22237)
<!-- Reviewable:end -->
2018-11-27 21:01:58 -05:00
Manish Goregaokar
31b0f3ea08 Instructions for checking magicleap builds on linux 2018-11-27 17:37:06 -08:00
Manish Goregaokar
5413328be2 Update webrender 2018-11-27 17:33:13 -08:00
Jan Andre Ikenmeyer
f1f409ffb6
Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
Jan Andre Ikenmeyer
13458e8f44
Change servo homepage link to https 2018-11-27 19:01:20 +01:00
Jan Andre Ikenmeyer
a4bdfadec0
Update hsts_preload.json 2018-11-27 19:01:02 +01:00
George Roman
73f11d69ea Change Response's statusText default value from 'Ok' to an empty string 2018-11-27 19:26:40 +02:00
CYBAI
d44243a654 Turn on upstream SW wpt tests 2018-11-28 00:53:37 +08:00
bors-servo
482923cec2
Auto merge of #22221 - Eijebong:random-depup, r=nox
Update dependencies

Those are all easy and unrelated dependency updates, hence the single PR

<!-- 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/22221)
<!-- Reviewable:end -->
2018-11-27 11:27:54 -05:00
bors-servo
e7d4e65660
Auto merge of #22274 - servo:jdm-patch-10, r=nox
Update the manifest twice to work around manifest generation issue.

My theory is that the new VCS-based cache that's used when generating the manifest gets confused when files that match a gitignore rule are added for the first time. Updating the manifest twice makes the problematic files disappear from the manifest, and I'm not inclined to spend any more time chasing this bug. Fixes #22275.

<!-- 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/22274)
<!-- Reviewable:end -->
2018-11-27 10:16:45 -05:00
George Roman
c1738b37c6 Kill test processes whenever any error occurs 2018-11-27 11:07:45 +02:00
Josh Matthews
8c29eeaf8f
Fix issue reference in comment. 2018-11-26 22:39:06 -05:00
bors-servo
c6f4dcce47
Auto merge of #21673 - gterzian:add_background_monitor, r=<try>
Add background hang monitor

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

Early feedback welcome, still need to ~~actually integrate it in the constellation message loop, and~~ use it in Layout and Script...

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

<!-- Either: -->
- [ ] 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/21673)
<!-- Reviewable:end -->
2018-11-26 22:35:07 -05:00
Josh Matthews
59500cdcc7
Update the manifest twice to work around manifest generation issue. 2018-11-26 22:34:33 -05:00
bors-servo
524bd722ef
Auto merge of #22254 - Darkspirit:ca_db_generator, r=paulrouget
Alternative CA database generator

[resources/certs](https://github.com/servo/servo/blob/master/resources/certs) is Servo's CA database and was last updated on 3 Apr 2017. Symantec has been revoked in the meantime.
[etc/cert_generator.js](b9847e2953/etc/cert_generator.js) is an XPCShell script for updating the certs file, but I found it too complex to run, so I made a simpler script.

What it does:
1. Download Mozilla's [official](https://wiki.mozilla.org/CA/Included_Certificates) CA database CSV file with curl and process it with awk: https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV
2. rows end with "\n
3. split each row by `^"` and `","` into columns. (I had to remove `"$` because of servo-tidy.)
4. remove single and double quotes from column 30
5. if column 13 (12 in the csv file) contains `Websites` (some are Email-only), print column 30, the raw certificate
6. put everything into a `certs` file

servo-tidy wasn't happy so I had to make it a bit uglier. lol
> ./etc/cert_generator.sh:8: Line is longer than 80 characters
> ./etc/cert_generator.sh:8: script is missing options "set -o errexit", "set -o nounset", "set -o pipefail"
> ./etc/cert_generator.sh:8: variable substitutions should use the full "${VAR}" form
> ./etc/cert_generator.sh:8: variable substitutions should use the full "${VAR}" form
> ./etc/cert_generator.sh:8: variable substitutions should use the full "${VAR}" form
> ./etc/cert_generator.sh:8: variable substitutions should use the full "${VAR}" form

---
- [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/22254)
<!-- Reviewable:end -->
2018-11-26 12:16:20 -05:00
bors-servo
d282618baa
Auto merge of #22134 - ferjm:load_better_blob, r=jdm
Support range requests for blob URLs

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #21467 and fix #22053
- [X] There are tests for these changes.

<!-- 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/22134)
<!-- Reviewable:end -->
2018-11-26 10:34:31 -05:00
Fernando Jiménez Moreno
b23dd0587b Add comment about incorrect tests for file url range requests. Fmt and manifest update 2018-11-26 15:28:27 +01:00
Fernando Jiménez Moreno
4561a97309 Use crossbeam channel instead of servo channel. Fix rebase issues and add comment 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
ef57ecbdb7 Tweak limits of file chunked read and send chunks not entire body as partial payloads 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
79d27cb7ca Set response status for range requests to file and blob urls 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
b96e5681aa Do not set Receiving body to Done when it's not needed 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
ff1e8aaa08 Adapt fetch blob test to new way of fetching in chunks 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
526f6fcadd Allow range requests to blob URLs with negative offsets 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
25bb740e0d Test range request to blob URLs 2018-11-26 09:34:14 +01:00
Fernando Jiménez Moreno
a84442864d Add support fo byte range requests for blob URLs 2018-11-26 09:33:35 +01:00
Fernando Jiménez Moreno
8538634210 Finish asynchronous blob url fetching 2018-11-26 09:33:34 +01:00
Fernando Jiménez Moreno
67722d1943 Update read blob url in chunk changes to use new hyper 2018-11-26 09:33:34 +01:00
ms2300
2f3affcfc8 Blob url's changes now build and test 2018-11-26 09:33:34 +01:00
ms2300
e84e1d607b Initial implementation of asynchronous blob url fetching 2018-11-26 09:33:34 +01:00
Gregory Terzian
4eb785cdc0 introduce a background-hang-monitor:
Mac-Os implementation of a thread sampler,
Linux and Windows skeleton implementations.
2018-11-26 14:15:33 +08:00
Jan Andre Ikenmeyer
949c22401b
Update CA database 2018-11-24 17:43:36 +01:00
Jan Andre Ikenmeyer
b9ac97051f
Alternative CA database generator 2018-11-24 17:42:51 +01:00
bors-servo
7c65505df3
Auto merge of #22260 - jdm:wpt_update_23-11-2018, r=jdm
Sync WPT with upstream (23-11-2018)

Automated downstream sync of changes from upstream as of 23-11-2018.
[no-wpt-sync]

Fixes #22235.

<!-- 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/22260)
<!-- Reviewable:end -->
2018-11-23 16:40:18 -05:00
Josh Matthews
8a0a710ac1 Ignore all WPT manifests in tidy. 2018-11-23 16:38:47 -05:00
Josh Matthews
651a6990d0 Update expectations. 2018-11-23 16:33:47 -05:00
Tom Servo
846c3ba1a3 Update manifest integration to reflect upstream API changes. 2018-11-23 15:48:02 -05:00
WPT Sync Bot
642f3cb541 Update web-platform-tests to revision a8fb1792cbfab3ed59401775da76fb6c15d9f2e2 2018-11-23 15:48:00 -05:00
bors-servo
7484b738f1
Auto merge of #22248 - Darkspirit:hsts, r=jdm
Update hsts_preload.json

Made with `./mach update-hsts-preload`.
It was last updated on 2 Dec 2015.

---
- [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/22248)
<!-- Reviewable:end -->
2018-11-23 15:04:05 -05:00
bors-servo
1bac32edc0
Auto merge of #22245 - paulrouget:resetopts, r=SimonSapin
Make it possible to reset options

We want to be able to reset the options after servo gets deinitialized (in FxR for example).

<!-- 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/22245)
<!-- Reviewable:end -->
2018-11-23 13:46:48 -05:00
bors-servo
c96f07a0b5
Auto merge of #22234 - jdm:android-gl-crash, r=Manishearth
Fix android GL crash

There were two issues, fundamentally:
1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API.
2. The version check was using the wrong version value to determine if enabling point sprites was necessary.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22162
- [x] There are tests for these changes

<!-- 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/22234)
<!-- Reviewable:end -->
2018-11-23 12:38:24 -05:00
bors-servo
d7d9015518
Auto merge of #22239 - paulrouget:shutdown2, r=jdm
shutdown synchronously

---
<!-- 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
- [ ] 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/22239)
<!-- Reviewable:end -->
2018-11-23 11:19:00 -05:00
bors-servo
15de05bafc
Auto merge of #22249 - Darkspirit:public_suffix_list, r=jdm
Update public_domains.txt

Made with `./mach update-pub-domains`.
It was created on 9 Jun 2016 and never updated since then.

---
- [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/22249)
<!-- Reviewable:end -->
2018-11-23 00:21:49 -05:00
bors-servo
b9847e2953
Auto merge of #22246 - paulrouget:configChange, r=jdm
Handle more config changes

Fix #22197

<!-- 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/22246)
<!-- Reviewable:end -->
2018-11-22 13:55:44 -05:00
Jan Andre Ikenmeyer
6536cef48c
Update public_domains.txt 2018-11-22 18:25:22 +01:00
Jan Andre Ikenmeyer
ff2aba25f0
Update hsts_preload.json 2018-11-22 17:57:12 +01:00