Felix Geyer [Wed, 2 May 2012 21:06:37 +0000 (23:06 +0200)]
Bump version to 2.0 alpha 1.
Felix Geyer [Wed, 2 May 2012 20:43:24 +0000 (22:43 +0200)]
Fix GPL version number in the about dialog.
Felix Geyer [Wed, 2 May 2012 20:43:00 +0000 (22:43 +0200)]
Set proper window title for DatabaseOpenDialog.
Felix Geyer [Wed, 2 May 2012 15:04:03 +0000 (17:04 +0200)]
Coding style fixes.
Felix Geyer [Wed, 2 May 2012 14:34:06 +0000 (16:34 +0200)]
Move recycle bin checkbox to the left side.
Florian Geyer [Wed, 2 May 2012 14:22:52 +0000 (16:22 +0200)]
Set default name for root group when creating new database.
Felix Geyer [Wed, 2 May 2012 14:21:59 +0000 (16:21 +0200)]
Add KeePassX icon to about dialog.
Felix Geyer [Wed, 2 May 2012 13:37:37 +0000 (15:37 +0200)]
Remove status bar in main window.
Felix Geyer [Wed, 2 May 2012 13:37:21 +0000 (15:37 +0200)]
Add about dialog.
Felix Geyer [Wed, 2 May 2012 13:36:27 +0000 (15:36 +0200)]
Sync expanded state to the view for new groups.
Felix Geyer [Wed, 2 May 2012 09:15:50 +0000 (11:15 +0200)]
Turn attachmentsView into a QListView with wrapping turned on.
Felix Geyer [Wed, 2 May 2012 09:11:28 +0000 (11:11 +0200)]
Implement saving, adding and removing attachments.
Felix Geyer [Wed, 2 May 2012 09:06:24 +0000 (11:06 +0200)]
Add Tools::readAllFromDevice().
Make KeePass2XmlReader::readCompressedBinary() use the new function.
Felix Geyer [Wed, 2 May 2012 08:30:30 +0000 (10:30 +0200)]
Turn EntryAttachmentsModel into a QAbstractListModel.
Florian Geyer [Mon, 30 Apr 2012 16:22:02 +0000 (18:22 +0200)]
Clear attributes edit if there are no attributes.
Florian Geyer [Sat, 28 Apr 2012 20:50:30 +0000 (22:50 +0200)]
Fix missing connect of collapsed signal.
Florian Geyer [Sat, 28 Apr 2012 17:35:52 +0000 (19:35 +0200)]
Fix check if file can be opened read only.
Florian Geyer [Sat, 28 Apr 2012 17:30:35 +0000 (19:30 +0200)]
Fix command line argument parsing.
Florian Geyer [Sat, 28 Apr 2012 10:38:39 +0000 (12:38 +0200)]
Show entry title/group name in delete dialog.
Florian Geyer [Fri, 27 Apr 2012 16:45:26 +0000 (18:45 +0200)]
Select newly created groups and expand parent.
Florian Geyer [Fri, 27 Apr 2012 16:42:24 +0000 (18:42 +0200)]
Fix missing connect of expanded signal.
Felix Geyer [Sat, 28 Apr 2012 19:42:23 +0000 (21:42 +0200)]
Coding style fixes.
Felix Geyer [Sat, 28 Apr 2012 19:30:11 +0000 (21:30 +0200)]
Fix the vertial size policy of the edit entry widget.
Felix Geyer [Sat, 28 Apr 2012 17:11:15 +0000 (19:11 +0200)]
Support editing attribute values in a separate text edit.
Felix Geyer [Sat, 28 Apr 2012 14:50:51 +0000 (16:50 +0200)]
Fix bug that EntryAttributesModel isn't updated on reset.
Felix Geyer [Sat, 28 Apr 2012 14:50:17 +0000 (16:50 +0200)]
Turn EntryAttributesModel into a QAbstractListModel.
Felix Geyer [Fri, 27 Apr 2012 10:35:13 +0000 (12:35 +0200)]
Make EntryAttributesModel editable.
Felix Geyer [Fri, 27 Apr 2012 10:34:15 +0000 (12:34 +0200)]
Add EntryAttributes::rename().
Felix Geyer [Fri, 27 Apr 2012 09:22:02 +0000 (11:22 +0200)]
Copy custom icons when moved to another database.
Closes #9
Felix Geyer [Fri, 27 Apr 2012 08:50:32 +0000 (10:50 +0200)]
Support setting a new parent group with an empty db.
Felix Geyer [Thu, 26 Apr 2012 15:52:02 +0000 (17:52 +0200)]
Improve TestGui::testEditEntry().
Simulate mouse click on the actual edit action widget.
Make sure that the edit entry widget is active after triggering the entry edit.
Felix Geyer [Thu, 26 Apr 2012 14:35:13 +0000 (16:35 +0200)]
Support moving entries with drag and drop.
Felix Geyer [Thu, 26 Apr 2012 10:18:38 +0000 (12:18 +0200)]
Mark library include dirs as SYSTEM.
Compilers will suppress warnings from files in those directories.
Felix Geyer [Thu, 26 Apr 2012 09:59:53 +0000 (11:59 +0200)]
Fix some pedantic compiler warnings.
Felix Geyer [Wed, 25 Apr 2012 18:22:55 +0000 (20:22 +0200)]
Coding style fixes.
Felix Geyer [Wed, 25 Apr 2012 18:22:44 +0000 (20:22 +0200)]
Document CMAKE_BUILD_TYPE parameter.
Florian Geyer [Tue, 24 Apr 2012 23:32:05 +0000 (01:32 +0200)]
Add enum to describe current mode of database widget.
Florian Geyer [Wed, 25 Apr 2012 08:17:24 +0000 (10:17 +0200)]
Extend group test.
Felix Geyer [Wed, 25 Apr 2012 16:35:30 +0000 (18:35 +0200)]
Minor improvements in CompositeKey and TestKeys.
Felix Geyer [Wed, 25 Apr 2012 14:50:39 +0000 (16:50 +0200)]
Define QT_NO_DEBUG when no cmake build type has been set.
Felix Geyer [Wed, 25 Apr 2012 08:45:36 +0000 (10:45 +0200)]
Change Q_ASSERT() to QVERIFY() in modeltest.
Felix Geyer [Tue, 24 Apr 2012 22:41:30 +0000 (00:41 +0200)]
Update copyright information.
Felix Geyer [Tue, 24 Apr 2012 22:36:40 +0000 (00:36 +0200)]
Update COPYING to the final debian copyright format.
Florian Geyer [Mon, 23 Apr 2012 18:10:07 +0000 (20:10 +0200)]
Implement default username.
Florian Geyer [Tue, 24 Apr 2012 19:56:00 +0000 (21:56 +0200)]
Make dialogy widget work with arbitrary buttons in button boxes.
Florian Geyer [Mon, 23 Apr 2012 21:19:29 +0000 (23:19 +0200)]
Reset focus when opening database settings, edit entry and edit group widget.
Florian Geyer [Tue, 24 Apr 2012 11:23:09 +0000 (13:23 +0200)]
Edit widgets inherit from DialogyWidget.
Closes #17
Florian Geyer [Tue, 24 Apr 2012 09:09:40 +0000 (11:09 +0200)]
Add dialogy widget which implements default button behaviour.
Felix Geyer [Tue, 24 Apr 2012 22:22:55 +0000 (00:22 +0200)]
Support moving groups with drag and drop.
Felix Geyer [Tue, 24 Apr 2012 22:15:40 +0000 (00:15 +0200)]
Add an assignment operator to Uuid and support serialization with QDataStream.
Felix Geyer [Tue, 24 Apr 2012 22:12:23 +0000 (00:12 +0200)]
Add a method to get databases by uuid.
Each database gets a random uuid on construction which is not saved by
KeePass2XmlWriter and only valid until the database object is deleted.
Felix Geyer [Tue, 24 Apr 2012 22:10:06 +0000 (00:10 +0200)]
Fix bug where index is wrong when a group is moved to the end from the same parent.
This triggered the bug:
group->setParent(group->parentGroup());
Then index was group->parentGroup()->children().size() instead of size()-1.
Felix Geyer [Tue, 24 Apr 2012 09:47:16 +0000 (11:47 +0200)]
Allow passing a filename and password on the command line.
Passing passwords on the command line is not exactly best practice but will
greatly improve development productivity.
Felix Geyer [Tue, 24 Apr 2012 08:51:22 +0000 (10:51 +0200)]
Make DatabaseWidget ignore the size hint of non-active widgets.
Felix Geyer [Mon, 23 Apr 2012 19:06:04 +0000 (21:06 +0200)]
Create a history item when changing entries.
Closes #15
Felix Geyer [Mon, 23 Apr 2012 17:44:43 +0000 (19:44 +0200)]
Constification and some style fixes.
Florian Geyer [Sun, 22 Apr 2012 22:18:10 +0000 (00:18 +0200)]
Focus the password line edit on switch to change master key widget.
Felix Geyer [Mon, 23 Apr 2012 15:02:09 +0000 (17:02 +0200)]
Coding style fixes.
Felix Geyer [Mon, 23 Apr 2012 14:57:08 +0000 (16:57 +0200)]
Introduce Group::aboutToMove() and moved() signals.
Emit them instead of remove/add when groups are moved within
a database.
Felix Geyer [Mon, 23 Apr 2012 14:26:15 +0000 (16:26 +0200)]
Add support for building position-independent executables.
Felix Geyer [Sun, 22 Apr 2012 21:09:52 +0000 (23:09 +0200)]
Memory management fixes in tests.
Felix Geyer [Sun, 22 Apr 2012 20:33:41 +0000 (22:33 +0200)]
kdbx-extract: Print error message when opening the database failed.
Felix Geyer [Sun, 22 Apr 2012 20:33:14 +0000 (22:33 +0200)]
Write history only for entries that are not history items.
Felix Geyer [Sun, 22 Apr 2012 20:26:05 +0000 (22:26 +0200)]
Fix memory leak in SymmetricCipherStream.
Felix Geyer [Sun, 22 Apr 2012 18:57:42 +0000 (20:57 +0200)]
Focus the password line edit by default.
Florian Geyer [Sun, 22 Apr 2012 09:39:54 +0000 (11:39 +0200)]
Extend deleted objects test.
Florian Geyer [Sun, 22 Apr 2012 07:52:12 +0000 (09:52 +0200)]
Make save order for deleted objects consistent.
Felix Geyer [Sun, 22 Apr 2012 10:29:18 +0000 (12:29 +0200)]
Use QHash for temporary entry/group containers.
Closes #11
Felix Geyer [Sun, 22 Apr 2012 10:09:12 +0000 (12:09 +0200)]
Update LocationChanged time when entries and groups are moved.
Closes #3
Felix Geyer [Sat, 21 Apr 2012 22:58:35 +0000 (00:58 +0200)]
Add missing check for group database.
Felix Geyer [Sat, 21 Apr 2012 22:55:52 +0000 (00:55 +0200)]
Build with -DQT_NO_CAST_TO_ASCII.
Felix Geyer [Sat, 21 Apr 2012 22:38:21 +0000 (00:38 +0200)]
Remove some unnecessary initializations.
Felix Geyer [Sat, 21 Apr 2012 22:29:39 +0000 (00:29 +0200)]
Add convenience function Database::addDeletedObject(const Uuid&).
Drop Group::addDeletedObject() and make Entry call the Database function
instead.
Felix Geyer [Sat, 21 Apr 2012 22:29:16 +0000 (00:29 +0200)]
Coding style fixes.
Florian Geyer [Sat, 21 Apr 2012 21:43:56 +0000 (23:43 +0200)]
Clean up deleted objects test (again).
Florian Geyer [Sat, 21 Apr 2012 21:35:18 +0000 (23:35 +0200)]
Clean up deleted objects test.
Florian Geyer [Sat, 21 Apr 2012 21:31:37 +0000 (23:31 +0200)]
Clean up group deletion.
Florian Geyer [Sat, 21 Apr 2012 21:17:26 +0000 (23:17 +0200)]
Add test for deleted objects.
Florian Geyer [Sat, 21 Apr 2012 20:02:12 +0000 (22:02 +0200)]
Display current tab name in window title.
Florian Geyer [Sat, 21 Apr 2012 18:36:26 +0000 (20:36 +0200)]
Ask before closing database when in edit mode.
Fixes #12
Florian Geyer [Sat, 21 Apr 2012 17:06:28 +0000 (19:06 +0200)]
Add ability to delete groups via gui.
Felix Geyer [Sat, 21 Apr 2012 22:10:04 +0000 (00:10 +0200)]
Use QPointer for Entry::m_lastTopVisibleEntry.
Closes #14
Felix Geyer [Sat, 21 Apr 2012 21:54:15 +0000 (23:54 +0200)]
Store group references in Metadata as QPointer.
QPointer sets itself to 0 when the referenced object has been deleted.
Refs #14
Felix Geyer [Sat, 21 Apr 2012 17:47:39 +0000 (19:47 +0200)]
Support different C/C++ compiler.
For example gcc as the C compiler and clang for C++.
Felix Geyer [Sat, 21 Apr 2012 16:39:09 +0000 (18:39 +0200)]
Declare the TypeInfo for some classes/structs.
Qt's container classes benefit from this information.
Florian Geyer [Sat, 21 Apr 2012 16:09:14 +0000 (18:09 +0200)]
Clear keys in assignment operator of composite key.
Fixes corruption of key if master key and then transform rounds is changed.
Florian Geyer [Sat, 21 Apr 2012 10:15:21 +0000 (12:15 +0200)]
Fix groupChanged signal not emitted in all cases.
Florian Geyer [Fri, 20 Apr 2012 09:29:31 +0000 (11:29 +0200)]
Hide the tar bar when only one database is opened.
Closes #10
Florian Geyer [Thu, 19 Apr 2012 17:32:01 +0000 (19:32 +0200)]
Make toggle password button in ChangeMasterKey widget work.
Florian Geyer [Thu, 19 Apr 2012 16:10:53 +0000 (18:10 +0200)]
Add more options to database settings widget.
Florian Geyer [Thu, 19 Apr 2012 15:17:44 +0000 (17:17 +0200)]
Save reference to deleted entries in deletedObject list.
Florian Geyer [Thu, 19 Apr 2012 14:20:20 +0000 (16:20 +0200)]
Add database settings widget and ability to change transform rounds count.
Felix Geyer [Sat, 21 Apr 2012 14:45:46 +0000 (16:45 +0200)]
Support KeePass format 3.00 (used by KeePass2 >= 2.15).
Closes #6
Attachments are now stored in a pool under Metadata instead of in entries.
The protected flag of attachments isn't supported anymore.
New metadata attributes: color, historyMaxItems and historyMaxSize.
Dropped metadata attribute: autoEnableVisualHiding.
Florian Geyer [Wed, 18 Apr 2012 22:46:37 +0000 (00:46 +0200)]
Delete entries for good if already in recycle bin
Florian Geyer [Wed, 18 Apr 2012 22:04:52 +0000 (00:04 +0200)]
Add hasChild function to check for a child in a QObject tree.
Felix Geyer [Wed, 18 Apr 2012 22:25:57 +0000 (00:25 +0200)]
More coding style fixes.
Felix Geyer [Wed, 18 Apr 2012 21:17:29 +0000 (23:17 +0200)]
Set the group of the entry in Database::recycleEntry().
Drop Metadata::addEntryToRecycleBin() and add a non-const
Metadata::recycleBin() getter instead.
Florian Geyer [Wed, 18 Apr 2012 19:59:00 +0000 (21:59 +0200)]
Move deleted entries to recycle bin if enabled.
Florian Geyer [Wed, 18 Apr 2012 18:08:54 +0000 (20:08 +0200)]
Add ability to delete entries via gui.
Felix Geyer [Wed, 18 Apr 2012 21:05:31 +0000 (23:05 +0200)]
Fix some more lines that are too long.