-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Add extended clipboard Pseudo-Encoding #1366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5c14525
to
df3941c
Compare
Tested against Xvnc server with extended clipboard pseudo-encoding support on following:
Also tested against older Xvnc server that did not support extended clipboard pseudo-encoding on Fedora 30 in Firefox 69. |
Don't rely on clientCutText() to test clipboardPasteFrom().
Wraps pako's deflate for easier usage.
Will be used in later commit in extended clipboard handling.
The value true was an invalid flush argument so it was in practice unused.
Every call wants this check so this should be done inside the class.
Added ability to read data chunk wise.
df12343
to
f6cfba4
Compare
Add extended clipboard pseudo-encoding to allow the use of unicode characters in the clipboard.
f6cfba4
to
f73fdc3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor things I adjusted, but other than that everything should be good to go now. :)
The current clipboard did not support transferring Unicode characters. This pull request adds support for extended clipboard pseudo-encoding on the client. The server must also support extended clipboard pseoudo-encoding for this solution to take effect. The servers I know of use this protocol is TigerVNC and UltraVNC.
Fixes #61