aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* VNCServerST: Allow unsetting pixel buffer.Michal Srb2018-03-071-10/+6
| | | | | Originally calling VNCServertST::setPixelBuffer(PixelBuffer* pb_) with pb_=0 would do nothing. With this change pb will be set to 0 and deferred update timer will be stopped.
* Fix rounding error in pixel down conversionPierre Ossman2018-03-014-20/+26
| | | | | | Simple shifting can give noticable rounding errors if there is a large difference in the number of bits between the formats. Do the proper thing via a lookup table, the same way things are done for up conversion.
* Fix calculation of conversion test target valuesPierre Ossman2018-03-011-3/+3
| | | | | Bit shifting gives an approximate, but not properly accurate value when upconverting. Do a proper calculation.
* Check for TrueColor support in x0vncserverPierre Ossman2018-02-273-9/+12
| | | | | Colour map support was removed in b6b4dc6, but x0vncserver didn't properly check if the X server required it.
* Merge branch 'escape-opts' of https://github.com/olivergondza/tigervncPierre Ossman2018-02-271-1/+1
|\
| * Make sure auth argument is escapedOliver Gondža2018-02-201-1/+1
| |
* | Merge branch 'congestion' of https://github.com/CendioOssman/tigervncPierre Ossman2018-02-2611-219/+650
|\ \
| * | Add crude congestion window debug tracePierre Ossman2017-11-173-0/+44
| | | | | | | | | | | | | | | Allows us to compare our computed congestion window with the underlying one used by the TCP layer.
| * | Add simple slow start to congestion controlPierre Ossman2017-11-172-22/+56
| | |
| * | Improved congestion control handlingPierre Ossman2017-11-176-118/+363
| | | | | | | | | | | | | | | | | | Refine the previous method by interpolating the values we need. This reduces the effect of the problem that we cannot send enough ping packets.
| * | Move congestion control to its own classPierre Ossman2017-11-175-207/+292
| | | | | | | | | | | | | | | It's a general function and it's better to have that particular complexity in its own place.
| * | Reduce header dependencies in server classesPierre Ossman2017-11-175-13/+19
| | |
| * | Use a queue for congestion pingsPierre Ossman2017-11-172-16/+30
| | | | | | | | | | | | | | | This reduces the data sent, and avoids any problems with the client corrupting it.
| * | Handle timers which should be executed right awayPierre Ossman2017-11-171-0/+3
| | |
* | | Fix incorrect numbers in performance debug graphPierre Ossman2018-02-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Copy paste errors/brain fart: - Pixels do not need a factor 8 for any conversion - Multiplying bytes by 8 gives bits, so lower case 'b', and bits use SI prefixes, not IEC
* | | Update visible copyright year to 2018Samuel Mannehed2018-02-088-8/+8
| |/ |/|
* | Fix for RENDER hooks on Xorg < 1.12Pierre Ossman2018-02-051-0/+12
| | | | | | | | | | TriFan and TriStrip were added in 1.12, so we need to have that code conditional to support older versions of Xorg.
* | Add overlooked parameters to Xvnc and x0vncserver man pagesPierre Ossman2018-02-052-0/+44
| | | | | | | | | | | | There were a bunch of parameters that weren't properly added to the man pages when the features were added. Make sure everything is properly in sync.
* | Sync x0vncserver and Xvnc man pagesPierre Ossman2018-02-052-95/+108
| | | | | | | | | | They share a lot of settings, so make sure the documentation is identical in those cases.
* | Remove DeferUpdate from man pagesPierre Ossman2018-02-052-32/+0
| | | | | | | | | | The funcationality was removed in 6e49e95, so let's also clean up the documentation referring to it.
* | Merge branch 'readme-rst' of https://github.com/x11clone/x11clonePierre Ossman2018-01-3115-24/+24
|\ \
| * | Rename README.txt to README.rst and convert to reStructuredTextPeter Åstrand (astrand)2018-01-3115-24/+24
| | |
* | | Update Spanish translationFrancisco Javier Serrador2018-01-291-575/+499
|/ /
* | Don't parse FLTK arguments using Fl::arg; handle -display as other optionsPeter Åstrand (astrand)2018-01-293-3/+7
| | | | | | | | | | | | Fl::arg accepts several arguments which we are not documenting. Also, it accepts a -geometry argument, which clashes with our own -geometry option.
* | Hook remaining XRender operationsPierre Ossman2018-01-231-0/+304
| | | | | | | | We had overlooked a few so we didn't track all screen changes properly.
* | Update UI look on macOSPierre Ossman2018-01-221-5/+5
| | | | | | | | | | macOS no longer uses the old Aqua look, so tweak our things to fit in better with the current state of things.
* | Restore menukey function to java viewerBrian P. Hinz2018-01-163-4/+8
| | | | | | | | Menukey was broken by recent refactoring of OptionsDialog
* | Fixes for erros in java hextile/zrle decodersBrian P. Hinz2018-01-1616-386/+274
| | | | | | | | | | | | Various errors exposed when connecting to RealVNC servers on alternative platforms (ARM, SPARC). SSLEngineManager was also cleaned up but most of the changes are cosmetic.
* | Use XShmGetImage for large readsPeter Åstrand (astrand)2018-01-151-2/+7
| | | | | | | | | | XShmGetImage is much faster. On my machine, this reduces the CPU usage of a fullscreen Youtube video playback from 40% to 25%.
* | Use current server time for XUngrabPointerPeter Åstrand (astrand)2018-01-151-1/+1
| | | | | | | | | | | | Similar to 841e9f32d5952d6f16f67294c2da8bf395066a9b but for the pointer. Fixes a problem where the desktop environment is unresponsive (to the mouse) after fullscreen exit; Fixes #579.
* | My copyright was listed twice, fixedPeter Åstrand (astrand)2018-01-091-2/+1
| |
* | Merge branch 'fatal' of https://github.com/CendioOssman/tigervncPierre Ossman2017-12-076-64/+52
|\ \
| * | Adjust dimensions for rotated monitorsPierre Ossman2017-12-071-0/+10
| | | | | | | | | | | | | | | We need to flip the dimensions in the case the monitor is rotated 90° or they won't map correctly to the framebuffer.
| * | Make VNC extension startup mandatoryPierre Ossman2017-12-074-63/+15
| | | | | | | | | | | | | | | | | | No longer tolerate loading the VNC extension but not being able to initialize it. This avoids a lot of error prone checking to see if the extension has started fully or not.
| * | Call FatalError on fatal exceptionsPierre Ossman2017-12-073-1/+27
| | |
* | | Display security state when asking for password (java)Brian P. Hinz2017-11-3013-17/+62
| | |
* | | Move UserPasswordGetter out of CConnBrian P. Hinz2017-11-3011-107/+243
| | |
* | | Fix secure/insecure imagesPierre Ossman2017-11-272-117/+68
| | | | | | | | | | | | | | | They were converted at the wrong resolution, and FLTK chokes on color names so make sure all colors are specified in hex.
* | | Update package dependencies for Ubuntu TrustyBrian P. Hinz2017-11-261-3/+3
|/ /
* | Stop using CopyRect in WinVNCPierre Ossman2017-11-241-5/+5
| | | | | | | | | | | | It cannot keep itself in sync with the actual screen contents well enough for CopyRect to work accurately. Graphical glitches could be seen in some cases.
* | Merge branch 'pause' of https://github.com/CendioOssman/tigervncPierre Ossman2017-11-173-8/+68
|\ \
| * | Handle Ctrl+Alt+Delete in raw keyboard modePierre Ossman2017-11-131-0/+8
| | | | | | | | | | | | | | | Ctrl+Alt+Delete requires special handling to trigger on Windows. Make sure this works in raw keyboard mode as well.
| * | Send proper keysym when Break is pressedPierre Ossman2017-11-131-0/+1
| | | | | | | | | | | | | | | Ctrl+Pause sends break which results in a different VKEY on Windows. Make sure we map that properly to the equivalent keysym.
| * | Handle right shift better on WindowsPierre Ossman2017-11-131-0/+14
| | | | | | | | | | | | | | | The shift buttons are a bit buggy on Windows unfortunately, but we can do slightly better than we're doing today.
| * | Handle Windows scan code exceptionsPierre Ossman2017-11-132-9/+46
| | | | | | | | | | | | | | | Windows mostly follows the AT set 1 scan codes that we want, but there are a few exceptions.
* | | Remove double cursor workaround in clientPierre Ossman2017-11-171-6/+0
| | | | | | | | | | | | | | | We've fixed the issue more properly in the server now, so remove the workaround we had in the client.
* | | Fix bug where server cursor might disappearPierre Ossman2017-11-171-6/+4
| | | | | | | | | | | | | | | | | | | | | We shouldn't unconditionally remove the server side cursor just because the client supports client side cursors. We need to also check that the client fulfills the other criteria for taking over the cursor.
* | | Avoid extra framebuffer update messagesPierre Ossman2017-11-171-17/+5
| | | | | | | | | | | | | | | | | | In most cases we will send an update at the end of processing client messages so these extra calls only slow things down. Server initiated events still need an explicit call though.
* | | Fix for initial client side cursorPierre Ossman2017-11-172-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | Improve the tracking of what cursor we've sent to the client to make sure the initial cursor is sent properly. We previously tried to infer this information based on if we've rendered a server side cursor or not. This logic broke down if things triggered before we've sent the first update to the client.
* | | Fix "int-in-bool-context" compile errorsBrian P. Hinz2017-11-162-2/+2
| | |