summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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-036-7/+7
| | | | | | | | | | Either by casting, or switching to a more appropriate type for the variable.
* | Make sure Exceptions do not use unsafe format stringsPierre Ossman2015-03-037-24/+17
| |
* | Tag the Exception constructor as a printf functionPierre Ossman2015-03-031-1/+7
| | | | | | | | | | This allows the compiler to analyse the format strings and arguments for correctness.
* | Remove unused variablesPierre Ossman2015-03-036-9/+1
| |
* | Handle no useful address types from getaddrinfo()Pierre Ossman2015-03-031-0/+3
| |
* | The compiler cannot figure out if this is assigned properlyPierre Ossman2015-03-031-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/tigervncPierre Ossman2015-02-1318-138/+454
|\ \
| * | 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
| | |
| * | Add stream class to feed data from a filePierre Ossman2015-02-133-0/+138
| | |
| * | 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
| | |
* | | Use a common header file for Windows errno names.Peter Åstrand (astrand)2015-02-053-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 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.
* | Add parameters to force IPv4/IPv6 selectionPierre Ossman2015-01-291-1/+27
|/
* 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
|
* IPv6: create new socket if IPv6 bind fails (#77).Tim Waugh2014-12-101-93/+90
|
* 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.
| * VncAuth: Read and use readonly password.Michal Srb2014-11-102-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 Srb2014-11-105-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 WindowsPierre Ossman2014-11-191-1/+1
| | | | | | | | They use char* rather than void*, requiring a cast here.
* | Protect IPv6 address strings with []Pierre Ossman2014-11-191-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 IPv6Pierre Ossman2014-11-191-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 itPierre Ossman2014-11-191-1/+1
| |
* | TcpSocket: IPv6 handling throughout (#68).Tim Waugh2014-11-171-19/+100
| |
* | Added more #ifdefs for IPv6.Tim Waugh2014-11-171-1/+11
| |
* | IPv6 loopback support too.Tim Waugh2014-11-121-8/+21
| |
* | Add IPv6 support (#68).Tim Waugh2014-11-121-17/+60
| |
* | Revert "Use VncAuth as the default security type, ..."Pierre Ossman2014-11-111-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 typePierre Ossman2014-11-113-3/+3
|/ | | | | It's often useful to see if encryption was used, and how the user authenticated (if at all).
* Remove unused variablePierre Ossman2014-10-281-1/+0
|
* Remove verbose TLS loggingPierre Ossman2014-10-282-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 placePierre Ossman2014-10-172-2/+6
| | | | It is rdr and network that needs it, not vncviewer.
* Merge branch 'assert' of https://github.com/CendioOssman/tigervncPierre Ossman2014-10-103-4/+0
|\
| * Remove unused assert.h includePierre Ossman2014-10-103-4/+0
| |
* | Wrong padding size calculated (copy-paste error)Pierre Ossman2014-10-091-1/+1
|/