Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include iOS tests #49

Merged
merged 13 commits into from Sep 9, 2022
Merged

Include iOS tests #49

merged 13 commits into from Sep 9, 2022

Conversation

amodm
Copy link
Owner

@amodm amodm commented Sep 9, 2022

No description provided.

@amodm amodm merged commit f6e0273 into main Sep 9, 2022
@amodm amodm deleted the test-ios branch September 9, 2022 12:43
yonip23 added a commit to codota/webbrowser-rs that referenced this pull request Jul 11, 2023
* Added initial support for Haiku

* add android support

* Fix gitignore

* Release 0.5.3. Fixes amodm#23

* Fix README

* Release 0.5.4 with updated README

* featuer/add support for wasm

* change approach

* fix issues

* Try out GitHub Actions

* Update build status badge

* Fix build badge logo

* Fix fmt

* Remove ubuntu from test env

* Pull windows code out separately

* Fix fmt error

* Fix windows build

* Modify CI workflow

* Separate android

* CI for Android

* Move windows tests into windows module

* Separate macos

* Move unix systems out

* Remove travis ci

* Fail build only on stable rust

* Include WASM build step

* Fix compilation failure on unix

* Fix android build failure

* Ignore IE test case for windows for now

* Have separate job definitions for unix, windows and macos

* Release 0.5.5, with support for WASM

* Better name for CI steps

* Refactor tests as integration tests

* Fix tests for windows

* Fix macos test leakage into other platforms

* Do graceful shutdown of test server

* Separate workflows for different platforms

* Move build status to next line

* Use JNI to start the activity

* Allow a range of ndk-glue versions

* test for android

* remove unnecessary import

* fix cargo fmt checks

* Prevent caching of CI badge

* set UTF-8 encoding when running tests on macos

* set TERM to xterm when running tests on macos

* disable utf-8 url test for macos

* Include note for macos tests in platform support documentation

* ignore platform specific branches for CI builds

* use android emulator for android tests

* include i686-linux-android target for android builds

* use actions-rs/install for cargo-apk

* delete unrelevant open command for unix

* use specific version of cargo-apk as we are using tool-cache

* Use actions-rs/cache instead of cargo-apk-cache

* fix caching step

* [skip ci] better way to represent platform support

* [skip ci] more README fixes

* Breaking change: modify publicly exposed signature to bring consistency.
Fixes amodm#42

* restrict rust stable/beta/nightly build combo to only Linux for now. Windows still retains beta because of native lib bindings

* Fix wasm build

* put in tests for wasm

* fix wasm actions yaml

* fix wasm actions yaml: specify firefox version as a string

* allow wasm tests to be run on linux

* fix headless browser script for wasm tests

* fix linter error for wasm test

* [skip ci] update status of platforms

* [skip ci] update docs link

* Bring consistent behaviour on Unix. Non-terminal browsers are guaranteed to not block the thread

* richer set of commands for unix

* fix handling of unicode characters in URL

* handle haiku explicitly under unix

* run tests for linux using curl

* Document consistent behaviour, and provide way of overriding suppression of output

* conditional compilation for debugging macos tests

* fix lint for macos

* [skip ci] macos tests for utf-8 URLs is now addressed, so no need for a mention

* update dependency versions

* github actions for release process

* Release notes for 0.6.0

* [skip ci] specify token for crates publishing in a better way

* [skip ci] Fix release workflow name

* [skip ci] git ignore code-workspace files

* Move to latest actix version for testing

* fix tests

* fix wasm test

* add target_hint to BrowserOptions

* use builder pattern, fix default target & display impl

* fix linter error

* Clarify role of hints in BrowserOptions

* Add to CHANGELOG for v0.7.0

* Move version to 0.7.0

* Introduce BrowserOptions::is_available() to fix amodm#46

* clearer doc for BrowserOptions [skip ci]

* release v0.7.1 [skip ci]

* Rename default branch to main

* Fix anchor links in CHANGELOG [skip ci]

* Open url on iOS

* Edit compile error

* Remove unnecessary cfgs

