aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved OS X setDockIconImage call into VncViewer.setLookAndFeel so that the ↵Brian Hinz2014-01-102-16/+13
| | | | | | dockImage gets set faster. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5153 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set the dock icon on OS X. Not perfect as it still shows the standard Java ↵Brian Hinz2014-01-041-2/+18
| | | | | | logo for a second or two, but better than nothing git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5151 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Release all downKeys when the focus is lost, otherwise the state of the ↵Brian Hinz2014-01-023-24/+7
| | | | | | keyboard will be inconsistent when the focus is regained. Also, the direction of the key release was incorrect in r5147. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5150 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-introduces embedded applet mode for the java viewer. On Windows and ↵Brian Hinz2014-01-028-66/+241
| | | | | | Linux, the embedded applet can be dragged from the browser window and detached from the browser process. The mouse gesture for detaching the applet is ALT+drag on Windows and SHIFT+drag on Linux. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5149 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated copyright noticesBrian Hinz2013-12-293-3/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5148 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another overhaul of the key event handlers. There was a fundamental flaw in ↵Brian Hinz2013-12-294-1092/+1184
| | | | | | the previous implementation due to the fact that java key modifiers associated with a key_pressed or key_released event are reported with respect to each particular event. Thus, for example a key sequence of CTRL press, letter press, CTRL release, letter release never sends the corresponding release for the CTRL+letter down event. Key events are now synchronized on a monitor object to help ensure that the key sequence is preserved. This implementation mirrors the fltk viewer quite closely and, as far as I can tell, is capable of sending all of the same keysyms. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5147 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added attributes to the Java viewer MANIFEST file in order to conform to ↵Brian Hinz2013-12-021-0/+3
| | | | | | upcoming JRE requirements. Added support for specifying a signing certificate in place of the self-signed certificate. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5145 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed incorrect ConnParam initial value in CConn constructor. Thanks to ↵Brian Hinz2013-12-011-1/+1
| | | | | | Pierre for pointing that out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5143 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copied Lion fullScreen code from TurboVNC viewer. This is a more robust ↵Brian Hinz2013-12-013-13/+71
| | | | | | implementation and does not suffer from Java bugs 8009911 or 4783448 like the existing code did. CMakeLists file was also updated to be more similar to the TurboVNC cmake file. This wasn't strictly necessary but it simplifies things a bit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5142 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes a condition where too much data on the local clipboard causes the ↵Brian Hinz2013-11-233-29/+30
| | | | | | client to exceed the max heap size and exit. Since the server will, by default, discard clipboard transfers greater than 256KB anyway, a parameter was added which sets the default max clipboard size that the client will hold to 256KB also. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5138 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Applied DRC's patch to fix broken RRE decoder in java clientBrian Hinz2013-10-031-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5136 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update more copyrights to 2013. Peter Åstrand2013-06-112-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5122 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Whitespace cleanup onlyBrian Hinz2013-05-1293-639/+639
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5097 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More fixes for key event issues. It seems that on WindowsXP sending the ↵Brian Hinz2013-03-253-42/+174
| | | | | | actual key press/release separately can be mis-interpreted by the server as holding the key down. Using a keyTyped event for all character input ensures that we can send an immediate down/up. It also works around the broken AltGr detection in Java 6. Also added support for more keys (F13-F24, etc.). Some key definitions in java don't have X11 equivalents or I could not be sure so I've left them commented out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5066 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Need to escape formatting character.Brian Hinz2013-03-061-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5060 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Correct typo in r5058 that set an initial value on key location. Add a some ↵Brian Hinz2013-03-061-4/+3
| | | | | | verbosity to KeyEvent debug statement. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5059 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes some regressions introduced in r5056. Losing window focus caused key ↵Brian Hinz2013-03-063-35/+20
| | | | | | modifiers to be left in an incorrect state. Special handling of AltGr key was being applied in cases where CTRL_L+ALT_L keys were depressed which also caused the modifiers to be left in an incorrect state. Corrected mapping of CTRL+ALT+SHIFT hotkeys to match F8 menu. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5058 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use JDialog for connection info dialog so that frame icon is set correctly.Brian Hinz2013-03-061-14/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5057 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Backported a number of fixes/enhancements (mostly related to keymapping) ↵Brian Hinz2013-03-033-189/+396
| | | | | | from TurboVNC viewer. Also cleaned up some whitespace and minor formatting changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5056 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update copyright datesBrian Hinz2013-03-014-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5055 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace multiple instantiations of code to retrieve resources (icons, ↵Brian Hinz2013-03-015-34/+18
| | | | | | timestamp) from jar file with statics. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5054 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make viewport the parent of "Save As" dialog so that the window frame icon ↵Brian Hinz2013-03-011-1/+1
| | | | | | is inherited correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5053 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using DirectColorModel constructor with an alpha mask other than 0 creates a ↵Brian Hinz2013-03-011-3/+3
| | | | | | ColorMap with Transparency.TRANSLUCENT rather than OPAQUE. This in turn causes rendering between opaque BufferedImages or to the screen to be performed without HW acceleration. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5052 3789f03b-4d11-0410-bbf8-ca57d06f2519
* comboBoxEdited events are fired if the content of the JComboBox is edited ↵Brian Hinz2013-02-221-13/+13
| | | | | | and then the comboBox is de-selected. This causes the connection to be initiated inadvertently sometimes (like when the About... button was pressed. Removed the ItemListener since it didn't serve any purpose, and also deleted the definition of endDialog() since it was the same as the inherited function anyway. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5050 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes yet another case where the viewport background wasn't painted black ↵Brian Hinz2013-02-211-8/+8
| | | | | | when the desktop size was less than the viewport size. Also set both scrollbar policies just as a precaution. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5049 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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-1414-29/+33
| | | | | | 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
* Updated copyright notice, fixed build stringBrian Hinz2012-09-011-1/+1
| | | | 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-2910-382/+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