Commit Graph

10083 Commits

Author SHA1 Message Date
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
Andrew Borodin
1980c5070b Ticket #2178: crash in the return to the standalone MC editor.
Don't touch file panels info if MC runs as standalone editor or viewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-11 16:16:13 +04:00
David Martin
3dd8d50ac8 l10n: Updates to Spanish (Castilian) (es) translation
New status: 1065 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-05-08 14:28:07 +00:00
Andrew Borodin
817acda5d8 Merge branch '2025_bug_reports'
* 2025_bug_reports:
  Ticket #2025: changed URL for bug reports.
2010-05-08 18:20:34 +04:00
Andrew Borodin
296b8e6d79 Ticket #2025: changed URL for bug reports.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-08 18:15:59 +04:00
Ilia Maslakov
91859e4a21 Fixed fogotten diff_map, diff_keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-08 12:49:53 +00:00
Ilia Maslakov
993bb84a8a Merge branch '212_dialog_hardcoded_hotkeys'
* 212_dialog_hardcoded_hotkeys:
  Removed hardcoded hotkeys in dialog.c Replaced keymap's initialization from main.c into setup.c
2010-05-07 15:09:15 +04:00
Ilia Maslakov
823387a793 Removed hardcoded hotkeys in dialog.c Replaced keymap's initialization from main.c into setup.c
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Collect keybind-related variables in src/keybind.[ch] files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-07 15:02:11 +04:00
Jake Li
aeb03dad69 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 1065 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-05-07 07:07:13 +00:00
Jake Li
663b8b291c l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 1058 messages complete with 5 fuzzies and 2 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-05-07 07:05:13 +00:00
Tomasz Pala
7dc6d62d4a Ticket #2179: gotar.ini update
Update the skin after the advent of mcdiff.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-06 15:13:35 +02:00