Commit Graph

98 Commits (716bd27235fe6462271e799a758f2682fa4cb1de)

Author SHA1 Message Date
Christian Beier 8b06f835e2
When connecting to a repeater, only send initialised string
Closes #253
6 years ago
Christian Beier c49204c815
androidvncserver: fix print_usage and a compiler warning 7 years ago
Christian Beier 8d4d021966
androidvncserver: add some boilerplate comment that should have been in the 1st code drop 7 years ago
Christian Beier c7c18332c8
androidvncserver: fix a quite serious typo
Closes #225.
7 years ago
Christian Beier f84d90c9e8
androidvncserver: remove keycodes not in NDK anymore
This makes the android VNC server example build again.
7 years ago
Christian Beier ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android 8 years ago
Bert van Hall fe94339587 drop autotools
Since autotools officially is no longer supported (see various github
issues), drop the related infrastructure to stop tempting people to use
it for building.

Signed-off-by: Bert van Hall <bert.vanhall@gmx.de>
8 years ago
Christian Beier 6df29db3df Fix vncev example compilation on Windows 8 years ago
Stefan Weil 532789f494 Fix some typos (it's / its)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
zbierak 00105c3ac5 Fix memory access error in camera.c example 9 years ago
Stefan Weil 9c7efb7633 Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Brian Bidulock 57b0e4f4fe Rename obsolete INCLUDES to AM_CPPFLAGS 11 years ago
Johannes Schindelin 646f844f69 Merge branch 'repeater'
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Conflicts:
	.gitignore
11 years ago
Johannes Schindelin 71d0f9b06f Repeater example: show how to shut down cleanly
Since we connected to the client through the repeater, chances are
that we want this server shut down once the client disconnected.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 years ago
Johannes Schindelin c0e012e4d2 Add an example how to connect to an UltraVNC-style repeater
UltraVNC offers an add-on to connect clients and servers via IDs with
a so-called repeater (e.g. to bridge firewalled clients and servers):

	http://www.uvnc.com/products/uvnc-repeater.html

This example demonstrates how to use that feature with a
LibVNCServer-based server.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 years ago
Johannes Schindelin bd811bdee9 After free()ing clientData, set it to NULL
We will change rfbClientCleanup() to free the data.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 years ago
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>
15 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