Commit Graph

60 Commits

Author SHA1 Message Date
Christian Hohnstaedt
1fdc056698 Replace all C_FILE by __FILE__
It was not used consequently anyway
2023-10-31 11:45:16 +01:00
Christian Hohnstaedt
670444391d On GCC and CLANG use -fmacro-prefix-map
and skip the C_FILE strrchr() mess which failed for windows anyway.
2023-10-31 11:00:46 +01:00
Christian Hohnstaedt
2b59f07b1a Make sure QT_MESSAGELOGCONTEXT is always set. 2023-09-19 23:35:27 +02:00
Christian Hohnstaedt
1176a35fa7 Debugging: allow to select/deselect debug messages
Inspired by the Linux kernels dynamic debugging.
2023-05-28 15:31:33 +02:00
Christian Hohnstaedt
bd61f44e02 Refactor source file inclusion
No libraries needed. Just put all files as source to xca
and those needed for xcadoc to the xcadoc target.
Github Action: create deployments for each matrix result
2022-09-07 20:01:25 +02:00
Christian Hohnstaedt
ee842feb5e Improve windows compatibility 2022-08-31 00:01:06 +02:00
Christian Hohnstaedt
4d401792a9 OpenSSL: Avoid all FILE pointer operations, use QFile
For interoprability reason.
To enforce it, set "#define OPENSSL_NO_STDIO 1"
All file access is done by reading/writing from/to BioByteArray()
which is filled by QFile:readAll()

Drop CRYPTO_malloc_debug / CRYPTO_mem_leaks
which is unused and disabled since many years.
2021-11-13 23:53:11 +01:00
Christian Hohnstädt
52bf30e47b Visual Code adaptions 2021-06-01 17:48:37 +02:00
Christian Hohnstädt
68273d0a30 Switch from autotools/qmake to cmake
Why?
 - QT will switch from qmake to cmake sooner or later.
 - autotools are good for unix-ish systems, cmake also for
   macOS and Xcode as well as Windows and VS-code
 - Cross compiling the windows-binaries on linux
   is not very helpful to attract windows-centric
   developers.

Also drop qmake's xca.pro
Generate man-page and sphinx sources of commandline arguments
during build by executing xca (xcadoc.cpp).
Generating Version-patchlevel and git hash is now also
OS independent.
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
57802580c8 Drop backward-compatibility for old(<2.0.0) XCA databases 2021-05-10 20:41:12 +02:00
Christian Hohnstädt
d5fa97c3bb Drop support for Qt4
Version 2.4.0 was the last one with Qt4 support
2021-05-09 12:25:32 +02:00
Christian Hohnstaedt
f43e7520db Support concurrent database access.
If a database is modified by another instance of XCA the passive
instance reloads and displays the changed parts.
2019-03-25 06:47:25 +01:00
Christian Hohnstaedt
79d6aa0b10 Improve message boxes. Always display plain text
And show a message if a database connection failed.
2018-03-05 19:47:05 +01:00
Christian Hohnstaedt
e1b982a346 Replace printf by qDebug 2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
715b263998 Indicate development and release version by git commit hash
Fix "qmake" build for qt4 and qt5
2018-01-28 11:36:37 +01:00
Christian Hohnstaedt
de7b368355 Of course we support Big Endian machines. Remove debugging mechanism
At least during coding. I have not Big Endian platform to
verify the expression above.
2017-11-23 12:44:02 +01:00
Christian Hohnstaedt
cefb140601 Switch to Qt5 for Windows build and installation
Don't depend on htonl() and friends to avoid lwsock32
Fixup WIN32 define to use the Qt definition
2017-07-17 09:27:46 +02:00
Christian Hohnstaedt
b22d82a3f9 OSSL 1.1 vs. 1.0: Windows support 2017-07-08 06:57:04 +02:00
Christian Hohnstaedt
e5541c6d67 SF. Bug. #81 Make xca qt5 compatible
Extend XCA to also compile against Qt5
Remove directory from Qt includes
2015-09-17 18:42:42 +02:00
Christian Hohnstaedt
e50dc5824e Switch to autoconf for the configure script
Adapt build system paths and windows build script
2014-11-05 14:05:58 +01:00
Christian Hohnstaedt
9710a78592 First preparation of version 1.0.0
update changelog and documentation
avoid warnings about unused variables
2014-04-11 19:29:46 +02:00
Christian Hohnstaedt
8168ca5181 QMessageBox: protect against HTML parsing
The default message box displays the message as HTML
Don't do that.

