summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Make sure we check failed memory allocationsPierre Ossman2014-10-102-1/+23
|
* Fix pointer initialization to prevent NULL events.Brian P. Hinz2014-09-291-4/+4
| | | | Moved call to initEventq() into InitInputDevice() to prevent NULL events from being passed in. The surrounding IFDEF explains why Red Hat BZ bug #820443 just went away, EL6 bumped the version of xorg-x11-server-source to 1.13 at EL6.4.
* Applying xserver115.patch fails on Ubuntu xorg-server source at hunk 2. ↵Brian P. Hinz2014-09-191-8/+0
| | | | Wayland was not merged into the Xorg tree until 1.16
* Correct naming convention for some parametersPierre Ossman2014-09-172-8/+8
|
* Remove unused VideoArea parameterPierre Ossman2014-09-173-49/+0
|
* Avoid extra spacing in the generated man pagesPierre Ossman2014-09-174-58/+104
|
* Update server man pages to reflect current list of optionsPierre Ossman2014-09-172-46/+143
|
* Document the -list argument to vncserverPierre Ossman2014-09-171-0/+6
|
* Remove the date from man pagesPierre Ossman2014-09-175-5/+5
| | | | It's not something we're keeping up to date anyway.
* Clean up the authors section of the man pagesPierre Ossman2014-09-175-19/+23
|
* Added missing part of write block handler.Tim Waugh2014-09-091-0/+22
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1137023
* Fix linking when dri3 and present are enabled.Tim Waugh2014-09-041-1/+1
|
* No need to declare 'display' here either.Tim Waugh2014-09-041-1/+0
|
* GCFuncs and GCOps are const since 1.16.Tim Waugh2014-09-041-0/+9
|
* No need to declare 'display' here.Tim Waugh2014-09-042-3/+0
|
* Another LoadExtensionList() that needs an #ifdef.Tim Waugh2014-09-041-0/+4
|
* LoadExtensionList is new in 1.16.Tim Waugh2014-09-031-0/+4
|
* Updated to build against xorg-x11-server 1.16.0.Tim Waugh2014-09-039-35/+299
|
* Update the cursor position using GetSpritePosition().Tim Waugh2014-07-141-1/+9
| | | | | | | The module needs to correctly track the mouse position by querying the current X cursor position in InputDevice::getPointerPos(). Fixes: https://sourceforge.net/p/tigervnc/bug-tracker/152/
* Merge branch 'nocolourmap' of https://github.com/CendioOssman/tigervncPierre Ossman2014-07-147-200/+41
|\
| * Get rid of getStride()Pierre Ossman2014-07-074-19/+5
| | | | | | | | | | | | It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer.
| * Remove full support for colour mapsPierre Ossman2014-07-077-181/+36
| | | | | | | | | | | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.
* | Handle closing of input devicesPierre Ossman2014-07-142-6/+5
| | | | | | | | | | | | The core can decide to close an input device (e.g. during a server reset). Make sure we respect this by forgetting about the device and recreating it again later.
* | Remove private storage from InputDevicePierre Ossman2014-07-141-27/+2
| | | | | | | | | | We don't need this anymore as we now only have a single InputDevice object and can easily refer to it directly.
* | Make InputDevice into a singletonPierre Ossman2014-07-144-23/+34
| | | | | | | | | | Xorg input devices are global so it doesn't make sense that we have one InputDevice object per XserverDesktop.
* | Move all functions that InputDevice uses into the classPierre Ossman2014-07-143-5/+8
| |
* | Let XserverDesktop handle syncing cursor positionPierre Ossman2014-07-144-18/+20
| | | | | | | | | | This makes InputDevice cleaner and just a glue layer for Xorg input devices.
* | Re-init VNC extension on server resetPierre Ossman2014-07-141-2/+2
| | | | | | | | | | | | | | | | fc23895 blocked out a bit too much code when trying to make libvnc handle server resets. Even though configuration should only be handled once, the underlying VNC extension needs to be reinitilised as the X core has removed all extensions on reset.
* | We need to set a label on all pointer buttonsPierre Ossman2014-07-111-0/+2
|/
* Merge branch 'pixeltest' of https://github.com/CendioOssman/tigervncPierre Ossman2014-07-071-1/+1
|\
| * librfb needs librdr so make sure it always gets pulled inPierre Ossman2014-07-041-1/+1
| |
* | Fix some offenders that poke around in the PixelFormat internalsPierre Ossman2014-07-071-10/+11
| |
* | Remove all unused TX widgetsPierre Ossman2014-07-0711-1487/+1
|/
* Accidentally removed some code in the previous commit.Pierre Ossman2014-06-251-0/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5186 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add XDAMAGE support to x0vncserver. Makes it more efficientPierre Ossman2014-06-252-15/+65
| | | | | | and more responsive to changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5185 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add a global event handler so that we can intercept custom eventsPierre Ossman2014-06-252-0/+28
| | | | | | that aren't for a specific window. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5184 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-introduces embedded applet mode for the java viewer. On Windows and ↵Brian Hinz2014-01-021-1/+2
| | | | | | Linux, the embedded applet can be dragged from the browser window and detached from the browser process. The mouse gesture for detaching the applet is ALT+drag on Windows and SHIFT+drag on Linux. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5149 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some applications probe for clipboard formats using thePierre Ossman2013-11-061-0/+2
| | | | | | | | | trial-and-error method rather than asking for TARGETS. We need to make sure we properly report unsupported formats back to these. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5137 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do a better type cast that mirrors how we generatePierre Ossman2013-09-191-1/+1
| | | | | | | opaqueId in the first place. Patch by Michal Srb. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5135 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The screen index was removed in 1.13, not 1.12.Pierre Ossman2013-08-191-7/+7
| | | | | | | Bug found and patched by Koichiro IWAO. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5130 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad size calculation in GetQueryConnect handler as wellPierre Ossman2013-07-011-3/+5
| | | | | | | as an endian conversion fix. Patch by Christian Steinle. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5124 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update more copyrights to 2013. Peter Åstrand2013-06-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5122 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some applications (e.g. wine and rdesktop) tend to misbehavePierre Ossman2013-05-304-0/+148
| | | | | | | | | | when we use fake shift to get different symbols on the numpad. So avoid using fake shifts on NumLock related keys and hope that other applications won't get upset by getting the non-numpad keysym counterparts. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5119 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Simplify the lookup of alternative keysyms.Pierre Ossman2013-05-301-12/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5118 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Even if we ignore the modifiers, we still have to respectPierre Ossman2013-05-301-4/+9
| | | | | | | the active group when we go looking for the level 3 shift key. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5117 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad reference counting of the initial randr mode set.Pierre Ossman2013-05-241-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5111 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adding normal alphabetic keysyms as ONE_LEVEL did not behavePierre Ossman2013-05-231-3/+19
| | | | | | | | correctly when CapsLock is active, so start using the ALPHABETIC type for those instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5109 3789f03b-4d11-0410-bbf8-ca57d06f2519
* xkbcomp ignores keycodes without names, so make sure any keycodePierre Ossman2013-05-231-0/+16
| | | | | | | we use actually has one. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5108 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The cause of the keyboard mapping change is not a X11 request,Pierre Ossman2013-05-231-1/+1
| | | | | | | so don't pretend like it is. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5107 3789f03b-4d11-0410-bbf8-ca57d06f2519
* XkbTranslateKeyCode() is not implemented according toPierre Ossman2013-05-231-1/+8
| | | | | | | | specification in any system I can find, so change our code to follow reality rather than specification. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5106 3789f03b-4d11-0410-bbf8-ca57d06f2519