summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Don't try to push out another update if the socket is already full. ThisPierre Ossman2011-10-252-3/+41
| | | | | | | avoids stalling the entire server because of one slow client. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4737 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure RFB timers are actually respected by the server implementations.Pierre Ossman2011-10-251-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4736 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make socket writes non-blockable. This allows the system to more quicklyPierre Ossman2011-10-256-11/+297
| | | | | | | | return back to the Xorg main loop, meaning that things will be more responsive in the presence of slow VNC clients. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4735 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
* Another attempt at solving the compression level change problems. We were stillPierre Ossman2011-10-182-63/+75
| | | | | | | not detecting the correct approach properly, and hence still getting crashes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4731 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
* Fix Java viewer integration when building WinVNC with MinGWDRC2011-10-123-6/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4727 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This is subtle, but add_definitions() also adds definitions to the windres ↵DRC2011-10-121-1/+1
| | | | | | command line when building with MinGW, and this causes subsequent barfage because windres doesn't grok the -static-libgcc flag. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4726 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
* Re-order headers to ensure that winsock2.h is included before windows.h. ↵DRC2011-10-121-1/+1
| | | | | | Otherwise, MinGW64 complains and MSVC barfs. This is necessary because os.h now includes windows.h via. w32tiger.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4724 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable WinVNC build with MinGW and MinGW64DRC2011-10-128-5/+231
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4723 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Newer versions of GCC (specifically, the one in MinGW64) don't like casting ↵DRC2011-10-121-2/+2
| | | | | | directly from a 64-bit pointer to a 32-bit integer, so we need to first cast to a 64-bit integer (remember that Windows is LLP64) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4722 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
* Avoid catching composite (RENDER) operations that only affect off-screenPierre Ossman2011-10-111-16/+20
| | | | | | | things. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4720 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
* Remove unneeded src directoryDRC2011-10-070-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4716 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move Java source up one level and allow Java viewer to be built as a ↵DRC2011-10-07106-4/+10
| | | | | | 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-064-7/+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-063-425/+108
| | | | 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
* Launch vncconfig directly from vncserver, not from xstartup. Justification: ↵DRC2011-10-051-1/+2
| | | | | | vncconfig is necessary to enable basic functionality of the TigerVNC system (clipboard transfer, most notably.) It isn't always going to be in the PATH, and in fact, there might be more than one version of it on the system (for instance, a version from RealVNC in /usr/bin and a version from TigerVNC in /opt/TigerVNC/bin.) If it is desirable to disable vncconfig under certain circumstances, then I would suggest adding a command-line option to vncserver to accomplish that. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4709 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
* Only include Java viewer resources if BUILD_JAVA is definedDRC2011-10-051-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4706 3789f03b-4d11-0410-bbf8-ca57d06f2519
* It is our convention to install Windows executables in the top-level install ↵DRC2011-10-051-1/+5
| | | | | | directory rather than under bin/ git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4705 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix WinVNC so that it embeds and serves up the Java viewer whenever BUILD_JAVA=1DRC2011-10-055-17/+42
| | | | 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-052-7/+8
| | | | 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
* OopsDRC2011-10-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4701 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure that keytool and jarsigner don't die silentlyDRC2011-10-051-2/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4700 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sign the JAR file so clipboard transfer will workDRC2011-10-052-0/+27
| | | | 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
* Always look for the Java classes in ../vnc/classes first before looking in ↵DRC2011-10-041-3/+4
| | | | | | the system locations. This prevents TigerVNC from picking up the Java classes from a RealVNC installation. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4691 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Integrate Java TigerVNC Viewer build into CMake build systemDRC2011-10-046-9/+121
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4690 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-commit MSVC build fixes, which were forcibly removed by 4675. Please (a) ↵DRC2011-10-042-3/+8
| | | | | | bring these upstream so they don't get deleted again, and (b) always check the build with MSVC prior to committing modifications to any libraries that affect that build. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4689 3789f03b-4d11-0410-bbf8-ca57d06f2519