]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
9 years agoAvoid warning when compiling with gcc's -Wformat-security option.
Tim Waugh [Tue, 24 Feb 2015 12:34:14 +0000 (12:34 +0000)]
Avoid warning when compiling with gcc's -Wformat-security option.

9 years agoDisable entries instead of shuffling memory around
Pierre Ossman [Fri, 20 Feb 2015 16:34:49 +0000 (17:34 +0100)]
Disable entries instead of shuffling memory around

Less risk for bugs this way.

9 years agoUpdate copyright years 123/head
Pierre Ossman [Fri, 20 Feb 2015 16:12:57 +0000 (17:12 +0100)]
Update copyright years

9 years agoSwitch to FLTK's copy() method for menus
Pierre Ossman [Fri, 20 Feb 2015 16:08:30 +0000 (17:08 +0100)]
Switch to FLTK's copy() method for menus

It has less surprises in terms of magical characters.

9 years agoCreate a console window for help output on Windows 120/head
Pierre Ossman [Tue, 17 Feb 2015 12:23:00 +0000 (13:23 +0100)]
Create a console window for help output on Windows

9 years agoAdd shortcuts to context menu for quick access
Pierre Ossman [Mon, 16 Feb 2015 15:31:51 +0000 (16:31 +0100)]
Add shortcuts to context menu for quick access

9 years agoStop mapping Meta to Super
Pierre Ossman [Mon, 16 Feb 2015 15:24:26 +0000 (16:24 +0100)]
Stop mapping Meta to Super

A lot of X11 keyboard layouts send Meta for Shift-Alt so it's not
really a good idea to assume this is the Windows key.

9 years agoMerge branch 'perf' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 13 Feb 2015 12:46:16 +0000 (13:46 +0100)]
Merge branch 'perf' of https://github.com/CendioOssman/tigervnc

9 years agoDefault compression level should be interpreted as high 119/head
Pierre Ossman [Thu, 12 Feb 2015 13:57:05 +0000 (14:57 +0100)]
Default compression level should be interpreted as high

9 years agoBe more aggressive in finding solid rectangles
Pierre Ossman [Thu, 12 Feb 2015 12:44:22 +0000 (13:44 +0100)]
Be more aggressive in finding solid rectangles

The previous FIXME was incorrect. The old code did in fact continue
looking over the entire area. This commit restores that old behaviour.

9 years agoAdd test to measure high level encoding performance
Pierre Ossman [Wed, 11 Feb 2015 12:49:04 +0000 (13:49 +0100)]
Add test to measure high level encoding performance

9 years agoMove encoder statistics into EncodeManager from SMsgWriter
Pierre Ossman [Wed, 11 Feb 2015 16:43:15 +0000 (17:43 +0100)]
Move encoder statistics into EncodeManager from SMsgWriter

It knows more details so it can track things better.

9 years agoOptimise fillRect()
Pierre Ossman [Fri, 6 Feb 2015 12:51:35 +0000 (13:51 +0100)]
Optimise fillRect()

It had regressed in performance compared to 1.3. This brings it back
up to the same speed.

9 years agoMake it possible to measure CPU usage in parellel
Pierre Ossman [Fri, 6 Feb 2015 12:50:36 +0000 (13:50 +0100)]
Make it possible to measure CPU usage in parellel

9 years agoAdd test to measure decoding performance
Pierre Ossman [Wed, 4 Feb 2015 13:12:04 +0000 (14:12 +0100)]
Add test to measure decoding performance

9 years agoGnuTLS needs socket libraries so include them in the static link
Pierre Ossman [Fri, 13 Feb 2015 10:12:42 +0000 (11:12 +0100)]
GnuTLS needs socket libraries so include them in the static link

9 years agorfb::Region uses the Xregion library
Pierre Ossman [Wed, 11 Feb 2015 12:47:21 +0000 (13:47 +0100)]
rfb::Region uses the Xregion library

9 years agoAdd stream class to feed data from a file
Pierre Ossman [Wed, 4 Feb 2015 13:11:42 +0000 (14:11 +0100)]
Add stream class to feed data from a file

