]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
4 years agoHandle pixel formats with odd shift values
Pierre Ossman [Wed, 2 Oct 2019 14:06:08 +0000 (16:06 +0200)]
Handle pixel formats with odd shift values

Our fast paths assume that each channel fits in to a separate byte.
That means the shift needs to be a multiple of 8. Start actually
checking this so that a client cannot trip us up and possibly cause
incorrect code exection.

Issue found by Pavel Cheremushkin from Kaspersky Lab.

(cherry picked from commit 05e28490873a861379c943bf616614b78b558b89)

4 years agoAdd unit tests for PixelFormat.is888() detection
Pierre Ossman [Wed, 2 Oct 2019 14:05:34 +0000 (16:05 +0200)]
Add unit tests for PixelFormat.is888() detection

(cherry picked from commit 91bdaa6c87a7f311163b5f1e4bbcd9de584968cd)

4 years agoBe defensive about overflows in stream objects
Pierre Ossman [Tue, 24 Sep 2019 07:41:07 +0000 (09:41 +0200)]
Be defensive about overflows in stream objects

We use a lot of lengths given to us over the network, so be more
paranoid about them causing an overflow as otherwise an attacker
might trick us in to overwriting other memory.

This primarily affects the client which often gets lengths from the
server, but there are also some scenarios where the server might
theoretically be vulnerable.

Issue found by Pavel Cheremushkin from Kaspersky Lab.

(cherry picked from commit 75e6e0653a48baf474fd45d78b1da53e2f324642)

4 years agoUse size_t for lengths in stream objects
Pierre Ossman [Mon, 23 Sep 2019 09:00:17 +0000 (11:00 +0200)]
Use size_t for lengths in stream objects

Provides safety against them accidentally becoming negative because
of bugs in the calculations.

Also does the same to CharArray and friends as they were strongly
connection to the stream objects.

(cherry picked from commit 0943c006c7d900dfc0281639e992791d6c567438)

4 years agoRemove unused FixedMemOutStream
Pierre Ossman [Mon, 23 Sep 2019 08:09:31 +0000 (10:09 +0200)]
Remove unused FixedMemOutStream

(cherry picked from commit 4ff58f0acaeb566b79ae12cf013b376eaaaab834)

4 years agoAdd sanity checks for PixelFormat shift values
Pierre Ossman [Tue, 10 Sep 2019 14:07:50 +0000 (16:07 +0200)]
Add sanity checks for PixelFormat shift values

Otherwise we might be tricked in to reading and writing things at
incorrect offsets for pixels which ultimately could result in an
attacker writing things to the stack or heap and executing things
they shouldn't.

This only affects the server as the client never uses the pixel
format suggested by th server.

Issue found by Pavel Cheremushkin from Kaspersky Lab.

(cherry picked from commit cd1d650c532a46e95a1229dffaf281c76a50cdfe)

4 years agoFix depth sanity test in PixelFormat
Pierre Ossman [Tue, 10 Sep 2019 14:01:44 +0000 (16:01 +0200)]
Fix depth sanity test in PixelFormat

(cherry picked from commit f1b9b868ec943d51ef631f53a095d48d3f178f4f)

4 years agoAdd unit test for PixelFormat sanity checks
Pierre Ossman [Tue, 10 Sep 2019 13:59:51 +0000 (15:59 +0200)]
Add unit test for PixelFormat sanity checks

(cherry picked from commit 014c5012377519d7f0add23ebac077ccd882aa9f)

4 years agoHandle empty Tight gradient rects
Pierre Ossman [Tue, 10 Sep 2019 13:36:42 +0000 (15:36 +0200)]
Handle empty Tight gradient rects

We always assumed there would be one pixel per row so a rect with
a zero width would result in us writing to unknown memory.

This could theoretically be used by a malicious server to inject
code in to the viewer process.

Issue found by Pavel Cheremushkin from Kaspersky Lab.

(cherry picked from commit b4ada8d0c6dac98c8b91fc64d112569a8ae5fb95)

4 years agoAdd write protection to OffsetPixelBuffer
Pierre Ossman [Tue, 10 Sep 2019 13:25:30 +0000 (15:25 +0200)]
Add write protection to OffsetPixelBuffer

No one should every try to write to this buffer. Enforce that by
throwing an exception if any one tries to get a writeable pointer
to the data.

