]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
12 years agoMove the fullscreen option to a separate tab, in preparation for more
Pierre Ossman [Thu, 5 Jul 2012 09:23:03 +0000 (09:23 +0000)]
Move the fullscreen option to a separate tab, in preparation for more
screen related options.

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

12 years agoThis code is no longer needed now that we have dynamic resize.
Pierre Ossman [Wed, 4 Jul 2012 11:37:48 +0000 (11:37 +0000)]
This code is no longer needed now that we have dynamic resize.

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

12 years agoAdd menu entry to have the local window match the size of the remote desktop.
Pierre Ossman [Wed, 4 Jul 2012 11:37:10 +0000 (11:37 +0000)]
Add menu entry to have the local window match the size of the remote desktop.
This is useful now that we no longer have size restrictions on the window.

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

12 years agoMake it possible to dynamically resize the size of the session, when resizing
Pierre Ossman [Wed, 4 Jul 2012 11:27:47 +0000 (11:27 +0000)]
Make it possible to dynamically resize the size of the session, when resizing
the viewer window, or when entering or leaving fullscreen mode. Initial
work done by Arthur Huillet and clohr.

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

12 years agoFix typo.
Pierre Ossman [Wed, 4 Jul 2012 11:10:46 +0000 (11:10 +0000)]
Fix typo.

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

12 years agoGnuTLS 3.x has removed gnutls_transport_set_global_errno() in favour of
Pierre Ossman [Tue, 3 Jul 2012 14:52:26 +0000 (14:52 +0000)]
GnuTLS 3.x has removed gnutls_transport_set_global_errno() in favour of
gnutls_transport_set_errno(). Make sure we call the right errno function
depending on which GnuTLS we're using.

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

12 years agoRefactor the TLS code so that the push/pull functions are aware of their
Pierre Ossman [Tue, 3 Jul 2012 14:43:38 +0000 (14:43 +0000)]
Refactor the TLS code so that the push/pull functions are aware of their
containing stream object. This is in preparation for supporting GnuTLS 3.x.

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

12 years agoIn-tree version of FLTK needs Fl_PNG_Image in order to use the new icon code in the...
DRC [Sat, 2 Jun 2012 18:45:26 +0000 (18:45 +0000)]
In-tree version of FLTK needs Fl_PNG_Image in order to use the new icon code in the viewer

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

12 years agoFixed issue where viewer was not honoring cmd line arg SendLocalUsername
Brian Hinz [Thu, 31 May 2012 04:41:16 +0000 (04:41 +0000)]
Fixed issue where viewer was not honoring cmd line arg SendLocalUsername

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

12 years agoremoved ANSI character escapes, not supported on Windows cmd line
Brian Hinz [Wed, 23 May 2012 04:21:09 +0000 (04:21 +0000)]
removed ANSI character escapes, not supported on Windows cmd line

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

12 years agoSignificantly improves the peak frame rate on platforms that support using BIPixelBuffer
Brian Hinz [Wed, 23 May 2012 03:43:10 +0000 (03:43 +0000)]
Significantly improves the peak frame rate on platforms that support using BIPixelBuffer

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

12 years agoShortened SSH tunneling System property names, fixed problem with parsing of '-via...
Brian Hinz [Wed, 23 May 2012 03:40:07 +0000 (03:40 +0000)]
Shortened SSH tunneling System property names, fixed problem with parsing of '-via' cmd line option, fixed intermittent problem with SSH password dialog.

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

12 years agoFixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts the screen...
Brian Hinz [Sat, 19 May 2012 13:28:43 +0000 (13:28 +0000)]
Fixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts the screen image when areas are shifted to the left.  Benchmarking show no measurable performance impact from this change, and it seems to mitigate the problem.

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

12 years agoAdds support for setting the menu key via cmd line arg. Adds all menu keys supported...
Brian Hinz [Wed, 16 May 2012 03:51:42 +0000 (03:51 +0000)]
Adds support for setting the menu key via cmd line arg.  Adds all menu keys supported by native viewer to the combo box in the OptionsDialog.

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

12 years agoImplemented rfb/Configuration similar to the native client methods. Added equivalent...
Brian Hinz [Mon, 14 May 2012 02:19:41 +0000 (02:19 +0000)]
Implemented rfb/Configuration similar to the native client methods. Added equivalent cmd line options for all native client options except "-menuKey", which needs a little more work on the GUI side before it can be added.

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

12 years agoReverted change introduced in r4910, r4911 didn't fix the problem that was created.
Brian Hinz [Mon, 7 May 2012 01:02:24 +0000 (01:02 +0000)]
Reverted change introduced in r4910, r4911 didn't fix the problem that was created.

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

12 years agoFixed a null pointer exception introduced by r4909
Brian Hinz [Mon, 7 May 2012 00:30:08 +0000 (00:30 +0000)]
Fixed a null pointer exception introduced by r4909

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

