Commit Graph

988 Commits

Author SHA1 Message Date
Miguel de Icaza
77ae49ad81 CORBA overhaul, part 1. This will not compile. HAH. I'm taking it home - Federico 1999-09-09 00:37:02 +00:00
Kjartan Maraas
a50940105a 1999-09-08 Kjartan Maraas <kmaraas@online.no>
* doc-gnome/*: Shiny new docs from users-guide.
	All synced up.
1999-09-07 22:31:24 +00:00
Pablo Saratxaga
4057fd0e60 added 'nl' to languages. 1999-09-03 15:57:35 +00:00
Miguel de Icaza
9712686402 1999-09-01 Federico Mena Quintero <federico@redhat.com>
* README: Updated and spell-checked.

	* NEWS: Updated.
1999-09-01 16:13:33 +00:00
Richard Hult
d2ad445ae3 Added Swedish translation from Henrik Steen <hsteen@sw.seisy.abb.se> 1999-08-31 17:00:25 +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
Norbert Warmuth
3ca228c330 1999-08-20 Norbert Warmuth <nwarmuth@privat.circular.de>
* 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___;.
1999-08-20 05:42:02 +00:00
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Miguel de Icaza
4a90180bd5 1999-08-19 Federico Mena Quintero <federico@redhat.com>
* doc-gnome/C/gmc.sgml: Index fixes.
1999-08-19 16:17:11 +00:00
Elliot Lee
54575e2beb * gtkedit/gtkedit.c: Make it build with gcc 2.95, by fixing the non-constant
initializers in the GnomeUIInfo structure.
1999-08-18 19:10:21 +00:00
Miguel de Icaza
14c3b99489 Getting ready for 4.5.38 - Federico 1999-08-17 18:26:36 +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
Norbert Warmuth
ccdd7f5bce 1999-08-08 David Martin <dmartina@usa.net>
* 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.
1999-08-08 12:43:32 +00:00
Miguel de Icaza
3e988d4f1f 1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* 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.
1999-08-05 20:58:36 +00:00
Miguel de Icaza
f503de5232 1999-07-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
* syntax/Makefile.in (ALLSYNTAX): Added the missing syntax files
	to the list.
1999-07-27 23:07:05 +00:00
Jacob Berkman
315dd3ced6 revert those changes for now 1999-07-26 01:34:52 +00:00
Jacob Berkman
498903ace9 1999-07-25 Jacob Berkman <jberkman@andrew.cmu.edu>
* configure.in (undelfs_o): test against 'xyes' and not 'yes'
1999-07-26 00:55:56 +00:00
Paul Sheer
4de163523b *** empty log message *** 1999-07-21 20:15:44 +00:00
Elliot Lee
cc526220ea Remove doc-gnome* from codedirs variable. Fixes infinitely recursing make. 1999-07-19 20:59:56 +00:00
Miguel de Icaza
fab9402302 ChangeLog sync 1999-07-06 00:00:51 +00:00
Miguel de Icaza
a87e7cbff9 Fixety fix - Federico 1999-07-04 10:21:43 +00:00
Miguel de Icaza
7e2b19b2ea 1999-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* 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.
1999-07-04 08:16:31 +00:00
Tuomas J. Lukka
3ab058af3a Add fi to ALL_LINGUAS 1999-07-02 15:02:45 +00:00
Tuomas Kuosmanen
6e95404fae Added a nice zip-disk icon bezides the current one - having some variation
is nice.

/tig
1999-06-30 23:20:35 +00:00
Miguel de Icaza
9f81821878 1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* 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.
1999-06-22 21:02:08 +00:00
Miguel de Icaza
2a8730b21c 1999-06-01 Robert Brady <rwb197@ecs.soton.ac.uk>
* 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.
1999-06-22 19:56:36 +00:00
Norbert Warmuth
97667103cb 1999-06-22 Norbert Warmuth <nwarmuth@privat.circular.de>
* po/es.po: Updated translation from David Martin.

1999-02-22  Vladimir Kondratiev <vkondra@iil.intel.com>

* mc.spec.in: added syntax files to %files
1999-06-22 19:49:24 +00:00
Norbert Warmuth
c1fb49b689 David's "Hex View in GMC & some June patches" sent on June 14 (don't blame
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).
1999-06-22 10:29:29 +00:00
Andras Timar
38092681b9 Shooby Ban <bansz@szif.hu>
* Added hungarian translations, at long last.
It seems silly, and outdated a bit, but usable.
Flame me, Tamas Fejos, or Andras Kadar ;]
1999-06-18 22:45:21 +00:00
Kjartan Maraas
81e3cbbd95 1999-06-07 Kjartan Maraas <kmaraas@online.no>
* ChangeLog: we have a helpfile for gmc now.
1999-06-07 20:53:31 +00:00
Yukihiro Nakai
a18d48c785 Add ja entry to LANG in configure.in 1999-05-24 02:56:45 +00:00
Tuomas Kuosmanen
6225086f5a Added the icon to the Makefile.in also so it gets installed. /tig 1999-05-19 05:55:10 +00:00
Tuomas Kuosmanen
8494a1098f Added a ZIP DISK icon - someone please add it to gmount.c :) /tig 1999-05-19 05:46:58 +00:00
Norbert Warmuth
7b0c8f25b3 The first two patches fix Bug#1242. I will close that bug later.
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.
1999-05-17 05:51:44 +00:00
Miguel de Icaza
1ae49493d0 4.5.31 - Federico 1999-05-06 01:11:22 +00:00
Norbert Warmuth
2b862fe4f1 Wed Apr 21 21:47:15 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* 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.
1999-04-22 04:36:11 +00:00
Norbert Warmuth
3fd90ce83b This patch set adds a new feature to the text edtion (off by default).
`--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
1999-04-21 19:18:31 +00:00
Gregory McLean
af29c90797 Some specfile corrections.
-- Greg
1999-04-18 21:53:29 +00:00
Miguel de Icaza
e3ec9338be 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* configure.in (SHELL): Do not use grep -q, as it is not portable
	to every OS.
1999-04-16 23:10:43 +00:00
Norbert Warmuth
2fee0a42d2 I haven't investigated whether there are more problems with
st_size < 0 ...

Fri Apr 16 07:50:59 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/view.c (do_view_init): Don't view files with negative file size.
Added some error checking (I'm not sure whether this is needed).

* src/wtools.c (message): Use g_vsnprintf instead of vsprintf.

* configure.in: Linking from $srcdir/slang is broken when configure
isn't called with an absolute path. Link from ../$srcdir/slang if
configure was invoked with a relative path.
1999-04-16 05:53:46 +00:00
Nuno Ferreira
33917b2476 1999-03-20 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* configure.in: Do not rm the destination file and then link, use
	ln -sf. Link from $srcdir/slang, not from ../$srcdir/slang.

This one was forgotten in my local copy.
1999-04-14 20:10:26 +00:00
Norbert Warmuth
f807b91600 Tue Apr 13 07:07:36 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* slang/slutty.c (SLsys_getkey): handle EOF on stdin (return
SLANG_GETKEY_ERROR on EOF instead of returning garbage)

* slang/Makefile.in (clean): remove the symbolic link slang.h on the
distclean target and not on the clean target.


Tue Apr 13 07:14:10 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/slint.c (getch): Quit MC when SLang_getkey returns an error. Looking
at the code that's only the case when we read EOF from stdin.

This fixes the problem where MC consumes a lot of cpu time while
reading EOF from stdin in a tight loop. This situation arises when the
terminal line/connection drops without MC being sent SIGHUP.


Tue Apr 13 06:07:05 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* configure.in: Some AC_ARG_WITH macros haven't checked $withval, i.e.
--with-PACKAGE and --without-PACKAGE gave the same results.
1999-04-13 19:21:03 +00:00
Miguel de Icaza
9f68cc2df5 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_icon_list_button_press): Ignore double clicks.
	(panel_widget_motion): Don't do anything if the button state does
	not match the button we are expecting.

	* gtkflist.c (gtk_flist_button_press): Remove pending selections
	when we receive a double click.

	* gaction.c: #include "view.h"
1999-04-10 00:54:10 +00:00
Miguel de Icaza
935fc29a00 4.5.29 - Federico 1999-03-30 06:50:05 +00:00
Norbert Warmuth
bfa7724f00 Sun Mar 28 23:39:48 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in: Deleted duplicate VFS checks. GNOME_VFS_CHECKS
now contains all VFS checks.

* src/util.c (is_printable): Character 155 is non printable even when
full eight bit output is enabled (on the linux console 155 is
interpreted as "ESC [").

* vfs/vfs.h (vfs_translate_url): Fixed the macro which is used when
compiling without vfs.

* macros/gnome-vfs.m4: Add --with-vfs option. GNOME_VFS_LIBS still needs
to be fixed but that's not a problem because there's no libvfs, yet.
1999-03-29 05:06:50 +00:00
Miguel de Icaza
d2b3c007b3 4.5.28 - Federico 1999-03-26 20:37:48 +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
Miguel de Icaza
a531f2141f 1999-03-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Make.common.in: There were conflicting definitions of mclibdir
	(one for installation, one for source).  Now the source one is
	called mcsrclibdir.

	* doc/Makefile.in: Use mcsrclibdir where appropriate.

1999-03-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* Makefile.in: Use mcsrclibdir where appropriate.
1999-03-24 22:18:17 +00:00
Timur Bakeyev
1482bc0594 Mon Mar 22 03:00:15 1999 Timur Bakeyev <mc@bat.ru>
* edit/syntax.c: Remove extra "|"  in "file ..\*\\.(pp|PP|pas|PAS|)$ \
	Pascal Program" (Heh, second time :)

	* Makefile.common: Until things gets clear, keep syntax rules in
	$(prefix)/lib/mc//syntax, as this is how (LIBDIR "/syntax") expands.

	Also, $(libdir) changed to $(mclibdir), to avoid confusion with expanded
	@libdir@.
1999-03-22 00:01:53 +00:00
Timur Bakeyev
90d5b579a1 Mon Mar 22 01:52:32 1999 Timur Bakeyev <mc@bat.ru>
* configure.in, Makefile.in, Makefile-common: Add syntax/Makefile.in,
	as requested by Paul. Still, need some checking...
1999-03-21 22:50:00 +00:00
Paul Sheer
eb88159c64 *** empty log message *** 1999-03-21 01:57:34 +00:00
Nuno Ferreira
d97c87e5c8 1999-03-20 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* configure.in: Create slang directory, it is needed when
	builddir != srcdir.
	Use -f when calling rm, the file does not exist on
	first compile.
	No need to copy VERSION from $srcdir, it's already generated in
	$buildir.
1999-03-20 22:30:36 +00:00
Norbert Warmuth
d37e959b67 Fri Mar 19 06:32:36 1999 David Martin <dmartina@usa.net>
* po/es.po: update

* edit/edit_key_translator.c: Added missing translation tags.
1999-03-19 06:14:56 +00:00
Miguel de Icaza
870b29f702 4.5.27 - Federico 1999-03-19 02:45:51 +00:00
Norbert Warmuth
809247dd1c Wed Mar 10 22:05:46 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* es.po: Updated with David Martins translation.

Wed Mar 10 21:52:55 1999  David Martin <dmartina@usa.net>
* gtkedit/editcmd.c: Added missing translation tags.

* gtkedit/editoptions.c: Added missing translation tags. Translate
radio buttons on first use.

Wed Mar 10 22:21:19 1999  David Martin <dmartina@usa.net>
* util.c (my_putenv): char* was used to store the length of a string

* info.c (info_show_info): cast st_dev and st_ino when passing
to printw.
1999-03-10 21:56:08 +00:00
Gregory McLean
3481777d46 Sat Feb 27 21:00:45 1999 Gregory McLean <gregm@comstar.net>
* applied a patch from Duncan Mak <mustapha@wegythu.res.cmu.edu>
        to get the mc spec file to work.
        * hacked configure to generate a properly versioned spec file.
1999-02-28 02:52:05 +00:00
Norbert Warmuth
50d9d2c006 Fri Feb 26 22:06:51 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* gtkedit/editcmd.c (menu_save_mode_cmd): translate strings for
radio buttons on first pass.

Fri Feb 26 21:45:30 1999  David Martin <dmartina@usa.net>

* gtkedit/editcmd.c: Mark strings in the search and replace
dialogs for translation. Resized these dialogs to let the messages
fit.
1999-02-26 21:14:52 +00:00
Miguel de Icaza
96a7f2c4f6 Sync 1999-02-23 02:53:30 +00:00
Norbert Warmuth
88a4da3fe3 Tue Feb 16 20:46:38 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* po/es.po: Update es.po with the version sent by David Martin
<dmartina@usa.net> on Feb 14. Removed messages from editmenu.c
first (this needs fixing).

Tue Feb 16 21:18:08 1999  David Martin <dmartina@usa.net>

* src/achown.c: Make buttons fit in the (new) translated
Advanced Chown dialog.

* src/popt.c: Compilation fix: on systems without setreuid use setuid.
Tue Feb 16 21:24:43 1999  David Martin <dmartina@usa.net>

* gtkedit/gtkedit.c: Hack to get one more string defined in a macro
into the catalog file.
1999-02-16 20:58:36 +00:00
Norbert Warmuth
30ba2f315f Sat Feb 13 01:39:17 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in: Make Timur's libtermcap check work with SLang
0.99.98, too.
1999-02-13 00:44:34 +00:00
Miguel de Icaza
3b6b98dc2f 1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* new_icons/Makefile.in (ALLICONS): Added Tigert's new icons for
	PS and EPS files.  Thanks, Tigert!

1999-02-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* mc.metadata.in: Added a regexp for EPS files.

	* mc.keys.in.in: Use Tigert's new icon for Postscript files.
	Possible FIXME: are there different MIME types for PS and EPS
	files?
1999-02-12 22:16:32 +00:00
Miguel de Icaza
e3a9e12ca9 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* view.c (search): Provide GNOME specific code for the search progress
1999-02-10 01:16:42 +00:00
Timur Bakeyev
2af7ecb8fe System SLang and termcap
Wed Feb 10 02:48:51 1999  Timur Bakeyev  <mc@bat.ru>

	* configure.in: Add check, which, in case of system-installed SLang
	library tries to run a test program, which determines, does we need
	linking with libtermcap.a. Also, set of if's for finding terminfo
	dir changed do for cycle - a bit nicer :)
1999-02-09 23:50:57 +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
4218976139 xmkdir
Sun Feb  7 06:11:48 1999  Timur Bakeyev  <mc@bat.ru>

	* Makefile.in: Change calls to xmkdir to mkinstalldirs - this is more
	GNU-like :)
1999-02-07 03:14:15 +00:00
Miguel de Icaza
e67a8b9601 Code to display URL icons on the desktop as the urls. 1999-02-05 23:15:52 +00:00
Tuomas Kuosmanen
0e63e509f7 ..the core icon is now also in mc/new_icons /tigert 1999-02-02 00:27:05 +00:00
Timur Bakeyev
0498216235 Mon Feb 1 01:28:19 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add check against setuid() and setreuid() functions.
1999-01-31 23:32:28 +00:00
Norbert Warmuth
f75a6470ca Rerun configure when you have problems with missing slang.h.
Sun Jan 31 20:04:13 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
occurance of 0 with NULL should stop this stupidy. And replacing '\0'
with NULL is plain wrong!!. Reverted this replacement.

* vfs/ftpfs.c (load_no_proxy_list): ditto


Fri Jan 29 22:55:56 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* slang/slang.h: renamed to slang-mc.h

* slang/Makefile.in: delete slang.h on "make clean"

* configure.in: link slang/slang-mc.h to slang/slang.h when the
included slang is used. Problem was that MC's slang.h was used
when we compiled with an already installed SLang and the systems
header file were included with <slang/slang.h>.
Unfortunatly I can't use AC_LINK_FILES to make the links because
if we needn't make any links AC_LINK_FILES makes a link from
srcdir to top_builddir (builddir != srcdir).

Temporary add $LGPM to $LIBS when checking for the resizeterm
and keyok functions (ncurses might be linked against GPM).

Substitude PACKAGE (intl/Makefile makes use of it)


Sun Jan 31 19:42:47 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gnome/Makefile.in (install_mx): make it work with srcdir != builddir
(gmc.gnorba is located in $srcdir)

* src/hotlist.c (add_new_entry_input, add_new_group_input): Make the
quick_widget arrays static and various changes needed because they
are now static. add_widgets_i18n recalculates button positions
which get lost when the quick_widget arrays are non static.

* src/screen.c (to_buffer): nul terminate string when using strncpy

* src/setup.c: Save and restore new option ftpfs_first_cd_then_ls.


Sun Jan 31 19:57:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (insert_dot): New function. Insert a "." into the linked
list. Stat'ing the root directory of a ftpfs fails if the dot is
missing.

(retrieve_dir): insert "." into the linked list if the ftp server
haven't send it.

Sun Jan 31 19:50:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* The following changes make ftpfs work with a remote AmiTCP
server are the result of somehow longish EMail debugging session. I
don't know any public server of this kind but I was told the
combination Unix/Amiga boxes are often used in intranets.

* vfs/ftpfs.c (translate_path): New function. Translate a Unix path,
i.e. MC's internal path representation (e.g. /somedir/somefile) to
a path valid for the remote server. Every path transfered to the
remote server has to be mangled by this function right prior to
sending it. Currently only Amiga ftp servers are handled in a
special manner.

* vfs/ftpfs.c (various places): use translate_path

* vfs/ftpfs.c (login_server): Assume we have to mangle pathnames if
the greatings string from the server contains the word Amiga. If
this assumption is wrong I have to find another way to turn on
path translation.

* vfs/ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
if it is missing. MC needs it as seperator between hostname and
path in its internal url representation.
1999-01-31 20:28:13 +00:00
Timur Bakeyev
898014a521 Minor change.. 1999-01-27 01:16:45 +00:00
Jonathan Blandford
366f5e774b don't remember exactly what I did -- much of this is from before the CVS
machine went down and I went on vacation.  Newer toolbars...  It now
compiles too (gicon.c had some broken code in it)
1999-01-18 21:25:55 +00:00
Timur Bakeyev
14466bf7ca *** empty log message *** 1999-01-17 00:21:34 +00:00
Miguel de Icaza
4c6fef14d8 Export access to the treestore
Make gtkdtree use the treestore cache.

Next step: store the ->scanned attribute of tree_entry (otherwise, no
speedup will be noticed at all).  It is a 10 minute hack, but I will go
have dinner now.

Miguel.
1999-01-12 05:55:12 +00:00
Miguel de Icaza
080ce2ef7d 1999-01-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* configure.in (REGEX_O): Always include regex.o as the code we
	are using in gmc is not using regcomp/regexec, but the internal
	Emacs API.

	* src/regex.c: Do not compile the POSIX compatibility code, as we
	do not use it.
1999-01-12 01:20:57 +00:00
Norbert Warmuth
ffb83af112 If someone experiences strange colors in the text edition
try "make clean; make".

Tue Dec 29 15:49:45 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* doc/mc.sgml, mc1.in (Color section): minor polishing
(Layout section): documented Highlight...

* gnome/gmain.c: According to the man page the color keyword for executable
files 	is `executable' and not `execute' -- changed.

* file.c (progress_update_one): Ignore files in subdirectories
when panel totals haven't been computed.

(erase_dir, erase_file): update progress bar (i.e. make it work
for OP_DELETE).

(panel_operate_flags): Don't compute panel totals for OP_MOVE.
When moving files on the same filesystem computing totals might
last much longer than the actual move operation.

(various places): adpations for the above changes.

* slint.c (try_alloc_color_pair): Changed hardcoded values into
defines.

* color.c, text.c: Added color "stalledlink" which is used for
stalled symbolic links. Formerly "viewunderline" was used for
this (IMO bad because function and name didn't match).
According to the man page the color keyword for executable files
is `executable' and not `execute' -- changed.

* color.c, color.h: When using SLang some color indexes are not
freely choosable (DEFAULT_COLOR clashed with A_BOLD_REVERSE).
Solved by adding holes in color_map.

* find.c (do_search): fixed possible memory leak
1998-12-29 16:52:49 +00:00
Norbert Warmuth
23cc8d469c Thu Dec 24 18:30:53 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in: Deleted du checks

* INSTALL: Deleted --with-dusum documentation.

* doc/mc.sgml, mc.1.in: Completed documentation about the Options/
Configuration dialog. Added Advanced chown subsection. Deleted
variables from the Special settings section which are now covered
by the configuration dialog.

* gnome/layout: Adapted for the new option Compute Totals in the
Configuration dialog.

* screen.c (recalculate_panel_summary): new function which recalculates
the summary information for the mini-status.

* screen.c (panel_reload): use recalculate_panel_summary

* screen.c (do_file_mark): Honour that dirsizes computed is now a
per entry flag.

* option.c: Added Compute Totals to the configuration dialog.

* file.c (compute_dir_size): made non static

(panel_operate_flags): Don't compute directory sizes if verbose
operation are off.

* cmd.c (dirsizes_cmd): Rewritten to use compute_dir_size as suggested
by Miguel, i.e. get rid of du. Now the dirsizes_cmd honours a
selection and computes sizes only for marked directories. Possible
improvement: add a dialog (or C-C?) to abort computation.

* dir.h (file_entry), panel.h (WPanel): Made the dirsizes computed
flag a per file flag.

* dir.c, find.c, panelize.c, screen.c: Adapted to new file_entry and
WPanel structure.

* features.inc: Deleted DUSUM information

* mc.hlp: remade because of changes in doc/mc.1.in
1998-12-24 21:37:24 +00:00
Norbert Warmuth
7f3a7ac4d7 Mon Dec 21 22:26:34 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* mountlist.c: Define xBSD on FreeBSD.

* doc/mc.sgml, mc.1.in: Deleted obsolete information about
tar_gz_memlimit. Partially rewrote the section about the
Virtual FS.. configuration dialog.

* main.c (parse_an_arg): New function, popt callback. Option
parsing in gmc was broken. The gnome*_init_with_popt_table free
the option tables and gmc tried to use the option tables later.

* main.c (handle_args): In the Gnome edition don't parse the
options a second time.

* boxes.c (configure_vfs), setup.c: Deleted obsolete options.
tar.gz files are now always unzipped to a temporary file on disk.

* gnome/layout: Deleted obsolete widgets from the Virtual FS configuration
dialog.

* vfs/tar.c: Deleted global variable tar_gzipped_memlimit.

Mon Dec 21 14:28:55 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* filenot.c (my_mkdir_rec): Someone broke this function completely by deleting
a line. Funny things happen if you use an already freed pointer.
Improved error handling: try to make directories recursivly until
mkdir succeeds or fails with errno != ENOENT. Now you will get the
correct error message when you don't have permission to create a
directory.

* mountlist.c: Deleted function prototypes for strdup and strstr,
they might conflict with definitions in the system header files.
1998-12-21 23:30:53 +00:00
Christopher Blizzard
c71bddeb43 1998-12-17 Christopher Blizzard <blizzard@appliedtheory.com>
* autogen.sh (srcdir): Honor $ACLOCAL_FLAGS when running aclocal.
1998-12-17 19:57:06 +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
Tuomas Kuosmanen
b0c40f8794 Hum di dum. Put zum Iconz in new_icons... /tigert 1998-12-08 19:44:08 +00:00
Christopher Blizzard
ecd76b1deb 1998-12-08 Christopher Blizzard <blizzard@appliedtheory.com>
* configure.in (builddir): Add icons/Makefile to AC_OUTPUT so that
        the build will still work.  (Has this been replaced by new_icons?)
1998-12-08 19:02:03 +00:00
Pavel Machek
fc5a9c57c2 Small fixes, now fish should actually work. Dropped ELAST hack. 1998-12-07 10:15:17 +00:00
Miguel de Icaza
301e7fbfc3 Many changes:
- Beginning of the CORBA support for the file manager.
	- Tk and XView code dropped.

Miguel
1998-12-02 23:44:06 +00:00
Miguel de Icaza
aaa7b5e9a2 Lots of changes:
- GNOME edition now compiles without any trace of the text mode
  dependencies.

- We no longer link with libraries we do not use (crypt, gpm), this
  fixes the recent bug reports.

- More tree updates, enhancements.

Miguel.
1998-12-02 05:18:20 +00:00
Herbert Valerio Riedel
48f8f37b97 changed occurence of 'va_list *ap' to 'va_list ap' 1998-11-26 13:52:01 +00:00
Pavel Roskin
7f8b043a3e Following names changed to bring MC in accordance with curses.m4:
NO_COLOR_SUPPORT -> NO_COLOR_CURSES
SUNOS_CURSES -> USE_SUNOS_CURSES
HAS_CURSES defined in acconfig.h
config.h.in removed from CVS as it is generated by autoheader
1998-11-26 12:26:59 +00:00
Miguel de Icaza
69952de7c5 1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* autogen.sh: Add "-I macros" to the aclocal flags.

	* mc-aclocal.m4: Renamed fp_PROG_CC_STDC to MC_HPUX_PROG_CC_STDC
	so that aclocal will not complain about an obsolete macro.

	* configure.in: Use MC_HPUX_PROG_CC_STDC

	* ChangeLog: There was no ChangeLog here, so I added one.
1998-11-24 17:42:49 +00:00
Pavel Roskin
667f610191 * autogen.sh: Allow gettext newer than 0.10.39.
From Björn Eriksson <bjorn@bjornen.nu>
1997-01-01 01:36:41 +00:00