summaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.h
Commit message (Collapse)AuthorAgeFilesLines
* Improved clipboard APIPierre Ossman2019-07-011-2/+4
| | | | | Change the internal clipboard API to use a request based model in order to be prepared for more advanced clipboard transfers.
* Clean up internal clipboard handlingPierre Ossman2019-07-011-1/+1
| | | | | | We now filter incoming data, which means we can start assuming the clipboard data is always null terminated. This allows us to clean up a lot of the internal handling.
* Move update request handling in to CConnectionPierre Ossman2018-11-011-19/+2
| | | | | It's a generic client thing, so abstract it in to the common library. Makes it easier to integrate with other common code.
* Stop requiring CConnection::serverInit() to be overriddenPierre Ossman2018-11-011-1/+1
| | | | | Add an explicit callback for subclasses to do their startup in. This makes it easier to do proper ordering, and avoids mistakes.
* Stop using fences for pixel format switchPierre Ossman2018-11-011-2/+2
| | | | | This method was only really useful when continuous updates was active, so let's rely on a single extension rather than two.
* Replace "frames" with "updates" in statsPierre Ossman2018-03-261-2/+2
| | | | | | The VNC servers aren't great at getting full frames with each update, so avoid calling it "frames per second" in the statistics as that can be misleading.
* Add client support for LED state syncPierre Ossman2017-08-241-0/+2
|
* Display performance statistics in viewerPierre Ossman2017-02-241-0/+7
| | | | | | Adds an optional graph to the viewer to display current frame rate, pixel rate and network bandwidth. Makes it easier to debug and test performance related issues.
* Change cursor API to use RGBA dataPierre Ossman2017-02-221-1/+1
| | | | | This will allow us to use better formats that preserve the entire alpha channel.
* Delegate decoder object management to a separate classPierre Ossman2015-11-271-5/+2
| | | | | | | | | Done in preparation for multi-core decoding. Keeps the complexity out of the other classes. This also moves ownership of the framebuffer in to CConnection. It's the CConnection object that is aware of the threads and how to synchronise with them. Therefore the ownership of the framebuffer must also be there to make sure it isn't deleted whilst threads are working.
* Display partial updates on slow transfersPierre Ossman2015-09-231-0/+2
| | | | | | | Normally we only display screen changes once we have the updates for the entire screen. This may give the impression that the viewer is hung though. So display the partial data if the update is taking to long to arrive.
* Switch to unsigned parameters for ExtendedDesktopSize handlerPierre Ossman2015-03-031-2/+2
| | | | | The constants used here are unsigned so it makes more sense that the parameters are as well.
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-10/+0
| | | | | | | This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter.
* Push encoder and decoder handling down into the connection objectsPierre Ossman2014-07-071-3/+7
| | | | | This keeps the reader and writer objects clean and simple protocol decoders/encoders.
* Remove some premature optimisationPierre Ossman2014-07-071-1/+3
| | | | Reduces header dependencies.
* Be more consistent in referring to pixel byte streams as buffersPierre Ossman2014-07-071-2/+2
|
* Fix build on 32-bit and 64-bit WindowsDRC2013-02-261-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5051 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement -listen in the new FLTK vncviewer. Work done byPierre Ossman2013-02-151-1/+1
| | | | | | | Justina Mickonyte for Cendio. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5041 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Client side support for continuous updates.Pierre Ossman2011-11-151-0/+1
| | | | 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-0/+4
| | | | | | | 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
* Redesign the format switching logic so that we don't have to adjust the wayPierre Ossman2011-11-041-0/+3
| | | | | | | 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/+5
| | | | | | 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
* Update connection parameters when the user has changed things in the optionsPierre Ossman2011-05-171-0/+2
| | | | | | | 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/+2
| | | | 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-0/+4
| | | | 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/+96
| | | | | | | 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-165/+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
* Win32 vncviewer merged with VNC 4.1.1 code. The merge is incomplete - the ↵Constantin Kaplinsky2006-05-161-0/+165
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