keepassx:keepassx.git
3 years agoPrepare the next alpha release. 2.0-alpha5
Felix Geyer [Fri, 20 Dec 2013 11:41:45 +0000 (12:41 +0100)]
Prepare the next alpha release.

3 years agoRemove wrong check in TestGui.
Felix Geyer [Sun, 8 Dec 2013 15:11:49 +0000 (16:11 +0100)]
Remove wrong check in TestGui.

When the window is not wide enough some actions are hidden.

3 years agoAdd some more actions to the toolbar.
Felix Geyer [Thu, 5 Dec 2013 21:14:01 +0000 (22:14 +0100)]
Add some more actions to the toolbar.

3 years agoDocument license of document-encrypt.png.
Felix Geyer [Thu, 5 Dec 2013 21:12:13 +0000 (22:12 +0100)]
Document license of document-encrypt.png.

3 years agoRename EntryAttributes::URLNameKey to URLKey.
Felix Geyer [Sun, 1 Dec 2013 23:10:47 +0000 (00:10 +0100)]
Rename EntryAttributes::URLNameKey to URLKey.

3 years agoMerge branch 'attributes'.
Florian Geyer [Sun, 1 Dec 2013 23:01:20 +0000 (00:01 +0100)]
Merge branch 'attributes'.

3 years agoMake sure the remapping keycode is reset to NoSymbol.
Felix Geyer [Sun, 1 Dec 2013 22:32:53 +0000 (23:32 +0100)]
Make sure the remapping keycode is reset to NoSymbol.

Previously the dtor of AutoTypePlatformX11 wasn't called.

3 years agoAdd some error handling in case we can't remap a key.
Felix Geyer [Sun, 1 Dec 2013 18:14:07 +0000 (19:14 +0100)]
Add some error handling in case we can't remap a key.

3 years agoUse nanosleep() instead of the deprecated usleep().
Felix Geyer [Sun, 1 Dec 2013 18:09:20 +0000 (19:09 +0100)]
Use nanosleep() instead of the deprecated usleep().

3 years agoMerge branch 'bug-116-autotype-single-keycode' of github.com:AlbertWeichselbraun...
Felix Geyer [Sun, 1 Dec 2013 17:40:31 +0000 (18:40 +0100)]
Merge branch 'bug-116-autotype-single-keycode' of github.com:AlbertWeichselbraun/keepassx

https://github.com/keepassx/keepassx/pull/32

Closes #116

3 years agoOptimize deletion of copy to clipboard actions.
Florian Geyer [Sun, 1 Dec 2013 14:41:26 +0000 (15:41 +0100)]
Optimize deletion of copy to clipboard actions.

3 years agoSignificantly reduce the number of re-mappings required by
Albert Weichselbraun [Sun, 1 Dec 2013 10:46:22 +0000 (11:46 +0100)]
Significantly reduce the number of re-mappings required by

 a) dynamically fetching the modifier masks for Mod1 to Mod5 (Alt, AltGr, Meta,
    etc.)

 b) integrating commit bfec222 from Felix Geyer <debfx@fobos.de> which creates a
    unicode -> x11 keysym mapping table by parsing keysymdefs.h.

    This avoids adding new keysyms because keyboard layouts seem to prefer the
    lower keysyms over unicode | 0x01000000 mapping.
    An example of this is the euro sign with a German keyboard layout.

3 years agoHide auto-type settings when the plugin is not available.
Felix Geyer [Sun, 1 Dec 2013 11:20:05 +0000 (12:20 +0100)]
Hide auto-type settings when the plugin is not available.

Closes #121

3 years agoRemove unnecessary removeAction call in MainWindow.
Florian Geyer [Sun, 1 Dec 2013 09:36:50 +0000 (10:36 +0100)]
Remove unnecessary removeAction call in MainWindow.

3 years agoSmall refactoring in DatabaseWidget.
Florian Geyer [Sun, 1 Dec 2013 08:59:43 +0000 (09:59 +0100)]
Small refactoring in DatabaseWidget.

