summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-03-08Fixed several bugs in CAPI/Schannel code on WindowsAlexey Melnikov
This patch includes the following fixes: 1) Correctly hex encode SHA1 hashes when generating certstore: URIs 2) Use the newly parsed certificate store reference, not the old value 3) Need to call findCertificateInStore() when finding the selected TLS certificate in Schannel code. Without that "sha1:XXXX" URIs don't work Also minor optimization of string operations. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-03-06Fix missing includeKevin Smith
Resolves: #903
2012-03-06don't crash if an AdHoc is deleted while inflightKevin Smith
2012-03-05Fix segfaults and deadcodeKevin Smith
2012-03-04Pass along errors about DNS resolution.Kevin Smith
2012-03-03Unit tests for SettingsProviderHierachyKevin Smith
Also fixing up errors they found and an uninitialised read left-over from the original patch.
2012-02-29Don't crash when trying to join MUCs offlineKevin Smith
Resolves: #940
2012-02-28Changed certstore: URIs to use SHA1 hashes of certificatesAlexey Melnikov
Value of the certificate's subject DN leftmost RDN is not necessarily unique. This change switches to using SHA1 hash of DER certificates, which should guaranty uniqueness. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-02-28Also compile on non-WindowsKevin Smith
2012-02-28Make Swift more usable in a FIPS-140 environmentKevin Smith
Don't allow DIGEST-MD5 when Windows is set to FIPS mode. Use platform-provided hashing for SHA1.
2012-02-23Compile when non-SChannelKevin Smith
2012-02-22Fix up for previous CAPI patchKevin Smith
Now connects successfully with or without TLS(with cert)
2012-02-22Initial implementation of using CAPI certificates with Schannel.Alexey Melnikov
Introduced a new parent class for all certificates with keys (class CertificateWithKey is the new parent for PKCS12Certificate.) Switched to using "CertificateWithKey *" instead of "const CertificateWithKey&" Added calling of a Windows dialog for certificate selection when Schannel TLS implementation is used. This compiles, but is not tested. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-02-14Correctly use bare JIDs when banning people from roomsKevin Smith
2012-02-14Adding documentation to GenericRequestKevin Smith
2012-02-12Fixed compiler warnings.Remko Tronçon
2012-02-06Parse mediated invite stuffKevin Smith
2012-02-03Correct previous patch.Remko Tronçon
2012-02-03Call shutdown() on socket before close().Remko Tronçon
As recommended by boost asio documentation.
2012-02-03Close socket immediately after last pending write finished.Remko Tronçon
This should fix a hang on disconnect().
2012-01-24Test caseKevin Smith
2012-01-23XEP-0004 form support for user search.Tobias Markmann
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2012-01-17Allow specifying BOSH and BOSH proxy URLs with names (rather than IPs)Kevin Smith
2012-01-16Add minor docKevin Smith
2012-01-15Fixed compilation with msvc and boost-1.48vitalyster
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2012-01-10Don't allow null form fieldsKevin Smith
2011-12-24Some BOSH refactoring.Remko Tronçon
2011-12-24Fixed compilation warnings.Remko Tronçon
2011-12-22BOSH Refactoring.Remko Tronçon
2011-12-13Fix use of int randoms for populating longKevin Smith
2011-12-13Avoid crash due to misuse of XMPPLayerKevin Smith
2011-12-13Remove a warningKevin Smith
2011-12-13BOSH Support for SwiftenKevin Smith
This adds support for BOSH to Swiften. It does not expose it to Swift. Release-Notes: Swiften now allows connects over BOSH, if used appropriately.
2011-12-13BOSH implementation startedThilo Cestonaro
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-11-28WhoopsKevin Smith
2011-11-28Message Receipts (XEP-0184) support for 1-to-1 conversations (including ↵Tobias Markmann
1-to-1 MUC). Warn icon from already existing theme. Check icon from Wikipedia. See Swift/resources/icons/license_info.txt for details. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-11-18Emit onSessionFinished only in Session::handleDisconnected.HanzZ
Copyright (c) 2011 Jan Kaluza Licensed under the Simplified BSD license. See Documentation/Licenses/BSD-simplified.txt for more information.
2011-11-03Exclude SChannel from Swiften.hKevin Smith
2011-11-03Quick brush up after previous patch.Kevin Smith
Includes: Initial cleanup of SChannel code; compiling on non-Windows Be willing to compile Swift with SChannel Undo some (presumably accidental) OpenSSL changes Where TLS doesn't support finish messages (SChannel), don't try -PLUS
2011-11-03* Added Schannel support.dreijer
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-10-19For abnormal MUC parts, give the reason.Kevin Smith
Makes abnormals immune to presence folding. Resolves: #1004
2011-10-19Use real JID for bans, not room JID.Kevin Smith
Resolves: #1020
2011-10-18Use the oldest error when closing streams.Kevin Smith
Stops new errors overwriting cert validation errors and preventing Swift from prompting the user to trust the cert.
2011-10-16Hoist ProxyProvider creation out of Client.Remko Tronçon
2011-10-16Hoist TLSContextFactory creation out of Client.Remko Tronçon
2011-10-14Resurrecting simple ID generator.Remko Tronçon
2011-10-11Adding includesKevin Smith
2011-10-10Force disconnect signals when calling connect() shortly after disconnect().Remko Tronçon
2011-10-10In case of writing when calling disconnect() postpone socket.close() to when ↵Tobias Markmann
writing has finished. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-10-08Protect JID cache access with mutex.Remko Tronçon
The overhead appears to be neglectible. Using TSS had a similar overhead, with the disadvantages that it uses more storage (one cache per thread vs one cache), has less cache reuse, and that Windows/MSVC doesn't support automatic TSS cleanup, so it requires manual cleanup work (which is non-trivial). Note that the mutex approach may yield more overhead in multi-threaded applications (in case of contention). Currently, the mutex also locks during the whole nameprep sequence, which is not strictly necessary.