Commit graph

34159 commits

Author SHA1 Message Date
bors-servo
5da5ede9c7
Auto merge of #21427 - paulrouget:gstreamer-instructions-update, r=jdm
More gstreamer dependencies

Was running into this issue:

```
error: failed to run custom build command for `gstreamer-player-sys v0.5.0`
process didn't exit successfully: `/home/paul/git/servo/target/debug/build/gstreamer-player-sys-3591c80c70153c3c/build-script-build` (exit code: 1)
--- stderr
`"pkg-config" "--libs" "--cflags" "gstreamer-player-1.0 >= 1.12"` did not exit successfully: exit code: 1
--- stderr
Package gstreamer-player-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-player-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-player-1.0' found
```

<!-- 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/21427)
<!-- Reviewable:end -->
2018-08-16 11:14:43 -04:00
Bastien Orivel
a1925aab52 Properly set the origin on websocket messages 2018-08-16 16:53:38 +02:00
bors-servo
cfae377660
Auto merge of #21436 - Eijebong:ws-protocols, r=jdm
The WS protocols should be case sensitive, not insensitive

<!-- 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/21436)
<!-- Reviewable:end -->
2018-08-16 10:19:20 -04:00
Josh Matthews
12436047cb
Add gstreamer instructions for windows. 2018-08-16 07:14:17 -07:00
Bastien Orivel
75c746655c The WS protocols should be case sensitive, not insensitive 2018-08-16 15:50:50 +02:00
Josh Matthews
9ee7860665
Remove warnings about WPT syncing process. 2018-08-16 06:44:40 -07:00
Josh Matthews
53f2a2a446
Clean more build artifacts. 2018-08-16 06:38:55 -07:00
Paul Rouget
6aa653a46d Show animation status 2018-08-16 13:51:57 +02:00
Paul Rouget
296b76070c pinch to zoom 2018-08-16 13:51:57 +02:00
Pyfisch
1c438ed82c Do not emit DL items for zero images
Fixes wpt test failure.
2018-08-16 12:41:37 +02:00
Paul Rouget
a04fe144c7 More gstreamer dependencies 2018-08-16 17:16:56 +08:00
kingdido999
b25a01f492 Format component allocator #21373 2018-08-16 15:44:54 +08:00
bors-servo
83ade0c0b8
Auto merge of #21425 - servo-wpt-sync:wpt_update_15-08-2018, r=jdm
Sync WPT with upstream (15-08-2018)

Automated downstream sync of changes from upstream as of 15-08-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/21425)
<!-- Reviewable:end -->
2018-08-16 02:01:22 -04:00
bors-servo
89ab110357
Auto merge of #21424 - Eijebong:we-secure-now, r=jdm
Handle secure websockets

Fixes #20816

<!-- 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/21424)
<!-- Reviewable:end -->
2018-08-16 00:58:40 -04:00
WPT Sync Bot
2f89d25484 Update web-platform-tests to revision af43e2eb32555059316b67fba4a1d7df6ea3148d 2018-08-15 22:56:42 -04:00
Bastien Orivel
73ef02ff17 Handle secure websockets
Fixes #20816
2018-08-16 00:24:19 +02:00
bors-servo
97c6246385
Auto merge of #21386 - Eijebong:remove-websocket, r=jdm
Replace servo-websocket by ws

This is heavily based on previous work done in #16012.

Fixes #14517

<!-- 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/21386)
<!-- Reviewable:end -->
2018-08-15 14:54:32 -04:00
bors-servo
2ed30c5951
Auto merge of #21421 - servo:jdm-patch-10, r=mbrubeck
Add configuration for using ./wpt serve

This allows running `./wpt serve --alias_file ../aliases` to replicate Servo's multiple document root setup when running tests in other browsers.

<!-- 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/21421)
<!-- Reviewable:end -->
2018-08-15 13:36:31 -04:00
Bastien Orivel
2e11bc10fb Replace servo-websocket by ws
This is heavily based on previous work done in #16012.

Fixes #14517
2018-08-15 16:53:48 +02:00
bors-servo
71b67d8f94
Auto merge of #21420 - gootorov:gstreamer-gentoo, r=jdm
Add needed gstreamer packages for Gentoo build

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

r? @jdm

---
<!-- 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 #21418
- [x] These changes do not require tests because: docs

<!-- 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/21420)
<!-- Reviewable:end -->
2018-08-15 10:13:46 -04:00
Josh Matthews
b9087e9e54
Add macOS gstreamer setup 2018-08-15 09:44:35 -04:00
Josh Matthews
60cfc3b395
Add configuration for using ./wpt serve 2018-08-15 09:43:22 -04:00
Igor Gutorov
80a285243a Add needed gstreamer packages for Gentoo build 2018-08-15 16:24:01 +03:00
bors-servo
3424a5c51f
Auto merge of #21222 - nupurbaghel:update_source_set, r=jdm
Null image source check for src, srcset and picture parent

<!-- Please describe your changes on the following line: -->
This PR includes a test which checks for empty src only.
---
<!-- 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 #21221

<!-- Either: -->
- [x] These changes require tests and added

<!-- 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/21222)
<!-- Reviewable:end -->
2018-08-15 09:20:20 -04:00
bors-servo
4f55c87479
Auto merge of #21415 - servo-wpt-sync:wpt_update_14-08-2018, r=jdm
Sync WPT with upstream (14-08-2018)