3 years agoHard code copy action for default attributes.
Florian Geyer [Sun, 1 Dec 2013 08:43:41 +0000 (09:43 +0100)]
Hard code copy action for default attributes.

3 years agoDelete actions after removal from menu.
Florian Geyer [Sat, 30 Nov 2013 15:19:48 +0000 (16:19 +0100)]
Delete actions after removal from menu.

3 years agoRemove duplicate menu entries to copy username and password.
Florian Geyer [Sat, 30 Nov 2013 15:05:10 +0000 (16:05 +0100)]
Remove duplicate menu entries to copy username and password.

3 years agoFix compatibility with Qt < 4.7.
Felix Geyer [Sat, 30 Nov 2013 12:47:39 +0000 (13:47 +0100)]
Fix compatibility with Qt < 4.7.

3 years agoDrop OS specific instructions from INSTALL file.
Felix Geyer [Sat, 30 Nov 2013 11:49:29 +0000 (12:49 +0100)]
Drop OS specific instructions from INSTALL file.

Moved to https://www.keepassx.org/dev/projects/keepassx/wiki/Install_instructions

3 years agoMerge branch 'staging'
Felix Geyer [Sat, 30 Nov 2013 11:15:16 +0000 (12:15 +0100)]
Merge branch 'staging'

3 years agoSave password generator settings
Veeti Paananen [Sat, 29 Jun 2013 02:29:03 +0000 (05:29 +0300)]
Save password generator settings

Remember the used values for the password generator and restore them the
next time the user opens the generation dialog.

3 years agoSet default build type to RelWithDebInfo.
Felix Geyer [Sun, 24 Nov 2013 21:09:52 +0000 (22:09 +0100)]
Set default build type to RelWithDebInfo.

3 years agoEnable the foritfy source build flag only for optimized builds.
Felix Geyer [Sun, 24 Nov 2013 20:40:19 +0000 (21:40 +0100)]
Enable the foritfy source build flag only for optimized builds.

https://github.com/keepassx/keepassx/pull/27

3 years agoUse QString::toLatin1() rather than ::toAscii()
Ben Boeckel [Sun, 24 Nov 2013 20:19:20 +0000 (21:19 +0100)]
Use QString::toLatin1() rather than ::toAscii()

The toAscii (and fromAscii) are removed from Qt5 in favor of Latin1.

3 years agoMerge branch 'master' of github.com:nohn/keepassx into master
Felix Geyer [Sun, 24 Nov 2013 20:11:15 +0000 (21:11 +0100)]
Merge branch 'master' of github.com:nohn/keepassx into master

https://github.com/keepassx/keepassx/pull/29

3 years agoMerge commit '755241df5c' into bug-116-autotype-single-keycode
Albert Weichselbraun [Sat, 23 Nov 2013 08:37:09 +0000 (09:37 +0100)]
Merge commit '755241df5c' into bug-116-autotype-single-keycode

3 years agoUse a dedicated keycode for keys that require another modifier than shift.
Albert Weichselbraun [Fri, 22 Nov 2013 06:49:13 +0000 (07:49 +0100)]
Use a dedicated keycode for keys that require another modifier than shift.

3 years agoAdd Group::exportToDb().
Felix Geyer [Fri, 22 Nov 2013 09:28:11 +0000 (10:28 +0100)]
Add Group::exportToDb().

3 years agoAllow passing entry cloning flags to Group::clone().
Felix Geyer [Fri, 22 Nov 2013 12:34:34 +0000 (13:34 +0100)]
Allow passing entry cloning flags to Group::clone().

3 years agoAdd flags to Entry::clone() for customized cloning.
Felix Geyer [Fri, 22 Nov 2013 12:27:49 +0000 (13:27 +0100)]
Add flags to Entry::clone() for customized cloning.

3 years agoDocument clone() methods.
Felix Geyer [Thu, 4 Jul 2013 11:59:32 +0000 (13:59 +0200)]
Document clone() methods.

