Commit Graph

307 Commits

Author SHA1 Message Date
Federico Terzi
e98daedd6b Fix compilation error on Windows 2020-06-09 21:45:17 +02:00
Federico Terzi
0d2a6fe95d Propagate termination signals from daemon to worker. Fix #302 2020-06-09 21:35:45 +02:00
Federico Terzi
7d694494e5 Add trim option to Script Extension. Fix #295 2020-06-09 20:53:24 +02:00
Federico Terzi
fe745ae815 Turn on auto_restart by default. Fix #303 2020-06-09 20:48:03 +02:00
Federico Terzi
a57f828652 Inject CONFIG env variable when executing Shell and Script extensions. Fix #277 2020-05-29 22:07:00 +02:00
Federico Terzi
a37c588e26 Set trim option default to true in shell extension. Fix #272 2020-05-29 21:54:13 +02:00
Federico Terzi
8e563b6327 Make user defined matches higher priority than packages. Fix #273 2020-05-26 21:18:27 +02:00
Federico Terzi
7677615bae Adapt new process API to windows. 2020-05-26 20:17:47 +02:00
Federico Terzi
921c39ba4e Add worker monitor. Fix #284 2020-05-26 19:15:58 +02:00
Federico Terzi
5b537b4a57 Adopt rustfmt formatting for the project. Fix #137 2020-05-10 18:01:04 +02:00
Federico Terzi
949f1e4acf Add case propagation also with prefix symbol. Fix #244 2020-05-10 17:47:27 +02:00
Federico Terzi
e0bdace3f2 Add option to install packages from repositories outside the HUB. Fix #55 2020-05-10 17:29:56 +02:00
Federico Terzi
d7204775ac Implement cross-platform expansion of paths in script. Fix #265 2020-05-10 17:04:30 +02:00
Federico Terzi
cccf430671 Use shell to spawn editor on Unix, so that they can accept parameters. Fix #245 2020-05-10 16:27:06 +02:00
Federico Terzi
7622daafd2 Only evaluate global variables when needed. Fix #270 2020-05-10 15:20:59 +02:00
Federico Terzi
56b89432d3 Implement Auto-reload on Windows. #239 2020-05-10 14:01:23 +02:00
Federico Terzi
d41366b7c3 Initial draft of Autoreload on Unix 2020-05-10 00:02:25 +02:00
Federico Terzi
da3e65c0a0 Initial implementation of #239 on Windows 2020-05-08 19:04:50 +02:00
Federico Terzi
53e72bb8a3 Improve the ShellExtension to allow the user to specify different shells 2020-05-06 20:01:40 +02:00
Federico Terzi
23939a59b3 Add option to delay injected text on Linux. See #248 2020-05-05 21:20:54 +02:00
Federico Terzi
eae013d16f Add option to delay backspace presses on Linux. See #248 2020-05-05 20:52:53 +02:00
Federico Terzi
171c18873e Make fast_inject enabled by default on Linux 2020-05-05 20:29:44 +02:00
Federico Terzi
f6c9d17db6 Add norestart option to edit subcommand 2020-05-05 20:23:09 +02:00
Federico Terzi
e29e5b755e Add option to delay backspace presses on Windows. See #246 2020-05-05 20:17:45 +02:00
Federico Terzi
70260aa0b7 Change Windows shell to Powershell and display error in logs if command failed. 2020-05-05 19:50:35 +02:00
Federico Terzi
4283dd4b3a Add CAPS_LOCK handling on Windows 2020-05-02 14:15:22 +02:00
Federico Terzi
ff7d078335 Fix bug #252 on Linux 2020-05-02 14:42:00 +02:00
Federico Terzi
92e49b4d65 Fix #252 on macOS. 2020-05-02 14:31:28 +02:00
Federico Terzi
5305fbdd5d Fix #252 on Windows 2020-05-02 13:44:22 +02:00
Federico Terzi
7da2678947 Fix missing import that broke Windows CI 2020-04-18 20:09:22 +02:00
Federico Terzi
5a7c6c4572 Make the Auto backend the default one on Linux 2020-04-18 19:32:09 +02:00
Federico Terzi
573b8ddcfd Add fast injection mode on Linux 2020-04-18 19:31:24 +02:00
Federico Terzi
88f0618b67 Add option to hide icon from Windows. Fix #95 2020-04-15 17:24:40 +02:00
Federico Terzi
4adedbae43 Adding option to hide status icon on MacOS. See #95 2020-04-15 19:09:13 +02:00
Federico Terzi
72f34b401b Add option to show/hide notifications. See #95 2020-04-15 18:56:39 +02:00
Federico Terzi
7907980447 Ignore hidden files when loading configs and make error more explicit. Fix #234 2020-04-15 18:47:59 +02:00
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