summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Make vncRandRGetOutputDimensions tolerant for disabled outputsPeter Åstrand (astrand)2018-04-093-10/+17
| | | | | | | | | | | | | | | | Return error if no CRTC.
| * | | Remove "screen" argument from Randr glue functionsPeter Åstrand (astrand)2018-04-099-69/+94
| | | | | | | | | | | | | | | | Screen is a Xvnc thing and not relevant for x0vncserver etc.
| * | | Removed support for building without RANDR definePeter Åstrand (astrand)2018-04-095-74/+1
| | | | | | | | | | | | | | | | | | | | RANDR is mandatory since Xorg 1.7, which is the oldest version we support.
| * | | Corrected RandR wrapper return codesPeter Åstrand (astrand)2018-04-094-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In RandR land, there's a lot of return code confusion. Our wrappers are using the same return codes as RRCrtcSet, RRScreenSizeSet: 1/TRUE for success. Fixes: * vncRandRCreateOutputs did not follow this convention * A lot of code returned -1 upon failure * vncRandRDisableOutput returned 0 for already disabled outputs
| * | | Move computeScreenLayout/setScreenLayout to unixcommon libPeter Åstrand (astrand)2018-04-0914-497/+664
| | | | | | | | | | | | | | | | | | | | | | | | These two code blocks are not specific to Xvnc/vnc.so, but useful for x0vncserver as well. RandrGlue.h defines the interface on which unixcommon depends on.
| * | | vncRandRGetOutputName: return a copy of the stringPeter Åstrand (astrand)2018-04-093-7/+14
| | | | | | | | | | | | | | | | | | | | Compatibility with libXrandr, where the name is in dynamically allocated XRROutputInfo.
| * | | Make vncRandRGetOutputId return the actual id; not a pointerPeter Åstrand (astrand)2018-04-094-7/+7
| | | | | | | | | | | | | | | | Less confusing, and compatible with libXrandr.
| * | | Indented computeScreenLayout and setScreenLayoutPeter Åstrand (astrand)2018-04-091-28/+28
|/ / / | | | | | | | | | Should use 2 spaces like the rest of the project.
* | | Remove no longer relevant license commentPierre Ossman2018-03-281-14/+0
| | |
* | | Stop abusing InputHandler class for write classPierre Ossman2018-03-284-18/+18
| | | | | | | | | | | | | | | | | | The handler is for incoming data and we should not be abusing that class for the writer class. Do proper write prototypes for the relevant functions.
* | | Add missing break for LED state checkPierre Ossman2018-03-281-0/+1
|/ / | | | | | | | | The previous code would incorrectly also add support for QEMU key events if LED state was supported.
* | Replace "frames" with "updates" in statsPierre Ossman2018-03-264-21/+21
| | | | | | | | | | | | The VNC servers aren't great at getting full frames with each update, so avoid calling it "frames per second" in the statistics as that can be misleading.
* | Set focus to password field in UserDialogBrian P. Hinz2018-03-211-3/+7
|/ | | | Fixes issue #616
* Merge branch 'altgraph' of https://github.com/CendioOssman/tigervncPierre Ossman2018-03-085-41/+131
|\
| * Update keyboard test doc for shift on WindowsPierre Ossman2018-03-081-1/+1
| | | | | | | | | | Shift key handling was improved in 30b3f92, but the test documentation wasn't updated.
| * Handle Ctrl+AltGr on WindowsPierre Ossman2018-03-084-19/+79
| | | | | | | | | | Improve AltGr detection even further on Windows so we can detect the case when Ctrl and AltGr are pressed together.
| * Better detection of AltGr on WindowsPierre Ossman2018-03-083-39/+69
| | | | | | | | | | | | Try to properly detect the fake CtrlL+AltR sequence Windows sends when pressing AltGr. This allows us to send more accurate key events over to the server.
* | Add Indonesian translationAndika Triwidada2018-03-082-0/+660
| |
* | Fix indentation in XDesktop.cxxPierre Ossman2018-03-071-257/+257
| | | | | | | | | | It wasn't properly updated in 3112f50 when it was split off from x0vncserver.cxx.
* | Unset pixel buffer when x0vncserver client disconnects.Michal Srb2018-03-071-1/+5
| | | | | | | | | | | | In XDesktop::start() we allocate pixel buffer and set it as the backend to the given VNCServer. In XDesktop::stop() we deallocate the buffer, so we must unset it from the VNCServer as well. Otherwise the VNCServer could try to access it and crash, for example in deferred update.
* | 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.