aboutsummaryrefslogtreecommitdiffstats
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Notify the server of mouse release events even if they're outside the ↵Brian Hinz2013-02-181-4/+6
| | | | | | desktop area. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5043 3789f03b-4d11-0410-bbf8-ca57d06f2519
* r5037 was not quite right. Both the viewport and scrollbar background colors ↵Brian Hinz2013-02-182-5/+4
| | | | | | were JRE dependent. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5042 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sending menu key from F8 menu was sending the keycode instead of the keysym.Brian Hinz2013-02-092-24/+40
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5040 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix a regression introduced in r5034 that causes window to be resized ↵Brian Hinz2013-02-091-1/+1
| | | | | | unnecesarily. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5039 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Cosmetic change. The background color of the viewport was not being applied ↵Brian Hinz2013-01-241-1/+1
| | | | | | properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5037 3789f03b-4d11-0410-bbf8-ca57d06f2519
* When the desktop size is less than the viewport size, ignore mouse events ↵Brian Hinz2013-01-231-5/+8
| | | | | | that occur in the interstitial area git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5035 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes a number of issues related to fullscreen mode. When switching out of ↵Brian Hinz2013-01-234-35/+23
| | | | | | fullscreen mode via the options dialog, setFullScreenWindow was being applied to the old reference, causing the whole screen to be blanked and unresponsive. The checkmark in the F8 menu could sometimes get out of sync with the state of the option. Cursor wasn't always being re-scaled when scale factor was changed. It seems that setCursor can still sometimes be passed a null pointer for the hotspot, so add back in a check that was removed in r5025 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5034 3789f03b-4d11-0410-bbf8-ca57d06f2519
* more fixes for remote cursor rendering. State wasn't always being ↵Brian Hinz2013-01-151-14/+15
| | | | | | initialized correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5029 3789f03b-4d11-0410-bbf8-ca57d06f2519
* fix a regression introduced by r5025Brian Hinz2013-01-151-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5028 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Send the focus back to the viewport after leaving the options dialogBrian Hinz2013-01-121-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5027 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the icon used for the titlebar consistent for About... dialogBrian Hinz2013-01-121-5/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5026 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes a number of issues related to cursor handling, including "invalid ↵Brian Hinz2013-01-121-26/+59
| | | | | | hotspot" exception caused when cursor hotspot is outside the maximum cursor size supported by the toolkit on the client. Also, local cursor was not being drawn properly when the display size was scaled. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5025 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make exception handling more user friendly. Not all exceptions are 'errors' ↵Brian Hinz2012-12-167-30/+36
| | | | | | (for example, exiting the server intentionally via the window manager's logoff button). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5021 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Cleanup linter warnings wherever possible and suppress all linter warnings ↵Brian Hinz2012-12-1436-31/+55
| | | | | | from Jsch code git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5020 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes regression introduced by r5016 (exception produced when connecting to ↵Brian Hinz2012-12-111-1/+4
| | | | | | 8bpp server) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5017 3789f03b-4d11-0410-bbf8-ca57d06f2519
* fixed bug where IndexColorModel was reset when switching to 8bpp from ↵Brian Hinz2012-12-062-5/+4
| | | | | | another depth git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5016 3789f03b-4d11-0410-bbf8-ca57d06f2519
* upgrade jzlib to 1.1.1Brian Hinz2012-09-0119-459/+1584
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4990 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated copyright notice, fixed build stringBrian Hinz2012-09-012-2/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4989 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forces all dialogs except for the clipboard to be modal. Fixes cases where ↵Brian Hinz2012-09-018-103/+104
| | | | | | dialogs are not brought to the front while in fullscreen mode. Corrects a few corner cases where viewer did not exit properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4988 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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