Commit Graph

11782 Commits

Author SHA1 Message Date
Andrew Borodin
48bd62f9bc Ticket #2783: when right panel is active, panel paths are swapped at each mc start.
How to reproduce.
1. Goto ~. Run mc. Enable autosave panels setup before exit. Save options.
2.  Open ~ dir in the left panel, / in the right one. Make right panel active.
3. Close mc.
4. With mc-wrapper, following is performed:
4.1. Run mc. Now ~ in the right panel, / in the left one.
4.2. Close mc.
4.3. Run mc. Now ~ in the left panel again, / in the right one.
4.4. ...and so on.
5. Without mc-wrapper, following is performed:
5.1. Run mc. Now ~ in both panels.

Expected behavior with current_is_left=false

1. if mc start as mc dir dir2, dir1 is opened in the left panel, dir2 in
the right one.
2. if mc starts as mc (without dir1 and dir2), active (right)  panel
contains working directory, other (left) one contains other_dir from
panel.ini.
3. if mc start as mc dir1, dir1 is opened in the left panel, right panel
contains working directory.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-04 18:19:44 +04:00
Andrew Borodin
b4ba1504d7 Merge branch '1437_install_scripts'
* 1437_install_scripts:
  Ticket #1437: install mceditor scripts as scripts not as data files.
2012-05-04 18:10:44 +04:00
Gergely Szasz
781378196e Ticket #1437: install mceditor scripts as scripts not as data files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-04 18:10:27 +04:00
Osamu Aoki
33540e53cb Ticket #2798: support of .cpio.xz files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:31:09 +04:00
Patrick Winnertz
9848716a41 Ticket #2797: added support of .gem (rubygems) files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:19:56 +04:00
Dmitry Smirnov
18292ac7b1 Ticket #2796: correct spelling in man page (lintianisation).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:10:28 +04:00
Andrew Borodin
e281ca2890 Fixed regular expressions in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-29 17:34:04 +04:00
Slava Zanko
215becd4a9 Merge branch '2786_tests_fix'
* 2786_tests_fix:
  Ticket #2786: added forgotten test source file.
2012-04-25 19:08:30 +03:00
Andrew Borodin
41f7e490ea Ticket #2786: added forgotten test source file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-25 19:07:48 +03:00
Andrew Borodin
c4b16bce35 Merge branch '2785_tar_error_message'
* 2785_tar_error_message:
  Ticket #2785: error message when entering into compressed tar and cpio archives.
2012-04-25 16:42:56 +04:00
Andrew Borodin
8607bcc103 Ticket #2785: error message when entering into compressed tar and cpio archives.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-25 16:42:39 +04:00
Andrew Borodin
7974c5b615 Merge branch '2787_relative_symlink_crash'
* 2787_relative_symlink_crash:
  Ticket #2787: crash when creating relative symlink.
2012-04-25 14:56:26 +04:00
Andrew Borodin
038b5e7406 Ticket #2787: crash when creating relative symlink.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-25 14:55:56 +04:00
Andrew Borodin
f727b8e5ec Merge branch '2783_dir_panel_order'
* 2783_dir_panel_order:
  Ticket #2783: directories is opened in the wrong panel.
2012-04-24 20:50:23 +04:00
Andrew Borodin
4e8faef03e Ticket #2783: directories is opened in the wrong panel.
mc dir1 dir2

The bug: order of parameters assignment depends on current_is_left
option in panels.ini file: if current_is_left=0, then dir1 is opened
in the left panel, dir2 in the right one. If current_is_left=1,
then dir1 is opened in the right panel, dir2 in the left one.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-24 20:49:57 +04:00
Andrew Borodin
f77025304f Merge branch '2784_chown_segfault'
* 2784_chown_segfault:
  Ticket #2784: segfault at chown.
2012-04-24 12:50:34 +04:00
Andrew Borodin
ac880c71a7 Ticket #2784: segfault at chown.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-23 09:37:32 +04:00
Slava Zanko
eebb9739e4 Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-22 14:17:25 +03:00
Slava Zanko
40d9732f37 Updated translations from transifex.net 2012-04-22 14:03:36 +03:00
Slava Zanko
68a0048663 Merge branch '2780_cleanup'
* 2780_cleanup:
  (mc_setup_by_args): fixed memory leaks.
  (reread_cmd): use vfs_path_cmp() to compare dirs.
  (do_load_dir): use vfs_path_t as a path handle.
  README.fish: fixed location of user scripts.
  Use new-style VFS prefixes.
  (nice_cd): use new-style VFS prefixes.
  (input_history_strip_password): actually url is not the pointer to constant.
  Fixed mouse handling in WPanel widget.
  (vfs_expare): changed argument type from int to gboolean.
  (vfs_url_split): optimized to get rid of multiple string length caclulation.
  (check_for_default): minor optimization and change return value.
  Fix of viewer status bar draw.
  (resolve_symlinks): use (vfs_path_t *) as argument.
  (tty_draw_box): do nothing if width or heigth of box is less than 1.
  (vfs_path_element_clone): ret rid of extra actions.
  (vfs_get_raw_current_dir): return pointer to constant.
  g_dirname and g_basename function are deprecated since glib-2.2.
  Ticket #2780: cleanup before 4.8.3 release.
