summaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgReader.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-5/+0
| | | | | | The connection object is a much more appropriate object for the decoders and encoders to keep track of. Besides the streams, it also contains state like connection parameters.
* Push encoder and decoder handling down into the connection objectsPierre Ossman2014-07-071-23/+1
| | | | | This keeps the reader and writer objects clean and simple protocol decoders/encoders.
* Handle CopyRect like any other encodingPierre Ossman2014-07-071-20/+8
| | | | Avoids having to special case things. Keeps the code simpler.
* Merge the "V3" message classes into the normal onesPierre Ossman2014-07-071-5/+144
| | | | We have no need for this abstraction so let's keep things simple.
* Also check for negative encodings, in case the server is throwing unexpectedPierre Ossman2012-07-191-1/+1
| | | | | | | garbage at us. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4942 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC signed/unsigned warnings related to encodings: ThePeter Åstrand2010-02-101-3/+3
| | | | | | | | | | | | 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
* Move the SetDesktopName parser into CMsgReaderV3 to keep with the separationPierre Ossman2009-03-201-13/+0
| | | | | | | of old and new features. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3696 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
* Implemented support for DesktopName pseudo encoding, which allowsPeter Åstrand2009-01-151-0/+13
| | | | | | | | | | updating the desktop name on the fly. Tested in ThinLinc since 2008-01-07. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3549 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Backported patch from RealVNC 4.1.3. FYI it is not security related.Adam Tkac2008-11-181-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3183 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+158
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519