]>
source.dussan.org Git - tigervnc.git/log
Brian Hinz [Wed, 25 Apr 2012 03:49:10 +0000 (03:49 +0000)]
Spawn a new viewer on ClientRedirects, otherwise ConnParams may not be initialized correctly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4895
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 25 Apr 2012 03:24:37 +0000 (03:24 +0000)]
Set Nimbus as the default look and feel if it's available, otherwise fallback to the native LAF. Allow LAF to be specified with swing.defaultlaf system property.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4894
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 25 Apr 2012 01:15:36 +0000 (01:15 +0000)]
UI tweaks to improve look & feel consistency.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4893
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sat, 21 Apr 2012 00:44:08 +0000 (00:44 +0000)]
dispose of graphics object to prevent memory leaks
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4892
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sat, 14 Apr 2012 03:20:47 +0000 (03:20 +0000)]
Allows java client in listen mode to continue listening and spawning new viewers after the first connection is made.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4891
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 13 Apr 2012 01:36:45 +0000 (01:36 +0000)]
Make the Swing LookAndFeel consistent between applet mode and standalone mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4890
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 13 Apr 2012 01:22:08 +0000 (01:22 +0000)]
Fixes issue with java viewer exiting altogether when the New Connection ServerDialog is cancelled or a new connection window is closed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4889
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 11 Apr 2012 22:00:55 +0000 (22:00 +0000)]
Update address of FSF and copyright notices to assign proper credit.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4888
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 11 Apr 2012 15:38:14 +0000 (15:38 +0000)]
Try to eliminate spurious repaints, improve rendering speed, and simplify viewport constructor.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4887
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 11 Apr 2012 15:34:45 +0000 (15:34 +0000)]
Fix potential null pointer exception if cursor hotspot isn't available
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4886
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 11 Apr 2012 14:38:48 +0000 (14:38 +0000)]
remove some bits of dead/unused code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4885
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 8 Apr 2012 19:18:31 +0000 (19:18 +0000)]
Enable setDesktopSize feature.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4884
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 8 Apr 2012 19:12:50 +0000 (19:12 +0000)]
make sure FullScreen checkbox is initialized correctly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4883
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 5 Apr 2012 03:37:50 +0000 (03:37 +0000)]
adds experimental support for SSH tunneling to the Java client. Has not been tested with large desktop sizes yet. CMakeLists.txt needs some rework.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4882
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 5 Apr 2012 02:23:58 +0000 (02:23 +0000)]
Prevent viewer from reconfiguring viewport on pixel format changes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4881
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 5 Apr 2012 02:08:49 +0000 (02:08 +0000)]
BufferedImage performance is poor on Microsoft Windows platforms, so fallback to the 1.2 implementation if the BI cannot be HW accelerated. Also streamline some of the code by removing synchronized statements and making the method calls themselves synchronized. Modification to the selector implementation to make it behave more like a unix selector
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4880
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 13:03:22 +0000 (13:03 +0000)]
Move the last remnants of autotools into config.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4879
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 12:50:54 +0000 (12:50 +0000)]
Set a proper icon for the vncviewer windows on Unix and Windows.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4878
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 12:33:36 +0000 (12:33 +0000)]
Convert media Makefile to CMake.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4877
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 12:30:19 +0000 (12:30 +0000)]
Add a resource file to vncviewer.exe so we can get an icon.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4876
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 10:29:50 +0000 (10:29 +0000)]
Using libXft means using libfontconfig, so make sure we add that to
the link line.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4875
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 10:28:18 +0000 (10:28 +0000)]
Missed vncviewer in previous commit.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4874
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 27 Mar 2012 10:24:53 +0000 (10:24 +0000)]
Consolidate the installation paths and make sure we have decent defaults.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Mon, 19 Mar 2012 20:20:24 +0000 (20:20 +0000)]
Fixes handshake failure caused by premature loop break when data is not ready.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4872
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 18 Mar 2012 21:39:04 +0000 (21:39 +0000)]
Changes aimed at making the behavior of the java client more consistent with the binary client.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4871
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 16 Mar 2012 03:16:42 +0000 (03:16 +0000)]
Workaround for potential failure to read the version string if the data isn't already in the buffer. May need further consideration, the problem can't be reproduced with the binary viewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4870
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 16 Mar 2012 00:13:35 +0000 (00:13 +0000)]
Fixes TimedOut exception during clientRedirect caused by missing callback
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4869
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 15 Mar 2012 02:57:52 +0000 (02:57 +0000)]
Fix an issue where java viewer appears to hang on Mac OS X. As far as I can tell, this is caused by an upstream bug which might be fixed in JDK 7, but for now this gets around the problem without significantly affecting performance.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4868
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 14 Mar 2012 04:15:17 +0000 (04:15 +0000)]
pass correct timeout value to selector. limit pixel depth to 24 (OS X defaults to 32). Increase write buffer size to match CXX value.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4867
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Tue, 6 Mar 2012 02:49:56 +0000 (02:49 +0000)]
Fix problem noted in feature request
3482254 where selecting Raw encoding caused the Java viewer to freeze.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4861
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Mon, 5 Mar 2012 23:57:05 +0000 (23:57 +0000)]
Improve performance of Java viewer by using buffered image as drawing surface. Simplified soft cursor construction.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4860
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Mon, 5 Mar 2012 23:31:46 +0000 (23:31 +0000)]
revert 4857, could potentially cause protocol problems
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4859
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 28 Feb 2012 11:54:01 +0000 (11:54 +0000)]
Comment where the mysterious 0xFFFF number of rectangles comes from.
Patch by Arthur Huillet.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4858
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 16 Feb 2012 12:44:51 +0000 (12:44 +0000)]
adds keepAlive feature requested in #
3482254 to java viewer
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4857
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 16 Feb 2012 12:31:38 +0000 (12:31 +0000)]
make sure we actually throw caught execptions in java viewer
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4856
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Tue, 14 Feb 2012 19:56:17 +0000 (19:56 +0000)]
Applied fix for issue with Win7 and German metakeys. Patch submitted by Albert Fluegel
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4855
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Mon, 13 Feb 2012 03:55:10 +0000 (03:55 +0000)]
Fix regression caused by r4841. That patch assumed that JPEG encoding always uses the raw buffer, which is not true. If pixel translation is necessary, then JPEG images will sometimes be encoded from the translated (intermediate) buffer instead.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4852
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Sun, 12 Feb 2012 22:10:01 +0000 (22:10 +0000)]
Bump version number to prepare for post-1.2 development
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4849
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 12 Feb 2012 20:44:29 +0000 (20:44 +0000)]
Adds support for fence & continuous updates extensions to java viewer. Adds low level hooks for TurboVNC fine grained quality controls.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4847
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Wed, 8 Feb 2012 04:21:43 +0000 (04:21 +0000)]
corrected return value for read function to match unix socket read. updated exception handling to match C code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4846
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 5 Feb 2012 21:49:03 +0000 (21:49 +0000)]
cleanup unused/unnecessary Graphics objects/ops
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4845
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 5 Feb 2012 21:46:32 +0000 (21:46 +0000)]
Improved Tight JPEG decode time by ~25% using PixelGrabber rather than getting each pixel manually.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4844
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 5 Feb 2012 13:51:58 +0000 (13:51 +0000)]
Graphics clip rect setting was not being honored, causing full frame repaints!
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4843
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 3 Feb 2012 05:38:23 +0000 (05:38 +0000)]
Replace all stream-based IO with non-blocking NIO-based implementation. Still a fair amount of cleanup to do, particularly in the SSL handler, which is not very robust, and exception handling in general. All core functionality appears to be working fine though.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4842
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 30 Jan 2012 13:58:44 +0000 (13:58 +0000)]
The Tight encoder uses the pixel buffer as a scratch pad, which doesn't
work so well with the new optimisation to feed it the raw frame buffer.
Reorganise and clean up the code to handle this, and make the raw frame
buffer pointer const so that we might avoid such bugs in the future.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4841
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 30 Jan 2012 13:53:11 +0000 (13:53 +0000)]
Be more liberal with const in places where write access isn't needed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4840
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 23 Jan 2012 15:54:11 +0000 (15:54 +0000)]
Fix a race condition where we might get updates thrown at us right after a
framebuffer switch, but before we've been given the pointer to the new
framebuffer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4839
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 23 Jan 2012 15:43:42 +0000 (15:43 +0000)]
Failure to find FLTK dependencies is only fatal for our version of FLTK.
When using the system version we have to assume it's built the way the
user wants.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4838
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Wed, 18 Jan 2012 08:10:21 +0000 (08:10 +0000)]
Typo
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4837
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 17 Jan 2012 23:33:29 +0000 (23:33 +0000)]
Don't perform checks for extra X11 libs on Windows
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4836
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 17 Jan 2012 22:35:43 +0000 (22:35 +0000)]
Bump version to 1.1.91 (1.2 beta2)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4835
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 17 Jan 2012 22:33:45 +0000 (22:33 +0000)]
Our FLTK patches modified FLTK's autotools-based build system so that HAVE_XFIXES and HAVE_XCURSOR were defined in FLTK's config.h, but those changes never made it into the CMake-based build system used by the in-tree version of FLTK. Further, our build system was allowing silent failures whenever Xft, Xinerama, Xcursor, or Xfixes were not present on the build system. Now, the lack of these libraries is treated as a fatal error, since these libraries are critical for TigerVNC functionality.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4834
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 17 Jan 2012 11:46:00 +0000 (11:46 +0000)]
Add note about service mode incompatibility with > XP
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4833
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 5 Jan 2012 12:37:04 +0000 (12:37 +0000)]
Forgot some comments for the mouse cursor workaround.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4832
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 5 Jan 2012 12:32:03 +0000 (12:32 +0000)]
Make sure the mouse pointer is always the standard arrow for the popup menu.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4831
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Sat, 31 Dec 2011 17:55:38 +0000 (17:55 +0000)]
Make sure that all FLTK features are enabled when using the in-tree FLTK library
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4827
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Fri, 23 Dec 2011 14:13:04 +0000 (14:13 +0000)]
1.1.90 (1.2 beta1)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4826
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Thu, 22 Dec 2011 15:57:59 +0000 (15:57 +0000)]
Changing the deferred update timer to 10 ms caused a large performance regression on video/3D apps, and until we can quantify the benefits of a larger DUT value, it was decided that it should be changed back to 1 ms for the 1.2 release.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4825
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 21 Dec 2011 13:17:54 +0000 (13:17 +0000)]
We need to explicitly trigger a framebuffer update for server side rendered
cursors. Previously this happened to work anyway because we had a lot of
triggers for updates. After the cleanup, we need to be more explicit.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4824
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 8 Dec 2011 02:16:53 +0000 (02:16 +0000)]
make sure that color map is set for all pixel formats or throw an exception
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4823
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 4 Dec 2011 22:58:48 +0000 (22:58 +0000)]
oops, bad commit! I only meant to commit the changes to the TightDecoder.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4822
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 4 Dec 2011 22:06:21 +0000 (22:06 +0000)]
Grabbing the RGB components from the BufferedImage one at a time and converting the to a 24bpp RGB color manually is about 25% faster than using BufferedImage.getRGB().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4821
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Thu, 1 Dec 2011 00:50:38 +0000 (00:50 +0000)]
Tight decoder fixes to address issues described in bug #
3444605
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4820
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Sun, 27 Nov 2011 20:43:47 +0000 (20:43 +0000)]
Sync up java Tight decoder with recent changes to C client as much as possible. These changes should also fix the 16bpp issue reported in bug #
3429667 . I think there are probably errors in the FilterGradient* code but I can't get any servers to actually send this type of data to test it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4819
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Fri, 25 Nov 2011 09:18:28 +0000 (09:18 +0000)]
Updated patch from upstream.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4818
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 25 Nov 2011 01:12:58 +0000 (01:12 +0000)]
add PasswordFile parameter as requested in tracker #
3441859
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4817
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 24 Nov 2011 12:34:15 +0000 (12:34 +0000)]
Consistent and simple comment header: No need to specify email, since
its included in the meta info below. TigerVNC Team copyright should be
sufficient.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4816
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 22 Nov 2011 07:42:35 +0000 (07:42 +0000)]
Fix syntax error
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4814
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 21 Nov 2011 14:04:29 +0000 (14:04 +0000)]
Fix bad FLTK window resize handling on OS X.
http://www.fltk.org/str.php?L2775
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4813
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 21 Nov 2011 14:03:31 +0000 (14:03 +0000)]
Reindent some code that had grown a bit unstructured.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4812
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Sun, 20 Nov 2011 15:39:17 +0000 (15:39 +0000)]
Increase the default compression level to cater to a broader range of users
(bandwidth is often the limiting factor, rather than CPU). Further increases
give little returns, so 2 is currently deemed the best tradeoff.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4811
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Sun, 20 Nov 2011 15:37:31 +0000 (15:37 +0000)]
The block size for the comparing update tracker was inefficently low. Raising
it from 16 to 64 pixels significantly reduces the CPU overhead in many cases,
without sacrificing much in what it detects.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4810
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Sun, 20 Nov 2011 15:36:11 +0000 (15:36 +0000)]
Make the comparing update tracker a bit more flexible. It can now be in an
"auto" state where it will be enabled until we deem that the client is better
of without it (currently triggered by explicitly stating a low compression
level).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4809
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 17 Nov 2011 10:19:19 +0000 (10:19 +0000)]
Also grab the mouse pointer in full screen as some window managers like to
do special things with buttons combined with modifiers. The user probably
wants to propagate these to the server though.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4808
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 15 Nov 2011 12:13:37 +0000 (12:13 +0000)]
Client side support for continuous updates.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4805
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 15 Nov 2011 12:11:32 +0000 (12:11 +0000)]
Cork the connection around updates to better use the congestion window
as we might send out multiple small packets
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4804
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 15 Nov 2011 12:08:30 +0000 (12:08 +0000)]
Server implementation of continuous updates, including advanced flow control.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4803
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 15 Nov 2011 12:07:43 +0000 (12:07 +0000)]
Add method to query how long since we last wrote something to a fd.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4802
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 14 Nov 2011 16:22:23 +0000 (16:22 +0000)]
Basic infrastructure for continuous updates.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4801
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 14 Nov 2011 16:02:06 +0000 (16:02 +0000)]
Support and use fences in the client. This allows more aggressive use of
update requests as we can now synchronise format changes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4800
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 14 Nov 2011 15:54:30 +0000 (15:54 +0000)]
Implement proper support for fences in the server.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4799
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Mon, 14 Nov 2011 15:44:11 +0000 (15:44 +0000)]
Basic infrastructure to support fences.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4798
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Mon, 14 Nov 2011 00:08:17 +0000 (00:08 +0000)]
improved Tight decoder performance.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4797
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 11 Nov 2011 19:12:33 +0000 (19:12 +0000)]
java client should accept server port specified as either rfb port or display offset. Credit to Dan Garton for pointing this out.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4796
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 11 Nov 2011 18:55:21 +0000 (18:55 +0000)]
null out BufferedImage object to make sure it doesn't lead to a memory leak
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4795
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Brian Hinz [Fri, 11 Nov 2011 18:50:53 +0000 (18:50 +0000)]
remove unsupported sectype
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4794
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 10 Nov 2011 14:59:24 +0000 (14:59 +0000)]
Send a fake pointer event on initial connection so that we get rid of that
double mouse pointer problem as the server renders its own copy.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4790
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 10 Nov 2011 13:30:39 +0000 (13:30 +0000)]
Send a move event when the pointer leaves the viewport as it makes it much
easier to hit the edge of the screen (which is a popular UI element these
days).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4789
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Thu, 10 Nov 2011 12:37:39 +0000 (12:37 +0000)]
The CopyRect encoding is very efficient so it is wasteful to check those
areas here. It also makes the CUT counter-productive in some cases as it
tends to expand small changes to BLOCK_SIZE (16 pixels) because of the copy
regions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4788
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Wed, 9 Nov 2011 18:18:11 +0000 (18:18 +0000)]
Fix issue uncovered with valgrind
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4787
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Wed, 9 Nov 2011 11:31:12 +0000 (11:31 +0000)]
Use the correct matching free operation. Patch by Matthieu Lochegnies.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4786
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 13:52:33 +0000 (13:52 +0000)]
The source data here is RGB triplets, not "pixels".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4785
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 12:44:10 +0000 (12:44 +0000)]
Reimplement the deferred update handling, this time in a more robust and
well-behaved manner.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4784
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 12:42:41 +0000 (12:42 +0000)]
Add helper to easily determine how much time has passed since some previous
event.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4783
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 12:12:02 +0000 (12:12 +0000)]
Cork the outgoing TCP stream while we still have messages to process. This
allows more efficent use of the congestion window as we will send fewer packets.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4782
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 12:10:55 +0000 (12:10 +0000)]
Expose Linux' cork functionality which allows us to aggregate TCP data in a
controlled manner. Unfortunately there is no equivalent for Windows.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4781
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 10:32:05 +0000 (10:32 +0000)]
Avoid some unnecessary processing when server side cursor isn't used (which
is the common case).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4780
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Pierre Ossman [Tue, 8 Nov 2011 10:31:04 +0000 (10:31 +0000)]
The dummy timer isn't used anymore.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4779
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 8 Nov 2011 09:16:36 +0000 (09:16 +0000)]
We don't need HAVE_GNUTLS anymore, either
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4778
3789f03b -4d11-0410-bbf8-
ca57d06f2519
DRC [Tue, 8 Nov 2011 08:58:19 +0000 (08:58 +0000)]
If the Java viewer build is enabled, make sure it gets built when doing 'make installer'
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4777
3789f03b -4d11-0410-bbf8-
ca57d06f2519