Commit Graph

10139 Commits

Author SHA1 Message Date
Andrew Borodin
a6b7f3ffe1 "Chown command" dialog: applied WGroupbox widget to draw frames.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 21:42:51 +04:00
Andrew Borodin
088c8f335b "Chmod command" dialog: applied WGroupbox widget to draw frames.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 21:42:51 +04:00
Andrew Borodin
aa0d96bd8b Ticket #1646: removed leading and trailing spaces in i18n resources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 21:42:46 +04:00
onto
da9af5a210 l10n: Updated Russian (ru) translation to 99%
New status: 1060 messages complete with 5 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-06-07 12:28:56 +00:00
Andrew Borodin
fab985b1ec Merge branch '2226_info_filesystem_info'
* 2226_info_filesystem_info:
  Fixed int overflow in free modes calculation.
  set_display_type(): fixed memory leak.
  Minor changes of info panel look'n'feel.
  Ticket #2226: info panel inprovements.
2010-06-07 13:04:14 +04:00
Andrew Borodin
bef2bcebda Fixed int overflow in free modes calculation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 13:03:53 +04:00
Andrew Borodin
f16ef2090d set_display_type(): fixed memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 13:03:53 +04:00
Andrew Borodin
2d90717ace Minor changes of info panel look'n'feel.
Added title.
Added LTEE and RTEE symbols to the separator line.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 13:03:53 +04:00
Andrew Borodin
86a89655e5 Ticket #2226: info panel inprovements.
Fixed info panel initialization and destroying.
Fixed info panel drawing: don't draw info twice.
Fixed includes: added missing <sys/stat.h>.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 13:03:53 +04:00
Denys Vlasenko
97b8d4f57a Fedora build machinery noticed that cons.saver acquired
a new library in ldd listing, libglib.

I took a look at it and apparently it is not needed.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-06-04 23:34:41 +04:00
Andrew Borodin
7e5f4a01c0 i18n of search error messages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:34:28 +04:00
Andrew Borodin
a7cb5194c2 Removed unused defines.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:34:15 +04:00
Andrew Borodin
c48763fa9d mc_util_write_backup_content(): fixed arguments in fwrite() call.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:33:48 +04:00
Andrew Borodin
df6bbf38eb Ticket #2225: code cleanup before 4.7.0.6 release.
Fixed indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:32:38 +04:00
Andrew Borodin
c884435c1e Merge branch '2228_panelize_input_colors'
* 2228_panelize_input_colors:
  Ticket #2228: init_panelize(): undeclared 'input_colors'.
2010-05-31 21:32:36 +04:00
Andrew Borodin
39b45282e6 Ticket #2228: init_panelize(): undeclared 'input_colors'.
If MC is built with --disable-nls option, the input_colors constant
is undeclared in init_panelize() function.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-30 17:53:54 +04:00
Andrew Borodin
159927cb2c Merge branch '2203_vfs_encodings'
* 2203_vfs_encodings:
  Applied MC indentation policy.
  Fixed build with --disable-charset option. Minor optimization.
  Ticket #2203: VFS: use codepage list loaded from mc.charsets file.
2010-05-28 14:58:48 +04:00
Andrew Borodin
2c15a595c1 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 14:58:05 +04:00
Andrew Borodin
0c551c6ed2 Fixed build with --disable-charset option. Minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 14:55:16 +04:00
Andrew Borodin
8657fd5f01 Ticket #2203: VFS: use codepage list loaded from mc.charsets file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 14:55:16 +04:00
Andrew Borodin
0ea12cdec6 Merge branch '2212_tree_colors'
* 2212_tree_colors:
  Added title and separate line to the tree selection window.
  Minor changes of tree panel look'n'feel.
  Stop searching mode when tree becomes unfocused.
  Fixed length of current directory selecting line.
  Ticket #2212: fixed WTree widget colors.
2010-05-28 11:32:18 +04:00
Andrew Borodin
24f1e80cf1 Added title and separate line to the tree selection window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-28 11:31:48 +04:00
Andrew Borodin
196b44ead0 Minor changes of tree panel look'n'feel.
Added title.
Added LTEE and RTEE symbols to the mini-info separator.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 11:30:26 +04:00
Andrew Borodin
2f224cd85f Stop searching mode when tree becomes unfocused.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 11:30:26 +04:00
Andrew Borodin
ea2a64c46d Fixed length of current directory selecting line.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 11:30:26 +04:00
Andrew Borodin
ad023b3536 Ticket #2212: fixed WTree widget colors.
Directory tree is painted with incorrect colors in tree panel.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 11:30:26 +04:00
Ilia Maslakov
82cfa9b54c Merge branch '2161_del_clear_dialog_field'
* 2161_del_clear_dialog_field:
  fixed man and help
  set default keys for Input* actions
  quick_input: don't force set cursor position to 0.
  clear 'first' flag by mouse click.
  initial step to do mark in inpun fields
  Ticket #2161 (del - clear input field)
2010-05-27 22:27:40 +03:00
Ilia Maslakov
d3469a33f5 fixed man and help
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 22:27:00 +03:00
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