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

Extract tests/commands/misc.c fixture

Out of tests/commands/misc.c

6d1196088bd34583dd62b17ec1ea6ddb896fcd0e authored almost 2 years ago by xaizek <[email protected]>
Document one more fix in ChangeLog.LuaAPI

e6c8ed740e1767d0e19f157a38f90475e949ac13 authored almost 2 years ago by xaizek <[email protected]>
Typos/formatting fixes for ChangeLog

fedcfec2b8c433a8309aeda4745a4bd089e87078 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'better-delete-abort'

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]>
Bump version of Lua API to v0.1.0

Not very useful at the moment, but a nice way to make sure that
reporting and checking for the v...

4039d9d9aae1ac1a6f44f1d41433dc129da5cfc7 authored almost 2 years ago by xaizek <[email protected]>
Prepare implementation to Lua API version bump

400c47d439c9dee29c2aa64fd4e793dd17e2775c authored almost 2 years ago by xaizek <[email protected]>
Handle abort on deletion of multiple files right

That is don't try to delete the rest of files queued for processing,
which is basically the poin...

9a48f1475ae06802dac1b8dcaeed3ea04c369365 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'more-search-fixes'

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]>
Fix interactive search not done after c in :hist/

Caused by 2336aed02d754ed39ef6b3b35d1004593442b6b5:

Don't invoke line change on entering cm...

6818f54607627334de980759db13b05faaca6b42 authored almost 2 years ago by xaizek <[email protected]>
Simplify SETUP() in menus/history.c tests

8a1c65748aa630ff129723c9e47a6e2d2d49c291 authored almost 2 years ago by xaizek <[email protected]>
Test global search direction flag being correct

Follow-up of feb84ff8c2eb8c91c31c353f6a60e4a6524c08e2:

Fix saving last search direction

...

ee92ecab963b34064605db0067c12df56334baba authored almost 2 years ago by xaizek <[email protected]>
Fix saving last search direction

Performed from non-normal modes.

An addition to b1efa63af4eacd1b17c4d7a6381c35526471042f:

...

feb84ff8c2eb8c91c31c353f6a60e4a6524c08e2 authored almost 2 years ago by filterfalse <[email protected]>
Rename `print_errors` to `print_msg`

2f7b73cad3d59889749e26ae46ea9658dc33c6d3 authored almost 2 years ago by filterfalse <[email protected]>
Add missing Makefile.in change

53d5317fd65dd0acbe8fa5216764bf09b4e49a25 authored almost 2 years ago by xaizek <[email protected]>
Fix test testing cursor position during incsearch

64c31bbe752a8852c024d93e142071ba1f683343 authored almost 2 years ago by filterfalse <[email protected]>
Merge branch 'lua-executable-func'

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]>
Add separate change log for Lua API

The API is experimental and having a change log is useful to have for
adjusting plugins as the i...

a107366077c0ac08d1846f21390c287602dde735 authored almost 2 years ago by xaizek <[email protected]>
Update ueberzug sample plugin

Check that `ueberzug` is available and restart it if it exits.

4796dba43aa1f36200331387293b4751ba89d1bb authored almost 2 years ago by xaizek <[email protected]>
Add two more items to |vifm-lua-caps|

ffc2a3263598f61510e349d0614797570c3e56a8 authored almost 2 years ago by xaizek <[email protected]>
Some wording fixes in vifm-lua.txt

acc94ea72507a27a0f4de26cbf0ce6dad8505dec authored almost 2 years ago by xaizek <[email protected]>
Correct ChangeLog entry about :cmd error handling

It's true for sourcing in general, e.g. for processing of color schemes.

835f5beb319c9cbe2a9cf0243f978d4a0b9f6f25 authored almost 2 years ago by xaizek <[email protected]>
Fix description of %i macro in the documentation

Mention that it runs command in background.

de7c5835927ecd0d03cb44566bfedbbd7508d42f authored almost 2 years ago by xaizek <[email protected]>
Add vifm.executable()

453e417351656c117dffcdee4ed314ec1dd8cbc0 authored almost 2 years ago by xaizek <[email protected]>
Correct color of documents in Default-256 again

211 was still too dark for pdf-like stuff, using 218 now.

26bf8b38b82758a19708f09078cd4ef9a5198e80 authored almost 2 years ago by xaizek <[email protected]>
Implement contains_slash() using strpbrk() on Win

It might be a bit faster and the code looks simpler this way.

a2638effa4d85822190635763494a6a7f0583e86 authored almost 2 years ago by xaizek <[email protected]>
Get rid of utils/path.h:PATH_SEPARATORS macro

Use contains_slash() function instead.

80dd7812872827f9cb1bbdeac76bc547052ee808 authored almost 2 years ago by xaizek <[email protected]>
Use assert_string_starts_with() more in tests

05c3798154fe061087e8532c4477efa2bf3d63e1 authored almost 2 years ago by xaizek <[email protected]>
Use assert_string_ends_with() more in tests

89708572bf926f0c3d036aa87cd6720e9185feb3 authored almost 2 years ago by xaizek <[email protected]>
More portable message_for_invalid_pattern test

Error messages shouldn't be hard-coded because they are different in
different implementations.

