]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
12 years agoMove the -geometry parsing up, so that it affects fullscreen mode as
Peter Åstrand [Wed, 29 Aug 2012 07:14:31 +0000 (07:14 +0000)]
Move the -geometry parsing up, so that it affects fullscreen mode as
well. This to allow specifying which monitor to use for fullscreen
mode.

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

12 years agoadds initial support for loading & saving of both configuration files and user prefer...
Brian Hinz [Wed, 29 Aug 2012 03:56:01 +0000 (03:56 +0000)]
adds initial support for loading & saving of both configuration files and user preferences

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

12 years agoAdd support for X.Org 1.12.X
Adam Tkac [Tue, 28 Aug 2012 13:32:19 +0000 (13:32 +0000)]
Add support for X.Org 1.12.X

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

12 years agoAdd Support for X.Org 1.11.X
Adam Tkac [Tue, 28 Aug 2012 12:41:44 +0000 (12:41 +0000)]
Add Support for X.Org 1.11.X

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

12 years agoThe OS X keyboard grabbing code needs to be multi-head aware to function
Pierre Ossman [Mon, 27 Aug 2012 14:40:51 +0000 (14:40 +0000)]
The OS X keyboard grabbing code needs to be multi-head aware to function
properly.

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

12 years agoFix silly typo that caused us to mishandle some SetDesktopSize requests.
Pierre Ossman [Mon, 27 Aug 2012 13:02:47 +0000 (13:02 +0000)]
Fix silly typo that caused us to mishandle some SetDesktopSize requests.

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

12 years agoReverted last patch which was a mistake.
Peter Åstrand [Mon, 27 Aug 2012 08:12:47 +0000 (08:12 +0000)]
Reverted last patch which was a mistake.

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

12 years agoAdded a comment about -geometry limitations.
Peter Åstrand [Mon, 27 Aug 2012 08:11:20 +0000 (08:11 +0000)]
Added a comment about -geometry limitations.

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

12 years agoUpdate to last patch; forgot break in switch statement.
Peter Åstrand [Mon, 27 Aug 2012 08:02:36 +0000 (08:02 +0000)]
Update to last patch; forgot break in switch statement.

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

12 years agoAdded a standard -geometry command line option. Such an option is
Peter Åstrand [Mon, 27 Aug 2012 07:28:08 +0000 (07:28 +0000)]
Added a standard -geometry command line option. Such an option is
actually already documented on the man page.

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

12 years agoThe x509ca and x509crl parameters were being set to the value of the button text...
Brian Hinz [Sun, 26 Aug 2012 21:19:19 +0000 (21:19 +0000)]
The x509ca and x509crl parameters were being set to the value of the button text.  The parameter values are already set by the jfilechooser called from the options dialog, so no need to set them again anyway.

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

