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
Pavel Roskin
f3bbd7bc5e
* main.c (argument_table): Reorder options into logical groups.
2003-10-08 05:06:37 +00:00
Pavel Roskin
403f5068d5
* dlg.c (dlg_broadcast_msg): Use widget_msg_t type.
...
(dlg_broadcast_msg_to): Likewise.
2003-10-07 22:59:01 +00:00
Pavel Roskin
b1aba35e22
* direntry.c: Make functions static when possible.
...
* xdirentry.h: Remove unneeded declarations.
2003-10-07 22:38:28 +00:00
Pavel Roskin
af43d757e3
Add two regressions. Typo fixes.
2003-09-30 16:50:42 +00:00
Pavel Roskin
36eda299f3
Make save_panel_types() static.
2003-09-29 18:05:38 +00:00
Pavel Roskin
e65f371486
* main.c (copy_other_pathname): Trailing slash in not always
...
inserted when it should be.
2003-09-29 16:38:03 +00:00
Pavel Roskin
3ba2ed6891
* find.c (do_search): Use strncpy() instead if unsafe strcpy().
...
Check mc_(l)stat() return values.
2003-09-29 15:58:08 +00:00
Pavel Roskin
9ddf2306e5
* vfs.c (vfs_type_from_op): Check if vfs->prefix is NULL before
...
calling strlen() on it.
(vfs_strip_suffix_from_filename): Likewise.
(mc_chdir): Don't panic if no chdir function is defined. This
fixes "cd #gz".
2003-09-28 20:35:08 +00:00
Pavel Roskin
5670baccb4
Update some URLs. From Frederic L. W. Meunier <lists@pervalidus.tk>
2003-09-28 20:04:05 +00:00
Pavel Roskin
df44271fd0
* sldisply.c (RGB_to_BGR): Make const.
...
* slsignal.c (SLsystem): Commented out.
2003-09-26 21:34:49 +00:00
Pavel Roskin
85dd40bb18
Comment fix.
2003-09-25 16:00:59 +00:00
Pavel Roskin
9ad0e19d57
* key.c (xterm_key_defines): More sequences for gnome-terminal.
2003-09-24 07:06:08 +00:00
Pavel Roskin
aec581084e
Add even more sequences (for gnome-terminal this time).
2003-09-24 03:32:23 +00:00
Pavel Roskin
60c275f0c3
Include translated menu files.
2003-09-24 01:43:56 +00:00
Pavel Roskin
0f83af0eb6
* doc/sr/Makefile.am: Don't install mcserv documentation if mcfs
...
support is disabled.
2003-09-24 01:42:09 +00:00
Pavel Roskin
0f822eb355
Force glib 1.2.x in the maximal coverage test.
2003-09-23 20:24:09 +00:00
Pavel Roskin
6683f6eae9
Also add Shift-Ins.
2003-09-23 07:01:57 +00:00
Pavel Roskin
a7032726f5
* key.c (xterm_key_defines): Add more sequences.
2003-09-23 06:58:34 +00:00
Pavel Roskin
6a728cb3f9
* lib/*.ti: Remove, these files are obsolete.
...
* lib/tdiff: Likewise.
* lib/xterm.tcap: Likewise.
* lib/Makefile.am: Remove obsolete files. Don't install
README.xterm and xterm.ad, there are partly obsolete and can
break things if used as is.
2003-09-23 06:11:19 +00:00
Pavel Roskin
81b9d5574b
Remove term directory, it's obsolete and irrelevant on modern systems.
2003-09-23 06:04:23 +00:00
Pavel Roskin
887d889906
Fix typos.
...
Reported by GoTaR <gotar@poczta.onet.pl>
2003-09-23 05:54:27 +00:00
Pavel Roskin
8853b2141e
Add information about F1n on Linux console.
2003-09-23 05:33:15 +00:00
Pavel Roskin
740630d22e
Done: chdir to '~' doesn't work.
2003-09-23 05:23:03 +00:00
Pavel Roskin
525deb6fc7
* vfs.c (vfs_canon): Remove tilde expansion. mc_chdir() should
...
act like chdir() of localfs, which doesn't expand tilde.
Reported by Doncho Gunchev <mr700@globalnet.bg>
2003-09-23 05:18:50 +00:00