Commit Graph

11960 Commits

Author SHA1 Message Date
Andrew Borodin
3fe3f60d75 doc/NEWS: cosmetics and forgotten #2768
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-19 11:07:11 +04:00
Slava Zanko
034b796206 Updated NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-18 13:30:09 +03:00
Slava Zanko
ea8ead958e Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-18 13:24:25 +03:00
Andrew Borodin
acdac76a49 Revert "Try fix of compile warnings about assigned but unused variables"
This reverts commit 6505f7d6fa.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-18 12:03:31 +04:00
Andrew Borodin
03916ee15b Merge branch '2845_cleanup'
* 2845_cleanup:
  Clarify cvs dependency.
  (mcview_moveto_eol): comparison of unsigned expression < 0 fixup.
  Makefile.ams cleanup.
  Code indentation.
  Try fix of compile warnings about assigned but unused variables
  Code cleanup: removed unused variables amd removed unnedeed code.
  (exec_extension): ret rid of double filename conversion.
  Ticket #2839: Fix keybindings for Quit command of mcedit.
  Tweak of select codepage code in case of --disable-charset
  Fix of 'External panelize' dialog: update of 'Command' field content after mouse click.
  Fix of f13 key handling.
  Fix typos.
  Ticket #2538: mcviewer: unused result of str_term_width1().
  src/filemanager/mountlist.c: apply mc code indentation policy.
  Ticket #2845: code cleanup before 4.8.4 release.
2012-07-17 17:04:42 +04:00
Andrew Borodin
bafd8e7f8a Clarify cvs dependency.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
79b44e6be2 (mcview_moveto_eol): comparison of unsigned expression < 0 fixup.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
b37af47023 Makefile.ams cleanup.
Set defines via CPPFLAGS variable not via CFLAGS one.
Use AM_CPPFLAGS and AM_CFLAGS variables instead of per-target ones.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Slava Zanko
94bd4b1f78 Code indentation.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-17 17:04:05 +04:00
Slava Zanko
6505f7d6fa Try fix of compile warnings about assigned but unused variables
...as returned values of functions declared with attribute
warn_unused_result [-Wunused-result].

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-17 17:04:05 +04:00
Andrew Borodin
23c95d36ac Code cleanup: removed unused variables amd removed unnedeed code.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
71ebcc5896 (exec_extension): ret rid of double filename conversion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
9cf11516fc Ticket #2839: Fix keybindings for Quit command of mcedit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
fec326f641 Tweak of select codepage code in case of --disable-charset
...in mceditor, mcviewer and mcdiffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Ilia Maslakov
973aae2b5e Fix of 'External panelize' dialog: update of 'Command' field content after mouse click.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-07-17 17:04:05 +04:00
Andrew Borodin
40d6e96471 Fix of f13 key handling.
ViewFile doesn't have the default key, and f13 is key for ViewRaw
which is handled in panel not.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
14a4eefc43 Fix typos.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Pavel Vasilyev
2c4562d759 Ticket #2538: mcviewer: unused result of str_term_width1().
And reduce size of buffer used to show file size.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Slava Zanko
16a624db07 src/filemanager/mountlist.c: apply mc code indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
e3b36c8b3d Ticket #2845: code cleanup before 4.8.4 release.
Sync with gnulib 06b335ade65c8fe60fee8b9e18b670bb54ed924a:

Write "Mac OS X" instead of "MacOS X".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
78ab34ae9f Update po/mc.pot file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-12 22:16:21 +04:00
Andrew Borodin
527bea807b Merge branch '2788_mcedit_aspell'
* 2788_mcedit_aspell:
  Remove misc/edit.spell.rc since aspell is supported by mcedit directly.
  Ticket #2788 (aspell support)
2012-07-12 16:06:20 +04:00
Andrew Borodin
3d4ed51b7c Remove misc/edit.spell.rc since aspell is supported by mcedit directly.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-12 16:00:49 +04:00
Ilia Maslakov
1d4ca9608a Ticket #2788 (aspell support)
Add aspell support for internal editor.
The aspell library is dinamycally loaded.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-07-12 16:00:45 +04:00
Andrew Borodin
54b2b2fe67 Merge branch '2843_search_hotkey_conflict'
* 2843_search_hotkey_conflict:
  Ticket #2842: change hotkey for Normal search mode.
2012-07-10 20:59:21 +04:00
Andrew Borodin
562ef41b15 Ticket #2842: change hotkey for Normal search mode.
In Search dialog in mcedit M-n hotkey was used for normal search mode.
Therefore, M-n as HistoryPrev in the input line was in accessible.

Change hotkey for normal seach mode to M-r. Use this hotkey for normal diff
mode in mcdiffviewer to unify i18n resources.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-08 16:27:48 +04:00
Slava Zanko
04bce06ce4 Merge branch '1535_vfs_sftp_fixes'
* 1535_vfs_sftp_fixes:
  Add SFTP to the list of supported VFSes.
  SFTP connections are shown now in 'Active VFS connections' list.
  Fixed reget support in SFTP.
  Ticket #1535: configure: don't fail if 'sftp' support was not requested explicitly
