aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Clean up VNCSConnectionST::needRenderedCursor()Pierre Ossman2017-02-241-3/+10
| | | | | | | | Make it a bit more readable.
| * Split up VNCSConnectionST::writeFramebufferUpdate()Pierre Ossman2017-02-242-38/+55
| | | | | | | | Make the control flow a bit clearer.
| * Better handling of slow timersPierre Ossman2017-02-241-7/+23
| | | | | | | | | | Make sure the code deals more gracefully with timers that take a long time to execute, and therefore might miss their deadlines.
* | Display performance statistics in viewerPierre Ossman2017-02-246-10/+209
| | | | | | | | | | | | Adds an optional graph to the viewer to display current frame rate, pixel rate and network bandwidth. Makes it easier to debug and test performance related issues.
* | Get correct text width for overlayPierre Ossman2017-02-241-0/+1
| | | | | | | | Incoming width specifies wrapping width, and we do not want any wrapping.
* | Don't try to render cursors with no sizePierre Ossman2017-02-231-0/+5
| | | | | | | | | | Even if there are no pixels it will still trigger sanity checks when we start throwing bogus coordinates around.
* | Remove reallocation log message from ManagedPixelBufferPierre Ossman2017-02-221-1/+0
| | | | | | | | It adds a lot of noise to the debug output with little gain.
* | Server support for cursor with alphaPierre Ossman2017-02-225-6/+69
| |
* | Client support for cursors with full alphaPierre Ossman2017-02-227-0/+68
| |
* | Properly handle depth > 24 in ZRLE decoderPierre Ossman2017-02-221-16/+20
| |
* | Client support for X CursorPierre Ossman2017-02-223-1/+62
| |
* | Dither cursors when reducing depthPierre Ossman2017-02-221-19/+119
| |
* | Change cursor API to use RGBA dataPierre Ossman2017-02-2225-467/+374
| | | | | | | | | | This will allow us to use better formats that preserve the entire alpha channel.
* | Fix for exception handling in decoder threadsPierre Ossman2017-02-221-1/+1
| |
* | 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
| |