]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
22 months agoUpdate Swedish translation
Luna Jernberg [Fri, 23 Dec 2022 23:37:00 +0000 (00:37 +0100)]
Update Swedish translation

(cherry picked from commit dd40ebee73a114898dfb39c10686a31eaa9ee14f)

23 months agoUpdate Swedish translation
Göran Uddeborg [Mon, 19 Dec 2022 20:23:00 +0000 (21:23 +0100)]
Update Swedish translation

(cherry picked from commit 09a533ac50c0323544bf1a63d671a375ecc2df47)

23 months agoUpdate Finnish translation
Lauri Nurmi [Wed, 21 Dec 2022 20:34:00 +0000 (22:34 +0200)]
Update Finnish translation

(cherry picked from commit 3018f30ad33b0018583a2c8ea99c308cd69c85eb)

23 months agoUpdate Czech translation
Petr Pisar [Thu, 22 Dec 2022 12:47:00 +0000 (13:47 +0100)]
Update Czech translation

(cherry picked from commit 52bfe6dae82206fd00e43ae8826b57d9d98ce277)

23 months agoUpdate Chinese (traditional) translation
Yi-Jyun Pan [Fri, 16 Dec 2022 11:30:00 +0000 (19:30 +0800)]
Update Chinese (traditional) translation

(cherry picked from commit e9b322de82ec9badfde6fa98ce437028a12c61ee)

23 months agoUpdate Ukranian translation
Yuri Chornoivan [Fri, 16 Dec 2022 11:54:00 +0000 (13:54 +0200)]
Update Ukranian translation

(cherry picked from commit 115cc12a5afd547f9ecb13deb06b6dba3872a94c)

23 months agoUpdate Romanian translation
Remus-Gabriel Chelu [Fri, 16 Dec 2022 10:59:00 +0000 (11:59 +0100)]
Update Romanian translation

(cherry picked from commit 3a0e5cf1245ea507661705e21eef4867aedc55f6)

23 months agoUpdate Indonesian translation
Andika Triwidada [Fri, 16 Dec 2022 11:11:00 +0000 (18:11 +0700)]
Update Indonesian translation

(cherry picked from commit 9e109a28735c1305787575775c0adf28f8930b5d)

23 months agoUpdate Hebrew translation
Yaron Shahrabani [Fri, 16 Dec 2022 09:33:00 +0000 (11:33 +0200)]
Update Hebrew translation

(cherry picked from commit 7cf6ca3cb4255ff6b0a19ef1e5e578a4d0b1fee3)

23 months agoUpdate Spanish translation
Cristian Othón Martínez Vera [Fri, 16 Dec 2022 14:54:00 +0000 (08:54 -0600)]
Update Spanish translation

(cherry picked from commit e88f0634f2fd74d508168514e7e9e0cce426486c)

23 months agoUpdate German translation
Mario Blättermann [Fri, 16 Dec 2022 14:57:00 +0000 (15:57 +0100)]
Update German translation

(cherry picked from commit b39c3d3f6ac9cd9d64560da2d3f5c06fe3ddd449)

23 months agoUpdated Bulgarian translation
Alexander Shopov [Fri, 16 Dec 2022 10:27:00 +0000 (12:27 +0200)]
Updated Bulgarian translation

(cherry picked from commit 5a2ab9423542751823872a17660538e9a41c250e)

23 months agoTigerVNC 1.12.90 (1.13.0 beta) v1.12.90
Pierre Ossman [Thu, 15 Dec 2022 15:44:30 +0000 (16:44 +0100)]
TigerVNC 1.12.90 (1.13.0 beta)

23 months agoUpdate translation template file
Pierre Ossman [Thu, 15 Dec 2022 15:22:33 +0000 (16:22 +0100)]
Update translation template file

23 months agoDon't translate "RSA-AES"
Pierre Ossman [Thu, 15 Dec 2022 15:36:16 +0000 (16:36 +0100)]
Don't translate "RSA-AES"

It's just the name of the system, so there is nothing in that string to
translate.

