summaryrefslogtreecommitdiffstats
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* Fixed issue where viewer was not honoring cmd line arg SendLocalUsernameBrian Hinz2012-05-311-6/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4919 3789f03b-4d11-0410-bbf8-ca57d06f2519
* removed ANSI character escapes, not supported on Windows cmd lineBrian Hinz2012-05-231-13/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4918 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Significantly improves the peak frame rate on platforms that support using ↵Brian Hinz2012-05-231-21/+62
| | | | | | BIPixelBuffer git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4917 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Shortened SSH tunneling System property names, fixed problem with parsing of ↵Brian Hinz2012-05-232-8/+9
| | | | | | '-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
* Fixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts ↵Brian Hinz2012-05-191-1/+1
| | | | | | 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
* Adds support for setting the menu key via cmd line arg. Adds all menu keys ↵Brian Hinz2012-05-166-17/+102
| | | | | | 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
* Implemented rfb/Configuration similar to the native client methods. Added ↵Brian Hinz2012-05-1410-118/+447
| | | | | | 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
* Reverted change introduced in r4910, r4911 didn't fix the problem that was ↵Brian Hinz2012-05-071-2/+3
| | | | | | created. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4912 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a null pointer exception introduced by r4909Brian Hinz2012-05-071-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4911 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-implemented SSH tunneling features in Java viewer based on TurboVNC ↵Brian Hinz2012-05-062-102/+406
| | | | | | 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
* improve readability of usage message displayed by Java viewer.Brian Hinz2012-05-062-40/+77
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4909 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed an issue with -listen mode where java client wasn't listening on the ↵Brian Hinz2012-04-271-3/+1
| | | | | | wildcard address git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4908 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed cut & paste errorBrian Hinz2012-04-261-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4903 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix Socket methods for querying the socket endpoints. Fix the address ↵Brian Hinz2012-04-263-5/+13
| | | | | | 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
* Remove hard-coded font names from UI settings.Brian Hinz2012-04-252-11/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4901 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Spawn a new viewer on ClientRedirects, otherwise ConnParams may not be ↵Brian Hinz2012-04-252-5/+9
| | | | | | initialized correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4895 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set Nimbus as the default look and feel if it's available, otherwise ↵Brian Hinz2012-04-251-8/+16
| | | | | | 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
* UI tweaks to improve look & feel consistency.Brian Hinz2012-04-253-45/+65
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4893 3789f03b-4d11-0410-bbf8-ca57d06f2519
* dispose of graphics object to prevent memory leaksBrian Hinz2012-04-211-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4892 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allows java client in listen mode to continue listening and spawning new ↵Brian Hinz2012-04-141-6/+9
| | | | | | 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
* Make the Swing LookAndFeel consistent between applet mode and standalone mode.Brian Hinz2012-04-131-2/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4890 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes issue with java viewer exiting altogether when the New Connection ↵Brian Hinz2012-04-133-6/+42
| | | | | | 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
* Update address of FSF and copyright notices to assign proper credit.Brian Hinz2012-04-1191-130/+174
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4888 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Try to eliminate spurious repaints, improve rendering speed, and simplify ↵Brian Hinz2012-04-112-69/+26
| | | | | | viewport constructor. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4887 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix potential null pointer exception if cursor hotspot isn't availableBrian Hinz2012-04-111-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4886 3789f03b-4d11-0410-bbf8-ca57d06f2519
* remove some bits of dead/unused codeBrian Hinz2012-04-114-19/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4885 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable setDesktopSize feature.Brian Hinz2012-04-081-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4884 3789f03b-4d11-0410-bbf8-ca57d06f2519
* make sure FullScreen checkbox is initialized correctly.Brian Hinz2012-04-081-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4883 3789f03b-4d11-0410-bbf8-ca57d06f2519
* adds experimental support for SSH tunneling to the Java client. Has not ↵Brian Hinz2012-04-05116-27/+19970
| | | | | | 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
* Prevent viewer from reconfiguring viewport on pixel format changes.Brian Hinz2012-04-052-11/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4881 3789f03b-4d11-0410-bbf8-ca57d06f2519
* BufferedImage performance is poor on Microsoft Windows platforms, so ↵Brian Hinz2012-04-059-190/+306
| | | | | | 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
* Consolidate the installation paths and make sure we have decent defaults.Pierre Ossman2012-03-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes handshake failure caused by premature loop break when data is not ready.Brian Hinz2012-03-192-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4872 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes aimed at making the behavior of the java client more consistent with ↵Brian Hinz2012-03-188-112/+177
| | | | | | the binary client. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4871 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Workaround for potential failure to read the version string if the data ↵Brian Hinz2012-03-161-1/+1
| | | | | | 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
* Fixes TimedOut exception during clientRedirect caused by missing callbackBrian Hinz2012-03-161-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4869 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix an issue where java viewer appears to hang on Mac OS X. As far as I can ↵Brian Hinz2012-03-151-1/+9
| | | | | | 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
* pass correct timeout value to selector. limit pixel depth to 24 (OS X ↵Brian Hinz2012-03-144-11/+16
| | | | | | 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
* Fix problem noted in feature request 3482254 where selecting Raw encoding ↵Brian Hinz2012-03-061-3/+4
| | | | | | caused the Java viewer to freeze. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4861 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improve performance of Java viewer by using buffered image as drawing ↵Brian Hinz2012-03-055-93/+71
| | | | | | surface. Simplified soft cursor construction. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4860 3789f03b-4d11-0410-bbf8-ca57d06f2519
* revert 4857, could potentially cause protocol problemsBrian Hinz2012-03-052-33/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4859 3789f03b-4d11-0410-bbf8-ca57d06f2519
* adds keepAlive feature requested in #3482254 to java viewerBrian Hinz2012-02-162-1/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4857 3789f03b-4d11-0410-bbf8-ca57d06f2519
* make sure we actually throw caught execptions in java viewerBrian Hinz2012-02-163-4/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4856 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Applied fix for issue with Win7 and German metakeys. Patch submitted by ↵Brian Hinz2012-02-141-7/+24
| | | | | | Albert Fluegel git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4855 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump version number to prepare for post-1.2 developmentDRC2012-02-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4849 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adds support for fence & continuous updates extensions to java viewer. Adds ↵Brian Hinz2012-02-1218-107/+467
| | | | | | 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
* corrected return value for read function to match unix socket read. updated ↵Brian Hinz2012-02-087-36/+94
| | | | | | exception handling to match C code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4846 3789f03b-4d11-0410-bbf8-ca57d06f2519
* cleanup unused/unnecessary Graphics objects/opsBrian Hinz2012-02-051-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4845 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved Tight JPEG decode time by ~25% using PixelGrabber rather than ↵Brian Hinz2012-02-051-19/+13
| | | | | | getting each pixel manually. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4844 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Graphics clip rect setting was not being honored, causing full frame repaints!Brian Hinz2012-02-052-6/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4843 3789f03b-4d11-0410-bbf8-ca57d06f2519