aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/RegConfig.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use nullptr in all C++ codePierre Ossman2024-06-241-2/+5
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Return std::string instead of dynamic allocationsPierre Ossman2023-02-041-3/+2
| | | | | | We mostly use classical C strings, but the memory management around them can get confusing and error prone. Let's use std::string for the cases where we need to return a newly allocated string.
* Remove unneeded CharArray:sPierre Ossman2023-02-041-5/+5
| | | | | Avoid complicating things by moving things in to a second buffer here as there is no need for it.
* Get rid of TCHAR magicPierre Ossman2023-02-041-5/+5
| | | | | We never use Windows' "UNICODE" mode anyway, so let's get rid of this complexity.
* Fix incorrect typesPierre Ossman2023-01-051-1/+1
| | | | | These types caused an incorrect signed/unsigned behaviour, so let's make sure we use the appropriate type.
* 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.
* Replace Windows specific thread handlingPierre Ossman2016-07-071-8/+7
| | | | Use the platform independent primitives instead.
* Fix unsafe usage of the logging functions.Pierre Ossman2012-04-261-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bugfix:Peter Åstrand2008-12-101-1/+1
| | | | | | | | | RegConfig.cxx:64: warning: cannot pass objects of non-POD type `struct rfb::CStr' through `...'; call will abort at runtime git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3361 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Constructs such as:Peter Åstrand2008-12-091-2/+2
| | | | | | | | | | | | | | | | | | CharArray somevariable = "somestring" ...are not allowed. It seems like MSVC does not correctly check accessibility for temporaries. Chapter 12.2 of ISO/IEC 14882:2003(E): > Even when the creation of the temporary object is avoided (12.8), > all the semantic restrictions must be respected as if the temporary > object was created. [Example: even if the copy constructor is not > called, all the semantic restrictions, such as accessibility > (clause 11), shall be satisfied. ] git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3344 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+114
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@591 3789f03b-4d11-0410-bbf8-ca57d06f2519