]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
10 years agoUse the same algorithm for conversions
Pierre Ossman [Mon, 20 Jan 2014 15:40:10 +0000 (16:40 +0100)]
Use the same algorithm for conversions

Make sure that the routines that convert between buffer
and rgb representations follow the same algorithm so it's
easier to compare them.

10 years agoOptimise the RGB to pixel conversion to simple shifts
Pierre Ossman [Mon, 20 Jan 2014 16:23:51 +0000 (17:23 +0100)]
Optimise the RGB to pixel conversion to simple shifts

Might as well make it inline at this point as well as it is used
heavily in other routines that convert entire blocks of pixels.

10 years agoRemove magic JPEG variables from ConnParams
Pierre Ossman [Mon, 17 Mar 2014 13:42:10 +0000 (14:42 +0100)]
Remove magic JPEG variables from ConnParams

Custom compression level and JPEG on/off are not inherent parts of
the protocol negotiation so they do not belong in ConnParams. Let the
UI frontend handle such things instead.

10 years agoClean up the encoding parser in ConnParams
Pierre Ossman [Wed, 15 Jan 2014 12:44:04 +0000 (13:44 +0100)]
Clean up the encoding parser in ConnParams

10 years agoMake the subsampling setting follow the common style
Pierre Ossman [Wed, 15 Jan 2014 12:23:43 +0000 (13:23 +0100)]
Make the subsampling setting follow the common style

10 years agoRemove some premature optimisation
Pierre Ossman [Mon, 27 Jan 2014 15:52:35 +0000 (16:52 +0100)]
Remove some premature optimisation

Reduces header dependencies.

10 years agoAdd some missing whitespace
Pierre Ossman [Mon, 27 Jan 2014 15:17:21 +0000 (16:17 +0100)]
Add some missing whitespace

10 years agoStop storing a copy of the encodings as we don't use it for anything
Pierre Ossman [Wed, 15 Jan 2014 12:51:53 +0000 (13:51 +0100)]
Stop storing a copy of the encodings as we don't use it for anything

10 years agoGet rid of the register mechanism for encoders and decoders
Pierre Ossman [Wed, 15 Jan 2014 11:40:20 +0000 (12:40 +0100)]
Get rid of the register mechanism for encoders and decoders

We have no use for it, so let's keep things simple.

10 years agoBe more consistent in referring to pixel byte streams as buffers
Pierre Ossman [Tue, 28 Jan 2014 13:13:12 +0000 (14:13 +0100)]
Be more consistent in referring to pixel byte streams as buffers

10 years agoDocument the different pixel representations that we deal with
Pierre Ossman [Mon, 20 Jan 2014 15:55:19 +0000 (16:55 +0100)]
Document the different pixel representations that we deal with

10 years agoGet rid of unused things in the ZRLE encoder
Pierre Ossman [Thu, 13 Mar 2014 14:08:36 +0000 (15:08 +0100)]
Get rid of unused things in the ZRLE encoder

Get rid of unused shared MemOutStream and variable max length
functionality in the ZRLE encoder.

10 years agoRemove unused method prototype
Pierre Ossman [Fri, 7 Feb 2014 13:51:44 +0000 (14:51 +0100)]
Remove unused method prototype

10 years agoRemove all unused TX widgets
Pierre Ossman [Thu, 30 Jan 2014 16:15:55 +0000 (17:15 +0100)]
Remove all unused TX widgets

10 years agoRemove the scaled pixel buffer classes as they are not used.
Pierre Ossman [Wed, 29 Jan 2014 16:10:27 +0000 (17:10 +0100)]
Remove the scaled pixel buffer classes as they are not used.

There were also reports of them being broken last time we still
made use of them.

10 years agoRemove unused (and commented out) PixelBuffer::getPixel()
Pierre Ossman [Tue, 28 Jan 2014 15:43:22 +0000 (16:43 +0100)]
Remove unused (and commented out) PixelBuffer::getPixel()