3 years agoRemember the dir when opening/saving attachments.
Felix Geyer [Thu, 4 Jul 2013 11:41:51 +0000 (13:41 +0200)]
Remember the dir when opening/saving attachments.

3 years agoMake sure icon() and iconPixmap() never crash.
Felix Geyer [Thu, 4 Jul 2013 11:31:38 +0000 (13:31 +0200)]
Make sure icon() and iconPixmap() never crash.

4 years agoCleanup: use break rather than nested if/else constructs.
Albert Weichselbraun [Mon, 18 Nov 2013 05:17:56 +0000 (06:17 +0100)]
Cleanup: use break rather than nested if/else constructs.

4 years agoMerge branch 'bug-116-autotype-new' into bug-116-autotype
Albert Weichselbraun [Sun, 17 Nov 2013 20:10:29 +0000 (21:10 +0100)]
Merge branch 'bug-116-autotype-new' into bug-116-autotype

4 years agoUse XKeysymToKeycode together with XkbTranslateKeyCode for translating KeySyms to...
Albert Weichselbraun [Sun, 17 Nov 2013 20:08:55 +0000 (21:08 +0100)]
Use XKeysymToKeycode together with XkbTranslateKeyCode for translating KeySyms to the corresponding keycode and modifier sequences.

4 years agoignore build dir
Sebastian Nohn [Sun, 17 Nov 2013 12:38:42 +0000 (13:38 +0100)]
ignore build dir

4 years agoFocus entryView when pressing enter in the search field.
Felix Geyer [Sun, 17 Nov 2013 09:55:58 +0000 (10:55 +0100)]
Focus entryView when pressing enter in the search field.

4 years agoFix tab focus order in ui files.
Felix Geyer [Sun, 17 Nov 2013 09:15:50 +0000 (10:15 +0100)]
Fix tab focus order in ui files.

4 years agoFixed bug #116 - certain characters not working with de keyboard layout
Albert Weichselbraun [Sun, 17 Nov 2013 06:48:25 +0000 (07:48 +0100)]
Fixed bug #116 - certain characters not working with de keyboard layout

4 years agoEditEntryWidget: move the URL field beneath the password.
Felix Geyer [Sat, 16 Nov 2013 21:30:39 +0000 (22:30 +0100)]
EditEntryWidget: move the URL field beneath the password.

4 years agoAdded option to minimize window when copying data to clipboard
Charles Brunet [Tue, 29 Oct 2013 19:54:56 +0000 (20:54 +0100)]
Added option to minimize window when copying data to clipboard

https://github.com/keepassx/keepassx/pull/24

4 years agoCoding style fixes.
Felix Geyer [Sun, 13 Oct 2013 16:08:50 +0000 (18:08 +0200)]
Coding style fixes.

4 years agoMerge branch 'modulo-bias'
Felix Geyer [Sat, 12 Oct 2013 17:12:51 +0000 (19:12 +0200)]
Merge branch 'modulo-bias'

https://github.com/keepassx/keepassx/pull/21

4 years agoUse QUINT32_MAX in tests instead of hardcoding the number.
Felix Geyer [Sat, 12 Oct 2013 17:11:57 +0000 (19:11 +0200)]
Use QUINT32_MAX in tests instead of hardcoding the number.

4 years agoFix EntryView not emitting activated() signals on return key press.
Felix Geyer [Thu, 10 Oct 2013 20:47:32 +0000 (22:47 +0200)]
Fix EntryView not emitting activated() signals on return key press.

AutoTypeSelectDialog relies on this behavior.

4 years agoAdd tests for Random::randomUInt() and randomUIntRange().
Felix Geyer [Wed, 9 Oct 2013 21:11:18 +0000 (23:11 +0200)]
Add tests for Random::randomUInt() and randomUIntRange().

4 years agoSupport custom backends in Random.
Felix Geyer [Wed, 9 Oct 2013 20:06:32 +0000 (22:06 +0200)]
Support custom backends in Random.

