Commit Graph

10811 Commits

Author SHA1 Message Date
Ilia Maslakov 92061acce5 Merge branch '2499_mcedit_select_cur_word'
* 2499_mcedit_select_cur_word:
  code indentation
  Ticket #2499 (action to the mark current word)
2011-02-17 21:52:16 +00:00
Ilia Maslakov 4e97991714 code indentation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-02-17 21:46:20 +00:00
Ilia Maslakov afed48a44a Ticket #2499 (action to the mark current word)
added action CK_Mark_Word to the mark current word
    changed double-click the mouse handler of the editor

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-17 21:38:06 +00:00
Ilia Maslakov 6cd8812756 Merge branch '2500_editor_WordRight_fix'
* 2500_editor_WordRight_fix:
  Ticket #2500 (incorrect the word boundary detection)
2011-02-17 21:06:05 +00:00
Ilia Maslakov cfad4d685b Ticket #2500 (incorrect the word boundary detection)
fixed detection of the word boundary (added '{', '}' as end of the word).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 22:17:15 +00:00
Ilia Maslakov 9f0d38520a replaced call mc_config_del_param to mc_config_del_key
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 22:09:41 +00:00
Ilia Maslakov aa8f4ffbf6 added shell script 'testdup.sh' for locate duplicate includes
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 20:37:31 +00:00
Ilia Maslakov bd3c950dce changed script maint/doctest to utf-8 support.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 20:21:01 +00:00
Andrew Borodin e4ee7ea383 Merge branch '2275_ignore_relative_dirs'
* 2275_ignore_relative_dirs:
  Handle ignore dirs directly in 'Find file' dialog.
  Added counter of ignored dirs.
  Ticket #2275: find files: support of relative dirs in ignore_dirs.
2011-02-16 22:00:32 +03:00
Andrew Borodin cfd0e8d3fc Handle ignore dirs directly in 'Find file' dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 21:59:55 +03:00
Andrew Borodin 7fa3dfc649 Added counter of ignored dirs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-16 21:58:59 +03:00
Andrew Borodin 90e3933e89 Ticket #2275: find files: support of relative dirs in ignore_dirs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-02-16 21:58:59 +03:00
Ilia Maslakov a5bf2b5dd5 Merge branch '2483_editor_word_left_improvement'
* 2483_editor_word_left_improvement:
  Ticket #2483 (editor: improvement word left/right)
2011-02-13 08:33:06 +00:00
Ilia Maslakov 7651b5dd30 Ticket #2483 (editor: improvement word left/right)
now the cursor jump more intuitive after actions "word left"/"word right".
    It will be stop before BOL, BOF

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-13 08:30:19 +00:00
Andrew Borodin 20788b9bde use_mouse_p: moved definition from src/filemanager/midnight.c to lib/tty/mouse.c.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin b8b0abd579 Ticket #2485: added -C key to nm in View action for static libs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin c30c82ee48 ftpfs.c: added include of stdio.h needed for sscanf().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin fe60e4c89b find.c (search_content): type accuracy of return value.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin 77ee33e2e5 Formatting fix after indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin 5b9a7dd43f (mc_config_del_param): renamed to mc_config_del_key.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin ac8e519854 Remove extra checks before call of g_strfreev().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Andrew Borodin 1ceb2494e4 Fixup compile with --disable-charset.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:55 +02:00
Slava Zanko 8c4eb1bae8 Two small typos in strings.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-02-05 16:54:51 +02:00
Andrew Borodin 7a18ad6838 Updated Russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:38:59 +02:00
Andrew Borodin d9fc47453b Optimization: get rid of triple run of isoinfo -d.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-04 19:25:30 +03:00
Sergey 3293c5b237 Ticket #2471: isoinfo adds ";1" to the end of file name when Joliet w/o Rock Ridge is used.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-04 19:25:18 +03:00
Ilia Maslakov f11a7290cc Merge branch '2456_editor_incorrect_restore_selection'
* 2456_editor_incorrect_restore_selection:
  Ticket #2456 (Incorrect restore selection after UNDO)
2011-02-04 18:42:40 +03:00
Ilia Maslakov afb498de3a Ticket #2456 (Incorrect restore selection after UNDO)
fixed incorrect restore selection after UNDO

    test case:
        1. mcedit new_empty_file
        2. type in 0123456789
        3. F3 5*left F3 - digit '4' is not marked at this point
        4. backspace, ctrl-u - digit '4' is marked now
        5. left, 2*del, 2*ctrl-u - digits '4' and '5' are not marked

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-04 18:32:13 +03:00
Ilia Maslakov 9b5de3c96b direct commit: utf8 fixup
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-03 17:14:48 +03:00
Andrew Borodin cca5fac0e9 Missed commas.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-03 15:40:38 +03:00
Ilia Maslakov 4a6faa64fb Merge branch '2484_editor_get_prev_utf8_fix'
* 2484_editor_get_prev_utf8_fix:
  Ticket #2484 (segfault after getting previous char)