10 years agoRemove unused alternative code path from the ZRLE and Hextile decoders
Pierre Ossman [Tue, 28 Jan 2014 15:41:29 +0000 (16:41 +0100)]
Remove unused alternative code path from the ZRLE and Hextile decoders

10 years agoRemove unused pixel conversion method
Pierre Ossman [Mon, 20 Jan 2014 15:55:04 +0000 (16:55 +0100)]
Remove unused pixel conversion method

10 years agoRemove unsused, commented out code
Pierre Ossman [Thu, 16 Jan 2014 12:23:47 +0000 (13:23 +0100)]
Remove unsused, commented out code

10 years agoClean up header dependencies in the vncviewer directory
Pierre Ossman [Mon, 20 Jan 2014 13:43:52 +0000 (14:43 +0100)]
Clean up header dependencies in the vncviewer directory

10 years agoReduce dependencies on TransImageGetter.h
Pierre Ossman [Wed, 15 Jan 2014 12:22:03 +0000 (13:22 +0100)]
Reduce dependencies on TransImageGetter.h

10 years agoSupport keeping libjpeg's default compression setting
Pierre Ossman [Fri, 21 Mar 2014 11:38:59 +0000 (12:38 +0100)]
Support keeping libjpeg's default compression setting

10 years agoCheck that we have a cursor to restore
Pierre Ossman [Mon, 17 Mar 2014 13:29:49 +0000 (14:29 +0100)]
Check that we have a cursor to restore

Forgot to check that we actually have a cursor from the server
before trying to switch back to it after dismissing the context menu.

10 years agoConverting to RGB might involve a precision increase
Pierre Ossman [Fri, 28 Feb 2014 10:54:34 +0000 (11:54 +0100)]
Converting to RGB might involve a precision increase

Need to do more than a simple shift to get the appropriate
new value. This isn't quite as exact as a proper multiplication
and division, but the error is so small it's not worth the
extra cycles.

10 years agoMake sure we check that PixelFormats we get are actually valid.
Pierre Ossman [Mon, 20 Jan 2014 13:50:19 +0000 (14:50 +0100)]
Make sure we check that PixelFormats we get are actually valid.

10 years agoEmbedded applet should not show server dialog
Brian P. Hinz [Fri, 27 Jun 2014 01:35:48 +0000 (21:35 -0400)]
Embedded applet should not show server dialog

10 years agoAccidentally removed some code in the previous commit.
Pierre Ossman [Fri, 13 Jun 2014 11:26:21 +0000 (11:26 +0000)]
Accidentally removed some code in the previous commit.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5186 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAdd XDAMAGE support to x0vncserver. Makes it more efficient
Pierre Ossman [Fri, 13 Jun 2014 10:56:59 +0000 (10:56 +0000)]
Add XDAMAGE support to x0vncserver. Makes it more efficient
and more responsive to changes.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5185 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAdd a global event handler so that we can intercept custom events
Pierre Ossman [Fri, 13 Jun 2014 10:52:11 +0000 (10:52 +0000)]
Add a global event handler so that we can intercept custom events
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

10 years agoFixed dependency problems with ubuntu precise build. Added ubuntu trusty package.
Brian Hinz [Wed, 21 May 2014 10:54:17 +0000 (10:54 +0000)]
Fixed dependency problems with ubuntu precise build. Added ubuntu trusty package.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5183 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoFix typos in r5181
Brian Hinz [Sun, 18 May 2014 01:01:38 +0000 (01:01 +0000)]
Fix typos in r5181

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5182 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAdd missing dependencies to ubuntu builds that cause cut-copy-paste issues
Brian Hinz [Sun, 18 May 2014 00:03:49 +0000 (00:03 +0000)]
Add missing dependencies to ubuntu builds that cause cut-copy-paste issues

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5181 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoRemove comment about service mode not working; bug 135 was fixed a while ago.
Peter Åstrand [Sun, 13 Apr 2014 19:16:08 +0000 (19:16 +0000)]
Remove comment about service mode not working; bug 135 was fixed a while ago.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5178 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoUbuntu's upstream fltk package contains patches that conflict with Pierre's patches...
Brian Hinz [Sat, 5 Apr 2014 02:33:49 +0000 (02:33 +0000)]
Ubuntu's upstream fltk package contains patches that conflict with Pierre's patches. Building with vanilla fltk instead.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5177 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoRemoved shell dependency from el6 vncserver init script. Fixes bug tracker bug #141.
Brian Hinz [Mon, 24 Mar 2014 02:56:45 +0000 (02:56 +0000)]
Removed shell dependency from el6 vncserver init script. Fixes bug tracker bug #141.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5176 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoThis list isn't properly maintained so let's add a disclaimer.
Pierre Ossman [Wed, 19 Mar 2014 13:35:14 +0000 (13:35 +0000)]
This list isn't properly maintained so let's add a disclaimer.
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