23 months agoMerge branch 'improve-passwd-permission-error-message' of https://github.com/shuuji3...
Pierre Ossman [Thu, 15 Dec 2022 15:05:09 +0000 (16:05 +0100)]
Merge branch 'improve-passwd-permission-error-message' of https://github.com/shuuji3/tigervnc

23 months agoMove window to front on full screen
Pierre Ossman [Thu, 15 Dec 2022 15:03:13 +0000 (16:03 +0100)]
Move window to front on full screen

This should be happening implicitly, but isn't always for some reason on
macOS 13.

23 months agoImprove error message when `passwd `file has a bad permission 1562/head
TAKAHASHI Shuuji [Wed, 14 Dec 2022 15:36:59 +0000 (15:36 +0000)]
Improve error message when `passwd `file has a bad permission

23 months agoHandle macOS keyboard stealing
Pierre Ossman [Tue, 14 Dec 2021 16:06:36 +0000 (17:06 +0100)]
Handle macOS keyboard stealing

The system steals keyboard events for certain system keyboard shortcuts,
e.g. Cmd+Tab. Unfortunately this isn't considered a focus loss, so we
don't realise we've lost a few keyboard events and can end up in a
confused state.

Fortunately it is possible to detect when this happens and reset the
keyboard state, just like we do when focus is lost.

23 months agoDon't start sessions until there are users
Pierre Ossman [Mon, 12 Dec 2022 14:25:51 +0000 (15:25 +0100)]
Don't start sessions until there are users

Delay startup of VNC sessions until user databases are up and running.
This is the same ordering that GDM imposes to make sure users can
actually log in.

23 months agoMerge branches 'x0vncserver-keyboard' and 'zaphod-fixes' of https://github.com/grulja...
Pierre Ossman [Thu, 1 Dec 2022 12:29:03 +0000 (13:29 +0100)]
Merge branches 'x0vncserver-keyboard' and 'zaphod-fixes' of https://github.com/grulja/tigervnc

23 months agox0vncserver: add new keysym in case we don't find a matching keycode 1510/head
Jan Grulich [Tue, 9 Aug 2022 12:31:07 +0000 (14:31 +0200)]
x0vncserver: add new keysym in case we don't find a matching keycode

We might often fail to find a matching X11 keycode when the client has
a different keyboard layout and end up with no key event. To avoid a
failure we add it as a new keysym/keycode pair so the next time a keysym
from the client that is unknown to the server is send, we will find a
match and proceed with key event. This is same behavior used in Xvnc or
x11vnc, although Xvnc has more advanced mapping from keysym to keycode.

2 years agoFlush decoder errors on close()
Pierre Ossman [Mon, 7 Nov 2022 12:45:34 +0000 (13:45 +0100)]
Flush decoder errors on close()

We don't want any stray exceptions as we are cleaning up, so handle any
still pending decoder errors by just logging them. We are already
shutting down so there is no need to abort the connection here.

2 years agoDon't do access checks on early clients
Pierre Ossman [Mon, 7 Nov 2022 12:17:27 +0000 (13:17 +0100)]
Don't do access checks on early clients

They don't get access bits until they've been authenticated, so avoid
doing any checks on clients in those early states.

2 years agoFix typo in BUILDING.txt
Samuel Mannehed [Tue, 1 Nov 2022 13:45:45 +0000 (14:45 +0100)]
Fix typo in BUILDING.txt

It probably wanted to say "newer", but let's say "later" instead. Other
building requirements say "later".

2 years agoAutomatically generate RCVERSION
Pierre Ossman [Thu, 27 Oct 2022 09:19:07 +0000 (11:19 +0200)]
Automatically generate RCVERSION

Avoid having to update this manually.

2 years agoMerge branch 'newdists' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 14 Oct 2022 11:34:27 +0000 (13:34 +0200)]
Merge branch 'newdists' of https://github.com/CendioOssman/tigervnc

2 years agoDon't enable RSA-AES by default in servers
Pierre Ossman [Fri, 14 Oct 2022 11:33:09 +0000 (13:33 +0200)]
Don't enable RSA-AES by default in servers

