Commit Graph

18 Commits

Author SHA1 Message Date
Mathias Hasselmann d077333d7c Extract PlainTextStore 2016-08-12 10:34:05 +02:00
Michal Švagerka 9eaef83b07 Fix compilation error on MSVC2015.
CREDENTIALW::Comment is LPTSTR (a non-const wchar_t*), whereas wide char literal is const wchat_t*, causing a compilation error.
2016-08-10 10:36:59 +02:00
Armin Novak 36151aacc7 Fix windows issues with exotic compiler flags.
If Qt is compiled with /Zc:wchar_t- no proper wchar_t type
is available. To avoid compilation issues, the platform assumption
of wchar_t being a unsigned short is used to cast to LPCWSTR.
2016-01-12 21:28:12 +01:00
Armin Novak c2b5cde569 Compile time option USE_CREDENTIAL_STORE
This option enables windows credential store support.
2015-12-04 11:41:39 +01:00
Armin Novak e6e828c33b Refactored code to simplify classes.
Job classes:
* Moved common members to parent.
* Made Job constructor protected, only for use by implementing class.

JobPrivate classes:
* Moved common members to parent.
* Made Job constructor protected, only for use by implementing class.
* Unified members where code was duplicated.
2015-12-04 11:41:06 +01:00
Frank Osterfeld 672fb092c9 Bump copyright year 2015-03-17 14:31:48 +01:00
Frank Osterfeld 7f9299cd5b Bump copyright years 2014-03-12 15:02:07 +01:00
Frank Osterfeld f4693bdfee Update copyright year span 2013-07-25 20:30:05 +02:00
Frank Osterfeld 4c014e17ef Serialize job execution on all platforms.
On OS X, multiple dialogs pop up asking for permission when starting multiple jobs in parallel.
Thus, as there are issues both with kwallet and OS X keychain, just serialize job execution on all platforms.
On Windows this doesn't make much of a difference as the job impl's are synchronous anyway.
2012-08-06 22:30:58 +02:00
Frank Osterfeld 42db0f2d4d D-Bus: Serialize job execution.
kwalletd gets lost in nested eventloops when we send multiple openWallet() dbus calls in parallel.
Thus synchronize job execution using an internal JobExecutor singleton.
2012-07-27 23:14:09 +02:00
Frank Osterfeld 8b1a574f35 Port Windows impl to the job API. 2012-05-07 16:46:22 +02:00
Frank Osterfeld 2b6e40b992 Refactor API to asynchronous job-based classes.
As all Linux solutions will require async calls to DBus etc., they'd have to use local event loops otherwise.
2012-05-07 16:46:22 +02:00
Dominik Schmidt ec43b0ca64 Fix cross-compilation for windows 2012-04-06 17:02:13 +02:00
Frank Osterfeld 24d261235f Allow the user to pass a custom QSettings object in case the default-constructed QSettings is not sufficient.
(Only used on Windows)
2011-12-12 11:50:08 +01:00
Frank Osterfeld d6ecb94c8f basic impl for windows 2011-12-02 19:37:37 +01:00
Frank Osterfeld 067c3c6577 add entryExists() 2011-12-02 19:37:37 +01:00
Frank Osterfeld 492c9615ba Initial OS X impl. 2011-10-28 09:17:18 +02:00
Frank Osterfeld 6ce1ec1d66 Initial 2011-10-27 18:14:37 +02:00