summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove comment about service mode not working; bug 135 was fixed a while ago.Peter Åstrand2014-04-131-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5178 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Ubuntu's upstream fltk package contains patches that conflict with Pierre's ↵Brian Hinz2014-04-051-3/+0
| | | | | | patches. Building with vanilla fltk instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5177 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed shell dependency from el6 vncserver init script. Fixes bug tracker ↵Brian Hinz2014-03-241-16/+15
| | | | | | bug #141. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5176 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This list isn't properly maintained so let's add a disclaimer.Pierre Ossman2014-03-191-1/+1
| | | | | | | | People looking for proper attribution will have to check individual files and repository history. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5172 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't want to lose the checks performed by assert() in release buildsPierre Ossman2014-03-191-0/+8
| | | | | | | so make sure we remove NDEBUG. Based on work by Tim Waugh for Red Hat. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5168 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The ZRLE decoder relied on an assert() for boundary checks. A defaultPierre Ossman2014-03-191-3/+10
| | | | | | | | | | Release build however will remove all asserts making it possible to overrun this buffer. This could be exploited by a malicious server. This issue has been assigned CVE-2014-0011. Patch by Tim Waugh for Red Hat. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5167 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Applied patch from Alois Mahdal <amahdal@redhat.com>:Peter Åstrand2014-02-241-1/+1
| | | | | | | | missing ending quote in 10-libvnc.conf git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5162 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Applied patch from:Peter Åstrand2014-02-201-2/+5
| | | | | | | | | | Koichiro IWAO <meta@vmeta.jp> Option for disabling build of vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5161 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes problems with cmake detection of GnuTLS. The current CMakeLists.txt ↵Brian Hinz2014-02-193-0/+84
| | | | | | uses check_function_exists to identify legacy versions of GnuTLS but cmake performs this test by linking a small test program. If libgnutls, libgcrypt, or libgpg-error are outside the default library search path, linking the test program fails even though gnutls and it's dependencies are installed. This patch makes it possible to specify the location of each of the three libraries independently and only as needed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5160 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removes VeNCrypt-checkbox from the security page in the WinVNC options. ↵Samuel Mannehed2014-02-123-99/+73
| | | | | | Fixes bug #142. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5159 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make WinVNC service mode work on Windows Vista and beyond.Samuel Mannehed2014-02-079-38/+289
| | | | | | | | Patch by Jochen Tucht, fixes bug 135. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5158 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removes the additional padding reserved for the menubar and enables drag ↵Brian Hinz2014-01-122-1/+3
| | | | | | undocking for the java applet when served from Windows. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5157 3789f03b-4d11-0410-bbf8-ca57d06f2519
* r5142 and r5149 borrowed code from the TurboVNC viewer, which has different ↵Brian Hinz2014-01-111-5/+6
| | | | | | Configuration parameter logic. This caused an exception in the usage() method git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5156 3789f03b-4d11-0410-bbf8-ca57d06f2519
* r5138 did not completely resolve the problem with clipboard data consuming ↵Brian Hinz2014-01-113-21/+28
| | | | | | too much heap space. Large amounts of clipboard data could still cause the heap size to grow to huge sizes. This patch tries to address the problem by opening a Reader to the underlying IO stream and then reading only up to MaxCutText characters. The garbage collector is invoked manually rather than waiting for the JVM to do it in order to prevent the heap size from growing in between JVM invoked garbage collections. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5155 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes for modality issues & dialog behavior in embedded mode.Brian Hinz2014-01-102-4/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5154 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Moved OS X setDockIconImage call into VncViewer.setLookAndFeel so that the ↵Brian Hinz2014-01-102-16/+13
| | | | | | dockImage gets set faster. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5153 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the fill function pointer gets updated if thePierre Ossman2014-01-072-5/+24
| | | | | | | | | | | managed pixel buffer changes format. Also add a bit more protection for switching pixel format as the base classes aren't really designed for that. Fixes a crash with the mouse pointer in WinVNC. Based on work done by Daniel Wyatt (dewyatt). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5152 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set the dock icon on OS X. Not perfect as it still shows the standard Java ↵Brian Hinz2014-01-041-2/+18
| | | | | | logo for a second or two, but better than nothing git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5151 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Release all downKeys when the focus is lost, otherwise the state of the ↵Brian Hinz2014-01-023-24/+7
| | | | | | keyboard will be inconsistent when the focus is regained. Also, the direction of the key release was incorrect in r5147. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5150 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-introduces embedded applet mode for the java viewer. On Windows and ↵Brian Hinz2014-01-029-67/+243
| | | | | | 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
* Updated copyright noticesBrian Hinz2013-12-293-3/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5148 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another overhaul of the key event handlers. There was a fundamental flaw in ↵Brian Hinz2013-12-294-1092/+1184
| | | | | | the previous implementation due to the fact that java key modifiers associated with a key_pressed or key_released event are reported with respect to each particular event. Thus, for example a key sequence of CTRL press, letter press, CTRL release, letter release never sends the corresponding release for the CTRL+letter down event. Key events are now synchronized on a monitor object to help ensure that the key sequence is preserved. This implementation mirrors the fltk viewer quite closely and, as far as I can tell, is capable of sending all of the same keysyms. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5147 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added rpm spec file & sources for building Suse linux packages to contrib folderBrian Hinz2013-12-0890-0/+10823
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5146 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added attributes to the Java viewer MANIFEST file in order to conform to ↵Brian Hinz2013-12-024-13/+91
| | | | | | upcoming JRE requirements. Added support for specifying a signing certificate in place of the self-signed certificate. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5145 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix regression in java install path introduced in r5143Brian Hinz2013-12-021-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5144 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed incorrect ConnParam initial value in CConn constructor. Thanks to ↵Brian Hinz2013-12-011-1/+1
| | | | | | Pierre for pointing that out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5143 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copied Lion fullScreen code from TurboVNC viewer. This is a more robust ↵Brian Hinz2013-12-014-69/+114
| | | | | | implementation and does not suffer from Java bugs 8009911 or 4783448 like the existing code did. CMakeLists file was also updated to be more similar to the TurboVNC cmake file. This wasn't strictly necessary but it simplifies things a bit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5142 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Correct location of scripts from last commitBrian Hinz2013-11-282-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5141 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added script to fetch rpm sources (requires curl)Brian Hinz2013-11-282-0/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5140 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added 'contrib' folder to store patches necessary to build external ↵Brian Hinz2013-11-28188-0/+26452
| | | | | | dependecies, distribution-specific packaging files, etc. Also added a delimiter to the end of the fltk patch script defined in BUILDING.txt to make it easier to parse this script out for automated builds. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5139 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes a condition where too much data on the local clipboard causes the ↵Brian Hinz2013-11-233-29/+30
| | | | | | client to exceed the max heap size and exit. Since the server will, by default, discard clipboard transfers greater than 256KB anyway, a parameter was added which sets the default max clipboard size that the client will hold to 256KB also. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5138 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
* Applied DRC's patch to fix broken RRE decoder in java clientBrian Hinz2013-10-031-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5136 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
* An updated patch of the X11 clipboard notification is now available.Pierre Ossman2013-09-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5134 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Printing the clipboard data is very annoying as it couldPierre Ossman2013-09-052-2/+2
| | | | | | | | include line breaks, things with the wrong character encoding and god knows what. Just print the size of the data instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5133 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 copy-paste error that referred to the wrong variable.Pierre Ossman2013-07-011-2/+2
| | | | | | | Bug found by David Binderman. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5126 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-116-6/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5122 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update copyright year to 2013. Peter Åstrand2013-06-112-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5121 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
* The numpad decimal hack is needed on OS X as well.Pierre Ossman2013-05-291-5/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5115 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to respect the AcceptClipboard option in thePierre Ossman2013-05-241-0/+3
| | | | | | | new FLTK based viewer. Patch by Matt McCutchen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5112 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