12 years agoMake the window actually occupy the full screen in full-screen mode (without this...
Brian Hinz [Sun, 26 Aug 2012 21:17:00 +0000 (21:17 +0000)]
Make the window actually occupy the full screen in full-screen mode (without this, other windows, such as the taskbar on Linux, will display in front of it.). Additional fixes for various full-screen mode issues (Setting FullScreen checkbox in options menu had no effect,  null pointer, etc.  When fullScreen and scaling options are changed simultaneously in the dialog, collapse the viewport changes into a single operation.  There is still a modality issue on OS-X that will be addressed in a later patch.

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

12 years agoProperly handle zero-length arguments
Brian Hinz [Sun, 26 Aug 2012 21:04:39 +0000 (21:04 +0000)]
Properly handle zero-length arguments

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

12 years agoMake sure we send a full FBUR whenever forceNonincremental=true (which it is during...
Brian Hinz [Sun, 26 Aug 2012 21:02:22 +0000 (21:02 +0000)]
Make sure we send a full FBUR whenever forceNonincremental=true (which it is during the initial FBUR.)  This specifically fixes an issue whereby a black screen would be displayed when initially connecting to the OS X built-in VNC server.

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

12 years ago"Requesting" is more accurate, because the requested encoding is only used if the...
Brian Hinz [Sun, 26 Aug 2012 21:00:39 +0000 (21:00 +0000)]
"Requesting" is more accurate, because the requested encoding is only used if the server supports it.

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

12 years agoMake scaling factor arguments "FixedRatio" and "Auto" case-insensitive
Brian Hinz [Sun, 26 Aug 2012 20:56:58 +0000 (20:56 +0000)]
Make scaling factor arguments "FixedRatio" and "Auto" case-insensitive

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

12 years agoFix AccessControlException caused by using System.exit() in applet mode, and close...
Brian Hinz [Sun, 26 Aug 2012 20:52:15 +0000 (20:52 +0000)]
Fix AccessControlException caused by using System.exit() in applet mode, and close viewer properly in several other cases.

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

12 years agoSplit the Viewport out from CConn, really should never have been in there to begin...
Brian Hinz [Sun, 26 Aug 2012 20:35:30 +0000 (20:35 +0000)]
Split the Viewport out from CConn, really should never have been in there to begin with.

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

12 years agoRemove unused class
Brian Hinz [Sun, 26 Aug 2012 19:06:38 +0000 (19:06 +0000)]
Remove unused class

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

12 years agoRefactor the handshake code from first principles to remove code that was borrowed...
Brian Hinz [Sun, 26 Aug 2012 18:24:15 +0000 (18:24 +0000)]
Refactor the handshake code from first principles to remove code that was borrowed from Netty, which is released under an incompatible license (Apache v2.)  Since our SSLEngineManager class was loosely inspired by, but no code was actually borrowed from, the Oracle JSSE examples, it is my opinion that it was incorrect to attribute copyright to Oracle, so that message has been removed (their examples are released under a BSD-style license, anyhow, so it's a non-issue.)

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

12 years agoRemove the AWTPixelBuffer class. After switching to using rasters in BIPixelBuffer...
Brian Hinz [Sun, 26 Aug 2012 18:22:24 +0000 (18:22 +0000)]
Remove the AWTPixelBuffer class.  After switching to using rasters in BIPixelBuffer, we can no longer find a case in which AWTPixelBuffer performs faster.

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

12 years agoSignificantly improve performance by eliminating the intermediary MemoryImageSource...
Brian Hinz [Sun, 26 Aug 2012 18:20:15 +0000 (18:20 +0000)]
Significantly improve performance by eliminating the intermediary MemoryImageSource and instead directly modifying the pixels in the BufferedImage.  Supposedly, doing this causes the BufferedImage to become unmanaged.  At one time, unmanaged images weren't hardware-accelerated on some platforms, but that doesn't seem to be the case with Java 1.5 and later.

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

12 years agoChange name of menu key class to be consistent with Java style guidelines.
Brian Hinz [Sun, 26 Aug 2012 18:06:52 +0000 (18:06 +0000)]
Change name of menu key class to be consistent with Java style guidelines.

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

12 years agoX11 window managers are very buggy when it comes to having a window start
Pierre Ossman [Thu, 23 Aug 2012 14:53:36 +0000 (14:53 +0000)]
X11 window managers are very buggy when it comes to having a window start
in full screen mode. So we'll resort to creating a normal window, and then
switching to full screen once it is mapped. Unfortunately it means we need
to handle delaying some resize handling.

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

12 years agoAvoid doing a lot of resize related things if we're not actually resizing.
Pierre Ossman [Thu, 23 Aug 2012 14:40:52 +0000 (14:40 +0000)]
Avoid doing a lot of resize related things if we're not actually resizing.

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

12 years agoA CGImage is read-only, but it just happened to work anyway. Until 10.8
Pierre Ossman [Fri, 17 Aug 2012 13:37:42 +0000 (13:37 +0000)]
A CGImage is read-only, but it just happened to work anyway. Until 10.8
that is. Do it the documented way by having a CGBitmapContext instead.

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

12 years agoThe maximise functionality does not rely on the fullscreen patches.
Pierre Ossman [Fri, 17 Aug 2012 09:04:28 +0000 (09:04 +0000)]
The maximise functionality does not rely on the fullscreen patches.

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

12 years agoClarify the FLTK requirement.
Pierre Ossman [Fri, 17 Aug 2012 08:10:27 +0000 (08:10 +0000)]
Clarify the FLTK requirement.

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

12 years agoAdd missing blank line.
Pierre Ossman [Fri, 17 Aug 2012 08:05:59 +0000 (08:05 +0000)]
Add missing blank line.

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

12 years agoIgnore more generated files
Peter Åstrand [Thu, 9 Aug 2012 07:40:47 +0000 (07:40 +0000)]
Ignore more generated files

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

12 years agoRemove the in-tree versin of FLTK. Maintaining such a copy is way too
Peter Åstrand [Thu, 9 Aug 2012 07:33:08 +0000 (07:33 +0000)]
Remove the in-tree versin of FLTK. Maintaining such a copy is way too
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

12 years agoMake it possible to load and save configuration files. Also, when
Peter Åstrand [Wed, 8 Aug 2012 11:49:01 +0000 (11:49 +0000)]
Make it possible to load and save configuration files. Also, when
connecting, the options are saved as default settings. This patch
fixes SF bugs 3481470 and 3499216.

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

12 years agoAdded new option "-Maximize", for maximizing the window at startup.
Peter Åstrand [Wed, 1 Aug 2012 08:09:09 +0000 (08:09 +0000)]
Added new option "-Maximize", for maximizing the window at startup.

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

12 years agoChanges to allow compiling on JDK7
Brian Hinz [Sun, 22 Jul 2012 20:25:57 +0000 (20:25 +0000)]
Changes to allow compiling on JDK7

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

12 years agoWe can end up with no screens in some cases. Make sure we at least have a
Pierre Ossman [Fri, 20 Jul 2012 14:11:26 +0000 (14:11 +0000)]
We can end up with no screens in some cases. Make sure we at least have a
dummy one when that happens.

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

12 years agoScreen layout is relative our viewport, not the local machine's 0,0.
Pierre Ossman [Fri, 20 Jul 2012 12:39:27 +0000 (12:39 +0000)]
Screen layout is relative our viewport, not the local machine's 0,0.

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

12 years agoMake sure we filter out any screens that aren't fully inside the new
Pierre Ossman [Fri, 20 Jul 2012 12:32:52 +0000 (12:32 +0000)]
Make sure we filter out any screens that aren't fully inside the new
framebuffer.

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

12 years agoRemove some debug output that wasn't supposed to be here.
Pierre Ossman [Fri, 20 Jul 2012 12:15:32 +0000 (12:15 +0000)]
Remove some debug output that wasn't supposed to be here.

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

12 years agoWe were not handling the "sync next" fence properly as we sent the response
Pierre Ossman [Fri, 20 Jul 2012 10:47:00 +0000 (10:47 +0000)]
We were not handling the "sync next" fence properly as we sent the response
right after we got the request (instead of waiting for the next command).
This created a race where we could lose pixel format sync between the client
and the server.

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

12 years agoAlso check for negative encodings, in case the server is throwing unexpected
Pierre Ossman [Thu, 19 Jul 2012 11:06:27 +0000 (11:06 +0000)]
Also check for negative encodings, in case the server is throwing unexpected
garbage at us.

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

12 years agoImplicit drawing operations (like window borders) are done by accessing
Pierre Ossman [Thu, 19 Jul 2012 08:40:48 +0000 (08:40 +0000)]
Implicit drawing operations (like window borders) are done by accessing
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

12 years agoFix improper check of errors when getting a suitable RandR mode.
Pierre Ossman [Wed, 18 Jul 2012 14:29:54 +0000 (14:29 +0000)]
Fix improper check of errors when getting a suitable RandR mode.

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

12 years agoWe need to be able to handle outputs without any CRTC connected as well.
Pierre Ossman [Wed, 18 Jul 2012 14:28:58 +0000 (14:28 +0000)]
We need to be able to handle outputs without any CRTC connected as well.
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

12 years agoForgot to initialise the iterator index properly.
Pierre Ossman [Wed, 18 Jul 2012 14:27:37 +0000 (14:27 +0000)]
Forgot to initialise the iterator index properly.

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

12 years agoWe need to manually update the RandR timestamp, as it is normally set in
Pierre Ossman [Tue, 17 Jul 2012 13:54:37 +0000 (13:54 +0000)]
We need to manually update the RandR timestamp, as it is normally set in
the X11 request handlers.

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

12 years agoThe internal API for RRCrtcNotify() changed in Xorg 1.6+, so make sure things
Pierre Ossman [Tue, 17 Jul 2012 11:57:42 +0000 (11:57 +0000)]
The internal API for RRCrtcNotify() changed in Xorg 1.6+, so make sure things
work on those versions as well.

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

12 years agoImplement client side multi-head support. Requires a FLTK patched to support
Pierre Ossman [Fri, 13 Jul 2012 11:22:55 +0000 (11:22 +0000)]
Implement client side multi-head support. Requires a FLTK patched to support
fullscreen over multiple monitors. Will properly report screen configuration
to the server, provided the server supports it.

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

12 years agoScreenSet references rdr types, so we need to make sure those are defined.
Pierre Ossman [Fri, 13 Jul 2012 11:18:55 +0000 (11:18 +0000)]
ScreenSet references rdr types, so we need to make sure those are defined.

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

12 years agoAdd back support for letting the client reconfigure the screen, this time
Pierre Ossman [Fri, 13 Jul 2012 10:29:15 +0000 (10:29 +0000)]
Add back support for letting the client reconfigure the screen, this time
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

12 years agoTrack outputs instead of CRTCs, as those better match the screen concept
Pierre Ossman [Thu, 12 Jul 2012 12:40:50 +0000 (12:40 +0000)]
Track outputs instead of CRTCs, as those better match the screen concept
in RFB.

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

12 years agoRedo the RandR code in Xvnc/libvnc to use the modern 1.2 API. The old
Pierre Ossman [Thu, 12 Jul 2012 11:31:42 +0000 (11:31 +0000)]
Redo the RandR code in Xvnc/libvnc to use the modern 1.2 API. The old
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

12 years agoHide the full screen setting when support isn't present.
Pierre Ossman [Tue, 10 Jul 2012 11:11:23 +0000 (11:11 +0000)]
Hide the full screen setting when support isn't present.

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

12 years agoMake RemoteResize configurable from the options dialog.
Pierre Ossman [Thu, 5 Jul 2012 11:06:18 +0000 (11:06 +0000)]
Make RemoteResize configurable from the options dialog.

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

12 years agoMake DesktopSize configurable from the options dialog.
Pierre Ossman [Thu, 5 Jul 2012 11:01:23 +0000 (11:01 +0000)]
Make DesktopSize configurable from the options dialog.

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

12 years agoMove the fullscreen option to a separate tab, in preparation for more
Pierre Ossman [Thu, 5 Jul 2012 09:23:03 +0000 (09:23 +0000)]
Move the fullscreen option to a separate tab, in preparation for more
screen related options.

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

12 years agoThis code is no longer needed now that we have dynamic resize.
Pierre Ossman [Wed, 4 Jul 2012 11:37:48 +0000 (11:37 +0000)]
This code is no longer needed now that we have dynamic resize.

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

12 years agoAdd menu entry to have the local window match the size of the remote desktop.
Pierre Ossman [Wed, 4 Jul 2012 11:37:10 +0000 (11:37 +0000)]
Add menu entry to have the local window match the size of the remote desktop.
This is useful now that we no longer have size restrictions on the window.

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

12 years agoMake it possible to dynamically resize the size of the session, when resizing
Pierre Ossman [Wed, 4 Jul 2012 11:27:47 +0000 (11:27 +0000)]
Make it possible to dynamically resize the size of the session, when resizing
the viewer window, or when entering or leaving fullscreen mode. Initial
work done by Arthur Huillet and clohr.

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

12 years agoFix typo.
Pierre Ossman [Wed, 4 Jul 2012 11:10:46 +0000 (11:10 +0000)]
Fix typo.

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

12 years agoGnuTLS 3.x has removed gnutls_transport_set_global_errno() in favour of
Pierre Ossman [Tue, 3 Jul 2012 14:52:26 +0000 (14:52 +0000)]
GnuTLS 3.x has removed gnutls_transport_set_global_errno() in favour of
gnutls_transport_set_errno(). Make sure we call the right errno function
depending on which GnuTLS we're using.

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

12 years agoRefactor the TLS code so that the push/pull functions are aware of their
Pierre Ossman [Tue, 3 Jul 2012 14:43:38 +0000 (14:43 +0000)]
Refactor the TLS code so that the push/pull functions are aware of their
containing stream object. This is in preparation for supporting GnuTLS 3.x.

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

12 years agoIn-tree version of FLTK needs Fl_PNG_Image in order to use the new icon code in the...
DRC [Sat, 2 Jun 2012 18:45:26 +0000 (18:45 +0000)]
In-tree version of FLTK needs Fl_PNG_Image in order to use the new icon code in the viewer

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

12 years agoFixed issue where viewer was not honoring cmd line arg SendLocalUsername
Brian Hinz [Thu, 31 May 2012 04:41:16 +0000 (04:41 +0000)]
Fixed issue where viewer was not honoring cmd line arg SendLocalUsername

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

12 years agoremoved ANSI character escapes, not supported on Windows cmd line
Brian Hinz [Wed, 23 May 2012 04:21:09 +0000 (04:21 +0000)]
removed ANSI character escapes, not supported on Windows cmd line

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

12 years agoSignificantly improves the peak frame rate on platforms that support using BIPixelBuffer
Brian Hinz [Wed, 23 May 2012 03:43:10 +0000 (03:43 +0000)]
Significantly improves the peak frame rate on platforms that support using BIPixelBuffer

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

12 years agoShortened SSH tunneling System property names, fixed problem with parsing of '-via...
Brian Hinz [Wed, 23 May 2012 03:40:07 +0000 (03:40 +0000)]
Shortened SSH tunneling System property names, fixed problem with parsing of '-via' cmd line option, fixed intermittent problem with SSH password dialog.

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

12 years agoFixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts the screen...
Brian Hinz [Sat, 19 May 2012 13:28:43 +0000 (13:28 +0000)]
Fixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts the screen image when areas are shifted to the left.  Benchmarking show no measurable performance impact from this change, and it seems to mitigate the problem.

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

12 years agoAdds support for setting the menu key via cmd line arg. Adds all menu keys supported...
Brian Hinz [Wed, 16 May 2012 03:51:42 +0000 (03:51 +0000)]
Adds support for setting the menu key via cmd line arg.  Adds all menu keys supported by native viewer to the combo box in the OptionsDialog.

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

12 years agoImplemented rfb/Configuration similar to the native client methods. Added equivalent...
Brian Hinz [Mon, 14 May 2012 02:19:41 +0000 (02:19 +0000)]
Implemented rfb/Configuration similar to the native client methods. Added equivalent cmd line options for all native client options except "-menuKey", which needs a little more work on the GUI side before it can be added.

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

12 years agoReverted change introduced in r4910, r4911 didn't fix the problem that was created.
Brian Hinz [Mon, 7 May 2012 01:02:24 +0000 (01:02 +0000)]
Reverted change introduced in r4910, r4911 didn't fix the problem that was created.

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

12 years agoFixed a null pointer exception introduced by r4909
Brian Hinz [Mon, 7 May 2012 00:30:08 +0000 (00:30 +0000)]
Fixed a null pointer exception introduced by r4909

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

12 years agoRe-implemented SSH tunneling features in Java viewer based on TurboVNC native client...
Brian Hinz [Sun, 6 May 2012 19:18:05 +0000 (19:18 +0000)]
Re-implemented SSH tunneling features in Java viewer based on TurboVNC native client method.  Adds support for string substitutions of via command, as well as a '-tunnel' option for tunneling directly to VNC server host (also support string substitutions). This implementation requires the vncServerName to be the last argument specified to the viewer, however this is consistent with the behavior of the native client and does not appear to cause any problems when using the viewer in standalone, applet, or jnlp modes.

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

12 years agoimprove readability of usage message displayed by Java viewer.
Brian Hinz [Sun, 6 May 2012 17:51:27 +0000 (17:51 +0000)]
improve readability of usage message displayed by Java viewer.

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

12 years agoFixed an issue with -listen mode where java client wasn't listening on the wildcard...
Brian Hinz [Fri, 27 Apr 2012 18:23:31 +0000 (18:23 +0000)]
Fixed an issue with -listen mode where java client wasn't listening on the wildcard address

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

12 years agoThe old Windows viewer was capable of logging to file. This is essential
Pierre Ossman [Thu, 26 Apr 2012 14:27:52 +0000 (14:27 +0000)]
The old Windows viewer was capable of logging to file. This is essential
on Windows as stdout/stderr don't work well there. Make sure the new
viewer also has this functionality.

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

12 years agoWindows has a bit of a peculiarity in that winsock2.h must be included
Pierre Ossman [Thu, 26 Apr 2012 09:18:19 +0000 (09:18 +0000)]
Windows has a bit of a peculiarity in that winsock2.h must be included
before windows.h for correct winsock behaviour. mingw-w64 also enforces
this order, so to avoid compile errors we must include windows.h late in
all files.

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

12 years agoFix unsafe usage of the logging functions.
Pierre Ossman [Thu, 26 Apr 2012 09:04:14 +0000 (09:04 +0000)]
Fix unsafe usage of the logging functions.

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

12 years agoAllow gcc to check for correct usage of the formatting string for the
Pierre Ossman [Thu, 26 Apr 2012 08:51:19 +0000 (08:51 +0000)]
Allow gcc to check for correct usage of the formatting string for the
logging class.

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

12 years agoFixed cut & paste error
Brian Hinz [Thu, 26 Apr 2012 04:33:11 +0000 (04:33 +0000)]
Fixed cut & paste error

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

12 years agoFix Socket methods for querying the socket endpoints. Fix the address displayed in...
Brian Hinz [Thu, 26 Apr 2012 00:03:16 +0000 (00:03 +0000)]
Fix Socket methods for querying the socket endpoints. Fix the address displayed in the info dialog for redirected connections.

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

12 years agoRemove hard-coded font names from UI settings.
Brian Hinz [Wed, 25 Apr 2012 21:20:24 +0000 (21:20 +0000)]
Remove hard-coded font names from UI settings.

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

12 years agoMake sure we're paranoid about accidentally feeding a format string.
Pierre Ossman [Wed, 25 Apr 2012 15:43:56 +0000 (15:43 +0000)]
Make sure we're paranoid about accidentally feeding a format string.
Basic patch by Joachim Falk. Slightly improved before commit.

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

12 years agoThe reformatting of all the Xserver sources in the 1.12.1 release changed
Pierre Ossman [Wed, 25 Apr 2012 15:10:38 +0000 (15:10 +0000)]
The reformatting of all the Xserver sources in the 1.12.1 release changed
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

12 years agoProper support for icons in FLTK (upstream STR 2816).
Pierre Ossman [Wed, 25 Apr 2012 14:57:22 +0000 (14:57 +0000)]
Proper support for icons in FLTK (upstream STR 2816).

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

12 years agoUse the gcc way of creating shared segments in DLLs. The previous way
Pierre Ossman [Wed, 25 Apr 2012 14:54:04 +0000 (14:54 +0000)]
Use the gcc way of creating shared segments in DLLs. The previous way
only works with MSVC.

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

12 years agoBuild wm_hooks in its own directory. Makes the build structure more clear.
Pierre Ossman [Wed, 25 Apr 2012 14:35:46 +0000 (14:35 +0000)]
Build wm_hooks in its own directory. Makes the build structure more clear.

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

12 years agoSpawn a new viewer on ClientRedirects, otherwise ConnParams may not be initialized...
Brian Hinz [Wed, 25 Apr 2012 03:49:10 +0000 (03:49 +0000)]
Spawn a new viewer on ClientRedirects, otherwise ConnParams may not be initialized correctly.

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

12 years agoSet Nimbus as the default look and feel if it's available, otherwise fallback to...
Brian Hinz [Wed, 25 Apr 2012 03:24:37 +0000 (03:24 +0000)]
Set Nimbus as the default look and feel if it's available, otherwise fallback to the native LAF.  Allow LAF to be specified with swing.defaultlaf system property.

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

12 years agoUI tweaks to improve look & feel consistency.
Brian Hinz [Wed, 25 Apr 2012 01:15:36 +0000 (01:15 +0000)]
UI tweaks to improve look & feel consistency.

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

12 years agodispose of graphics object to prevent memory leaks
Brian Hinz [Sat, 21 Apr 2012 00:44:08 +0000 (00:44 +0000)]
dispose of graphics object to prevent memory leaks

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

12 years agoAllows java client in listen mode to continue listening and spawning new viewers...
Brian Hinz [Sat, 14 Apr 2012 03:20:47 +0000 (03:20 +0000)]
Allows java client in listen mode to continue listening and spawning new viewers after the first connection is made.

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

12 years agoMake the Swing LookAndFeel consistent between applet mode and standalone mode.
Brian Hinz [Fri, 13 Apr 2012 01:36:45 +0000 (01:36 +0000)]
Make the Swing LookAndFeel consistent between applet mode and standalone mode.

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

12 years agoFixes issue with java viewer exiting altogether when the New Connection ServerDialog...
Brian Hinz [Fri, 13 Apr 2012 01:22:08 +0000 (01:22 +0000)]
Fixes issue with java viewer exiting altogether when the New Connection ServerDialog is cancelled or a new connection window is closed.

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

12 years agoUpdate address of FSF and copyright notices to assign proper credit.
Brian Hinz [Wed, 11 Apr 2012 22:00:55 +0000 (22:00 +0000)]
Update address of FSF and copyright notices to assign proper credit.

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

12 years agoTry to eliminate spurious repaints, improve rendering speed, and simplify viewport...
Brian Hinz [Wed, 11 Apr 2012 15:38:14 +0000 (15:38 +0000)]
Try to eliminate spurious repaints, improve rendering speed, and simplify viewport constructor.

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

12 years agoFix potential null pointer exception if cursor hotspot isn't available
Brian Hinz [Wed, 11 Apr 2012 15:34:45 +0000 (15:34 +0000)]
Fix potential null pointer exception if cursor hotspot isn't available

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

12 years agoremove some bits of dead/unused code
Brian Hinz [Wed, 11 Apr 2012 14:38:48 +0000 (14:38 +0000)]
remove some bits of dead/unused code

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

12 years agoEnable setDesktopSize feature.
Brian Hinz [Sun, 8 Apr 2012 19:18:31 +0000 (19:18 +0000)]
Enable setDesktopSize feature.

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

12 years agomake sure FullScreen checkbox is initialized correctly.
Brian Hinz [Sun, 8 Apr 2012 19:12:50 +0000 (19:12 +0000)]
make sure FullScreen checkbox is initialized correctly.

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

12 years agoadds experimental support for SSH tunneling to the Java client. Has not been tested...
Brian Hinz [Thu, 5 Apr 2012 03:37:50 +0000 (03:37 +0000)]
adds experimental support for SSH tunneling to the Java client.  Has not been tested with large desktop sizes yet.  CMakeLists.txt needs some rework.

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