These require a key to have been set up on the server beforehand, so
they do not give a good default experience as clients will be unable to
connect.

2 years agoHack around missing xorg-x11-font-utils package 1535/head
Pierre Ossman [Fri, 14 Oct 2022 07:26:18 +0000 (09:26 +0200)]
Hack around missing xorg-x11-font-utils package

This is missing in the CentOS 9 repositories for some reason. Download
it directly from the build system until this can be fixed.

2 years agoAdd RHEL/CentOS 9 packaging
Pierre Ossman [Fri, 19 Aug 2022 12:38:17 +0000 (14:38 +0200)]
Add RHEL/CentOS 9 packaging

2 years agoUse latest GitHub actions
Pierre Ossman [Fri, 14 Oct 2022 06:54:28 +0000 (08:54 +0200)]
Use latest GitHub actions

The older versions are getting deprecated, so make the switch.

2 years agoStop explicitly building icons
Pierre Ossman [Fri, 14 Oct 2022 08:07:30 +0000 (10:07 +0200)]
Stop explicitly building icons

These files are checked in, so there is no need to build these for
packaging.

2 years agoPreinstall xorg-x11-server-devel for CentOS builds
Pierre Ossman [Fri, 14 Oct 2022 07:05:17 +0000 (09:05 +0200)]
Preinstall xorg-x11-server-devel for CentOS builds

This is needed to correctly handle the spec file, so it needs to be
installed before we parse it for build dependencies.

2 years agoMove EPEL enabling to CentOS 7 image
Pierre Ossman [Fri, 14 Oct 2022 07:01:30 +0000 (09:01 +0200)]
Move EPEL enabling to CentOS 7 image

We do all the prep work in the image step for the other targets, so
let's do the same here.

2 years agoRemove xorg source installation in image
Pierre Ossman [Fri, 14 Oct 2022 06:49:59 +0000 (08:49 +0200)]
Remove xorg source installation in image

This is a build requirement, not a fundamental system thing, so it
should not be handled here.

2 years agoRemove broken CentOS 8 image workaround
Pierre Ossman [Fri, 14 Oct 2022 06:37:20 +0000 (08:37 +0200)]
Remove broken CentOS 8 image workaround

The image has been updated, so this workaround is no longer needed.

2 years agoMerge branch 'debs' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 7 Sep 2022 12:49:28 +0000 (14:49 +0200)]
Merge branch 'debs' of https://github.com/CendioOssman/tigervnc

2 years agoAdd Ubuntu 22.04 (Jammy Jellyfish) packaging 1526/head
Pierre Ossman [Fri, 19 Aug 2022 12:42:37 +0000 (14:42 +0200)]
Add Ubuntu 22.04 (Jammy Jellyfish) packaging

2 years agoUpdate Debian build dependencies
Pierre Ossman [Fri, 2 Sep 2022 15:26:15 +0000 (17:26 +0200)]
Update Debian build dependencies

Try to organise this better to make it clear which dependencies are
ours, and which we've gotten just because Xvnc is based on xorg-server.

Also update the dependency list to the current state of things.

2 years agoAdd deb misc dependencies for safety
Pierre Ossman [Fri, 2 Sep 2022 15:03:56 +0000 (17:03 +0200)]
Add deb misc dependencies for safety

This is what upstream does, so let's add it in case some dependency is
added implicitly by the Debian build tools somewhere.

2 years agoAdd automatic deb perl dependencies
Pierre Ossman [Fri, 2 Sep 2022 15:03:42 +0000 (17:03 +0200)]
Add automatic deb perl dependencies

2 years agoDynamically generate deb lib dependencies
Pierre Ossman [Fri, 2 Sep 2022 15:03:02 +0000 (17:03 +0200)]
Dynamically generate deb lib dependencies

This is done for us, so stop having explicit lists that we forget to
update properly.

2 years agoSplit deb control files long lines
Pierre Ossman [Fri, 2 Sep 2022 14:49:24 +0000 (16:49 +0200)]
Split deb control files long lines

