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
Pavel Roskin
fce42c9316
* syntax.c: Give names to numeric tokens.
2003-09-22 23:04:48 +00:00
Pavel Roskin
1b8b5509f5
Ignore normally created files.
2003-09-22 22:40:29 +00:00
Pavel Roskin
daab7bd737
* syntax.c (compare_word_to_right): Add checks that we don't go
...
beyond text length for certain invalid rules.
Reported by Juan C. Olivares <juancri@TAGnet.org>
2003-09-22 22:30:48 +00:00
Pavel Roskin
8729c81ddc
* find.c (find_file): Don't call file_mark(), it would use
...
uninitialized data.
* main.c (panel_clean_dir): Make panel dirty.
2003-09-22 22:05:27 +00:00
Pavel Roskin
dc41843825
Force using glib 1.2.x.
2003-09-22 21:07:59 +00:00
Pavel Roskin
c92b530b5f
* lib/mc.hint.sr: Updated.
...
* lib/mc.menu.sr: New file - translated menu.
* lib/Makefile.am: Add mc.menu.sr.
* doc/sr/: New Serbian documentation.
* doc/Makefile.am: Add "sr" directory.
* configure.in: Add substitutions for new files.
2003-09-22 21:04:59 +00:00
Pavel Roskin
4f2dd3ea03
Update from Strahinya Radich.
2003-09-22 20:47:22 +00:00
Pavel Roskin
5504df3ae6
* configure.in: Check for strlcpy() is glib 1.2.x is used.
2003-09-22 20:27:44 +00:00
Pavel Roskin
4520b25b36
* glibcompat.c: New file for compatibility with older versions
...
of glib.
* glibcompat.h: Likewise.
* Makefile.am: Add the new files SOURCES.
* global.h: Include glibcompat.h.
2003-09-22 20:21:48 +00:00
Pavel Roskin
cdd8f8ce86
* vfs.c (mc_get_current_wd): Use g_strlcpy() to avoid unneeded
...
padding and silence Valgrind.
2003-09-22 19:43:41 +00:00
Pavel Roskin
4014009077
* menu.c (menu_scan_hotkey): Use g_strlcpy() to avoid undefined
...
behavior when using strcpy() on overlapping strings.
* profile.c (GetSetProfile): Likewise.
* widget.c (button_scan_hotkey): Likewise.
Found by Valgrind.
2003-09-22 19:40:07 +00:00
Pavel Roskin
99a4576359
Make some variables overridable by the environment.
...
Create a function to try curl and wget.
Try curl first.
2003-09-17 23:28:02 +00:00