Commit Graph

23 Commits

Author SHA1 Message Date
Christian Hohnstaedt
68b14617cc Add tests for the DateTime input for validity times.
Test the correct behavior of the "Midnight" and setDiff methods.
Especially to keep the time when switching from hidden time (midnoght)
back to shown time.
2024-04-22 19:13:02 +02:00
Christian Hohnstaedt
993da2d474 Use C++11 initializers for all non-static class members
When XCA started in 2002, there were no C++ initializers.
Drop explicit initializers from the constructors.

 - Fix indentations of section declarators.
 - Replace NULL by nullptr when feasible.
 - Sort private section: properties first, then methods.
2023-10-08 22:19:18 +02:00
Christian Hohnstaedt
7d8cb08908 GitHub Bug #4: Don't use " t" in QDateTimeEdit format string
otherwise manual editing ithe sections fails
and resets the edited section after leaving it.

Workaround: resolve the timezone a-priori
and use it statically in the format string
2018-03-08 22:22:52 +01: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
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
25ab20a735 Fixup least supported QT version
compiling against QT 4.3 fails already with XCA 0.9.1
Check support of at least QT 4.4
2012-04-06 08:40:28 +02:00
Christian Hohnstaedt
a0baea653b Improve Date displays and input
Make asn1time be based on QDateTime

Support for local time and GMT in
displays and input
2012-04-03 21:07:08 +02:00
Christian Hohnstaedt
836a8a4c15 keep compatibility to QT 4.3.0 2010-07-16 08:15:22 +02:00
Christian Hohnstaedt
71af5a87b3 Use QDateTime instead of mktime 2010-07-16 06:30:54 +02:00
Christian Hohnstaedt
ac371b697a improve date and time input
- Only once set notBefore to "now" when creating Cert-renewal
  or NewCert dialog.

- Apply-time button now always uses the current value from notBefore
  and adds the time-span without resetting notBefore

- Checking "midnight" now immediately modifies the dates.
  Unchecking "midnight" now recovers the old value

- The seconds are always set to 00, since they can't be set via
  the DateTime dialog anyway

- CRL generation now too allows to use midnight and time ranges
  and uses GENERALIZED time if the date is out of range for UTCTIME
  (same logic as for certificates)
2010-07-14 20:54:59 +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
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 Hohnstaedt
5aa171ee2a fix date generation and warn if generalized time is used 2007-02-08 18:08:08 +01:00
Christian
813e115b8e Spaces deleted 2006-05-21 10:08:39 +02:00
chris2511
462eac83a3 certificates for QT4 2006-03-12 23:57:24 +00:00
chris2511
33f907b183 validity view was changed to be font width aware.
Closes Bug #931849
CertExtend dialog has also a time-diff.
It is possible to round the validity times
to 0:00:00 and 23.59.59
2004-04-13 23:35:23 +00:00
chris2511
ea6d39d4bd Fontsize 2004-04-13 15:52:44 +00:00
chris2511
7d4f729190 fixes for SPKAC and database opening 2004-02-05 20:17:54 +00:00
chris2511
d932fc0e82 Authority info access added
Certificate policies pending...
2003-11-30 20:56:56 +00:00
chris2511
35680ff649 Certificate creation works again, validity settings elaborated 2003-06-29 22:03:10 +00:00
chris2511
67294fc708 *** empty log message *** 2003-06-25 23:38:49 +00:00
chris2511
53915cf528 *** empty log message *** 2003-06-24 15:43:03 +00:00