Follow the format upstream Debian/Ubuntu uses.

2 years agoMore robust Debian dependency installation
Pierre Ossman [Fri, 2 Sep 2022 14:30:32 +0000 (16:30 +0200)]
More robust Debian dependency installation

We want it to complain loudly if a dependency is missing, not just
quietly continue on.

2 years agoMore verbose output for container builds
Pierre Ossman [Fri, 2 Sep 2022 14:18:12 +0000 (16:18 +0200)]
More verbose output for container builds

2 years agoIgnore whitespace around components of host-and-port specification 1521/head
Catherine Tower [Wed, 24 Aug 2022 01:39:33 +0000 (18:39 -0700)]
Ignore whitespace around components of host-and-port specification

This is to make the code more tolerant of typos when entering a hostname

2 years agoMerge branch 'morersaaes' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 1 Sep 2022 12:54:53 +0000 (14:54 +0200)]
Merge branch 'morersaaes' of https://github.com/CendioOssman/tigervnc

2 years agoAdd nettle to build documentation 1524/head
Pierre Ossman [Thu, 1 Sep 2022 09:37:02 +0000 (11:37 +0200)]
Add nettle to build documentation

2 years agoExplicitly require nettle for builds
Pierre Ossman [Thu, 1 Sep 2022 09:36:18 +0000 (11:36 +0200)]
Explicitly require nettle for builds

It is generally pulled in as a requirement from GnuTLS, but let's be
explicitly now that we make use of nettle directly.

2 years agoAdd fallback for finding gmp
Pierre Ossman [Thu, 1 Sep 2022 09:30:51 +0000 (11:30 +0200)]
Add fallback for finding gmp

pkg-config support was added very recently to gmp, so a lot of platforms
we want to support won't find gmp this way.

2 years agoSplit gmp detection to separate module
Pierre Ossman [Thu, 1 Sep 2022 09:28:23 +0000 (11:28 +0200)]
Split gmp detection to separate module

It is a (weird) dependency of nettle, and not part of nettle itself. So
split it to a separate module for clarity.

2 years agoFix incorrect nettle library references
Pierre Ossman [Thu, 1 Sep 2022 08:45:54 +0000 (10:45 +0200)]
Fix incorrect nettle library references

2 years agoFix SecurityTypes default value in man pages
Pierre Ossman [Thu, 1 Sep 2022 08:45:14 +0000 (10:45 +0200)]
Fix SecurityTypes default value in man pages

The order is important in the servers, so make sure the man pages follow
the code properly.

2 years agoAdd support for RSA-AES security types 1519/head
pdlan [Thu, 1 Sep 2022 04:58:24 +0000 (00:58 -0400)]
Add support for RSA-AES security types

2 years agoRe-enable lock key sync in viewer
Pierre Ossman [Wed, 31 Aug 2022 09:10:11 +0000 (11:10 +0200)]
Re-enable lock key sync in viewer

This was accidentally disabled in 81e114f.

2 years agoMerge branch 'rsaaesfix' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 25 Aug 2022 12:51:17 +0000 (14:51 +0200)]
Merge branch 'rsaaesfix' of https://github.com/CendioOssman/tigervnc

2 years agoFix stream check for InStream::getptr() 1522/head
Pierre Ossman [Wed, 24 Aug 2022 14:10:36 +0000 (16:10 +0200)]
Fix stream check for InStream::getptr()

This call should have been preceeded by hasData() or avail(), just like
all other accessor functions.

2 years agoMove include_directories() to proper places
Pierre Ossman [Wed, 24 Aug 2022 11:35:20 +0000 (13:35 +0200)]
Move include_directories() to proper places

We should scope these as narrowely as possible to avoid side effects.

2 years agoUse BufferedOutStream in more streams
Pierre Ossman [Wed, 24 Aug 2022 08:31:42 +0000 (10:31 +0200)]
Use BufferedOutStream in more streams

Avoid duplicating all the memory mangement, and instead use the
BufferedOutStream as a base clase for all out streams that need an
intermediate buffer.

