Commit Graph

5784 Commits

Author SHA1 Message Date
Pavel Roskin
dffb87e481 Discard libraries with absolute path.
Sort the output and group by object files.
2003-10-15 16:51:21 +00:00
Pavel Roskin
26ce05dfa3 * samba/lib/doscalls.c: Remove. Remove all references to it. 2003-10-15 07:32:45 +00:00
Pavel Roskin
bf5a5c4e04 * glibcompat.h: Define g_try_malloc as malloc for glib 1.2.x. 2003-10-15 07:05:24 +00:00
Pavel Roskin
5cb7bf73fd * view.c (load_view_file): Use g_try_malloc() because the
failure to allcate memory is acceptable here.
Reported by Pavel S. Shirshov <pavelsh@mail.ru>
2003-10-15 04:10:36 +00:00
Pavel Roskin
07d3a2cdaa Exclude *.o files with absolute path. 2003-10-14 23:10:25 +00:00
Pavel Roskin
49ca3dc449 New file - find unreferenced global symbols in cross-reference linker maps. 2003-10-14 23:04:01 +00:00
Pavel Roskin
39d5093acb * tree.c: Remove dead code.
* treestore.c (tree_store_add_entry): Make static.
(tree_store_start_check): Likewise.
2003-10-14 22:48:44 +00:00
Pavel Roskin
8cde1fd052 * configure.in: Don't check for seekdir() and telldir(). 2003-10-14 22:25:45 +00:00
Pavel Roskin
426c1836d5 * vfs.h: Remove all references to seekdir and telldir. Adjust
all dependencies.
2003-10-14 22:24:26 +00:00
Pavel Roskin
4b5acf720e Fix name of Björn Eriksson. 2003-10-14 22:02:38 +00:00
Pavel Roskin
0837ed2b49 * cmd.c: Cleanup of unneeded global functions and data.
* color.c: Likewise.
* dir.c: Likewise.
* file.c: Likewise.
* filegui.c: Likewise.
* hotlist.c: Likewise.
* layout.c: Likewise.
* main.c: Likewise.
* panelize.c: Likewise.
* wtools.c: Likewise.
2003-10-14 21:58:56 +00:00
Pavel Roskin
e90a7540a2 * edit.h: Make static all functions and variables that don't
need to be global.  Remove unused functions.  Adjust all
dependencies.
2003-10-14 21:48:40 +00:00
Pavel Roskin
600891d8d5 * vfs.c (_vfs_add_noncurrent_stamps): Fix incorrect casts. 2003-10-13 06:56:31 +00:00
Pavel Roskin
0c75cd31a5 * screen.c (do_enter_on_file_entry): Remove annoying message "no
action taken".  Simplify logic.  Confirmation affects VFS too.
2003-10-13 00:50:11 +00:00
Pavel Roskin
72c64a60e2 * extfs.c: Switch to self-registration.
* mcfs.c: Likewise.
* sfs.c: Likewise.
* smbfs.c: Likewise.
* undelfs.c: Likewise.
* vfs.s (_vfs_add_noncurrent_stamps): Temporary disable code
that uses vfs_extfs_ops.
(vfs_file_is_smb): Remove.
2003-10-12 22:25:53 +00:00
Pavel Roskin
9a5c3dda9e Restore lost ifdef. 2003-10-12 20:01:48 +00:00
Pavel Roskin
2e524d3cad * local.c: Switch to self-registration.
* vfs.c: Cache localfs class for the use in vfs_get_class().
2003-10-12 19:57:27 +00:00
Pavel Roskin
6cf97f4069 * xdirentry.h: Remove all typedefs, there is no need to hide the
fact that structures are structures.  Fix all dependencies.
2003-10-12 01:00:44 +00:00
Pavel Roskin
ce356e2ce0 Remove useless comment. 2003-10-12 00:26:43 +00:00
Pavel Roskin
00b57fd4bf * vfs.h: Remove typedef vfs, it's too ambiguous. Massive
changes to use struct vfs_class instead.
2003-10-12 00:24:00 +00:00
Pavel Roskin
4b1ec7399b * vfs.c (vfs_setup_wd): Initialize current_vfs here, not
globally.
(vfs_type_from_op): Rename to vfs_prefix_to_class(), avoid using
vfs_local_fs.
(vfs_strip_suffix_from_filename): Don't use vfs_local_fs.
2003-10-11 22:17:52 +00:00
Pavel Roskin
4de9d4d10e * vfs.h (ftpfs_hint_reread): Remove, it's unused. 2003-10-11 20:58:22 +00:00
Pavel Roskin
6e6fd9b352 * vfs.c (vfs_add_noncurrent_stamps): Call vfs_rm_parents() at
the end.  Change all callers not to call it.
(vfs_rm_parents): Make static.
2003-10-11 17:30:54 +00:00
Pavel Roskin
3fb8e46501 * direntry.c: Don't use vfs_local_fs directly, use VFSF_LOCAL.
* extfs.c: Likewise.
* vfs.c (vfs_addstamp): Likewise.
(vfs_init): Register vfs_local_fs like other classes.
2003-10-11 16:54:46 +00:00
Pavel Roskin
523589cddc * direntry.c: Make more functions static. They are filled in in
vfs_s_init_class() now and don't need to be exported.
2003-10-11 10:13:36 +00:00
Pavel Roskin
5cad1eb493 * tarfs.c: Switch to self-registration. 2003-10-11 09:55:13 +00:00
Pavel Roskin
b2486a2b71 * extfs.c: Don't include xdirentry.h.
* vfs.c: Likewise.
2003-10-11 09:36:29 +00:00
Pavel Roskin
c028805b33 * ftpfs.c: Switch to self-registration. 2003-10-11 09:27:37 +00:00
Pavel Roskin
7081d35409 * vfs.h: Remove parts used only when USE_VFS is not defined. 2003-10-11 09:05:49 +00:00
Pavel Roskin
f219b81311 * vfsdummy.h: New file to replace vfs.h if VFS is disabled.
* Makefile.am: Add vfsdummy.h.
* global.h [!USE_VFS]: Include vfsdummy.h.  Fix files that
include vfs.h directly.
2003-10-11 08:54:31 +00:00
Pavel Roskin
c09d542b9e * file.c (check_hardlinks): Use vfs_file_class_flags(). 2003-10-11 08:23:00 +00:00
Pavel Roskin
1d6e00faf0 * vfs.h: Introduce new VFS flags instead of the old unused ones.
* vfs.c (vfs_file_class_flags): New function.
(vfs_file_is_ftp): Eliminate.
(vfs_file_is_smb): Likewise.
(vfs_file_is_local): Likewise.
(vfs_current_is_local): Use new VFSF_LOCAL flag.
2003-10-11 08:21:16 +00:00
Pavel Roskin
60bab59379 * vfs.c: Constify arguments of many functions. 2003-10-11 07:38:05 +00:00
Pavel Roskin
091023c37a * undelfs.c (undelfs_get_path): Constify first argument.
* vfs.h (struct vfs_class): Constify path.  Fix all dependencies.
2003-10-11 07:20:53 +00:00
Pavel Roskin
ceaf7af0e0 * main.c (_do_panel_cd): Use vfs_release_path(). 2003-10-11 06:44:54 +00:00
Pavel Roskin
5659c0f5ee * vfs.c (vfs_release_path): New function, code taken from
_do_panel_cd().
(vfs_ncs_getid): Make static.
2003-10-11 06:43:59 +00:00
Pavel Roskin
9d1f2aae71 * vfs.c (vfs_type): Rename to vfs_get_class(). Fix prototype to
avoid using internal vfs type.  Adjust all dependencies.
(vfs_rosplit): Rename to _vfs_get_class().
2003-10-11 06:25:29 +00:00
Pavel Roskin
f1288c7338 * file.c: Use struct vfs_class, not type vfs, which should be
internal to VFS code.
2003-10-11 06:05:51 +00:00
Pavel Roskin
9632550889 * cpio.c (init_cpiofs): Set vfs_cpiofs_ops.setctl to NULL, or
bad things happen after unsuccessful deletion.
2003-10-11 05:50:34 +00:00
Pavel Roskin
14b3775e71 * vfs.h: Remove obsolete code. 2003-10-11 05:46:50 +00:00
Pavel Roskin
617bf6880a * vfs.c (vfs_flags): Eliminate, it's never assigned a non-zero
value.
* vfs.h: Eliminate unused VFS flags.
* local.c (vfs_nil_ops): Eliminate, it's unused now.
2003-10-10 23:49:44 +00:00
Pavel Roskin
413f8cbabd * fish.c: Convert to calling vfs_register_class().
* fish.h: Eliminate.  Adjust all dependencies.
* direntry.c (vfs_s_init_class): Add missing vfs_s_setctl().
2003-10-10 23:38:03 +00:00
Pavel Roskin
b2edfddd7e * vfs.h: Rename "struct _vfs" to "struct vfs_class". Allow
calling vfs_register() in the file defining the VFS class.
* vfs.c (vfs_init): Register cpiofs in cpio.c.
(vfs_register): Rename to vfs_register_class(), remove "static".
* direntry.c (vfs_s_init_class): New function - generic VFS
class registraction for vfs_s descendants.
* cpio.c: Register VFS class locally.
2003-10-10 23:13:09 +00:00
Pavel Roskin
6a9f6d29c4 Changes from Strahinya Radich. 2003-10-10 21:06:41 +00:00
Pavel Roskin
1ed14d2df5 Changes from Strahinya Radich. 2003-10-10 21:01:25 +00:00
Pavel Roskin
86d951b9c4 Remove references to obsolete xterm fixes. 2003-10-08 19:40:58 +00:00
Pavel Roskin
7323129879 Fix description of MC_DATADIR again, it was still wrong. 2003-10-08 05:45:47 +00:00
Pavel Roskin
7c4092e448 Better explanation of MC_DATADIR variable. 2003-10-08 05:39:16 +00:00
Pavel Roskin
3e90962522 Document long options.
Asked by Russ Urquhart <russurquhart1@comcast.net>
2003-10-08 05:21:45 +00:00
Pavel Roskin
0a3cfe30c3 * background.h: Eliminate background_wait variable. Adjust all
dependencies.
2003-10-08 05:16:58 +00:00