]>
source.dussan.org Git - tigervnc.git/log
Pierre Ossman [Fri, 15 Feb 2013 08:33:39 +0000 (08:33 +0000)]
Reimplement -listen in the new FLTK vncviewer. Work done by
Justina Mickonyte for Cendio.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5041
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sat, 9 Feb 2013 02:42:14 +0000 (02:42 +0000)]
Sending menu key from F8 menu was sending the keycode instead of the keysym.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5040
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sat, 9 Feb 2013 02:19:05 +0000 (02:19 +0000)]
Fix a regression introduced in r5034 that causes window to be resized unnecesarily.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5039
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 5 Feb 2013 13:38:06 +0000 (13:38 +0000)]
Updated patch references; CMake portions of the clipboard and cursor patches.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5038
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 24 Jan 2013 16:14:01 +0000 (16:14 +0000)]
Cosmetic change. The background color of the viewport was not being applied properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5037
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Thu, 24 Jan 2013 12:13:35 +0000 (12:13 +0000)]
Add xserver114.patch patch
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5036
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 23 Jan 2013 23:12:32 +0000 (23:12 +0000)]
When the desktop size is less than the viewport size, ignore mouse events that occur in the interstitial area
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5035
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 23 Jan 2013 22:46:53 +0000 (22:46 +0000)]
Fixes a number of issues related to fullscreen mode. When switching out of fullscreen mode via the options dialog, setFullScreenWindow was being applied to the old reference, causing the whole screen to be blanked and unresponsive. The checkmark in the F8 menu could sometimes get out of sync with the state of the option. Cursor wasn't always being re-scaled when scale factor was changed. It seems that setCursor can still sometimes be passed a null pointer for the hotspot, so add back in a check that was removed in r5025
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5034
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 23 Jan 2013 14:18:52 +0000 (14:18 +0000)]
Remove one vlog.debug call which shouldn't have been committed
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5033
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 23 Jan 2013 13:55:46 +0000 (13:55 +0000)]
Re-add the "-via" parameter support on UNIX platforms.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5032
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 22 Jan 2013 08:11:05 +0000 (08:11 +0000)]
The recommended FLTK version is now 1.3.2. This means that several
patches are no longer necessary. Also, provide a shell script to
download and apply all patches.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5031
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 22 Jan 2013 08:08:10 +0000 (08:08 +0000)]
A minor style change wrt the patches; use comment char.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5030
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Tue, 15 Jan 2013 22:45:29 +0000 (22:45 +0000)]
more fixes for remote cursor rendering. State wasn't always being initialized correctly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5029
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Tue, 15 Jan 2013 22:12:34 +0000 (22:12 +0000)]
fix a regression introduced by r5025
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5028
3789f03b -4d11-0410-bbf8-
ca57d06f2519
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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