Commit graph

36788 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
0c0018e4d6
style: Make <svg:use> in shadow tree apply the rules from the originating tree.
Differential Revision: https://phabricator.services.mozilla.com/D4674
2018-09-05 19:10:37 +02:00
Josh Matthews
a19cedfddc
Make ndk-stack mach command support x86 builds. 2018-09-05 12:52:50 -04:00
bors-servo
5ef3fff1b1
Auto merge of #21617 - chansuke:format-url, r=jdm
Format component of url

<!-- Please describe your changes on the following line: -->
Format `url` component with:

```
rustfmt components/url/*.rs
```

---
<!-- 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 part of #21373 .
- [x] These changes do not require tests because they format the code only.

<!-- 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/21617)
<!-- Reviewable:end -->
2018-09-05 12:51:23 -04:00
bors-servo
5578cab464
Auto merge of #21607 - asajeffrey:aarch64-android-fixes, r=ferjm
Aarch64 android fixes

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

Getting android aarch64 to build again.

---
<!-- 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 do not require tests because build infra

<!-- 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/21607)
<!-- Reviewable:end -->
2018-09-05 11:49:50 -04:00
Alan Jeffrey
f256f1d82f Allow duplicate versions of slab 2018-09-05 09:53:05 -05:00
chansuke
812d4a479a Format component of url 2018-09-05 22:53:03 +09:00
bors-servo
81655a9a99
Auto merge of #21611 - servo-wpt-sync:wpt_update_04-09-2018, r=jdm
Sync WPT with upstream (04-09-2018)

Automated downstream sync of changes from upstream as of 04-09-2018.
[no-wpt-sync]

<!-- 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/21611)
<!-- Reviewable:end -->
2018-09-05 08:50:42 -04:00
kingdido999
f8d850bf38 Fix comments indentation issue in gfx platform 2018-09-05 20:34:01 +08:00
bors-servo
9070d4bc65
Auto merge of #21614 - pyfisch:layout_traits-fmt, r=nox
Rustfmt layout_traits crate

Part of #21373. This is a small PR, just one function is formatted as the layout_traits crate contains only this one trait.

<!-- 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/21614)
<!-- Reviewable:end -->
2018-09-05 07:26:29 -04:00
bors-servo
d05cebdc6b
Auto merge of #21613 - pyfisch:layout_thread-fmt, r=Manishearth
Rustfmt layout_thread crate

Part of  #21373. Checked all changes looks good. 🎉 Manually removed two optional semicolons within unsafe so that it is formatted in one line.

<!-- 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/21613)
<!-- Reviewable:end -->
2018-09-05 06:33:16 -04:00
bors-servo
4d18014241
Auto merge of #21615 - pyfisch:malloc_size_of-fmt, r=Manishearth
Rustfmt malloc_size_of & derive

Part of #21373. Formatting looks good.

<!-- 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/21615)
<!-- Reviewable:end -->
2018-09-05 04:52:26 -04:00
Pyfisch
5ba4df0441 Rustfmt malloc_size_of & derive 2018-09-05 10:32:44 +02:00
Pyfisch
7566906f34 Rustfmt layout_traits crate 2018-09-05 10:16:52 +02:00
Pyfisch
840e696ad9 Rustfmt layout_thread crate 2018-09-05 10:11:10 +02:00
WPT Sync Bot
f9ee2396ab Update web-platform-tests to revision 7c50c216081d6ea3c9afe553ee7b64534020a1b2 2018-09-04 23:07:46 -04:00
kingdido999
c57c99d9f7 Format gfx platform #21373 2018-09-05 08:39:05 +08:00
Jackson Lewis
04288748ee Make file fetch asynchronous 2018-09-04 14:50:33 -07:00
bors-servo
5063ac465b
Auto merge of #21606 - asajeffrey:net2up, r=Eijebong
Update to net2 v0.2.33

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

Fixes the aarch64-linux-android build error https://github.com/rust-lang-nursery/net2-rs/pull/55

---
<!-- 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 do not require tests because updating depenency

<!-- 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/21606)
<!-- Reviewable:end -->
2018-09-04 16:09:44 -04:00
bors-servo
04929fe527
Auto merge of #21603 - chansuke:format_webdriver_server, r=jdm
Format component of webdriver_sever

<!-- Please describe your changes on the following line: -->
Format `webdriver_server` with `rustfmt components/webdriver_server/*.rs`.

---
<!-- 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 #21373.
- [x] These changes do not require tests because they format the code only.

<!-- 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/21603)
<!-- Reviewable:end -->
2018-09-04 15:22:35 -04:00
bors-servo
162826d6a9
Auto merge of #21583 - AgustinCB:add-task-source-name, r=jdm
Add task source name

Refactor `CommonScriptMsg::Task` to include `TaskSourceName`.

Sorry for the delay, between doing this after work and the time I spent trying to ramp up on the project, it took me a bit longer than I expected.

Test still don't pass in local, but they fail the same way on master, so I guess it's ok.

I may have forgotten something, I refactored mostly the stuff that the compiler complained about. Please let me know if I missed anything.

I tried to dump my thought process on the commit messages, so feel free to go commit by commit to understand context.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21527

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's mostly refactor, no new behavior added.

