Pierre Ossman
1d1f16f4ac
Fix incorrect types
These types caused an incorrect signed/unsigned behaviour, so let's make
sure we use the appropriate type.
1 anno fa
Pierre Ossman
11b535fcc8
Fix order of qualifiers
gcc can get upset if they aren't in this order.
1 anno fa
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.
1 anno fa
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.
1 anno fa
Pierre Ossman
642a6b2445
Remove useless checks
These are all truisms because of the valid range of the types.
1 anno fa
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.
1 anno fa
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.
1 anno fa
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.
1 anno fa
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.
1 anno fa
Pierre Ossman
225e1516f9
Respect given server name
No practical difference currently, but let's respect what this API was
supposed to do.
1 anno fa
Pierre Ossman
3f98b29bd7
Don't include unused file path parameter
1 anno fa
Pierre Ossman
a4fa1d7188
Don't include palette to full color methods
They have no need for it, so let's simplify things.
1 anno fa
Pierre Ossman
01afd4a74d
Remove unused flags to decoder contexts
Everything in flags is already handled at a higher level.
1 anno fa
Pierre Ossman
a18fd2942a
Stop supplying flags to clipboard peek handler
The flags should always be empty anyway.
1 anno fa
Pierre Ossman
ca0955c3fe
Mark system include paths correctly
This makes sure the compiler doesn't complain about problems in those
files.
1 anno fa
Pierre Ossman
ff25168a53
Always enable -Wvla
It's only the -Werror part we want to be conditional on being debug
builds.
1 anno fa
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.
1 anno fa
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.
1 anno fa
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.
1 anno fa
Pierre Ossman
81b80305a2
Merge branch 'add-ard-mslogonii' of https://github.com/pdlan/tigervnc
1 anno fa
Dinglan Peng
40e24436e3
Add client-side support for the MSLogonII security type.
1 anno fa
Dinglan Peng
6c4c7c8551
Add client-side support for the DH security type.
1 anno fa
Luna Jernberg
dd40ebee73
Update Swedish translation
1 anno fa
Brian Hinz
eae496f9e5
Merge pull request #1525 from pdlan/add-ra2-java
Add support for RSA-AES security types (Java version)
1 anno fa
Göran Uddeborg
09a533ac50
Update Swedish translation
1 anno fa
Lauri Nurmi
3018f30ad3
Update Finnish translation
1 anno fa
Petr Pisar
52bfe6dae8
Update Czech translation
1 anno fa
Pierre Ossman
1d82602177
Merge branch 'newoptions' of https://github.com/CendioOssman/tigervnc
1 anno fa
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.
1 anno fa
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.
1 anno fa
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.
1 anno fa
Pierre Ossman
4c0600d5c1
Wider margin around window edges
To conform with how e.g. GNOME sets its margins.
1 anno fa
Pierre Ossman
4f8af1385c
Dynamically size Fl_Group:s
This makes the code much cleaner, and easier to update.
1 anno fa
Pierre Ossman
6cc74213c1
Make UserDialog use standard layout constants.
Makes it easier to adjust the UI from a central place.
1 anno fa
Pierre Ossman
547c761b2d
Make ServerDialog use standard layout constants
Makes it easier to adjust the UI from a central place.
1 anno fa
Pierre Ossman
5b3c7608e0
Modern look for options sections
Outlines are no longer commonly used. Instead visually separated
headlines are the norm.
2 anni fa
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.
2 anni fa
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.
1 anno fa
Yi-Jyun Pan
e9b322de82
Update Chinese (traditional) translation
1 anno fa
Yuri Chornoivan
115cc12a5a
Update Ukranian translation
1 anno fa
Remus-Gabriel Chelu
3a0e5cf124
Update Romanian translation
1 anno fa
Andika Triwidada
9e109a2873
Update Indonesian translation
1 anno fa
Yaron Shahrabani
7cf6ca3cb4
Update Hebrew translation
1 anno fa
Cristian Othón Martínez Vera
e88f0634f2
Update Spanish translation
1 anno fa
Mario Blättermann
b39c3d3f6a
Update German translation
1 anno fa
Alexander Shopov
5a2ab94235
Updated Bulgarian translation
1 anno fa
Pierre Ossman
afeeaa667a
Change development version to 1.13.80
1 anno fa
Pierre Ossman
d385eccc2e
Update translation template file
1 anno fa
Pierre Ossman
5c6d05b529
Don't translate "RSA-AES"
It's just the name of the system, so there is nothing in that string to
translate.
1 anno fa
Pierre Ossman
730275e551
Merge branch 'improve-passwd-permission-error-message' of https://github.com/shuuji3/tigervnc
1 anno fa