Commit graph

405 commits

Author SHA1 Message Date
Gaurav Ujjwal
c2e577e905 Release v2.0.1 2022-11-29 07:35:03 +05:30
Weblate (bot)
2fc764d42a
Translations update from Hosted Weblate (#103)
* Translated using Weblate (German)
* Translated using Weblate (Portuguese (Brazil))
* Translated using Weblate (Korean)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: m_s_ <mezysinc@mailon.site>
Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
2022-11-29 07:02:47 +05:30
Gaurav Ujjwal
32c1e18823 Improve support for multi-homed SSH hosts 2022-11-29 00:21:24 +05:30
Gaurav Ujjwal
d21e074fe7 Fix incorrect use of pointer-id in SwipeVsScale
Pointer-id was incorrectly used as pointer-index for getX()/getY().
2022-11-28 22:43:50 +05:30
Gaurav Ujjwal
0793a1f8c9 Refactor TouchHandlerTest: Re-implement event generation & injection
Generated events now matches much more closely with events generated by Android itself.
With this refactoring, brittleness of touch tests is almost gone.
2022-11-27 21:51:28 +05:30
Gaurav Ujjwal
3a5cdea968 Tighten stylus detection
Check tool-type in addition to event source
2022-11-15 17:21:39 +05:30
Gaurav Ujjwal
d1b7186036 Release v2 2022-11-09 23:44:52 +05:30
Weblate (bot)
453f923f69
Translations update from Hosted Weblate (#96)
* Translated using Weblate (Turkish)
* Translated using Weblate (Norwegian Bokmål)
* Translated using Weblate (Korean)
* Translated using Weblate (French)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: 이정희 <daemul72@gmail.com>
2022-11-09 23:22:56 +05:30
Gaurav Ujjwal
f7d8a4cf9e Improve tests
- Disable discovery for DiscoveryListTest to avoid timeout on progress bar
- Reduce flakiness of touch tests
- Refactor prefs usage
2022-11-09 22:42:01 +05:30
Gaurav Ujjwal
95e8d60fc1 Update screenshots 2022-11-09 22:23:50 +05:30
Gaurav Ujjwal
62579d30ae Update funding info
Removed LiberaPay because of limited support in my region.
2022-11-07 23:53:23 +05:30
Gaurav Ujjwal
b0c3e40876 Update submodule 2022-11-07 23:42:42 +05:30
Gaurav Ujjwal
9bc5d7fd5c Refactor AppPreferences 2022-11-07 23:03:16 +05:30
Gaurav Ujjwal
fdf7b35a53 Rename 'Natural scrolling' pref to 'Invert vertical scrolling' 2022-11-07 22:58:19 +05:30
Gaurav Ujjwal
1ba5374a8c Update metadata 2022-11-07 21:53:57 +05:30
Gaurav Ujjwal
7935ed9cb2 Avoid optimizing-out prefs member in App
New versions of R8 seem to inline the `prefs` member, which allows it to be
garbage-collected, breaking the theme selection.
2022-11-07 07:08:15 +05:30
Gaurav Ujjwal
e7007cce4f Add a welcome screen for v2 2022-11-06 12:01:07 +05:30
Gaurav Ujjwal
581572b6d0 Add virtual function keys 2022-11-04 10:26:49 +05:30
Gaurav Ujjwal
d871c3a35e Update Zoom Reset icon 2022-11-04 09:35:49 +05:30
Gaurav Ujjwal
c238fba911 Turn on per-orientation zoom by default 2022-11-02 21:57:26 +05:30
Gaurav Ujjwal
7712640d7b Remove translation for string alias 2022-11-01 10:19:17 +05:30
Gaurav Ujjwal
97d7809ff9 Remove usage of deprecated Char.toInt() 2022-11-01 09:42:20 +05:30
Gaurav Ujjwal
a6c87749c4 Fix broken tests for Discovery List 2022-10-31 23:04:13 +05:30
Gaurav Ujjwal
d70bec02bf Fix CMake version selection 2022-10-31 22:44:05 +05:30
Gaurav Ujjwal
a668486214 Update dependencies + submodules 2022-10-31 22:43:37 +05:30
Gaurav Ujjwal
5113b182c6 Fix D-pad navigation in urlbar activity 2022-10-30 15:50:39 +05:30
Gaurav Ujjwal
7e82923e19 Add debug tools for touch and key input testing 2022-10-30 12:52:04 +05:30
Gaurav Ujjwal
df37ba0a9f Use Kotlin coroutines for Dao methods 2022-10-28 18:20:29 +05:30
Eshagh shahidani
fdc090030d Translations from Hosted Weblate
Added new language using Weblate (Korean)
Translated using Weblate (Persian)
Translated using Weblate (Portuguese (Brazil))

Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
Co-authored-by: Eshagh shahidani <eshagh094@gmail.com>
Co-authored-by: m_s_ <m_s_@fastmy.info>
2022-10-26 16:38:53 +05:30
Gaurav Ujjwal
9e1ba4009c Move experimental cutout pref to Viewer section
Experimental pref section is now empty and has been removed.
2022-10-26 16:38:53 +05:30
Gaurav Ujjwal
e70bcc070a Typo-fix 2022-10-26 16:38:53 +05:30
Gaurav Ujjwal
6daa5f8ba3 Refactor security type in in Editor UI 2022-10-26 16:38:53 +05:30
Gaurav Ujjwal
ea62c5d54e Improve D-pad navigation in HomeActivity
- Make sure ViewPager doesn't steal the focus during navigation
- Hide RecyclerViews when server lists are empty

Related issue #73
2022-10-26 16:38:53 +05:30
Gaurav Ujjwal
468c73a43c Upgrade build system
- Update target API to 33
- Update Gradle & AGP
- Update CMake
- Update dependencies

Building AVNC now requires Java 11, and minimum version of Android Studio
is Chipmunk.

Fixed some warnings surfaced after upgrade.
2022-10-26 16:38:53 +05:30
Gaurav Ujjwal
dc57295ebb Misc. cleanup 2022-10-26 00:01:00 +05:30
Gaurav Ujjwal
5332c2c24c Stabilize 'Full immersive mode' option
Now, full immersive mode will be used automatically when 'Fullscreen'
viewer option is enabled.
2022-10-26 00:01:00 +05:30
Gaurav Ujjwal
faf1cb57e7 Stabilize 'Swipe to close toolbar' option 2022-10-26 00:01:00 +05:30
Gaurav Ujjwal
26b1f02bb9 Refactor login auto-completion
- Removed the preference to enable/disable it. The pref was added during
  early development of AVNC, and I was not fully sure about this feature.
  The implementation was a bit hacky, and I just wanted users to be able
  to disable it. Now, it will always be enabled.

- Fix the dropdown arrow to appear only when suggestions are available.

- Disable suggestions when saved servers are locked.
2022-10-26 00:01:00 +05:30
Gaurav Ujjwal
b73f6bd7b8 Add an experimental option to draw behind display cutout
GitHub issue: #91
2022-10-26 00:01:00 +05:30
Gaurav Ujjwal
c715fdfec6 Add per-orientation zoom levels & make default zoom configurable
- Users can enable per-orientation zoom to maintain separate zoom levels
in each orientation
- During a session, current zoom can be saved as default for the server

GitHub issue #77
2022-10-26 00:01:00 +05:30
Gaurav Ujjwal
a487e4dd94 Add 'Super' virtual key 2022-10-25 22:23:36 +05:30
Gaurav Ujjwal
31148fdcd3 Implement repeatable virtual keys 2022-10-25 22:23:36 +05:30
Gaurav Ujjwal
cb84cb2712 Add device-lock for saved servers
GitHub issue: #51
2022-10-25 22:23:36 +05:30
Gaurav Ujjwal
75e0d4324a Refactor biometric auth to new utility class DeviceAuthPrompt
DeviceAuthPrompt can now be re-used by upcoming feature of requiring
biometric authentication before connecting to a server.

- Add a workaround for broken fingerprint dialog
- Remove redundant message about auth status
2022-10-25 22:23:36 +05:30
Gaurav Ujjwal
4dbfaf4a71 Re-implement gesture-style selection
- Gesture-style can now also be selected on per-host basis.
- The two gesture styles are now named 'Touchscreen' & 'Touchpad'.
  Earlier these were 'Direct touch On/Off'.

GitHub Issue: #86
2022-10-25 22:23:36 +05:30
Gaurav Ujjwal
2e1a87b752 Implement image quality controls
Github issues: #69, #87
2022-10-21 22:52:01 +05:30
Gaurav Ujjwal
611a34b8b2 Extend database to v2 2022-10-21 10:02:20 +05:30
Gaurav Ujjwal
698f01aacd Allow GitHub Actions to run on any push
Some checks failed
Android CI / build (push) Has been cancelled
2022-10-04 23:00:37 +05:30
Gaurav Ujjwal
09a4990433 Guard against null events passed to onScroll
It appears that on some devices, e1 can be null, which would result in a
crash. This is probably due to manufacturers messing with input handling
of AOSP.
2022-10-04 23:00:37 +05:30
Felix Yan
1fe3dedc52
Correct typos in app/CMakeLists.txt (#90) 2022-08-22 20:13:18 +05:30