summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix checks for socket values, 0 is a legal value.Christian Beier2009-11-114-5/+8
| | | | | | | | | | To make this work, we also have to initialize sockets to a default value of -1. Also close a client listen socket if it's open. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient: include winsock2.h in vncviewer.c.Christian Beier2009-11-101-0/+2
| | | | | | | fixes warning about closesocket being implicitly declared. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Change GnuTLS minimum requirement to 2.4.0Vic Lee2009-11-101-1/+1
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix various compilation warningsVic Lee2009-11-107-8/+11
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Merge branch 'VeNCrypt'Johannes Schindelin2009-11-0210-96/+1008
|\
| * Add MSLogon security typeVic Lee2009-11-024-8/+142
| | | | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Add VeNCrypt support in libvncclientVic Lee2009-10-024-7/+314
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
| * Fallback to --without-client-tls if GNUTLS could not be foundJohannes Schindelin2009-10-021-1/+1
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Add anonymous TLS support in libvncclientVic Lee2009-10-029-96/+567
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
* | Add Alexander to the authorsJohannes Schindelin2009-10-311-1/+2
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: don't call clean up the same client twice.Christian Beier2009-10-311-1/+3
| | | | | | | | | | | | | | | | If rfbInitConnection fails, it cleans up the client, so protect against doing it ourselves again. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: add SIGINT handler to be able to actually stop program.Christian Beier2009-10-301-0/+2
| | | | | | | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: use -listennofork when -listen specified.Christian Beier2009-10-301-40/+84
| | | | | | | | | | | | | | | | As -listen mode isn't really working under UNIX and not at all under windows, use -listennofork and an outer listen loop instead. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: add a non-forking listen function.Christian Beier2009-10-303-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Forking the whole process from deep within a library call does not really work at all with apps that use multiple threads, i.e. every reasonably modern GUI app. So, provide a non-forking listen function so that the caller can decide if to fork, start a thread, etc. This implementation adds a timeout parameter to be able to call the listen function multiple times so that it's possible to do sth. else in between, e.g. abort listening. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: make listen mode work _somewhat_.Christian Beier2009-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set the port to listen on and really ensure that the window of the fork()ed instance is closed. works somewhat: it's now actually possible to listen for an incoming connection and to close it again, but the second connection attempt fails with 'XIO: fatal IO error 11 (Resource temporarily unavailable)'. this could relate to the fact that SDL uses threads internally and we're fork()ing here... Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: make listenAtTCPPort() work under windows.Christian Beier2009-10-301-5/+12
| | | | | | | | | | | | | | | | | | | | Actually, initSockets() has to be called everywhere we possibly use sockets the first time. Also fix return value of initSockets(). Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: Add FinishedFrameBufferUpdate callbackAlexander Dorokhine2009-10-303-0/+6
| | | | | | | | | | | | When working on a program which searches the display for some image, one does not want to search again without getting an FB update. Add a callback to make this possible.
* | Fix hostname resolution problems under WindowsAlexander Dorokhine2009-10-301-8/+17
| | | | | | | | | | | | | | | | On Windows, the WSA system needs to be initialized to be able to look up host names. This patch also changes *addr = 0 to use the constant INADDR_LOOPBACK instead, which seems to be required on Windows.
* | Workaround for inane X_ShmAttach incompatibility in Xorg, -solid support in ↵runge2009-10-179-142/+295
| | | | | | | | xfce, showrfbauth option.
* | Synchronize ssvnc source, etc. Nearly the 1.0.24 release...runge2009-10-088-310/+1064
| |
* | Huge number of changes, see x11vnc/ChangeLogrunge2009-10-0838-2670/+5838
| |
* | Some broken build environments treat fprintf(fh, buf) as a fatal error...runge2009-10-071-1/+1
| |
* | Some broken build environments treat fprintf(fh, buf) as a fatal error...runge2009-10-071-1/+1
| |
* | mingw32 crosscompile fixes.Christian Beier2009-10-025-4/+24
| | | | | | | | | | | | | | | | | | | | | | SOCKET is redefined in winsock2.h so #undef it where winsock2.h is included. The changes in rfbproto.c circumvent crosscompiler errors like 'S_IFMT' undeclared ...', the Makefile.am changes avoid building linux specific stuff for a win32 host target. Also added configure option to specify sdl-config. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | Merge remote branch 'sf/master'Johannes Schindelin2009-10-021-1/+1
|\ \ | |/ |/|
| * Add Christian Beier to the AUTHORSJohannes Schindelin2009-10-021-1/+1
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | encodingstest: fix multi-threading issueJohannes Schindelin2009-10-021-4/+8
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | encodingstest: fix whitespaceJohannes Schindelin2009-10-021-7/+5
|/ | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix IsUnixSocket()Christian Beier2009-10-021-1/+1
| | | | | | | | This is a pure functionality fix: according to its manpage, stat() returns 0 on success. Checking for a return value of zero fixes incorrect results of IsUnixSocket(). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add Vic Lee to the author listJohannes Schindelin2009-09-271-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix bug for logging unsupported security typesVic Lee2009-09-271-6/+26
| | | | Signed-off-by: Vic Lee <llyzs@163.com>
* Fix bug for VNC Server version 4Vic Lee2009-09-271-1/+4
| | | | Signed-off-by: Vic Lee <llyzs@163.com>
* Improvements to -unixpw_cmd and -unixpw_nis.runge2009-08-1011-1919/+2336
| | | | | Experimental X11VNC_WATCH_DX_DY=1 for buggy theme menus, see: http://ubuntuforums.org/showthread.php?t=1223490
* Setup for x11vnc version 0.9.9runge2009-07-115-118/+124
|
* Add proxyHost and proxyPort java applet params.runge2009-06-198-28/+121
|
* Merge branch 'master' of ↵runge2009-06-181-2/+4
|\ | | | | | | ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver
| * Fix two issues in rfbGetClient()Johannes Schindelin2009-06-161-2/+4
| | | | | | | | | | | | | | | | | | There was an unnecessary assignment, and an assignment of a string that was to be free()ed later, so it has to be strdup()ed. Both issues spotted by Roman Held. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | classes/ssl: java viewer now handles auth-basic proxy logins.runge2009-06-1817-1994/+5881
|/ | | | misc/enhanced_tightvnc_viewer: update ssvnc.
* X11VNC_REFLECT_PASSWORD env. var., warning about compiz, improve single-port.runge2009-06-149-44/+185
|
* Add close() to rfbClientCleanup()Stefan Becker2009-05-221-0/+2
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Thread safety. Fix -clip -in -rawfb. Try to avoid Xorg stuckrunge2009-05-2127-1051/+1509
| | | | key bug.
* Thread safety for zrle, zlib, tight.runge2009-05-2110-47/+187
| | | | Proposed tight security type fix for debian bug 517422.
* Export the functions SupportsClient2Server and SupportsServer2Clientllyzs2009-05-201-0/+3
| | | | | | | These are useful functions for VNC clients, so let's export them for everybody to use. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add Ben to the authorsJohannes Schindelin2009-05-121-2/+2
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Make autogen.sh executableJohannes Schindelin2009-05-121-0/+0
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient: Unix sockets support by Ben KlopfensteinBen Klopfenstein2009-05-123-5/+54
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* rebuild for x11vnc dev 0.9.8runge2009-03-317-50/+94
|
* x11vnc 0.9.8 devrunge2009-03-311-1/+1
|
* Add LCD4Linux to the success storiesJohannes Schindelin2009-03-301-0/+3
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add some -remap tricks. Limit rfbCFD message count.runge2009-03-168-18/+117
|