Commit graph

37396 commits

Author SHA1 Message Date
Josh Matthews
50f3b32bdf Only build libsimpleservo on win arm64. 2019-06-11 15:53:34 -04:00
Josh Matthews
4367365419 No multiprocess on win arm64. 2019-06-11 15:53:34 -04:00
Josh Matthews
b8aac8b152 Hide windows sampler on arm64. 2019-06-11 15:53:34 -04:00
Josh Matthews
b90726de97 Use non-sse2 mozangle. 2019-06-11 15:53:34 -04:00
Josh Matthews
bf13d9ed90 Upgrade to LLVM 8 on Windows. 2019-06-11 09:15:21 -04:00
Josh Matthews
41f47cba31 Use raqote backend for win arm64. 2019-06-11 09:15:20 -04:00
Josh Matthews
900794496a Update cmake to support MSVC arm64. 2019-06-11 09:15:16 -04:00
Josh Matthews
f4fed0dd9a Update backtrace to 0.3.26. 2019-06-11 09:14:21 -04:00
Josh Matthews
8fc2962fa6 Replace remove_dir_all with an unpublished revision that builds on arm64 Windows. 2019-06-11 09:14:01 -04:00
Josh Matthews
9ffad13a7c Add arm64 tools to windows AMI. 2019-06-07 11:47:08 -04:00
Josh Matthews
e48ae772df Use lld-link for windows arm64. 2019-06-07 11:47:08 -04:00
Josh Matthews
098d08d9cc Enable cross builds for pkg-config on windows. 2019-06-07 11:47:08 -04:00
Josh Matthews
ad112c1d45 Update winapi to 0.3.7. 2019-06-07 11:47:08 -04:00
Josh Matthews
0daddbcfd9 Add Windows arm64 build. 2019-06-07 11:47:08 -04:00
bors-servo
237ef8da34
Auto merge of #23443 - georgeroman:start_enabling_wdspec_tests, r=jdm
Start enabling automated webdriver tests

<!-- 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

<!-- 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/23443)
<!-- Reviewable:end -->
2019-06-07 04:18:31 -04:00
bors-servo
525d515a89
Auto merge of #23507 - gterzian:introduce_browsing_context_groups, r=asajeffrey
Implement browsing context group and set

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #23307 (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/23507)
<!-- Reviewable:end -->
2019-06-07 02:27:37 -04:00
Gregory Terzian
8c28852e90 implement browsing context group and set 2019-06-07 13:26:45 +08:00
bors-servo
d180f76011
Auto merge of #23528 - DutchGhost:patch-2, r=jdm
Fix typo in malloc_size_of docs

Fix `for` typo in the documentation, should be `fork` instead.

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix #23527 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it fixes a typo in the documentation.

<!-- 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. -->
Closes https://github.com/servo/servo/issues/23527

<!-- 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/23528)
<!-- Reviewable:end -->
2019-06-06 22:30:45 -04:00
bors-servo
155eadae4e
Auto merge of #23525 - servo-wpt-sync:wpt_update_06-06-2019, r=servo-wpt-sync
Sync WPT with upstream (06-06-2019)

Automated downstream sync of changes from upstream as of 06-06-2019.
[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/23525)
<!-- Reviewable:end -->
2019-06-06 20:23:11 -04:00
bors-servo
1e158bbfae
Auto merge of #23524 - chosungmann:fix-spelling-errors, r=jdm
Fix spelling errors in /tests/wpt

eventsource-onmesage.* -> eventsource-onmessage.*

<!-- 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 no 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/23524)
<!-- Reviewable:end -->
2019-06-06 15:34:43 -04:00
DutchGhost
d4d5d998b9
Update lib.rs
Fix `for` typo in the documentation, should be `fork` instead.
2019-06-06 20:37:27 +02:00
WPT Sync Bot
141ba90a6d Update web-platform-tests to revision 3840f46213d9a991acc9288e3863530f7502c05e 2019-06-06 15:53:11 +00:00
bors-servo
9353bc9718
Auto merge of #23523 - ceyusa:player-events-task-source, r=ferjm
Use media element task source to receive the player's events

