aboutsummaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Move XDesktop specific parameters in to same filePierre Ossman2017-11-082-7/+5
|
* x0vncserver does not support SetDesktopSize; remove -AcceptSetDesktopSizePeter Åstrand (astrand)2017-11-081-0/+3
| | | | Add a Configuration::removeParam to support such cases.
* Removed IRIX/Solaris overlay supportPeter Åstrand (astrand)2017-11-085-289/+4
| | | | Legacy systems.
* Remove support for Lynx/OSPeter Åstrand (astrand)2017-11-083-15/+0
|
* Added my/Cendio copyright where relevantPeter Åstrand (astrand)2017-11-082-0/+2
|
* Set the correct cursor when startingPeter Åstrand (astrand)2017-11-082-6/+16
| | | | | XFixes only reports cursor changes. We must manually call XFixesGetCursorImage() when starting.
* Move XDesktop to separate filePeter Åstrand (astrand)2017-11-084-419/+499
| | | | Define ledNames in XDesktop.cxx, rename N_LEDS to XDESKTOP_N_LEDS
* Using namespace rfb in header files is a bad ideaPeter Åstrand (astrand)2017-11-075-17/+15
|
* Build with support for MIT-SHMPeter Åstrand (astrand)2017-11-072-11/+1
| | | | No need for ifdefs; we can assume MITSHM. Already done in vncviewer.
* Add debug trace when the clipboard changesPierre Ossman2017-10-121-0/+3
|
* Don't validate timestamp on clipboard requestPierre Ossman2017-10-121-7/+5
| | | | | The normal Xorg server doesn't check this field, so neither can we as there are applications relying on this leniancy.
* Push query connect timeout back in to XvncPierre Ossman2017-10-042-5/+28
| | | | | | It was moved to the common code in f8e3b34c6, but it was unreliable because the state could sometimes get out of sync. Push it back in to Xvnc since it isn't necessarily something all servers will have.
* Don't queue a query if it is directly rejectedPierre Ossman2017-10-041-6/+6
| | | | | Otherwise we'll wedge the desktop object which expects an approval or rejection to eventually show up.
* Get rid of getFbSize()/getDesktopSize() in commonPierre Ossman2017-09-222-5/+0
| | | | It was only used by WinVNC, so push it there instead.
* Handle unknown keysyms properly in x0vncserverPierre Ossman2017-09-151-1/+1
| | | | | We would accidentally store they keycode 0 for unknown keysyms, wedging the lookup table.
* Handle XKB groups properly in x0vncserverPierre Ossman2017-09-151-2/+5
|
* Update mouse cursor position in x0vncserverPierre Ossman2017-09-151-0/+8
| | | | | This is necessary to make sure the server side rendered cursor works properly.
* Only select XFixes event oncePierre Ossman2017-09-151-11/+4
| | | | | We never un-select it, and it's not a problem if we get extra ones so register it once right away.
* Merge branch 'cursor' of https://github.com/alanc/tigervncPierre Ossman2017-09-152-2/+93
|\
| * x0vncserver: Use Xfixes to display cursors if availableAlan Coopersmith2017-08-052-12/+106
| | | | | | | | | | | | | | | | | | | | https://github.com/TigerVNC/tigervnc/issues/361 This is a simple implementation that refetches and transforms the cursor image every time it changes, and doesn't use the cursor naming functions of the XFixes extension to save & cache cursor images. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* | Merge branch 'x0vncshift' of https://github.com/CendioOssman/tigervncPierre Ossman2017-09-151-4/+52
|\ \
| * | Respect modifiers in x0vncserverPierre Ossman2017-08-211-4/+55
| |/ | | | | | | | | | | | | | | | | | | Using XKeysymToKeycode() often gives the incorrect keycode as it doesn't respect the current modifier state. Use XKB to find the proper key instead. This however also means that we need to track the mapping for all pressed keys to make sure we know the correct keycode when it is time to release the key.
* | Fix indentation bugPierre Ossman2017-09-111-1/+3
| |
* | Add support for raw key codes to Xvnc/libvnc.soPierre Ossman2017-09-117-10/+456
| |
* | x0vncserver: keyEvent(): use scancodes if availablePeter Korsgaard2017-09-115-2/+424
| | | | | | | | | | | | | | | | | | | | | | | | Use the client provided (using QEMU extendend key event) scancodes if available instead of reverse mapping the keysym. X11 unfortunately uses keyboard driver specific keycodes and provides no direct way to query this, so guess based on the keyboard mapping. Handle the two most likely keyboard drivers, the old xorgkbd and evdev. Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
* | Basic support for QEMU Extended Key EventsPierre Ossman2017-08-283-4/+4
| | | | | | | | | | | | This adds the basic infrastructure and handshake for the QEMU Extended Key Events extension. No viewer or server makes use of the extra functionality yet though.
* | x0vncserver: add support for led state notificationsPeter Korsgaard2017-08-281-15/+77
| | | | | | | | | | | | | | Listen for XKb XkbIndicatorStateNotify events for scroll/num/caps lock and map them to the RFB protocol. Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
* | Add support for lock LED state to Xvnc/libvnc.soPierre Ossman2017-08-245-1/+34
| |
* | Add server side lock key sync heuristicPierre Ossman2017-08-243-25/+0
|/ | | | Based on QEMU's behaviour.
* Merge branch 'master' of https://github.com/grulja/tigervncPierre Ossman2017-05-091-3/+7
|\
| * Make RandR callbacks optional as they were beforeJan Grulich2017-05-041-3/+7
| |
* | Remove INITARGS from xserver119.patchVishal Biswas2017-05-081-1/+1
|/
* Change development version to 1.8.80Pierre Ossman2017-04-191-1/+1
|
* Update visible copyright year to 2017Samuel Mannehed2017-03-201-1/+1
|
* Merge branch 'fps' of https://github.com/CendioOssman/tigervncPierre Ossman2017-02-242-2/+1
|\
| * Remove unused variable deferredUpdateTimerSetPierre Ossman2017-02-242-2/+1
| |
* | Change cursor API to use RGBA dataPierre Ossman2017-02-221-21/+12
| | | | | | | | | | This will allow us to use better formats that preserve the entire alpha channel.
* | Fix int <--> ptr conversionAlexander Zakharov2017-02-151-2/+2
| |
* | Fix wrapping/unwrapping of X11 hooksPierre Ossman2017-02-131-126/+118
| | | | | | | | | | | | The functions might change so we need to also make sure we grab the updated value after each call. Clean up the code to use the same style as the rest of the Xorg code.
* | spelling fixesklemens2017-01-283-3/+3
| |
* | Remove needless static qualifierPierre Ossman2017-01-191-3/+3
| |
* | Harmonise new client handlersPierre Ossman2017-01-191-0/+2
| | | | | | | | | | | | One was missing a call to register the fd with the X server, and one forgot to set it to non-blocking. One result of this was a crash when hitting the blacklist.
* | Fix -inetd not working with xserver >= 1.19Hans de Goede2017-01-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xserver 1.19's OsInit will create a pollfd, followed by checking if fd 2 / stderr is writable and if it is not, replacing fd 2 with /dev/null. Since we close stderr in inetd mode to avoid xserver messages being send to the client as vnc data, the pollfd becomes fd 2, only to be replaced by /dev/null since a pollfd is not writable. This commit fixes this by opening /dev/null directly after the close(2), avoiding that the pollfd becomes fd 2. Alan Coopersmith: Change to use dup2() for atomic switch of fd Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* | Use dixChangeWindowProperty() instead of ChangeWindowProperty()Pierre Ossman2016-12-191-13/+15
|/ | | | | | ChangeWindowProperty() was removed upstream because it was redundant, and dixChangeWindowProperty() has been around since 1.5 so we can safely use that.
* Handle select() errorsPierre Ossman2016-10-051-0/+6
|
* Merge X server block handling code pathsPierre Ossman2016-10-056-403/+242
| | | | | Use the new X server API as the reference system and emulate it on the older API. Avoids a lot of code duplication.
* Add xorg-xserver 1.19 supportHans de Goede2016-10-058-4/+343
|
* Do not depends on mcookie commandKoichiro IWAO2016-10-051-2/+18
| | | | | | | | for operating systems other than GNU/Linux. mcookie is a part of util-linux. Usually only GNU/Linux systems have it. Do not die even if mcookie is not found. Use the previous pure perl code to generate cookie as fallback.
* remove trailing spaceKoichiro IWAO2016-10-031-5/+5
|
* Remove INITARGS from recent xserver patchesPierre Ossman2016-09-226-6/+6
| | | | INITARGS isn't used since Xorg 1.13, so remove it from our patches.