Commit Graph

1044 Commits (c1363fa9583ed41b94fbc79b3ff410b7d5189407)
 

Author SHA1 Message Date
George Kiagiadakis c1363fa958 Fix memory corruption bug.
This bug occured when a second telepathy tubes client was connected after
the first one had disconnected and the channel (thus, the screen too)
had been destroyed.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
George Kiagiadakis 35246edddd Fix compilation in c89 mode.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Vic Lee d8fca9d013 Replace deprecated GnuTLS functions gnutls_*_set_priority with gnutls_priority_set_direct.
The functions gnutls_*_set_priority we used were marked deprecated since
latest GnuTLS version 2.12. However the replacement function
gnutls_priority_set_direct is available since 2.2, which is even lower
than our version requirement 2.4 in configure. The patch just replace
the deprecate function to fix the compile warning.

Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Christian Beier f25a886cba Update ChangeLog for 0.9.8. 14 years ago
Christian Beier 50e83187ba Remove RDP from the README description.
We do VNC but no RDP. Pointed out by Vic Lee, thanks!
14 years ago
Christian Beier 8a2183b2d9 Fix skipping of merge commits in log convert script. 14 years ago
Christian Beier eeafad20bf Add a git-log to GNU-Style ChangeLog converter script.
Also put all helper scripts into a utils directory.
14 years ago
Christian Beier c0e3fa4054 Mention the pkg-config stuff in NEWS. 14 years ago
Christian Beier 471baea920 Merge branch 'master' of ssh://libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver 14 years ago
Vic Lee 64daa71ede Add libvncserver.pc and libvncclient.pc files.
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier 62b7acf480 Fix regression in Ultra encoding introduced by commit fe1ca16e9b.
My bad. There we see what the encodings test is good for ;-)
14 years ago
Christian Beier ab9fc40aab Update encodingstest.
* Fixed segfault on shutdown.
* Updated to test all encodings.
* Fixed to operate with encodings that split up rects into
  smaller rects.
14 years ago
Christian Beier e92951d19d Remove useless comparisons that always evaluate to false.
There can not be more than 255 security types and MSLogon is
RFB 3.6 only.
14 years ago
Christian Beier fe1ca16e9b Fix (most) MinGW32 compiler warnings. 14 years ago
Christian Beier 56234cd0b6 Fix remaining compiler warnings. 14 years ago
Christian Beier bf2470cec6 Check rfbGetScreen() return value everywhere.
This fixes a segfault when a server is invoked with the
'-help' commandline argument.
14 years ago
Christian Beier 6b60690a4a CMake: Check for libgcrypt availability. 14 years ago
Christian Beier 8879213734 CMake: Threads can be available even if SDL is not. 14 years ago
Christian Beier 56af603ec1 CMake: fix building SDLvncviewer. 14 years ago
Christian Beier 9882fdf7fa Include cmake configure file templates in dist tarball.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier d94db37d2d Remove autogenerated files. 14 years ago
Christian Beier 1afaa3f948 Update NEWS for 0.9.8 release. 14 years ago
Christian Beier 980dfa60fe Fix libvncclient TLS for Windows builds.
GnuTLS seems to expect proper errno values internally. So set them in our
custom push/pull functions. Parts of the patch stolen from libcurl, thanks!

Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier 8909e9fe44 Let libvncclient build with gcrypt for MinGW32 builds.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Vic Lee e323d73f91 Use WaitForMessage instead of sleep in socket reading to fix performance issue.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier e832999a58 Set proper file permissions for source files. 14 years ago
Christian Beier d26118a038 Next version will be 0.9.8. 14 years ago
Christian Beier c8fc0ad5a7 Move zippy.c to examples. 14 years ago
Christian Beier cf72a0f7c3 Call WSAGetLastError() everywhere errno is read after a Winsock call.
Winsock does NOT update errno for us, we have fetch the last error
manually using WSAGetLastError().
14 years ago
Christian Beier f5b96e57bf Update minilzo library used for Ultra encoding to ver 2.04.
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 <dontmind@freeshell.org>
14 years ago
Christian Beier 9f49600787 libvncserver: Make RRE, CoRRE and Ultra encodings thread-safe.
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 <dontmind@freeshell.org>
14 years ago
Christian Beier 67b16cdf90 Include CMakeLists.txt file in dist tarball. 14 years ago
Christian Beier 558a58e039 Remove unneeded files concerning CVS.
We have a git repo nowadays and I guess we won't go back to CVS.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Johannes Schindelin 617a5f8b6b Remove completely broken Visual Studio project files
If people seriously consider building with Visual Studio, there is
always CMake.

Pointed out by Christian Beier.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Christian Beier 824644d0a2 SDLvncviewer: fix compilation from dist tarball.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Vic Lee 030ccf673d Add ARD (Apple Remote Desktop) security type support
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier ffe30366d6 Put files used by both libs into a 'common' dir.
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 <dontmind@freeshell.org>
14 years ago
ebola_rulez 5e1488beb3 Fix two errors found by cppcheck
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
runge 658bef5fde Remove never used protocol version name string. 14 years ago
runge 596331a5c3 x11vnc: Use opengl to read screen on macosx. non-deprecated macosx interfaces for input injection. 14 years ago
runge 0c03b98940 x11vnc: force --with-system-libvncserver to use correct headers. 14 years ago
runge 365a22c63c x11vnc: touchscreen uinput support and Java viewer mousewheel support. See x11vnc/ChangeLog for rest. 14 years ago
Tobias Doerffel d4fabc217e libvncserver sockets: check cl->screen before accessing it
In commit 079394ca5b 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 <tobias.doerffel@gmail.com>
14 years ago
Christian Beier d5e256bd50 Doxygen documentation: actually add Doxyfile. 14 years ago
Johannes Schindelin d670aac383 The website is now maintained independently
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Christian Beier 705a5d46e6 Add doxygen documentation support.
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 <dontmind@freeshell.org>
14 years ago
Christian Beier a5f8d3a310 libvncserver: fix endless loop when server closed client in threaded mode.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier 079394ca5b libvncserver sockets: favor per-screen maxclientwait over global one when set.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier 453645a6ea libvncserver cleanup: remove rfbKeyFrame remnants. 14 years ago
Christian Beier e5523350a8 libvnc[server|client]: implement xvp VNC extension.
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.
15 years ago