summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix libvncserver GnuTLS init.Christian Beier2011-09-111-1/+1
| | | | | | | | | | | | | | | gnutls_certificate_set_x509_trust_file() returns the number of processed certs and _not_ GNUTLS_E_SUCCESS (0) on success!
| * | Update AUTHORS regarding the websocket guys.Christian Beier2011-09-112-1/+2
| |/
| * websocket: Use a single buffer for both, encoding and decodingGernot Tenchio2011-09-081-16/+15
| |
| * Merge branch 'kanaka/websockets' into websocketsGernot Tenchio2011-08-306-251/+684
| |\ | | | | | | | | | | | | Conflicts: libvncserver/websockets.c
| | * rfbssl_gnutls: Merge rfbssl_peek/rfbssl_read into one functionGernot Tenchio2011-08-301-53/+35
| | |
| | * websockets: fix webSocketCheckDisconnect()Gernot Tenchio2011-08-301-1/+1
| | | | | | | | | | | | Do not consume the peeked data if no close frame was detected.
| | * websockets: use 32bit Xor in webSocketsDecodeHybi()Gernot Tenchio2011-08-291-5/+10
| | |
| | * cmake: use sha1.c for websocket buildsGernot Tenchio2011-08-291-0/+1
| | |
| | * Add sha1.*. Remove UTF-8 encode. Protocol handling.Joel Martin2011-08-254-176/+638
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add common/sha1.h and common/sha1.c so that we have the SHA routines even if openssl is not available. From the IETF SHA RFC example code. Remove the UTF-8 encoding hack. This was really just an experiment. If the protocol passed in the handshake has "binary" then don't base64 encode for the HyBi protocol. This will allow noVNC to request the binary data be passed raw and not base64 encoded. Unfortunately, the client doesn't speak first in VNC protocol (bad original design). If it did then we could determine whether to base64 encode or not based on the first HyBi frame from the client and whether the binary bit is set or not. Oh well. Misc Cleanup: - Always free response and buf in handshake routine. - Remove some unused variables.
| * | websockets: nothing to worry aboutGernot Tenchio2011-08-251-4/+5
| | |
| * | websockets: added gcrypt based sha1 digest funtionGernot Tenchio2011-08-251-0/+15
| | |
| * | cmake: make some noiseGernot Tenchio2011-08-251-0/+1
| | |
| * | websockets: remove warning on 64bit platformsGernot Tenchio2011-08-251-1/+1
| |/
| * websockets: Removed debugging left overGernot Tenchio2011-08-251-1/+1
| |
| * websockets: Use callback functions for encode/decodeGernot Tenchio2011-08-251-17/+32
| |
| * websockets: Move Hixie disconnect hack to websockets.cGernot Tenchio2011-08-254-78/+80
| | | | | | | | | | | | Move the hixie disconnect hack to websockets.c. Removed the remaining websockets vars from rfbClientPtr, so all websockets stuff is hidden behind an opaque pointer.
| * websockets: Initial HyBi supportGernot Tenchio2011-08-254-54/+395
| |
| * cmake: don't link sdl libs to vnc librariesGernot Tenchio2011-08-171-2/+0
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * websockets: Add wspath member to rfbClientRecGernot Tenchio2011-08-173-0/+3
| | | | | | | | | | | | | | Added wspath member to rfbClientRec which holds the path component of the initial websocket request. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Move libvncserver/md5* to commonGernot Tenchio2011-08-174-2/+6
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * websockets: Add Websockets support to CMakeLists.txtGernot Tenchio2011-08-172-2/+31
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * websockets: Add SSL cert command line options.Joel Martin2011-08-172-0/+15
| | | | | | | | | | | | | | - Add --sslcertfile and --sslkeyfile. These should really be combined with the existing x11vnc command line options for SSL support. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * websockets: add GnuTLS and OpenSSL supportGernot Tenchio2011-08-174-94/+527
| | | | | | | | | | | | | | | | | | | | For now, only OpenSSL support is activated through configure, since GnuTLS is only used in LibVNCClient. [jes: separated this out from the commit adding encryption support, added autoconf support.] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * websockets: Add encryption supportGernot Tenchio2011-08-177-27/+204
| | | | | | | | | | | | | | [jes: moved out GnuTLS and OpenSSL support, added a dummy support, to separate changes better, and to keep things compiling] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * 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>
* | .gitignore: zippy has movedJohannes Schindelin2011-08-171-1/+1
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | 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-235-1/+21
| | | | | | | | LibVNCServer/LibVNCClient now build for Android!
* | Add androidvncserver example.Christian Beier2011-07-233-0/+637
| |
* | Make LibVNCServer build for Android.letsgoustc2011-07-221-0/+5
|/ | | | 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!