Commit Graph

11594 Commits

Author SHA1 Message Date
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
Slava Zanko
764cdf2497 Ticket #2775: segfault after open incorrect archive
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-12 22:52:47 +03:00
Slava Zanko
47096e5c8e Merge branch '2760_passwords_in_history'
* 2760_passwords_in_history:
  Ticket #2760: The password for session ftp remains in input history
2012-04-12 22:37:02 +03:00
Slava Zanko
4184555b82 Ticket #2760: The password for session ftp remains in input history
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-12 22:31:20 +03:00
Andrew Borodin
504705a172 Updated RU translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-10 15:14:59 +04:00
Andrew Borodin
95f4d0e57f Merge branch '2608_switch_screen_hang'
* 2608_switch_screen_hang:
  Ticket #2608: mc hangs while switching to opened screen.
2012-04-09 21:16:46 +04:00
Andrew Borodin
08f2593ae9 Ticket #2608: mc hangs while switching to opened screen.
The bug was introduced in 6ad4b2466b.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-09 21:16:23 +04:00
Slava Zanko
c8c8c0da11 Merge branch '1868_replace_regexp_hangup'
* 1868_replace_regexp_hangup:
  Code optimization: memory allocation and free moved outside of loop.
  Ticket #1868: mcedit hang up on replace with regexp.
2012-04-09 12:31:31 +03:00
Slava Zanko
0e5b78b98b Code optimization: memory allocation and free moved outside of loop.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-09 12:30:05 +03:00
Slava Zanko
b4571ad1c5 Ticket #1868: mcedit hang up on replace with regexp.
steps to reproduce:

 * create/open dummy file
 * replace (with regexp enabled)
 * on search string, put: ^ or $
 * on replacement string, put *any string*
 * on confirm replace, select All

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-09 12:30:05 +03:00
Slava Zanko
db832810fe Merge branch '2764_pcre_case_sentitive'
* 2764_pcre_case_sentitive:
  Ticket #2764: Case sensitive search with SEARCH_TYPE_PCRE
2012-04-09 11:31:00 +03:00
vokac
8c0621b2b6 Ticket #2764: Case sensitive search with SEARCH_TYPE_PCRE
When mc is compiled with SEARCH_TYPE_PCRE (and without SEARCH_TYPE_GLIB,
e.g. on systems with old glib < 2.14) case (in)sensitive search works in opposite.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-09 11:30:15 +03:00
Andrew Borodin
e63fc08b2a Ticket #2774: mc.ext: comment out the empty rule for texinfo.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-07 16:50:32 +04:00
Ilia Maslakov
4a52bae1e7 Merge branch '2766_panelize_refresh_fix'
* 2766_panelize_refresh_fix:
  Ticket #2766 (Cursor position reset after update)
2012-04-04 16:01:26 +04:00
Ilia Maslakov
55684c3286 Ticket #2766 (Cursor position reset after update)
Cursor position reset after update when panel is panelized, but doesn't.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-04-04 15:59:42 +04:00
Andrew Borodin
ce401d7974 Merge branch '1851_xdg_fix'
* 1851_xdg_fix:
  Tweak description of MC_HOME environment variable.
  Ticket #1851: fixed support of XDG_* shell variables
2012-04-04 15:52:50 +04:00
Andrew Borodin
e4fc99d404 Tweak description of MC_HOME environment variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-04 15:52:08 +04:00
Andrew Borodin
c937060676 Ticket #1851: fixed support of XDG_* shell variables
...broken in 13a660d2e0

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-04 15:52:08 +04:00
Slava Zanko
42f2b04eee Merge branch '2663_background_segfault'
* 2663_background_segfault:
  Ticket #2663: Segmentation fault while background copying
2012-04-04 13:59:39 +03:00
Slava Zanko
bd5c568f8f Ticket #2663: Segmentation fault while background copying
Action to reproduce bug:
Start copy/move file/files (around 100mb+) in background

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-04 13:59:19 +03:00
Andrew Borodin
d25ac6a911 Merge branch '2769_compare_files_crash'
* 2769_compare_files_crash:
  (diff_view): make static.
  Make mcdiff verbose if one or both parameters are incorrect.
  Ticket #2769: crash on compare files if one panel is not in the listing mode.
2012-04-04 13:57:41 +04:00
Andrew Borodin
b4efe67b12 (diff_view): make static.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-04 13:57:23 +04:00
Andrew Borodin
118d7c1d1d Make mcdiff verbose if one or both parameters are incorrect.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-04 13:57:22 +04:00
Andrew Borodin
809f668717 Ticket #2769: crash on compare files if one panel is not in the listing mode.
Added check of panel types before run file comparision.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-04 13:57:22 +04:00
Sergei Trofimovich
c494f7b3bb Merge branch '2768_do_panel_cd_fix'
* 2768_do_panel_cd_fix:
  Ticket #2768 ('make check' failed)
