| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
|
|
| |
fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.
My bad. There we see what the encodings test is good for ;-)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Winsock does NOT update errno for us, we have fetch the last error
manually using WSAGetLastError().
|
|
|
|
|
|
|
|
|
|
| |
According to the minilzo README, this brings a significant
speedup on 64-bit architechtures.
Changes compared to old version 1.08 can be found here:
http://www.oberhumer.com/opensource/lzo/lzonews.php
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
| |
We have a git repo nowadays and I guess we won't go back to CVS.
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
|
|
|
|
| |
No functional changes. All files used by _both_ libvncserver and
libvncclient are put into a 'common' directory and references
from other files as well as Autotools and CMake build systems are
updated.
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
| |
Signed-off-by: Vic Lee <[email protected]>
Signed-off-by: Christian Beier <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
| |
In commit 079394ca5b14d8067b95a9cf95a834828b4425a6 new code with
insufficient checks was introduced causing a segfault when doing a
HTTP server connection. Such connections have no screen set in the
client data structure.
Signed-off-by: Tobias Doerffel <[email protected]>
|
|
|
|
| |
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
| |
Signed-off-by: Christian Beier <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
When not calling rfbRegisterProtocolExtension() the extension mutex
is uninitialized but used upon calling rfbGetExtensionIterator() and
rfbReleaseExtensionIterator() in rfbNewTCPOrUDPClient(). This causes
libvncserver to crash on Win32 when building with thread support.
Signed-off-by: Tobias Doerffel <[email protected]>
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
|
| |
returning. This did not happen if rfbSendFileTransferMessage() failed.
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
| |
The header file and most of the functions referred to
do not exist in libvncserver.
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
|
|
|
|
| |
MinGW32 (or more exactly, a rpcndr.h file included by
winsock2.h) typedefs a 'boolean' type that jmorecfg.h
included by jpeglib.h also tries to typedef.
So, tell the jpeg headers.
Closes: 3007302
|
|
|
|
|
|
|
| |
If set, this hook gets called just before
rfbSendFrameBufferUpdate() returns.
Signed-off-by: Christian Beier <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
In some cases (bad font data) the coordinates evaluate to <0,
causing a segfault in the following memcpy().
[jes: keep the offset, but do not try to segfault]
Signed-off-by: Christian Beier <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
|
| |
|
|
|
|
| |
for tight security type for RFB 3.8 (debian bug 517422.)
|
|
|
|
| |
rfbSetClientColourMap(). Up listen limit from 5 to 32.
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
| |
Signed-off-by: Vic Lee <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
|
|\ |
|
| |
| |
| |
| |
| | |
Signed-off-by: Vic Lee <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
|
|/ |
|
|
|
|
| |
Proposed tight security type fix for debian bug 517422.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The flag handling (both compiler options and include paths) are a mess at
the moment. There is no point in forcing "-O2 -g" when these are already
the defaults, and if someone changes the defaults, chances are good they
don't want you clobbering their choices.
The -Wall flag should be handled in configure and thrown into CFLAGS once
rather than every Makefile.am. Plus, this way we can control which
compilers the flag actually gets used with.
Finally, the INCLUDES variable is for -I paths, not AM_CFLAGS. Nor should
it contain -I. as this is already in the default includes setup.
Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
| |
rfbSendFramebufferUpdate() (italc reported bug)
|
| |
|
|
|
|
| |
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
| |
Signed-off-by: Johannes Schindelin <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
There was a long standing TODO to make the counting of the supported
encodings dynamic. It never triggered, until ZYWRLE was added.
Noticed by Christian Ehrlicher.
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
When swapping the values for the colour table to little-endian (because
they are 16-bit values), we need to cast "unsigned char" to "unsigned
short"; otherwise, Microsoft's compiler would keep complaining.
Noticed by Christian Ehrlicher.
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
| |
While adjusting the coding style, three stupid mistakes happened. The
quality is _not_ just 1, 2, 3, but really 1, 3, 2. And the macros
ZYWRLE_PACK_COEFF() and ZYWRLE_UNPACK_COEFF() expand to more than one
statement, which means that we need curly brackets around them when they
are in an if clause.
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
| |
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
| |
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
|
|
|
|
|
| |
We used to assume that a char[256] is properly aligned to be cast to
an rfbServerInitMsg, but that was not the case. So use a union instead.
Noticed by Flavio Leitner.
Signed-off-by: Johannes Schindelin <[email protected]>
|
|
|
|
| |
in .x11vncrc case.
|
| |
|