<!-- 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/21583)
<!-- Reviewable:end -->
2018-09-04 14:17:33 -04:00
Simon Sapin
721e086b33 Moar scopes 2018-09-04 19:10:11 +02:00
Simon Sapin
3560c2f1de Moar scopes 2018-09-04 19:07:04 +02:00
Alan Jeffrey
f132e2e1ea Fix loader for aarch64 android build 2018-09-04 11:54:57 -05:00
Alan Jeffrey
a919da9896 Update mio to 0.6.15 2018-09-04 11:54:14 -05:00
Simon Sapin
ad605208d0 Use the servo-docker-worker worker type 2018-09-04 18:48:14 +02:00
Simon Sapin
f2ccf29c90 'features' is a dict 2018-09-04 18:48:14 +02:00
Simon Sapin
1e6dd1c4d2 Can we docker-in-docker yet 2018-09-04 18:31:40 +02:00
Alan Jeffrey
cfd5085b1b Update to net2 v0.2.33 2018-09-04 11:18:45 -05:00
chansuke
511dfe8e1b Format component of webdriver_sever 2018-09-04 23:43:00 +09:00
bors-servo
02c689625b
Auto merge of #21601 - servo:descobj, r=jdm
Properly set desc.obj in CodegenRust.py (fixes #11868)

<!-- 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/21601)
<!-- Reviewable:end -->
2018-09-04 09:24:39 -04:00
Agustin Chiappe Berrini
e286fdcc53 Add the TaskSourceName to CommonScriptMsg::Task
Update QueuedTaskConversion and the TaskQueue to use it
2018-09-04 09:17:11 -04:00
Simon Sapin
3374061a89 It looks like some router at AWS caught a cold today
Cloning crates.io-index at ~80 kB/s takes more than 10 minutes.
2018-09-04 15:12:07 +02:00
Simon Sapin
4ec5fbcf94 $TASK_ID is already provided by docker-worker 2018-09-04 14:34:57 +02:00
bors-servo
73459d5b36
Auto merge of #21597 - chansuke:format_webvr, r=jdm
Format component of webvr #21373

<!-- Please describe your changes on the following line: -->
Formated `webvr` component with:

```
rustfmt components/webvr/*.rs
```

---
<!-- 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 part of #21373.
- [x] These changes do not require tests because they format the code only.

<!-- 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/21597)
<!-- Reviewable:end -->
2018-09-04 08:27:42 -04:00
Simon Sapin
bcea20ff8f Revert "GitHub event data as JSON"
This reverts commit d918ccd24b.
2018-09-04 14:18:07 +02:00
Anthony Ramine
baa94702e4 Properly set desc.obj in CodegenRust.py (fixes #11868) 2018-09-04 13:57:10 +02:00
bors-servo
587cbd079e
Auto merge of #21598 - kingdido999:master, r=jdm
Format components fallible and geometry #21373

```bash
rustfmt components/fallible/*.rs
rustfmt components/geometry/*.rs
```

<!-- 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/21598)
<!-- Reviewable:end -->
2018-09-04 07:36:23 -04:00
bors-servo
81f6ac8f92
Auto merge of #21591 - Manishearth:channelmergernode, r=ferjm
Implement ChannelMergerNode

partial https://github.com/servo/servo/issues/21558

Haven't yet tested, wanted to get this up as an example for https://github.com/servo/servo/issues/21558

<!-- 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/21591)
<!-- Reviewable:end -->
2018-09-04 02:38:08 -04:00
Manish Goregaokar
af5b1c4011 Add createChannelMerger() 2018-09-04 11:23:00 +05:30
Manish Goregaokar
9a319f7dc6 Regenerate test expectations
Stuff was a bit buggy with the test expectations so I regenerated them.
Looks like some of the tests changed and this wasn't synced properly.
2018-09-04 10:41:48 +05:30
Desmond
cffdb37e81
Move malloc_size_of_derive to proper position 2018-09-04 11:29:38 +08:00
bors-servo
75c0bdaf1b
Auto merge of #21599 - servo-wpt-sync:wpt_update_03-09-2018, r=jdm
Sync WPT with upstream (03-09-2018)

Automated downstream sync of changes from upstream as of 03-09-2018.
[no-wpt-sync]

<!-- 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/21599)
<!-- Reviewable:end -->
2018-09-03 23:00:40 -04:00
WPT Sync Bot
0d3d7c36ab Update web-platform-tests to revision 04bc9c5667911cce7361ee33244dfc8d7ed61212 2018-09-03 22:46:44 -04:00
kingdido999
ec9d0f21a6 Format components fallible and geometry #21373 2018-09-04 09:51:55 +08:00
chansuke
2da096c141 Format component of webvr #21373 2018-09-04 10:14:45 +09:00
Manish Goregaokar
c76c6f3e4f Update test expectations 2018-09-03 20:58:12 +05:30
Simon Sapin
3d7f852fa3 Only enable caching in the build task 2018-09-03 17:25:47 +02:00
Simon Sapin
3626d2baa2 Open sesame 2018-09-03 17:23:15 +02:00
Simon Sapin
91ccaf08cc Revert "Revert "Cache $CARGO_HOME""
This reverts commit 248c23039c.
2018-09-03 17:12:28 +02:00
Manish Goregaokar
28c21421ca Throw on out-of-bounds channelCount in AudioNodes 2018-09-03 20:31:52 +05:30