If ~/.mc/panels.ini have incorrect value of 'sort_order' key, then mc will crashed.
Fix issue: Now default sort_order for incorrect value is 'name' (sort by name)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This reverts commit 2f901ef642.
Patch is dirty. Added into repo misc/mc.ext - this is autogenerated
file and no need to store into repo.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1774_build_cleanups:
Fixed several missing includes
Changed include 'glib.h' to 'global.h' because global.h file has some things for
vfs/mcserv.c: fixed variable name clashes and missing includes
vfs/undelfs.c: Fixed variable name clashes
vfs/vfs-impl.h: fixed missing includes
vfs/utilvfs.h: fixed missing includes
src/screen.c: const char* cleanup, fixing break on -Werror
Dropping non-strftime() support and fixing -Werror problem
m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall
Ticket #1774: Various build fixups (missing includes, name clashes, ...)
Problem:
a) when running ./configure, strftime() and other functions cannot be
properly detected, since autoconf generates crappy test code, which
at least fails when warnings are treated as errors (gcc: -Werror).
b) strtime() is standard since C89, so we can simply expect it to exists
(if there's *really* some acient box out there breaking mc build,
it's libc/toolchain should be fixed ;-p)
Solution:
Remove the checks for strftime() and all workarounds
* 1757_dotdot_dir:
Display ATime, MTime and CTime for ".." in file panel.
Fixed display info about ".." directory in Info panel.
Set correct stat info for ".." directory.
Ticket #1757: set actual stat info for ".." directory in panel.
1st step: minor refacoring.
Removed call of intermediate function and changed the retun value type.
Type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1755_code_cleanup:
Doc cleanup: removed description of removed editor option.
Added shortcuts for CmdInfo (C-x i) and CmdQuickView (C-x q) commands.
Fixed Arch packages description in Syntax file.
Cleanup of code for compile with new warnings options for compilator
Added macros for simplest debug process (yes, gdb is a better way)
Reorganization of src/Makefile.am
Now possible to compile mc in different cases: as mc maintainer or as end-user.
Added checks for compiler options.
Ticket #1755: code cleanup before 4.7.0-pre4 release.
There is a difference between CmdInfo and CmdMenuInfo commands:
* CmdImfo is assigned with C-x i shortcut and changes the mode
of inactive panel with flip-flop effect.
* CmdMenuInfo is assigned with panel according with menu: Left
or Right. There is no flip-flop effect of this command. This command
must be present in keymap file to show the assigned shortcut in menu.
The above-written is appropriate for CmdQuickView and CmdMenuQuickView commands.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Some debug-related code will compile just in mainteiner mode.
Also, added new parameter for configure script: --enable-werror
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fix: incorrect drawing CJK character. Sometimes the CJK character gets replaced by three inverse dots.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>