9 years agoNo need for this array to be writeable
Pierre Ossman [Wed, 11 Feb 2015 12:47:58 +0000 (13:47 +0100)]
No need for this array to be writeable

9 years agoMove reverse connection information into VNCSConnectionST
Pierre Ossman [Fri, 6 Feb 2015 13:41:58 +0000 (14:41 +0100)]
Move reverse connection information into VNCSConnectionST

The only class that cares if connections are reversed or not is
VNCSConnectionST so let it keep track of this fact.

9 years agoThese methods aren't critical so no need for them to be pure
Pierre Ossman [Wed, 4 Feb 2015 13:11:11 +0000 (14:11 +0100)]
These methods aren't critical so no need for them to be pure

9 years agoGive subclasses the ability to overwrite the reader and writer
Pierre Ossman [Wed, 4 Feb 2015 13:10:43 +0000 (14:10 +0100)]
Give subclasses the ability to overwrite the reader and writer

Needed for some tests.

9 years agoSConnection internals should be private, just like for CConnection
Pierre Ossman [Fri, 6 Feb 2015 13:44:32 +0000 (14:44 +0100)]
SConnection internals should be private, just like for CConnection

9 years agoBuild fixes for modern versions of binutils.
Peter Åstrand (astrand) [Tue, 10 Feb 2015 11:21:05 +0000 (12:21 +0100)]
Build fixes for modern versions of binutils.

Need to explicitly list DSOs.

9 years agoUse a common header file for Windows errno names.
Peter Åstrand (astrand) [Thu, 5 Feb 2015 10:10:32 +0000 (11:10 +0100)]
Use a common header file for Windows errno names.

In earlier Visual Studio and MinGW editions, BSD socket errno:s were
left undefined. This is no longer the case. This may cause build or
runtime errors. To avoid this, we are using a common header file which
corrects all definitions. This header will also be used with other
projects such as sercd, unfs3, PulseAudio etc.

9 years agoMerge pull request #114 from bphinz/master
Brian Hinz [Thu, 5 Feb 2015 03:33:21 +0000 (22:33 -0500)]
Merge pull request #114 from bphinz/master

Fixes for issues caused by restructuring

9 years agoFix ubuntu patches after recent restructuring 114/head
Brian P. Hinz [Thu, 5 Feb 2015 02:40:17 +0000 (21:40 -0500)]
Fix ubuntu patches after recent restructuring

unix/xserver/hw/vnc/xvnc.cc was renamed to xvnc.c

9 years agoFixes for build issues caused by recent restructuring
Brian P. Hinz [Thu, 5 Feb 2015 02:28:18 +0000 (21:28 -0500)]
Fixes for build issues caused by recent restructuring

 * Add typedef for XF86OptionPtr for Xorg < 112
 * Include stddef.h to prevent missing size_t definition errors
 * Workaround for libtool convenience library issue

9 years agoFix fuzz in distro patches caused upstream changes
Brian P. Hinz [Thu, 5 Feb 2015 02:22:43 +0000 (21:22 -0500)]
Fix fuzz in distro patches caused upstream changes

9 years agoMake the calls to va_list logging functions more explicit
Pierre Ossman [Fri, 30 Jan 2015 15:09:08 +0000 (16:09 +0100)]
Make the calls to va_list logging functions more explicit

On some platforms va_list might be defined as something that causes
ambiguity and results in the wrong function being called.

9 years agoAdd parameters to force IPv4/IPv6 selection 113/head
Pierre Ossman [Thu, 29 Jan 2015 16:35:45 +0000 (17:35 +0100)]
Add parameters to force IPv4/IPv6 selection

9 years agoAdd Esperanto translations
Felipe Castro [Thu, 29 Jan 2015 12:49:11 +0000 (13:49 +0100)]
Add Esperanto translations

9 years agoAvoid shadowing variables 112/head
Pierre Ossman [Thu, 29 Jan 2015 09:25:00 +0000 (10:25 +0100)]
Avoid shadowing variables

9 years agoddxInitGlobals() was removed from Xorg ages ago
Pierre Ossman [Thu, 29 Jan 2015 09:24:41 +0000 (10:24 +0100)]
ddxInitGlobals() was removed from Xorg ages ago

