You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libtdevnc/libvncserver
dscho 951ec26b7c The PseudoEncoding extension code was getting silly:
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.
21 years ago
..
tightvnc-filetransfer kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete 21 years ago
.cvsignore This monster commit contains support for TightVNC's file transfer protocol. 21 years ago
Makefile.am This monster commit contains support for TightVNC's file transfer protocol. 21 years ago
auth.c This monster commit contains support for TightVNC's file transfer protocol. 21 years ago
cargs.c This monster commit contains support for TightVNC's file transfer protocol. 21 years ago
config.h move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
corre.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
cursor.c main.c: XReadScreen check, fix 64bit use of cursors, x11vnc: first round of beta-testing fixes, RFE's. 21 years ago
cutpaste.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
d3des.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
d3des.h global structures/functions should have "rfb", "sra" or "zrle" as prefix, 22 years ago
draw.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
font.c fix off by one bug 21 years ago
hextile.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
httpd.c x11vnc: -gui tray mode, httpd.c: check httpListenSock >= 0. 21 years ago
main.c kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete 21 years ago
private.h ANSIfy, fix some warnings from Linus' sparse 21 years ago
rfbconfig.h move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
rfbregion.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
rfbserver.c The PseudoEncoding extension code was getting silly: 21 years ago
rre.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
selbox.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
sockets.c This monster commit contains support for TightVNC's file transfer protocol. 21 years ago
stats.c kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete 21 years ago
tableinit24.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
tableinitcmtemplate.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
tableinittctemplate.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
tabletrans24template.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
tabletranstemplate.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
tight.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
translate.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
vncauth.c hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac 21 years ago
zlib.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
zrle.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
zrleencodetemplate.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
zrleoutstream.c ANSIfy, fix some warnings from Linus' sparse 21 years ago
zrleoutstream.h move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
zrlepalettehelper.c move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
zrlepalettehelper.h move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago
zrletypes.h move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago