Commit Graph

65 Commits (8d55891ded08ca706ed9e99cbde8761f1159e9a1)

Author SHA1 Message Date
dscho f164dc1893 examples/mac: disable the cursor
We cannot write access the frame buffer, and we do not have a sensible
cursor anyway, so better disable the cursor (which would have to be drawn
for clients that do not support CursorShapeUpdates).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
17 years ago
dscho ca805667e6 Build shared libraries per default
Thanks to Guillaume Rousse, we now use libtool to build shared libraries.
18 years ago
dscho 188ccd2ee2 include rotatetemplate.c in the tarball 19 years ago
dscho 21b1fd476f add rotate and flip example 19 years ago
dscho 6370f25f13 malloc.h should not be needed (it is missing on quite a few platforms) 19 years ago
runge 3c80351a1c Make VPATH building work with -I $(top_srcdir) for rfb/rfb.h 19 years ago
steven_carr 6a6ccc8c58 Added an example camera application to demonstrate another way to write a server application. 19 years ago
dscho f38f67e4e9 Fix blooptest example 19 years ago
dscho 3c2ea8d05a if compiling with pthreads, also compile blooptest 19 years ago
runge 71f2ec7918 x11vnc: the big split. 19 years ago
runge def3012663 fix client non-jpeg/libz builds 19 years ago
dscho 065e2ebb7e previous patch turned compile warning in a compile error; fix that ;-) 19 years ago
dscho efbf1d7240 fix compile warnings 19 years ago
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.
20 years ago
dscho 11fc700c5d add BackChannel extension example 20 years ago
dscho d15e35586b kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete 20 years ago
dscho 808b6a0b23 do it right: it is not DEFINES, but AM_CFLAGS 20 years ago
dscho 0a909fde7a This monster commit contains support for TightVNC's file transfer protocol.
Thank you very much, Rohit!
20 years ago
dscho ff590d0afa mac works! 20 years ago
dscho 6fb77fb0c1 fix off by one bug 20 years ago
dscho ee52441372 hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac 20 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
dscho 320edc794f more files to ignore 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 19a0d05bb9 compile fix on mac; still untested... 20 years ago
dscho 658b65ad0c support MinGW32! 21 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 2b8c2a5c3a add client_examples/, add SDLvncviewer, libvncclient API changes, suppress automake CFLAGS nagging 21 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
dscho e68063f246 add support for pgm and pbm (8-bit and 1-bit grayscale images) 21 years ago
dscho 50a80e7304 make examples g++ compileable, thanks to Juan Jose Costello 21 years ago
dscho ce4c02b6f4 ignore all test programs 21 years ago
dscho c0c5aace2f add a simple example how to use rfbDoCopyRect 21 years ago
markmc d02db5cac4 2002-09-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.in, */Makefile.in, aclocal.m4,
          bootstrap.sh, config.h.in, configure,
          depcomp, install-sh, missing, mkinstalldirs,
        Removed auto-generated files from CVS.
22 years ago
dscho 937b906f0d ZRLE no longer uses C++, but C 22 years ago
dscho 7dc44503f6 using autoconf 1.6 22 years ago
dscho 4fcb60871b rfbErr introduced 22 years ago
dscho eeb2061dfb API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_" 22 years ago
dscho 13b358fed1 fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead) 22 years ago
dscho b9ebdab1f2 debug flags 22 years ago
dscho 1e60fc200a Added simple examples 22 years ago
dscho d5ac0a551a another try to make CVS more helpful with configure 22 years ago
dscho 98b9663e29 the correct way to include rfb.h is now "#include <rfb/rfb.h>" 22 years ago
dscho 73d943b394 fixed dependecy to libvncserver.a; if the lib is newer, the programs are relinked 22 years ago
dscho bd9e5747e5 added colourmapexample; fixed LinuxVNC to show the right colours 22 years ago
dscho 0552ea2e6e support for OS X is better now 22 years ago