]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
11 years agoSend the focus back to the viewport after leaving the options dialog
Brian Hinz [Sat, 12 Jan 2013 14:12:31 +0000 (14:12 +0000)]
Send the focus back to the viewport after leaving the options dialog

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

11 years agoMake the icon used for the titlebar consistent for About... dialog
Brian Hinz [Sat, 12 Jan 2013 01:20:53 +0000 (01:20 +0000)]
Make the icon used for the titlebar consistent for About... dialog

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

11 years agoFixes a number of issues related to cursor handling, including "invalid hotspot"...
Brian Hinz [Sat, 12 Jan 2013 01:17:35 +0000 (01:17 +0000)]
Fixes a number of issues related to cursor handling, including "invalid hotspot" exception caused when cursor hotspot is outside the maximum cursor size supported by the toolkit on the client.  Also, local cursor was not being drawn properly when the display size was scaled.

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

11 years agoCheck the generated icons into the build tree. This solves a couple of issues: ...
DRC [Mon, 7 Jan 2013 22:24:01 +0000 (22:24 +0000)]
Check the generated icons into the build tree.  This solves a couple of issues:  (1) it eliminates the build dependency on ImageMagick, which was not documented and which creates a hard-to-diagnose build failure on platforms on which it isn't available, and (2) the build was completely broken on Windows, because Windows has a convert.exe program that is part of the operating system, and the TigerVNC build system was finding this and attempting to use it to generate the icons.

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

11 years agoHint about building FLTK with -DCMAKE_BUILD_TYPE=Release.
Peter Åstrand [Mon, 7 Jan 2013 09:59:00 +0000 (09:59 +0000)]
Hint about building FLTK with -DCMAKE_BUILD_TYPE=Release.

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

11 years agofltk-xfixes-xcursor-cmake.2.patch must be applied with -p0.
Peter Åstrand [Mon, 7 Jan 2013 09:50:39 +0000 (09:50 +0000)]
fltk-xfixes-xcursor-cmake.2.patch must be applied with -p0.

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

