Pierre Ossman
03ca97526b
Remove old mingw compatibility code
This isn't needed with modern build environments, and can even conflict
with them.
pirms 1 gada
Pierre Ossman
21c57423ae
Don't partially init monitor information
gcc will complain, and we will fill out all fields later anyway.
pirms 1 gada
Pierre Ossman
1d1f16f4ac
Fix incorrect types
These types caused an incorrect signed/unsigned behaviour, so let's make
sure we use the appropriate type.
pirms 1 gada
Pierre Ossman
11b535fcc8
Fix order of qualifiers
gcc can get upset if they aren't in this order.
pirms 1 gada
Pierre Ossman
cdec36858e
Protect key variables from setjmp()
If we don't mark these as volatile then they might get reset on
longjmp() and the code will misbehave.
pirms 1 gada
Pierre Ossman
e75051a62a
Remove useless const specifiers
These are just values, so setting const on them has no effect as the
caller will get a copy.
pirms 1 gada
Pierre Ossman
642a6b2445
Remove useless checks
These are all truisms because of the valid range of the types.
pirms 1 gada
Pierre Ossman
23cabcaa9e
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.
pirms 1 gada
Pierre Ossman
e866c7de65
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.
pirms 1 gada
Pierre Ossman
eb684b9979
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.
pirms 1 gada
Pierre Ossman
3a1c46ff75
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.
pirms 1 gada
Pierre Ossman
225e1516f9
Respect given server name
No practical difference currently, but let's respect what this API was
supposed to do.
pirms 1 gada
Pierre Ossman
3f98b29bd7
Don't include unused file path parameter
pirms 1 gada
Pierre Ossman
a4fa1d7188
Don't include palette to full color methods
They have no need for it, so let's simplify things.
pirms 1 gada
Pierre Ossman
01afd4a74d
Remove unused flags to decoder contexts
Everything in flags is already handled at a higher level.
pirms 1 gada
Pierre Ossman
a18fd2942a
Stop supplying flags to clipboard peek handler
The flags should always be empty anyway.
pirms 1 gada
Pierre Ossman
ca0955c3fe
Mark system include paths correctly
This makes sure the compiler doesn't complain about problems in those
files.
pirms 1 gada
Pierre Ossman
ff25168a53
Always enable -Wvla
It's only the -Werror part we want to be conditional on being debug
builds.
pirms 1 gada
Pierre Ossman
e0d2843c60
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.
pirms 1 gada
Pierre Ossman
8793424b34
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.
pirms 1 gada
Pierre Ossman
eff7fdd81b
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.
pirms 1 gada
Pierre Ossman
81b80305a2
Merge branch 'add-ard-mslogonii' of https://github.com/pdlan/tigervnc
pirms 1 gada
Dinglan Peng
40e24436e3
Add client-side support for the MSLogonII security type.
pirms 1 gada
Dinglan Peng
6c4c7c8551
Add client-side support for the DH security type.
pirms 1 gada
Luna Jernberg
dd40ebee73
Update Swedish translation
pirms 1 gada
Brian Hinz
eae496f9e5
Merge pull request #1525 from pdlan/add-ra2-java
Add support for RSA-AES security types (Java version)
pirms 1 gada
Göran Uddeborg
09a533ac50
Update Swedish translation
pirms 1 gada
Lauri Nurmi
3018f30ad3
Update Finnish translation
pirms 1 gada
Petr Pisar
52bfe6dae8
Update Czech translation
pirms 1 gada
Pierre Ossman
1d82602177
Merge branch 'newoptions' of https://github.com/CendioOssman/tigervnc
pirms 1 gada
Pierre Ossman
9bc9e44232
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.
pirms 1 gada
Pierre Ossman
d751b1837f
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.
pirms 1 gada
Pierre Ossman
850acc728c
Reduce indent to same as a normal margin
This is how GNOME does things, so let's do the same so things look
similar.
pirms 1 gada
Pierre Ossman
4c0600d5c1
Wider margin around window edges
To conform with how e.g. GNOME sets its margins.
pirms 1 gada
Pierre Ossman
4f8af1385c
Dynamically size Fl_Group:s
This makes the code much cleaner, and easier to update.
pirms 1 gada
Pierre Ossman
6cc74213c1
Make UserDialog use standard layout constants.
Makes it easier to adjust the UI from a central place.
pirms 1 gada
Pierre Ossman
547c761b2d
Make ServerDialog use standard layout constants
Makes it easier to adjust the UI from a central place.
pirms 1 gada
Pierre Ossman
5b3c7608e0
Modern look for options sections
Outlines are no longer commonly used. Instead visually separated
headlines are the norm.
pirms 2 gadiem
Pierre Ossman
0a6bcade1c
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.
pirms 2 gadiem
Pierre Ossman
3810ff42fe
Rebuild .desktop and metainfo when needed
If the translations change then these files need to be regenerated as
they include data from those.
pirms 1 gada
Yi-Jyun Pan
e9b322de82
Update Chinese (traditional) translation
pirms 1 gada
Yuri Chornoivan
115cc12a5a
Update Ukranian translation
pirms 1 gada
Remus-Gabriel Chelu
3a0e5cf124
Update Romanian translation
pirms 1 gada
Andika Triwidada
9e109a2873
Update Indonesian translation
pirms 1 gada
Yaron Shahrabani
7cf6ca3cb4
Update Hebrew translation
pirms 1 gada
Cristian Othón Martínez Vera
e88f0634f2
Update Spanish translation
pirms 1 gada
Mario Blättermann
b39c3d3f6a
Update German translation
pirms 1 gada
Alexander Shopov
5a2ab94235
Updated Bulgarian translation
pirms 1 gada
Pierre Ossman
afeeaa667a
Change development version to 1.13.80
pirms 1 gada
Pierre Ossman
d385eccc2e
Update translation template file
pirms 1 gada