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

13 years agoThe password file must be opened in binary mode. Otherwise, you might
Peter Åstrand [Thu, 14 Jul 2011 11:25:40 +0000 (11:25 +0000)]
The password file must be opened in binary mode. Otherwise, you might
get "bad obfuscated password length" errors on Windows.

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

13 years agomake sure support for clientRedirect is enabled in java viewer
Brian Hinz [Thu, 14 Jul 2011 02:59:42 +0000 (02:59 +0000)]
make sure support for clientRedirect is enabled in java viewer

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

13 years agoPort over the AltGr hack that the old Windows viewer has. Seems we need this
Pierre Ossman [Wed, 13 Jul 2011 17:56:26 +0000 (17:56 +0000)]
Port over the AltGr hack that the old Windows viewer has. Seems we need this
to get sane behaviour when connecting to a Unix desktop.

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

13 years agoMostly we will catch socket errors when processing incoming data, but
Pierre Ossman [Tue, 12 Jul 2011 16:58:12 +0000 (16:58 +0000)]
Mostly we will catch socket errors when processing incoming data, but
sometimes we'll time it so that a write will be the initial offender. Make
sure these cases are also properly caught and dealt with.

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

13 years agoDestroy the main UI and connection objects before popping up the fatal error
Pierre Ossman [Tue, 12 Jul 2011 16:56:34 +0000 (16:56 +0000)]
Destroy the main UI and connection objects before popping up the fatal error
message. This avoids a lot of problems with recursion and trying to send
events over a dead socket.

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

13 years agoMore consolidation into handleKeyEvent().
Pierre Ossman [Tue, 12 Jul 2011 16:10:16 +0000 (16:10 +0000)]
More consolidation into handleKeyEvent().

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

13 years agoSimplify things by using the handleKeyEvent() method for the fake presses
Pierre Ossman [Tue, 12 Jul 2011 16:02:30 +0000 (16:02 +0000)]
Simplify things by using the handleKeyEvent() method for the fake presses
that can be generated from the popup menu.

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

13 years agoCreate a proper header file for the exported functions from vncviewer.cxx.
Pierre Ossman [Tue, 12 Jul 2011 15:54:25 +0000 (15:54 +0000)]
Create a proper header file for the exported functions from vncviewer.cxx.

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

13 years agoInclude instructions for specifying the location of libjpeg-turbo
DRC [Wed, 6 Jul 2011 07:28:30 +0000 (07:28 +0000)]
Include instructions for specifying the location of libjpeg-turbo

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

13 years agoFix regression. We need to set WIN64 so it will be properly defined in resdefs.h...
DRC [Wed, 6 Jul 2011 07:23:51 +0000 (07:23 +0000)]
Fix regression.  We need to set WIN64 so it will be properly defined in resdefs.h.  Failing to do so causes the incorrect manifest file to be included in the Win64 version of WinVNC4.exe, which causes it to fail to run.

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

13 years agoThe previous fix for eliminating the console window in vncviewer.exe was not portable...
DRC [Tue, 5 Jul 2011 18:55:55 +0000 (18:55 +0000)]
The previous fix for eliminating the console window in vncviewer.exe was not portable (it only worked in MinGW, which isn't what most people use.)  Use the CMake "WIN32" target property instead.

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

13 years agoBuild with -Wl,-subsystem,windows on Windows, to avoid console window.
Peter Åstrand [Tue, 5 Jul 2011 09:19:42 +0000 (09:19 +0000)]
Build with -Wl,-subsystem,windows on Windows, to avoid console window.

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

13 years agocorrected all inconsistent eol-styles and set eol-style:native on *.java. Also set...
Brian Hinz [Thu, 30 Jun 2011 13:24:24 +0000 (13:24 +0000)]
corrected all inconsistent eol-styles and set eol-style:native on *.java.  Also set svn:ignore on *.class

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

13 years agofix for java arraystore exception when bpp=8 with Tight encoding
Brian Hinz [Wed, 29 Jun 2011 21:45:08 +0000 (21:45 +0000)]
fix for java arraystore exception when bpp=8 with Tight encoding

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

13 years agocleaned up readVersion/writeVersion routines in java client. readVersion wasn't faili...
Brian Hinz [Wed, 29 Jun 2011 20:18:06 +0000 (20:18 +0000)]
cleaned up readVersion/writeVersion routines in java client. readVersion wasn't failing when it should have.

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

13 years agoFixes a typo introduced with commit 4570.
Henrik Andersson [Wed, 29 Jun 2011 10:34:09 +0000 (10:34 +0000)]
Fixes a typo introduced with commit 4570.

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