Commit Graph

198 Commits (85fb69515cf1739bea53ce62b832a17e08ab3647)

Author SHA1 Message Date
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
Christian Beier 97f442ef2a Instead of letting the build system define endianess, rely on endian.h. 10 years ago
Christian Beier 92f558482d Do away with rfbint.h generation and use stdint.h directly instead. 10 years ago
Christian Beier 612de004c4 Revert "LibVNCClient: Add H.264 encoding for framebuffer updates"
This reverts commit d891478ec9.

Conflicts:
	configure.ac
	libvncclient/h264.c
10 years ago
Floris Bos 6836ccb208 Fix handling of multiple VNC commands per websockets frame
- When processing input, check if there is any extra data
  pending in the internal websocket frame and SSL buffers.
- Prevents input events lagging behind because they get
  stuck in one of the buffers.
  Data pending in our own buffers cannot be detected with
  select() so was not processed until more input arrives
  from the network.
- Closes # 55

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
10 years ago
Daniel Cohen Gindi e69e1efd75 Those are generally the windows headers, not just MinGW 11 years ago
Daniel Cohen Gindi 901eba9f46 Generally adjusting headers for compiling on windows without the mixing of Winsock 1 and 2. 11 years ago
Daniel Cohen Gindi e26aeb4062 MSVC: Use the Unix emulation headers
[JES: provided commit message, split out unrelated changes]

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 years ago