Skip to content
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

Extended Clipboard Support #834

Merged
merged 6 commits into from
Jul 1, 2019
Merged

Commits on Jul 1, 2019

  1. Make sure clipboard uses \n line endings

    This is required by the protocol so we should make sure it is
    enforced. We are tolerant of clients that violate this though and
    convert incoming clipboard data.
    CendioOssman committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    546b2ad View commit details
    Browse the repository at this point in the history
  2. Clean up internal clipboard handling

    We now filter incoming data, which means we can start assuming the
    clipboard data is always null terminated. This allows us to clean
    up a lot of the internal handling.
    CendioOssman committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    66f1db5 View commit details
    Browse the repository at this point in the history
  3. Add UTF-8 to/from ISO 8859-1 conversion routines

    We convert between UTF-8 and ISO 8859-1 (latin 1) in several places
    so create some common routines for this.
    CendioOssman committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    56fa782 View commit details
    Browse the repository at this point in the history
  4. Improved clipboard API

    Change the internal clipboard API to use a request based model in
    order to be prepared for more advanced clipboard transfers.
    CendioOssman committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    615d16b View commit details
    Browse the repository at this point in the history
  5. Use UTF-8 in clipboard API

    In prepartion for better clipboard extensions that can send Unicode
    data between the client and server.
    CendioOssman committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    5fbbe10 View commit details
    Browse the repository at this point in the history
  6. Support extended clipboard transfers

    Implements support in both client and server for the extended
    clipboard format first seen in UltraVNC. Currently only implements
    text handling, but that is still an improvement as it extends the
    clipboard from ISO 8859-1 to full Unicode.
    CendioOssman committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    0ff2655 View commit details
    Browse the repository at this point in the history