Commit Graph

1505 Commits

Author SHA1 Message Date
Miguel de Icaza
0a1238fe83 2000-01-03 Aaron Lehmann <aaronl@vitelus.com>
* 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.
2000-01-23 22:25:26 +00:00
Miguel de Icaza
7a4cf0fcbb 2000-01-15 Federico Mena Quintero <federico@helixcode.com>
* lib/mc.menu (shell_patterns): Add a missing "esac".  Thanks to
	Martin Bialasinski <martin@internet-treff.uni-koeln.de> for
	providing a patch.
2000-01-16 02:39:13 +00:00
Sergey Panov
8c9d5e09b5 Makefile.in,mc.hint.ru: added hints in Russian from Evgeny Bulgakov <bgav@netvision.net.il> 1999-12-13 14:34:07 +00:00
Pavel Machek
06ff41e71b Added mc.hint.cs, czech file with hints. 1999-11-09 10:05:06 +00:00
Norbert Warmuth
10c8184839 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
* 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
1999-09-22 22:04:45 +00:00
Miguel de Icaza
4317569de1 1999-09-20 Federico Mena Quintero <federico@redhat.com>
* 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.
1999-09-20 16:34:38 +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
Norbert Warmuth
d393e2e098 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
* 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.
1999-08-30 06:01:37 +00:00
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Norbert Warmuth
10347c3633 Forgot to add this. 1999-08-17 04:30:46 +00:00
Norbert Warmuth
6fae3e0425 1999-08-15 David Martin <dmartina@usa.net>
* gtkedit/edit.c: Print localized date with strftime()

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* vfs/vfs.c (vfs_print_stats): Translate vfs stats

* vfs/shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation

* vfs/fish.c: Translate messages

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* src/cmd.c (get_random_hint): Look for localized hint files

* lib/mc.hint.es: NEW FILE. Hints in Spanish flavour.


1999-08-15  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/cmd.c (guess_message_value): New function. Determine locale used
for messages

(get_random_hint): use guess_message_value

* lib/Makefile.in: added mc.hint.es to LIBFILES_CONST
1999-08-16 05:31:23 +00:00
Miguel de Icaza
fab9402302 ChangeLog sync 1999-07-06 00:00:51 +00:00
Miguel de Icaza
2972bb0c03 Define /#smb as a slow device too 1999-07-04 00:55:16 +00:00
Miguel de Icaza
939e87a9d7 Update the README.desktop file-mig 1999-06-03 18:31:05 +00:00
Miguel de Icaza
4573e571b5 Update the README.desktop file-mig 1999-06-03 18:08:19 +00:00
Timur Bakeyev
188d414612 Fri Mar 26 19:16:38 1999 Timur Bakeyev <mc@bat.ru>
* */Makefie.*: fixed several missed conversions from libdir to
	mclibdir. (Should be automake'd, really)
1999-03-26 16:18:41 +00:00
Timur Bakeyev
bc6eb17fa3 *** empty log message *** 1999-03-21 23:26:42 +00:00
Miguel de Icaza
9207af342d COOL CODE! OH MAN! I AM GOOD!
Ok, so this time I got the stuff to auto-load desktop startup links.
This means you can ship stuff to pre-configure the desktop of the
users now.

We support program-based setup and url-links.

Details on the lib/README.desktop file
1999-03-20 18:08:52 +00:00
Miguel de Icaza
2372ecab74 Create the confdir before using it 1999-02-28 20:02:15 +00:00
Miguel de Icaza
f4ddffd7a3 Prepare for 4.5.19 1999-02-25 04:26:39 +00:00
Miguel de Icaza
ad80925039 Add a global file to list directories that are slow (afs, etc)
Fixes for SuSE compilation.
1999-02-25 04:21:30 +00:00
Norbert Warmuth
d1126049bb Tue Feb 9 20:52:19 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* README.QNX: Deleted documention about mc.menu.qnx.diff.

* lib/mc.menu.qnx.diff: Deleted, it has been merged with mc.menu.

* lib/Makefile.in: Deleted mc.menu.qnx.diff from DISTLIB

Tue Feb  9 20:32:39 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* lib/mc.menu: Removed GNU tar'isms (option z). Removed option -o
from tar calls when extracting (according to my man page this option
is only useful when creating archieves).

Tue Feb  9 20:28:15 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* lib/mc.menu: Applied patch from root	<root@golia.dntis.ro> which
adds support for tar.bz2 and merges the support for freeze-compressed
tar files (tar.F) from mc.menu.qnx.diff.
1999-02-09 20:29:56 +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
Miguel de Icaza
cb78daaa9b Use gnome-moz-remote 1998-12-16 05:18:55 +00:00
Miguel de Icaza
07d28f67ca More stuff :-) 1998-12-16 03:44:31 +00:00
Miguel de Icaza
8fb1821455 Warning fixes + compile fixes -mig 1998-12-15 19:53:55 +00:00
Miguel de Icaza
5da0c8f06f Removed unused information -mig 1998-12-14 03:50:55 +00:00
Norbert Warmuth
92688cca24 Sun Dec 13 15:26:19 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* Makefile.in (target installdirs): create $(DESTDIR)$(idldir)

