fufesou
e5ec6957fe
fix: option OPTION_ONE_WAY_FILE_TRANSFER ( #9387 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-18 18:22:12 +08:00
fufesou
e40243b55d
Fix/wf cliprdr c bugs ( #9253 )
...
* fix: ResetEvent() after WaitForSingleObject()
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: check and free mem
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-04 17:04:48 +08:00
fufesou
04c0f66ca9
fix: set to OK if recv flag is TRUE ( #9244 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-03 21:15:35 +08:00
fufesou
ec28567362
fix: win, file clipboard ( #9243 )
...
1. Return the result of `wait_response_event()` in
`cliprdr_send_format_list()`
2. Add recv flags to avoid waiting a long time.
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-03 20:55:45 +08:00
fufesou
50dd2b3aad
chore ( #8868 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-28 19:33:00 +08:00
fufesou
541d9c6b86
feat: clipboard, multi formats ( #8733 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-28 17:26:54 +08:00
RustDesk
ef4d84657b
Revert "feat: clipboard, multi format ( #8672 )" ( #8673 )
...
This reverts commit 011647511c
.
2024-07-11 00:36:29 +08:00
fufesou
011647511c
feat: clipboard, multi format ( #8672 )
...
* feat: clipboard, multi format
Signed-off-by: fufesou <linlong1266@gmail.com>
* inline
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-11 00:05:25 +08:00
fufesou
86ff768241
clear unwrap ( #8605 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-04 20:18:53 +08:00
RustDesk
6f77fda6fa
Merge pull request #6294 from ClSlaid/docs/clipboard-files
...
docs: file copy paste explainations
2023-11-06 10:59:22 +08:00
ClSlaid
b4c6292397
docs: file copy paste explainations
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-11-05 18:11:05 +08:00
RustDesk
11232c6f23
Merge pull request #6270 from dignow/fix/android_rotation
...
fix, android rotate screen
2023-11-03 10:34:54 +08:00
dignow
df0ad4486e
fix build
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-11-03 09:23:28 +08:00
dignow
059e067bdc
fix, android rotate screen
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-11-03 07:17:40 +08:00
ClSlaid
ae524c4d0e
patch: avoid compile x11 deps on mac
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 22:14:57 +08:00
ClSlaid
bc3acc2826
patch: fix local file test
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 17:52:38 +08:00
ClSlaid
7b9ce072d9
patch: fix local file test
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 15:41:39 +08:00
ClSlaid
62563ad8a1
Merge branch 'feat/x11/clipboard-file/init' into feat/osx/clipboard-file
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 15:34:40 +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
434242858f
patch: implement statfs to improve OSX paste
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 07:43:10 +08:00
ClSlaid
3dfa0525bd
feat: implement OSX file copy & paste
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 07:15:56 +08:00
ClSlaid
36d4baaa8e
patch: fix macos clipboard
...
1. wrong namings of NsPasteboard
2. wrap Pasteboard in Lazy
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 03:53:06 +08:00
ClSlaid
2bb1310094
patch(0): implement cliprdr for macos
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 02:15:16 +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