(cherry picked from commit 9f615301aba1cc54a749950bf9462c5a85217bc4)

4 years agoRestrict PixelBuffer dimensions to safe values
Pierre Ossman [Tue, 10 Sep 2019 13:21:03 +0000 (15:21 +0200)]
Restrict PixelBuffer dimensions to safe values

We do a lot of calculations based on pixel coordinates and we need
to make sure they do not overflow. Restrict the maximum dimensions
we support rather than try to switch over all calculations to use
64 bit integers.

This prevents attackers from from injecting code by specifying a
huge framebuffer size and relying on the values overflowing to
access invalid areas of the heap.

This primarily affects the client which gets both the screen
dimensions and the pixel contents from the remote side. But the
server might also be affected as a client can adjust the screen
dimensions, as can applications inside the session.

Issue found by Pavel Cheremushkin from Kaspersky Lab.

(cherry picked from commit 996356b6c65ca165ee1ea46a571c32a1dc3c3821)

4 years agoEncapsulate PixelBuffer internal details
Pierre Ossman [Tue, 10 Sep 2019 13:18:30 +0000 (15:18 +0200)]
Encapsulate PixelBuffer internal details

Don't allow subclasses to just override dimensions or buffer details
directly and instead force them to go via methods. This allows us
to do sanity checks on the new values and catch bugs and attacks.

(cherry picked from commit 53f913a76196c7357d4858bfbf2c33caa9181bae)

4 years agoMake ZlibInStream more robust against failures
Pierre Ossman [Tue, 10 Sep 2019 09:05:48 +0000 (11:05 +0200)]
Make ZlibInStream more robust against failures

Move the checks around to avoid missing cases where we might access
memory that is no longer valid. Also avoid touching the underlying
stream implicitly (e.g. via the destructor) as it might also no
longer be valid.

A malicious server could theoretically use this for remote code
execution in the client.

Issue found by Pavel Cheremushkin from Kaspersky Lab

(cherry picked from commit d61a767d6842b530ffb532ddd5a3d233119aad40)

4 years agoUpdate Finnish translation
Lauri Nurmi [Mon, 9 Dec 2019 21:16:00 +0000 (23:16 +0200)]
Update Finnish translation

(cherry picked from commit 7ac36ad42f70ff91224c5788b071825094a67d0e)

4 years agoUpdate Hungarian translation
Balázs Úr [Sat, 23 Nov 2019 22:25:00 +0000 (23:25 +0100)]
Update Hungarian translation

(cherry picked from commit 47c7de60082a7f66c0965eb6e8b5efe4e5109c0e)

4 years agoAdd Korean translation
JiYoon Kwon [Sat, 23 Nov 2019 03:41:00 +0000 (12:41 +0900)]
Add Korean translation

(cherry picked from commit 36454cfa880377d2c3adfaa84c4944634233757b)

5 years agoTigerVNC 1.10.0 v1.10.0
Pierre Ossman [Mon, 18 Nov 2019 08:20:59 +0000 (09:20 +0100)]
TigerVNC 1.10.0

5 years agoUpdate Swedish translation
Göran Uddeborg [Mon, 4 Nov 2019 15:30:00 +0000 (16:30 +0100)]
Update Swedish translation

(cherry picked from commit bbbb67ee32b4ce909157ffc5af13a449059d4cdf)

5 years agoUpdate Czech translation
Petr Pisar [Fri, 1 Nov 2019 21:20:00 +0000 (22:20 +0100)]
Update Czech translation

(cherry picked from commit bae4f60b088a5a6b8eb339fce59aaa85d1ae4f4a)

5 years agoUpdate Russian translation
Yuri Kozlov [Fri, 1 Nov 2019 04:00:00 +0000 (07:00 +0300)]
Update Russian translation

(cherry picked from commit fb7667646f5472b43435a4019edeb4e4a7a433ec)

5 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Tue, 29 Oct 2019 07:03:00 +0000 (05:03 -0200)]
Update Brazilian Portuguese translation

(cherry picked from commit eea96c4e40cfa7a03a463c11b773331af5e17eb3)

5 years agoUpdate Bulgarian translation
Alexander Shopov [Tue, 29 Oct 2019 06:00:00 +0000 (07:00 +0100)]
Update Bulgarian translation