Thanks to Artur Czyz (artur_czyz at wp.pl) for finding it.
2014-04-11 19:29:45 +02:00
Christian Hohnstaedt
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
5e63be1766 Don't let QT convert QString to char * 2012-04-10 13:09:13 +02:00
Christian Hohnstaedt
a89ff7575c Cut off full path from logged filenames
TRACE and openssl_errors did print the whole path
of the source file  without need
2012-04-02 06:51:57 +02:00
Christian Hohnstaedt
0d9eec9797 drop Openssl 0.9.7 backward compatibility hack 2010-08-19 07:16:51 +02:00
Christian Hohnstaedt
3524b024e9 Support Drag and Drop
Add eventhandler for file-open events.
This happens when opening a database or
other item with XCA in the Finder

Dragging an item onto the mainwindows shows the item and imports it
if desired
2010-06-17 20:48:38 +02:00
Christian Hohnstaedt
8530a60554 support cross-compiling XCA for MAC OSX 2010-06-17 15:16:30 +02:00
Christian Hohnstaedt
de851ed3a9 Changed all header includes to QT4 names and included the correct component name
By Andreas Piesk. Thanks!

adapt to HEAD since the patch is based on 0.6.4

drop qt4/Qt include in list of includes during configuration
2010-06-13 11:49:38 +02:00
Christian Hohnstaedt
f1c528fcc9 update copyright information 2010-03-11 07:13:48 +01:00
Christian Hohnstaedt
9f900ae6f7 update copyright date to 2009 where appropriate 2009-11-24 17:54:21 +01:00
Christian Hohnstaedt
66c7db0350 Start implementation of SmartCard support
- use PKCS#11
 - load keys and showing them works
2009-10-28 18:54:22 +01:00
Christian
eefbf7efde Merge branch 'qmake'
Conflicts:

	lib/func.cpp
	lib/func.h
	lib/pki_base.h
	lib/pki_x509super.h
2007-04-29 23:57:57 +02:00
Christian
c2018c0e58 - fix segfault
- switch string handling to UTF8
2007-04-29 18:48:17 +02:00
Christian
8283d8e7b9 replace copyright notice in source files
(copyright and licence itself remain unchanged)
fix configure to set Qt include dir
code justifying
2007-04-12 12:25:28 +02:00
Christian
d4a90be207 replace "include <Qt/" by "include <" 2007-04-11 11:19:22 +02:00
Christian
d701024e31 changes to change to qmake 2007-04-09 15:58:41 +02:00
Christian
85e91b4391 autodetect and load any type of PEM files
either with -P option or menu Import->PEM file
2007-02-08 00:35:13 +01:00
Christian Hohnstaedt
c980a5e8d4 Add export format for apache-ssl
cleanup
fix bug in PKCS#12 immport
2006-11-16 17:57:51 +01:00
Christian
20d58af2ad fix template handling 2006-11-15 23:24:35 +01:00
Christian Hohnstaedt
99075dd607 add RSAwithSha256 for openssl 0.9.8
fix tab-enabling for templates and requests
remove obsolete code
use right compiler in configure
2006-11-15 17:16:26 +01:00
Christian Hohnstaedt
51510e9390 remove sleepycat from licence info
add connects for edit and doubleClick
2006-11-14 23:04:16 +01:00
Christian
813e115b8e Spaces deleted 2006-05-21 10:08:39 +02:00
chris2511
c6622680db push forward to QT4 2006-03-12 17:39:52 +00:00
chris2511
0091853a73 changes in building,
DSA keys
key format in database changed to contain the public key and
the private one in encrypted form.
2005-02-07 21:56:21 +00:00
chris2511
76a21ea16e version 0.5.1 2004-07-13 18:56:44 +00:00
chris2511
32130f4acd VERSION 0.5.0 2004-05-26 21:17:12 +00:00
chris2511
24f33d8038 s/Revokation/Revocation/g
s/Certifikate/Certificate/g
2004-05-25 20:31:22 +00:00
chris2511
e21066dbef debian menu added,
version 4.7-RC1
2004-02-05 23:05:00 +00:00
chris2511
94f37c622c information about -b for basedir,
changes for Mingw32 and MSVC++
2003-12-04 22:17:20 +00:00