Commit Graph

10293 Commits

Author SHA1 Message Date
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
Andrew Borodin
4ef4a5e032 Ticket #320: menu and configuration dialogs reorganization.
'Left'/'Right' menu was reorganized.
'File listing' menu item was added to fast switch file panel
to file listing mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:44:42 +04:00
Ilia Maslakov
017dbda2d7 Merge branch '2021_MarkFileDown_MarkFileUp'
* 2021_MarkFileDown_MarkFileUp:
  Ticket #2021 (MarkFileDown/MarkFileUp)
2010-05-14 18:19:25 +04:00
Ilia Maslakov
718fdc8acc Ticket #2021 (MarkFileDown/MarkFileUp)
Added a new panel action 'PanelMarkFileDown'/'PanelMarkFileUp' for mark files and move cursor to the down or up after mark.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-14 18:18:37 +04:00
Andrew Borodin
43401a7613 Merge branch '2192_completion_window_width'
* 2192_completion_window_width:
  Ticket #2192: incorrect calculation of autocomplition window width.
2010-05-14 15:45:07 +04:00
igor_b
877a9582f6 Ticket #2192: incorrect calculation of autocomplition window width.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 15:44:39 +04:00
Andrew Borodin
ca0a75df6c Merge branch '1911_realpath'
* 1911_realpath:
  Applied MC indentation policy.
  Don't check memset and memcpy functions.
  Ticket #1911: use system realapth(3) function if available.
2010-05-14 12:13:41 +04:00
Andrew Borodin
9db9fd766e Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 12:12:53 +04:00
Andrew Borodin
d51b794901 Don't check memset and memcpy functions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 12:10:15 +04:00
Andrew Borodin
d2b23924dd Ticket #1911: use system realapth(3) function if available.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 12:08:43 +04:00
Ilia Maslakov
5ab3f7cb63 Merge branch '2182_tab_size_zero_fix'
* 2182_tab_size_zero_fix:
  Ticket #2182 (fix incorrect tab size)
2010-05-14 11:53:12 +04:00
Ilia Maslakov
c94da73c54 Ticket #2182 (fix incorrect tab size)
fixed incorrect tab size

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-14 11:48:45 +04:00
Andrew Borodin
e14ddbd7a1 Merge branch '2187_mc_e_mc_v'
* 2187_mc_e_mc_v:
  Fixed 'mc -e' and 'mc -v' modes.
  Ticket #2187: fix of broken 'mc -e' and 'mc -v' modes.
2010-05-14 11:28:32 +04:00
Andrew Borodin
c657141cbe Fixed 'mc -e' and 'mc -v' modes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-14 11:27:42 +04:00
Andrew Borodin
22b53cdf58 Ticket #2187: fix of broken 'mc -e' and 'mc -v' modes.
Initial step: refactoring: a piece of code was moved form main.c
into args.c. Some functions and variables were renamed.
Fixed includes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 11:27:42 +04:00
Andrew Borodin
15fe01a47e Merge branch '2183_edit_crash'
* 2183_edit_crash:
  Ticket #2183: edit crash while opening some incorrect files.
2010-05-14 11:10:34 +04:00
Andrew Borodin
7eb8f4030c Ticket #2183: edit crash while opening some incorrect files.
The result of

touch 1.gz

is not a valid gzip'ed file. MCEditor crashes trying open it.

Changed initialization order of editor to init charset conversion
handler by non-zero value before open a file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 11:10:10 +04:00
Andrew Borodin
73fbf38d46 Merge branch '2178_editor_ctrl_z_crash'
* 2178_editor_ctrl_z_crash:
  Applied MC indentation policy.
  Ticket #2178: crash in the return to the standalone MC editor.
2010-05-11 16:17:19 +04:00
Andrew Borodin
c468f37e5c Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-11 16:16:58 +04:00