10 years agoWe don't want to lose the checks performed by assert() in release builds
Pierre Ossman [Wed, 19 Mar 2014 12:43:51 +0000 (12:43 +0000)]
We don't want to lose the checks performed by assert() in release builds
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

10 years agoThe ZRLE decoder relied on an assert() for boundary checks. A default
Pierre Ossman [Wed, 19 Mar 2014 12:16:48 +0000 (12:16 +0000)]
The ZRLE decoder relied on an assert() for boundary checks. A default
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

10 years agoApplied patch from Alois Mahdal <amahdal@redhat.com>:
Peter Åstrand [Mon, 24 Feb 2014 10:21:29 +0000 (10:21 +0000)]
Applied patch from Alois Mahdal <amahdal@redhat.com>:

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

10 years agoApplied patch from:
Peter Åstrand [Thu, 20 Feb 2014 08:04:17 +0000 (08:04 +0000)]
Applied patch from:

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

10 years agoFixes problems with cmake detection of GnuTLS. The current CMakeLists.txt uses check...
Brian Hinz [Wed, 19 Feb 2014 05:19:37 +0000 (05:19 +0000)]
Fixes problems with cmake detection of GnuTLS.  The current CMakeLists.txt 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

10 years agoRemoves VeNCrypt-checkbox from the security page in the WinVNC options. Fixes bug...
Samuel Mannehed [Wed, 12 Feb 2014 10:10:19 +0000 (10:10 +0000)]
Removes VeNCrypt-checkbox from the security page in the WinVNC options. Fixes bug #142.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5159 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoMake WinVNC service mode work on Windows Vista and beyond.
Samuel Mannehed [Fri, 7 Feb 2014 14:53:24 +0000 (14:53 +0000)]
Make WinVNC service mode work on Windows Vista and beyond.
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

10 years agoRemoves the additional padding reserved for the menubar and enables drag undocking...
Brian Hinz [Sun, 12 Jan 2014 13:46:17 +0000 (13:46 +0000)]
Removes the additional padding reserved for the menubar and enables drag 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

10 years agor5142 and r5149 borrowed code from the TurboVNC viewer, which has different Configura...
Brian Hinz [Sat, 11 Jan 2014 23:30:50 +0000 (23:30 +0000)]
r5142 and r5149 borrowed code from the TurboVNC viewer, which has different 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

10 years agor5138 did not completely resolve the problem with clipboard data consuming too much...
Brian Hinz [Sat, 11 Jan 2014 23:07:42 +0000 (23:07 +0000)]
r5138 did not completely resolve the problem with clipboard data consuming 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

10 years agoFixes for modality issues & dialog behavior in embedded mode.
Brian Hinz [Fri, 10 Jan 2014 04:08:20 +0000 (04:08 +0000)]
Fixes for modality issues & dialog behavior in embedded mode.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5154 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoMoved OS X setDockIconImage call into VncViewer.setLookAndFeel so that the dockImage...
Brian Hinz [Fri, 10 Jan 2014 04:05:32 +0000 (04:05 +0000)]
Moved OS X setDockIconImage call into VncViewer.setLookAndFeel so that the dockImage gets set faster.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5153 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoMake sure the fill function pointer gets updated if the
Pierre Ossman [Tue, 7 Jan 2014 15:28:45 +0000 (15:28 +0000)]
Make sure the fill function pointer gets updated if the
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

