Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Vifm

Creates Vim among file managers.
Collective - Host: opensource - https://opencollective.com/vifm - Website: https://vifm.info - Code: https://github.com/vifm

Fix dropping selected files during incsearch

Happened in visual mode with search highlighting turned on, after
filling the command-line with ...

github.com/vifm/vifm - 911b2d3408d463e83ee0336db1cde0064979b6a3 authored almost 2 years ago by filterfalse <[email protected]>
Show better message at the end of incsearch

Show a normal fail message instead of "0 of n matching files for: pat"
at the end of failed incr...

github.com/vifm/vifm - 68da840292a0f3381b5a7c36f4055006ed1d4939 authored almost 2 years ago by filterfalse <[email protected]>
Show messages for n/N using logic from /?

github.com/vifm/vifm - 29c5773e66464571979514891e5b13593d3232c9 authored almost 2 years ago by filterfalse <[email protected]>
Show messages after a search in a few more cases

Not just 'nohlsearch', but also if found a match, 'hlsearch wrapscan'
and in visual mode. The i...

github.com/vifm/vifm - 12c1e0c9f9e3bf9b1a2a221d9880c9f88441a39c authored almost 2 years ago by filterfalse <[email protected]>
Replace move_cursor_and_redraw() with fpos_set_pos()

github.com/vifm/vifm - e3a97c6fe7c449f00394d657720a8943fa806422 authored almost 2 years ago by filterfalse <[email protected]>
Reduce view/cursor redraws for search in vismode

github.com/vifm/vifm - 86f91af14e4c6c3ac6420c1b959e5cfc6b731884 authored almost 2 years ago by filterfalse <[email protected]>
Don't move cursor during search with a count

Pay no attention to wrong messages in some cases for now, it's going to
be fixed later.

github.com/vifm/vifm - a5b93f573f4b4e709d951e242a2aedde2a276d37 authored almost 2 years ago by filterfalse <[email protected]>
Extract find_search_match() and find_match()

From goto_search_match() and find_and_goto_match(). They return an
index of a match instead of ...

github.com/vifm/vifm - 3547c66671f146bfbc9e26e47c3d730bcf69abb8 authored almost 2 years ago by filterfalse <[email protected]>
Rearrange the code in search_{find,next}()

github.com/vifm/vifm - e2f0ab4133e0975c84be47b9b8a651e9c1ac313d authored almost 2 years ago by filterfalse <[email protected]>
Remove leftover `print_errors` in find_pattern()

Should've been done it in the "Remove no longer used parameters in
find_pattern()".

github.com/vifm/vifm - 94bf40f05d247b18b506aef4430e49ee3b1754bb authored almost 2 years ago by filterfalse <[email protected]>
Turn setting/restoring cfg.hl_search into params

The parameters are `stash_selection` and `select_matches`.

github.com/vifm/vifm - 30bd3ef8b132c66ea9d30760650a169d097b67ed authored almost 2 years ago by filterfalse <[email protected]>
Extract search_next()

From modes/{normal,visual}.c:search().

github.com/vifm/vifm - 518c79687ba3ba14eacef046923ffe1ebdb7fb98 authored almost 2 years ago by filterfalse <[email protected]>
Reset search count to 1 from non-normal modes

Otherwise, count from a previous search could've been applied. This is
rather a temporary measu...

github.com/vifm/vifm - b1efa63af4eacd1b17c4d7a6381c35526471042f authored almost 2 years ago by filterfalse <[email protected]>
Rename find_pattern() to search_pattern()

github.com/vifm/vifm - 584518056e957c24833d2f21623b6e29f910ae43 authored almost 2 years ago by filterfalse <[email protected]>
Extract search_find() from mod{norm,visual}_find()

github.com/vifm/vifm - 38dd1675bde0034c0bdcac590049f1353ce166dc authored almost 2 years ago by filterfalse <[email protected]>
Extract print_search_result() from find_pattern()

github.com/vifm/vifm - e29cb68a9470a9b85e058c3acdcce5e0063b2666 authored almost 2 years ago by filterfalse <[email protected]>
Only find pattern upon find_pattern() calls