2 years agoRemove unused CSecurity::description()
Pierre Ossman [Tue, 23 Aug 2022 13:49:22 +0000 (15:49 +0200)]
Remove unused CSecurity::description()

2 years agoMake BufferedInStream allocation more available
Pierre Ossman [Tue, 23 Aug 2022 15:09:40 +0000 (17:09 +0200)]
Make BufferedInStream allocation more available

Allow subclasses to call it, instead of it being strictly internal. This
is useful when a subclass can only provide data in minimum sized chunks.

2 years agoFix encoding group for H.264 choice
Pierre Ossman [Wed, 24 Aug 2022 14:41:52 +0000 (16:41 +0200)]
Fix encoding group for H.264 choice

It might not be compiled in, so the height needs to be dynamic.

2 years agox0vncserver: update/display cursor only on correct screen in zaphod mode 1513/head
Jan Grulich [Thu, 11 Aug 2022 11:15:29 +0000 (13:15 +0200)]
x0vncserver: update/display cursor only on correct screen in zaphod mode

We have to check whether we update cursor position/shape only in case
the cursor is on our display, otherwise in zaphod mode, ie. when having
two instances of x0vncserver on screens :0.0 and :0.1 we would be having
the cursor duplicated and actually not funcional (aka ghost cursor) as
it would be actually not present. We also additionally watch EnterNotify
and LeaveNotify events in order to show/hide cursor accordingly.

Change made with help from Olivier Fourdan <ofourdan@redhat.com>

2 years agoFix "grave" and "ISO" keys on macOS
Pierre Ossman [Tue, 23 Aug 2022 07:11:15 +0000 (09:11 +0200)]
Fix "grave" and "ISO" keys on macOS

We lacked an entry for one of these, and the magical swap that macOS
does for unknown reasons.

2 years agoSync RHEL packaging with Fedora 1520/head
Pierre Ossman [Fri, 19 Aug 2022 13:36:31 +0000 (15:36 +0200)]
Sync RHEL packaging with Fedora

Makes it easier to compare changes with what people normally run.

2 years agoAdd missing FLTK include statements 1489/head
Albrecht Schlosser [Mon, 4 Jul 2022 11:27:24 +0000 (13:27 +0200)]
Add missing FLTK include statements

Add also missing <stdlib.h> where required.

2 years agoMerge pull request #1492 from krystof1119/javaCursorFix
Brian Hinz [Thu, 7 Jul 2022 10:52:42 +0000 (06:52 -0400)]
Merge pull request #1492 from krystof1119/javaCursorFix

Fix edge of dot cursor in Java vncviewer

2 years agoFix edge of dot cursor in Java vncviewer 1492/head
Krystof Pistek [Wed, 6 Jul 2022 15:24:39 +0000 (17:24 +0200)]
Fix edge of dot cursor in Java vncviewer

This commit changes the color of the edges of the dot cursor in the Java
version of vncviewer from fully transparent to white, bringing it in
line with the C++ native version.

2 years agoMerge branch 'artifacts' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 5 Jul 2022 14:06:56 +0000 (16:06 +0200)]
Merge branch 'artifacts' of https://github.com/CendioOssman/tigervnc

2 years agoFix typo in previous commit
Pierre Ossman [Tue, 5 Jul 2022 07:50:25 +0000 (09:50 +0200)]
Fix typo in previous commit

2 years agoStore artifacts from Github actions 1490/head
Pierre Ossman [Mon, 4 Jul 2022 12:42:55 +0000 (14:42 +0200)]
Store artifacts from Github actions

Might be useful for testing in some cases. Note that the Windows and
Linux binaries will depend on libraries from the build environment. So
the user will need to match those manually.

2 years agoFix Xvnc dependency list (again)
Pierre Ossman [Tue, 5 Jul 2022 07:19:07 +0000 (09:19 +0200)]
Fix Xvnc dependency list (again)

The previous commit was incorrect in that it overrides automake's
dependency list, rather than adding to it. So we need to make sure
things are duplicated between Xvnc_DEPENDENCIES and Xvnc_LDADD as
appropriate.

