summaryrefslogtreecommitdiffstats
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* improved Tight decoder performance.Brian Hinz2011-11-141-11/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4797 3789f03b-4d11-0410-bbf8-ca57d06f2519
* java client should accept server port specified as either rfb port or ↵Brian Hinz2011-11-111-1/+4
| | | | | | display offset. Credit to Dan Garton for pointing this out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4796 3789f03b-4d11-0410-bbf8-ca57d06f2519
* null out BufferedImage object to make sure it doesn't lead to a memory leakBrian Hinz2011-11-111-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4795 3789f03b-4d11-0410-bbf8-ca57d06f2519
* remove unsupported sectypeBrian Hinz2011-11-111-76/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4794 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove Visual C++ supportDRC2011-11-081-19/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4774 3789f03b-4d11-0410-bbf8-ca57d06f2519
* re: bug #3429667. adds support for reverse connection modeBrian Hinz2011-10-301-3/+36
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4744 3789f03b-4d11-0410-bbf8-ca57d06f2519
* corrected endianess bug introduced in r4742Brian Hinz2011-10-301-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4743 3789f03b-4d11-0410-bbf8-ca57d06f2519
* massive performance improvements. zrle measured at 2.5x faster (no ↵Brian Hinz2011-10-306-90/+60
| | | | | | measurements for tight, but should be the same or better). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4742 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
* performance improvementsBrian Hinz2011-10-244-16/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4733 3789f03b-4d11-0410-bbf8-ca57d06f2519
* set dialog locations relative to parent window, otherwise dialogs appear on ↵Brian Hinz2011-10-243-9/+17
| | | | | | wrong screen in multi-monitor configurations. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4732 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a favicon for embedded http server. Even less useful than a 50 cent ↵Brian Hinz2011-10-142-0/+1
| | | | | | coin, but I'm a sucker for eye candy. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4730 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved TightJPEG decoder by using a BufferedImage. It simplifies the code, ↵Brian Hinz2011-10-142-56/+14
| | | | | | and even though it's just used for grabbing the pixels, it should be faster since it can be HW accelerated. Also added a super.finalize() to the finalizer method in the ZlibInStream class for good measure. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4729 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-123-22/+24
| | | | | | (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-123-25/+40
| | | | 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-113-54/+53
| | | | | | 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-096-11/+9
| | | | | | 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-0915-53/+9
| | | | | | 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-07102-1/+36
| | | | | | standalone project (per community request) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4715 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix rendering issue when scrollbars are present. Only set ↵Brian Hinz2011-10-062-13/+6
| | | | | | options.{autoScale,fixedRatioScale} when the options dialog is submitted git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4714 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Pull version and build number from CMake build system; Change About dialog ↵DRC2011-10-063-6/+22
| | | | | | wording to match native viewer git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4713 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More changes to scaling code. Tested on Ubuntu 11.04/OpenJDK and Win7/Sun ↵Brian Hinz2011-10-063-31/+39
| | | | | | Java 6u27. Auto, FixedRatio, & % scale all seem to work. Will test on other platforms soon. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4712 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update documentation for Java viewer and add build instructionsDRC2011-10-062-425/+68
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4711 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The previous fix to the NullPointer issue did not work, because it was ↵DRC2011-10-052-8/+8
| | | | | | simply setting separator to null (not what we want.) Fix the issue properly + fix spelling of "separator". git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4710 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove old Makefile in favor of new CMake-based Java build systemDRC2011-10-051-65/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4708 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix null pointer issue. Thanks DRC, that was driving me nuts.Brian Hinz2011-10-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4707 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix WinVNC so that it embeds and serves up the Java viewer whenever BUILD_JAVA=1DRC2011-10-051-5/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4704 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Only sign JAR when it is builtDRC2011-10-051-7/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4703 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Undocument the PARAMS variableDRC2011-10-051-5/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4702 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sign the JAR file so clipboard transfer will workDRC2011-10-051-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4699 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unneeded $PARAMS variable (not sure why it was there in the first ↵DRC2011-10-051-1/+0
| | | | | | place-- our HTTP server doesn't process it) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4698 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Ignore serial and cast warningsDRC2011-10-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4697 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert accidental change to index.vnc fileBrian Hinz2011-10-051-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4696 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More fixes for bug #3418256. Copied jarsigning routine from TurboVNC in ↵Brian Hinz2011-10-058-76/+114
| | | | | | order to produce a signed applet so the system clipboard can be accessed from when used in applet mode. These changes will need some testing to make sure that there aren't any corner-cases where something breaks. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4695 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes for bug #3418258. Cleans up all of the 'unchecked' and 'deprecated' ↵Brian Hinz2011-10-045-13/+13
| | | | | | linter warnings. Several of the redundant casts have been intentionally left for clarity. Set '-serial' and '-cast' linter flags to reduce the number of warnings (it should be safe to ignore serial because the end product is a jar rather than individual class files. AFAIK, there is no performance penalty for redundant casts in Java). If anyone objects to the linter flags they can be removed (the linter flags, that is). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4694 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes for bug #3418256. Need to verify that applets deployed via JWS can ↵Brian Hinz2011-10-046-13/+41
| | | | | | still access the system clipboard. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4693 3789f03b-4d11-0410-bbf8-ca57d06f2519
* OpenJDK needs '-source 1.5'DRC2011-10-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4692 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Integrate Java TigerVNC Viewer build into CMake build systemDRC2011-10-042-0/+103
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4690 3789f03b-4d11-0410-bbf8-ca57d06f2519
* cleanup of rdr code, uniquify variable names, etc.Brian Hinz2011-10-024-50/+64
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4688 3789f03b-4d11-0410-bbf8-ca57d06f2519
* fix for invalid hotspot error when scalingFactor becomes small. Override ↵Brian Hinz2011-10-022-17/+11
| | | | | | repaint method to (hopefully) make updates immediate. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4687 3789f03b-4d11-0410-bbf8-ca57d06f2519
* lots of fixes to scaling code. Adds support for FixedRatio and AutoScaling ↵Brian Hinz2011-10-013-27/+102
| | | | | | (code heavily leveraged from TurboVNC java client). Adds cursor scaling. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4684 3789f03b-4d11-0410-bbf8-ca57d06f2519
* initial support for client side scaling. Options dialog offers "Auto" and ↵Brian Hinz2011-09-304-35/+145
| | | | | | "FixedRatio" but these haven't been implemented yet git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4678 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the formatting of a few Cendio copyright lines, so that it isPeter Åstrand2011-09-281-1/+1
| | | | | | | | consistent with the rest of the code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4677 3789f03b-4d11-0410-bbf8-ca57d06f2519
* fixed protocol version < 3.7 secType bugBrian Hinz2011-09-041-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4667 3789f03b-4d11-0410-bbf8-ca57d06f2519
* remove unused variablesBrian Hinz2011-08-242-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4659 3789f03b-4d11-0410-bbf8-ca57d06f2519
* prevent window artifact during clientRedirectBrian Hinz2011-08-231-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4652 3789f03b-4d11-0410-bbf8-ca57d06f2519
* added sanity checks for setting jpeg quality level from command lineBrian Hinz2011-08-231-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4651 3789f03b-4d11-0410-bbf8-ca57d06f2519
* expose jpeg quality level 0 in guiBrian Hinz2011-08-231-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4650 3789f03b-4d11-0410-bbf8-ca57d06f2519
* added option to disable system bell. added missing callback for setting ↵Brian Hinz2011-08-183-3/+16
| | | | | | options dialog for fastCopyRect git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4637 3789f03b-4d11-0410-bbf8-ca57d06f2519