Commit Graph

271 Commits

Author SHA1 Message Date
Federico Terzi
dab98a7a67 Fix warnings on Linux 2020-04-03 20:10:06 +02:00
Federico Terzi
4d91085321 Improve robustness of passive mode with empty selections. Fix #213 2020-04-03 19:38:59 +02:00
Federico Terzi
30273c1f68 Add option to force clipboard use on a per-match basis. Fix #217 2020-04-03 19:20:57 +02:00
Federico Terzi
2dac99fde3 Remove git2 dependency. Fix #218 2020-04-03 18:41:09 +02:00
Federico Terzi
324c521d6c Change the context menu entry to display "Exit espanso". Fix #209 2020-04-03 18:33:56 +02:00
Federico Terzi
dd8e5c8f9c Add secure input notification on macOS 2020-04-03 18:22:31 +02:00
Federico Terzi
2c8c28087d Add a check on macOS to warn the user about possible SecureInput-related issues. 2020-03-31 19:33:38 +02:00
Federico Terzi
80f12194db Refactor package install command to only accept verified packages by default 2020-03-20 19:54:03 +01:00
Federico Terzi
fd1df63ecd Fix import that broke tests on macOS 2020-03-17 20:58:01 +01:00
Federico Terzi
f95457f769 Add automatic Systemd service path update after changing espanso path (for example after an update). Fix #199 2020-03-16 22:16:12 +01:00
Federico Terzi
54f720eca1 Add alternative package provider to avoid GIT problems 2020-03-16 21:18:33 +01:00
Federico Terzi
82975bfbdc Disable the conflict check by default, as it caused more harm than good. 2020-03-16 19:17:35 +01:00
Federico Terzi
1285bc20cf Implement more specific KeyModifiers on Linux. Fix #117 2020-03-10 18:51:11 +01:00
Federico Terzi
7764f80eab Implement specific key modifiers on macOS. See #117 2020-03-10 18:07:50 +01:00
Federico Terzi
f11d130c45 Implement specific key modifiers on Windows. See #117 2020-03-10 17:22:50 +01:00
Federico Terzi
c20b4728ba Add mouse detection on Windows to improve word matches 2020-03-08 20:59:57 +01:00
Federico Terzi
5712c7fd61 Add change to consider modifiers as word separators, which improves word match reliability 2020-03-08 20:33:44 +01:00
Federico Terzi
69001c6546 Move the incompatible backend warning 2020-03-08 20:17:47 +01:00
Federico Terzi
43a82872d3 Add "other" event type on macOS to improve word matches reliability 2020-03-08 20:11:57 +01:00
Federico Terzi
5273d8b805 Add register special keys to improve word matches reliability 2020-03-08 19:51:38 +01:00
Federico Terzi
33cfb156db Change way Inject backend handles multiline matches on Linux 2020-03-08 19:10:26 +01:00
Federico Terzi
23095d4394 Add Auto backend to automatically switch between Inject and Clipboard on Linux based on match content 2020-03-08 19:06:01 +01:00
Federico Terzi
3221b41d01 Add ! and ? characters as word separators 2020-03-08 18:37:26 +01:00
Federico Terzi
fb032deb56 Refactor Windows context with new anti self-injection mechanism 2020-03-08 09:57:21 +01:00
Federico Terzi
6235377b86 Refactor anti self-injection mechanism 2020-03-08 00:23:26 +01:00
Federico Terzi
3e3f314aa2 Add clipboard extension. Fix #192 2020-03-03 00:18:46 +01:00
Federico Terzi
9183e1f1b9 Merge branch 'case-propagation' into dev 2020-03-02 23:51:45 +01:00
Federico Terzi
4e6de02410 Implement case propagation. Fix #152 2020-03-02 23:51:31 +01:00
Federico Terzi
0c37ccec06 Add propagate_case option to matches and related automatic trigger generation 2020-03-02 22:03:56 +01:00
Federico Terzi
06a6e75e8d Refactor edit subcommand to consider the case of handling corrupted configuration files 2020-03-02 21:51:53 +01:00
Federico Terzi
73557b6af8 Refactor matches to support multiple triggers. Fix #144 2020-03-02 21:43:26 +01:00
Federico Terzi
d7160dc6b7 Add missing import 2020-02-29 19:20:38 +01:00
Federico Terzi
1c63295a56 Change warning level of utf8 decoding log, as with snap packages it became too verbose. 2020-02-29 18:55:19 +01:00
Federico Terzi
7921e0fcdc Change urxvt terminal paste shortcut to CTRL+ALT+V. Fix #166 2020-02-28 21:38:15 +01:00
Federico Terzi
3e98748c54 Add edit subcommand. Fix #171 2020-02-27 21:56:20 +01:00
Federico Terzi
a89438f3ba First draft of edit-command on windows 2020-02-26 21:24:02 +01:00
Federico Terzi
0ee8ffbcef Make preserve_clipboard option enabled by default 2020-02-26 21:04:24 +01:00
Federico Terzi
ec68fd767a Add the possibility to escape double brackets in replacements. Fix #187 2020-02-26 21:03:52 +01:00
Federico Terzi
f429f58027 Fix #186 2020-02-26 20:55:09 +01:00
Federico Terzi
0dfcb9cef7 First draft of global variables. Fix #162 2020-01-26 23:56:50 +01:00
Federico Terzi
a6282b1a9d Add delay to mitigate clipboard restoration race condition. Fix #148 2020-01-26 22:40:32 +01:00
Federico Terzi
025d00ad26 Add options to selectively disable active and passive mode 2020-01-26 22:30:54 +01:00
Federico Terzi
793855a515 Merge branch 'feature-passive' into dev
# Conflicts:
#	src/config/mod.rs
2020-01-22 22:09:06 +01:00
Federico Terzi
86586623cc Add trigger_copy implementation on MacOS 2020-01-22 21:51:36 +01:00
Federico Terzi
67e8ece408 Add tests for #153 2020-01-21 23:11:14 +01:00
Federico Terzi
73c8f5be86 Add check to warn the user about conflicting triggers. Fix #135 2020-01-21 21:58:10 +01:00
Federico Terzi
6135787eb0 Add passive mode Windows implementation 2020-01-21 00:22:22 +01:00
Federico Terzi
6e03e7e8e4 Add passive only matches 2020-01-20 00:03:23 +01:00
Federico Terzi
e2c98284b6 Add check to avoid espanso reinterpreting its own actions 2020-01-19 23:41:11 +01:00
Federico Terzi
9332899969 First draft of working passive mode on linux 2020-01-19 00:30:30 +01:00
Federico Terzi
9e5a2a7c95 Add argument handling in extensions 2020-01-18 23:33:02 +01:00
Federico Terzi
6378aa3bcc Add argument rendering in passive matches 2020-01-18 22:55:50 +01:00
Federico Terzi
0eb58704a9 First steps in passive match rendering 2020-01-10 23:29:21 +01:00
Federico Terzi
6eec895b21 Move match rendering to standalone component. Add support for nested triggers ( Fix #110 ) 2019-12-22 00:06:55 +01:00
Federico Terzi
47f2cc1661 Add preserve_clipboard mode 2019-12-13 23:17:53 +01:00
Federico Terzi
fc532d1a9c Merge branch 'preserve-clipboard' into feature-clipboard-saving 2019-12-13 23:00:24 +01:00
Federico Terzi
4c172a9d54 Add Random Extension to enable non-deterministic matches 2019-12-13 22:52:24 +01:00
Federico Terzi
5db9d92642 Fix shell extension tests on Windows 2019-12-13 22:33:35 +01:00
Federico Terzi
12fc31700e Add trim option to shell extension and tests 2019-12-13 22:28:43 +01:00
Federico Terzi
db2ff8c6ca Fix bug that prevented espanso from working with Emacs #122 2019-12-13 22:05:56 +01:00
Federico Terzi
284482e2d5 Attempt to improve support for Simple terminal on linux. #112 2019-12-13 21:57:06 +01:00
Federico Terzi
1f5cdc025d Fix #139 #134 2019-12-13 20:45:50 +01:00
Matt Harrison
92d99c30bc
preserve the current clipboard when using the Clipboard backend.
Store the current clipboard and restore it after the expansion has been
pasted.
This prevents your current clipboard from being lost if using the
Clipboard backend.
2019-12-11 12:12:40 -05:00
Federico Terzi
3873bccdd8 Fix bug that prevented a test from working correctly 2019-11-30 19:06:19 +01:00
Federico Terzi
87ca08c059 Add Shift Insert shortcut on Linux backend 2019-11-29 22:20:37 +01:00
Federico Terzi
182d44580a Add configurable Paste shortcuts. Helps to fix #130 2019-11-29 22:09:02 +01:00
Federico Terzi
f884ade3ff Add image clipboard backend on Linux 2019-11-29 21:38:29 +01:00
Federico Terzi
89d0bd8596 Add Windows backend on Image clipboard 2019-11-29 00:01:26 +01:00
Federico Terzi
283db379c8 Move image check in the engine 2019-11-28 23:06:12 +01:00
Federico Terzi
5c875eeaed Refactor to generalize Match and implemented macOS backend for image clipboard 2019-11-28 22:56:00 +01:00
Nikita Tchayka
746957c65c Allow turning the toggle key off 2019-11-24 21:55:55 +00:00
Federico Terzi
fddc4980c0 Add a command line option to print the default configuration file path, useful to rapidly edit the configs. 2019-11-08 22:20:32 +01:00
Federico Terzi
bee17c262a Fix #109 2019-11-01 21:35:57 +01:00
Federico Terzi
0237c9e061 Add the 22th Ascii character, produced by the CTRL+V combination on Linux, as word separator to workaround a bug that prevented multiple word matches from being expanded on Linux. 2019-10-26 22:37:38 +02:00
Federico Terzi
2c9a9c2287 Merge branch 'feature-pointer' into dev 2019-10-25 22:37:12 +02:00
Federico Terzi
b63e2b2592 Add cursor position implementation on Linux 2019-10-25 22:34:31 +02:00
Timo Runge
888a0f32ec High res status icon for macOS. Fix #98. 2019-10-24 21:43:34 +02:00
Federico Terzi
8afacf4efb Refactor cursor hint to support dynamic matches 2019-10-24 18:48:55 +02:00
Federico Terzi
861030ab7a Fix bug that prevented espanso detect from working correctly on macOS. Fix #91 2019-10-23 20:55:54 +02:00
Federico Terzi
1a3e2c7111 Attempt to fix #98 2019-10-23 20:17:38 +02:00
Federico Terzi
0c8812eb02 Improve word matches support on macOS 2019-10-23 19:26:06 +02:00
Federico Terzi
4f9be699ac Add cursor position implementation for MacOS 2019-10-23 19:13:21 +02:00
Federico Terzi
9bbdb8d95f First draft of Cursor Position hint on Windows 2019-10-22 23:03:58 +02:00
Federico Terzi
34ce0ee9b1 Refactor matcher to support word separators 2019-10-22 20:41:33 +02:00
Federico Terzi
2e60042b2b Improve newline support on windows for Word matches 2019-10-21 23:52:03 +02:00
Federico Terzi
6c1977f48a First draft of the word separation feature, proposed in issue #82 2019-10-19 23:31:05 +02:00
Federico Terzi
43b079017d Include support for $HOME/.config/espanso directory location. Fix #88 2019-10-19 21:52:42 +02:00
Federico Terzi
a557cc0bf7 Fix wrong path subcommand output. Fix #89 2019-10-19 21:45:27 +02:00
Federico Terzi
5537d70989 Fix bug that caused the deprecation warning message to be printed multiple times. Fix #85. 2019-10-19 21:44:59 +02:00
Federico Terzi
b542800c03 Fix #84 2019-10-12 16:24:08 +02:00
Federico Terzi
fc74483369 Add systemd integration on Linux. Fix #80 2019-10-11 23:35:17 +02:00
Federico Terzi
640fac5bf5 Add unicode match support on MacOS 2019-10-11 21:40:46 +02:00
Federico Terzi
de296b77ea Add windows support to unicode matches 2019-10-10 21:34:50 +02:00
Federico Terzi
a19b90e50a Convert matching system to unicode strings instead of chars. Fix #78 2019-10-10 20:53:27 +02:00
Federico Terzi
ebc4cacd27 Make Clipboard the default backend on Linux. Partial fix for #76 2019-10-10 19:19:26 +02:00
Federico Terzi
6ef8ec0cdb Add portable mode. Fix #81 2019-10-10 18:36:24 +02:00
Federico Terzi
cfbb15ac48 Moved default location for configuration and packages. Fix #73. Merge #77. Create path subcommand. Updated tests 2019-10-09 00:37:42 +02:00
Sefa Eyeoglu
59206b6384 fix: put package directory in config path. 2019-10-08 19:00:56 +02:00
Sefa Eyeoglu
c0f4fe04ac fix: create packages directory in correct path 2019-10-08 18:33:46 +02:00
Sefa Eyeoglu
fe1c3afa82 fix: use local data dir for context module, too 2019-10-08 18:33:25 +02:00