9 years agoddxBeforeReset() is only conditionally included in the build
Pierre Ossman [Thu, 29 Jan 2015 09:24:20 +0000 (10:24 +0100)]
ddxBeforeReset() is only conditionally included in the build

9 years agoProperly define functions as not having any arguments
Pierre Ossman [Thu, 29 Jan 2015 09:23:40 +0000 (10:23 +0100)]
Properly define functions as not having any arguments

9 years agoRemove declaration for variable already present in headers
Pierre Ossman [Thu, 29 Jan 2015 09:22:32 +0000 (10:22 +0100)]
Remove declaration for variable already present in headers

9 years agoMake sure we get prototypes for global DDX functions
Pierre Ossman [Thu, 29 Jan 2015 09:22:00 +0000 (10:22 +0100)]
Make sure we get prototypes for global DDX functions

9 years agoAvoid complaints about unused variable in argument less requests
Pierre Ossman [Thu, 29 Jan 2015 09:20:18 +0000 (10:20 +0100)]
Avoid complaints about unused variable in argument less requests

The REQUEST macro is used to access variables in the request data,
and if we don't then the compiler complains that the macro sets up
variables that we never use.

9 years agoNo need to cast these as they are already an appropriate type
Pierre Ossman [Thu, 29 Jan 2015 09:19:49 +0000 (10:19 +0100)]
No need to cast these as they are already an appropriate type

9 years agoDeclare variables at the start of each block, as required
Pierre Ossman [Thu, 29 Jan 2015 09:19:02 +0000 (10:19 +0100)]
Declare variables at the start of each block, as required

9 years agoUse proper prototypes in headers for all our internal functions
Pierre Ossman [Thu, 29 Jan 2015 09:16:49 +0000 (10:16 +0100)]
Use proper prototypes in headers for all our internal functions

9 years agoRestructure code a bit to avoid warning about unused variable
Pierre Ossman [Thu, 29 Jan 2015 09:14:57 +0000 (10:14 +0100)]
Restructure code a bit to avoid warning about unused variable

9 years agoMerge pull request #111 from bphinz/master
Brian Hinz [Thu, 29 Jan 2015 00:45:34 +0000 (19:45 -0500)]
Merge pull request #111 from bphinz/master

Merge of 1.4-branch fixes back into master

9 years agoImproved font path specifiecation for el5 & generic binaries. 111/head
Brian P. Hinz [Mon, 19 Jan 2015 18:12:12 +0000 (13:12 -0500)]
Improved font path specifiecation for el5 & generic binaries.

Font paths were incompletely specified, resulting in font issues with some applications (nedit, for instance).  Also, added support for font catalogues back in, even though el5 doesn't supoort it, this should make font handling more robust for the genric binaries.

(cherry picked from commit 233eea2d45004adeaf6434ef6b0e0c9942a1f1ea)

9 years agoFixes for various build issues with el5 build
Brian P. Hinz [Fri, 2 Jan 2015 14:17:04 +0000 (09:17 -0500)]
Fixes for various build issues with el5 build

Fixed various static linking problems with latest el5 spec.
Some definitions were being overridden in StaticBuild.cmake,
causing checks for various fltk capabilities to fail.  Also,
fontconfig was not being configured properly for default font
locations, causing the vncviewer to fail to locate fonts when
used as a generic binary.

(cherry picked from commit 81e4483169fbb415c9e6dfc68ce0b1858e2961e9)

9 years agoRemove libexpat.so dependency from el5 and generic binaries
Brian P. Hinz [Fri, 26 Dec 2014 18:16:34 +0000 (13:16 -0500)]
Remove libexpat.so dependency from el5 and generic binaries

This is a regression, swrast_dri.so depends on libexpat.so unless we
explicitly link against libexpat.a

(cherry picked from commit 47e3765f2c9ac0c147626df3b3e69cb3bbe8494e)

9 years agoMajor update of EL5 build
Brian P. Hinz [Fri, 26 Dec 2014 04:51:36 +0000 (23:51 -0500)]
Major update of EL5 build

