Nikita Ivanov
d590bf66ad
Better macros for error handling
2022-06-17 03:55:27 +05:00
Nikita Ivanov
353129c560
Minor
2022-06-16 10:08:40 +05:00
Nikita Ivanov
c40cf7e2eb
Minor
2022-06-16 09:28:02 +05:00
Nikita Ivanov
325b3a4cfd
Fix
2022-06-16 09:12:42 +05:00
Nikita Ivanov
80bb87b899
Fix
2022-06-16 03:29:09 +05:00
Nikita Ivanov
d6642a19dc
Fix
2022-06-15 23:43:23 +05:00
Nikita Ivanov
78b1bf2f7a
Merge branch 'master' of https://github.com/NikitaIvanovV/ctpv
2022-06-15 23:19:58 +05:00
Nikita Ivanov
f224b98fe4
Some improvements
2022-06-15 23:19:27 +05:00
Nikita Ivanov
9f6656a375
Fix
2022-06-15 14:42:52 +05:00
Nikita Ivanov
0fd1c038cc
Minor
2022-06-15 14:24:54 +05:00
Nikita Ivanov
694ecd495a
Minor
2022-06-15 07:15:34 +05:00
Nikita Ivanov
33cdf8bebd
Install man page
2022-06-14 17:50:15 +05:00
Nikita Ivanov
5ee4d34d81
Minor
2022-06-14 17:19:18 +05:00
Nikita Ivanov
52667953af
Add README
2022-06-14 16:04:48 +05:00
Nikita Ivanov
7c7ea7c37e
Add man page
2022-06-14 16:02:29 +05:00
Nikita Ivanov
1d7f2cc63d
Minor
2022-06-13 11:20:51 +05:00
Nikita Ivanov
00568ce0f6
Fix
2022-06-12 22:32:57 +05:00
Nikita Ivanov
9d5c7f144f
Fix: prioritize more specific previews
2022-06-12 22:32:15 +05:00
Nikita Ivanov
bd5dd31aed
Fix: breaks if several previews with the same name
2022-06-12 22:29:07 +05:00
Nikita Ivanov
39311ccb0c
Add more built-in previews
2022-06-12 22:28:50 +05:00
Nikita Ivanov
fe0bc5c650
Minor
2022-06-12 15:39:35 +05:00
Nikita Ivanov
f477fb691c
-O2 by default
2022-06-12 15:25:43 +05:00
Nikita Ivanov
852f8af0a3
Minor
2022-06-12 15:24:42 +05:00
Nikita Ivanov
c3ad27a830
Rename some previews
2022-06-12 12:57:20 +05:00
Nikita Ivanov
23921c51fd
A
2022-06-12 12:49:41 +05:00
Nikita Ivanov
6dc8bf1e7a
Minor
2022-06-11 20:07:32 +05:00
Nikita Ivanov
8ee70e735e
Print values in debug mode
2022-06-11 13:22:45 +05:00
Nikita Ivanov
6b5b6bc91c
Fix
2022-06-11 13:20:18 +05:00
Nikita Ivanov
4ff1c04c80
Minor
2022-06-11 11:52:12 +05:00
Nikita Ivanov
6900c4c9fa
Fix
2022-06-11 11:27:21 +05:00
Nikita Ivanov
773df4c35a
Fix: broken strings if parsed file is large
...
Use unrolled linked list instead of vector
for storing text
2022-06-11 11:14:12 +05:00
Nikita Ivanov
88a2766221
Minor
2022-06-11 03:56:17 +05:00
Nikita Ivanov
2542e530c4
Fix: zsh doesn't exit with 141 code
2022-06-10 16:38:17 +05:00
Nikita Ivanov
ca85b5c017
Fix
2022-06-10 14:00:43 +05:00
Nikita Ivanov
f850b4b116
Add remove config
2022-06-10 13:25:11 +05:00
Nikita Ivanov
a44cc26cef
Fix
2022-06-10 13:06:41 +05:00
Nikita Ivanov
a6388d3950
Add option to specify second type
...
(to mix mimetype and ext)
2022-06-10 11:59:12 +05:00
Nikita Ivanov
ee2746e240
Assume 1 if priority was not specified
2022-06-10 11:46:31 +05:00
Nikita Ivanov
7e524e0687
Report error if such preview does not exist
2022-06-10 11:45:54 +05:00
Nikita Ivanov
46a00e4d4e
Ignore 141 error code
...
Apparently it means process was terminated with SIGPIPE
and we want to ignore this error because lf sends this
signal when enough lines of input are read
2022-06-10 11:42:57 +05:00
Nikita Ivanov
f0204c359e
Add support for comments in config
2022-06-09 12:34:21 +05:00
Nikita Ivanov
0d5c32baf5
Add ability to change previews priority in config
2022-06-09 10:54:37 +05:00
Nikita Ivanov
8f2b3a403b
"Break" mimetype only once
2022-06-09 10:20:12 +05:00
Nikita Ivanov
3cfc0b2611
Minor
2022-06-09 10:02:30 +05:00
Nikita Ivanov
3a47728b7e
Move src/previews.h -> previews.h
2022-06-09 09:55:53 +05:00
Nikita Ivanov
a98d491125
Move .c and .h to src/
2022-06-08 15:41:30 +05:00
Nikita Ivanov
2b7d50e914
Minor
2022-06-08 15:26:14 +05:00
Nikita Ivanov
bd1eaaf6e0
Minor improvements
2022-06-08 15:25:39 +05:00
Nikita Ivanov
648df6fe5c
{{{ -> {{
2022-06-08 11:50:10 +05:00
Nikita Ivanov
d6d2ae46d9
Fix
2022-06-08 11:30:29 +05:00