Commit Graph

9924 Commits

Author SHA1 Message Date
Andrew Borodin
b266527c5f Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-23 11:54:25 +04:00
Andrew Borodin
c0c744ba08 Ticket #1660: color keyword names unification.
Changed name of following color keywords:

menu -> menunormal
linestate -> editlinestate

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 16:09:52 +04:00
Andrew Borodin
3bfebaacb1 Merge branch '2050_urar_disable_user_cfg'
* 2050_urar_disable_user_cfg:
  Ticket #2050: extfs/urar: disable user/system configuration for list and copyout operations.
2010-04-22 14:00:18 +04:00
Artem S. Tashkinov
07de6670ed Ticket #2050: extfs/urar: disable user/system configuration for list and copyout operations.
My system wide .rarrc contains these switches

switches= -m5 -mdG -r -s -t -ol -tl

So whenever you list the contents of any archive or copy a file out of
it, RAR/UNRAR will traverse *all* sub directories (note -r, recursive
switch) in a current directory trying to find *all* archives with the
same name. So, the net result might be that unrar/rar will extract
the wrong file and spend a lot of time trying to find archives with
the same name.

That's why I strongly suggest disabling user/system configuration
for archive list and copyout operations (note the added -cfg switch).

I have contacted Eugene Roshal and he said that he won't disable -r switch
for extract and archive list operations, so, we can only fix this problem
on our side.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 10:18:46 +04:00
Andrew Borodin
3e78317ce0 Merge branch '2049_urar_localized_filenames'
* 2049_urar_localized_filenames:
  Ticket #2049: extfs/urar doesn't correctly shows localized filenames in RAR archives.
2010-04-22 10:05:22 +04:00
Artem S. Tashkinov
8bdd7bc764 Ticket #2049: extfs/urar doesn't correctly shows localized filenames in RAR archives.
There's no need to export LC_ALL.

Signee-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-20 16:56:41 +04:00
Andrew Borodin
a8096e77ff Merge branch '1648_corners_ncurses_fix'
* 1648_corners_ncurses_fix:
  Ticket #1648: fixed frame corners for NCurses screen library.
2010-04-20 15:56:33 +04:00
Andrew Borodin
7161567ea8 Ticket #1648: fixed frame corners for NCurses screen library.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-14 14:38:22 +04:00
Sergei Trofimovich
bccf55731a Merge branch '2134_am_silent_rules'
* 2134_am_silent_rules:
  Minor grammar/spelling issues.
  Ticket #2134: configure.ac: add support for AM_SILENT_RULES
2010-04-10 12:54:13 +03:00
Yury V. Zaytsev
5ed43370a7 Minor grammar/spelling issues. 2010-04-10 12:53:55 +03:00
Sergei Trofimovich
690950e1b8 Ticket #2134: configure.ac: add support for AM_SILENT_RULES
Inspired by http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html
Conditionally enabling AM_SILENT_RULES if supported

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-04-10 12:53:55 +03:00
George Vasilakos
f593976635 l10n: Updates to Greek (el) translation
Transmitted-via: Transifex (www.transifex.net)
2010-04-08 20:22:25 +00:00
Freespacer
9c7f3476f6 l10n: Updates to German (de) translation
Transmitted-via: Transifex (www.transifex.net)
2010-04-07 16:57:09 +00:00
Ilia Maslakov
f0b5497730 Merge branch '2081_edit_overwrite_fix'
* 2081_edit_overwrite_fix:
  Ticket #2081 (editor: incorrect overwrite text after input utf-8 chars)
2010-04-06 15:11:57 +04:00
Ilia Maslakov
51401d441f Ticket #2081 (editor: incorrect overwrite text after input utf-8 chars)
fixed input multibyte chars in overwrite editor mode (remove character only when the first byte is inserted).
    thanx to Egmont Koblinger <egmont@gmail.com> for original patch and ticket.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-06 15:08:30 +04:00