The patches required for the 2014-12-09 Xorg CVE advisory would not
have been feasible to back-port to the 1.7 version of Xorg that we
were previously using to built against for EL5 and the generic
binaries.  However, building the newer version of Xorg required
some fairly extensive re-tooling.  In a nutshell, here's what was
done:

 * The build is now done against Xorg X117R7, with all CVE patches
   (taken from debian sources) applied.  Note that this requires
   updating various packages beyond the versions readily available
   for EL5.  This included things like automake, autoconf, libtool,
   m4, and flex.  Wherever possible, the EL6 rpm was used unaltered.
   The most chalenging package to upgrade was libxml2, which was
   necessary to supply the python26-libxml2 requirement from mesa.

 * Mesa libGL is now supplied with the package, installed in the
   %{_libdir}/tigervnc directory.  The Xvnc binary is linked using
   an rpath so that we always link against our version of libGL.
   This was done to prevent linker errors with the generic binaries
   in the case where the distro supplied libGL is built with
   different options (in particular, kernel versions < 2.4.20 do
   not support glx-tls, so the generic binaries would likely break
   whenever used on newer distros that build libGL with glx-tls
   turned on by default).  Additionally, this allows swrast_dri.so
   to be bundled without worrying about overwriting the distro
   supplied library.

 * A static libsha1 is built for Xorg to link against.  The EL5
   version of libgcrypt does not satisfy Xorg's requirements,
   and linking against OpenSSL creates nearly a dozen runtime
   dependencies.

9 years agoMerge remote-tracking branch 'upstream/master'
Brian P. Hinz [Thu, 29 Jan 2015 00:22:38 +0000 (19:22 -0500)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge branch 'xorgheaders' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 27 Jan 2015 12:24:29 +0000 (13:24 +0100)]
Merge branch 'xorgheaders' of https://github.com/CendioOssman/tigervnc

9 years agoMore debug logging for screen layout changes 109/head
Pierre Ossman [Mon, 26 Jan 2015 14:15:47 +0000 (15:15 +0100)]
More debug logging for screen layout changes

9 years agoRemove logging of each Timer firing
Pierre Ossman [Mon, 26 Jan 2015 14:14:43 +0000 (15:14 +0100)]
Remove logging of each Timer firing

It just adds noise and you can't really tell which timer it is
anyway without more logging in other places.

9 years agoRestructure Xvnc/libvnc.so code to avoid C++ header hacks
Pierre Ossman [Mon, 26 Jan 2015 13:37:04 +0000 (14:37 +0100)]
Restructure Xvnc/libvnc.so code to avoid C++ header hacks

The internal Xorg headers are very incompatible with C++ and we've had
to resort to all kinds of hacks in order to include them in our C++
code. This approach isn't really viable long term so restructure things
so that we have a glue layer written in C that bridges the Xorg core
with the RFB classes.

9 years agoAllow LogWriter objects to be used with va_list argument
Pierre Ossman [Mon, 26 Jan 2015 13:15:12 +0000 (14:15 +0100)]
Allow LogWriter objects to be used with va_list argument

9 years agoMerge pull request #94 from bphinz/buildfixes
Brian Hinz [Fri, 26 Dec 2014 06:10:55 +0000 (01:10 -0500)]
Merge pull request #94 from bphinz/buildfixes

Remove support for openSUSE 11.4

9 years agoRemoving unwanted commits from pull request 94/head
Brian P. Hinz [Fri, 26 Dec 2014 06:05:00 +0000 (01:05 -0500)]
Removing unwanted commits from pull request

Oops, didn't realize these changes wre on the branch from an
old pull request.

9 years agoRemove support for openSUSE 11.4
Brian P. Hinz [Fri, 26 Dec 2014 05:53:33 +0000 (00:53 -0500)]
Remove support for openSUSE 11.4

Project Evergreen stopped supporting 11.4 in October and it's not feasible to
back-port the patches for the Xorg 2014-12-09 CVEs, so as a result we can no
longer provide pre-built packages for this distribution.  The genric binaries
can be used instead.

9 years agoBand aid to work around inluding C headers in C++ code
Pierre Ossman [Fri, 12 Dec 2014 10:31:46 +0000 (11:31 +0100)]
Band aid to work around inluding C headers in C++ code

