Pavel Roskin
e16856c85b
* build-glib1.sh: New file - download and compile glib 1.2.x,
...
then compile mc against it.
* build-glib2.sh: New file - download and compile glib 2.x with
dependencies (gettext, pkgconfig), then compile mc against it.
2003-11-20 19:43:35 +00:00
Pavel Roskin
1b2a6186ae
va_list argument should be first for portability.
2003-11-20 19:08:36 +00:00
Pavel Roskin
3ba446981a
Typo fix.
2003-11-20 18:40:11 +00:00
Pavel Roskin
948cfd2606
* util.c (load_mc_home_file): Eliminate g_strdup_printf().
2003-11-20 18:38:29 +00:00
Pavel Roskin
474fc58d94
* user.c (expand_format): Preserve "%" if followed by a
...
characted without special meaning.
2003-11-19 22:56:07 +00:00
Marco Ciampa
7a483be21e
Updated italian translatio
2003-11-17 18:14:53 +00:00
Pavel Roskin
2eeab44b93
* undelfs.c (undelfs_loaddel): Use g_try_malloc()/g_try_relloc()
...
since we want to recover and not abort the program if we don't
have enough memory.
(com_err): Fix implementation.
2003-11-14 21:36:35 +00:00
Pavel Roskin
6b6836fcda
Document Ctrl-Shift-Enter
2003-11-14 21:13:00 +00:00
Pavel Roskin
bf39c2c4ef
* glibcompat.h: Define g_try_realloc as realloc for glib 1.2.x.
2003-11-14 20:48:13 +00:00
Pavel Roskin
4a9c0da0b0
* main.c (midnight_callback): Ctrl-Shift-Enter now copies full
...
path to the command line, like in Total Commander.
2003-11-14 20:43:11 +00:00
Pavel Roskin
8147825da3
Typo fixes from Andrew.
2003-11-14 16:55:35 +00:00
Pavel Roskin
29d16f22be
Typo fixes.
2003-11-14 14:40:25 +00:00
Pavel Roskin
b57b6069b9
Fixed: VFS split.
2003-11-14 08:27:22 +00:00
Pavel Roskin
54b8c9aaad
* vfs.c (vfs_split): Deconstify.
...
* direntry.c (vfs_s_get_path_mangle): Likewise. "mangle" is in
the name for a reason. Use vfs_s_get_path() instead where the
path should be preserved.
* extfs.c (extfs_get_path_mangle): Likewise.
* sfs.c (sfs_vfmake): Protect against changes in vfs_split().
2003-11-14 08:25:50 +00:00
Pavel Roskin
d739c12313
Shift most changes to "After 4.6.1". Add most urgent regressions.
2003-11-13 17:32:31 +00:00
Pavel Roskin
6a53060842
Constify opendir() and chdir().
2003-11-13 16:47:06 +00:00
Pavel Roskin
30c4bd1b6d
* vfs.h: Constify chdir() and opendir() methods. Adjust all
...
dependencies.
* vfs.c (mc_chdir): Constify, eliminate protection against
broken implementations of chdir() method.
(mc_opendir): Constify.
2003-11-13 08:29:37 +00:00
Pavel Roskin
4b5a2a0b62
* direntry.c (vfs_s_stamp_me): Generalize and move ...
...
* gc.c (vfs_stamp_create): ... here. Use whenever possible.
2003-11-13 08:03:03 +00:00
Pavel Roskin
de12104436
* gc.c: Use NULL instead of -1 for empty vfsid. Adjust all
...
dependencies.
* undelfs.c (undelfs_get_path): Don't shadow static ext2_fname.
(undelfs_getid): Likewise. Use fs for non-empty vfsid.
2003-11-12 23:00:16 +00:00
Pavel Roskin
d2e2f5c544
* cpio.c (cpio_create_entry): Fix possible buffer underflow
...
and memory leak.
2003-11-12 17:10:48 +00:00
Pavel Roskin
90ec22ad39
Typo fix.
2003-11-12 17:08:51 +00:00
Pavel Roskin
0f055286e0
Stop updating the currently used versions.
...
Sufficient to say that they are from Debian unstable.
2003-11-12 04:07:45 +00:00
Pavel Roskin
4eab382dba
* gc.c: Make getid(), nothingisopen() and free() methods
...
optional. Eliminate trivial implementations.
(vfs_getid): New function - safe wrapper around getid(). Use
it everywhere.
(vfs_ncs_getid): Remove dead code, inprove readability.
2003-11-08 23:53:00 +00:00
Pavel Roskin
12d78ba8df
* boxes.c: Include "../vfs/gc.h" if VFS is used.
...
* hotlist.c: Likewise.
* key.c: Likewise.
* main.c: Likewise.
* setup.c: Likewise.
2003-11-07 23:50:18 +00:00
Pavel Roskin
b33f2cbb47
* vfs.c: Split garbage collection code into ...
...
* gc.c: ... this.
* vfs.h: Corresponding code moved ...
* gc.h: ... here.
* Makefile.am: Adjustments for the above.
2003-11-07 23:43:55 +00:00
Pavel Roskin
7633c40204
Remove redundant declaration of vfs_translate_url().
2003-11-07 23:29:25 +00:00
Pavel Roskin
083d26f3c8
* view.c (free_file): Don't use check_error_pipe(), display
...
error messages in close_error_pipe().
* utilunix.c (check_error_pipe): Remove, it's unused.
2003-11-07 21:15:47 +00:00
Pavel Roskin
106a90ae99
* vfs.c: Eliminate MC_OP. Reorder other MC_* macros for
...
readability.
2003-11-05 06:34:20 +00:00
Pavel Roskin
0318ed5d0b
* vfs.c: Move all parsing code, vfs_die() and vfs_get_password()
...
to utilvfs.c, vfs_print_stats() to direntry.c.
* utilvfs.c (vfs_parse_ls_lga): Disable caching current date,
it's done incorrectly.
2003-11-05 06:08:16 +00:00
Pavel Roskin
0a9c708bec
Fixes for bad strings:
...
"In this cases"
"~/.netrc file has not correct mode"
Reported by Arpad Biro <biro_arpad@yahoo.com>
2003-11-05 00:33:34 +00:00
Pavel Roskin
c468c1b6e9
* vfs.c: Allocate handles dynamically.
...
(get_bucket): Rewrite as vfs_new_handle().
(vfs_op): Make a function.
(vfs_info): Likewise.
(vfs_free_bucket): Replace with vfs_free_handle().
(mc_readdir): Expand, eliminate MC_DIROP.
2003-11-05 00:12:25 +00:00
Pavel Roskin
29486f10ef
Add "our" keyword.
2003-11-03 20:21:16 +00:00
Pavel Roskin
4bc92accff
* editcmd.c (edit_mail_dialog): Trivial clean-up.
2003-11-03 18:59:50 +00:00
Pavel Roskin
fce80af570
* widget.[ch] (listbox_search_text): Constify "text" argument.
...
(listbox_add_item): Ditto.
* find.c (add_to_list): Make inline.
(stop_idle): Ditto.
(status_update): Ditto.
(get_list_info): Ditto.
(push_directory): Constify "dir" argument and use
concat_dir_and_file() instead of g_strdup().
(find_add_match): Constify "dir" and "file" arguments.
(insert_file): Ditto. Don't append trailing PATH_SEP, it's done
in push_directory().
(search_content): Constify "directory" and "filename" arguments.
(do_search): Make "directory" char * instead of char[].
2003-10-30 16:43:22 +00:00
Pavel Roskin
f613c51eb5
* HACKING: New file - technical documentation for VFS.
...
* Makefile.am: Distribute it.
2003-10-30 06:00:41 +00:00
Pavel Roskin
24dd87b714
* vfs.c (vfs_rmstamp): Rescan the tree after the parents have
...
been removed. Otherwise using old data causes data corruption
in some combinations (e.g. extfs inside tatfs).
2003-10-30 05:58:06 +00:00
Pavel Roskin
6f9f431ae6
Initial version of technical documentation for VFS.
2003-10-30 05:52:35 +00:00
Pavel Roskin
cb2aaf4c16
* extfs.c: Remove current_dir field, its role was purely
...
decorative. Rename names starting with underscore.
2003-10-29 23:16:31 +00:00
Pavel Roskin
f2550b08ee
* extfs.h: Merge ...
...
* extfs.c: ... here.
* Makefile.am: Remove extfs.h.
2003-10-29 23:05:27 +00:00
Pavel Roskin
c6d7467b7b
* acinclude.m4 (MC_UNDELFS_CHECKS): Don't use internal Autoconf variables.
2003-10-29 22:17:41 +00:00
Pavel Roskin
8d5dc47ad7
* configure.in: Rewrite check for mmap() to avoid using internal
...
variables of Autoconf. Rename the rest of ac_cv_* to mc_cv_*.
2003-10-29 19:23:16 +00:00
Pavel Roskin
0ba019a90b
* configure.in: Use AC_CHECK_MEMBERS to check fields of struct
...
stat. Adjust all dependencies.
2003-10-29 17:36:16 +00:00
Pavel Roskin
cea13079c3
* ftpfs.c: Use HAVE_STRUCT_LINGER_L_LINGER instead of
...
HAVE_STRUCT_LINGER.
2003-10-29 17:23:35 +00:00
Pavel Roskin
b733f1fa6e
* acinclude.m4 (AC_STRUCT_LINGER): Remove, use AC_CHECK_MEMBERS
...
instead.
2003-10-29 17:18:15 +00:00
Pavel Roskin
8bc40b44f0
Fix includes not to rely on $(top_srcdir) being in the include path.
2003-10-29 08:54:22 +00:00
Pavel Roskin
e7663c1086
Document --disable-background and --disable-netcode.
2003-10-29 08:34:53 +00:00
Pavel Roskin
05b1a3f2c1
Add enable_netcode=no to the last "rarely used" configuration.
2003-10-29 08:18:15 +00:00
Pavel Roskin
afbc365860
* configure.in: Define SLANG_POSIX_SIGNALS if all 4 required
...
functions are present. Remove references to extraconf.h.
* extraconf.h: Eliminate.
* Makefile.am: Remove extraconf.h.
2003-10-29 08:15:32 +00:00
Pavel Roskin
036d1d4602
* fsusage.c: Merge ...
...
* mountlist.c: ... here. These files are closely related. Move
some defines from extraconf.h here.
* fsusage.h: Remove.
* Makefile.am: Remove fsusage.c and fsusage.h.
2003-10-29 08:12:44 +00:00
Pavel Roskin
6b4f397f5b
* Makefile.am: Compile utilvfs.c even without USE_VFS_NET.
...
* utilvfs.c (vfs_split_url): Only compile with USE_NETCODE
defined.
2003-10-29 07:19:25 +00:00