Use the same approach as the Xorg binary to keep things familiar.

2 years agoAdd missing dependencies for Xvnc
Pierre Ossman [Mon, 4 Jul 2022 11:59:42 +0000 (13:59 +0200)]
Add missing dependencies for Xvnc

These aren't crucial for a clean build, but must be set for Xvnc to be
properly rebuilt if anything in the Xorg tree changes. automake doesn't
properly deduce these automatically from Xvnc_LDADD, unfortunately.

2 years agoMerge branch 'cork' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 28 Jun 2022 14:20:51 +0000 (16:20 +0200)]
Merge branch 'cork' of https://github.com/CendioOssman/tigervnc

2 years agoCork the proper output stream in the client 1488/head
Pierre Ossman [Tue, 28 Jun 2022 12:51:13 +0000 (14:51 +0200)]
Cork the proper output stream in the client

The socket might not be the stream actually used, e.g. when we are using
TLS. Make sure we cork the proper stream to get all the benefits of
corking.

2 years agoSafely discard large (extended) clipboard contents
Pierre Ossman [Tue, 28 Jun 2022 12:49:40 +0000 (14:49 +0200)]
Safely discard large (extended) clipboard contents

Avoid having to buffer everything we want to discard, and instead do it
piece by piece. This is more efficient, and avoids hitting any limits on
the buffering.

Note that this is safe here because we already know we have all the
compressed data. It would not be safe for a general input stream.

2 years agoProperly restore cork state when changed
Pierre Ossman [Tue, 28 Jun 2022 12:47:39 +0000 (14:47 +0200)]
Properly restore cork state when changed

These streams both need to change the corking state temporarily, but it
is important it is restored to the previous state or things might get
messed up.

For the zlib stream it would just leave things uncorked, which still
works but is less efficient.

But for the TLS stream it might make things very unresponsive as the
corking might be left on permanently, delaying packets indefinitely.

2 years agoRemove unnecessary flush
Pierre Ossman [Tue, 28 Jun 2022 12:47:13 +0000 (14:47 +0200)]
Remove unnecessary flush

Uncorking implicitly flushes, so we don't need this.

2 years agoOnly implicitly flush on uncorking
Pierre Ossman [Tue, 28 Jun 2022 12:46:06 +0000 (14:46 +0200)]
Only implicitly flush on uncorking

There is no point flushing when corking was enabled, as we might then
push out a small buffer that the corking otherwise would have preserved.

2 years agoMerge branch 'mft-crop-fix' of https://github.com/mmozeiko/tigervnc
Pierre Ossman [Mon, 13 Jun 2022 06:53:09 +0000 (08:53 +0200)]
Merge branch 'mft-crop-fix' of https://github.com/mmozeiko/tigervnc

2 years agoWorkaround for MFT cropping in H264 decoding 1480/head
Martins Mozeiko [Tue, 7 Jun 2022 07:37:54 +0000 (00:37 -0700)]
Workaround for MFT cropping in H264 decoding

It seems MFT h264 decoder does not support frame cropping. Which
means that if frame width or height is not multiple of 16 then
decoded output can potentially be used with wrong offset. This
code adds explicit parsing of SPS to extract cropping information
to use, and will apply cropping if reported size differs from
expected.

2 years agoAdd Romanian translation
Remus-Gabriel Chelu [Sun, 29 May 2022 22:51:00 +0000 (00:51 +0200)]
Add Romanian translation

2 years agoMerge branch 'pkgconfig' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 7 Jun 2022 09:20:31 +0000 (11:20 +0200)]
Merge branch 'pkgconfig' of https://github.com/CendioOssman/tigervnc

2 years agoFind FFMPEG using pkg-config 1473/head
Pierre Ossman [Mon, 30 May 2022 08:53:32 +0000 (10:53 +0200)]
Find FFMPEG using pkg-config

This is the standard method of finding it on Unix systems, so make sure
we use it. Still keep a fallback, though, for other systems, e.g.
Windows.