Andrew Borodin
e1afcf372c Merge branch '1648_single_boxes'
* 1648_single_boxes:
  Applied MC indentation policy.
  Merged tty_draw_double_box() function into tty_draw_box() one.
  Draw menu using double lines.
  Renamed frame symbol names.
  Added capability to draw single or double lines.
  Created new function: tty_draw_double_box().
  Fixed tty_print_alt_char() function for NCurses.
  Ticket #1648: implemented single-line boxes.
2010-04-06 11:19:42 +04:00
Andrew Borodin
a708b5c514 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 11:16:11 +04:00
Andrew Borodin
b0be11acd5 Merged tty_draw_double_box() function into tty_draw_box() one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Ilia Maslakov
279375b418 Draw menu using double lines.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-06 10:30:58 +04:00
Andrew Borodin
4e57b599cc Renamed frame symbol names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
9a145a88ce Added capability to draw single or double lines.
Fixed tty_print_alt_char() to draw single or double vertical
or horizintal lines.
Added argument to tty_print_one_hline() and tty_print_one_vline()
functions to draw single or double lines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
cc2f5670ec Created new function: tty_draw_double_box().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
be3b0119da Fixed tty_print_alt_char() function for NCurses.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Sergei E. Ovsyannikov
d8fb069e85 Ticket #1648: implemented single-line boxes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
3c19b9f002 Merge branch '2121_dir_symlink'
* 2121_dir_symlink:
  Applied MC indentation policy.
  compute_dir_size() function  now respect 'follow symlinks' option
  Ticket #2121: don't calculate directory size if directory is symlink.
2010-04-06 09:52:25 +04:00
Andrew Borodin
bdc0878379 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 09:50:33 +04:00
Slava Zanko
e36552d574 compute_dir_size() function now respect 'follow symlinks' option
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-06 09:40:20 +04:00
Andrew Borodin
69a8796e47 Ticket #2121: don't calculate directory size if directory is symlink.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 09:40:20 +04:00
Mikhail S. Pobolovets
6f6ea1bc88 Normalized formating for syntax files
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 19:24:13 +03:00
Mikhail S. Pobolovets
5112cdc727 Asm syntax: redundant rules removed and some missed registers added
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 16:36:49 +03:00
Mikhail S. Pobolovets
ae517852b0 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-04-04 13:46:58 +03:00
Andrew Borodin
9b41d62d0a Merge branch '1909_extfs_read_archive_fix'
* 1909_extfs_read_archive_fix:
  Ticlet #1909: fix of extfs_read_archive() function.
2010-04-03 11:10:47 +04:00
Andrew Borodin
58909eb708 Ticlet #1909: fix of extfs_read_archive() function.
Fixed bug introduced in ad9c1daad8 commit:
incorrect handling of "." and ".." directories within atchives.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-03 11:10:29 +04:00
Oleksandr Natalenko
c2fc1b86f3 l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (www.transifex.net)
2010-04-02 16:12:06 +00:00
Martin Petricek
13e3c684bd Merge branch '2125_ask_overwrite_twice'
* 2125_ask_overwrite_twice:
  Ticket #2125 (User asked twice about overwriting file)
2010-04-02 00:35:46 +02:00
Martin Petricek
62f7fa55f4 Ticket #2125 (User asked twice about overwriting file)
fixed: asking twice on file overwrite on move operations across filesystems
2010-04-02 00:35:28 +02:00
Andrew Borodin
0731ad5e60 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 16:34:14 +04:00
Andrew Borodin
9af798158f Changed formatting of all xnc.hlp file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 16:34:14 +04:00
Andrew Borodin
8468ca85c2 Dynamic formatting of MC help in run-time.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 16:34:07 +04:00
Andrew Borodin
49f3028764 Minor optimization of help file conversion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:09 +04:00
Andrew Borodin
8cb8c7efa9 Help window width now dynamically depends on screen width.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:09 +04:00
Andrew Borodin
142ab7cac6 Reimplemented list area list using GSList.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:09 +04:00
Andrew Borodin
ca0af7de47 Ticket #1561: help subsystem improvements.
Initial step: don't force break long lines. Displayed
help text should be dynamically formatted depending on
screen width.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:08 +04:00
Andrew Borodin
c8dae6fd8f Added extensions_case keyword in filehighlight.syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 10:18:45 +04:00
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