summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* Not sure what I was smoking when I wrote this. You needPierre Ossman2013-05-231-1/+2
| | | | | | | | to provide both pointers, even if you are just interested in the upper case symbol. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5105 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Relax the requirements on addKeysym() so that it can add newPierre Ossman2013-05-231-1/+10
| | | | | | | entries that still require modifying the current modifier state. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5104 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redo r5090 using functions that are available in olderPierre Ossman2013-05-221-21/+18
| | | | | | | Xorg versions as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5100 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Apparently it is more kosher to completely disassociate anPierre Ossman2013-05-222-4/+2
| | | | | | | | output from its CRTC than just removing the mode when disabling an output. This is what "xrandr --off" does. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5099 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Automatically update the connection state for RandRPierre Ossman2013-05-221-21/+28
| | | | | | | | | outputs in Xvnc as virtual displays become enabled/disabled. This seems to make applications happier than just clearing the mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5098 3789f03b-4d11-0410-bbf8-ca57d06f2519
* VNC needs to be initialised early to get its hooks at a properPierre Ossman2013-05-082-14/+14
| | | | | | | | place. The new patch for 1.13+ broke at least animated cursors by moving VNC further down the init list. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5095 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Glyph operation is not guaranteed to be implemented on top of thePierre Ossman2013-05-071-2/+105
| | | | | | | Composite operation, so we need to hook both. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5090 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump development version now that 1.3 has been branched off.Pierre Ossman2013-04-251-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5085 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Shifted Tab is a generic VNC problem and not specific to justPierre Ossman2013-04-162-16/+16
| | | | | | | Core keyboard. Move handling of it to the central code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5082 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Embarrasing copy/paste error. Fixes fake AltGr presses.Pierre Ossman2013-04-151-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5081 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another attempt at supporting older Xorg versions.Pierre Ossman2013-04-121-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5080 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for older Xorg releases.Pierre Ossman2013-04-111-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5079 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add some missing headers. It is not really ok to include Xutil.hPierre Ossman2013-04-113-0/+4
| | | | | | | without first including Xlib.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5078 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Port over the write block handler code from the 1.5 patch.Pierre Ossman2013-04-101-11/+64
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5077 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move keyboardProc() so we have all the init stuff in one place.Pierre Ossman2013-04-091-47/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5076 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Major rewrite of the keyboard code. The old code was too focused onPierre Ossman2013-04-095-706/+1274
| | | | | | | | | the old core X11 keyboards. The new code has an abstract common section, and two different backends for core and XKB. Core keyboards should be unaffected, but XKB support should be much better with this approach. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5075 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copy error. Should have been a tab rather than spaces here.Pierre Ossman2013-04-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5074 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Mode switch and level 3 shift are used interchangably these days.Pierre Ossman2013-04-091-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5073 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we release the same key we previously pressed for aPierre Ossman2013-04-092-1/+43
| | | | | | | given keysym. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5072 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle init of old and new keyboards the same way.Pierre Ossman2013-04-091-20/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5071 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We have an object to store stuff in, so don't use a globalPierre Ossman2013-04-092-4/+4
| | | | | | | variable. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5070 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure InputDevice::InitInputDevice() gets called early inPierre Ossman2013-04-093-10/+12
| | | | | | | | the startup process so our devices are visible and available right away. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5069 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copy the -verbose and -quiet parameters from Xorg so that wePierre Ossman2013-04-091-2/+29
| | | | | | | can control log output from the X core. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5068 3789f03b-4d11-0410-bbf8-ca57d06f2519
* GLX is no longer initialised by the dix. Patch originally byPierre Ossman2013-04-091-0/+19
| | | | | | | Adam Tkac for Fedora. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5067 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initialize VNC extension from libvnc.so only once.Adam Tkac2013-03-141-13/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5065 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Simplify rfb::ParameterIterator - we always iterate over all enabled params.Adam Tkac2013-03-142-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5064 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove bogus -geometry width/height adjustment from vncserver scriptAdam Tkac2013-03-141-8/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5061 3789f03b-4d11-0410-bbf8-ca57d06f2519
* X.Org 1.14 support was incompleteAdam Tkac2013-02-192-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5047 3789f03b-4d11-0410-bbf8-ca57d06f2519