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

Optimize json_serialize_to_buffer_r() a bit

Don't use public API, it has checks we don't need.

3df34bccd0bbe80119bc9eac635d9b1bfe55aa27 authored almost 2 years ago by xaizek <[email protected]>
Handle return value of fseek() in parson

Thanks to Markus Elfring (a.k.a. elfring).

891eb9a17e65955772dc415db352a9ff67e5514e authored almost 2 years ago by xaizek <[email protected]>
Use AX_PTHREAD in configure.ac

This is more universal then what I had before. Mind that older
implementations of the macro cau...

3a2c483d700e1d9374a69615ca10267f656de6fa authored almost 2 years ago by xaizek <[email protected]>
Make reference to 'lsview' active in 'runexec' doc

01d38c8429a7ee71e21b107e2da8116dc816478f authored almost 2 years ago by xaizek <[email protected]>
Fix warning about filter-out in src/Makefile.am

Looks like POSIX make supports $(var:from=to) substitution, which is
enough in this case assumin...

c5b0dead4fc647e32821816b15903946f19b9dea authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'cmdline-navigation'

Add Ctrl-Y key to command-line mode. It activates fast navigation that
allows entering deep pat...

544e70fb8972175dd70a418f229b15f37b407dea authored almost 2 years ago by xaizek <[email protected]>
Test word operations in command-line mode

84f9dc16d8b6c7ab20e11abf1ae4bc5923e1309e authored almost 2 years ago by xaizek <[email protected]>
Test basic cursor movement in command-line mode

d1700968a814aa0e91166204bbda15f5e7693289 authored almost 2 years ago by xaizek <[email protected]>
Provide basic instructions on mappings in docs

So that people not very familiar with Vim could use them.

Thanks to dmocek.

93ce23fe0a776d1abd23dcabf450339115300851 authored almost 2 years ago by xaizek <[email protected]>
Add :amap, :anoremap and :aunmap commands

They configure mappings in navigation mode.

Thanks to Henrik Holst (a.k.a. hholst80) and dmocek.

d52e54b36e38ab3fe432f62221cdb36ccf9b2fea authored almost 2 years ago by xaizek <[email protected]>
Add 10 keys to command-line navigation

Ctrl-N
Ctrl-P
Up
Down
Left
Right
Home
End
Page Up
Page Down

c8c3c1f71ce9bc30b26b806f9a01549591d24304 authored almost 2 years ago by xaizek <[email protected]>
Add Ctrl-O key to command-line navigation

It goes to parent directory.

c3ba339ba5687933bb0b909107e4fea3919524cd authored almost 2 years ago by xaizek <[email protected]>
Add Ctrl-Y key to command-line mode

It activates quick navigation that allows entering deep paths by a
series of searches for indivi...

94fbd43d893b9864f71032c030221741818ad1d9 authored almost 2 years ago by xaizek <[email protected]>
Extract fview_scroll_page_{up,down}() functions

This makes it easier to do such scrolling outside of the normal mode.

d544b8ee1723769ffe33a7fd92da5b3d82c1f10e authored almost 2 years ago by xaizek <[email protected]>
Add update_history param to local_filter_accept()

For now it's always 1.

c1b0b808d01b02a5c7c689b7e185f0a079fcae54 authored almost 2 years ago by xaizek <[email protected]>
Extract funcs for managing cmdline.c:line_stats_t

3f186646bffdc214f7a95af18fddfd53a06a813e authored almost 2 years ago by xaizek <[email protected]>
Add reenter parameter to cmdline.c:enter_submode()

This is to allow reinitialization of the command-line without leaving
and then entering it again...

43e5dac7b49ded8a77dc1d82927eb55d3a0cad2c authored almost 2 years ago by xaizek <[email protected]>
Move normal.c:page_scroll() to fpos_scroll_page()

There is nothing specific to normal mode about it.

aa4ecc3fe0738d7b94b6da89e4d74d067c7e7080 authored almost 2 years ago by xaizek <[email protected]>
Turn running.c:enter_dir() into rn_enter_dir()

It can be used to enter a directory entry.

e243e9d5c92c434fec46a852f323f338916d7c4a authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'tab-scrolling'

Switch tabs with mouse wheel in normal mode

Patch by 高浩亮 (a.k.a. haolian9).

db250df3eadab9ed75dfe699c2605c1a0a78b157 authored almost 2 years ago by xaizek <[email protected]>
Switch tabs with mouse wheel in normal mode

