Commit Graph

11917 Commits

Author SHA1 Message Date
Andrew Borodin
a8b8cdcc47 Use AC_MSG_NOTICE to print configure results.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
8031fa3a65 Fix name of LibreOffice executable file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
8b3ed9bfdc (mc_mkstemps): use g_mkstemp() to generate name of temporary file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
d27a4f86ea Ticket #2888: cleanups in master branch.
Check perl, python and ruby programs and substitute them in various files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
ef9d337d6f Merge branch '2917_cppflags_cleanup'
* 2917_cppflags_cleanup:
  Ticket #2917: Makefile.ams cleanup: remove unused AM_CPPFLAGS.
2012-10-20 15:25:07 +04:00
Andrew Borodin
d82757d233 Ticket #2917: Makefile.ams cleanup: remove unused AM_CPPFLAGS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:24:30 +04:00
Andrew Borodin
be6a99f910 src/filemanager/mountlist.c: fix indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 14:45:39 +04:00
Andrew Borodin
80bfefe0ff Merge branch '2906_copy_crash_on_solaris'
* 2906_copy_crash_on_solaris:
  (get_fs_usage): avoid compile warning about mixed declarations and code.
  Sync with gnulib ffe10f3d20c2eb77efd56b68f2c22b2a810c289d.
  Sync with gnulib 2ab2617ee340ff35a9a4c713004fb302868d41b0
  Sync with gnulib 0a6dafee2bb8f69a931345a1f67d835ee5062967
  Sync with gnulib b1fac377605c0eef8844fc8d3818d360f37d6fa4:
  Ticket #2906: crash on Solaris while trying to copy a file.
2012-10-12 13:59:52 +04:00
Andrew Borodin
7298a32e0f (get_fs_usage): avoid compile warning about mixed declarations and code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 11:52:52 +04:00
Andrew Borodin
d53dc96704 Sync with gnulib ffe10f3d20c2eb77efd56b68f2c22b2a810c289d.
fsusage: port back to Solaris

* src/filemanager/mountlist.c (get_fs_usage): Fix busted logic causing
compile-time error (fsd not declared) on Solaris 10.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 11:52:52 +04:00
Andrew Borodin
be2f25862b Sync with gnulib 2ab2617ee340ff35a9a4c713004fb302868d41b0
* src/filemanager/mountlist.c [STAT_STATVFS && (__linux__ && (__GLIBC__||__UCLIBC__))]:
Undefine STAT_STATFS2_FRSIZE to exclude code not used in this case.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 11:52:52 +04:00
Andrew Borodin
099052efc7 Sync with gnulib 0a6dafee2bb8f69a931345a1f67d835ee5062967
Avoid needless check on GNU/Linux.

* m4.include/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Omit STAT_STATFS3_OSF1 check
on GNU/Linux systems, since it can't possibly work.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 11:52:52 +04:00
Andrew Borodin
37873e6df4 Sync with gnulib b1fac377605c0eef8844fc8d3818d360f37d6fa4:
fs usage: fix block size returned on older Linux 2.6.

* src/filemanager/mountlist.c: Fall back to (struct statfs).f_frsize
which is available since Linux 2.6.
* m4.include/fsusage.m4 (STAT_STATFS2_FRSIZE): Always define
when the member is available so it can be used as a fallback.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 11:52:52 +04:00
Andrew Borodin
4db9168a93 Ticket #2906: crash on Solaris while trying to copy a file.
Sync with gnulib c25bdbae48977a527dff69150f59fb0746d31b51:
fs usage: check for GNU/Linux statvfs problem dynamically.

* src/filemanager/mountlist.c [STAT_STATVFS && __linux__ && (__GLIBC__||__UCLIBC__)]:
Define STAT_STATFS2_BSIZE too, since in this case the code now
checks dynamically whether statvfs is reliable, falling back on
Linux-style statfs otherwise.
(statvfs_works): New function, for dynamically testing statvfs.
(get_fs_usage) [STAT_STATVFS]: Use it.
* src/filemanager/filegui.c (filegui__check_attrs_on_fs): apply the same
statvfs_works function.
* m4.include/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Remove static check for
statvfs on GNU/Linux hosts, since it's now done dynamically.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-12 11:52:52 +04:00
Andrew Borodin
91f919531b Merge branch '2897_mc_ext_updates'
* 2897_mc_ext_updates:
  Ticket #1686: use 'see' utility for vieweing images
  Ticket #1686: use 'see' utility as default pdf viewer when found
  Ticket #1686: use dvicat if dvi2tty not found
  Ticket #2723: use libreoffice instead of ooffice, if found.
  Ticket #2739: add support of PAR archives.
  Ticket #2739: add support of epub format.
  Ticket #2739: add support of comic books.
  Ticket #2767: mc.ext: add support of ape, aac and wvm4a formats.
  Ticket #2895: add support of SVG images.
  Ticket #2890: make a choice between archivers for 7z.
  Ticket #2890: make a choice between archivers for arj.
  Ticket #2891: add support of .war archives.
  Ticket #2892: mc.ext: expand support of file extentions for source files
  Ticket #2894: add support of Gnumeric's spreadsheets.
  Ticket #2897: a lot of updates of mc.ext and ext.d.
