Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix infinite update caused by b64dbf2 | Pierre Ossman | 2015-06-23 | 1 | -1/+1 |
| | | | | | | | | The bug fix in b64dbf2 didn't account for the proper request region in the case of continuous updates. Make sure we use the proper variable for which region we've sent updates for. (cherry picked from commit 3c56d4f3c7fc2d706acd114d1abb04e9a338dbea) | ||||
* | Fix some bad signed/unsigned mismatches | Pierre Ossman | 2015-06-17 | 1 | -1/+1 |
| | |||||
* | Avoid losing updates on partial requests | Pierre Ossman | 2015-06-09 | 1 | -1/+4 |
| | | | | | | A request may be for only part of the frame buffer, meaning we cannot discard all changes just because we've send out an update. There might still be modified areas remaining that haven't been requested yet. | ||||
* | Clean up server rendered cursor logic | Pierre Ossman | 2015-06-09 | 2 | -17/+27 |
| | | | | | | | Variables were reused a bit too heavily and it was possible to get the logic at a point where the server would try to render a cursor where it wasn't needed, and the empty update rect would cause a crash. Clear things up by introducing some more explicit variables. | ||||
* | Change fillRect() to take a buffer instead of a pixel | Pierre Ossman | 2015-06-05 | 8 | -20/+24 |
| | | | | | | | | There has been some confusion if fillRect() should accept a buffer or a pixel. This can cause misrendering if your data is not in the native endian order. A buffer makes more sense here though, and is what most of the callers are already assuming, so change the API to follow that. | ||||
* | Fix Winsock errno code overlap | Pierre Ossman | 2015-05-29 | 3 | -15/+3 |
| | | | | | Some Winsock errno:s conflict with the standard ones. Try to restrict the redefines to things relevant for sockets. | ||||
* | Only include syslog logger on Unix systems | Pierre Ossman | 2015-05-04 | 1 | -1/+4 |
| | |||||
*-. | Merge branches 'noreset' and 'syslog' of https://github.com/michalsrb/tigervnc | Pierre Ossman | 2015-05-04 | 4 | -4/+115 |
|\ \ | |||||
| | * | Remove hardcoded "Xvnc" in syslog logger. | Michal Srb | 2015-04-24 | 1 | -1/+1 |
| | | | |||||
| | * | Add syslog logger. | Michal Srb | 2015-04-10 | 3 | -0/+106 |
| | | | |||||
| | * | Expose log levels from LogWriter. | Michal Srb | 2015-04-10 | 1 | -4/+9 |
| |/ | |||||
* | | Remove parameter "hasBeenSet" logic | Pierre Ossman | 2015-04-27 | 2 | -16/+1 |
| | | | | | | | | | | It doesn't really make sense anymore given that settings might come from the GUI or configuration and not only the command line. | ||||
* | | Clarify Windows SO_REUSEADDR exception | Pierre Ossman | 2015-04-23 | 1 | -1/+6 |
| | | |||||
* | | Repair SO_REUSEADDR | Pierre Ossman | 2015-04-23 | 1 | -5/+5 |
|/ | | | | | SO_REUSEADDR needs to be set before we call bind() for it to have any effect. It got shuffled around in e4d9726. | ||||
* | Require getaddrinfo() on all systems | Pierre Ossman | 2015-03-17 | 2 | -128/+1 |
| | | | | | Every reasonably current system support getaddrinfo() so get rid of the legacy fallbacks. | ||||
* | Do not look at errno for getaddrinfo() errors | Pierre Ossman | 2015-03-17 | 1 | -2/+4 |
| | |||||
* | Replacement for dup() on Windows | Pierre Ossman | 2015-03-17 | 1 | -2/+19 |
| | | | | It doesn't work on sockets, which require a bit more care. | ||||
* | Fix proper socket headers for Win32 | Pierre Ossman | 2015-03-17 | 1 | -0/+6 |
| | |||||
* | Resurrect TcpListener::getMyAddresses() | Pierre Ossman | 2015-03-17 | 2 | -0/+59 |
| | | | | | | | | | | | It is needed by WinVNC, but got removed in 892d10a70. Also fix a couple of issues: - Use getnameinfo() in order to be compatible with Windows XP - Make it static since it doesn't use a specific socket - Respect UseIPv4 and UseIPv6 - Flags for getaddrinfo() that match binding code - Dummy service value for Windows compatibility | ||||
* | Make sure Win32 sockets are available in new listening API | Pierre Ossman | 2015-03-17 | 1 | -0/+5 |
| | |||||
* | AI_NUMERICSERV is not available on some systems | Pierre Ossman | 2015-03-17 | 1 | -0/+5 |
| | |||||
* | Make sure socket errno defines are available for Win32 | Pierre Ossman | 2015-03-17 | 1 | -0/+4 |
| | |||||
* | family variable can be unset when matching any address | Pierre Ossman | 2015-03-17 | 1 | -0/+2 |
| | |||||
* | Merge branch 'multisocket-rebased' of https://github.com/twaugh/tigervnc | Pierre Ossman | 2015-03-17 | 2 | -199/+401 |
|\ | |||||
| * | IPv6 support for TcpFilter. | Tim Waugh | 2015-03-13 | 2 | -57/+201 |
| | | |||||
| * | Fixed IPv6 support. | Tim Waugh | 2015-03-13 | 2 | -139/+197 |
| | | | | | | | | | | | | | | | | | | | | | | | | The TcpListener constructor now takes a 'struct sockaddr*' instead of a string, and the createTcpListeners function creates TcpListener instances for an address based on the results from getaddrinfo(). The XserverDesktop class now takes a list of TcpListener instances for each of the RFB and HTTP sockets. The TcpListener::closeFd member variable is not used and has been removed. | ||||
| * | Whitespace changes only. | Tim Waugh | 2015-03-11 | 1 | -4/+4 |
| | | |||||
* | | Merge branch 'upreqs' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2015-03-12 | 43 | -12705/+87 |
|\ \ | |/ |/| | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx | ||||
| * | Drop bundled zlib | Pierre Ossman | 2015-02-03 | 29 | -12355/+0 |
| | | | | | | | | | | We're not doing a sufficient job of keeping this updated so list it as an external requirement instead. | ||||
| * | Add parameter to override GnuTLS priority | Pierre Ossman | 2015-01-29 | 4 | -21/+48 |
| | | |||||
| * | Raise GnuTLS requirements to 3.x | Pierre Ossman | 2015-01-29 | 12 | -349/+59 |
| | | | | | | | | | | | | This allows us to simplify things by getting rid of some old compatibility code. People should really be using current versions of GnuTLS anyway to stay secure. | ||||
* | | Give CharArray a printf style method to ease automatic allocation | Pierre Ossman | 2015-03-03 | 2 | -0/+31 |
| | | |||||
* | | The PAM callback is slightly different on Solaris | Pierre Ossman | 2015-03-03 | 1 | -1/+6 |
| | | |||||
* | | Add extra parentheses to avoid and/or priority ambiguity | Pierre Ossman | 2015-03-03 | 1 | -1/+1 |
| | | |||||
* | | Reorder class initialiser list to match what actually happens | Pierre Ossman | 2015-03-03 | 2 | -4/+5 |
| | | |||||
* | | Make Rect::area() signed, just like Rect::width()/height() | Pierre Ossman | 2015-03-03 | 1 | -1/+1 |
| | | | | | | | | Makes it more sane what type to use when interacting with this class. | ||||
* | | Fix mismatches between format string and arguments | Pierre Ossman | 2015-03-03 | 1 | -1/+1 |
| | | |||||
* | | Shorten stats from EncodeManager using SI/IEC prefixes | Pierre Ossman | 2015-03-03 | 3 | -8/+60 |
| | | | | | | | | Also avoids %lld which isn't supported on Windows. | ||||
* | | A switch() needs to handle every value in an enum | Pierre Ossman | 2015-03-03 | 1 | -0/+4 |
| | | |||||
* | | Switch to unsigned parameters for ExtendedDesktopSize handler | Pierre Ossman | 2015-03-03 | 2 | -3/+3 |
| | | | | | | | | | | The constants used here are unsigned so it makes more sense that the parameters are as well. | ||||
* | | Fix bad signed/unsigned comparisons | Pierre Ossman | 2015-03-03 | 6 | -7/+7 |
| | | | | | | | | | | Either by casting, or switching to a more appropriate type for the variable. | ||||
* | | Make sure Exceptions do not use unsafe format strings | Pierre Ossman | 2015-03-03 | 7 | -24/+17 |
| | | |||||
* | | Tag the Exception constructor as a printf function | Pierre Ossman | 2015-03-03 | 1 | -1/+7 |
| | | | | | | | | | | This allows the compiler to analyse the format strings and arguments for correctness. | ||||
* | | Remove unused variables | Pierre Ossman | 2015-03-03 | 6 | -9/+1 |
| | | |||||
* | | Handle no useful address types from getaddrinfo() | Pierre Ossman | 2015-03-03 | 1 | -0/+3 |
| | | |||||
* | | The compiler cannot figure out if this is assigned properly | Pierre Ossman | 2015-03-03 | 1 | -0/+4 |
| | | | | | | | | | | The logic is a bit complex so we're going to have to silence the warning with this explicit assignment. | ||||
* | | Merge branch 'perf' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2015-02-13 | 18 | -138/+454 |
|\ \ | |||||
| * | | Default compression level should be interpreted as high | Pierre Ossman | 2015-02-13 | 1 | -1/+1 |
| | | | |||||
| * | | Be more aggressive in finding solid rectangles | Pierre Ossman | 2015-02-13 | 2 | -74/+96 |
| | | | | | | | | | | | | | | | The previous FIXME was incorrect. The old code did in fact continue looking over the entire area. This commit restores that old behaviour. | ||||
| * | | Move encoder statistics into EncodeManager from SMsgWriter | Pierre Ossman | 2015-02-13 | 4 | -47/+168 |
| | | | | | | | | | | | | It knows more details so it can track things better. |