Commit Graph

756 Commits

Author SHA1 Message Date
Pavel Machek 937fc9a607 Missing entry from prev. commit 1998-10-06 17:09:34 +00:00
Pavel Machek f6b74c679c Disable BROKEN_PATHS by default. 1998-10-06 13:37:12 +00:00
Pavel Machek b99161ec69 Add path_magic to work properly with #ftp:asdf files created by
malicious user
1998-10-05 18:32:53 +00:00
Norbert Warmuth b920b0b1c4 Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/ftpfs.c (resolve_symlink): fixed cut'n paste error in my last commit,
i.e. make it compile)
1998-10-03 12:30:03 +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 ef0f6d00fc vfs_force_expire() was incorrectly defined in vfs.h 1998-10-01 17:42:05 +00:00
Miguel de Icaza f149bf7733 Support changes in recent rpm 1998-10-01 16:40:57 +00:00
Pavel Machek 8ad6f74d84 Make make clean work properly. 1998-09-29 22:49:38 +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
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
Elliot Lee 78dd7ba78c libgnome:
gnome-triggers.* Start adding sound sample support to the triggers
			 (not finished).
	gnomelib-init.c: Initialize trigger subsystem upon startup.
	libgnomeui:
		Makefile.am: Fix rules for generating the
			     gnometypebuiltins*.[ch]
		gnometypebuiltins_evals.c: No calendar stuff (*broken*)
	libvfs/Makefile.am: Install vfs.h into <vfs/vfs.h>
1998-09-28 18:58:36 +00:00
Pavel Machek a92e6f3ea8 Changed license to LGPL, added passing of vfs * (acting as self), so
we can do OOP-like trics.
1998-09-27 19:27:58 +00:00
Miguel de Icaza 3059f6c31a Fix fish warnings -mig 1998-09-25 22:34:59 +00:00
Miguel de Icaza 207079776b Pass3 1998-09-25 20:15:00 +00:00
Miguel de Icaza 3ca9a94f82 update .cvsignore 1998-09-25 20:11:21 +00:00
Miguel de Icaza c6bf31046b More makefile fixes -mig 1998-09-25 20:10:06 +00:00
Miguel de Icaza 8fac5dd743 More makefile fixes -mig 1998-09-25 20:00:42 +00:00
Tom Tromey 00922504b1 Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
* vfs.h (MIN, MAX): Only define if not already defined; glib.h
	also defines them.
