Commit graph

817 commits

Author SHA1 Message Date
Denis Isidoro
04dcf79a34
Fix panic when trimming text with non-ASCII characters (#311)
Fixes #310
2020-03-24 10:53:45 -03:00
Denis Isidoro
4b5658a5b7
Fix crash when input has no match (#309)
Fixes #307
2020-03-24 09:42:54 -03:00
Denis Isidoro
ed0759f9e3
Fix multiline behavior in the bash widget (#308)
Fixes #306 

This only happens when using the bash widget
2020-03-24 08:38:42 -03:00
Denis Isidoro
77347231d1
Merge pull request #299 from Kibouo/improve-error-handling
Improve error handling
2020-03-23 16:35:25 -03:00
Csonka Mihaly
53c69aa72c Fix unnecessary allocations when reading file. 2020-03-23 17:16:13 +01:00
Csonka Mihaly
8c4100abea Potentialy fix error string creation to only be done when needed. 2020-03-23 17:04:32 +01:00
Csonka Mihaly
f214a561b8 Remove unneeded mut 2020-03-23 16:38:01 +01:00
Csonka Mihaly
1c7c2932dd Bump version to 2.4.0 2020-03-23 02:10:49 +01:00
Csonka Mihaly
80621dba78 Merge remote-tracking branch 'upstream/master' into improve-error-handling 2020-03-23 00:25:28 +01:00
Csonka Mihaly
ed8e3e43c3 Add context to file copy when pulling cheatsheets from a repo. 2020-03-23 00:24:35 +01:00
Csonka Mihaly
ec0bbf4e76 Fix remove dir panicing when the dir does not exist, but when the purpose is to make place for a replacement. 2020-03-22 23:50:44 +01:00
Csonka Mihaly
09dfc32d2c Fix "file an issue" error 2020-03-22 23:38:06 +01:00
Csonka Mihaly
4bc9b00a52 Add wrapper error telling the user to file an issue 2020-03-22 23:32:03 +01:00
Csonka Mihaly
a625b0aea0 Fix welcome command 2020-03-22 22:54:02 +01:00
Csonka Mihaly
4bfc2e5a6c Add BashSpawnError 2020-03-22 22:16:30 +01:00
Csonka Mihaly
5d2c2aca80 Add UnreadableDir error. 2020-03-22 21:08:04 +01:00
Denis Isidoro
c48213b948
Fix install script for Linux aarch64 2020-03-22 17:07:32 -03:00
Csonka Mihaly
11575a8443 Restructure error module 2020-03-22 20:47:13 +01:00
Csonka Mihaly
4bbccc2cfa Add InvalidPath error 2020-03-22 20:14:10 +01:00
Csonka Mihaly
38b85fabf6 Add thiserror dependency 2020-03-22 17:37:20 +01:00
Csonka Mihaly
5c44bba2bf Fix error message for absense of cheatsheet dir 2020-03-22 17:33:23 +01:00
Csonka Mihaly
800a7e61a7 Added backticks around variable data in error info. Less ambiguous when input is empty. 2020-03-22 16:31:49 +01:00
Denis Isidoro
b2f6ba54ca Update Cargo.lock 2020-03-22 10:24:48 -03:00
Denis Isidoro
8c3748f997
Fix --preview-window for repo browse (#302) 2020-03-22 10:14:47 -03:00
Csonka Mihaly
3c5d5aba98 Fix parsing of paths param with trailing colon to not yield an empty item + add test for this 2020-03-22 02:53:40 +01:00
Csonka Mihaly
a4c30d7439 Make shell handler return an anyhow::Error. 2020-03-22 01:54:04 +01:00
Csonka Mihaly
07509ddcd7 Add error context to parser. 2020-03-22 01:51:38 +01:00
Csonka Mihaly
c1c5910cf4 Make error info for cheatsheet paths acquisition more verbose. 2020-03-21 19:35:54 +01:00
Csonka Mihaly
1c22e11e09 Add error info to fzf. 2020-03-21 19:01:58 +01:00
Csonka Mihaly
a4e2311263 Add error info to filesystem operations. 2020-03-21 17:43:13 +01:00
Csonka Mihaly
ff264735b9 Add error info to core flow. 2020-03-21 15:56:03 +01:00
Csonka Mihaly
807c3a35a5 Make all regexes static. 2020-03-21 03:22:11 +01:00
Csonka Mihaly
0785f9cf30 Add error info for invalid regex. 2020-03-21 02:52:27 +01:00
Csonka Mihaly
d371300fac Add error info when getting terminal dimensions. 2020-03-21 02:49:36 +01:00
Csonka Mihaly
77d0de839e Fix error message when spawning bash in func. 2020-03-21 02:37:54 +01:00
Csonka Mihaly
a209dd94ca Add error info for welcome handling. 2020-03-21 02:19:06 +01:00
Csonka Mihaly
54fec8728e Add error context to ad-hoc functions. 2020-03-21 02:12:39 +01:00
Csonka Mihaly
0a84a0a2c9 Add error info to preview::extract_elements 2020-03-21 01:43:11 +01:00
Csonka Mihaly
f1182279a9 Add context to possible errors for the repo subcommand. 2020-03-21 01:34:20 +01:00
Csonka Mihaly
1d33211c45 Add context for errors when browsing featured cheatsheets. 2020-03-20 23:24:43 +01:00
Csonka Mihaly
70ec05ba5e Add anyhow dependency. 2020-03-20 22:51:07 +01:00
Denis Isidoro
a0636b1261
Merge pull request #298 from DenSA-Inc/tty-fix
fixed issue of terminal programs like fzf not recognizing stdin as terminal (#267)
2020-03-20 13:22:01 -03:00
densa-inc
c12c2abc69 fixed issue of terminal programs like fzf not recognizing stdin as terminal (#267) 2020-03-20 15:33:36 +01:00
Denis Isidoro
6e1edfb9ee
Merge pull request #297 from DenSA-Inc/fish-fix
Fix fish widget changing tty settings (#296)
2020-03-20 09:14:02 -03:00
densa-inc
1986dd4caf Fix fish widget changing tty settings (#296) 2020-03-20 12:43:31 +01:00
Denis Isidoro
790e24ea49
Mention --multi again 2020-03-19 22:15:02 -03:00
Denis Isidoro
10f0219792
Forward many more parameters to fzf after --- (#294) 2020-03-19 22:01:50 -03:00
Denis Isidoro
64045e32ca
Remove need for lifetime on FzfOpts (#293) 2020-03-19 20:50:45 -03:00
Denis Isidoro
73cd346c1b
fzf-overrides: no need for leading space 2020-03-19 15:27:34 -03:00
Denis Isidoro
f85a4b70f9
Fix typo 2020-03-19 11:19:39 -03:00