Christian Beier
77dce5b6af
CMake: only do jpeg-turbo tests if a libjpeg was found
6 years ago
Christian Beier
79516a6aa3
CMake: make get_link_libraries() not crash when there are no linked libraries at all
6 years ago
Christian Beier
bfdb850bfb
SDLvncviewer: use SDL2 for clipboard handling
...
By using this, we can get rid of our own homebrewn solution scrap.[c|h] and drop X11 from the build system.
6 years ago
Christian Beier
4d3c7dfc04
CMake: look for SDL2 instead of SDL
...
FindSDL2.cmake was downloaded from
https://github.com/tcbrindle/sdl2-cmake-scripts/blob/master/FindSDL2.cmake
6 years ago
Christian Beier
1781ecda34
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define
6 years ago
Christian Beier
e775aec64e
build: decouple GnuTLS|OpenSSL detection from WebSockets support
6 years ago
Christian Beier
a2ebdf46cc
CMake: declare that websockets depend on crypto
6 years ago
Christian Beier
85fb69515c
crypto: move to common
...
As of now, only LibVNCServer makes uses of these digest functions _and_
they depend on sys/uio.h, but in the future LibVNCClient will need those
as well.
6 years ago
Christian Beier
5c0ff7e072
CMake: require FFMPEG version >= 3.1.0
...
re #231
7 years ago
Christian Beier
71c3215d8f
SDLvncviewer: enable the X11 clipboard if X11 was found
7 years ago
DRC
d7b14624cb
Include Tight decoding optimizations from TurboVNC
...
- As with the encoder, the decoder now uses the TurboJPEG wrapper, which
allows it to decode JPEG images directly into the framebuffer. This
eliminates a buffer copy (CopyRectangle()) as well as the expensive
RGB pixel conversion in DecompressJpegRectBPP(). The TurboJPEG
wrapper performs RGB pixel conversion more optimally, and only when
necessary (it uses the libjpeg-turbo colorspace extensions when
available, in order to avoid RGB conversion.)
- The other Tight subencoding types are also now decoded directly into
the framebuffer, which eliminates buffer copies.
- The Tight decoder now supports the rfbTightNoZlib extension, which
allows the server to bypass zlib compression when Compression Level 0
is selected. The encoder already supports this extension. Passing
the data stream through zlib when Compression Level 0 is selected
needlessly wastes CPU time, since all zlib is doing is copying the
data internally into its own structures.
7 years ago
Christian Beier
6814e946e0
libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming of other files
7 years ago
Christian Beier
98e1be528f
Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into simonwaterman-sasl2
7 years ago
simon
cb4e15c1ae
Added SASL authentication support
...
Added SASL support to OpenSSL
7 years ago
Jocelyn Le Sage
e8a1ca2035
Fixed compilation of websockets on system where there is no implementation of base64 functions.
7 years ago
Christian Beier
0e76b289c8
websockets: only build tests for a websockets-enabled build
7 years ago
Andreas Weigel
8fefdcde27
fix problems in test and requests for cmake build
...
add missing stdarg header
fix hardcoded errno integer values in tests
add dependency to wstestdata and rename to prevent building it as c
source
7 years ago
Andreas Weigel
826e0f9e39
add generation wstest to cmake
...
add wstestdata.c, because the python data generation script has too many
dependencies
remove some redundance from jpeg test creation
add support for decoding close messages
7 years ago
Christian Beier
c80879ee69
CMake: add all function checks that used to be in configure.ac
...
Fixes #174
8 years ago
Christian Beier
81d5b844ed
CMake: properly name rfbconfig.h cmake template
8 years ago
Christian Beier
5e6a0daed5
Merge branch 'tmcqueengit push origin master-materials-patch-1'
8 years ago
Christian Beier
7ccae55b59
CMake: include a FindFFMPEG module and use it
...
Thankfully taken from https://github.com/robotology/ycm/blob/master/find-modules/FindFFMPEG.cmake
8 years ago
Christian Beier
fc2899af7a
CMake: set LIBVNCSERVER_HAVE_FORK in rfbconfig.h if fork() found
8 years ago
Christian Beier
2197b415f2
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found
8 years ago
Christian Beier
6d4bb07ea6
CMake: detect mmap() and write result to rfbconfig.h
8 years ago
Christian Beier
ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android
8 years ago
Christian Beier
5b920be490
CMake: when crosscompiling for Android, don't look for systemd
8 years ago
Christian Beier
0d5d16b4a7
CMake: only build TurboJPEG unit tests if lib has jpeg support
8 years ago
Christian Beier
06978dee89
CMake: remove check for C++ compiler
...
We don't have any C++ sources.
8 years ago
Christian Beier
417eb7590b
CMake: only add tjunittest if turbojpeg found
8 years ago
Christian Beier
9198875122
CMake: enable the tests that succeed
8 years ago
Christian Beier
f21825bac0
CMake: add libm to tests only on Unix
8 years ago
Christian Beier
a6c599a5fc
CMake: build the tests
8 years ago
Christian Beier
ebbbc8bd1b
CMake: properly name examples as examples, not tests
8 years ago
Christian Beier
3a9e3601be
CMake: make shared-lib build configurable and choose sensible platform defaults
8 years ago
Christian Beier
d3e70a91bf
CMake: set examples's output dirs in a cross-platform way
8 years ago
Christian Beier
13d8a6c9c2
CMake: set OpenSSL include dir regardless of websockets being enabled or not
8 years ago
Christian Beier
8e90e892c5
CMake: the blooptest example needs pthreads
8 years ago
Christian Beier
05c6c6deac
CMake: fix examples linking when building with MSVC
8 years ago
Christian Beier
9ef3ed395f
CMake: as of now, the tight sources need libjpeg, libpng alone is not enough
8 years ago
Christian Beier
37f293d588
CMake: as of now, websockets support requires sys/uio.h
8 years ago
Christian Beier
3c0828269c
CMake: TightVNC-filetransfer requires pthreads as of now
8 years ago
CHris B
882c8f3477
CMake: fix build system generation when zlib or OpenSSL not found
8 years ago
CHris B
d08fd0182d
CMake: do not include NOTFOUND libs in pkg-config snippets
8 years ago
Christian Beier
6aa41e11a0
CMake: make the build configurable.
8 years ago
Christian Beier
7b4ef2f687
CMake: remove platform-specific flags.
8 years ago
Christian Beier
07d5101f6a
CMake: bump version.
8 years ago
Christian Beier
cc835fa938
CMake: generate and install pkgconfig files.
8 years ago
Christian Beier
2f54d3ef62
CMake: bump SOVERSION to 1.
...
Fixes https://github.com/LibVNC/libvncserver/issues/149
8 years ago
Christian Beier
cc2c604605
CMake: update bugreport path
8 years ago