summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
| * Respect geometry setting in screen layoutPierre Ossman2018-11-011-0/+14
| | | | | | | | | | We might only be using part of the X server's screen, so make sure the layout we calculate is contained within this part.
* | Merge branch 'altgr' of https://github.com/CendioOssman/tigervncPierre Ossman2018-11-301-4/+40
|\ \
| * | Avoid using "fake" key codesPierre Ossman2018-11-301-4/+40
| | | | | | | | | | | | | | | | | | | | | There is a range of key codes that are never sent by a real keyboard and are therefore used by layouts to hide "fake" mappings. Make sure to only use these as a fallback as some applications get confused when they see these codes.
* | | Document -AcceptSetDesktopSize in x0vncserver.manPierre Ossman2018-11-261-0/+4
|/ / | | | | | | It now accepts this parameter, so make sure it is documented.
* | Allow -AcceptSetDesktopSize in x0vncserverPierre Ossman2018-11-261-3/+0
| | | | | | | | | | | | We disabled it in 0a0e582 since it didn't have support for resizing. But it got that support in 242c5b2, yet we forgot to allow this setting again.
* | Merge branch 'covscan' of https://github.com/grulja/tigervncPierre Ossman2018-11-215-14/+32
|\ \
| * | Fix memory leaksJan Grulich2018-11-203-10/+25
| | |
| * | Check correct return codeJan Grulich2018-11-202-4/+7
| | |
* | | Merge branch 'exittimer' of https://github.com/CendioOssman/tigervncPierre Ossman2018-11-095-3/+17
|\ \ \
| * | | Get rid of SocketServer::checkTimeouts()Pierre Ossman2018-11-092-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | It doesn't belong on each socket server object as timers are global. Force implementations to call the Timer system directly instead, avoiding any middle men.
| * | | Properly terminate server on timeoutsPierre Ossman2018-11-094-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Do a proper cleanup when one of the termination timeouts trigger rather than just exiting on the spot. This makes sure we don't leave stray stuff around, e.g. unix socket files.
* | | | Merge branch 'vncserver' of https://github.com/CendioOssman/tigervncPierre Ossman2018-11-095-75/+90
|\| | |
| * | | Inherit SocketServer directly from VNCServerPierre Ossman2018-10-263-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes VNCServer a sufficiently complete interface that callers don't need to know about the specific implementation (VNCServerST currently). And assuming that all servers will use sockets is not that outrageous.
| * | | Encapsulate client handling in VNCServerSTPierre Ossman2018-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Removed the last parts of VNCSConnectionST's back door in to VNCServerST and let the parent class fully handle coordination of clients, and access to the desktop.
| * | | Remove QueryConnectionHandlerPierre Ossman2018-10-105-57/+77
| | | | | | | | | | | | | | | | | | | | Make things simpler by making this a part of the SDesktop interface that always needs to be implemented.
| * | | Force common flow of connection queriesPierre Ossman2018-10-093-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | Force queryConnection() to always call back to approveConnection() rather than return special values. This makes the flow easier to follow as it will be the same in all cases.
* | | | Adjust XDamage tracking to geometryPierre Ossman2018-11-051-0/+2
| |_|/ |/| | | | | | | | | | | We might have an offset in the area of the screen we're tracking, so make sure that offset is included in the changes we report.
* | | Merge branch 'nojava' of https://github.com/CendioOssman/tigervncPierre Ossman2018-10-266-184/+1
|\| |
| * | Remove Java web serverPierre Ossman2018-10-096-184/+1
| |/ | | | | | | | | Applets don't work anymore so remove everything that has to do with serving them.
* | Merge branch 'x0vncserver-run-destructors' of ↵Pierre Ossman2018-10-261-0/+7
|\ \ | | | | | | | | | https://github.com/x11clone/x11clone
| * | Run listener destructors before terminatingPeter Åstrand (astrand)2018-10-231-0/+7
| |/ | | | | | | Must be done in order to remove UNIX sockets etc.
* / 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.