summaryrefslogtreecommitdiffstats
path: root/libvncclient/rfbproto.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix version checking (>=3.8) for rfbVncAuthOK confirmation when no password ↵Vic Lee2009-12-221-2/+4
| | | | | | | | | | | | required It seems that vino does not send AuthOK when there is no password with anonymous TLS, and it seems that vino is the only <3.8 VNC server that handles anonymous TLS at all, so let's not wait for the packet that will never come. Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix checks for socket values, 0 is a legal value.Christian Beier2009-11-111-1/+1
| | | | | | | | | | To make this work, we also have to initialize sockets to a default value of -1. Also close a client listen socket if it's open. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Merge branch 'VeNCrypt'Johannes Schindelin2009-11-021-91/+324
|\
| * Add MSLogon security typeVic Lee2009-11-021-8/+116
| | | | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Add VeNCrypt support in libvncclientVic Lee2009-10-021-1/+74
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
| * Add anonymous TLS support in libvncclientVic Lee2009-10-021-91/+143
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
* | libvncclient: Add FinishedFrameBufferUpdate callbackAlexander Dorokhine2009-10-301-0/+3
| | | | | | | | | | | | When working on a program which searches the display for some image, one does not want to search again without getting an FB update. Add a callback to make this possible.
* | Some broken build environments treat fprintf(fh, buf) as a fatal error...runge2009-10-071-1/+1
| |
* | mingw32 crosscompile fixes.Christian Beier2009-10-021-0/+2
|/ | | | | | | | | | | SOCKET is redefined in winsock2.h so #undef it where winsock2.h is included. The changes in rfbproto.c circumvent crosscompiler errors like 'S_IFMT' undeclared ...', the Makefile.am changes avoid building linux specific stuff for a win32 host target. Also added configure option to specify sdl-config. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix IsUnixSocket()Christian Beier2009-10-021-1/+1
| | | | | | | | 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>
* Fix bug for logging unsupported security typesVic Lee2009-09-271-6/+26
| | | | Signed-off-by: Vic Lee <llyzs@163.com>
* Fix bug for VNC Server version 4Vic Lee2009-09-271-1/+4
| | | | Signed-off-by: Vic Lee <llyzs@163.com>
* libvncclient: Unix sockets support by Ben KlopfensteinBen Klopfenstein2009-05-121-5/+24
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* ZYWRLE patch for libvncclient (thanks Noriaki Yamazaki)dscho2008-02-041-3/+23
| | | | | | | | | | | | | | | | 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>
* LibVNCClient: if the GotRect hook is set, override default op.dscho2007-08-141-2/+2
|
* LibVNCClient: some users do not want to get whole-screen updates; introduce ↵dscho2007-02-011-2/+3
| | | | client->updateRect for that
* libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclientrunge2007-01-311-3/+28
|
* make cut text handling using a hookdscho2006-09-111-11/+9
|
* RFB 3.8 clients are well informedsteven_carr2006-06-051-36/+56
|
* The great UltraVNC Compatibility Commitsteven_carr2006-05-151-30/+336
|
* Server Capability Encodingssteven_carr2006-05-041-24/+83
| | | | | | | 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)"
* UltraVNC with scaling, will send rectangles with a zero W or Hsteven_carr2006-05-041-3/+8
| | | | | | 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.
* Client side support for PalmVNC/UltraVNC 'Server Side Scaling'steven_carr2006-05-041-1/+48
|
* Ultra Encoding added. Tested against UltraVNC V1.01steven_carr2006-05-021-16/+76
|
* CopyRectangle() BPP!=8 bug fixedsteven_carr2006-05-021-1/+1
|
* libvncclient: support changing of framebuffer size; make SDLvncviewer use itdscho2006-04-281-15/+27
|
* add KeyboardLedState extensiondscho2006-03-281-0/+21
|
* fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg ↵runge2005-11-251-0/+4
| | | | 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.
* add an extension mechanism for LibVNCClient, modify the client data handlingdscho2005-10-061-15/+86
| | | | | so that more than one data structure can be attached, and add an example to speak the client part of the back channel.
* implement ZRLE decodingdscho2005-05-241-0/+52
|
* make zlib and tight handling thread safe (static -> rfbClient)dscho2005-05-231-129/+0
|
* hide strict ansi stuff if not explicitely turned on; actually use the ↵dscho2005-05-181-0/+2
| | | | socklen_t test from configure.ac
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-151-11/+13
|
* support MinGW32!dscho2004-12-011-0/+2
|
* move read buffer to rfbClient structure (thread safety); make rfbClientLogdscho2004-10-161-3/+7
| | | | overrideable
* global structures/functions should have "rfb", "sra" or "zrle" as prefix,dscho2004-08-301-10/+10
| | | | while structure members should not
* support password reading with getpass(); support -play to play vncrec'orded ↵dscho2004-06-181-17/+48
| | | | files
* recognize more encodingsdscho2004-06-151-0/+6
|
* fix silly update bug with raw encodingdscho2004-06-151-8/+9
|
* move the library into libvncserver/, x11vnc into x11vnc/dscho2004-05-251-2/+2
|
* make --without-jpeg, --without-zlib workdscho2003-08-081-1/+25
|
* API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h ↵dscho2003-07-301-36/+36
| | | | get prefix "LIBVNCSERVER_"
* further valgrinding showed leaked mallocsdscho2003-07-291-4/+4
|
* fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr ↵dscho2003-07-281-109/+144
| | | | should not be used in a library (use rfbLog instead)
* first alpha version of libvncclientdscho2003-07-271-0/+1052