aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DeviceFrameBuffer.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Capitalize even more logging and exceptionsPierre Ossman2024-11-221-6/+6
|
* Merge branch 'master' of https://github.com/madnicendio/tigervncPierre Ossman2024-11-221-1/+1
|\
| * Capitalize first letter in log, exception & errorMadeleine Nilsson2024-11-211-1/+1
| | | | | | | | The reason for this is to keep a consistency through out the project.
* | Use standard library naming for exceptionsPierre Ossman2024-11-061-4/+4
| | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
* | Use standard exception classesPierre Ossman2024-11-061-6/+6
| | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
* | Subclass exceptions from std::exceptionPierre Ossman2024-11-061-1/+1
| | | | | | | | | | Make sure our exceptions are part of the standard exception class hierarchy.
* | Use what() to access exception descriptionPierre Ossman2024-11-061-1/+1
|/ | | | Harmonize with the standard C++ exceptions.
* Split SystemException to handle WindowsPierre Ossman2024-10-091-4/+4
| | | | | | | | | | | | | Windows has (at least) two error namespaces, both errno and GetLastResult(). These overlap, so it is important we keep track of which one we are dealing with. To make things extra problematic, the BSD socket API normally uses errno, but on Windows it has been mapped in to the GetLastResult() namespace. Try to keep better control of this by using separate classes for the namespaces.
* Avoid shadowing variablesPierre Ossman2024-06-241-4/+4
| | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
* 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 std::vector for basic data arraysPierre Ossman2023-02-011-19/+17
| | | | | Avoid our own custom types in favour of what's already included with C++.
* Use stdint typesPierre Ossman2023-02-011-8/+9
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* 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.
* Clean up initialization of DIBSectionBufferPierre Ossman2020-01-031-13/+1
| | | | | | We had an unintentional conflict with PixelBuffer::setSize() here. But we can simplify this further as this initialization is only used by the subclass DeviceFrameBuffer, and only once.
* Change cursor API to use RGBA dataPierre Ossman2017-02-221-84/+153
| | | | | This will allow us to use better formats that preserve the entire alpha channel.
* Remove legacy Windows codePierre Ossman2016-01-121-5/+3
| | | | | We have lots of code that deals with Windows versions that we no longer support anyway. Clean out all of this old cruft.
* Provide a better R/W base PixelBuffer classPierre Ossman2014-07-071-0/+1
| | | | | Clearly separates the read API from the write API and also from actual implementation.
* Get rid of the direct access abuse of FullFramePixelBuffer's dataPierre Ossman2014-07-071-6/+19
|
* Remove full support for colour mapsPierre Ossman2014-07-071-48/+2
| | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.
* Fix unsafe usage of the logging functions.Pierre Ossman2012-04-261-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix some overloading ambiguity.Pierre Ossman2009-03-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3654 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed unused variablePeter Åstrand2008-12-101-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3350 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+289
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@591 3789f03b-4d11-0410-bbf8-ca57d06f2519