(cherry picked from commit 16abf6bcefe6004a564e86c54c8649d338634288)

5 years agoUpdate German translation
Mario Blättermann [Mon, 28 Oct 2019 17:14:00 +0000 (18:14 +0100)]
Update German translation

(cherry picked from commit e1210592c9912a47ca9f89971504e2f3892f8e3c)

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 28 Oct 2019 13:35:00 +0000 (15:35 +0200)]
Update Ukrainian translation

(cherry picked from commit 71b0d7c86cc19ecf82d600acb30ce8683f7e0b22)

5 years agoUpdate Chinese (traditional) translation
pan93412 [Mon, 28 Oct 2019 09:52:00 +0000 (17:52 +0800)]
Update Chinese (traditional) translation

(cherry picked from commit 13b58d920647923d717b084aa5c71139ed5180b5)

5 years agoSet explicit connect timeout on socket and use timer instead of counting iterations
Brian P. Hinz [Thu, 7 Nov 2019 00:24:16 +0000 (19:24 -0500)]
Set explicit connect timeout on socket and use timer instead of counting iterations

5 years agoPoll local socket to make sure SSH tunnel is ready before connecting
Brian P. Hinz [Tue, 5 Nov 2019 01:12:57 +0000 (20:12 -0500)]
Poll local socket to make sure SSH tunnel is ready before connecting

5 years agoFix external SSH arguments dialog
Brian P. Hinz [Mon, 4 Nov 2019 02:49:53 +0000 (21:49 -0500)]
Fix external SSH arguments dialog

5 years agoFix for dialog modality on Mac OS X
Brian P. Hinz [Sun, 3 Nov 2019 22:43:56 +0000 (17:43 -0500)]
Fix for dialog modality on Mac OS X

5 years agoFix for issue #796
Brian P. Hinz [Sun, 3 Nov 2019 21:00:50 +0000 (16:00 -0500)]
Fix for issue #796

5 years agoUsing socket.getPeerName() causes DNS lookup and noticable UI stall
Brian P. Hinz [Sat, 2 Nov 2019 18:26:47 +0000 (14:26 -0400)]
Using socket.getPeerName() causes DNS lookup and noticable UI stall

5 years ago[java] Add support for java 9+ (removes support for java 7). Fixes #708,#771
Brian P. Hinz [Tue, 22 Oct 2019 22:15:52 +0000 (18:15 -0400)]
[java] Add support for java 9+ (removes support for java 7). Fixes #708,#771

5 years ago[java] Trim any leading/trailing whitespace from servername
Brian P. Hinz [Tue, 22 Oct 2019 21:48:17 +0000 (17:48 -0400)]
[java] Trim any leading/trailing whitespace from servername

5 years agoTigerVNC 1.9.90 (1.10.0 beta) v1.9.90
Pierre Ossman [Fri, 18 Oct 2019 08:18:35 +0000 (10:18 +0200)]
TigerVNC 1.9.90 (1.10.0 beta)

5 years agoUpdate translation template file
Pierre Ossman [Fri, 18 Oct 2019 08:15:15 +0000 (10:15 +0200)]
Update translation template file

5 years agoMerge branch 'fix-mistake' of https://github.com/gschwind/tigervnc
Pierre Ossman [Mon, 14 Oct 2019 10:53:48 +0000 (12:53 +0200)]
Merge branch 'fix-mistake' of https://github.com/gschwind/tigervnc

5 years agoFix bad PixelBuffer reference in VNCServerST::setPixelBuffer()
Pierre Ossman [Fri, 4 Oct 2019 07:22:08 +0000 (09:22 +0200)]
Fix bad PixelBuffer reference in VNCServerST::setPixelBuffer()

We need to examine the incoming PixelBuffer, not the previous one
(which might not even be valid).

5 years agoMerge pull request #866 from gschwind/fix-wrong-test-order
Samuel Mannehed [Wed, 2 Oct 2019 07:35:21 +0000 (09:35 +0200)]
Merge pull request #866 from gschwind/fix-wrong-test-order

fix test order in convertLF and convertCRLF

5 years agoFix length checks in string conversion functions
Pierre Ossman [Mon, 9 Sep 2019 14:47:36 +0000 (16:47 +0200)]
Fix length checks in string conversion functions

