summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add a BUILD_STATIC option which links statically against libgcc and ↵DRC2011-07-281-14/+4
| | | | | | libstdc++ (if applicable.) Remove the corresponding code from build-xorg. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4608 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes a typo introduced with commit 4570.Henrik Andersson2011-06-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4571 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added leftout cmake build of x0vncserver, fixes bug #3329519.Henrik Andersson2011-06-292-0/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4570 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use generic copyright message which refers the user to the complete ↵DRC2011-06-282-6/+2
| | | | | | copyright history in README.txt git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4569 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Rename man pages to .1 when installingDRC2011-06-253-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4553 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Install man pages during 'make install' on Unix systemsDRC2011-06-253-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4552 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Consolidate source README file, remote cruft, and update copyrightsDRC2011-06-241-309/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4547 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Change version number to 1.1.80 (1.2 alpha) to distinguish from the 1.1 branchDRC2011-06-241-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4543 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused autotools build systemDRC2011-06-246-111/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Integrate Xvnc build with CMake and new FLTK-based vncviewer buildDRC2011-06-221-14/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4515 3789f03b-4d11-0410-bbf8-ca57d06f2519
* No longer need to explicitly specify GNUTLS_LDFLAGS in X server build, since ↵DRC2011-06-227-49/+25
| | | | | | the librfb.la file now includes the GnuTLS dependencies. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4514 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make '-version 7.4' the default.DRC2011-06-211-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4509 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using build-xorg without -static is not useful, because it causes Xvnc to ↵DRC2011-06-141-46/+22
| | | | | | depend on the dynamic X11 libraries generated by build-xorg in the build directory. Thus, remove -static and make that behavior the default. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4498 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Server support for full colour cursors (no support for alpha though).Pierre Ossman2011-06-081-43/+75
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4473 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow buttons 6 and 7 to be used as well so that we can get horizontalPierre Ossman2011-05-241-1/+1
| | | | | | | wheel events. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4442 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused build-xorg-git scriptDRC2011-05-121-205/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4407 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initialize VNC extension inside #ifdef statement to allow to build TigerVNC ↵Adam Tkac2011-05-117-66/+91
| | | | | | | | | inside X.Org tree. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4402 3789f03b-4d11-0410-bbf8-ca57d06f2519