Commit Graph

10211 Commits

Author SHA1 Message Date
Ilia Maslakov
7f109a6e56 set default keys for Input* actions
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:27:00 +03:00
Andrew Borodin
3fa80a6828 quick_input: don't force set cursor position to 0.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 22:27:00 +03:00
Ilia Maslakov
9f595d0097 clear 'first' flag by mouse click.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:27:00 +03:00
Ilia Maslakov
a4e4378861 initial step to do mark in inpun fields
added selection with mouse

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

    Code cleanup: make visibility of some functions as static

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

fixed skins

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:26:59 +03:00
Ilia Maslakov
72bb075828 Ticket #2161 (del - clear input field)
new behavior: DEL - clear current field of dialog if text in the field is not modify and cursor not moved.

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

Code cleanups: avoid compiler warnings

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-27 22:26:59 +03:00
Andrew Borodin
12969b4974 Merge branch '1838_codeset_autodetect_fix'
* 1838_codeset_autodetect_fix:
  edit_load_file_fast(): don't reset utf8 flag that was set early.
  edit_set_codeset(): new function to set codeset in MC editor.
  Some optimization of viewer initialization.
  Ticket #1838: fix of broken charset autodetection.
2010-05-27 14:10:03 +04:00
Andrew Borodin
3209f8e61b edit_load_file_fast(): don't reset utf8 flag that was set early.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 14:07:22 +04:00
Andrew Borodin
72144b4895 edit_set_codeset(): new function to set codeset in MC editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 14:07:22 +04:00
Andrew Borodin
d37af446b7 Some optimization of viewer initialization.
Most of viewer initialization was moved to mcview_init() function
to rid of double initialization of mcview members.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 14:07:22 +04:00
Andrew Borodin
cc8a675ebb Ticket #1838: fix of broken charset autodetection.
First step: refactoring: unification of WTree and WInfo widget
constructions. Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 14:07:22 +04:00
Andrew Borodin
6117c5b4ca Merge branch '1771_menu_hide_cursor'
* 1771_menu_hide_cursor:
  Code cleanup for compile with -Werror option
  don't show cursor in listboxes.
  Ticket #1771: don't show cursor in menu.
2010-05-26 10:18:11 +04:00
Slava Zanko
e3f7a0544b Code cleanup for compile with -Werror option
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-26 10:17:04 +04:00
Slava Zanko
916eba33a7 don't show cursor in listboxes.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-26 10:13:17 +04:00
Andrew Borodin
50ae5a8c6b Ticket #1771: don't show cursor in menu.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-26 10:13:17 +04:00
Andrew Borodin
f513925a17 Merge branch '2168_capitalized_hotkeys'
* 2168_capitalized_hotkeys:
  Applied MC indentation policy.
  Ticket #2168: all hotkeys are in the lowercase now.
2010-05-26 10:08:10 +04:00
Andrew Borodin
eb284bcef8 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-26 10:07:56 +04:00
Andrew Borodin
9a97d08c16 Ticket #2168: all hotkeys are in the lowercase now.
Hotkeys are already highlighted by the color; there is no any point
in using yet another attribute (uppercase) for emphasizing them
even more. Capitalizing a letter in the middle of a word looks ugly.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-26 09:59:03 +04:00
Slava Zanko
4749525820 Merge branch '45_rewrite_man2hlp'
* 45_rewrite_man2hlp:
  mc.spec: Added perl in build requires
  Fixed bug: No newline at the end of file
  Minor code cleanups
  Fixed bug: Wrong last char processing in handle_alt_font
  Fixed bug: Wrong string length calculation
  Fixed bug: Wrong odd SH warning
  Fixed string splitting by '\&' bug
  Fixed backslash handling
  Bug fix: Invalid content generation
  Replace man2hlp (from C to perl)
  Ticket #45: Build system does not allow cross compiling
2010-05-24 14:43:15 +03:00
Slava Zanko
878a0fdc85 mc.spec: Added perl in build requires
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-24 14:42:01 +03:00
Alexandr Prenko
aefd218a32 Fixed bug: No newline at the end of file 2010-05-24 14:42:01 +03:00
Alexandr Prenko
4c00848641 Minor code cleanups 2010-05-24 14:42:01 +03:00
Alexandr Prenko
9722a476e6 Fixed bug: Wrong last char processing in handle_alt_font 2010-05-24 14:42:01 +03:00
Alexandr Prenko
738fed4ffb Fixed bug: Wrong string length calculation 2010-05-24 14:42:01 +03:00
Alexandr Prenko
fc0a3ebe93 Fixed bug: Wrong odd SH warning 2010-05-24 14:42:01 +03:00
Alexandr Prenko
84c1f750c4 Fixed string splitting by '\&' bug 2010-05-24 14:42:00 +03:00
Alexandr Prenko
8a46e40564 Fixed backslash handling 2010-05-24 14:42:00 +03:00
Alexandr Prenko
fd3dd57078 Bug fix: Invalid content generation 2010-05-24 14:42:00 +03:00
Slava Zanko
d523d6e531 Replace man2hlp (from C to perl)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-24 14:41:55 +03:00
Slava Zanko
649487fac1 Ticket #45: Build system does not allow cross compiling
The man2hlp program is build using the target compiler. The
resulting executable therefore does not work on the build host.
Since the man2hlp program is needed during compile time, the build
will fail.

