aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Dialog.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Avoid shadowing variablesPierre Ossman2024-06-241-10/+10
| | | | | 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-12/+12
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Use std::string instead of CharArrayPierre Ossman2023-02-041-3/+3
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Return static char buffer from some methodsPierre Ossman2023-02-041-5/+5
| | | | | | | | | This mimics how some system functions (like inet_ntop()) work, and avoids complexity around ownership of the returned string buffer. The downside is that the string must be consumed directly as it will be overwritten on the next call, but that is not an issue with the current usage.
* Remove unneeded CharArray:sPierre Ossman2023-02-041-5/+4
| | | | | 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-11/+10
| | | | | We never use Windows' "UNICODE" mode anyway, so let's get rid of this complexity.
* Explicitly mark unused parametersPierre Ossman2023-01-041-1/+2
| | | | | 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.
* Catch exceptions by referencePierre Ossman2018-05-291-1/+1
| | | | | We use polymorphic exception objects, so catching by value invokes the copy constructor and stuff that we don't really want.
* Remove debug log noise from Windows dialog classPierre Ossman2015-03-171-7/+0
|
* Fix mismatches between format string and argumentsPierre Ossman2015-03-031-5/+5
|
* Fix 64-bit Windows issuesDRC2010-05-201-6/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4061 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid GCC warning: initializer lists ordered as declarationsPeter Åstrand2008-12-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3351 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Use sizeof(PROPSHEETHEADER) instead ofPeter Åstrand2008-12-091-1/+1
| | | | | | | | | | PROPSHEETHEADER_V1_SIZE, since the latter is not available in MinGW. Raises our requirements of comctl32.dll, but should be no problem nowadays. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3333 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+391
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@591 3789f03b-4d11-0410-bbf8-ca57d06f2519