aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Downed hosts should timeout reasonably quicklyBrian P. Hinz2017-02-201-13/+30
|
* Java client was not honoring "ServerName" option in config filesBrian P. Hinz2017-02-202-43/+63
| | | | Mentioned in issue #38
* Fix int <--> ptr conversionAlexander Zakharov2017-02-151-2/+2
|
* Add missing headersAlexander Zakharov2017-02-141-0/+3
|
* Fix wrapping/unwrapping of X11 hooksPierre Ossman2017-02-131-126/+118
| | | | | | The functions might change so we need to also make sure we grab the updated value after each call. Clean up the code to use the same style as the rest of the Xorg code.
* Add missing package dependencyBrian P. Hinz2017-02-101-1/+1
| | | | Fixes issue #408
* Fix regression that omitted support for client redirect.Brian P. Hinz2017-02-103-34/+52
| | | | | | Also, delay showing DesktopWindow until first valid rect has been recieved. This allows for a ClientRedirect to take place before any data rects have been received.
* Fade overlay in and outPierre Ossman2017-02-106-28/+84
|
* Add overlay tip to help find the context menuPierre Ossman2017-02-102-10/+173
|
* Add alpha blending support to surfacesPierre Ossman2017-02-107-21/+137
|
* Render on a temporary surface when neededPierre Ossman2017-02-109-37/+167
| | | | | | Some platforms draw directly to the screen, which means that updates will flicker if we draw multiple layers. Prevent this by first composing the update on a hidden surface.
* Abstract platform rendering to "surfaces"Pierre Ossman2017-02-1016-585/+774
| | | | This will allow us to render more things than just the framebuffer.
* Handle scrolling manuallyPierre Ossman2017-02-102-56/+146
| | | | | Stop fighting with the FLTK scroll widget and handle layout ourselves. This opens up the possibility of doing more complex drawing as well.
* Improve framebuffer performance test measurementPierre Ossman2017-02-101-10/+103
| | | | | Some platforms impose a significant delay per frame, so we need to separate that from the time spent shuffling pixels.
* Remove support for old macOSPierre Ossman2017-02-091-176/+81
| | | | Raising the requirement to 10.5 allows us to clean up the code a bit.
* spelling fixesklemens2017-01-2816-17/+17
|
* Crop cursor before calling maskRect()Pierre Ossman2017-01-201-4/+6
| | | | We can no longer assume maskRect() will tolerate uncropped data.
* Restore cropping API to maskRect()Pierre Ossman2017-01-202-23/+31
| | | | | | We need to restore the previous, more complex API in order to easily handle masks now that we no longer accept out-of-bounds operations.
* Merge branch 'master' of https://github.com/ken3/tigervncPierre Ossman2017-01-191-4/+2
|\
| * Fix for shared memory leakage.TSUKAHARA Ken2017-01-201-4/+2
| |
* | Remove needless static qualifierPierre Ossman2017-01-191-3/+3
| |
* | Harmonise new client handlersPierre Ossman2017-01-191-0/+2
|/ | | | | | One was missing a call to register the fd with the X server, and one forgot to set it to non-blocking. One result of this was a crash when hitting the blacklist.
* Prevent invalid PixelBuffer accessesPierre Ossman2017-01-181-73/+126
| | | | | | There has been multiple attempts at tricking decoders to exceed the boundaries of the active pixel buffer. Add extra checks to prevent such invalid access.
* Check invalid RRE rectsPierre Ossman2017-01-181-0/+5
|
* Fix buffer overflow in ModifiablePixelBuffer::fillRect.Michal Srb2017-01-171-4/+15
| | | | | | It can be triggered by RRE message with subrectangle out of framebuffer boundaries. It may prevent the same kind of issue caused by evil message from another encoding too.
* Do explict sync after XShmPutImage()Pierre Ossman2017-01-116-92/+5
| | | | | The complex logic waiting for events didn't result in any added performance, so use the simpler approach.
* Fix -inetd not working with xserver >= 1.19Hans de Goede2017-01-101-1/+9
| | | | | | | | | | | | | | | | 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 <hdegoede@redhat.com>
* Add Fltk and Gettext include dirs when compiling testsBrian P. Hinz2017-01-081-0/+3
|
* Improve graphics performance on macOSPierre Ossman2017-01-042-35/+40
| | | | | Use the APIs the way Apple wants us to, in order to avoid slow fallback code paths in Quartz.
* Add test to measure framebuffer performancePierre Ossman2017-01-044-0/+291
|
* Remove unused declarations from Viewport.hPierre Ossman2017-01-031-4/+0
|
* Avoid translating simple error exceptionsPierre Ossman2017-01-033-10/+10
| | | | | These are very rare and very low level. Might as well just print the offending call to keep things easily maintained.
* More robust event and close handlingPierre Ossman2017-01-031-5/+9
| | | | | | 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.
* Respect SendClipboard settingPierre Ossman2017-01-021-0/+3
|
* Disable checkboxes for primary selection when relevantPierre Ossman2017-01-022-1/+21
|
* Update French translationStéphane Aulery2017-01-021-153/+155
|
* Use dixChangeWindowProperty() instead of ChangeWindowProperty()Pierre Ossman2016-12-191-13/+15
| | | | | | ChangeWindowProperty() was removed upstream because it was redundant, and dixChangeWindowProperty() has been around since 1.5 so we can safely use that.
* Update .la files on each buildPierre Ossman2016-12-151-0/+4
| | | | | This makes sure other build systems trigger properly, e.g. when building Xvnc.
* Merge pull request #390 from bphinz/static-viewerBrian Hinz2016-12-1051-4279/+6544
|\ | | | | Java viewer refresh
| * Complete rewrite of pixel buffer & decoder implementation.Brian P. Hinz2016-12-1027-1851/+3802
| | | | | | | | | | Adds multi-threading, more robust support for different pixel formats, and several new runtime options.
| * Whitespace cleanupBrian P. Hinz2016-12-101-7/+6
| |
| * Delete unecessary filesBrian P. Hinz2016-12-102-294/+0
| |
| * Method cleanup.Brian P. Hinz2016-12-108-231/+500
| | | | | | | | Sync various methods and filenames with C++ versions
| * Whitespace cleanupBrian P. Hinz2016-12-102-11/+11
| |
| * Update versionBrian P. Hinz2016-12-101-1/+1
| |
| * Added a method for copying between streamsBrian P. Hinz2016-10-201-0/+11
| |
| * Added a method for reading into a ByteBufferBrian P. Hinz2016-10-201-0/+12
| |
| * Cosmetic change (increased border spacing)Brian P. Hinz2016-10-191-1/+1
| |
| * Added filename filters to file chooser dialogsBrian P. Hinz2016-08-284-8/+34
| |
| * Make all viewer parameters static. Viewer instances are isolated from each ↵Brian P. Hinz2016-08-2721-2230/+1748
| | | | | | | | other by spawning a completely new process for each viewer, rather than simply starting a new thread. All dialogs were redesigned to better match the look of the native viewer, and also to be more tolerant of sizing differences between platforms.