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

Merge branch 'more-graphics-clearing'

Don't even try to clear graphics when menu-like mode is active. The
graphics should have been h...

8eddfdee46ded8c13744abbee2a066776715890f authored over 1 year ago by xaizek <[email protected]>
Fix one misc/flist_tree test

Its second half was a copy of the first one. Apparently, I meant to use
SK_BY_ITEMS and reorder...

161015d2cb726791cfe0da1a56aa544a493da48b authored over 1 year ago by xaizek <[email protected]>
Introduce view_set_sort() in tests

Sets up sorting with up to 2 sorting keys.

The memset() way is not very readable and is less co...

7184490ef70c0dd2be8b7f753719301623c12599 authored over 1 year ago by xaizek <[email protected]>
Don't set name sorting of a view after view_setup

That's the default sorting and both `view_t::sort` and `view_t::sort_g`
are initialized with SK_...

d5afe2c7f2d54505298a33f3ddd0d1f168c498ac authored over 1 year ago by xaizek <[email protected]>
Use make_symlink() in one more place in tests

ca8a870b4b145c1fcf59e3ea3c88364393c20b30 authored over 1 year ago by xaizek <[email protected]>
Don't try to clear graphics in menu-like modes

The graphics should have been hidden on entering the mode.

c3771732858c66e8d262a360924a312127d69835 authored over 1 year ago by xaizek <[email protected]>
Hide graphics before changing the mode

This way we can check current mode to know whether any graphics can be
on the screen or not.

70455ee73f71a0a538253ff3e9deef0008afbb4f authored over 1 year ago by xaizek <[email protected]>
Use ui_hide_graphics() in two more places

8dde82d7b53de32ef7a8a3be0019e5ebd2cb9996 authored over 1 year ago by xaizek <[email protected]>
Fix view mode graphics clearing on menu/more/finfo

c4cbf4cb89fa40d4495a761f80219ca05a45f507 authored over 1 year ago by xaizek <[email protected]>
Merge branch 'regs-menu-order'

Make register's content being listed in normal rather then reversed
order in :registers/:display...

03a3c55f75eef217321cb5e3287c0543c9d45465 authored over 1 year ago by xaizek <[email protected]>
Reverse order of register's files in :registers

The order was reversed probably to list the last added file first, but
since then files in regis...

be1c5d9a8cfa3f94e65f16602d7cef118f7dbb65 authored over 1 year ago by xaizek <[email protected]>
Test :registers command

966aa5779ccf99c5be0117615aef3912722d468b authored over 1 year ago by xaizek <[email protected]>
Add registers menu tests

b809d6345bbd957a345470b2a01a37df4a4a181b authored over 1 year ago by xaizek <[email protected]>
Add tests for registers.c:regs_list()

d61d28b7c40a986467224b25087d0affd2084946 authored over 1 year ago by xaizek <[email protected]>
Fix local options not being loaded on Ctrl-W x

To reproduce:
1. :windo set nonu
2. :set number
3. <c-w><c-x>
4. :set number
5. Nothing hap...

fb806f96d93d716c78958666ec9b93bfc46257e1 authored over 1 year ago by xaizek <[email protected]>
Use make_symlink() instead of symlink()+#ifndef

To make tests more readable and drop repetitive code pattern and a
comment.

a4fa8287c31e46a50f6b648243ba55a8a7b1cac4 authored over 1 year ago by xaizek <[email protected]>
Merge branch 'padding-fixes'

Don't draw right padding on a truncated rightmost column of a transposed
ls-like view.

Fix line...

13080849aed5d3cd1ae98efd8c54f2bd8973dbf7 authored over 1 year ago by xaizek <[email protected]>
Drop weird "reserved_width" from column_line_print

Not sure what's it about, but dropping it doesn't seem to break
displaying anything. Let's remo...

bc059a414c781943523931ab897fe24055099456 authored over 1 year ago by xaizek <[email protected]>
Explain implementation in ui/fileview.c a bit

Add a generic comment that should help to understand how things are
drawn.

cfe393876cb7e7803df3741b58e8e257db67d6b4 authored over 1 year ago by xaizek <[email protected]>
Make ui/fileview.c:draw_cell() less adhoc

Keep it simple and manage which padding is displayed outside of the
function.

