Commit Graph

10778 Commits

Author SHA1 Message Date
Ilia Maslakov
ee7d6dd2ff Merge branch '27_group_undo'
* 27_group_undo:
  fixed mcedit.1.in
  Modified editor general options gialog
  Ticket #27 (group undo)
2011-01-01 21:20:33 +00:00
Ilia Maslakov
707654e8ec fixed mcedit.1.in
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-01-01 21:17:27 +00:00
Ilia Maslakov
ab46ad0749 Modified editor general options gialog
...added "Group undo" option.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-01 21:17:27 +00:00
Ilia Maslakov
b39033812b Ticket #27 (group undo)
added option editor_group_undo unset by default
    added group undo mechanism

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-01-01 21:17:19 +00:00
Ilia Maslakov
1c57748571 Merge branch '25_mcedit_redo'
* 25_mcedit_redo:
  updated default_editor_keymap, added default for CK_Redo
  binded EditRedo on alt-r
  added action EditRedo.
  Ticket #25 (mcedit: REDO)
2010-12-30 21:32:50 +00:00
Ilia Maslakov
d84fb5d0ce updated default_editor_keymap, added default for CK_Redo
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-30 21:23:43 +00:00
Ilia Maslakov
6832b8e7e9 binded EditRedo on alt-r
added entry Redo into editor menu

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-30 21:23:43 +00:00
Ilia Maslakov
03363eac71 added action EditRedo.
added functions:
        * edit_push_redo_action
        * edit_pop_redo_action
        * edit_do_redo

    removed not supported (not actual) code

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-30 21:23:42 +00:00
Ilia Maslakov
b5fc178027 Ticket #25 (mcedit: REDO)
little optimization, renamed:
        * variables stack* to undo_stack*
        * pop_action to edit_pop_undo_action
        * edit_push_action to edit_push_undo_action

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-30 21:23:42 +00:00
Andrew Borodin
8c1fba1ffa Optimization of old color look-up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-29 13:58:42 +03:00
Andrew Borodin
da2c82e8d3 Ticket #2170: color of panel header cannot be set in the command line
...using --colors option.

Grammar in default skin description.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-29 13:58:28 +03:00
Slava Zanko
1ce4670852 Merge branch '2169_256colors'
* 2169_256colors:
  Added skin for demonstrate how to use 256 colors in mc
  Added Russian translation of 256 colors capability.
  Ticket #2169:  Add support for 256 colors terminals
2010-12-29 12:13:46 +02:00
Egmont Koblinger
6582b89c63 Added skin for demonstrate how to use 256 colors in mc
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-29 12:04:56 +02:00
Andrew Borodin
255c7abb2e Added Russian translation of 256 colors capability.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-29 11:59:34 +02:00
Egmont Koblinger
e593572bb9 Ticket #2169: Add support for 256 colors terminals
Forget the old limit of 8 background and 16 foreground colors.
From now on Midnight Commander can use all the 256 colors,
as your favorite terminal emulator supports them - or not,
in which case it's not going to stay your favorite terminal for long.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-29 11:58:10 +02:00
Andrew Borodin
5706b973b2 Updated NEWS for 4.7.5 release.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-28 13:39:10 +03:00
Slava Zanko
4ae8b816fe Updated translations from transifex.net
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-28 12:31:32 +02:00
Andrew Borodin
09533cf671 Merge branch '2447_prepare_to_4.7.5'
* 2447_prepare_to_4.7.5:
  (fish_fill_names): remove unexpected break.
  (panel_save_curent_file_to_clip_file): 'res' might be used uninitialized here.
  Fixed English and Russian man pages.
  (warn_same_file): cleanup of preprocessing usage.
  fix VFS crashes.
  Panel update: type accuracy.
  Replaced remaining grep with @GREP@ in iso9660 VFS plugin.
  (single_dirsize_cmd): send CK_PanelMoveDown message instead of KEY_DOWN one to panel.
  Ticket #2447: code cleanup before 4.7.5 release.
2010-12-28 12:28:14 +03:00
Andrew Borodin
0f9af9315c (fish_fill_names): remove unexpected break.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-28 11:33:50 +03:00
Andrew Borodin
4c83f8b4df (panel_save_curent_file_to_clip_file): 'res' might be used uninitialized here.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-28 09:10:43 +03:00
Andrew Borodin
252a88fa96 Fixed English and Russian man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-28 09:10:29 +03:00
Andrew Borodin
a8b62e421e (warn_same_file): cleanup of preprocessing usage.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-27 15:57:16 +03:00
Jindrich Novy
a3344024c1 fix VFS crashes.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-27 15:57:16 +03:00
Andrew Borodin
7cfaeca063 Panel update: type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-27 15:57:16 +03:00
Andrew Borodin
71a2eeec21 Replaced remaining grep with @GREP@ in iso9660 VFS plugin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-27 15:57:16 +03:00
Andrew Borodin
75fa78595e (single_dirsize_cmd): send CK_PanelMoveDown message instead of KEY_DOWN one to panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-27 15:57:16 +03:00
Andrew Borodin
7a8dc2665e Ticket #2447: code cleanup before 4.7.5 release.
VFS: post-indentation fixups.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-27 15:57:09 +03:00
Ilia Maslakov
7e3c35e31d Merge branch '1898_vertical_selection_fix'
* 1898_vertical_selection_fix:
  Ticket #1898 (mcedit: vertical selection bug)
