keepassx:keepassx.git
4 years agoDrop unnecessary dllimport/dllexport statements in QtIOCompressor. 2.0-alpha4
Felix Geyer [Fri, 29 Mar 2013 15:31:26 +0000 (16:31 +0100)]
Drop unnecessary dllimport/dllexport statements in QtIOCompressor.

4 years agoFix autotype test (build) failures on Mac OS and Windows.
Felix Geyer [Fri, 29 Mar 2013 15:27:02 +0000 (16:27 +0100)]
Fix autotype test (build) failures on Mac OS and Windows.

We need to tell Windows what symbols the main program exports
and the autotype plugin imports.

On both systems the linker needs the path of the main program that
loads the plugin.

4 years agoBump version and update changelog.
Felix Geyer [Fri, 29 Mar 2013 08:46:03 +0000 (09:46 +0100)]
Bump version and update changelog.

4 years agoSmall optimizations.
Felix Geyer [Tue, 26 Mar 2013 22:53:34 +0000 (23:53 +0100)]
Small optimizations.

4 years agoImprove entry test.
Florian Geyer [Sun, 24 Mar 2013 20:34:54 +0000 (21:34 +0100)]
Improve entry test.

4 years agoAdd regression test for issue #56.
Florian Geyer [Sun, 24 Mar 2013 20:21:06 +0000 (21:21 +0100)]
Add regression test for issue #56.

4 years agoIgnore an unused variable.
Florian Geyer [Sun, 24 Mar 2013 19:43:30 +0000 (20:43 +0100)]
Ignore an unused variable.

4 years agoFix removal of history entries in release builds.
Florian Geyer [Sun, 24 Mar 2013 18:50:50 +0000 (19:50 +0100)]
Fix removal of history entries in release builds.

Closes #56

4 years agoFix typo in filename.
Felix Geyer [Sun, 24 Mar 2013 13:16:34 +0000 (14:16 +0100)]
Fix typo in filename.

4 years agoCoding style fixes.
Felix Geyer [Sun, 24 Mar 2013 13:04:08 +0000 (14:04 +0100)]
Coding style fixes.

4 years agoClose AutoTypeSelectDialog when there are no entries left.
Felix Geyer [Fri, 22 Mar 2013 20:01:47 +0000 (21:01 +0100)]
Close AutoTypeSelectDialog when there are no entries left.

This happens when the entries were deleted or the database
has been closed.

4 years agoAdd TestEntryModel::testDatabaseDelete().
Felix Geyer [Fri, 22 Mar 2013 20:00:06 +0000 (21:00 +0100)]
Add TestEntryModel::testDatabaseDelete().

It tests that EntryModel in EntryList mode correctly
removes entries from the model when that database of
these entries is deleted.

4 years agoStop suppressing signals in Group dtor.
Felix Geyer [Fri, 22 Mar 2013 19:57:18 +0000 (20:57 +0100)]
Stop suppressing signals in Group dtor.

That way we emit entry/group removed signals.

Move cleanupParent() call to the bottom so we
maintain the group tree structure for objects that
connect to those signals.

4 years agoHandle deleting groups more consistently.
Felix Geyer [Fri, 22 Mar 2013 19:53:10 +0000 (20:53 +0100)]
Handle deleting groups more consistently.

Delete the entries and child groups in Group dtor
no what if the group has a database or not.

4 years agoAdd asserts in GroupModel::groupAboutToRemove().
Felix Geyer [Fri, 22 Mar 2013 19:45:52 +0000 (20:45 +0100)]
Add asserts in GroupModel::groupAboutToRemove().

4 years agoIgnore an unused variable.
Felix Geyer [Sun, 24 Mar 2013 12:58:13 +0000 (13:58 +0100)]
Ignore an unused variable.

4 years agoAdd LGPL-3 license text for the Oxygen icons.
Felix Geyer [Sun, 24 Mar 2013 10:54:20 +0000 (11:54 +0100)]
Add LGPL-3 license text for the Oxygen icons.

4 years agoImprove the application icon.
Felix Geyer [Sun, 24 Mar 2013 10:40:18 +0000 (11:40 +0100)]
Improve the application icon.

The one one has a shadow that looks better especially on a
dark background.

https://gitorious.org/keepassx/keepassx/merge_requests/18

4 years agoAdd scalable versions of the Oxygen icons.
Felix Geyer [Sat, 23 Mar 2013 21:21:49 +0000 (22:21 +0100)]
Add scalable versions of the Oxygen icons.

This is required by its license. They aren't actually used by KeePassX.

Closes #70