1998-09-23 21:24:15 +00:00
Pavel Machek 6704676eb4 NULL should be used instead of 0 for pointers. 1998-09-23 11:52:58 +00:00
Pavel Machek b844272610 Minor bug fix. 1998-09-23 11:37:29 +00:00
Pavel Roskin d82df89441 Removed '\n' from a print_vfs_message() call in ftpfs.c
It caused funny effects if "XTerm hintbar" was on (rxvt+Windowmaker).
1998-09-23 10:54:54 +00:00
Miguel de Icaza 99de5c0197 Update the Makefile.am to the latest changes in vfs -mig 1998-09-22 17:44:13 +00:00
Pavel Roskin 062e729b03 Minor grammatic error in ChangeLog corrected 1998-09-21 15:20:34 +00:00
Pavel Machek a57c127f2d O_LINEAR option added, tar fixed to handle bzip/bzip2 files correctly. 1998-09-21 09:52:07 +00:00
Pavel Roskin ec5351e438 "make dist" is working again 1998-09-18 19:45:27 +00:00
Pavel Machek 7d12623b27 Cleaned up some warnings. 1998-09-18 14:28:07 +00:00
Pavel Machek ee12728d7d /#ssh: and /#rsh: aliases, ERRNOR() macro 1998-09-18 11:02:04 +00:00
Pavel Roskin f931d6b5d4 Some piece of memory was freed twice.
Minor clean-up for gcc -Wall.
1998-09-18 09:40:34 +00:00
Pavel Machek 699d35b586 Added -g to suggested options list, it is required for 4.3BSD systems
compatibility.
1998-09-17 10:40:57 +00:00
Timur Bakeyev b7d5b0c3a6 Just fix syntax errors :( 1998-09-15 21:01:39 +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
Timur Bakeyev 38d687870f *** empty log message *** 1998-09-14 20:50:11 +00:00
Norbert Warmuth e87670a3bd 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
* sfs.c (sfs_free): assignment operator was used to check for equality
1998-09-14 19:21:04 +00:00
Pavel Machek 6bc8719e94 Minor ommission fixed, it should compile, now. 1998-09-14 08:14:31 +00:00
Pavel Machek f45e5aa3fc Adding fish, cleanups, and small updates everywhere to support fish. 1998-09-13 10:40:43 +00:00
Timur Bakeyev 04daf44b51 Author's name fix 1998-09-11 23:37:44 +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 fb62340c99 Adding unarj and various small but neccessary bits. 1998-09-03 19:43:38 +00:00
Pavel Machek 436eedd6d4 Unneccessary code removal 1998-08-31 10:05:42 +00:00
Pavel Machek 286c61a200 Undelfs was too broken for too long. 1998-08-31 10:02:52 +00:00
Pavel Roskin fe579d66f3 extfs.c didn't compile because of error in extfs_open()
sfs was not even mentioned in makefiles
1998-08-27 18:51:20 +00:00
Miguel de Icaza 77c27f6130 Make program relocatable trough MCHOME variable, patch from Ludovic Drolez 1998-08-26 20:23:10 +00:00
Pavel Machek 3d0a91d4a8 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-25 16:00:16 +00:00
Raja R Harinath 5da83a791d * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
`mc-src'.

Doesn't compile, yet.
1998-08-20 19:14:43 +00:00
Mandrake (Geoff Harrison) b5d870d6e3 1998-08-16 Mandrake (Geoff Harrison) <mandrake@mandrake.net>
* Changed version numbers to 0.27.0 in lib dirs.  I will likely
    automate these changes a little later to use versions in the
    configure.in file
1998-08-17 02:31:13 +00:00
Pavel Roskin d0db348c9a mailfs and patchfs added to extfs.ini
patchfs uses %H instead of %k for "date" command
1998-08-12 18:08:42 +00:00
Pavel Roskin 5c716cf328 Fix for buggy "cut" on HP-UX 10.20 which ignores unterminated strings
and so makes all INFO about rpm packages invisible
1998-08-11 14:28:54 +00:00
Mandrake (Geoff Harrison) 0f1714fc43 1998-08-08 Mandrake (Geoff Harrison) <mandrake@mandrake.net>
* changed version numbers of 0.0.0 stuff to 0.26.0
        (-version-info x:y:z, where x is the major rev+the minor rev, z is the
        minor rev, y is the patchlevel.  -- thus the library would come out as
        libxxx.so.x-z.z.y)

(affected libgnome,libgnomeui,libvfs)

also added a couple of files to .cvsignore of libgtktty (config.sub, config.guess)
1998-08-09 01:20:23 +00:00
Miguel de Icaza da486c379b Tar file fixes for some BSD tar files + ftpfs security fix 1998-08-07 16:47:44 +00:00
Raja R Harinath aad748e83a * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
Don't try building this, yet.
1998-08-06 21:10:06 +00:00
Nuno Ferreira 4d0ef91f45 * 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).

	Anyone knows why builddir gets defined to the top builddir and not to
	the current builddir (in this case it gets defined to .../build/mc instead
	of .../build/mc/vfs).
1998-07-31 13:56:56 +00:00
Tom Tromey c42eed4dd1 Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
* Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
1998-07-24 06:37:37 +00:00
Tom Tromey 320e0976a5 Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.am: New file.
	* Make-mc.in: Renamed from Makefile.in.
	* Makefile.in: Removed.
1998-07-24 06:35:02 +00:00
Pavel Roskin 3231086af2 Added information about my changes in vfs/Makefile.in 1998-06-29 14:14:19 +00:00
Pavel Roskin 5814d76169 uar.in was not copied on "make dist"
uar and patchfs were not copied on "make install"
It should be now much easier to add a new external VFS.
1998-06-29 14:11:26 +00:00
Pavel Roskin ecd886afa5 "make install" and "make uninstall" corrected 1998-06-26 08:53:40 +00:00
Miguel de Icaza 4762551dfd Make it work with different ls commands -mig 1998-06-25 17:12:33 +00:00
Pavel Roskin b5e4d2a6dc Patch for ftpfs undone. Have problems with ntutil.quarta.ru again :-( 1998-06-23 08:23:05 +00:00
Manish Vachharajani 1194fd272b Changlogs ... 1998-06-23 03:33:30 +00:00
Manish Vachharajani 7ee5ddf7b0 Make things compile with gtk-1.1, also removed arfs from the Makefile since it seems not to exist 1998-06-23 02:27:34 +00:00
Pavel Roskin 9a8bfe1ce1 Send "LIST -la /." instead of "LIST -la //." for root directories on ftpfs 1998-06-19 07:29:27 +00:00
Pavel Machek 19ce77542e cpio needs to be renamed, too. 1998-06-17 18:51:40 +00:00
Pavel Machek 3390746ba4 Changelog for extfs/ changes. 1998-06-17 18:20:57 +00:00
Pavel Machek b08797f522 Rename helper scripts, so their names are more logical (and so that
things actually work, because new names are currently in extfs.ini).
1998-06-17 18:18:54 +00:00
Pavel Machek c57c593179 Modified code to use tempnam() instead of tmpnam(), fixed tempnam() to use NULL instead of 0. 1998-06-17 16:42:53 +00:00
Pavel Roskin 1060e8fa67 "./configure --without-vfs" should work again. Someone forgot to replace
libvfs.a with @LIBVFS@ in two places
1998-06-16 07:58:53 +00:00
Pavel Machek a3e64fbc8f Fixed typo. 1998-06-11 10:10:05 +00:00
Vincent Renardias a7967b891f Wed, 10 Jun 1998 17:43:25 +0200 [Vincent]
Correct typo.
1998-06-10 15:43:51 +00:00
Pavel Roskin def36dfcfe return with value from a function returning void 1998-06-10 14:57:19 +00:00
Pavel Machek e6e9f038ed Fixed number of callbacks, added prototype of function to set
callback. Nothing important.
1998-06-08 13:00:29 +00:00
Pavel Roskin bbc0f16f3c vfs/share.c was not copied on "make dist" 1998-06-04 14:44:50 +00:00
Miguel de Icaza 465cd6bda9 VFS changes from the list; A lot of fixes for the GNOME interface
that have been reported.  More to come.
1998-06-03 14:08:47 +00:00
Pavel Machek cc4a98f6a2 Corrected e-mail, added some changelog entries. 1998-06-03 13:11:36 +00:00
Pavel Machek 772283a6f4 This file was missing from previous merge. 1998-06-03 13:11:13 +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
Norbert Warmuth 39ad0b489a Thu May 28 16:42:31 1998 Pavel Machek <pavel@bug.mj.gts.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
1998-05-31 20:12:35 +00:00
Miguel de Icaza 9ee743dea5 Couple of fixes to Pavel's VFS stuff.
I do think I am going to expand the VFS functions again, I do not like
this macro stuff.

Miguel.
1998-05-26 19:46:37 +00:00
Miguel de Icaza 6472caa9ba I forgot this one as well 1998-05-26 05:09:37 +00:00
Miguel de Icaza 6fc9e99a61 Files I had forgotten to add from Pavel's VFS split. 1998-05-26 05:08:10 +00:00
Miguel de Icaza 7a7f7a3d85 Integration of Pavel Machek's vfs code split and vfs syntax change.
The VFS code can now be used by other applications (if you compile the
libvfs.a target and link against this).

Syntax has changes internally from the url-like syntax to a new syntax
that does not have ambiguities.  A default conversor for the new syntax
will be provided in the future, also dealing with the user ~/.mc/ext files
is currently in a non-optimal state.

Keep an eye on this mailing list.

Miguel.
1998-05-26 00:53:24 +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
Miguel de Icaza c457d7dd96 Pass2 of the QNX port of mc from Tamasi Gyorgy 1998-05-20 02:19:17 +00:00
Miguel de Icaza 779a7b8865 Namsh's fixes for i18n password input 1998-05-19 17:54:24 +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
Norbert Warmuth 293b05aaac Sun May 10 13:21:45 1998 Norbert Warmuth <k3190@fh-sw.de>
* edit/syntax.c: Disable debug messages on stderr.

* edit/edit.h: Added missing _()


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.


Sun May 10 13:27:50 1998  Norbert Warmuth  <k3190@fh-sw.de>

* widget.c (handle_char): Don't try to to delete default text in
input widget more than once. Right after MC's start copy_filename
(ESC Enter) failed because a flag wasn't cleared while characters
were stuffed into the commandline (Andrej reported this bug).

* main.c (copy_readlink): usr mc_readlink instead of readlink

* file.c: Changed default for the copy/move option "dive into
subdir if exists" to off (note: this was only possible after the
change in setup.c).

(copy_dir_dir): Activated the previously uncommented code which
implements "Dive into subdirs". Even when there's no case where we
actually would like that behaviour it is a documented feature.
Though I don't wanted to change the default behavour. Hence the
option change.

(file_mask_defaults): set dive_into_subdirs

(file_mask_dialog): Fix for debian Bug #20727: Move operation with
"[ ] Dive into subdir if exists" and destination filename not
wildcarded. If destination is an existing directory then files
will be moved into this directory. If destination is not an
existing directory then src file will be renamed (one file
selected) or an error will be displayed (more than one file
selected).

(file_mask_dialog): made the option "Using shell patterns" local
to the current copy/move operation, i.e. this option is always
initialized with the global options's value. Previously it affected
the global Options/Configuration/shell Patterns.
Another possiblilty would be to make the global option a default
option on startup and keep changes in the copy/move dialog
(without saving these changes with save setup).

* setup.c: Don't save and load options which can be changed
outside the options menu. For example I don't like that
preserve_uid_gid and dive_into_subdirs from the copy/move dialog
are saved and restored (strange, what about the other options from
this dialog?).
It would be much cleaner to make these option read-only. This way
one could edit ~/.mc/ini to provide default option setting on
startup and "Save setup" wouldn't have side effects outside the
option's menu.

Sun May 10 13:24:20 1998  Norbert Warmuth  <k3190@fh-sw.de>

* doc/mc.1.in, doc/mc.sgml, mc.hlp: Updated to reflect new default
for dive into subdirs.
1998-05-10 13:41:43 +00:00
Norbert Warmuth 3ba4b676a3 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)
1998-05-04 09:42:55 +00:00
Norbert Warmuth 3b631ed12e Fix the ftp bug reported by Andrej Borsenkow. If we have to keep
O_EXCL in retrieve_file_start2 then I will find a different fix.


Mon May  4 10:27:49 1998  Norbert Warmuth  <k3190@fh-sw.de>

* 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.


Mon May  4 10:21:31 1998  Norbert Warmuth  <k3190@fh-sw.de>

* file.c (copy_file_file): Schedule deletion of short target file
only when we created or truncated the target file and not already
when we decided to overwrite an existing file.
1998-05-04 09:29:52 +00:00
Miguel de Icaza e3dfc9d95a 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* tar.c (read_header): Mark regular files with S_IFREG.
1998-04-30 00:51:11 +00:00
Norbert Warmuth 097fe43280 I improved the movement keys of the internal viewer a little bit.
Now in wrap mode the End key and cursor up key behave much better
(e.g. when viewing binary files with lots of wrapped lines).
It's not perfekt but it's better than it used to be.



Tue Apr 28 06:52:24 1998  Norbert Warmuth  <k3190@fh-sw.de>

* gnome/gcmd.c (gnome_open_terminal): Changed my_system(1,...) to
my_system(EXECUTE_AS_SHELL,...)


Tue Apr 28 06:06:03 1998  Norbert Warmuth  <k3190@fh-sw.de>

* vfs/extfs.c (extfs_open, extfs_close): Changed my_system(1,...)
to my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
copyout in 4.1.32.


Tue Apr 28 06:11:08 1998  Norbert Warmuth  <k3190@fh-sw.de>

* view.c (toggle_wrap_mode, toggle_hex_mode): Force recalculation
of bottom_first (we mustn't use an already calculated and cached
value because it is invalid for the new mode and the End key would
not move to the end of the file).

* configure.in: Renamed the option `--with-our-slang' to
`--with-included-slang' (this one looks better because we also
have an `--with-included-gettext').
Make the option `--with-ext2undel' recognice a given path.

* cmd.c (view_file_at_line): In plain view (F13) set the default
magic flag to zero in order to view the file content unprocessed
(esp. don't uncompress files if they are compressed). The
view_simple_cmd got broken when the default magic flag in view.c
was changed from 0 to 1.

* view.c (do_view_init, goto_line): Set wrap mode temporary off
to make goto line number work, i.e. `line number' now always means
line number in file and not line number on screen (in wrap mode
one long line wrapped once is displayed in two lines on the screen).
That's important when the viewer is invoked from the find file
dialog to display even in wrap mode approxiamtly the part of the
file where we found the content we searched for.

(move_forward2): In wrap mode lines were sometimes counted wrong
causing cursor up to move more than one line.

(move_backward2): Fixed the movement in wrap mode.

(change_viewer): Always re-init viewer when we have a filename,
i. e. if the viewer is invoked with simple_view_cmd then we can switch
with the F8 key between unprocessed file content und uncompressed
file content.
(view_init): re-init view also when magic flag was altered
1998-04-28 14:19:48 +00:00
Miguel de Icaza c752ec9d97 Reorgranized the script execution code to fix a race condition that
only happened in the GNOME code (as the execution of anything from
the file manager in the GNOME version is done in background).

Miguel.
1998-04-24 01:08:06 +00:00
Miguel de Icaza 3b2ad8a238 Lots of prototypes added, warnings removed -miguel 1998-04-17 00:59:58 +00:00
Miguel de Icaza 33bcad66ff Wed Apr 15 10:48:41 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/hotlist.c: changes to hotlist boxes i18n.

	* src/panelize.c: changes to panelize boxes i18n.

	* src/wtools.c (query_dialog): Take care about possible '&' in
	button names while calculating window sizes and button positions.
1998-04-15 20:09:13 +00:00
Pavel Machek 2ba396f80c My previous patch for subshell.h was incorrect. I'm sorry.
Minor patches for OS2_NT.
Buffer size for pattern expansion was insufficient.
1998-04-08 19:37:06 +00:00
Miguel de Icaza 4e74ed86d0 1998-03-31 Philippe De Muyter <phdm@macqel.be>
* vfs.h: compilation fix for m68k-motorola-sysv
1998-03-31 17:27:11 +00:00
Norbert Warmuth 02978a50bf Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
* extfs/hp48: Added an usage summary. The HP48 external filesystem was
contributed by Christofer Edvardsen <ce@earthling.net>.

* subshell.c (init_subshell): Added ':q' to $cwd in the precmd for
tcsh. It prevents command and filename substitution (e.g. for
a directory named "[word] words")

* view.c (view_done): Set monitor off before deleting the view
file dialog.
1998-03-26 06:05:44 +00:00
Miguel de Icaza 959885252a Pavel Machek's zoofs patch 1998-03-24 00:08:21 +00:00
Norbert Warmuth e06cd1968c Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* gnome/gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
to KEY_BTAB (the name ncurses uses)

* gnome/Makefile.in: Install the icon-files and the layout-file from $srcdir.

* autogen.sh: added support for builddir != srcdir

* doc/Makefile.in: The manual pages are generated files and
located in the builddir and not in the srcdir.

* src/find.c (find_file): Use the same hotkey for the panelize button
as we use with the external panelize command.

* src/myslang.h: --with-ncurses didn't compile: renamed
KEY_BACKTAB to KEY_BTAB (the name ncurses uses)

* src/dlg.c (dlg_key_event): likewise

* src/tkmain.c (x_init_dlg): added dummy function to make it
compile

* vfs/Makefile.in, extfs/extfs.ini, extfs/hp48: New external
filesystem to view and copy files to/from the HP48.

Now it should be possible to build and install gnome edition with
builddir != srcdir.
1998-03-23 07:12:13 +00:00
Miguel de Icaza 5b49482824 Added contributed enhanced CPIO support + dialog box fixes for gnome -mig 1998-03-14 22:36:06 +00:00
Miguel de Icaza 2dc8839548 more, more .cvsignore files 1998-03-07 20:42:20 +00:00
Miguel de Icaza 179eae1dd0 More .cvsignore for mc 1998-03-07 20:40:21 +00:00
Miguel de Icaza 177bbf7262 .cvsignores for the Midnight Commander 1998-03-07 20:34:15 +00:00
Miguel de Icaza b52d3a73ca Sat Mar 7 14:33:38 1998 Pavel Roskin <pavel@absolute.spb.su>
* src/complete.c: obsolete hack for OS/2 and NT removed.
        Completion works for NT now (not very good)

        * src/main.c: HOME variable is respected by NT and OS/2
        versions. If it is missing, we use LIBDIR on OS2_NT and "/"
        on Unix.

        * src/key.h: SHIFT_PRESSED is set to 0x0010 on NT. This value
        doesn't conflict with definitions for ALT and CTRL, but it is
        SDK-compatible.

        * vfs/vfs.h: Minor changes for OS/2. EMX defines mkdir with
        2 arguments

        * vfs/tcputil,c, vfs/utilvfs.c: signal.h was includes twice.

        * vfs/Makefile.in: undelfs.h is not used and should disapper

        * slang/slos2tty.c: new file, copied from SLang-0.99.38,
        needed for OS/2 port

        * slang/Makefile.in: added slos2tty.c

        * vfs/extfs/README: annoying spell errors corrected

        * src/main.c: --termcap disabled for OS2_NT because it doesn't
        (and cannot) work. ARCH_FLAGS is not needed anymore.

        * src/text.c: most includes removed. Added a warning is someone
        compiles this file with HAVE_X. Improved color scheme for
        consoles with 16 background colors (e.g. OS/2). Hack for OS/2
        removed.

        * src/util.c, src/util.h: STRCOMP and MC_ARCH_FLAGS are moved
        to util.h. It may be useful to use them for filenames' completion
        on OS2_NT
1998-03-07 20:27:44 +00:00
Miguel de Icaza 51e39b09b5 Mon Mar 2 12:11:37 1998 Norbert Warmuth <k3190@fh-sw.de>
* vfs/ftpfs.c (changetype): Removed the hack which always forced
	sending the command "TYPE I" when changing to binary transfer mode
	was requested even when MC thought the connection was already in
	binary mode (bucket->isbinary == 1). The correct fix is now in
	login_server.

	* vfs/ftpfs.c (login_server): Set the transfer mode stored in
	the bucket to UNKNOWN (the bucket might be reused and the old
	transfer mode isn't valid any longer).

	* screen.c (panel_key): Cleanup: deleted if-clause with -1 (EV_NONE)
	which isn't delivered to widgets by the dialog manager; always
	return 1 when key was handled; removed the function keys from the
	panel's keymap (the function keys are always handled by the
	buttonbar); don't eat characters below ' ' (C-l and Shift-F3 now
	work even when quick search was started); characters between 32 and
	255 start quick search if there is no commandline (no C-s necessary
	to start search).

	* tree.c (tree_key): likewise
1998-03-02 18:09:16 +00:00
Miguel de Icaza eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00
Pavel Roskin 800e39ca96 * samba/configure.in: Require Autoconf 2.52 to make Debian
wrapper around Autoconf happy.
From Björn Eriksson <bjorn@bjornen.nu>
1997-01-01 01:23:31 +00:00