Commit Graph

11254 Commits

Author SHA1 Message Date
Ilia Maslakov
9814c73b87 Merge branch '2467_gitfs'
* 2467_gitfs:
  changed README.extfs
  Ticket #2467 (gitfs)
2011-07-16 13:57:49 +00:00
Ilia Maslakov
bdc7fc76cb changed README.extfs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-07-16 13:10:02 +00:00
Ilia Maslakov
e8a0781934 Ticket #2467 (gitfs)
added new extfs plugin - gitfs
    used prefix [git] for identification as a #changesetfs

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-16 13:10:01 +00:00
Andrew Borodin
e697f01eba Merge branch '2522_smart_backspace'
* 2522_smart_backspace:
  Ticket #2522: fixup of Backspace key behavior in QuickSearch mode.
2011-07-15 20:41:41 +04:00
Andrew Borodin
20b7ab681e Ticket #2522: fixup of Backspace key behavior in QuickSearch mode.
When Backspace key is mapped to CdParentSmart action,
it changes directory to the parent one in QuickSearch mode instead of
delete the previous symbol in qsearch buffer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-15 20:40:55 +04:00
Andrew Borodin
7d1d394ed6 Merge branch '2576_duplicate_symbols'
* 2576_duplicate_symbols:
  Ticket #2576: fix of symbols duplication.
2011-07-15 20:36:39 +04:00
Andrew Borodin
c4b95bcd32 Ticket #2576: fix of symbols duplication.
dialog_map, input_map and listbox_map variabels are declared and defined twice.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-14 21:46:59 +04:00
Mikhail S. Pobolovets
2b10373e02 Ticket #2531: wrong rules precedence
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2011-07-14 12:04:07 +03:00
Slava Zanko
e608f9cefe Merge branch '81_extfs_fix'
* 81_extfs_fix:
  Ticket #81: Fixup of extfs.
2011-07-13 14:48:47 +03:00
Slava Zanko
e5add17cb4 Ticket #81: Fixup of extfs.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-13 12:49:34 +03:00
Mikhail S. Pobolovets
ee001dd96f Added new keyword to Ruby syntax
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2011-07-12 11:45:41 +03:00
Slava Zanko
b0510f594c Added translations from Transifex.net
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-11 21:01:27 +03:00
Andrew Borodin
e57ad3aa65 Updated NEWS for 4.8.0-pre1 release.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-11 21:48:58 +04:00
Slava Zanko
52aecfdfa2 Merge branch '2570_cleanup'
* 2570_cleanup:
  Fixed vfs descriptions.
  Do not mark the text after opening the file.
  Ticket 2570: Code cleanup
2011-07-11 20:24:40 +03:00
Andrew Borodin
7fc7d0e74e Fixed vfs descriptions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-11 20:23:44 +03:00
Ilia Maslakov
54cf8c3ffa Do not mark the text after opening the file.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-07-11 20:23:44 +03:00
Slava Zanko
d3bb9de01f Ticket 2570: Code cleanup
Moved tests from lib/tests to tests/lib directory

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-11 20:23:44 +03:00
Slava Zanko
9376d55456 Merge branch '81_leading_space_in_filename'
* 81_leading_space_in_filename:
  Ticket #81: savannah: can't access files on ftp starting with space
2011-07-11 19:51:00 +03:00
Slava Zanko
4e56efafe6 Ticket #81: savannah: can't access files on ftp starting with space
files starting with space can't be acessed by mc through ftp - it
shows the file as not having the leading space and attempts to
access it produce 'permission denied' errors.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-11 19:50:32 +03:00
Andrew Borodin
a4af63e827 Merge branch '2491_find_file_relative_paths'
* 2491_find_file_relative_paths:
  Renamed do_find() to find_file() and vice versa.
  (search_content): use mc_build_filename() instead of concat_dir_and_file().
  (make_fullname): removed. Use mc_build_filename() instead.
  Ticket #2491: broken lynk-like navigation in panelization of file find result.
2011-07-11 13:26:52 +04:00
Andrew Borodin
b13b031434 Renamed do_find() to find_file() and vice versa.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-11 13:26:24 +04:00
Andrew Borodin
835f12eb59 (search_content): use mc_build_filename() instead of concat_dir_and_file().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-11 13:26:24 +04:00
Andrew Borodin
97a776be47 (make_fullname): removed. Use mc_build_filename() instead.
Since make_fullname() now gets absolute paths only, optimize it out.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-11 13:26:24 +04:00
Andrew Borodin
439369b0ca Ticket #2491: broken lynk-like navigation in panelization of file find result.
Broken  left arrow (of lynx-like motion) from panelization of directories
having files only (without any subdirs).

Steps to reproduce:

1. mkdir -p a/{b/c,d}
2. touch a/d/e
3. cd a/b
4. mc
5. alt-shift-/ enter l left - selection points to 'b' directory (as it should)
6. down, enter, alt-shift-/ enter l left - selection points to '..' instead of 'd'