* Fix typos & missing imports

* Include iOS tests (close amodm#49)

* fix test status badge in doc

* fix lint warning on nightly toolchain

* make sure multiple windows build jobs do not conflict with each other

* Run all matrix sequentially for Linux

* bump up version to 0.8.0 and update dependency versions

* update changelog for 0.8.0

* fix android tests

* Release 0.8.0

* android: Use ndk-context instead of ndk-glue to access JVM

This makes webbrowser-rs more compatible with different Android
application frameworks by not imposing that applications must use
ndk-glue.

This also bumps the `jni` dependency to 0.20 and uses the
`JObject::from_raw` API.

Fixes: amodm#51

* temporarily specify clippy msrv. remove this when releasing v1.0.0 and move to rust-version

* satisfy nightly clippy warnings

* Bump up crate version to 0.8.1

* update changelog for 0.8.1

* android: address failure on termux in absence of vm context

* check for termux before invoking android context

* Release v0.8.2

* fix license display on github [skip ci]

* Implement wsl compatibility

* force opening of browser on windows, instead of local file association

* fix lint for windows code

* on unix, detect default xdg browser and use that to bypass local file associations

* allow for selective builds during pushes

* tests: ensure wasm pkg dir #build-wasm

* tests: enable trace logging on all platforms

* fix wasm build #build-wasm #build-windows

* do not do the compilers job

* test for xdg open [skip-ci]

* tests: increase wait timeout on windows as github windows runner seems a bit slow #build-windows

* change internal signature to better handle url and local paths separately

* refactor TargetType

* move macos implementation to use CoreFoundation instead of open #build-macos

* define consistent behaviour to include opening web browser even for local files

* tests for local html file opening in browser

* fix wasm build #build-wasm

* fix wasm build (again) #build-wasm

* create the right url targettype for wasm #build-wasm

* fix linux and windows builds #build-linux #build-windows

* fix linux build #build-linux

* attempt #3 to fix linux build #build-linux

* update github action versions

* allow for optional hardened feature as a strict security precaution

* linux: move away from unmaintained actions-rs #build-linux

* no need to add rustfmt and clippy as they are now preinstalled on runner images

* linux: fix run build/test/fmt/clippy for each rust version #build-linux

* linux: make sure rustfmt and clippy are installed for non-stable toolchains #build-linux

* better implementation for is_http

* macos/windows: remove unmaintained actions-rs from build script #build-windows #build-macos

* wasm: remove unmaintained actions-rs from build process #build-wasm

* ios: remove unmaintained actions-rs from build process #build-ios

* android: remove unmaintained actions-rs from build process #build-android

* android: fix build #build-android

* android: fix build (try 2) #build-android

* android: fix android build after removal of actions-rs #build-android

* Remove unmaintained actions-rs from release build script [skip ci]

* force opening of browser on windows, instead of local file association

* fix lint for windows code

* on unix, detect default xdg browser and use that to bypass local file associations

* allow for selective builds during pushes

* tests: ensure wasm pkg dir #build-wasm

* tests: enable trace logging on all platforms

* fix wasm build #build-wasm #build-windows

* do not do the compilers job

* test for xdg open [skip-ci]

* tests: increase wait timeout on windows as github windows runner seems a bit slow #build-windows

* change internal signature to better handle url and local paths separately

* refactor TargetType

* move macos implementation to use CoreFoundation instead of open #build-macos

* define consistent behaviour to include opening web browser even for local files

* tests for local html file opening in browser

* fix wasm build #build-wasm

* fix wasm build (again) #build-wasm

* create the right url targettype for wasm #build-wasm

* fix linux and windows builds #build-linux #build-windows

* fix linux build #build-linux

* attempt #3 to fix linux build #build-linux

* update github action versions

* allow for optional hardened feature as a strict security precaution

* linux: move away from unmaintained actions-rs #build-linux

* no need to add rustfmt and clippy as they are now preinstalled on runner images

* linux: fix run build/test/fmt/clippy for each rust version #build-linux

* linux: make sure rustfmt and clippy are installed for non-stable toolchains #build-linux

* better implementation for is_http

* macos/windows: remove unmaintained actions-rs from build script #build-windows #build-macos

* wasm: remove unmaintained actions-rs from build process #build-wasm

* ios: remove unmaintained actions-rs from build process #build-ios

* android: remove unmaintained actions-rs from build process #build-android

* android: fix build #build-android

* android: fix build (try 2) #build-android

* android: fix android build after removal of actions-rs #build-android

* Remove unmaintained actions-rs from release build script [skip ci]

* wsl: make WSL implementation compliant with the Consistent Behaviour for files #build-linux

* wsl: allow for disabling of wsl file impl via disable-wsl feature #build-linux

* better documentation of library guarantees

* changelog: update for v0.8.3

* Release v0.8.3

* changelog: fix consistent behaviour link [skip ci]

* fix release process - include firefox test screenshot.png in .gitignore [skip ci]

* Add SECURITY.md [skip ci]

* windows: move away from ShellExecuteEx to AssocQueryStringW

* Release v0.8.4 [skip ci]

* changelog: add issue detail for the v0.8.4 release [skip ci]

* Upgrade windows-rs to 0.44

* Remove windows dependency

* android: uninstall previous version of test app before testing #build-android

* Release v0.8.5 [skip ci]

* Use correct call convention for AssocQueryStringW()

* tests: increase uri received check timeout to 90s given runner situation at github

* Release v0.8.6 [skip ci]

* changelog: reference the correct issues in v0.8.6 entry

* Bail from `try_xdg` if browser name is empty

* tests: ensure a delay before firefox can screenshot, so that we have a chance to execute the wasm url switch #build-wasm

* tests: satisfy fmt and clippy for test code

* Release v0.8.7 [skip ci]

* android: Upgrade `jni` to `0.21`

* tests/android: Use `adb reverse` to access host webserver, allow running on !macos

Instead of chaining a bunch of Unix commands to pry out the IP address
of a random adapter, that may not be available on every distro, use the
standard `adb reverse` command to forward a specific port from the
Android phone (or emulator) to the host, where the test-webserver is
running.  This makes the test-script host-independent (should in theory
run even on Windows now) and does not require the device at test (which
could be a regular Android phone if not having an emulator running) to
be connected to / reachable over the same network.

* android: Upgrade `jni` to `0.21`

* Release v0.8.8 [skip ci]

* fix scenario where windows browser command may not be quoted correctly #build-windows

* fix windows build #build-windows

* Provide support for flatpak. Fixes amodm#67. #build-linux

* gitignore: add .vscode

* Release v0.8.9 [skip ci]

* Bump 'dirs' dependency to 5.0

* Move to the smaller, cargo-team maintained `home` crate

* Release v0.8.10 [skip ci]

* keep gitpod patch

* format

---------

Co-authored-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Co-authored-by: yazgoo <yazgoo@gmail.com>
Co-authored-by: Amod Malviya <amod@rootnet.in>
Co-authored-by: hossein <hosseind2017@gmail.com>
Co-authored-by: VZout <viktor.zoutman@embark-studios.com>
Co-authored-by: Henrik Rydgård <hrydgard@gmail.com>
Co-authored-by: tokusumi <tksmtoms@gmail.com>
Co-authored-by: Azorlogh <bott.alix@gmail.com>
Co-authored-by: hakolao <okkohakola@gmail.com>
Co-authored-by: Robert Bragg <robert@sixbynine.org>
Co-authored-by: Nachtalb <na@nachtalb.io>
Co-authored-by: Marijn Suijten <marijn@traverseresearch.nl>
Co-authored-by: Jake Shadle <jake.shadle@embark-studios.com>
Co-authored-by: alula <6276139+alula@users.noreply.github.com>
Co-authored-by: Krishna Ravishankar <25255817+krsh732@users.noreply.github.com>
Co-authored-by: Aaron Hill <aa1ronham@gmail.com>
Co-authored-by: Utkarsh Gupta <utkarshgupta137@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant