Pierre Ossman
3a7fd223a2
Log client/server clipboard capabilities
3 years ago
Brian P. Hinz
2a0eabec31
Add packages for CentOS 8
3 years ago
Brian P. Hinz
1eb0f86fb2
Initial support for ubuntu focal
3 years ago
Pierre Ossman
a3d7d7d4ef
Map macOS Eisu key to XK_Eisu_toggle
It's a better match for what the key symbolises, even though it is not
as common on Unix systems. But we want to avoid getting in to tailoring
things for any one specific input method implementation.
3 years ago
Pierre Ossman
7990ddaf06
Merge branches 'japanese_layout' and 'win_japanese_keyboard' of https://github.com/gsittyz/tigervnc
3 years ago
Pierre Ossman
eb13d1be68
Fix bad library references for some static deps
3 years ago
Pierre Ossman
d484001e97
Add comment why unistring is linked dynamically
3 years ago
Pierre Ossman
b2b265a183
Remove bogus strncpy() calls
We don't know the size of the output buffer here and giving the input
string size is just confusing and upsets the compiler in some cases.
3 years ago
Pierre Ossman
25d3167e81
Merge branch 'master' of https://github.com/mriphysicist/tigervnc
3 years ago
Pierre Ossman
d43c1b3cc1
Change to user's home directory before starting session
This is what display managers do, so it is expected by many
environments.
3 years ago
Pierre Ossman
fd52f3c538
Fix incorrect daemonization by vncsession
We terminated the child instead of the parent after fork().
Reported by Jan Grulich from Red Hat.
3 years ago
Pierre Ossman
76443e0899
Update more references to the old vncserver script
3 years ago
Pierre Ossman
befbd67094
Fake key release events for some Japanese keys
Windows either completely omits WM_KEYUP for these, or only sends it
just before the next WM_KEYDOWN for the key.
3 years ago
Pierre Ossman
415276acbf
Handle Korean keys on Windows
3 years ago
Pierre Ossman
3425b304e5
Add some more Japanese keys
This covers some Alt+key presses as well.
3 years ago
Pierre Ossman
f549170c44
Only handle Japanese keys when Japanese layout
Some of the virtual key codes for Japanese keys are used for other
things on other layouts, so we need to make sure we only use this look
up table when the layout is indeed set to Japanese.
3 years ago
Pierre Ossman
19165c8f5e
Don't show error dialog if exiting without message
This was already handled for most exit conditions, but not the early
ones.
3 years ago
Pierre Ossman
7f5029df59
Properly report connection errors to exit_vncviewer()
3 years ago
Pierre Ossman
0d22c7bd36
Update keycode maps to latest version
Mainly fixes for Japanese and Korean keyboard layouts.
3 years ago
gsittyz
656205c74f
Windows JIS Keyboard Support
Added vkey mappings for Japanese keyboards because the special keys for Japanese input do not work on TigerVNC currently.
3 years ago
Pierre Ossman
e8f63d3377
Regenerate icons
3 years ago
Pierre Ossman
9d9e9931f1
Be explicit about SVG size when building icons
Not sure how this has changed, but ImageMagick is now using the first
-size to also determine how to scale the SVGs, which is not what we
want.
3 years ago
Pierre Ossman
d8c2e50111
Generate icons with a depth of 8 bits
Anything else is excessive.
3 years ago
Matteo Seclì
a8229e17eb
High-resolution app icon for MacOS
3 years ago
Pierre Ossman
9b06fd9969
Merge branch 'master' of https://github.com/johnmartin-oracle/tigervnc
3 years ago
gsittyz
b2a09a2c31
OS X Japanese Keyboard Support
Added OS X JIS Keyboard keys (kVK_JIS_Eisu, kvK_JIS_Kana). The Kana and Eisu keys are used to alter IME behavior, but currently the Kana key produces an unwanted space character and the Eisu key does not work.
3 years ago
Pierre Ossman
32222b3bf6
Document that vncserver is now a service
3 years ago
Pierre Ossman
2ca7d264e3
Merge branch 'unicode' of https://github.com/CendioOssman/tigervnc
3 years ago
Pierre Ossman
9886e94d9b
Correctly clear out output UTF-16 buffer
Each character is more than one byte, so adjust the clearing of the
buffer to reflect that.
3 years ago
Pierre Ossman
703eb4d130
Correctly handle invalid UTF-16 code points
Some code points are reserved for the UTF-16 coding itself and must not
appear as input data to the algorithm.
3 years ago
Pierre Ossman
d163da9ac8
Fix conversion of latin-1 to UTF-8
Signed bug prevented anything not ASCII from being coded correctly.
3 years ago
Pierre Ossman
6345c0f60f
Fix UTF-16 encoding/decoding of high code points
Everything outside of BMP was handled incorrectly and was coded as
completely different code points.
3 years ago
Pierre Ossman
e61ff736c1
Return the correct number of consumed UTF-8 bytes
This would mess up most conversions from UTF-8 as the caller wouldn't
know how far to step to get to the next valid character, resulting in
markers for invalid data to be injected here and there.
Also add some unit tests to avoid this reoccurring.
3 years ago
Pierre Ossman
c6f5f8b0b9
Fix installation of vncsession.man
It is now dynamically generated, so it will be in the build directory
and not in the source directory.
3 years ago
Pierre Ossman
90019e6104
Merge branch 'systemd' of https://github.com/grulja/tigervnc
3 years ago
Pierre Ossman
a55fe7e274
Merge branch 'sysconfdir' of https://github.com/metalefty/tigervnc
3 years ago
Jan Grulich
40f104ffe1
Use /run instead of /var/run which is just a symlink
3 years ago
Koichiro IWAO
67b60e645c
Replace some more hard-coded /etc with sysconfdir
3 years ago
Pierre Ossman
38c6848b30
Tolerate specifying -BoolParam 0 and similar
This is needed by vncserver which doesn't know which parameters are
boolean, and it cannot use the -Param=Value form as that isn't tolerated
by the Xorg code.
3 years ago
Koichiro IWAO
02da591c56
Do not assume sysconfdir is always /etc
Refer @CMAKE_INSTALL_FULL_SYSCONF@ instead.
3 years ago
Pierre Ossman
e6f910a0ad
Merge branch 'tlstofu' of https://github.com/CendioOssman/tigervnc
3 years ago
Brian P. Hinz
f029745f63
Properly store certificate exceptions in Java viewer
Like the native viewer, the Java viewer didn't store certificate
exceptions properly. Whilst not as bad as the native viewer, it still
failed to check that a stored certificate wouldn't be maliciously used
for another server. In practice this can in most cases be used to
impersonate another server.
Handle this like the native viewer by storing exceptions for a specific
hostname/certificate combination.
3 years ago
Pierre Ossman
68f5097fd5
Remove incorrect umask change
Not sure why this got in there, but it is incorrect as it results in
creating files with too liberal permissions.
3 years ago
Brian P. Hinz
e8fc72b43c
[java] don't show password field for secTypes that don't use it
3 years ago
johnmartin-oracle
3c63c5e740
Merge pull request #1 from johnmartin-oracle/johnmartin-oracle-patch-1
Update Surface_X11.cxx
3 years ago
johnmartin-oracle
7ab9263984
Update Surface_X11.cxx
Runtime sellection of ARGB XImage byte order
3 years ago
Pierre Ossman
ac76a87b7f
Fix size of 16x16 icon
For some reason it got generated at an incorrect 20x20 size last time.
3 years ago
Pierre Ossman
ebd1b4db15
Hide base SConnection methods from VNCServerST
It should be using the safe wrappers for everything so make sure it
cannot bypass those and call the SConnection methods directly.
3 years ago
Pierre Ossman
331a27addf
Call correct wrappers for clipboard handling
We incorrectly called the underlying functions instead of the safe
wrappers for the new clipboard functions. This had the effect of a)
crashing the entire server if one of these functions failed, and b) not
respecting the settings disabling the clipboard.
3 years ago
Pierre Ossman
a7f1984a08
Change development version to 1.11.80
3 years ago