aboutsummaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* xserver: add no-op input thread init functionLinus Heckemann2020-02-011-0/+9
| | | | | | | | This allows Xvnc to build with xorg-server 1.20.7, which requires OS layers to implement a ddxInputThreadInit function when configured with --enable-input-thread (the default). relevant xorg-server commit: e3f26605d85d987da434640f52646d728f1fe919
* Update copyright year to 2020Pierre Ossman2020-01-161-1/+1
|
* Merge branch 'secfix' of https://github.com/CendioOssman/tigervncPierre Ossman2019-12-203-22/+13
|\
| * Encapsulate PixelBuffer internal detailsPierre Ossman2019-11-153-22/+13
| | | | | | | | | | | | Don't allow subclasses to just override dimensions or buffer details directly and instead force them to go via methods. This allows us to do sanity checks on the new values and catch bugs and attacks.
* | Don't background the main session commandPierre Ossman2019-12-091-1/+1
|/ | | | | | When used with -fg we expect the startup script to remain running until the session is over. This will not happen if the session command is put in the background using &.
* Change development version to 1.10.80Pierre Ossman2019-10-181-1/+1
|
* Do not return returncode indicating error when listing sessionsJan Grulich2019-07-111-1/+1
|
* Use UTF-8 in clipboard APIPierre Ossman2019-07-011-23/+24
| | | | | In prepartion for better clipboard extensions that can send Unicode data between the client and server.
* Improved clipboard APIPierre Ossman2019-07-016-70/+283
| | | | | Change the internal clipboard API to use a request based model in order to be prepared for more advanced clipboard transfers.
* Add UTF-8 to/from ISO 8859-1 conversion routinesPierre Ossman2019-07-013-65/+30
| | | | | We convert between UTF-8 and ISO 8859-1 (latin 1) in several places so create some common routines for this.
* Clean up internal clipboard handlingPierre Ossman2019-07-018-27/+20
| | | | | | We now filter incoming data, which means we can start assuming the clipboard data is always null terminated. This allows us to clean up a lot of the internal handling.
* Make sure clipboard uses \n line endingsPierre Ossman2019-07-013-6/+37
| | | | | | This is required by the protocol so we should make sure it is enforced. We are tolerant of clients that violate this though and convert incoming clipboard data.
* Allow blacklist to be disabledPierre Ossman2019-03-252-0/+10
| | | | | | There might be multiple clients using a single IP (e.g. NAT), which can make the blacklist do more harm than good. So add a setting to disable it if needed.
* Update visible copyright years to 2019Samuel Mannehed2019-02-271-1/+1
|
* Don't build xserver with -I$(includedir) as it breaks cross-compilingJames Le Cuirot2019-02-131-3/+3
| | | | | | | | This is where to install headers to, not where to find headers to build against. Toolchains should know where to locate their system headers while non-system headers should be found using pkg-config. Users with bizarre setups where the toolchain really cannot find the system headers should set CPPFLAGS.
* Add x0vncserver option to only allow localhost connectionsPierre Ossman2019-01-162-1/+12
| | | | Patch originally by @KenMilmore on GitHub.
* Merge branch 'connparams' of https://github.com/CendioOssman/tigervncPierre Ossman2018-12-101-0/+19
|\
| * Make sure we always have a valid screen layoutPierre Ossman2018-12-101-0/+5
| | | | | | | | | | Add more checks and fix some callers to make sure that the server core always has a valid screen layout configured.
| * 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
|