10 years agoSet the dock icon on OS X. Not perfect as it still shows the standard Java logo...
Brian Hinz [Sat, 4 Jan 2014 17:28:20 +0000 (17:28 +0000)]
Set the dock icon on OS X.  Not perfect as it still shows the standard Java 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

10 years agoRelease all downKeys when the focus is lost, otherwise the state of the keyboard...
Brian Hinz [Thu, 2 Jan 2014 20:35:52 +0000 (20:35 +0000)]
Release all downKeys when the focus is lost, otherwise the state of the 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

10 years agoRe-introduces embedded applet mode for the java viewer. On Windows and Linux, the...
Brian Hinz [Thu, 2 Jan 2014 01:23:56 +0000 (01:23 +0000)]
Re-introduces embedded applet mode for the java viewer. On Windows and 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

10 years agoUpdated copyright notices
Brian Hinz [Sun, 29 Dec 2013 17:33:10 +0000 (17:33 +0000)]
Updated copyright notices

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5148 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAnother overhaul of the key event handlers. There was a fundamental flaw in the previ...
Brian Hinz [Sun, 29 Dec 2013 16:30:32 +0000 (16:30 +0000)]
Another overhaul of the key event handlers. There was a fundamental flaw in 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

10 years agoAdded rpm spec file & sources for building Suse linux packages to contrib folder
Brian Hinz [Sun, 8 Dec 2013 18:26:09 +0000 (18:26 +0000)]
Added rpm spec file & sources for building Suse linux packages to contrib folder

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5146 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAdded attributes to the Java viewer MANIFEST file in order to conform to upcoming...
Brian Hinz [Mon, 2 Dec 2013 02:53:10 +0000 (02:53 +0000)]
Added attributes to the Java viewer MANIFEST file in order to conform to 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

10 years agoFix regression in java install path introduced in r5143
Brian Hinz [Mon, 2 Dec 2013 02:31:23 +0000 (02:31 +0000)]
Fix regression in java install path introduced in r5143

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5144 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoFixed incorrect ConnParam initial value in CConn constructor. Thanks to Pierre for...
Brian Hinz [Sun, 1 Dec 2013 23:17:44 +0000 (23:17 +0000)]
Fixed incorrect ConnParam initial value in CConn constructor.  Thanks to Pierre for pointing that out.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5143 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoCopied Lion fullScreen code from TurboVNC viewer. This is a more robust implementati...
Brian Hinz [Sun, 1 Dec 2013 23:07:07 +0000 (23:07 +0000)]
Copied Lion fullScreen code from TurboVNC viewer.  This is a more robust 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

10 years agoCorrect location of scripts from last commit
Brian Hinz [Thu, 28 Nov 2013 17:55:01 +0000 (17:55 +0000)]
Correct location of scripts from last commit

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5141 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAdded script to fetch rpm sources (requires curl)
Brian Hinz [Thu, 28 Nov 2013 17:31:19 +0000 (17:31 +0000)]
Added script to fetch rpm sources (requires curl)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5140 3789f03b-4d11-0410-bbf8-ca57d06f2519

10 years agoAdded 'contrib' folder to store patches necessary to build external dependecies,...
Brian Hinz [Thu, 28 Nov 2013 16:26:08 +0000 (16:26 +0000)]
Added 'contrib' folder to store patches necessary to build external 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

11 years agoFixes a condition where too much data on the local clipboard causes the client to...
Brian Hinz [Sat, 23 Nov 2013 05:05:21 +0000 (05:05 +0000)]
Fixes a condition where too much data on the local clipboard causes the 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

11 years agoSome applications probe for clipboard formats using the
Pierre Ossman [Wed, 6 Nov 2013 15:27:04 +0000 (15:27 +0000)]
Some applications probe for clipboard formats using the
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

11 years agoApplied DRC's patch to fix broken RRE decoder in java client
Brian Hinz [Thu, 3 Oct 2013 18:52:30 +0000 (18:52 +0000)]
Applied DRC's patch to fix broken RRE decoder in java client

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5136 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoDo a better type cast that mirrors how we generate
Pierre Ossman [Thu, 19 Sep 2013 09:11:10 +0000 (09:11 +0000)]
Do a better type cast that mirrors how we generate
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

