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

Add "rpreview:files" to 'milleroptions'

Thanks to aksr.

Closes #870 on GitHub.

33a3f1324308972b924f0a0397825812865fe60d authored almost 2 years ago by xaizek <[email protected]>
Introduce MillerPreview enumeration

So that extending "rpreview:" in 'milleroptions' becomes easy.

073e4bc89e3a9acb769d0e4dcfc2855c5ef71972 authored almost 2 years ago by xaizek <[email protected]>
Fix 'milleroptions' not recovering value in full

It was not recovering "rpreview:" on error.

688f18cfd74072bf15ff45b02cc8a54afdb3c763 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'ui-fix-and-nav-fix'

Fix crash on a_CTRL-O when filtering.

Thanks to filterfalse.

Fix padding highlight overflowing...

b6a2abead1a33d52f1bec7f0df083a25907824e0 authored almost 2 years ago by xaizek <[email protected]>
Fix padding overflowing in tls with fixed cols

This is a follow up to 2ef4166bcb0b2008dedce6c8127118b5a3487d0b:

Fix clusterfuck of padding...

c76763f8e9c57aa8ac936af2bcc24b9f8a1ec7a1 authored almost 2 years ago by xaizek <[email protected]>
Fix crash on a_CTRL-O when filtering

Happened due to local_filter_cancel() could restore filter that
shortened list of files in the v...

b9a9c802994a3d86c318893a74360b86810cadc8 authored almost 2 years ago by xaizek <[email protected]>
Checking for # via findstring doesn't always work

AppVeyor CI fails with "invalid syntax in conditional".

568741d892d0f1f45b3c2246a9672efdcf1d23d8 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'better-mouse-support'

Handle clicks on tab line. Thanks to 高浩亮 (a.k.a. haolian9).

Made Ctrl-E/Ctrl-Y scroll transpos...

ea5e602c5dff475852977895860834d5501eb01c authored almost 2 years ago by xaizek <[email protected]>
Handle clicks on left and right miller columns

Leave directory for the left column and open entry for the right one.

8104d335c58346f956521d83c5d1f72418fc8969 authored almost 2 years ago by xaizek <[email protected]>
Handle clicks on tab line

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

Closes #855 on GitHub.

a99606addf04d4393fe48b3ff4f1958e462cb754 authored almost 2 years ago by xaizek <[email protected]>
Extract ui/ui.c:format_tab_labels() function

Computes layout of the tab line and formats tab labels.

ed3ad1c6b996b760bea7981f486f909073d0ead9 authored almost 2 years ago by xaizek <[email protected]>
Rewrite body of ui.c:print_tabline()

Now it's separated into two distinct phases:
1. Preparing tab labels.
2. Drawing tab line.

69d4aa994315c096151f0e1a8aa0a870f25c7224 authored almost 2 years ago by xaizek <[email protected]>
Introduce cline_append() function

Appends line and attributes from admixture freeing them afterwards.
Is used to join multiple cli...

6b7c1cf3ff9a8ae074a641bfabb5ea96c156b6f2 authored almost 2 years ago by xaizek <[email protected]>
Add basic environment setup to HACKING.md

e8bda4ca36b3f6ab198782a57daed76af5da1ab3 authored almost 2 years ago by xaizek <[email protected]>
Add -Wno-error=deprecated-declarations

