1
1

147 Коммитов

Автор SHA1 Сообщение Дата
Pavel Roskin
4973489859 Fixes to make MC compile with popt-1.2 1998-11-04 17:54:17 +00:00
Pavel Machek
9989eb0202 View now relies on sfs, few bugs killed 1998-11-02 21:47:06 +00:00
Miguel de Icaza
62fd1bb048 1998-11-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* setup.c: #ifdef'ed out stuff in the menus that will get changed
	as I rewrite the desktop part.
1998-11-02 03:28:59 +00:00
Miguel de Icaza
f15ee9faf9 Increased version number to 4.5.2
Documentation update.

1998-10-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* fish.c (command): Replace vnsprintf with g_strdup_vprintf.  This
	is both safe and more correct, as there is no limit on the
	pathname.

	* ftpfs.c (command): Same as above.

	* util-alone.c (print_vfs_message): Same as above.

1998-10-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* layout.c (print_vfs_message): Use g_snprintf instead of
	vnsprintf.
1998-10-30 17:45:43 +00:00
Sung-Hyun Nam
2b6cd9e300 1998-10-30 Sung-Hyun Nam <namsh@lgic.co.kr>
* color.c, slint.c: support transparent background if user use
'default' keyword for background color.
1998-10-30 01:28:09 +00:00
Norbert Warmuth
5bcfa822f9 Mon Oct 26 00:31:53 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in, Make.common.in: Split CPPFLAGS into CPPFLAGS and
MCCPPFLAGS. The last one contains references to variables which are
not available in every Makefile.in (namely intl/Makefile.in). Without
the split `-I ' was passed to the compiler (the compiler on DU 4.0
interprets -I as "don't search include files in /usr/include").

Mon Oct 26 00:38:30 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/Make-mc.in: added xdirentry.h to VFSHDRS
1998-10-26 00:38:32 +00:00
Norbert Warmuth
96f4d6c760 Thu Oct 22 20:41:50 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
*  configure.in (subshell): Don't define inline to be empty
when compiling with non-gcc compiler. AC_C_INLINE (invoked in
AM_GETTEXT_GNU) already defines inline if necessary.

Thu Oct 22 20:41:16 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* panelize.c (do_external_panelize): Not zeroing some fields
in cpanel led sometimes to segfaults.

Thu Oct 22 20:30:28 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
free dcache while resolving symlinks (i.e. don't free some
pointers which are in use by resolve_symlink).
1998-10-22 20:17:49 +00:00
Pavel Roskin
2837b5dc6a *.jar and *.JAR treated like *.zip and *.ZIP 1998-10-22 19:33:22 +00:00
Pavel Machek
c4dfdf5cee Report error if user presses enter on non-local vfs. 1998-10-16 10:26:38 +00:00
Pavel Machek
892585e1af Should check for error values of do_cd(). 1998-10-16 10:16:39 +00:00
Pavel Machek
176dc1f70d static's added, do_reget hack removed 1998-10-12 22:07:53 +00:00
Norbert Warmuth
7905463836 Sun Oct 11 20:21:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
* mfmt.c (main): When there are an even number of empty lines
between messages, all goes well, but when the number of empty
lines between messages is odd, the program fails.

Sun Oct 11 20:11:16 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* setup.c: Option ftpfs_use_unix_list_options was saved from
and restored to the wrong variable (ftpfs_use_passive_connections).
1998-10-11 19:19:03 +00:00
Norbert Warmuth
6c4af731df Mon Oct 5 21:33:14 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* screen.c (parse_display_format): Don't dereference NULL pointer
when format string is an empty string.
1998-10-05 19:38:44 +00:00
Norbert Warmuth
b422d3771e Mon Oct 5 19:59:56 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* main.c (translate_url_to_new_syntax): Translate ftp:// to an
absolute path instead of a relative path (fix to "hotlist" bug
reported by Andrej). This means we drop the "return to last dir"
feature for ftpfs (when leaving ftpfs with ".." returns to the
directory visited before entering the ftpfs).
1998-10-05 18:07:25 +00:00
Norbert Warmuth
b0280fd397 Sat Oct 3 00:54:23 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* gtkedit/Makefile.in (EDITOBJS): removed one wrong \\ (line
continuation)

Sat Oct  3 01:03:37 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (resolve_symlink): minor speed enhancement
1998-10-02 23:01:16 +00:00
Pavel Roskin
5e0a240dd2 MC now uses egrep found in PATH rather than in standard directories.
Minor fix to complie MC without VFS.
1998-10-01 17:48:03 +00:00
Pavel Machek
136006707c Fixed cursor positioning so that it does not call any vfs code, few
statics added to vfs layer, no longer use '0' in place of NULL.
1998-09-29 16:01:16 +00:00
Pavel Machek
27c7250201 Oops, forgot to commit changelog. 1998-09-29 13:29:09 +00:00
Pavel Roskin
23278e3eee Corrected code which prevents using of icon view by ports which don't
support it.
1998-09-29 10:44:57 +00:00
Norbert Warmuth
c10ecb8b0f Now gmc, tkmc and mc build one my glibc2 system (builddir != srcdir).
Mon Sep 28 21:55:13 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/find.c: Changed hotkey of the continue-button (both Chdir and
Continue used `C').

