Commit Graph

69 Commits

Author SHA1 Message Date
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