summaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to dynamically resize the size of the session, when resizingPierre Ossman2012-07-041-32/+0
| | | | | | | | the viewer window, or when entering or leaving fullscreen mode. Initial work done by Arthur Huillet and clohr. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4924 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix unsafe usage of the logging functions.Pierre Ossman2012-04-261-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we're paranoid about accidentally feeding a format string.Pierre Ossman2012-04-251-1/+1
| | | | | | | Basic patch by Joachim Falk. Slightly improved before commit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4900 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Client side support for continuous updates.Pierre Ossman2011-11-151-7/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4805 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support and use fences in the client. This allows more aggressive use ofPierre Ossman2011-11-141-12/+69
| | | | | | | update requests as we can now synchronise format changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4800 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the correct matching free operation. Patch by Matthieu Lochegnies.Pierre Ossman2011-11-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4786 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redesign the format switching logic so that we don't have to adjust the wayPierre Ossman2011-11-041-13/+30
| | | | | | | we send out update requests. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4766 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If the client and server are using identical pixel formats, then perform ↵DRC2011-11-031-0/+9
| | | | | | Tight decoding directly into the viewer's back buffer, rather than going through the slow fillRect/imageRect routines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4757 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The old Unix viewer put the RFB clipboard data both in CLIPBOARD and PRIMARY.Pierre Ossman2011-09-071-0/+3
| | | | | | | Make sure the new one does the same. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4668 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure to include config.h in every compilation unit. Otherwise,Peter Åstrand2011-08-231-0/+4
| | | | | | | | | | the necessary defines will only be visible as a side effect of including other headers, leading to problems with things like translations, which will fail in various places. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4646 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This was not a good method to get an initial full update as we would get twoPierre Ossman2011-07-151-4/+1
| | | | | | | update requests before the firstUpdate variable toggled to false. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4596 3789f03b-4d11-0410-bbf8-ca57d06f2519
* When we stopped doing full updates on format changes, we also lost the sidePierre Ossman2011-07-151-0/+3
| | | | | | | | effect of having the first update being a full update. This is needed for correct behaviour for some extensions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4595 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't need to force a full refresh on format changes with the new viewerPierre Ossman2011-07-151-2/+0
| | | | | | | as we do not throw away the framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4590 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Managed to consistently get the colour levels reversed. Fix up everything soPierre Ossman2011-07-141-7/+12
| | | | | | | that it behaves like documented. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4588 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Destroy the main UI and connection objects before popping up the fatal errorPierre Ossman2011-07-121-2/+1
| | | | | | | | message. This avoids a lot of problems with recursion and trying to send events over a dead socket. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4582 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Create a proper header file for the exported functions from vncviewer.cxx.Pierre Ossman2011-07-121-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4579 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build issues with Visual C++ (implemented macro version of snprintf + ↵DRC2011-06-241-0/+6
| | | | | | re-ordered headers to ensure that winsock is included ahead of windows.h) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4527 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The default value of local cursor support is false, so we couldn't justPierre Ossman2011-06-091-0/+4
| | | | | | | remove these lines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4476 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bah, not enough coffee today. I had already implemented the pointer ratePierre Ossman2011-06-081-3/+0
| | | | | | | | control, so it can be allowed to stay for now. And there were a bunch of references to the local cursor option. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4475 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for cursors to the new viewer.Pierre Ossman2011-06-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle framebuffer resize requests.Pierre Ossman2011-06-011-5/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4460 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we can handle clipboard data of any size.Pierre Ossman2011-05-261-6/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4454 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do some proper cleanup and delete the desktop window on close.Pierre Ossman2011-05-191-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4431 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for clipboard data coming from the server.Pierre Ossman2011-05-191-1/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4430 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update connection parameters when the user has changed things in the optionsPierre Ossman2011-05-171-3/+58
| | | | | | | dialog. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4422 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add connection information dialog based on the one in the unix viewer.Pierre Ossman2011-05-161-0/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4417 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement menu entry for forced refresh of screen.Pierre Ossman2011-04-291-3/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4392 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial commit of new FLTK based vncviewer. Most of the code comes from thePierre Ossman2011-03-091-0/+450
| | | | | | | current Unix vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4345 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-712/+0
| | | | | | Windows part should be complete. For the Unix part, more changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@592 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adapt CConn::getUserPasswd, so that it can read from a file again.Peter Åstrand2006-05-191-11/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@566 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Toolbar handling restored.Constantin Kaplinsky2006-05-171-4/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@556 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Win32 vncviewer merged with VNC 4.1.1 code. The merge is incomplete - the ↵Constantin Kaplinsky2006-05-161-0/+708
code compiles but does not always work properly yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@552 3789f03b-4d11-0410-bbf8-ca57d06f2519