Felix Geyer
c78822f6e6
Merge branch '2.0'
2016-10-02 21:45:54 -04:00
Jonathan White
e011a6eb25
Fixed typo from merge
2016-10-02 10:02:54 -04:00
Felix Geyer
c2a80ce570
Remember auto-type window size.
...
Resize columns once when the entry list is set.
Based on https://github.com/keepassx/keepassx/pull/158
Closes #478
2016-09-29 22:08:37 -04:00
Felix Geyer
9b8912c483
Print libXtst instead of libXtest in the feature summary.
...
The protocol is called XTEST but the library libxtst.
Closes #440
# Conflicts:
# src/autotype/CMakeLists.txt
2016-09-29 21:58:56 -04:00
Felix Geyer
8ace3ab7f2
Don't consider windows with WithdrawnState as top level windows.
...
Fixes many bogus windows in auto-type window list when using gnome-shell.
2016-07-31 14:44:45 +02:00
Felix Geyer
9bd3ab717e
Print libXtst instead of libXtest in the feature summary.
...
The protocol is called XTEST but the library libxtst.
Closes #440
2016-02-13 11:13:15 +01:00
Felix Geyer
ecfbf72a57
Merge branch '2.0'
2015-12-15 21:05:00 +01:00
Felix Geyer
9e1ea264e2
Use availableGeometry() to calculate the dialog position.
...
availableGeometry() excludes ares where windows can't be placed (e.g. panels).
2015-11-01 23:26:40 +01:00
Felix Geyer
b02ec98ec6
Show AutoTypeSelectDialog on the active desktop.
...
This wasn't always the case on X11 with virtual desktops.
Closes #359
2015-11-01 23:23:01 +01:00
Felix Geyer
dff3fc0572
Coding style fixes.
2015-10-15 18:02:31 +02:00
Felix Geyer
5de0ec94e0
Stop using deprecated methods from QtAlgorithms.
2015-10-13 22:52:07 +02:00
Felix Geyer
6e45cf0dab
Use C++11 keywords directly.
2015-10-11 10:47:30 +02:00
Felix Geyer
dc7b6623a9
Merge branch '2.0'
2015-10-11 10:44:30 +02:00
Felix Geyer
820941fd40
Auto-Type: Only require a substring match for regex.
...
This matches the behavior of KeePass.
Refs #357
2015-10-10 17:36:08 +02:00
Felix Geyer
840642394f
Cope with focusWidget/activeWindow returning windows that are minimized.
2015-10-10 12:07:28 +02:00
Felix Geyer
4f2d56a55f
Fix another small memory leak.
2015-09-26 12:41:53 +02:00
Felix Geyer
6b49f8f26b
Free input device list.
...
Fixes a memory leak.
2015-09-26 12:41:53 +02:00
Felix Geyer
fc8cb7cd14
Check if XListInputDevices returns an error.
...
Refs #351
2015-09-26 12:41:52 +02:00
Felix Geyer
727094abc6
Unload auto-type plugins if they run in an unsupported environment.
...
Refs #351
2015-09-26 12:41:47 +02:00
Felix Geyer
3b2a39fd38
Merge branch '2.0'
2015-09-26 11:44:27 +02:00
Felix Geyer
14aac09318
Avoid implicit casts from bool to int.
2015-09-25 21:34:56 +02:00
Felix Geyer
9d42db9849
Mark more methods as override.
2015-09-25 21:34:56 +02:00
Felix Geyer
6ab54bc95a
Check if libXi is installed and explicitly link against it.
2015-09-23 22:26:49 +02:00
Felix Geyer
d559db4fb1
Merge branch '2.0'
2015-09-21 23:23:51 +02:00
Felix Geyer
673dff2268
Auto-Type: Raise target window after showing the select dialog.
...
kwin >= 5.4 (since commit cfa1d61) prefers to focus the main window
instead of following the focus chain.
We ask the window manager nicely to focus the window we want to
type into. kwin seems to follow that (in the default configuration).
2015-09-21 23:12:10 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
ba1ca4ec08
Rename x11 auto-type plugin to xcb.
...
This matches what QGuiApplication::platformName() returns.
2015-09-12 13:51:49 +02:00
Felix Geyer
ec8c0bb3e7
Setup new build dependencies.
2015-09-12 13:51:49 +02:00
Felix Geyer
b904fe5acd
Adapt X11 auto-type plugin to handle xcb instead of xlib events.
2015-09-12 13:51:49 +02:00
Felix Geyer
6502da549b
Fix build failure in AutoTypePlatformX11::SendEvent().
2015-09-12 13:51:49 +02:00
Felix Geyer
9e05f41747
Port to Qt 5 plugin system.
2015-09-12 13:51:49 +02:00
Felix Geyer
813c64a055
Port cmake files to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
5bd525a6dd
Use correct keycode when unregistering global shortcuts.
...
charToKeySym() is already correctly used in registerGlobalShortcut().
2015-07-22 20:38:03 +02: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
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
315df0b8a8
Coding style fixes.
2014-11-02 11:46:51 +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
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
147cd4ed7b
Add option to use the entry title for auto-type window matching.
2014-05-15 18:30:57 +02:00
Felix Geyer
b194c29166
Show a dialog when no window matches for auto-type.
2014-04-14 22:57:25 +02:00
Felix Geyer
0b9167c78b
Add an option to always ask before performing auto-type.
...
Closes #120
2014-04-14 22:57:18 +02:00
Felix Geyer
b9370c6e79
More careful null checking and member initalization.
2014-03-22 12:10:49 +01:00