4 years agoAdd some comments to copyright file.
Felix Geyer [Sat, 23 Mar 2013 21:06:30 +0000 (22:06 +0100)]
Add some comments to copyright file.

4 years agoRemove wrong copyright paragraph.
Felix Geyer [Sat, 23 Mar 2013 21:03:26 +0000 (22:03 +0100)]
Remove wrong copyright paragraph.

4 years agoCopyright format syntax fixes.
Felix Geyer [Sat, 23 Mar 2013 21:01:37 +0000 (22:01 +0100)]
Copyright format syntax fixes.

4 years agoFix database icons license issues.
Felix Geyer [Sat, 23 Mar 2013 20:50:23 +0000 (21:50 +0100)]
Fix database icons license issues.

Pull C62_Tux.png, C63_Feather.png, C64_Apple.png, C65_Apple.png
and C65_W.png from the latest KeePass 2 version.

Replace C68_BlackBerry.png with another icon from openclipart.org.
It's unclear where this KeePass 2 icon is from.

Closes #69

4 years agoAdd icon for the auto-type action.
Felix Geyer [Fri, 22 Mar 2013 18:51:39 +0000 (19:51 +0100)]
Add icon for the auto-type action.

4 years agoImplement the GUI for the password generator.
Felix Geyer [Tue, 12 Mar 2013 21:42:06 +0000 (22:42 +0100)]
Implement the GUI for the password generator.

Closes #52

4 years agoAdd PasswordGenerator backend.
Felix Geyer [Tue, 12 Mar 2013 20:54:05 +0000 (21:54 +0100)]
Add PasswordGenerator backend.

Refs #52

4 years agoFix include statements.
Florian Geyer [Tue, 12 Mar 2013 18:27:17 +0000 (19:27 +0100)]
Fix include statements.

4 years agoAdd dummy PasswordGeneratorWidget.
Florian Geyer [Sun, 10 Mar 2013 21:23:10 +0000 (22:23 +0100)]
Add dummy PasswordGeneratorWidget.

Refs #52

4 years agoRevert "Show correct group name when opening an entry from seach results."
Florian Geyer [Sun, 10 Mar 2013 19:03:22 +0000 (20:03 +0100)]
Revert "Show correct group name when opening an entry from seach results."
Did not want to push this.

This reverts commit 4daac65cc528c067c18f9dd6c5d390cd99777681.

4 years agoEntry edit: merge notes and main widget.
Florian Geyer [Sun, 10 Mar 2013 18:47:08 +0000 (19:47 +0100)]
Entry edit: merge notes and main widget.

Closes #59

4 years agoShow correct group name when opening an entry from seach results.
Florian Geyer [Thu, 27 Dec 2012 09:50:48 +0000 (10:50 +0100)]
Show correct group name when opening an entry from seach results.

5 years agoUse effectiveWinId() instead of winId() in widgetsToX11Windows().
Felix Geyer [Tue, 20 Nov 2012 22:44:15 +0000 (23:44 +0100)]
Use effectiveWinId() instead of winId() in widgetsToX11Windows().

winId() creates native handles as a side effect.
This sometimes triggers a bug that causes DatabaseTabWidget to
not be updated anymore.

5 years agoHandle KeyRelease events of global shortcuts.
Felix Geyer [Tue, 20 Nov 2012 22:41:28 +0000 (23:41 +0100)]
Handle KeyRelease events of global shortcuts.

5 years agoInitialize global auto-type key variables.
Felix Geyer [Tue, 20 Nov 2012 22:38:36 +0000 (23:38 +0100)]
Initialize global auto-type key variables.

5 years agoCheck if a database is present before trying to create the CopyAttributesMenu.
Florian Geyer [Sat, 10 Nov 2012 17:46:01 +0000 (18:46 +0100)]
Check if a database is present before trying to create the CopyAttributesMenu.

Closes #50

5 years agoUpdate timeinfo when cloning an entry.
Florian Geyer [Tue, 6 Nov 2012 22:34:16 +0000 (23:34 +0100)]
Update timeinfo when cloning an entry.

5 years agoFix sort order when closing the search and an entry was moved.
Florian Geyer [Sat, 3 Nov 2012 17:57:31 +0000 (18:57 +0100)]
Fix sort order when closing the search and an entry was moved.

5 years agoRevert "Handle DeferredDelete events in Tools::wait()."
Felix Geyer [Sat, 3 Nov 2012 14:12:04 +0000 (15:12 +0100)]
Revert "Handle DeferredDelete events in Tools::wait()."

Caused a crash when performing auto-type from AutoTypeSelectDialog.

This reverts commit 6b3fed1ce5823cbc18d479c1d17f3392d3fb0ea6.

