Commit graph

395 commits

Author SHA1 Message Date
Gaurav Ujjwal
7e3335a930 Add initial Metadata 2021-08-06 15:03:13 +05:30
Gaurav Ujjwal
7c096cd735 Rename toolbar preference 'Position' to 'Alignment' 2021-08-05 12:34:50 +05:30
Gaurav Ujjwal
d5197e2967 Fix tests for FrameState 2021-08-04 12:44:35 +05:30
Gaurav Ujjwal
878d8b48eb Use better defaults for scaling
By default, we should start with 100% scaling.
2021-08-04 12:31:39 +05:30
Gaurav Ujjwal
d0162700b0 Fixed formatting 2021-08-04 08:10:00 +05:30
Gaurav Ujjwal
1d7edae607 Update app word-mark
- Fixed formatting
- Fixed lint warning about size
2021-08-04 08:09:38 +05:30
Gaurav Ujjwal
f9b791586c Commit Architecture to repo 2021-08-03 18:47:33 +05:30
Gaurav Ujjwal
66cb16c5fa Update doc for FrameView 2021-08-03 18:22:13 +05:30
Gaurav Ujjwal
30f1e2388c Rename 'Display' pref category to 'Viewer'
'Display' is more synonymous with the physical screen on the devices,
while 'Viewer' is more closer to the prefs in this category.

Even 'Viewer' might not be 100% correct here, but this is the best I could come up with.
2021-08-03 14:15:47 +05:30
Gaurav Ujjwal
9d02b4504b Improve swipe-to-close-drawer behaviour
Now, instead of first scroll gesture, we wait for fling gesture
before closing the drawer. It simplifies the detection logic,
and allows a much smoother experience.

