xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit bf4592ddb827c9a44074dccbfd2c304ca4085d3c

Fix typos in comments/documentation
Thanks to Hendrik Jaeger (a.k.a. henk).
Author: xaizek
Author date (UTC): 2016-02-05 17:41
Committer name: xaizek
Committer date (UTC): 2016-02-05 17:41
Parent(s): 59343ab0ff211c62b2e1934b0d6b5fd65410a87d
Signing key:
Tree: 3bcebb92015d7f4f70150fba0f0f3ac65046becf
File Lines added Lines deleted
ChangeLog 2 2
NEWS 1 1
data/man/vifm.1 2 2
data/vim/doc/app/vifm-app.txt 2 2
patches/pdcurses/pdcurses-1-window-timeout.patch 1 1
src/compat/os.h 1 1
src/engine/keys.c 1 1
src/engine/options.c 2 2
src/filtering.c 1 1
src/lcovrc 1 1
src/modes/dialogs/msg_dialog.c 1 1
src/modes/view.c 1 1
src/ui/column_view.h 1 1
src/ui/escape.c 1 1
src/ui/ui.h 1 1
src/vifm-convert-dircolors 1 1
File ChangeLog changed (mode: 100644) (index a0f42e972..6faeca2fa)
400 400 Fixed choosing user vs. default shell on Windows (was reversed), related Fixed choosing user vs. default shell on Windows (was reversed), related
401 401 to %S, %i and alike macros. to %S, %i and alike macros.
402 402
403 Fixed loosing view sorting on failed attempt to load custom view. Thanks
403 Fixed losing view sorting on failed attempt to load custom view. Thanks
404 404 to filterfalse. to filterfalse.
405 405
406 406 Fixed not restoring 'sort' value on leaving unsorted custom view. Fixed not restoring 'sort' value on leaving unsorted custom view.
 
3516 3516
3517 3517 Fixed bug with sorting symbolic links by name. Fixed bug with sorting symbolic links by name.
3518 3518
3519 Fixed bug with loosing selection before running command from visual mode.
3519 Fixed bug with losing selection before running command from visual mode.
3520 3520
3521 3521 Fixed bugs with registers and segmentation fault. Fixed bugs with registers and segmentation fault.
3522 3522
File NEWS changed (mode: 100644) (index 8dee92a66..29012866c)
... ... vifm v0.7.0 is out!
2537 2537 And as it was promised vifm is back on Windows! And as it was promised vifm is back on Windows!
2538 2538
2539 2539 This release breaks compatibility a little, which was done intentionally to This release breaks compatibility a little, which was done intentionally to
2540 make vifm more vi-like. I hope that wont make too much discomfort for users,
2540 make vifm more vi-like. I hope that won't make too much discomfort for users,
2541 2541 at least I tried to reduce discomfort as much as I can. In particular, an at least I tried to reduce discomfort as much as I can. In particular, an
2542 2542 utility program named vifmrc-converter is shipped with vifm now. It's main utility program named vifmrc-converter is shipped with vifm now. It's main
2543 2543 purpose is to automatically convert configuration files (vifmrc, vifminfo, purpose is to automatically convert configuration files (vifmrc, vifminfo,
File data/man/vifm.1 changed (mode: 100644) (index ab21d8b36..51f1a1b87)
... ... Currently this means don't check if directory has changed, skip check if
3587 3587 target of symbolic links exists, assume that link target located on slow fs target of symbolic links exists, assume that link target located on slow fs
3588 3588 to be a directory (allows entering directories and navigating to files via gf). to be a directory (allows entering directories and navigating to files via gf).
3589 3589 If you set the option to "*", it means all the systems are considered slow If you set the option to "*", it means all the systems are considered slow
3590 (usefull for cygwin, where all the checks might render vifm very slow if there
3590 (useful for cygwin, where all the checks might render vifm very slow if there
3591 3591 are network mounts). are network mounts).
3592 3592
3593 3593 Example for autofs root /mnt/autofs: Example for autofs root /mnt/autofs:
 
... ... being truncated).
4861 4861 .\" --------------------------------------------------------------------------- .\" ---------------------------------------------------------------------------
4862 4862 vifm has a builtin support of automated FUSE file system mounts. It is \ vifm has a builtin support of automated FUSE file system mounts. It is \
4863 4863 implemented using file associations mechanism. To enable automated mounts, \ implemented using file associations mechanism. To enable automated mounts, \
4864 one needs to use a specially formated program line in filetype or \
4864 one needs to use a specially formatted program line in filetype or \
4865 4865 filextype commands. Currently two formats are supported: filextype commands. Currently two formats are supported:
4866 4866
4867 4867 1) FUSE_MOUNT 1) FUSE_MOUNT
File data/vim/doc/app/vifm-app.txt changed (mode: 100644) (index f3914588a..de86e4bdb)
... ... Currently this means don't check if directory has changed, skip check if
2992 2992 target of symbolic links exists, assume that link target located on slow fs target of symbolic links exists, assume that link target located on slow fs
2993 2993 to be a directory (allows entering directories and navigating to files via to be a directory (allows entering directories and navigating to files via
2994 2994 |vifm-gf|). If you set the option to "*", it means all the systems are |vifm-gf|). If you set the option to "*", it means all the systems are
2995 considered slow (usefull for cygwin, where all the checks might render vifm
2995 considered slow (useful for cygwin, where all the checks might render vifm
2996 2996 very slow if there are network mounts). very slow if there are network mounts).
2997 2997
2998 2998 Example for autofs root /mnt/autofs: > Example for autofs root /mnt/autofs: >
 