5 years agoRemove redundant resolvePlaceholders call.
Florian Geyer [Fri, 2 Nov 2012 16:48:16 +0000 (17:48 +0100)]
Remove redundant resolvePlaceholders call.

5 years agoMake sure the presets menu has a parent.
Florian Geyer [Fri, 2 Nov 2012 15:21:32 +0000 (16:21 +0100)]
Make sure the presets menu has a parent.

5 years agoMove initial auto-type timeout to plugins.
Florian Geyer [Fri, 2 Nov 2012 14:33:39 +0000 (15:33 +0100)]
Move initial auto-type timeout to plugins.

5 years agoUse a fixed sleep call instead of QTest::qWaitForWindowShown().
Felix Geyer [Fri, 2 Nov 2012 10:08:41 +0000 (11:08 +0100)]
Use a fixed sleep call instead of QTest::qWaitForWindowShown().

The latter seems to be broken and always seeps until it hits
the timeout (2s).

5 years agoHandle DeferredDelete events in Tools::wait().
Felix Geyer [Fri, 2 Nov 2012 10:07:44 +0000 (11:07 +0100)]
Handle DeferredDelete events in Tools::wait().

5 years agoMore auto-type tests.
Florian Geyer [Fri, 2 Nov 2012 14:07:44 +0000 (15:07 +0100)]
More auto-type tests.

5 years agoHandle entry/group title with %1 etc. correctly.
Florian Geyer [Fri, 2 Nov 2012 09:31:06 +0000 (10:31 +0100)]
Handle entry/group title with %1 etc. correctly.

5 years agoCorrect window title when database name contains %1.
Florian Geyer [Fri, 2 Nov 2012 09:15:37 +0000 (10:15 +0100)]
Correct window title when database name contains %1.

5 years agoRefactor updateWindowTitle function.
Florian Geyer [Fri, 2 Nov 2012 00:00:50 +0000 (01:00 +0100)]
Refactor updateWindowTitle function.

5 years agoAdjust title when settings widget is active.
Florian Geyer [Thu, 1 Nov 2012 23:41:34 +0000 (00:41 +0100)]
Adjust title when settings widget is active.

5 years agoSmall refactoring in EditWidget and EditEntryWidget.
Florian Geyer [Mon, 29 Oct 2012 22:44:10 +0000 (23:44 +0100)]
Small refactoring in EditWidget and EditEntryWidget.

5 years agoRefactor EditEntryWidget.
Florian Geyer [Mon, 29 Oct 2012 22:11:42 +0000 (23:11 +0100)]
Refactor EditEntryWidget.

5 years agoClear out includes.
Florian Geyer [Mon, 29 Oct 2012 21:50:57 +0000 (22:50 +0100)]
Clear out includes.

5 years agoRefactor EditWidgetProperties.
Florian Geyer [Mon, 29 Oct 2012 21:41:37 +0000 (22:41 +0100)]
Refactor EditWidgetProperties.

5 years agoAdd properties tab in EditEntryWidget.
Florian Geyer [Mon, 29 Oct 2012 18:51:48 +0000 (19:51 +0100)]
Add properties tab in EditEntryWidget.

5 years agoRename "EditGroupWidgetProperties" to "EditWidgetProperties".
Florian Geyer [Mon, 29 Oct 2012 18:26:24 +0000 (19:26 +0100)]
Rename "EditGroupWidgetProperties" to "EditWidgetProperties".

5 years agoRename "Advanced" to "Properties" in EditGroupWidget.
Florian Geyer [Mon, 29 Oct 2012 18:05:51 +0000 (19:05 +0100)]
Rename "Advanced" to "Properties" in EditGroupWidget.

5 years agokdbx-extract: delete database.
Felix Geyer [Mon, 29 Oct 2012 13:59:13 +0000 (14:59 +0100)]
kdbx-extract: delete database.

5 years agokdbx-extract: Don't abort if parsing the XML data fails.
Felix Geyer [Mon, 29 Oct 2012 13:57:43 +0000 (14:57 +0100)]
kdbx-extract: Don't abort if parsing the XML data fails.

5 years agoExtend auto-type test.
Florian Geyer [Sun, 28 Oct 2012 17:13:49 +0000 (18:13 +0100)]
Extend auto-type test.

5 years agoMake sure that TestGui doesn't leave a temp file behind.
Felix Geyer [Sun, 28 Oct 2012 17:07:23 +0000 (18:07 +0100)]
Make sure that TestGui doesn't leave a temp file behind.

Swap the parent/child relationship between QTemporaryFile and Config
because the QTemporaryFile dtor is called before its chidren are destroyed.