Useful for tests.

4 years agoAvoid modulo bias in Random::randomUInt().
Felix Geyer [Sat, 5 Oct 2013 12:56:18 +0000 (14:56 +0200)]
Avoid modulo bias in Random::randomUInt().

4 years agoMake use of the TestGui::clickIndex() helper function.
Felix Geyer [Tue, 8 Oct 2013 20:40:47 +0000 (22:40 +0200)]
Make use of the TestGui::clickIndex() helper function.

4 years agoAdd gui tests for deleting entries from the recycle bin.
Felix Geyer [Tue, 8 Oct 2013 20:36:27 +0000 (22:36 +0200)]
Add gui tests for deleting entries from the recycle bin.

4 years agoTest that the delete action moves entries to the recycle bin.
Felix Geyer [Tue, 8 Oct 2013 20:14:02 +0000 (22:14 +0200)]
Test that the delete action moves entries to the recycle bin.

4 years agoAdd tests for the multi-entry delete feature.
Felix Geyer [Tue, 8 Oct 2013 20:11:40 +0000 (22:11 +0200)]
Add tests for the multi-entry delete feature.

4 years agoAdd a QMessageBox wrapper class to help gui tests.
Felix Geyer [Tue, 8 Oct 2013 20:09:20 +0000 (22:09 +0200)]
Add a QMessageBox wrapper class to help gui tests.

QMessageBox displays modal dialogs which blocks the gui tests.
To work around this we add a MessageBox wrapper class where
the tests can set the answer for the next dialog.
The answer is then returned without actually showing the dialog.

4 years agoAllow removing multiple entries.
Felix Geyer [Tue, 8 Oct 2013 19:36:01 +0000 (21:36 +0200)]
Allow removing multiple entries.

4 years agoDrop entries from search results when moved to the recycle bin.
Felix Geyer [Tue, 8 Oct 2013 19:13:20 +0000 (21:13 +0200)]
Drop entries from search results when moved to the recycle bin.

4 years agoAvoid using QApplication in core.
Felix Geyer [Tue, 8 Oct 2013 15:37:12 +0000 (17:37 +0200)]
Avoid using QApplication in core.

4 years agoAdd several private header files to CMakeLists.txt.
Felix Geyer [Thu, 3 Oct 2013 14:26:01 +0000 (16:26 +0200)]
Add several private header files to CMakeLists.txt.

4 years agoDrop Qt module name from include statements.
Felix Geyer [Thu, 3 Oct 2013 13:18:16 +0000 (15:18 +0200)]
Drop Qt module name from include statements.

This is a preparation to be able to build KeePassX against Qt 5.

4 years agoOnly edit entries on doubleclick (not single) or with enter key.
Jens Dieskau [Sun, 29 Sep 2013 15:33:45 +0000 (17:33 +0200)]
Only edit entries on doubleclick (not single) or with enter key.

https://github.com/keepassx/keepassx/pull/19

4 years agoImprove error messages for reading and wriiting databases.
Felix Geyer [Sun, 30 Jun 2013 12:43:02 +0000 (14:43 +0200)]
Improve error messages for reading and wriiting databases.

Closes #7

4 years agoPrint a cmake feature log.
Felix Geyer [Sun, 30 Jun 2013 12:07:25 +0000 (14:07 +0200)]
Print a cmake feature log.

This let's users know when the dependnecies for auto-type are missing.
Available only in cmake >= 2.8.3.

Closes #71

4 years agoInitialize variables to silence compiler warnings.
Felix Geyer [Wed, 1 May 2013 10:03:03 +0000 (12:03 +0200)]
Initialize variables to silence compiler warnings.

4 years agoFix compatbility with clang 3.2.
Felix Geyer [Tue, 30 Apr 2013 16:24:41 +0000 (18:24 +0200)]
Fix compatbility with clang 3.2.

