aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgHandler.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused setPixelFormat() callbackPierre Ossman2024-08-121-7/+6
| | | | | This was made obsolete in dd45b44 when we extended the serverInit() callback.
* Consistently use uint8_t for data buffersPierre Ossman2023-03-181-1/+1
| | | | | These will always be byte streams at heart, so let's try to keep them with a proper type. Should make it clearer how they will be used.
* Merge "Pixel" type in to PixelFormat headerPierre Ossman2023-02-181-1/+0
| | | | | It's a type specific to that class, so let's keep them close for clarity.
* Use stdint typesPierre Ossman2023-02-011-10/+11
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Stop supplying flags to clipboard peek handlerPierre Ossman2023-01-041-1/+1
| | | | The flags should always be empty anyway.
* Support the VMware Cursor Position extension on vncviewerlhchavez2021-03-111-0/+1
| | | | | | | | This change makes it possible for re-synchronizing the remote cursor on the vncviewer when in fullscreen mode. This is done by locally moving the cursor position to what the server thinks it should be. Now SDL games should work!
* Change streams to be asynchronousPierre Ossman2020-05-211-2/+2
| | | | | | | | | | Major restructuring of how streams work. Neither input nor output streams are now blocking. This avoids stalling the rest of the client or server when a peer is slow or unresponsive. Note that this puts an extra burden on users of streams to make sure they are allowed to do their work once the underlying transports are ready (e.g. monitoring fds).
* Support extended clipboard transfersPierre Ossman2019-07-011-3/+13
| | | | | | | Implements support in both client and server for the extended clipboard format first seen in UltraVNC. Currently only implements text handling, but that is still an improvement as it extends the clipboard from ISO 8859-1 to full Unicode.
* 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.
* Let CMsgHandler::serverInit() handle initial set upPierre Ossman2018-11-011-4/+6
| | | | | | | Avoid using the callbacks used for runtime changes for the initial setup. They weren't really useful anyway as you could not allocate a framebuffer without also knowing the pixel format. So make things more clear by letting serverInit() get the initial settings.
* Split out ServerParams from ConnParamsPierre Ossman2018-11-011-3/+3
| | | | | | We need to track different things in the server and client, so separate things to two independent structures to keep things more clear.
* Basic support for QEMU Extended Key EventsPierre Ossman2017-08-281-0/+1
| | | | | | This adds the basic infrastructure and handshake for the QEMU Extended Key Events extension. No viewer or server makes use of the extra functionality yet though.
* Add client support for LED state syncPierre Ossman2017-08-241-0/+2
|
* Client support for cursors with full alphaPierre Ossman2017-02-221-0/+3
|
* 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.
* Switch to unsigned parameters for ExtendedDesktopSize handlerPierre Ossman2015-03-031-1/+1
| | | | | The constants used here are unsigned so it makes more sense that the parameters are as well.
* These methods aren't critical so no need for them to be purePierre Ossman2015-02-131-2/+2
|
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-9/+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-2/+1
| | | | | This keeps the reader and writer objects clean and simple protocol decoders/encoders.
* Be more consistent in referring to pixel byte streams as buffersPierre Ossman2014-07-071-2/+2
|
* Basic infrastructure for continuous updates.Pierre Ossman2011-11-141-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4801 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic infrastructure to support fences.Pierre Ossman2011-11-141-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4798 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If the client and server are using identical pixel formats, then perform ↵DRC2011-11-031-0/+6
| | | | | | 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
* Eliminate GCC signed/unsigned warnings related to encodings: ThePeter Åstrand2010-02-101-2/+2
| | | | | | | | | | | | encoding in the RFB protocol has always been signed, and signed values are also used in the specification (ie DesktopName = -307 etc). In the code, however, unsigned types were used in a number of places, but not all, which causes warnings. This patch fixes the problem by switching to signed values everywhere. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Declare virtual methods with empty body as pure virtual methods in ↵Adam Tkac2009-06-161-12/+12
| | | | | | | | | rfb::CMsgHandler class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3842 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove file transfer callback that was left behind.Pierre Ossman2009-03-201-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3703 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Properly parse the ExtendedDesktopSize rects in the client.Pierre Ossman2009-03-201-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3702 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minimal client side support for the extended desktop size protocol.Pierre Ossman2009-03-201-3/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3699 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Use rdr::U32 type for length of strings handled by *CutText functions.Adam Tkac2009-02-131-1/+1
| | | | | | | This avoids big buffer overflow when memcpy is called with "-1" argument. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3607 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+71
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519