Commit Graph

10389 Commits

Author SHA1 Message Date
Yury V. Zaytsev
7133f4bb6d Merge branch '2344_fix_line_jump'
* 2344_fix_line_jump:
  Ticket #2344: Fix line jump when started as editor
2010-09-09 12:49:57 +02:00
Yury V. Zaytsev
73ee1d04d3 Ticket #2344: Fix line jump when started as editor
Two common line jump protocols supported by mc are:

    * mcedit +lineno file
    * mcedit file:lineno

Unfortunately, in the implementation of the first protocol, if line
number equals to zero, which is often used to position the cursor at the
beginning of the file, it is completely ignored and file "+0" is opened
instead.

This patch fixes aforementioned issue.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-09 10:29:32 +02:00
Andrew Borodin
258c70c02b NEWS for 4.7.4 release.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 21:09:03 +04:00
Andrew Borodin
d8cac8a093 Updated all PO files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 21:08:57 +04:00
Slava Zanko
b88a9148b5 Merge branch '2237_man_pages'
* 2237_man_pages:
  Ticket #2253: fixed formatting of DONT_SPLIT option.
  Fixed Russian man page.
  Fixed a typo and bad grammar in man2hlp.
  Fixed man2hlp warnings by renaming conflicting LANG variable to HLP_LANG.
  Now date of modification is automatically filled in header of man page.
  Fixed typos in docs.
  Performed a RegExp mass replacement in the manual pages of
  Typo fixes (English man page).
  Ticket #2237: Automatic date and version substitution for man pages
2010-09-06 17:37:52 +03:00
Andrew Borodin
1ed674f124 Ticket #2253: fixed formatting of DONT_SPLIT option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 17:37:28 +03:00
Andrew Borodin
76391c7c17 Fixed Russian man page.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 17:37:28 +03:00
Yury V. Zaytsev
acda372b4c Fixed a typo and bad grammar in man2hlp.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-06 17:37:28 +03:00
Yury V. Zaytsev
8430219c95 Fixed man2hlp warnings by renaming conflicting LANG variable to HLP_LANG.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-09-06 17:37:28 +03:00
Slava Zanko
19b8c17013 Now date of modification is automatically filled in header of man page.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-09-06 17:37:28 +03:00
Yury V. Zaytsev
8bc933ac6e Fixed typos in docs.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-06 17:37:28 +03:00
Yury V. Zaytsev
8a692f9682 Performed a RegExp mass replacement in the manual pages of
([^\\])-([A-z])

with

    \1\\\-\2

to fix improperly escaped dashes (minus signs).

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-06 17:37:27 +03:00
A. Costa
fba5d31930 Typo fixes (English man page).
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-06 17:37:27 +03:00
Yury V. Zaytsev
f32184fd25 Ticket #2237: Automatic date and version substitution for man pages
Currently the date and the version of Midnight Commander in the man
pages has to be changed manually every release. This is being done
sporadically and as the result, the man pages shipped for e.g. 4.7.2
release contain the 4.7.0-pre1 signature, which is quite confusing.

With this patch, the version is substituted with @DISTR_VERSION@ for all
the man pages  and the date is automatically updated to the English man
pages. Other man pages still have the manually updated date of the last
translation.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-06 17:37:27 +03:00
Andrew Borodin
9f2ceeea7a Merge branch '2316_code_cleanup'
* 2316_code_cleanup:
  Ticket #2337: Check for inode count instead of block count
  Fixed formatting after autoformatting.
  Don't reset use_subshell variable twice.
  Function movements.
  Removed panel command wrappers.
  Ticket #2316: code cleanup before 4.7.4 release.
2010-09-06 15:34:23 +04:00
Sven Wegener
436af5f1ce Ticket #2337: Check for inode count instead of block count
This correctly prevents division by zero.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 15:33:38 +04:00
Andrew Borodin
9f702e82ef Fixed formatting after autoformatting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 15:33:38 +04:00
Andrew Borodin
e967125920 Don't reset use_subshell variable twice.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 15:33:38 +04:00
Andrew Borodin
72ce32f518 Function movements.
The following functions:

directory_history_add
directory_history_next
directory_history_prev
directory_history_list
get_parent_dir_name
_do_panel_cd
do_panel_cd

were moved from main.[ch] to screen.c and panel.h.

Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 15:33:38 +04:00
Andrew Borodin
d5447550f6 Removed panel command wrappers.
These functions were used before implementation of panel key bindings.
Now these wrappers are unneded.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 15:33:38 +04:00
Andrew Borodin
74326ecbdc Ticket #2316: code cleanup before 4.7.4 release.
Fixed hotkey confilct in 'Confirmation' dialog window.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 15:33:38 +04:00
Andrew Borodin
0fd2b55f34 Merge branch '2324_edit_syntax_select'
* 2324_edit_syntax_select:
  Ticket #2324: fix of manually changing syntax definition.
2010-09-06 13:18:31 +04:00
Andrew Borodin
37b49b3920 Ticket #2324: fix of manually changing syntax definition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-09-06 13:17:52 +04:00
Andrew Borodin
dcaf71004a Merge branch '2320_regexp_replace'
* 2320_regexp_replace:
  Ticket #2320: fixed regexp replacement in editor.
