aboutsummaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Change to https for tigervnc URLPierre Ossman2018-10-196-6/+6
| | | | Our main web site now supports https, so update all references.
* Replace Shift+Alt with Shift+Meta when possiblePierre Ossman2018-09-211-0/+24
| | | | | | | | Most layouts on Unix generate Meta for Shift+Alt but non-Unix clients will send XK_Alt_*. This results in us picking some other key which can confuse some applications. Try to detect this scenario and map XK_Alt_* to XK_Meta_*.
* Update NumLock comment now that we have syncPierre Ossman2018-09-211-3/+3
|
* Fix bad color of cursor with x0vncserverPierre Ossman2018-09-181-6/+5
| | | | | We cannot assume endian-ness for the cursor we get from XFixes. Adjust the algorithm to properly follow the specification.
* Stop tracking changes for each glyphPierre Ossman2018-09-131-20/+34
| | | | | | We get a whole bunch of very tiny areas, which is very inefficient to deal with. Instead create a rectangle around every "list" of connected glyphs (usually each line).
* Explicitly check screen layout after changePierre Ossman2018-09-112-5/+16
| | | | | | | | There are some cases where the server state will not automatically be updated on a change. A prominent one is when only RFB attributes were changes (e.g. the screen ID) but nothing else. In that case there is no actual change in the X server, so it never sends any notification about change back to us.
* Adjust cursor position according to geometryPierre Ossman2018-09-101-0/+2
| | | | | x0vncserver might only be observing part of the display, so we need to adjust any coordinates before we give them to the RFB core.
* Add debug output for x0vncserver key eventsPierre Ossman2018-07-251-1/+5
|
* Handle Shift+Tab (ISO_Left_Tab) in x0vncserverPierre Ossman2018-07-251-4/+10
|
* Add a basic gitignoreLauri Kasanen2018-07-115-0/+8
|
* Compile fixes for Xserver 1.9Lauri Kasanen2018-07-092-16/+20
|
* Avoid error/warning about implicit function declarationJan Grulich2018-06-281-0/+3
| | | | | | | Function xorgGlxCreateVendor() is defined in glx_extinit.h, if this header is not included, we might get either error or warning. This header also need to be included after scrninststr.h header as it defines some structures used in glx_extinit.h
* Change development version to 1.9.80Pierre Ossman2018-06-131-1/+1
|
* Add support for X server 1.20.0.Michal Srb2018-06-083-1/+93
| | | | | | In-server GLVND requires xorgGlxCreateVendor call from InitOutput. DPMS functions were moved to another location and no longer need to be faked. xserver120.patch is a copy of xserver119.patch with refreshed contexts.
* Merge branch 'unix' of https://github.com/CendioOssman/tigervncPierre Ossman2018-05-299-24/+82
|\
| * Unix socket support in x0vncserverPierre Ossman2018-05-292-2/+19
| |
| * Proper cleanup on termination of Xvnc/libvnc.soPierre Ossman2018-05-293-0/+14
| |
| * Merge common socket codePierre Ossman2018-05-292-2/+2
| |
| * Add support for Unix socketsPierre Ossman2018-05-292-0/+27
| | | | | | | | Patch originally by Dag-Erling Smørgrav for University of Oslo.
| * Use abstract SocketListener classPierre Ossman2018-05-045-20/+20
| | | | | | | | | | Makes the code more general and not directly tied to specifically TCP sockets.
* | x0vncserver: Make sure rotation for new outputs is set to RR_Rotate_0Peter Åstrand (astrand)2018-05-081-0/+1
| | | | | | | | | | The Xserver (at least Xorg 1.19) rejects RRSetCrtcConfig requests if rotation is zero.
* | Handle view only password in vncpasswd filter modePierre Ossman2018-05-072-5/+18
|/
* Improve out-of-tree build of Xvnc/libvnc.soPierre Ossman2018-04-131-8/+8
| | | | | With the new unixcommon library we have things outside of common/, so make the handling of out-of-tree builds more general.
* Add RandR support for x0vncserverPeter Åstrand (astrand)2018-04-096-6/+828
| | | | | | | | Change Xserver screen through libXrandr. For complex configurations, all outputs must have corresponding size modes. As a special case, if the client requests a single screen with an odd size (for example when adjusting the size of a non-fullscreen vncviewer), find a smaller suitable mode, and reduce the framebuffer size as well.
* Add a tryScreenLayout functionPeter Åstrand (astrand)2018-04-097-60/+282
| | | | This can be used to test if a layout if possible.
* Add debug log messagesPeter Åstrand (astrand)2018-04-091-12/+27
|
* Avoid disabling outputs which are already disabledPeter Åstrand (astrand)2018-04-091-0/+4
| | | | | Better to avoid making unnecessary calls, but mainly we want to avoid logging false errors.
* Select the correct output for new screensPeter Åstrand (astrand)2018-04-094-27/+99
| | | | | | | | | | For example, if we have earlier disabled an output because it was too large for the framebuffer, we should prefer this output when allocating new outputs. Move the code that turn off unused outputs to the end. Also, add support for checking the output connection state.
* Disable outputs which are larger than the target framebuffer sizePeter Åstrand (astrand)2018-04-091-1/+21
| | | | | Apparently this is not necessary when using the internal API, but a must with libXrandr.
* vncRandRDisableOutput: Disable only the requested outputPeter Åstrand (astrand)2018-04-091-1/+26
| | | | | This only matters when using clones, which we do not accept yet. This patch is for completeness and to avoid future surprises.
* 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.
* 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.
* 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
| |
* | Update visible copyright year to 2018Samuel Mannehed2018-02-081-1/+1
|/
* 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.
* Rename README.txt to README.rst and convert to reStructuredTextPeter Åstrand (astrand)2018-01-311-1/+1
|
* Hook remaining XRender operationsPierre Ossman2018-01-231-0/+304
| | | | We had overlooked a few so we didn't track all screen changes properly.