Now, if user enters the relative path in "Start at": input line in "Find File"
dialog window, the relative paths are used in panelization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-11 13:26:24 +04:00
Slava Zanko
381db1462d Merge branch '2572_patchfs_space_in_fnames'
* 2572_patchfs_space_in_fnames:
  Ticket #2572: Patchfs with filenames containing whitespaces.
2011-07-11 11:06:29 +03:00
Serhiy Storchaka
5ece6efde5 Ticket #2572: Patchfs with filenames containing whitespaces.
This solution isn't perfect because of ambiguous diff syntax.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-11 11:06:05 +03:00
Andrew Borodin
17033652ee Revert "Ticket #2453: aggressive screen repaint"
This reverts commit f809e6cf7a.

While navigating in main menu (from one submenu to another one)
or after closing a dialog, the screen is blinking.
2011-07-09 20:39:46 +04:00
Andrew Borodin
2aa5f4adcc Updated Russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 20:37:43 +04:00
Andrew Borodin
d14e6fc4af Updated mc.pot file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 20:21:17 +04:00
Andrew Borodin
32de3c2215 Merge branch '2557_chmod_i18n'
* 2557_chmod_i18n:
  Reimplementation of chmod dialog i18n.
  Calculate array sizes
  Place buttons in 2 rows if more than 2 files are processed.
  Optimization of Chmod dialog initialization.
  Collect file info labels in a separate array.
  Added chmod_i18n() function.
  Remove help text from chmod dialog
  Code cleanup.
  Ticket #2557: i18n reimplementation of 'Chmod' dialog.
2011-07-09 13:55:28 +04:00
Andrew Borodin
bc69280e50 Reimplementation of chmod dialog i18n.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
7a15e1d0e9 Calculate array sizes
...using actual array content. Get rid of according defines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
36276dd7c8 Place buttons in 2 rows if more than 2 files are processed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
50d56ca13d Optimization of Chmod dialog initialization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
4029fa796e Collect file info labels in a separate array.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
69b1de0476 Added chmod_i18n() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
267f4302e9 Remove help text from chmod dialog
... as it presents in mc built-in help.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
b6ca87696c Code cleanup.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Andrew Borodin
ce46cf3a8e Ticket #2557: i18n reimplementation of 'Chmod' dialog.
Initial step: type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-09 13:54:47 +04:00
Slava Zanko
63c0f34dce Direct commit: Fixed double memory free in input histoey list.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-09 11:55:30 +03:00
Andrew Borodin
3415416be8 Merge branch '71_skip_all_fix'
* 71_skip_all_fix:
  Ticket #71: mc hangs up after "Skip all" choose
2011-07-08 20:55:32 +04:00
Andrew Borodin
ba4295e4f0 Ticket #71: mc hangs up after "Skip all" choose
...in case of copy/move files w/o read permissions.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 20:54:55 +04:00
Andrew Borodin
7963f44daa Merge branch '2545_save_history_fix'
* 2545_save_history_fix:
  (push_history): fixed memory leak.
  (input_destroy): optimization: don't do useless actions.
  Ticket #2545: fixup of saving WInput history.
2011-07-08 20:50:21 +04:00
Andrew Borodin
f3fefa67f6 (push_history): fixed memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 20:48:53 +04:00
Andrew Borodin
630bcae4d4 (input_destroy): optimization: don't do useless actions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 20:48:53 +04:00
Andrew Borodin
de5fac8d0a Ticket #2545: fixup of saving WInput history.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 20:48:53 +04:00
Slava Zanko
ba09144ce5 Merge branch '1882_esc_seq_in_replace_field'
* 1882_esc_seq_in_replace_field:
  Remove replace_prepare_t type and use defined constants for use just one type (int) in functions
  Despite of the fact that algorithm now ignores the absence of closing curly brace '}' (which probably isn't 100% correct), this should be checked in tests for replace_handle_esc_seq function, not process_escape_sequence - it is the replace_handle_esq_seq who decides whether it is an escape sequence or not.
  added tests for mc_search_regex__replace_handle_esc_seq() function
  str_isutf8() function now returns gboolean value
  Ticket #1882: PCRE search: escape sequence support in replacements, UTF8 support (just a flag for libPCRE)
2011-07-08 19:39:35 +03:00
Slava Zanko
e1edfd7c93 Remove replace_prepare_t type and use defined constants for use just one type (int) in functions
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-08 17:28:07 +03:00
Vitaliy Filippov
fb7b01eeb9 Despite of the fact that algorithm now ignores the absence of closing curly
brace '}' (which probably isn't 100% correct), this should be checked in tests
for replace_handle_esc_seq function, not process_escape_sequence - it is the
replace_handle_esq_seq who decides whether it is an escape sequence or not.

Also, \x{4344} is usually a code for wide character (UTF-8), and not for "CD".
So we can either ignore the higher bits, or generate wide character codes...
The second would be convenient, but would also introduce a hard-coded UTF-8 charset.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 17:28:07 +03:00
Slava Zanko
3ced63361b added tests for mc_search_regex__replace_handle_esc_seq() function
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-08 17:28:07 +03:00