summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* websockets: Properly parse Hixie-76 handshake.Joel Martin2011-08-171-21/+28
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* websockets: Add UTF-8 encoding support.Joel Martin2011-08-172-46/+88
| | | | | | | | | | | | | | | This is not completely standard UTF-8 encoding. Only code points 0-255 are encoded and never encoded to more than two octets. Since '\x00' is a WebSockets framing character, it's easier for all parties to encode zero as '\xc4\x80', i.e. 194+128, i.e. UTF-8 256. This means that a random stream will be slightly more than 50% larger using this encoding scheme. But it's easy CPU-wise for client and server to decode/encode. This is especially important for clients written in languages that have weak bitops, like Javascript (i.e. the noVNC client). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* websockets: Better disconnect detection.Joel Martin2011-08-171-0/+5
| | | | | | | If the only thing we are waiting on is a WebSockets terminator, then remove it from the stream early on in rfbProcessClientNormalMessage. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* websockets: Initial WebSockets support.Joel Martin2011-08-178-2/+1205
| | | | | | | | | | | | | | Has a bug: WebSocket client disconnects are not detected. rfbSendFramebufferUpdate is doing a MSG_PEEK recv to determine if enough data is available which prevents a disconnect from being detected. Otherwise it's working pretty well. [jes: moved added struct members to the end for binary compatibility with previous LibVNCServer versions, removed an unused variable] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* tightPng: check even for SendGradientRect.Joel Martin2011-07-221-0/+6
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* tightPng: Add initial tightPng encoding support.Joel Martin2011-07-229-62/+436
| | | | | | | http://wiki.qemu.org/VNC_Tight_PNG Signed-off-by: Joel Martin <github@martintribe.org> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Remove some unused variables.Christian Beier2011-06-012-3/+0
|
* Fix rfbProcessNewConnection to return some value instead of void.George Kiagiadakis2011-06-012-7/+10
| | | | | | BUG: 256891 Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Split two event-loop related functions out of the rfbProcessEvents() mechanism.George Kiagiadakis2011-06-013-56/+85
| | | | | | | This is required to be able to do proper event loop integration with Qt. Idea was taken from vino's libvncserver fork. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Fix buffer overflowCristian Rodríguez2011-05-091-1/+1
| | | | | Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Revert "Fix memory corruption bug."Christian Beier2011-04-301-2/+0
| | | | | | This reverts commit c1363fa9583ed41b94fbc79b3ff410b7d5189407. The proper fix was already in 804335f9d296440bb708ca844f5d89b58b50b0c6.
* UTF-8ify AUTHORSJohannes Schindelin2011-04-281-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Update AUTHORSJohannes Schindelin2011-04-281-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix memory corruption bug.George Kiagiadakis2011-04-281-0/+2
| | | | | | | | This bug occured when a second telepathy tubes client was connected after the first one had disconnected and the channel (thus, the screen too) had been destroyed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix compilation in c89 mode.George Kiagiadakis2011-04-286-9/+13
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Replace deprecated GnuTLS functions gnutls_*_set_priority with ↵Vic Lee2011-04-271-9/+6
| | | | | | | | | | | | | gnutls_priority_set_direct. The functions gnutls_*_set_priority we used were marked deprecated since latest GnuTLS version 2.12. However the replacement function gnutls_priority_set_direct is available since 2.2, which is even lower than our version requirement 2.4 in configure. The patch just replace the deprecate function to fix the compile warning. Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Update ChangeLog for 0.9.8.Christian Beier2011-03-301-751/+6656
|
* Remove RDP from the README description.Christian Beier2011-03-291-1/+1
| | | | We do VNC but no RDP. Pointed out by Vic Lee, thanks!
* Fix skipping of merge commits in log convert script.Christian Beier2011-03-291-1/+2
|
* Add a git-log to GNU-Style ChangeLog converter script.Christian Beier2011-03-293-0/+372
| | | | Also put all helper scripts into a utils directory.
* Mention the pkg-config stuff in NEWS.Christian Beier2011-03-281-0/+1
|
* Merge branch 'master' of ↵Christian Beier2011-03-2834-303/+175
|\ | | | | | | ssh://libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver
| * Fix regression in Ultra encoding introduced by commit ↵Christian Beier2011-03-172-3/+3
| | | | | | | | | | | | fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532. My bad. There we see what the encodings test is good for ;-)
| * Update encodingstest.Christian Beier2011-03-171-42/+25
| | | | | | | | | | | | | | * Fixed segfault on shutdown. * Updated to test all encodings. * Fixed to operate with encodings that split up rects into smaller rects.
| * Remove useless comparisons that always evaluate to false.Christian Beier2011-03-171-6/+1
| | | | | | | | | | There can not be more than 255 security types and MSLogon is RFB 3.6 only.
| * Fix (most) MinGW32 compiler warnings.Christian Beier2011-03-179-29/+33
| |
| * Fix remaining compiler warnings.Christian Beier2011-03-174-18/+4
| |
| * Check rfbGetScreen() return value everywhere.Christian Beier2011-03-1718-6/+41
| | | | | | | | | | This fixes a segfault when a server is invoked with the '-help' commandline argument.
| * CMake: Check for libgcrypt availability.Christian Beier2011-03-122-0/+9
| |
| * CMake: Threads can be available even if SDL is not.Christian Beier2011-03-121-4/+4
| |
| * CMake: fix building SDLvncviewer.Christian Beier2011-03-121-2/+4
| |
| * Include cmake configure file templates in dist tarball.Christian Beier2011-03-121-1/+1
| | | | | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
| * Remove autogenerated files.Christian Beier2011-03-122-192/+0
| |
| * Update NEWS for 0.9.8 release.Christian Beier2011-03-121-0/+50
| |
* | Add libvncserver.pc and libvncclient.pc files.Vic Lee2011-03-285-0/+30
|/ | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Fix libvncclient TLS for Windows builds.Christian Beier2011-03-121-5/+39
| | | | | | | GnuTLS seems to expect proper errno values internally. So set them in our custom push/pull functions. Parts of the patch stolen from libcurl, thanks! Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Let libvncclient build with gcrypt for MinGW32 builds.Christian Beier2011-03-121-0/+4
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Use WaitForMessage instead of sleep in socket reading to fix performance issue.Vic Lee2011-03-121-10/+2
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Set proper file permissions for source files.Christian Beier2011-03-1024-0/+0
|
* Next version will be 0.9.8.Christian Beier2011-03-102-3/+3
|
* Move zippy.c to examples.Christian Beier2011-03-105-11/+4
|
* Call WSAGetLastError() everywhere errno is read after a Winsock call.Christian Beier2011-03-035-1/+26
| | | | | Winsock does NOT update errno for us, we have fetch the last error manually using WSAGetLastError().
* Update minilzo library used for Ultra encoding to ver 2.04.Christian Beier2011-02-266-2090/+5177
| | | | | | | | | | According to the minilzo README, this brings a significant speedup on 64-bit architechtures. Changes compared to old version 1.08 can be found here: http://www.oberhumer.com/opensource/lzo/lzonews.php Signed-off-by: Christian Beier <dontmind@freeshell.org>
* libvncserver: Make RRE, CoRRE and Ultra encodings thread-safe.Christian Beier2011-02-077-159/+103
| | | | | | | This adds generic before/after encoding buffers to the rfbClient struct, so there is no need for thread local storage. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Include CMakeLists.txt file in dist tarball.Christian Beier2011-02-021-0/+1
|
* Remove unneeded files concerning CVS.Christian Beier2011-01-3114-157/+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-313-414/+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>
* SDLvncviewer: fix compilation from dist tarball.Christian Beier2011-01-312-1/+2
| | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add ARD (Apple Remote Desktop) security type supportVic Lee2011-01-314-0/+342
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Put files used by both libs into a 'common' dir.Christian Beier2011-01-2515-3508/+19
| | | | | | | | | No functional changes. All files used by _both_ libvncserver and libvncclient are put into a 'common' directory and references from other files as well as Autotools and CMake build systems are updated. Signed-off-by: Christian Beier <dontmind@freeshell.org>