This is to not fail the build with --enable-developer or --enable-werror
due to GTK headers (dep...

3bf80ec4e205d81a9f2f914a8c2c994dbeafb037 authored almost 2 years ago by xaizek <[email protected]>
Check if mouse event is enabled in ui_get_mouse()

And return ERR if mouse isn't enabled for current mode instead of
leaving the check to the caller.

aaa4a8b8b4b0a621756753e79f5c7907ad6a6cc9 authored almost 2 years ago by xaizek <[email protected]>
Extract and use ui_get_mouse() function

Now all mouse event handlers can take advantage of handling coordinates
greater than 222.

834e3a75cd294837633f904d9ba738492ac66ae6 authored almost 2 years ago by xaizek <[email protected]>
Handle mouse in view mode

03f1ec566ea4b4531c2ac3cfc5d429f5a1e95539 authored almost 2 years ago by xaizek <[email protected]>
Take prompt width into account on mouse clicks

* Account for prompt width on moving the cursor.
* Move cursor to the front of the line when pro...

5fc0c6da42af59671ecded5f8c6dee5239cda3ee authored almost 2 years ago by xaizek <[email protected]>
Handle mouse in ls-view and transposed ls-view

ad76331d457a754f5bb2e8e47e672f025e760c20 authored almost 2 years ago by xaizek <[email protected]>
Rename&move update_scroll_bind_offset()

New name is ui_remember_scroll_offset().

7189633c5f2f8c64b41b4cd04df59bbc55041bf7 authored almost 2 years ago by xaizek <[email protected]>
Rename {consider => fview_enforce}_scroll_offset()

2cb1435cbfb0b1caf5b7725bded835b5ba926897 authored almost 2 years ago by xaizek <[email protected]>
Update functions for checking scrollability

fpos_has_hidden_top() -> fpos_can_scroll_back()
can_scroll_up() -> fpos_can_scroll_back()
...

3441407b4b333e083eb864283dff492a70cb8c20 authored almost 2 years ago by xaizek <[email protected]>
Made Ctrl-E/Ctrl-Y scroll transposed ls-like view

Horizontally, by one column.

b72dd79d19865b8edcfaa31db15ac74c6333cb9b authored almost 2 years ago by xaizek <[email protected]>
Fix Ctrl-E in visual mode at view scrolled to top

No scrolling was happening, because of a wrong check for whether
scrolling should be done.

8b9543813d3005c6c25e63f8d2b350b2042bb70a authored almost 2 years ago by xaizek <[email protected]>
Rename&move get_corrected_list_pos_{up,down}()

get_corrected_list_pos_down() -> fpos_adjust_for_scroll_back()
get_corrected_list_pos_up() -> ...

1b9b4565bd2c313335bacc78242e3e3f6ff23f3b authored almost 2 years ago by xaizek <[email protected]>
Make a consistent fview_scroll_*by() group

* scroll_up() -> fview_scroll_back_by()
* scroll_down() -> fview_scroll_fwd_by()
* scr...

6d111e908d6921f841371a12c13255e098db8491 authored almost 2 years ago by xaizek <[email protected]>
Handle mouse only in main miller column

d8b3d2bba661bce2f784203e4a50178144d37666 authored almost 2 years ago by xaizek <[email protected]>
Introduce fview_map_coordinates()

This is a common function for turning mouse coordinates into position in
the file list.

3ff9f71b6e74be4232d9367994da82d4501791c1 authored almost 2 years ago by xaizek <[email protected]>
Use absolute paths less in src/Makefile.am

They break Makefile if full path contains some special symbol for a
Makefile.

While at it, star...

0518ff8f8de88019377ca55d37824e726b14970c authored almost 2 years ago by xaizek <[email protected]>
Update build-aux/config.h.in

Somehow it wasn't regenerated when use of AX_PTHREAD() was added.

a003517eb4bacab37bd0be17b33abf445db2def5 authored almost 2 years ago by xaizek <[email protected]>
Try to catch bad CWD in tests' Makefile

: and # definitely break Makefile. $ produces wrongs paths, but I
couldn't make `$(findstring $...

795f9be03d9b863fff6c6d4525ed45d7296282ad authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'various-improvements'

Add Ctrl-J key to command-line navigation. It leaves the mode without
opening a file/directory....

7cb40e2d4cffc60cf2651871b8884688d79d9714 authored almost 2 years ago by xaizek <[email protected]>
Consider /etc/vifm when running inside AppImage

Thanks to aleksejrs.

Closes #866 on GitHub.

c38b2a15d06b547bd7dbd37ca29e028d15f0c282 authored almost 2 years ago by xaizek <[email protected]>
Apply file highlighting to "ext" and "fileext"

Those are view columns.

Thanks to aleksejrs.

Closes #867 on GitHub.

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

It leaves the mode without opening a file/directory.

Thanks to filterfalse.

8de0813e6f79e1ce6623ebfabc45ea6cc36c441d authored almost 2 years ago by xaizek <[email protected]>
Add 'navoptions' option

It allows tweaking navigation mode a bit.

Thanks to filterfalse.

9b44c82661f3ee46339ddc17dd6d547a93e63c73 authored almost 2 years ago by xaizek <[email protected]>
Extract tests/commands/set fixture

Out of misc/options fixture. The extracted tests are really for
:set/:setlocal/:setglobal and n...

fa49eeb443a24383da5f2808e17ecabdff7640fc authored almost 2 years ago by xaizek <[email protected]>
Don't columns_free() view_t::columns explicitly

view_teardown() does it, no need to free view columns before or after
it.

d49b1aa0ba29ac7748820bf010c85d04fb4e3bc4 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'more-nav-fixes'

Use "(nav)" instead of "nav" to indicate navmode.

Fix :filter in :autocmd messing up navmode.

...

48f5dcd369ec0f4ade8428427f94144790b259e0 authored almost 2 years ago by xaizek <[email protected]>
Fix interactive filtering not reacting to input

Recent commit 2336aed02d754ed39ef6b3b35d1004593442b6b5:

Don't invoke line change on enterin...

b28e54ce0826dbbeb8e9acbe3122a318bb1ea5e1 authored almost 2 years ago by xaizek <[email protected]>
Improve structure of the THANKS file a bit

To make special thanks more prominent.

032ff93cd669d5b8b17d1365ee1a0e605b43fcf1 authored almost 2 years ago by xaizek <[email protected]>
Use "(nav)" instead of "nav" to indicate navmode

Thanks to filterfalse.

3bdbd4bb2b40b675ea75eb9870fc93044d044f7b authored almost 2 years ago by xaizek <[email protected]>
Fix several inconsistencies in the ChangeLog

c300b6684b0003f5d20fb53df86f60cfcbaa281c authored almost 2 years ago by xaizek <[email protected]>
Explicitly reload directory list after a_<cr>

This allows navmode reentering to pick up updated list position,
otherwise leaving navmode could...

f8b8978d1c697615d1102aa2ccdf483c1cfbbffe authored almost 2 years ago by xaizek <[email protected]>
Fix :filter in :autocmd messing up navmode

Navmode was restoring old cursor position which didn't make sense for
new file list.

Thanks to ...

8d24fa6e1914fbd7a832e4f4323e0eb7fea1d315 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'better-cmds-code'

Supposed to be just code updates, but fixed some bugs along the way:

Fix error of :cunabbrev no...

866b04b79759dba956acacf0d43423fb5317d3a8 authored almost 2 years ago by xaizek <[email protected]>
Align cmds_exec() prototype with cmds_dispatch*()

3719e10be8575e52f3cc161971546b4bc68d7e3a authored almost 2 years ago by xaizek <[email protected]>
Rename exec_commands() -> cmds_dispatch()

932661c5dfa8a5bd8488c560da14ec9e3b058c15 authored almost 2 years ago by xaizek <[email protected]>
Rename exec_command() -> cmds_dispatch1()

bcde8dec6bbbb9b0ca898eb97dcce33ddc9baa1e authored almost 2 years ago by xaizek <[email protected]>
Rename init_commands() -> cmds_init()

aa53179ff75fa6b60287f891eabe21f31c1c619a authored almost 2 years ago by xaizek <[email protected]>
Rename {commands,cmds}_scope_*()

d07fb2214bbf438dd32d1404616354e07d2bd2c3 authored almost 2 years ago by xaizek <[email protected]>
Rename find_last_command() -> cmds_find_last()

549c388c2047ec653f7fa2af0825fc8c75d8c824 authored almost 2 years ago by xaizek <[email protected]>
Rename get_and_execute_command() -> cmds_run_ext()

0c8c468e700ddee1412a1e9f73b3bed94b5c8e53 authored almost 2 years ago by xaizek <[email protected]>
Rename get_ext_command() -> cmds_get_ext()

f060e7fad6e6d01096fb85b980af4a5e29d0aa8b authored almost 2 years ago by xaizek <[email protected]>
Rename is_history_command -> cmds_goes_to_history

46f7f132e98ff458234d7f3fea0d13a4be0881f2 authored almost 2 years ago by xaizek <[email protected]>
Rename command_accepts_expr -> cmds_has_expr_args

ecb5c87e28faf59a42df6aa17032831fbed62add authored almost 2 years ago by xaizek <[email protected]>
Rename commands_escape_for_insertion()

To cmds_insertion_escape().

949a72360c4f9bcd27f75aa3c0386233f45cad17 authored almost 2 years ago by xaizek <[email protected]>
Rename get_cmdline_location()->cmds_classify_pos()

48ea635c732d5581bab428c4d68f30143f5294ad authored almost 2 years ago by xaizek <[email protected]>
Rename eval_arglist() -> cmds_eval_args()

Also rename try_eval_arg{list,s}() and remove unnecessary TSTATIC
declaration.

57bc21d0cdbed9ec5d4d0ae21ec2c99f3e8927ae authored almost 2 years ago by xaizek <[email protected]>
Return CMDS_ERR_CUSTOM on error of :commands

It was already done in some places, but a lot of places incorrectly
returned 1.

cafecc5332f1e94a3e0e1752a620c9e7b6023029 authored almost 2 years ago by xaizek <[email protected]>
Fix :echo w/o args printing previous message

43d319bd318ac190f68306e17c1dc7a204153589 authored almost 2 years ago by xaizek <[email protected]>
Test invalid :bmark! invocation form

ebd21e043e665aca143efc38fef8d4927b7da841 authored almost 2 years ago by xaizek <[email protected]>
Fix segfault on passing invalid tag to :delbmarks

Missing error check for NULL.

93eb35d715dc7959e44386a62f1d91cfabc90697 authored almost 2 years ago by xaizek <[email protected]>
Fix error of :cunabbrev not being visible

It was printed, but return value wasn't ensuring that it will remain on
the status bar.

40f4e2c792f3fd82d07e01ac3e2a9eff7ca072fb authored almost 2 years ago by xaizek <[email protected]>
Initialize cfg.sizefmt in conf_setup() in tests

To avoid NaNs in friendly_size_notation().

7b10f4180522ccabc1f262328714f137d97d4b9e authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'nav-fixes'

Don't reset navigation input of failure to enter a directory.

Fix navmode's <c-n>/<c-p> when 'l...

7c815649e29b248d952dff968082bf901f759fa4 authored almost 2 years ago by xaizek <[email protected]>
Fix cursor being moved on leaving navigation mode

No need to invoke input-changed handler in this case.

Thanks to filterfalse.

4dc5ca73358ae37c23d18e01470200a5f9a7a128 authored almost 2 years ago by xaizek <[email protected]>
Revert "Add do/dp keys to visual mode"

This reverts commit 92948a4efb0ee1b689f1f89e5a7c444adfdd3b89.

The problem is that it conflicts ...

aef0e3aee53691f8f730ca51973bd7e27933ba19 authored almost 2 years ago by xaizek <[email protected]>
Fix a "benign" data race on ga/gA

It's benign, because background thread was only reading global data
which is always there. Noth...

e1ce47446ca85510c998e738fa1b140aa735cf82 authored almost 2 years ago by xaizek <[email protected]>
Account for verbosity on creating runtests file

ec58e0faa7ab8eaa371becbb511e5e188ca8d815 authored almost 2 years ago by xaizek <[email protected]>
Make runtests accept and pass arguments

Generated Makefile doesn't pass any, so this breaks nothing.

This allows using the script to ru...

3b1fa6a15e32f5e19bcbb213c1d9009e09c477a7 authored almost 2 years ago by xaizek <[email protected]>
Fix :normal in :autocmd interfering with navmode

:normal was assuming it runs in normal mode, which led to chars being
sent into interactive filt...

3f6e5b26e2fdc0dae84490aed1dfd8f3b6e6a089 authored almost 2 years ago by xaizek <[email protected]>
Introduce modes_is_cmdline_like()

And use it whenever code checked for just CMDLINE_MODE (forgot to update
all cases) or also NAV_...

e77c1d1b06e75e1c3a84e6451447aa48c4acef8b authored almost 2 years ago by xaizek <[email protected]>
Don't reset navigation input of failure to enter

We don't change filter on failure, so input shouldn't be changed as
well.

Thanks to filterfalse.

5da595aa142a03ff0c1e8d3025fc31e6fb9ef6b6 authored almost 2 years ago by xaizek <[email protected]>
Enable defining navigation maps in Lua

3b63771f70672ef55bb0c05d7e6850f0560063d6 authored almost 2 years ago by xaizek <[email protected]>
Fix navmode's <c-n>/<c-p> when 'lsview' is set

The keys were incorrectly going only up/down vertically instead of
spanning every cell.

Thanks ...

59560fcb50f902b72bc3f78f73861b0c9a804c7e authored almost 2 years ago by xaizek <[email protected]>
Fix utils/build_path.c test compilation

Used wrong #include.

dc421d8aa041a9e692db6dc0057ccced7f163863 authored almost 2 years ago by xaizek <[email protected]>
Extract menus test suite out of misc suite

misc is getting huge, need to extract things out of it.

30ae9ac5d76b6a0c3e33ac642b41c9bdb1a80036 authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'selection-do-dp'

Extended do and dp keys to process selection.

Thanks to Mark S. (a.k.a. Markuzcha).

Add do/dp ...

836c575ebf751ebd00bbf1d61dac1256be5f0df0 authored almost 2 years ago by xaizek <[email protected]>
Make aborting on selection do/dp propagate upward

Until now aborting failing do/dp operation on one file would not cancel
operations on other file...

3b089599ccd590726b693e119d648b38ff6534f8 authored almost 2 years ago by xaizek <[email protected]>
Handle cancellation earlier on ior traversal

Traversing current directory after getting VR_CANCELLED on entering it
seems unnecessary.

7df7ec7af34b847b41db08de6b9b0121c3edb12f authored almost 2 years ago by xaizek <[email protected]>
Add IO_RES_ABORTED code to io/*

This allows recognizing user's request to abort a compound operation at
higher level of the call...

b30b99523e8a53bbbef68f8fd56948cd9ea81ac8 authored almost 2 years ago by xaizek <[email protected]>
Add do/dp keys to visual mode

Since they now work with selection.

92948a4efb0ee1b689f1f89e5a7c444adfdd3b89 authored almost 2 years ago by xaizek <[email protected]>
Extended do and dp keys to process selection

Thanks to Mark S. (a.k.a. Markuzcha).

Closes #857 on GitHub.

558ee43a59e5eea5a89b0753bb31007d1f7f200a authored almost 2 years ago by xaizek <[email protected]>
Test failure of iop_cp to remove file on override

78e3124ab85fffa157b71e0472603606735e9c42 authored almost 2 years ago by xaizek <[email protected]>
Make compare:compare_move_entry() take entry's idx

Now it should be possible to move more than one file at a time.

8dfb2921fe4d825c1741627081848582849b573f authored almost 2 years ago by xaizek <[email protected]>
Make result of build_path() more predictable

be6969e40b958ac04cec33f35001c60feb17aa3e authored almost 2 years ago by xaizek <[email protected]>
Hoist undo management into compare_move()

Out of implementation of individual operations. This is in preparation
of performing do/dp on m...

e6e2cc28a4254be353833b8df6f7da121cda374a authored almost 2 years ago by xaizek <[email protected]>
Make statusline.c:format_job_bar() more resilient

By handling more memory errors.

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

4a7cc4dfff5a753a6947037a2604ebff28d29ffc authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'more-code-improvements'

Partially related to #860 on GitHub.

a8d5e94269f7c07d2465c002d32bd16b14b0f4e9 authored almost 2 years ago by xaizek <[email protected]>
Make bg_op_lock() return status code

On the off chance that it will fail. Don't know when bg_op_unlock() can
fail and how to handle ...

45d041cdc74db1f8967e55153107223d8d2f0855 authored almost 2 years ago by xaizek <[email protected]>
Better control-flow in background.c:job_check()

ddd62938878921e660c47a7b1456475b3b327aac authored almost 2 years ago by xaizek <[email protected]>
Highlight *.lz archives in Default-256

4e36c460674ec7a3ce359e797b11c2c0a0da4694 authored almost 2 years ago by xaizek <[email protected]>
Less code duplication in bg_check()

9b1f8a46f5f89624f43037820b3fef027e5bac9b authored almost 2 years ago by xaizek <[email protected]>
Simplify TLS usage in background.c

No need to use pthread_once(), we can just create key of the
thread-local storage on initializat...

9d95cc8540907e5bff25795d0390534a3aaac341 authored almost 2 years ago by xaizek <[email protected]>
Make bg_init() return status code

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

46d42c4d78e6cddc9c07bfec397b2667cb1be54d authored almost 2 years ago by xaizek <[email protected]>
Merge branch 'code-improvements'

Change how pthread support is detected by configure script to handle
more cases.

Handle return ...

08127229f3f3bf4b4e25eeeb4ee55101b7b71b0c authored almost 2 years ago by xaizek <[email protected]>
More error handling in background.c

Primarily related to the use of pthreads.

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

Closes #8...

91f8b14dc6e8bac53966dacb24ab46f201c035bb authored almost 2 years ago by xaizek <[email protected]>
Make error about 'viewcolumns' format more useful

Include name of a column which wasn't found in an error message if
that's the issue. Otherwise ...

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