9 years agoIPv6: create new socket if IPv6 bind fails (#77).
Tim Waugh [Fri, 21 Nov 2014 16:07:34 +0000 (16:07 +0000)]
IPv6: create new socket if IPv6 bind fails (#77).

9 years agoFix for broken GLX extension in rhel6u6 89/head
Brian P. Hinz [Sun, 7 Dec 2014 04:27:19 +0000 (23:27 -0500)]
Fix for broken GLX extension in rhel6u6

RHEL/CentOS 6.6 bumped the version of xorg to 6u6, which broke
software GLX because Xvnc wasn't properly linked against libglapi.

9 years agoMerge pull request #88 from bphinz/buildfixes
Brian Hinz [Sun, 7 Dec 2014 04:26:03 +0000 (23:26 -0500)]
Merge pull request #88 from bphinz/buildfixes

Fixes for rpm-based distro builds

9 years agoFixes for el6 spec file 88/head
Brian P. Hinz [Sun, 7 Dec 2014 03:09:13 +0000 (22:09 -0500)]
Fixes for el6 spec file

Some minor adjustments to sync up the el6 spec file with fedora.

9 years agoFix for rpm-based packages when self-signed cert is used to sign java applet
Brian P. Hinz [Sun, 7 Dec 2014 03:00:59 +0000 (22:00 -0500)]
Fix for rpm-based packages when self-signed cert is used to sign java applet

RPM build failed when the self-signed cert was used because the macro did not
expand correctly.

9 years agoMerge branch 'translations' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 3 Dec 2014 13:23:55 +0000 (14:23 +0100)]
Merge branch 'translations' of https://github.com/CendioOssman/tigervnc

9 years agoReduce symbol scope of parameter helpers 86/head
Pierre Ossman [Wed, 3 Dec 2014 13:04:11 +0000 (14:04 +0100)]
Reduce symbol scope of parameter helpers

There is no need for these to be global symbols as they are only
used in that file.

9 years agoRework the error message in parameters.cxx
Pierre Ossman [Wed, 3 Dec 2014 13:03:29 +0000 (14:03 +0100)]
Rework the error message in parameters.cxx

They were not very end user friendly so redo more or less all of them.

9 years agoSimplify log message as we always use TrueColour
Pierre Ossman [Wed, 3 Dec 2014 13:01:56 +0000 (14:01 +0100)]
Simplify log message as we always use TrueColour

9 years agoImprove some error messages
Pierre Ossman [Wed, 3 Dec 2014 13:01:31 +0000 (14:01 +0100)]
Improve some error messages

9 years agoAdd comments for translators where requested
Pierre Ossman [Wed, 3 Dec 2014 13:00:54 +0000 (14:00 +0100)]
Add comments for translators where requested

9 years agoSort translation strings by file instead
Pierre Ossman [Wed, 3 Dec 2014 12:58:54 +0000 (13:58 +0100)]
Sort translation strings by file instead

This variant keeps more context for the translators by having related
strings clumped together.

9 years agoUpdate German translations
Mario Blättermann [Tue, 2 Dec 2014 15:36:55 +0000 (16:36 +0100)]
Update German translations

9 years agoUpdate Dutch translations
Benno Schulenberg [Tue, 2 Dec 2014 15:36:29 +0000 (16:36 +0100)]
Update Dutch translations

9 years agoAdd Ukrainian translations
Yuri Chornoivan [Tue, 2 Dec 2014 15:35:32 +0000 (16:35 +0100)]
Add Ukrainian translations

9 years agoMerge branch 'readonlypassword' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 2 Dec 2014 14:15:44 +0000 (15:15 +0100)]
Merge branch 'readonlypassword' of https://github.com/CendioOssman/tigervnc

9 years agoMake sure attributes propagate through security wrappers 83/head
Pierre Ossman [Tue, 2 Dec 2014 14:13:22 +0000 (15:13 +0100)]
Make sure attributes propagate through security wrappers

Both SSecurityVeNCrypt and SSecurityStack are wrappers around other
security objects, so they need to delegate the properties of those
sub-objects properly.

