* 3265_cleanup: (22 commits)
Update po/*.po files.
tests/lib/search/Makefile.am: fix name of variable.
Remove code required for GLib < 2.14.0.
Minimal version of GLib is 2.14.0
Ticket #3405: mcview: use VIEW_SELECTED_COLOR in plain mode.
Hints: capitalize Lynx since it is the proper noun.
(dirsize_status_update_cb): use local variables instead of type casting.
doc/NEWS: cosmetics.
(input_execute_cmd): refactoring.
* background.c (background_attention): Fix memory leak.
g_utf8_next_char() never returns NULL. Remove redundant checks.
diffviewer: clarify support of UTF-8 codeset.
Ticket #3246: misc/mcedit.menu.in: better grammar.
Ticket #3262: rename variables.
Add IS_PATH_SEP macro and use it.
(edit_get_match_keyword_cmd): use PATH_SEP_STR instead of G_DIR_SEPARATOR_S.
Update copyright years.
(mc_search_regex_prepare_replace_str): refactoring.
lib/search/regex.c: use [] to get char in string.
(mc_search_prepare_replace_str2): make replace_str const.
...
* 3235_copy_with_special_symbols:
Add '?' sign as a possible mark of wildcard.
Fix for issue:
Ticket #3235: copy files dosn't work as expected, when copying to a directory with the special symbol in its name
When copying to directory with a name containing special symbol "*" the copy command didn't do it in a right way.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Using the "?" pattern in the file selection dialog brought up with '+',
mc uses the file name length in bytes instead of characters.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 2309_shell_patterns:
The patch does not intend to fix all Bash patterns (I believe mc never claimed to support all kinds of them), but it fixes some issues. Namely, backslash-escaped metacharacter like {}*? will remain in the pattern (with the current code it is just stripped). Second, comma will be transformed to | only inside a group.
Ticket #2309: "Shell patterns" broken beyond repair.
Namely, backslash-escaped metacharacter like {}*? will remain in the pattern (with the current code it is just stripped). Second, comma will be transformed to | only inside a group.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
How to reproduce:
Either on the command line, or in any other text entry field (e.g. copy
file to) enter a string where the last word consists of one single
letter only. E.g. "abc de f".
Press Alt+Backspace.
Expected behavior: Remove the last word, that is, the letter "f" only,
leaving "abc de ".
Actual behavior: Yet another word is removed, leaving "abc ".
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
At certain terminal widths (including the default 80), if the last byte
of a line begins a CJK character then the corresponding glyps is drawn
in the last column, so it's replaced by a replacement symbol.
The default layout should, at all possible terminal widths, have an
extra last character column that is empty normally, but allows room for
a CJK to overflow here.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>