11 years agoAn updated patch of the X11 clipboard notification is now available.
Pierre Ossman [Thu, 5 Sep 2013 14:27:21 +0000 (14:27 +0000)]
An updated patch of the X11 clipboard notification is now available.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5134 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoPrinting the clipboard data is very annoying as it could
Pierre Ossman [Thu, 5 Sep 2013 14:25:40 +0000 (14:25 +0000)]
Printing the clipboard data is very annoying as it could
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

11 years agoThe screen index was removed in 1.13, not 1.12.
Pierre Ossman [Mon, 19 Aug 2013 14:36:26 +0000 (14:36 +0000)]
The screen index was removed in 1.13, not 1.12.
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

11 years agoFix copy-paste error that referred to the wrong variable.
Pierre Ossman [Mon, 1 Jul 2013 13:59:35 +0000 (13:59 +0000)]
Fix copy-paste error that referred to the wrong variable.
Bug found by David Binderman.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5126 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoFix bad size calculation in GetQueryConnect handler as well
Pierre Ossman [Mon, 1 Jul 2013 12:46:45 +0000 (12:46 +0000)]
Fix bad size calculation in GetQueryConnect handler as well
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

11 years agoUpdate more copyrights to 2013.
Peter Åstrand [Tue, 11 Jun 2013 07:06:46 +0000 (07:06 +0000)]
Update more copyrights to 2013.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5122 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoUpdate copyright year to 2013.
Peter Åstrand [Tue, 11 Jun 2013 07:00:49 +0000 (07:00 +0000)]
Update copyright year to 2013.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5121 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoSome applications (e.g. wine and rdesktop) tend to misbehave
Pierre Ossman [Thu, 30 May 2013 14:50:57 +0000 (14:50 +0000)]
Some applications (e.g. wine and rdesktop) tend to misbehave
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

11 years agoSimplify the lookup of alternative keysyms.
Pierre Ossman [Thu, 30 May 2013 14:48:20 +0000 (14:48 +0000)]
Simplify the lookup of alternative keysyms.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5118 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoEven if we ignore the modifiers, we still have to respect
Pierre Ossman [Thu, 30 May 2013 14:47:17 +0000 (14:47 +0000)]
Even if we ignore the modifiers, we still have to respect
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

11 years agoThe numpad decimal hack is needed on OS X as well.
Pierre Ossman [Wed, 29 May 2013 12:33:59 +0000 (12:33 +0000)]
The numpad decimal hack is needed on OS X as well.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5115 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoForgot to respect the AcceptClipboard option in the
Pierre Ossman [Fri, 24 May 2013 10:47:27 +0000 (10:47 +0000)]
Forgot to respect the AcceptClipboard option in the
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

11 years agoFix bad reference counting of the initial randr mode set.
Pierre Ossman [Fri, 24 May 2013 10:35:33 +0000 (10:35 +0000)]
Fix bad reference counting of the initial randr mode set.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5111 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoAdding normal alphabetic keysyms as ONE_LEVEL did not behave
Pierre Ossman [Thu, 23 May 2013 11:46:35 +0000 (11:46 +0000)]
Adding normal alphabetic keysyms as ONE_LEVEL did not behave
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

11 years agoxkbcomp ignores keycodes without names, so make sure any keycode
Pierre Ossman [Thu, 23 May 2013 11:45:18 +0000 (11:45 +0000)]
xkbcomp ignores keycodes without names, so make sure any keycode
we use actually has one.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5108 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoThe cause of the keyboard mapping change is not a X11 request,
Pierre Ossman [Thu, 23 May 2013 11:44:23 +0000 (11:44 +0000)]
The cause of the keyboard mapping change is not a X11 request,
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

11 years agoXkbTranslateKeyCode() is not implemented according to
Pierre Ossman [Thu, 23 May 2013 11:42:41 +0000 (11:42 +0000)]
XkbTranslateKeyCode() is not implemented according to
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

