Commit Graph

9876 Commits

Author SHA1 Message Date
Andrew Borodin a5be507432 Merge branch '2069_memory_leaks'
* 2069_memory_leaks:
  Applied MC indentation policy.
  Ticket #2119: Fixed memory leaks in command_completion_function() function.
  Ticket #2108: Fixed memory leak in fish_linear_start() function.
  lib/util.c: Fixed memleak  in load_mc_home_file() function
  Fixed memory leak in mc_search__cond_struct_new_regex_accum_append().
  Free FS info before closing panel.
  Fixed memory leaks in viewer.
  Destroy converter before quit from editor.
  Fixed memory leaks in edit_search_cmd().
  Fixed memory leak in mc_closedir().
  Fixed memory leak in vfs_free_handle().
  Fixed memory leak in vfs_s_getlocalcopy().
  Ticket #2069: fixed memory leaks.
2010-03-30 16:22:47 +04:00
Andrew Borodin 5b68413e62 Applied MC indentation policy.
Applied MC indentation policy to all files modified in this branch
with some simple manual modifications.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin 68dcb6d65c Ticket #2119: Fixed memory leaks in command_completion_function() function.
Thanks Vit Rosin for original patch.

Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Vit Rosin 07a7f446b0 Ticket #2108: Fixed memory leak in fish_linear_start() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Slava Zanko 2dc590fe62 lib/util.c: Fixed memleak in load_mc_home_file() function
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-30 16:21:22 +04:00
Andrew Borodin e94c1393e6 Fixed memory leak in mc_search__cond_struct_new_regex_accum_append().
Minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin cc26fd2bec Free FS info before closing panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin 69988b0395 Fixed memory leaks in viewer.
Free viewer resources before quit from viewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin 63a4966a70 Destroy converter before quit from editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin d03a7e236b Fixed memory leaks in edit_search_cmd().
Thanks Vit Rosin for the original patch.

Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin 3c88948c9d Fixed memory leak in mc_closedir().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin f547d149ba Fixed memory leak in vfs_free_handle().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin 407d1f38f5 Fixed memory leak in vfs_s_getlocalcopy().
Thanks Vit Rosin for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Vit Rosin c6a5837f6d Ticket #2069: fixed memory leaks.
Fixed memory leak in mc_config_read_file().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Ilia Maslakov afa93bbb36 Merge branch '2086_scroll_down_up_wrap_fix'
* 2086_scroll_down_up_wrap_fix:
  Ticket #2086 (viewer: incorrect scroll down/up in wrap mode)
2010-03-30 15:38:04 +04:00
Ilia Maslakov 7d0fb092a4 Ticket #2086 (viewer: incorrect scroll down/up in wrap mode)
fixed: scroll down/scroll up in wrap mode.

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

    fixed: scroll up in wrap mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 15:32:28 +04:00
Kang Bundo 73357ddda6 l10n: Updates to Korean (ko) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-29 14:46:34 +00:00
Kang Bundo 5ec0c0268e l10n: Updates to Korean (ko) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-29 14:28:57 +00:00
Slava Zanko 7f145915dc Merge branch '2001_broken_filemask'
* 2001_broken_filemask:
  Ticket #2001: Broken default regexp mask in filecopy dialog
2010-03-29 11:13:02 +03:00
Slava Zanko 67c26ad2ab Ticket #2001: Broken default regexp mask in filecopy dialog
Default regexp mask '^\(.*\)$' looks broken. Must be '^(.*)$'

Thanks to A.M. Genaev for solution.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-29 11:11:26 +03:00
Andrew Borodin 00ddfc0327 Merge branch '2107_viewer_wrap_scroll_left_right'
* 2107_viewer_wrap_scroll_left_right:
  Applied MC indentation policy.
  Optimization of mcview_hexedit_save_changes() function.
  Type accuracy.
  Optimization: removed superfluous actions.
  Ticket #2107: viewer: enable left/right scrolling in wrap mode.
