When pasting multiline text with shift+mouse newline characters
are lost. Pasted text is not shown before any key is pressed.
Middle-mouse pasting in mc requires shift being pressed to keep mc
from interpreting the button press itself, so it is passing on to
xterm/gpm. That has the nice side effect that the pasted enter
characters are automatically shift-enter, which was simply interpreted
as newline-without-autoindent. However, the keybinding for shift-enter
have been lost in the course of #212 - it simply does nothing,
and consequently text is pasted without newlines.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Recently added syntax files were not added to Makefile.am,
therefore they won't get it to the distribution through
EXTRA_DIST and are not installed.
Now syntax/Makefile.am file contains all syntax file names
that are sorted alphabetically. Description of tt.syntax
was added to the syntax/Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Some FTP-servers don't have chmon support (or don't able to change permissions in some cases).
This commit will add "ignore_ftp_chattr_errors" section into config file.
Now default behavior: ignore FTP errors related to chmod operations.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
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 2f901ef642bd6d5cfb2d5fbd6188a6654d52fac8.
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>