We need to check the buffer length before accessing the incoming
string. Probably not a problem in practice as there should be a
final null in most incoming strings.

Issue found by Pavel Cheremushkin from Kaspersky Lab.

5 years agoAdd unit tests for convertLF() and convertCRLF()
Pierre Ossman [Mon, 9 Sep 2019 14:43:41 +0000 (16:43 +0200)]
Add unit tests for convertLF() and convertCRLF()

5 years agoSplit test programs to benchmarking and unit tests
Pierre Ossman [Mon, 9 Sep 2019 10:48:25 +0000 (12:48 +0200)]
Split test programs to benchmarking and unit tests

They have very different purpose, so make things easier to work
with by having multiple directories.

5 years agoUse display polling by default in WinVNC
Pierre Ossman [Fri, 6 Sep 2019 12:47:28 +0000 (14:47 +0200)]
Use display polling by default in WinVNC

Window hooks aren't working well on modern systems so switch the
default to polling until we can fix things.

5 years agofix test order in convertLF and convertCRLF 866/head
Benoit Gschwind [Fri, 30 Aug 2019 18:48:16 +0000 (20:48 +0200)]
fix test order in convertLF and convertCRLF

The new order of test avoid ready invalid memory address in ca.buf

5 years agofix to early remove of iterator in VNCServerST::removeSocket 863/head
Benoit Gschwind [Sat, 24 Aug 2019 21:18:53 +0000 (23:18 +0200)]
fix to early remove of iterator in VNCServerST::removeSocket

5 years agoMerge pull request #849 from grulja/master
Samuel Mannehed [Mon, 15 Jul 2019 12:11:19 +0000 (14:11 +0200)]
Merge pull request #849 from grulja/master

Do not return returncode indicating error when listing sessions

5 years agoDo not return returncode indicating error when listing sessions 849/head
Jan Grulich [Thu, 11 Jul 2019 10:56:34 +0000 (12:56 +0200)]
Do not return returncode indicating error when listing sessions

5 years agoMerge branch 'exclipboard' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 1 Jul 2019 09:37:50 +0000 (11:37 +0200)]
Merge branch 'exclipboard' of https://github.com/CendioOssman/tigervnc

5 years agoSupport extended clipboard transfers 834/head
Pierre Ossman [Fri, 5 Feb 2016 09:26:56 +0000 (10:26 +0100)]
Support extended clipboard transfers

Implements support in both client and server for the extended
clipboard format first seen in UltraVNC. Currently only implements
text handling, but that is still an improvement as it extends the
clipboard from ISO 8859-1 to full Unicode.

5 years agoUse UTF-8 in clipboard API
Pierre Ossman [Fri, 10 May 2019 09:44:19 +0000 (11:44 +0200)]
Use UTF-8 in clipboard API

In prepartion for better clipboard extensions that can send Unicode
data between the client and server.

5 years agoImproved clipboard API
Pierre Ossman [Fri, 3 May 2019 08:53:06 +0000 (10:53 +0200)]
Improved clipboard API

Change the internal clipboard API to use a request based model in
order to be prepared for more advanced clipboard transfers.

5 years agoAdd UTF-8 to/from ISO 8859-1 conversion routines
Pierre Ossman [Fri, 22 Jan 2016 15:40:59 +0000 (16:40 +0100)]
Add UTF-8 to/from ISO 8859-1 conversion routines

We convert between UTF-8 and ISO 8859-1 (latin 1) in several places
so create some common routines for this.

5 years agoClean up internal clipboard handling
Pierre Ossman [Thu, 2 May 2019 10:32:03 +0000 (12:32 +0200)]
Clean up internal clipboard handling

We now filter incoming data, which means we can start assuming the
clipboard data is always null terminated. This allows us to clean
up a lot of the internal handling.

5 years agoMake sure clipboard uses \n line endings
Pierre Ossman [Thu, 2 May 2019 10:32:03 +0000 (12:32 +0200)]
Make sure clipboard uses \n line endings

This is required by the protocol so we should make sure it is
enforced. We are tolerant of clients that violate this though and
convert incoming clipboard data.

5 years agoRemove max area parameter from Region::get_rects()
Pierre Ossman [Mon, 24 Jun 2019 14:01:54 +0000 (16:01 +0200)]
Remove max area parameter from Region::get_rects()

