summaryrefslogtreecommitdiffstats
path: root/common/rfb
Commit message (Collapse)AuthorAgeFilesLines
...
* Make it easier to read string parameters by providing an implicit conversionPierre Ossman2011-03-022-0/+5
| | | | | | | to const char*. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4307 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use VncAuth as the default security type, since TLS causes a significant ↵DRC2011-02-211-1/+1
| | | | | | performance hit on some systems git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4304 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Improve r4300 - also honor server's sectype order for VeNCrypt ↵Adam Tkac2011-02-211-5/+5
| | | | | | subtypes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4302 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the VeNCrypt security type implicitDRC2011-02-213-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4301 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Honor server security type order instead of client's when ↵Adam Tkac2011-02-211-14/+13
| | | | | | negotiating security type. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4300 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Remove "unused-but-set" variable from tightDecode.h.Adam Tkac2011-02-211-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4298 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Register GNUTLS debug routines only when we actually need them.Adam Tkac2011-02-183-17/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4295 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fix wrong if() in the ScaledPixelBuffer::setSourceBuffer().Adam Tkac2011-02-141-1/+1
| | | | | | | Resolves #3178498 bug report. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4289 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Improve compatibility with ancient GNUTLS implementations even more.Adam Tkac2011-02-091-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4278 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] os: add gnutls_x509_crt_print() implementation, older systemsAdam Tkac2011-02-091-10/+12
| | | | | | | don't have it and improve backward compatibility of TLS code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4277 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] client: improve server certificate verification code.Adam Tkac2011-02-091-119/+162
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4276 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Call gnutls_bye only when handshake is completed.Adam Tkac2011-02-092-6/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4275 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Checked in some debugging code.DRC2011-02-091-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4272 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Need to wait until after gnutls.h is included before checking the ↵DRC2011-02-091-11/+10
| | | | | | value of GNUTLS_VERSION_NUMBER git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4266 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Attempt to restore compatibility with older GnuTLS versionsDRC2011-02-081-2/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4264 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove old Visual C++ project files (use CMake to build with Visual C++)DRC2011-02-081-712/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4260 3789f03b-4d11-0410-bbf8-ca57d06f2519
* libjpeg-turbo produces about the same image quality with the fast integer ↵DRC2011-02-081-0/+2
| | | | | | DCT if the JPEG quality is <= 95, and it's a lot faster. Slow integer DCT is retained for quality >= 96, because fast integer degrades at those quality levels. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4259 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Use bitwise NOT instead of logical NOT when working withAdam Tkac2011-02-071-2/+2
| | | | | | | | | VNCSConnectionST::accessRights. Fixes bug ID: 3158501. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4257 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Print empty string by default when paths for X.509 certs don't exist.Adam Tkac2011-02-071-2/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4256 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Append ".pem" suffix to saved certificates.Adam Tkac2011-02-071-6/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4254 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename function "gethomedir" to "getvnchomedir" and rewrite it inAdam Tkac2011-02-071-18/+13
| | | | | | | | | platform-intependent manner. Thanks to Guillaume Destuynder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4252 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add Security::ToString methodAdam Tkac2011-02-012-0/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4245 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Allow to set security types directly in the Security classAdam Tkac2011-02-011-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4244 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add possibility to build Windows programs with GNUTLS via cmake.Adam Tkac2011-01-191-2/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4241 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] CSecurityTLS.cxx: include os/print.h to get correct snprintf ↵Adam Tkac2011-01-191-0/+1
| | | | | | definition. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4240 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Don't include unistd.h and don't call access() on Windows.Adam Tkac2011-01-191-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4239 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Use free() instead of gnutls_free() on Windows.Adam Tkac2011-01-191-0/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4238 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add extra check for bad copy rects and try to handle it gracefully instead ofPierre Ossman2010-12-211-8/+31
| | | | | | | just crashing. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4227 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add "Security" options dialog for Windows viewer.Adam Tkac2010-12-081-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4215 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Improve fix for #3112731.Adam Tkac2010-12-011-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4210 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Don't operate on erased iterator (ID 3112731).Adam Tkac2010-11-221-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4204 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Remove support for the "Tight" security type from C++ code.Adam Tkac2010-11-1810-604/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4202 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] client: Add dialog window to accept/save invalid X509Adam Tkac2010-11-185-8/+137
| | | | | | | certificates. (Guillaume Destuynder) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4198 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add generic UserMsgBox class. (Guillaume Destuynder)Adam Tkac2010-11-182-3/+43
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4197 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Allow changing the default value of string parameters. (Martin ↵Adam Tkac2010-11-112-0/+7
| | | | | | Koegler) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4194 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement PasswordValidator class on Windows (Martin Koegler)Adam Tkac2010-11-025-0/+98
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4183 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CMake build system for WindowsDRC2010-10-272-0/+72
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4171 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Converting a integer shift to a byte offset of course depends on endiannessPierre Ossman2010-10-131-6/+18
| | | | | | | as the first byte might be either shift 0 or shift 24. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4165 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Move Get{C,S}Security from Security class to separate classes.Adam Tkac2010-10-0115-127/+269
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4156 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Remove obsolete comment in Security class.Adam Tkac2010-09-301-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4154 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use proper methods for pixel conversion in the cursor code as it previouslyPierre Ossman2010-09-301-6/+3
| | | | | | | wasn't handling all cases correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4153 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The tight decoder is really working on pixel buffers, not Pixel arrays. ThisPierre Ossman2010-09-301-21/+18
| | | | | | | | distinction is generally unnoticed, but it can cause problems when the target buffer is not in native endian order. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4152 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert commit 3784 as it was incorrect. A "Pixel" is always expected to be inPierre Ossman2010-09-302-10/+1
| | | | | | | | | native endian, and hence requires no swapping. The code in tightEncode.h however is working on pixel buffers, not Pixel arrays, so that's where the real bug was and is hereby properly fixed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4151 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Include rfb/Security.h in the source tarball.Adam Tkac2010-09-201-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4144 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add missing PAM sources (fixes commit r4128).Adam Tkac2010-09-074-0/+221
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4131 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement *Plain security types on the server side and useAdam Tkac2010-09-024-34/+57
| | | | | | | PAM for credential validation on UNIX. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4128 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement *Plain types on the client side.Adam Tkac2010-09-024-3/+89
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4127 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Set default security types as follows:Adam Tkac2010-08-121-2/+12
| | | | | | | | | | | | | 1. gnutls support is compiled in: - server: VeNCrypt,TLSVnc,VncAuth - client: VeNCrypt,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None 2. gnutls support is disabled: - server: VncAuth - client: VncAuth,None git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4123 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Extend Security class to allow different default sectypes for ↵Adam Tkac2010-08-124-8/+25
| | | | | | server/viewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4122 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Return also "standard" security types (except VeNCrypt type) asAdam Tkac2010-08-121-1/+1
| | | | | | | VeNCrypt subtypes. This is same behavior as original VeNCrypt implementation. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4121 3789f03b-4d11-0410-bbf8-ca57d06f2519