2 years agoFix up ffmpeg header and library handling
Pierre Ossman [Mon, 30 May 2022 08:52:23 +0000 (10:52 +0200)]
Fix up ffmpeg header and library handling

FFMPEG is needed by the RFB library, so all the details about it should
only be applied there and not for other components.

2 years agoUse pkg-config for pixman
Pierre Ossman [Mon, 30 May 2022 08:02:05 +0000 (10:02 +0200)]
Use pkg-config for pixman

This is the standard method of finding it on Unix systems, so make sure
we use it. Still keep a fallback, though, for other systems, e.g.
Windows.

2 years agoAdd target_link_directory() compat function
Pierre Ossman [Sat, 4 Jun 2022 12:19:07 +0000 (14:19 +0200)]
Add target_link_directory() compat function

We need this function to deal with pkgconfig files properly, but
unfortunately it doesn't exist until CMake 3.13, and we need to support
CMake 3.10. So add a hacky compatibility function for older systems.

2 years agoAvoid temporary cmake variables
Pierre Ossman [Fri, 3 Jun 2022 13:44:32 +0000 (15:44 +0200)]
Avoid temporary cmake variables

Modern cmake has better support for adding source files and libraries
incrementally, so let's use that to clean things up.

2 years agoRemove zlib copyright notice
Pierre Ossman [Thu, 12 May 2022 12:55:46 +0000 (14:55 +0200)]
Remove zlib copyright notice

Our embedded zlib got removed way back in cc8c6a2.

2 years agoMerge branch 'icons' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 11 May 2022 11:23:26 +0000 (13:23 +0200)]
Merge branch 'icons' of https://github.com/CendioOssman/tigervnc

2 years agoAdjust icon margins and rounding 1467/head
Pierre Ossman [Wed, 11 May 2022 10:43:27 +0000 (12:43 +0200)]
Adjust icon margins and rounding

Reduce the icon margins a bit to conform better with other icons. Also
dial back the rounding a bit, again to fit better with other programs.

2 years agoAutomatically generate macOS icon file
Pierre Ossman [Wed, 11 May 2022 10:42:18 +0000 (12:42 +0200)]
Automatically generate macOS icon file

2 years agoAutomatically generate Windows icon file
Pierre Ossman [Wed, 11 May 2022 10:39:58 +0000 (12:39 +0200)]
Automatically generate Windows icon file

2 years agoAdd more Unix icon sizes
Pierre Ossman [Wed, 11 May 2022 08:17:50 +0000 (10:17 +0200)]
Add more Unix icon sizes

Some desktop environment, like KDE, need more rastered sizes and cannot
make use of the SVG.

2 years agoAvoid duplicating list of icon sizes
Pierre Ossman [Wed, 11 May 2022 08:00:01 +0000 (10:00 +0200)]
Avoid duplicating list of icon sizes

2 years agoRemove redundant icon installation
Pierre Ossman [Wed, 11 May 2022 07:34:25 +0000 (09:34 +0200)]
Remove redundant icon installation

This is already done by vncviewer, so we don't need any rule here.

2 years agoSimplify icon generation
Pierre Ossman [Wed, 11 May 2022 07:30:23 +0000 (09:30 +0200)]
Simplify icon generation

Have the padding included in the SVGs to make the rules less complex.

2 years agoRemove dead code
Pierre Ossman [Wed, 11 May 2022 07:16:42 +0000 (09:16 +0200)]
Remove dead code

This code is never used on Windows, so remove it.

2 years agoSafer allocation of icon array
Pierre Ossman [Wed, 11 May 2022 07:16:01 +0000 (09:16 +0200)]
Safer allocation of icon array

Avoid the risk of the list of sizes and the list of icons getting out of
sync and causing memory corruption.

2 years agoMerge pull request #1463 from TigerVNC/accessRightsFixes
Samuel Mannehed [Mon, 2 May 2022 06:43:34 +0000 (08:43 +0200)]
Merge pull request #1463 from TigerVNC/accessRightsFixes

Minor fixes/future-proofing for SConnection::accessCheck() and 'accessRights'