aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb
Commit message (Collapse)AuthorAgeFilesLines
* Flush entire JPEG buffer, ignoring statePierre Ossman2015-10-161-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 variablePierre Ossman2015-09-291-1/+1
|
* Track statistics for CopyRectPierre Ossman2015-09-222-0/+32
|
* Add keyboard debug log to serversPierre Ossman2015-08-311-4/+21
| | | | | Makes it easier to troubleshoot keyboard issues by printing exactly what key events the server is getting from the client.
* Fix infinite update caused by b64dbf2Pierre Ossman2015-06-231-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 mismatchesPierre Ossman2015-06-171-1/+1
|
* Avoid losing updates on partial requestsPierre Ossman2015-06-091-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 logicPierre Ossman2015-06-092-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 pixelPierre Ossman2015-06-058-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.
* Only include syslog logger on Unix systemsPierre Ossman2015-05-041-1/+4
|
*-. Merge branches 'noreset' and 'syslog' of https://github.com/michalsrb/tigervncPierre Ossman2015-05-044-4/+115
|\ \
| | * Remove hardcoded "Xvnc" in syslog logger.Michal Srb2015-04-241-1/+1
| | |
| | * Add syslog logger.Michal Srb2015-04-103-0/+106
| | |
| | * Expose log levels from LogWriter.Michal Srb2015-04-101-4/+9
| |/
* / Remove parameter "hasBeenSet" logicPierre Ossman2015-04-272-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.
* Merge branch 'upreqs' of https://github.com/CendioOssman/tigervncPierre Ossman2015-03-126-28/+71
|\ | | | | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx
| * Add parameter to override GnuTLS priorityPierre Ossman2015-01-294-21/+48
| |
| * Raise GnuTLS requirements to 3.xPierre Ossman2015-01-294-27/+43
| | | | | | | | | | | | 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 allocationPierre Ossman2015-03-032-0/+31
| |
* | The PAM callback is slightly different on SolarisPierre Ossman2015-03-031-1/+6
| |
* | Add extra parentheses to avoid and/or priority ambiguityPierre Ossman2015-03-031-1/+1
| |
* | Reorder class initialiser list to match what actually happensPierre Ossman2015-03-032-4/+5
| |
* | Make Rect::area() signed, just like Rect::width()/height()Pierre Ossman2015-03-031-1/+1
| | | | | | | | Makes it more sane what type to use when interacting with this class.
* | Fix mismatches between format string and argumentsPierre Ossman2015-03-031-1/+1
| |
* | Shorten stats from EncodeManager using SI/IEC prefixesPierre Ossman2015-03-033-8/+60
| | | | | | | | Also avoids %lld which isn't supported on Windows.
* | A switch() needs to handle every value in an enumPierre Ossman2015-03-031-0/+4
| |
* | Switch to unsigned parameters for ExtendedDesktopSize handlerPierre Ossman2015-03-032-3/+3
| | | | | | | | | | The constants used here are unsigned so it makes more sense that the parameters are as well.
* | Fix bad signed/unsigned comparisonsPierre Ossman2015-03-033-4/+4
| | | | | | | | | | Either by casting, or switching to a more appropriate type for the variable.
* | Make sure Exceptions do not use unsafe format stringsPierre Ossman2015-03-034-12/+12
| |
* | Remove unused variablesPierre Ossman2015-03-035-8/+1
| |
* | Default compression level should be interpreted as highPierre Ossman2015-02-131-1/+1
| |
* | Be more aggressive in finding solid rectanglesPierre Ossman2015-02-132-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 SMsgWriterPierre Ossman2015-02-134-47/+168
| | | | | | | | It knows more details so it can track things better.
* | Optimise fillRect()Pierre Ossman2015-02-131-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 libraryPierre Ossman2015-02-131-1/+1
| |
* | No need for this array to be writeablePierre Ossman2015-02-134-4/+4
| |
* | Move reverse connection information into VNCSConnectionSTPierre Ossman2015-02-134-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 purePierre Ossman2015-02-132-2/+10
| |
* | Give subclasses the ability to overwrite the reader and writerPierre Ossman2015-02-132-0/+6
| | | | | | | | Needed for some tests.
* | SConnection internals should be private, just like for CConnectionPierre Ossman2015-02-131-0/+2
| |
* | Make the calls to va_list logging functions more explicitPierre Ossman2015-01-301-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 changesPierre Ossman2015-01-261-7/+13
|
* Remove logging of each Timer firingPierre Ossman2015-01-261-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 hacksPierre Ossman2015-01-264-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 argumentPierre Ossman2015-01-261-0/+4
|
* Make sure attributes propagate through security wrappersPierre Ossman2014-12-024-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 modePierre Ossman2014-12-023-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 Ossman2014-12-0210-46/+80
|\ | | | | | | into viewonly
| * Update comment of VncAuthPasswdGetter::getVncAuthPasswd.Michal Srb2014-11-241-2/+2
| |
| * Add AccessSetDesktopSize right.Michal Srb2014-11-245-14/+24
| | | | | | | | So clients with limited access rights can not affect it.