2012-04-02 20:22:42 +03:00
Sergei Trofimovich
41d093afaf Ticket #2768 ('make check' failed)
tests/.../do_panel_cd.c: fix test when 'HOME' contains trailing slashes.

Steps to reproduce:

    $ HOME=${HOME}/ make check
    Running suite(s): /src/filemanager
    cwd=/subvolumes/var_tmp/paludis/app-misc-mc-9999/temp
    mc_config_get_home_dir ()=/subvolumes/var_tmp/paludis/app-misc-mc-9999/temp/
    0%: Checks: 1, Failures: 1, Errors: 0
    do_panel_cd.c:86:F:Core:test_do_panel_cd_empty_mean_home:0: Assertion 'ret' failed

The patch adds home dir path normalization.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-04-02 20:22:27 +03:00
Slava Zanko
a8d317406b Merge branch '2692_manpage_broken_date'
* 2692_manpage_broken_date:
  Ticket #2692: Date not set properly in manpage
2012-04-02 13:44:01 +03:00
Slava Zanko
cd1f7773b1 Ticket #2692: Date not set properly in manpage
After installing mc-4.8.1 the footer of the manpage says:
MC Version VER @DATE_OF_MAN_PAGE@ MC(1)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-02 13:43:19 +03:00
Sergei Trofimovich
ea82ca42ed ebuild.syntax: added 'pushd' and 'popd' keywords
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-04-01 01:21:35 +03:00
Sergei Trofimovich
6d3b90247b tests/.../do_panel_cd.c: show patch mismath on test failure
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-03-31 22:10:40 +03:00
Ilia Maslakov
18df85a1d2 Merge branch '2763_help_dialog_fix'
* 2763_help_dialog_fix:
  Ticket #2763 (Last word of help links not clickable)
2012-03-28 14:04:53 +04:00
Egmont Koblinger
caf5a9e1b5 Ticket #2763 (Last word of help links not clickable)
The last word of hyperlinks in the interactive help don't act on mouse clicks.
    This also implies that one-word links can't be clicked at all.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-03-28 13:26:45 +04:00
Andrew Borodin
8059856fe1 Merge branch '2386_LANG_case_insensitive'
* 2386_LANG_case_insensitive:
  Ticket #2386: interpretation of LANG variable needs to be case insensitive.
2012-03-28 13:01:01 +04:00
Andrew Borodin
91ff90f87b Ticket #2386: interpretation of LANG variable needs to be case insensitive.
On Mac OS X, in the iTerm2, when the LANG variable is set to en_US.utf-8
mcedit specifically does not correctly accept input (every character press
is interpreted as a '.'). However when LANG is set to en_US.UTF-8 mcedit
works correctly (see also http://code.google.com/p/iterm2/issues/detail?id=204).

On Linux, nl_langinfo(CODESET) returns upper case UTF-8 whether the LANG is set
to utf-8 or UTF-8.
On Mac OS X, it returns the same case as the LANG input.

So let tranform result of nl_langinfo(CODESET) to upper case unconditionally.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-03-28 13:00:22 +04:00
Slava Zanko
835f72fcaf Merge branch '2761_editor_save_as_dir'
* 2761_editor_save_as_dir:
  Ticket #2761: save file on top of existing directory changes dir's permissions
2012-03-27 11:05:39 +03:00
Slava Zanko
2a5885fb7f Ticket #2761: save file on top of existing directory changes dir's permissions
Steps to reproduce:

mkdir foo
chmod 0700 foo
mcedit bar
ls -ld foo
drw-r--r-- 1 slyfox users 0 Mar 22 22:10 foo

We've lost dir's permissions.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-27 11:05:13 +03:00
Slava Zanko
3907f19a04 Merge branch '2278_preserve_attrs_if_dest_exists'
* 2278_preserve_attrs_if_dest_exists:
  code indentation
  Ticket #2278: Problem in the Copy operation
2012-03-26 10:59:43 +03:00
Ilia Maslakov
f0f39cb2a7 code indentation
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-03-26 10:12:24 +04:00
Slava Zanko
a58aee00cb Ticket #2278: Problem in the Copy operation
Previously, copying a file does not change access permissions of the destination
file if the check box "Preserve attributes" in the Copy window is not set.
For some time it is not so: if you uncheck the "Preserve attributes" then access
permissions of the destination file are set in accordance with the value of
umask, which can lead to information disclosure(i.e. security problem).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-26 09:50:02 +04:00