Commits on Jan 11, 2017
  1. Do explict sync after XShmPutImage()

    The complex logic waiting for events didn't result in any added
    performance, so use the simpler approach.
    CendioOssman committed Jan 11, 2017
Commits on Jan 10, 2017
  1. Fix -inetd not working with xserver >= 1.19

    xserver 1.19's OsInit will create a pollfd, followed by checking if fd 2 /
    stderr is writable and if it is not, replacing fd 2 with /dev/null.
    Since we close stderr in inetd mode to avoid xserver messages being send
    to the client as vnc data, the pollfd becomes fd 2, only to be replaced
    by /dev/null since a pollfd is not writable.
    This commit fixes this by opening /dev/null directly after the close(2),
    avoiding that the pollfd becomes fd 2.
    Alan Coopersmith: Change to use dup2() for atomic switch of fd
    Signed-off-by: Hans de Goede <>
    jwrdegoede committed with CendioOssman Jan 9, 2017
Commits on Jan 8, 2017
Commits on Jan 4, 2017
  1. Improve graphics performance on macOS

    Use the APIs the way Apple wants us to, in order to avoid slow
    fallback code paths in Quartz.
    CendioOssman committed Dec 29, 2016
Commits on Jan 3, 2017
  1. Avoid translating simple error exceptions

    These are very rare and very low level. Might as well just print
    the offending call to keep things easily maintained.
    CendioOssman committed Dec 17, 2016
  2. More robust event and close handling

    There were still some circumstances where we could get stuck reading
    data and not respect close events properly. Move that logic to a more
    central place in order to make it more reliable.
    CendioOssman committed Dec 29, 2016
Commits on Jan 2, 2017
  1. Update French translation

    lkppo committed with CendioOssman Dec 23, 2016
Commits on Dec 19, 2016
  1. Use dixChangeWindowProperty() instead of ChangeWindowProperty()

    ChangeWindowProperty() was removed upstream because it was redundant,
    and dixChangeWindowProperty() has been around since 1.5 so we can
    safely use that.
    CendioOssman committed Dec 19, 2016
Commits on Dec 15, 2016
  1. Update .la files on each build

    This makes sure other build systems trigger properly, e.g. when
    building Xvnc.
    CendioOssman committed Dec 11, 2016
Commits on Dec 11, 2016
  1. Merge pull request #390 from bphinz/static-viewer

    Java viewer refresh
    bphinz committed on GitHub Dec 11, 2016
  2. Complete rewrite of pixel buffer & decoder implementation.

    Adds multi-threading, more robust support for different pixel formats,
    and several new runtime options.
    bphinz committed Dec 11, 2016
  3. Whitespace cleanup

    bphinz committed Dec 11, 2016
  4. Delete unecessary files

    bphinz committed Dec 11, 2016
  5. Method cleanup.

    Sync various methods and filenames with C++ versions
    bphinz committed Dec 11, 2016
  6. Whitespace cleanup

    bphinz committed Dec 11, 2016
  7. Update version

    bphinz committed Dec 11, 2016
Commits on Nov 10, 2016
Commits on Nov 8, 2016
Commits on Nov 6, 2016
  1. Update Ubuntu package dependencies.

    Fixes #360
    bphinz committed Nov 6, 2016
  2. Update package build dependecies.

    Fixes #349
    bphinz committed Nov 6, 2016
Commits on Nov 4, 2016
  1. hextileDecode.h: Fix buffer overflow

    The hextileDecodexx functions do not properly check for out-of-bounds writes,
    which allows a malicious server to overwrite parts of the stack.
    atalax committed Nov 4, 2016
Commits on Oct 25, 2016
  1. MacOS package: Added NSHighResolutionCapable tag to Info.plist

    With the flag the application will start enable the high resolution
    display. I tested this on a Macbook Pro with a High Resolution Display.
    The fonts are better to read.
    fredowski committed Oct 25, 2016
Commits on Oct 20, 2016
Commits on Oct 17, 2016
  1. Update Esperanto translation

    fefcas committed with CendioOssman Oct 16, 2016
Commits on Oct 10, 2016
  1. Fix busy loop in FdOutStream::flush()

    This bug was introduced in c6df31d. A non-blocking socket that did
    not have any more space would busy loop until the write succeeded.
    Instead now it returns without any action, just as it did before
    the bug was introduced.
    CendioOssman committed Oct 10, 2016
Commits on Oct 5, 2016
  1. Handle select() errors

    CendioOssman committed Oct 5, 2016
  2. Merge X server block handling code paths

    Use the new X server API as the reference system and emulate it on
    the older API. Avoids a lot of code duplication.
    CendioOssman committed Oct 5, 2016
  3. Move getSockets() to SocketServer interface

    Any caller using add or remove should also be able to list the
    CendioOssman committed Oct 5, 2016