Commit graph

321 commits

Author SHA1 Message Date
Paul Rouget
77f38a0789 Save initial URI for all loadUri methods 2018-09-10 10:45:10 +02:00
Alan Jeffrey
f132e2e1ea Fix loader for aarch64 android build 2018-09-04 11:54:57 -05:00
bors-servo
e2e7796a0c
Auto merge of #21439 - carloabelli:issue21401, r=paulrouget
Fix Android back button behavior

Pressing the back button should call mServoView.goBack if possible.

<!-- 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 #21401  (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/21439)
<!-- Reviewable:end -->
2018-08-21 01:49:23 -04:00
Alan Jeffrey
74c1e00d81 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
Carlo Abelli
9b4017e1e0 Fix Android back button behavior
Pressing the back button should call mServoView.goBack if possible.
2018-08-17 09:38:05 -04: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
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
Paul Rouget
ae407e9a65 Behave properly when app is suspended 2018-08-14 16:52:36 +02:00
Paul Rouget
8106e5e9bf Make it possible to use a custom AAR to build servoapp 2018-08-14 10:35:15 +02: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
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
Paul Rouget
7a14dbf5a1 Add more methods to ServoSurface and relabel the inner surface class name 2018-08-08 11:10:52 +02:00
Paul Rouget
c36b16546e Introduce ServoSurface 2018-08-01 16:35:22 +08:00
Paul Rouget
e8af185a3d Build a AAR archive alongside the APK 2018-08-01 16:15:47 +08:00
Paul Rouget
6a31864126 Update Gradle and SDK 2018-07-31 22:39:45 +08:00
Paul Rouget
76d394eca8 new android port: update fakeld 2018-07-31 22:39:45 +08:00
Paul Rouget
be6b5f9aad new android port: minimal Android app that relies on libsimpleservo 2018-07-31 22:39:44 +08:00
Josh Matthews
d6b8aaf576 Support i686-linux-android target. 2018-05-23 11:06:19 -04:00
Simon Sapin
ffcf92d843 Remove nsstring bindings 2018-05-18 12:19:04 -05:00
Paul Rouget
9fb5795f37 delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
Bobby Holley
156ef81878
nsstring: Make ns{,C}String Sync/Send.
Bug: 1454021
Reviewed-by: mystor
MozReview-Commit-ID: DeBOgxxTvBR
2018-04-14 21:15:43 +02:00
Bobby Holley
628aa6a630 Add an into_repr on the nsstring bindings.
I didn't end up using this, but mystor reviewed it and it's useful.

MozReview-Commit-ID: 5LNzCEGpbLy
2018-04-06 09:03:22 -07:00
L. David Baron
5a42c6cf72
Bug 1448138 - Rename string DataFlags::SHARED to REFCOUNTED to make it clearer to those reading the code. (Servo changes.) r=erahm 2018-03-23 13:40:51 -07:00
Bastien Orivel
15b98e5dc3 Remove our dependency on the gcc crate 2018-03-21 15:17:39 +01:00
UK992
13ce5c239c Add icon to servo.exe 2018-03-17 02:11:29 +01:00
Paul Rouget
019fdaa1bd remove bhtml 2018-02-11 08:02:39 +01:00
janczer
661d234c3c Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
Simon Sapin
cace4fc6eb Remove #![deny(warnings)]
We already have https://github.com/servo/servo/pull/19612
to deny warnings at the time of landing into master.
But it’s not useful to break the build when later compiler
with a more recent Rust version that has introduced new warnings:

https://bugzilla.mozilla.org/show_bug.cgi?id=1434619
2018-01-31 17:00:27 +01:00
Bastien Orivel
29b4eec141 Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
Nika Layzell
2d3331fbd4 Move nsstring from gecko into servo/support/gecko/nsstring
This is the servo side of bug 1403213.

MozReview-Commit-ID: HFdQiuMnGhJ
2017-10-23 14:22:42 -04:00
Gecko Backout
662b2e7397 Backed out changeset 196206f129ef (bug 1403213) for referencing non-existing xpcom/rust/gtest/moz.build in xpcom/moz.build. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/18941
2017-10-20 19:33:29 +00:00
Nika Layzell
ec5cf5ceaf Move nsstring from gecko into servo/support/gecko/nsstring
This is the servo side of bug 1403213.

MozReview-Commit-ID: HFdQiuMnGhJ
2017-10-20 10:52:57 -04:00
Simon Sapin
a931d3b840 Use servo-deps AWS S3 bucket instead of rust-lang-ci for OpenSSL 2017-10-19 00:47:19 +02:00
Imanol Fernandez
e93130026a Implement Gradle flavors 2017-09-30 14:31:22 +02:00
John Lin
fbdb2093dd Fix Android build errors on macOS.
- Add sysroot path to environment variable 'CPPFLAGS':
  When checking C preprocessor, the 'configure' script of libbacktrace uses 'CPPFLAGS' rather than 'CFLAGS' and doesn't get the correct search path. (#15758)
  This check passes on Linux because the '/lib/cpp' fallback is available there.

- Introduce CMake toolchain file for Android cross compiling:
  CMake needs several variables [1] to cross compile for Android.
  It works (accidentally) on Linux because cmake-rs sets compilers correctly and binutils for Linux & Android are pretty much the same.

[1] https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk
2017-08-10 12:12:54 +08:00
Imanol Fernandez
48fb715941 Support for Android arm64 compilations 2017-07-05 15:59:50 +02:00
Jeremy Lempereur
a02c074ba9 Changed the openssl url and bumped the version. Refactored the openssl.sh script to avoid version duplication in the code. 2017-06-12 07:55:03 +02:00
Josh Matthews
2ee5a80498 Use real URL. 2017-05-25 13:18:58 -04:00
Josh Matthews
74362ae435 Update openssl source download location. 2017-05-25 13:15:51 -04:00
Imanol Fernandez
7a2a90959e Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
Simon Sapin
381f6967c9 Remove usage of unstable libc crate. 2017-02-20 00:00:50 +01:00
Fabrice Desré
9f631b94ec Cleanup of the Android specific code. 2017-02-16 21:17:39 -08:00
Zhuowei Zhang
f1019569bf android: extract resources to external storage on first launch 2017-02-05 19:12:42 -08:00
Matt Brubeck
727a1fe3de Update clap, clippy, deflate, flate2, open, unicode-segmentation, owning_ref, parking_lot, phf, quote, walkdir 2017-02-02 11:18:33 -08:00
UK992
7048a2f81d Package: Create ZIP on Windows 2017-01-06 03:30:29 +01:00
UK992
736559887b Package: Move Android packaging to target dir
Fixes #13800
2016-12-29 19:19:05 +01:00