2012-10-09 14:27:35 +04:00
Slava Zanko
5082d01ebd Ticket #1686: use 'see' utility for vieweing images
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:26:41 +04:00
Slava Zanko
804ccfb467 Ticket #1686: use 'see' utility as default pdf viewer when found
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:45 +04:00
Slava Zanko
1aa122b765 Ticket #1686: use dvicat if dvi2tty not found
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:45 +04:00
Slava Zanko
246c072e24 Ticket #2723: use libreoffice instead of ooffice, if found.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:45 +04:00
Slava Zanko
c44aabebe7 Ticket #2739: add support of PAR archives.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:45 +04:00
Slava Zanko
72db209691 Ticket #2739: add support of epub format.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:45 +04:00
Slava Zanko
fa3c7e71a8 Ticket #2739: add support of comic books.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:40 +04:00
Slava Zanko
5738b8d863 Ticket #2767: mc.ext: add support of ape, aac and wvm4a formats.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:22:27 +04:00
Andrew Borodin
30cdf01d05 Ticket #2895: add support of SVG images.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-09 14:21:09 +04:00
Andrew Borodin
d1779a895d Ticket #2890: make a choice between archivers for 7z.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-09 14:21:00 +04:00
Slava Zanko
2120c32b5a Ticket #2890: make a choice between archivers for arj.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:20:41 +04:00
Andrew Borodin
98a1acbf8e Ticket #2891: add support of .war archives.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-09 14:20:29 +04:00
Slava Zanko
b3931a032e Ticket #2892: mc.ext: expand support of file extentions for source files
* Added support of .asm file extention
* Added support of .hh file extention
* All file extentions for source files now case insentetive.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-09 14:20:29 +04:00
Andrew Borodin
71ca307910 Ticket #2894: add support of Gnumeric's spreadsheets.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-09 14:20:29 +04:00
Sergey Y. Afonin
013a3ff098 Ticket #2897: a lot of updates of mc.ext and ext.d.
Ticket #2893: add support of JNG and MNG images.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-09 14:18:38 +04:00
Andrew Borodin
c2ba41cdfc Ticket #2912: add psgi extension to Perl syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-08 16:52:04 +04:00
Andrew Borodin
5a02c9f83e Merge branch '2910_patch_symlink'
* 2910_patch_symlink:
  Ticket #2910: enter into symlink to commpressed patch shows empty patch.
2012-10-04 10:58:29 +04:00
Andrew Borodin
9af54886d6 Ticket #2910: enter into symlink to commpressed patch shows empty patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-02 18:25:22 +04:00
Andrew Borodin
9b99f5b659 Merge branch '2888_cleanup'
* 2888_cleanup:
  Ticket #2871: remove the empty contrib/dist/debian/
  Update Spanish man page.
  Fix i18n of file operation dialog titles.
  Add info about ext.d directory to output of 'mc -F' command.
  Ticket #2888: cleanups in master branch.
2012-09-27 17:17:40 +04:00
Adrian Bunk
adbb6492ec Ticket #2871: remove the empty contrib/dist/debian/
It was empty and the up-to-date Debian packaging is anyway
maintained separately in Debian.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 17:17:03 +04:00
David Mart?n
672c572e9b Update Spanish man page.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 17:17:03 +04:00
Andrew Borodin
aa39bb48b2 Fix i18n of file operation dialog titles.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 17:17:03 +04:00
Andrew Borodin
99ef9f6cde Add info about ext.d directory to output of 'mc -F' command.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 17:17:03 +04:00
Andrew Borodin
48846a3b37 Ticket #2888: cleanups in master branch.
Fix of exec_prefix expansion and usage.

Some distros use autoconf site scripts resourced via $CONFIG_SITE
environment varaible. That scripts are defined variable libexecdir
as

libexecdir='${exec_prefix}/lib'

In this case, EXTHELPERSDIR variable is generated wrongly, because
the 'exec_prefix' variable isn't expanded.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 17:17:03 +04:00
Andrew Borodin
6dedc67427 Merge branch '2898_homedir_completion'
* 2898_homedir_completion:
  Ticket #2898: fix broken path completion on paths starting with ~/.
2012-09-27 14:25:40 +04:00
Andrew Borodin
f3cc7de694 Ticket #2898: fix broken path completion on paths starting with ~/.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 14:25:18 +04:00
Ilia Maslakov
3190504ed6 Merge branch '2660_mcedit_reset_selection'
* 2660_mcedit_reset_selection:
  Ticket #2660 (mcedit: reset selection after paste)
2012-09-25 22:28:02 +04:00
Ilia Maslakov
e6111f1d99 Ticket #2660 (mcedit: reset selection after paste)
mcedit reset selection after the text pasted (only in non-persistent selection mode)

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-25 13:22:26 +04:00
Ilia Maslakov
ee12f0c5bf Merge branch '303_mcedit_indent_fix'
* 303_mcedit_indent_fix:
  Ticket #303 (don't indent blank lines)
2012-09-17 18:44:01 +04:00
Ilya Molchanov
47f7c1478c Ticket #303 (don't indent blank lines)
don't indent blank lines.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-17 18:42:18 +04:00
Slava Zanko
868bdee69d Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-14 14:17:38 +03:00
Slava Zanko
2be3440ff0 Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-14 14:04:29 +03:00
Andrew Borodin
68bc12ff65 Merge branch '2873_diff_escape_dollar'
* 2873_diff_escape_dollar:
  Don't close file and pipe that were not opened.
  Ticket #2873: diffviewer cannot open file if name contains '$'.
2012-09-11 16:40:42 +04:00
Andrew Borodin
d38a0e345a Don't close file and pipe that were not opened.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-11 16:39:26 +04:00
Andrew Borodin
a77f15a1e4 Ticket #2873: diffviewer cannot open file if name contains '$'.
Escape '$' to avoid variable substitution in shell invoked in popen(3) call.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-11 16:39:20 +04:00