aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [Bugfix] Pass correct include path (-I) to nasm.Adam Tkac2010-11-021-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4180 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Add missing common/jpeg/win/jsimdcfg.inc file.Adam Tkac2010-11-021-0/+69
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4179 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Don't compile gethomedir function on WIN32Adam Tkac2010-10-291-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4178 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Introduce gethomedir() function to retrieve home directory path.Adam Tkac2010-10-294-3/+104
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4176 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix 'make dist'DRC2010-10-272-4/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4173 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unneeded fileDRC2010-10-271-319/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4172 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CMake build system for WindowsDRC2010-10-2718-4/+330
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4171 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Upgrade included zlib to 1.2.5 (the main purpose of this was to get a clean ↵DRC2010-10-2635-3935/+8276
| | | | | | build on 64-bit Windows, but it should perform better as well) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4168 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add unit tests from libjpeg-turboDRC2010-10-2515-1/+1652
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4167 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add license and other supporting documentation from libjpeg-turboDRC2010-10-255-5/+775
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4166 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
* Sync with libjpeg-turbo 1.0.1DRC2010-09-302-3/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4148 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support building with older versions of gnutls; Fix gnutls detection when ↵DRC2010-09-302-0/+8
| | | | | | building statically using build-xorg git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4147 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
* [Bugfix] Properly report transport errors to GNUTLS.Adam Tkac2010-08-252-9/+23
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4125 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
* [Bugfix] Check return codes from gnutls library every time.Adam Tkac2010-08-112-10/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4120 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Ensure all files use LF as newline control character, not CR+LF.Adam Tkac2010-08-119-797/+797
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4119 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix typo in SIMD dispatch routines which was causing 4:2:0 upsampling to be ↵DRC2010-08-072-2/+2
| | | | | | used instead of 4:2:2 when decompressing JPEG images using SSE2 code git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4118 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sync with libjpeg-turbo 1.0.1DRC2010-08-031-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4117 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build with YASMDRC2010-08-032-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4116 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle erroneous Huffman codesDRC2010-08-032-2/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4115 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Extend encoding range checks to handle negative encodings well.Adam Tkac2010-07-212-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4113 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename CSecurityTLSBase class to CSecurityTLS.Adam Tkac2010-07-214-22/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4110 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Merge CSecurityTLS and CSecurityX509 classes into ↵Adam Tkac2010-07-218-336/+137
| | | | | | CSecurityTLSBase class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4109 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename SSecurityTLSBase source/class to SSecurityTLS.Adam Tkac2010-07-214-21/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4108 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Merge SSecurityTLS and SSecurityX509 classes into SSecurityTLSBase ↵Adam Tkac2010-07-218-317/+115
| | | | | | class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4107 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement VeNCrypt X509 subtypes on the client side.Adam Tkac2010-07-214-2/+195
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4106 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement X509 VeNCrypt subtypes on the server side.Adam Tkac2010-07-216-14/+158
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4105 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Add "#error" directives to client-side TLS sources to avoid wrong ↵Adam Tkac2010-07-214-11/+12
| | | | | | usage. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4104 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Create VeNCrypt security types in Security class.Adam Tkac2010-07-208-78/+28
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4103 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Use SecurityType also as configuration for VeNCrypt.Adam Tkac2010-07-203-111/+15
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4102 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Pass Security instance to {C,S}SecurityVeNCrypt.Adam Tkac2010-07-205-6/+8
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4101 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add more debug logging into {C,S}SecurityVeNCrypt.Adam Tkac2010-07-202-0/+10
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4100 3789f03b-4d11-0410-bbf8-ca57d06f2519