11 years agoNot sure what I was smoking when I wrote this. You need
Pierre Ossman [Thu, 23 May 2013 11:41:35 +0000 (11:41 +0000)]
Not sure what I was smoking when I wrote this. You need
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

11 years agoRelax the requirements on addKeysym() so that it can add new
Pierre Ossman [Thu, 23 May 2013 11:40:30 +0000 (11:40 +0000)]
Relax the requirements on addKeysym() so that it can add new
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

11 years agoRedo r5090 using functions that are available in older
Pierre Ossman [Wed, 22 May 2013 12:52:27 +0000 (12:52 +0000)]
Redo r5090 using functions that are available in older
Xorg versions as well.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5100 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoApparently it is more kosher to completely disassociate an
Pierre Ossman [Wed, 22 May 2013 11:59:38 +0000 (11:59 +0000)]
Apparently it is more kosher to completely disassociate an
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

11 years agoAutomatically update the connection state for RandR
Pierre Ossman [Wed, 22 May 2013 11:47:08 +0000 (11:47 +0000)]
Automatically update the connection state for RandR
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

11 years agoWhitespace cleanup only
Brian Hinz [Sun, 12 May 2013 15:46:09 +0000 (15:46 +0000)]
Whitespace cleanup only

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5097 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoVNC needs to be initialised early to get its hooks at a proper
Pierre Ossman [Wed, 8 May 2013 11:22:04 +0000 (11:22 +0000)]
VNC needs to be initialised early to get its hooks at a proper
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

11 years agoThe Glyph operation is not guaranteed to be implemented on top of the
Pierre Ossman [Tue, 7 May 2013 13:00:15 +0000 (13:00 +0000)]
The Glyph operation is not guaranteed to be implemented on top of the
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

11 years agoFix incorrect dll location in windows setup file template
Brian Hinz [Sat, 27 Apr 2013 20:20:57 +0000 (20:20 +0000)]
Fix incorrect dll location in windows setup file template

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5089 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoUse CMAKE_COMMAND variable instead of hard coded cmake executable name for better...
Brian Hinz [Sat, 27 Apr 2013 20:14:50 +0000 (20:14 +0000)]
Use CMAKE_COMMAND variable instead of hard coded cmake executable name for better portability.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5088 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoBump development version now that 1.3 has been branched off.
Pierre Ossman [Thu, 25 Apr 2013 07:51:47 +0000 (07:51 +0000)]
Bump development version now that 1.3 has been branched off.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5085 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoWork around Windows poor handling of the numpad decimal key.
Pierre Ossman [Tue, 16 Apr 2013 11:56:29 +0000 (11:56 +0000)]
Work around Windows poor handling of the numpad decimal key.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5083 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoShifted Tab is a generic VNC problem and not specific to just
Pierre Ossman [Tue, 16 Apr 2013 09:03:18 +0000 (09:03 +0000)]
Shifted Tab is a generic VNC problem and not specific to just
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

11 years agoEmbarrasing copy/paste error. Fixes fake AltGr presses.
Pierre Ossman [Mon, 15 Apr 2013 15:19:12 +0000 (15:19 +0000)]
Embarrasing copy/paste error. Fixes fake AltGr presses.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5081 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoAnother attempt at supporting older Xorg versions.
Pierre Ossman [Fri, 12 Apr 2013 12:24:32 +0000 (12:24 +0000)]
Another attempt at supporting older Xorg versions.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5080 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoAdd support for older Xorg releases.
Pierre Ossman [Thu, 11 Apr 2013 13:50:32 +0000 (13:50 +0000)]
Add support for older Xorg releases.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5079 3789f03b-4d11-0410-bbf8-ca57d06f2519

11 years agoAdd some missing headers. It is not really ok to include Xutil.h
Pierre Ossman [Thu, 11 Apr 2013 10:48:27 +0000 (10:48 +0000)]
Add some missing headers. It is not really ok to include Xutil.h
without first including Xlib.h.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5078 3789f03b-4d11-0410-bbf8-ca57d06f2519