Moved man2hlp into separate subdir

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-24 10:06:56 +03:00
Andrew Borodin
b6d4862b63 Merge branch '2042_relative_symlink'
* 2042_relative_symlink:
  Ticket #2042: added a capability to create relative symlinks.
2010-05-22 12:10:26 +04:00
Andrew Borodin
6d5c2628fe Ticket #2042: added a capability to create relative symlinks.
The original patch was posted by Anton Monroe <akm at meer dot net>
to mc-devel@gnome.org mailing list:
http://mail.gnome.org/archives/mc-devel/2006-April/msg00020.html

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-22 12:08:18 +04:00
Andrew Borodin
d8f1d0c233 Merge branch '2195_crash_search_parsed_raw'
* 2195_crash_search_parsed_raw:
  Ticket #2195: Crash on search in viewed file after Parsed/Raw switching
2010-05-21 21:51:15 +04:00
Slava Zanko
da26aa561f Ticket #2195: Crash on search in viewed file after Parsed/Raw switching
View (F3) some file.
Switch Raw->Parse or Parse->Raw (F8).
Search any text, contained in the file.
Crash!

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-21 21:50:46 +04:00
Andrew Borodin
70c0c3dd75 Merge branch '2157_ncurses_fill_region'
* 2157_ncurses_fill_region:
  Ticket #2157: fixed tty_fill_region() for ncurses-based TTY layer.
2010-05-19 21:26:20 +04:00
Andrew Borodin
2c7bc9c1c2 Ticket #2157: fixed tty_fill_region() for ncurses-based TTY layer.
If filled region is larger than screen, NCurses doesn't fill it
unlike S-Lang. This patch fixes such behaviour: only visible part
of region is filled.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-19 21:25:50 +04:00
Andrew Borodin
7843203257 mc_ungetlocalcopy(): fixed wrong condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-16 11:24:50 +04:00
Kang Bundo
e7c3711021 l10n: Updated Korean (ko) translation to 98%
New status: 1054 messages complete with 9 fuzzies and 2 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-05-14 16:31:24 +00:00
Andrew Borodin
1a1ae74ba6 Merge branch '320_menu_reorganization'
* 320_menu_reorganization:
  New "Panel options" configuration dialog is fully described.
  New "Layout" configuration dialog is fully described.
  New "Configuration options" dialog is fully described.
  Some fixes for menu items help.
  old_esc_mode option can be setup now in 'Configure options' dialog.
  Reorganizing of 'Panel options' configuration dialog.
  Applied mouse_scroll_pages option to the mouse wheel.
  More options in configure dialogs.
  Modified loading/saving panel options.
  Configuration dialogs reorganization.
  Refactoring of configuration handling.
  Added new quick widget: quick_groupbox.
  Ticket #320: menu and configuration dialogs reorganization.
2010-05-14 18:48:27 +04:00
Andrew Borodin
362a000f7f New "Panel options" configuration dialog is fully described.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
e8dbca5c25 New "Layout" configuration dialog is fully described.
Fixed dialog size calculation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
55d8809cd6 New "Configuration options" dialog is fully described.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
76b7f1e791 Some fixes for menu items help.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
6a306c18b2 old_esc_mode option can be setup now in 'Configure options' dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
68523ac781 Reorganizing of 'Panel options' configuration dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
b95c9d42a5 Applied mouse_scroll_pages option to the mouse wheel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
a0dc031854 More options in configure dialogs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
8fd0771e38 Modified loading/saving panel options.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
2b167cbef0 Configuration dialogs reorganization.
Panel options are moved to new dialog.
Panel setup options are collected in a special structure.
Includes clean up.
Code indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
be622a9981 Refactoring of configuration handling.
Some functions were renamed. Code was reorganized.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:44:43 +04:00
Andrew Borodin
f9f686af1e Added new quick widget: quick_groupbox.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:44:42 +04:00