]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
13 years agoFix issue uncovered with valgrind
DRC [Wed, 9 Nov 2011 18:18:11 +0000 (18:18 +0000)]
Fix issue uncovered with valgrind

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

13 years agoUse the correct matching free operation. Patch by Matthieu Lochegnies.
Pierre Ossman [Wed, 9 Nov 2011 11:31:12 +0000 (11:31 +0000)]
Use the correct matching free operation. Patch by Matthieu Lochegnies.

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

13 years agoThe source data here is RGB triplets, not "pixels".
Pierre Ossman [Tue, 8 Nov 2011 13:52:33 +0000 (13:52 +0000)]
The source data here is RGB triplets, not "pixels".

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

13 years agoReimplement the deferred update handling, this time in a more robust and
Pierre Ossman [Tue, 8 Nov 2011 12:44:10 +0000 (12:44 +0000)]
Reimplement the deferred update handling, this time in a more robust and
well-behaved manner.

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

13 years agoAdd helper to easily determine how much time has passed since some previous
Pierre Ossman [Tue, 8 Nov 2011 12:42:41 +0000 (12:42 +0000)]
Add helper to easily determine how much time has passed since some previous
event.

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

13 years agoCork the outgoing TCP stream while we still have messages to process. This
Pierre Ossman [Tue, 8 Nov 2011 12:12:02 +0000 (12:12 +0000)]
Cork the outgoing TCP stream while we still have messages to process. This
allows more efficent use of the congestion window as we will send fewer packets.

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

13 years agoExpose Linux' cork functionality which allows us to aggregate TCP data in a
Pierre Ossman [Tue, 8 Nov 2011 12:10:55 +0000 (12:10 +0000)]
Expose Linux' cork functionality which allows us to aggregate TCP data in a
controlled manner. Unfortunately there is no equivalent for Windows.

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

13 years agoAvoid some unnecessary processing when server side cursor isn't used (which
Pierre Ossman [Tue, 8 Nov 2011 10:32:05 +0000 (10:32 +0000)]
Avoid some unnecessary processing when server side cursor isn't used (which
is the common case).

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

13 years agoThe dummy timer isn't used anymore.
Pierre Ossman [Tue, 8 Nov 2011 10:31:04 +0000 (10:31 +0000)]
The dummy timer isn't used anymore.

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

13 years agoWe don't need HAVE_GNUTLS anymore, either
DRC [Tue, 8 Nov 2011 09:16:36 +0000 (09:16 +0000)]
We don't need HAVE_GNUTLS anymore, either

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

13 years agoIf the Java viewer build is enabled, make sure it gets built when doing 'make installer'
DRC [Tue, 8 Nov 2011 08:58:19 +0000 (08:58 +0000)]
If the Java viewer build is enabled, make sure it gets built when doing 'make installer'

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

13 years agoWe don't need BUILD_DIR anymore since we divorced Visual Studio
DRC [Tue, 8 Nov 2011 08:51:04 +0000 (08:51 +0000)]
We don't need BUILD_DIR anymore since we divorced Visual Studio

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

