Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Init socket subsystem before parsing filters | Pierre Ossman | 2015-12-07 | 1 | -0/+2 |
| | | | | | | | | Parsing a filter might be the first thing we do so we need to make sure the socket subsystem is running so that we can look up names. (cherry picked from commit 398a6f43327ea3a8c1e58ed77f34fd4409cccb9d) | ||||
* | Flush entire JPEG buffer, ignoring state | Pierre Ossman | 2015-10-16 | 1 | -1/+1 |
| | | | | | | libjpeg doesn't update the buffer state before calling the empty_output_buffer() callback so we need to flush everything, not just the apparent size. | ||||
* | Don't shadow member variable | Pierre Ossman | 2015-09-29 | 1 | -1/+1 |
| | |||||
* | Avoid dropping const qualifier needlessly | Pierre Ossman | 2015-09-29 | 1 | -1/+1 |
| | |||||
* | Return TcpListener pointers rather than objects | Pierre Ossman | 2015-09-29 | 2 | -82/+50 |
| | | | | | | It is easier to control object life time and avoid magical socket duplication by having a single TcpListener object to pass around. We have to be more careful about deleting the object though. | ||||
* | Return correct error code from bind() | Pierre Ossman | 2015-09-29 | 1 | -1/+2 |
| | | | | | Closing the socket might overwrite errno so we need to save its value. | ||||
* | Don't leak socket on setsockopt() errors | Pierre Ossman | 2015-09-29 | 1 | -2/+5 |
| | |||||
* | Track statistics for CopyRect | Pierre Ossman | 2015-09-22 | 2 | -0/+32 |
| | |||||
* | Add keyboard debug log to servers | Pierre Ossman | 2015-08-31 | 1 | -4/+21 |
| | | | | | Makes it easier to troubleshoot keyboard issues by printing exactly what key events the server is getting from the client. | ||||
* | Log which addresses connection attempts are made against | Pierre Ossman | 2015-07-30 | 1 | -0/+6 |
| | |||||
* | Properly report connect error codes | Pierre Ossman | 2015-07-30 | 1 | -11/+13 |
| | | | | | The logic was flawed and would treat all connect errors as if there were no addresses found. | ||||
* | 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. | ||||
* | 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 |
| | |