f8f080cb4d77b3bb1f3ca01229e853cd891afae6 authored over 1 year ago by xaizek <[email protected]>
Drop weird `+ 1` in draw_cell()

It applies only to left or right miller column and seem to be a
compensation for the separator c...

c48b70556cd45c5ba0bd2c94179d2df67c04897f authored over 1 year ago by xaizek <[email protected]>
Fix check for ls-like view in fileview.c:draw_cell

ui_view_displays_columns() must be used to take care of options that
have higher priority than '...

242f15bf557620a6f943d8ddbbfd722be43ec20a authored over 1 year ago by xaizek <[email protected]>
Adjust for padding differently in fill_column()

Instead of doing it on the call site, which was confusing. Also explain
why this is needed in a...

0cc2c0388141f19f7139fc18f7e51af2941eba39 authored over 1 year ago by xaizek <[email protected]>
Pass padded width to calculate_number_width()

The function will strip padding itself.

37ac131f63a71555005b40e08ba8955a7dc5170d authored over 1 year ago by xaizek <[email protected]>
Introduce ui/ui:ui_view_main_{area,padded}()

ui_view_available_width() is now ui_view_main_area().

And ui_view_main_padded() is `ui_view_ava...

479757dee1c3459cad0b21d1b19e48bca8a1bfac authored over 1 year ago by xaizek <[email protected]>
Always include padding in calculate_table_conf()

Before this change, padding was included only for ls-like view which was
inconsistent.

957a86fefa5468e5429f1c3bced106bb2c664919 authored over 1 year ago by xaizek <[email protected]>
Fix total_width in fileview:compute_and_draw_cell

I'm pretty sure that padding of both sides should be included in the
value.

564d9b8fc5b0794da3ac6f5547aa79220b9930f0 authored over 1 year ago by xaizek <[email protected]>
Ignore right padding for partial tls column

Otherwise it looks like the column is drawn in full.

0cc351661846a95d6e8f59f1d8a3018ff299b9d8 authored over 1 year ago by xaizek <[email protected]>
Adequate padding handling on drawing miller cols

Include padding from both sides in widths of columns.

786ec239c4a10af8ce59c2063545759de4b4ce09 authored over 1 year ago by xaizek <[email protected]>
Switch from size_t to int in ui/column_view unit

Use of -1UL in several places suggest that signed values are at least as
good.

a4da9d1513069bd916fddbaa857717fbf3f1f739 authored over 1 year ago by xaizek <[email protected]>
Tiny code improvements in column_view.c

c18b6431f954b1a09c9b61fe4049ae7d878532fd authored over 1 year ago by xaizek <[email protected]>
Use signed offset in column_line_print_func

Currently offset is passed as -1 in several places despite the argument
being `size_t`. Negativ...

412926367c65b30c3036439012dc9c6667af6469 authored over 1 year ago by xaizek <[email protected]>
More readable ui/fileview.c:format_name() function

`len` is actually `prefix_len`, not full length of printed output.

4e32c01c3e4513cff6488dc92406ebd13ce3cdee authored almost 2 years ago by xaizek <[email protected]>
Fix linenum col not including padding to the left

Easily visible after `highlight LineNr ctermbg=red` and especially so
after `set millerview` (al...

565acc6f62127241257138e4c36528eb343b6679 authored almost 2 years ago by xaizek <[email protected]>
Don't add padding to total_width in fileview.c

When using it in column_line_print(), it looks very confusing as total
width is supposed to incl...

17de62492256994d8e4b27e6d903984764e46c35 authored almost 2 years ago by xaizek <[email protected]>
Make use of padding a bit clearer in fileview.c

Somewhat more readable code in several places.

b56313ba642125f1230519081584550154ea9eab authored almost 2 years ago by xaizek <[email protected]>
Reuse get_miller_preview_area in draw_right_column

The code matches exactly.

bc9d90c507baa13499038f1da33a62cabe1ed81f authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'release-0.13'

Build AppImage with enabled gpm support.

Build AppImage with ncurses 6.4.

Fix *.xcf in sample ...

41fd2f3c3a18474c9a96414715c17b74aab22431 authored almost 2 years ago by xaizek <[email protected]>
Version v0.13

47ccc77587a469cef93da00ef0e54a4867529fbf authored almost 2 years ago by xaizek <[email protected]>
Build AppImage with enabled gpm support

There were issues in the past, see 15122a576fa2b6af730416c74896173ea664423f:

Build ncurses ...

513a5208276d9809574604797716f7505c1890f8 authored almost 2 years ago by xaizek <[email protected]>
Build AppImage with ncurses 6.4

20fd5b45d7c07294d781e6560365ba675cf317f6 authored almost 2 years ago by xaizek <[email protected]>
Update NEWS file for v0.13

dbd8790a6bd5359af3f40b6a4b7276693dac7bde authored almost 2 years ago by xaizek <[email protected]>
Fix *.xcf in sample vifmrc

Thanks to aleksejrs.

4970bcab534588c45bbec60eb6ba2b57ec1798d1 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'vifmrc-updates'

Add Midi and more graphics to sample vifmrc.

Add *.unknown_video to vifmrcs and Default-256.

U...

90f4e0daa4b69b101ac48567d6d1a359d4f45a1b authored almost 2 years ago by xaizek <[email protected]>
Add Midi and more graphics to sample vifmrc

Thanks to aleksejrs.

Closes #891 on GitHub.

0b14fc3e6a1d696e72425b634aa36f615c3d8efa authored almost 2 years ago by xaizek <[email protected]>
Add *.unknown_video to vifmrcs and Default-256

Thanks to aleksejrs.

5dfa0dae7aab5c8e090641c0f2e5cdf2348cfe2d authored almost 2 years ago by xaizek <[email protected]>
Update audio matchers in vifmrcs and Default-256

- *.aac was missing in one place.
- add *.mpga
- add <audio/*> to :fileviewer in vifmrc

Than...

5763623ff129110ac1744773e1643874eb1fb1e7 authored almost 2 years ago by xaizek <[email protected]>
Fix weird mpv use for videos in vifmrc

%s? Why? It also probably handles multiple videos, so use %f.

31f49ff7e2ae743df5b896be07da048826522b08 authored almost 2 years ago by xaizek <[email protected]>
Update list of programs for audio in sample vifmrc

Use ffplay last. Pass %f instead of %c for mpv and mplayer.

Thanks to aleksejrs.

Closes #890 ...

4f2e086b26215e0c0ea071c9f937f7680c9b0ac9 authored almost 2 years ago by xaizek <[email protected]>
Use transmission-show in sample vifmrcs

93a1c5be897d3a116899ce974ffdde48c1c2ebbc authored almost 2 years ago by xaizek <[email protected]>
Don't combine %i with & in sample vifmrc

%i implies &.

119b52c6e09d549f92cc9e481ebfed1bda85bda4 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'beta-fixes-3'

Fix cl processing selection it was used previously on instead of file
under cursor when you run ...

9e592b9fac8fb5ab534d4885dc2f145eaa8404bf authored almost 2 years ago by xaizek <[email protected]>
Document search highlighting bug

There is no simple fix and a proper fix can probably break other things.
It's just unsafe to do ...

2dd15fd7870052a9bcf80b0d92aa6f86d1bd1c99 authored almost 2 years ago by xaizek <[email protected]>
Fix memory issues inside ncurses in menu dialogs

When dialog is displayed in menu mode after resizing the terminal
redrawwin() of ncurses seems t...

7303f46eb75c3412a246cd51c52d06f81532c231 authored almost 2 years ago by xaizek <[email protected]>
Fix selection not being stashed by do and dp

f9d318d080f12c95cac602c7244b6c42fc2b1609 authored almost 2 years ago by xaizek <[email protected]>
Fix rpreview: 'milleroptions' not copied on tabnew

0a37cad79a6ca7d1983da55e5d1b79482fa31905 authored almost 2 years ago by xaizek <[email protected]>
Extract misc/options_miller test fixture

Out of misc/options.

283464ae80edb923fc964378188f0cb613d8971c authored almost 2 years ago by xaizek <[email protected]>
Fix miller view graphics not being cleared

On displaying dialogs, entering menus, activating more or file info
modes.

Previously (for 0.12...

349d480da4c5018d20f921c0c4ecd02a4942aa21 authored almost 2 years ago by xaizek <[email protected]>
Extract ui/fileview:fview_clear_miller_preview()

Clears miller-view preview if it's currently visible.

90703e10167dcad258769a25440f9f08bed2d939 authored almost 2 years ago by xaizek <[email protected]>
Fix cl processing files it was used previously on

Instead of file under cursor when you run it twice in succession.

b862cc2bafa24e7f47ec302dfe696808f6ffafb3 authored almost 2 years ago by xaizek <[email protected]>
Document order of things in ChangeLog

Thanks to filtefalse.

994e691dc2de2ccefa692dd355f8078dbf7cbd5f authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'beta-fixes-2'

Document missing return value of getpanetype().

Reduced cursor flickering during incremental se...

254caa02f25c90e0a0b52b60beb035055b19cc80 authored almost 2 years ago by xaizek <[email protected]>
Reduced flickering during incsearch in visual mode

modvis_update() has been called at the initial position of a search.

bebc622db1dad37690c56c2a36accb72f9bbd140 authored almost 2 years ago by filterfalse <[email protected]>
Fix segfaults on sorting entries list by groups

aea193f716df7459b2d63a18cb59ca0ae48d4d3c authored almost 2 years ago by filterfalse <[email protected]>
Explicitly init line_stats_t::expanding_abbrev

58b0ebaf238dc4e0bb92f7f1e60075bdf4994bcf authored almost 2 years ago by filterfalse <[email protected]>
Document missing return value in getpanetype()

aaaf50ce5d76aee23a23de2b790bfd6532bfe981 authored almost 2 years ago by filterfalse <[email protected]>
Merge branch 'beta-fixes'

Fix :hideui not hiding anything on Windows.

Thanks to Ed Pavlov.

Make "withicase" and "withrca...

11ff952e38cb19c2ed3e9b364338eb2542b8dca2 authored almost 2 years ago by xaizek <[email protected]>
Fix :hideui on Windows

Thanks to Ed Pavlov.

Fixes #888 on GitHub.

400ae519cd7bbc1e2967d4ff9b387b7be7af1cb7 authored almost 2 years ago by xaizek <[email protected]>
Fix handling mouse events in n&q modes after :only

Normal mode switched pane to the left one if the right one was visible
and visual mode didn't wo...

74d34f6edcb03ea97e507c25cae5cde3d9f3dafa authored almost 2 years ago by xaizek <[email protected]>
Use ui_view_is_visible() in two more places

16689ad01af5639583f7ac22ded42a3b7d0f6477 authored almost 2 years ago by xaizek <[email protected]>
Made "withicase" & "withrcase" affect file sorting

Otherwise they might not produce the intended effect on comparison
results.

eb2920df4be98d824b352614f1631f435ae9f3da authored almost 2 years ago by xaizek <[email protected]>
Extract utils/str:strsorter() from ipc.c

To collect similar functions together and prepare for reuse of this one.

0b2c45eddb8ce7ad2ee68b882379362c38ba85f4 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'keys-fixes'

Fix user mappings replacing a mapping from Lua in an incomplete way
which could lead to assertio...

9184257b67bb68b9043ec46ce9e68a3a30b2f77f authored almost 2 years ago by xaizek <[email protected]>
Fix mappings with selectors missing from map menus

Like `y` and `d`.

aac1f33c42298d7279d9a086930492d1188e2413 authored almost 2 years ago by xaizek <[email protected]>
Fix user mappings replacing a mapping from Lua

It was done in an incomplete way which could lead to assertion or some
unpredictable behaviour.

69297a6ebbf958ebc7c11c1e002a306270ebedc5 authored almost 2 years ago by xaizek <[email protected]>
Make engine/keys.c:inc_counter() more readable

No need to nest conditional expression int a body of an if and add 0.

b1aa4d399438a17331394a03b3acc2121c7db98f authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'lua-view-selection'

Plugins
-------
* Add VifmView:select() and VifmView:unselect() (patch by filterfalse)
* Add ope...

bfb7d8ab71d8510e9da3227a1c3521db69e0dc32 authored almost 2 years ago by xaizek <[email protected]>
Fix copy&paste in docs on vifm.keys.add()

419df9507946345ad5929664062c94cb270f4053 authored almost 2 years ago by xaizek <[email protected]>
Add operator-select sample plugin

c8155efccc121e3ed1c46bd62e2e83af48109f3e authored almost 2 years ago by filterfalse <[email protected]>
Fix comment of vifmview.c:vifmview_cd()

It deals with a specific view, not the current one.

f2c2e52a0a89cc380f98af0c6c4772c11efdd2fa authored almost 2 years ago by xaizek <[email protected]>
Add VifmView:select() and VifmView:unselect()

0a42ddaba01426c65d9da3ffa2080a4cff5edaab authored almost 2 years ago by filterfalse <[email protected]>
Always sort and deduplicate extracted indexes

A boolean flag can be added later if needed.

55836f9d1c7e0813a5b2cc737f6e9b68cfe5d00c authored almost 2 years ago by filterfalse <[email protected]>
Generalize lua/vifm_keys.c:extract_indexes()

643f31e84ce060dfb61d538e3448007bb6942b05 authored almost 2 years ago by filterfalse <[email protected]>
Move lua/{vifm_keys => common}.c:extract_indexes()

8b8ce1d3e9b0f97a53bb475b78c94bf352b08ef8 authored almost 2 years ago by filterfalse <[email protected]>
Clarify what happens to non-integer indexes

They are ignored.

2728e2ea3f25304537e7fcfc3b47a15256b11bb8 authored almost 2 years ago by filterfalse <[email protected]>
Include stdlib in lua/vifm_keys.c for free()

3c2ffe4f083015fb123fbf6ec9afb09d27cfd7e8 authored almost 2 years ago by filterfalse <[email protected]>
Merge branch 'tilde-expansion-segfault'

Fix segfault on trying to expand "~username" path prefix with a huge
length of the user name.

T...

8af42d53ba6e8a386d77a9a251ad5462b7f61aec authored almost 2 years ago by xaizek <[email protected]>
Fix segfault on trying to expand "~username"

Happened for a huge length of the user name.

e88c9a3e8db4294e167473bd5e0efae449d9b1c4 authored almost 2 years ago by xaizek <[email protected]>
Simplify utils/path.c:try_replace_tilde() function

Make it more readable in the process.

c2866b9cb6a4cb45b2a3893335856d5d4d9d99bb authored almost 2 years ago by xaizek <[email protected]>
Simplify modes/view.c:find_next()

`l < vi->nlines` duplicated loop condition which is still held at that
point, after dropping it ...

5b5134b426a2a47951c4d63999e19754bb646f8e authored almost 2 years ago by xaizek <[email protected]>
Better variable name in show_plugin_log()

`m` is quite short and is used for parameter names in relation to menus.

d2cd93aaadce7419c4f065a43e1bdfcc79a1180e authored almost 2 years ago by xaizek <[email protected]>
Add missing TSTATIC definition to cmdline.c

d1d3ab0c2e481cafe470906561e329ddf6bfe7d7 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'beta-0.13'

Unsupported color in :highlight is no hard error, don't report it to the
user via dialogs.

Impr...

94bef240b4497e2d798a7cd09b01e7018ea6eec8 authored almost 2 years ago by xaizek <[email protected]>
Version v0.13-beta

00cf151e5eeaac65086933e6d80fb0d3b5f2aceb authored almost 2 years ago by xaizek <[email protected]>
Unsupported color in :highlight is no hard error

Otherwise colorscheme fallback doesn't work smoothly as there are lots
of error messages.

a73039c57111fae98afc3bbb47276d744890cc93 authored almost 2 years ago by xaizek <[email protected]>
Improve menu_can_be_searched_interactively() test

Checking for "Compiled at:" won't work if configured with
--disable-build-timestamp option.

8c17d9229019cc8b33d31faf7253ffd5f8a4d3b7 authored almost 2 years ago by xaizek <[email protected]>
Fix updating ChangeLogs in deploy script

It dropped "to " part.

1500d98f84e2b649cada9ddb0874d0089200a246 authored almost 2 years ago by xaizek <[email protected]>
Update NEWS file for v0.13 beta

15ddfa4b74ca4093e14f515ff9aa42b56d77f572 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'compare-cmd-fix'

Fix :compare toggling options even without !.

Also some editing of ChangeLogs.

98e34346698eff088a308bb3b52c9cd8c4248931 authored almost 2 years ago by xaizek <[email protected]>
Fix :compare toggling options even without !

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