summaryrefslogtreecommitdiffstats
path: root/client_examples/SDLvncviewer.c
Commit message (Collapse)AuthorAgeFilesLines
* SDLvncviewer: work around SDL_TEXTINPUT not generating chars with CTRL downChristian Beier2018-07-301-0/+4
|
* SDLvncviewer: handle mouse wheel eventsChristian Beier2018-07-301-1/+31
|
* SDLvncviewer: adhere to C89Christian Beier2018-07-301-1/+2
|
* SDLvncviewer: implement Unicode input handlingChristian Beier2018-07-301-20/+26
|
* SDLvncviewer: remove obsolete video scaling codeChristian Beier2018-07-301-129/+0
|
* SDLvncviewer: use SDL2 for clipboard handlingChristian Beier2018-07-301-29/+25
| | | | By using this, we can get rid of our own homebrewn solution scrap.[c|h] and drop X11 from the build system.
* SDLvncviewer: make input work with SDL2Christian Beier2018-07-301-22/+22
| | | | ... at least somewhat. This is far from perfect but no regression compared to SDL1.2 functionality.
* SDLvncviewer: make display work with SDL2Christian Beier2018-07-301-54/+90
|
* SDLvncviewer: add a very simple GetCredentials callbackChristian Beier2018-07-251-0/+25
|
* Merge branch 'server-ipv6'Christian Beier2012-04-021-0/+1
|\
| * IPv6 support for LibVNCServer, part three: make reverse connections ↵Christian Beier2012-03-101-0/+1
| | | | | | | | | | | | | | | | IPv6-capable. Besided making libvncserver reverseVNC IPv6-aware, this introduces some changes on the client side as well to make clients listen on IPv6 sockets, too. Like the server side, this also uses a separate-socket approach.
* | SDLvncviewer: map Apple/Windows keys correctlyJohannes Schindelin2012-03-291-3/+2
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: fix the SDL_KEYUP issueJohannes Schindelin2012-03-291-6/+13
|/ | | | | | | | | | | Keys got stuck because unicode is 0 upon SDL_KEYUP events, even if the same key event sets unicode correctly in SDL_KEYDOWN events. Work around that for the common case (ASCII) using the fact that both SDL and X11 keysyms were created with ASCII compatibility in mind. So as long as we type ASCII symbols, we can map things trivially. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: make it resizable by defaultJohannes Schindelin2011-10-091-1/+3
| | | | | | | | | I got annoyed having to specify -resizable all the time; I never use it in another mode anymore, since I am on a netbook. The option -no-resizable was added to be able to switch off that feature. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: fix compilation from dist tarball.Christian Beier2011-01-311-1/+1
| | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add doxygen documentation support.Christian Beier2010-11-181-0/+4
| | | | | | | | | | | | | 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 compilation with newer automakeJohannes Schindelin2010-03-131-1/+1
| | | | | | | 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>
* 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>
* 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>
* Teach SDLvncviewer about scroll wheel eventsdscho2009-03-121-8/+27
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: fix passing a wrong pointer typedscho2009-03-121-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Clipboard support for SDLvncviewerdscho2009-03-081-0/+20
| | | | | | The clipboard support has only been tested on Linux so far. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: upon focus loss, force releasing the Alt keysdscho2009-03-071-0/+16
| | | | | | | | When switching windows using the Alt+Tab shortcut, SDLvncviewer would get the "down" event, but not the "up" event. This patch provides a workaround. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: refactor event handlingdscho2009-03-071-43/+50
| | | | | | | Instead of having deep indent levels, put the code to handle events into its own function. That also helps readability. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Teach SDLvncviewer to be resizabledscho2009-03-071-8/+145
| | | | | | | | Using "SDLvncviewer -resizable", you make the window resizable. This means that you can shrink the window (e.g. when you are trying to access an x11vnc from your little netbook), or you can enlarge it. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: enable key repeatdscho2009-03-061-0/+2
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: update screen correctly after a resizedscho2008-06-031-0/+2
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: add -viewonlydscho2008-05-131-1/+15
| | | | | | | Just like its siblings from other projects, SDLvncviewer now supports viewonly connections. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: fix button handlingdscho2008-02-021-2/+2
| | | | | | | | For some reason, I swapped buttons 2 and 3 on Dec 7, 2005, in commit "translate keys based on unicode (much more reliable than sym)". I do not remember why, nor what I smoked, but this was wrong. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: fix Ctrl+<letter>dscho2008-02-021-0/+5
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* SDLvncviewer: fix translation of the Tab keydscho2008-02-021-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* The great UltraVNC Compatibility Commitsteven_carr2006-05-151-1/+21
|
* libvncclient: support changing of framebuffer size; make SDLvncviewer use itdscho2006-04-281-0/+1
|
* fix SDLvncviewer for widths which are not divisible by 8dscho2006-04-281-1/+2
|
* add KeyboardLedState extensiondscho2006-03-281-0/+8
|
* assorted fixes for MinGW32dscho2005-12-191-0/+1
|
* translate keys based on unicode (much more reliable than sym)dscho2005-12-071-142/+88
|
* add an extension mechanism for LibVNCClient, modify the client data handlingdscho2005-10-061-3/+3
| | | | | so that more than one data structure can be attached, and add an example to speak the client part of the back channel.
* try 32 bit firstdscho2005-05-241-1/+2
|
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-151-2/+3
|
* fix for older SDL versionsdscho2005-03-061-3/+9
|
* support MinGW32!dscho2004-12-011-1/+45
|
* cleanups; libvncclient supports -encodings alreadydscho2004-06-181-14/+12
|
* fix compilation on MacOSXdscho2004-06-081-5/+4
|
* added -encodingsdscho2004-06-071-1/+9
|
* add mouse button handlingdscho2004-06-071-1/+12
|
* add client_examples/, add SDLvncviewer, libvncclient API changes, suppress ↵dscho2004-06-071-0/+236
automake CFLAGS nagging