2012-04-22 13:53:16 +03:00
Andrew Borodin
25315360bd (mc_setup_by_args): fixed memory leaks.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
bd4a696ab6 (reread_cmd): use vfs_path_cmp() to compare dirs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
1c05ebf8b9 (do_load_dir): use vfs_path_t as a path handle.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
bf65b9b691 README.fish: fixed location of user scripts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
8895615aca Use new-style VFS prefixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
22c1d05f6b (nice_cd): use new-style VFS prefixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
393d90f207 (input_history_strip_password): actually url is not the pointer to constant. 2012-04-22 11:25:11 +03:00
Andrew Borodin
3b86ee7808 Fixed mouse handling in WPanel widget.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
a878a2dd37 (vfs_expare): changed argument type from int to gboolean.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
0073a137af (vfs_url_split): optimized to get rid of multiple string length caclulation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
a9ff27db05 (check_for_default): minor optimization and change return value.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
8ac2c68d3f Fix of viewer status bar draw.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
b1bcf6b01f (resolve_symlinks): use (vfs_path_t *) as argument.
Minor optimization of resolve_symlinks() and diff_two_paths().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:11 +03:00
Andrew Borodin
2fe6ab5e9f (tty_draw_box): do nothing if width or heigth of box is less than 1.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:10 +03:00
Andrew Borodin
58cf4e735c (vfs_path_element_clone): ret rid of extra actions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:10 +03:00
Andrew Borodin
a4426ee8d7 (vfs_get_raw_current_dir): return pointer to constant.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-22 11:25:10 +03:00
Andrew Borodin
dbdc471553 g_dirname and g_basename function are deprecated since glib-2.2.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:10 +03:00
Andrew Borodin
ff2f53119b Ticket #2780: cleanup before 4.8.3 release.
Fixed --no-x11 option name in man pages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 11:25:02 +03:00
Slava Zanko
fcd3bea20d Merge branch '2779_broken_path_in_active_vfs_list'
* 2779_broken_path_in_active_vfs_list:
  Ticket #2779: Active VFS directories list contain incorrect current path
2012-04-22 10:23:42 +03:00
Slava Zanko
0a44a9ff5f Ticket #2779: Active VFS directories list contain incorrect current path
1) login to any ftp or fish resource
2) select ftp/fish entry and change current path
3) go back to old path
4) press Ctrl+X A (open "Active VFS directories" dialog)

Expected result: should be correct path to current VFS path
Actual result: path is incorrect.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-22 10:23:13 +03:00
Slava Zanko
5fe2f82955 Merge branch '2777_vfs_stale_symlinks'
* 2777_vfs_stale_symlinks:
  Ticket #2777: Stale symlinks in vfs
2012-04-19 11:58:36 +03:00
Slava Zanko
33ea9092f5 Ticket #2777: Stale symlinks in vfs
How to reproduce:
 * mkdir -p a/b/c
 * touch a/b/c/d
 * ln -s d a/b/c/e
 * tar -cf bad.tar a
 * rm -rf a
 * cd bad.tar/utar://a/b/c

Expected result: 'e' should be valid symlink to 'd'
Actual result: 'e' looks like broken link

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-18 15:55:13 +03:00
Slava Zanko
876e006048 Merge branch '2765_vfs_directory_sizes'
* 2765_vfs_directory_sizes:
  Ticket #2765: Show directory sizes on any VFS is broken
2012-04-18 10:31:23 +03:00
Slava Zanko
117aa67155 Ticket #2765: Show directory sizes on any VFS is broken
Command "Show directory sizes" shows zero when executed on ftp, utar, fish etc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-18 10:30:56 +03:00
Marco Ciampa
461b3f710a Updated italian translation 2012-04-18 02:58:26 +02:00
Andrew Borodin
e94d15595c Merge branch '2776_dir_selection_fix'
* 2776_dir_selection_fix:
  Ticket #2776: file selection reset after cd to ".." in remote VFS.
2012-04-16 12:43:16 +04:00
Andrew Borodin
638cac9be3 Ticket #2776: file selection reset after cd to ".." in remote VFS.
After cd from directory to ".." in remote VFS, directory selection is
reset (".." is selected instead of the previous directory).

Bug was introduced in c457eaf9b1.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-15 14:38:04 +04:00
Andrew Borodin
81a8c428ec Merge branch '2776_archive_selection_in_root'
* 2776_archive_selection_in_root:
  Ticket #2776: file selection reset after exit from the archive in the root.
2012-04-13 14:54:10 +04:00
Andrew Borodin
c457eaf9b1 Ticket #2776: file selection reset after exit from the archive in the root.
After exit from archive located in the root of FS, file selection is
reset (/bin is selected instead of the archive).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-13 14:53:57 +04:00
Slava Zanko
4b457d8757 Merge branch '2775_segfault_on_incorrect_archive'
* 2775_segfault_on_incorrect_archive:
  Ticket #2775: segfault after open incorrect archive
2012-04-12 22:53:05 +03:00