summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
Commit message (Collapse)AuthorAgeFilesLines
* IPv6 support for LibVNCServer, part two: Let the http server listen on IPv6, ↵Christian Beier2012-02-271-0/+2
| | | | | | too. As done with the RFB sockets, this uses a separate-socket approach as well.
* IPv6 support for LibVNCServer, part one: accept IPv4 and IPv6 connections.Christian Beier2012-02-201-0/+7
| | | | | | | | | This uses a separate-socket approach since there are systems that do not support dual binding sockets under *any* circumstances, for instance OpenBSD. Using separate sockets for IPv4 and IPv6 is thus more portable than having a v6 socket handle v4 connections as well. Signed-off-by: Christian Beier <[email protected]>
* Support Mac OS X vnc client with no passwordKyle J. McKay2012-02-111-1/+32
| | | | | | Support connections from the Mac OS X built-in VNC client to LibVNCServers running with no password and advertising a server version of 3.7 or greater.
* Rename 'classes' dir to 'webclients'.Christian Beier2011-11-091-1/+1
|
* Merge branch 'websockets'Christian Beier2011-10-041-2/+38
|\
| * websockets: Move Hixie disconnect hack to websockets.cGernot Tenchio2011-08-251-2/+1
| | | | | | | | | | | | Move the hixie disconnect hack to websockets.c. Removed the remaining websockets vars from rfbClientPtr, so all websockets stuff is hidden behind an opaque pointer.
| * websockets: Initial HyBi supportGernot Tenchio2011-08-251-9/+3
| |
| * websockets: Add wspath member to rfbClientRecGernot Tenchio2011-08-171-0/+1
| | | | | | | | | | | | | | Added wspath member to rfbClientRec which holds the path component of the initial websocket request. Signed-off-by: Johannes Schindelin <[email protected]>
| * websockets: Add encryption supportGernot Tenchio2011-08-171-1/+8
| | | | | | | | | | | | | | [jes: moved out GnuTLS and OpenSSL support, added a dummy support, to separate changes better, and to keep things compiling] Signed-off-by: Johannes Schindelin <[email protected]>
| * websockets: Initial WebSockets support.Joel Martin2011-08-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Has a bug: WebSocket client disconnects are not detected. rfbSendFramebufferUpdate is doing a MSG_PEEK recv to determine if enough data is available which prevents a disconnect from being detected. Otherwise it's working pretty well. [jes: moved added struct members to the end for binary compatibility with previous LibVNCServer versions, removed an unused variable] Signed-off-by: Johannes Schindelin <[email protected]>
| * tightPng: Add initial tightPng encoding support.Joel Martin2011-07-221-2/+15
| | | | | | | | | | | | | | http://wiki.qemu.org/VNC_Tight_PNG Signed-off-by: Joel Martin <[email protected]> Signed-off-by: Christian Beier <[email protected]>
* | Adopt autotools build system to Android.Christian Beier2011-07-231-1/+1
| | | | | | | | LibVNCServer/LibVNCClient now build for Android!
* | Make LibVNCServer build for Android.letsgoustc2011-07-221-0/+5
|/ | | | Signed-off-by: Christian Beier <[email protected]>
* Fix rfbProcessNewConnection to return some value instead of void.George Kiagiadakis2011-06-011-1/+1
| | | | | | BUG: 256891 Signed-off-by: Christian Beier <[email protected]>
* Split two event-loop related functions out of the rfbProcessEvents() mechanism.George Kiagiadakis2011-06-011-0/+6
| | | | | | | This is required to be able to do proper event loop integration with Qt. Idea was taken from vino's libvncserver fork. Signed-off-by: Christian Beier <[email protected]>
* Fix compilation in c89 mode.George Kiagiadakis2011-04-281-2/+2
| | | | Signed-off-by: Johannes Schindelin <[email protected]>
* libvncserver: Make RRE, CoRRE and Ultra encodings thread-safe.Christian Beier2011-02-071-0/+7
| | | | | | | This adds generic before/after encoding buffers to the rfbClient struct, so there is no need for thread local storage. Signed-off-by: Christian Beier <[email protected]>
* Add doxygen documentation support.Christian Beier2010-11-181-104/+282
| | | | | | | | | | | | | Adds automagically generating libvncserver/libvncclient API documentation using doxygen. This gives a nice overview on both APIs, include dependencies and function call/caller dependencies. TODO: Modify all the explaining comments in the .c files for use with doxygen as well. This patch only changes comments, no functional changes at all! Signed-off-by: Christian Beier <[email protected]>
* libvnc[server|client]: implement xvp VNC extension.Christian Beier2010-11-021-0/+3
| | | | | | | This implements the xvp VNC extension, which is described in the community version of the RFB protocol: http://tigervnc.sourceforge.net/cgi-bin/rfbproto It is also mentioned in the official RFB protocol.
* Non-blocking sockets for Windows.Christian Beier2010-09-131-0/+1
| | | | | | | | | | | Expands the SetNonBlocking() function in libvncclient/sockets.c to also work under Windows and also changes it to honour maybe already present socket flags. A similar function was introduced for libvncserver as well and all the #ifdef'ed fnctl calls replaced with calls to that one. Signed-off-by: Christian Beier <[email protected]>
* Implement a DisplayFinishedHook for libvncserver.Christian Beier2010-05-191-0/+4
| | | | | | | If set, this hook gets called just before rfbSendFrameBufferUpdate() returns. Signed-off-by: Christian Beier <[email protected]>
* mingw32 crosscompile fixes.Christian Beier2009-10-021-0/+1
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* Thread safety for zrle, zlib, tight.runge2009-05-211-0/+11
| | | | Proposed tight security type fix for debian bug 517422.
* Move tightQualityLevel out of the JPEG specific partdscho2008-01-311-1/+2
| | | | | | | | The variable tightQualityLevel is used for ZYWRLE compression, too, so if libjpeg is not present, but libz is, we still need to have that struct member. Signed-off-by: Johannes Schindelin <[email protected]>
* Make ZYWRLE thread-safe for multiple clientsdscho2008-01-301-0/+2
| | | | | | | | ZYWRLE used a static buffer, which does not work too well if you have more than one client in a threaded server. Instead, we have the data in the client structure now. Signed-off-by: Johannes Schindelin <[email protected]>
* rfb.h: Do not misplace guardsdscho2007-04-061-1/+3
| | | | This buglet made it impossible to double include rfb.h from C++.
* Permit auth.c to test major versionsteven_carr2006-05-161-0/+1
|
* Support sending TextChat messages back to the clientsteven_carr2006-05-151-0/+2
|
* Default to RFB 3.8, add command line option to specify the RFB version.steven_carr2006-05-151-0/+3
|
* The great UltraVNC Compatibility Commitsteven_carr2006-05-151-16/+95
|
* Server Capability Encodingssteven_carr2006-05-041-0/+7
| | | | | | | 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)"
* Client Independent Server Side Scaling is now supportedsteven_carr2006-05-031-0/+10
| | | | Both PalmVNC and UltraVNC SetScale messages are supported
* Ultra Encoding added. Tested against UltraVNC V1.01steven_carr2006-05-021-0/+17
|
* add KeyboardLedState extensiondscho2006-03-281-1/+8
|
* add handleEventsEagerly flag (Thanks, Donald)dscho2006-02-281-1/+4
|
* Added method to get extension specific client datarohit_991292006-02-241-1/+1
|
* Added method to get extension specific client datarohit_991292006-02-241-0/+1
|
* add functions to unregister extensions/security typesdscho2006-02-221-0/+3
|
* introduce -deferptrupdate (thanks Dave)dscho2005-12-191-0/+7
|
* The PseudoEncoding extension code was getting silly:dscho2005-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | If the client asked for an encoding, and no enabled extension handled it, LibVNCServer would walk through all extensions, and if they promised to handle the encoding, execute the extension's newClient() if it was not NULL. However, if newClient is not NULL, it will be called when a client connects, and if it returns TRUE, the extension will be enabled. Since all the state of the extension should be in the client data, there is no good reason why newClient should return FALSE the first time (thus not enabling the extension), but TRUE when called just before calling enablePseudoEncoding(). So in effect, the extension got enabled all the time, even if that was not necessary. The resolution is to pass a void** to enablePseudoEncoding. This has the further advantage that enablePseudoEncoding can remalloc() or free() the data without problems. Though keep in mind that if enablePseudoEncoding() is called on a not-yet-enabled extension, the passed data points to NULL.
* kill BackChannel and CustomClientMessage: the new extension technique makes ↵dscho2005-10-061-13/+0
| | | | these hooks obsolete
* provide a list of the pseudo encodings understood by the extensiondscho2005-10-061-1/+5
|
* add enablePseudoEncoding() to rfbProtocolExtensiondscho2005-10-031-0/+3
|
* This monster commit contains support for TightVNC's file transfer protocol.dscho2005-09-281-5/+15
| | | | Thank you very much, Rohit!
* Introduce generic protocol extension method. Deprecatedscho2005-09-271-1/+30
| | | | the processCustomClientMessage() method.
* Security is global. This was a misguided attempt to evade a global list.dscho2005-09-271-4/+1
| | | | I eventually saw the light and went with Rohit�s original approach.
* support VNC protocol version 3.7dscho2005-09-261-1/+21
|
* fix compilation for systems without socklen_tdscho2005-05-181-4/+0
|
* hide strict ansi stuff if not explicitely turned on; actually use the ↵dscho2005-05-181-0/+4
| | | | socklen_t test from configure.ac
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-151-1/+4
|