]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
11 years agoCopy the -verbose and -quiet parameters from Xorg so that we
Pierre Ossman [Tue, 9 Apr 2013 14:54:17 +0000 (14:54 +0000)]
Copy the -verbose and -quiet parameters from Xorg so that we
can control log output from the X core.

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

11 years agoGLX is no longer initialised by the dix. Patch originally by
Pierre Ossman [Tue, 9 Apr 2013 14:50:15 +0000 (14:50 +0000)]
GLX is no longer initialised by the dix. Patch originally by
Adam Tkac for Fedora.

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

11 years agoMore fixes for key event issues. It seems that on WindowsXP sending the actual key...
Brian Hinz [Mon, 25 Mar 2013 20:58:14 +0000 (20:58 +0000)]
More fixes for key event issues.  It seems that on WindowsXP sending the actual key press/release separately can be mis-interpreted by the server as holding the key down.  Using a keyTyped event for all character input ensures that we can send an immediate down/up.  It also works around the broken AltGr detection in Java 6.  Also added support for more keys (F13-F24, etc.).  Some key definitions in java don't have X11 equivalents or I could not be sure so I've left them commented out.

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

11 years agoInitialize VNC extension from libvnc.so only once.
Adam Tkac [Thu, 14 Mar 2013 17:52:53 +0000 (17:52 +0000)]
Initialize VNC extension from libvnc.so only once.

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

11 years agoSimplify rfb::ParameterIterator - we always iterate over all enabled params.
Adam Tkac [Thu, 14 Mar 2013 17:11:22 +0000 (17:11 +0000)]
Simplify rfb::ParameterIterator - we always iterate over all enabled params.

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

11 years agoRemove unused assignment operator declaration from rfb::Configuration
Adam Tkac [Thu, 14 Mar 2013 15:49:29 +0000 (15:49 +0000)]
Remove unused assignment operator declaration from rfb::Configuration

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

11 years agoRemove unused parameter from rfb::Configuration::Configuration()
Adam Tkac [Thu, 14 Mar 2013 15:35:42 +0000 (15:35 +0000)]
Remove unused parameter from rfb::Configuration::Configuration()

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

11 years agoRemove bogus -geometry width/height adjustment from vncserver script
Adam Tkac [Thu, 14 Mar 2013 13:41:14 +0000 (13:41 +0000)]
Remove bogus -geometry width/height adjustment from vncserver script

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

11 years agoNeed to escape formatting character.
Brian Hinz [Wed, 6 Mar 2013 21:42:39 +0000 (21:42 +0000)]
Need to escape formatting character.

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

11 years agoCorrect typo in r5058 that set an initial value on key location. Add a some verbosity...
Brian Hinz [Wed, 6 Mar 2013 21:37:31 +0000 (21:37 +0000)]
Correct typo in r5058 that set an initial value on key location. Add a some verbosity to KeyEvent debug statement.

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

11 years agoFixes some regressions introduced in r5056. Losing window focus caused key modifiers...
Brian Hinz [Wed, 6 Mar 2013 18:14:54 +0000 (18:14 +0000)]
Fixes some regressions introduced in r5056. Losing window focus caused key modifiers to be left in an incorrect state.  Special handling of AltGr key was being applied in cases where CTRL_L+ALT_L keys were depressed which also caused the modifiers to be left in an incorrect state.  Corrected mapping of CTRL+ALT+SHIFT hotkeys to match F8 menu.

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

11 years agoUse JDialog for connection info dialog so that frame icon is set correctly.
Brian Hinz [Wed, 6 Mar 2013 14:52:10 +0000 (14:52 +0000)]
Use JDialog for connection info dialog so that frame icon is set correctly.

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

11 years agoBackported a number of fixes/enhancements (mostly related to keymapping) from TurboVN...
Brian Hinz [Sun, 3 Mar 2013 16:53:41 +0000 (16:53 +0000)]
Backported a number of fixes/enhancements (mostly related to keymapping) from TurboVNC viewer.  Also cleaned up some whitespace and minor formatting changes.

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

11 years agoUpdate copyright dates
Brian Hinz [Fri, 1 Mar 2013 01:14:22 +0000 (01:14 +0000)]
Update copyright dates

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

11 years agoReplace multiple instantiations of code to retrieve resources (icons, timestamp)...
Brian Hinz [Fri, 1 Mar 2013 01:10:07 +0000 (01:10 +0000)]
Replace multiple instantiations of code to retrieve resources (icons, timestamp) from jar file with statics.

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

