Commit Graph

75 Commits

Author SHA1 Message Date
Federico Terzi
b23763d4de Change menu icon on macOS when disabled. Fix #432 2020-09-22 22:23:39 +02:00
Federico Terzi
270b603e8f Fix #418 2020-08-26 19:29:45 +02:00
Federico Terzi
b9fad30878 Make tray icon red on Windows when disabled. Fix #293 2020-08-15 21:07:41 +02:00
Federico Terzi
411078a503 Fix formatting 2020-08-15 19:35:14 +02:00
Federico Terzi
a2a73efe74
Merge pull request #373 from AndydeCleyre/bugfix/372
Tighten passive expansion process
2020-08-13 19:18:18 +02:00
Federico Terzi
64dd7b9074 Fix undo backspace on macOS 2020-08-12 20:37:15 +02:00
Federico Terzi
400d8cf9d8 Disallow backspace undo if cursor hints are used 2020-08-08 22:47:11 +02:00
Federico Terzi
61c17b26a4 Add experimental backspace undo feature 2020-08-08 22:25:13 +02:00
Andy Kluger
8428457be1 Restore original clipboard before render, in case it's used during render 2020-07-15 16:47:18 -04:00
Federico Terzi
a4e30fdc64 Add delay and remove hardcoded amount 2020-07-15 16:45:37 -04:00
Andy Kluger
e784b94792 Tighten passive expansion process:
- Don't abort if original clipboard is None (why should we?)
- Don't abort if original clipboard has the same text as that selected
- If original clipboard has text, restore that text before render
- If original clipboard has text, restore that text in case of aborted expansion

Note: will unfortunately remove non-text data (image) from clipboard if no text
is selected when passive expansion is triggered

Fixes #372

Fixes #365 (supersedes #368)
2020-07-15 16:45:37 -04:00
Federico Terzi
45bcaee54b Fix formatting 2020-06-24 22:11:01 +02:00
Federico Terzi
968ef578c1 Add CLI option to list matches and exec a trigger. Fix #263 2020-06-22 21:21:35 +02:00
Federico Terzi
5b537b4a57 Adopt rustfmt formatting for the project. Fix #137 2020-05-10 18:01:04 +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
573b8ddcfd Add fast injection mode on Linux 2020-04-18 19:31:24 +02:00
Federico Terzi
72f34b401b Add option to show/hide notifications. See #95 2020-04-15 18:56:39 +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
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
69001c6546 Move the incompatible backend warning 2020-03-08 20:17:47 +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
6235377b86 Refactor anti self-injection mechanism 2020-03-08 00:23:26 +01:00
Federico Terzi
73557b6af8 Refactor matches to support multiple triggers. Fix #144 2020-03-02 21:43:26 +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
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
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
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
182d44580a Add configurable Paste shortcuts. Helps to fix #130 2019-11-29 22:09:02 +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
Federico Terzi
8afacf4efb Refactor cursor hint to support dynamic matches 2019-10-24 18:48:55 +02:00
Federico Terzi
9bbdb8d95f First draft of Cursor Position hint on Windows 2019-10-22 23:03:58 +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
a19b90e50a Convert matching system to unicode strings instead of chars. Fix #78 2019-10-10 20:53:27 +02:00
Federico Terzi
7e71baed7e Clean up tray icon on windows when exiting 2019-09-16 11:59:23 +02:00
Federico Terzi
8e6c536673 Remove warnings and add espanso version to logs 2019-09-16 11:47:25 +02:00
Federico Terzi
14268b1bc7 Add clipboard support on Windows. Fix #8 2019-09-16 11:35:05 +02:00
Federico Terzi
b84418cea8 Add GPL preamble 2019-09-15 18:29:11 +02:00
Federico Terzi
29629afa52 Solve some TODOs 2019-09-15 15:46:24 +02:00
Federico Terzi
b70d99c7ab Add extension mechanism and date extension 2019-09-15 13:03:21 +02:00