12 years agoRe-implemented SSH tunneling features in Java viewer based on TurboVNC native client...
Brian Hinz [Sun, 6 May 2012 19:18:05 +0000 (19:18 +0000)]
Re-implemented SSH tunneling features in Java viewer based on TurboVNC native client method.  Adds support for string substitutions of via command, as well as a '-tunnel' option for tunneling directly to VNC server host (also support string substitutions). This implementation requires the vncServerName to be the last argument specified to the viewer, however this is consistent with the behavior of the native client and does not appear to cause any problems when using the viewer in standalone, applet, or jnlp modes.

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

12 years agoimprove readability of usage message displayed by Java viewer.
Brian Hinz [Sun, 6 May 2012 17:51:27 +0000 (17:51 +0000)]
improve readability of usage message displayed by Java viewer.

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

12 years agoFixed an issue with -listen mode where java client wasn't listening on the wildcard...
Brian Hinz [Fri, 27 Apr 2012 18:23:31 +0000 (18:23 +0000)]
Fixed an issue with -listen mode where java client wasn't listening on the wildcard address

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

12 years agoThe old Windows viewer was capable of logging to file. This is essential
Pierre Ossman [Thu, 26 Apr 2012 14:27:52 +0000 (14:27 +0000)]
The old Windows viewer was capable of logging to file. This is essential
on Windows as stdout/stderr don't work well there. Make sure the new
viewer also has this functionality.

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

12 years agoWindows has a bit of a peculiarity in that winsock2.h must be included
Pierre Ossman [Thu, 26 Apr 2012 09:18:19 +0000 (09:18 +0000)]
Windows has a bit of a peculiarity in that winsock2.h must be included
before windows.h for correct winsock behaviour. mingw-w64 also enforces
this order, so to avoid compile errors we must include windows.h late in
all files.

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

12 years agoFix unsafe usage of the logging functions.
Pierre Ossman [Thu, 26 Apr 2012 09:04:14 +0000 (09:04 +0000)]
Fix unsafe usage of the logging functions.

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

12 years agoAllow gcc to check for correct usage of the formatting string for the
Pierre Ossman [Thu, 26 Apr 2012 08:51:19 +0000 (08:51 +0000)]
Allow gcc to check for correct usage of the formatting string for the
logging class.

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

12 years agoFixed cut & paste error
Brian Hinz [Thu, 26 Apr 2012 04:33:11 +0000 (04:33 +0000)]
Fixed cut & paste error

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

12 years agoFix Socket methods for querying the socket endpoints. Fix the address displayed in...
Brian Hinz [Thu, 26 Apr 2012 00:03:16 +0000 (00:03 +0000)]
Fix Socket methods for querying the socket endpoints. Fix the address displayed in the info dialog for redirected connections.

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

12 years agoRemove hard-coded font names from UI settings.
Brian Hinz [Wed, 25 Apr 2012 21:20:24 +0000 (21:20 +0000)]
Remove hard-coded font names from UI settings.

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

12 years agoMake sure we're paranoid about accidentally feeding a format string.
Pierre Ossman [Wed, 25 Apr 2012 15:43:56 +0000 (15:43 +0000)]
Make sure we're paranoid about accidentally feeding a format string.
Basic patch by Joachim Falk. Slightly improved before commit.

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

12 years agoThe reformatting of all the Xserver sources in the 1.12.1 release changed
Pierre Ossman [Wed, 25 Apr 2012 15:10:38 +0000 (15:10 +0000)]
The reformatting of all the Xserver sources in the 1.12.1 release changed
the headers so now some of them have multiple instances of the C++ "and"
and "xor" keywords on the same line, so the hack to sanitize them needs
to use the sed "g" flag to replace all instances, not just the first.

Otherwise, the build fails with strange errors such as:

"fb.h", line 817: Error: Unexpected type name "FbBits" encountered.
"fb.h", line 817: Error: dst is not defined.
"fb.h", line 818: Error: Unexpected type name "FbStride" encountered.
"fb.h", line 818: Error: dstStride is not defined.
"fb.h", line 819: Error: Badly formed expression.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4899 3789f03b-4d11-0410-bbf8-ca57d06f2519

12 years agoProper support for icons in FLTK (upstream STR 2816).
Pierre Ossman [Wed, 25 Apr 2012 14:57:22 +0000 (14:57 +0000)]
Proper support for icons in FLTK (upstream STR 2816).

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

12 years agoUse the gcc way of creating shared segments in DLLs. The previous way
Pierre Ossman [Wed, 25 Apr 2012 14:54:04 +0000 (14:54 +0000)]
Use the gcc way of creating shared segments in DLLs. The previous way
only works with MSVC.

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

12 years agoBuild wm_hooks in its own directory. Makes the build structure more clear.
Pierre Ossman [Wed, 25 Apr 2012 14:35:46 +0000 (14:35 +0000)]
Build wm_hooks in its own directory. Makes the build structure more clear.

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

12 years agoSpawn a new viewer on ClientRedirects, otherwise ConnParams may not be initialized...
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

12 years agoSet Nimbus as the default look and feel if it's available, otherwise fallback to...
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

12 years agoUI tweaks to improve look & feel consistency.
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

