Commit Graph

897 Commits

Author SHA1 Message Date
Pavel Tsekov
56eccaadb4 * configure.ac: Determine the size of long', long long' and
off_t.
* vfs/fish.c (fish_linear_start): Use strtol() or strtoll() to retrieve
the size of the file being retrieved.
2007-10-11 12:32:42 +00:00
Pavel Tsekov
f6a49ff8e3 * NEWS: Revert last change - it is invalid. 2007-09-26 13:55:33 +00:00
Pavel Tsekov
ad135b0727 * m4/codeset.m4: Update to serial #2.
* m4/fsusage.m4: Update to serial #23.
* m4/iconv.m4: Update to serial #AM6.
* m4/intdiv0.m4: Update from gnulib.
* m4/intmax.m4: Update to serial #3.
* m4/inttypes-pri.m4: Update to serial #4.
* m4/inttypes_h.m4: Update to serial #7.
* m4/lib-link.m4: Update to serial #13.
* m4/lib-prefix.m4: Update to serial #5.
* m4/longlong.m4: Update to serial #10.
* m4/onceonly.m4: Update to serial #4.
* m4/printf-posix.m4: Update to serial #3.
* m4/size_max.m4: Update to serial #6.
* m4/stdint_h.m4: Update to serial #6.
* m4/ulonglong.m4: Update to serial #6.
* m4/wint_t.m4: Update to serial #2.
2007-09-24 16:14:49 +00:00
Pavel Tsekov
78d356ed89 * doc/mcedit.1.in: Update the version number to 4.6.2-pre1.
* doc/mcview.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
2007-09-24 12:50:36 +00:00
Pavel Tsekov
97c4582e9c * FAQ: Update MC's homepage url.
* README: Ditto.
* mc.qpg.in: Ditto.
* mc.spec.in: Ditto.
* doc/mc.1.in: Ditto.
* doc/mcedit.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
* doc/mcview.1.in: Ditto.
* doc/es/mc.1.in: Ditto.
* doc/hu/mc.1.in: Ditto.
* doc/it/mc.1.in: Ditto.
* doc/pl/mc.1.in: Ditto.
* doc/ru/mc.1.in: Ditto.
* doc/sr/mc.1.in: Ditto.
* doc/sr/mcserv.8.in: Ditto.
* lib/mc.hint: Ditto.
* lib/mc.hint.cs: Ditto.
* lib/mc.hint.es: Ditto.
* lib/mc.hint.hu: Ditto.
* lib/mc.hint.it: Ditto.
* lib/mc.hint.nl: Ditto.
* lib/mc.hint.pl: Ditto.
* lib/mc.hint.ru: Ditto.
* lib/mc.hint.sr: Ditto.
* lib/mc.hint.uk: Ditto.
* lib/mc.hint.zh: Ditto.
2007-09-24 12:40:47 +00:00
Pavel Tsekov
834cbed64f * configure.ac: Update the version number to 4.6.2-pre1.
* doc/mc.1.in: Likewise.
2007-09-10 14:25:30 +00:00
Pavel Tsekov
59d63bca65 * doc/mc.1.in: Place the description of the "Swap panels" on
a paragraph of its own.
2007-01-13 16:21:17 +00:00
Pavel Tsekov
b33ded92e8 * m4/ls-mntd-fs.m4: Update to serial #26. 2006-12-30 12:20:50 +00:00
Pavel Tsekov
2e693eb196 * m4/fsusage.m4: Update to serial #22. 2006-12-30 11:57:51 +00:00
Pavel Tsekov
e356d015d2 * m4/fsusage.m4: Update to serial #18. 2006-12-30 11:49:03 +00:00
Pavel Roskin
53f963fef5 * build-glib1.sh: Fix misplaced --with-glib12. Copy
config.guess and config.sub from mc to glib sources - they are
too old in glib.
* build-glib2.sh: Update to the latest versions of glib, gettext
and pkg-config.
2006-12-28 05:28:56 +00:00
Leonard den Ottolander
0ac1df7d4f * src/subshell.c (subshell_name_quote): Bash < 2.05b (3-digit octals in
echo_e_cmd) no longer supported.
* NEWS: Comment reflecting above change.
2006-11-27 21:33:45 +00:00
Pavel Tsekov
4d56b647fa * acinclude.m4 (AC_GET_FS_INFO): Add erronously removed call to
gl_FSTYPENAME.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Add missing
include directive for sys/param.h.
2006-09-07 15:59:51 +00:00
Pavel Tsekov
d407b130f4 * m4/ls-mntd-fs.m4: Update to serial#22, which adds support
for getmntinfo() returning its result in struct statvfs.
* m4/fstypename.m4: Update to serial#6, which replaces
HAVE_F_FSTYPENAME_IN_STATFS with HAVE_STRUCT_STATFS_F_FSTYPENAME.
* src/mountlist.c: Sync with gnulib.
All uses of HAVE_F_FSTYPENAME replaced by HAVE_STRUCT_STATFS_F_FSTYPENAME.
[MOUNTED_GETMNTINFO2] Include sys/statvfs.h.
(read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement.
2006-09-07 15:12:47 +00:00
Pavel Tsekov
f588181dc6 * acinclude.m4 (AC_GET_FS_INFO): Revert a failed attempt to properly detect
getmntinfo() returning its result in struct statvfs.
* src/mountlist.c: Revert a failed attempt to properly detect and use
getmntinfo() returning its result in struct statvfs.
2006-09-07 14:20:57 +00:00
Pavel Tsekov
e599536b2c * acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()
properly.
2006-06-30 07:44:18 +00:00
Pavel Tsekov
9e1dd4594d * m4/fstypename.m4: New file.
* acinclude.m4 (AC_GET_FS_INFO): Add a check to determine whether
getmntinfo() takes struct statvfs instead of struct statfs as its
first argument. Define MOUNTED_GETMNTINFO_STATVFS if it does.
Add a check to determine whether struct statvfs has a field named
f_fstypename.
Use gl_FSTYPENAME tp determine whether struct statfs has a field
named f_fstypename.
* src/mountlist.c (HAVE_F_FSTYPENAME): Define when getmntinfo() is
used and the struct which it fills has a field named f_fstypename.
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use
MOUNTED_GETMNTINFO_STATVFS to determine the type of the first
argument to getmntinfo().
2006-06-17 15:39:07 +00:00
Pavel Tsekov
e9996b613b * configure.ac: Revert last commit. 2006-06-07 12:00:10 +00:00
Roland Illig
5ecd3047c7 Documented the change to m4/lst-mntd-fs.m4. 2006-05-29 08:16:51 +00:00
Roland Illig
d647096f53 Fixed detection of the filesystem information on NetBSD 3.0. 2006-05-21 10:06:39 +00:00
Pavel Tsekov
40ef73306f * acinclude.m4 (AC_GET_FS_INFO): Make it work again - the last commit broke
it.
* m4/onceonly.m4: New file.
2006-04-18 13:03:11 +00:00
Leonard den Ottolander
b1069b32eb * doc/mc.1.in: Function key documentation update. 2006-04-13 16:06:50 +00:00
Leonard den Ottolander
9801c06027 * acinclude.m4 (AC_GET_FS_INFO): Replace old fileutils code to get
mount and file system information with m4_includes of the corresponding
	GNU coreutils-5.94 files (ls-mntd-fs.m4 (#20) and fsusage.m4 (#16)).

	* m4/fsusage.m4, m4/ls-mntd-fs.m4: Create.
2006-03-18 13:17:50 +00:00
Pavel Tsekov
264697b010 * vfs/fish.h: New file.
* vfs/fish.c (fish_directory_timeout): Define new global variable.
(FISH_DIRECTORY_TIMEOUT): Eliminate - this macro is not used
anywhere.
(fish_dir_load): Use `fish_directory_timeout' to calculate the
expiration time of a newly created directory entries.
* src/setup.c [USE_NETCODE]: Include fish.h .
(int_options) [USE_NETCODE]: Add support for user configurable
expiration timeout of FISH directory cache entries.
* doc/mc.1.in: Document `fish_directory_timeout'.
2006-02-23 15:32:18 +00:00
David Martin
25b3b37415 * doc/es/mc.1.in: Cleanup. Fix key naming. 2006-02-18 13:37:42 +00:00
Pavel Tsekov
04000dcf84 * doc/mc.1.in: Update the documentation to reflect the fact that
confirmation may be requested when deleting directory hotlist entries
based on a user configurable setting.
* src/file.h (safe_delete): Move declaration of `safe_delete'
* src/main.h: ... here.
(confirm_directory_hotlist_delete): Declare new global variable.
* src/file.c (safe_delete): Move definition of `safe_delete'
* src/main.c: ... here.
(confirm_directory_hotlist_delete): Define new global variable.
* src/hotlist.c (remove_from_hotlist): Based on a user configurable
setting, request confirmation when removing directory hotlist
entries. The confirmation dialog honours the `Safe delete'
setting.
Reorder the buttons in the hotlist group removal confirmation
dialog so that it becomes consistent with other confirmation
boxes.
* src/setup.c (int_options): Add support for user configurable
confirmation of directory hotlist entries removal.
* src/boxes.c (conf_widgets): Likewise.
(confirm_box): Likewise.
(my_directory_hotlist_delete): New module variable.
2006-01-29 20:26:05 +00:00
Pavel Tsekov
b3fa1f0a3e * src/cmd.c: When invoking external viewer, probe VIEWER environment
variable first, then PAGER, then fall back to "view".
* lib/mc.hint: Mention VIEWER environment variable.
* doc/mc.1.in: Document support for VIEWER environment variable.
2006-01-29 10:41:47 +00:00
Pavel Roskin
f9f69feabb * acinclude.m4 (MC_WITH_MCSLANG): Add type tests from S-Lang
configuration scripts.
2005-11-15 23:12:48 +00:00
Pavel Roskin
f52a3276cc * configure.ac: Catch unexpanded MC_* macros. 2005-11-11 02:03:55 +00:00
Pavel Roskin
f493d843a0 * m4/*.m4: Update to the macros provided by gettext 0.14.3.
* m4/Makefile.am: Update the list of the *.m4 files.
2005-11-11 01:52:16 +00:00
Pavel Roskin
f3aa417af7 * configure.ac: Use AC_GNU_SOURCE, which prevents redefining
_GNU_SOURCE.  Bump Autoconf version to 2.54, where AC_GNU_SOURCE
appeared.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
2005-11-11 01:40:18 +00:00
Pavel Roskin
40e26a8530 * configure.ac: Use gettext 0.14.3.
* acinclude.m4 (MC_ASM_LABELS): Remove, it's not needed with
recent versions of gettext.
2005-11-11 01:14:51 +00:00
Pavel Roskin
685ec466c2 * acinclude.m4 (MC_ASM_LABELS): Make the test function global
and move its definition above main().  That's closer to what
gettext is actually doing.
2005-11-10 23:37:21 +00:00
Roland Illig
a0aa9fd9d4 Reverted the addition of the check for libintl_gettext in -lintl. It
didn't help.
2005-11-02 22:26:19 +00:00
Roland Illig
b415dc87b9 * configure.ac: Include -lintl if it is needed for
libintl_gettext(). Needed for NetBSD-1.6.2.
2005-10-07 01:15:05 +00:00
Pavel Roskin
76c21d9dfe * configure.ac: Require gettext with ngettext support. It's
already used in src/info.c.
2005-10-03 21:00:22 +00:00
Pavel Roskin
bc9ae64cab * acinclude.m4: Remove gettext 0.10.x compatibility. 2005-09-28 21:49:05 +00:00
Marco Ciampa
96a06e0293 Updated italian translation 2005-08-23 11:09:11 +00:00
Marco Ciampa
bf5e61cf3b Updated italian translation 2005-08-23 10:51:21 +00:00
Roland Illig
f79711252d The various get[ug]id functions are used, so add checks for them. Same
for isascii.
2005-08-15 21:02:17 +00:00
Roland Illig
2b6d96d72d * configure.ac: The function getgrouplist() is not used anymore,
so there is no need to check for it.
2005-08-15 20:59:13 +00:00
Pavel Roskin
179aa43514 * lib/mc.ext.in: Restore support for opening 7-zip archives. 2005-07-20 21:28:50 +00:00
Pavel Roskin
680ccc7e56 * configure.ac: Add vfs/extfs/ualz to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ALZip archives.
2005-07-20 19:07:18 +00:00
Leonard den Ottolander
8383793469 configure.ac: Rename AS_HELP_STRING to AC_HELP_STRING (fix undefined macro). 2005-07-10 10:45:28 +00:00
Leonard den Ottolander
565866175d NEWS: Fixed commit to the wrong branch. 2005-07-08 14:07:31 +00:00
Roland Illig
d5ec027964 * configure.ac: Removed detection of the umode_t type. All
references to it have been replaced with mode_t.
2005-07-05 20:15:41 +00:00
Leonard den Ottolander
b7552a4e40 lib/mc.ext.in: Match log files as plain text; match local man pages; add fixes
for gzipped man pages to plain and bzipped man pages.
2005-07-03 15:04:11 +00:00
Leonard den Ottolander
2704385e05 lib/mc.ext.in: Move matches for plain compressed files down. 2005-07-03 12:43:15 +00:00
Roland Illig
2aae4390da * acinclude.m4 (MC_WITH_VFS): Don't link with libnsl
unnecessarily.
	* configure.ac: Simplified detection of the necessary libraries
	for socket() and gethostbyname().

	Patch provided by Tomasz Kloczko at 2005-06-15 on mc-devel.
2005-07-03 11:50:30 +00:00
Pavel Roskin
a52ce4e9ac * lib/mc.ext.in: Support opening for 7-Zip archives. 2005-06-22 02:23:50 +00:00
Roland Illig
bba40f1e93 * lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor
links is installed.
2005-06-06 00:05:25 +00:00
Roland Illig
f2708e485c * NEWS: Added the differences between pre3 and HEAD. 2005-06-05 23:42:11 +00:00
Andrew V. Samoilov
abe4dddc99 New file. Configuration files for Sun Solaris pkgmk(1). 2005-05-31 03:20:43 +00:00
Andrew V. Samoilov
966f5cb430 * lib/mc.ext.in: Added support for .7z archives. 2005-05-30 08:12:17 +00:00
Pavel Roskin
1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Roland Illig
f9604266b2 * syntax/ChangeLog: The syntax directory has got its own
ChangeLog.
2005-05-24 09:39:29 +00:00
Roland Illig
2e7fa0fa37 * configure.ac: Removed the extra definition of
HAVE_C_TYPE_SOCKLEN_T, which is unused.
2005-05-17 17:06:14 +00:00
Roland Illig
7b17421a43 * syntax/makefile.syntax: Added useful comments before the
contexts.
2005-05-15 00:09:15 +00:00
Roland Illig
cf4c046bf9 * syntax/makefile.syntax: Highlight $$ (a literal $) in
brightcyan. This way $${var} is not highlighted as if it were a
	Makefile variables.
2005-05-15 00:02:06 +00:00
Roland Illig
455b0d006e * syntax/diff.syntax: Lines starting with a <tab> character are
displayed like lines starting with a <space>. This is for the
	cvs diff -T option.
2005-05-14 11:30:54 +00:00
Pavel Roskin
0e2177c8cd * configure.ac: Require Autoconf 2.53 or newer.
* m4/Makefile.am: Remove isc-posix.m4, it's obsolete.
* m4/isc-posix.m4: Remove.
2005-05-13 15:27:21 +00:00
Pavel Roskin
ef3e4ddcc9 * lib/mc.ext.in: Add OpenOffice.org 2 extensions, use o3totxt
to view OpenOffice.org documents.
2005-05-13 15:09:55 +00:00
Pavel Roskin
4f09f45404 * acinclude.m4: Remove MC_ARG_ENABLE_DEVELOPER_MODE.
* configure.ac: Replace MC_ARG_ENABLE_DEVELOPER_MODE with a
simpler and more user-friendly piece of code.
2005-05-11 21:56:57 +00:00
Roland Illig
419025e926 * syntax/c.syntax: Added missing punctuation characters. 2005-05-01 14:21:02 +00:00
Pavel Roskin
bf7853c225 * syntax/Syntax: Don't highlight csh scripts. Allow using
"/usr/bin/env" instead of the full path.
2005-04-28 19:44:49 +00:00
Pavel Roskin
2836321b37 trimmed by trim_changelog 2005-04-28 19:42:30 +00:00
Leonard den Ottolander
2a6e12765a Added pchel and leonardjo as contributors. 2005-04-27 20:55:01 +00:00
Roland Illig
957f3d180d * acinclude.m4: Renamed AS_HELP_STRING to AC_HELP_STRING for
compatibility with autoconf-2.57.
2005-04-26 17:29:58 +00:00
Roland Illig
4a96e50b13 * configure.ac: Using MC_ARG_ENABLE_DEVELOPER_MODE instead of
the --maintainer-mode.
2005-04-21 22:31:58 +00:00
Roland Illig
26c8b13218 * acinclude.m4: Added macro MC_ARG_ENABLE_DEVELOPER_MODE. 2005-04-21 22:28:48 +00:00
Andrew V. Samoilov
d519f9cbe8 Add new line for standard formatting. 2005-04-21 10:02:52 +00:00
Leonard den Ottolander
c774c5b4a7 Syntax fixes (eiffel, perl, php, syntax). 2005-04-16 23:53:28 +00:00
Roland Illig
afce6c8106 * lib/mc.ext.in: Recognize either *.udeb or *.deb as Debian
packages. Fixes Savannah patch #3899.
2005-04-16 10:24:46 +00:00
Leonard den Ottolander
6108289e48 Catch Makefiles with capitals in extension. 2005-04-14 21:34:13 +00:00
Roland Illig
adaa78022f * doc/mc.1.in (Internal File Viewer): Rewrote some documentation.
Removed the paragraph about the growing buffers. It's generally
	uninteresting to users.
2005-04-14 01:15:36 +00:00
Roland Illig
d34c405387 * configure.ac: Add -DNDEBUG to CPPFLAGS if the maintainer mode
is not enabled.
2005-04-13 18:39:15 +00:00
Pavel Roskin
a4cf54d41c * acinclude.m4 (MC_WITH_SLANG): Partly restore original order of
checks and add a comment with a warning.
From Pavel S. Shirshov <me@pavelsh.pp.ru>
2005-03-19 21:53:24 +00:00
Pavel Roskin
d89c5eb128 * acinclude.m4 (MC_WITH_SLANG): Reorder checks. Move termcap
checks ...
(MC_SLANG_TERMCAP): ... here.
(MC_SLANG_PRIVATE): Check if private functions are available.
It's not the case on Debian unstable.
2005-03-19 19:16:35 +00:00
Andrew V. Samoilov
c14b24ebe9 * syntax/idl.syntax: Add syntax file for the CORBA idl.
From Ian Zagorskih <ianzag@megasignal.com>
        * syntax/lua.syntax: Add syntax file for the LUA programming language.
        From Mike Gorchak  <mike@malva.ua>
        * syntax/Syntax: Add syntax file for CORBA idl and lua.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 17:46:14 +00:00
Pavel Roskin
0074c885f2 * acinclude.m4 (MC_WITH_SLANG): Define HAVE_SYSTEM_SLANG after
all fallbacks so it shows whether we are using system S-Lang.
* configure.ac: Remove USE_INCLUDED_SLANG, since it's now fully
dependent on HAVE_SLANG and HAVE_SYSTEM_SLANG.
* src/myslang.h: Likewise.
2005-03-19 17:27:36 +00:00
Andrew V. Samoilov
eadb04b532 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-18 10:26:35 +00:00
Roland Illig
14cf1c7673 * syntax/diff.syntax: Changed default color from gray, which was
quite unreadable, to a bright yellow.

	Patch by Leonard den Ottolander.
2005-03-14 00:12:27 +00:00
Roland Illig
d7c54f1fe3 * autogen.sh: Made the gettext version check more portable. The
actual sed command is unchanged.
2005-03-10 09:59:27 +00:00
Miguel de Icaza
49d8769122 Update manual 2005-02-26 16:38:59 +00:00
Roland Illig
51156030fb * ChangeLog: Applied trim_changelog. 2005-02-07 07:33:47 +00:00
Roland Illig
6916fd28a2 * NEWS: Added the changes between mc-4.6.1-pre3 and now. 2005-02-07 07:05:17 +00:00
Roland Illig
7e498cbc2e * configure.ac: Add checks for C headers <sys/mkdev.h> and
<sys/sysmacros.h> to support major/minor arithmetics on
	device numbers.
2005-01-27 22:42:55 +00:00
Andrew V. Samoilov
33e157631c * acinclude.m4: Fix '--with-screen' configure option. 2005-01-11 09:16:52 +00:00
Andrew V. Samoilov
1605a544c6 * autogen.sh: Fix workaround for automake 1.5. 2004-12-30 06:33:18 +00:00
Andrew V. Samoilov
d94ff42371 * syntax/spec.syntax: Set whole on spec macro option keywords. 2004-12-28 13:22:27 +00:00
Andrew V. Samoilov
7e75c2d423 * acinclude.m4: Fix "make distcheck".
* NEWS: Update.
2004-12-13 17:56:27 +00:00
Andrew V. Samoilov
9ce7ab3b9b * autogen.sh: Comment workaround for Automake 1.5. It's not working
for Automake 1.9.
2004-12-10 06:24:35 +00:00
Andrew V. Samoilov
e69c7db958 Fix typos 2004-12-07 08:55:33 +00:00
Roland Illig
88812bee22 * syntax/Makefile.am: Don't install syntax highlighting files if
the internal editor is disabled.
2004-12-06 23:14:43 +00:00
Andrew V. Samoilov
be067bb92e * configure.ac: Bump version to 4.6.1a 2004-12-03 05:45:21 +00:00
Andrew V. Samoilov
a6c81a0d7a Change my contacts 2004-12-02 16:53:50 +00:00
Andrew V. Samoilov
319cdb81bc * acinclude.m4: Fix compiling mc with system slang on FreeBSD. 2004-11-16 19:23:40 +00:00
Roland Illig
01867b4001 * TODO: Checked the remaining vfs/extfs shell scripts and
removed them from the TODO list. This was the last item
	in the section "Before 4.6.1", so I deleted the whole
	section.
2004-11-16 18:03:56 +00:00
Andrew V. Samoilov
43c3d5504c * TODO (4.6.2): Fix the '#' in path names issue. 2004-11-08 00:06:04 +00:00
Roland Illig
18d9abb15c * TODO (4.6.1): Moved the '#' in path names issue to 4.6.2.
* TODO: Added issue about hiding passwords in VFS pathnames.
2004-11-07 12:54:55 +00:00