See for more details on mouse coordinates limits:

https://stackoverflow.com/a/47261003/1535516

28caac9d282f673d888b417e98c31624e7e9977f authored almost 2 years ago by haoliang <[email protected]>
Merge branch 'fix_plugin_loading_path'

Fix incorrect plugin loading path.

Fix tests failures during uncov-coverage.

Fix tests on Wind...

d34c61cc6aa2d08edc40a1378d4060481a8ac905 authored almost 2 years ago by xaizek <[email protected]>
Fix tests failures during uncov-coverage

Need to remove *.gcda in tests as well, otherwise libgcov in tests that
fork can print "overwrit...

c7ae61454fecb7cd3031ce3d8725be6670363fb7 authored almost 2 years ago by xaizek <[email protected]>
Don't run fentry_points_to_works test on Windows

I forgot that symlinks_available() can return non-zero on Windows if
they are supported in princ...

8163e9c798ba88871b305f8d2dea03f590f7b2d6 authored almost 2 years ago by xaizek <[email protected]>
Fix incorrect plugin loading path

1224b5afcd55dfd074f9beec243acca25f8b4ba0 authored almost 2 years ago by haoliang <[email protected]>
Merge branch 'plugins-dir-param'

Add `--plugins-dir` command-line option which allows specifying
additional places to look for pl...

be56037f55aff92170b72581babd5a89396efd7b authored about 2 years ago by xaizek <[email protected]>
Fix completion of --chose-* in fish shell

It wasn't completing files.

c1492c4366eee1c3c1b7300ef4bd5f507907694c authored about 2 years ago by xaizek <[email protected]>
Add `--plugins-dir` command-line option

It allows specifying additional places to look for plugins.

Thanks to 高浩亮 (a.k.a. haolian9).

C...

1acae5660802850c027e11b44279d68eb592e85d authored about 2 years ago by xaizek <[email protected]>
Enforce unique plugin names in load_plugs_dir()

At the moment all names are guaranteed to be unique by the file system,
but that will change for...

290dfb4c0023e23df889c24e0a3db4927af4785f authored about 2 years ago by xaizek <[email protected]>
Make plugs_load() accept list of plugin paths

This is preparation for allowing multiple plugin search directories.

23a8d8c3adcb7e5239033223477f746d5958cfc1 authored about 2 years ago by xaizek <[email protected]>
Merge branch 'fix-symlink-preview'

Fix asynchronous previewing of symbolic links, which required manual
redraw.

Thanks to Alexandr...

27c7daccdff5e878fd7b7f472c815651faf7cdc8 authored about 2 years ago by xaizek <[email protected]>
Fix indentation in fops_common.c:update_io_stats()

be2976c281b076c3b8f4aca05cc458389f639577 authored about 2 years ago by xaizek <[email protected]>
Fix asynchronous previewing of symbolic links

It required manual redraw.

Thanks to Alexandre Viau.

fd9e75e6943f9fd6d4981be711f23789038f2281 authored about 2 years ago by xaizek <[email protected]>
Merge branch 'eta'

Add ETA to detailed progress dialog.

Thanks to Jose Riha (a.k.a. jose1711).

1cb1d6714a2ab666173fbe3394a64958d5808de9 authored about 2 years ago by xaizek <[email protected]>
Add ETA to detailed progress dialog

It's displayed after 5 seconds and updated once per second.
The implementation uses "Acceleratio...

32497ab63bdd1de14df3c74556c47e65de554032 authored about 2 years ago by xaizek <[email protected]>
Merge branch 'fix-zx-after-tree'

Fix abort due to assertion failure on using zx normal mode key after
leaving tree in some cases....

919cdec6aebf6f50f33de03c8f504dab2ee7bf62 authored about 2 years ago by xaizek <[email protected]>
Don't run flist_toggle_fold() for non-cv views

Checking `view->custom.type` isn't enough.

a3416d2c344f6109ad00e8c9efc465e3666d16ef authored about 2 years ago by xaizek <[email protected]>
Extract filelist.c:on_custom_view_leave() function

To not have this in change_directory(), which is quite large.

c58267003787268cfa52272650056af3a073985b authored about 2 years ago by xaizek <[email protected]>
Fix assertion on using zx key after leaving :tree

Building `:tree depth=2` (for example) marks some paths as folded and
this information remained ...

26b78473e5300da5942573d2e382c92531f4c56d authored about 2 years ago by xaizek <[email protected]>
Merge branch 'add-input-function'