Pass --param=ssp-buffer-size=4 to clang instead of
-mllvm -stack-protector-buffer-size=4 which clang 3.2 doesn't seem
to support anymore.

4 years agoReally fix parsing when the db contains two Root (Group) elements.
Felix Geyer [Tue, 30 Apr 2013 15:00:00 +0000 (17:00 +0200)]
Really fix parsing when the db contains two Root (Group) elements.

4 years agoRaise error if we don't find exactly one root group.
Felix Geyer [Sat, 20 Apr 2013 17:17:09 +0000 (19:17 +0200)]
Raise error if we don't find exactly one root group.

4 years agoAdd tests for broken databases.
Felix Geyer [Sat, 20 Apr 2013 17:03:27 +0000 (19:03 +0200)]
Add tests for broken databases.

Make sure we detect the error and don't crash.

4 years agoWhen parsing make sure that databases contain at least the root group.
Felix Geyer [Sat, 20 Apr 2013 17:01:43 +0000 (19:01 +0200)]
When parsing make sure that databases contain at least the root group.

4 years agoRaise error when required xml elements are missing.
Felix Geyer [Sat, 20 Apr 2013 16:30:24 +0000 (18:30 +0200)]
Raise error when required xml elements are missing.

4 years agoInitalize SymmetricCipherGcrypt::m_blockSize.
Felix Geyer [Sun, 14 Apr 2013 14:27:18 +0000 (16:27 +0200)]
Initalize SymmetricCipherGcrypt::m_blockSize.

4 years agoMake sure KeePass1Reader::key() isn't used before the variables are set.
Felix Geyer [Sun, 14 Apr 2013 14:26:55 +0000 (16:26 +0200)]
Make sure KeePass1Reader::key() isn't used before the variables are set.

4 years agoMake sure groupId and groupLevel are set in KeePass1Reader::readGroup().
Felix Geyer [Sun, 14 Apr 2013 13:16:36 +0000 (15:16 +0200)]
Make sure groupId and groupLevel are set in KeePass1Reader::readGroup().

4 years agoInitalize m_database in EditGroupWidget ctor.
Felix Geyer [Sun, 14 Apr 2013 13:07:47 +0000 (15:07 +0200)]
Initalize m_database in EditGroupWidget ctor.

4 years agoMake more key/value-type functions safe against reordered xml elements.
Felix Geyer [Sun, 14 Apr 2013 13:06:34 +0000 (15:06 +0200)]
Make more key/value-type functions safe against reordered xml elements.

4 years agoMake KeePass2XmlReader::parseGroup() safe against reordered xml elements.
Felix Geyer [Sun, 14 Apr 2013 12:54:56 +0000 (14:54 +0200)]
Make KeePass2XmlReader::parseGroup() safe against reordered xml elements.

4 years agoMake KeePass2XmlReader::parseEntry() safe against reordered xml elements.
Felix Geyer [Sun, 14 Apr 2013 12:31:19 +0000 (14:31 +0200)]
Make KeePass2XmlReader::parseEntry() safe against reordered xml elements.

4 years agoAdd Entry::copyDataFrom().
Felix Geyer [Sun, 14 Apr 2013 12:21:42 +0000 (14:21 +0200)]
Add Entry::copyDataFrom().

4 years agoUse Q_NULLPTR instead of 0.
Felix Geyer [Mon, 8 Apr 2013 18:10:58 +0000 (20:10 +0200)]
Use Q_NULLPTR instead of 0.

4 years agoUse standard GNU install dirs and make them overridable.
Felix Geyer [Mon, 29 Apr 2013 20:17:31 +0000 (22:17 +0200)]
Use standard GNU install dirs and make them overridable.

4 years agoFix coding style.
Florian Geyer [Sat, 27 Apr 2013 08:57:01 +0000 (10:57 +0200)]
Fix coding style.

4 years agoMake argument keys immutable.
Florian Geyer [Thu, 18 Apr 2013 19:30:50 +0000 (21:30 +0200)]
Make argument keys immutable.