12 years agodispose of graphics object to prevent memory leaks
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

12 years agoAllows java client in listen mode to continue listening and spawning new viewers...
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

12 years agoMake the Swing LookAndFeel consistent between applet mode and standalone mode.
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

12 years agoFixes issue with java viewer exiting altogether when the New Connection ServerDialog...
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

12 years agoUpdate address of FSF and copyright notices to assign proper credit.
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

12 years agoTry to eliminate spurious repaints, improve rendering speed, and simplify viewport...
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

12 years agoFix potential null pointer exception if cursor hotspot isn't available
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

12 years agoremove some bits of dead/unused code
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

12 years agoEnable setDesktopSize feature.
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

12 years agomake sure FullScreen checkbox is initialized correctly.
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

12 years agoadds experimental support for SSH tunneling to the Java client. Has not been tested...
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

12 years agoPrevent viewer from reconfiguring viewport on pixel format changes.
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

12 years agoBufferedImage performance is poor on Microsoft Windows platforms, so fallback to...
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

12 years agoMove the last remnants of autotools into config.h.
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

12 years agoSet a proper icon for the vncviewer windows on Unix and Windows.
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

12 years agoConvert media Makefile to CMake.
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

12 years agoAdd a resource file to vncviewer.exe so we can get an icon.
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

12 years agoUsing libXft means using libfontconfig, so make sure we add that to
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

12 years agoMissed vncviewer in previous commit.
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

12 years agoConsolidate the installation paths and make sure we have decent defaults.
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

12 years agoFixes handshake failure caused by premature loop break when data is not ready.
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

12 years agoChanges aimed at making the behavior of the java client more consistent with the...
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

12 years agoWorkaround for potential failure to read the version string if the data isn't already...
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

12 years agoFixes TimedOut exception during clientRedirect caused by missing callback
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

12 years agoFix an issue where java viewer appears to hang on Mac OS X. As far as I can tell...
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

12 years agopass correct timeout value to selector. limit pixel depth to 24 (OS X defaults to...
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

12 years agoFix problem noted in feature request 3482254 where selecting Raw encoding caused...
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

12 years agoImprove performance of Java viewer by using buffered image as drawing surface. Simpli...
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

12 years agorevert 4857, could potentially cause protocol problems
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

12 years agoComment where the mysterious 0xFFFF number of rectangles comes from.
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

12 years agoadds keepAlive feature requested in #3482254 to java viewer
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

12 years agomake sure we actually throw caught execptions in java viewer
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

12 years agoApplied fix for issue with Win7 and German metakeys. Patch submitted by Albert Fluegel
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

12 years agoFix regression caused by r4841. That patch assumed that JPEG encoding always uses...
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

12 years agoBump version number to prepare for post-1.2 development
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

12 years agoAdds support for fence & continuous updates extensions to java viewer. Adds low...
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

12 years agocorrected return value for read function to match unix socket read. updated exception...
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

12 years agocleanup unused/unnecessary Graphics objects/ops
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

12 years agoImproved Tight JPEG decode time by ~25% using PixelGrabber rather than getting each...
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

12 years agoGraphics clip rect setting was not being honored, causing full frame repaints!
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

12 years agoReplace all stream-based IO with non-blocking NIO-based implementation. Still a...
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

12 years agoThe Tight encoder uses the pixel buffer as a scratch pad, which doesn't
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

12 years agoBe more liberal with const in places where write access isn't needed.
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

12 years agoFix a race condition where we might get updates thrown at us right after a
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

12 years agoFailure to find FLTK dependencies is only fatal for our version of FLTK.
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

12 years agoTypo
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

12 years agoDon't perform checks for extra X11 libs on Windows
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

12 years agoBump version to 1.1.91 (1.2 beta2)
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

12 years agoOur FLTK patches modified FLTK's autotools-based build system so that HAVE_XFIXES...
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

12 years agoAdd note about service mode incompatibility with > XP
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

12 years agoForgot some comments for the mouse cursor workaround.
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

12 years agoMake sure the mouse pointer is always the standard arrow for the popup menu.
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

12 years agoMake sure that all FLTK features are enabled when using the in-tree FLTK library v1.1.90
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

12 years ago1.1.90 (1.2 beta1)
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

12 years agoChanging the deferred update timer to 10 ms caused a large performance regression...
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

12 years agoWe need to explicitly trigger a framebuffer update for server side rendered
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

12 years agomake sure that color map is set for all pixel formats or throw an exception
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

12 years agooops, bad commit! I only meant to commit the changes to the TightDecoder.
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

12 years agoGrabbing the RGB components from the BufferedImage one at a time and converting the...
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

12 years agoTight decoder fixes to address issues described in bug #3444605
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

12 years agoSync up java Tight decoder with recent changes to C client as much as possible. These...
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

13 years agoUpdated patch from upstream.
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

13 years agoadd PasswordFile parameter as requested in tracker #3441859
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

13 years agoConsistent and simple comment header: No need to specify email, since
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

13 years agoFix syntax error
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