Commit Graph

54 Commits

Author SHA1 Message Date
Pavel Roskin 110af08b0b * lib/mc.ext.in: Remove edit rules for compressed files that
were compressing even unchanged files - the editor itself can
handle compression better.
2002-09-04 19:01:13 +00:00
Pavel Roskin 3fd891256c * lib/mc.ext.in: Add new OpenOffice.org formats. Always use
OpenOffice.org, not StarOffice.  Add more video formats.
2002-08-27 06:33:47 +00:00
Pavel Roskin 27b3644329 * lib/mc.ext.in: Use gzip instead of gunzip and compress. Avoid
unnecessary pipeline.  Redirect stderr from cpio, because it can
be non-empty even for successful operations.
2002-08-27 05:59:06 +00:00
Pavel Roskin 9ff6874d9e * lib/mc.ext.in: Try links before lynx. Force full path when
invoking X11 browsers - it breaks VFS, but VFS support in mc.ext
is already broken if the program starts in background.  Add a
comment discouraging taking this code as example.
2002-08-19 02:27:19 +00:00
Pavel Roskin 369316e6f0 Purge comments that make no sence now (Drop, Title, user-defined commands). 2002-08-10 00:18:07 +00:00
Pavel Roskin 5a6b3d6b61 * lib/mc.ext.in: Remove all unrecognized actions (e.g. Extract)
and entries that are obsolete or make no sence.
2002-08-09 23:19:53 +00:00
Pavel Roskin c819e0de4d * lib/mc.ext.in: Open *.doc and *.rtf files with abiword by
default. Open *.xls with gnumeric.  Use mplayer for most video
formats.
2002-07-28 21:04:36 +00:00
Pavel Roskin e0a1975590 * lib/mc.ext.in: Remove handling of executables. They should
be handled internally for "pause after run" to work.
2002-07-16 05:16:45 +00:00
Pavel Roskin 23b183df45 * lib/mc.ext.in: Add support for *.rmi files - latest TiMidity++
can play them.
2002-04-21 04:09:02 +00:00
Pavel Roskin 8b5418771b * lib/mc.ext.in: Run "file" before "nm" to avoid an error
message "no symbol found" for unsupported architectures and
provide more useful information.
2002-02-26 23:59:55 +00:00
Pavel Roskin bfb469435d * lib/mc.ext.in: Use "type" to recognize zip and lha archives. 2001-11-29 21:27:55 +00:00
Pavel Roskin efe14b8bf1 * lib/mc.ext.in: When running X programs in background, do it
from subshell.  Otherwise some of them terminate when mc exits.
Reported by Christian Dysthe <christian@dysthe.net>
Remove some obsolete and gmc-specific entries.  Use StarOffice
to open files detected as "Microsoft Office Document".
2001-11-28 00:25:44 +00:00
Pavel Roskin 3fe616ace4 * lib/mc.ext.in: Add support for Netpbm files. 2001-10-30 08:08:04 +00:00
Pavel Roskin ddcec565ec * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a
Makefile.  Don't allow any suffixes after "Makefile".
2001-10-16 07:30:33 +00:00
Pavel Roskin fcebeec60c * lib/mc.ext.in: Add support for *.xcf files (native GIMP
format).
2001-10-12 06:32:58 +00:00
Pavel Roskin 23bdfba2a6 * lib/mc.ext.in: Use ogginfo to view *.ogg files.
Suggested by Marcel Pol <mpol@gmx.net>
2001-10-05 22:41:33 +00:00
Pavel Roskin b3cd72c2df * lib/mc.ext.in: Use xmms to play *.mp3 under X. When viewing
*.mp3, use "verbose" option to mpg123.  Add support for *.ogg
and *.mid files.
2001-10-05 05:51:26 +00:00
Pavel Roskin 33b09eee48 * configure.in: Update list of browsers. Don't fallback to
lynx since it cannot be run in background.
* lib/mc.ext.in: Redirect output of X11 browsers to /dev/null.
If no browser for X11 was found, use lynx.
2001-09-12 22:10:37 +00:00
Pavel Roskin 2742c4f9d4 * lib/mc.ext.in: Move ls-lR.gz before generic gzip support. 2001-08-14 03:27:12 +00:00
Pavel Roskin 48101333b5 * lib/mc.ext.in: Fix opening info pages on VFS. Modernize
entries for compressed cpio archives.
2001-07-19 22:15:35 +00:00
Pavel Roskin 24e01579a8 * lib/mc.ext.in: Comment changes. Remove rules for programs -
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.
2001-07-19 21:55:24 +00:00
Pavel Roskin 9696da138d * lib/mc.ext.in: Anchor all regexes in the type/ rules except
"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.
2001-07-14 00:01:20 +00:00
Pavel Roskin eafd93ed76 * lib/mc.ext.in: Use nm to view object files. 2001-07-06 22:02:36 +00:00
Pavel Roskin d9713d6233 * lib/mc.ext.in: For MS Word documents try "catdoc", "word2x"
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.
2001-05-29 20:40:59 +00:00
Pavel Roskin cb5848496d * lib/mc.ext.in: Match both "mail" and "Mail", but only if they
are in the beginning of the "file" output.
2001-05-26 00:00:49 +00:00
Pavel Roskin b50136248a * lib/mc.ext.in: Add associations for viewing RPM files. 2001-05-23 18:57:25 +00:00
Pavel Roskin 327797ea96 * INSTALL: Remove information about Tk and XView. Change the
mailing list addresses again.
* FAQ: Change the mailing list addresses again.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-05-18 16:28:22 +00:00
Pavel Roskin 5dbac5708e * FAQ: Change the mailing list addresses and the download
locations.
* INSTALL: Likewise.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-04-20 19:58:55 +00:00
Pavel Roskin 782012e481 * lib/mc.ext.in: Recognize files ending by `.lslR' and `.ls-lR'.
Suggested by Christian Gennerat.
2001-03-02 16:57:36 +00:00
Pavel Roskin aa76abdadc * lib/mc.ext.in: Add support for "freeze" - old compression
program used mostly on QNX.
* lib/mc.ext.in.qnx.diff: Remove, it's obsolete.
2001-03-02 16:32:23 +00:00
Pavel Roskin 1b9938984b * lib/mc.ext.in: Removed references to icons. Source RPMs
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.
2000-10-09 15:00:29 +00:00
Pavel Machek aafa830e57 Recognize .spm files 2000-10-05 13:03:00 +00:00
Pavel Machek b0d9ff70fa 2000-05-05 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* lib/mc.ext.in: More changes by rebel@atrey: he forgot to begin
        comment lines with # in last release
