summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
Commit message (Collapse)AuthorAgeFilesLines
* IP QoS support in libvncclient.Christian Beier2010-09-291-0/+4
| | | | | | | | | | This enables setting the DSCP/Traffic Class field of IP/IPv6 packets sent by a client. For example starting a client with -qosdscp 184 marks all outgoing traffic for expedited forwarding. Implementation for Win32 is still a TODO, though. See http://betelco.blogspot.com/2009/03/dscp-marking-under-windows-at.html for an overview of the Win32 QoS API mess...
* Call MallocFrameBuffer before SetFormatAndEncodingsWouter Van Meir2010-06-041-3/+3
| | | | | | | | | | | | The hook is still called after InitialiseRFBConnection() so we can choose the color settings depending on the vnc server (or settings) in that hook. This way one can use the "VNC server default format" pixelformat if the client supports it, or perform a workaround (Intel AMT KVM "classic vnc" server only works using 8bit colors in RFB3.8) Signed-off-by: Wouter Van Meir <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* Fix compilation without TLSJohannes Schindelin2010-03-131-0/+2
| | | | Signed-off-by: Johannes Schindelin <[email protected]>
* libvncclient/vncviewer.c: don't set serverPort in rfbInitClient().Christian Beier2010-01-251-1/+0
| | | | | | | | | The serverPort member is already set in rfbGetClient(), if we set it again in rfbInitClient(), this breaks playing of vncrec files (this relies on serverPort set to -1). Signed-off-by: Christian Beier <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* LibVNCClient: make sure that the port is initialized correctly.Johannes Schindelin2010-01-161-6/+7
| | | | | | While at it, adjust coding style. Signed-off-by: Johannes Schindelin <[email protected]>
* Add UltraVNC Repeater support in libvncclientVic Lee2010-01-161-1/+26
| | | | | | | [jes: adjusted coding style, made sure port is initialized correctly] Signed-off-by: Vic Lee <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* Add support for viewers to select security types on demandVic Lee2010-01-011-0/+3
| | | | | Signed-off-by: Vic Lee <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* Fix checks for socket values, 0 is a legal value.Christian Beier2009-11-111-2/+5
| | | | | | | | | | 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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* libvncclient: include winsock2.h in vncviewer.c.Christian Beier2009-11-101-0/+2
| | | | | | | fixes warning about closesocket being implicitly declared. Signed-off-by: Christian Beier <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* Merge branch 'VeNCrypt'Johannes Schindelin2009-11-021-0/+9
|\
| * Add anonymous TLS support in libvncclientVic Lee2009-10-021-0/+9
| | | | | | | | Signed-off-by: Vic Lee <[email protected]>
* | libvncclient: add a non-forking listen function.Christian Beier2009-10-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Forking the whole process from deep within a library call does not really work at all with apps that use multiple threads, i.e. every reasonably modern GUI app. So, provide a non-forking listen function so that the caller can decide if to fork, start a thread, etc. This implementation adds a timeout parameter to be able to call the listen function multiple times so that it's possible to do sth. else in between, e.g. abort listening. Signed-off-by: Christian Beier <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
* | libvncclient: Add FinishedFrameBufferUpdate callbackAlexander Dorokhine2009-10-301-0/+1
|/ | | | | | 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.
* Fix two issues in rfbGetClient()Johannes Schindelin2009-06-161-2/+4
| | | | | | | | | 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 <[email protected]>
* Add close() to rfbClientCleanup()Stefan Becker2009-05-221-0/+2
| | | | Signed-off-by: Johannes Schindelin <[email protected]>
* argv > 0 doesn't make sense for a pointer; assuming argv != NULL.runge2007-08-041-1/+1
|
* LibVNCClient: some users do not want to get whole-screen updates; introduce ↵dscho2007-02-011-6/+19
| | | | client->updateRect for that
* libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclientrunge2007-01-311-1/+1
|
* Client side support for PalmVNC/UltraVNC 'Server Side Scaling'steven_carr2006-05-041-3/+20
|
* Ultra Encoding added. Tested against UltraVNC V1.01steven_carr2006-05-021-1/+1
|
* Eliminate incompatible pointer assignment warning (gcc 4.0.1)steven_carr2006-05-021-2/+2
|
* add KeyboardLedState extensiondscho2006-03-281-1/+6
|
* libvncclient: take -compress <level> and -quality <level> command line argumentsdscho2006-03-271-0/+6
|
* fix client non-jpeg/libz buildsrunge2006-01-081-1/+3
|
* assorted fixes for MinGW32dscho2005-12-191-1/+1
|
* one more memory leakdscho2005-12-071-0/+5
|
* plug memory leaksdscho2005-12-071-2/+17
|
* fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg ↵runge2005-11-251-0/+2
| | | | 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.
* implement ZRLE decodingdscho2005-05-241-1/+1
|
* init a structure *before* using it...dscho2005-05-231-0/+1
|
* make zlib and tight handling thread safe (static -> rfbClient)dscho2005-05-231-0/+9
|
* 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-4/+7
|
* if no argc & argv are passed, honour the serverHost&serverPort which was set ↵dscho2005-01-211-5/+4
| | | | by the application
* argc and argv may be zero (which means to ignore them)dscho2005-01-141-30/+36
|
* support MinGW32!dscho2004-12-011-1/+12
|
* use rfbClientErr to log errors, check if calloc succeded (both hinted by ↵dscho2004-12-011-0/+4
| | | | Andre Leiradella)
* move read buffer to rfbClient structure (thread safety); make rfbClientLogdscho2004-10-161-1/+5
| | | | overrideable
* no need to modify argvdscho2004-10-151-2/+4
|
* do not use GNU-only getlinedscho2004-06-301-3/+12
|
* support password reading with getpass(); support -play to play vncrec'orded ↵dscho2004-06-181-6/+35
| | | | files
* add client_examples/, add SDLvncviewer, libvncclient API changes, suppress ↵dscho2004-06-071-5/+56
| | | | automake CFLAGS nagging
* API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h ↵dscho2003-07-301-3/+3
| | | | get prefix "LIBVNCSERVER_"
* further valgrinding showed leaked mallocsdscho2003-07-291-0/+4
|
* fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr ↵dscho2003-07-281-129/+12
| | | | should not be used in a library (use rfbLog instead)
* first alpha version of libvncclientdscho2003-07-271-0/+240