Commit graph

1449 commits

Author SHA1 Message Date
Fernando Jiménez Moreno
a8c8392284 Amend name of Windows nightly installer 2018-09-13 09:47:22 +02:00
bors-servo
910cc23a6e
Auto merge of #21325 - gterzian:crossbeam_integration, r=SimonSapin,jdm
Replace mpsc with crossbeam-channel

Follow up on https://github.com/servo/servo/pull/19515

---

Selecting over multiple channels in `std::sync::mpsc` is not stable and likely never will be:

https://github.com/rust-lang/rust/issues/27800#issuecomment-260136777
> It seems the only thing keeping `mpsc_select` around is Servo.

crossbeam-channel is designed specifically to replace `std::sync::mpsc` and fix many of its shortcomings:
https://github.com/stjepang/rfcs-crossbeam/blob/channel/text/2017-11-09-channel.md

This is to be landed together with https://github.com/servo/ipc-channel/pull/183.

<!-- 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/21325)
<!-- Reviewable:end -->
2018-09-12 13:33:45 -04:00
bors-servo
4c4c2515a2
Auto merge of #21545 - ferjm:windows.nightly.gst.fix, r=Manishearth
Fix Windows nightly build

<!-- 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/21545)
<!-- Reviewable:end -->
2018-09-12 03:42:19 -04:00
Fernando Jiménez Moreno
3c5c01a109 Move gstreamer msi to msi folder after download 2018-09-12 07:18:52 +02:00
Gregory Terzian
b977b4994c add servo_channel crate 2018-09-12 11:25:45 +08:00
Manish Goregaokar
2cc4e1dcdc mach package should work on android 2018-09-11 22:14:31 +05:30
Manish Goregaokar
5d6701179c Bypass gstreamer check for test-wpt-android 2018-09-11 21:26:58 +05:30
Fernando Jiménez Moreno
8416061341 Make tidy happy 2018-09-11 17:51:46 +02:00
Fernando Jiménez Moreno
a56dc489d5 Package generated nspr4.dll 2018-09-11 17:44:10 +02:00
Fernando Jiménez Moreno
c3ed1d11c0 Create bundle with GStreamer and Servo installers 2018-09-11 17:43:31 +02:00
Manish Goregaokar
0e252a179f ./mach package should respect target argument 2018-09-11 19:41:44 +05:30
Manish Goregaokar
4d7d63ea95 Hande systems without pkg-config 2018-09-11 19:34:38 +05:30
Manish Goregaokar
a380c5fd6e Don't try to load gstreamer on non-x86 2018-09-11 19:34:38 +05:30
Manish Goregaokar
d3ece2bc49 Review fixes 2018-09-11 19:34:38 +05:30
Manish Goregaokar
f270f3798d Comment on ./mach bootstrap 2018-09-11 19:34:38 +05:30
Manish Goregaokar
fc322182c4 Don't even try installing gstreamer on trusty 2018-09-11 19:34:38 +05:30
Manish Goregaokar
a2344b326f Additional fixes for compiling on trusty 2018-09-11 19:34:38 +05:30
Manish Goregaokar
6de148a7e5 Have bootstrap script install trusty g++/clang deps 2018-09-11 19:34:38 +05:30
Manish Goregaokar
e72e08ea9c Allow bootstrap to be run before anything else is installed 2018-09-11 19:34:38 +05:30
Manish Goregaokar
6b75aa47cb Properly handle virtualenv 2018-09-11 19:34:38 +05:30
Manish Goregaokar
fcc06b5a16 Better error reporting for missing gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
36797801e9 Allow WPT to be run with local gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
eba68a1a49 Add mach bootstrap-gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
1913ac706c Make ./mach bootstrap into a full-fledged linux dependency installer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
11209c9fee Add gstreamer setup script; use 2018-09-11 19:34:38 +05:30
Josh Matthews
a19cedfddc
Make ndk-stack mach command support x86 builds. 2018-09-05 12:52:50 -04:00
Anthony Ramine
4852f7d616 Move Khronos WebGL tests to /_webgl/ 2018-08-25 03:43:32 +02:00
Alan Jeffrey
74c1e00d81 Upgraded to SM 60 2018-08-20 18:22:29 -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
Manish Goregaokar
981bbff346 Append to LD_LIBRARY_PATH 2018-08-13 17:43:11 -07: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
JoshBrudnak
fc0a86c038 Add rustfmt command to devenv commands 2018-08-09 17:26:04 -04:00
Josh Matthews
ef66205436 mach: Add ndk-stack command for android crash logs. 2018-08-08 15:34:40 -04:00
Paul Rouget
cef71b47db Upload AAR alongside the APK 2018-08-03 09:42:14 +02:00
Josh Matthews
6ad63b57e7
Fix python indentation. 2018-08-01 23:26:15 -04:00
Josh Matthews
458879b2cd
mach: Avoid python error when there's no cargo cache. 2018-08-01 20:52:17 -04:00
Paul Rouget
e8af185a3d Build a AAR archive alongside the APK 2018-08-01 16:15:47 +08:00
bors-servo
95b54ca8f3
Auto merge of #20912 - paulrouget:androidv2, r=jdm,mortimergoro,simonsapin
Revisit how the Android port works.

Fix #20855
Fix #18625
Fix #21147

Before polishing and making sure everything works fine (like the VR code, the android-x86 version, the non-android version of the lib, …), I'd like to get some early feedback on the approach.

I recommend reviewing commit by commit.

To test, just follow the regular steps:

```
    ./mach build -d --android
    ./mach package --dev --android builds servo.apk
    ./mach install --dev --android && ./mach run --android
```

---
<!-- 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/20912)
<!-- Reviewable:end -->
2018-07-31 13:07:33 -04:00
Paul Rouget
6a31864126 Update Gradle and SDK 2018-07-31 22:39:45 +08:00
Paul Rouget
bef2fe83cd new android port: fix android build and tests 2018-07-31 22:39:45 +08:00
Fernando Jiménez Moreno
21cb160be3 test-tidy fixes 2018-07-30 14:21:48 +02:00
bors-servo
00c2489af0
Auto merge of #21104 - wayling:master, r=jdm
"./mach env" cause unclear message.

We did't use "LD_LIBRARY_PATH" and no need display this.

<!-- Please describe your changes on the following line: -->
Remove the print message.

---
<!-- 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/21104)
<!-- Reviewable:end -->
2018-07-28 10:07:27 -04:00
wayling
2ad37bda2c "./mach env" cause unclear message
Use the "get" instead to avoid the error.
2018-07-28 21:59:06 +08:00
ergunsh
ae20469636 merge run_wpt.py into run.py 2018-07-22 22:59:59 +03:00
Simon Sapin
45b710b7f0 Add ./mach test-wpt-android 2018-07-20 17:11:02 +02:00
Simon Sapin
5d416e6600 Refactor run_in_headless_android_emulator.py out of mach test-androi-startup
… and make it more careful about not leaving zombie processes behind.
2018-07-18 18:23:50 +02:00
Simon Sapin
6ef56dac2b Android: run ./mach package implicitly after ./mach build by default
The result of `./mach build` for Android is a `.so` file
that cannot be used on its own, so running build without package
is presumably never useful.
2018-07-16 17:08:28 +02:00
Simon Sapin
8dc2457931 Remove unused --update parameter to ./mach bootstrap-android 2018-07-12 16:01:28 +02:00
Simon Sapin
c0d1b8e808 Android: increase emulator disk size, for debug builds
Avoid INSTALL_FAILED_INSUFFICIENT_STORAGE on install.
2018-07-02 19:00:48 +02:00