Commit Graph

57 Commits

Author SHA1 Message Date
Nikita Ivanov
648df6fe5c
{{{ -> {{ 2022-06-08 11:50:10 +05:00
Nikita Ivanov
d6d2ae46d9
Fix 2022-06-08 11:30:29 +05:00
Nikita Ivanov
1651ae8df9
Fixes, improvements 2022-06-08 10:39:05 +05:00
Nikita Ivanov
154a0bfd41
Print errors to stdout so lf doesn't swallow them 2022-06-08 08:43:27 +05:00
Nikita Ivanov
17f917f141
Fix 2022-06-08 08:43:18 +05:00
Nikita Ivanov
ecf560c2b8
end -> newline 2022-06-08 08:42:55 +05:00
Nikita Ivanov
9227cea15d
Fix 2022-06-08 08:39:27 +05:00
Nikita Ivanov
ab271fd493
Show line and column on parse errors 2022-06-08 08:33:52 +05:00
Nikita Ivanov
ab47acdf04
Add custom previews support 2022-06-08 05:55:42 +05:00
Nikita Ivanov
55cd11f545
Add lexer for config parsing 2022-06-07 12:49:59 +05:00
Nikita Ivanov
0ae355868d
Add vector_resize 2022-06-07 00:17:38 +05:00
Nikita Ivanov
55cb74435b
Remove char_v, proper custom function naming 2022-06-06 04:43:46 +05:00
Nikita Ivanov
38c0b56286
Add vectors 2022-06-05 23:56:48 +05:00
Nikita Ivanov
09e688d53b
Fix: write/read expect number of bytes, not len 2022-06-05 00:31:16 +05:00
Nikita Ivanov
302c77245b
Minor 2022-06-05 00:19:11 +05:00
Nikita Ivanov
98770e2842
Minor 2022-06-02 05:47:45 +05:00
Nikita Ivanov
03f4da1b46
Minor: char const *c -> const char *c 2022-06-02 04:37:43 +05:00
Nikita Ivanov
d3c5a286c8
Calculate column widths 2022-06-01 21:17:47 +05:00
Nikita Ivanov
266ed12cdb
Split prev/text.sh into 4 different previews 2022-06-01 21:09:33 +05:00
Nikita Ivanov
cc0b5d9342
Minor 2022-06-01 03:18:22 +05:00
Nikita Ivanov
f89b376e4b
Fix: wrong label 2022-06-01 03:13:21 +05:00
Nikita Ivanov
402e4aa932
Minor 2022-06-01 03:05:24 +05:00
Nikita Ivanov
0da19f7c37
Fix 2022-06-01 02:48:36 +05:00
Nikita Ivanov
b28bd33f41
Fix: reopen fifo when writer closes 2022-06-01 02:47:37 +05:00
Nikita Ivanov
6690c5048d
Fix: signal handlers don't work 2022-06-01 00:14:00 +05:00
Nikita Ivanov
a1d9f8d5d9
Minor 2022-05-31 23:50:26 +05:00
Nikita Ivanov
ba00ea1435
Fallback if $fifo is empty 2022-05-31 23:50:26 +05:00
Nikita Ivanov
e23690151c
Check cache every time and don't call ctpv from preview 2022-05-31 23:50:03 +05:00
Nikita Ivanov
5f0a224d17
Minor 2022-05-31 22:59:43 +05:00
Nikita Ivanov
6717a5f62e
Set $fifo variable when ctpv is started 2022-05-31 22:59:43 +05:00
Nikita Ivanov
ea3a852acc
Minor 2022-05-29 23:34:21 +05:00
Nikita Ivanov
6bc8da73ca
ctpvclear: add option to pass id as argument 2022-05-29 21:40:11 +05:00
Nikita Ivanov
ee85f98008
Fix 2022-05-29 21:33:20 +05:00
Nikita Ivanov
d2f87bc22f
Ignore exiftool errors 2022-05-29 20:13:10 +05:00
Nikita Ivanov
bb0f2e955a
Minor: comments, small fixes 2022-05-29 01:39:21 +05:00
Nikita Ivanov
647f07bab5
Minor 2022-05-29 01:38:29 +05:00
Nikita Ivanov
d67d10af9f
Allow passing id as 6th argument 2022-05-29 01:06:41 +05:00
Nikita Ivanov
5bdf9d372b
Prepend every script with helpers.sh in runtime 2022-05-28 22:33:18 +05:00
Nikita Ivanov
d921371610
Add char_v_append_str() 2022-05-28 22:31:09 +05:00
Nikita Ivanov
d2b86ba8b3
Move cache validation logic into ctpv.c 2022-05-28 19:07:59 +05:00
Nikita Ivanov
770d92769e
Add video and pdf support 2022-05-26 20:15:59 +05:00
Nikita Ivanov
04fc61c901
Minor 2022-05-26 03:03:55 +05:00
Nikita Ivanov
0ab9be934f
Add ueberzug support 2022-05-26 02:57:50 +05:00
Nikita Ivanov
6a5fb93850
Minor 2022-05-24 06:37:50 +05:00
Nikita Ivanov
82a82e4a61
Print error if exit code is not 127 2022-05-24 05:46:34 +05:00
Nikita Ivanov
f37e3a1885
Print file and linenum on errors
Add more macros for printing errors
2022-05-24 05:40:50 +05:00
Nikita Ivanov
ebee69678b
Fix: get longest extension 2022-05-24 02:40:46 +05:00
Nikita Ivanov
d989e5e99b
Minor 2022-05-24 01:03:13 +05:00
Nikita Ivanov
7f0ea955c4
Fix: add check for hidden files in get_ext() 2022-05-24 00:36:02 +05:00
Nikita Ivanov
1f460e2de1
Allow passing NULL as fds 2022-05-23 23:49:57 +05:00