dc839360b384c3d43608c7babcecff1e80dbc25a authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'search-fixes'

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]>
Get rid of the duplication in cmdline.{c,h}

This stuff needs to be in a header, so keep that version, but don't
define it by default.

707261bff4c574228310a45f60b46c26ecef6744 authored almost 2 years ago by xaizek <[email protected]>
Use def_count() in more places

f6624d5df6df0efa89d7d9de3094e9873c7261c6 authored almost 2 years ago by xaizek <[email protected]>
Fix dropping selected files during incsearch

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

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...

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

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...

12c1e0c9f9e3bf9b1a2a221d9880c9f88441a39c authored almost 2 years ago by filterfalse <[email protected]>
Replace move_cursor_and_redraw() with fpos_set_pos()

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

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.

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 ...

3547c66671f146bfbc9e26e47c3d730bcf69abb8 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()".

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`.

30bd3ef8b132c66ea9d30760650a169d097b67ed authored almost 2 years ago by filterfalse <[email protected]>
Extract search_find() from mod{norm,visual}_find()

38dd1675bde0034c0bdcac590049f1353ce166dc 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...

b1efa63af4eacd1b17c4d7a6381c35526471042f authored almost 2 years ago by filterfalse <[email protected]>
Extract search_next()

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

518c79687ba3ba14eacef046923ffe1ebdb7fb98 authored almost 2 years ago by filterfalse <[email protected]>
Rename find_pattern() to search_pattern()

584518056e957c24833d2f21623b6e29f910ae43 authored almost 2 years ago by filterfalse <[email protected]>
Rearrange the code in search_{find,next}()

e2f0ab4133e0975c84be47b9b8a651e9c1ac313d 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...

f8d4e3051e1fed71d41ae29f2b5de43e1773eda9 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.

c389668fcf4edd1ab803a271f32a4a5a1f4dd8f6 authored almost 2 years ago by filterfalse <[email protected]>
Merge print_result() into print_search_result()

c558659e5805039905ac887e0e14b42e480f2eb7 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...

c7a3751af3a2ffb36ac36fe65126d46f67d66ca4 authored almost 2 years ago by filterfalse <[email protected]>
Add more functional tests for a search

088e0aeb5b535964b9e34aac02debd7542a0aeee authored almost 2 years ago by filterfalse <[email protected]>
Extract print_search_result() from find_pattern()

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...

777c40e574297ba8fe5203c34818394348746b86 authored almost 2 years ago by filterfalse <[email protected]>
Fix resetting 'hls' during incsearch in vismode

c790187b54ef51da54022d2e50939fec309882a0 authored almost 2 years ago by filterfalse <[email protected]>
Synchronize error messages for invalid patterns

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

It was always equal to 0.

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 ...

18df97be2bb90cbf9124ed5367284cadc581cfb9 authored almost 2 years ago by filterfalse <[email protected]>
Merge branch 'mostly-source-cmd-changes'

Fix cursor jumping in interactive search.

Thanks to filterfalse.

Add filereadable() builtin fu...

f716368b053dcdb6019251a53d87183c0045ffc2 authored almost 2 years ago by xaizek <[email protected]>
Highlight comments after :source command

d86fa5f4c6128a51b4d2a62fd63d45e4d004fa8a authored almost 2 years ago by xaizek <[email protected]>
Add filereadable() builtin function

Mainly as a way to check file's presence.

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 `<`.

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

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...

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.

91e6423f8fd9f4b997127f7c139fb3888c040796 authored almost 2 years ago by xaizek <[email protected]>
Fix :source producing too many errors

When specified path doesn't exist.

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...

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.

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...

fd37db72640a86859efecd951030e2b8890f053c 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().

4508939dacbe47cff1a8032cd4986d8b1524a4cd 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.

21e55a67f7468ead9ab009c76c5e93e014f6eb04 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...

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...

6730cf1eca192ef93e548e2e62f162e8d1ae836f 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...

6972cca948fd49f5f68078c39f4e983ffa7aec0e authored almost 2 years ago by xaizek <[email protected]>
Don't mix :set and :colorscheme in sample vifmrcs

b9685071a52aaf8bb4e869ca491ae79f41cc0c6c 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...

d16c72912f4b3b975de125cb5cd3e8b22f5b5b24 authored almost 2 years ago by xaizek <[email protected]>
Note the issue with trashing in background

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...

82dde6f26dbfd6a6c5569e442043d71c5f8b1869 authored almost 2 years ago by xaizek <[email protected]>
Check for mkstemp() in configure

It's used by lua sources.

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

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.

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...

501857a30ef6d5c1f473131b9d525fe986352046 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...

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

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.

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.

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

d8271d6442db3b44258edc3471b8375d2fe1d0f6 authored almost 2 years ago by xaizek <[email protected]>
Make 'tabline' accept Lua handler

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.

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

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 ...

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) ...

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 ...

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...

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

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.

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.

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...

36ebebb88d691cd1cb833ffa3bd23fafde8e3f04 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...

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).

ef2ca6fed6a814874fa9d322a7713680789b2d03 authored almost 2 years ago by xaizek <[email protected]>