This is crumb left behind when changing the usage of dom task source to the proper media element task source.

<!-- 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 no 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/23523)
<!-- Reviewable:end -->
2019-06-06 11:30:22 -04:00
Sungmann Cho
15bb7cd380 Fix spelling errors in /tests/wpt
eventsource-onmesage.* -> eventsource-onmessage.*
2019-06-07 00:21:11 +09:00
Víctor Manuel Jáquez Leal
985efb4b8d Use media element task source to receive the player's events
This is crumb left behind when changing the usage of dom task source
to the proper media element task source.
2019-06-06 17:03:59 +02:00
George Roman
60c2c1d557 Add ServoCapabilities and revise handle_new_session function 2019-06-06 17:04:55 +03:00
bors-servo
347d8bdf72
Auto merge of #23501 - paulrouget:nullcheck, r=jdm
handle null args pointer

<!-- 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/23501)
<!-- Reviewable:end -->
2019-06-06 03:14:11 -04:00
Paul Rouget
2fb6cc6f4d handle null args 2019-06-06 08:16:26 +02:00
George Roman
8b93d1d673 Enable webdriver new_session tests 2019-06-06 00:07:59 +03:00
George Roman
5ce09a5e79 Do not exit servo on webdriver session deletion 2019-06-05 23:42:10 +03:00
bors-servo
7a5ce048d2
Auto merge of #23518 - servo-wpt-sync:wpt_update_05-06-2019, r=servo-wpt-sync
Sync WPT with upstream (05-06-2019)

Automated downstream sync of changes from upstream as of 05-06-2019.
[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/23518)
<!-- Reviewable:end -->
2019-06-05 11:31:44 -04:00
WPT Sync Bot
95182b7b3c Update web-platform-tests to revision 488f0f02d28b33060a091e3961e6849abe97bc4c 2019-06-05 14:40:06 +00:00
bors-servo
255bfeabd5
Auto merge of #23517 - oneturkmen:prep-for-composite-void, r=jdm
Make prepare_for_composite return void

<!-- Please describe your changes on the following line: -->
Changed the signature of `fn prepare_for_composite(...)` to return void (unit) instead of boolean.

---
<!-- 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 #23492 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because these are clean-up changes (do not include new feature or fixed bug).

<!-- 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/23517)
<!-- Reviewable:end -->
2019-06-05 10:11:20 -04:00
bors-servo
ced2668c6c
Auto merge of #23515 - oneturkmen:layout-thread-remove-opts-get, r=jdm
Layout_thread: removed all possible opts::get()

<!-- Please describe your changes on the following line: -->
Removed almost all `opts::get()` from components/layout_thread. The untouched one is used by [`get_ua_stylesheets()`](2ad3066d7c/components/layout_thread/lib.rs (L1924)), which is in turn used by [`lazy_static!`](2ad3066d7c/components/layout_thread/lib.rs (L1998)).

---
<!-- 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 *partially* #22854 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because these are cleanup changes which neither add any feature, nor fix any bug.

<!-- 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/23515)
<!-- Reviewable:end -->
2019-06-05 03:25:22 -04:00
oneturkmen
3c0c10454b Make prepare_for_composite return void 2019-06-05 00:35:14 -06:00
bors-servo
4c234de927
Auto merge of #23504 - jdm:win-simpleservo, r=asajeffrey
Build simpleservo on Windows

The mozangle change means that we don't rebuild mozangle (and transitively script) because the requested features are different when building libsimpleservo.

<!-- 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/23504)
<!-- Reviewable:end -->
2019-06-05 01:21:47 -04:00
bors-servo
7903104e6a
Auto merge of #23512 - cpud36:fix_incorrect_relative_path_in_webidl_plugin, r=Manishearth
Fix `#[webidl_must_inherit]` building when cwd is not servo crate root

Manifest dir should be more stable than current dir.

<!-- Please describe your changes on the following line: -->
I was trying to embed servo.

The directory layout of mine was the following:
```
/
*-servo
*-src
*-Cargo.toml
...
```

