aboutsummaryrefslogtreecommitdiffstats
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* reduce the time threshold for autoSelectFormatAndEncoding, otherwise early ↵Brian Hinz2012-09-011-1/+1
| | | | | | format changes from !autoSelect to autoSelect will not take place git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4987 3789f03b-4d11-0410-bbf8-ca57d06f2519
* r4960 broke support for pixel formats with depth < 24. This corrects that ↵Brian Hinz2012-09-013-19/+33
| | | | | | and also forces a full framebuffer update whenever the format is changed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4986 3789f03b-4d11-0410-bbf8-ca57d06f2519
* fix initialization of dialog state variablesBrian Hinz2012-08-311-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4985 3789f03b-4d11-0410-bbf8-ca57d06f2519
* improve the look & functionality of the clipboard dialogBrian Hinz2012-08-301-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4984 3789f03b-4d11-0410-bbf8-ca57d06f2519
* secondary viewers were not loading user preferencesBrian Hinz2012-08-301-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4983 3789f03b-4d11-0410-bbf8-ca57d06f2519
* adds initial support for loading & saving of both configuration files and ↵Brian Hinz2012-08-2911-383/+599
| | | | | | user preferences git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4980 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The x509ca and x509crl parameters were being set to the value of the button ↵Brian Hinz2012-08-261-3/+0
| | | | | | text. The parameter values are already set by the jfilechooser called from the options dialog, so no need to set them again anyway. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4971 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the window actually occupy the full screen in full-screen mode (without ↵Brian Hinz2012-08-261-4/+15
| | | | | | this, other windows, such as the taskbar on Linux, will display in front of it.). Additional fixes for various full-screen mode issues (Setting FullScreen checkbox in options menu had no effect, null pointer, etc. When fullScreen and scaling options are changed simultaneously in the dialog, collapse the viewport changes into a single operation. There is still a modality issue on OS-X that will be addressed in a later patch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4970 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Properly handle zero-length argumentsBrian Hinz2012-08-261-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4969 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we send a full FBUR whenever forceNonincremental=true (which it is ↵Brian Hinz2012-08-261-1/+1
| | | | | | during the initial FBUR.) This specifically fixes an issue whereby a black screen would be displayed when initially connecting to the OS X built-in VNC server. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* "Requesting" is more accurate, because the requested encoding is only used ↵Brian Hinz2012-08-261-1/+1
| | | | | | if the server supports it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4967 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make scaling factor arguments "FixedRatio" and "Auto" case-insensitiveBrian Hinz2012-08-263-12/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4966 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix AccessControlException caused by using System.exit() in applet mode, and ↵Brian Hinz2012-08-269-52/+50
| | | | | | close viewer properly in several other cases. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4965 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Split the Viewport out from CConn, really should never have been in there to ↵Brian Hinz2012-08-263-87/+117
| | | | | | begin with. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4964 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused classBrian Hinz2012-08-261-27/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4963 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Refactor the handshake code from first principles to remove code that was ↵Brian Hinz2012-08-261-54/+29
| | | | | | borrowed from Netty, which is released under an incompatible license (Apache v2.) Since our SSLEngineManager class was loosely inspired by, but no code was actually borrowed from, the Oracle JSSE examples, it is my opinion that it was incorrect to attribute copyright to Oracle, so that message has been removed (their examples are released under a BSD-style license, anyhow, so it's a non-issue.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4962 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the AWTPixelBuffer class. After switching to using rasters in ↵Brian Hinz2012-08-262-104/+1
| | | | | | BIPixelBuffer, we can no longer find a case in which AWTPixelBuffer performs faster. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4961 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Significantly improve performance by eliminating the intermediary ↵Brian Hinz2012-08-261-19/+6
| | | | | | MemoryImageSource and instead directly modifying the pixels in the BufferedImage. Supposedly, doing this causes the BufferedImage to become unmanaged. At one time, unmanaged images weren't hardware-accelerated on some platforms, but that doesn't seem to be the case with Java 1.5 and later. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4960 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Change name of menu key class to be consistent with Java style guidelines.Brian Hinz2012-08-265-24/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4959 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes to allow compiling on JDK7Brian Hinz2012-07-225-15/+46
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4948 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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