9 years agoLimit access to non-shared mode
Pierre Ossman [Tue, 2 Dec 2014 13:33:17 +0000 (14:33 +0100)]
Limit access to non-shared mode

A read-only client should not be allowed to kick out other clients.
It will be forced into shared mode, or refused the connection, depending
on the neverShared parameter.

9 years agoUse new API for getVncAuthPasswd()
Pierre Ossman [Tue, 2 Dec 2014 13:17:06 +0000 (14:17 +0100)]
Use new API for getVncAuthPasswd()

9 years agoMerge branch 'readonlypassword' of https://github.com/michalsrb/tigervnc into viewonly
Pierre Ossman [Tue, 2 Dec 2014 11:59:53 +0000 (12:59 +0100)]
Merge branch 'readonlypassword' of https://github.com/michalsrb/tigervnc into viewonly

10 years agoUpdate comment of VncAuthPasswdGetter::getVncAuthPasswd. 65/head
Michal Srb [Mon, 24 Nov 2014 11:53:23 +0000 (13:53 +0200)]
Update comment of VncAuthPasswdGetter::getVncAuthPasswd.

10 years agoAdd AccessSetDesktopSize right.
Michal Srb [Mon, 24 Nov 2014 11:18:28 +0000 (13:18 +0200)]
Add AccessSetDesktopSize right.

So clients with limited access rights can not affect it.

10 years agoMerge pull request #80 from bphinz/buildfixes
Brian Hinz [Sat, 22 Nov 2014 05:43:50 +0000 (00:43 -0500)]
Merge pull request #80 from bphinz/buildfixes

More RPM spec file cleanup

10 years agoMore RPM spec file cleanup 80/head
Brian P. Hinz [Sat, 22 Nov 2014 05:42:08 +0000 (00:42 -0500)]
More RPM spec file cleanup

* Removed obsolete patches from openSUSE packages

10 years agoMerge pull request #79 from bphinz/buildfixes
Brian Hinz [Sat, 22 Nov 2014 02:01:42 +0000 (21:01 -0500)]
Merge pull request #79 from bphinz/buildfixes

SPEC file cleanup

10 years agoSPEC file cleanup 79/head
Brian P. Hinz [Sat, 22 Nov 2014 01:11:14 +0000 (20:11 -0500)]
SPEC file cleanup

* Removed the hard coded snap tag, if needed it should be passed in
  via "rpmbuild --define 'snap ...'".
* Changed the hard coded version to "@VERSION@" to make it clear
  that the copy of the spec file in the repository needs to be
  updated manually.

10 years agoMerge pull request #76 from bphinz/buildfixes
Brian Hinz [Thu, 20 Nov 2014 01:37:28 +0000 (20:37 -0500)]
Merge pull request #76 from bphinz/buildfixes

Remove libvnc server module from statically built versions

10 years agoRemove libvnc server module from statically built versions 76/head
Brian P. Hinz [Thu, 20 Nov 2014 00:23:44 +0000 (19:23 -0500)]
Remove libvnc server module from statically built versions

* The static libvnc server module can't be loaded anyway so just
  remove it from the el5 and portable binaries.

10 years agoMerge pull request #75 from bphinz/java
Brian Hinz [Thu, 20 Nov 2014 00:12:41 +0000 (19:12 -0500)]
Merge pull request #75 from bphinz/java

More Java viewer clipboard handler fixes

10 years agoMore Java viewer clipboard handler fixes 75/head
Brian P. Hinz [Wed, 19 Nov 2014 23:58:59 +0000 (18:58 -0500)]
More Java viewer clipboard handler fixes

* Override TransferHandler.exportToClipboard method to ensure that
  serverCutText updates get sent to the system clipboard.  This
  wasn't always happening when relying on the super class' paste()
  method alone.
* Removed some unnecessary setText() statements and one check for
  whether sending client cut text is enabled.

10 years agoChange development version to 1.4.80
Pierre Ossman [Wed, 19 Nov 2014 13:19:30 +0000 (14:19 +0100)]
Change development version to 1.4.80

