]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
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

13 years agoImplement recommendations from low-level performance study (undocument compress level...
DRC [Wed, 17 Aug 2011 02:30:34 +0000 (02:30 +0000)]
Implement recommendations from low-level performance study (undocument compress levels 7-9 in the GUI, since they do nothing but increase CPU usage, set the default compress level to 1, and include a note that levels higher than 3 are rarely useful)

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

13 years agoFurther optimizations to the Tight encoder to eliminate getImage() overhead. The...
DRC [Wed, 17 Aug 2011 02:27:59 +0000 (02:27 +0000)]
Further optimizations to the Tight encoder to eliminate getImage() overhead.  The encoder now directly accesses the framebuffer for solid rectangle computation, JPEG encoding, and color counting (if pixel translation is not required.)  Also moved everything in tightEncode.h into the TightEncoder class to eliminate all of the static mess (this will be important later on if we decide to multi-thread the encoder.)

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

13 years agoDo not translate the encoding names: These are just that:
Peter Åstrand [Mon, 15 Aug 2011 12:33:06 +0000 (12:33 +0000)]
Do not translate the encoding names: These are just that:
names. Besides, these names are also a part of the command line
syntax.

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

13 years ago"Don't use parallel make by default," he says after accidentally turning it off and...
DRC [Thu, 11 Aug 2011 12:24:30 +0000 (12:24 +0000)]
"Don't use parallel make by default," he says after accidentally turning it off and discovering that his builds are about 4 times faster.

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

13 years agoPorted encoding optimizations from TurboVNC. The changes to the Tight parameters...
DRC [Thu, 11 Aug 2011 11:18:34 +0000 (11:18 +0000)]
Ported encoding optimizations from TurboVNC.  The changes to the Tight parameters were determined through extensive low-level profiling (see http://www.virtualgl.org/pmwiki/uploads/About/turbototiger.pdf).  The other enhancements involved: (1) porting the solid subrectangle pre-computation code from TightVNC/TurboVNC (it makes a pretty big difference-- see report), (2) encapsulating the JPEG encoder in its own class (this eliminates a buffer copy, and the JPEG buffer is now set to a decent size where it shouldn't ever need to be paged or re-allocated, except in rare corner cases), (3) adding support for last rect. encoding (necessary to support the solid rectangle pre-computation enhancements.

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

13 years agoUpdate the fl_update_clipboard function, so that it matches the latest
Peter Åstrand [Thu, 11 Aug 2011 09:14:54 +0000 (09:14 +0000)]
Update the fl_update_clipboard function, so that it matches the latest
version of the win32 clipboard patch available from
http://www.fltk.org/str.php?L2636. See bug 3386240.

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

13 years agoAvoid MSVC linker warning when doing a Debug build if dependent libraries, such as...
DRC [Wed, 10 Aug 2011 20:02:13 +0000 (20:02 +0000)]
Avoid MSVC linker warning when doing a Debug build if dependent libraries, such as libjpeg-turbo, are built using the release version of libc

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

13 years agoMerge further fixes to Zlib encoder from 1.1 branch
DRC [Tue, 9 Aug 2011 20:19:59 +0000 (20:19 +0000)]
Merge further fixes to Zlib encoder from 1.1 branch

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

13 years agoRevert r4498 and fix #3305357 properly. The issue was two-fold: (1) the compress...
DRC [Tue, 9 Aug 2011 11:12:55 +0000 (11:12 +0000)]
Revert r4498 and fix #3305357 properly.  The issue was two-fold:  (1) the compress buffer allocated by the Tight encoder was not large enough, and (2) Zlib 1.2.5 can sometimes call deflate(..., Z_BLOCK) within the body of deflateParams(), so we need to check avail_in after calling checkCompressionLevel() to ensure that there is still data left to compress before we call deflate() again.

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

13 years ago(Re-)fix static Xvnc build. We can leverage the BUILD_STATIC option to modify our...
DRC [Tue, 9 Aug 2011 02:26:30 +0000 (02:26 +0000)]
(Re-)fix static Xvnc build.  We can leverage the BUILD_STATIC option to modify our fake libtool scripts such that they pick up the static libstdc++.a.  Unfortunately, adding -static-libgcc to those scripts makes libtool barf, so we still have to add that flag to LDFLAGS in build-xorg.

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

13 years agoOops. The 64BIT variable is a carry-over from VirtualGL. TigerVNC's build system...
DRC [Mon, 8 Aug 2011 03:22:15 +0000 (03:22 +0000)]
Oops.  The 64BIT variable is a carry-over from VirtualGL.  TigerVNC's build system doesn't define it.

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

13 years agoAnother fullscreen fix: avoid triggering fullscreen simply by setting
Peter Åstrand [Tue, 2 Aug 2011 08:33:27 +0000 (08:33 +0000)]
Another fullscreen fix: avoid triggering fullscreen simply by setting
the window size to the size of the screen.

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

13 years agoOnly try to run the libjpeg-turbo test program if we aren't cross-compiling. In...
DRC [Mon, 1 Aug 2011 20:25:40 +0000 (20:25 +0000)]
Only try to run the libjpeg-turbo test program if we aren't cross-compiling.  In a cross-compile environment, we'll settle for just making sure it compiles and links.  Even though that can theoretically produce situations in which the wrong libjpeg is linked, such situations would be exceedingly rare in a cross-compile environment, since there is no "system libjpeg" to accidentally link with.

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

13 years agoMore fullscreen fixes: Do not try to change size in fullscreen mode
Peter Åstrand [Mon, 1 Aug 2011 10:34:38 +0000 (10:34 +0000)]
More fullscreen fixes: Do not try to change size in fullscreen mode
even if viewport is same as window size. However, after exiting
fullscreen mode, the window size needs to be updated.

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

13 years agoInclude build date/time and bitness in the About dialog
DRC [Thu, 28 Jul 2011 22:13:40 +0000 (22:13 +0000)]
Include build date/time and bitness in the About dialog

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

13 years agoAdd a BUILD_STATIC option which links statically against libgcc and libstdc++ (if...
DRC [Thu, 28 Jul 2011 09:58:24 +0000 (09:58 +0000)]
Add a BUILD_STATIC option which links statically against libgcc and libstdc++ (if applicable.)  Remove the corresponding code from build-xorg.

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

13 years agoRemove FLTK build instructions (no longer needed)
DRC [Thu, 28 Jul 2011 09:28:53 +0000 (09:28 +0000)]
Remove FLTK build instructions (no longer needed)

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

13 years agoRemove extensions patch. It is no longer being maintained, in favor of an in-tree...
DRC [Thu, 28 Jul 2011 09:27:57 +0000 (09:27 +0000)]
Remove extensions patch.  It is no longer being maintained, in favor of an in-tree version of FLTK with the patches applied

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

13 years agoApply our FLTK extensions
DRC [Thu, 28 Jul 2011 09:23:00 +0000 (09:23 +0000)]
Apply our FLTK extensions

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

13 years agoUnless GnuTLS is being used, we have to explicitly link vncviewer with ws2_32 on...
DRC [Thu, 28 Jul 2011 09:22:07 +0000 (09:22 +0000)]
Unless GnuTLS is being used, we have to explicitly link vncviewer with ws2_32 on WIN32 systems.

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

13 years agoInclude a stripped-down version of FLTK in tree and add a USE_INCLUDED_FLTK option...
DRC [Thu, 28 Jul 2011 08:38:59 +0000 (08:38 +0000)]
Include a stripped-down version of FLTK in tree and add a USE_INCLUDED_FLTK option to build against it.

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

13 years agoActually link and run the libjpeg-turbo test program to ensure that JPEG_LIBRARY...
DRC [Thu, 28 Jul 2011 08:06:39 +0000 (08:06 +0000)]
Actually link and run the libjpeg-turbo test program to ensure that JPEG_LIBRARY is set correctly

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

13 years agoActually, you don't have to build it first, as the "install" target takes care of...
DRC [Thu, 28 Jul 2011 07:22:39 +0000 (07:22 +0000)]
Actually, you don't have to build it first, as the "install" target takes care of that

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

13 years agoAnother fullscreen fix: When the framebuffer size changes, we must not
Peter Åstrand [Tue, 19 Jul 2011 09:28:39 +0000 (09:28 +0000)]
Another fullscreen fix: When the framebuffer size changes, we must not
call size_range with a limit, when running in fullscreen mode.

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

13 years agoMake fullscreen mode work better with some X11 WMs such as Fedora 14
Peter Åstrand [Mon, 18 Jul 2011 07:45:14 +0000 (07:45 +0000)]
Make fullscreen mode work better with some X11 WMs such as Fedora 14
Metacity by removing the size limits before attempting fullscreen.

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

13 years agoXGrabKeyboard needs to use CurrentTime rather than
Peter Åstrand [Mon, 18 Jul 2011 07:42:16 +0000 (07:42 +0000)]
XGrabKeyboard needs to use CurrentTime rather than
fl_event_time. Otherwise, the second delayed grab attempt will often
fail.

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

13 years agoImplement hacky workaround for rendering errors on XP and newer when the screen
Pierre Ossman [Fri, 15 Jul 2011 14:20:30 +0000 (14:20 +0000)]
Implement hacky workaround for rendering errors on XP and newer when the screen
is locked.

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

13 years agoThis was not a good method to get an initial full update as we would get two
Pierre Ossman [Fri, 15 Jul 2011 13:45:19 +0000 (13:45 +0000)]
This was not a good method to get an initial full update as we would get two
update requests before the firstUpdate variable toggled to false.

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

13 years agoWhen we stopped doing full updates on format changes, we also lost the side
Pierre Ossman [Fri, 15 Jul 2011 13:42:11 +0000 (13:42 +0000)]
When we stopped doing full updates on format changes, we also lost the side
effect of having the first update being a full update. This is needed for
correct behaviour for some extensions.

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

13 years agoAdd some extra debug output when the frame buffer changes size.
Pierre Ossman [Fri, 15 Jul 2011 13:41:02 +0000 (13:41 +0000)]
Add some extra debug output when the frame buffer changes size.

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

13 years agoAdd hack to make the client start properly even in the face of endian issues.
Pierre Ossman [Fri, 15 Jul 2011 12:34:33 +0000 (12:34 +0000)]
Add hack to make the client start properly even in the face of endian issues.
There was a similar hack in the old viewer, so this seems to work well enough
in practice.

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

13 years agoMake sure we use the correct pixel format for cursors when in non-native mode.
Pierre Ossman [Fri, 15 Jul 2011 08:26:51 +0000 (08:26 +0000)]
Make sure we use the correct pixel format for cursors when in non-native mode.

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

13 years agoMake it possible to query a PixelTransformer for the formats it is converting
Pierre Ossman [Fri, 15 Jul 2011 08:26:18 +0000 (08:26 +0000)]
Make it possible to query a PixelTransformer for the formats it is converting
between.

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

13 years agoWe don't need to force a full refresh on format changes with the new viewer
Pierre Ossman [Fri, 15 Jul 2011 08:14:23 +0000 (08:14 +0000)]
We don't need to force a full refresh on format changes with the new viewer
as we do not throw away the framebuffer.

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

13 years agoThe new viewer stores the framebuffer in a native format, instead of
Pierre Ossman [Fri, 15 Jul 2011 08:11:55 +0000 (08:11 +0000)]
The new viewer stores the framebuffer in a native format, instead of
converting it on each render like the old one. That means we have to change
how we deal with colour maps and make sure it is updated before any changes
to the framebuffer.

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

13 years agoManaged to consistently get the colour levels reversed. Fix up everything so
Pierre Ossman [Thu, 14 Jul 2011 14:34:09 +0000 (14:34 +0000)]
Managed to consistently get the colour levels reversed. Fix up everything so
that it behaves like documented.

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

13 years agoWorkaround for Alt behaviour on OS X.
Pierre Ossman [Thu, 14 Jul 2011 13:35:48 +0000 (13:35 +0000)]
Workaround for Alt behaviour on OS X.

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