aboutsummaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Remove explicit VeNCrypt from WinVNCPierre Ossman2025-06-231-3/+0
| | | | This should have been included way back in 674bf06.
* Handle missing user in WinVNC query dialogPierre Ossman2025-06-131-1/+2
| | | | std::string doesn't like null strings. Give it an empty one instead.
* Override Dialog::onCommand() more properlyPierre Ossman2025-05-162-4/+4
| | | | The compiler will flag this as a likely mistake otherwise.
* Merge branch 'cleanrelease' of github.com:CendioOssman/tigervncPierre Ossman2025-05-053-4/+4
|\
| * Be consistent in copyright and team descriptionPierre Ossman2025-03-133-4/+4
| |
* | Convert DisconnectAction to EnumParameterPierre Ossman2025-03-123-11/+10
| |
* | Make use of IntParameter range validationPierre Ossman2025-03-064-4/+7
|/
* Move concurrency abstration layer to corePierre Ossman2025-02-257-44/+37
| | | | | OS abstractions are generic enough that we can merge these with the new core library.
* Move application directory handling to corePierre Ossman2025-02-252-3/+0
| | | | | These are general plumbing, so they fit in nicely with the new core library.
* Rename core/util to core/stringPierre Ossman2025-02-258-8/+8
| | | | | It's just string helper functions here, so let's get rid of the catch-all name for this module.
* Get rid of __rfbmax()/__rfbmin()Pierre Ossman2025-02-251-2/+5
| | | | | | | | They weren't that well used, and were mostly just confusing special functions anyway. Allows us to move away from generic and ambigious headers such as "util".
* Move time utilities to separate filePierre Ossman2025-02-251-1/+1
| | | | Let's clear things up by categorizing our utility functions.
* Move timers to core libraryPierre Ossman2025-02-251-1/+1
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move logging to core libraryPierre Ossman2025-02-2536-64/+84
| | | | | | | 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-2512-26/+32
| | | | | | | 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-2532-129/+147
| | | | | | | 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-1312-12/+48
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move basic data types to core libraryPierre Ossman2025-02-1319-25/+43
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Use initializer lists for basic data typesPierre Ossman2025-02-138-19/+19
| | | | | | | | Try to keep the code more compact for the simple things where the type should be obvious from the context. Helps us avoid line wrapping. Also remove explicit conversions to Region where the compiler is able to figure it out by itself, again to reduce line length.
* Move getHostAndPort() to network libraryPierre Ossman2025-02-131-1/+2
| | | | | This is a network function, so it makes more sense in the network library.
* Reduce header #include:sPierre Ossman2025-02-132-0/+3
| | | | | Make compile times faster by reducing the number of headers included in other headers.
* Remove unused SStaticDesktopPierre Ossman2025-02-131-0/+1
| | | | This inline class just makes this header overly complex.
* Update visible copyright year to 2025Pierre Ossman2025-01-142-2/+2
|
* Always use lowercase "t" for TigerVNC teamPierre Ossman2025-01-141-1/+1
| | | | It's not a formal name, so use regular case.
*-. Merge branches 'argparse', 'nothread' and 'config' of ↵Pierre Ossman2025-01-102-20/+11
|\ \ | | | | | | | | | https://github.com/CendioOssman/tigervnc
| | * Remove server and viewer config typesPierre Ossman2025-01-072-4/+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-102-16/+11
|/ | | | | Avoid duplicating this complexity everywhere and make sure all commands get the same handling and fixes.
* Capitalize even more logging and exceptionsPierre Ossman2024-11-2214-38/+38
|
* Merge branch 'master' of https://github.com/madnicendio/tigervncPierre Ossman2024-11-2229-178/+178
|\
| * Capitalize first letter in log, exception & errorMadeleine Nilsson2024-11-2122-124/+124
| | | | | | | | The reason for this is to keep a consistency through out the project.
| * Standardize log message prefix formatMadeleine Nilsson2024-11-112-7/+7
| | | | | | | | The reason for this is to keep a consistency through out the project.
| * Standardize on sentence case in titlesMadeleine (ThinLinc team)2024-11-1110-47/+47
| | | | | | | | The reason for this is to keep a consistency through out the project.
* | Merge branch 'mouse-button-support' of https://github.com/CendioHalim/tigervncPierre Ossman2024-11-184-5/+5
|\ \
| * | Add server support for forward/back mouse buttonsAdam Halim2024-10-224-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the pseudo-encoding ExtendedMouseButtons in Xvnc and x0vncserver, which makes it possible to use to use the back/forward mouse buttons. This commit contains work originally done by PixelSmith <manny33@frontbuffer.com>.
* | | Use standard library naming for exceptionsPierre Ossman2024-11-0629-104/+104
| | | | | | | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
* | | Replace base exception class with standard libraryPierre Ossman2024-11-063-1/+6
| | | | | | | | | | | | | | | There is no point to having our own generic exception class. Let's use the one provided by the standard C++ library.
* | | Use standard exception classesPierre Ossman2024-11-0615-33/+35
| | | | | | | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
* | | Subclass exceptions from std::exceptionPierre Ossman2024-11-0616-33/+33
| | | | | | | | | | | | | | | Make sure our exceptions are part of the standard exception class hierarchy.
* | | Use what() to access exception descriptionPierre Ossman2024-11-0614-27/+27
| |/ |/| | | | | Harmonize with the standard C++ exceptions.
* | Split SystemException to handle WindowsPierre Ossman2024-10-0928-100/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Consistently use SocketException for socket errorsPierre Ossman2024-10-091-5/+5
|/ | | | | | The behaviour is not consistent as Windows doesn't use errno for socket errors, but Unix systems do. Always use the same exception to keep things somewhat sane.
* Remove fake framebuffer update request callPierre Ossman2024-08-121-1/+0
| | | | | | | | | This method should only be called when the client actually sends a framebuffer update request, otherwise we might send data the client is not ready for. It's unclear what the purpose of this call is, so we have no better fix than to just remove it.
* Better type for pointer button maskPierre Ossman2024-08-124-4/+4
| | | | | This is a very limited bit field, so use an 8 bit type to clearly show how many bits are available.
* Avoid shadowing variablesPierre Ossman2024-06-248-41/+39
| | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
* Simplify code using range-based for loopsPierre Ossman2024-06-241-6/+4
| | | | | | | | | These are often more readable as they avoid a lot of the boilerplate of iterating over fixed arrays or STL containers. Note that this change is very conservative to avoid noise in "git blame". Only loops where this is a clear improvement have been converted.
* Mark overridden virtual functionsPierre Ossman2024-06-2428-79/+79
| | | | | 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-2458-278/+285
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Merge branch 'present' of github.com:CendioOssman/tigervncPierre Ossman2024-06-194-12/+15
|\
| * Maintain a constant VNCServer/SDesktop connectionPierre Ossman2024-06-192-6/+9
| | | | | | | | | | | | | | | | | | The desktop isn't completely paused just because there are no clients, so it might still need some support from the server object. This is primarily an issue for headless servers, where they need to continue emulating things even without clients. A scraping server can generally go completely passive if there are no clients.
| * Stop treating "0" as "no timeouts"Pierre Ossman2024-06-192-4/+6
| | | | | | | | | | It is much more sane to treat "0" as "a timer is ready NOW", so let's change to using -1 as the invalid timeout value.