2010-03-29 12:01:45 +04:00
Andrew Borodin c5d2662f55 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-29 11:59:01 +04:00
Andrew Borodin e30b37f522 Optimization of mcview_hexedit_save_changes() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 11:00:33 +03:00
Andrew Borodin 37f9ab495a Type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 10:44:01 +03:00
Andrew Borodin ce259bf65c Optimization: removed superfluous actions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 10:38:47 +03:00
Andrew Borodin 79a91164c3 Ticket #2107: viewer: enable left/right scrolling in wrap mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 10:30:57 +03:00
Yasen Pramatarov fa5303329a l10n: Updates to Bulgarian (bg) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-23 07:25:11 +00:00
Andrew Borodin fc80034e88 Updated Russian translation.
Modified titles of file operation dialogs.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-23 08:15:25 +03:00
Emmanuel Trillaud 8bfa0e0ebd l10n: Updates to French (fr) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-22 10:02:36 +00:00
Slava Zanko fae80674a9 l10n: Updates to Belarusian (be) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-19 15:32:24 +00:00
David Martin 3fd5f58cec l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-19 14:48:26 +00:00
David Martin 4f8a7755f1 l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-19 14:44:21 +00:00
Andrew Borodin 894806125f Merge branch '2056_autoname_dotdot_dir'
* 2056_autoname_dotdot_dir:
  Ticket #2056: Don't propose ".." as a dirname.
2010-03-19 12:21:31 +03:00
Francesco Cosoleto fc3c32f66e Ticket #2056: Don't propose ".." as a dirname.
Don't propose ".." as a dirname using mkdir command with automatic name
filling enabled.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 12:20:40 +03:00
Slava Zanko 7ca06cb523 Merge branch '2091_viewer_search'
* 2091_viewer_search:
  Ticket #2091: Superfluous "Search done, Continue from begining?" dialog
2010-03-19 11:14:26 +02:00
Slava Zanko 5610bfbb6c Ticket #2091: Superfluous "Search done, Continue from begining?" dialog
When searching from the top of the file for something that's not there we get
"Search done, Continue from begining?" dialog before "Search string not found"
(and only if we choose "Yes" in the first one).

This should happen only if the last position>0 (either the place when search
began, or some match before).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-19 11:13:57 +02:00
Andrew Borodin 44fb2f37c4 Merge branch '2114_gz_z_extension'
* 2114_gz_z_extension:
  Ticket #2114: Don't treat files ending with a dot as gzip.
2010-03-19 10:19:33 +03:00
Thomas Jarosch 7e427c2cfa Ticket #2114: Don't treat files ending with a dot as gzip.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 10:18:56 +03:00
Andrew Borodin 19b5573699 Merge branch '2093_panel_header_mouse'
* 2093_panel_header_mouse:
  Ticket #2093: fixed mouse events handling in file panel.
2010-03-19 10:07:24 +03:00
Andrew Borodin 14fce3b91e Ticket #2093: fixed mouse events handling in file panel.
Dont handle wheel events on 2nd line where sort indicator
and column header are located.
Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 10:06:52 +03:00
Ilia Maslakov 1445e6b59f Merge branch '2022_case_sensitive_quick_search'
* 2022_case_sensitive_quick_search:
  Added description of Quick search modes.
  Ticket #2022 (case sensitive quick search)
2010-03-19 09:18:12 +03:00
Andrew Borodin 334416e1a2 Added description of Quick search modes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 09:15:29 +03:00
Ilia Maslakov 0400e92fc5 Ticket #2022 (case sensitive quick search)
added new option quick_search_case_sensitive, with 3 position are: 0, 1, 2.
    if "0", quick search in case insensitive
    if "1", quick search in case sensitive
    if "2", get from panel "case_sensitive"

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-19 09:15:29 +03:00
Oleksandr Natalenko 7e72349152 l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-18 20:14:27 +00:00
Oleksandr Natalenko 1c2804d90f l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-18 20:12:17 +00:00
Slava Zanko 0f2a03b8cb l10n: Updates to Belarusian (be) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-18 16:43:11 +00:00
Slava Zanko 4946e5c6fa l10n: Updates to Belarusian (be) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-18 16:03:48 +00:00
Kang Bundo 6f4e3eb231 l10n: Updates to Korean (ko) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-18 07:38:43 +00:00
Dimitris Glezos b6cfa8b663 l10n: Updates to Greek (el) translation
Transmitted-via: Transifex (www.transifex.net)
2010-03-17 18:30:24 +00:00
Andrew Borodin ce86d0bd74 Merge branch '2014_null_directory'
* 2014_null_directory:
  Applied MC indentation policy.
  Ticket #2014: don't try to make directory NULL named in mkdir_cmd().
2010-03-17 13:39:29 +00:00