The 1.4 branch is now live, so change the version number of the
development builds.

10 years agoFix setsockopt() call on Windows
Pierre Ossman [Wed, 19 Nov 2014 13:17:15 +0000 (14:17 +0100)]
Fix setsockopt() call on Windows

They use char* rather than void*, requiring a cast here.

10 years agoAssume inet_pton() is missing on Windows
Pierre Ossman [Wed, 19 Nov 2014 13:16:00 +0000 (14:16 +0100)]
Assume inet_pton() is missing on Windows

It's much more difficult to test for this on Windows since the
headers have version guards. Just play it safe and assume it is
missing. We can remove this check when we raise the base requirements
to Vista (or newer).

10 years agoUpdate translation template file
Pierre Ossman [Wed, 19 Nov 2014 12:48:27 +0000 (13:48 +0100)]
Update translation template file

10 years agoRemove "Error:" prefix from error message
Pierre Ossman [Wed, 19 Nov 2014 12:47:39 +0000 (13:47 +0100)]
Remove "Error:" prefix from error message

We had already fixed the others, but this one was overlooked.

10 years agoMerge branch 'ipv6' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 19 Nov 2014 10:21:37 +0000 (11:21 +0100)]
Merge branch 'ipv6' of https://github.com/CendioOssman/tigervnc

10 years agoProtect IPv6 address strings with [] 74/head
Pierre Ossman [Wed, 19 Nov 2014 10:16:04 +0000 (11:16 +0100)]
Protect IPv6 address strings with []

This is the format we support when converting a string to an
address, so it makes sense to use them the other way around.

10 years agoDon't assume that it's IPv4 just because it's not IPv6
Pierre Ossman [Wed, 19 Nov 2014 10:14:49 +0000 (11:14 +0100)]
Don't assume that it's IPv4 just because it's not IPv6

There might be more protocols in the future, and we might also
misdetect things depending on varying IPv6 functions being missing.

10 years agoinet_ntoa() want's the address directly, not a pointer to it
Pierre Ossman [Wed, 19 Nov 2014 10:01:10 +0000 (11:01 +0100)]
inet_ntoa() want's the address directly, not a pointer to it

10 years agoMerge pull request #73 from bphinz/java
bphinz [Wed, 19 Nov 2014 05:28:05 +0000 (00:28 -0500)]
Merge pull request #73 from bphinz/java

Major rework of Java viewer clipboard handling

10 years agoMajor rework of Java viewer clipboard handling 73/head
Brian P. Hinz [Wed, 19 Nov 2014 05:10:46 +0000 (00:10 -0500)]
Major rework of Java viewer clipboard handling

* Clipboard dialog UI significantly improved.
  - Fixes issue where scrollpane size did not track dialog size
  - Removed unnecessary JPanel
  - Adjusted default size of dialog to something more appropriate.
* Clipboard dialog is now a pure clipboard viewer
  - Window title now reflects thati fact.
  - Eliminates problems with concurrency and updating contents.
  - Clipboard dialog now updates contents if a clipbard transfer
    occurs and the dialog is visible.
  - Prevents possible loop condition when text in the scrollpane
    is selected (ie: selection buffer triggers clipboard updates).
* Custom TransferHandler implemented.
  - Limits the size of outbound clipboard transfers.
  - On Windows and Linux this implementation does not appear to
    provoke huge memory spike issue when the transferable is
    accessed.  Unfortunately, the OSX implemenation still
    suffers from this problem, but that is a JRE issue. For the
    time being, this at least minimizes the problem.  Additionaly,
    if an OutOfMemoryError is thrown, it's now caught and an error
    is logged rather than the viewer bailing out.
  - Vastly simpler implementation - the copy/paste methods inherent
    in the JTextArea are utilized for interfacing with the system
    clipboard.  This eliminates the need for checking permissions,
    as well as streamlining the code quite a bit.

10 years agoMerge branch 'ipv6' of https://github.com/twaugh/tigervnc into ipv6
Pierre Ossman [Tue, 18 Nov 2014 13:52:57 +0000 (14:52 +0100)]
Merge branch 'ipv6' of https://github.com/twaugh/tigervnc into ipv6