Felix Geyer
bcc3108c3d
Coding style cleanup.
2015-07-13 22:36:20 +02:00
Felix Geyer
5f1b286630
Merge branch 'pr-95'
...
https://github.com/keepassx/keepassx/pull/95
Closes #283
2015-07-13 22:22:45 +02:00
Felix Geyer
8ad48d6774
Protect against emitting inactivityDetected() while it'is still processed.
2015-07-13 21:25:48 +02:00
Felix Geyer
721bec9794
Make sure we don't lock the database while a dialog is open.
...
This can happen when
- the user is picking out a file to save the database as
- a dialog asking the user to save/discard/cancel the current database
changes is active
It is dangerous to lock the databases while these actions are still
in progress.
Closes #208
2015-07-13 21:25:38 +02:00
Felix Geyer
c6105a08ab
KeePass2XmlReader: Don't fail wheh nreading empty UUIDs.
...
Closes #298
2015-07-13 21:01:55 +02:00
Felix Geyer
154f1673e9
QSaveFile: Flush temporary file and fsync before renaming.
...
Closes #301
2015-07-13 21:01:53 +02:00
Felix Geyer
577609b3e3
Make calling QSaveFile::commit() non-fatal if it's not open.
2015-07-13 21:00:50 +02:00
Florian Geyer
f22069bb11
Use higher increment for transform rounds in benchmark.
...
Thanks to Sami Farin for providing a patch.
Closes #305 .
2015-07-12 21:48:55 +02:00
Codifier
280a1aceb9
Bug #149
...
Moved the actionEntryCopyUsername and actionEntryCopyPassword actions to the root level of the context menu, for easier access and changed their labels to 'Copy username' and 'Copy password', respectively.
2015-07-12 20:54:02 +02:00
Andy Zeigler
bcd3de1180
Add keyboard shortcut (Ctrl-Alt-U) for copy URL to clipboard.
2015-06-12 19:29:02 -07:00
Florian Geyer
f4361dd4d5
Fix enabled state of copy notes action.
2015-06-05 18:37:22 +02:00
Felix Geyer
7db9c78855
Ignore libgcrypt errors in CryptoHash::CryptoHash().
...
Postponed until after 2.0 when I'll use excpetions.
Should be safe as we check basic functioning in Crypto::testSha256().
2015-05-14 20:44:17 +02:00
Felix Geyer
7a2c02f0df
Initialize some instance variables in ctor.
...
Discovered by Coverity.
Most likely doesn't fix any actual bug but better be safe.
2015-05-14 16:58:53 +02:00
Felix Geyer
c535736853
Add GUI for changing default group auto-type sequence.
...
Closes #175
2015-05-14 12:59:36 +02:00
Felix Geyer
a8bf6a9782
Refactor Tools::disableCoreDumps().
...
- Use all available methods.
- Don't print a warning when no method is implmeneted on the platform.
2015-05-14 12:58:00 +02:00
Amir Pakdel
0458dad6dc
Code cleanups
2015-05-13 14:34:48 -04:00
Felix Geyer
68373730bf
Fix compiler warnings where keysyms are printed.
...
%lX expectes unsigned long which KeySym is an alias for.
2015-05-12 23:57:36 +02:00
Felix Geyer
5d9039ea89
Silence compiler warning about an unused variable.
2015-05-12 23:40:02 +02:00
Felix Geyer
7e1faadd11
Merge remote-tracking branch 'github/pr/96'
...
Closes #218
2015-05-12 23:35:19 +02:00
Felix Geyer
fceb93061d
Merge remote-tracking branch 'github/pr/97'
...
Closes #290
2015-05-12 22:31:51 +02:00
Amir Pakdel
c9d007fcdf
Always clearing ChangeMasterKeyWidget.m_key
2015-05-12 16:31:14 -04:00
Felix Geyer
eeb940c0dc
Fix plugin path detection when installed with DESTDIR.
...
This is in no way perfect but should cover most common cases.
Closes #291
2015-05-12 22:24:59 +02:00
Felix Geyer
05b5446e94
Protect opened databases with a file lock.
...
Closes #18
2015-05-12 22:24:45 +02:00
Amir Pakdel
b45437d502
Refactored DatabaseWidget::currentEntryHas*()
2015-05-12 15:54:39 -04:00
Amir Pakdel
a599787a25
Bug #290
...
Show realted menu option to current entry only if the corresponding
field is not empty.
2015-05-12 15:50:10 -04:00
Amir Pakdel
58061af959
Bug #218
...
Do not accept faulty files as Key File. Moreover, do not clear keys
unless we have a key to add.
2015-05-12 15:17:39 -04:00
Amir Pakdel
8bf1bb0517
Bug #283
...
Updated messages related to saivng and closing a database to make
them more clear about what is going to happen.
2015-05-12 13:46:48 -04:00
Amir Pakdel
d26cff520f
Bug #244
...
Supporting cmd:// URLs
2015-05-12 12:25:43 -04:00
Felix Geyer
ade684d501
Crypto::selfTest(): test AES in ECB mode.
2015-05-10 00:02:08 +02:00
Felix Geyer
4362c3ea38
Handle cipher errors in TransformKeyBenchmarkThread.
2015-05-09 23:38:04 +02:00
Felix Geyer
e0d4b4b625
Adapt Salsa20 backend to the new interface.
2015-05-09 23:21:50 +02:00
Felix Geyer
cfffdae573
Improve error reporing of layered streams.
2015-05-09 23:21:50 +02:00
Felix Geyer
f6243675c9
Warn if result of processInPlace() is unchecked.
...
Fix callers accordingly.
2015-05-09 23:21:50 +02:00
Felix Geyer
a762cef0a9
Catch and handle all errors from libgcrypt.
2015-05-09 23:21:44 +02:00
Felix Geyer
a7f4e2d0cd
Add Twofish tests to Crypto::selfTest().
2015-05-09 18:15:01 +02:00
dartraiden
3fca61dc24
spelling correction, fixed typos
2015-05-06 19:38:43 +03:00
Felix Geyer
e41bf008e9
Use Q_BYTE_ORDER for endianness detection.
...
A hardcoded list of architectures is always incomplete.
2015-05-03 20:00:23 +02:00
Felix Geyer
6c9c0fd5c5
Look for a close button when pressing the escape key.
2015-05-03 19:59:11 +02:00
Felix Geyer
f3d956ceed
Display a Close button for history items.
...
Previously we had Ok and Cancel with the same action.
2015-05-03 18:59:19 +02:00
Felix Geyer
b9c9c56059
Use common EditEntryWidget::clear() method.
2015-05-03 18:58:44 +02:00
Felix Geyer
bed58cde84
Fix crash when pressing "cancel" on a history item.
2015-05-03 18:48:58 +02:00
Felix Geyer
ecb2e337ef
Hide Auto-Type action when it's not available.
2015-04-14 23:12:10 +02:00
Felix Geyer
2dde18b179
Adjust coding style.
2015-04-14 23:10:37 +02:00
Felix Geyer
6411b9bd66
Merge remote-tracking branch 'github/pr/82'
...
https://github.com/keepassx/keepassx/pull/82
Closes #145
2015-04-14 23:07:14 +02:00
Felix Geyer
cf0bc32b27
Store icons with a resolution of up to 128x128 px.
...
Follows what KeePass 2.29 will implement.
2015-04-08 18:22:13 +02:00
Felix Geyer
93ab7eb058
Use CMAKE_INSTALL_DATADIR to look for the data dir.
2015-04-08 18:07:53 +02:00
Felix Geyer
bd3ae05fcf
Rename Extras menu to Tools and move Lock Databases action to it.
2015-04-05 10:48:08 +02:00
Felix Geyer
b055d524e8
Merge branch 'lockdb'
2015-04-05 10:38:58 +02:00
Felix Geyer
9e051e835b
Close databases when they are locked.
...
Previously we've only hidden access to them.
Closes #275
2015-04-05 10:38:36 +02:00
Felix Geyer
3ab1072e9e
Scale new custom icons down to 64x64 if they are larger.
2015-03-31 22:31:04 +02:00
Joe Harvell
00df73ced0
Issue #270 - turning off key location memory
...
Add general settting for whether or not to remember last key files
2015-03-14 22:06:53 -05:00
Felix Geyer
940a5026c1
Properly auto-type line breaks and tabs in text.
2015-03-13 22:24:29 +01:00
Felix Geyer
2631277184
Always sleep some time after the keymap has changed.
...
This works around a problem where sometimes chars are typed as if some
random modifiers are pressed.
2015-03-13 21:58:04 +01:00
Felix Geyer
b86b640860
Process events from the event loop before typing the first char.
2015-03-13 19:45:57 +01:00
Felix Geyer
2dfc740782
Rework handling of modifiers in auto-type.
...
Release all modifiers that are pressed and change the result.
2015-03-13 19:43:52 +01:00
Felix Geyer
e4985f4ff7
Get the xtest keyboard instead of the core keyboard.
...
If we don't find it fall back to the core keyboard.
2015-03-13 19:41:49 +01:00
Felix Geyer
22f579a59e
Restore keyboard mapping only if we actually changed it.
2015-03-13 19:40:52 +01:00
Felix Geyer
778f01bcf1
Increase sleep time after remapping a keycode.
2015-02-24 22:00:44 +01:00
Felix Geyer
ccb7a4c96d
Blacklist the KDE 5 root window.
2015-02-24 21:59:47 +01:00
Felix Geyer
33650c4a04
Add non-const version of Group::groupsRecursive().
2015-01-11 16:20:24 +01:00
Victor Häggqvist
019cf9684c
change tabindex, put password inputs after each other
2015-01-01 02:25:43 +01:00
Akinori MUSHA
e4758c1984
Fix the temporary filename template so that the original suffix is preserved.
2014-12-22 23:47:16 +09:00
Felix Geyer
eb22f0a2d8
Raise an error when parsing duplicate attributes/attachments.
2014-12-03 23:36:53 +01:00
Felix Geyer
3ea0592b53
Add hasKey() convenience methods.
2014-12-03 23:36:24 +01:00
Felix Geyer
876a75b572
Disable attachment buttons when none is selected.
2014-12-03 23:26:42 +01:00
Felix Geyer
c39898dad9
Support opening attachments directly.
2014-12-03 21:50:17 +01:00
Florian Geyer
2adc64939f
Correct handling of keyfile argument.
...
Closes #223 .
2014-12-01 22:47:22 +01:00
Felix Geyer
71d39865b3
Introduce a strict mode in KeePass2XmlReader.
...
Many errors are now ignored when not in strict mode so we can still parse
files that have been written by broken/incomplete implementations.
2014-12-01 21:52:51 +01:00
Felix Geyer
07e4fbacd4
Remove ModifiedOnExpandedStateChanges config option.
...
I'm pretty sure noone knew what it actually does.
This is the sort of option users shouldn't be bothered with.
2014-11-30 23:04:17 +01:00
Akinori MUSHA
dd79105baa
Complete remove the toggle search action.
2014-11-19 11:46:38 +09:00
Akinori MUSHA
b1c3814972
Make Ctrl+F not toggle the search mode but always enable it.
...
Switching back from other applications, the previous behavior of Ctrl+F
would often bother you in that it would dismiss the search widget if it
was already enabled when you meant by the key you wanted to perform a
search.
Making Ctrl+F always set you in search mode should save user from having
to care about the mode which is persistent across application switching
and database locking.
2014-11-18 19:46:53 +09:00
Felix Geyer
315df0b8a8
Coding style fixes.
2014-11-02 11:46:51 +01:00
Felix Geyer
87468b648b
Use specific monospace fonts as fallback on Mac OS X.
...
Qt (4.8.6) doesn't seem to be able to resolve the generic monospace
font family.
Closes #214
2014-11-02 11:44:03 +01:00
Felix Geyer
4cdb9a645d
Add an option to display a tray icon.
...
Also implement "Minimize to tray" functionality.
2014-11-02 11:44:03 +01:00
Felix Geyer
870d7355ca
Fix reading window title from _NET_WM_NAME.
...
XGetWindowProperty() returns 0 on success.
Closes #236
2014-11-02 11:44:03 +01:00
Florian Geyer
f1aa6aca26
Fix copy custom attributes menu.
2014-10-09 21:36:08 +02:00
Florian Geyer
72b59d541a
Clear available languages when loading settings.
...
Thanks to Victor Häggqvist for spotting this.
2014-09-05 10:12:35 +02:00
David Kolossa
3a0648cf25
! binds stronger than ==
...
This should just avoid useless copying if more than 1 attribute is
selected (and the option to copy attributes is unavailable).
This also fixes a clang warning.
2014-06-16 15:40:28 +02:00
Felix Geyer
867d14f7aa
Merge branch 'movestill-fixConfigPath'
...
https://github.com/keepassx/keepassx/pull/49
2014-06-15 13:20:17 +02:00
Felix Geyer
0d6117bf4c
Do some basic self-checks when initializing the crypto backend.
2014-06-15 11:17:40 +02:00
Felix Geyer
7137990a21
Clear clipboard only if copied text is still present.
...
Closes #198
2014-05-26 18:41:48 +02:00
Felix Geyer
5a31e055cf
Show the window title when no entry matches for auto-type.
...
Closes #188
2014-05-18 12:09:46 +02:00
Felix Geyer
28694ae687
Add initial support for translations.
2014-05-18 01:33:22 +02:00
Felix Geyer
becd3a0019
Increase the EntryView default column size a bit.
2014-05-17 19:01:43 +02:00
Felix Geyer
8cc1e6008e
Use plurals in translations.
2014-05-17 18:17:31 +02:00
Felix Geyer
910788c038
Mark some strings as untranslatable.
2014-05-17 18:17:31 +02:00
Felix Geyer
9391de74c7
Block non-user updates in DatabaseWidgetStateSync.
2014-05-17 18:17:31 +02:00
Florian Geyer
c806f9ebf4
Correct tr-calls.
2014-05-17 18:13:22 +02:00
Felix Geyer
e776de8eeb
Remember and synchronize entry column sizes.
...
Closes #159
2014-05-17 12:51:16 +02:00
Felix Geyer
a25b28ffee
Rename config option window/Geometry to GUI/MainWindowGeometry.
2014-05-17 11:38:48 +02:00
Felix Geyer
0e75e6ff03
Make DatabaseWidget splitter non-collapsible.
2014-05-17 11:27:04 +02:00
Felix Geyer
76da4a6cd4
Use QSplitter::setStretchFactor() convenience method.
2014-05-17 11:25:45 +02:00
Felix Geyer
8a4100adbd
Make DatabaseWidget::emit{Group,Entry}ContextMenuRequested() private.
2014-05-17 11:22:45 +02:00
Felix Geyer
584f4b50bf
Coding style fix.
2014-05-17 11:21:50 +02:00
Felix Geyer
9ac01c930d
Drop DatabaseWidget::groupView() and entryView().
2014-05-17 11:21:17 +02:00
Felix Geyer
d874f58a39
Synchronize DatabaseWidget splitter sizes.
2014-05-17 11:16:27 +02:00
Florian Geyer
05de45dadb
Improve tab order.
2014-05-16 19:49:58 +02:00
Felix Geyer
4ab887c773
Initally select first entry in EntryView.
...
Closes #104
2014-05-16 19:10:30 +02:00
Florian Geyer
552ca7bf71
Stop search timer when closing search.
2014-05-16 18:56:01 +02:00
Felix Geyer
2d8ba2b394
Focus the search field instead of closing it when pressing the shortcut.
...
Closes #124
2014-05-16 13:10:26 +02:00