]>
source.dussan.org Git - tigervnc.git/log
Brian Hinz [Sat, 23 Nov 2013 05:05:21 +0000 (05:05 +0000)]
Fixes a condition where too much data on the local clipboard causes the client to exceed the max heap size and exit. Since the server will, by default, discard clipboard transfers greater than 256KB anyway, a parameter was added which sets the default max clipboard size that the client will hold to 256KB also.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5138
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 6 Nov 2013 15:27:04 +0000 (15:27 +0000)]
Some applications probe for clipboard formats using the
trial-and-error method rather than asking for TARGETS. We
need to make sure we properly report unsupported formats
back to these.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5137
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 3 Oct 2013 18:52:30 +0000 (18:52 +0000)]
Applied DRC's patch to fix broken RRE decoder in java client
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5136
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 19 Sep 2013 09:11:10 +0000 (09:11 +0000)]
Do a better type cast that mirrors how we generate
opaqueId in the first place. Patch by Michal Srb.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5135
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 5 Sep 2013 14:27:21 +0000 (14:27 +0000)]
An updated patch of the X11 clipboard notification is now available.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5134
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 5 Sep 2013 14:25:40 +0000 (14:25 +0000)]
Printing the clipboard data is very annoying as it could
include line breaks, things with the wrong character encoding
and god knows what. Just print the size of the data instead.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5133
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 19 Aug 2013 14:36:26 +0000 (14:36 +0000)]
The screen index was removed in 1.13, not 1.12.
Bug found and patched by Koichiro IWAO.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5130
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 1 Jul 2013 13:59:35 +0000 (13:59 +0000)]
Fix copy-paste error that referred to the wrong variable.
Bug found by David Binderman.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5126
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 1 Jul 2013 12:46:45 +0000 (12:46 +0000)]
Fix bad size calculation in GetQueryConnect handler as well
as an endian conversion fix. Patch by Christian Steinle.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5124
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 11 Jun 2013 07:06:46 +0000 (07:06 +0000)]
Update more copyrights to 2013.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5122
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 11 Jun 2013 07:00:49 +0000 (07:00 +0000)]
Update copyright year to 2013.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5121
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 30 May 2013 14:50:57 +0000 (14:50 +0000)]
Some applications (e.g. wine and rdesktop) tend to misbehave
when we use fake shift to get different symbols on the numpad.
So avoid using fake shifts on NumLock related keys and hope
that other applications won't get upset by getting the
non-numpad keysym counterparts.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5119
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 30 May 2013 14:48:20 +0000 (14:48 +0000)]
Simplify the lookup of alternative keysyms.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5118
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 30 May 2013 14:47:17 +0000 (14:47 +0000)]
Even if we ignore the modifiers, we still have to respect
the active group when we go looking for the level 3 shift key.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5117
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 29 May 2013 12:33:59 +0000 (12:33 +0000)]
The numpad decimal hack is needed on OS X as well.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5115
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Fri, 24 May 2013 10:47:27 +0000 (10:47 +0000)]
Forgot to respect the AcceptClipboard option in the
new FLTK based viewer. Patch by Matt McCutchen.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5112
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Fri, 24 May 2013 10:35:33 +0000 (10:35 +0000)]
Fix bad reference counting of the initial randr mode set.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5111
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 23 May 2013 11:46:35 +0000 (11:46 +0000)]
Adding normal alphabetic keysyms as ONE_LEVEL did not behave
correctly when CapsLock is active, so start using the ALPHABETIC
type for those instead.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5109
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 23 May 2013 11:45:18 +0000 (11:45 +0000)]
xkbcomp ignores keycodes without names, so make sure any keycode
we use actually has one.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5108
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 23 May 2013 11:44:23 +0000 (11:44 +0000)]
The cause of the keyboard mapping change is not a X11 request,
so don't pretend like it is.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5107
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 23 May 2013 11:42:41 +0000 (11:42 +0000)]
XkbTranslateKeyCode() is not implemented according to
specification in any system I can find, so change our code
to follow reality rather than specification.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5106
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 23 May 2013 11:41:35 +0000 (11:41 +0000)]
Not sure what I was smoking when I wrote this. You need
to provide both pointers, even if you are just interested
in the upper case symbol.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5105
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 23 May 2013 11:40:30 +0000 (11:40 +0000)]
Relax the requirements on addKeysym() so that it can add new
entries that still require modifying the current modifier state.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5104
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 22 May 2013 12:52:27 +0000 (12:52 +0000)]
Redo r5090 using functions that are available in older
Xorg versions as well.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5100
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 22 May 2013 11:59:38 +0000 (11:59 +0000)]
Apparently it is more kosher to completely disassociate an
output from its CRTC than just removing the mode when
disabling an output. This is what "xrandr --off" does.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5099
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 22 May 2013 11:47:08 +0000 (11:47 +0000)]
Automatically update the connection state for RandR
outputs in Xvnc as virtual displays become enabled/disabled.
This seems to make applications happier than just
clearing the mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5098
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 12 May 2013 15:46:09 +0000 (15:46 +0000)]
Whitespace cleanup only
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5097
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 8 May 2013 11:22:04 +0000 (11:22 +0000)]
VNC needs to be initialised early to get its hooks at a proper
place. The new patch for 1.13+ broke at least animated cursors
by moving VNC further down the init list.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5095
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 7 May 2013 13:00:15 +0000 (13:00 +0000)]
The Glyph operation is not guaranteed to be implemented on top of the
Composite operation, so we need to hook both.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5090
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sat, 27 Apr 2013 20:20:57 +0000 (20:20 +0000)]
Fix incorrect dll location in windows setup file template
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5089
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sat, 27 Apr 2013 20:14:50 +0000 (20:14 +0000)]
Use CMAKE_COMMAND variable instead of hard coded cmake executable name for better portability.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5088
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 25 Apr 2013 07:51:47 +0000 (07:51 +0000)]
Bump development version now that 1.3 has been branched off.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5085
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 16 Apr 2013 11:56:29 +0000 (11:56 +0000)]
Work around Windows poor handling of the numpad decimal key.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5083
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 16 Apr 2013 09:03:18 +0000 (09:03 +0000)]
Shifted Tab is a generic VNC problem and not specific to just
Core keyboard. Move handling of it to the central code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5082
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 15 Apr 2013 15:19:12 +0000 (15:19 +0000)]
Embarrasing copy/paste error. Fixes fake AltGr presses.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5081
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Fri, 12 Apr 2013 12:24:32 +0000 (12:24 +0000)]
Another attempt at supporting older Xorg versions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5080
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 11 Apr 2013 13:50:32 +0000 (13:50 +0000)]
Add support for older Xorg releases.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5079
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 11 Apr 2013 10:48:27 +0000 (10:48 +0000)]
Add some missing headers. It is not really ok to include Xutil.h
without first including Xlib.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5078
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 10 Apr 2013 13:07:01 +0000 (13:07 +0000)]
Port over the write block handler code from the 1.5 patch.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5077
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:53:47 +0000 (15:53 +0000)]
Move keyboardProc() so we have all the init stuff in one place.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5076
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:50:50 +0000 (15:50 +0000)]
Major rewrite of the keyboard code. The old code was too focused on
the old core X11 keyboards. The new code has an abstract common section,
and two different backends for core and XKB. Core keyboards should be
unaffected, but XKB support should be much better with this approach.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5075
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:33:49 +0000 (15:33 +0000)]
Copy error. Should have been a tab rather than spaces here.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5074
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:28:34 +0000 (15:28 +0000)]
Mode switch and level 3 shift are used interchangably these days.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5073
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:16:50 +0000 (15:16 +0000)]
Make sure we release the same key we previously pressed for a
given keysym.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5072
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:07:12 +0000 (15:07 +0000)]
Handle init of old and new keyboards the same way.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5071
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 15:01:56 +0000 (15:01 +0000)]
We have an object to store stuff in, so don't use a global
variable.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5070
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 9 Apr 2013 14:59:31 +0000 (14:59 +0000)]
Make sure InputDevice::InitInputDevice() gets called early in
the startup process so our devices are visible and available
right away.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5069
3789f03b -4d11-0410-bbf8-
ca57d06f2519
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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