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

10 years agoMerge pull request #71 from bphinz/buildfixes
bphinz [Tue, 18 Nov 2014 12:41:48 +0000 (07:41 -0500)]
Merge pull request #71 from bphinz/buildfixes

Update BUILDING.txt to document GnuTLS requirements

10 years agoRemoved references to libgcrypt and libgpg-error in BUILDING.txt 71/head
Brian P. Hinz [Tue, 18 Nov 2014 12:39:35 +0000 (07:39 -0500)]
Removed references to libgcrypt and libgpg-error in BUILDING.txt

10 years agoTcpSocket: IPv6 handling throughout (#68). 69/head
Tim Waugh [Mon, 17 Nov 2014 17:07:07 +0000 (17:07 +0000)]
TcpSocket: IPv6 handling throughout (#68).

10 years agoAdded more #ifdefs for IPv6.
Tim Waugh [Mon, 17 Nov 2014 14:04:07 +0000 (14:04 +0000)]
Added more #ifdefs for IPv6.

10 years agoUpdate BUILDING.txt to document GnuTLS requirements
Brian P. Hinz [Fri, 14 Nov 2014 05:25:12 +0000 (00:25 -0500)]
Update BUILDING.txt to document GnuTLS requirements

See Issue #44 for further details.

10 years agoMerge pull request #70 from bphinz/java
bphinz [Fri, 14 Nov 2014 03:26:33 +0000 (22:26 -0500)]
Merge pull request #70 from bphinz/java

Fixes for java viewer listen mode, TcpSocket methods, and code cleanup

10 years agoFixed issue where java viewer in listen mode did not exit properly. 70/head
Brian P. Hinz [Fri, 14 Nov 2014 02:33:32 +0000 (21:33 -0500)]
Fixed issue where java viewer in listen mode did not exit properly.

The viewer count was being incorrectly incremented, preventing the
listening viewer from exiting when the window was closed.

10 years agoFix getSockPort methods in java TcpSocket
Brian P. Hinz [Fri, 14 Nov 2014 02:30:27 +0000 (21:30 -0500)]
Fix getSockPort methods in java TcpSocket

Although not actually used anywhere, the getSockPort method was
actually returning the the remote socket's port number.

Also simplified some of the other socket methods.

10 years agoMake sure sockets are shutdown in java viewer listen mode
Brian P. Hinz [Fri, 14 Nov 2014 02:21:25 +0000 (21:21 -0500)]
Make sure sockets are shutdown in java viewer listen mode

The finalizer method may not be strictly necessary but for the sake
of consistency shutdown the socket listener the same way we do for
a regular TcpSocket.

10 years agoJava code cleanup
Brian P. Hinz [Fri, 14 Nov 2014 02:12:49 +0000 (21:12 -0500)]
Java code cleanup

Deleted some useless comments in java viewer

10 years agoIPv6 loopback support too.
Tim Waugh [Wed, 12 Nov 2014 12:31:51 +0000 (12:31 +0000)]
IPv6 loopback support too.

10 years agoAdd IPv6 support (#68).
Tim Waugh [Wed, 12 Nov 2014 10:24:02 +0000 (10:24 +0000)]
Add IPv6 support (#68).

10 years agoRevert "Use VncAuth as the default security type, ..." 67/head
Pierre Ossman [Tue, 11 Nov 2014 13:00:38 +0000 (14:00 +0100)]
Revert "Use VncAuth as the default security type, ..."

This reverts commit 39d7dc043afcf6f94b9c16942765fdb9a6a3202e.

We should be secure by default, even if it might cause a performance
hit. Those who wish to make that trade off are more likely to notice
the lack of performance than others noticing the lack of security.

10 years agoMake sure we do an initial resize
Pierre Ossman [Tue, 11 Nov 2014 12:59:01 +0000 (13:59 +0100)]
Make sure we do an initial resize

The local window manager might give us a window of a different size
than the one we request. Make sure that the remote resize setting
gets respected even in this case.

10 years agoAlways log chosen security type
Pierre Ossman [Tue, 11 Nov 2014 12:42:51 +0000 (13:42 +0100)]
Always log chosen security type

It's often useful to see if encryption was used, and how the user
authenticated (if at all).

10 years agoVncAuth: Read and use readonly password.
Michal Srb [Mon, 10 Nov 2014 13:32:00 +0000 (15:32 +0200)]
VncAuth: Read and use readonly password.

Try to read second password (for read only access) from rfbauth file. If client
sent second password instead of first one, allow him read only access.

10 years agovncpasswd: Ask for read only password.
Michal Srb [Mon, 10 Nov 2014 09:24:04 +0000 (11:24 +0200)]
vncpasswd: Ask for read only password.

Ask for optional second password that is used for read only access. Save it
after the main password. This is same format as tightvnc uses.

10 years agoAllow SSecurity to specify AccessRights for SConnection.
Michal Srb [Mon, 10 Nov 2014 07:15:41 +0000 (09:15 +0200)]
Allow SSecurity to specify AccessRights for SConnection.

SConnection has AccessRights property that specifies what connected client can
do. Set this property to value given by SSecurity after successful
authentication. This way individual SSecurity subclasses can accept clients but
restrict their access.

10 years agoMerge pull request #62 from bphinz/buildfixes
bphinz [Thu, 6 Nov 2014 04:49:06 +0000 (23:49 -0500)]
Merge pull request #62 from bphinz/buildfixes

Build enhancements for RPM-based distros

10 years agoParameterize jar file signing for rpm-based distros 62/head
Brian P. Hinz [Thu, 6 Nov 2014 03:47:04 +0000 (22:47 -0500)]
Parameterize jar file signing for rpm-based distros

* Allow build time selection of self-signed or keystore signing

10 years agoSet default file encoding to prevent java compiler warnings
Brian P. Hinz [Thu, 6 Nov 2014 02:00:31 +0000 (21:00 -0500)]
Set default file encoding to prevent java compiler warnings

* The keymap files have UTF-8 characters embedded in comments.
  javac complains about this unless the default encoding is set.

10 years agoMerge pull request #61 from bphinz/buildfixes
bphinz [Wed, 5 Nov 2014 23:01:18 +0000 (18:01 -0500)]
Merge pull request #61 from bphinz/buildfixes

Buildfixes for el5 & el6

10 years agoRemove non-applicable changes from cmake patch 61/head
Brian P. Hinz [Wed, 5 Nov 2014 13:13:51 +0000 (08:13 -0500)]
Remove non-applicable changes from cmake patch

* This line should not have been changed, it's inside an "ifdef(APPLE"
  block anyway, but removing it all the same.

10 years agomore el5 build fixes
Brian P. Hinz [Wed, 5 Nov 2014 13:01:45 +0000 (08:01 -0500)]
more el5 build fixes

* Link dynamically against libm to avoid relocation errors
  when building mesa on x86_64.

10 years agoMerge pull request #60 from bphinz/java
bphinz [Wed, 5 Nov 2014 05:02:56 +0000 (00:02 -0500)]
Merge pull request #60 from bphinz/java

More enhancements to java SSLEngineManager

10 years agoMore enhancements to java SSLEngineManager 60/head
Brian P. Hinz [Wed, 5 Nov 2014 04:56:23 +0000 (23:56 -0500)]
More enhancements to java SSLEngineManager

* Blocking behavior in the read() method was leading to high CPU
  usage.
* GC wasn't purging temporary byte arrays used to transfer data
  between I/O streams and NIO byte buffers, causing excessive
  memory usage.
* Some optimization of read() behavior to reduce the frequency
  of blocking operations.

10 years agoel6 package enhancement
Brian P. Hinz [Wed, 5 Nov 2014 04:15:45 +0000 (23:15 -0500)]
el6 package enhancement

* Bumped the xserver patch version to keep up with the installed
  version of xorg source.

10 years agomore el5 build fixes
Brian P. Hinz [Wed, 5 Nov 2014 02:22:14 +0000 (21:22 -0500)]
more el5 build fixes

* Need to pass the path to the static X11 libraries to cmake

10 years agomore el5 build enhancements
Brian P. Hinz [Wed, 5 Nov 2014 00:57:18 +0000 (19:57 -0500)]
more el5 build enhancements

* Fixes for unresolved dependency issues when linking against static fltk
* Major overhaul of static build.  Previously, fltk & tigervnc were built
  against the dynamic system libraries (and thus not entirely portable).
  All of the X11 libraries required for Xvnc are now built first and
  everything is linked against them.