Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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. | |||||
| * | | Optimise fillRect() | Pierre Ossman | 2015-02-13 | 1 | -6/+26 | |
| | | | | | | | | | | | | | | | It had regressed in performance compared to 1.3. This brings it back up to the same speed. | |||||
| * | | rfb::Region uses the Xregion library | Pierre Ossman | 2015-02-13 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add stream class to feed data from a file | Pierre Ossman | 2015-02-13 | 3 | -0/+138 | |
| | | | ||||||
| * | | No need for this array to be writeable | Pierre Ossman | 2015-02-13 | 4 | -4/+4 | |
| | | | ||||||
| * | | Move reverse connection information into VNCSConnectionST | Pierre Ossman | 2015-02-13 | 4 | -5/+4 | |
| | | | | | | | | | | | | | | | The only class that cares if connections are reversed or not is VNCSConnectionST so let it keep track of this fact. | |||||
| * | | These methods aren't critical so no need for them to be pure | Pierre Ossman | 2015-02-13 | 2 | -2/+10 | |
| | | | ||||||
| * | | Give subclasses the ability to overwrite the reader and writer | Pierre Ossman | 2015-02-13 | 2 | -0/+6 | |
| | | | | | | | | | | | | Needed for some tests. | |||||
| * | | SConnection internals should be private, just like for CConnection | Pierre Ossman | 2015-02-13 | 1 | -0/+2 | |
| | | | ||||||
* | | | Use a common header file for Windows errno names. | Peter Åstrand (astrand) | 2015-02-05 | 3 | -5/+103 | |
|/ / | | | | | | | | | | | | | | | In earlier Visual Studio and MinGW editions, BSD socket errno:s were left undefined. This is no longer the case. This may cause build or runtime errors. To avoid this, we are using a common header file which corrects all definitions. This header will also be used with other projects such as sercd, unfs3, PulseAudio etc. | |||||
* | | Make the calls to va_list logging functions more explicit | Pierre Ossman | 2015-01-30 | 1 | -1/+1 | |
| | | | | | | | | | | On some platforms va_list might be defined as something that causes ambiguity and results in the wrong function being called. | |||||
* | | Add parameters to force IPv4/IPv6 selection | Pierre Ossman | 2015-01-29 | 1 | -1/+27 | |
|/ | ||||||
* | More debug logging for screen layout changes | Pierre Ossman | 2015-01-26 | 1 | -7/+13 | |
| | ||||||
* | Remove logging of each Timer firing | Pierre Ossman | 2015-01-26 | 1 | -1/+0 | |
| | | | | | It just adds noise and you can't really tell which timer it is anyway without more logging in other places. | |||||
* | Restructure Xvnc/libvnc.so code to avoid C++ header hacks | Pierre Ossman | 2015-01-26 | 4 | -4/+18 | |
| | | | | | | | | The internal Xorg headers are very incompatible with C++ and we've had to resort to all kinds of hacks in order to include them in our C++ code. This approach isn't really viable long term so restructure things so that we have a glue layer written in C that bridges the Xorg core with the RFB classes. | |||||
* | Allow LogWriter objects to be used with va_list argument | Pierre Ossman | 2015-01-26 | 1 | -0/+4 | |
| | ||||||
* | IPv6: create new socket if IPv6 bind fails (#77). | Tim Waugh | 2014-12-10 | 1 | -93/+90 | |
| | ||||||
* | Make sure attributes propagate through security wrappers | Pierre Ossman | 2014-12-02 | 4 | -2/+34 | |
| | | | | | | Both SSecurityVeNCrypt and SSecurityStack are wrappers around other security objects, so they need to delegate the properties of those sub-objects properly. | |||||
* | Limit access to non-shared mode | Pierre Ossman | 2014-12-02 | 3 | -1/+4 | |
| | | | | | | A read-only client should not be allowed to kick out other clients. It will be forced into shared mode, or refused the connection, depending on the neverShared parameter. | |||||
* | Merge branch 'readonlypassword' of https://github.com/michalsrb/tigervnc ↵ | Pierre Ossman | 2014-12-02 | 10 | -46/+80 | |
|\ | | | | | | | into viewonly | |||||
| * | Update comment of VncAuthPasswdGetter::getVncAuthPasswd. | Michal Srb | 2014-11-24 | 1 | -2/+2 | |
| | | ||||||
| * | Add AccessSetDesktopSize right. | Michal Srb | 2014-11-24 | 5 | -14/+24 | |
| | | | | | | | | So clients with limited access rights can not affect it. | |||||
| * | VncAuth: Read and use readonly password. | Michal Srb | 2014-11-10 | 2 | -25/+47 | |
| | | | | | | | | | | Try to read second password (for read only access) from rfbauth file. If client sent second password instead of first one, allow him read only access. | |||||
| * | Allow SSecurity to specify AccessRights for SConnection. | Michal Srb | 2014-11-10 | 5 | -5/+7 | |
| | | | | | | | | | | | | | | SConnection has AccessRights property that specifies what connected client can do. Set this property to value given by SSecurity after successful authentication. This way individual SSecurity subclasses can accept clients but restrict their access. | |||||
* | | Fix setsockopt() call on Windows | Pierre Ossman | 2014-11-19 | 1 | -1/+1 | |
| | | | | | | | | They use char* rather than void*, requiring a cast here. | |||||
* | | Protect IPv6 address strings with [] | Pierre Ossman | 2014-11-19 | 1 | -3/+7 | |
| | | | | | | | | | | This is the format we support when converting a string to an address, so it makes sense to use them the other way around. | |||||
* | | Don't assume that it's IPv4 just because it's not IPv6 | Pierre Ossman | 2014-11-19 | 1 | -31/+32 | |
| | | | | | | | | | | There might be more protocols in the future, and we might also misdetect things depending on varying IPv6 functions being missing. | |||||
* | | inet_ntoa() want's the address directly, not a pointer to it | Pierre Ossman | 2014-11-19 | 1 | -1/+1 | |
| | | ||||||
* | | TcpSocket: IPv6 handling throughout (#68). | Tim Waugh | 2014-11-17 | 1 | -19/+100 | |
| | | ||||||
* | | Added more #ifdefs for IPv6. | Tim Waugh | 2014-11-17 | 1 | -1/+11 | |
| | | ||||||
* | | IPv6 loopback support too. | Tim Waugh | 2014-11-12 | 1 | -8/+21 | |
| | | ||||||
* | | Add IPv6 support (#68). | Tim Waugh | 2014-11-12 | 1 | -17/+60 | |
| | | ||||||
* | | Revert "Use VncAuth as the default security type, ..." | Pierre Ossman | 2014-11-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | This reverts commit 39d7dc043afcf6f94b9c16942765fdb9a6a3202e. We should be secure by default, even if it might cause a performance hit. Those who wish to make that trade off are more likely to notice the lack of performance than others noticing the lack of security. | |||||
* | | Always log chosen security type | Pierre Ossman | 2014-11-11 | 3 | -3/+3 | |
|/ | | | | | It's often useful to see if encryption was used, and how the user authenticated (if at all). | |||||
* | Remove unused variable | Pierre Ossman | 2014-10-28 | 1 | -1/+0 | |
| | ||||||
* | Remove verbose TLS logging | Pierre Ossman | 2014-10-28 | 2 | -26/+0 | |
| | | | | | We don't even log this much for RFB protocol stuff, and it makes it very annoying to run with full debugging on. | |||||
* | Move ws2_32 dependency to the correct place | Pierre Ossman | 2014-10-17 | 2 | -2/+6 | |
| | | | | It is rdr and network that needs it, not vncviewer. | |||||
* | Merge branch 'assert' of https://github.com/CendioOssman/tigervnc | Pierre Ossman | 2014-10-10 | 3 | -4/+0 | |
|\ | ||||||
| * | Remove unused assert.h include | Pierre Ossman | 2014-10-10 | 3 | -4/+0 | |
| | | ||||||
* | | Wrong padding size calculated (copy-paste error) | Pierre Ossman | 2014-10-09 | 1 | -1/+1 | |
|/ | ||||||
* | Fix endian conversion | Pierre Ossman | 2014-09-25 | 1 | -12/+22 | |
| | | | | This was just plain wrong, so redo it properly. | |||||
* | Add pixel conversion correctness test | Pierre Ossman | 2014-09-25 | 1 | -0/+6 | |
| | ||||||
* | PixelTransformer is gone so we can protect these now | Pierre Ossman | 2014-09-25 | 1 | -2/+1 | |
| | ||||||
* | Move preferred encoding tracking into a server object | Pierre Ossman | 2014-09-18 | 5 | -11/+29 | |
| | | | | | | Having it in ConnParams made the linker pull all the encoder objects into vncviewer, making it larger than necessary and giving it extra parameters in its help output that weren't relevant. | |||||
* | Correct naming convention for some parameters | Pierre Ossman | 2014-09-17 | 4 | -13/+15 | |
| | ||||||
* | Give a correct list of valid security schemes | Pierre Ossman | 2014-09-17 | 2 | -2/+10 | |
| | ||||||
* | Use printf constructor safely | Pierre Ossman | 2014-07-21 | 1 | -1/+1 | |
| | | | | | The input string might contain formatting marks, so make sure those are ignored. | |||||
* | Move image encoding logic into a central EncodeManager class | Pierre Ossman | 2014-07-14 | 34 | -1603/+2248 | |
| | | | | | | | | This allows us to apply a lot more server logic independently of which encoder is in use. Most of this class are things moved over from the Tight encoder. |