11 years agoMake viewport the parent of "Save As" dialog so that the window frame icon is inherit...
Brian Hinz [Fri, 1 Mar 2013 00:55:42 +0000 (00:55 +0000)]
Make viewport the parent of "Save As" dialog so that the window frame icon is inherited correctly.

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

11 years agoUsing DirectColorModel constructor with an alpha mask other than 0 creates a ColorMap...
Brian Hinz [Fri, 1 Mar 2013 00:29:10 +0000 (00:29 +0000)]
Using DirectColorModel constructor with an alpha mask other than 0 creates a ColorMap with Transparency.TRANSLUCENT rather than OPAQUE.  This in turn causes rendering between opaque BufferedImages or to the screen to be performed without HW acceleration.

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

11 years agoFix build on 32-bit and 64-bit Windows
DRC [Tue, 26 Feb 2013 10:34:22 +0000 (10:34 +0000)]
Fix build on 32-bit and 64-bit Windows

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

11 years agocomboBoxEdited events are fired if the content of the JComboBox is edited and then...
Brian Hinz [Fri, 22 Feb 2013 19:47:13 +0000 (19:47 +0000)]
comboBoxEdited events are fired if the content of the JComboBox is edited and then the comboBox is de-selected.  This causes the connection to be initiated inadvertently sometimes (like when the About... button was pressed.  Removed the ItemListener since it didn't serve any purpose, and also deleted the definition of endDialog() since it was the same as the inherited function anyway.

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

11 years agoFixes yet another case where the viewport background wasn't painted black when the...
Brian Hinz [Thu, 21 Feb 2013 03:11:14 +0000 (03:11 +0000)]
Fixes yet another case where the viewport background wasn't painted black when the desktop size was less than the viewport size.  Also set both scrollbar policies just as a precaution.

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

11 years agoviewer: exit when user specifies both -via and -listen parameters
Adam Tkac [Tue, 19 Feb 2013 14:30:32 +0000 (14:30 +0000)]
viewer: exit when user specifies both -via and -listen parameters

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

11 years agoX.Org 1.14 support was incomplete
Adam Tkac [Tue, 19 Feb 2013 13:51:29 +0000 (13:51 +0000)]
X.Org 1.14 support was incomplete

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

11 years agoUpdate the checked in copies of the generated icons. Somehow
Pierre Ossman [Tue, 19 Feb 2013 09:03:51 +0000 (09:03 +0000)]
Update the checked in copies of the generated icons. Somehow
the previous versions were broken.

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

11 years agoFix bad circular dependency.
Pierre Ossman [Tue, 19 Feb 2013 09:02:25 +0000 (09:02 +0000)]
Fix bad circular dependency.

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

11 years agoModern versions of ImageMagick properly respects the SVG default
Pierre Ossman [Tue, 19 Feb 2013 08:59:03 +0000 (08:59 +0000)]
Modern versions of ImageMagick properly respects the SVG default
DPI of 90, which causes unwanted scaling under ImageMagick's default
72. Force a 72 DPI to get pixel perfect matching.

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

11 years agoNotify the server of mouse release events even if they're outside the desktop area.
Brian Hinz [Mon, 18 Feb 2013 22:46:04 +0000 (22:46 +0000)]
Notify the server of mouse release events even if they're outside the desktop area.

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

11 years agor5037 was not quite right. Both the viewport and scrollbar background colors were...
Brian Hinz [Mon, 18 Feb 2013 21:28:07 +0000 (21:28 +0000)]
r5037 was not quite right. Both the viewport and scrollbar background colors were JRE dependent.

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

11 years agoReimplement -listen in the new FLTK vncviewer. Work done by
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

11 years agoSending menu key from F8 menu was sending the keycode instead of the keysym.
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

11 years agoFix a regression introduced in r5034 that causes window to be resized unnecesarily.
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

11 years agoUpdated patch references; CMake portions of the clipboard and cursor patches.
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

11 years agoCosmetic change. The background color of the viewport was not being applied properly.
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

11 years agoAdd xserver114.patch patch
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

11 years agoWhen the desktop size is less than the viewport size, ignore mouse events that occur...
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

11 years agoFixes a number of issues related to fullscreen mode. When switching out of fullscreen...
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

11 years agoRemove one vlog.debug call which shouldn't have been committed
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

11 years agoRe-add the "-via" parameter support on UNIX platforms.
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

11 years agoThe recommended FLTK version is now 1.3.2. This means that several
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

11 years agoA minor style change wrt the patches; use comment char.
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

11 years agomore fixes for remote cursor rendering. State wasn't always being initialized correctly.
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

11 years agofix a regression introduced by r5025
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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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