Commit graph

33989 commits

Author SHA1 Message Date
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
Gregory Terzian
96f75465cf rudimentary handling of tabs 2018-08-11 01:13:11 +02:00
Gregory Terzian
fee5428316 make auxiliary browsing-context script-closeable 2018-08-11 01:13:11 +02:00
Gregory Terzian
a0082c57c8 iframe: use value of name attr to set nested bc name 2018-08-11 01:13:11 +02:00
Gregory Terzian
e27ba16c3f share event-loops based on eTLD+1 2018-08-11 01:13:11 +02:00
Gregory Terzian
21bf5a3a4b implement opener, disowning 2018-08-11 01:13:11 +02:00
Gregory Terzian
f408b798c4 implement window.open, create auxiliary browsing context 2018-08-11 01:12:55 +02:00
bors-servo
3e96a322ae
Auto merge of #21380 - jdm:wpt_update_10-08-2018, r=jdm
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/21380)
<!-- Reviewable:end -->
2018-08-10 15:16:31 -04:00
Josh Matthews
b16a6268d9 Fix servodriver server configuration. 2018-08-10 14:45:47 -04:00
WPT Sync Bot
8423a90871 Update web-platform-tests to revision 848ceffad26e92d47ffe790ed8b650906b2c2343 2018-08-10 14:45:43 -04:00
bors-servo
c362ade094
Auto merge of #21376 - JoshBrudnak:master, r=jdm
Add rustfmt command to devenv commands

Added the rustfmt command to devenv commands which runs cargo fmt on a specified directory.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they only included a simple command that was added to the devenv_commands python script.

<!-- 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/21376)
<!-- Reviewable:end -->
2018-08-10 14:03:01 -04:00
josh
936ec085fd Remove trailing whitespace in devenv_commands 2018-08-10 13:47:01 -04:00
Josh Brudnak
230f025bc7
Merge branch 'master' into master 2018-08-10 13:11:23 -04:00
bors-servo
e40feab22f
Auto merge of #21366 - jdm:android-ndk-stack, r=paul
Add ndk-stack mach command

This makes it much easier to get usable symbols from logcat output that includes a crash.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20442
- [x] These changes do not require tests because it's a mach command

<!-- 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/21366)
<!-- Reviewable:end -->
2018-08-10 09:39:44 -04:00
JoshBrudnak
fc0a86c038 Add rustfmt command to devenv commands 2018-08-09 17:26:04 -04:00
bors-servo
0b35a67260
Auto merge of #21367 - servo:rustup, r=mbrubeck
Work around a rustc regression in macro name resolution

https://github.com/rust-lang/rust/issues/53205

<!-- 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/21367)
<!-- Reviewable:end -->
2018-08-09 13:34:45 -04:00
bors-servo
ac7f895204
Auto merge of #21364 - jdm:android-stop, r=paulrouget
Avoid crash when pressing stop button on Android

This doesn't actually implement stopping; it just works around the crash that happens when you press it.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21328
- [x] These changes do not require tests because we have no tests for the android UI

<!-- 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/21364)
<!-- Reviewable:end -->
2018-08-09 12:40:57 -04:00
Bastien Orivel
71fd4477d6 Dedupe num-traits 2018-08-09 18:26:28 +02:00
Josh Matthews
5b36f82c74 jni: Add stop API stub. 2018-08-09 10:21:20 -04:00
bors-servo
78fabb9110
Auto merge of #21361 - paulrouget:fasterBuild, r=MortimerGoro
Compile less

Fix #21332

<!-- 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/21361)
<!-- Reviewable:end -->
2018-08-09 10:06:55 -04:00
Paul Rouget
b79f80d9e5 Compile less 2018-08-09 17:54:35 +08:00