]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
12 years agoMake socket writes non-blockable. This allows the system to more quickly
Pierre Ossman [Tue, 25 Oct 2011 15:13:13 +0000 (15:13 +0000)]
Make socket writes non-blockable. This allows the system to more quickly
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

12 years agoUse the same window naming convention as the other viewers
Brian Hinz [Mon, 24 Oct 2011 21:28:34 +0000 (21:28 +0000)]
Use the same window naming convention as the other viewers

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4734 3789f03b-4d11-0410-bbf8-ca57d06f2519

12 years agoperformance improvements
Brian Hinz [Mon, 24 Oct 2011 02:14:55 +0000 (02:14 +0000)]
performance improvements

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4733 3789f03b-4d11-0410-bbf8-ca57d06f2519

12 years agoset dialog locations relative to parent window, otherwise dialogs appear on wrong...
Brian Hinz [Mon, 24 Oct 2011 02:11:53 +0000 (02:11 +0000)]
set dialog locations relative to parent window, otherwise dialogs appear on wrong screen in multi-monitor configurations.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4732 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAnother attempt at solving the compression level change problems. We were still
Pierre Ossman [Tue, 18 Oct 2011 14:27:07 +0000 (14:27 +0000)]
Another attempt at solving the compression level change problems. We were still
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

13 years agoAdded a favicon for embedded http server. Even less useful than a 50 cent coin,...
Brian Hinz [Fri, 14 Oct 2011 21:35:40 +0000 (21:35 +0000)]
Added a favicon for embedded http server.  Even less useful than a 50 cent 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

13 years agoImproved TightJPEG decoder by using a BufferedImage. It simplifies the code, and...
Brian Hinz [Fri, 14 Oct 2011 00:36:02 +0000 (00:36 +0000)]
Improved TightJPEG decoder by using a BufferedImage. It simplifies the code, 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

13 years agoremoved unnecessary hint for window sizing.
Brian Hinz [Thu, 13 Oct 2011 00:04:38 +0000 (00:04 +0000)]
removed unnecessary hint for window sizing.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4728 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix Java viewer integration when building WinVNC with MinGW
DRC [Wed, 12 Oct 2011 21:30:18 +0000 (21:30 +0000)]
Fix Java viewer integration when building WinVNC with MinGW

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4727 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoThis is subtle, but add_definitions() also adds definitions to the windres command...
DRC [Wed, 12 Oct 2011 21:29:34 +0000 (21:29 +0000)]
This is subtle, but add_definitions() also adds definitions to the windres 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