13 years agoSome platforms (I'm looking at you, MinGW64) have gettext but not iconv, so the build...
DRC [Tue, 8 Nov 2011 08:38:58 +0000 (08:38 +0000)]
Some platforms (I'm looking at you, MinGW64) have gettext but not iconv, so the build fails because iconv.h is missing.  Thus, disable NLS if either gettext or iconv is not found.

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

13 years agoRemove Visual C++ support
DRC [Tue, 8 Nov 2011 06:57:58 +0000 (06:57 +0000)]
Remove Visual C++ support

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

13 years agoEliminate dependency on libfreetype.so in legacy-friendly Xvnc build
DRC [Mon, 7 Nov 2011 22:57:47 +0000 (22:57 +0000)]
Eliminate dependency on libfreetype.so in legacy-friendly Xvnc build

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

13 years agoFix legacy-friendly build (I hope). r4745 (enabling DPMS) removed -DNO_HW_ONLY_EXTS...
DRC [Mon, 7 Nov 2011 21:18:56 +0000 (21:18 +0000)]
Fix legacy-friendly build (I hope).  r4745 (enabling DPMS) removed -DNO_HW_ONLY_EXTS from Xvnc_CPPFLAGS in unix/xserver/hw/vnc/Makefile.am, which caused xorg-xserver 1.6.5 to attempt to build the XFree86-DRI extension, but the stub for
XFree86DRIExtensionInit() was missing, so Xvnc failed to link.  Adding --disable-dri (r4765) caused the GLX build to fail, because GLX needs either DRI or DRI2, and DRI2 was not being properly detected because the dri2proto module we were using was too old for our X server version.

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

13 years agoClean up the interface for VNCSConnectionST. Entry points are more apparent
Pierre Ossman [Mon, 7 Nov 2011 21:13:54 +0000 (21:13 +0000)]
Clean up the interface for VNCSConnectionST. Entry points are more apparent
and the data flow is now more strictly aimed towards this connection class.

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

13 years agoTimers in RFB still weren't working properly. Do this right and check the next
Pierre Ossman [Mon, 7 Nov 2011 12:51:34 +0000 (12:51 +0000)]
Timers in RFB still weren't working properly. Do this right and check the next
timer just before the Xorg select() call.

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

13 years agoFix installer build when using MinGW
DRC [Mon, 7 Nov 2011 09:58:19 +0000 (09:58 +0000)]
Fix installer build when using MinGW

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

13 years agoRemove unused function.
Pierre Ossman [Fri, 4 Nov 2011 15:10:53 +0000 (15:10 +0000)]
Remove unused function.

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

13 years agoRedesign the format switching logic so that we don't have to adjust the way
Pierre Ossman [Fri, 4 Nov 2011 11:42:16 +0000 (11:42 +0000)]
Redesign the format switching logic so that we don't have to adjust the way
we send out update requests.

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

13 years agoAttempt to fix the legacy-friendly build, which was broken by r4745
DRC [Fri, 4 Nov 2011 08:29:52 +0000 (08:29 +0000)]
Attempt to fix the legacy-friendly build, which was broken by r4745

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

13 years agoAdd fast paths for RGB to 16-bit and 8-bit true color conversion
DRC [Fri, 4 Nov 2011 06:45:59 +0000 (06:45 +0000)]
Add fast paths for RGB to 16-bit and 8-bit true color conversion

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

13 years agoFurther optimizations (avoiding single-byte copies and InStream processing overhead)
DRC [Fri, 4 Nov 2011 04:51:17 +0000 (04:51 +0000)]
Further optimizations (avoiding single-byte copies and InStream processing overhead)

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

13 years agoSince fillRect() operates directly on the framebuffer, optimize it and remove the...
DRC [Thu, 3 Nov 2011 23:56:10 +0000 (23:56 +0000)]
Since fillRect() operates directly on the framebuffer, optimize it and remove the separate version in TightDecoder.

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

13 years agoRemove unneeded EXTRA_ARGS definition
DRC [Thu, 3 Nov 2011 23:55:14 +0000 (23:55 +0000)]
Remove unneeded EXTRA_ARGS definition

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

13 years agoNeed to include os/print.h, because Windows doesn't have snprintf()
DRC [Thu, 3 Nov 2011 19:26:14 +0000 (19:26 +0000)]
Need to include os/print.h, because Windows doesn't have snprintf()

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

13 years agoThe Tight decoding optimizations broke the build of the legacy viewers, so this seems...
DRC [Thu, 3 Nov 2011 19:01:18 +0000 (19:01 +0000)]
The Tight decoding optimizations broke the build of the legacy viewers, so this seems like a good time to get rid of them like we discussed.

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

13 years agoMove JPEG decoding into a standalone class (these should have been checked in with...
DRC [Thu, 3 Nov 2011 18:51:00 +0000 (18:51 +0000)]
Move JPEG decoding into a standalone class (these should have been checked in with r4757.  Oops.)

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

13 years agoIf the client and server are using identical pixel formats, then perform Tight decodi...
DRC [Thu, 3 Nov 2011 18:49:21 +0000 (18:49 +0000)]
If the client and server are using identical pixel formats, then perform Tight decoding directly into the viewer's back buffer, rather than going through the slow fillRect/imageRect routines.

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

13 years agoPut arguments in a more consistent order based on data flow, in order to improve...
DRC [Thu, 3 Nov 2011 18:45:39 +0000 (18:45 +0000)]
Put arguments in a more consistent order based on data flow, in order to improve readability

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

13 years agoFix compiler warnings uncovered with -Wall
DRC [Thu, 3 Nov 2011 17:51:01 +0000 (17:51 +0000)]
Fix compiler warnings uncovered with -Wall

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

13 years agoRename and document TransImageGetter::getPixelsRW() to make it more obvious
Pierre Ossman [Thu, 3 Nov 2011 13:20:32 +0000 (13:20 +0000)]
Rename and document TransImageGetter::getPixelsRW() to make it more obvious
that it bypasses the normal conversion logic.

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

13 years agoWe informed the RFB layer of RENDER operations before they were actually
Pierre Ossman [Thu, 3 Nov 2011 12:50:52 +0000 (12:50 +0000)]
We informed the RFB layer of RENDER operations before they were actually
carried out. Under some circumstances, this could result in an update going
out with the old framebuffer contents.

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

13 years agoFix compiler warnings uncovered with -Wall
DRC [Thu, 3 Nov 2011 00:53:57 +0000 (00:53 +0000)]
Fix compiler warnings uncovered with -Wall

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

13 years agoActivate the DPMS extension; avoid Ubuntu 11.10 crashing.
Peter Åstrand [Mon, 31 Oct 2011 08:14:40 +0000 (08:14 +0000)]
Activate the DPMS extension; avoid Ubuntu 11.10 crashing.

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

13 years agore: bug #3429667. adds support for reverse connection mode
Brian Hinz [Sun, 30 Oct 2011 16:08:05 +0000 (16:08 +0000)]
re: bug #3429667.  adds support for reverse connection mode

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

13 years agocorrected endianess bug introduced in r4742
Brian Hinz [Sun, 30 Oct 2011 14:59:47 +0000 (14:59 +0000)]
corrected endianess bug introduced in r4742

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

13 years agomassive performance improvements. zrle measured at 2.5x faster (no measurements for...
Brian Hinz [Sun, 30 Oct 2011 14:08:29 +0000 (14:08 +0000)]
massive performance improvements. zrle measured at 2.5x faster (no measurements for tight, but should be the same or better).

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

13 years agoDon't try to push out another update if the socket is already full. This
Pierre Ossman [Tue, 25 Oct 2011 15:20:05 +0000 (15:20 +0000)]
Don't try to push out another update if the socket is already full. This
avoids stalling the entire server because of one slow client.

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

13 years agoMake sure RFB timers are actually respected by the server implementations.
Pierre Ossman [Tue, 25 Oct 2011 15:18:53 +0000 (15:18 +0000)]
Make sure RFB timers are actually respected by the server implementations.

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

13 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

13 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

13 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

13 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