summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add xserver114.patch patchAdam Tkac2013-01-241-0/+84
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5036 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow to change "AcceptPointerEvents" via "vncconfig -set".Adam Tkac2012-11-261-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5015 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix handling of whitelisted "vncconfig -set" parameters in Xvnc.Adam Tkac2012-11-261-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5014 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.13Adam Tkac2012-09-054-3/+108
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4995 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add xserver113.patchAdam Tkac2012-09-051-0/+92
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4994 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build errors with XORG < 111: I assume that the last NULL argumentPeter Åstrand2012-08-291-1/+1
| | | | | | | | to GetKeyboardEvents was a typo... git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4982 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.12.XAdam Tkac2012-08-284-17/+227
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4979 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add Support for X.Org 1.11.XAdam Tkac2012-08-284-10/+161
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4978 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix silly typo that caused us to mishandle some SetDesktopSize requests.Pierre Ossman2012-08-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4976 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the in-tree versin of FLTK. Maintaining such a copy is way tooPeter Åstrand2012-08-091-1/+1
| | | | | | | | | much work, and it's constantly out of sync. Let's document what the main developers (ie Cendio) are using instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4951 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implicit drawing operations (like window borders) are done by accessingPierre Ossman2012-07-191-9/+26
| | | | | | | | | | the screen pixmap directly. That means that hooking windows is insufficient. The code now assumes that the drawable is a visible window, or the screen pixmap (IOW, that all coordinates are screen relative). Had to restructure some code that only worked on windows to get this working. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4941 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix improper check of errors when getting a suitable RandR mode.Pierre Ossman2012-07-181-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4940 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be able to handle outputs without any CRTC connected as well.Pierre Ossman2012-07-181-10/+56
| | | | | | | This is generally the state disabled outputs are in. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4939 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to initialise the iterator index properly.Pierre Ossman2012-07-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4938 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to manually update the RandR timestamp, as it is normally set inPierre Ossman2012-07-171-0/+7
| | | | | | | the X11 request handlers. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4937 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The internal API for RRCrtcNotify() changed in Xorg 1.6+, so make sure thingsPierre Ossman2012-07-171-2/+19
| | | | | | | work on those versions as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4936 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add back support for letting the client reconfigure the screen, this timePierre Ossman2012-07-134-34/+284
| | | | | | | | | with all the RandR 1.2 multi-head goodness. Tested with Xvnc, but should also work with libvnc.so, although it will only work for simpler cases there. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4933 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Track outputs instead of CRTCs, as those better match the screen conceptPierre Ossman2012-07-122-15/+17
| | | | | | | in RFB. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4932 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redo the RandR code in Xvnc/libvnc to use the modern 1.2 API. The oldPierre Ossman2012-07-125-165/+366
| | | | | | | | | | | stuff was a bit buggy, and it didn't really allow us to move forward. This commit temporarily removes the ability for the client to resize the session. It will be readded for Xvnc in a later commit. libvnc will be without that functionality for now, as it is very difficult to get right there. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4931 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix unsafe usage of the logging functions.Pierre Ossman2012-04-262-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The reformatting of all the Xserver sources in the 1.12.1 release changedPierre Ossman2012-04-251-2/+2
| | | | | | | | | | | | | | | | | | | the headers so now some of them have multiple instances of the C++ "and" and "xor" keywords on the same line, so the hack to sanitize them needs to use the sed "g" flag to replace all instances, not just the first. Otherwise, the build fails with strange errors such as: "fb.h", line 817: Error: Unexpected type name "FbBits" encountered. "fb.h", line 817: Error: dst is not defined. "fb.h", line 818: Error: Unexpected type name "FbStride" encountered. "fb.h", line 818: Error: dstStride is not defined. "fb.h", line 819: Error: Badly formed expression. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4899 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Consolidate the installation paths and make sure we have decent defaults.Pierre Ossman2012-03-274-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump version number to prepare for post-1.2 developmentDRC2012-02-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4849 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix a race condition where we might get updates thrown at us right after aPierre Ossman2012-01-233-0/+19
| | | | | | | | framebuffer switch, but before we've been given the pointer to the new framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4839 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump version to 1.1.91 (1.2 beta2)DRC2012-01-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4835 3789f03b-4d11-0410-bbf8-ca57d06f2519