Commit Graph

205 Commits (484e5088f45847c9d2fa6cdbeb123a100402c40f)

Author SHA1 Message Date
Christian Beier cfdbb94038
Merge pull request #263 from veyon/custom-auth-handlers
LibVNCClient: add support for custom auth handlers
6 years ago
Tobias Junghans 5f9a07d7e1 LibVNCClient: add support for custom auth handlers
This allows to register custom authentication handlers in order to
support additional security types.
6 years ago
Tobias Junghans 66ead2a7f2 rfb: add header guard for default8x16 6 years ago
Christian Beier e611616723
Remove the turbojpeg.h dependency from public headers
Closes #230
6 years ago
Christian Beier 1781ecda34
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define 7 years ago
Christian Beier e775aec64e
build: decouple GnuTLS|OpenSSL detection from WebSockets support 7 years ago
Christian Beier 49f1d8de47
build: remove LIBVNCSERVER_WITH_CLIENT_TLS #define
It is not used anywhere anymore.
7 years ago
Eddie James dd873fce45 Tight: export SendCompressedData and SendTightHeader functions
These functions can be used to send already compressed jpegs to a
client, circumventing the usual rect/region update methods which
operate on a raw rgb framebuffer. Rename the functions with the usual
rfb prefix and add the prototypes in rfb.h.

Signed-off-by: Eddie James <eajames@us.ibm.com>
7 years ago
Christian Beier d34c7b07ac
Merge pull request #203 from dcommander/turbovnc-client
Include Tight decoding optimizations from TurboVNC
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
Wiki Wang beb82f8dde Add trle decoder 8 years ago
Christian Beier df11e806a3
Move HAVE_SASL #ifdefs into header file to have less LOC 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
8 years ago
Christian Beier f48921becf
websockets: restore webSocketCheckDisconnect() to keep API compatibility 8 years ago
Andreas Weigel a90a43cda5
remove Hixie-specific MD5 and check functions 8 years ago
Christian Beier edd1acec7c Merge pull request #176 from simonwaterman/x509verify-openssl
X509 certificate verification for OpenSSL
8 years ago
simon 2c87a631fa X509 certificate verification for OpenSSL 8 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 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 80ad74f761
Fix building for Android and add build instructions to README 8 years ago
Christian Beier e03b5750f8
Merge branch 'circle' of https://github.com/ldmnyblzs/libvncserver into ldmnyblzs-circle
Conflicts:
	libvncclient/rfbproto.c
8 years ago
Christian Beier b551e7017b rfbproto: re-add erroneously removed SOCKET definition 8 years ago
Christian Beier 7edd53ec27 rfbproto: remove SOCKET redefinitions 8 years ago
Christian Beier dbf5f9d514 Fix "rfbBool's size is not 1" runtime error with MSVC 8 years ago
Christian Beier 502e97df1a
CMake: that file ain't used no more 8 years ago
Christian Beier 7368417239 Various #ifdef fixes to allow building with MSVC2014 8 years ago
Christian Beier cd5b38d742 CMake: add a HAVE_SYS_UIO_H flag to rfbconfig.h 8 years ago
Christian Beier dede3aea22 Fix LibVNCClient compilation with MSVC 2014 8 years ago
Balazs Ludmany a01a18df1d Add function pointers for every type of rectangle 9 years ago
Christian Beier c4721ae493 Fix rfbClientSwap64IfLE broken in fe7df89fb1 9 years ago
Christian Beier 6f4f31fe93 Merge pull request #84 from plettix/master
fix for issue 81
9 years ago
Christian Beier cada820645 Only include endian.h if present on system. 9 years ago
Christian Beier ddabcb67a6 Merge pull request #105 from cgeorges82/master
fix for issue #97. Also, this fixes cmake builds for other platforms.
9 years ago
Christian Beier 785f0fa2d1 Merge pull request #103 from rdieter/master
use namespaced vnc_max macro (issue #102)
9 years ago
Christian Beier fc3dfdd9c5 Merge pull request #118 from gbdj/threadsafe-100-squash
libvncclient/tls_gnutls.c: Add hooks to WriteToTLS() for optional protection by mutex. (Squashed)
9 years ago
gbdj 1da7872784 libvncclient/tls_gnutls.c: Add hooks to WriteToTLS() for optional protection by mutex. Fix upstream issue #100
Squashed commit of the pull request #101 :
commit 1c7e01e81862bc46508e675e83c74cc6d63224b0
commit 1e749b094d6696380d3f0540a00138d7e3427874
9 years ago
Rex Dieter 53cc1fa18a use namespaced rfbMax macro (issue #102)
Not using generic 'max', avoids conflicts with stl_algobase.h
9 years ago
zbierak b6cb19982f Increase MAX_ENCODINGS value to accommodate more client encodings
Resolves #112
9 years ago
Cédric Georges 445fb7d531 Append IPv6 option in CMake Project 9 years ago
Christian Beier 9d4cb568b7 Be a bit clearer with the cursorshape documentation for libvncclient. 9 years ago
Christian Beier 4665af4950 Properly document HandleCursorShape and GotCursorShapeProc. 9 years ago
Christian Beier 228a75fe3a Merge pull request #90 from stweil/fix
Fix some recently introduced regressions
9 years ago
Stefan Weil 68d43fb62d Fix definition of POSIX data types
Commit 92f558482d added stdint.h to get
the type definitions, but included it after the first use of int8_t in
builds for Windows.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Stefan Weil b71cc64e58 Fix endianness detection
Commit 97f442ef2a tried to improve the
endianness detection, but introduced a typo and problems for Windows
builds (no endian.h, different definition of LIBVNCSERVER_WORDS_BIGENDIAN).

Fix both issues.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Stefan Weil 9c7efb7633 Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
plettix fe7df89fb1 shift fixes - if an integer is a negative number then the return value of "Swap32IfLE" was -1 10 years ago