1
1

127 Коммитов

Автор SHA1 Сообщение Дата
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
Norbert Warmuth
5a5fad89f8 I had to apply Timur's patch by hand. Therefore I'm the one
to blame first when it breaks something.


Mon Jun  1 12:33:08 1998  Alexander V. Lukyanov <lav@yars.free.net>

* configure.in: allowed to use `configure --with-included-gettext'
on systems (like solaris) that have their own libintl


Mon Jun  1 14:19:20 1998  Bakeyev I. Timur <timur@comtat.kazan.ru>
* vfs/vfs.c (parse_ls_lga): allow a bit wider range of listings.

* vfs/vfs.c (is_time, is_year): new functions


Mon Jun  1 12:47:50 1998  Norbert Warmuth  <k3190@fh-sw.de>

* vfs/ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
1998-06-01 12:52:18 +00:00
Miguel de Icaza
b9510f4a7d 1998-05-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
* complete.c (filename_completion_function): Use the vfs routines
	for name completion.
1998-05-31 21:35:38 +00:00
Miguel de Icaza
574aaebabd 1998-05-31 Jakub Jelinek <jj@ultra.linux.cz>
* complete.c (complete_engine): Fix completions.
1998-05-31 20:58:50 +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
d31976c59c 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* ext.h (MC_USER_EXT): New name for the per-user extension file
	(this needs redoing to concatenate this + the system stuff instead
	of the overwrite stuff we have now).  Now it is called the ~/.mc/ext-n
1998-05-26 05:03:38 +00:00
Norbert Warmuth
5b31e4afe5 Mon May 25 23:32:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* editdraw.c (print_to_widget): Ifdef'd SLang specific code in order
to make it compile with ncurses. Syntax highlighting in the
internal editor is already disabled when SLang isn't used.
1998-05-25 21:40:00 +00:00
Miguel de Icaza
0baa6ae099 Weee! First bugs fixed from the Bug tracking system:
1. Selecting text in an input line and typing a char
   now does the expected thing (Bug #17)

2. Drag and drop betwen icon view was broken (Bug #16
   (This is a bug introduced by the fact that when Icon
   View was introduced, I left the testing for the view
   mode here and there)

Extra stuff: runtime warnings fixed when creating a new window;
moved the "new window" option to the "file" menu, it makes more
sense there.  Force event flushing when I change the progress
status for vfs code.

Miguel
1998-05-24 22:21:56 +00:00
Norbert Warmuth
ac7d5df664 Sun May 24 02:45:03 1998 Norbert Warmuth <k3190@fh-sw.de>
* utilunix.c, util.h (errno_dir_not_empty): deleted

Sat May 23 22:29:57 1998  Norbert Warmuth  <k3190@fh-sw.de>

* file.c (check_dir_is_empty): New function which takes a path and
returns -1 on error, 1 if there are no entries besides "." and
".."  in the directory path points to, 0 else. This function
actually opens and reads the directory and doesn't do tricks we
used to do with rmdir.

* file.c (erase_dir, erase_dir_iff_empty): Use check_dir_is_empty
to detect non empty directories. The old code tried to remove the
directory and decided on errno whether the failure of rmdir was
caused by a non empty directory or whether there was a different
error.
Unfortunatly not every filesystem sets errno to EDIRNOTEMPTY if
you try to delete a non empty directory. Namely the linux user
space nfs server sets errno to EIO, Suns nfs server sets it to
EEXIST and the AIX nfs server sets it to ??? (Steve reported
problems on AIX so I guess AIX sets errno to a value we currently
don't check).
1998-05-24 01:29:36 +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
Norbert Warmuth
5baf384554 Thu May 21 00:09:45 1998 Norbert Warmuth <k3190@fh-sw.de>
* menu.c (menubar_event): Don't set menubar->selected to the
invalid value -1. Fix for the bug reported by root@liepa.soften.ktu.lt

* menu.c (menubar_drop_compute): removed the check for inrange
items which isn't necessary any longer.
1998-05-20 22:34:13 +00:00
Norbert Warmuth
fced018e54 This bug is also in 4.1.34.
Wed May 20 16:27:56 1998  Norbert Warmuth  <k3190@fh-sw.de>

* widget.c (history_put): input line history was defunct because
there was an #ifndef where an #ifdef should be.
Btw. PORT_WIDGET_WANTS_HISTORY seems incomplete because a lot of
history code is included even when this define is undefined.
1998-05-20 14:49:12 +00:00
Miguel de Icaza
0ff5c46bff Make life easier for those not having gettext, from Alexander 1998-05-20 02:26:23 +00:00
Miguel de Icaza
96c55ff5bb Various memory leak fixes.
Miguel.
1998-05-19 18:37:03 +00:00
Norbert Warmuth
321bc71bab Mon May 18 22:24:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ini.in: s/reges/regex/

* main.c (process_args): return void, the return value was only
used once but wrong (-h displayed help twice).
(handle_args): -h: don't display help twice
(print_usage): Don't print program name and version, that's
already done by version(0).

* menu.c (menubar_paint_idx): Highlight Hotkeys also on slow
terminals (hotkeys were not displayed at all).
1998-05-19 08:58:41 +00:00
Miguel de Icaza
f4a5f85ecf Moved the text icon layout code from here. 1998-05-18 22:48:48 +00:00
Miguel de Icaza
b7eab92d34 Color initialization trimming for X 1998-05-15 22:54:54 +00:00
Norbert Warmuth
6029deefa6 Thu May 14 01:56:11 1998 Norbert Warmuth <k3190@fh-sw.de>
* configure.in: Don't add -lintl to LIBS when included gettext is
used (further checks for libraries would fail because libintl.a
isn't build, yet). Instead use and substitute LINTL.

* src/Makefile.in (OURLIBS):      add @LINTL@
* gnome/Makefile.in (EXTRALIBS):  add @LINTL@
* tk/Makefile.in (EXTRALIBS):     add @LINTL@
* vfs/Makefile.in (LIBS):         add @LINTL@
* xv/Makefile.in (EXTRALIBS):     add @LINTL@
1998-05-14 00:13:36 +00:00
Paul Sheer
70db5514a2 more minor syntax highlighting mods 1998-05-12 16:00:11 +00:00
Miguel de Icaza
595c9f87d8 Keyboard works on iconic view. It is basically done.
We now just need to get some nice icons.

I am also revamping a little the toolbar, to have a switch to
icon mode and switch to listing mode icons.  To make people
happy.  More on this tomorrow.

Miguel.
1998-05-12 04:26:21 +00:00
Miguel de Icaza
d3d6d4530e Icon View/Listing view dialog box is working.
Next project: put a toolbar so that people that dont bother to
check "Display mode" menu entry will be able to change the mode.

Miguel.
1998-05-10 22:35:07 +00:00