Commit graph

1292 commits

Author SHA1 Message Date
Alan Jeffrey
08270f07fc Get the magicleap build to work in CI 2018-11-09 16:24:09 -06:00
Simon Sapin
9f977c5287 Remove useless use crate_name; imports.
A `crate_name::foo` path always works in 2018
2018-11-08 09:29:52 +01:00
Simon Sapin
50c840fe42 Revert "Disable unused-extern-crates warnings for now"
This reverts commit 32462cd909a7c28d0d86664291bdcb0043c0bb45.
2018-11-08 09:28:00 +01:00
Pyfisch
694991ad7e Hint ./mach fmt 2018-11-07 20:32:22 +01:00
bors-servo
9c7efd9151
Auto merge of #22127 - Darkspirit:https_intermittent_tracker, r=jdm
Connect to intermittent trackers via https

This is the last part of #22088.
Each https url returns the same with curl as its previous http variant, so it should be a safe change.
And https has already been used at this place in the past: 38474f8671

<!-- 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/22127)
<!-- Reviewable:end -->
2018-11-07 10:13:36 -05:00
Pyfisch
1855c88d61 Fix test-tidy self test
Install rustup on first Travis job.
Only use rustfmt::skip as an outer attribute.
2018-11-07 09:37:55 +01:00
Pyfisch
4a947dd719 Remove import order check from test-tidy
Fix leaking file descriptor.
2018-11-06 22:30:31 +01:00
Pyfisch
bf47f90da6 Run rustfmt on test-tidy
Add ./mach fmt command.
Mach installs rustfmt if needed.
2018-11-06 22:28:29 +01:00
bors-servo
6878dbbbea
Auto merge of #22086 - servo:2018-without-stylo, r=SimonSapin
Switch some crates to the 2018 edition

This is the subset of https://github.com/servo/servo/pull/22083 that doesn’t affect Gecko at all, so it isn’t blocked.

<!-- 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/22086)
<!-- Reviewable:end -->
2018-11-06 13:38:52 -05:00
Jan Andre Ikenmeyer
d1b5ece9aa
Connect to intermittent trackers via https 2018-11-06 17:02:41 +01:00
Simon Sapin
99cd7ba3d4 Disable unused-extern-crates warnings for now
There are *many* new ones in rust 2018!
2018-11-06 16:12:04 +01:00
Simon Sapin
76e59a46d3 Sort use statements 2018-11-06 15:26:02 +01:00
Jan Andre Ikenmeyer
357f23fae1
Consistent servo-deps download URLs 2018-11-06 12:20:10 +01:00
Fernando Jiménez Moreno
fb28cc7fb5 Update GStreamer binaries for Android. Include required codecs 2018-11-05 11:39:20 +01:00
Josh Matthews
83fda753a8 Add a build switch to disable the native bluetooth backend. 2018-10-30 19:26:42 -04:00
Alan Jeffrey
dab8f4a97f Support building for Magic Leap. 2018-10-29 08:49:41 -05:00
bors-servo
9ea4ca448a
Auto merge of #21913 - ferjm:rm.windows.nightly.zip, r=jdm
Clean some temporary files from Windows packaging process

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- 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/21913)
<!-- Reviewable:end -->
2018-10-16 03:38:01 -04:00
Fernando Jiménez Moreno
589b27817f Clean some temporary files from Windows packaging process 2018-10-16 07:50:31 +02:00
Josh Matthews
34eb1d0499
Don't strip final character of directory name for maven package. 2018-10-15 12:16:08 -04:00
Simon Sapin
f0d8e8af49 Reduce log spam when running sdkmanager 2018-10-11 19:11:32 +02:00
Simon Sapin
6c82c471c5 Add --accept-all-licences to ./mach bootstrap-android 2018-10-11 16:08:41 +02:00
Simon Sapin
89e1878bd6 Add --build and --emulator-x86 to ./mach bootstrap-android
This allows not downloading dependencies that are not needed for a praticular task.
2018-10-11 15:24:57 +02:00
Simon Sapin
e49fc3994c Reduce log spam for large downloads made from mach
Printing the same line again is a no-op on an actual terminal, but Taskcluster’s log viewer shows each such line separately.
2018-10-11 00:07:36 +02:00
Josh Matthews
991f1fb7fd Support uploading maven artifacts. 2018-10-08 07:49:33 -04:00
Simon Sapin
d2ee7663f3 Work around removal of remote files used by the build system
f5a8327415
2018-10-03 16:38:54 +02:00
Paul Rouget
54d7788698 Create a Maven repository 2018-10-02 18:16:44 +02:00
bors-servo
57053e03bb
Auto merge of #21825 - jdm:backtrace-helpers, r=Manishearth
Optional backtraces for JS errors and WebGL errors

