Slava Zanko
14e958a0a4
Removed unused fsusage.c and fsusage.h
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:47 +03:00
Slava Zanko
c57566af00
Avoid compiler warnings.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Matthieu Crapet
32a9d93978
VFS: Added 7zr executable detection in u7z
...
On many distributions by default only the reduced version of p7zip (7zr)
is installed (e.g. on Debian p7zip package provides 7zr executable and
p7zip-full package provides 7za executable).
This patch adds the detection of 7zr in case if 7za is not available.
2010-11-24 10:27:47 +03:00
Andrew Borodin
d169d13296
Use str_trunc() directly instead of name_trunc().
...
name_trunc(): removed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
53ad349a36
Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch].
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
97aa4e99c9
Use g_strndup() directly instead of str_dup_range.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
8425e6fc71
Moved PATH_MAX definition from lib/util.h into lib/fs.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
9b43d71799
Set SLtt_Ignore_Beep in tty_init().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
9ec4d4c08b
Check variable before g_array_free() call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
79133154b0
Moved hooks from lib/util.[ch] to new files lib/hook.[ch]
...
... and renamed Hook to hook_t.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Slava Zanko
c2754de8aa
Code indentation in src directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:46 +03:00
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