When I tried to build, cargo reported an error, in `#[webidl_must_inherit]` (Os error: 2).

After some research I have found that it failed to find `.webidl` files, because it used a path relative to `current_dir`.

I replaced current dir with manifest dir to make it more reliable.

---
<!-- 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 #___ (Not applicable)

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

I am unsure if these changes require tests. If they do, how should they be implemented?

<!-- 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/23512)
<!-- Reviewable:end -->
2019-06-04 23:02:34 -04:00
oneturkmen
810f5abae6 Layout_thread: removed all possible opts::get() 2019-06-04 17:36:14 -06:00
bors-servo
2ad3066d7c
Auto merge of #23506 - oneturkmen:constellation-remove-opts-get, r=jdm
Constellation: removed almost all opts::get

<!-- Please describe your changes on the following line: -->
Removed *almost* all (except 1) "opts::get()" from `constellation` component. The one untouched is in `pipeline.rs` which uses "opts::get()" as a [struct field](cd153efb4a/components/constellation/pipeline.rs (L501)) that is set [here](cd153efb4a/components/constellation/pipeline.rs (L296)).

---
<!-- 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 *partially* #22854 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because no feature (or no bug) has been added (refactoring 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/23506)
<!-- Reviewable:end -->
2019-06-04 17:02:23 -04:00
Katasonov Vladyslav
c0c11394c4 Run rustfmt. 2019-06-04 23:57:26 +03:00
Katasonov Vladyslav
293e6c88e8 Made webidl search path relative to manifest.
Manifest dir should be more stable than current dir.
2019-06-04 23:08:01 +03:00
bors-servo
6924024f0a
Auto merge of #23497 - jdm:windows-resize, r=asajeffrey
Fix behaviour of window resizing on Windows.

This makes Windows builds usable when the window is resized.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23489
- [x] These changes do not require tests because we can't run tests on Windows CI yet.

<!-- 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/23497)
<!-- Reviewable:end -->
2019-06-04 15:10:56 -04:00
bors-servo
57b1eabe7d
Auto merge of #23486 - atouchet:tests2, r=jdm
Update more test expectations

<!-- Please describe your changes on the following line: -->
I did a search for passing tests and found a few more. Should these be removed?

---
<!-- 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 #___ (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/23486)
<!-- Reviewable:end -->
2019-06-04 12:58:22 -04:00
Josh Matthews
2743015505 Build libsimpleservo on Windows CI. 2019-06-04 11:21:59 -04:00
bors-servo
fe8aad7227
Auto merge of #23503 - emilio:gecko-sync, r=emilio
style: sync changes from mozilla-central

See each individual commit for details. This also cherry-picks #23463 with a few fixes that were needed in Gecko-only code.

<!-- 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/23503)
<!-- Reviewable:end -->
2019-06-04 08:30:39 -04:00
bors-servo
6e83856d7b
Auto merge of #23505 - Eijebong:check-python-version, r=jdm
Check for python's version in mach

On archlinux, python 2 isn't installed by default and it leads to some
really confusing error messages when running mach

<!-- 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/23505)
<!-- Reviewable:end -->
2019-06-04 05:42:49 -04:00
bors-servo
faf3a183f3
Auto merge of #23499 - est31:unused_code_removal_3, r=jdm
Remove unused code (3/N)

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

Third PR in a series of PRs to remove unused/dead code from servo, powered by an (upcoming) tool of mine. Please take a look and tell me if you want to keep something.

* First PR: #23477
* Second PR: #23498

---
<!-- 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 they only remove dead code

<!-- 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/23499)
<!-- Reviewable:end -->
2019-06-04 02:27:29 -04:00
Emilio Cobos Álvarez
c155639bc5 style: Fix RuleNode::has_children_for_testing(). 2019-06-04 01:04:05 -04:00
Emilio Cobos Álvarez
aad49357c3 style: Allow printing the rule tree on unit tests. 2019-06-04 01:04:04 -04:00
Evgeniy Reizner
6f1df517e0 style: Do not use borrowed types in the selectors::Element trait.
Closes #22972
Closes #23463
2019-06-04 01:04:03 -04:00