This adds two new build-time features to enable useful debugging tools when investigating why JS and WebGL content isn't working. They're optional because they're quite heavyweight.

---
- [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 they're optional developer features.

<!-- 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/21825)
<!-- Reviewable:end -->
2018-10-02 06:57:38 -04:00
Paul Rouget
6d543dec28 com.mozilla to org.mozilla 2018-10-02 08:09:35 +02:00
Josh Matthews
06bca43aee script: Optionally store backtraces when throwing DOM exceptions. 2018-10-01 16:04:56 +02:00
bors-servo
0964d055cd
Auto merge of #21809 - servo:features, r=SimonSapin
Only build ports/servo by default (except Android), add `./mach build --libsimpleservo`

Fixes #21314

<!-- 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/21809)
<!-- Reviewable:end -->
2018-09-27 13:35:09 -04:00
Simon Sapin
deeb79669f Only add --manifest-path if not already present 2018-09-26 08:18:58 +02:00
Simon Sapin
39079cff8b Only build ports/servo by default (except Android), add ./mach build --libsimpleservo
Fixes #21314
2018-09-25 19:21:59 +02:00
Josh Matthews
4fe41c69d3 Add mach command to setup remote debugging on Android devices. 2018-09-25 12:14:18 -04:00
bors-servo
6e844f2278
Auto merge of #21730 - ferjm:android.gstreamer, r=paulrouget
Enable WebAudio on Android

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

<!-- 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/21730)
<!-- Reviewable:end -->
2018-09-25 09:45:32 -04:00
Fernando Jiménez Moreno
a4789defc4 Use simpler way to build gst lib name 2018-09-24 15:14:47 +02:00
Fernando Jiménez Moreno
b27881523c Enable GStreamer support on Android 2018-09-24 15:14:46 +02:00
Josh Matthews
fcec1af22d
Add clang system header include path when building android. 2018-09-21 14:16:53 -04:00
bors-servo
f313847b6b
Auto merge of #21767 - jdm:androidlog, r=paulrouget
Enable use of RUST_LOG with mach run --android.

This allows running `RUST_LOG=layout_thread ./mach run --android` and seeing the appropriate logging output appear in `./adb logcat`.

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

<!-- 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/21767)
<!-- Reviewable:end -->
2018-09-21 06:18:58 -04:00
Josh Matthews
f7516f57a7 Enable use of RUST_LOG with mach run --android. 2018-09-20 14:14:41 -04:00
Josh Matthews
eb9e408396
Do not suppress errors from packaging android build. 2018-09-20 14:12:37 -04:00
Josh Matthews
3d89713a7b
Upgrade setuptools to a more recent version. 2018-09-19 12:26:01 -04:00
Josh Matthews
289e34cbc0
Try more specific pinning. 2018-09-19 11:59:23 -04:00
Josh Matthews
6c868f53ab
Pin pycparser to known working version 2018-09-19 10:31:25 -04:00
Manish Goregaokar
df5c31bada Return appropriate code from bootstrap_gstreamer 2018-09-18 18:14:37 +05:30
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