aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncconfig
Commit message (Collapse)AuthorAgeFilesLines
* Convert DisconnectAction to EnumParameterPierre Ossman2025-03-121-6/+4
|
* Make use of IntParameter range validationPierre Ossman2025-03-061-1/+2
|
* Rename core/util to core/stringPierre Ossman2025-02-252-2/+2
| | | | | 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-252-4/+5
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move configuration to core libraryPierre Ossman2025-02-253-5/+7
| | | | | | | 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-252-3/+3
| | | | | | | 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-132-5/+10
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Update visible copyright year to 2025Pierre Ossman2025-01-141-1/+1
|
*-. Merge branches 'argparse', 'nothread' and 'config' of ↵Pierre Ossman2025-01-101-10/+5
|\ \ | | | | | | | | | 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/+5
|/ | | | | 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-224-25/+25
|\
| * Capitalize first letter in log, exception & errorMadeleine Nilsson2024-11-213-8/+8
| | | | | | | | The reason for this is to keep a consistency through out the project.
| * Standardize on sentence case in titlesMadeleine (ThinLinc team)2024-11-112-17/+17
| | | | | | | | The reason for this is to keep a consistency through out the project.
* | Use standard library naming for exceptionsPierre Ossman2024-11-062-3/+3
| | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
* | Use standard exception classesPierre Ossman2024-11-061-1/+1
| | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
* | Subclass exceptions from std::exceptionPierre Ossman2024-11-063-8/+8
| | | | | | | | | | Make sure our exceptions are part of the standard exception class hierarchy.
* | Use what() to access exception descriptionPierre Ossman2024-11-063-5/+5
|/ | | | Harmonize with the standard C++ exceptions.
* Split SystemException to handle WindowsPierre Ossman2024-10-092-3/+3
| | | | | | | | | | | | | 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-1/+0
| | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
* Mark overridden virtual functionsPierre Ossman2024-06-248-28/+28
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Use nullptr in all C++ codePierre Ossman2024-06-2411-33/+33
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Update copyright year to 2024Samuel Mannehed2024-01-091-1/+1
|
* Update copyright year to 2023Samuel Mannehed2023-07-201-1/+1
|
* Prefer target_include_directories()Pierre Ossman2023-03-311-2/+1
| | | | | It is more specific, and it properly sets up propagation when include directories also need to be used further down a dependency chain.
* Remove unused rfb/util.h includesPierre Ossman2023-02-042-0/+2
| | | | | | | | 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-042-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-044-45/+33
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Use std::vector for temporary char arraysPierre Ossman2023-02-041-10/+10
| | | | | | | | It's more standard and familiar than our custom CharArray type, and it still gives us automatic freeing of the buffer. We could probably have used std::unique_ptr instead, but we are currently targeting older compilers where C++11 isn't standard yet.
* Make strSplit() simpler and saferPierre Ossman2023-02-042-23/+17
| | | | | | | Get rid of all the magical re-allocation and shuffling and instead just return a new set of strings that is fully splitted. Will consume a bit more memory, but is a lot safer to use as there is less confusion about ownership of memory.
* Return std::string instead of dynamic allocationsPierre Ossman2023-02-043-16/+15
| | | | | | 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.
* Use fixed size character bufferPierre Ossman2023-02-041-10/+10
| | | | | We know the needed space here, so let's keep it simple with a constant size string buffer.
* Return static char buffer from some methodsPierre Ossman2023-02-042-3/+3
| | | | | | | | | 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.
* Use StringParameters directlyPierre Ossman2023-02-042-8/+7
| | | | | We don't need to make extra copies of the string in most cases, so let's simplify the code and access the string directly when we can.
* Get rid of TCHAR magicPierre Ossman2023-02-0410-137/+137
| | | | | We never use Windows' "UNICODE" mode anyway, so let's get rid of this complexity.
* Return std::vector instead of dynamic allocationPierre Ossman2023-02-041-4/+3
| | | | | This makes memory management more clear and robust when using these helper functions.
* Explicitly mark unused parametersPierre Ossman2023-01-047-7/+7
| | | | | This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
* Update copyright year to 2022Pierre Ossman2022-01-051-1/+1
|
* Update copyright year to 2021Pierre Ossman2021-01-251-1/+1
|
* Use standard install dir variable namesPierre Ossman2020-03-121-1/+1
| | | | | This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags.
* Update copyright year to 2020Pierre Ossman2020-01-161-1/+1
|
* Update visible copyright years to 2019Samuel Mannehed2019-02-271-1/+1
|
* Merge branch 'nojava' of https://github.com/CendioOssman/tigervncPierre Ossman2018-10-264-40/+0
|\
| * Remove Java web serverPierre Ossman2018-10-094-40/+0
| | | | | | | | | | Applets don't work anymore so remove everything that has to do with serving them.
* | Change to https for tigervnc URLPierre Ossman2018-10-191-1/+1
|/ | | | Our main web site now supports https, so update all references.
* Catch exceptions by referencePierre Ossman2018-05-292-4/+4
| | | | | We use polymorphic exception objects, so catching by value invokes the copy constructor and stuff that we don't really want.
* Fix another compile error on Windows when not building with GnuTLSPeter Åstrand (astrand)2018-05-021-0/+2
|
* Update visible copyright year to 2018Samuel Mannehed2018-02-081-1/+1
|
* Rename README.txt to README.rst and convert to reStructuredTextPeter Åstrand (astrand)2018-01-311-1/+1
|
* Merge pull request #500 from bphinz/issue106-rebaseBrian Hinz2017-11-151-3/+52
|\ | | | | Hook up the "Load X.509 Cert/Key" dialogs in winvnc. Fixes #106