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
Andrew Borodin
68e1b4f9c6
Tweak EN and RU man pages.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-03-25 18:44:58 +04:00
Slava Zanko
ec959ebc9e
Merge branch '2759_edit_gzipped'
...
* 2759_edit_gzipped:
Ticket #2759 : Unable to edit gzipped files
2012-03-25 15:34:29 +03:00
Slava Zanko
d52b1dced1
Ticket #2759 : Unable to edit gzipped files
...
Steps to reprosuce:
*) dmesg| gzip -c9 > out.gz
*) press F4 on out.gz file
Expected result: editor should be opened
Actual result: segmentation fault.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-25 15:34:08 +03:00
Slava Zanko
9d72cf5aa6
Merge branch '2758_cd_on_shell_link'
...
* 2758_cd_on_shell_link:
Fixed creating string from relative non-local VFS.
Ticket #2758 : cd command not working in shell link
2012-03-25 15:28:59 +03:00
Slava Zanko
88483f5fac
Fixed creating string from relative non-local VFS.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-25 15:28:45 +03:00
Slava Zanko
ecda2061f2
Ticket #2758 : cd command not working in shell link
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-25 15:28:45 +03:00
Slava Zanko
7ae8530a69
Merge branch '2755_zero_length_preallocate'
...
* 2755_zero_length_preallocate:
Ticket #2755 : cannot copy zero-length files with [Preallocate space] option
2012-03-25 15:20:36 +03:00
Slava Zanko
49532ac834
Ticket #2755 : cannot copy zero-length files with [Preallocate space] option
...
If [Preallocate space] option is enabled, MC can't copy zero-length files:
"Cannot preallocate space for target file ... Invalid argument (22)"
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-25 15:20:17 +03:00
Andrew Borodin
e72a46acf9
Merge branch '2384_rebind_fx_keys'
...
* 2384_rebind_fx_keys:
Ticket #2384 : allow rebind Fx keys in the file manager.
2012-03-25 10:41:31 +04:00
Andrew Borodin
62f382b70e
Ticket #2384 : allow rebind Fx keys in the file manager.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-03-25 10:39:35 +04:00
Andrew Borodin
789ec67348
Merge branch '2756_menu'
...
* 2756_menu:
Ticket #2756 : fixed menu alignment.
2012-03-25 10:36:15 +04:00
Andrew Borodin
4cc0aefb16
Ticket #2756 : fixed menu alignment.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-03-25 10:35:57 +04:00
Andrew Borodin
57369532d3
Merge branch '2762_second_arg'
...
* 2762_second_arg:
Optimization of second panel directory setup.
Ticket #2762 : mc ignores second directory argument.
2012-03-24 17:20:42 +03:00
Andrew Borodin
87174bad44
Optimization of second panel directory setup.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-24 17:20:26 +03:00
Andrew Borodin
188a20f333
Ticket #2762 : mc ignores second directory argument.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-03-24 17:20:26 +03:00
Sergei Trofimovich
539f92cd97
misc/ebuild.syntax: added 'REQUIRED_USE', '[[' and ']]' as keywords
...
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-03-23 19:03:31 +03:00
Ilia Maslakov
12e2058778
Merge branch '2757_mcedit_record_macro_fix'
...
* 2757_mcedit_record_macro_fix:
Ticket #2757 (mcedit not record input chars)
2012-03-22 17:15:29 +04:00
Ilia Maslakov
02f4bb4a98
Ticket #2757 (mcedit not record input chars)
...
fixed trouble with internal editor macro engine introduced by commit #68a8745f6dd7ded9437317a694225d599745e983
now record input char and commands.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-03-22 16:48:16 +04:00