2010-09-06 13:08:40 +04:00
Andrew Borodin
6598729ce5 Ticket #2320: fixed regexp replacement in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 13:08:21 +04:00
Ilia Maslakov
dc9795108b Merge branch '2277_mcdiff_warnings_fix'
* 2277_mcdiff_warnings_fix:
  Ticket #2277 (mcdiff cleanup)
2010-09-03 17:40:19 +00:00
Ilia Maslakov
c17826876c Ticket #2277 (mcdiff cleanup)
mcdiff: some warnings fixed.

    search.c: In function ‘mcdiffview_do_search_backward’:
    search.c:183: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

    ydiff.c: In function ‘cvt_fget’:
    ydiff.c:1653: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

    ydiff.c: In function ‘dview_execute_cmd’:
    ydiff.c:3085: warning: overflow in implicit constant conversion [-Woverflow]

    fixed mcdiff search.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-09-03 17:33:59 +00:00
Andrew Borodin
c7f4307a15 Merge branch '2311_edit_about'
* 2311_edit_about:
  Ticket #2311: reimplementation of editor 'About' window.
2010-09-03 19:37:38 +04:00
Andrew Borodin
62052016a5 Ticket #2311: reimplementation of editor 'About' window.
mcedit version number and button are centered now in 'About' window.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-03 19:37:20 +04:00
Andrew Borodin
9f5b88e495 Merge branch '212_viewer_help_hardcoded_keys'
* 212_viewer_help_hardcoded_keys:
  check_movement_keys() function is unused. Removed.
  Added bindings for vertical scrolling of interactive help.
  check_movement_keys() function is not used now in viewer.
  Fixed movement to the bottom of file in viewer in hex mode.
  Ticket #212: replacement of hardcoded keys in viewer and interactive help.
2010-09-03 15:03:54 +04:00
Andrew Borodin
490ab7618b check_movement_keys() function is unused. Removed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin
67e61510b4 Added bindings for vertical scrolling of interactive help.
check_movement_keys() function is not used now in interactive help.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin
b470fb81ce check_movement_keys() function is not used now in viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin
61179c8477 Fixed movement to the bottom of file in viewer in hex mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin
6b4914b46e Ticket #212: replacement of hardcoded keys in viewer and interactive help.
Added new viewer keybindings instaed of hardcoded keys:
 - for move to top and bottom of file;
 - for horizontal scroll by 10 columns.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:58 +04:00
Andrew Borodin
a1dce46339 Merge branch '212_listbox_hotkeys'
* 212_listbox_hotkeys:
  Implementation of keybindings for WListbox.
  Ticket #212: implemented keybindings for WListbox widget.
2010-09-01 15:21:00 +04:00
Andrew Borodin
44d07b20ab Implementation of keybindings for WListbox.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:20:28 +04:00
Andrew Borodin
2f62fadabb Ticket #212: implemented keybindings for WListbox widget.
Initial step: added description for A1 and C1 keys.
A1 and C1 keybindings are applied to WTree, WInput and WPanel widgets.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:20:27 +04:00
mbouzada
54f10a98d9 l10n: Updates to Galician translation
New status: 925 messages complete with 84 fuzzies and 93 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-27 13:24:50 +00:00
Emmanuel Trillaud
d41945afd4 l10n: Updated French (fr) translation to 65%
New status: 721 messages complete with 346 fuzzies and 35 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-24 07:19:18 +00:00
mbouzada
7b16323134 l10n: Updates to Galician translation
New status: 973 messages complete with 0 fuzzies and 64 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-22 19:30:42 +00:00
mbouzada
324f33ff47 l10n: Updates to Galician translation
New status: 760 messages complete with 164 fuzzies and 113 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-22 16:09:01 +00:00
Andrew Borodin
a4883b9478 Added new gl.po file (Galician locale).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-08-22 19:03:21 +04:00
username
eca382c009 l10n: Updated German (de) translation to 100%
New status: 1102 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-21 23:43:34 +00:00
Gergely Szabó
820c84cd7a l10n: Updated Hungarian (hu) translation to 99%
New status: 1091 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-21 15:08:30 +00:00
Andrew Borodin
29cdc3d258 Merge branch '2299_show_history'
* 2299_show_history:
  Fixed memory leaks after history show.
  Ticket #2299: history can be shown incorrectly due to access to the invalid pointer.
2010-08-11 21:38:06 +04:00
Andrew Borodin
460311c7c7 Fixed memory leaks after history show.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-08-11 21:33:59 +04:00
Andrew Borodin
5cccff75fb Ticket #2299: history can be shown incorrectly due to access to the invalid pointer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-08-11 21:33:59 +04:00
Tomasz Pala
44459c19f6 Ticket #2303: man mc: s/xterm_mode/xtree_mode/
Fixed the title in the section describing xtree_mode variable.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-08-02 11:03:49 +02:00
Andrew Borodin
395dcf49e1 Merge branch '2273_fork_signals'
* 2273_fork_signals:
  Ticket #2273: Restore signals even if fork() fails.
2010-07-30 19:26:33 +04:00