aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/MemInStream.h
Commit message (Collapse)AuthorAgeFilesLines
* Use standard library naming for exceptionsPierre Ossman2024-11-061-1/+1
| | | | | This makes things more consistent since we mix with the standard library exceptions so often.
* Mark overridden virtual functionsPierre Ossman2024-06-241-2/+2
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Consistently use uint8_t for data buffersPierre Ossman2023-03-181-2/+2
| | | | | 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.
* Use stdint typesPierre Ossman2023-02-011-4/+4
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Explicitly mark unused parametersPierre Ossman2023-01-041-1/+1
| | | | | This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
* Change streams to be asynchronousPierre Ossman2020-05-211-1/+7
| | | | | | | | | | 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).
* Simplify stream availability handlingPierre Ossman2020-05-211-1/+1
| | | | | Just have a simply number of bytes argument to avoid a lot of complexity.
* Use size_t for lengths in stream objectsPierre Ossman2019-11-151-4/+4
| | | | | | | | Provides safety against them accidentally becoming negative because of bugs in the calculations. Also does the same to CharArray and friends as they were strongly connection to the stream objects.
* Avoid dropping const qualifier needlesslyPierre Ossman2015-09-291-1/+1
|
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+63
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519