Commit Graph

352 Commits

Author SHA1 Message Date
Siyuan Miao 5e1dab5522 ignore build cache 2025-09-26 08:22:01 +00:00
Siyuan Miao e53f7bdb70 add build cache to dev_deploy.sh 2025-09-26 08:22:01 +00:00
Adam Shiervani f1ebd840e7 fix: faster paste speed (#824)
* fix: update delay handling in PasteModal component

- Changed default delay value to 20 and adjusted validation to allow values between 0 and 65534.
- Cleaned up code formatting for better readability.

* fix: formatting
2025-09-26 08:22:01 +00:00
Marc Brooks 85468a5ce7 Update UI dependencies (#819) 2025-09-26 08:22:01 +00:00
Siyuan Miao 3c3b99aa14 chore: bump to 0.4.8 2025-09-26 08:22:01 +00:00
Siyuan Miao f20a7d7022 show video debugging info 2025-09-26 08:21:21 +00:00
Siyuan Miao d52773d064 makefile 2025-09-26 08:21:21 +00:00
Siyuan Miao d6802c982d dd script to build inside docker 2025-09-26 08:21:21 +00:00
Siyuan Miao 6c677f2f95 cleanup 2025-09-26 08:21:20 +00:00
Siyuan Miao a3ddb071e8 update state 2025-09-26 08:21:20 +00:00
Siyuan Miao 9bd3436536 fix ipv6 address truncation 2025-09-26 08:21:20 +00:00
Siyuan Miao 84a28454f4 minor ui fixes 2025-09-26 08:21:20 +00:00
Siyuan Miao 837b75f83c feat: add reset config and reboot buttons to UI 2025-09-26 08:21:20 +00:00
Siyuan Miao 8123900f26 add locks and missing comments 2025-09-26 08:21:20 +00:00
Siyuan Miao 2e939c918f chore: use log_error in native library 2025-09-26 08:21:20 +00:00
Siyuan Miao efaab7369b fix: race condition in native library 2025-09-26 08:21:20 +00:00
Siyuan Miao d0df8eaa44 remove lldp 2025-09-26 08:21:20 +00:00
Siyuan Miao 9db23f28db fix(native): add video init to native start 2025-09-26 08:21:20 +00:00
Siyuan Miao 8d368a8a7c hide unfinished features 2025-09-26 08:21:20 +00:00
Siyuan Miao ace2934111 add native library to make build process faster 2025-09-26 08:21:20 +00:00
Siyuan Miao 1ca576176a ignore generated include & lib files 2025-09-26 08:21:20 +00:00
Siyuan Miao 35c9401cdb chore: add built ui files 2025-09-26 08:21:20 +00:00
Siyuan Miao b4d242471b fix linting issues 2025-09-26 08:21:20 +00:00
Siyuan Miao e99fd0d639 add no network screen 2025-09-26 08:21:20 +00:00
Siyuan Miao b6db43c359 update development guide 2025-09-26 08:21:20 +00:00
Siyuan Miao f862b4c487 add missing deps 2025-09-26 08:21:20 +00:00
Siyuan Miao 9b755e7255 fix deps 2025-09-26 08:21:20 +00:00
Siyuan Miao 33c0f34f2b resolve conflicts 2025-09-26 08:21:19 +00:00
Siyuan Miao 13be5c451a chore: upgrade deps 2025-09-26 08:21:19 +00:00
Siyuan Miao 49adcfc82b chore: use UIObjSetState instead of Add+Remove 2025-09-26 08:21:19 +00:00
Siyuan Miao d0346c0890 remove useless lvgl config 2025-09-26 08:21:19 +00:00
Siyuan Miao 610f111a29 move event handling to native 2025-09-26 08:21:19 +00:00
Siyuan Miao f268a9622b chore: upgrade deps 2025-09-26 08:21:19 +00:00
Siyuan Miao 9df20e0d6e refactor functions 2025-09-26 08:21:19 +00:00
Siyuan Miao b8270fc2d5 remove build_afpacket from Makefile 2025-09-26 08:21:19 +00:00
Siyuan Miao 156903c59b feat: update github actions 2025-09-26 08:21:19 +00:00
Siyuan Miao 73a1ed3976 feat: remove lvgl examples and demos 2025-09-26 08:21:19 +00:00
Siyuan Miao 84bdbe0ebf chore: add LV_STATE_DISABLED to obj set state 2025-09-26 08:21:19 +00:00
Siyuan Miao be84ed101e feat: implement about screen 2025-09-26 08:21:19 +00:00
Siyuan Miao 74d177b365 feat: add video frame handling 2025-09-26 08:21:19 +00:00
Siyuan Miao 9468bf057b feat: native as lib 2025-09-26 08:21:19 +00:00
Siyuan Miao 52b773e97e fix lint issues 2025-09-26 08:21:19 +00:00
Siyuan Miao 5349553a8a feat(lldp): show neighbors in UI 2025-09-26 08:21:19 +00:00
Siyuan Miao 4bb790922f feat(lldp): implement rx 2025-09-26 08:21:19 +00:00
Aveline af7525bade feat: get local version only (#813) 2025-09-26 08:21:19 +00:00
Adam Shiervani 55f43f9aaf feat: re-add keyboard and keypress report handlers to RPC (#811) 2025-09-26 08:21:19 +00:00
Adam Shiervani 282c912898 fix: remove unnecessary grow-0 utility from in keyboard (#810) 2025-09-26 08:21:19 +00:00
Siyuan Miao 58fd25cae1 build: use immediate assignment for VERSION_DEV and other vars 2025-09-26 08:21:19 +00:00
Siyuan Miao 773440c157 chore: bump to 0.4.7 2025-09-26 08:21:19 +00:00
Aveline f64d8aaadd feat: release keyPress automatically (#796)
* feat: release keyPress automatically

* send keepalive when pressing the key

* remove logging

* clean up logging

* chore: use unreliable channel to send keepalive events

* chore: use ordered unreliable channel for pointer events

* chore: adjust auto release key interval

* chore: update logging for kbdAutoReleaseLock

* chore: update comment for KEEPALIVE_INTERVAL

* fix: should cancelAutorelease when pressed is true

* fix: handshake won't happen if webrtc reconnects

* chore: add trace log for writeWithTimeout

* chore: add timeout for KeypressReport

* chore: use the proper key to send release command

* refactor: simplify HID RPC keyboard input handling and improve key state management

- Updated `handleHidRPCKeyboardInput` to return errors directly instead of keys down state.
- Refactored `rpcKeyboardReport` and `rpcKeypressReport` to return errors instead of states.
- Introduced a queue for managing key down state updates in the `Session` struct to prevent input handling stalls.
- Adjusted the `UpdateKeysDown` method to handle state changes more efficiently.
- Removed unnecessary logging and commented-out code for clarity.

* refactor: enhance keyboard auto-release functionality and key state management

* fix: correct Windows default auto-repeat delay comment from 1ms to 1s

* refactor: send keypress as early as possible

* refactor: replace console.warn with console.info for HID RPC channel events

* refactor: remove unused NewKeypressKeepAliveMessage function from HID RPC

* fix: handle error in key release process and log warnings

* fix: log warning on keypress report failure

* fix: update auto-release keyboard interval to 225

* refactor: enhance keep-alive handling and jitter compensation in HID RPC

- Implemented staleness guard to ignore outdated keep-alive packets.
- Added jitter compensation logic to adjust timer extensions based on packet arrival times.
- Introduced new methods for managing keep-alive state and reset functionality in the Session struct.
- Updated auto-release delay mechanism to use dynamic durations based on keep-alive timing.
- Adjusted keep-alive interval in the UI to improve responsiveness.

* gofmt

* clean up code

* chore: use dynamic duration for scheduleAutoRelease

* Use harcoded timer reset value for now

* fix: prevent nil pointer dereference when stopping timers in Close method

* refactor: remove nil check for kbdAutoReleaseTimers in DelayAutoReleaseWithDuration

* refactor: optimize dependencies in useHidRpc hooks

* refactor: streamline keep-alive timer management in useKeyboard hook

* refactor: clarify comments in useKeyboard hook for resetKeyboardState function

* refactor: reduce keysDownStateQueueSize

* refactor: close and reset keysDownStateQueue in newSession function

* chore: resolve conflicts

* resolve conflicts

---------

Co-authored-by: Adam Shiervani <adam.shiervani@gmail.com>
2025-09-26 08:21:19 +00:00