Automated downstream sync of changes from upstream as of 14-08-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/21415)
<!-- Reviewable:end -->
2018-08-15 03:01:07 -04:00
nupurbaghel
40287dd618 add test to check for null image source 2018-08-15 12:06:31 +05:30
bors-servo
e855973e2b
Auto merge of #21405 - paulrouget:suspend, r=jdm
Behave properly when app is suspended

Fix #21329

<!-- 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/21405)
<!-- Reviewable:end -->
2018-08-15 02:07:05 -04:00
bors-servo
be9e5df913
Auto merge of #21404 - paulrouget:localaar, r=MortimerGoro
Make it possible to use a custom AAR to build servoapp

Fix https://github.com/servo/servo/issues/21402

To use a local AAR, create `support/android/apk/user.properties`:
```
servoViewLocal=/tmp/servo-latest.aar
```

<!-- 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/21404)
<!-- Reviewable:end -->
2018-08-15 01:11:17 -04:00
bors-servo
3ccfc288de
Auto merge of #21394 - servo:jdm-patch-6, r=cbrewster
Remove unnecessary CEReactions.

This incorporates a spec update in https://github.com/whatwg/html/pull/3901.

<!-- 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/21394)
<!-- Reviewable:end -->
2018-08-15 00:04:13 -04:00
WPT Sync Bot
b642b70974 Update web-platform-tests to revision 86e157b387e63ba586d8ad51d2fcd5690626f5ad 2018-08-14 22:50:34 -04:00
bors-servo
bc82521eb7
Auto merge of #21372 - Eijebong:num-traits, r=jdm
Dedupe num-traits

<!-- 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/21372)
<!-- Reviewable:end -->
2018-08-14 11:09:46 -04:00
Paul Rouget
ae407e9a65 Behave properly when app is suspended 2018-08-14 16:52:36 +02:00
bors-servo
9aaf7302f0
Auto merge of #21391 - paulrouget:debug_to_info, r=KiChjang
Android: Use info! instead of debug!

Fix #21390

As explained in #21390, we are missing some important logs in release builds, and nightly is not available as a debug build for testers.

For the most important logs, let's use `info` instead of `debug`.

<!-- 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/21391)
<!-- Reviewable:end -->
2018-08-14 09:23:19 -04:00
Paul Rouget
bfb76f6fcc Use info instead of debug 2018-08-14 20:52:01 +08:00
Paul Rouget
8106e5e9bf Make it possible to use a custom AAR to build servoapp 2018-08-14 10:35:15 +02:00
bors-servo
0694c7083e
Auto merge of #21400 - servo-wpt-sync:wpt_update_13-08-2018, r=jdm
Sync WPT with upstream (13-08-2018)

Automated downstream sync of changes from upstream as of 13-08-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/21400)
<!-- Reviewable:end -->
2018-08-14 01:08:34 -04:00
WPT Sync Bot
ca45711d07 Update web-platform-tests to revision c792ea26624bde49b72afce348de07ab72fb9ad7 2018-08-13 23:36:02 -04:00
Manish Goregaokar
7ff40e2ed4 Update WPT expectations 2018-08-13 17:48:41 -07:00
Manish Goregaokar
981bbff346 Append to LD_LIBRARY_PATH 2018-08-13 17:43:11 -07:00
Josh Matthews
6d3ff9f742
Remove unnecessary CEReactions.
This incorporates a spec update in https://github.com/whatwg/html/pull/3901.
2018-08-13 11:16:46 -04:00
bors-servo
e051c5880e
Auto merge of #21387 - servo-wpt-sync:wpt_update_11-08-2018, r=jdm
Sync WPT with upstream (11-08-2018)

⚠️ Do not merge this PR without verifying that it is not overwriting local changes to web-platform-tests. ⚠️

Automated downstream sync of changes from upstream as of 11-08-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/21387)
<!-- Reviewable:end -->
2018-08-13 01:39:21 -04:00
WPT Sync Bot
d81a78450f Update web-platform-tests to revision d31eacaff0c4d96f8c125c21faac6e0f75dd683c 2018-08-11 22:59:41 -04:00
bors-servo
cabf47bfc6
Auto merge of #21385 - paulrouget:crowSupport, r=jdm
Few fixes to support Crow

With these fixes, the published AAR works for both Android and Crow.

<!-- 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/21385)
<!-- Reviewable:end -->
2018-08-11 06:43:09 -04:00
Paul Rouget
b16b0b4a15 Execute callbacks in proper threads 2018-08-11 16:55:20 +08:00
Paul Rouget
927704b8a3 fix mGLLooperHandler null ref 2018-08-11 16:55:20 +08:00
Paul Rouget
f1a2862e65 Add asset to AAR 2018-08-11 16:55:19 +08:00
bors-servo
af439de432
Auto merge of #21384 - servo-wpt-sync:wpt_update_10-08-2018, r=jdm
Sync WPT with upstream (10-08-2018)

Automated downstream sync of changes from upstream as of 10-08-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/21384)
<!-- Reviewable:end -->
2018-08-11 00:15:17 -04:00
WPT Sync Bot
defee2aae0 Update web-platform-tests to revision b382ac7192087da0a7439902e20be76ab7587ee8 2018-08-10 23:07:02 -04:00
bors-servo
9c24c16d82
Auto merge of #20678 - gterzian:improve_follow_hyperlinks, r=jdm
Implement Window.open and related infrastructure

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

Implement https://html.spec.whatwg.org/multipage/window-object.html#window-open-steps and related infra...

---
<!-- 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 build-geckolib` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix  #20673 fix #13241 fix #20887 fix #20713 (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/20678)
<!-- Reviewable:end -->
2018-08-10 19:46:22 -04:00
Gregory Terzian
e784f5a9f7 Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00