aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/JpegDecompressor.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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 operator overloading for comparisonPierre Ossman2023-02-041-4/+4
| | | | | It is much more natural than custom methods for this very common operation.
* Use stdint typesPierre Ossman2023-02-011-6/+6
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Protect key variables from setjmp()Pierre Ossman2023-01-051-5/+7
| | | | | If we don't mark these as volatile then they might get reset on longjmp() and the code will misbehave.
* 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.
* spelling fixesklemens2017-01-281-1/+1
|
* Make sure Exceptions do not use unsafe format stringsPierre Ossman2015-03-031-2/+2
|
* Remove a lot of platform compatibilty stuffPierre Ossman2014-07-071-1/+0
| | | | It's either not used, or no longer relevant.
* Fix some offenders that poke around in the PixelFormat internalsPierre Ossman2014-07-071-27/+22
|
* Consistent use of stride vs pitchPierre Ossman2014-07-071-7/+8
| | | | | | | Consistently use the term stride rather than pitch. Also consistently represent the stride in number of pixels rather than number of bytes. There is so much code that assumes proper alignment already that we do not need the extra resolution.
* Need to include os/print.h, because Windows doesn't have snprintf()DRC2011-11-031-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4760 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move JPEG decoding into a standalone class (these should have been checked ↵DRC2011-11-031-0/+233
in with r4757. Oops.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4758 3789f03b-4d11-0410-bbf8-ca57d06f2519