Add input() builtin function to prompt user for input.

Thanks to Artur F. (a.k.a. arturfabricio...

29a88cea7b2e007a7d26226895402bc3f5bef38a authored about 2 years ago by xaizek <[email protected]>
Add optional completion type to input() builtin

Currently either file&directory or directory-only completion.

0a081e2c61e41602c4a4ccaf35c2b885ac016044 authored about 2 years ago by xaizek <[email protected]>
Make engine/parsing unit re-entrant

Change API to not retain parsing results in static variables, but return
a structure containing ...

aafb20b763f0d6d8940122dc3a0487b888a922c9 authored about 2 years ago by xaizek <[email protected]>
Use ASSERT_FAIL() macro in five more places

60c9fe6bb9d03b967947237a55a0b9f29c5a6a09 authored about 2 years ago by xaizek <[email protected]>
Comment all functions in modes/modes.h

67c80db90284c1c14284601344ae6269bc9e3d17 authored about 2 years ago by xaizek <[email protected]>
Use common prefix for modes/mode.h functions

974d9d3a474386c860eb3a2a5bc0a8e4e2e59d55 authored about 2 years ago by xaizek <[email protected]>
Use context more extensively in engine/parsing.c

This decreases reliance on the global variables.

9ef065392119afafbc6117b274382aa5fb07a095 authored about 2 years ago by xaizek <[email protected]>
Add input() builtin function

It prompts user for input.

Thanks to Artur F. (a.k.a. arturfabriciohahaedgy).

Closes #824 on G...

eb86da607d0c68e0027c277c08f0fcc575997c1f authored about 2 years ago by xaizek <[email protected]>
Use common prefix for engine/parsing.h functions

c961d96f7e8505c21ca1797b335a1bb6df9f725b authored about 2 years ago by xaizek <[email protected]>
State how utils/path:cut_extension treats *.tar.*

1bca54e0e78d604c766af6c610d2da9ae5823860 authored about 2 years ago by xaizek <[email protected]>
Add user data to command-line prompt callback

93b50462f26e228881797d378f5087c6748fb90d authored about 2 years ago by xaizek <[email protected]>
Don't invoke line change on entering cmdline mode

This allows postponing initialization of mode-specific data in
prepare_cmdline_mode() and do it ...

2336aed02d754ed39ef6b3b35d1004593442b6b5 authored about 2 years ago by xaizek <[email protected]>
Don't set sub_mode_ptr in prepare_cmdline_mode()

Only initialize it to NULL there.

7e4d0b258e26d96ed44f80581991cfd89cb9c4e5 authored about 2 years ago by xaizek <[email protected]>
Test interactive search in menus

e1869e6ee917a6f34fe9da579330e8006ba237d2 authored about 2 years ago by xaizek <[email protected]>
Add modes/cmdline.c:modcline_in_menu()

A specialized version of modcline_enter() for use with menus. This is
to have a more type safe ...

a556b55f097e54004cbf23a6056ac44d3c1f840f authored about 2 years ago by xaizek <[email protected]>
Morph line_stats_t::sub_mode_ptr into other fields

No more automatic casting here, so no more type errors.

64d6b30cc62f4ecfccb27896f81bbf94b704cec8 authored about 2 years ago by xaizek <[email protected]>
Don't call curs_set() from tests

It makes PDCurses crash on Windows.

Introduce a wrapper to have the check in one place.

22311ec3938ceb6ae3a764f44aaa4dd07ac0ee36 authored about 2 years ago by xaizek <[email protected]>
Call initial cmdline value "initial", not "cmd"

699190c006c92db9686119ea2d45f525344b1e86 authored about 2 years ago by xaizek <[email protected]>
Fix invoking menus_search_matched() from cmdline

`void` pointer is automatically casted in the place of invocation, hence
no compiler error about...

e4e210d30d7a96dcb752a271d3c05e7a5dbacfff authored about 2 years ago by xaizek <[email protected]>
Invoke prompt callback on cancellation/failure

This makes it possible to use it to break a nested event loop regardless
of the outcome.

8214f4592cfdacc52893bac1c1975d5d4c713ccf authored about 2 years ago by xaizek <[email protected]>
Fix line_completion() using global instead of arg

This can result in tests failing because of mixing two separate states.

3a2f422465d2c6ebca773222db9591e82193aea6 authored about 2 years ago by xaizek <[email protected]>
Extract misc/cmdline.c tests

Some things in cmdline_editing.c didn't fit in there.

2608420e900c0d389ee3909df7ccfd66f6f42e59 authored about 2 years ago by xaizek <[email protected]>
Merge branch 'mostly-escaping-fixes'

Fix $VIFM_APPDIR_ROOT being ignored by :help command, which made it not
work properly from AppIm...

165f64687b485ad407c0edca4ce9d483e1d5c281 authored about 2 years ago by xaizek <[email protected]>
Fix trash being created at default path on restart

The fix is to delay processing default value until restart is done. If
a user has `set trashdir...

186ac37a7d678e9f91b74c46b761640f6a8aef96 authored about 2 years ago by xaizek <[email protected]>
Add a TODO for improving extract_cmd_name()

Currently it won't work well for commands that have space in the path.

d1c30591199371e503a75df1eaf0514504d8969d authored about 2 years ago by xaizek <[email protected]>
Rewrite vim_format_help_cmd() better

Without duplication and conditional compilation.

8a120ac4404882ef3a93dbd383dba36eb9416c5a authored about 2 years ago by xaizek <[email protected]>
Add user_sh parameter to rn_for_flist()

This makes menus_capture() consistent in its behaviour regardless on
which condition it takes.

bf2435638f28ada0610061edbefcefc68ca974ba authored about 2 years ago by xaizek <[email protected]>
Rename ST_NORMAL to ST_POSIX

"Normal" is confusing.

dca94e77776150fe5ced4dfde9a6e69589853687 authored about 2 years ago by xaizek <[email protected]>
Move posix_like_escape() to utils/{path => utils}

It was originally called escape_filename(), hence the placement in
utils/path unit.

bbe60c3f16a615c0c9faa566e717e4fc16da0a17 authored about 2 years ago by xaizek <[email protected]>
Better escaping for Windows code in ops.c

76c5973f1b5e15bebabdfb3e908f388b48e39da9 authored about 2 years ago by xaizek <[email protected]>
Rename shell_like_escape() to posix_like_escape()

That's really what the function does.

a98b189db66660f7dccda453208c1279f674cf47 authored about 2 years ago by xaizek <[email protected]>
Use shell_arg_escape instead of enclose_in_dquotes

Where appropriate.

d3228bb0fb8915ef5d9414ee7676d5c1b26f0ed2 authored about 2 years ago by xaizek <[email protected]>
Use shell_arg_escape instead of shell_like_escape

Where appropriate.

db7bc1386190e0fe65264ea1cb40b4cf1f94aa84 authored about 2 years ago by xaizek <[email protected]>
Add UNC path completion items as paths

Instead of using shell_like_escape() explicitly.

106114d8ad061794d9568f8a454f7b304ca73305 authored about 2 years ago by xaizek <[email protected]>
Use cfg.shell in bg_run_and_capture()

It was the only place where /bin/sh was hard-coded. This is
inconsistent with the rest of the c...

618a3c6a5930111fec600542bd574f303c622e35 authored about 2 years ago by xaizek <[email protected]>
Add a trivial test of :locate

a4e1c8a1affdc88eb1f6592a925fd4853729d3e6 authored about 2 years ago by xaizek <[email protected]>
Fix :locate never escaping its arguments

Escaping should be done unless the first one starts with a dash.

Got broken in f3690f52a48c4945...

26a4bd2c15d2b2a384e33879df259502ce7d0246 authored about 2 years ago by xaizek <[email protected]>
Fix incorrect path in Lua's editor handler on Win

Path to Vim help directory was lacking "data/" prefix.

7b360b10b350ba880d7a98165b7858c41be18a4c authored about 2 years ago by xaizek <[email protected]>
Fix escaping for :edit and alike on Windows

Using 'vicmd' or 'vixcmd' to open a file on Windows was using Unix-like
escaping even for cmd.ex...

bbf35afe21ac229a406dea31c6c81cbc1392e871 authored about 2 years ago by xaizek <[email protected]>
int/vim.c: extract shell_arg_escape() function

It escapes a string so that it can be used as a command argument in a
shell invocation.

36c19044f6472c26760ae07b14392c27457f38dd authored about 2 years ago by xaizek <[email protected]>
Fix $VIFM_APPDIR_ROOT being ignored by :help

It made the command not work from AppImage unless
/usr/share/vifm/vim-doc was available in the s...

98cfbce8de544a086f88db29cf4a1d3c095a1142 authored about 2 years ago by xaizek <[email protected]>
Merge branch 'fix-previewprg-in-view-mode'

Fixed 'previewprg' not being respected on switching to view
mode (regression in 0.12-beta).

Tha...

fc8c072e499ac8bd0908147ee8392ba396b66e78 authored about 2 years ago by xaizek <[email protected]>
Fix 'previewprg' being ignored by view mode

Got broken in d72129e47fa26dd3948c37bab749d881b5146bd3:

Add a and A view mode keys

The...

68bf0f56a8d2816a71fb593f19b4dcea57af66b9 authored about 2 years ago by xaizek <[email protected]>
Support rar in unpack sample plugin

e89feffd40a5394fa2b5f2df95f410139aaeec8b authored about 2 years ago by xaizek <[email protected]>
Merge branch 'mouse_support'

Add builtin handling of mouse events.

Patch by 高浩亮 (a.k.a. haolian9).

Thanks to ranousse, Serg...

0ec5dec5882f2acaef23c7d135abb2706c408c75 authored about 2 years ago by xaizek <[email protected]>
Initialize/deinitialize mouse on 'mouse' changes

5a07bbcd9d520c2e60426b85eab5511b33b1e55c authored about 2 years ago by xaizek <[email protected]>
Add 'mouse' option

Control when mouse input is handled (not handled by default).

ba9c92382e14389c3827b5c6669543ada6a07879 authored about 2 years ago by xaizek <[email protected]>
Do not enable quick edit mode on Windows

This breaks mouse handling.

fa229fdeafb8a7635883c5cbde77b51cc811472f authored about 2 years ago by xaizek <[email protected]>
Document basic mouse support

8c8d9030d7997a3d6799314ce3b8b4a50085d922 authored about 2 years ago by xaizek <[email protected]>
Add basic mouse support

Closes #807 on GitHub.

1a13959f9a696a67057d672e1e450a2929ffdabf authored about 2 years ago by haoliang <[email protected]>
Merge branch 'selective-compare-results'

Add show* arguments to :compare command to control/switch which sets of
files are displayed (tog...

aadc9c7223b5f5411073c34ae9cc33e33bcea1d4 authored about 2 years ago by xaizek <[email protected]>
Extract compare.c:put_side_by_side_pair()

This simplifies fill_side_by_side_by_paths() and
fill_side_by_side_by_ids().

8075b9e10bc87349df612d01cd455ff5690928f2 authored about 2 years ago by xaizek <[email protected]>
Rewrite compare.c:put_side_by_side_pair() better

Make it less repetitive.

4f1fcb1f74571ebaac4639fa7f8fc676b9cad2f3 authored about 2 years ago by xaizek <[email protected]>
Disable printing state for single-pane :compare

f3b1294678892ca71f2749132f74c3a73b2fab40 authored about 2 years ago by IAmKapuze <[email protected]>
Make :compare! restart with toggled show*

This is better than reusing :compare as it allows restarting comparison
anew if needed.

This ac...

938fa38192d563a2aeec9b7e12480b8a47dd9416 authored about 2 years ago by xaizek <[email protected]>
Test diff stats message on status bar

e60d95ed2345c503402d95656a346e3ccf339a40 authored about 2 years ago by xaizek <[email protected]>
Add toggled show* arguments to :compare command

They control/switch which sets of files are displayed.

Finishes and closes #832 on GitHub.

b86c7bca2173debdad4b473858d9feb0e5645e32 authored about 2 years ago by IAmKapuze <[email protected]>
Merge branch 'lsview-column-count'

Add "columncount:" value to 'lsoptions' to always display fixed number
of columns.

Thanks to Al...

bbb5891275fb10c24e4ffb849d35f98d2b2dffeb authored about 2 years ago by xaizek <[email protected]>
Rename ui/fileview.c:print_{=> side_ }column()

print_column() is too generic and doesn't suggest that it's related to
miller columns.

bbc567bc7501ffa4071ffbadc7738caa411e4bc6 authored about 2 years ago by xaizek <[email protected]>
Fix clusterfuck of padding issues in ls-like view

This commit just finishes this up. There were troubles with padding of
columns, with widths of ...

2ef4166bcb0b2008dedce6c8127118b5a3487d0b authored about 2 years ago by xaizek <[email protected]>
Drop print_width param of fileview.c:draw_cell()

It's always equal to col_width now.

f52ccd4774d72f3a9f32d972e1da90f5b7007e35 authored about 2 years ago by xaizek <[email protected]>