2010-12-23 16:04:33 +00:00
Ilia Maslakov
7d21002668 Ticket #1898 (mcedit: vertical selection bug)
now after changing the cursor position does not break the vertical text selection.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-23 16:03:56 +00:00
Andrew Borodin
a557605cac Merge branch '2448_copy_progress_crash'
* 2448_copy_progress_crash:
  fix crash in progress bar handling
  Ticket #2448: division by zero in file copy progress dialog.
2010-12-23 14:26:05 +03:00
Jindrich Novy
b51ae367da fix crash in progress bar handling
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-23 14:25:39 +03:00
Andrew Borodin
4abfaf8172 Ticket #2448: division by zero in file copy progress dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-23 14:25:39 +03:00
Andrew Borodin
31d440ca6e Merge branch '2288_path_autocompletion'
* 2288_path_autocompletion:
  (try_complete): fix completion for file names started with one character.
  little changes to make 'completion' more intuitive.
  (input_key_is_in_map): don't execute any input actions here.
  Fixup of path autocompletion
  Ticket #2288: regression of path autocompletion.
2010-12-23 13:26:09 +03:00
Andrew Borodin
16c37545a3 (try_complete): fix completion for file names started with one character.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-23 13:24:55 +03:00
Ilia Maslakov
e4de4f00d1 little changes to make 'completion' more intuitive.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-23 13:24:55 +03:00
Andrew Borodin
65d4e1752d (input_key_is_in_map): don't execute any input actions here.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-23 13:24:50 +03:00
Andrew Borodin
b5d3857e29 Fixup of path autocompletion
...and reorganizing of some conditions.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-22 10:35:32 +03:00
Andrew Borodin
e8b36e50ca Ticket #2288: regression of path autocompletion.
(check_is_cd): fix of cd command check.
Type accuracy: check_is_cd() now returns gboolean instead of int.
Initialize start and end variables.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-22 10:35:23 +03:00
Ilia Maslakov
97ae800afa Merge branch '2449_search_position_fix'
* 2449_search_position_fix:
  Ticket #2449 (search position is reset but should not be)
2010-12-15 21:05:55 +00:00
Ilia Maslakov
40523a2c01 Ticket #2449 (search position is reset but should not be)
steps to reproduce:

    mcview_remember_file_position=1

    test file: file1.ext
        123
        456
        123
        qwe
        123
        123
        qwe
        123
        qwe
        456

    1) open file1.ext in mcedit search text 'qwe'
    2) close file1.ext
    3) open file1.ext in mcview
    4) close file1.ext
    5) reopen file1.ext in mcedit and search again text 'qwe'

    search position is reset but should not be reset.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-15 21:04:19 +00:00
Andrew Borodin
46b63af30c Merge branch '1800_ext_elf_so'
* 1800_ext_elf_so:
  Ticket #1800: minor enhancement and fix for mc.ext
2010-12-14 16:26:10 +03:00
nmk
5ec76f0af3 Ticket #1800: minor enhancement and fix for mc.ext
...for .so libraries and ELF objects.

.so libraries have the higher priority of extansion handling over ELF
objects.
Added -C -D options to nm utility for .so libraries.
Added -C option to nm utility for ELF objects.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-14 16:25:33 +03:00
Andrew Borodin
69a301cf0d Merge branch '1963_iso9660'
* 1963_iso9660:
  Ticket #1963: use grep instead of awk in iso9660 extfs plugin.
2010-12-14 16:17:00 +03:00
wjaguar
4de95fe89f Ticket #1963: use grep instead of awk in iso9660 extfs plugin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-14 16:16:38 +03:00
Andrew Borodin
ab50316f40 po/ru.po: fixed dialog title.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-13 13:36:38 +03:00
Slava Zanko
13ee4df714 Merge branch '2437_editor_selection_length_fix'
* 2437_editor_selection_length_fix:
  Ticket #2437 (mcedit: selection length trouble)
2010-12-13 12:02:27 +02:00
Ilia Maslakov
2e73ca4989 Ticket #2437 (mcedit: selection length trouble)
now selection length do not changed after text is backspaced in middle selection.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-13 12:02:16 +02:00
Andrew Borodin
66995a0214 Merge branch '2238_dont_reset_selection_after_copy'
* 2238_dont_reset_selection_after_copy:
  Ticket #2238 (mcedit: do not reset selection after copy to clipboard)
2010-12-10 12:40:32 +03:00
Ilia Maslakov
bac3fbe8a9 Ticket #2238 (mcedit: do not reset selection after copy to clipboard)
In mcedit, when the selected text is copied to the clipboard, the selection disappears.
    This behavior contradicts to the traditional behavior of all modern text editors and is highly annoying.
    Now selection don't reset after the text is copied into the clipboard.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-10 11:32:09 +03:00
Andrew Borodin
b6c47f196f po/ru.po: fixed plural forms.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-09 20:51:12 +03:00