| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Fixed so config variables can pass an empty argument.
Solves issue #1791.
(cherry picked from commit dbb6ee4d70ce080b452791a5a6d0f7ec3ac78f91)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 8a80c906b9f7c08b1c664569a97d327d62c6d8ae added a check to prevent
announcing clipboard when it's not plain text data. When this check
triggers and we want to ignore the non-plain text clipboard, we should
reset the state by no longer indicating pending clipboard, and by asking
the server to clear its clipboard. This ensures we don't end up in a
state where the server thinks the viewer has useful clipboard data, but
it doesn't.
(cherry picked from commit 6f6d9406035d59b6a9f59ff0f38206c0c98a0266)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FLTK has support for both image and plain text clipboard data, we don't.
This means we only send plain text clipboard from the viewer to the
server. Some applications can get confused when we announce that
clipboard is available and later don't send anything. An example of such
an application is QGIS, in the remote session it froze when an image was
copied on the client side.
This fix means we only call announceClipboard() when the clipboard
contains plain text. That means TigerVNC is now more robust and doesn't
trigger freezes in buggy applications.
(cherry picked from commit 8a80c906b9f7c08b1c664569a97d327d62c6d8ae)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only the client that currently has buttons pressed should actually send
a release event as the client might not be currently in control of the
pointer state. This is most clearly seen in a client that hasn't event
authenticated properly yet.
Approximate this from the server by using the last known server cursor
position. It should hopefully not differ much from the last client
provided position.
Follow-up to 986280b382d57ef4f68d2d4afb13b26772e5acb0.
(cherry picked from commit 704f9724d8af58314c4fafc8930666bb2be46722)
|
|
|
|
|
|
|
| |
They are not automatically cleaned up with the window on Windows, and we
might want to reconnect so we cannot rely on the process cleanup either.
(cherry picked from commit 43ce674dfbd2576fe5b382ad9f87e5beebc72812)
|
|
|
|
|
|
| |
This happens if you've connected to a server using a Unix socket.
(cherry picked from commit 4236d0c644a7454ab7a955e837143a8fd0777c09)
|
|
|
|
| |
(cherry picked from commit 1f3e77d75a912b30f554d745a56f5da1e4de966e)
|
|
|
|
| |
(cherry picked from commit 169ffe18c141a4ca1fc2e790e927a1aa49cce30e)
|
|
|
|
|
|
|
|
| |
Cursor data has a depth of 32 bits and hence cannot use CPIXELs.
This is a regression from baca73d.
(cherry picked from commit 6d9017eeb364491cf2acdf1c7e61aee8dd198527)
|
|
|
|
|
|
|
|
|
|
| |
Read just the first password and ignore anything else in the password
file. This allows you to reuse a password file from the server that also
includes a view-only password.
This fixes a regression introduced in b99daad.
(cherry picked from commit 49a087e8f8ecafe950a86a71ae6657d6cac8ea77)
|
|
|
|
|
|
|
| |
Although rare, there are cases where we might fail to determine our base
directories. Make sure the code can handle it.
(cherry picked from commit edee4db8d1fd85495f189293041311bfff56d23c)
|
|
|
|
|
|
| |
This is non-trivial now, so let's modularize this a bit.
(cherry picked from commit 0c61c069bab38d14b93ad9d71b6509427a5611a8)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sws_getCachedContext will set a default sampling method if 0 is passed
to the flags argument. This means that when it is called again, the
flags argument will not match the flags in the context, so a new one
will be allocated every time.
To get around this problem, we assign an explicit sampling method, one
that also happens to be more efficient and just as good for this
use-case as the default one, which is bicubic interpolation.
(cherry picked from commit c68714aee15f1e6c75d53c398ea9b9178f64fcfb)
|
|
|
|
|
|
|
| |
The scaler is now informed of the colour space encoded into the stream
so that it may do the proper conversion.
(cherry picked from commit 28cc17e309fc6117370b38ec11d803dc36e8ef01)
|
|
|
|
| |
(cherry picked from commit a1bd5cf795d36dd4ce17e980b5cb0a7f200756b5)
|
|
|
|
|
|
| |
This fixes a memory leak
(cherry picked from commit 35966469bc3410ba1573126300a19bf47d370910)
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the buffer is allocated with the correct alignment and
padding for use with sws_scale.
This fixes out-of-bounds writes which would in some cases cause
segmentation faults and/or heap corruption.
(cherry picked from commit fff17cae7738d6b3d65426a0ce7df76e8034ad1c)
|
|
|
|
|
|
| |
This fixes commit a79c33d.
(cherry picked from commit 445e0230cf4e939dcc59caf5d5f001c2f7b04da6)
|
|
|
|
|
|
|
|
| |
The underlying issue requiring this hack was fixed ages ago.
Unfortunately, the fixed GnuTLS doesn't consider static linking. So we
need to add a new hack that permits that.
(cherry picked from commit cfa4cc7dd223641176488dc3b41a53e6a81dade4)
|
|
|
|
|
|
| |
Let's try to mimic a real event as much as possible to avoid bugs.
(cherry picked from commit 6111c0587aec6ea4700a91a460c7027572ab5011)
|
|
|
|
|
|
|
| |
We need to return here or we'll do an out-of-bounds access on the data
array.
(cherry picked from commit 7af69eb4a7a52d6baf4d09f79ccbec76bd1fcee1)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We implement our own version of this, and because of this we carry our
lookup table generated by the same tool that libX11 uses. Unfortunately,
that table is a global symbol and as such there might be a mismatch of
which table should be used.
Make sure we get our own copy by changing the name of it. We use a
define rather than modifying ks_tables.h as that file is automatically
generated.
(cherry picked from commit 01cf61b4e0f4cd5031794f0a82fdf603d20a7852)
|
|
|
|
|
|
|
| |
Otherwise it merges with the next entry, removing both of them from the
default list.
(cherry picked from commit 4f6a3521874da5a67fd746389cfa9b6199eb3582)
|
|
|
|
|
|
|
|
|
|
|
| |
An empty shell field in the password file is valid, although not common.
Use /bin/sh in this case, as documented in the passwd(5) man page, since
the vncserver script requires a non-empty SHELL environment variable.
Fixes issue #1786.
Signed-off-by: Carlos Santos <casantos@redhat.com>
(cherry picked from commit 4db34f73d461b973867ddaf18bf690219229cd7a)
|
|
|
|
| |
(cherry picked from commit 9aaea93b2d1012b05ea24a15f4269cb9f356c3d9)
|
|
|
|
|
|
|
| |
This is what Xwayland does, so let's try to do the same to avoid any
incompatibilites with applications.
(cherry picked from commit 876cbf0800634b382b0a99e8cd086f588997f9d8)
|
|
|
|
|
|
|
| |
Instead of giving up after all free keycodes have been used, Keycodes from previously added keysyms will be reused.
Re: #93
(cherry picked from commit f65433a113ed2cce39161139982112aaa3ddf6e0)
|
|
|
|
| |
(cherry picked from commit 87029b7f38455ad4ffa0573107707ce221aa3773)
|
|
|
|
| |
(cherry picked from commit 2e3347768d3d19852e2c575d1b9425e23d6efa87)
|
|
|
|
|
|
|
| |
We seem to have gotten this implicitly before, but now that GitHub has
switched to Ubuntu 24.04 we have to be explicit about it.
(cherry picked from commit a4c86a7f07d81450c5e0147c27ed737b7af4547c)
|
| |
|
|
|
|
|
|
|
|
| |
The rounding misbehaved when the tv_usec calculation overflows.
Fixes issue #1782.
(cherry picked from commit 422444acf3a519b75709fb14c02118b75ecbc898)
|
|
|
|
|
|
|
|
| |
As of 28c3f12, we might now be running the frame clock even without a
framebuffer present. This means we need to be more careful accessing the
ComparingUpdateTracker, as it might be NULL.
(cherry picked from commit c4075860579ad33011fafee32f34c5d3da71a910)
|
|
|
|
|
|
|
| |
Otherwise we won't properly guarantee that we'll wait *at least* as long
as the specified time.
(cherry picked from commit c831c9084afffdf10fa5dda865a6df5d643d83dd)
|
|
|
|
|
|
| |
Bug fix for bf28683.
(cherry picked from commit 80ce950887824a120c8de07dac9191e7fff72de4)
|
|
|
|
| |
(cherry picked from commit 60962a99dde101099bc775dd98354a43b9b36c9a)
|
|
|
|
| |
(cherry picked from commit 0e9a00e87cf12087b253e0be214c7a7a045c94de)
|
|
|
|
| |
(cherry picked from commit b0c87ad5d437eb9462d5230afd1b75b7bf31db53)
|
|
|
|
| |
(cherry picked from commit c4972537884a42e2171d8a1981d3c2d772f64a14)
|
|
|
|
| |
(cherry picked from commit f7e4771c836e07e32680fa525c4fabab46b611f6)
|
|
|
|
| |
(cherry picked from commit e8312b5fad4da00a51151c4492143cf64ea4bf34)
|
|
|
|
| |
(cherry picked from commit 2095bc16fae7463f513eb747ae99ebf212741842)
|
|
|
|
| |
(cherry picked from commit e725e51b11cb00ef9178b68ad14d6191f349a066)
|
|
|
|
| |
(cherry picked from commit 81dd3035bf5a3eb899fb8433dc466385dd7bc616)
|
|
|
|
| |
(cherry picked from commit 1ab83ee6a7deedb4fe5e3ca4cef100aed9d435c0)
|
|
|
|
| |
(cherry picked from commit f3026de283d85db01e06c3086dc004068fcb38a0)
|
| |
|
| |
|
|\ |
|