Commit Graph

11671 Commits

Author SHA1 Message Date
Andrew Borodin a5fe9d1d6c Cleanups and format small fixes in EN and RU man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-09 12:01:55 +03:00
Andrew Borodin 4124e9e6de Editor: remove unused #define's.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-09 12:01:55 +03:00
Andrew Borodin ba86de945c Optimization of walking in dialog widgets.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-09 12:01:55 +03:00
Andrew Borodin 05385e1586 Set logfile for smbfs using mc_setctl().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-09 12:01:55 +03:00
Andrew Borodin 0c51a48a71 (mc_setup_by_args): fixed old VFS prefix.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-09 12:01:55 +03:00
Andrew Borodin 0997a01be9 (show_datadirs_extended): fixed paths in help message.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-09 12:01:55 +03:00
Slava Zanko 3bf0ede28f Ticket #2602: cleanup branch
Added %{_libexecdir}/mc/fish directory to spec file

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-09 12:01:23 +03:00
Slava Zanko d75cb6efb6 Merge branch '2594_ftp_leading_spaces'
* 2594_ftp_leading_spaces:
  VFS ftpfs: fixed broken filenames in unaligned 'ls' command output
  Ticket #2594: ftp failures - leading white space in file name
2011-09-08 20:11:17 +03:00
Slava Zanko 12dfe1bd55 VFS ftpfs: fixed broken filenames in unaligned 'ls' command output
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 20:10:48 +03:00
Slava Zanko 20c4694ee5 Ticket #2594: ftp failures - leading white space in file name
Code cleanup: move 'ls' output parser (and functions-satellites) to
new file parse_ls_vga.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 20:10:48 +03:00
Slava Zanko a0214562a2 Merge branch '2595_vfs_encode'
* 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
2011-09-08 13:50:33 +03:00
Slava Zanko 222442f50a Fixed filenames recoding while call external utilites by mc.ext rules
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 13:50:02 +03:00
Slava Zanko 372cf39a4f Fixed regexp error if current codepage isn't equal to UTF-8 in UTF-8 environment
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 13:50:02 +03:00
Slava Zanko 20a79d52ab Ticket #2595: Broken panels recode in current master
Fixed path recoding

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 13:50:02 +03:00
Andrew Borodin a02c24e6d9 Merge branch '2601_tty_init'
* 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.
2011-09-08 14:12:26 +04:00
Slava Zanko 70ff1dc3aa Removed mc_global.args structure.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 14:12:10 +04:00
Ilia Maslakov 67c35a20a6 Added -g, --oldmouse option to support of NORMAL/BUTTON_EVENT mouse type.
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>
2011-09-08 14:12:10 +04:00
Slava Zanko bfbe9b94ae Removed global variable slow_tty
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 14:12:10 +04:00
Slava Zanko 9d9935d290 Removed global variable ugly_line_drawing
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 14:12:10 +04:00
Slava Zanko 8d44ed297b Moved xterm_flag global variable to mc_global.tty.xterm_flag
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-08 14:12:10 +04:00
Andrew Borodin 387bad2c7e Move SIGWINCH handler initialization to tty_init()
... and rename tty_low_level_change_screen_size() to
tty_change_screen_size().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-08 14:11:51 +04:00
Andrew Borodin ad0a5015d3 Fix of mouse and ca capabilities check.
Based on patch from Andrey V. Malyshev <amal krasn ru>
http://mail.gnome.org/archives/mc-devel/2005-November/msg00052.html

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-09-08 14:10:58 +04:00
Andrew Borodin 09123c9fc9 Refactoring of TTY layer shutdown.
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>
2011-09-08 14:10:58 +04:00
Andrew Borodin 68468a25ac Ticket #2601: incorrect TTY layer initialization.
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>
2011-09-08 14:10:51 +04:00
Slava Zanko eba55ddb56 Merge branch '2582_sshfs_crash_while_copying_symlink'
* 2582_sshfs_crash_while_copying_symlink:
  FISH: Fixed creating relative symlinks
  Ticket #2582: Crash in 4.8.0-pre1 when copying symlink over ssh
2011-09-07 16:16:48 +03:00
Slava Zanko 00db991372 FISH: Fixed creating relative symlinks
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-07 14:44:59 +03:00
Slava Zanko 0894f8c827 Ticket #2582: Crash in 4.8.0-pre1 when copying symlink over ssh
mc 4.8.0-pre1 crashes when copying symlink over ssh.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-09-07 14:44:59 +03:00
Andrew Borodin 8353224997 Merge branch '2580_file_size_column'
* 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.
2011-08-30 21:36:27 +04:00
Andrew Borodin fc3bb20f09 (size_trunc): added ability to show size in [G|g]bytes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-30 21:36:13 +04:00
Andrew Borodin 12c893c73e (size_trunc_len): process full range of uintmax_t type.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-30 21:36:13 +04:00
Andrew Borodin 7700f8a262 Ticket #2580: file size column is bogus for widths above 9.
Initial step: detect uintmax_t type and sizeof(uintmax_t) in
configure.ac.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-30 21:36:13 +04:00
Slava Zanko 4aebb59549 Merge branch '2576_duplicate_symbol'
* 2576_duplicate_symbol:
  Ticket #2576: Duplicate symbols (Linking) problem under Mac OS X
