Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/vifm/vifm
Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
https://github.com/vifm/vifm
Out of tests/commands/misc.c
6d1196088bd34583dd62b17ec1ea6ddb896fcd0e authored almost 2 years ago by xaizek <[email protected]>e6c8ed740e1767d0e19f157a38f90475e949ac13 authored almost 2 years ago by xaizek <[email protected]>
fedcfec2b8c433a8309aeda4745a4bd089e87078 authored almost 2 years ago by xaizek <[email protected]>
Make aborting deletion abort the operation on the reset of files when
deleting multiple files.
...
74bcdc9b8ff11f493a1bd668036d6282c29f7357 authored almost 2 years ago by xaizek <[email protected]>
Not very useful at the moment, but a nice way to make sure that
reporting and checking for the v...
400c47d439c9dee29c2aa64fd4e793dd17e2775c authored almost 2 years ago by xaizek <[email protected]>
That is don't try to delete the rest of files queued for processing,
which is basically the poin...
Fix the last search direction not being saved on search performed from
non-normal mode.
Patch b...
49511afb9c55e853e7408110670ca9bce6ad665b authored almost 2 years ago by xaizek <[email protected]>Caused by 2336aed02d754ed39ef6b3b35d1004593442b6b5:
Don't invoke line change on entering cm...
6818f54607627334de980759db13b05faaca6b42 authored almost 2 years ago by xaizek <[email protected]>8a1c65748aa630ff129723c9e47a6e2d2d49c291 authored almost 2 years ago by xaizek <[email protected]>
Follow-up of feb84ff8c2eb8c91c31c353f6a60e4a6524c08e2:
Fix saving last search direction
...
ee92ecab963b34064605db0067c12df56334baba authored almost 2 years ago by xaizek <[email protected]>Performed from non-normal modes.
An addition to b1efa63af4eacd1b17c4d7a6381c35526471042f:
...
feb84ff8c2eb8c91c31c353f6a60e4a6524c08e2 authored almost 2 years ago by filterfalse <[email protected]>2f7b73cad3d59889749e26ae46ea9658dc33c6d3 authored almost 2 years ago by filterfalse <[email protected]>
53d5317fd65dd0acbe8fa5216764bf09b4e49a25 authored almost 2 years ago by xaizek <[email protected]>
64c31bbe752a8852c024d93e142071ba1f683343 authored almost 2 years ago by filterfalse <[email protected]>
Made one new test more portable.
Fix description of %i macro in the documentation to mention th...
1d3d560dffd58cb5cc7409465ee001460761b900 authored almost 2 years ago by xaizek <[email protected]>
The API is experimental and having a change log is useful to have for
adjusting plugins as the i...
Check that `ueberzug` is available and restart it if it exits.
4796dba43aa1f36200331387293b4751ba89d1bb authored almost 2 years ago by xaizek <[email protected]>ffc2a3263598f61510e349d0614797570c3e56a8 authored almost 2 years ago by xaizek <[email protected]>
acc94ea72507a27a0f4de26cbf0ce6dad8505dec authored almost 2 years ago by xaizek <[email protected]>
It's true for sourcing in general, e.g. for processing of color schemes.
835f5beb319c9cbe2a9cf0243f978d4a0b9f6f25 authored almost 2 years ago by xaizek <[email protected]>Mention that it runs command in background.
de7c5835927ecd0d03cb44566bfedbbd7508d42f authored almost 2 years ago by xaizek <[email protected]>453e417351656c117dffcdee4ed314ec1dd8cbc0 authored almost 2 years ago by xaizek <[email protected]>
211 was still too dark for pdf-like stuff, using 218 now.
26bf8b38b82758a19708f09078cd4ef9a5198e80 authored almost 2 years ago by xaizek <[email protected]>It might be a bit faster and the code looks simpler this way.
a2638effa4d85822190635763494a6a7f0583e86 authored almost 2 years ago by xaizek <[email protected]>Use contains_slash() function instead.
80dd7812872827f9cb1bbdeac76bc547052ee808 authored almost 2 years ago by xaizek <[email protected]>05c3798154fe061087e8532c4477efa2bf3d63e1 authored almost 2 years ago by xaizek <[email protected]>
89708572bf926f0c3d036aa87cd6720e9185feb3 authored almost 2 years ago by xaizek <[email protected]>
Error messages shouldn't be hard-coded because they are different in
different implementations.
Don't move cursor on search failure during search with a count.
Specified a few more cases when...
0f0aec915f09e28a8cddb55ee4b66645c2abf2df authored almost 2 years ago by xaizek <[email protected]>
This stuff needs to be in a header, so keep that version, but don't
define it by default.
f6624d5df6df0efa89d7d9de3094e9873c7261c6 authored almost 2 years ago by xaizek <[email protected]>
Happened in visual mode with search highlighting turned on, after
filling the command-line with ...
Show a normal fail message instead of "0 of n matching files for: pat"
at the end of failed incr...
29c5773e66464571979514891e5b13593d3232c9 authored almost 2 years ago by filterfalse <[email protected]>
Not just 'nohlsearch', but also if found a match, 'hlsearch wrapscan'
and in visual mode. The i...
e3a97c6fe7c449f00394d657720a8943fa806422 authored almost 2 years ago by filterfalse <[email protected]>
86f91af14e4c6c3ac6420c1b959e5cfc6b731884 authored almost 2 years ago by filterfalse <[email protected]>
Pay no attention to wrong messages in some cases for now, it's going to
be fixed later.
From goto_search_match() and find_and_goto_match(). They return an
index of a match instead of ...
Should've been done it in the "Remove no longer used parameters in
find_pattern()".
The parameters are `stash_selection` and `select_matches`.
30bd3ef8b132c66ea9d30760650a169d097b67ed authored almost 2 years ago by filterfalse <[email protected]>38dd1675bde0034c0bdcac590049f1353ce166dc authored almost 2 years ago by filterfalse <[email protected]>
Otherwise, count from a previous search could've been applied. This is
rather a temporary measu...
From modes/{normal,visual}.c:search().
518c79687ba3ba14eacef046923ffe1ebdb7fb98 authored almost 2 years ago by filterfalse <[email protected]>584518056e957c24833d2f21623b6e29f910ae43 authored almost 2 years ago by filterfalse <[email protected]>
e2f0ab4133e0975c84be47b9b8a651e9c1ac313d authored almost 2 years ago by filterfalse <[email protected]>
Otherwise, tests/menus/history.c:fsearch_hist_does_not_split_at_bar()
will crash on search if [c...
The parameters are `backward`, `move`, `*found` and most of the
`print_errors` logic.
c558659e5805039905ac887e0e14b42e480f2eb7 authored almost 2 years ago by filterfalse <[email protected]>
It reset count to 1 after the first typed character during incremental
search and the rest of th...
088e0aeb5b535964b9e34aac02debd7542a0aeee authored almost 2 years ago by filterfalse <[email protected]>
e29cb68a9470a9b85e058c3acdcce5e0063b2666 authored almost 2 years ago by filterfalse <[email protected]>
I.e., don't move cursor and don't show messages. It fixes the wrong
match number in the message...
c790187b54ef51da54022d2e50939fec309882a0 authored almost 2 years ago by filterfalse <[email protected]>
2b1eafdf36e866c21c4a67ae58e999f307708775 authored almost 2 years ago by filterfalse <[email protected]>
It was always equal to 0.
ec76f525c292de1a7c2c6fa0a7b76064bed9a214 authored almost 2 years ago by filterfalse <[email protected]>
The found detection is far from perfect. Also, organize the code in
visual.c:search() the same ...
Fix cursor jumping in interactive search.
Thanks to filterfalse.
Add filereadable() builtin fu...
f716368b053dcdb6019251a53d87183c0045ffc2 authored almost 2 years ago by xaizek <[email protected]>d86fa5f4c6128a51b4d2a62fd63d45e4d004fa8a authored almost 2 years ago by xaizek <[email protected]>
Mainly as a way to check file's presence.
2e02ed16b212aaf0849512d32ee7da1273f40b80 authored almost 2 years ago by xaizek <[email protected]>`>` doesn't need to be terminated with `<`.
87882f978e1e443c41a37eb84d3c0654022abc72 authored almost 2 years ago by xaizek <[email protected]>58c88488c50abcb12dd9d83493f4602e0e96b052 authored almost 2 years ago by xaizek <[email protected]>
This is a side effect of cafecc5332f1e94a3e0e1752a620c9e7b6023029:
Return CMDS_ERR_CUSTOM o...
e238b36ea09c6b0e2dcadf090afa6d6e2156a38d authored almost 2 years ago by xaizek <[email protected]>So that it's clear that errors are coming from sourcing attempt.
91e6423f8fd9f4b997127f7c139fb3888c040796 authored almost 2 years ago by xaizek <[email protected]>When specified path doesn't exist.
3ef11235f3e329798c41e86a37a5a94851444e8a authored almost 2 years ago by xaizek <[email protected]>This is the result of 8d24fa6e1914fbd7a832e4f4323e0eb7fea1d315:
Fix :filter in :autocmd mes...
719e0d58a9b325cd1117fe4581bb84e5b2ad1427 authored almost 2 years ago by xaizek <[email protected]>Forgot to do this and OS X CI now fails.
7ca8fc7cab910d7cf2b4bf879e901895fc1750c4 authored almost 2 years ago by xaizek <[email protected]>
Use random() instead of rand() when available and use it to generate
unique temporary file names...
Switch cmds_get_ext() to using make_file_in_tmp().
4508939dacbe47cff1a8032cd4986d8b1524a4cd authored almost 2 years ago by xaizek <[email protected]>OP_COPY and OP_COPYF are equivalent in this context.
21e55a67f7468ead9ab009c76c5e93e014f6eb04 authored almost 2 years ago by xaizek <[email protected]>
`safe_operation` boolean that indicates whether we need to perform
operation safely is very conf...
Use make_file_in_tmp() instead. umask() is bad for multithreaded code.
In case of Vifm it means...
It's for creating temporary files in temporary directory.
make_tmp_file() is now used only by m...
6972cca948fd49f5f68078c39f4e983ffa7aec0e authored almost 2 years ago by xaizek <[email protected]>b9685071a52aaf8bb4e869ca491ae79f41cc0c6c authored almost 2 years ago by xaizek <[email protected]>
Coverity doesn't like it:
CID 1497216 (#1 of 1): Insecure temporary file (SECURE_TEMP)
secu...
b1434dce0f75c66cce5a373e60cfb60bc437a1e5 authored almost 2 years ago by xaizek <[email protected]>
random() is defined to be non-linear additive feedback RNG, while rand()
can be a linear congrue...
It's used by lua sources.
f23af595c32479ac26faa1630384dafc2c05e2fd authored almost 2 years ago by xaizek <[email protected]>620acae5bad8ef39407bfd5c6667ec11b299d93d authored almost 2 years ago by xaizek <[email protected]>
It's working again for the project since last September, forgot to add
it then.
Found by Coverity:
CID 1506348: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
inte...
Add additional User10..User20 highlight groups and corresponding
%10*-%20* macros.
Thanks to Sy...
52d5ecc29905ca6f6c09d904d95335c94345f5e0 authored almost 2 years ago by xaizek <[email protected]>835b28eaa1a3b2dd58d24266eb8a86cae81b6e16 authored almost 2 years ago by xaizek <[email protected]>
Provides title and type of custom view if it's active.
74b35038139accf2805e3a50914d5676b688dac7 authored almost 2 years ago by xaizek <[email protected]>Retrieves textual description of the specified custom view type.
9a882b9f19080e04968381c281f5d3ea7df2ba0a authored almost 2 years ago by xaizek <[email protected]>d8271d6442db3b44258edc3471b8375d2fe1d0f6 authored almost 2 years ago by xaizek <[email protected]>
e013dbb1570912cb7b4703e0b6bb95945b048b73 authored almost 2 years ago by xaizek <[email protected]>
Invokes a format handler. Expects a table argument to it at the top of
Lua stack.
675da2751d854e4fb60e962d2008609caea4a8c3 authored almost 2 years ago by xaizek <[email protected]>
Later might do this explicitly on pane=current and also handle
pane=other (could use pane=0 and ...
Instead of picking top/left or bottom/right panes, it picked
current (pane=1) or other (pane=2) ...
It changed after 755c81f4b0b461b9d29b77ad852743898eff7852:
Remove weird fast-track path in ...
4685a9982031146b78324afa4dbe27cc7cdfdc6b authored almost 2 years ago by xaizek <[email protected]>Along with corresponding %10*-%20* macros.
Thanks to Sylwia Ptasinska (a.k.a. SylEleuth).
Clos...
9473639a6aa7048560fa5de66079a64a3dae07b9 authored almost 2 years ago by xaizek <[email protected]>62a1d86f52825e61abc432acf2868f259ef7ad5f authored almost 2 years ago by xaizek <[email protected]>
So that number of user colors can be changed more easily.
5feeeafaf6dc74ad5d19aeb04634d363e0d1ca7d authored almost 2 years ago by xaizek <[email protected]>This is better than leaving dealing with characters to the caller.
e10d1a5f79a966995996e32f1a9fb3664de3d7c1 authored almost 2 years ago by xaizek <[email protected]>
Make it a bit brighter. 210 is quite dark. 211 is closer to magenta
than 210, but it's still d...
Add :regedit command for external editing of register contents.
Thanks to Daniel J. Perry (BioB...
bd2268bbd3224ac77965baf93176c892b5ae2489 authored almost 2 years ago by xaizek <[email protected]>Thanks to Rostislav Tolushkin (a.k.a. nullptr-deref).
ef2ca6fed6a814874fa9d322a7713680789b2d03 authored almost 2 years ago by xaizek <[email protected]>