* lib/Makefile.in (target install): install $(LIBFILES_OUT) from the
builddir
1998-12-13 14:23:37 +00:00
Miguel de Icaza
b950fa1a36 Small Makefile fix here 1998-12-04 00:55:33 +00:00
Miguel de Icaza
4d53e710d3 1998-12-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* ext.h: GNOME edition uses a different set of .ext files.

	* lib/mc-gnome.ext.in: New file with GNOME-specific bindings.
1998-12-04 00:48:50 +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
Pavel Roskin
b57154f455 URL corrected 1998-09-18 18:25:30 +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
Pavel Roskin
27aea9c0d6 "make uninstall" is now handled properly in lib subdirectory 1998-06-26 08:37:16 +00:00
Pavel Machek
4cfe9e4d99 Bringed hints up-to-date. Removed refernce to mtools since I do not
know if mtools currently work (and they definitely do not work as
advertised). Changed Alt-t into M-t to be consistent with rest of
file.
1998-06-03 13:15:41 +00:00
Norbert Warmuth
5c693c75be Sun May 31 22:02:33 1998 Norbert Warmuth <k3190@fh-sw.de>
* po/it.po: deleted additional "\n" in one msgstr


Sun May 31 10:23:01 1998  Norbert Warmuth  <k3190@fh-sw.de>

* key.c (define_sequence): If a sequence clashes the last
definition made will be used. This makes it possible to override
wrong definitions in terminfo/termcap database with learn keys (or
the appropriate entries in mc.lib and ~/.mc/ini).

* widget.c (show_hist): Don't display the listbox partly
off screen (the left panel's history started in column - 2).

* keyxdef.c: include tty.h instead of myslang.h as suggested by
Tamasi Gyorgy <gt_cosy@usa.net>


Fri May 29 15:41:19 1998  Alexander V. Lukyanov <lav@yars.free.net>

* widget.c (update_input): this patch allows entering 8-bit
characters in input fields without screwing attributes. (the
same old sign extension...)


Wed May 27 22:23:48 1998  Ed Cogburn <ecogburn@greene.xtn.net>

* lib/xterm.ti: The 'xterm-color' definition needs 'sgr0'. The tic
program from ncurses 4.2 doesn't like the xterm.ti file that comes
with mc.


Wed May 27 15:29:01 1998  Alexander V. Lukyanov <lav@yars.free.net>

* key.c (get_key_code): characters with high bit set were input
as 0x80 char when use_8th_bit_as_meta was set
1998-05-31 20:27:44 +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
Miguel de Icaza
3a3c99ed4c Pass1 of the QNX port of mc from Tamasi Gyorgy 1998-05-20 02:12:06 +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
8b64154d5a beautify -mig 1998-05-05 00:39:13 +00:00
Miguel de Icaza
abc71483f9 LinuxConf enhanced init script, Thanks to mkj 1998-05-05 00:25:51 +00:00
Miguel de Icaza
4b25dff319 Use --root for ee 1998-05-04 23:26:27 +00:00
Miguel de Icaza
307bcd3f71 Lar's fix to xterm.ti 1998-05-03 19:25:17 +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
Miguel de Icaza
ee7dc74ff8 manual pages regexp updated 1998-03-23 18:09:46 +00:00
Miguel de Icaza
84013cb8d5 Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
	target in mc.ext now.

	* Add support for dragging the icons on the desktop.

	(desktop_icon_make_draggable): new function.
	(drop_from_event): simplify.
	(my_create_transparent_text_window): Get the motion notify event.
	(drops_from_event): create a vector based on thge drop event.
	(drop_cb): splitted, call url_drop for regular drops, otherwise it
	is a icon drop.
	(artificial_drag_start): new routine, used now by gscreen.c and
	gdesktop.c
	(drop_on_directory): Check result value of operation.
	(desktop_icon_set_position): sane interface.
	(stop_desktop): Flush all of our state to disk.
1998-03-19 02:57:01 +00:00
Miguel de Icaza
5b49482824 Added contributed enhanced CPIO support + dialog box fixes for gnome -mig 1998-03-14 22:36:06 +00:00
Miguel de Icaza
177bbf7262 .cvsignores for the Midnight Commander 1998-03-07 20:34:15 +00:00
Miguel de Icaza
eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00