It also fixes a bug where a closed drawer won't open on first swipe
if it was closed by tapping in the scrim.
2021-08-03 13:47:05 +05:30
Gaurav Ujjwal
e48c6a1a56 Add a preference for toolbar position
Toolbar is opened by swiping on the edge, which might also be the gesture to open
Android Navigation Bar (e.g. in landscape mode), or a custom gesture.
Now, the user can customize the toolbar position to her preference.
2021-08-03 13:46:36 +05:30
Gaurav Ujjwal
aeb4b61ecc Remove preference for Tips Visibility 2021-07-28 15:53:45 +05:30
Gaurav Ujjwal
a418d87f28 Use absolute path for extern directory 2021-07-03 13:22:05 +05:30
Gaurav Ujjwal
7de3bce82b Use correct variable for API level in CMakeLists.txt + Improve arch detection 2021-06-30 12:30:06 +05:30
Gaurav Ujjwal
a375e5a881 Update branding: New app icon + App name capitalization 2021-06-22 15:08:48 +05:30
Gaurav Ujjwal
f29ab78a6f Add 'debug' label to version strings for debug builds 2021-06-22 13:59:03 +05:30
Gaurav Ujjwal
8bba056b80 Rename compatibility field in ServerProfile
New name expresses the intent more clearly, and we don't have to do bit-manipulation
everywhere.
2021-06-22 13:36:59 +05:30
Gaurav Ujjwal
f1179863ec Keep both fragment of HomeActivity Pager in memory 2021-06-18 17:19:15 +05:30
Gaurav Ujjwal
ffe6dd9a90 Remove unused binding adapter 2021-06-18 17:02:44 +05:30
Gaurav Ujjwal
c7e8c937ca Add content description for some views 2021-06-18 17:02:28 +05:30
Gaurav Ujjwal
d97944fc3a Streamline View IDs 2021-06-18 17:01:28 +05:30
Gaurav Ujjwal
b9745cd29f Refactor Discovery start button 2021-06-18 16:55:54 +05:30
Gaurav Ujjwal
c6ddc9feab Fix handling of timeout expiration during client message processing 2021-06-18 14:55:12 +05:30
Gaurav Ujjwal
cce2e17519 Make sure frameState is modified from main thread 2021-06-18 14:53:24 +05:30
Gaurav Ujjwal
3223e8ee1d Update test-condition of scroll logic in Dispatcher
This worked fine previously, but now have we added support for mouse events.
And in case of mouse wheel, old test would skip the first-ever wheel motion.
2021-06-18 14:51:25 +05:30
Gaurav Ujjwal
9766e3a357 Refactor Discovery
Instead of automatically stopping, Discovery now exposes a 'stop' method.
Timeout is now handled by HomeViewModel.
2021-06-18 14:39:33 +05:30
Gaurav Ujjwal
f0f367ede2 Refactor list of third-party libraries 2021-06-18 14:34:25 +05:30
Gaurav Ujjwal
0e857b3c9e Improve documentation 2021-06-18 14:31:32 +05:30
Gaurav Ujjwal
528a751ac5 Remove redundant 'internal' modifier
We don't have multi-module project, so it has no effect
2021-06-18 14:22:56 +05:30
Gaurav Ujjwal
1ada1d65d9 Add support for observeForever() to LiveEvent 2021-06-06 12:21:34 +05:30
Gaurav Ujjwal
5c8893a5f1 Fix grammatical errors 2021-06-01 18:52:54 +05:30
Gaurav Ujjwal
54ed90a587 Suppress Window flag deprecation
There is no equivalent alternative for this flag.
2021-05-29 13:23:33 +05:30
Gaurav Ujjwal
c10f68257c Remove redundant XML attribute 2021-05-24 18:07:42 +05:30
Gaurav Ujjwal
1d7a1f1489 Implement AboutActivity & Bug report URL 2021-05-24 18:07:30 +05:30
Gaurav Ujjwal
0ea05c94fb Implement SpinnerEx - an extended version of Spinner
- It enables elevation overlay for Spinner's Popup
- It replaces the custom binding mess with more cleaner member functions.
2021-05-24 17:51:37 +05:30
Gaurav Ujjwal
ec56fb6131 Obfuscate name of servers in Discovery logs
Also, log error code if service resolution fails.
2021-05-24 17:50:46 +05:30
Gaurav Ujjwal
a706139137 Use framework's Activity as base for simple activities 2021-05-24 17:50:06 +05:30
Gaurav Ujjwal
ff010b2ef2 Enable database schema export via Room 2021-05-24 17:49:41 +05:30
Gaurav Ujjwal
f290c6a5bb Remove unnecessary arguments of default value 2021-05-22 22:03:57 +05:30
Gaurav Ujjwal
9a4653f189 Highlight Drawer Toolbars for first time users 2021-05-22 15:46:29 +05:30
Gaurav Ujjwal
7935dd5186 Remove extra margin from SSH fields in advanced editor 2021-05-21 14:07:43 +05:30
Gaurav Ujjwal
34f2993a8c Enable minification for release builds 2021-05-21 13:59:56 +05:30
Gaurav Ujjwal
d3a84ad282 Use correct style for FABs
We were using intermediate 'design' styles.
This also fixes a warning about custom background not being supported for FAB.
2021-05-21 09:51:01 +05:30
Gaurav Ujjwal
f022010ec4 Fix experimental indicator not working after device rotation (Activity restart)
Also slightly reduced the animation time
2021-05-20 22:10:33 +05:30
Gaurav Ujjwal
4da68d40ab Rename Interface pref category to UI 2021-05-20 21:31:03 +05:30
Gaurav Ujjwal
e415e158de Make UserCredential immutable 2021-05-20 21:17:19 +05:30
Gaurav Ujjwal
64911fc1e7 Fix credential "Remember" feature
Intended behaviour was to wait until successful connection before persisting credentials to database. But due to Intent instance being shared across activity restarts, modifications to profile were not reverted.

Now we make a copy of profile from intent and only modify the profile after successful connection.
2021-05-20 21:16:37 +05:30
Gaurav Ujjwal
56648abf44 Upgrade SDK & Dependencies 2021-05-20 08:34:08 +05:30
Gaurav Ujjwal
6e1ac2bdb2 Rename SSH.kt to better reflect its use 2021-05-12 18:13:43 +05:30
Gaurav Ujjwal
cd8dace3a2 Turn on auto-mirror for back icon 2021-05-12 13:59:53 +05:30