Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | 3 | -4/+4 | |
| | | | | | | | | | | 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 | 4 | -12/+12 | |
| | | ||||||
* | | Remove unused variables | Pierre Ossman | 2015-03-03 | 5 | -8/+1 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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. | |||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | | 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. | |||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | Remove PixelTransformer and TransImageGetter | Pierre Ossman | 2014-07-14 | 7 | -682/+0 | |
| | | | | There is nothing using these classes anymore, so remove the clutter. | |||||
* | Use PixelBuffer objects as the interface for encoders and decoders | Pierre Ossman | 2014-07-14 | 37 | -169/+154 | |
| | | | | | | | This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter. | |||||
* | Store the mouse cursor in the ConnParams object | Pierre Ossman | 2014-07-14 | 6 | -118/+153 | |
| | | | | | | Like we do for everything else. This also gets rid of the callback, which is a bit out of place compared to everything else. |