Commit Graph

10558 Commits

Author SHA1 Message Date
Andrew Borodin
64835fe3c2 Merge branch '2425_netbsd_mountlist_fixup'
* 2425_netbsd_mountlist_fixup:
  Ticket #2425: fixup read_filesystem_list() for NetBSD >=3.
2010-11-21 12:09:12 +03:00
Aleksey Cheusov
faff5709c6 Ticket #2425: fixup read_filesystem_list() for NetBSD >=3.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-21 10:11:57 +03:00
Andrew Borodin
81b9326843 Merge branch '2415_quit_editor_fix'
* 2415_quit_editor_fix:
  Ticket #2415: keep active state of editor before final decision about quit.
2010-11-20 12:58:08 +03:00
Andrew Borodin
e8c35970ee Ticket #2415: keep active state of editor before final decision about quit.
The same fix is applied to viewer and diffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-20 12:57:38 +03:00
Andrew Borodin
2cfa57d866 Merge branch '2229_viewer_fast_move_up_down_wrapped'
* 2229_viewer_fast_move_up_down_wrapped:
  Ticket #2229: speed up of up/down moving in viewer in wrapped mode.
2010-11-11 13:39:21 +03:00
Tomasz Pala
8eef3c7d78 Ticket #2229: speed up of up/down moving in viewer in wrapped mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-11 13:02:49 +03:00
Iñigo Salvador Azurmendi
e5396bead9 l10n: Updated Basque (eu) translation to 50%
New status: 557 messages complete with 396 fuzzies and 140 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-09 23:12:23 +00:00
Iñigo Salvador Azurmendi
9c41c1c3c8 l10n: Updated Basque (eu) translation to 46%
New status: 505 messages complete with 446 fuzzies and 142 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-08 20:12:35 +00:00
Iñigo Salvador Azurmendi
91fb929e99 l10n: Updated Basque (eu) translation to 46%
New status: 505 messages complete with 446 fuzzies and 142 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-08 19:55:01 +00:00
Andrew Borodin
aa2e4fc7e7 Merge branch '2366_find_ignore_dirs'
* 2366_find_ignore_dirs:
  Move rotating dash to new function
  Unification of invalid filename skip.
  Optimization: ret rid of select_item() call
  Fix of directory ignorance in file find engine.
  Ticket #2366: ignore_dirs does not work while file searching.
2010-11-08 13:23:09 +03:00
Andrew Borodin
b1ac21fb74 Move rotating dash to new function
... and clear dash after search finish.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-08 13:22:44 +03:00
Andrew Borodin
124deb9cff Unification of invalid filename skip.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-08 13:22:44 +03:00
Andrew Borodin
885b1b4f82 Optimization: ret rid of select_item() call
...after go to the found file or directory.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-08 13:22:44 +03:00
Andrew Borodin
f5a93bf74c Fix of directory ignorance in file find engine.
Start directory is used and displayed now as absolute path.
2010-11-08 13:22:44 +03:00
Andrew Borodin
fdc443501a Ticket #2366: ignore_dirs does not work while file searching.
Refactoring: reimplement find_ignore_dirs as sorted array of strings.
Handling value of ignore_dirs like "/foo::/bar/:".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-08 13:22:44 +03:00
mbouzada
6bdcd48b08 l10n: Updated Galician (gl) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-07 10:49:48 +00:00
Jake Li
933e7b3c58 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-06 14:51:19 +00:00
Ilia Maslakov
5cc0b9166c Merge branch '2393_disable_puts_to_clipboard'
* 2393_disable_puts_to_clipboard:
  updated mc.keymap.default, mc.keymap.emacs, added new action - 'InputXCut'
  Fixed highlighting in command line (was broken: aa9cb6d320)
  Ticket #2393 (no put removed text into clipboard)
2010-11-05 13:30:15 +00:00
Ilia Maslakov
8d25877d9b updated mc.keymap.default, mc.keymap.emacs, added new action - 'InputXCut'
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-11-05 13:26:18 +00:00
Ilia Maslakov
b7df339285 Fixed highlighting in command line (was broken: aa9cb6d320)
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-11-05 13:26:18 +00:00
Ilia Maslakov
458cf7cf55 Ticket #2393 (no put removed text into clipboard)
no more put removed text into clipboard. when doing CK_InputKillWord, CK_InputBackwardKillWord

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    * WInput routines: get rid of one-line functions.
    * added CK_InputClearLine handler. Now CK_InputClearLine - clear command line,
    CK_InputKillLine - clear command line from cursor to the EOL.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-11-05 13:26:02 +00:00
Emmanuel Trillaud
52ea643784 l10n: Updated French (fr) translation to 74%
New status: 819 messages complete with 239 fuzzies and 35 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-05 12:44:45 +00:00
Emmanuel Trillaud
44b3c0fc91 l10n: Updated French (fr) translation to 72%
New status: 796 messages complete with 262 fuzzies and 35 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-05 12:39:00 +00:00
Slava Zanko
ce3f0fee31 Merge branch '2135_end_button_in_viewer'
* 2135_end_button_in_viewer:
  Ticket #2135: End button in MC viewer jumps too far
2010-11-05 14:12:58 +02:00
Tomasz Pala
525320071c Ticket #2135: End button in MC viewer jumps too far
Previous solutions have broken one of the viewer features (http://www.midnight-commander.org/ticket/1778)

What suggest is fixing PgDn in a way, that it switches to one-line mode after EOF and add a check to ensure,
that at least one last line stays visible (4.7.1 behaviour of end/pgdn was irritating indeed).

With this patch, PageDown at the last page scrolls file line by line instead of entire page.
This is feature, not a bug. :)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-05 13:23:38 +02:00
Andrew Borodin
d6e843fc71 Merge branch '2407_find_file_segfault'
* 2407_find_file_segfault:
  Some fixes in EN and RU man pages.
  Change hotkey for "Search for content" and "All charsets" checkboxes
  Ticket #2407: crash of mc when chdir to find file.
