summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add doxygen documentation support.Christian Beier2010-11-1814-141/+371
| | | | | | | | | | | | | 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>
* libvncserver: fix endless loop when server closed client in threaded mode.Christian Beier2010-11-181-5/+5
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* libvncserver sockets: favor per-screen maxclientwait over global one when set.Christian Beier2010-11-181-3/+8
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* libvncserver cleanup: remove rfbKeyFrame remnants.Christian Beier2010-11-113-18/+0
|
* libvnc[server|client]: implement xvp VNC extension.Christian Beier2010-11-027-3/+171
| | | | | | | This implements the xvp VNC extension, which is described in the community version of the RFB protocol: http://tigervnc.sourceforge.net/cgi-bin/rfbproto It is also mentioned in the official RFB protocol.
* Added missing initialization of extension mutexTobias Doerffel2010-10-291-0/+5
| | | | | | | | | | When not calling rfbRegisterProtocolExtension() the extension mutex is uninitialized but used upon calling rfbGetExtensionIterator() and rfbReleaseExtensionIterator() in rfbNewTCPOrUDPClient(). This causes libvncserver to crash on Win32 when building with thread support. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Only define strncasecmp to _strnicmp when using MS compiler.Christian Beier2010-10-212-5/+6
| | | | | | | Redefining strncasecmp to _strnicmp makes libvncclient hang forever in SetFormatAndEncodings() on Windows when built with MinGW64. Reported by Tobias Doerffel <tobias.doerffel@gmail.com>, thanks!
* In rfbSendDirContent() we have to make sure to call closedir() beforeTobias Doerffel2010-10-201-1/+5
| | | | | | returning. This did not happen if rfbSendFileTransferMessage() failed. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Fix build failure wrt IP QoS support in libvncclient.Christian Beier2010-10-201-1/+1
| | | | | | This is a small addendum to 0797e42a4aaf8131ae71899faea2d682ed81cb59. Seems that having IPv6 support in the OS does not necessarily mean that IPV6_TCLASS is available. One such case seems to be Mac OS X 10.5.
* Avoid 100% CPU usage when calling ReadFromRFBServer and no available bytes ↵Vic Lee2010-10-131-0/+10
| | | | | | | to read Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* rfb/rfbproto.h: Prefix WORDS_BIGENDIAN when it is defined.Christian Beier2010-10-081-0/+5
| | | | | | | | Some (all?) autotool versions do not properly prefix WORDS_BIGENDIAN with LIBVNCSERVER_, so do that manually here. Thanks to Lorenz Kolb for reporting.
* IP QoS support in libvncclient.Christian Beier2010-09-295-0/+61
| | | | | | | | | | This enables setting the DSCP/Traffic Class field of IP/IPv6 packets sent by a client. For example starting a client with -qosdscp 184 marks all outgoing traffic for expedited forwarding. Implementation for Win32 is still a TODO, though. See http://betelco.blogspot.com/2009/03/dscp-marking-under-windows-at.html for an overview of the Win32 QoS API mess...
* Non-blocking sockets for Windows.Christian Beier2010-09-136-46/+41
| | | | | | | | | | | Expands the SetNonBlocking() function in libvncclient/sockets.c to also work under Windows and also changes it to honour maybe already present socket flags. A similar function was introduced for libvncserver as well and all the #ifdef'ed fnctl calls replaced with calls to that one. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Cleanup: remove CORBA stuff.Christian Beier2010-09-133-20/+1
| | | | | | | The header file and most of the functions referred to do not exist in libvncserver. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* update classes/ssl jars, patches, and scriptrunge2010-09-107-58/+261
|
* update to x11vnc 0.9.12runge2010-09-1032-265/+769
|
* Fix MinGW32 compilation with libjpeg.Christian Beier2010-09-062-0/+6
| | | | | | | | | MinGW32 (or more exactly, a rpcndr.h file included by winsock2.h) typedefs a 'boolean' type that jmorecfg.h included by jpeglib.h also tries to typedef. So, tell the jpeg headers. Closes: 3007302
* Fix MinGW32 checking for IPv6.Christian Beier2010-07-142-2/+16
| | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient: add ipv6 supportVic Lee2010-07-084-13/+97
| | | | | | | | [jes: pulled the "host" declarations into the conditionally compiled blocks where that variable is used. Also fixed non-IPv6 connections.] Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Call MallocFrameBuffer before SetFormatAndEncodingsWouter Van Meir2010-06-041-3/+3
| | | | | | | | | | | | The hook is still called after InitialiseRFBConnection() so we can choose the color settings depending on the vnc server (or settings) in that hook. This way one can use the "VNC server default format" pixelformat if the client supports it, or perform a workaround (Intel AMT KVM "classic vnc" server only works using 8bit colors in RFB3.8) Signed-off-by: Wouter Van Meir <wouter.vanmeir@pandora.be> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Implement a DisplayFinishedHook for libvncserver.Christian Beier2010-05-193-1/+16
| | | | | | | If set, this hook gets called just before rfbSendFrameBufferUpdate() returns. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* libvncclient: rfbResizeFrameBuffer should also set updateRect.runge2010-05-082-0/+13
|
* x11vnc: tweaks to prepare_x11vnc_dist.sh. set cd->unixname in apply_opts().runge2010-05-088-34/+44
|
* Complete the AUTHORS fileJohannes Schindelin2010-05-071-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* fix CMakeLists.txt: other way to find pthread libraryWouter Van Meir2010-05-071-3/+6
| | | | | | | ... and fixed linking of the tests in the examples directory. Signed-off-by: Wouter Van Meir <wouter.vanmeir@pandora.be> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* misc/etv sync.runge2010-05-0515-345/+923
|
* Merge branch 'master' of ↵runge2010-05-013-3/+11
|\ | | | | | | ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver
| * Another try to fix the _SOURCES issueJohannes Schindelin2010-04-281-2/+0
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * cmake: fix CMakeLists.txtCorentin Chary2010-04-282-1/+11
| | | | | | | | | | | | | | | | | | - It's SDL_LIBRARY, not SDL_LIBRARIES - Detect GnuTLS and set the macro in rfbconfig.h - Add tls.c to libvncclient to avoid missing symbols Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | x11vnc: X11VNC_DISABLE_SSL_CLIENT_MODE option to disable SSLrunge2010-05-019-116/+362
|/ | | | | | | | | client role in reverse connections. Improvements to logging in ultravnc_repeater, ULTRAVNC_REPEATER_NO_RFB option. Increase SSL timeout and print message if 'repeater' mode is detected for reverse SSL connection. Fix RECORD scroll XCopyArea detection with recent gtk/gdk library; set X11VNC_SCROLL_MUST_EQUAL to disable. Limit logging of RECORD error messages.
* incorporate new ultravnc_dsm_helper.c.runge2010-04-259-50/+653
|
* Sync ssvncviewer changes.runge2010-04-187-339/+1119
|
* Improvements to demo scripts. Alias -coe for -connect_or_exit. Fix ↵runge2010-04-1824-344/+880
| | | | HAVE_V4L2. Warn no Xvfb, Xdummy, or Xvnc. Xinerama screens.
* x11vnc: exit(1) for -connect_or_exit failure, quiet query mode for ↵runge2010-04-0926-3896/+3909
| | | | grab_state, pointer_pos, etc. ipv6 support. STUNNEL_LISTEN for particular interface. -input_eagerly in addition to -allinput. quiet Xinerama message.
* Improvements to Java viewer: troubleshooting settings and workarounds, misc ↵runge2010-04-097-70/+616
| | | | bug fixes.
* Synchronize ssvnc 1.0.26. Improvements to perl scripts desktop.cgi, ↵runge2010-04-0913-1121/+3033
| | | | connect_switch and inet6to4.
* classes/ssl: Many improvements to Java SSL applet, onetimekeyrunge2010-03-2127-1913/+5094
| | | | | | | | | | | | | serverCert param, debugging printout, user dialogs, catch socket exceptions, autodetect x11vnc for GET=1. x11vnc: misc/scripts: desktop.cgi, inet6to4, panner.pl. X11VNC_HTTPS_DOWNLOAD_WAIT_TIME, -unixpw %xxx documented, and can run user cmd in UNIXPW_CMD. FD_XDMCP_IF for create script, autodetect dm on udp6 only. Queries: pointer_x, pointer_y, pointer_same, pointer_root. Switch on -xkd if keysyms per key > 4 in all cases. daemon mode improvements for connect_switch, inet6to4, ultravnc_repeater.pl. Dynamic change of -clip do not create new fb if WxH is unchanged.
* I think two HAVE_X's were missed.runge2010-03-211-2/+2
|
* Merge remote branch 'sf/master'Johannes Schindelin2010-03-1317-1170/+1461
|\
| * Merge branch 'master' of ↵runge2010-02-223-7/+82
| |\ | | | | | | | | | ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver
| * | classes/ssl: Java SSL applet viewer now works with certificate chains.runge2010-02-2217-1170/+1461
| | | | | | | | | | | | x11vnc: Printout option -sslScripts. Suggest -auth guess in error message. Set fake_screen width and height. Test for +kb in Xvfb.
* | | Fix compilation without TLSJohannes Schindelin2010-03-132-1/+12
| | | | | | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | | Fix compilation with newer automakeJohannes Schindelin2010-03-132-2/+2
| | | | | | | | | | | | | | | | | | | | | For some reason, this developer's automake no longer understands _SOURCES lines anymore. Work around that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | | Rename HAVE_X -> HAVE_X11Johannes Schindelin2010-03-132-8/+8
| |/ |/| | | | | | | | | This change is just for consistency reasons. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient/vncviewer.c: don't set serverPort in rfbInitClient().Christian Beier2010-01-251-1/+0
| | | | | | | | | | | | | | | | | | The serverPort member is already set in rfbGetClient(), if we set it again in rfbInitClient(), this breaks playing of vncrec files (this relies on serverPort set to -1). Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | LibVNCClient: make sure that the port is initialized correctly.Johannes Schindelin2010-01-161-6/+7
| | | | | | | | | | | | While at it, adjust coding style. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | Add UltraVNC Repeater support in libvncclientVic Lee2010-01-163-1/+76
|/ | | | | | | [jes: adjusted coding style, made sure port is initialized correctly] Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* x11vnc: add modeline creation to Xdummy.runge2010-01-074-32/+102
|
* libvncserver/font.c: add some checks to rfbDrawChar().Christian Beier2010-01-071-1/+2
| | | | | | | | | | In some cases (bad font data) the coordinates evaluate to <0, causing a segfault in the following memcpy(). [jes: keep the offset, but do not try to segfault] Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* LinuxVNC: Fix for no input possible because of ctrl key being stuck.Christian Beier2010-01-071-1/+2
| | | | | | | | Issue was reported as Debian bug ##555988, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555988 Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>