4 years agoSmall ArgumentParser refactoring.
Florian Geyer [Thu, 18 Apr 2013 19:21:30 +0000 (21:21 +0200)]
Small ArgumentParser refactoring.

4 years agoFix coding style.
Florian Geyer [Sat, 27 Apr 2013 09:20:13 +0000 (11:20 +0200)]
Fix coding style.

4 years agoRename config key for last opened databases.
Florian Geyer [Sat, 27 Apr 2013 09:19:40 +0000 (11:19 +0200)]
Rename config key for last opened databases.

4 years agoAdd settings option to control if previous databases are opened on startup.
Florian Geyer [Thu, 18 Apr 2013 20:15:01 +0000 (22:15 +0200)]
Add settings option to control if previous databases are opened on startup.

Closes #36

4 years agoOpen last used databases on startup.
Florian Geyer [Thu, 18 Apr 2013 20:15:01 +0000 (22:15 +0200)]
Open last used databases on startup.

Refs #36

4 years agoRemember opened databases on quit.
Florian Geyer [Sun, 24 Mar 2013 22:21:59 +0000 (23:21 +0100)]
Remember opened databases on quit.

Refs #36

4 years agoOpen EditEntryWidget when empty url column is activated.
Florian Geyer [Sun, 14 Apr 2013 17:14:06 +0000 (19:14 +0200)]
Open EditEntryWidget when empty url column is activated.

4 years agoAdd enum for EntryModel column.
Florian Geyer [Sun, 7 Apr 2013 19:17:08 +0000 (21:17 +0200)]
Add enum for EntryModel column.

4 years agoOpen url when an entry is activated via its url column.
Florian Geyer [Sun, 7 Apr 2013 19:05:52 +0000 (21:05 +0200)]
Open url when an entry is activated via its url column.

Closes #55

4 years agoAdd unit test for Metadata::copyCustomIcons().
Felix Geyer [Sun, 7 Apr 2013 17:38:18 +0000 (19:38 +0200)]
Add unit test for Metadata::copyCustomIcons().

4 years agoAdd safety check so we don't insert empty icons.
Felix Geyer [Sun, 7 Apr 2013 17:37:44 +0000 (19:37 +0200)]
Add safety check so we don't insert empty icons.

4 years agoCopy custom icons when copying/moving entries/groups to another database.
Felix Geyer [Sun, 7 Apr 2013 16:32:43 +0000 (18:32 +0200)]
Copy custom icons when copying/moving entries/groups to another database.

4 years agoEnable the frame for QLineEdits in EditWidgetProperties.
Felix Geyer [Sun, 7 Apr 2013 10:46:33 +0000 (12:46 +0200)]
Enable the frame for QLineEdits in EditWidgetProperties.

4 years agoReturn true from dropMimeData() when IgnoreAction is passed.
Felix Geyer [Sun, 7 Apr 2013 10:39:07 +0000 (12:39 +0200)]
Return true from dropMimeData() when IgnoreAction is passed.

4 years agoSupport copying entries and groups using drag'n'drop.
Felix Geyer [Sun, 7 Apr 2013 10:36:53 +0000 (12:36 +0200)]
Support copying entries and groups using drag'n'drop.

Closes #74

4 years agoTurn two for loops into Q_FOREACH.
Felix Geyer [Sun, 7 Apr 2013 09:52:55 +0000 (11:52 +0200)]
Turn two for loops into Q_FOREACH.

4 years agoAdd extra checks so we never return empty QMimeData from mimeData().
Felix Geyer [Sun, 7 Apr 2013 09:50:42 +0000 (11:50 +0200)]
Add extra checks so we never return empty QMimeData from mimeData().

4 years agoMake sure we don't add entries/groups multiple times to the drag'n'drop data.
Felix Geyer [Sun, 7 Apr 2013 09:47:50 +0000 (11:47 +0200)]
Make sure we don't add entries/groups multiple times to the drag'n'drop data.