2011-08-30 18:19:16 +03:00
Slava Zanko d74ce809e5 Ticket #2576: Duplicate symbols (Linking) problem under Mac OS X
Fixed linker error 'duplicate symbol _record_macro_buf'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-08-30 18:19:00 +03:00
Andrew Borodin f65f5da0f2 Merge branch '2201_tar_filename_length'
* 2201_tar_filename_length:
  Ticket #2201: file name length limit in tar archive
2011-08-29 16:17:11 +04:00
Andrew Borodin 90d019a499 Ticket #2201: file name length limit in tar archive
The problem: extracting deep files from an archive containing long directory/file
names, filenames are cut off at 100 characters (length of the whole path
inside the archive).

In general, the TarVFS is scheduled for total reimplementation. But this
fix is useful for stable releases.

Thanks AVFS (avf.sf.net) for the code of this fix.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-28 18:41:27 +04:00
Andrew Borodin bf3dafba01 Merge branch '2593_hintbar'
* 2593_hintbar:
  (panel_operate): minor optimization.
  Ticket #2593: Hint line jumps to the top of the screen and overwrites main menu.
2011-08-28 17:32:34 +04:00
Andrew Borodin ad545f951a (panel_operate): minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-28 17:31:19 +04:00
Andrew Borodin 0747bc6fe5 Ticket #2593: Hint line jumps to the top of the screen and overwrites main menu.
Don't modify the hintbar position before create and after destroy
of file operation progress dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-28 17:31:19 +04:00
Andrew Borodin eb13abc437 Merge branch '2586_mcedit_extended_keybindings'
* 2586_mcedit_extended_keybindings:
  Changed type of WEdit::extmod from integer to gboolean.
  Extended shortcuts like 'ctrl-x x' are unavailable in editor.
  Ticket #2586: broken extended keybindings in editor.
2011-08-26 10:31:54 +04:00
Andrew Borodin d55c30eb7d Changed type of WEdit::extmod from integer to gboolean.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-26 10:30:53 +04:00
Andrew Borodin d86acaa51d Extended shortcuts like 'ctrl-x x' are unavailable in editor.
Extended shortcuts like 'ctrl-x ctrl-x' or 'ctrl-x alt-x' are available
in editor, but 'ctrl-x x' are not.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-26 10:30:53 +04:00
Andrew Borodin d8277f2ed9 Ticket #2586: broken extended keybindings in editor.
ctrl-x shortcut is used in default keymap twice:
  * as shotrcut for WordRight action (see 0908c8baea);
  * as prefix for extended keybindings.

To fix the second issue, shortcut for editor.ExtendedKeyMap is
unassigned now because extended shortcuts are unused in editor in
default keymap.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-26 10:30:53 +04:00
Andrew Borodin c4af1f250c Merge branch '2591_editor_bottom_line_click'
* 2591_editor_bottom_line_click:
  Allow create WEdit window with any sizes and in any location.
  Draw status line at the top of screen not at the top of editor widget.
  Ticket #2591: mouse clicks ignored on the bottom line of editor.
2011-08-24 09:52:16 +04:00
Andrew Borodin 29d675c567 Allow create WEdit window with any sizes and in any location.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-08-24 09:51:54 +04:00
Andrew Borodin 340dc69013 Draw status line at the top of screen not at the top of editor widget.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-08-24 09:51:54 +04:00
Andrew Borodin 5ae3697e58 Ticket #2591: mouse clicks ignored on the bottom line of editor.
Initial step: fixups of WEdit resizing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-24 09:51:54 +04:00
Andrew Borodin c819eb1fa3 Merge branch '2590_chdir_other_panel_on_symlink'
* 2590_chdir_other_panel_on_symlink:
  Ticket #2590: M-o works unexpectedly on symlink shortcuts
2011-08-12 14:02:59 +04:00
Andrew Borodin 10537ca05d Ticket #2590: M-o works unexpectedly on symlink shortcuts
(chdir_other_panel): symbolic link to directory is handled now
as directory.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-12 14:02:40 +04:00
Andrew Borodin c81c3e4244 Merge branch '2589_ac_lang_source'
* 2589_ac_lang_source:
  Ticket #2589: fix autoconf warning
2011-08-11 13:06:38 +04:00
Jindrich Makovicka bd5348591f Ticket #2589: fix autoconf warning
Recent autoconf displays warnings about missing AC_LANG_SOURCE.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-11 13:05:57 +04:00