aboutsummaryrefslogtreecommitdiffstats
path: root/support/android
Commit message (Collapse)AuthorAgeFilesLines
* Move android port code to servoshell (#32533)Jonathan Schwender2024-06-192-3/+3
| | | | Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Android: fix url resolution (#32422)Gae242024-06-102-23/+15
| | | | | | | | | | | | | | | | * fix localhost Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * android: parse search bar field in rust Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * Update comment to reflect new function behavior --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Android: load url from Intent, plus fixed some warnings (#32160)Gae242024-04-299-58/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update gitignore folder with android build files * address some warnings Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * fix servo not loading url from Intent Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * format Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * InitOptions, added url field to avoid override homepage url Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * actually there is a gitignore file in the android folder Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * Restore buildToolsVersion property Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* android: add support for x86_64 images (#31725)Mukilan Thiyagarajan2024-03-184-4/+33
| | | Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Preliminary Android build support (#31086)Mukilan Thiyagarajan2024-01-2228-872/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Android build * Fixes * More fixes - Still failing in the linking step * More work on getting linking working Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: use mozjs with ndk r25c. loads servo.org more android build fixes. * fix ./mach run for android and make it follow logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add experimental logic for compositor pause/resume Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * pass DPI from android to simpleservo Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * switch to ANDROID_SDK_ROOT and ANDROID_NDK_ROOT vars Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade gradle to 4.10.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 5.1.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 8 and agp 8 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * make compositing work again with external present Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: improve mach support for non-NixOS and CI Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix sampler compilation bug introduced in #30490 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android build to main workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * gradle: set MinSdk = targetSdk = 30 NDK requires we compile against the minSdk API level which is 30 in our case. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add instructions for android in README.md Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: move servosurface to servoview Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: uncomment the mediasession callbacks on MainActivity Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: fix crash on MainAtivity.onDestroy Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: drop VR, arm 5 and unused code This commit drops: * support for google, oculusvr * support for arm5 architecture and also removes * fakeld scripts * unused java code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup shell.nix Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: add FIXMEs for gstreamer code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: remove commented code and debug logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup ServoView.java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * mach: comment call to download gstreamer deps for android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable bluetooth for jniapi as blurdroid is broken Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! README.md * fixup! remove change in Cargo.toml * fixup! move shell variables together * fixup! cleanup jniapi/Cargo.toml comments * delete commented gstreamer related android code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * remove unused config variable in servbuild Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: more cleanup Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * force no_static_freetype only for android * use actions to manage sdk, ndk and java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * rename embedder event names to be more clear. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * link to startup crash issue Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix lint issues Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade env_logger to 0.10 with duplicate exception libservo and android_logger can use env_logger 0.10 but quickcheck is still stuck on 0.8 and has not seen any activity in the last 2 years. This commit adds a duplicate exception until the quickcheck dependency can be upgraded (or replaced) Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: fix comments Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable jemalloc on android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! replace linux with android in cfg --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Switch to rustls and webpki-roots (#30025)Martin Robinson2023-08-082-260/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change replaces OpenSSL with rustls and also the manually curated CA certs file with webpki-roots (effectively the same thing, but as a crate). Generally speaking the design of the network stack is the same. Changes: - Code around certificate overrides needed to be refactored to work with rustls so the various thread-safe list of certificates is refactored into `CertificateErrorOverrideManager` - hyper-rustls takes care of setting ALPN protocols for HTTP requests, so for WebSockets this is moved to the WebSocket code. - The safe set of cypher suites is chosen, which seem to correspond to the "Modern" configuration from [1]. This can be adjusted later. - Instead of passing a string of PEM CA certificates around, an enum is used that includes parsed Certificates (or the default which reads them from webpki-roots). - Code for starting up an SSL server for testing is cleaned up a little, due to the fact that the certificates need to be overriden explicitly now. This is due to the fact that the `webpki` crate is more stringent with self-signed certificates than SSL (CA certificates cannot used as end-entity certificates). [2] 1. https://wiki.mozilla.org/Security/Server_Side_TLS 2. https://github.com/briansmith/webpki/issues/114 Fixes #7888. Fixes #13749. Fixes #26835. Fixes #29291.
* Use `#!/usr/bin/env bash` in shell scripts for NixOS compatibilityyvt2021-06-141-1/+1
| | | | Signed-off-by: yvt <i@yvt.jp>
* Use new S3 bucketsSimon Sapin2020-11-111-1/+1
| | | | CC https://github.com/servo/project/issues/25
* Update servo.png to new logo assetMustafa Al-Qinneh2020-02-241-0/+0
|
* Delete servo-1024.pngMustafa Al-Qinneh2020-02-241-0/+0
|
* Delete servo-1000.pngMustafa Al-Qinneh2020-02-131-0/+0
|
* Add files via uploadMustafa Al-Qinneh2020-02-131-0/+0
| | | * Added servo-1024.png (replacing servo.png @ 1024px)
* Add Servo logoMustafa Al-Qinneh2020-02-131-0/+0
| | | * Added servo-1000.png (replacing servo.png @ 1024px)
* extended android jni with onMediaSessionSetPositionStateShinichi Morimoto2019-12-034-1/+24
|
* Remove stop button for now and show play/pause in compact modeFernando Jiménez Moreno2019-11-201-12/+4
|
* Update media session metadata and show content text with artist and albumFernando Jiménez Moreno2019-11-202-8/+49
|
* Do not play notification sound when creating media session on AndroidFernando Jiménez Moreno2019-11-201-1/+1
|
* Fix play actionFernando Jiménez Moreno2019-11-202-18/+27
|
* Switch play and pause buttons according to playback stateFernando Jiménez Moreno2019-11-203-14/+32
|
* Remove prev and next track action buttons for nowFernando Jiménez Moreno2019-11-201-22/+2
|
* Send MediaSessionAction from AndroidFernando Jiménez Moreno2019-11-205-3/+33
|
* Move media session related code out of MainActivityFernando Jiménez Moreno2019-11-202-117/+151
|
* MediaSession show media controls on AndroidFernando Jiménez Moreno2019-11-207-8/+132
|
* MediaSession Android bitsFernando Jiménez Moreno2019-11-203-0/+33
|
* Make https the default protocol for address bar on Android, too.Jan Andre Ikenmeyer2019-11-101-0/+4
|
* UWP: better mouse interaction supportPaul Rouget2019-10-293-3/+3
|
* Allow setting GST_DEBUG on Android through machFernando Jiménez Moreno2019-10-143-2/+7
|
* Implement window.alert on AndroidPaul Rouget2019-08-271-0/+5
|
* Expose javascript:window.alert() to libsimpleservoPaul Rouget2019-07-193-0/+12
|
* Add support for market:// urlsakshitkrnagpal2019-06-282-0/+20
|
* Use llvm toolchain for entirety of android build.Josh Matthews2019-05-246-17/+16
|
* Use correct android platform version when linking.Josh Matthews2019-05-101-1/+1
|
* Upgrade NDK to v15c.Josh Matthews2019-05-014-12/+10
|
* Add transparent padding around ServoSurfacePaul Rouget2019-03-254-12/+55
|
* Auto merge of #22773 - paulrouget:immersive, r=jdmbors-servo2019-02-072-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | Support for ExternalVR implementation This PR adds the hook necessary for the ExternalVR rust-webvr driver. Waiting on rust-webvr 0.9.3 to be published before landing. <!-- 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/22773) <!-- Reviewable:end -->
| * Support for ExternalVR implementationPaul Rouget2019-02-072-0/+7
| |
* | Remove readfile callbackPaul Rouget2019-02-063-22/+0
|/
* Implement ServoSurface::onSurfaceChangedPaul Rouget2019-01-302-3/+24
|
* Stop catching Android click eventsManish Goregaokar2019-01-161-1/+0
| | | | | | Servo already can simulate clicks from multiple tap events fixes https://github.com/servo/servo/issues/22702
* Remove titlebarManish Goregaokar2018-11-291-0/+1
| | | | fixes https://github.com/servo/servo/issues/22318
* Add daydream and cardboard intent filtersManish Goregaokar2018-11-291-0/+19
|
* Automatically enable webvr for Android VR buildsManish Goregaokar2018-11-281-1/+1
|
* Move Android and ML build artefacts to their own subdirectoryAnthony Ramine2018-11-283-4/+4
| | | | Works around #20380.
* Auto merge of #22239 - paulrouget:shutdown2, r=jdmbors-servo2018-11-233-21/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shutdown synchronously --- <!-- 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/22239) <!-- Reviewable:end -->
| * shutdown synchronouslyPaul Rouget2018-11-223-21/+41
| |
* | Handle more config changesPaul Rouget2018-11-221-1/+1
|/
* Add support for touch events on AndroidManish Goregaokar2018-11-203-17/+44
| | | | | | | | | | Currently on Android we treat all touch events as scroll events. Servo is already capable of distinguishing between scroll-touches and regular touch events (see `on_touch_move` in `components/compositor/touch.rs`), so we should just be passing touch events through. Servo however does not natively support fling gestures, so we continue to use `GestureDetector` for that.
* Update MPL license to https (part 1)Jan Andre Ikenmeyer2018-11-1911-11/+11
|
* Auto merge of #22178 - paulrouget:fixScroll, r=jdmbors-servo2018-11-171-3/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly cancel looping before triggering another drawing loop --- <!-- 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 #21991 (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/22178) <!-- Reviewable:end -->
| * Properly cancel looping before triggering another drawing loopPaul Rouget2018-11-121-3/+11
| |