aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/CConn.java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-261-7/+7
| | | | 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-261-16/+10
| | | | | | 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-261-86/+4
| | | | | | begin with. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4964 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Change name of menu key class to be consistent with Java style guidelines.Brian Hinz2012-08-261-4/+4
| | | | 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-221-2/+1
| | | | 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
* Adds support for setting the menu key via cmd line arg. Adds all menu keys ↵Brian Hinz2012-05-161-5/+5
| | | | | | 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-141-4/+2
| | | | | | 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
* Fix Socket methods for querying the socket endpoints. Fix the address ↵Brian Hinz2012-04-261-1/+1
| | | | | | 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
* Spawn a new viewer on ClientRedirects, otherwise ConnParams may not be ↵Brian Hinz2012-04-251-3/+1
| | | | | | initialized correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4895 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes issue with java viewer exiting altogether when the New Connection ↵Brian Hinz2012-04-131-2/+17
| | | | | | 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-111-2/+4
| | | | 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-111-12/+4
| | | | | | viewport constructor. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4887 3789f03b-4d11-0410-bbf8-ca57d06f2519
* remove some bits of dead/unused codeBrian Hinz2012-04-111-2/+0
| | | | 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
* adds experimental support for SSH tunneling to the Java client. Has not ↵Brian Hinz2012-04-051-1/+1
| | | | | | 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-051-10/+16
| | | | 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-051-47/+20
| | | | | | 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
* Changes aimed at making the behavior of the java client more consistent with ↵Brian Hinz2012-03-181-1/+2
| | | | | | the binary client. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4871 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
* Improve performance of Java viewer by using buffered image as drawing ↵Brian Hinz2012-03-051-1/+1
| | | | | | 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-051-25/+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-161-1/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4857 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
* Adds support for fence & continuous updates extensions to java viewer. Adds ↵Brian Hinz2012-02-121-73/+200
| | | | | | 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
* 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
* Replace all stream-based IO with non-blocking NIO-based implementation. ↵Brian Hinz2012-02-031-42/+41
| | | | | | 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
* oops, bad commit! I only meant to commit the changes to the TightDecoder.Brian Hinz2011-12-041-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4822 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Grabbing the RGB components from the BufferedImage one at a time and ↵Brian Hinz2011-12-041-0/+4
| | | | | | 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
* Sync up java Tight decoder with recent changes to C client as much as ↵Brian Hinz2011-11-271-1/+7
| | | | | | 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
* add PasswordFile parameter as requested in tracker #3441859Brian Hinz2011-11-251-0/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4817 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the same window naming convention as the other viewersBrian Hinz2011-10-241-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4734 3789f03b-4d11-0410-bbf8-ca57d06f2519
* removed unnecessary hint for window sizing.Brian Hinz2011-10-131-3/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4728 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert a change from yesterday that broke the viewer ↵Brian Hinz2011-10-121-3/+7
| | | | | | (setAccelerationPriority). Fix some more issues with window sizing and scaling. Trying to eliminate unnecessary synchronization. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4725 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some tweaks to improve performance.Brian Hinz2011-10-121-7/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4721 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove some redundant variables related to scaling, fix loop when ↵Brian Hinz2011-10-111-41/+45
| | | | | | fixedRatioScale and viewer is maximized. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4719 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix more unused local variables and static (class) variables and methods ↵Brian Hinz2011-10-091-3/+3
| | | | | | being used in instance warnings git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4718 3789f03b-4d11-0410-bbf8-ca57d06f2519
* cleaned up unused local variables, unnecessary package imports, and fixed ↵Brian Hinz2011-10-091-12/+0
| | | | | | some methods and variables that were incorrectly defined as static git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4717 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move Java source up one level and allow Java viewer to be built as a ↵DRC2011-10-071-0/+1309
standalone project (per community request) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4715 3789f03b-4d11-0410-bbf8-ca57d06f2519