2000-05-05 14:27:14 +00:00
Pavel Machek 6f3d6c89c0 Fixes to mc.ext.in 2000-05-03 09:56:51 +00:00
Pavel Machek 27ac13996e 2000-04-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* lib/mc.ext.in: Changes from
rebel@atrey.karlin.mff.cuni.cz. They
        look more consistent than original.
2000-04-26 09:54:04 +00:00
Norbert Warmuth d836e5a79a 1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
* 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.
1999-09-19 23:09:07 +00:00
Timur Bakeyev bc6eb17fa3 *** empty log message *** 1999-03-21 23:26:42 +00:00
Timur Bakeyev a7f1b90f06 Add Open method for *.info files. 1999-01-25 21:29:13 +00:00
Miguel de Icaza 10b2a16291 Add trpm 1999-01-19 21:50:10 +00:00
Pavel Machek 4706638b22 Big merge: fish now uses proper caching, small fixes almost
everywhere. I hope I did not break it too much.
1998-11-21 19:36:01 +00:00
Pavel Roskin 2837b5dc6a *.jar and *.JAR treated like *.zip and *.ZIP 1998-10-22 19:33:22 +00:00
The Rasterman 12b563f15e <raster@redhat.com>
Added entry for mp3 files for mc to recognise.
1998-08-19 17:28:55 +00:00
Miguel de Icaza 7a7f7a3d85 Integration of Pavel Machek's vfs code split and vfs syntax change.
The VFS code can now be used by other applications (if you compile the
libvfs.a target and link against this).

Syntax has changes internally from the url-like syntax to a new syntax
that does not have ambiguities.  A default conversor for the new syntax
will be provided in the future, also dealing with the user ~/.mc/ext files
is currently in a non-optimal state.

Keep an eye on this mailing list.

Miguel.
1998-05-26 00:53:24 +00:00
Miguel de Icaza a416ee4f7b Cool changes:
1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gwidget.c (x_create_input): Disable the use of the GNOME entries
	for now, as they are very slow.  We need to figure out what is
	wrong with this.

	With this change, dialog boxes close quickly instead of taking
	ages to close.

	* gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
	Share the context menu code in gdesktop.c and gscreen.c.  The
	desktop pop up menus now include all of the stuff that would have
	appeared in the Panel.

	* gdesktop.c (desktop_icon_remove): Remove the file associated
	with this desktop entry if it is on the ~/desktop directory.
1998-05-23 00:55:03 +00:00
Norbert Warmuth 55563b21b4 Mon May 18 22:24:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ini.in: s/reges/regex/
1998-05-19 09:01:00 +00:00
Miguel de Icaza 824b7198ea Icon View mode for GNOME/mc:
1. My icons suck.
	2. Keyboard handling is not finished.
	3. Save current-mode, load current-mode is not
	   implemented yet.
	4. Listing mode is not working, as I have hardcoded
	   the icon view for now.
	5. Will finish this tomorrow.  Not much is missing.
	6. No, this is not the final implementation.
	7. Yes, later I will put some scheme for using
	   more icons as discussed in the ethernal "Re: Icons"
	   thread.

Miguel.

1998-05-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gscreen.c (panel_icon_list_realized): Add drag and drop support
	to the icon list view;

1998-05-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gscreen.c (panel_fill_panel_icons): New function:  Fill up the
	icon list.
	(x_create_panel): Change in the approach:  we create both of the
	widget views at creation time and we now carefully show every
	component.  I attach everything to the table, but not necesarly
	show it.
1998-05-08 02:25:00 +00:00
Miguel de Icaza 4b25dff319 Use --root for ee 1998-05-04 23:26:27 +00:00
Miguel de Icaza c02bca1dac All mighthy sync! -mig 1998-04-22 06:01:38 +00:00
Miguel de Icaza 76523ad6a5 File command reports JPEG as 'JPEG image', add this to mc.ext.in 1998-04-17 21:40:30 +00:00
Miguel de Icaza 506094f44a 1 line fix-mig 1998-04-15 22:38:36 +00:00