summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typos (it's / its)Stefan Weil2016-11-182-2/+2
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Fix memory access error in camera.c examplezbierak2016-04-041-1/+1
|
* Fix some typos (found by codespell)Stefan Weil2015-10-091-2/+2
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Rename obsolete INCLUDES to AM_CPPFLAGSBrian Bidulock2014-10-022-2/+2
|
* Merge branch 'repeater'Johannes Schindelin2014-04-052-1/+69
|\ | | | | | | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Conflicts: .gitignore
| * Repeater example: show how to shut down cleanlyJohannes Schindelin2014-04-051-0/+6
| | | | | | | | | | | | | | 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>
| * Add an example how to connect to an UltraVNC-style repeaterJohannes Schindelin2014-04-052-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | After free()ing clientData, set it to NULLJohannes Schindelin2014-03-301-0/+1
|/ | | | | | We will change rfbClientCleanup() to free the data. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Include some more missing files for make dist.Christian Beier2012-04-261-0/+1
|
* Rename 'classes' dir to 'webclients'.Christian Beier2011-11-093-3/+3
|
* Add installation hints to android example README.Christian Beier2011-07-251-0/+9
|
* Reduced memory footprint by 50%William Roberts2011-07-231-2/+2
|
* Corrected resolution issue, but screen is getting reported as wrong sizeWilliam Roberts2011-07-231-1/+1
|
* Fixes running vncserver on beagleboard/0xdroid and possibly any deviceckanru2011-07-231-2/+6
| | | | | | | | 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>
* Adopt autotools build system to Android.Christian Beier2011-07-232-0/+10
| | | | LibVNCServer/LibVNCClient now build for Android!
* Add androidvncserver example.Christian Beier2011-07-233-0/+637
|
* Fix (most) MinGW32 compiler warnings.Christian Beier2011-03-173-21/+22
|
* Fix remaining compiler warnings.Christian Beier2011-03-172-9/+4
|
* Check rfbGetScreen() return value everywhere.Christian Beier2011-03-1713-4/+28
| | | | | This fixes a segfault when a server is invoked with the '-help' commandline argument.
* Move zippy.c to examples.Christian Beier2011-03-102-1/+181
|
* Remove unneeded files concerning CVS.Christian Beier2011-01-311-18/+0
| | | | | | We have a git repo nowadays and I guess we won't go back to CVS. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Remove completely broken Visual Studio project filesJohannes Schindelin2011-01-311-93/+0
| | | | | | | | | 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>
* Add doxygen documentation support.Christian Beier2010-11-187-5/+21
| | | | | | | | | | | | | 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>
* Fix various compilation warningsVic Lee2009-11-101-1/+1
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* clean up build flagsdscho2009-02-031-1/+1
| | | | | | | | | | | | | | | | | 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>
* examples/mac: disable the cursordscho2008-05-131-0/+3
| | | | | | | | 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>
* Build shared libraries per defaultdscho2007-03-301-1/+1
| | | | Thanks to Guillaume Rousse, we now use libtool to build shared libraries.
* include rotatetemplate.c in the tarballdscho2006-04-301-1/+1
|
* add rotate and flip exampledscho2006-04-275-2/+149
|
* malloc.h should not be needed (it is missing on quite a few platforms)dscho2006-04-271-1/+0
|
* Make VPATH building work with -I $(top_srcdir) for rfb/rfb.hrunge2006-04-261-1/+1
|
* Added an example camera application to demonstrate another way to write a ↵steven_carr2006-04-172-1/+154
| | | | server application.
* Fix blooptest exampledscho2006-03-013-5/+3
|
* if compiling with pthreads, also compile blooptestdscho2006-03-011-1/+9
|
* x11vnc: the big split.runge2006-01-091-1/+2
|
* fix client non-jpeg/libz buildsrunge2006-01-081-2/+5
|
* previous patch turned compile warning in a compile error; fix that ;-)dscho2005-12-091-1/+1
|
* fix compile warningsdscho2005-12-081-3/+5
|
* The PseudoEncoding extension code was getting silly:dscho2005-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* add BackChannel extension exampledscho2005-10-062-1/+114
|
* kill BackChannel and CustomClientMessage: the new extension technique makes ↵dscho2005-10-061-60/+0
| | | | these hooks obsolete
* do it right: it is not DEFINES, but AM_CFLAGSdscho2005-10-061-1/+1
|
* This monster commit contains support for TightVNC's file transfer protocol.dscho2005-09-283-1/+18
| | | | Thank you very much, Rohit!
* mac works!dscho2005-05-241-0/+1
|
* fix off by one bugdscho2005-05-241-2/+4
|
* hide strict ansi stuff if not explicitely turned on; actually use the ↵dscho2005-05-181-0/+2
| | | | socklen_t test from configure.ac
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-157-35/+44
|
* more files to ignoredscho2005-05-141-0/+2
|
* fix memory leaks detected using valgrinddscho2005-05-141-0/+1
|
* socketInitDone -> socketStatedscho2005-05-072-3/+10
|