Christian Beier
d4c43c1b73
libvncclient: include winsock2.h in vncviewer.c.
...
fixes warning about closesocket being implicitly declared.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
Johannes Schindelin
f49a292783
Merge branch 'VeNCrypt'
15 years ago
Christian Beier
0a4f1bada4
libvncclient: add a non-forking listen function.
...
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 <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
Alexander Dorokhine
62ae6bb7be
libvncclient: Add FinishedFrameBufferUpdate callback
...
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.
15 years ago
Vic Lee
58a8df6ff2
Add anonymous TLS support in libvncclient
...
Signed-off-by: Vic Lee <llyzs@163.com>
15 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>
15 years ago
Stefan Becker
0e7499fb39
Add close() to rfbClientCleanup()
...
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
runge
0f162f1f0b
argv > 0 doesn't make sense for a pointer; assuming argv != NULL.
17 years ago
dscho
14b290384a
LibVNCClient: some users do not want to get whole-screen updates; introduce client->updateRect for that
18 years ago
runge
1f8da9bde3
libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclient
18 years ago
steven_carr
5865f0c4b7
Client side support for PalmVNC/UltraVNC 'Server Side Scaling'
18 years ago
steven_carr
afa9fae024
Ultra Encoding added. Tested against UltraVNC V1.01
18 years ago
steven_carr
18cd366896
Eliminate incompatible pointer assignment warning (gcc 4.0.1)
18 years ago
dscho
1602b345f3
add KeyboardLedState extension
18 years ago
dscho
199ec23a05
libvncclient: take -compress <level> and -quality <level> command line arguments
18 years ago
runge
def3012663
fix client non-jpeg/libz builds
19 years ago
dscho
1b81e342cb
assorted fixes for MinGW32
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.
19 years ago
dscho
b225ee993a
implement ZRLE decoding
19 years ago
dscho
1b830d0446
init a structure *before* using it...
19 years ago
dscho
669b4c8685
make zlib and tight handling thread safe (static -> rfbClient)
19 years ago
dscho
ee52441372
hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac
19 years ago
dscho
8bee4eb990
ANSIfy, fix some warnings from Linus' sparse
19 years ago
dscho
ba10bceedd
if no argc & argv are passed, honour the serverHost&serverPort which was set by the application
20 years ago
dscho
b7dae538f6
argc and argv may be zero (which means to ignore them)
20 years ago
dscho
658b65ad0c
support MinGW32!
20 years ago
dscho
7d3b1c9762
use rfbClientErr to log errors, check if calloc succeded (both hinted by Andre Leiradella)
20 years ago
dscho
b583cf5347
move read buffer to rfbClient structure (thread safety); make rfbClientLog
...
overrideable
20 years ago
dscho
31d0617d3d
no need to modify argv
20 years ago
dscho
b68e387949
do not use GNU-only getline
20 years ago
dscho
11271316d3
support password reading with getpass(); support -play to play vncrec'orded files
20 years ago
dscho
2b8c2a5c3a
add client_examples/, add SDLvncviewer, libvncclient API changes, suppress automake CFLAGS nagging
20 years ago
dscho
eeb2061dfb
API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_"
21 years ago
dscho
964aa1628f
further valgrinding showed leaked mallocs
21 years ago
dscho
13b358fed1
fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead)
21 years ago
dscho
0fc57f2054
first alpha version of libvncclient
21 years ago