Felix Geyer
eb9fdb43c1
travis-ci: install and use gcc 4.7.
...
gcc 4.6 doesn't support all C++11 feature we need.
2015-09-12 15:24:42 +02:00
Felix Geyer
0362f45547
Don't try to install homebrew packages that are already there.
...
brew install <existing package> returns an error code.
2015-09-12 14:43:37 +02:00
Felix Geyer
31f55fdb26
Install cmake binaries provided by upstream.
...
cmake 2.8.7 in Ubuntu 12.04 is too old.
2015-09-12 14:34:59 +02:00
Felix Geyer
26928a63e8
Try to work around travis providing an ancient build environment.
2015-09-12 14:12:27 +02:00
Paultergeist
abacec5787
Fixed compile error on Mac
2015-09-12 14:00:53 +02:00
Benjamin Robin
d84af2def0
Fix the open recent database menu.
...
With at least Qt 5.5 the action text is automatically modified from
/home/ben/db.kdbx to /&home/ben/db.kdbx
So add the path of the database to the action using setData
Signed-off-by: Benjamin Robin <dev@benjarobin.fr>
2015-09-12 14:00:03 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
0e85c98d02
Remove backported definitions from Global.h.
2015-09-12 13:51:49 +02:00
Felix Geyer
ae2b27d400
Connect rowsAboutToBeMoved() and rowsMoved() again.
...
Accidentally removed in 4fcce6f98f3d481514825ebdffc024c36bd5389c
2015-09-12 13:51:49 +02:00
Felix Geyer
7c424e1b85
Merge updated modeltest from Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
ba1ca4ec08
Rename x11 auto-type plugin to xcb.
...
This matches what QGuiApplication::platformName() returns.
2015-09-12 13:51:49 +02:00
Felix Geyer
20b13a4a2e
Ger rid of last Qt 4 version check.
2015-09-12 13:51:49 +02:00
Felix Geyer
460b23b1eb
Use QElapsedTimer everywhere.
2015-09-12 13:51:49 +02:00
Felix Geyer
9882f16614
Remove Tools::currentDateTimeUtc().
2015-09-12 13:51:49 +02:00
Felix Geyer
60daa2b41b
Require libgcrypt >= 1.6.0.
...
Remove our own Salsa20 implementation as libgcrypt ships one
with that version.
2015-09-12 13:51:49 +02:00
Felix Geyer
d81565df55
qttools5-dev-tools is also required for building on Debian.
2015-09-12 13:51:49 +02:00
Felix Geyer
e2ac176d3c
Remove second argument of QSKIP call.
...
Has been removed in Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
ec8c0bb3e7
Setup new build dependencies.
2015-09-12 13:51:49 +02:00
Felix Geyer
b904fe5acd
Adapt X11 auto-type plugin to handle xcb instead of xlib events.
2015-09-12 13:51:49 +02:00
Felix Geyer
3b07098731
Port native event filter to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
03a330a4dd
Port Tools::platform() to Qt 5.
...
The Q_WS_* definitions are gone.
2015-09-12 13:51:49 +02:00
Felix Geyer
6502da549b
Fix build failure in AutoTypePlatformX11::SendEvent().
2015-09-12 13:51:49 +02:00
Felix Geyer
a71e25a8ba
Fix GUI tests.
2015-09-12 13:51:49 +02:00
Felix Geyer
9e05f41747
Port to Qt 5 plugin system.
2015-09-12 13:51:49 +02:00
Felix Geyer
208b0f39e6
Adapt to QtConcurrent being a separate module now.
2015-09-12 13:51:49 +02:00
Felix Geyer
5ad9edc3fd
QDesktopServices::storageLocation() calls to QStandardPaths.
2015-09-12 13:51:49 +02:00
Felix Geyer
c714fc89f1
Add missing include statements.
2015-09-12 13:51:49 +02:00
Felix Geyer
e3cde7b55e
Adapt to setSupportedDragActions() begin removed.
...
Models have a virtual supportedDragActions() now.
2015-09-12 13:51:49 +02:00
Felix Geyer
5a745da07b
Remove QCOmmandLineParser.
...
It is part of Qt >= 5.2.
2015-09-12 13:51:49 +02:00
Felix Geyer
531018e58d
Remove QSaveFile and QLockFile.
...
They are part of Qt >= 5.1.
2015-09-12 13:51:49 +02:00
Felix Geyer
813c64a055
Port cmake files to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
a954e9a4d8
Update translations.
2015-09-06 23:41:29 +02:00
Felix Geyer
95c449481e
Prepare beta 2 release.
2015-09-06 23:39:54 +02:00
Felix Geyer
0b43607aa1
Make sure we use the native file dialog on Windows and OS X.
2015-09-06 13:32:12 +02:00
Felix Geyer
e75efb8bfb
Improve setting the default file extension in FileDialog.
...
Largely from PR #105 by Charles Brunet <charles@cbrunet.net>
2015-09-05 19:10:26 +02:00
Felix Geyer
d83fee89bd
Fix building WITH_CXX11 on OS X.
2015-09-05 19:03:24 +02:00
Felix Geyer
98417d6465
Set default extension when selected filename doesn't have one.
...
Closes #79
2015-07-25 18:16:33 +02:00
Felix Geyer
0ea64afe92
Fix type of default value for options.
2015-07-25 18:13:57 +02:00
Felix Geyer
a862f62fe8
Set a default filename when saving a new database.
...
Closes #308
2015-07-25 17:47:45 +02:00
Felix Geyer
5bd525a6dd
Use correct keycode when unregistering global shortcuts.
...
charToKeySym() is already correctly used in registerGlobalShortcut().
2015-07-22 20:38:03 +02:00
Felix Geyer
af3d896bdf
Make setNativeLocks() non-fatal on OS X.
2015-07-21 23:12:20 +02:00
Felix Geyer
ceeb72a277
Pull QLockFile updates from the qtbase repository.
2015-07-21 23:11:02 +02:00
Felix Geyer
2c17fdcff0
Correct link order of testhashedblockstream.
...
Fixes FTBFS on Windows.
2015-07-21 23:08:12 +02:00
Florian Geyer
41a7c96968
Close search before locking database and add additional check on current group.
...
Closes #309 .
2015-07-20 22:45:57 +02:00
Felix Geyer
98d9dae087
Test if reset() and close() write only one final block.
2015-07-20 21:51:32 +02:00
Felix Geyer
2033174d95
Test if we correctly detect errors when writing.
2015-07-20 21:35:48 +02:00
Felix Geyer
606e36acf3
Detect and display more errors when writing databases.
2015-07-20 21:35:48 +02:00
Felix Geyer
0422943d52
Explicitly close/reset streams so we can detect errors.
2015-07-20 21:35:48 +02:00
Felix Geyer
0024f2e30f
Signal errors in QXmlStreamWriter upstream.
...
Unfortunately the method is only avaiable in Qt >= 4.8.
Not much we can do about that.
2015-07-20 21:35:43 +02:00
Felix Geyer
abe5e8ecea
Don't write final block(s) if we already have.
2015-07-20 21:33:51 +02:00