Commit Graph

11 Commits

Author SHA1 Message Date
Martin Kleusberg
b28d0f63ec Show SQLite and SQLCipher version in About dialog when using SQLCipher
See issue #1474.
2018-08-10 19:17:59 +02:00
Martin Kleusberg
c8899ec0c1 Avoid confusion in the About dialog about the SQLCipher version
SQLCipher reports in its SQLITE_VERSION macro the version of the
underlying SQLite version. Because we cannot easily get any other
version from SQLCipher and because the reported version is not identical
to the SQLCipher version we need to rephrase the wording in the dialog a
bit to keep the two versions separated.

See issue #1474.
2018-08-10 15:40:17 +02:00
Martin Kleusberg
0bc430bfad Show the build date of the nightlies in the About dialog 2017-10-31 18:21:58 +01:00
Oleg V. Polivets
842a634be5 RID: AboutDialog WindowContextHelpButtonHint window flag (#796) 2016-10-02 17:13:55 +01:00
Peinthor Rene
4223d5d5da gen_version.h is no longer generated so rename it to version.h 2015-05-23 10:27:15 +02:00
Martin Kleusberg
fa1acf0a4b Make version numbers in About Dialog selectable
See issue #222.
2015-03-11 18:30:29 +01:00
Martin Kleusberg
167d8cbd74 cipher: Fix build option and use a dialog for entering the password
Fix the sqlcipher build option in the qmake project to actually enable
the SQLCipher support.

Add a new dialog called CipherDialog which is used to ask the user for
the password and other encryption details instead of using standard Qt
input dialogs.
2014-11-02 13:12:31 +01:00
Martin Kleusberg
9ba36d02b2 Add initial SQLCipher support
Add some basic initial support for SQLCipher. Note that this is more of
a POC than a final implementation.

This commit adds an option called 'sqlcipher' to the cmake and qmake
projects which - when enabled - replaces the default SQLite3 include and
library files by their SQLCipher counter-parts. Especially on MacOS X
there might be some more work required in finding the correct include
paths. The SQLCipher library supports unencrypted databases, too, so
even if the option is enabled the program behaves like before. You can
see the difference, though, in the About Dialog where the SQLite version
string will say 'SQLCipher version xy'.

When the sqlcipher option is enabled and you try to open a file which is
neither a project file nor a normal SQLite3 database it is assumed now
that the file is an encypted database. There is no way to tell between
an invalid file and an encypted file, so in both cases a password dialog
pops up. When the correct password and page size are entered the file is
opened and can be edited like any other database before.

Creating encrypted databases isn't supported yet. So for testing you
need to fall back to the sqlcipher command line tool.

See issue #12.
2014-11-01 12:56:53 +01:00
Peinthor Rene
441d4e79b7 improve the way the git hash is included in the binary
should be better for use of ccache and so on
2013-04-19 11:54:25 +02:00
Peinthor Rene
33b1adf58d Revert the reverted "Revert "better about dialog layout""
This reverts commit 176435646f.
2013-01-22 16:01:22 +01:00
Martin Kleusberg
73ca1045a2 Also rename AboutDialog
Missed that file in the last commit
2013-01-08 21:45:55 +01:00