... ... and for this reason the following rules apply during lookup:
4106 4106
4107 4107 vifm has a builtin support of automated FUSE file system mounts. It is vifm has a builtin support of automated FUSE file system mounts. It is
4108 4108 implemented using file associations mechanism. To enable automated mounts, one implemented using file associations mechanism. To enable automated mounts, one
4109 needs to use a specially formated program line in |vifm-:filetype| or
4109 needs to use a specially formatted program line in |vifm-:filetype| or
4110 4110 |vifm-:filextype| commands. Currently two formats are supported: |vifm-:filextype| commands. Currently two formats are supported:
4111 4111
4112 4112 1) FUSE_MOUNT *vifm-FUSE_MOUNT* 1) FUSE_MOUNT *vifm-FUSE_MOUNT*
File patches/pdcurses/pdcurses-1-window-timeout.patch changed (mode: 100644) (index d30bbd6bc..524db7b58)
... ... This patch has been taken from:
5 5 https://sourceforge.net/p/pdcurses/bugs/79/ https://sourceforge.net/p/pdcurses/bugs/79/
6 6
7 7 Three window related functions didn't copy _delayms member of the Three window related functions didn't copy _delayms member of the
8 WINDOW structure, thus loosing delay length. Patch is for 3.4
8 WINDOW structure, thus losing delay length. Patch is for 3.4
9 9 release version and fixes the bug (but there might be more similar release version and fixes the bug (but there might be more similar
10 10 bugs). bugs).
11 11
File src/compat/os.h changed (mode: 100644) (index 4d7fac272..254f6586a)
59 59 #define os_lstat os_stat #define os_lstat os_stat
60 60
61 61 /* Windows has tmpfile(), but (prepare yourself) it requires administrative /* Windows has tmpfile(), but (prepare yourself) it requires administrative
62 * priviledges... */
62 * privileges... */
63 63 #define os_tmpfile win_tmpfile #define os_tmpfile win_tmpfile
64 64
65 65 struct stat; struct stat;
File src/engine/keys.c changed (mode: 100644) (index 6301accb7..607b99aa7)
... ... dispatch_keys_at_root(const wchar_t keys[], keys_info_t *keys_info,
313 313 int has_duplicate; int has_duplicate;
314 314 int result; int result;
315 315
316 /* The loop finds longest match of the input (keys) amoung registered
316 /* The loop finds longest match of the input (keys) among registered
317 317 * shortcuts. */ * shortcuts. */
318 318 curr = root; curr = root;
319 319 while(*keys != L'\0') while(*keys != L'\0')
File src/engine/options.c changed (mode: 100644) (index 3e3354cf9..6c820bcd1)
... ... set_options(const char args[], OPT_SCOPE scope)
306 306
307 307 if(*args == '\0' && *buf == '\0') if(*args == '\0' && *buf == '\0')
308 308 { {
309 /* Stop on reacing comment. */
309 /* Stop on reaching comment. */
310 310 break; break;
311 311 } }
312 312
 
... ... complete_options(const char args[], const char **start, OPT_SCOPE scope)
1260 1260 args = extract_option(args, buf, 0); args = extract_option(args, buf, 0);
1261 1261 if(args == NULL || (*args == '\0' && *buf == '\0')) if(args == NULL || (*args == '\0' && *buf == '\0'))
1262 1262 { {
1263 /* Just exit on error or reacing comment. */
1263 /* Just exit on error or reaching comment. */
1264 1264 vle_compl_add_match(buf); vle_compl_add_match(buf);
1265 1265 return; return;
1266 1266 } }
File src/filtering.c changed (mode: 100644) (index b8359dafc..2aca940fb)
... ... get_unfiltered_pos(const FileView *const view, int pos)
302 302 return -1; return -1;
303 303 } }
304 304
305 /* Loads full list of files into unfiltered list of the view. Returns positon
305 /* Loads full list of files into unfiltered list of the view. Returns position
306 306 * of file under cursor in the unfiltered list. */ * of file under cursor in the unfiltered list. */
307 307 static int static int
308 308 load_unfiltered_list(FileView *const view) load_unfiltered_list(FileView *const view)
File src/lcovrc changed (mode: 100644) (index a381d794f..89d6e1059)
... ... genhtml_desc_html=0
110 110 # Use gcov's --all-blocks option if non-zero # Use gcov's --all-blocks option if non-zero
111 111 #geninfo_gcov_all_blocks = 1 #geninfo_gcov_all_blocks = 1
112 112
113 # Specify compatiblity modes (same as --compat option of geninfo).
113 # Specify compatibility modes (same as --compat option of geninfo).
114 114 #geninfo_compat = libtool=on, hammer=auto, split_crc=auto #geninfo_compat = libtool=on, hammer=auto, split_crc=auto
115 115
116 116 # Adjust path to source files by removing or changing path components that # Adjust path to source files by removing or changing path components that
File src/modes/dialogs/msg_dialog.c changed (mode: 100644) (index 785df0f6c..bf7394c05)
... ... draw_msg(const char title[], const char msg[], const char ctrl_msg[],
550 550 } }
551 551 } }
552 552
553 /* Counts number of sub-lines (seperated by new-line character in the msg. Sets
553 /* Counts number of sub-lines (separated by new-line character in the msg. Sets
554 554 * *max_len to the length of the longest sub-line. Returns total number of * *max_len to the length of the longest sub-line. Returns total number of
555 555 * sub-lines, which can be zero is msg is an empty line. */ * sub-lines, which can be zero is msg is an empty line. */
556 556 static size_t static size_t
File src/modes/view.c changed (mode: 100644) (index 1ea2b1d1a..4467a3add)
... ... typedef struct
80 80 int line; /* Current real line number. */ int line; /* Current real line number. */
81 81 int linev; /* Current virtual line number. */ int linev; /* Current virtual line number. */
82 82
83 /* Dimentions, units of actions. */
83 /* Dimensions, units of actions. */
84 84 int win_size; /* Scroll window size. */ int win_size; /* Scroll window size. */
85 85 int half_win; /* Height of a "page" (can be changed). */ int half_win; /* Height of a "page" (can be changed). */
86 86 int width; /* Last width used for breaking lines. */ int width; /* Last width used for breaking lines. */
File src/ui/column_view.h changed (mode: 100644) (index cb94cf2d6..3cebec5d1)
... ... CropType;
59 59 struct columns_list_t; struct columns_list_t;
60 60 typedef struct columns_list_t *columns_t; typedef struct columns_list_t *columns_t;
61 61
62 /* A column callback function, which sould fill the buf with column text. */
62 /* A column callback function, which should fill the buf with column text. */
63 63 typedef void (*column_func)(int id, const void *data, size_t buf_len, typedef void (*column_func)(int id, const void *data, size_t buf_len,
64 64 char buf[]); char buf[]);
65 65
File src/ui/escape.c changed (mode: 100644) (index ed966e391..384a56994)
... ... esc_highlight_pattern(const char line[], const regex_t *re)
147 147
148 148 /* Forms new line with highlights of matcher of the re regular expression using /* Forms new line with highlights of matcher of the re regular expression using
149 149 * escape sequences that invert colors. Returns NULL when no match found or * escape sequences that invert colors. Returns NULL when no match found or
150 * memory allocation error occured. */
150 * memory allocation error occurred. */
151 151 static char * static char *
152 152 add_pattern_highlights(const char line[], size_t len, const char no_esc[], add_pattern_highlights(const char line[], size_t len, const char no_esc[],
153 153 const int offsets[], const regex_t *re) const int offsets[], const regex_t *re)
File src/ui/ui.h changed (mode: 100644) (index 669880f22..af299ae75)
... ... WINDOW *lborder;
346 346 WINDOW *mborder; WINDOW *mborder;
347 347 WINDOW *rborder; WINDOW *rborder;
348 348
349 /* Updates the ruler with infomation from the view. */
349 /* Updates the ruler with information from the view. */
350 350 void ui_ruler_update(FileView *view); void ui_ruler_update(FileView *view);
351 351
352 352 /* Sets text to be displayed on the ruler. Real window update is postponed for /* Sets text to be displayed on the ruler. Real window update is postponed for
File src/vifm-convert-dircolors changed (mode: 100755) (index 1bd2f40bd..845337028)
... ... sub add_to_attrmap
213 213 my $attrs = shift; my $attrs = shift;
214 214
215 215 if (exists($extcol->{$ext}) && $extcol->{$ext} ne $attrs) { if (exists($extcol->{$ext}) && $extcol->{$ext} ne $attrs) {
216 warn 'Different attributes for extention in different cases: '.
216 warn 'Different attributes for extension in different cases: '.
217 217 $ext; $ext;
218 218 } }
219 219
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master