2012-07-05 10:35:55 +03:00
Andrew Borodin
3786051314 Add SFTP to the list of supported VFSes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-05 10:34:30 +03:00
Slava Zanko
8f15940f50 SFTP connections are shown now in 'Active VFS connections' list.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-05 10:34:30 +03:00
Andrew Borodin
4841bc608a Fixed reget support in SFTP.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-05 10:34:30 +03:00
Sergei Trofimovich
bd59cea6ad Ticket #1535: configure: don't fail if 'sftp' support was not requested explicitly
Before the patch default ./configure led to configure crash:
    checking for LIBSSH... no
    configure: error: libssh2 >= 1.2.5 library not found

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-07-05 10:34:30 +03:00
Andrew Borodin
a343070843 Merge branch '2825_solaris_statvfs_members'
* 2825_solaris_statvfs_members:
  Ticket #2825: obtain FS name from stat info: sync with coreutils.
2012-07-02 20:50:41 +04:00
Andrew Borodin
3cf76f69bf Ticket #2825: obtain FS name from stat info: sync with coreutils.
src/filemanager/filegui.c does not compile on Solaris due to missing macros.
AVE_STRUCT_STATVFS_F_BASETYPE and HAVE_STRUCT_STATVFS_F_FSTYPENAME macros
are not set or even defined in config.h. configure scrips does not even
check for those members.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-02 20:50:19 +04:00
Slava Zanko
3e66455662 Merge branch '2820_extd_fix'
* 2820_extd_fix:
  Fixed libexec hardcoded value
  Added 'View' action to all video formats.
  Fixed the filename escaping issues.
  Ticket #2820: Typo fix 'oofice' -> ooffice
2012-06-29 13:20:08 +03:00
Slava Zanko
7e44bfb32d Fixed libexec hardcoded value
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
40e8a0136b Added 'View' action to all video formats.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
614d7f6a08 Fixed the filename escaping issues.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
f2613ea2a6 Ticket #2820: Typo fix 'oofice' -> ooffice
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
d8d2b523b9 Merge branch '2803_homedir_in_tests'
* 2803_homedir_in_tests:
  Ticket #2803: fixed bug do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf]
2012-06-29 13:02:48 +03:00
Slava Zanko
6408811e18 Ticket #2803: fixed bug do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf]
One of the panel tests fail if build environment doesn't contain the home user directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:02:30 +03:00
Slava Zanko
df98a25861 Merge branch '2834_disable_vfs'
* 2834_disable_vfs:
  Ticket #2834: Fixed bug 'FTBFS with --disable-vfs'
2012-06-29 12:46:12 +03:00
Slava Zanko
c277ac5b6f Ticket #2834: Fixed bug 'FTBFS with --disable-vfs'
Steps to reproduce:
 * ./configure --disable-vfs
 * make

Expected result: project should be builded successfully.

Actual result:
build stopped with errors:
lib/vfs/interface.c: In function 'mc_chdir':
lib/vfs/interface.c:714: error: 'struct vfs_s_super' has no member named 'path_element'
lib/vfs/interface.c:716: error: 'struct vfs_s_super' has no member named 'path_element'
lib/vfs/interface.c:717: error: 'struct vfs_s_super' has no member named 'path_element'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 12:45:57 +03:00
Andrew Borodin
a7b558f4f1 Merge branch '2829_copy_to_full_partition'
* 2829_copy_to_full_partition:
  Ticket #2829: loss of data on copy to full partition.
2012-06-26 16:19:39 +04:00
Andrew Borodin
af2fe31ff3 Ticket #2829: loss of data on copy to full partition.
While copy/move file, the ENOSPC value of errno wasn't handled.

If destination file isn't comlete because of full partition, source file
is kept and destination one is removed unconditionally.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-26 16:19:22 +04:00
Andrew Borodin
33e1525eeb Merge branch '2827_tweak_without_charset'
* 2827_tweak_without_charset:
  Tests tweak and cleanup in case of --disable-charset option usage.
  Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup
  Ticket #2827: tweak and cleanup of code in case of --disable-charset option usage.
2012-06-25 17:03:03 +04:00
Andrew Borodin
af3dd96e7b Tests tweak and cleanup in case of --disable-charset option usage.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 17:00:02 +04:00
Andrew Borodin
e7fb3526f3 Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup
...in case of build with --disable-charset option.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 16:58:57 +04:00
Andrew Borodin
315c499c09 Ticket #2827: tweak and cleanup of code in case of --disable-charset option usage.
First step: tweak vfs-related code.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 16:56:11 +04:00
Marco Ciampa
05bfb10f16 Updated italian translation. 2012-06-23 14:17:03 +02:00
Sergei Trofimovich
b10a3995e8 ./configure: cleanup '--enable-background' option description
Before the patch ./configure --help shown:
  --enable-background     Support for background file operations [[yes]]

After the patch:
  --enable-background     Support for background file operations [yes]

Changed whitespace: converted tabs to spaces.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-06-22 12:51:22 +03:00