summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 1.1.90 (1.2 beta1)DRC2011-12-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4826 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix syntax errorDRC2011-11-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4814 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement the deferred update handling, this time in a more robust andPierre Ossman2011-11-084-46/+2
| | | | | | | well-behaved manner. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4784 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The dummy timer isn't used anymore.Pierre Ossman2011-11-082-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4779 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate dependency on libfreetype.so in legacy-friendly Xvnc buildDRC2011-11-071-11/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4773 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix legacy-friendly build (I hope). r4745 (enabling DPMS) removed ↵DRC2011-11-072-2/+2
| | | | | | | | | -DNO_HW_ONLY_EXTS from Xvnc_CPPFLAGS in unix/xserver/hw/vnc/Makefile.am, which caused xorg-xserver 1.6.5 to attempt to build the XFree86-DRI extension, but the stub for XFree86DRIExtensionInit() was missing, so Xvnc failed to link. Adding --disable-dri (r4765) caused the GLX build to fail, because GLX needs either DRI or DRI2, and DRI2 was not being properly detected because the dri2proto module we were using was too old for our X server version. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4772 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Timers in RFB still weren't working properly. Do this right and check the nextPierre Ossman2011-11-073-15/+32
| | | | | | | timer just before the Xorg select() call. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4770 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused function.Pierre Ossman2011-11-041-19/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4768 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Attempt to fix the legacy-friendly build, which was broken by r4745DRC2011-11-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4765 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Tight decoding optimizations broke the build of the legacy viewers, so ↵DRC2011-11-0316-3482/+0
| | | | | | this seems like a good time to get rid of them like we discussed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4759 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We informed the RFB layer of RENDER operations before they were actuallyPierre Ossman2011-11-031-8/+15
| | | | | | | | carried out. Under some circumstances, this could result in an update going out with the old framebuffer contents. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Activate the DPMS extension; avoid Ubuntu 11.10 crashing. Peter Åstrand2011-10-312-2/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4745 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make socket writes non-blockable. This allows the system to more quicklyPierre Ossman2011-10-254-0/+222
| | | | | | | | return back to the Xorg main loop, meaning that things will be more responsive in the presence of slow VNC clients. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4735 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid catching composite (RENDER) operations that only affect off-screenPierre Ossman2011-10-111-16/+20
| | | | | | | things. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4720 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Launch vncconfig directly from vncserver, not from xstartup. Justification: ↵DRC2011-10-051-1/+2
| | | | | | vncconfig is necessary to enable basic functionality of the TigerVNC system (clipboard transfer, most notably.) It isn't always going to be in the PATH, and in fact, there might be more than one version of it on the system (for instance, a version from RealVNC in /usr/bin and a version from TigerVNC in /opt/TigerVNC/bin.) If it is desirable to disable vncconfig under certain circumstances, then I would suggest adding a command-line option to vncserver to accomplish that. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4709 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Always look for the Java classes in ../vnc/classes first before looking in ↵DRC2011-10-041-3/+4
| | | | | | the system locations. This prevents TigerVNC from picking up the Java classes from a RealVNC installation. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4691 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Disable Composite extension by default in the legacy-friendly TigerVNC ↵DRC2011-10-011-1/+1
| | | | | | build. Justification: Some older versions of Gnome do not work properly when Composite is enabled. This is known to be a problem with RHEL 4 (Gnome 2.8), and it causes the legacy-friendly build to be unusable on that platform. Newer Gnome versions, such as 2.16.0 (the version in RHEL 5), work properly with Composite enabled, but those versions don't support compositing anyhow, so it doesn't matter if we remove the extension. Typically, platforms that are new enough to support compositing are also new enough to not require the legacy-friendly build of TigerVNC. Further, Composite can be re-enabled by simply adding --enable-composite to the XORGCFGFLAGS env. variable prior to executing 'build-xorg build'. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4686 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the formatting of a few Cendio copyright lines, so that it isPeter Åstrand2011-09-283-3/+3
| | | | | | | | consistent with the rest of the code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4677 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support building an out-of-tree Xvnc binary using in-tree X server sourcesDRC2011-08-241-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4660 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Need to escape parenthesesDRC2011-08-241-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4658 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We can't assume that Pixman is under ${includedir}, because ${includedir} ↵DRC2011-08-231-5/+14
| | | | | | depends on the install prefix. Fortunately, XSERVERLIBS_CFLAGS should contain the correct include directory for Pixman, so we can use this variable directly or parse it for the include directory. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4653 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Link x0vncserver against Xtst, if it was detected (otherwise x0vncserver is ↵DRC2011-08-191-0/+6
| | | | | | view-only) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4644 3789f03b-4d11-0410-bbf8-ca57d06f2519
* "Don't use parallel make by default," he says after accidentally turning it ↵DRC2011-08-111-1/+3
| | | | | | off and discovering that his builds are about 4 times faster. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4627 3789f03b-4d11-0410-bbf8-ca57d06f2519
* (Re-)fix static Xvnc build. We can leverage the BUILD_STATIC option to ↵DRC2011-08-091-1/+1
| | | | | | modify our fake libtool scripts such that they pick up the static libstdc++.a. Unfortunately, adding -static-libgcc to those scripts makes libtool barf, so we still have to add that flag to LDFLAGS in build-xorg. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4614 3789f03b-4d11-0410-bbf8-ca57d06f2519