fixed fish-script 'get'.
Steps to reproduce:
create lot of small files
try to copy these files throught FISH VFS
mc hangs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2602_cleanup:
(try_complete): fixed warinig:
(edit_collect_completions): fixed warinig:
(etags_set_definition_hash): fixed memory leak
Use ESC_STR macro instead of hardcoded "\033".
Value accuracy of mouse_enabled global variable.
Fixed VFS prefix in hints.
Nice location of red (warning and error) dialogs.
(dlg_find_by_id): use the GLib way to find widget.
(move_right): fixed type of return value.
(menubar_arrange): fixed typos.
Avoided warning message about non-existent maint/version.sh file
Minor fixes in NEWS.
Preventing po/*.po files in git-diff output
Cleanups and format small fixes in EN and RU man pages.
Editor: remove unused #define's.
Optimization of walking in dialog widgets.
Set logfile for smbfs using mc_setctl().
(mc_setup_by_args): fixed old VFS prefix.
(show_datadirs_extended): fixed paths in help message.
Ticket #2602: cleanup branch
input_complete.c:874:26: warning: use of logical && with constant
operand; switch to bitwise & or remove constant
[-Wconstant-logical-operand]
if (q && q[1] == '(' && INPUT_COMPLETE_COMMANDS)
^ ~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
editcmd.c:1104:42: warning: use of logical && with constant operand;
switch to bitwise & or remove constant [-Wconstant-logical-operand]
if (*num == MAX_WORD_COMPLETIONS && MAX_WORD_COMPLETIONS)
^ ~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2594_ftp_leading_spaces:
VFS ftpfs: fixed broken filenames in unaligned 'ls' command output
Ticket #2594: ftp failures - leading white space in file name
* 2595_vfs_encode:
Fixed filenames recoding while call external utilites by mc.ext rules
Fixed regexp error if current codepage isn't equal to UTF-8 in UTF-8 environment
Ticket #2595: Broken panels recode in current master
* 2601_tty_init:
Removed mc_global.args structure.
Added -g, --oldmouse option to support of NORMAL/BUTTON_EVENT mouse type.
Removed global variable slow_tty
Removed global variable ugly_line_drawing
Moved xterm_flag global variable to mc_global.tty.xterm_flag
Move SIGWINCH handler initialization to tty_init()
Fix of mouse and ca capabilities check.
Refactoring of TTY layer shutdown.
Ticket #2601: incorrect TTY layer initialization.
Required for some terminals (screen/tmux) to force needed mouse type
(BUTTON_EVENT by default).
Normal tracking mode sends an escape sequence on both button press and release.
Mouse highlight tracking notifies a program of a button press, receives a range of
lines from the program, highlights the region covered by the mouse within that
range until button release, and then sends the program the release coordinates.
It is enabled by specifying parameter 1001 to DECSET.
Button-event tracking is essentially the same as normal tracking, but xterm also
reports button-motion events. Motion events are reported only if the mouse pointer
has moved to a different character cell. It is enabled by specifying parameter 1002 to DECSET.
On button press or release, xterm sends the same codes used by normal tracking mode.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
changed mc.1.in, added description of command line options -g, --oldmouse.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Unification of tty_shutdown() function as for S-Lang as for NCurses.
Added do_exit_ca_mode() call to the NCurses-based tty_shutdown().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The xterm_flag variable was initialized in setup_mc() but used
first time in init_key() and in tty_init() (in do_enter_ca_mode())
before setup_mc() call.
Now xterm initialized in early step of mc start up process and
xterm support and mouse are initialized in tty_init().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2580_file_size_column:
(size_trunc): added ability to show size in [G|g]bytes.
(size_trunc_len): process full range of uintmax_t type.
Ticket #2580: file size column is bogus for widths above 9.