]>
source.dussan.org Git - tigervnc.git/log
Pierre Ossman [Wed, 4 Jan 2023 15:27:27 +0000 (16:27 +0100)]
Remove useless checks
These are all truisms because of the valid range of the types.
Pierre Ossman [Wed, 4 Jan 2023 15:26:02 +0000 (16:26 +0100)]
Explicitly mark switch case fall through
This allows us to separate accidental fall through from explicit ones,
which allows us to turn on such checks in the compiler.
Pierre Ossman [Thu, 5 Jan 2023 08:41:26 +0000 (09:41 +0100)]
Fix RSA-AES state machines
If there isn't enough data, then the client reading the hash will fall
down and try to read the subtype instead, which isn't correct.
Invert the logic so we get a more consistent way through where we only
break out when there is insufficient data.
Do the same for the server code, for consistency.
Pierre Ossman [Wed, 4 Jan 2023 19:36:26 +0000 (20:36 +0100)]
Add missing breaks to Windows key grab code
These were not meant to fall through. Likely didn't have any adverse
effects, but let's fix it anyway.
Pierre Ossman [Wed, 4 Jan 2023 15:18:46 +0000 (16:18 +0100)]
Explicitly mark unused parameters
This allows us to separate accidentally unused, from explicitly unused
parameters, which allows us to turn on such checks in the compiler.
Pierre Ossman [Wed, 4 Jan 2023 15:34:23 +0000 (16:34 +0100)]
Respect given server name
No practical difference currently, but let's respect what this API was
supposed to do.
Pierre Ossman [Wed, 4 Jan 2023 15:34:09 +0000 (16:34 +0100)]
Don't include unused file path parameter
Pierre Ossman [Wed, 4 Jan 2023 15:31:39 +0000 (16:31 +0100)]
Don't include palette to full color methods
They have no need for it, so let's simplify things.
Pierre Ossman [Wed, 4 Jan 2023 15:29:02 +0000 (16:29 +0100)]
Remove unused flags to decoder contexts
Everything in flags is already handled at a higher level.
Pierre Ossman [Wed, 4 Jan 2023 15:24:54 +0000 (16:24 +0100)]
Stop supplying flags to clipboard peek handler
The flags should always be empty anyway.
Pierre Ossman [Wed, 4 Jan 2023 18:16:13 +0000 (19:16 +0100)]
Mark system include paths correctly
This makes sure the compiler doesn't complain about problems in those
files.
Pierre Ossman [Wed, 4 Jan 2023 15:11:21 +0000 (16:11 +0100)]
Always enable -Wvla
It's only the -Werror part we want to be conditional on being debug
builds.
Pierre Ossman [Mon, 2 Jan 2023 11:55:17 +0000 (12:55 +0100)]
Remove debugging strdup()
This was not meant to be included in the previous commit. The static
storage for the font string is more than enough.
Pierre Ossman [Mon, 2 Jan 2023 11:28:25 +0000 (12:28 +0100)]
Keep font name in permanent memory
Fl::set_font() doesn't keep its own copy, so we need to make sure the
font string doesn't get freed or overwritten at a later point.
Pierre Ossman [Fri, 30 Dec 2022 13:11:05 +0000 (14:11 +0100)]
Use Rocky Linux for RHEL builds
CentOS Stream isn't fully compatible with RHEL, and there are no useful
RHEL images available, so that leaves us with one of the new RHEL forks.
Pierre Ossman [Tue, 27 Dec 2022 09:11:18 +0000 (10:11 +0100)]
Merge branch 'add-ard-mslogonii' of https://github.com/pdlan/tigervnc
Dinglan Peng [Tue, 27 Dec 2022 09:06:08 +0000 (04:06 -0500)]
Add client-side support for the MSLogonII security type.
Dinglan Peng [Tue, 27 Dec 2022 09:05:19 +0000 (04:05 -0500)]
Add client-side support for the DH security type.
Luna Jernberg [Fri, 23 Dec 2022 23:37:00 +0000 (00:37 +0100)]
Update Swedish translation
Brian Hinz [Fri, 23 Dec 2022 03:44:04 +0000 (22:44 -0500)]
Merge pull request #1525 from pdlan/add-ra2-java
Add support for RSA-AES security types (Java version)
Göran Uddeborg [Mon, 19 Dec 2022 20:23:00 +0000 (21:23 +0100)]
Update Swedish translation
Lauri Nurmi [Wed, 21 Dec 2022 20:34:00 +0000 (22:34 +0200)]
Update Finnish translation
Petr Pisar [Thu, 22 Dec 2022 12:47:00 +0000 (13:47 +0100)]
Update Czech translation
Pierre Ossman [Thu, 22 Dec 2022 12:43:02 +0000 (13:43 +0100)]
Merge branch 'newoptions' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 15 Jul 2022 12:50:46 +0000 (14:50 +0200)]
Respect system UI font
Use the font specified by the system for UI elements. For Windows and
macOS this is straight forward, but Linux is more complex as there is no
single source for this information.
Pierre Ossman [Fri, 17 Jun 2022 10:48:56 +0000 (12:48 +0200)]
Fix up padding for radio/check buttons
Try to follow the actual padding that FLTK adds to these widgets.
The extra one pixel on each is because of a bug in FLTK's focus drawing
code, where the box is always one pixel too small in both dimensions.
Pierre Ossman [Fri, 17 Jun 2022 10:48:13 +0000 (12:48 +0200)]
Reduce indent to same as a normal margin
This is how GNOME does things, so let's do the same so things look
similar.
Pierre Ossman [Fri, 17 Jun 2022 10:47:34 +0000 (12:47 +0200)]
Wider margin around window edges
To conform with how e.g. GNOME sets its margins.
Pierre Ossman [Thu, 16 Jun 2022 11:28:45 +0000 (13:28 +0200)]
Dynamically size Fl_Group:s
This makes the code much cleaner, and easier to update.
Pierre Ossman [Fri, 17 Jun 2022 11:31:53 +0000 (13:31 +0200)]
Make UserDialog use standard layout constants.
Makes it easier to adjust the UI from a central place.
Pierre Ossman [Thu, 16 Jun 2022 11:13:03 +0000 (13:13 +0200)]
Make ServerDialog use standard layout constants
Makes it easier to adjust the UI from a central place.
Pierre Ossman [Fri, 14 Jan 2022 18:50:15 +0000 (19:50 +0100)]
Modern look for options sections
Outlines are no longer commonly used. Instead visually separated
headlines are the norm.
Pierre Ossman [Fri, 14 Jan 2022 13:07:19 +0000 (14:07 +0100)]
Change to modern layout in options dialog
Classical tabs are very dated. They are also a practical problem as you
get very limited in the numbers of tabs we can have, and how long the
text can be on them.
Switch to one popular modern model with a list on the left instead where
pages can be selected.
Pierre Ossman [Mon, 19 Dec 2022 14:47:52 +0000 (15:47 +0100)]
Rebuild .desktop and metainfo when needed
If the translations change then these files need to be regenerated as
they include data from those.
Yi-Jyun Pan [Fri, 16 Dec 2022 11:30:00 +0000 (19:30 +0800)]
Update Chinese (traditional) translation
Yuri Chornoivan [Fri, 16 Dec 2022 11:54:00 +0000 (13:54 +0200)]
Update Ukranian translation
Remus-Gabriel Chelu [Fri, 16 Dec 2022 10:59:00 +0000 (11:59 +0100)]
Update Romanian translation
Andika Triwidada [Fri, 16 Dec 2022 11:11:00 +0000 (18:11 +0700)]
Update Indonesian translation
Yaron Shahrabani [Fri, 16 Dec 2022 09:33:00 +0000 (11:33 +0200)]
Update Hebrew translation
Cristian Othón Martínez Vera [Fri, 16 Dec 2022 14:54:00 +0000 (08:54 -0600)]
Update Spanish translation
Mario Blättermann [Fri, 16 Dec 2022 14:57:00 +0000 (15:57 +0100)]
Update German translation
Alexander Shopov [Fri, 16 Dec 2022 10:27:00 +0000 (12:27 +0200)]
Updated Bulgarian translation
Pierre Ossman [Thu, 15 Dec 2022 15:40:54 +0000 (16:40 +0100)]
Change development version to 1.13.80
Pierre Ossman [Thu, 15 Dec 2022 15:22:33 +0000 (16:22 +0100)]
Update translation template file
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.
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
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.
TAKAHASHI Shuuji [Wed, 14 Dec 2022 15:36:59 +0000 (15:36 +0000)]
Improve error message when `passwd `file has a bad permission
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.
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.
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
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.
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.
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.
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".
Pierre Ossman [Thu, 27 Oct 2022 09:19:07 +0000 (11:19 +0200)]
Automatically generate RCVERSION
Avoid having to update this manually.
Pierre Ossman [Fri, 14 Oct 2022 11:34:27 +0000 (13:34 +0200)]
Merge branch 'newdists' of https://github.com/CendioOssman/tigervnc
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.
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.
Pierre Ossman [Fri, 19 Aug 2022 12:38:17 +0000 (14:38 +0200)]
Add RHEL/CentOS 9 packaging
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.
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.
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.
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.
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.
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.
Pierre Ossman [Wed, 7 Sep 2022 12:49:28 +0000 (14:49 +0200)]
Merge branch 'debs' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 7 Sep 2022 08:57:36 +0000 (10:57 +0200)]
Use standard accessors for Fl_Monitor_Arrangement
The accessor functions are called value() for all standard FLTK widgets,
so let's keep that theme here as well.
Pierre Ossman [Wed, 7 Sep 2022 08:49:43 +0000 (10:49 +0200)]
Rename MonitorArrangement to Fl_Monitor_Arrangement
Follow upstream FLTK naming to more clearly indicate that this is a
general widget and not TigerVNC specific.
Pierre Ossman [Wed, 7 Sep 2022 08:41:44 +0000 (10:41 +0200)]
Split general FLTK appearance to separate file
These are general things and not specific to TigerVNC, so let's move it
to the fltk specific directory for clarity.
Pierre Ossman [Wed, 7 Sep 2022 08:34:20 +0000 (10:34 +0200)]
Split out FLTK utility functions
These have nothing to do with layout, so let's split them to their own
file.
Pierre Ossman [Tue, 6 Sep 2022 05:30:11 +0000 (07:30 +0200)]
Move general FLTK stuff to own directory
Let's separate TigerVNC specific things from stuff that could be part of
upstream FLTK. These are files that we would like to collaborate with
other FLTK users, so they are more liberally licensed and avoid using
TigerVNC specific things.
pdlan [Sat, 3 Sep 2022 15:18:36 +0000 (11:18 -0400)]
Fix protocol version handshake
Pierre Ossman [Fri, 19 Aug 2022 12:42:37 +0000 (14:42 +0200)]
Add Ubuntu 22.04 (Jammy Jellyfish) packaging
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.
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.
Pierre Ossman [Fri, 2 Sep 2022 15:03:42 +0000 (17:03 +0200)]
Add automatic deb perl 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.
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.
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.
Pierre Ossman [Fri, 2 Sep 2022 14:18:12 +0000 (16:18 +0200)]
More verbose output for container builds
pdlan [Sat, 3 Sep 2022 09:53:33 +0000 (05:53 -0400)]
Fix missing RA2ne enabling in storeOptions()
pdlan [Sat, 3 Sep 2022 09:53:07 +0000 (05:53 -0400)]
Add support for RSA-AES security types in Java viewer
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
Pierre Ossman [Thu, 1 Sep 2022 12:54:53 +0000 (14:54 +0200)]
Merge branch 'morersaaes' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 1 Sep 2022 09:37:02 +0000 (11:37 +0200)]
Add nettle to build documentation
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.
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.
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.
Pierre Ossman [Thu, 1 Sep 2022 08:45:54 +0000 (10:45 +0200)]
Fix incorrect nettle library references
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.
pdlan [Thu, 1 Sep 2022 04:58:24 +0000 (00:58 -0400)]
Add support for RSA-AES security types
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 .
Pierre Ossman [Thu, 25 Aug 2022 12:51:17 +0000 (14:51 +0200)]
Merge branch 'rsaaesfix' of https://github.com/CendioOssman/tigervnc
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.
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.
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.
Pierre Ossman [Tue, 23 Aug 2022 13:49:22 +0000 (15:49 +0200)]
Remove unused CSecurity::description()
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.
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.