Commit graph

21 commits

Author SHA1 Message Date
Gaurav Ujjwal
c4d5b7b2f8 Move custom rfbClient extensions to our own ClientEx 2022-05-16 22:08:29 +05:30
Gaurav Ujjwal
00bd2da0f6 Formatting + fix lint issues 2022-04-07 21:56:21 +05:30
Gaurav Ujjwal
ce2736ed20 Fix incorrect cursor rendering at (0,0) position 2022-03-26 17:47:08 +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
772f32c3d7 Use ISO 8859-1 encoding for clipboard text exchange with server
Added some tests to make sure we handle text-encoding correctly.
2021-12-11 20:24:21 +05:30
Gaurav Ujjwal
c6ddc9feab Fix handling of timeout expiration during client message processing 2021-06-18 14:55:12 +05:30
Gaurav Ujjwal
5c8893a5f1 Fix grammatical errors 2021-06-01 18:52:54 +05:30
Gaurav Ujjwal
c5dbca3bca Fix Lint issues:
1. Remove unused resources
2. Correct data type for framebuffer size
3. Use Compat library for drawable and ImageView tint
2021-05-04 15:18:41 +05:30
Gaurav Ujjwal
10b836fd7f Implement ability to hide remote cursor 2021-05-03 12:31:03 +05:30
Gaurav Ujjwal
c880cf84da Implement support for Repeater & SSH Tunnel 2021-04-26 08:17:18 +05:30
Gaurav Ujjwal
ff71cda227 Refactor KeyEvent handling:
- Move Android -> X KeySym translation from native code to Kotlin side
- Split key handling from `FrameInputConnection` into new `KeyHandler`
- Add hardware keyboard support
- Misc fixes to key handling
2021-04-04 07:46:23 +05:30
Gaurav Ujjwal
340095f681 Implement ability to choose security type.
Also adds data-binding utilities for Spinner widget
2021-03-11 10:39:09 +05:30
Gaurav Ujjwal
c7f3d108c3 Slightly improve error reporting 2021-03-08 22:03:48 +05:30
Gaurav Ujjwal
84af35312f Synchronize framebuffer access between renderer thread (updating texture) and receiver thread (resizing framebuffer) 2021-03-08 07:15:14 +05:30
Gaurav Ujjwal
e5ddb8cf30 Improve error reporting to tell users reason for disconnecting. 2021-03-07 13:44:28 +05:30
Gaurav Ujjwal
ad2af0607b Fix some linter warnings 2021-01-31 11:22:44 +05:30
Gaurav Ujjwal
8f5b9d7d1d Refactor VncClient
- Tidy-up client states
- Cleanup state management
- Make Messenger more robust
2020-12-07 16:59:22 +05:30
Gaurav Ujjwal
3686750599 Implemented Frame rendering + basic Input handling 2020-09-02 12:36:33 +05:30
Gaurav Ujjwal
5185e8efad Implemented native client 2020-08-18 13:40:08 +05:30