aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/winvnc.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Rename core/util to core/stringPierre Ossman2025-02-251-1/+1
| | | | | It's just string helper functions here, so let's get rid of the catch-all name for this module.
* Move logging to core libraryPierre Ossman2025-02-251-4/+3
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move base exception classes to core libraryPierre Ossman2025-02-251-2/+2
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move utility functions to core libraryPierre Ossman2025-02-131-1/+5
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
*-. Merge branches 'argparse', 'nothread' and 'config' of ↵Pierre Ossman2025-01-101-10/+6
|\ \ | | | | | | | | | https://github.com/CendioOssman/tigervnc
| | * Remove server and viewer config typesPierre Ossman2025-01-071-2/+0
| |/ |/| | | | | | | | | | | We don't consistently use these, so they are just confusing. Instead, we rely on the linker to not include unnecessary objects, and hence irrelevant configuration objects.
| * Consolidate argument parsing in single functionPierre Ossman2025-01-101-8/+6
|/ | | | | Avoid duplicating this complexity everywhere and make sure all commands get the same handling and fixes.
* Merge branch 'master' of https://github.com/madnicendio/tigervncPierre Ossman2024-11-221-4/+4
|\
| * Capitalize first letter in log, exception & errorMadeleine Nilsson2024-11-211-2/+2
| | | | | | | | The reason for this is to keep a consistency through out the project.
| * Standardize on sentence case in titlesMadeleine (ThinLinc team)2024-11-111-2/+2
| | | | | | | | The reason for this is to keep a consistency through out the project.
* | Use standard library naming for exceptionsPierre Ossman2024-11-061-2/+2
| | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
* | Use standard exception classesPierre Ossman2024-11-061-2/+2
| | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
* | Subclass exceptions from std::exceptionPierre Ossman2024-11-061-2/+2
| | | | | | | | | | Make sure our exceptions are part of the standard exception class hierarchy.
* | Use what() to access exception descriptionPierre Ossman2024-11-061-2/+2
|/ | | | Harmonize with the standard C++ exceptions.
* Split SystemException to handle WindowsPierre Ossman2024-10-091-2/+2
| | | | | | | | | | | | | 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.
* Use nullptr in all C++ codePierre Ossman2024-06-241-6/+6
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Remove unused rfb/util.h includesPierre Ossman2023-02-041-0/+1
| | | | | | | | These files don't use anything from this header, so remove the include. This exposes some missing includes in other places, though. So add an explicit include in the files that were relying on an indirect inclusion.
* Remove "str" prefix from string helpersPierre Ossman2023-02-041-3/+3
| | | | | This matches the naming in STL, which is what we are mostly mimicing now that we are using std::string for these functions.
* Use std::string instead of CharArrayPierre Ossman2023-02-041-11/+11
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Get rid of TCHAR magicPierre Ossman2023-02-041-12/+12
| | | | | We never use Windows' "UNICODE" mode anyway, so let's get rid of this complexity.
* 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.
* Catch exceptions by referencePierre Ossman2018-05-291-2/+2
| | | | | We use polymorphic exception objects, so catching by value invokes the copy constructor and stuff that we don't really want.
* Configuration::listParams wants width/nameWidth; not ConfigurationObjectPeter Åstrand (astrand)2017-11-081-1/+1
|
* Don't fail old service cleanupPierre Ossman2016-08-181-2/+10
|
* Clean up old WinVNC servicesPierre Ossman2016-06-131-0/+5
| | | | | | We've changed the service name a couple of times for various reasons. Make sure the old versions are removed when the new one is registered.
* Provide description for servicesPierre Ossman2016-01-121-0/+1
| | | | | | The argument named "desc" was not actually the description, but rather the short "display name". Add handling for the actual description to reduce confusion.
* Improve TigerVNC branding in WinVNCPierre Ossman2015-05-041-2/+2
| | | | | Avoids conflicts with the original RealVNC implementation, or any other forks of that code.
* Fix unsafe format strings to the logging functionsPierre Ossman2015-03-031-1/+1
|
* Give CharArray a printf style method to ease automatic allocationPierre Ossman2015-03-031-4/+4
|
* Fix mismatches between format string and argumentsPierre Ossman2015-03-031-1/+1
|
* Remove a lot of platform compatibilty stuffPierre Ossman2014-07-071-3/+0
| | | | It's either not used, or no longer relevant.
* Make WinVNC service mode work on Windows Vista and beyond.Samuel Mannehed2014-02-071-11/+11
| | | | | | | | Patch by Jochen Tucht, fixes bug 135. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5158 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] winvnc: Enable debug output when built with -D_DEBUGAdam Tkac2011-01-261-3/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4242 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] win: Enable server configuration parameters in winvnc.Adam Tkac2010-11-111-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4188 3789f03b-4d11-0410-bbf8-ca57d06f2519
* winvnc: Declare the main() function as WinMain()Adam Tkac2010-06-251-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4074 3789f03b-4d11-0410-bbf8-ca57d06f2519
* winvnc: Declare argv as "char**" instead of "const *char[]"Adam Tkac2010-06-251-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4073 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add possibility to define viewer/server specific parameters viaAdam Tkac2010-04-231-1/+1
| | | | | | | Configuration class. Change needed viewer/server code appropriately. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4032 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+262
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@591 3789f03b-4d11-0410-bbf8-ca57d06f2519