Commit Graph

18 Commits (88e60435854e7f8edf085a5f4564c7e8cd847699)

Author SHA1 Message Date
Christian Beier faadd48448 Rename 'classes' dir to 'webclients'. 13 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 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
Vic Lee a4cc897222 Fix various compilation warnings
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
dscho f38f67e4e9 Fix blooptest example 19 years ago
dscho 6fb77fb0c1 fix off by one bug 20 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
dscho 446a6fabac fix memory leaks detected using valgrind 20 years ago
dscho 34f714bcdc socketInitDone -> socketState 20 years ago
dscho a84b3d072a pointerClient was still static.
do not make requestedRegion empty without reason.

the cursor handling for clients which don't handle CursorShape updates was
completely broken. It originally was very complicated for performance
reasons, however, in most cases it made performance even worse, because at
idle times there was way too much checking going on, and furthermore,
sometimes unnecessary updates were inevitable.

The code now is much more elegant: the ClientRec structure knows exactly
where it last painted the cursor, and the ScreenInfo structure knows where
the cursor shall be.

As a consequence there is no more rfbDrawCursor()/rfbUndrawCursor(), no more
dontSendFramebufferUpdate, and no more isCursorDrawn.  It is now possible to
have clients which understand CursorShape updates and clients which don't at
the same time.

rfbSetCursor no longer has the option freeOld; this is obsolete, as the cursor
structure knows what to free and what not.
20 years ago
dscho 2d03c071df reverted segfault fix; use rfbDrawCharWithClip 20 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
21 years ago
dscho 97a1de323b now that the examples reside in a subdirectory, the classes path has to be adapted 21 years ago
dscho 50a80e7304 make examples g++ compileable, thanks to Juan Jose Costello 21 years ago
dscho eeb2061dfb API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_" 22 years ago
dscho 98b9663e29 the correct way to include rfb.h is now "#include <rfb/rfb.h>" 22 years ago
dscho 9f6a47087b autoconf'ed everything 22 years ago
dscho 6b7cdeb9ef moved files to contrib/ and examples/ 22 years ago