Commit Graph

82 Commits (8327179d12881806fdb120f7bc1ca6d95d2e81b3)

Author SHA1 Message Date
Christian Beier a48ef69be3 Include some more missing files for make dist. 13 years ago
Christian Beier faadd48448 Rename 'classes' dir to 'webclients'. 13 years ago
Christian Beier 5dfe0b05a2 Add installation hints to android example README. 14 years ago
William Roberts 8235cf8be7 Reduced memory footprint by 50% 14 years ago
William Roberts ea5bed5005 Corrected resolution issue, but screen is getting reported as wrong size 14 years ago
ckanru 5be89ead01 Fixes running vncserver on beagleboard/0xdroid and possibly any device
without a touch screen. Because fake touch screen always report
zero when query device information, coordinates transformation is not
needed.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier b6d24bfa11 Adopt autotools build system to Android.
LibVNCServer/LibVNCClient now build for Android!
14 years ago
Christian Beier 5a5cfbe24c Add androidvncserver example. 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 c8fc0ad5a7 Move zippy.c to examples. 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 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 3d2eab575e clean up build flags
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 <vapier@gentoo.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
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