5 years agoAdd missing files for the last commit.
Felix Geyer [Sun, 28 Oct 2012 14:42:19 +0000 (15:42 +0100)]
Add missing files for the last commit.

5 years agoAdd infrastructure for auto-type tests.
Felix Geyer [Sun, 28 Oct 2012 14:31:57 +0000 (15:31 +0100)]
Add infrastructure for auto-type tests.

5 years agoSmall optimizations.
Felix Geyer [Sun, 28 Oct 2012 10:27:10 +0000 (11:27 +0100)]
Small optimizations.

5 years agoFix another typo in the changelog.
Felix Geyer [Sun, 28 Oct 2012 10:25:08 +0000 (11:25 +0100)]
Fix another typo in the changelog.

5 years agoAssert that the tmp group has no children when import is finished.
Florian Geyer [Sun, 28 Oct 2012 09:25:43 +0000 (10:25 +0100)]
Assert that the tmp group has no children when import is finished.

5 years agodon't abort import if there are entries with invalid groups,
Andreas Piesk [Sat, 27 Oct 2012 22:01:01 +0000 (00:01 +0200)]
don't abort import if there are entries with invalid groups,
log it and assign them to the root-group

5 years agoFix typo in changelog.
Florian Geyer [Sat, 27 Oct 2012 09:18:06 +0000 (11:18 +0200)]
Fix typo in changelog.

5 years agoReduce required cmake version to 2.8.8 again. 2.0-alpha3
Felix Geyer [Sat, 27 Oct 2012 08:52:54 +0000 (10:52 +0200)]
Reduce required cmake version to 2.8.8 again.

It doesn't seem to be required in all cases.

5 years agoBump version to 2.0 alpha 3.
Felix Geyer [Sat, 27 Oct 2012 08:29:45 +0000 (10:29 +0200)]
Bump version to 2.0 alpha 3.

5 years agoUpdate changelog.
Felix Geyer [Sat, 27 Oct 2012 08:29:35 +0000 (10:29 +0200)]
Update changelog.

5 years agoInclude some more Qt plugins in the Mac OS package.
Felix Geyer [Sat, 27 Oct 2012 08:24:01 +0000 (10:24 +0200)]
Include some more Qt plugins in the Mac OS package.

Require at least cmake 2.8.9 for packages which fixes a bug
when using multiple Qt plugins.

5 years agoFix font rendering on Mac OS HiDPI screens.
Felix Geyer [Sat, 27 Oct 2012 08:07:44 +0000 (10:07 +0200)]
Fix font rendering on Mac OS HiDPI screens.

5 years agoFix typo.
Felix Geyer [Fri, 26 Oct 2012 22:26:43 +0000 (00:26 +0200)]
Fix typo.

5 years agoDon't use deprecated Qt methods.
Felix Geyer [Fri, 26 Oct 2012 22:06:12 +0000 (00:06 +0200)]
Don't use deprecated Qt methods.

5 years agoAdd menu entry to copy an entry attribute to clipboard.
Florian Geyer [Tue, 23 Oct 2012 22:15:23 +0000 (00:15 +0200)]
Add menu entry to copy an entry attribute to clipboard.

5 years agoFix includes for ptrace(PT_DENY_ATTACH, ...).
Felix Geyer [Tue, 23 Oct 2012 15:06:50 +0000 (17:06 +0200)]
Fix includes for ptrace(PT_DENY_ATTACH, ...).

5 years agoDrop WITH_PIE option as it's broken.
Felix Geyer [Tue, 23 Oct 2012 15:05:46 +0000 (17:05 +0200)]
Drop WITH_PIE option as it's broken.

It builds the autotype plugin as a PIE which doesn't work.

5 years agoBuild icon into the main executable on Windows.
Felix Geyer [Tue, 23 Oct 2012 12:52:59 +0000 (14:52 +0200)]
Build icon into the main executable on Windows.

5 years agoEnable CPack on Windows.
Felix Geyer [Mon, 22 Oct 2012 18:40:03 +0000 (20:40 +0200)]
Enable CPack on Windows.

5 years agoStore the filename instead of a QTemporaryFile in TestGui.
Felix Geyer [Mon, 22 Oct 2012 15:52:08 +0000 (17:52 +0200)]
Store the filename instead of a QTemporaryFile in TestGui.

On Windows QTemporaryFile keeps the file handle open
which conflicts with QSaveFile.

5 years agoClose file in TestQSaveFile::autoFlush() so we can remove it.
Felix Geyer [Mon, 22 Oct 2012 15:50:58 +0000 (17:50 +0200)]
Close file in TestQSaveFile::autoFlush() so we can remove it.

