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>
Restored behavior with stale mountpoint (now handled as stale link).
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
add shared clipboard support
Signed-off-by: Ilia Maslakov <il.smind@google.com>
Fixed memory leaks. Type accuracy. Optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* fixed ctrl-g handler
* change action names from InputKillSave to InputXStore and InputPaste to InputXPaste
* update mc.keymap.default mc.keymap.emacs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
added bindings for shift block 'EditShiftBlockLeft', 'EditShiftBlockRight'
EditShiftBlockLeft, EditShiftBlockRight - force move block without option_persistent_selections checking
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
1. Open empty file (<Shift-F4>)
2. Fill with data:
1234
5678
9abc
3. Mark contents (or any multiline text in, for example, firefox) with mouse (<Shift+MouseDown???>)
4. Insert somewhere below third line (<Shift+Insert>)
5. Newlines are eaten (xterm)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* fixed binding in mc.keymap.default and mc.keymap.emacs
for CmdCopyCurrentTagged, CmdCopyOtherTagged,
CmdCopyCurrentPathname, CmdCopyOtherPathname
* fixed typo
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>