2010-11-05 12:09:22 +03:00
Andrew Borodin
65c2171ca0 Some fixes in EN and RU man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-05 12:08:58 +03:00
Andrew Borodin
4bfd6436c5 Change hotkey for "Search for content" and "All charsets" checkboxes
...to resolve conflict with input line shortcut.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-05 12:08:58 +03:00
Andrew Borodin
bac6d60f46 Ticket #2407: crash of mc when chdir to find file.
Don't use content if "Search for content" checkbox is off.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-05 12:08:58 +03:00
David Martin
359395b1b8 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 1095 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-04 11:39:41 +00:00
Oleksandr Natalenko
78bd42da42 l10n: Updated Ukrainian (uk) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-03 19:15:29 +00:00
Piotr Drąg
c3d4f99c68 l10n: Updated Polish (pl) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-11-03 00:17:29 +00:00
Andrew Borodin
117f2f76a0 Merge branch '2405_listing_mode_dialog'
* 2405_listing_mode_dialog:
  Ticket #2405: fixed key event handling in "Listing mode" dialog.
2010-11-02 21:55:44 +03:00
Andrew Borodin
50ba1adca4 Ticket #2405: fixed key event handling in "Listing mode" dialog.
Typing 'u' in "User defined mode" input line, the "User defined"
radio-button is checked instead of putting the 'u' letter
into the input line.

Bug was introduced in 80d34ca625.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 21:55:12 +03:00
Andrew Borodin
5468707bc6 Added comment for translators about "at sign" symbol.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 13:34:08 +03:00
Yury V. Zaytsev
17a2f71169 Merge branch '2046_find_file'
* 2046_find_file:
  Applied MC indentation policy
  Fixed up several comments
  Optimization: don't process search handlers too often
  Optimization: don't destroy the "Find file" dialog before call "Tree" one
  Content search options can be disabled using "Search for content" checkbox
  Reorganized "Find File" checkboxes
  Take into account the value of the "Search for content" checkbox
  Ticket #2046: Added "Search for content" checkbox to the Find File dialog
2010-11-02 09:34:18 +01:00
Yury V. Zaytsev
267ec33b2a Applied MC indentation policy
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-11-02 09:34:07 +01:00
Yury V. Zaytsev
d6f2d82618 Fixed up several comments
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-11-02 09:34:07 +01:00
Andrew Borodin
ed5cc99fed Optimization: don't process search handlers too often
Miscellaneous changes:

    * Create search handlers before search session and destroy afterwards.
    * Get rid of goto operator in do_search() functon.
    * Fixed handling of DLG_VALIDATE message.
    * Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 09:34:07 +01:00
Andrew Borodin
6a36a33b33 Optimization: don't destroy the "Find file" dialog before call "Tree" one
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 09:34:06 +01:00
Andrew Borodin
8d3bbf3b26 Content search options can be disabled using "Search for content" checkbox
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 09:34:06 +01:00
Yury V. Zaytsev
e07bb515f3 Reorganized "Find File" checkboxes
Made "Find recursively" and "Search for content" appear the
first, as they are completely logically independent and influence the
way the strings entered in the corresponding fields are used.

"Using shell patterns" and "Regular expression" come next, as
they set a similar property of the fields. Same goes for the "Case
sensitive" and "All charsets" group.

"Skip hidden" and the rest close the show up.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 09:34:06 +01:00
Yury V. Zaytsev
b68bef2cb6 Take into account the value of the "Search for content" checkbox
If "Search for content" checkbox is enabled, then content_pattern is
initialized as usual. Otherwise, it's forcibly set to NULL.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-11-02 09:34:06 +01:00
Yury V. Zaytsev
1b260e6773 Ticket #2046: Added "Search for content" checkbox to the Find File dialog
This checkbox allows to define whether the "Content" field should be
taken into account or not when performing file search. The checkbox
remembers its state across sessions.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-11-02 09:34:06 +01:00
Andrew Borodin
f41dc350ce Merge branch '2404_mcedit_shortcuts'
* 2404_mcedit_shortcuts:
  Ticket #2404: added forgotten shotrcuts of mcedit.
2010-11-02 10:37:35 +03:00
Andrew Borodin
0908c8baea Ticket #2404: added forgotten shotrcuts of mcedit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 21:31:24 +03:00
Slava Zanko
5bf5dd170e Update *.po files.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-01 15:59:12 +02:00
Slava Zanko
b60f00df0d Merge branch '2396_find_whole_words'
* 2396_find_whole_words:
  Some optimization of loops in translation functions.
  Create strings with small preallocated sizes.
  mc_search__cond_struct_new_regex_ci_str(): get rid of extra string duplication.
  Minor optimization of translation function arguments.
  Avoid extra-allocation of string while prepare to regexp-search.
  Removed mc_search_cond_t->len (used mc_search_cond_t->str->len instead).
  Fixed bit operations in mc_search_regex__process_append_str()
  Code cleanup for avoid compiler warnings
  Ticket #2396 (Find File "Whole words" search bug)
2010-11-01 15:48:55 +02:00
Andrew Borodin
54a9e72250 Some optimization of loops in translation functions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:48:39 +02:00
Andrew Borodin
b6fd832a8a Create strings with small preallocated sizes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:48:39 +02:00