Commit Graph

10576 Commits

Author SHA1 Message Date
Andrew Borodin
34c1e1a38a Removed unused enum.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
5e0c9c911d Moved declaration of "easy_patterns" variable from lib/util.[ch] to src/setup.[ch].
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
1f4efb3a46 (mc_skin_ini_file_load): minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
1192d34bd1 Clean up some empty lines.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Slava Zanko
ed566f8971 mc_fhl_init_from_standard_files(): fixed logic and file read order for config files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Slava Zanko
feb733663f Code indentation in lib directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00
Slava Zanko
4a1a758c25 maint: added some templates for newly created files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00
Andrew Borodin
8ed0510df5 Optimization of mc_fhl_array_free().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Andrew Borodin
4892044e71 Remove extra check before mc_search free() call.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Andrew Borodin
4c0ba932a8 Remove extra check before call mc_config_deinit()
...and minor cleanup of related code.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
5324bc63bf (mc_fhl_read_ini_file): conditions cleanup.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
b8a6d0e27d Grammar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
eea82529d1 Ticket #2409: prepare to the 4.7.5 release.
(mc_fhl_parse_get_extensions): fixed possible memory leak and minor
optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
58ea06dadf Merge branch '2417_edit_search_charset'
* 2417_edit_search_charset:
  Reimplemented search engine in editor.
  Ticket #2417: incorrect charset conversion in editor search engine.
2010-11-22 16:20:50 +03:00
Andrew Borodin
9a8ae90a49 Reimplemented search engine in editor.
Now search engines of editor and viewer use the identical algorithm.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:20:26 +03:00
Andrew Borodin
a80c9edb93 Ticket #2417: incorrect charset conversion in editor search engine.
Initial step: type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:20:26 +03:00
Andrew Borodin
a14974b996 Merge branch '2197_status_bar_color'
* 2197_status_bar_color:
  Ticket #2197: added new color for status bar
2010-11-22 16:07:34 +03:00
Andrew Borodin
3e7d76eb13 Ticket #2197: added new color for status bar
...and added missed colors for button bar.

Updated EN and RU man pages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:07:17 +03:00
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