* po/*.po: remade because one msgstr in find.c changed

* src/Makefile.in: search config.status in builddir and not in rootdir,
i.e. make it compile for builddir != srcdir

* vfs/vfs.h (struct vfs): renamed errno to verrno because glibc2
defines errno as macro (#define errno (*__errno_location ()))

* vfs/Makefile.in: search config.status in builddir and not in srcdir/..,
i.e. make it compile for builddir != srcdir
1998-09-28 20:41:28 +00:00
Pavel Machek
f636f8002d New O_LINEAR mode is now being used. 1998-09-23 12:11:23 +00:00
Pavel Roskin
1607d36a09 All messages from mad.c are now sent to stderr and terminate with \r\n 1998-09-18 13:16:04 +00:00
Pavel Roskin
88bdbc991a Memory leak fixed. 1998-09-18 12:12:19 +00:00
Pavel Roskin
39f1ef7136 Minor fixes for the XV port to make it compile (hacks for the viewer are
not submitted because they are very brutal)
1998-09-17 18:26:04 +00:00
Norbert Warmuth
1d7c27d090 Thu Sep 17 07:32:23 1998 Norbert Warmuth <k3190@fh-sw.de>
* Makefile.in: After creating symlinks invoke another instance of
make to build libvfs.a. Otherwise make will not know how to build
the object files if symlinks have been created.
Added target cleansourcelinks (invoked with make distclean).
1998-09-17 05:44:03 +00:00
Paul Sheer
4b23e6eec7 *** empty log message *** 1998-09-15 20:41:52 +00:00
Norbert Warmuth
c0cc06ad60 Tue Sep 15 21:52:00 1998 Norbert Warmuth <k3190@fh-sw.de>
* mc.hlp, doc/mc.1.in, doc/mc.sgml: updated my EMail address
1998-09-15 20:02:47 +00:00
Norbert Warmuth
a04ee60c23 Tue Sep 15 20:51:42 1998 Norbert Warmuth <k3190@fh-sw.de>
* setup.c: save and restore new global variable/option
ftp_use_unix_list_options


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 unterstand 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
1998-09-15 19:41:22 +00:00
Paul Sheer
5582bcd323 *** empty log message *** 1998-09-14 23:05:42 +00:00
Norbert Warmuth
51dfbe0bc9 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
* file.c (move_dir_dir): Fixed severe bug reported by Andrew Pechenov
<zx80@demo.ru> (losing files when moving directories cross filesystem
boundaries): make sure erase_list is emptied always not only when we
deleted files.
1998-09-13 23:40:09 +00:00
Timur Bakeyev
445046de11 *** empty log message *** 1998-09-11 23:27:49 +00:00
Pavel Machek
bca3821dac screen.c: make cd .. from extfs file highlight it 1998-09-11 13:29:43 +00:00
Pavel Roskin
340fe60801 aclocal.m4 should not be deleted by autogen.sh if "macros" directory is
missing
1998-09-08 12:21:59 +00:00
Pavel Roskin
367e8389cd Use stdout instead of stderr for hints output on xterm 1998-09-08 12:12:59 +00:00
Pavel Roskin
d2e8a8696c Address of Pavel Roskin changed
I'm very, very sorry for this :-(((
1998-09-07 17:48:44 +00:00
Pavel Machek
1d4406bf3d ChangeLog update was missing from prev. update 1998-09-01 08:51:48 +00:00
Pavel Roskin
2f1dedf371 File VERSION removed from CVS since it is rebuilt every time as
configure is run. configure.in defines VERSION now
1998-08-27 18:58:13 +00:00
Raja R Harinath
db3b4bac0a * mad.h: Include stdlib.h/malloc.h first, to prevent prototypes
from being clobbered by the subsequent macro defines.
1998-08-20 22:05:09 +00:00
Pavel Roskin
66919ad808 Added "../" before some includes in edit.h to avoid unnecessary "-I"
options for the PC port makefiles.
1998-08-12 14:57:59 +00:00
Janne Kukonlehto
af1570c035 Sun Aug 9 22:39:12 1998 Janne Kukonlehto <jtklehto@paju.oulu.fi>
* mad.h (calloc): Added parentheses around the arguments as
        suggested by Steef Boerrigter <sxmboer@sci.kun.nl>.
1998-08-09 19:50:24 +00:00
Pavel Roskin
943177c616 makefile (small letters) should be highlighted too (as Makefile) 1998-07-31 08:06:37 +00:00
Miguel de Icaza
7ebee99cd5 1998-07-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (translated_mc_chdir): Quick hack to make the old
1998-07-30 22:56:58 +00:00
Tom Tromey
0768855871 Fri Jul 24 00:44:37 1998 Tom Tromey <tromey@cygnus.com>
* mc-local.m4 (AC_STRUCT_LINGER): Moved into macros/linger.m4.
	* autogen.sh: Include linger.m4 in aclocal.m4.
	* Makefile.in (GNOME_M4_FILES): Include linger.m4.
1998-07-24 06:56:54 +00:00
Tom Tromey
0f93ec20cd Thu Jul 23 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.in (aclocal.m4): Depend on all source files.  Include
	gnome-vfs.m4 and gnome-undelfs.m4.
	(GNOME_M4_FILES): New macro.
	* autogen.sh: Include gnome-vfs.m4 and gnome-undelfs.m4 in
	aclocal.m4.
	* configure.in: Use GNOME_VFS_CHECKS and GNOME_UNDELFS_CHECKS
	macros instead of in-line checks.  Create vfs/Makefile from
	vfs/Make-mc.in.
1998-07-24 06:39:59 +00:00
Pavel Roskin
376978b6fb Warning about missing hotlist redesigned
It should now fit in 80 columns
1998-07-23 18:58:28 +00:00
Paul Sheer
3cc82b6f4a editdraw.c, editmenu, editcmd.c: highlighting for Pascal
Added column text highlighting     added.
	and block movements.
1998-07-14 23:17:26 +00:00
Carsten Schaar
e6aabb8b00 * main.c (main): 'session_management_setup' will be called after
'gnome_init'.
1998-07-04 20:34:11 +00:00
Pavel Machek
38f5253e9c Libvfs.so needs i18n disabled. 1998-06-18 09:42:51 +00:00
Norbert Warmuth
3dcfb653b2 Fri Jun 5 23:34:20 1998 Timur I. Bakeyev <timur@comtat.kazan.ru>
* screen.c (file_entry_color): take care about BSD core dumps
which have names program.core instead of core
1998-06-05 22:54:12 +00:00
Norbert Warmuth
3550827e81 Mon Jun 1 15:41:20 1998 Norbert Warmuth <k3190@fh-sw.de>
* main.c (translate_url_to_new_syntax): translate the common
ftp url syntax to the syntax used by the new vfs code.

(_do_panel_cd): First translate the path if necessary. This makes
it possible to enter ftp://host on the commandline and in the
directory hotlist. We might need to move the translation code
to the vfs layer if there are other places where we want to enter
ftp://host.


Mon Jun  1 16:00:19 1998  Norbert Warmuth  <k3190@fh-sw.de>

* vfs/ftpfs.c (ftpfs_fill_names): use right character to seperate
prefix and username
1998-06-01 14:34:43 +00:00