ClSlaid
7b9ce072d9
patch: fix local file test
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 15:41:39 +08:00
ClSlaid
fdc4d6dda9
patch: remove redundant features
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 15:11:33 +08:00
ClSlaid
43aa62e212
patch: fix active enable of file copy paste
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 12:00:44 +08:00
ClSlaid
30e85c8654
patch: make linux build ok
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 23:42:04 +08:00
ClSlaid
79f6b5c181
patch: forbid enable cliprdr without feature
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 20:10:39 +08:00
ClSlaid
dc02ce3f97
patch: only enable file copy and paste under features
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 19:50:31 +08:00
ClSlaid
fd1dc15576
patch: re apply time limited api in common clipboard
...
when no content in text clipboard, it will wait forever
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 12:07:21 +08:00
ClSlaid
0b82874a52
patch: lossen x11 clipboard timeout
...
this should make the clipboard reading more stable
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 11:45:00 +08:00
ClSlaid
f6a137cd43
patch: make BufReader preload its buffer
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 23:25:30 +08:00
ClSlaid
a575fe4934
refactor: reload file hierarchies
...
rename libs/src/platform/{linux => unix}
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 22:44:10 +08:00
ClSlaid
4cd8d8a4a5
patch: faster preload with BufReader
...
1. seek avoided with self maintained offset
2. BufReader to read faster
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 22:33:51 +08:00
ClSlaid
7a802726fb
fix: implement lazy reading to prevent avoid fd limit
...
drawback: through put reduced to 50%
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 20:52:08 +08:00
ClSlaid
abe40c84b0
patch(cliprdr): avoid too much open
...
1. force sync local files when processing file list format data request
2. avoid construct file list each time pulling file lists from clipboard
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 16:27:02 +08:00
ClSlaid
9976fc9723
fix: keep clipboard alive
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 15:31:12 +08:00
ClSlaid
075a877284
patch: increase FUSE block size and add retry
...
1. this should make file managers read small file in one request more
likely
2. implemented retry, max times 3
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 11:14:16 +08:00
ClSlaid
ed0ded33b7
patch: fix arboard pollution
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 09:55:34 +08:00
ClSlaid
053723647b
patch: try fix flutter file copy
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-27 20:40:23 +08:00
ClSlaid
ce9c9078e5
patch: fix copy to nautilus
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-22 19:51:17 +08:00
ClSlaid
4c792f6f17
test: check x11 get clipboard
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-21 16:07:01 +08:00
ClSlaid
802ab90d87
patch: fix duplicated directory problem
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-21 15:54:40 +08:00
ClSlaid
8e3aa0e9ce
patch: less verbose debug logs
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-20 23:15:53 +08:00
ClSlaid
db62a01224
patch: fix dead lock in file transfer
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-20 22:27:39 +08:00
ClSlaid
c529f8099d
patch: fix FUSE permission
...
1. fuse flag check made wrong, fix it
2. but still mount will RO flag
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-20 19:21:40 +08:00
ClSlaid
fc3187a781
feat: extend file list PDU to transfer UNIX PERM
...
1. used 4 bytes out of a reserved 16 bytes section to store perm u32
2. add FLAGS_FD_UNIX_MODE: u32 = 0x08, used with flags, indicating this
message is from UNIX peer
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-20 00:23:16 +08:00
ClSlaid
7fbb4045e2
patch: fix FUSE load file
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-19 22:35:14 +08:00
ClSlaid
d0dc22794e
patch: fix file list parsing
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-19 20:01:44 +08:00
ClSlaid
169bbfd2db
patch: fix clipboard local format map
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-19 17:53:05 +08:00
ClSlaid
1f52bb35ba
patch: fix server file_transfer not enabled
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-19 17:20:44 +08:00
ClSlaid
fbb1d9247f
patch: reduce logic in Fuse and SystemClipboard
...
1. also added more observability
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-17 16:57:55 +08:00
ClSlaid
8f9ba44c2c
Merge remote-tracking branch 'rd/master' into feat/x11/clipboard-file/init
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-16 18:57:45 +08:00
ClSlaid
1f91d4fa7b
patch: add more logs
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-16 18:42:02 +08:00
ClSlaid
9adda25e00
patch: simplify FUSE
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-16 00:51:12 +08:00
dignow
013d307bcd
feat, multi_flutter_ui_sessions
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:24 +08:00
ClSlaid
a597c3f835
patch: update UI, clear previous FUSE
...
- UI updated, now allow copy and paste file in Linux
- Too hard to implement graceful shutdown for rustdesk, just clear
previously mounted FUSE should also works
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-07 17:26:20 +08:00
ClSlaid
3a21efbaae
patch: linux fuse unmount
...
todo: grosely exit
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-09-09 19:24:38 +08:00
蔡略
e5bcfeaad5
patch: linux set clipboard
...
Signed-off-by: 蔡略 <cailue@bupt.edu.cn>
2023-09-09 09:48:31 +08:00
cailue
af131cd1e5
fix: review windows
...
make windows version able to run
Signed-off-by: cailue <cailue@bupt.edu.cn>
2023-09-08 20:37:14 +08:00
蔡略
a7bb90e7e6
Merge remote-tracking branch 'origin/master' into feat/x11/clipboard-file/init
...
Signed-off-by: 蔡略 <cailue@bupt.edu.cn>
2023-09-08 20:09:57 +08:00
蔡略
25cf36a948
feat: add x11 clipboard support
...
Signed-off-by: 蔡略 <cailue@bupt.edu.cn>
2023-09-08 19:39:00 +08:00
蔡略
4f7036a405
feat(part): implement fuse support for linux clipboard
...
Signed-off-by: 蔡略 <cailue@bupt.edu.cn>
2023-09-04 15:38:53 +08:00
cailue
c25d648321
refactor: adjust windows file layout
...
Signed-off-by: cailue <cailue@bupt.edu.cn>
2023-08-24 23:53:15 +08:00
Peter Dave Hello
098df81754
Optimize PNG images losslessly using zopflipng
...
59 PNG images recompressed as below:
fastlane/metadata/android/en-US/images/phoneScreenshots/1.png | Bin 27006 -> 26922 bytes
fastlane/metadata/android/en-US/images/phoneScreenshots/2.png | Bin 326177 -> 325660 bytes
fastlane/metadata/android/en-US/images/phoneScreenshots/3.png | Bin 431697 -> 428945 bytes
fastlane/metadata/android/en-US/images/sevenInchScreenshots/6.png | Bin 462394 -> 461442 bytes
fastlane/metadata/android/en-US/images/sevenInchScreenshots/7.png | Bin 388078 -> 387416 bytes
fastlane/metadata/android/en-US/images/sevenInchScreenshots/8.png | Bin 273393 -> 272856 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3990 -> 3479 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png | Bin 7492 -> 6026 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png | Bin 6161 -> 5107 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_stat_logo.png | Bin 1028 -> 487 bytes
flutter/android/app/src/main/res/mipmap-ldpi/ic_launcher.png | Bin 1667 -> 1524 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2207 -> 1987 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png | Bin 4348 -> 3641 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png | Bin 3525 -> 3017 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_stat_logo.png | Bin 715 -> 383 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4827 -> 4237 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png | Bin 9515 -> 7659 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png | Bin 7604 -> 6202 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_stat_logo.png | Bin 1524 -> 719 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 9171 -> 7498 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png | Bin 33762 -> 22530 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png | Bin 13879 -> 10713 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_stat_logo.png | Bin 2091 -> 884 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 9893 -> 7409 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png | Bin 41583 -> 31138 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 16113 -> 11189 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_stat_logo.png | Bin 3162 -> 1389 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 49903 -> 32239 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 669 -> 511 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 1344 -> 989 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 2049 -> 1545 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 969 -> 755 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 1948 -> 1510 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 3139 -> 2299 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 1344 -> 989 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 2846 -> 2086 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 4240 -> 3087 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 4240 -> 3087 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 6893 -> 4914 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 2594 -> 1964 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 5794 -> 4152 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 6468 -> 4494 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png | Bin 37517 -> 35842 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png | Bin 448 -> 420 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png | Bin 6198 -> 6071 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png | Bin 875 -> 827 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png | Bin 13870 -> 13288 bytes
flutter/web/icons/Icon-192.png | Bin 8908 -> 6339 bytes
flutter/web/icons/Icon-512.png | Bin 25973 -> 17282 bytes
flutter/web/icons/Icon-maskable-192.png | Bin 8908 -> 6339 bytes
flutter/web/icons/Icon-maskable-512.png | Bin 25973 -> 17282 bytes
libs/clipboard/docs/assets/scene3.png | Bin 5480 -> 5475 bytes
libs/clipboard/docs/assets/win_A_B.png | Bin 43658 -> 43619 bytes
libs/clipboard/docs/assets/win_B_A.png | Bin 43515 -> 43447 bytes
res/128x128@2x.png | Bin 10623 -> 7689 bytes
res/icon.png | Bin 60426 -> 40256 bytes
res/mac-icon.png | Bin 37517 -> 35842 bytes
res/mac-tray-dark-x2.png | Bin 703 -> 651 bytes
res/mac-tray-light-x2.png | Bin 728 -> 586 bytes
2023-08-12 02:25:04 +08:00
dignow
4ecbf7aec6
win clipboard context, use ref instead of box ref
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-01 21:26:40 +08:00
dignow
9ca01b0898
Do not sync file clipboard before conn
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-31 22:31:26 +08:00
dignow
4009fd77e8
init sync file clipboard, local to remote
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-31 21:40:55 +08:00
dignow
50c737694f
remove debug log
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-30 17:25:35 +08:00
dignow
549dc05713
add debug log
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-30 17:16:25 +08:00
dignow
ac743ca2fe
check IsClipboardFormatAvailable(CF_HDROP) on clipboard update
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-30 16:42:39 +08:00
dignow
2c0918fc06
debug done
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-29 22:25:01 +08:00
dignow
8899786628
debug ok
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-29 20:44:50 +08:00