13 years agoRevert a change from yesterday that broke the viewer (setAccelerationPriority). ...
Brian Hinz [Wed, 12 Oct 2011 20:51:05 +0000 (20:51 +0000)]
Revert a change from yesterday that broke the viewer (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

13 years agoRe-order headers to ensure that winsock2.h is included before windows.h. Otherwise...
DRC [Wed, 12 Oct 2011 20:02:55 +0000 (20:02 +0000)]
Re-order headers to ensure that winsock2.h is included before windows.h.  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

13 years agoEnable WinVNC build with MinGW and MinGW64
DRC [Wed, 12 Oct 2011 20:00:55 +0000 (20:00 +0000)]
Enable WinVNC build with MinGW and MinGW64

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4723 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoNewer versions of GCC (specifically, the one in MinGW64) don't like casting directly...
DRC [Wed, 12 Oct 2011 19:38:48 +0000 (19:38 +0000)]
Newer versions of GCC (specifically, the one in MinGW64) don't like casting 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

13 years agoSome tweaks to improve performance.
Brian Hinz [Wed, 12 Oct 2011 03:38:19 +0000 (03:38 +0000)]
Some tweaks to improve performance.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4721 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAvoid catching composite (RENDER) operations that only affect off-screen
Pierre Ossman [Tue, 11 Oct 2011 14:29:51 +0000 (14:29 +0000)]
Avoid catching composite (RENDER) operations that only affect off-screen
things.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4720 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoRemove some redundant variables related to scaling, fix loop when fixedRatioScale...
Brian Hinz [Tue, 11 Oct 2011 02:15:12 +0000 (02:15 +0000)]
Remove some redundant variables related to scaling, fix loop when fixedRatioScale and viewer is maximized.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4719 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix more unused local variables and static (class) variables and methods being used...
Brian Hinz [Sun, 9 Oct 2011 17:58:48 +0000 (17:58 +0000)]
Fix more unused local variables and static (class) variables and methods being used in instance warnings

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4718 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agocleaned up unused local variables, unnecessary package imports, and fixed some method...
Brian Hinz [Sun, 9 Oct 2011 17:31:11 +0000 (17:31 +0000)]
cleaned up unused local variables, unnecessary package imports, and fixed 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

13 years agoRemove unneeded src directory
DRC [Fri, 7 Oct 2011 05:39:59 +0000 (05:39 +0000)]
Remove unneeded src directory

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4716 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMove Java source up one level and allow Java viewer to be built as a standalone proje...
DRC [Fri, 7 Oct 2011 05:38:00 +0000 (05:38 +0000)]
Move Java source up one level and allow Java viewer to be built as a standalone project (per community request)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4715 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix rendering issue when scrollbars are present. Only set options.{autoScale,fixedRat...
Brian Hinz [Thu, 6 Oct 2011 21:15:55 +0000 (21:15 +0000)]
Fix rendering issue when scrollbars are present. Only set 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

13 years agoPull version and build number from CMake build system; Change About dialog wording...
DRC [Thu, 6 Oct 2011 06:49:30 +0000 (06:49 +0000)]
Pull version and build number from CMake build system; Change About dialog wording to match native viewer

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4713 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMore changes to scaling code. Tested on Ubuntu 11.04/OpenJDK and Win7/Sun Java 6u27...
Brian Hinz [Thu, 6 Oct 2011 06:21:32 +0000 (06:21 +0000)]
More changes to scaling code.  Tested on Ubuntu 11.04/OpenJDK and Win7/Sun 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

13 years agoUpdate documentation for Java viewer and add build instructions
DRC [Thu, 6 Oct 2011 01:20:52 +0000 (01:20 +0000)]
Update documentation for Java viewer and add build instructions

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4711 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoThe previous fix to the NullPointer issue did not work, because it was simply setting...
DRC [Wed, 5 Oct 2011 21:39:59 +0000 (21:39 +0000)]
The previous fix to the NullPointer issue did not work, because it was 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

13 years agoLaunch vncconfig directly from vncserver, not from xstartup. Justification: vncconf...
DRC [Wed, 5 Oct 2011 21:28:03 +0000 (21:28 +0000)]
Launch vncconfig directly from vncserver, not from xstartup.  Justification:  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

13 years agoRemove old Makefile in favor of new CMake-based Java build system
DRC [Wed, 5 Oct 2011 19:17:36 +0000 (19:17 +0000)]
Remove old Makefile in favor of new CMake-based Java build system

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4708 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix null pointer issue. Thanks DRC, that was driving me nuts.
Brian Hinz [Wed, 5 Oct 2011 11:29:32 +0000 (11:29 +0000)]
Fix null pointer issue. Thanks DRC, that was driving me nuts.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4707 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOnly include Java viewer resources if BUILD_JAVA is defined
DRC [Wed, 5 Oct 2011 09:41:53 +0000 (09:41 +0000)]
Only include Java viewer resources if BUILD_JAVA is defined

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4706 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoIt is our convention to install Windows executables in the top-level install director...
DRC [Wed, 5 Oct 2011 09:32:28 +0000 (09:32 +0000)]
It is our convention to install Windows executables in the top-level install directory rather than under bin/

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4705 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix WinVNC so that it embeds and serves up the Java viewer whenever BUILD_JAVA=1
DRC [Wed, 5 Oct 2011 09:29:21 +0000 (09:29 +0000)]
Fix WinVNC so that it embeds and serves up the Java viewer whenever BUILD_JAVA=1

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4704 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOnly sign JAR when it is built
DRC [Wed, 5 Oct 2011 09:18:55 +0000 (09:18 +0000)]
Only sign JAR when it is built

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4703 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoUndocument the PARAMS variable
DRC [Wed, 5 Oct 2011 09:04:25 +0000 (09:04 +0000)]
Undocument the PARAMS variable

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4702 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOops
DRC [Wed, 5 Oct 2011 09:03:43 +0000 (09:03 +0000)]
Oops

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4701 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMake sure that keytool and jarsigner don't die silently
DRC [Wed, 5 Oct 2011 08:51:05 +0000 (08:51 +0000)]
Make sure that keytool and jarsigner don't die silently

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4700 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoSign the JAR file so clipboard transfer will work
DRC [Wed, 5 Oct 2011 07:53:29 +0000 (07:53 +0000)]
Sign the JAR file so clipboard transfer will work

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4699 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoRemove unneeded $PARAMS variable (not sure why it was there in the first place--...
DRC [Wed, 5 Oct 2011 07:50:23 +0000 (07:50 +0000)]
Remove unneeded $PARAMS variable (not sure why it was there in the first 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

13 years agoIgnore serial and cast warnings
DRC [Wed, 5 Oct 2011 06:21:58 +0000 (06:21 +0000)]
Ignore serial and cast warnings

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4697 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoRevert accidental change to index.vnc file
Brian Hinz [Wed, 5 Oct 2011 03:49:49 +0000 (03:49 +0000)]
Revert accidental change to index.vnc file

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4696 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMore fixes for bug #3418256. Copied jarsigning routine from TurboVNC in order to...
Brian Hinz [Wed, 5 Oct 2011 03:45:43 +0000 (03:45 +0000)]
More fixes for bug #3418256. Copied jarsigning routine from TurboVNC in 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

13 years agoFixes for bug #3418258. Cleans up all of the 'unchecked' and 'deprecated' linter...
Brian Hinz [Tue, 4 Oct 2011 23:53:01 +0000 (23:53 +0000)]
Fixes for bug #3418258.  Cleans up all of the 'unchecked' and 'deprecated' 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

13 years agoFixes for bug #3418256. Need to verify that applets deployed via JWS can still access...
Brian Hinz [Tue, 4 Oct 2011 22:47:01 +0000 (22:47 +0000)]
Fixes for bug #3418256. Need to verify that applets deployed via JWS can still access the system clipboard.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4693 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOpenJDK needs '-source 1.5'
DRC [Tue, 4 Oct 2011 19:31:58 +0000 (19:31 +0000)]
OpenJDK needs '-source 1.5'

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4692 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAlways look for the Java classes in ../vnc/classes first before looking in the system...
DRC [Tue, 4 Oct 2011 06:57:19 +0000 (06:57 +0000)]
Always look for the Java classes in ../vnc/classes first before looking in 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

13 years agoIntegrate Java TigerVNC Viewer build into CMake build system
DRC [Tue, 4 Oct 2011 04:03:34 +0000 (04:03 +0000)]
Integrate Java TigerVNC Viewer build into CMake build system

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4690 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoRe-commit MSVC build fixes, which were forcibly removed by 4675. Please (a) bring...
DRC [Tue, 4 Oct 2011 02:09:13 +0000 (02:09 +0000)]
Re-commit MSVC build fixes, which were forcibly removed by 4675.  Please (a) 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

13 years agocleanup of rdr code, uniquify variable names, etc.
Brian Hinz [Sun, 2 Oct 2011 02:40:37 +0000 (02:40 +0000)]
cleanup of rdr code, uniquify variable names, etc.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4688 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agofix for invalid hotspot error when scalingFactor becomes small. Override repaint...
Brian Hinz [Sun, 2 Oct 2011 00:44:41 +0000 (00:44 +0000)]
fix for invalid hotspot error when scalingFactor becomes small.  Override 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

13 years agoDisable Composite extension by default in the legacy-friendly TigerVNC build. Justif...
DRC [Sat, 1 Oct 2011 19:13:12 +0000 (19:13 +0000)]
Disable Composite extension by default in the legacy-friendly TigerVNC build.  Justification:  Some older versions of Gnome do not work properly when Composite is enabled.  This is known to be a problem with RHEL 4 (Gnome 2.8), and it causes the legacy-friendly build to be unusable on that platform.  Newer Gnome versions, such as 2.16.0 (the version in RHEL 5), work properly with Composite enabled, but those versions don't support compositing anyhow, so it doesn't matter if we remove the extension.  Typically, platforms that are new enough to support compositing are also new enough to not require the legacy-friendly build of TigerVNC.  Further, Composite can be re-enabled by simply adding --enable-composite to the XORGCFGFLAGS env. variable prior to executing 'build-xorg build'.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4686 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agolots of fixes to scaling code. Adds support for FixedRatio and AutoScaling (code...
Brian Hinz [Sat, 1 Oct 2011 18:00:29 +0000 (18:00 +0000)]
lots of fixes to scaling code. Adds support for FixedRatio and AutoScaling (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

13 years agoFix BUILD_STATIC on MinGW and document the feature
DRC [Sat, 1 Oct 2011 17:54:36 +0000 (17:54 +0000)]
Fix BUILD_STATIC on MinGW and document the feature

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4683 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoPut the TigerVNC marker at the end instead of the beginning of the window
Pierre Ossman [Fri, 30 Sep 2011 12:54:24 +0000 (12:54 +0000)]
Put the TigerVNC marker at the end instead of the beginning of the window
title, making it easier to differentiate windows. At the same time remove
the translation tags as there is nothing in there that should be translated.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4682 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoRemove VeNCrypt settings from the GUI as lower layers will always be forcing
Pierre Ossman [Fri, 30 Sep 2011 12:26:25 +0000 (12:26 +0000)]
Remove VeNCrypt settings from the GUI as lower layers will always be forcing
it on anyway.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4681 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAvoid resetting the options whenever you click on the window.
Pierre Ossman [Fri, 30 Sep 2011 12:21:58 +0000 (12:21 +0000)]
Avoid resetting the options whenever you click on the window.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4680 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoForgot to save the security settings when closing the options dialog.
Pierre Ossman [Fri, 30 Sep 2011 12:11:52 +0000 (12:11 +0000)]
Forgot to save the security settings when closing the options dialog.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4679 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoinitial support for client side scaling. Options dialog offers "Auto" and "FixedRatio...
Brian Hinz [Fri, 30 Sep 2011 02:47:06 +0000 (02:47 +0000)]
initial support for client side scaling. Options dialog offers "Auto" and "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

13 years agoFixed the formatting of a few Cendio copyright lines, so that it is
Peter Åstrand [Wed, 28 Sep 2011 12:52:53 +0000 (12:52 +0000)]
Fixed the formatting of a few Cendio copyright lines, so that it is
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

13 years agoProper GNOME shell integration requires that WM_CLASS
Henrik Andersson [Mon, 19 Sep 2011 13:46:55 +0000 (13:46 +0000)]
Proper GNOME shell integration requires that WM_CLASS
of window is set.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4676 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoUpdated bundled fltk with latest set of patches for
Henrik Andersson [Fri, 16 Sep 2011 11:51:32 +0000 (11:51 +0000)]
Updated bundled fltk with latest set of patches for
following fltk str:  2660, 2636, 2599, 2641...

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4675 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOops. Apple version doesn't need to link with libdl, and we don't want to clobber...
DRC [Wed, 14 Sep 2011 20:18:23 +0000 (20:18 +0000)]
Oops.  Apple version doesn't need to link with libdl, and we don't want to clobber the existing value of FLTK_LIBRARIES.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4674 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoIncluded FLTK depends on libdl
DRC [Wed, 14 Sep 2011 17:08:29 +0000 (17:08 +0000)]
Included FLTK depends on libdl

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4672 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAdding missing initialization of new member variables
Henrik Andersson [Wed, 14 Sep 2011 08:33:15 +0000 (08:33 +0000)]
Adding missing initialization of new member variables
introduced in commit r4670.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4671 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years ago- Changes behaviour of context menu to be reinitialize
Henrik Andersson [Wed, 14 Sep 2011 06:31:06 +0000 (06:31 +0000)]
- Changes behaviour of context menu to be reinitialize
  before display with intial states.

- Fixes for fullscreen contextmenu item to show the
  current fullscreen state as it was done in the
  old viewer.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4670 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoInternalise the libjpeg stuff into the JpegCompressor class as the libjpeg
Pierre Ossman [Wed, 7 Sep 2011 11:35:04 +0000 (11:35 +0000)]
Internalise the libjpeg stuff into the JpegCompressor class as the libjpeg
headers are a bit conflict prone.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4669 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoThe old Unix viewer put the RFB clipboard data both in CLIPBOARD and PRIMARY.
Pierre Ossman [Wed, 7 Sep 2011 09:01:20 +0000 (09:01 +0000)]
The old Unix viewer put the RFB clipboard data both in CLIPBOARD and PRIMARY.
Make sure the new one does the same.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4668 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agofixed protocol version < 3.7 secType bug
Brian Hinz [Sun, 4 Sep 2011 12:40:15 +0000 (12:40 +0000)]
fixed protocol version < 3.7 secType bug

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4667 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoUpdate menu key list in man page
Martin Koegler [Sun, 4 Sep 2011 07:12:15 +0000 (07:12 +0000)]
Update menu key list in man page

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4666 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoSupport other keys than F8 as menu key
Martin Koegler [Sun, 4 Sep 2011 07:04:43 +0000 (07:04 +0000)]
Support other keys than F8 as menu key

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4665 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoThe LINGUAS file is no longer used - the languages are defined in
Peter Åstrand [Thu, 1 Sep 2011 12:43:40 +0000 (12:43 +0000)]
The LINGUAS file is no longer used - the languages are defined in
CMakeLists.txt.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4664 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoUpdated Swedish translation
Peter Åstrand [Mon, 29 Aug 2011 14:03:00 +0000 (14:03 +0000)]
Updated Swedish translation

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4663 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoExecuted translations_update
Peter Åstrand [Mon, 29 Aug 2011 13:52:20 +0000 (13:52 +0000)]
Executed translations_update

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4662 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAvoid translation strings with leading and/or trailing whitespace. Our
Peter Åstrand [Mon, 29 Aug 2011 13:14:51 +0000 (13:14 +0000)]
Avoid translation strings with leading and/or trailing whitespace. Our
experience is that translators very often fails to notice them and
forgets to include the whitespace in the translated string.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4661 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoSupport building an out-of-tree Xvnc binary using in-tree X server sources
DRC [Wed, 24 Aug 2011 16:01:12 +0000 (16:01 +0000)]
Support building an out-of-tree Xvnc binary using in-tree X server sources

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4660 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoremove unused variables
Brian Hinz [Wed, 24 Aug 2011 02:39:12 +0000 (02:39 +0000)]
remove unused variables

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4659 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOops. Need to escape parentheses
DRC [Wed, 24 Aug 2011 00:32:28 +0000 (00:32 +0000)]
Oops.  Need to escape parentheses

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4658 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAdapt -m32 recipe to accommodate modern systems as well
DRC [Wed, 24 Aug 2011 00:30:49 +0000 (00:30 +0000)]
Adapt -m32 recipe to accommodate modern systems as well

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4657 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoOops. The option is --with-xkb-bin-directory, not --with-xkb-bin-dir
DRC [Wed, 24 Aug 2011 00:26:54 +0000 (00:26 +0000)]
Oops.  The option is --with-xkb-bin-directory, not --with-xkb-bin-dir

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4656 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoRemove unused variables
DRC [Wed, 24 Aug 2011 00:20:40 +0000 (00:20 +0000)]
Remove unused variables

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4655 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoInclude basic recipe for building Xvnc on "modern" systems (will still require some...
DRC [Wed, 24 Aug 2011 00:03:31 +0000 (00:03 +0000)]
Include basic recipe for building Xvnc on "modern" systems (will still require some tweaking for systems other than Red Hat/Fedora)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4654 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoWe can't assume that Pixman is under ${includedir}, because ${includedir} depends...
DRC [Tue, 23 Aug 2011 23:44:22 +0000 (23:44 +0000)]
We can't assume that Pixman is under ${includedir}, because ${includedir} depends on the install prefix.  Fortunately, XSERVERLIBS_CFLAGS should contain the correct include directory for Pixman, so we can use this variable directly or parse it for the include directory.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4653 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoprevent window artifact during clientRedirect
Brian Hinz [Tue, 23 Aug 2011 22:56:31 +0000 (22:56 +0000)]
prevent window artifact during clientRedirect

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4652 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoadded sanity checks for setting jpeg quality level from command line
Brian Hinz [Tue, 23 Aug 2011 22:38:32 +0000 (22:38 +0000)]
added sanity checks for setting jpeg quality level from command line

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4651 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoexpose jpeg quality level 0 in gui
Brian Hinz [Tue, 23 Aug 2011 22:32:18 +0000 (22:32 +0000)]
expose jpeg quality level 0 in gui

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4650 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoJPEG quality level 0 is a perfectly valid setting (NOTE: this should be exposed in...
DRC [Tue, 23 Aug 2011 20:36:50 +0000 (20:36 +0000)]
JPEG quality level 0 is a perfectly valid setting (NOTE: this should be exposed in the Java GUI as well if it isn't already)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4649 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMove setting of PIC code to a central location
DRC [Tue, 23 Aug 2011 20:35:06 +0000 (20:35 +0000)]
Move setting of PIC code to a central location

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4648 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoClarify when in-tree version of Zlib is being used, and remove redundant "not found...
DRC [Tue, 23 Aug 2011 20:26:11 +0000 (20:26 +0000)]
Clarify when in-tree version of Zlib is being used, and remove redundant "not found" message for the system version (find_package() already takes care of that.)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4647 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMake sure to include config.h in every compilation unit. Otherwise,
Peter Åstrand [Tue, 23 Aug 2011 12:04:46 +0000 (12:04 +0000)]
Make sure to include config.h in every compilation unit. Otherwise,
the necessary defines will only be visible as a side effect of
including other headers, leading to problems with things like
translations, which will fail in various places.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4646 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoCMake doesn't handle convenience libraries as nicely as autotools does. We
Pierre Ossman [Mon, 22 Aug 2011 11:38:35 +0000 (11:38 +0000)]
CMake doesn't handle convenience libraries as nicely as autotools does. We
need to be explicit with -fPIC here as we use these in libvnc.so.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4645 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoLink x0vncserver against Xtst, if it was detected (otherwise x0vncserver is view...
DRC [Fri, 19 Aug 2011 16:41:06 +0000 (16:41 +0000)]
Link x0vncserver against Xtst, if it was detected (otherwise x0vncserver is view-only)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4644 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoDo register reduction to re-normalize the performance at the low level
DRC [Fri, 19 Aug 2011 16:08:09 +0000 (16:08 +0000)]
Do register reduction to re-normalize the performance at the low level

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4643 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix image corruption issues with, and add a few optimizations for, 16bpp clients
DRC [Fri, 19 Aug 2011 13:45:22 +0000 (13:45 +0000)]
Fix image corruption issues with, and add a few optimizations for, 16bpp clients

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4642 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoAdd support for TurboVNC pseudo-encodings and Grayscale JPEG compression so that...
DRC [Fri, 19 Aug 2011 04:57:18 +0000 (04:57 +0000)]
Add support for TurboVNC pseudo-encodings and Grayscale JPEG compression so that, when a TurboVNC viewer is connected, the TigerVNC Server will behave exactly like the TurboVNC Server.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4641 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoMake rawBytesEquivalent an unsigned 64-bit integer. Otherwise, it will overflow...
DRC [Fri, 19 Aug 2011 03:13:47 +0000 (03:13 +0000)]
Make rawBytesEquivalent an unsigned 64-bit integer.  Otherwise, it will overflow in less than a minute if using a full-screen video or 3D application.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4639 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoFix compiler warning in Visual C++
DRC [Fri, 19 Aug 2011 03:11:32 +0000 (03:11 +0000)]
Fix compiler warning in Visual C++

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4638 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoadded option to disable system bell. added missing callback for setting options dialo...
Brian Hinz [Thu, 18 Aug 2011 04:47:09 +0000 (04:47 +0000)]
added option to disable system bell. added missing callback for setting options dialog for fastCopyRect

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4637 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoadd support for "hidden" compression levels 0,7,8,9 in the gui (JComboBox is now...
Brian Hinz [Thu, 18 Aug 2011 01:09:19 +0000 (01:09 +0000)]
add support for "hidden" compression levels 0,7,8,9 in the gui (JComboBox is now editable). Also addded some sanity checks to make sure only 0-9 can be passed in via the gui or the command line.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4636 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoImplement recommendations from low-level performance study into java client. Mirrors...
Brian Hinz [Wed, 17 Aug 2011 14:37:41 +0000 (14:37 +0000)]
Implement recommendations from low-level performance study into java client. Mirrors the changes made to the Fltk viewer in r4632.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4635 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoNeed to include os/print.h to use snprintf on Windows
DRC [Wed, 17 Aug 2011 11:24:58 +0000 (11:24 +0000)]
Need to include os/print.h to use snprintf on Windows

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4634 3789f03b-4d11-0410-bbf8-ca57d06f2519

13 years agoDisable ComparingUpdateTracker by default for now, because it generates a lot of...
DRC [Wed, 17 Aug 2011 11:03:51 +0000 (11:03 +0000)]
Disable ComparingUpdateTracker by default for now, because it generates a lot of CPU overhead (let's see if anyone notices that it's gone)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4633 3789f03b-4d11-0410-bbf8-ca57d06f2519