It was unused and added complexity and bugs to the code. So let's
remove it rather than trying to clean up a function no one needed.

5 years agoProperly mark overloaded methods with virtual
Pierre Ossman [Tue, 18 Jun 2019 14:26:57 +0000 (16:26 +0200)]
Properly mark overloaded methods with virtual

Makes it easier to see what is overloaded and what isn't.

5 years agoRequest keyboard grab ability under Xwayland
Pierre Ossman [Tue, 18 Jun 2019 14:25:51 +0000 (16:25 +0200)]
Request keyboard grab ability under Xwayland

We're usually white listed, but let's be a good citizen and formally
request the keyboard grab ability from the compositor.

5 years agoUpdate French translation
Stéphane Aulery [Sun, 12 May 2019 03:24:00 +0000 (05:24 +0200)]
Update French translation

5 years agoMerge branch 'master' of https://github.com/lprylli/tigervnc
Pierre Ossman [Thu, 9 May 2019 13:55:53 +0000 (15:55 +0200)]
Merge branch 'master' of https://github.com/lprylli/tigervnc

5 years agoRemove unneeded logging from ZRLE decoder
Pierre Ossman [Mon, 29 Apr 2019 12:13:16 +0000 (14:13 +0200)]
Remove unneeded logging from ZRLE decoder

We will log the exception, so avoid direct writes to stderr by
simply removing these log lines.

5 years agoDo proper logging rather than fprintf(stderr, ...)
Pierre Ossman [Wed, 20 Apr 2016 07:38:06 +0000 (09:38 +0200)]
Do proper logging rather than fprintf(stderr, ...)

5 years agoRemove commented out logging
Pierre Ossman [Wed, 20 Apr 2016 07:36:56 +0000 (09:36 +0200)]
Remove commented out logging

5 years agoFix wrap-aware isAfter function in Congestion.cxx 817/head
Loic Prylli [Wed, 10 Apr 2019 21:25:35 +0000 (14:25 -0700)]
Fix wrap-aware isAfter function in Congestion.cxx

Result of overflow on signed integer arithmetic is undefined in C/C++ standard.
So in previous version clang was compiling the statement as (int)a > (int)b (i.e. assuming no overflow), which leads to incorrect result.

Correct deterministic behavior means doing overflow arithmetic as unsigned, i.e.
 a != b && a - b <= UINT_MAX / 2

5 years agoAlways get raw keyboard layout on macOS
Pierre Ossman [Thu, 4 Apr 2019 08:31:59 +0000 (10:31 +0200)]
Always get raw keyboard layout on macOS

Some input sources are still using input methods even though they
claim to be "ASCII" input. This causes our input handling to fail
since we need to query the layout to handle dead keys.

Fortunately there is another API to get the raw, underlying input
source that the input method uses. So let's use that and be sure
that we're always getting something we can use.

5 years agoreplace free with delete[]
Marcel Schneider [Tue, 26 Mar 2019 16:58:02 +0000 (17:58 +0100)]
replace free with delete[]

5 years agoIncrease version string buffer size for gcc
Pierre Ossman [Mon, 1 Apr 2019 12:55:40 +0000 (14:55 +0200)]
Increase version string buffer size for gcc

There is some bug in gcc's new -Werror=format-overflow that makes it
think majorVersion could end up being very large. Increase the target
buffer for now to keep gcc happy.

5 years agoRemove unused force protocol 3.3 code
Pierre Ossman [Mon, 1 Apr 2019 12:39:39 +0000 (14:39 +0200)]
Remove unused force protocol 3.3 code

5 years agoOnly save parameters that are visible from the UI
Pierre Ossman [Mon, 1 Apr 2019 12:25:32 +0000 (14:25 +0200)]
Only save parameters that are visible from the UI

The parameter files are used to make sure changes in the UI are
persistent. Storing anything else results in behaviours that the
user has no easy way of changing.

5 years agoHide setPrimary parameter on non-X11 platforms
Pierre Ossman [Mon, 1 Apr 2019 12:24:27 +0000 (14:24 +0200)]
Hide setPrimary parameter on non-X11 platforms

It is already hidden in the UI, so make sure it also is gone as a
command line parameter. This follows the behaviour of the similar
sendPrimary parameter.