2011-02-03 09:55:51 +03:00
Ilia Maslakov f42e10ab1d Ticket #2484 (segfault after getting previous char)
fixed segfault after getting the previous char in utf8, if previous char's
    are: 0xB1, 0xB3, 0xB6, 0xBF, 0xBC.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-03 09:50:15 +03:00
Andrew Borodin d24d429db9 Merge branch '2489_viewer_old_colors'
* 2489_viewer_old_colors:
  Ticket #2489: colors of bold and selected text in viewer cannot be set in the command line
2011-02-02 14:55:26 +03:00
Andrew Borodin e3cbdfad04 Ticket #2489: colors of bold and selected text in viewer cannot be set in the command line
...using --colors option.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-02 14:55:06 +03:00
Yury V. Zaytsev 14a82ae0ec Merge branch '2401_ai_addrconfig_optional'
* 2401_ai_addrconfig_optional:
  Ticket #2401: Make AI_ADDRCONFIG optional for RFC 3493 non-compliant systems
2011-02-01 10:06:55 +01:00
Yury V. Zaytsev afd8ec8934 Ticket #2401: Make AI_ADDRCONFIG optional for RFC 3493 non-compliant systems
Unfortunately not all systems claiming POSIX support actually define
AI_ADDRCONFIG macro, and those who define it not always implement it
(this is indeed optional). This patch makes ftpfs only set AI_ADDRCONFIG
flag to speed up lookups if it is defined, and in this case, retry the
lookup if it was rejected due to unimplemented flags.

Based upon the code by Joe Orton <jorton@redhat.com> from APR:

Copyright (C) 2003 Red Hat, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2011-02-01 10:06:33 +01:00
Andrew Borodin 22cdf545f4 Merge branch '2305_drop_panel_old_options'
* 2305_drop_panel_old_options:
  Reorganization of "Show mini info" option.
  torben_fj_mode options was moved from [Midnight-Commander] section to [Panels] one.
  Ticket #2305: drop backward compatibility for global panels options.
2011-01-30 12:25:00 +03:00
Andrew Borodin 09021fd954 Reorganization of "Show mini info" option.
"Show mini info" checkbox was moved from the "Layout" dialog window
to the "Panel options" one. Documentation was updated.
The show_mini_info global variable was transformed to the member
of panels_options_t structure.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-30 12:23:32 +03:00
Andrew Borodin f13778d94f torben_fj_mode options was moved from [Midnight-Commander] section to [Panels] one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-30 12:23:32 +03:00
Andrew Borodin 5341a6b53f Ticket #2305: drop backward compatibility for global panels options.
Drop backward compatibility for global panels options. These options
are read form [Panels] section, if this section exists. If this section
is abscent, default values are used.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-30 12:23:32 +03:00
Andrew Borodin 69d66dd598 Merge branch '2459_switch_to_left_panel'
* 2459_switch_to_left_panel:
  Ticket #2459: switch to the left panel after mouse click on input line history pictogram.
2011-01-24 20:42:55 +03:00
Andrew Borodin 912c62f564 Ticket #2459: switch to the left panel after mouse click on input line history pictogram.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-24 20:42:38 +03:00
Slava Zanko 6ab2753063 Merge branch '2169_fix_colors'
* 2169_fix_colors:
  Fixed parser of old colors string.
  Added description of 256colors parameter
  fail back to standard skin if 256-colors skin used on non256 colors terminal
  Fixed strange incomplete code while replace colour attribute in hash
  Use constant for describe color intensity
  Ticket #2169: Colors fixups for backward compability
2011-01-24 15:47:19 +02:00
Andrew Borodin 0f2578d45b Fixed parser of old colors string.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-24 15:46:10 +02:00
Slava Zanko 8a1c44c05d Added description of 256colors parameter
... in English and Russian man pages.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:46:10 +02:00
Slava Zanko 5b167ccc9e fail back to standard skin if 256-colors skin used on non256 colors terminal
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:46:10 +02:00
Slava Zanko df0ae6ad0c Fixed strange incomplete code while replace colour attribute in hash
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:46:10 +02:00
Slava Zanko 3def2733dd Use constant for describe color intensity
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:46:10 +02:00
Slava Zanko 26b0623e87 Ticket #2169: Colors fixups for backward compability
* Restored old behaviour of A_BLINK attribute (intensity of background color instead of blinking foreground color);
 * Added function tty_use_256colors() for determine terminals with 256colors support;
 * Fixed background highlighting in NCurses and S-Lang.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:45:58 +02:00
Slava Zanko 1b9957058a Merge branch '1851_xdg_config'
* 1851_xdg_config:
  menu file now searched also in mc_sysconfig_dir directory
  renamed cedit.menu to mcedit.menu
  Added environment variable MC_LOG_ENABLE for specify if logging is enabled (higher priority rather then parameter from config file). Also added environment variable MC_LOG_FILE for specify file name.
  Added new function mc_always_log() for logging on early bootstrap stages
  Updated docs (man pages and comments in source code)
  Renamed variables mc_home to mc_sysconfig_dir and mc_home_alt to mc_share_data_dir for more sence
  Ticket #1851: Home config directory [xdg-user-dirs]
2011-01-21 10:07:09 +02:00