I.e., don't move cursor and don't show messages. It fixes the wrong
match number in the message...

github.com/vifm/vifm - 777c40e574297ba8fe5203c34818394348746b86 authored almost 2 years ago by filterfalse <[email protected]>
Add more functional tests for a search

github.com/vifm/vifm - 088e0aeb5b535964b9e34aac02debd7542a0aeee authored almost 2 years ago by filterfalse <[email protected]>
Don't reset count on search in normal mode

It reset count to 1 after the first typed character during incremental
search and the rest of th...

github.com/vifm/vifm - c7a3751af3a2ffb36ac36fe65126d46f67d66ca4 authored almost 2 years ago by filterfalse <[email protected]>
Don't crash on search in empty view

Otherwise, tests/menus/history.c:fsearch_hist_does_not_split_at_bar()
will crash on search if [c...

github.com/vifm/vifm - f8d4e3051e1fed71d41ae29f2b5de43e1773eda9 authored almost 2 years ago by filterfalse <[email protected]>
Merge print_result() into print_search_result()

github.com/vifm/vifm - c558659e5805039905ac887e0e14b42e480f2eb7 authored almost 2 years ago by filterfalse <[email protected]>
Remove no longer used parameters in find_pattern()

The parameters are `backward`, `move`, `*found` and most of the
`print_errors` logic.

github.com/vifm/vifm - c389668fcf4edd1ab803a271f32a4a5a1f4dd8f6 authored almost 2 years ago by filterfalse <[email protected]>
Fix resetting 'hls' during incsearch in vismode

github.com/vifm/vifm - c790187b54ef51da54022d2e50939fec309882a0 authored almost 2 years ago by filterfalse <[email protected]>
Synchronize error messages for invalid patterns

github.com/vifm/vifm - 2b1eafdf36e866c21c4a67ae58e999f307708775 authored almost 2 years ago by filterfalse <[email protected]>
Remove the interactive param in visual.c:search()

It was always equal to 0.

github.com/vifm/vifm - ec76f525c292de1a7c2c6fa0a7b76064bed9a214 authored almost 2 years ago by filterfalse <[email protected]>
Fix v_n not moving the cursor without prior search

The found detection is far from perfect. Also, organize the code in
visual.c:search() the same ...

github.com/vifm/vifm - 18df97be2bb90cbf9124ed5367284cadc581cfb9 authored almost 2 years ago by filterfalse <[email protected]>
Highlight comments after :source command

github.com/vifm/vifm.vim - 639cfcb386fa419d8e27c69f489d6fedc53ec292 authored almost 2 years ago by xaizek <[email protected]>
Add filereadable() builtin function

Mainly as a way to check file's presence.

github.com/vifm/vifm.vim - ccd8ae0d70ae64322af5bf9f854db7595516afff authored almost 2 years ago by xaizek <[email protected]>
Fix double empty line in vifm-app.txt

`>` doesn't need to be terminated with `<`.

github.com/vifm/vifm.vim - 5661fe261b10a04d4781416060c946738ff3f45a authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'mostly-source-cmd-changes'

Fix cursor jumping in interactive search.

Thanks to filterfalse.

Add filereadable() builtin fu...

github.com/vifm/vifm - f716368b053dcdb6019251a53d87183c0045ffc2 authored almost 2 years ago by xaizek <[email protected]>
Highlight comments after :source command

github.com/vifm/vifm - d86fa5f4c6128a51b4d2a62fd63d45e4d004fa8a authored almost 2 years ago by xaizek <[email protected]>
Add filereadable() builtin function

Mainly as a way to check file's presence.

github.com/vifm/vifm - 2e02ed16b212aaf0849512d32ee7da1273f40b80 authored almost 2 years ago by xaizek <[email protected]>
Fix double empty line in vifm-app.txt

`>` doesn't need to be terminated with `<`.

github.com/vifm/vifm - 87882f978e1e443c41a37eb84d3c0654022abc72 authored almost 2 years ago by xaizek <[email protected]>
Bring functions together in syntax.vifm test

github.com/vifm/vifm - 58c88488c50abcb12dd9d83493f4602e0e96b052 authored almost 2 years ago by xaizek <[email protected]>
Document change in handling of :command errors

This is a side effect of cafecc5332f1e94a3e0e1752a620c9e7b6023029:

Return CMDS_ERR_CUSTOM o...

github.com/vifm/vifm - e238b36ea09c6b0e2dcadf090afa6d6e2156a38d authored almost 2 years ago by xaizek <[email protected]>
Improve error messages of :source

So that it's clear that errors are coming from sourcing attempt.

github.com/vifm/vifm - 91e6423f8fd9f4b997127f7c139fb3888c040796 authored almost 2 years ago by xaizek <[email protected]>
Fix :source producing too many errors

When specified path doesn't exist.

github.com/vifm/vifm - 3ef11235f3e329798c41e86a37a5a94851444e8a authored almost 2 years ago by xaizek <[email protected]>
Fix cursor jumping in interactive search

This is the result of 8d24fa6e1914fbd7a832e4f4323e0eb7fea1d315:

Fix :filter in :autocmd mes...

github.com/vifm/vifm - 719e0d58a9b325cd1117fe4581bb84e5b2ad1427 authored almost 2 years ago by xaizek <[email protected]>
Include fs_limits.h in new utils/make_tmp_file.c

Forgot to do this and OS X CI now fails.

github.com/vifm/vifm - 7ca8fc7cab910d7cf2b4bf879e901895fc1750c4 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'drop-umask-calls'

Use random() instead of rand() when available and use it to generate
unique temporary file names...

github.com/vifm/vifm - fd37db72640a86859efecd951030e2b8890f053c authored almost 2 years ago by xaizek <[email protected]>
Make fops_put.c:put_next() more readable

`safe_operation` boolean that indicates whether we need to perform
operation safely is very conf...

github.com/vifm/vifm - 4bf4d2d6547c747eecb845d60e9b2c636637c5ab authored almost 2 years ago by xaizek <[email protected]>
Stop using umask()

Use make_file_in_tmp() instead. umask() is bad for multithreaded code.
In case of Vifm it means...

github.com/vifm/vifm - 6730cf1eca192ef93e548e2e62f162e8d1ae836f authored almost 2 years ago by xaizek <[email protected]>
Optimize put_next() for one more operation kind

OP_COPY and OP_COPYF are equivalent in this context.

github.com/vifm/vifm - 21e55a67f7468ead9ab009c76c5e93e014f6eb04 authored almost 2 years ago by xaizek <[email protected]>
Remove generate_tmp_file_name() and its last use

Switch cmds_get_ext() to using make_file_in_tmp().

github.com/vifm/vifm - 4508939dacbe47cff1a8032cd4986d8b1524a4cd authored almost 2 years ago by xaizek <[email protected]>
Introduce make_file_in_tmp() function

It's for creating temporary files in temporary directory.

make_tmp_file() is now used only by m...

github.com/vifm/vifm - 6972cca948fd49f5f68078c39f4e983ffa7aec0e authored almost 2 years ago by xaizek <[email protected]>
Re-implement tmpfile() on all platforms

Coverity doesn't like it:

CID 1497216 (#1 of 1): Insecure temporary file (SECURE_TEMP)
secu...

github.com/vifm/vifm - d16c72912f4b3b975de125cb5cd3e8b22f5b5b24 authored almost 2 years ago by xaizek <[email protected]>
Don't mix :set and :colorscheme in sample vifmrcs

github.com/vifm/vifm - b9685071a52aaf8bb4e869ca491ae79f41cc0c6c authored almost 2 years ago by xaizek <[email protected]>
Note the issue with trashing in background

github.com/vifm/vifm - b1434dce0f75c66cce5a373e60cfb60bc437a1e5 authored almost 2 years ago by xaizek <[email protected]>
Use random() instead of rand() when available

random() is defined to be non-linear additive feedback RNG, while rand()
can be a linear congrue...

github.com/vifm/vifm - 82dde6f26dbfd6a6c5569e442043d71c5f8b1869 authored almost 2 years ago by xaizek <[email protected]>
Check for mkstemp() in configure

It's used by lua sources.

github.com/vifm/vifm - f23af595c32479ac26faa1630384dafc2c05e2fd authored almost 2 years ago by xaizek <[email protected]>
Group some similar things in configure.ac

github.com/vifm/vifm - 620acae5bad8ef39407bfd5c6667ec11b299d93d authored almost 2 years ago by xaizek <[email protected]>
Return Coverity's badge to the README

It's working again for the project since last September, forgot to add
it then.

github.com/vifm/vifm - a74882a07672bd63a6557751114d9a4cf70673b2 authored almost 2 years ago by xaizek <[email protected]>
Fix ETA rounding in format_io_stats()

Found by Coverity:

CID 1506348: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
inte...

github.com/vifm/vifm - 501857a30ef6d5c1f473131b9d525fe986352046 authored almost 2 years ago by xaizek <[email protected]>
Add 'tabline' option to specify fmt of the tabline

github.com/vifm/vifm.vim - 56db9c9a49ec19af896de80714e5ed67fd8c5aab authored almost 2 years ago by xaizek <[email protected]>
Add VifmView.custom table

Provides title and type of custom view if it's active.

github.com/vifm/vifm.vim - d0bceccaea6bd3fe017f4f609e7c91ff712196e3 authored almost 2 years ago by xaizek <[email protected]>
Make VifmTab:getview() return active pane of gtab

Later might do this explicitly on pane=current and also handle
pane=other (could use pane=0 and ...

github.com/vifm/vifm.vim - c5c506eea10f361d07cfe82adeab3ee1cfdc3ebc authored almost 2 years ago by xaizek <[email protected]>
Add additional User10..User20 highlight groups

Along with corresponding %10*-%20* macros.

Thanks to Sylwia Ptasinska (a.k.a. SylEleuth).

Clos...

github.com/vifm/vifm.vim - 26edf964f90fa8aa9724ca252385062e952c51e4 authored almost 2 years ago by xaizek <[email protected]>
Document that Lua handlers are run in safe env

github.com/vifm/vifm.vim - da856f3f6e38c560ea4a80805905802b0cea2fa6 authored almost 2 years ago by xaizek <[email protected]>
Make 'tabline' accept Lua handler

github.com/vifm/vifm.vim - 3d539a0ec077dd3ed08046c7b9e19fbc89f0d36e authored almost 2 years ago by xaizek <[email protected]>
Fix typo in the docs: ment -> meant

github.com/vifm/vifm.vim - 1c72cac263d4cbb097fb9943dea6efd1e399f29a authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'lua-tabline'

Add additional User10..User20 highlight groups and corresponding
%10*-%20* macros.

Thanks to Sy...

github.com/vifm/vifm - 52d5ecc29905ca6f6c09d904d95335c94345f5e0 authored almost 2 years ago by xaizek <[email protected]>
Add sample powerline-like tabline plugin

github.com/vifm/vifm - 835b28eaa1a3b2dd58d24266eb8a86cae81b6e16 authored almost 2 years ago by xaizek <[email protected]>
Add VifmView.custom table

Provides title and type of custom view if it's active.

github.com/vifm/vifm - 74b35038139accf2805e3a50914d5676b688dac7 authored almost 2 years ago by xaizek <[email protected]>
Extract ui/ui:cv_describe() function

Retrieves textual description of the specified custom view type.

github.com/vifm/vifm - 9a882b9f19080e04968381c281f5d3ea7df2ba0a authored almost 2 years ago by xaizek <[email protected]>
Document that Lua handlers are run in safe env

github.com/vifm/vifm - d8271d6442db3b44258edc3471b8375d2fe1d0f6 authored almost 2 years ago by xaizek <[email protected]>
Make 'tabline' accept Lua handler

github.com/vifm/vifm - e013dbb1570912cb7b4703e0b6bb95945b048b73 authored almost 2 years ago by xaizek <[email protected]>
Extract lua/vifm_handlers.c:run_format_handler()

Invokes a format handler. Expects a table argument to it at the top of
Lua stack.

github.com/vifm/vifm - 87ebe1d54ef5d2dce6dd2cd12b21c23b0531f604 authored almost 2 years ago by xaizek <[email protected]>
Add 'tabline' option to specify fmt of the tabline

github.com/vifm/vifm - 675da2751d854e4fb60e962d2008609caea4a8c3 authored almost 2 years ago by xaizek <[email protected]>
Make VifmTab:getview() return active pane of gtab

Later might do this explicitly on pane=current and also handle
pane=other (could use pane=0 and ...

github.com/vifm/vifm - 1a370a089dfc16aa2bbecccf5e0d99e7b0bd0b90 authored almost 2 years ago by xaizek <[email protected]>
Fix VifmTab:getview() mistreating pane input field

Instead of picking top/left or bottom/right panes, it picked
current (pane=1) or other (pane=2) ...

github.com/vifm/vifm - a0dc64d4c64376f19d79be1b2b81fc2fb8097d08 authored almost 2 years ago by xaizek <[email protected]>
Fix centering of single-line error messages

It changed after 755c81f4b0b461b9d29b77ad852743898eff7852:

Remove weird fast-track path in ...

github.com/vifm/vifm - 4685a9982031146b78324afa4dbe27cc7cdfdc6b authored almost 2 years ago by xaizek <[email protected]>
Add additional User10..User20 highlight groups

Along with corresponding %10*-%20* macros.

Thanks to Sylwia Ptasinska (a.k.a. SylEleuth).

Clos...

github.com/vifm/vifm - 9473639a6aa7048560fa5de66079a64a3dae07b9 authored almost 2 years ago by xaizek <[email protected]>
Fix typo in the docs: ment -> meant

github.com/vifm/vifm - 62a1d86f52825e61abc432acf2868f259ef7ad5f authored almost 2 years ago by xaizek <[email protected]>
Introduce LAST_USER_COLOR constant

So that number of user colors can be changed more easily.

github.com/vifm/vifm - 5feeeafaf6dc74ad5d19aeb04634d363e0d1ca7d authored almost 2 years ago by xaizek <[email protected]>
Make cline_set_attr() accept user color number

This is better than leaving dealing with characters to the caller.

github.com/vifm/vifm - e10d1a5f79a966995996e32f1a9fb3664de3d7c1 authored almost 2 years ago by xaizek <[email protected]>
Correct color of documents in Default-256

Make it a bit brighter. 210 is quite dark. 211 is closer to magenta
than 210, but it's still d...

github.com/vifm/vifm - 36ebebb88d691cd1cb833ffa3bd23fafde8e3f04 authored almost 2 years ago by xaizek <[email protected]>
Add regedit :command

Performs external editing of register contents.

Closes #819 on GitHub.

github.com/vifm/vifm.vim - ba4d6371fe50b97d89c627cba9934a6910189757 authored almost 2 years ago by Rostislav Tolushkin <[email protected]>
Canonicalize paths read by :regedit

Registers shouldn't contain weird or relative paths.

github.com/vifm/vifm.vim - 6a63155761d80bbecccf104182240ae2a74b0a99 authored almost 2 years ago by xaizek <[email protected]>
Minor and stylistic updates for :regedit

github.com/vifm/vifm.vim - 0542a0c9c44c5ba58a74c028c2dc132d6b72181a authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'add-regedit-cmd'

Add :regedit command for external editing of register contents.

Thanks to Daniel J. Perry (BioB...

github.com/vifm/vifm - bd2268bbd3224ac77965baf93176c892b5ae2489 authored almost 2 years ago by xaizek <[email protected]>
Document constraints on reg_t::files array

Thanks to Rostislav Tolushkin (a.k.a. nullptr-deref).

github.com/vifm/vifm - ef2ca6fed6a814874fa9d322a7713680789b2d03 authored almost 2 years ago by xaizek <[email protected]>
Don't include registers.h in flist_sel.h

There is no actual need for that.

github.com/vifm/vifm - f98b0783259521565e8914892d19b7edbc158754 authored almost 2 years ago by xaizek <[email protected]>
Make regs_find() return constant pointer

To not suggest that register's data can be modified externally.

github.com/vifm/vifm - 65ad64abb442228c807922db2966c8cf43544799 authored almost 2 years ago by xaizek <[email protected]>
Canonicalize paths read by :regedit

Registers shouldn't contain weird or relative paths.

github.com/vifm/vifm - ea14f1994b6220fb999241d5d6a6c7eb1d5f2720 authored almost 2 years ago by xaizek <[email protected]>
Fix errno preservation in fops_common.c:edit_list

unlink() can change it, so errno must be saved.

github.com/vifm/vifm - 66855583394b578a4cea91c2387a703a4e92ac36 authored almost 2 years ago by xaizek <[email protected]>
Print sys error on failure to read :regedit file

github.com/vifm/vifm - fd5059b03ed0c0fc9e28f40767964dadfc011d56 authored almost 2 years ago by xaizek <[email protected]>
Make read_file_of_lines() return NULL on error

It didn't despite what its comment says. Failure to read should be
distinguishable from reading...

github.com/vifm/vifm - 0624452887decc86935b647db8fc86a973ef3e44 authored almost 2 years ago by xaizek <[email protected]>
Synchronize registers before/after :regedit

github.com/vifm/vifm - fd5aa57e48508902a64ecfc51c4ffefdbf4a007c authored almost 2 years ago by xaizek <[email protected]>
Test :regedit and fix its issues

Argument validation was incomplete.

Memory leak on changing register's value.

Not sorting or g...

github.com/vifm/vifm - 013284d343c04d9bb87e0a41bf2e447914d37641 authored almost 2 years ago by xaizek <[email protected]>
Minor and stylistic updates for :regedit

github.com/vifm/vifm - 06d11d3d42314ce5ec3da18c2f6c316583531d79 authored almost 2 years ago by xaizek <[email protected]>
Add regedit :command

Performs external editing of register contents.

Closes #819 on GitHub.

github.com/vifm/vifm - 6e19a77f11aeda902b820232a09ce45f03d79f77 authored almost 2 years ago by Rostislav Tolushkin <[email protected]>
Merge branch 'default-256-updates'

Updates/additions/fixes for Default-256 color scheme.

github.com/vifm/vifm - 4a9c38bda691508429df1174fad2c10d1b020c1b authored almost 2 years ago by xaizek <[email protected]>
Add *.ods as documents in Default-256

github.com/vifm/vifm - 63d80b7c17de02abc60cf2ab3de502350bf2856d authored almost 2 years ago by xaizek <[email protected]>
Highlight *.AppImage in Default-256

As a potentially executable file.

github.com/vifm/vifm - 64499f085aec4a1b05ced5104de412219d2b198a authored almost 2 years ago by xaizek <[email protected]>
Count *.p[bg]m as images in Default-256

Apparently these are "Portable BitMap" and "Portable Gray Map".

github.com/vifm/vifm - 99325195b1e0961d8f891c5c02b322d0d68fe3c0 authored almost 2 years ago by xaizek <[email protected]>
Split text files and documents in Default-256

Thanks to aleksejrs.

Closes #880 on GitHub.

github.com/vifm/vifm - c21e5276cac002da64996b17d987d46f9fd44b21 authored almost 2 years ago by xaizek <[email protected]>
Add *.webp to images in Default-256

Thanks to aleksejrs.

Closes #880 on GitHub.

github.com/vifm/vifm - 11477ee3522b4110e44ef84b223a1cea88035af5 authored almost 2 years ago by xaizek <[email protected]>
Don't use 0-15 colors for type hi in Default-256

They vary across terminals, while 16-255 tend to stay the same, so use
those to get more consist...

github.com/vifm/vifm - 0587d41245f5d380713ad219597ef5be00440405 authored almost 2 years ago by xaizek <[email protected]>
Extend list of text files in Default-256

Thanks to aleksejrs.

Closes #880 on GitHub.

github.com/vifm/vifm - d2e3784c2e2e2b4a8f1ecdca486d1e6643db19d5 authored almost 2 years ago by xaizek <[email protected]>
Highlight *.djv in Default-256

It's the same as *.djvu

github.com/vifm/vifm - 9e1102e0c9c3dfb63ad3d9acb06c51130dfa3256 authored almost 2 years ago by xaizek <[email protected]>