5 years agoDisable TestQSaveFile::transactionalWriteErrorRenaming() on Windows.
Felix Geyer [Mon, 22 Oct 2012 15:49:42 +0000 (17:49 +0200)]
Disable TestQSaveFile::transactionalWriteErrorRenaming() on Windows.

QSaveFile::setPermissions() is not implemented in the QIODevice
based version for Qt 4.

5 years agoMake QSaveFile work on Windows when the target file already exists.
Felix Geyer [Mon, 22 Oct 2012 15:48:13 +0000 (17:48 +0200)]
Make QSaveFile work on Windows when the target file already exists.

5 years agoFix drag'n'drop of multiple entries.
Felix Geyer [Sun, 21 Oct 2012 20:30:28 +0000 (22:30 +0200)]
Fix drag'n'drop of multiple entries.

Previously only the first entry was moved.

5 years agoImprove headline in EditEntryWidget.
Florian Geyer [Sun, 21 Oct 2012 19:45:54 +0000 (21:45 +0200)]
Improve headline in EditEntryWidget.

5 years agoWhitespace separated search terms are AND concatenated.
Florian Geyer [Sun, 21 Oct 2012 18:45:01 +0000 (20:45 +0200)]
Whitespace separated search terms are AND concatenated.

5 years agoInclude config-keepassx.h in Tools.cpp for the HAVE_* defines.
Felix Geyer [Sun, 21 Oct 2012 17:24:17 +0000 (19:24 +0200)]
Include config-keepassx.h in Tools.cpp for the HAVE_* defines.

5 years agoMake TriState strings translatable.
Felix Geyer [Sun, 21 Oct 2012 13:11:09 +0000 (15:11 +0200)]
Make TriState strings translatable.

5 years agoCoding style fixes.
Felix Geyer [Sun, 21 Oct 2012 13:09:01 +0000 (15:09 +0200)]
Coding style fixes.

5 years agoMake sure all auto-type settings are saved and the UI is reset before loading entries.
Felix Geyer [Sun, 21 Oct 2012 10:47:30 +0000 (12:47 +0200)]
Make sure all auto-type settings are saved and the UI is reset before loading entries.

5 years agoDisable core dumps and tracing on *nix.
Felix Geyer [Sat, 13 Oct 2012 09:05:50 +0000 (11:05 +0200)]
Disable core dumps and tracing on *nix.

But only when built in release mode.

Closes #4

5 years agoRefactor EditGroupWidget.
Florian Geyer [Sat, 20 Oct 2012 15:53:33 +0000 (17:53 +0200)]
Refactor EditGroupWidget.

5 years agoMake group autotype setting editable via GUI.
Florian Geyer [Sat, 20 Oct 2012 15:26:23 +0000 (17:26 +0200)]
Make group autotype setting editable via GUI.

5 years agoSearch in root group by default.
Florian Geyer [Sat, 20 Oct 2012 14:50:37 +0000 (16:50 +0200)]
Search in root group by default.

5 years agoImplement database locking.
Felix Geyer [Fri, 12 Oct 2012 10:12:00 +0000 (12:12 +0200)]
Implement database locking.

Closes #35

5 years agoAdd small comment.
Felix Geyer [Fri, 12 Oct 2012 10:11:34 +0000 (12:11 +0200)]
Add small comment.

5 years agoAdd Database::verifyKey().
Felix Geyer [Fri, 12 Oct 2012 10:10:41 +0000 (12:10 +0200)]
Add Database::verifyKey().

And make Database::hasKey() const.

5 years agoAdd CompositeKey::isEmpty().
Felix Geyer [Fri, 12 Oct 2012 10:10:13 +0000 (12:10 +0200)]
Add CompositeKey::isEmpty().

5 years agoCheck if all required database headers were present.
Felix Geyer [Fri, 12 Oct 2012 10:09:22 +0000 (12:09 +0200)]
Check if all required database headers were present.

5 years agoAdd support for database format 3.01 (HeaderHash).
Felix Geyer [Tue, 25 Sep 2012 20:33:36 +0000 (22:33 +0200)]
Add support for database format 3.01 (HeaderHash).

Add test for the format 3.00 and upgrade Compressed.kdbx, NonAscii.kdbx
and ProtectedStrings.kdbx to 3.01.

Add a test for an incorrect HeaderHash.

5 years agoAllow only selecting one row in AutoTypeSelectView.
Felix Geyer [Tue, 25 Sep 2012 15:51:49 +0000 (17:51 +0200)]
Allow only selecting one row in AutoTypeSelectView.