Commit Graph

77 Commits (68964c29d97b9b9d9d5bfbe685eb05c3c17c5fd1)

Author SHA1 Message Date
Vic Lee 58a8df6ff2 Add anonymous TLS support in libvncclient
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
Christian Beier c652b55f74 Fix IsUnixSocket()
This is a pure functionality fix: according to its manpage, stat()
returns 0 on success. Checking for a return value of zero fixes
incorrect results of IsUnixSocket().

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Vic Lee 2f9836d81a Fix bug for logging unsupported security types
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
Vic Lee 4e1aba74e6 Fix bug for VNC Server version 4
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
Johannes Schindelin ef33182694 Fix two issues in rfbGetClient()
There was an unnecessary assignment, and an assignment of a string that
was to be free()ed later, so it has to be strdup()ed.

Both issues spotted by Roman Held.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Stefan Becker 0e7499fb39 Add close() to rfbClientCleanup()
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Ben Klopfenstein d7c0b34b62 libvncclient: Unix sockets support by Ben Klopfenstein
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
dscho 3d2eab575e clean up build flags
The flag handling (both compiler options and include paths) are a mess at
the moment.  There is no point in forcing "-O2 -g" when these are already
the defaults, and if someone changes the defaults, chances are good they
don't want you clobbering their choices.

The -Wall flag should be handled in configure and thrown into CFLAGS once
rather than every Makefile.am.  Plus, this way we can control which
compilers the flag actually gets used with.

Finally, the INCLUDES variable is for -I paths, not AM_CFLAGS.  Nor should
it contain -I. as this is already in the default includes setup.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
dscho 26b79b89db ZYWRLE patch for libvncclient (thanks Noriaki Yamazaki)
Highlite:
 * use qualityLevel/zlib_buffer. No new variable is needed.
 * Change coding style to recursive fashion.
 * Change meaning of qualityLevel== 9 for easy calc zywrle_level:
     old:zywrle_level== 1
     new:disable ZYWRLE(same as ZRLE)
   so, we should not use this value for compatible reason.
 * Color mode handling isn't complete.
   I provided and checked 16 bit colors(RGB555,RGB565) and
   some color mode of 32 bit colors for little endian mode.
   we must make and check 24 bit colors and big endian mode.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
17 years ago
dscho eb2eeed97e LibVNCClient: if the GotRect hook is set, override default op. 18 years ago
runge 0f162f1f0b argv > 0 doesn't make sense for a pointer; assuming argv != NULL. 18 years ago
dscho ca805667e6 Build shared libraries per default
Thanks to Guillaume Rousse, we now use libtool to build shared libraries.
18 years ago
dscho 14b290384a LibVNCClient: some users do not want to get whole-screen updates; introduce client->updateRect for that 18 years ago
dscho 35d481a783 sometimes zrle sends too many bytes; play safe 18 years ago
runge 1f8da9bde3 libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclient 18 years ago
dscho 6cfd9afee9 make cut text handling using a hook 19 years ago
steven_carr a60ee2ee9f RFB 3.8 clients are well informed 19 years ago
steven_carr ccdbe8f325 The great UltraVNC Compatibility Commit 19 years ago
runge 347c4a9847 fix some build issues WRT ultravnc code. 19 years ago
steven_carr 0d734ad896 Server Capability Encodings
rfbEncodingSupportedEncodings - What encodings are supported?
rfbEncodingSupportedMessages  - What message types are supported?
rfbEncodingServerIdentity     - What is the servers version string?
ie: "x11vnc: 0.8.1 lastmod: 2006-04-25 (LibVNCServer 0.9pre)"
19 years ago
steven_carr 2eded94f7b UltraVNC with scaling, will send rectangles with a zero W or H
We need to process the rectangle (especially if it a type that contains
subrectangles or any kind of compression).   UltraVNC should be fixed to
prevent these useless rectangles from being sent.
19 years ago
steven_carr 5865f0c4b7 Client side support for PalmVNC/UltraVNC 'Server Side Scaling' 19 years ago
steven_carr afa9fae024 Ultra Encoding added. Tested against UltraVNC V1.01 19 years ago
steven_carr e57c4dcd71 CopyRectangle() BPP!=8 bug fixed 19 years ago
steven_carr 18cd366896 Eliminate incompatible pointer assignment warning (gcc 4.0.1) 19 years ago
steven_carr 422491c98a signed vs unsigned warnings eliminated (gcc 4.0.1) 19 years ago
dscho 7602f0e750 libvncclient: support changing of framebuffer size; make SDLvncviewer use it 19 years ago
runge 3c80351a1c Make VPATH building work with -I $(top_srcdir) for rfb/rfb.h 19 years ago
dscho 1602b345f3 add KeyboardLedState extension 19 years ago
dscho 199ec23a05 libvncclient: take -compress <level> and -quality <level> command line arguments 19 years ago
runge def3012663 fix client non-jpeg/libz builds 19 years ago
dscho 1b81e342cb assorted fixes for MinGW32 19 years ago
dscho 3a8d4bdbe6 work around write() returning ENOENT on Solaris 2.7 19 years ago
dscho 9e78be39cc one more memory leak 19 years ago
dscho 61204490ce plug memory leaks 19 years ago
runge 8eb18f6cd8 fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg builds, disable tightvnc-filetransfer if no libpthread, add --without-pthread option, rm // comments, set NAME_MAX if not defined, x11vnc: throttle load if fb update requests not taking place. 20 years ago
dscho 194a76df11 add an extension mechanism for LibVNCClient, modify the client data handling
so that more than one data structure can be attached, and add an example
to speak the client part of the back channel.
20 years ago
dscho 5c1fdb47d3 fix warning 20 years ago
dscho 808b6a0b23 do it right: it is not DEFINES, but AM_CFLAGS 20 years ago
dscho 0a909fde7a This monster commit contains support for TightVNC's file transfer protocol.
Thank you very much, Rohit!
20 years ago
dscho 462ffd3f3e fix annoying zrle decoding bug 20 years ago
dscho 8f4b4e267d do distribute and depend on zrle.c 20 years ago
dscho b225ee993a implement ZRLE decoding 20 years ago
dscho 1b830d0446 init a structure *before* using it... 20 years ago
dscho 53387007ba remove wrong comment 20 years ago
dscho 669b4c8685 make zlib and tight handling thread safe (static -> rfbClient) 20 years ago
dscho ee52441372 hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac 20 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
runge b8b96689bf add '-listen ipaddr' option 20 years ago
dscho ba10bceedd if no argc & argv are passed, honour the serverHost&serverPort which was set by the application 20 years ago