11 years agoMake exception handling more user friendly. Not all exceptions are 'errors' (for...
Brian Hinz [Sun, 16 Dec 2012 20:35:39 +0000 (20:35 +0000)]
Make exception handling more user friendly.  Not all exceptions are 'errors' (for example, exiting the server intentionally via the window manager's logoff button).

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

11 years agoCleanup linter warnings wherever possible and suppress all linter warnings from Jsch...
Brian Hinz [Fri, 14 Dec 2012 22:40:02 +0000 (22:40 +0000)]
Cleanup linter warnings wherever possible and suppress all linter warnings from Jsch code

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

11 years agoWe forgot to port over the getaddrinfo() test from the autoconf
Pierre Ossman [Thu, 13 Dec 2012 13:56:28 +0000 (13:56 +0000)]
We forgot to port over the getaddrinfo() test from the autoconf
conversion. Bug discovered by Radek Podgorny.

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

11 years agoWindows lacks the IN6_ARE_ADDR_EQUAL macro, so define it ourselves
Pierre Ossman [Thu, 13 Dec 2012 13:55:22 +0000 (13:55 +0000)]
Windows lacks the IN6_ARE_ADDR_EQUAL macro, so define it ourselves
when necessary.

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

11 years agoFixes regression introduced by r5016 (exception produced when connecting to 8bpp...
Brian Hinz [Tue, 11 Dec 2012 22:12:35 +0000 (22:12 +0000)]
Fixes regression introduced by r5016 (exception produced when connecting to 8bpp server)

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

11 years agofixed bug where IndexColorModel was reset when switching to 8bpp from another depth
Brian Hinz [Thu, 6 Dec 2012 02:25:49 +0000 (02:25 +0000)]
fixed bug where IndexColorModel was reset when switching to 8bpp from another depth

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

11 years agoAllow to change "AcceptPointerEvents" via "vncconfig -set".
Adam Tkac [Mon, 26 Nov 2012 12:04:16 +0000 (12:04 +0000)]
Allow to change "AcceptPointerEvents" via "vncconfig -set".

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

11 years agoFix handling of whitelisted "vncconfig -set" parameters in Xvnc.
Adam Tkac [Mon, 26 Nov 2012 12:01:42 +0000 (12:01 +0000)]
Fix handling of whitelisted "vncconfig -set" parameters in Xvnc.

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

12 years agoThere is unfortunately not a patch available for this issue.
Pierre Ossman [Tue, 30 Oct 2012 13:12:11 +0000 (13:12 +0000)]
There is unfortunately not a patch available for this issue.

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

12 years agoUpdate with current patch file names.
Pierre Ossman [Tue, 30 Oct 2012 13:11:47 +0000 (13:11 +0000)]
Update with current patch file names.

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

12 years agoWe need to be careful to not call X11 operations if the window isn't
Pierre Ossman [Tue, 30 Oct 2012 10:26:23 +0000 (10:26 +0000)]
We need to be careful to not call X11 operations if the window isn't
shown yet.

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

12 years agoLeaving/entering full screen on OS X would leave the scroll bars in an
Pierre Ossman [Wed, 24 Oct 2012 12:15:19 +0000 (12:15 +0000)]
Leaving/entering full screen on OS X would leave the scroll bars in an
incorrect state. Turned out it was actually a redraw bug.

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

12 years agoUpdate to last patch
Peter Åstrand [Wed, 24 Oct 2012 08:35:07 +0000 (08:35 +0000)]
Update to last patch

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

12 years agoFl::screen_work_area() was added after FLTK 1.3.0, so we need to have
Pierre Ossman [Wed, 24 Oct 2012 08:28:18 +0000 (08:28 +0000)]
Fl::screen_work_area() was added after FLTK 1.3.0, so we need to have
checks that it is actually present on the current system.

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

12 years agoInclude fltk-xfixes-xcursor-cmake.patch.
Peter Åstrand [Wed, 24 Oct 2012 08:25:20 +0000 (08:25 +0000)]
Include fltk-xfixes-xcursor-cmake.patch.

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

12 years agoTo make it easier to apply patches, list their names and which order
Peter Åstrand [Wed, 24 Oct 2012 07:49:32 +0000 (07:49 +0000)]
To make it easier to apply patches, list their names and which order
they should be applied.

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

12 years agoFix indentation.
Pierre Ossman [Wed, 17 Oct 2012 07:59:36 +0000 (07:59 +0000)]
Fix indentation.

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

12 years agoStarting in full screen was misbehaving because we were waiting
Pierre Ossman [Wed, 17 Oct 2012 07:59:20 +0000 (07:59 +0000)]
Starting in full screen was misbehaving because we were waiting
for a FL_FULLSCREEN event to set things up properly, and FLTK
doesn't emit this for a hidden window.

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

12 years agoWe need to be more careful about activating maximized mode when in
Pierre Ossman [Thu, 11 Oct 2012 09:17:19 +0000 (09:17 +0000)]
We need to be more careful about activating maximized mode when in
full screen, otherwise we'll mess things up.

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

12 years agoXFCE's window manager did not interact well with the code that avoided
Pierre Ossman [Wed, 3 Oct 2012 12:21:54 +0000 (12:21 +0000)]
XFCE's window manager did not interact well with the code that avoided
accidental legacy full screen requests. Seems we need to sort that
FIXME out sooner rather than later.

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

12 years agoUsing maximize and full screen at the same time on OS X would misbehave
Pierre Ossman [Tue, 2 Oct 2012 14:45:10 +0000 (14:45 +0000)]
Using maximize and full screen at the same time on OS X would misbehave
as we would first create a full screen window, then resize it to a
maximized site. Reorganise things a bit so that we get sensible
behaviour.

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

12 years agoFix bad indentation.
Pierre Ossman [Tue, 2 Oct 2012 14:30:22 +0000 (14:30 +0000)]
Fix bad indentation.

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

12 years agoHave to properly include config.h for the HAVE_... stuff to work.
Pierre Ossman [Tue, 11 Sep 2012 11:12:56 +0000 (11:12 +0000)]
Have to properly include config.h for the HAVE_... stuff to work.

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

12 years agoFix incorrect path for viewer icons. Patch by Uros Vampl.
Pierre Ossman [Tue, 11 Sep 2012 10:56:21 +0000 (10:56 +0000)]
Fix incorrect path for viewer icons. Patch by Uros Vampl.

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

12 years agoNeed to make sure that the viewport still gets mouse events, even if we
Pierre Ossman [Mon, 10 Sep 2012 11:46:08 +0000 (11:46 +0000)]
Need to make sure that the viewport still gets mouse events, even if we
want to intercept them for the edge/bump scroll.

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

12 years agoCreate common/os/libos.la file
Adam Tkac [Wed, 5 Sep 2012 14:06:05 +0000 (14:06 +0000)]
Create common/os/libos.la file

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

12 years agoAdd support for X.Org 1.13
Adam Tkac [Wed, 5 Sep 2012 13:29:19 +0000 (13:29 +0000)]
Add support for X.Org 1.13

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

12 years agoAdd xserver113.patch
Adam Tkac [Wed, 5 Sep 2012 13:28:27 +0000 (13:28 +0000)]
Add xserver113.patch

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

12 years agoBreak some overly long lines.
Pierre Ossman [Mon, 3 Sep 2012 09:45:40 +0000 (09:45 +0000)]
Break some overly long lines.

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

12 years agoAvoid triggering a full screen request by accident on X11.
Pierre Ossman [Mon, 3 Sep 2012 09:43:23 +0000 (09:43 +0000)]
Avoid triggering a full screen request by accident on X11.

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

12 years agoRestore edge/bump scrolling when we are in full screen mode as it is easier
Pierre Ossman [Mon, 3 Sep 2012 09:25:07 +0000 (09:25 +0000)]
Restore edge/bump scrolling when we are in full screen mode as it is easier
to use.

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

12 years agoupgrade jzlib to 1.1.1
Brian Hinz [Sat, 1 Sep 2012 21:15:26 +0000 (21:15 +0000)]
upgrade jzlib to 1.1.1

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

12 years agoUpdated copyright notice, fixed build string
Brian Hinz [Sat, 1 Sep 2012 20:54:12 +0000 (20:54 +0000)]
Updated copyright notice, fixed build string

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

12 years agoForces all dialogs except for the clipboard to be modal. Fixes cases where dialogs...
Brian Hinz [Sat, 1 Sep 2012 19:24:26 +0000 (19:24 +0000)]
Forces all dialogs except for the clipboard to be modal.  Fixes cases where dialogs are not brought to the front while in fullscreen mode.  Corrects a few corner cases where viewer did not exit properly.

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

12 years agoreduce the time threshold for autoSelectFormatAndEncoding, otherwise early format...
Brian Hinz [Sat, 1 Sep 2012 02:11:09 +0000 (02:11 +0000)]
reduce the time threshold for autoSelectFormatAndEncoding, otherwise early format changes from !autoSelect to autoSelect will not take place

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

12 years agor4960 broke support for pixel formats with depth < 24. This corrects that and also...
Brian Hinz [Sat, 1 Sep 2012 02:00:51 +0000 (02:00 +0000)]
r4960 broke support for pixel formats with depth < 24. This corrects that and also forces a full framebuffer update whenever the format is changed.

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

12 years agofix initialization of dialog state variables
Brian Hinz [Fri, 31 Aug 2012 02:15:35 +0000 (02:15 +0000)]
fix initialization of dialog state variables

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

12 years agoimprove the look & functionality of the clipboard dialog
Brian Hinz [Thu, 30 Aug 2012 01:39:33 +0000 (01:39 +0000)]
improve the look & functionality of the clipboard dialog

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

12 years agosecondary viewers were not loading user preferences
Brian Hinz [Thu, 30 Aug 2012 01:38:19 +0000 (01:38 +0000)]
secondary viewers were not loading user preferences

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

12 years agoFix build errors with XORG < 111: I assume that the last NULL argument
Peter Åstrand [Wed, 29 Aug 2012 08:56:37 +0000 (08:56 +0000)]
Fix build errors with XORG < 111: I assume that the last NULL argument
to GetKeyboardEvents was a typo...

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

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