208 Commits

Author SHA1 Message Date
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
Friedrich W. H. Kossebau
3b35392d13 API dox: fix generation of example tlssocket.cpp 2020-05-29 16:28:08 +02:00
Albert Astals Cid
c1a028c345 Add const to a few lists 2020-02-16 12:11:57 +01:00
Albert Astals Cid
ad1b9e1b07 Enable QT_NO_CAST_FROM_ASCII 2020-02-15 10:21:12 +00: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
c0ac498159 clazy: Enable container-anti-pattern
Except in the tests where being slow and convenient is better than fast
2020-02-12 16:55:18 +01:00
Albert Astals Cid
d26d7a7959 Add more override
And fix okular -> qca copy&paste typo ^_^
2020-02-09 01:21:32 +01:00
Albert Astals Cid
93336bb110 Enable more clang-tidy modernize checks 2020-01-30 18:02:17 +01:00
Albert Astals Cid
8ee19a09e2 Add a few modernize clang-tidy checks 2020-01-30 17:37:15 +01:00
Albert Astals Cid
c5f5a4c038 clazy: Enable level2 except a few checks
also a few of the manual checks
2020-01-29 17:36:23 +01:00
Albert Astals Cid
5e2751fe85 clazy: enable level1 2020-01-29 16:53:08 +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
7df8f7e215 Move to the new connect syntax
QProcess::errorOccurred is since 5.6 so increase min version
2020-01-29 08:34:13 +00:00
Albert Astals Cid
f9fc3f356f remove unused variables 2020-01-24 10:46:27 +01:00
Albert Astals Cid
d3f8ea684e QString::mid -> midRef 2020-01-23 17:40:59 +01:00
Albert Astals Cid
dbef5838d4 Enable QT_NO_SIGNALS_SLOTS_KEYWORDS 2020-01-22 19:31:28 +01:00
Laurent Montel
acb45eeb84 Use nullptr 2020-01-20 13:37:51 +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
Nicolás Alvarez
ad50594cb2 Fix repeated 'the the' in comments. 2018-10-15 10:26:08 -03: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
034f873f68 use Qt5 C++ flags for examples, tools and unittests 2013-08-30 20:22:59 +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
57aa7db0e3 less warnings 2013-07-24 23:52:37 +06:00
Ivan Romanov
4f55e9b680 fix Windows line endings 2013-07-20 23:06:21 +06:00
David Faure
57ce5c3bc9 Port to Qt5 by Ivan Romanov <drizt@land.ru>
svn path=/trunk/kdesupport/qca/; revision=1347515
2013-04-02 11:00:43 +00:00
Urs Wolfer
014595173f optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 10144KB (9MB)

svn path=/trunk/kdesupport/qca/; revision=1062098
2009-12-13 19:51:03 +00:00
Justin Karneges
ad9b7e2ec4 confapp.pri is now the generated file instead of confapp_unix/win.pri
app.pri is now the non-generated file instead of confapp.pri

svn path=/trunk/kdesupport/qca/; revision=958863
2009-04-24 21:12:15 +00:00
Justin Karneges
499388751c set a good example, by making sure QCA::Initializer is always before
qapp

svn path=/trunk/kdesupport/qca/; revision=958799
2009-04-24 17:59:20 +00:00
Justin Karneges
b163987540 fix examples for doxygen, comment out cmssigner and tlssocket until we
can figure out how to make them work..

svn path=/trunk/kdesupport/qca/; revision=816991
2008-06-05 02:00:11 +00:00
Justin Karneges
a7fc09ec5a centralize qca inclusion to crypto.prf in the base dir
svn path=/trunk/kdesupport/qca/; revision=815977
2008-06-02 22:35:07 +00:00
Justin Karneges
d97fc725b0 wait 3 cycles instead, and also disconnect signals from sasl to prevent
a late response from appearing

svn path=/trunk/kdesupport/qca/; revision=811905
2008-05-24 00:21:44 +00:00
Justin Karneges
dc4971fab8 don't lose data if there is a pending writeIncoming and the connection
is closed

svn path=/trunk/kdesupport/qca/; revision=811902
2008-05-24 00:05:34 +00:00
Justin Karneges
4a82380c6d large cleanup, also add support for protocol selection, sending error
messages to the client, and multiple connections

svn path=/trunk/kdesupport/qca/; revision=811002
2008-05-22 00:32:05 +00:00
Justin Karneges
8f894adbc0 handle error messages from the server
svn path=/trunk/kdesupport/qca/; revision=811000
2008-05-22 00:29:48 +00:00
Justin Karneges
109100ca17 rename to saslserver
svn path=/trunk/kdesupport/qca/; revision=810937
2008-05-21 21:47:53 +00:00
Justin Karneges
5397061f3b rename saslservtest to saslserver
svn path=/trunk/kdesupport/qca/; revision=810936
2008-05-21 21:44:38 +00:00
Justin Karneges
80ad0f1d90 ability to explicitly use default authzid/realm to avoid prompting
svn path=/trunk/kdesupport/qca/; revision=810935
2008-05-21 21:44:13 +00:00
Justin Karneges
0f4794b278 rename sasltest to saslclient
svn path=/trunk/kdesupport/qca/; revision=810933
2008-05-21 21:32:20 +00:00
Justin Karneges
6c0b9e0f57 rename to saslclient
svn path=/trunk/kdesupport/qca/; revision=810932
2008-05-21 21:30:20 +00:00
Justin Karneges
ee5e054cec cleanup. add extra features, including ability to specify protocol name
svn path=/trunk/kdesupport/qca/; revision=810930
2008-05-21 21:26:43 +00:00
Justin Karneges
88bf25535d don't create qca objects between initializer and qapp construction
svn path=/trunk/kdesupport/qca/; revision=800340
2008-04-23 22:50:41 +00:00
Justin Karneges
ee9d236947 update sasl examples:
fix a parsing bug in saslservtest
  service type is now "qcatest" instead of "foo"
  for saslservtest, make it possible to specify a domain name

svn path=/trunk/kdesupport/qca/; revision=734835
2007-11-10 05:58:40 +00:00
Justin Karneges
8ebcc36d68 explicit constructors
svn path=/trunk/kdesupport/qca/; revision=705822
2007-08-28 17:16:39 +00:00
Brad Hards
699ec2230b Add cmssigner to the example documentation, and fix
a couple of broken references in the dox.

svn path=/trunk/kdesupport/qca/; revision=705257
2007-08-27 15:39:05 +00:00
Adriaan de Groot
6062ca4779 Need stdio for printf() family; in rsatest, printf -> std::cout.
svn path=/trunk/kdesupport/qca/; revision=702846
2007-08-21 09:31:12 +00:00
Justin Karneges
304c7e57ca one prompter for whole app
svn path=/trunk/kdesupport/qca/; revision=702416
2007-08-20 15:47:38 +00:00
Justin Karneges
512196078d cmssigner is 1.0
svn path=/trunk/kdesupport/qca/; revision=699762
2007-08-14 02:28:11 +00:00