override its old contents. Don't use ksh extentions. Treat *.C
files as C++. Recognize more C++ extensions. Support java.
Update URL for "astyle". Quote all arguments to protect spaces.
* lib/edit.spell.rc: Don't save terminal settings - mc does it
itself. Quote all arguments to protect spaces.
they were only used in obsolete frontends. Don't ever use %view
without commands - it's slower and loses user settings, e.g.
hex mode. Put shared libraries before man pages and read.me
before .me macros so that they match correctly. Use nm for
shared libraries. Add rules for StarOffice and AbiWord.
"executable", which should follow a space. Simplify rules for
images. Add shell/ rule for *.info files. Fix all incorrect
uses of the alternation operator.
Reported by Oskar Liljeblad and Michel Casabona.
* edit/edit_key_translator.c (cooledit_key_map): Add support
for bracket matching on Alt-B.
* gtkedit/gtkeditkey.c: Likewise.
From Steef Boerrigter <sxmboer@sci.kun.nl>
now done in configure. Move -I.. to the beginning.
* Makefile.am (SUBDIRS): Move intl po to the beginning, since
libintl.a may be required to link mc.
(ACLOCAL_M4_SOURCES): Remove macros/gnome-gettext.m4.
* configure.in: Use AM_GNU_GETTEXT instead of AM_GNOME_GETTEXT.
Move all i18n code to one place. Don't substitute INTLSUB - it's
unused. Substitute INTLDEPS, since AM_GNU_GETTEXT doesn't do it.
Remove SCO-specific i18n hacks. Add -I$(top_srcdir) to CPPFLAGS.
mounted filesystems cannot be read. Don't define NO_INFOMOUNT.
Define HAVE_INFOMOUNT_LIST if a any suitable function has been
found.
* extraconf.h: Define HAVE_INFOMOUNT and HAVE_INFOMOUNT_QNX.
the test code.
* configure.in: Fix compiler warnings in the arguments to
AC_TRY_WARNINGS. Fix value of NEED_CRYPT_PROTOTYPE - add spaces
around `=' in the `test' command.
and "strings". Recognize "write" files and MS Word templates.
For MS Excel documents try "xls2csv" and "strings".
Escape spaces in the "type" directives.
From Nerijus Baliunas.
it would always fail when configuring in an empty directory.
Portability fixes - unset, backslashed space in here-documents.
Eliminate all instances of "changeqoute".
Create figs/*.eps if needed. Simplify rules for gmc.dvi and
gmc.rtf - DocBook 4.1 doesn't try to write to $(srcdir).
* doc-gnome/C/figs/Makefile.am: Add support for converting from
PNG to EPS.
"--enable-mcserv-install" has heen specified.
Don't quote the first argument in all calls to AM_CONDITIONAL
to work around a bug in Automake 1.4.
* doc/Makefile.am: Use MCSERV_INSTALL conditional.
* vfs/Make-mc.in: Likewise.
it cannot be installed before mc on systems without symlinks.
* gtkedit/Makefile.in: Likewise.
* src/Makefile.in: Install mcedit (if enabled) and mcview.
Uninstall them.
from acinclude.m4 in gtk+:
Don't define ENABLE_NLS unless we have a working NLS.
(This should keep libintl.h from being included when it doesn't
exist).
grouped to one regex. Removed "Update" for source RPMs, added
"Rebuild" instead. Added "Check signature" for all RPMs.
Added a comment about pop-up menus in the text edition.
flags moved out of CFLAGS as recommended by GNU coding
standards.
* configure.in: Don't add GLIB_CFLAGS to CFLAGS.
* Make.common.in: XINC eliminated. GLIB_CFLAGS is now added to
XCPPFLAGS.
* INSTALL (Random notes on porting to other architectures):
Completely rewritten. Recommended using CFLAGS instead of XINC.
"export -f" to have mc() exported.
* doc/mc.1.in: Changed description of the "-P" option to
avoid inclusion of mc.sh and mc.csh into the manual.
Corrected paths of mc.hlp, mc.no_proxy and ~/mc/Tree.
updates it when needed.
* mc.spec.in: Include translations with mc, not gmc. Run
chkconfig --del in %preun, not %postun. --without-debug not
needed. /etc/X11/wmconfig not needed. /etc/pam.d/mcserv shouldn't
be executable. New files in %{prefix}/lib/mc/ - translated hints,
editor files.
"make distclean" breaks.
* edit/Makefile.in, gnome/Makefile.in, gtkedit/Makefile.in,
slang/Makefile.in, src/Makefile.in, vfs/Make-mc.in: $(RMF)
replaced with "rm -f" - the stangard says that "rm" is portable.
Ditto $(MV). Adjusted *clean targets to match those in
Automake. Removed "cross" target.
Removed workarounds for older versions. Removed MCDEBUG
variable - it's not used. --with-debug renamed to --with-mad and
cleaned up. Always use -Wall with gcc, other manipulations with
CFLAGS removed.
gtkedit/Makefile.in, slang/Makefile.in, src/Makefile.in,
vfs/Make-mc.in: preserve timestamp on "make distdir", otherwise
mc.pot becomes out of date in the tarball.
to ...
* Makefile.am, doc-gnome/Makefile.am, pc/Makefile.am: ... this
* Make.common.in: support for "distdir" for compatability
with Automake-generated makefiles
* autogen.sh: run automake. Force cache - it is off by default
in autoconf 2.49a, but it's still handy for maintainers
* configure.in: adapted for Automake
* syntax.c: Wery dirty fix to allow compilation of mceditor on ncurses
based systems. Hope, this will make FreeBSD midc maintainer to enable
build-in editor by default. Still, syntax highlighting is disabled.
Need to port...
* vfs/ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
with unexpected side effects (only when HSC_PROXY was
defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
where appropriate.
(dir_load): Do not hard code the directory cache timeout to 10
seconds. Instead use the setting from Options/Virtual VFS ...
* vfs/fish.c (file_store): honour changed semantics for return value
(on error -1 is expected).
* vfs/ftpfs.c (file_store): dito
* gtkedit/editcmd.c (edit_replace_prompt): fix incorrect
initialization of array of structure (gcc version 2.96 20000131
chokes on it).
* lib/mc.hint: C-y and not C-u can be used to insert text in input
lines (e. g. text which has been deleted with M-d).
* configure.in: Fix the extfs-configure-fragment-in-final-output bug
* src/main.c (parse_control_file): add missing right parentheses
* src/boxes.c: fix incorrect initialization of array of structure (gcc
version 2.96 20000131 chokes on it).
* gdesktop.c, gdnd.c, gaction.c, gicon.c,
gnome-file-property-dialog.c, gpopup.c, gpopup2.c, gprefs.cgmain.h,
setup.c: Add option of using GNOME "magic" routines to determine file
types. This makes MC intelligently look at the data in the file to see
what type of file it is, rather than looking at the filename extension.
This slows down MC quite a bit, so it has been made an optional
preference item. Type detection is expected to improve as mime-magic
matures.
* vfs/extfs/uzip.in: Better handling of zip-archives that contain files
which contain spaces.
1999-09-22 Norbert Warmuth <nwarmuth@privat.circular.de>
* lib/mc.sh.in, mc.csh.in: renamed from mc.sh resp. mc.csh. Adapt
path to the mc binary according to @prefix@.
* lib/Makefile.in (srcdir): mc.sh and mc.csh are now created by
configure. Install mc.sh and mc.csh in $(suppbindir).
* doc/mc.1.in, mc.sgml: Updated the mc function definition for bash
and zsh. Suggest to source mc.sh or mc.csh instead of adding verbatim
copies of the included function definitions.
* mcfn_install.in: Comment out definitions of the mc functions. Source
mc.sh instead of adding an outdated mc function definition.
* configure.in: output mc.sh and mc.csh
* lib/startup.links: Changed the news link to Gnotices
1999-09-19 David Martin <dmartina@usa.net>
* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
8 bit chars from strftime get displayed when inserting date.
* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
Mandrake 6.0. The generic entry for bzip2 moved to the end of the
file to avoid interferences. In this one I changed the extension check
to a type check (as used for gzip) which might give problems in some
systems.
* src/user.c (check_patterns): char* is used instead of char [] in sizeof
* src/util.c (string_perm): prefix named pipes by 'p' and not by `s'
1999-09-19 David Martin <dmartina@usa.net>
* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
8 bit chars from strftime get displayed when inserting date.
* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
Mandrake 6.0. The generic entry for bzip2 moved to the end of the
file to avoid interferences. In this one I changed the extension check
to a type check (as used for gzip) which might give problems in some
systems.
* configure.in: Use -Tlatin1 to format man pages when available and
"view" 8 bit chars.
1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
* gtkedit/edit.h: Include files reordered in order to make it compile with
--with-debug
* gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width
dependent on lenght of translated strings to display.
* src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch]
to mad.[ch]
* src/option.c: Include files reordered in order to make it compile with
--with-debug
* src/mad.c (mad_init): New function. Initialize debug FILE pointer to
stderr (moved to a function because not on every system stderr is
a constant).
(mad_set_debug): added const qualifier
* src/main.c (main): call mad_init
* po/*.po: s/defination/definition/
* gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir
!= $srcdir.
* vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
* vfs/mcserv.c: removed definition of mad_strconcat which is also
in mad.c.
* Remove the magicdev autoconf test in favor of just
including the idl file. Otherwise we have a dependency
loop between this and magicdev.
1999-09-16 Owen Taylor <otaylor@redhat.com>
* gmount.c: Remove the HAVE_MAGICDEV conditional.
* Makefile.in magicdev.idl: Add the magicdev.idl file
here to avoid creating dependency loops.
* lib/mc.sh: create temporary files in ~/.mc/tmp in order to avoid
symlink attacks (mcfn_install and the man page still needs to be
updated).
* src/main.c (print_mc_usage): Print the bug reporting address.
(main): Put prompt in a new line at termination.
* vfs/shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
have been written one slot past the supplied character array).
* vfs/ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
strange symlinks (ls -la doesn't reveal where the symlink points to
and ls -lLa doesn't resolve the symlink either)
Added protection against recursive symbolic links.
* configure.in (AC_WITH_SLANG): rm -f destination before makeing
a symbolic link (ln -sf doesn't work as expected on Solaris)
1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/smbfs.c: added missing include file
(browsing_helper): use g_strdup instead of g_new + pstrcpy
(Btw. this is an example why the handholding of smblib gives a
false security feeling. pstrcpy limits the number of characters
copied and is used with a buffer which is smaler than the hard
coded limit in pstrcpy)
(loaddir_helper): ditto
(server_browsing_helper): ditto
(get_remote_stat): fixed memory leaks
(smbfs_loaddir): ditto
(get_stat_info): ditto
(smbfs_stat): ditto
(convert_path): rewritten, now it's much cleaner what it does.
This rewrite was necessary because gcc -O2 choked on glibc 2.1
systems. In that combination strncat is a macro which expands to
strlen and strcat and in vfs/samba/include/includes.h the latter is
defined to __ERROR__XX__NEVER_USE_STRCAT___;.
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
translation.
* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
translation as it used to be.
* po/POTFILES.in: Removed symbolic links, and outdated
gmc-window.[ch] and olddnd.c. These don't repport any new strings,
increase compile time and make po files large. Basically adds
gaction.c, g,mount, smbfs.c to the pre-previous file.
* po/es.po: Added new strings with latest editor changes. Added
strings in gaction.c. Merged with a new mc.pot after the changes
in POTFILES.in.
* gnome/gaction.c (mainly gmc_unable_to_execute_dlg): Moved g_strconcat
to g_strdup_printf, to get compact strings and make coherent
translations. Translate atomic actions (open, edit, view) when
calling this function.
* src/menu.c: (create_menu): Adjust "#ifdef ENABLE_NLS" so that menus
get the right size even when NLS is disabled.
1999-08-08 Norbert Warmuth <nwarmuth@privat.circular.de>
* po/POTFILE.in: Removed gpopup.c as it is not compiled.
* gnome-file-property-dialog.c (perm_group_new): Set the correct
group name in the group entry box. BUGFIX: Red Hat bugzilla #3244.
* gmount.c (get_mountable_devices): Return the list in getmntent()
order. BUGFIX: Red Hat bugzilla #3621.
* gprefs.c (help_callback): New help callback for the preferences
dialog. It loads the "gmcprefs.html" section from the GMC user's
guide. We need a better framework for this; we need to be able to
map DocBook identifiers (<foo id="bar">) to HTML files or
whatever. BUGFIX: Red Hat bugzilla #3194.
1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* doc-gnome/C/gmc.sgml: Set the book element's id to "index" so
that the correct index.html will be generated.
* configure.in (VERSION): Bumped version number to 4.5.34.
1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Make-mc.in (distcopy): Added a bunch of new lists of files for
the directories in vfs/samba. Use them in this rule, because
plain wildcards will not work right.
(SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
files.
* acconfig.h: Add WITH_SMBFS
* macros/gnome-vfs.m4: Support conditional samba support.
1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gsession.c (create_default_panel): Use directory specified in
command line.
* gcorba.c (corba_create_window): Pass the directory we receive or
cwd if this value is NULL.
* gmain.c (non_corba_create_panels): Use parameter for startup
directory (use the this_dir external directory for this).
(create_panels): Pass this_dsir to non_corba_create_panels and
corba_create_window.
* file.c (move_dir_dir): Give an error when an attempt is made to
move an empty directory into itself.
1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
* vfs/smbfs.c: New file. Implements the Samba-based file system.
* vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
* vfs/vfs.c (vfs_file_is_smb): implemented.
(vfs_init) register smbfs.
* vfs/samba: Incorporate SAMBA source code required for smbfs
1999-05-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* Make.common.in (confdir): Define confdir as sysconfdir. This
should fix the problem we had with FSSTND distributions.
David for the ChangeLog entries).
1999-06-22 David Martin <dmartina@usa.net>
* gnome/gnome-file-property-dialog.c (switch_metadata_box): Tag some
strings for localization.
* gnome/gnome-open-dialog.c (gnome_open_dialog_new): Don't assemble
label_string from seperate strings (makes it easier to translate).
* src/view.c (display): added view_gotoxy's in order to make hex mode
work in the gnome edition.
* gtkedit/gtkedit.c (tb_items): Mark strings for localization.
1999-06-22 Norbert Warmuth <nwarmuth@privat.circular.de>
* gnome/gview.c (viewer_size_changed): Update internal viewer state used
in hex mode.
And some fixes to the bug reported on mc-bugs ("Two Big Bugs in
Quickview@mc").
1999-06-22 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/cmd.c (quick_view_cmd): Change panel when the file we want to
view isn't in the current panel (prevents a "file not found"
error).
* src/menu.c (menubar_execute): De-activate the menubar previous to
invoking the callback. This is needed to make change_panel in
quick_view_cmd work (the activated menubar doesn't allow unfocus,
i.e. dlg_one_down|up don't change anything).
* src/view.c (do_view_init): improved error handling w.r.t quick view
(mc used to dump core when the file to view couldn't be opened).
Mon May 17 07:30:48 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in: Added check for getpt ()
* src/subshell.c (pty_open_master): use getpt () if available to open
the master side of the pty. getpt () is a glibc extension and is
needed when glibc 2.1.x is used with a (linux) kernel without unix98
style ptys (if there is no /dev/ptmx getpt falls back to bsd style
ptys).
* src/filegui.c (check_progress_buttons): Don't update the Gpm mouse
cursor when we check for events. It causes a flickering cursor on a
different virtual console.
* src/ext.c (exec_extension): Use tempnam instead of tmpnam (AIX doesn't
like the lattern when compiled with -mthreads).
* src/user.c (execute_menu_command): ditto.
Wed Apr 21 22:04:30 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* gtkedit/editcmd.c (edit_save_file): MAD knows about tempnam, no
need to fool it by strdup'ing the return value of tempnam.
Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/extfs.c (extfs_open): tempnam returns a malloced string, no need
to strdup it
(various places): use free instead of g_free to free string returned
by tempnam.
`--with-tm-x-support'
This option enables minimal X Window support in the text edition. It
enables MC to query the status of the modifiers CONTROL and SHIFT
when invoked in a terminal emulation under X11. That's necessary
to recognice key combinations like C-HOME or S-Cursor key.
Wed Apr 21 20:37:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in: New option --with-tm-x-support, use MCCFLAGS and
MCLIBS for build flags which are specific to the text edition.
* INSTALL: Added documentation for --with-tm-x-support
* src/Makefile.in: use MCCFLAGS and MCLIBS
Wed Apr 21 20:19:45 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/key.c (get_modifier): Query the state of the modifier keys when
running inside a terminal emulation under X11.
* src/key.c (init_textmode_x11_support, done_textmode_x11_support): new
functions, only used in the text edition. Connect to and disconnect
from the X Server when DISPLAY is set.
* src/key.h: added prototypes for the new functions
* src/main.c (main): call (init|done)_textmode_x11_support