5 years agoAdd delay on authentication failures
Pierre Ossman [Mon, 1 Apr 2019 12:22:01 +0000 (14:22 +0200)]
Add delay on authentication failures

This provides some basic rate limiting that will make it difficult
for an attacker to brute force passwords. Only relevant when the
blacklist is disabled as otherwise the attacker only gets a very
limited number of attempts.

5 years agoHandle server name overflow properly
Pierre Ossman [Tue, 26 Mar 2019 10:11:20 +0000 (11:11 +0100)]
Handle server name overflow properly

We need to make sure it is null terminated on truncation. We also
need to avoid giving a too large size argument or modern gcc will
complain.

5 years agoAdd missing throws for exception
Pierre Ossman [Tue, 26 Mar 2019 10:10:28 +0000 (11:10 +0100)]
Add missing throws for exception

It is not enough to create an exception object, you need to throw
it as well.

5 years agoBetter document the argument for -geometry
Pierre Ossman [Tue, 26 Mar 2019 09:29:29 +0000 (10:29 +0100)]
Better document the argument for -geometry

It's not common knowledge these days how X geometry is specified, and
even the man page X(7) is missing on many systems now.

5 years agoShow extra options in vncviewer --help
Pierre Ossman [Tue, 26 Mar 2019 09:17:41 +0000 (10:17 +0100)]
Show extra options in vncviewer --help

FLTK has some options (that we've also documented in the man page)
that should be mentioned in the --help output.

5 years agoDon't use un-initialized stride to base constructor
Pierre Ossman [Mon, 25 Mar 2019 15:14:49 +0000 (16:14 +0100)]
Don't use un-initialized stride to base constructor

We can use a dummy value here as we set up the buffer and stride
further down in the constructor.

5 years agoAllow blacklist to be disabled
Pierre Ossman [Mon, 25 Mar 2019 13:10:25 +0000 (14:10 +0100)]
Allow blacklist to be disabled

There might be multiple clients using a single IP (e.g. NAT), which
can make the blacklist do more harm than good. So add a setting to
disable it if needed.

5 years agoMove Blacklist parameters out of the class
Pierre Ossman [Mon, 25 Mar 2019 13:02:45 +0000 (14:02 +0100)]
Move Blacklist parameters out of the class

No need to expose these, so keep them internal to the implementation,
like most settings are.

5 years agoMerge branch 'copyrightyear' of https://github.com/samhed/tigervnc
Pierre Ossman [Thu, 28 Feb 2019 10:18:04 +0000 (11:18 +0100)]
Merge branch 'copyrightyear' of https://github.com/samhed/tigervnc

5 years agoOnly do initial LED sync if focused
Pierre Ossman [Thu, 28 Feb 2019 09:57:40 +0000 (10:57 +0100)]
Only do initial LED sync if focused

We always sync when we get focus, so this code path is really only
for when the server announces LED state support after we already
have focus.

Make sure we only handle this specific scenario as otherwise we
could end up syncing twice, which just toggles things back and forth
and ends up syncing incorrectly.

5 years agoUpdate visible copyright years to 2019 799/head
Samuel Mannehed [Wed, 27 Feb 2019 14:29:33 +0000 (15:29 +0100)]
Update visible copyright years to 2019

5 years agoUpdate German translation
Mario Blättermann [Fri, 15 Feb 2019 13:33:00 +0000 (14:33 +0100)]
Update German translation

5 years agoUpdate Esperanto translation
Felipe Castro [Sat, 26 Jan 2019 19:13:00 +0000 (20:13 +0100)]
Update Esperanto translation

5 years agoDon't build xserver with -I$(includedir) as it breaks cross-compiling 795/head
James Le Cuirot [Wed, 13 Feb 2019 23:22:06 +0000 (23:22 +0000)]
Don't build xserver with -I$(includedir) as it breaks cross-compiling

This is where to install headers to, not where to find headers to
build against. Toolchains should know where to locate their system
headers while non-system headers should be found using
pkg-config. Users with bizarre setups where the toolchain really
cannot find the system headers should set CPPFLAGS.

5 years agoFix Travis C++ specifier
Pierre Ossman [Tue, 22 Jan 2019 14:10:08 +0000 (15:10 +0100)]
Fix Travis C++ specifier

Travis wants "cpp", not "c++". It just happened to work anyway
because the base image includes the same tools.

5 years agoMerge branch 'docker' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 22 Jan 2019 10:02:38 +0000 (11:02 +0100)]
Merge branch 'docker' of https://github.com/CendioOssman/tigervnc

