Albert Astals Cid
f62a8ee8f7
Run clang-format
...
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \;
If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-09-07 02:13:47 +02:00
Albert Astals Cid
8b171279e9
clazy: enable qstring allocation warning
2020-02-13 01:07:24 +01:00
Albert Astals Cid
e2029649b9
clang-tidy: enable modernize-deprecated-headers and modernize-use-nullptr
2020-02-12 17:14:33 +01:00
Albert Astals Cid
5ddf120260
More modern NSS/cmake
2020-01-30 18:23:59 +01:00
Albert Astals Cid
8ee19a09e2
Add a few modernize clang-tidy checks
2020-01-30 17:37:15 +01:00
Albert Astals Cid
dce16514fe
Enable a clazy CI
...
Starting with only missing-qobject-macro check enabled
2020-01-29 14:31:55 +01:00
Albert Astals Cid
29c7d98898
Fix MACContext clone in botan/gcrypt/nss
...
And excercise that from the unittest
2020-01-21 01:12:07 +01:00
Albert Astals Cid
0ce2b3927e
Fix HashContext in botan/gcrypt/nss
...
And make sure the hashunittest exercises them
2020-01-21 00:54:10 +01:00
Albert Astals Cid
70406170f5
Cleanup Qt version checks
2020-01-19 17:57:35 +01:00
Albert Astals Cid
d71f4c279b
Drop Qt4 support
2020-01-19 17:19:23 +01:00
Albert Astals Cid
00d311d90f
Add override
2020-01-19 16:28:44 +01:00
Ivan Romanov
57878ff44f
Add support for AES GCM and AES CCM modes
...
Only qca-openssl now can use GCM and CCM. CCM is not tested and
planed for future.
2016-09-19 10:48:11 +05:00
Ivan Romanov
13050bf00d
cmake: plugins on Mac OS must use .dylib suffix
2014-11-05 22:42:32 +05:00
Ivan Romanov
d598c689b7
cmake: no install target in developer mode
2014-09-28 21:14:26 +06:00
Ivan Romanov
192243d4bd
cmake: fixed QCA_PLUGINS_INSTALL_DIR meaning
...
Plugins must be in crypto subdir. It is used internally in providers
finding algorythm. So now QCA_PLUGINS_INSTALL_DIR it is path to
crypto directory.
2014-09-24 16:00:39 +06:00
Ivan Romanov
c30f5d2455
cmake: fixed typo
2014-08-22 21:48:20 +06:00
Ivan Romanov
da1f8190ac
cmake: use FindPkcConfig module instead of obsoletes PKGCONFIG
2014-08-21 03:10:34 +06:00
Ivan Romanov
fbdf57f843
cmake: install .PDB files
...
On Windows when compiling with Visual Studio will be produced special
.pdb files for debuggins purposes. It must be put next to target
runtime (.dll or .exe) file.
2014-02-03 02:05:54 +06:00
Ivan Romanov
80048dc7b9
qca-nss: fixed KeyLenght for Cipher
...
Before was KeyLength(0, 0, 0). Seems it is dummy.
2014-01-03 22:14:14 +06:00
Ivan Romanov
6d690c0070
Build static QCA
...
Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
2014-01-02 03:50:18 +06:00
Ivan Romanov
5d06579605
Use internal cache vars to choose plugins for building
...
It allow to know will be particular plugin build or no
in any place of cmake rules.
2014-01-01 02:10:15 +06:00
Ivan Romanov
4e535d25e5
Fixed IID for all plugins
...
In Qt5 plugin IID is the same as identifier from Q_DECLARE_INTERFACE
2013-11-21 11:31:13 +06:00
Ivan Romanov
094899a00c
Optional plugins build
...
Now possible to build only required plugins and skip all others.
Also can get fail if required plugins can't be built.
By default will be build all possible plugins.
New cmake cache variables:
ENABLE_PLUGINS - list plugins to build (botan;ossl;gnupg for example).
Also possible values is none, auto or all
(by default: "auto")
WITH_${PLUGIN}_PLUGIN - to build particular plugin. Can be no, yes or
auto (WITH_ossl_PLUGIN=auto for example)
2013-11-11 21:08:56 +06:00
Ivan Romanov
9462469bb5
dropped bat, qconf and qmake rules
...
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d
added cmake variable QCA_LIB_SUFFIX
...
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.
I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +06:00
Ivan Romanov
44c7fbb74f
install qca to prefix or qt_prefix
...
Added option QCA_INSTALL_IN_QT_PREFIX to provide a way to choose
default prefix for installing qca. By default is ON.
Also added a cache vars.
QCA_PREFIX_INSTALL_DIR
QCA_PLUGINS_INSTALL_DIR
QCA_BINARY_INSTALL_DIR
QCA_LIBRARY_INSTALL_DIR
QCA_FEATURE_INSTALL_DIR
QCA_INCLUDE_INSTALL_DIR
QCA_PRIVATE_INCLUDE_INSTALL_DIR
QCA_DOC_INSTALL_DIR
QCA_MAN_INSTALL_DIR
2013-08-24 21:26:40 +06:00
Ivan Romanov
e0cdd5db40
Revert "install qca to prefix or qt_prefix"
...
This reverts commit f5cb5b04dcb37ab4a62943c19646bcfa3d7d3b23.
2013-07-25 14:23:16 +06:00
Ivan Romanov
f5cb5b04dc
install qca to prefix or qt_prefix
...
Added option QCA_INSTALL_IN_QT_PREFIX to provide a way to choose
default prefix for installing qca. By default is ON.
Also added a cache vars.
QCA_PREFIX_INSTALL_DIR
QCA_PLUGINS_INSTALL_DIR
QCA_BINARY_INSTALL_DIR
QCA_LIBRARY_INSTALL_DIR
QCA_FEATURE_INSTALL_DIR
QCA_INCLUDE_INSTALL_DIR
QCA_PRIVATE_INCLUDE_INSTALL_DIR
QCA_DOC_INSTALL_DIR
QCA_MAN_INSTALL_DIR
2013-07-24 22:08:12 +06:00
David Faure
7d073db453
Finish port to Qt5: plugins. Patch by Ivan Romanov.
...
svn path=/trunk/kdesupport/qca/; revision=1347518
2013-04-02 12:41:12 +00:00
David Faure
e8059de1f6
Fix error with -Werror=return-type: not returning anything is undefined behavior here.
...
Please check what should be returned instead, though.
CCMAIL: bradh@frogmouth.net
svn path=/trunk/kdesupport/qca/; revision=1156630
2010-07-29 12:11:19 +00:00
Funda Wang
4c9afd56cc
build modules rather than shared libs for really modules
...
svn path=/trunk/kdesupport/qca/; revision=1111903
2010-04-07 00:26:26 +00:00
Christian Ehrlicher
204465e767
fix win32 install locations
...
svn path=/trunk/kdesupport/qca/; revision=947517
2009-03-31 17:01:28 +00:00
Urs Wolfer
3a3974aa24
SVN_SILENT remove extra ';'
...
svn path=/trunk/kdesupport/qca/; revision=860000
2008-09-11 18:53:31 +00:00
Justin Karneges
4d1b4c74a1
track api changes
...
svn path=/trunk/kdesupport/qca/; revision=677317
2007-06-18 21:39:31 +00:00
Justin Karneges
c025229198
Provider qcaVersion, version, and deinit
...
svn path=/trunk/kdesupport/qca/; revision=673032
2007-06-08 20:05:04 +00:00
Brad Hards
231f7f8eb8
Switch Cipher::blockSize to return int, rather than unsigned int.
...
I think unsigned int was a bit more descriptive, but certainly
is non-standard.
svn path=/trunk/kdesupport/qca/; revision=670664
2007-06-02 11:22:26 +00:00
Brad Hards
4e7430bd70
krazy cleanups.
...
svn path=/trunk/kdesupport/qca/; revision=654944
2007-04-17 12:06:03 +00:00
Brad Hards
a680b5d380
Update to reflect changes - QSecureArray becomes QCA::SecureArray
...
svn path=/trunk/kdesupport/qca/; revision=653709
2007-04-14 01:49:54 +00:00
Justin Karneges
39cd886afb
QCAPlugin is now not a QObject, but subclasses are
...
svn path=/trunk/kdesupport/qca/; revision=653255
2007-04-13 00:42:19 +00:00
Justin Karneges
32cd6df7d8
use underscore instead of hyphen with Q_EXPORT_PLUGIN2
...
svn path=/trunk/kdesupport/qca/; revision=648549
2007-03-31 17:01:56 +00:00
Brad Hards
fcffefcc6b
Complete clone method for cipher.
...
svn path=/trunk/kdesupport/qca/; revision=620044
2007-01-05 04:00:35 +00:00
Brad Hards
6e9ca1cff1
Update FSF address
...
svn path=/trunk/kdesupport/qca/; revision=618717
2007-01-02 05:57:41 +00:00
Brad Hards
00449cc829
whitespace fixes.
...
svn path=/trunk/kdesupport/qca/; revision=609816
2006-12-02 11:40:25 +00:00
Brad Hards
f9e5a75d8f
Build fixes for the NSS provider. It compiles better
...
if it can find the appropriate headers, and links
better if it can find the matching libraries.
svn path=/trunk/kdesupport/qca/; revision=609814
2006-12-02 11:33:54 +00:00
Michaël Larouche
e7e6872dbe
Fix compilation, reported by fernardo on IRC
...
svn path=/trunk/kdesupport/qca/; revision=606540
2006-11-20 18:24:27 +00:00
Brad Hards
3bdb997d6e
Initial Cipher support for the NSS provider.
...
svn path=/trunk/kdesupport/qca/; revision=597052
2006-10-19 10:03:53 +00:00
Brad Hards
349379f3ce
Add HMAC support for the NSS provider.
...
svn path=/trunk/kdesupport/qca/; revision=595598
2006-10-15 02:06:01 +00:00
Laurent Montel
427a95c8df
Now we can compile qca-nss plugins (need mozilla lib)
...
svn path=/trunk/kdesupport/qca/; revision=594203
2006-10-10 13:47:57 +00:00
Brad Hards
7e7a6e2eed
Update NSS provider to use the q_interfaces call,
...
and also add some appropriate svn:ignore entries.
svn path=/trunk/kdesupport/qca/; revision=513346
2006-02-25 05:44:01 +00:00
Brad Hards
fb5a55db5d
Try to make the pkg-config name more robust.
...
svn path=/trunk/kdesupport/qca/; revision=510470
2006-02-17 11:42:34 +00:00