mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
377 lines
13 KiB
Plaintext
377 lines
13 KiB
Plaintext
Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* ftpfs.c (ftp_use_unix_list_options): New global variable/option.
|
||
If true we try to use 'LIST -la <path>'. When it fails we use the
|
||
two commands 'CWD <path>' and 'LIST' instead.
|
||
|
||
(resolve_symlink): rewritten. Don't get a second directory listing
|
||
with `LIST -lLa'. Instead use the cache to get the file stat of
|
||
symbolic links. If the directory the symlink points to isn't
|
||
already in the cache the directory listing will be fetched and
|
||
stored in the directory cache (without resolving symlinks
|
||
recursively).
|
||
The new method to resolve symlinks is faster if symlinks
|
||
the same directory or the directory the symlink points to
|
||
is already in the cache.
|
||
This function was small and nice until I discovered that it was
|
||
broken for symlinks to symlinks. Now it looks ugly and perhaps I
|
||
will revert it to use "LIST -lLa" again. With a fast connection it
|
||
doesn't matter which methode we use but with a slow connection I
|
||
wouldn't hesitate to burn more cpu cycles on the client side.
|
||
|
||
(retrieve_dir): Added parameter to tell whether to resolve
|
||
symlinks (don't resolve symlinks in directory listings retrieved
|
||
while resolving symlinks).
|
||
When we don't get a directory listing with 'LIST -la <path>' then
|
||
try to get it with `CWD <path>; LIST'.
|
||
|
||
Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
|
||
|
||
(retrieve_file_start2): Don't create target file O_EXCL, in
|
||
copy_file_file we check existance of the target file and know
|
||
that we want to truncate it (this change was already done a
|
||
while back but it was reverted with the vfs-split).
|
||
|
||
Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* ftpfs.h (struct connection): added boolean which indicates that
|
||
the ftp server doesn't understand Unix ls options
|
||
|
||
* ftpfs.h (struct dir): added enum to store symlink status of the
|
||
in memory directory cache (directory has no symbolic links;
|
||
symbolic links but not yet resolved; symbolic links which are resolved)
|
||
|
||
Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
|
||
honour the additional boolean parameter
|
||
|
||
Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
|
||
|
||
* vfs.h: add vfs_split() declaration, to make sfs.c happy.
|
||
|
||
* Make-mc.in, Makefile.am: Updated to include fish.c
|
||
|
||
1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* sfs.c (sfs_free): assignment operator was used to check for equality
|
||
|
||
Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
|
||
|
||
* sfs.c: memory leak fixed
|
||
|
||
* vfs.c: split parse_ls_lga into more functions
|
||
|
||
* fish.c added, now you can access files over rsh/ssh connection
|
||
|
||
* shared*.c: reworked a bit not to include so many of ugly X_'s
|
||
|
||
Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
|
||
|
||
* ftpfs.c: cleanup of code, few static's added
|
||
|
||
* extfs/uarj: added, still, you need patches to unarj to make this
|
||
work
|
||
|
||
* util-alone.c: now includes code from libvfs.c, so we can kill
|
||
libvfs.c (which is good thing as it was non-standard in Makefiles)
|
||
|
||
Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
|
||
|
||
* undelfs.c: fixed, it has been broken for too long
|
||
|
||
* vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
|
||
|
||
* vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
|
||
handling in case of NULL in *_vfs_ops.
|
||
|
||
* extfs.c, ftpfs.c, tar.c: made use of above change
|
||
|
||
* vfs.c: cleanup of macros generating mc_*()
|
||
|
||
* libvfs.c: adding variable mc_home
|
||
|
||
Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
|
||
|
||
* extfs.c: mc_extfsdir was not defined in extfs_open()
|
||
|
||
* Make-mc.in: sfs.c was not compiled, linked and copied out
|
||
extfs/sfs.ini was not installed and copied out
|
||
|
||
* Makefile.am: sfs.c was not linked to standalone VFS
|
||
|
||
Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
|
||
|
||
* Added vfs_uid for use by libvfs.so users (rpc.nfsd)
|
||
|
||
* Added single file filesystem (sfs)
|
||
|
||
* Added vfs_flags so library users can disable selected
|
||
filesystems
|
||
|
||
* Minor shuffling of functions so garbage collection works for
|
||
library
|
||
|
||
1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
|
||
|
||
* Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
|
||
`mc-src'.
|
||
|
||
Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
|
||
|
||
* extfs/patchfs: %k replaced with more portable %H in the format
|
||
for "date" command
|
||
|
||
* extfs/extfs.ini: Added patchfs and mailfs. Some comments
|
||
changed
|
||
|
||
Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
|
||
|
||
* extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
|
||
lines without enf-of-line.
|
||
|
||
Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
|
||
|
||
* tar.c (read_header): Support for linkflag on BSDI tar (pax), it
|
||
is always 0.
|
||
|
||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||
|
||
* ftpfs.c (ftpfs_open_socket): Potential security break fix.
|
||
|
||
1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
|
||
|
||
* Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
|
||
Don't try building this, yet.
|
||
|
||
1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
|
||
|
||
* Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
|
||
and $(EXTFS_OUT) because the first must be installed from
|
||
$(srcdir) and the second from $(builddir).
|
||
|
||
Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
|
||
|
||
* Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
|
||
|
||
* Makefile.am: New file.
|
||
* Make-mc.in: Renamed from Makefile.in.
|
||
* Makefile.in: Removed.
|
||
|
||
Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
|
||
|
||
* Makefile.in: Rewritten stuff concerning extfs files.
|
||
|
||
Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
|
||
|
||
* Makefile.in: Remove arfs, since it doesn't seem to exist
|
||
|
||
Wed Jun 17 Pavel Machek <pavel@ucw.cz>
|
||
* Rename helper scripts (extfs/{rar|lha|...}.in), so their names
|
||
are more logical (and so that things actually work, because new
|
||
names are currently in extfs.ini).
|
||
|
||
Wed Jun 17 Pavel Machek <pavel@ucw.cz>
|
||
* Modified code to use tempnam() instead of tmpnam(), fixed
|
||
tempnam() to use NULL instead of 0.
|
||
|
||
Wed Jun 3 Pavel Machek <pavel@ucw.cz>
|
||
|
||
* libvfs.c: adding libvfs.c which should contain things specific
|
||
to stand-alone libvfs.so. (This file was missing from previous
|
||
merge.)
|
||
|
||
Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* ftpfs.c (ftpfs_fill_names): use right character to seperate
|
||
prefix and username
|
||
|
||
Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <timur@comtat.kazan.ru>
|
||
* vfs.c (parse_ls_lga): allow a bit wider range of listings.
|
||
|
||
* vfs.c (is_time, is_year): new functions
|
||
|
||
Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
|
||
|
||
Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
|
||
|
||
* extfs.c, shared.c, tar.c: I changed semantics in my previous
|
||
patch - _get_path() now modifies strings passed to it. I thought
|
||
that I were carefull enough not to introduce bugs. You guessed it -
|
||
I was not. [Many tar_ and extfs_ functions modify strings passed
|
||
to them, but as they are only called from vfs layer, it does not
|
||
matter much.]
|
||
So I renamed function to alert everyone that semantics changed.
|
||
|
||
Fixed bugs in timestamping (and segfaults) when you entered tar
|
||
inside zip file or similar.
|
||
|
||
* vfs.c (mc_open): Die if the filesystem doesn't support open
|
||
|
||
??? Pavel Machek <pavel@ucw.cz>
|
||
|
||
* shared.c: Shared parts of extfs.c and tar.c are now in shared.c
|
||
|
||
* util-alone.*: VFS should be able to compile stand-alone into
|
||
libvfs.so usable by anyone. This is first step.
|
||
|
||
* vfs.c & others: syntax change. We no longer use
|
||
tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
|
||
better defined meaning. Similar changes are done to all other
|
||
protocols. This change touched really _many_ places of code.
|
||
|
||
|
||
1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||
|
||
* vfs.c (MC_DIROP): Macro now returns the proper value.
|
||
|
||
1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
|
||
|
||
* Makefile.in ('install' target): 'mcserv' not installed, if
|
||
net-code is not enabled by 'configure'.
|
||
|
||
Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* Makefile.in (LIBS): add @LINTL@
|
||
|
||
Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
|
||
optimation is wrong because for directories containing spaces we
|
||
have to "CWD <pathname>" and "LIST -la" instead of
|
||
"LIST -la <pathname>".
|
||
I implemented a different optimation. Now ftpfs_chdir only stores
|
||
the new working directory and sets a flag. __ftpfs_chdir is called
|
||
when we really want to change the directory on the ftp server.
|
||
|
||
(resolve_symlink): Log the directory listing to the logfile.
|
||
|
||
* ftpfs.h (struct ftpfs_connection): Added a (per connection)
|
||
cwd_defered flag.
|
||
|
||
Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* Makefile.in: Links to mad.c and mad.h were created wrong when
|
||
srcdir != builddir and directory depth to srcdir and builddir were
|
||
different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
|
||
|
||
* ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
|
||
in copy_file_file we check existance of the target file and know
|
||
that we want to truncate it.
|
||
|
||
1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||
|
||
* tar.c (read_header): Mark regular files with S_IFREG.
|
||
|
||
Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
|
||
my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
|
||
copyout of 4.1.32.
|
||
|
||
1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||
|
||
* ftpfs.c (retrieve_file_start2): Open file exclusively.
|
||
(retrieve_file): likewise.
|
||
|
||
1998-03-31 Philippe De Muyter <phdm@macqel.be>
|
||
|
||
* vfs.h: compilation fix for m68k-motorola-sysv
|
||
|
||
Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* extfs/hp48: Added a usage summary
|
||
|
||
Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
|
||
|
||
* Makefile.in, extfs/extfs.ini, extfs/hp48: New external
|
||
filesystem to view and copy files to/from the HP48.
|
||
|
||
Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
|
||
|
||
* extfs.c: Add support for writtable external file systems.
|
||
Required for the httpfs.
|
||
|
||
Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
|
||
|
||
* extfs.c (open_extfs_archive): Pass the quoted argument to the
|
||
list command.
|
||
|
||
* mailfs: new file system.
|
||
|
||
1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
|
||
|
||
* tar.c: fix the bug which core dumps when trying to view tar file
|
||
with many files (over 60000).
|
||
|
||
Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
|
||
|
||
* vfs.c (mc_opendir): Do not make conversions between int/void *
|
||
to make the code compile and work on the Alpha correctly.
|
||
Allocate a pointer to an int and use that instead.
|
||
|
||
Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
|
||
|
||
* extfs/rpm: Small fix for older RPM files.
|
||
|
||
Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
|
||
|
||
* vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
|
||
free the extfs buffers immediatly instead of waiting for the vfs-
|
||
timeout
|
||
|
||
Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
|
||
|
||
* vfs.c (vfs_canon): the "local:" case was consuming one extra
|
||
character. This fixes the bug reported by Andrej. Also, handle
|
||
the non-canonical case of arguments to local:
|
||
|
||
Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
|
||
|
||
* mcserv.c (get_client): The parent now waits for the first forked
|
||
process, getting rid of the zombies.
|
||
|
||
* utilvfs.c (open_tcp_link): If we can not contact the remote
|
||
portmapper, set the protocol version to 1.
|
||
|
||
Fri May 16 16:42:18 1997 Tomasz K<>oczko, <kloczek@rudy.mif.pg.gda.pl>
|
||
|
||
* mc.spec: New spec file, this packages mc, mcserv and tkmc.
|
||
|
||
* lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
|
||
|
||
* vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
|
||
more info currently displayed (changeslogs, Os, URL, packager
|
||
|
||
Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
|
||
|
||
* vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
|
||
force vfs scripts to be executable on those systems that use
|
||
install.sh
|
||
|
||
* src/utilunix.c: Implement socketpair for SCO flavored systems.
|
||
|
||
Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
|
||
|
||
* configure.in (--with-hsc): fix.
|
||
|
||
* vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
|
||
passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
|
||
passing it as integer)
|
||
|
||
Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
|
||
|
||
* extfs/lha: Updated the lha filesystem and included a command
|
||
for running an executable from within an lha archive suggested
|
||
by Zdenek Kabelac <kabi@informatics.muni.cz>
|
||
|
||
* extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
|
||
config.in to create these VFS's for cleaner compilation
|
||
|