The Start at prompt is filled with garbage every time
the Tree option is entered in the Find dialogue.
To reproduce:
1. M-? to open Find dialogue
2. not that the Start at prompt is empty
3. press M-T or navigate to Tree button and press enter
4. you see tree view, press ESC
5. the Start at prompt is filed by garbage
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The latest version breaks transparency support.
If I'd change _default_ to lightgray;default in the [core] section, the panels are unreadable.
It looks like the _default_ variable interpreted as lightgray;lightgray.
Fix Issue: do not apply COLOR_WHITE as mask if color value equal to -1
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
If viewer is in wrap mode, there is an expta empty line
in wrapped line. This bug was introduced in
8c84095ae1 commit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1931_no_vfs_fixups:
Moved vfs_split_url() from vfs/utilvfs.c to vfs/netutil.c
vfs: cleaned up tcp_init()
VFS: renamed vfs/tcputil.c to vfs/netutil.c.
VFS: renamed vfs/tcputil.h to vfs/netutil.h.
vfs/ftpfs.c: fixed a nullptr leak in ftpfs_find_machine()
VFS: removed obsolete src/vfsdummy.h
VFS: moved functions from src/vfsdummy.h to vfs/vfs.h
Ticket #1931: VFS: added missing includes of vfs/vfs.h
tcp_init() is now called by every vfs which needs it and prevents
itself from duplicate initialization.
this is the first step to get rid of --enable-netcode and so clean
up things a bit.
configure: line 2188: 0: command not found
This error occurs due to incorrect processing of grep command output.
This commit fixed that issue.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The NAME_MAX constant is defined on Linux but not on Solaris.
This blocks building MC on (Open)Solaris systems.
However, there is another symbolic constant with same purpose -
MAXNAMLEN - which is defined on Linux, Solaris and BSD systems.
This commit replaces NAME_MAX constant with MAXNAMLEN one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Starting mc with:
LANG=C mc
cases a crash when mc exits. No other LC_* variable was set.
The issue is in src/strutil.c module. With C locale, str_init_strings()
fails to set str_cnv_not_convert variable leaving it with value -1
(INVALID_CONV). str_uninit_strings() passes str_cnv_not_convert blindly
to g_iconv_close() which tries to dereference it.
This commit adds a check to str_uninit_strings() if str_cnv_not_convert
value is valid.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1918_quick_view_corruption:
Show not-printable 8-bit symbols in non-UTF-8 locales as dots.
Minor optimization of MC viewer.
Fixed boundaries of display text area.
Fixed show of viewer status bar.
MC Viewer API unification: arguments order was changed.
Ticket #1918: viewer in QuickView mode corrupts screen.
Initial step: code refactoring:
* small code formatting;
* type accuracy;
* introduce new type 'panel_view_mode_t' for panel type.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The new section [FindFile] was created for find file options.
The find_ignore_dirs key in Misc section is obsolete now.
The ignore_dirs key in FindFile section is used instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>