Commit Graph

95 Commits (343eaabd7c910676a9985f1585e2cd4adebaaaa7)

Author SHA1 Message Date
Christian Beier 6566ba5f02
CMake: require some form of hton64() for websockets
Closes #127
7 years ago
Christian Beier 5f3ea4e53d
CMake: build the repeater example as well 7 years ago
Christian Beier 5c968dd8a4 CMake: fix build error that occured on Windows with CMake 3.12 7 years ago
Christian Beier 77dce5b6af
CMake: only do jpeg-turbo tests if a libjpeg was found 7 years ago
Christian Beier 79516a6aa3
CMake: make get_link_libraries() not crash when there are no linked libraries at all 8 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.
8 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
8 years ago
Christian Beier 1781ecda34
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define 8 years ago
Christian Beier e775aec64e
build: decouple GnuTLS|OpenSSL detection from WebSockets support 8 years ago
Christian Beier a2ebdf46cc
CMake: declare that websockets depend on crypto 8 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.
8 years ago
Christian Beier 5c0ff7e072
CMake: require FFMPEG version >= 3.1.0
re #231
8 years ago
Christian Beier 71c3215d8f
SDLvncviewer: enable the X11 clipboard if X11 was found 8 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.
8 years ago
Christian Beier 6814e946e0
libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming of other files 8 years ago
Christian Beier 98e1be528f
Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into simonwaterman-sasl2 8 years ago
simon cb4e15c1ae Added SASL authentication support
Added SASL support to OpenSSL
9 years ago
Jocelyn Le Sage e8a1ca2035 Fixed compilation of websockets on system where there is no implementation of base64 functions. 9 years ago
Christian Beier 0e76b289c8
websockets: only build tests for a websockets-enabled build 9 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
9 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
9 years ago
Christian Beier c80879ee69
CMake: add all function checks that used to be in configure.ac
Fixes #174
9 years ago
Christian Beier 81d5b844ed
CMake: properly name rfbconfig.h cmake template 9 years ago
Christian Beier 5e6a0daed5
Merge branch 'tmcqueengit push origin master-materials-patch-1' 9 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
9 years ago
Christian Beier fc2899af7a
CMake: set LIBVNCSERVER_HAVE_FORK in rfbconfig.h if fork() found 9 years ago
Christian Beier 2197b415f2
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found 9 years ago
Christian Beier 6d4bb07ea6
CMake: detect mmap() and write result to rfbconfig.h 9 years ago
Christian Beier ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android 9 years ago
Christian Beier 5b920be490
CMake: when crosscompiling for Android, don't look for systemd 9 years ago
Christian Beier 0d5d16b4a7
CMake: only build TurboJPEG unit tests if lib has jpeg support 9 years ago
Christian Beier 06978dee89 CMake: remove check for C++ compiler
We don't have any C++ sources.
9 years ago
Christian Beier 417eb7590b CMake: only add tjunittest if turbojpeg found 9 years ago
Christian Beier 9198875122
CMake: enable the tests that succeed 9 years ago
Christian Beier f21825bac0
CMake: add libm to tests only on Unix 9 years ago
Christian Beier a6c599a5fc
CMake: build the tests 9 years ago
Christian Beier ebbbc8bd1b
CMake: properly name examples as examples, not tests 9 years ago
Christian Beier 3a9e3601be
CMake: make shared-lib build configurable and choose sensible platform defaults 9 years ago
Christian Beier d3e70a91bf CMake: set examples's output dirs in a cross-platform way 9 years ago
Christian Beier 13d8a6c9c2
CMake: set OpenSSL include dir regardless of websockets being enabled or not 9 years ago
Christian Beier 8e90e892c5 CMake: the blooptest example needs pthreads 9 years ago
Christian Beier 05c6c6deac CMake: fix examples linking when building with MSVC 9 years ago
Christian Beier 9ef3ed395f CMake: as of now, the tight sources need libjpeg, libpng alone is not enough 9 years ago
Christian Beier 37f293d588 CMake: as of now, websockets support requires sys/uio.h 9 years ago
Christian Beier 3c0828269c CMake: TightVNC-filetransfer requires pthreads as of now 9 years ago
CHris B 882c8f3477 CMake: fix build system generation when zlib or OpenSSL not found 9 years ago
CHris B d08fd0182d CMake: do not include NOTFOUND libs in pkg-config snippets 9 years ago
Christian Beier 6aa41e11a0
CMake: make the build configurable. 9 years ago
Christian Beier 7b4ef2f687 CMake: remove platform-specific flags. 9 years ago
Christian Beier 07d5101f6a
CMake: bump version. 9 years ago