aboutsummaryrefslogtreecommitdiffstats
path: root/tests/perf/decperf.cxx
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.
* Use standard exception classesPierre Ossman2024-11-061-3/+3
| | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
* Use what() to access exception descriptionPierre Ossman2024-11-061-2/+2
| | | | Harmonize with the standard C++ exceptions.
* Move getUserPasswd()/showMsgBox() to CConnectionKang Lin2024-08-301-0/+12
| | | | | Problems with the original code: A process can only establish one connection. After modification, multiple connections can be supported.
* Remove unused setPixelFormat() callbackPierre Ossman2024-08-121-7/+0
| | | | | This was made obsolete in dd45b44 when we extended the serverInit() callback.
* Mark overridden virtual functionsPierre Ossman2024-06-241-12/+12
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Use nullptr in all C++ codePierre Ossman2024-06-241-2/+2
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Use stdint typesPierre Ossman2023-02-011-5/+5
| | | | | 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.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+4
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Support the VMware Cursor Position extension on vncviewerlhchavez2021-03-111-0/+5
| | | | | | | | 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-0/+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).
* Simplify stream availability handlingPierre Ossman2020-05-211-5/+2
| | | | | Just have a simply number of bytes argument to avoid a lot of complexity.
* Add stream avail() methodsPierre Ossman2020-05-211-2/+2
| | | | | Makes it more readable to write code that needs to know how much data/space is available in a stream.
* Provide dummy output for dummy client connectionsPierre Ossman2020-02-271-1/+48
| | | | | The CConnection base class wants to be able to write things these days, so we need to provide it a place to do so.
* Split test programs to benchmarking and unit testsPierre Ossman2019-09-251-0/+240
They have very different purpose, so make things easier to work with by having multiple directories.