summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw
Commit message (Collapse)AuthorAgeFilesLines
* TigerVNC 1.10.0v1.10.0Pierre Ossman2019-11-181-1/+1
|
* TigerVNC 1.9.90 (1.10.0 beta)v1.9.90Pierre Ossman2019-10-181-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-016-25/+18
| | | | | | 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-251-0/+5
| | | | | | 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.
* 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.
* Merge branch 'covscan' of https://github.com/grulja/tigervncPierre Ossman2018-11-213-6/+9
|\
| * Fix memory leaksJan Grulich2018-11-201-2/+2
| |
| * Check correct return codeJan Grulich2018-11-202-4/+7
| |
* | Merge branch 'exittimer' of https://github.com/CendioOssman/tigervncPierre Ossman2018-11-092-1/+8
|\ \
| * | Get rid of SocketServer::checkTimeouts()Pierre Ossman2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | 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-092-0/+7
| | | | | | | | | | | | | | | | | | 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-092-19/+23
|\| |
| * | Inherit SocketServer directly from VNCServerPierre Ossman2018-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Remove QueryConnectionHandlerPierre Ossman2018-10-102-6/+15
| | | | | | | | | | | | | | | 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-092-13/+8
| | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'nojava' of https://github.com/CendioOssman/tigervncPierre Ossman2018-10-265-176/+1
|\| |
| * | Remove Java web serverPierre Ossman2018-10-095-176/+1
| |/ | | | | | | | | Applets don't work anymore so remove everything that has to do with serving them.
* / Change to https for tigervnc URLPierre Ossman2018-10-192-2/+2
|/ | | | 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
|
* 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-111-1/+9
| | | | | | | | 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.
* Add a basic gitignoreLauri Kasanen2018-07-111-0/+1
|
* 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-082-1/+11
| | | | | | 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.
* 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-044-16/+16
| | | | | Makes the code more general and not directly tied to specifically TCP sockets.
* 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 a tryScreenLayout functionPeter Åstrand (astrand)2018-04-094-23/+141
| | | | This can be used to test if a layout if possible.
* Select the correct output for new screensPeter Åstrand (astrand)2018-04-091-0/+10
| | | | | | | | | | 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.
* 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-091-6/+13
| | | | Return error if no CRTC.
* Remove "screen" argument from Randr glue functionsPeter Åstrand (astrand)2018-04-096-21/+49
| | | | 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-093-9/+9
| | | | | | | | | | | | 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-099-496/+296
| | | | | | 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.
* Update visible copyright year to 2018Samuel Mannehed2018-02-081-1/+1
|