Commit graph

332 commits

Author SHA1 Message Date
Gaurav Ujjwal
c3292a5b90 Keep the pointer centered when Direct Touch is off
After moving the pointer, frame is moved in opposite direction to keep
the pointer centered on screen (as long as possible).
2022-05-22 14:11:31 +05:30
Gaurav Ujjwal
45b5fc4696 Disable APK splitting based on language & density
Resources in density-split APKs are not properly handled by AAB, which
causes a lot of warnings from Android.
2022-05-20 21:23:50 +05:30
Gaurav Ujjwal
e259c931a1 Add preference for screen orientation 2022-05-16 23:25:28 +05:30
Gaurav Ujjwal
890b7750b7 Update submodules 2022-05-16 22:13:35 +05:30
Gaurav Ujjwal
c4d5b7b2f8 Move custom rfbClient extensions to our own ClientEx 2022-05-16 22:08:29 +05:30
Gaurav Ujjwal
0a379a68e7 Add help for Drag gesture
The interaction of Drag gesture & Long press gesture can be confusing at first.
Now a helper message is shown for the Drag gesture.
2022-04-08 15:13:54 +05:30
Gaurav Ujjwal
41fb2e3b5f Wrap Discovery start/stop in exception handlers 2022-04-08 13:46:08 +05:30
Gaurav Ujjwal
f9f3a647de Release v1.8.1 2022-04-07 23:36:56 +05:30
Weblate (bot)
56fc2f8f3c
Translations update from Hosted Weblate (#72)
* Translated using Weblate (Persian)
* Translated using Weblate (Turkish)
* Translated using Weblate (Polish)

Co-authored-by: Eshagh Shahedany <eshagh094@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: WaldiS <sto@tutanota.de>
2022-04-07 23:29:58 +05:30
Gaurav Ujjwal
00bd2da0f6 Formatting + fix lint issues 2022-04-07 21:56:21 +05:30
Gaurav Ujjwal
0cce0c2ef8 Fix click position for mouse back press 2022-04-06 15:05:03 +05:30
Gaurav Ujjwal
999bdb2f72 Release v1.8.0 2022-03-31 10:02:52 +05:30
Weblate (bot)
c66d7e3668
Translations update from Hosted Weblate (#71)
Translated using Weblate (Persian)
Translated using Weblate (Ukrainian)
Translated using Weblate (Turkish)
Translated using Weblate (French)
Translated using Weblate (Polish)

Co-authored-by: Eshagh Shahedany <eshagh094@gmail.com>
Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Co-authored-by: WaldiS <sto@tutanota.de>
2022-03-30 23:57:53 +05:30
Gaurav Ujjwal
b83747b1d0 Fix tests 2022-03-30 23:34:36 +05:30
Gaurav Ujjwal
ee49c2d1b4 Refactor mouse-triggered Back-key interception 2022-03-30 23:34:36 +05:30
Gaurav Ujjwal
bfd34747e8 Update libjpeg-turbo 2022-03-27 23:34:49 +05:30
Gaurav Ujjwal
ce4e838351 Add workaround for WolSSL CMake requirement 2022-03-27 23:00:02 +05:30
Gaurav Ujjwal
a5f3faedba Misc. translation updates 2022-03-27 22:47:40 +05:30
Gaurav Ujjwal
45929278ee Remove Single-tap gesture preference
Since the implementation of relative mode, only remaining use of this
pref was to disable Single-tap gesture, which I doubt anyone uses.
2022-03-27 22:24:03 +05:30
Gaurav Ujjwal
6526cb86b2 Restore option to hide remote pointer
It is now available as a global preference.
2022-03-27 22:12:51 +05:30
wang
5780d08a9d Translation updates from Weblate
Added new language using Weblate (Polish)
Added new language using Weblate (Chinese (Simplified))

Translated using Weblate (Turkish)
Translated using Weblate (Ukrainian)
Translated using Weblate (French)
Translated using Weblate (Portuguese (Brazil))
Translated using Weblate (Norwegian Bokmål)

Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Саша Петровић <salepetronije@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Luiz-bro <luiznneto1@gmail.com>
Co-authored-by: wang <wwj402@sina.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: WaldiS <sto@tutanota.de>
2022-03-27 10:49:24 +05:30
Gaurav Ujjwal
ee28bf184d Add preference for swipe sensitivity 2022-03-26 23:40:32 +05:30
Gaurav Ujjwal
c6b28ea6f1 Implement 'pan-with-cursor' for relative action mode 2022-03-26 23:19:53 +05:30
Gaurav Ujjwal
ce2736ed20 Fix incorrect cursor rendering at (0,0) position 2022-03-26 17:47:08 +05:30
Gaurav Ujjwal
36d8b66cae Use correct range for pointer position coercion 2022-03-26 17:45:51 +05:30
Gaurav Ujjwal
f0475ccdcf Remove workaround required to sync pointer position in relative mode
As client-side cursor rendering is now supported, most servers will now
send message about the real pointer position.
2022-03-26 13:38:32 +05:30
Gaurav Ujjwal
d04e19be58 Disable Fling gesture in relative action mode.
Because 1-finger swipe is used for moving the mouse, fling gesture can be
confusing/bothering as it moves the frame instead of mouse.
2022-03-26 13:29:42 +05:30
Gaurav Ujjwal
52607e2b21 Implement client-side cursor rendering
If supported by server, client-side cursor rendering gives us significant
boost in cursor responsiveness. This also unlocks many other features:

1. Most servers will now report mouse movements done unilaterally on server.
This info will help with touchpad/relative action mode.

2. We can now add the ability to follow cursor while zoomed-in (it was possible
before, but looked really ugly).

3. It serves as a workaround for cursor-invisibility in TightVNC.
2022-03-25 22:57:23 +05:30
Gaurav Ujjwal
c64140d1b2 Native refactoring: Extract miscellaneous utilities 2022-03-25 22:57:23 +05:30
Gaurav Ujjwal
e068d89eae Native refactoring: Extract client extension 2022-03-25 22:57:23 +05:30
Gaurav Ujjwal
a518be5a7a Don't set ID for ServerProfile created during Discovery
A non-zero ID is used to differentiate between saved/non-saved profiles.
(May we should have a better way for that?)

Regression from: 2b64933fcb
2022-03-24 23:37:15 +05:30
Gaurav Ujjwal
388ccc8176 Handle the initial touch-point of scroll gestures by Stylus 2022-03-07 22:17:31 +05:30
Tuan Pham
239f993082
Add option to remap back press from mouse device (#59)
Co-authored-by: Tuan Pham <tuanp.swe@gmail.com>
2022-02-24 22:00:30 +05:30
Hosted Weblate
555ea0a483 Translations update from Hosted Weblate
Translated using Weblate (Norwegian Bokmål)
Translated using Weblate (Serbian)
Translated using Weblate (Ukrainian)
Translated using Weblate (French)

Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Саша Петровић <salepetronije@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
2022-02-21 00:14:03 +05:30
Oğuz Ersen
b29710119e Translated using Weblate (Turkish) 2022-02-20 23:41:59 +05:30
Fabriel
6293385d88
New translation: Turkish (#61) 2022-02-18 22:20:10 +05:30
Gaurav Ujjwal
8c7f3b07bc Add workaround for devices where mouse right-click is treated as back-press
GitHub issue #53
2022-02-13 21:13:14 +05:30
Gaurav Ujjwal
bbda1b8e62 Assign a different App ID to CI-built APKs
It allows the APKs to be installed alongside Release version.
2022-02-03 11:39:32 +05:30
Gaurav Ujjwal
dddad7b914 Switch to 'release' builds on GitHub Actions
Because PRs cannot access GitHub Secrets, they will continue with the debug variant.
2022-02-02 22:15:11 +05:30
Gaurav Ujjwal
921601c05b Release v1.7.0 2022-02-02 17:55:11 +05:30
Gaurav Ujjwal
d180fafc5e Remove unused strings 2022-02-02 17:53:52 +05:30
Gaurav Ujjwal
5bc110479b Initialize LivePref lazily
It avoids unnecessary observer registrations.
2022-02-02 17:53:42 +05:30
Gaurav Ujjwal
e3e4e86305 Don't reset discovered servers if list is already empty
Updating discovered servers will trigger a cascade of operations.
RecyclerView will launch list-differ, all indicators will be notified,
and data-binding will be triggered.

If list is already empty, all this work is unnecessary & wasteful.
2022-01-29 19:02:58 +05:30
Gaurav Ujjwal
bfc0607870
Create FUNDING.yml 2022-01-29 19:00:26 +05:30
Weblate (bot)
3e04963715
Translations update from Hosted Weblate (#50)
Added new language using Weblate (Ukrainian)

Translated using Weblate (Serbian)
Translated using Weblate (Norwegian Bokmål)
Translated using Weblate (French)


Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Саша Петровић <salepetronije@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
2022-01-29 16:17:49 +05:30
Gaurav Ujjwal
26d303ebbd Refactor connection state
Until now, connection state was managed in VncClient. This was fine before
introduction of SSH Tunnel, but now, state in VncClient may not fully reflect
the state transitions. Moreover, most of the time we simply check whether
we are connected or not.

Now, simple boolean state is managed by VncClient, and more granular state
is managed by VncViewModel.
2022-01-28 21:38:01 +05:30
Gaurav Ujjwal
781263fc5f Stabilize rediscovery indicator
- Reimplemented from scratch, less hacky
- Preference change no longer requires app restart to take effect
- Moved the preference to Discovery section to provide more context
2022-01-25 12:56:16 +05:30
Gaurav Ujjwal
2b64933fcb Refactor Discovery
Instead of having different (and confusing) timeouts/restart settings, we now have
a single 'Autorun' mode. When enabled, we keep discovering servers as long as
HomeActivity is in foreground, and automatically stop in background.
So discovered servers won't become stale after timeout.
2022-01-25 12:56:16 +05:30
Gaurav Ujjwal
2b6441080f Remove obsolete comment
Fixes #46
[skip ci]
2022-01-16 21:29:18 +05:30
Gaurav Ujjwal
db275ce209 Re-implement Login auto-completion 2022-01-14 16:08:36 +05:30