Felix Geyer
|
886187baee
|
Show a busy cursor while doing master key transformations.
|
2012-07-27 18:54:35 +02:00 |
|
Felix Geyer
|
3a2f387892
|
Add action to open the entry URL.
Closes #37
|
2012-07-27 18:38:52 +02:00 |
|
Felix Geyer
|
e9a96ff80a
|
Mark m_pixmapCacheKey as mutable so we don't have to const_cast.
|
2012-07-25 12:18:16 +02:00 |
|
Felix Geyer
|
5786d0c279
|
Regain focus after native file dialogs have been closed.
For some reason this happens on Mac OS X.
We work around it by calling activateWindow().
Closes #39
|
2012-07-25 12:18:16 +02:00 |
|
Florian Geyer
|
53ce522c08
|
Disable recent databases menu when in settings widget.
|
2012-07-23 23:50:17 +02:00 |
|
Florian Geyer
|
9f21b54c4e
|
Prevent selection of both entries when an entry is cloned via shortcut.
|
2012-07-23 22:27:02 +02:00 |
|
Florian Geyer
|
8bff332be0
|
Add shortcuts for entry creation, editing, cloning and deletion.
Closes #40
|
2012-07-23 21:54:24 +02:00 |
|
Florian Geyer
|
0755702fe3
|
Show last used databases in file menu.
Refs #36
|
2012-07-23 21:16:55 +02:00 |
|
Felix Geyer
|
a16f7e7cca
|
Use WildcardMatcher for simple Auto-Type window patterns.
|
2012-07-23 18:11:10 +02:00 |
|
Felix Geyer
|
92efb3d20b
|
Move autoTypeSequence() and windowMatches() to the AutoType class.
|
2012-07-23 18:06:04 +02:00 |
|
Felix Geyer
|
4f0600421c
|
Fall back to WM_NAME if _NET_WM_NAME does not exist.
|
2012-07-23 17:51:21 +02:00 |
|
Felix Geyer
|
ad0d120ae6
|
Coding style fixes.
|
2012-07-23 15:11:05 +02:00 |
|
Felix Geyer
|
ecea101962
|
Return Q_NULLPTR instead of 0 when the return type is a pointer.
|
2012-07-23 14:58:57 +02:00 |
|
Felix Geyer
|
fcc936ceff
|
Disable searching and auto-type for the Backup group imported from KeePass1.
|
2012-07-23 13:21:17 +02:00 |
|
Felix Geyer
|
7820bf2510
|
For global auto-type use the default sequence of the entry before the group.
|
2012-07-23 12:56:00 +02:00 |
|
Felix Geyer
|
4a357e791e
|
Set Auto-Type sequence edit to read only when in history mode.
Not the other way aroud.
|
2012-07-23 12:42:05 +02:00 |
|
Felix Geyer
|
cf15d1741f
|
Optimize WildcardMatcher a bit.
|
2012-07-23 12:33:37 +02:00 |
|
Felix Geyer
|
9ad4cc8783
|
Subclass QSortFilterProxyModel to hide the group column in EntryView.
QTreeView::hideColumn() does not work well with keyboard search.
|
2012-07-22 22:02:06 +02:00 |
|
Florian Geyer
|
7bd080760e
|
Make wildcard matcher case insensitive.
|
2012-07-22 14:58:15 +02:00 |
|
Florian Geyer
|
4f78c32461
|
Add custom wildcard matcher.
|
2012-07-22 14:43:45 +02:00 |
|
Felix Geyer
|
9a2aba56fc
|
Set name of the root group when importing KeePass 1 databases.
|
2012-07-21 22:21:49 +02:00 |
|
Felix Geyer
|
20e4643560
|
Implement global auto-type dialog.
It allows to select an entry when there are multiple entries
that match the window title.
|
2012-07-21 22:21:49 +02:00 |
|
Felix Geyer
|
34ad5d61f6
|
Allow EntryModel to be used with entries from different databases.
|
2012-07-21 22:21:49 +02:00 |
|
Felix Geyer
|
39b9260719
|
Rename methods in EntryModel and EntryView from "search" to "entry list mode".
|
2012-07-21 22:21:49 +02:00 |
|
Felix Geyer
|
33b4cd8636
|
Don't add new entries to EntryModel when in search mode.
Only allow moving entries from one group to the other.
|
2012-07-21 22:21:49 +02:00 |
|
Florian Geyer
|
f6e1af30b3
|
Move recycle bin creation method to Group class.
|
2012-07-21 11:58:00 +02:00 |
|
Felix Geyer
|
a50d2709e7
|
Replace EntryAttachments and EntryAttributes operator=() with copyDataFrom().
QObjects are not supposed to have assignment operators.
|
2012-07-20 12:15:19 +02:00 |
|
Felix Geyer
|
c7107de2a7
|
Improve window select combo box.
Create the WindowSelectComboBox subclass that refreshes the window
list whenever the popup is opened.
|
2012-07-20 12:15:14 +02:00 |
|
Felix Geyer
|
b5c3873cfd
|
Update auto-type association editing.
Correctly set enabled status of all elements.
Fix crash when clicking on the view and the entry has no auto-type associations.
|
2012-07-20 10:28:18 +02:00 |
|
Felix Geyer
|
ef579cbe3c
|
Refactor Entry::truncateHistory().
This allows us to drop Entry::getSize() and EntryAttachments::attachmentsSize()
which have weird semantics.
|
2012-07-20 00:45:34 +02:00 |
|
Felix Geyer
|
0c1fecfb2b
|
const_cast "this" instead of the member variable.
|
2012-07-19 23:32:31 +02:00 |
|
Felix Geyer
|
b6d9c2e486
|
Import Auto-Type associations in KeePass1Reader.
|
2012-07-19 23:21:12 +02:00 |
|
Felix Geyer
|
8cf6289d9c
|
Close search when the escape button is pressed.
|
2012-07-19 19:42:26 +02:00 |
|
Felix Geyer
|
8619682da3
|
Replace some more Q_WS_* with Q_OS_*.
|
2012-07-19 19:42:26 +02:00 |
|
Felix Geyer
|
308d3ad84b
|
Use constructor initialization lists where possible.
|
2012-07-19 19:42:14 +02:00 |
|
Felix Geyer
|
4152e93bb7
|
Add a cache for FilePath::icon().
|
2012-07-18 21:22:36 +02:00 |
|
Felix Geyer
|
f01076856b
|
Don't add double "/" to paths.
|
2012-07-18 21:22:36 +02:00 |
|
Felix Geyer
|
3100c202e8
|
Install the auto-type plugin.
|
2012-07-18 21:22:36 +02:00 |
|
Felix Geyer
|
2a45f57386
|
Support proper plugin finding.
So we don't have to hardcode the location anymore.
|
2012-07-18 21:22:36 +02:00 |
|
Felix Geyer
|
7fef3bd701
|
Rename DataPath to FilePath.
|
2012-07-18 21:22:26 +02:00 |
|
Felix Geyer
|
490414716d
|
Generate new random transform seed when changing transform rounds.
|
2012-07-17 10:57:08 +02:00 |
|
Felix Geyer
|
7e9343c697
|
Fix CompositKey self assignment.
|
2012-07-17 10:57:08 +02:00 |
|
Felix Geyer
|
f767a098d6
|
Add GUI test for changing the database transform rounds.
Refs #34
|
2012-07-17 10:56:56 +02:00 |
|
Felix Geyer
|
66422437d3
|
Regenerate key in Database::setTransformRounds().
Merge Database::updateKey() into Database::setTransformRounds() and
regenerate the key if the database already has a key.
Closes #34
|
2012-07-17 10:33:54 +02:00 |
|
Felix Geyer
|
965dba63d7
|
Use Q_OS_MAC instead of the nonexistent Q_OS_MACOS.
Thanks to Richard Johnson for spotting this.
Closes #33
|
2012-07-16 17:49:12 +02:00 |
|
Felix Geyer
|
676be9da16
|
Coding style fixes.
|
2012-07-16 17:47:21 +02:00 |
|
Felix Geyer
|
237d954b65
|
Add auto-type settings to EditEntryWidget.
|
2012-07-16 17:40:28 +02:00 |
|
Felix Geyer
|
af166a66b3
|
Add AutoTypeAssociationsModel class.
|
2012-07-16 17:39:20 +02:00 |
|
Felix Geyer
|
7db6850528
|
Add AutoTypeAssociations::removeEmpty().
|
2012-07-16 17:37:18 +02:00 |
|
Felix Geyer
|
7abaf0e215
|
Fix bug in Entry::autoTypeSequence() with default window sequences.
When using the default sequence autoTypeSequence() returned an empty string.
|
2012-07-16 17:34:19 +02:00 |
|
Felix Geyer
|
0b8f07f58e
|
Don't re-register the global shortcut when the keyboard mapping changes.
This breaks after the first global auto-type.
|
2012-07-16 17:33:23 +02:00 |
|
Felix Geyer
|
85d532953f
|
Emit globalShortcutTriggered() directly.
There is no need for a queued connection call.
|
2012-07-16 17:29:42 +02:00 |
|
Felix Geyer
|
f98d834edb
|
Move Auto-Type associations handling from Entry into an own class.
|
2012-07-16 09:54:04 +02:00 |
|
Felix Geyer
|
f4a4930f42
|
Entry::autoTypeSequence() returns null string when no window matches.
Return QString() when a windowTitle is passed but doesn't match any
auto-type association.
|
2012-07-15 11:30:30 +02:00 |
|
Felix Geyer
|
6d5b31f527
|
Normalize signal/slot signatures.
|
2012-07-14 19:34:38 +02:00 |
|
Felix Geyer
|
288fa732ca
|
Add global shortcut widget to SettingsWidget and register shortcut on startup.
|
2012-07-14 19:09:28 +02:00 |
|
Felix Geyer
|
d3af39a7ae
|
Reset and unregister global shortcut when it's not locked anymore.
|
2012-07-14 19:07:13 +02:00 |
|
Felix Geyer
|
fa51f7e10e
|
Make AutoType::performGlobalAutoType() a slot.
|
2012-07-14 19:06:05 +02:00 |
|
Felix Geyer
|
651c00239a
|
Add an auto-type entry action.
|
2012-07-12 22:35:51 +02:00 |
|
Felix Geyer
|
bc207714da
|
Add initial auto-type implementation.
The platform dependent bits are separated in plugins.
A plugin for X11 using Xlib is already done.
|
2012-07-12 22:33:20 +02:00 |
|
Felix Geyer
|
073f3f9dfc
|
Add ListDeleter class.
A class that deletes all elements of a QList when it goes out of scope.
|
2012-07-12 22:28:44 +02:00 |
|
Felix Geyer
|
549c3ce598
|
Fix memory leak in QSaveFile.
|
2012-07-12 21:30:37 +02:00 |
|
Felix Geyer
|
9de4cbbbd6
|
Use Q_OS_* defines instead of Q_WS_*.
|
2012-07-12 13:58:40 +02:00 |
|
Felix Geyer
|
13eb1f6330
|
Add Tools::sleep() and Tools::wait().
|
2012-07-12 13:51:50 +02:00 |
|
Felix Geyer
|
4b6cae0fcd
|
Fix some compiler warnings.
Implements parts of
https://gitorious.org/keepassx/keepassx/merge_requests/18
|
2012-07-08 11:27:11 +02:00 |
|
Felix Geyer
|
fb4367f9ef
|
Remove some unneeded includes.
|
2012-07-08 10:27:31 +02:00 |
|
Felix Geyer
|
ce633b54be
|
Prevent opening a database multiple times in the same instance.
Refs #18
|
2012-07-08 10:26:42 +02:00 |
|
Felix Geyer
|
2e38b01d80
|
Add Save and SaveAs gui tests.
|
2012-07-06 19:21:19 +02:00 |
|
Felix Geyer
|
b579eb954e
|
Use QSaveFile to save databases.
|
2012-07-06 18:50:52 +02:00 |
|
Felix Geyer
|
2f98d95b66
|
Import QSaveFile from libkdeqt5staging.
It's planned to become part of Qt 5.1.
|
2012-07-06 14:36:04 +02:00 |
|
Felix Geyer
|
d826ae5daf
|
Add assert to make sure the temp file could be opened successfully.
|
2012-07-03 12:39:03 +02:00 |
|
Felix Geyer
|
6ca3b8aa81
|
Make google cpplint happy.
|
2012-07-02 20:00:06 +02:00 |
|
Felix Geyer
|
909e01bde5
|
Make DatabaseOpenWidget a bit prettier.
|
2012-07-02 18:47:12 +02:00 |
|
Felix Geyer
|
d0fd9af5e6
|
Hide history row when viewing history items.
|
2012-07-02 00:16:24 +02:00 |
|
Felix Geyer
|
61984a5748
|
Keep widget frame when displaying history items.
|
2012-07-02 00:08:31 +02:00 |
|
Felix Geyer
|
1b9c2bb16b
|
Improve array size assert.
|
2012-07-01 22:21:49 +02:00 |
|
Felix Geyer
|
782223a643
|
Coding style fixes.
|
2012-07-01 21:58:45 +02:00 |
|
Felix Geyer
|
c844c6b712
|
Convert icon filename QVector to a plain char* array.
|
2012-07-01 21:35:07 +02:00 |
|
Felix Geyer
|
85031658d1
|
Add Q_STATIC_ASSERT macro, backported from Qt 5.
|
2012-07-01 21:27:11 +02:00 |
|
Felix Geyer
|
6ce53b142d
|
clang: Use __has_feature() to detect C++11 features.
|
2012-07-01 20:24:43 +02:00 |
|
Felix Geyer
|
ee3bc89a54
|
Coding style fixes.
|
2012-06-30 00:22:07 +02:00 |
|
Felix Geyer
|
ca13ad8d25
|
Delete open databases when DatabaseTabWidget is destructed.
|
2012-06-29 23:40:51 +02:00 |
|
Florian Geyer
|
9ae6d2cd05
|
Update last databases on open and save as.
|
2012-06-29 23:30:13 +02:00 |
|
Felix Geyer
|
d2fc4e8abd
|
Mark DatabaseOpenWidget ctor es explicit.
|
2012-06-29 23:17:36 +02:00 |
|
Felix Geyer
|
baa5a74ba0
|
Convert iconCount() and expiredIconIndex() to constants.
|
2012-06-29 15:22:43 +02:00 |
|
Felix Geyer
|
e144f7c85a
|
Mark overriden methods as Q_DECL_OVERRIDE.
|
2012-06-29 14:37:29 +02:00 |
|
Felix Geyer
|
4e6cf15a09
|
Fix compiler warning about __GXX_EXPERIMENTAL_CXX0X__ being undefined.
|
2012-06-29 14:34:17 +02:00 |
|
Felix Geyer
|
2287250a07
|
Define COMPILER_EXPLICIT_OVERRIDES when using gcc >= 4.7.
|
2012-06-29 14:18:12 +02:00 |
|
Felix Geyer
|
68155e8f89
|
Make use of Q_NULLPTR.
|
2012-06-29 14:15:16 +02:00 |
|
Felix Geyer
|
af142fc433
|
Optionally enable C++ 11.
|
2012-06-29 14:14:58 +02:00 |
|
Felix Geyer
|
92af92ccbe
|
Convert DatabaseOpenDialog into a widget on DatabaseWidget.
|
2012-06-29 10:36:35 +02:00 |
|
Florian Geyer
|
900beae046
|
Add menu action to toggle toolbar visibility.
Closes #31
|
2012-06-25 00:30:26 +02:00 |
|
Florian Geyer
|
204822b66f
|
Improve auto save handling.
|
2012-06-24 19:30:30 +02:00 |
|
Felix Geyer
|
b0ad864fe0
|
Always convert explicitly from QByteArray to QString.
|
2012-06-24 18:23:27 +02:00 |
|
Felix Geyer
|
d0016bf6c4
|
Fix reading non-ASCII passwords that are protected.
Closes #28
|
2012-06-24 18:22:18 +02:00 |
|
Felix Geyer
|
f690522725
|
Coding style fixes.
|
2012-06-24 11:32:54 +02:00 |
|
Felix Geyer
|
38d2b124d8
|
Fix datetime serialization appending two 'Z' at the end with Qt >= 4.8.
|
2012-06-24 11:25:06 +02:00 |
|
Felix Geyer
|
513ba6d19d
|
Write empty strings as short empty XML elements.
For example instead of
<DatabaseName></DatabaseName>
we now write
<DatabaseName/>
Closes #29
|
2012-06-23 20:15:14 +02:00 |
|
Florian Geyer
|
e578ca9a82
|
Avoid multiple editFinished signals from group view.
|
2012-06-14 23:43:06 +02:00 |
|
Florian Geyer
|
a720903083
|
Use temporary settings file for gui test.
|
2012-06-14 23:07:49 +02:00 |
|
Florian Geyer
|
056447fad9
|
Add editFinished signal which can be used to auto save the database.
|
2012-06-14 21:18:04 +02:00 |
|
Florian Geyer
|
27794021d9
|
Simplify enableAutoSaveOnExit function.
|
2012-06-12 10:11:13 +02:00 |
|
Florian Geyer
|
2c88810459
|
Coding style fixes.
|
2012-06-12 10:00:02 +02:00 |
|
Thom Troy
|
bd5dd130e5
|
Add auto save on exit
|
2012-06-12 10:00:02 +02:00 |
|
Thom Troy
|
e439e057a0
|
Fix extra check that wasn't needed
|
2012-06-12 10:00:01 +02:00 |
|
Thom Troy
|
17f4e23215
|
Added automatically saving DB after change
|
2012-06-12 10:00:01 +02:00 |
|
Florian Geyer
|
871cdc5bb8
|
Coding style fixes.
|
2012-06-11 18:52:16 +02:00 |
|
Thom Troy
|
a5f7d0277f
|
Implement browse key file in ChangeMasterKeyWidget
|
2012-06-11 18:20:46 +02:00 |
|
Thom Troy
|
5217199d0a
|
Implement create key file in ChangeMasterKeyWidget
|
2012-06-11 18:20:46 +02:00 |
|
Florian Geyer
|
01706483fb
|
Fix history view showing wrong item.
|
2012-06-10 18:11:00 +02:00 |
|
Florian Geyer
|
21e257e64d
|
Re-add truncation of history entries.
|
2012-06-06 19:59:10 +02:00 |
|
Franklin Strube
|
21302782e1
|
allow any filetype to be opened as a database
|
2012-06-06 10:46:42 +02:00 |
|
Felix Geyer
|
8e8efc67e6
|
Use "*" as filter for all files instead of "*.*".
|
2012-06-06 10:21:17 +02:00 |
|
Felix Geyer
|
d3fcf2e0c4
|
Move singleton instance code to static member functions.
|
2012-05-31 14:51:44 +02:00 |
|
Florian Geyer
|
8d6b200dd7
|
Improve performance of EntryHistoryModel.
|
2012-05-30 18:07:50 +02:00 |
|
Florian Geyer
|
9f1ab080ee
|
Make history view sortable.
|
2012-05-30 16:51:36 +02:00 |
|
Florian Geyer
|
2448976643
|
Switch back to WelcomeWidget when settings widget is closed and there are no open databases.
|
2012-05-30 15:20:09 +02:00 |
|
Florian Geyer
|
cf5f56af6f
|
Rename setting so it refers only to group expanded state changes.
|
2012-05-30 11:27:09 +02:00 |
|
Florian Geyer
|
5003499700
|
Add settings option if visual changes mark databases as modified.
|
2012-05-29 22:10:03 +02:00 |
|
Florian Geyer
|
8aefb1ed82
|
Indicate read-only state in window title.
|
2012-05-28 19:01:38 +02:00 |
|
Felix Geyer
|
5201001f3a
|
Switch back to WelcomeWidget when the last database has been closed.
|
2012-05-28 18:53:39 +02:00 |
|
Felix Geyer
|
f145cb69de
|
Switch to DatabaseTabWidget when the current tab changed and the welcome widget is shown.
|
2012-05-28 18:49:16 +02:00 |
|
Felix Geyer
|
a8ab3a5ca1
|
Coding style fixes.
|
2012-05-28 12:12:33 +02:00 |
|
Florian Geyer
|
a22308b13b
|
Add missing general settings widget.
|
2012-05-28 10:46:25 +02:00 |
|
Florian Geyer
|
f18db06471
|
Store remember last opened files setting.
|
2012-05-28 00:09:54 +02:00 |
|
Florian Geyer
|
6f48983efe
|
Remember last opened files.
|
2012-05-27 23:41:33 +02:00 |
|
Florian Geyer
|
20c95737cb
|
Fix clipboard timeout.
|
2012-05-27 20:58:44 +02:00 |
|
Florian Geyer
|
6cd65ae9a7
|
Add edit finished signal to settings widget.
|
2012-05-27 20:29:15 +02:00 |
|
Florian Geyer
|
f53768fc84
|
Add welcome widget.
|
2012-05-27 20:15:06 +02:00 |
|
Felix Geyer
|
d707fb4760
|
Store clear clipboard settings.
|
2012-05-27 20:10:41 +02:00 |
|
Felix Geyer
|
7194a3d7a8
|
Store defaults in Config.
|
2012-05-27 20:05:57 +02:00 |
|
Felix Geyer
|
4a2ca8c7c8
|
Add another icon.
|
2012-05-27 19:54:18 +02:00 |
|
Felix Geyer
|
3f4f9abb36
|
Support RTL layout in LineEdit.
|
2012-05-27 19:43:34 +02:00 |
|
Florian Geyer
|
adbce87ccd
|
Improve update of enabled state of group actions.
|
2012-05-27 17:06:04 +02:00 |
|
Florian Geyer
|
6fb6e1dc82
|
Add more icons to actions in context menu.
|
2012-05-27 16:59:25 +02:00 |
|
Florian Geyer
|
56509eab5f
|
Fix enabled state of group actions.
|
2012-05-27 16:53:27 +02:00 |
|
Felix Geyer
|
3e72cd11a3
|
Change SearchWidget to use a grid layout and remove double margins.
|
2012-05-27 16:17:10 +02:00 |
|
Felix Geyer
|
089bcba89f
|
Add more icons.
|
2012-05-27 15:39:44 +02:00 |
|
Florian Geyer
|
92e4055f85
|
Add icons to actions in context menu.
|
2012-05-27 15:20:53 +02:00 |
|
Florian Geyer
|
b5797503a8
|
Hide search sensitivity checkbox.
|
2012-05-27 15:07:32 +02:00 |
|
Florian Geyer
|
182258761f
|
Add some asserts.
|
2012-05-27 15:07:32 +02:00 |
|
Florian Geyer
|
57aef7f1ec
|
Option to search in current/root group.
Closes #24
|
2012-05-27 15:07:32 +02:00 |
|
Florian Geyer
|
3fdcbfe002
|
Cleanup of search widget.
|
2012-05-27 15:07:32 +02:00 |
|
Florian Geyer
|
a92ddc6d0b
|
Add case sensitivity option to search.
|
2012-05-27 15:07:28 +02:00 |
|
Felix Geyer
|
10321adc0b
|
Fix icons/application/22x22/action folder name.
|
2012-05-27 12:49:09 +02:00 |
|
Felix Geyer
|
264c69d046
|
Add some action icons.
|
2012-05-27 12:46:22 +02:00 |
|
Felix Geyer
|
de95b6c347
|
Add DataPath::icon() parameter to only use local icons.
|
2012-05-27 12:43:58 +02:00 |
|
Felix Geyer
|
fb499154bd
|
Remove some double margins.
|
2012-05-27 11:24:56 +02:00 |
|
Felix Geyer
|
82d697b657
|
Add convenience method EditWidget::setHeadline().
|
2012-05-27 11:12:12 +02:00 |
|
Felix Geyer
|
21a2e9583b
|
Add (not yet functional) SettingsWidget.
|
2012-05-27 11:09:52 +02:00 |
|