Pierre Ossman
af3e754a49
Merge branch 'mft-crop-fix' of https://github.com/mmozeiko/tigervnc
2 年之前
Martins Mozeiko
03a2386b3d
Workaround for MFT cropping in H264 decoding
It seems MFT h264 decoder does not support frame cropping. Which
means that if frame width or height is not multiple of 16 then
decoded output can potentially be used with wrong offset. This
code adds explicit parsing of SPS to extract cropping information
to use, and will apply cropping if reported size differs from
expected.
2 年之前
Remus-Gabriel Chelu
20e42bfece
Add Romanian translation
2 年之前
Pierre Ossman
7f7dd69915
Merge branch 'pkgconfig' of https://github.com/CendioOssman/tigervnc
2 年之前
Pierre Ossman
101cef956d
Find FFMPEG using pkg-config
This is the standard method of finding it on Unix systems, so make sure
we use it. Still keep a fallback, though, for other systems, e.g.
Windows.
2 年之前
Pierre Ossman
4cf31302a1
Fix up ffmpeg header and library handling
FFMPEG is needed by the RFB library, so all the details about it should
only be applied there and not for other components.
2 年之前
Pierre Ossman
1527f0b6db
Use pkg-config for pixman
This is the standard method of finding it on Unix systems, so make sure
we use it. Still keep a fallback, though, for other systems, e.g.
Windows.
2 年之前
Pierre Ossman
115d3f883e
Add target_link_directory() compat function
We need this function to deal with pkgconfig files properly, but
unfortunately it doesn't exist until CMake 3.13, and we need to support
CMake 3.10. So add a hacky compatibility function for older systems.
2 年之前
Pierre Ossman
6c7c022b19
Avoid temporary cmake variables
Modern cmake has better support for adding source files and libraries
incrementally, so let's use that to clean things up.
2 年之前
Pierre Ossman
15fc3e2ab1
Remove zlib copyright notice
Our embedded zlib got removed way back in cc8c6a2
.
2 年之前
Pierre Ossman
9c291eb57d
Merge branch 'icons' of https://github.com/CendioOssman/tigervnc
2 年之前
Pierre Ossman
182a1a7dc0
Adjust icon margins and rounding
Reduce the icon margins a bit to conform better with other icons. Also
dial back the rounding a bit, again to fit better with other programs.
2 年之前
Pierre Ossman
1134641583
Automatically generate macOS icon file
2 年之前
Pierre Ossman
df8eddfae6
Automatically generate Windows icon file
2 年之前
Pierre Ossman
e28bf7ae8e
Add more Unix icon sizes
Some desktop environment, like KDE, need more rastered sizes and cannot
make use of the SVG.
2 年之前
Pierre Ossman
379ad82188
Avoid duplicating list of icon sizes
2 年之前
Pierre Ossman
28fcd03d7b
Remove redundant icon installation
This is already done by vncviewer, so we don't need any rule here.
2 年之前
Pierre Ossman
02ee490bf6
Simplify icon generation
Have the padding included in the SVGs to make the rules less complex.
2 年之前
Pierre Ossman
c5db7aef61
Remove dead code
This code is never used on Windows, so remove it.
2 年之前
Pierre Ossman
e65877b9fb
Safer allocation of icon array
Avoid the risk of the list of sizes and the list of icons getting out of
sync and causing memory corruption.
2 年之前
Samuel Mannehed
6e762cd217
Merge pull request #1463 from TigerVNC/accessRightsFixes
Minor fixes/future-proofing for SConnection::accessCheck() and 'accessRights'
2 年之前
Samuel Mannehed
3223f20d59
Assert that accessCheck isn't called too early
These checks depend on accessRights being set up, this has only happened
if we have done the QUERYING steps.
2 年之前
Samuel Mannehed
ccf759cb51
Initialize SConnection's accessRights
Properties should be initialized in order to avoid random values in
case they are used earlier than expected.
2 年之前
Temuri Doghonadze
247404c0ed
Add Georgian translation
2 年之前
Cristian Othón Martínez Vera
afd114ee31
Update Spanish translation
2 年之前
Pierre Ossman
c5d12f9a6c
Fix bad indentation in CConn::socketEvent()
2 年之前
Pierre Ossman
caa976c4e6
Ignore socket whilst processing data
FLTK has a lot of synchronous stuff (like dialogs), which mean that the
main loop might be run recursively in some cases. If there is data
available on our socket then CConn::socketEvent() will be called
constantly in a busy loop.
Avoid this by removing socket notifications whilst we are processing
data.
2 年之前
Pierre Ossman
99209d0339
Enable stream sanity checks in debug builds
Enable this automatically for developers so we increase the chance of
these problems getting caught. There is a risk of overhead though so
keep them disabled for release builds.
2 年之前
Pierre Ossman
cee5a417c8
Don't trust GNUTLS_E_AGAIN
Unfortunately this error can be given by GnuTLS even though the
underlying stream still has data available. So stop trusting this value
and keep track of the underlying stream explicitly.
2 年之前
Pierre Ossman
a97e9b119e
Print GnuTLS certificate status as hex
It's a bit field so it's easier to decode in hex.
2 年之前
Pierre Ossman
5f46d552b9
Allow exceptions for expired certificates
The browsers allow users to make an exception for expired certificates,
so we should probably also.
2 年之前
Pierre Ossman
7cba36627c
Make sure server name is always a valid string
Otherwise we can get crashes on NULL dereference. This should only
happen on reverse connections where we don't have a server address.
2 年之前
Pierre Ossman
adc4570b19
Change vncsession startup error message
We need to get to the point of starting the session script before we
consider things a success. So this can fail in many different ways, not
just the daemonization. Adjust the error message to something more
generic to reflect this.
2 年之前
Pierre Ossman
67217afa58
Merge branch 'feature/appstream-vncviewer' of https://github.com/JoachimFalk/tigervnc
2 年之前
Joachim Falk
704eff041c
Added AppStream meta info file for the vncviewer
2 年之前
Chris
d80a3d2fa8
Fix compilation issue.
Ubuntu 20.04
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
libx264-dev:amd64 2:0.155.2917+git0a84d98-2
[ 11%] Building CXX object common/rfb/CMakeFiles/rfb.dir/H264LibavDecoderContext.cxx.o
tigervnc/common/rfb/H264LibavDecoderContext.cxx: In member function ‘virtual bool rfb::H264LibavDecoderContext::initCodec()’:
tigervnc/common/rfb/H264LibavDecoderContext.cxx:50:40: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
50 | AVCodec *codec = avcodec_find_decoder(AV_CODEC_ID_H264);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
| |
| const AVCodec*
make[2]: *** [common/rfb/CMakeFiles/rfb.dir/build.make:895: common/rfb/CMakeFiles/rfb.dir/H264LibavDecoderContext.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:597: common/rfb/CMakeFiles/rfb.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
2 年之前
Pierre Ossman
485866d5f7
Switch to CentOS Stream 8 for builds
CentOS 8 is EOL and is now replaced with CentOS Stream 8.
This images isn't available on Docker Hub unfortunately, so we grab it
from Quay.
2 年之前
Zdenek Pytela
faf81b4b23
SELinux: use /root/.vnc in file context specification
Instead of HOME_ROOT/.vnc, /root/.vnc should be used
for user root's home to specify default file context
as HOME_ROOT actually means base for home dirs (usually /home).
2 年之前
Brian P. Hinz
969f927220
Fix for reflection warnings for strongly encapsulated Desktop methods in Java > 9
2 年之前
Brian P. Hinz
7393e2c7c3
Fix for #1414
2 年之前
Joachim Falk
741d3edbfa
Added screenshots for AppStream meta info file for vncviewer
2 年之前
Vladimir Sukhonosov
44f9a4d038
get rid of c++11 stuff
2 年之前
Pierre Ossman
0eab350880
Improve logging around screen resizing
Avoid duplication, and add logging for some more error conditions so
it's possible to see in the logs why a resize has failed or produced
unexpected results.
2 年之前
Pierre Ossman
d0c7b915c7
Remove 32-/64-bit distinctions
The migration from 32-bit to 64-bit has long passed. Let's get rid of
all distinctions as native applications it the norm now.
2 年之前
Pierre Ossman
c8de7f7629
Update packaging section of BUILDING.txt
This is obviously not maintained, so let's be more generic in the
document.
2 年之前
Pierre Ossman
ec54fc84ff
Merge branch 'h264dec' of https://github.com/xornet-sl/tigervnc
2 年之前
Pierre Ossman
b2efde342b
Log objects should be local
Otherwise things might be logged under the wrong label.
2 年之前
Mārtiņš Možeiko
139e5e9477
support H264 decoding with MediaFoundation on Windows
2 年之前
Vladimir Sukhonosov
03df448496
H264 Decoder
Linux implementation using ffmpeg
2 年之前
William Sjöblom
a1d755a5f8
Always log screen layout if validation fails
Unconditionally log the erroneous screen layout if it fails to
validate to simplify debugging.
2 年之前