5 years agoUse Ubuntu 16.04 for general builds 788/head
Pierre Ossman [Tue, 22 Jan 2019 09:14:25 +0000 (10:14 +0100)]
Use Ubuntu 16.04 for general builds

It has a current GnuTLS and FLTK which simplifies the build.

5 years agoDo parallel builds for Ubuntu packages
Pierre Ossman [Mon, 21 Jan 2019 15:29:20 +0000 (16:29 +0100)]
Do parallel builds for Ubuntu packages

Make the builds faster as we now run them often via Travis.

5 years agoBuild Ubuntu 14.04 (Trusty) packages in Travis
Pierre Ossman [Wed, 16 Jan 2019 12:43:05 +0000 (13:43 +0100)]
Build Ubuntu 14.04 (Trusty) packages in Travis

5 years agoBuild Ubuntu 16.04 (Xenial) package in Travis
Pierre Ossman [Tue, 15 Jan 2019 14:00:21 +0000 (15:00 +0100)]
Build Ubuntu 16.04 (Xenial) package in Travis

5 years agoBuild RHEL 6 packages in Travis
Pierre Ossman [Mon, 14 Jan 2019 17:55:13 +0000 (18:55 +0100)]
Build RHEL 6 packages in Travis

5 years agoBuild RHEL 7 packages in Travis
Pierre Ossman [Mon, 14 Jan 2019 17:55:13 +0000 (18:55 +0100)]
Build RHEL 7 packages in Travis

5 years agoClean up RPM spec files
Pierre Ossman [Tue, 15 Jan 2019 09:05:21 +0000 (10:05 +0100)]
Clean up RPM spec files

Remove the unused Java self sign variable, and make sure we don't
hard code a version as it needs to be adjusted before a build.

5 years agoAdd missing FLTK dependency
Pierre Ossman [Tue, 15 Jan 2019 11:29:38 +0000 (12:29 +0100)]
Add missing FLTK dependency

libXft is needed to build FLTK for the RHEL 6 RPM.

5 years agoClean up Ubuntu 14.04 FLTK build
Pierre Ossman [Fri, 18 Jan 2019 15:46:30 +0000 (16:46 +0100)]
Clean up Ubuntu 14.04 FLTK build

The supporting scripts weren't really up to date, so remove them
and just require the packager to include FLTK in the source
tarball.

5 years agoMake sure libXrandr is available in package builds
Pierre Ossman [Mon, 14 Jan 2019 17:53:48 +0000 (18:53 +0100)]
Make sure libXrandr is available in package builds

It is needed by x0vncserver.

5 years agoUse Xorg source from distribution
Pierre Ossman [Fri, 18 Jan 2019 14:42:46 +0000 (15:42 +0100)]
Use Xorg source from distribution

5 years agoAdd libXfont as a Debian package dependency
Pierre Ossman [Wed, 16 Jan 2019 12:05:16 +0000 (13:05 +0100)]
Add libXfont as a Debian package dependency

It is needed to build Xvnc.

5 years agoStop building FLTK for modern distributions
Pierre Ossman [Mon, 14 Jan 2019 17:53:16 +0000 (18:53 +0100)]
Stop building FLTK for modern distributions

They include a new enough version, so stop doing our own build.

5 years agoAdd x0vncserver option to only allow localhost connections
Pierre Ossman [Wed, 16 Jan 2019 15:35:32 +0000 (16:35 +0100)]
Add x0vncserver option to only allow localhost connections

Patch originally by @KenMilmore on GitHub.

5 years agoAdd Chinese (traditional) translation
pan93412 [Tue, 15 Jan 2019 11:48:00 +0000 (19:48 +0800)]
Add Chinese (traditional) translation

5 years agoRemove obsolete packages
Pierre Ossman [Fri, 11 Jan 2019 21:19:20 +0000 (22:19 +0100)]
Remove obsolete packages

Packages for RHEL 5 and Ubuntu 12.04 are no longer maintained, so
remove those files.