Commit Graph

3965 Commits

Author SHA1 Message Date
Andrew V. Samoilov
9903101a05 Remove obsoleted location lines ("# file:line") 2002-08-16 08:39:31 +00:00
Pavel Roskin
479ccc534f * treestore.c (tree_store_remove_entry): Don't use ts.check_name
and don't check it.
2002-08-16 00:05:29 +00:00
Pavel Roskin
cafbb72684 * treestore.c: Remove unused code, reformat.
* treestore.h: Remove unused declarations.
2002-08-15 23:31:23 +00:00
Pavel Roskin
b1dbe77c5b * vfs.c (mc_def_getlocalcopy): Preserve existing extension. 2002-08-15 22:30:05 +00:00
Pavel Roskin
7f923cc9c0 * direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
strcpy().
2002-08-15 21:31:54 +00:00
Pavel Roskin
5a52a8bc85 * configure.in: Remove check for SIGTSTP, it's not needed for
the subshell support.
2002-08-15 21:23:33 +00:00
Pavel Roskin
0dbf2d1caf * acinclude.m4 (AC_SHORT_D_NAME_LEN): Remove, this test is now
done at runtime.
* configure.in: Don't use AC_SHORT_D_NAME_LEN.
2002-08-15 21:19:52 +00:00
Pavel Roskin
cf8ab0de99 * extfs.c (s_readdir): Simplify.
* direntry.c (vfs_s_readdir): Use vfs_dirent.
* mcfs.c (mcfs_readdir): Likewise.
* smbfs.c (smbfs_readdir): Likewise.
* undelfs.c (undelfs_readdir): Use vfs_dirent and
compute_namelen().
2002-08-15 21:15:17 +00:00
Pavel Roskin
37f335b8c0 * vfs.h: Introduce union vfs_dirent to ensure that we have
enough space for the filename.
* extfs.c (s_readdir): Use vfs_dirent.  Avoid strcpy().
2002-08-15 20:29:34 +00:00
Pavel Roskin
8b8d7de7ca * direntry.c (vfs_s_readdir): Use compute_namelen().
* extfs.c (s_readdir): Likewise.
* mcfs.c (mcfs_readdir): Likewise.
* smbfs.c (smbfs_readdir): Likewise.
2002-08-15 19:38:17 +00:00
Pavel Roskin
8d173014e9 * fs.h (compute_namelen): New inline function to take care of
the d_namlen field if and only if it's needed.
2002-08-15 19:35:53 +00:00
Pavel Roskin
58da40fa6a * screen.c (string_file_name): Replace non-printable characters
with question marks.
2002-08-15 16:52:51 +00:00
Pavel Roskin
f0dbdeb72e * subshell.c (read_subshell_prompt): Remove argument "how", it's
never set to VISIBLY.  Adjust all dependencies.  Eliminate hack
with "clear_now" - it causes invalid memory access and hides the
real problem.
* util.c (strip_ctrl_codes): Fix possible invalid memory access
if the escape sequence ends unexpectedly.
2002-08-15 06:53:44 +00:00
Pavel Roskin
786c75b683 * dir.c (do_load_dir): Fix leaking of file descriptors - always
call mc_closedir() before return.
2002-08-15 02:02:49 +00:00
Pavel Roskin
66c5184faa Revert undocumented change in the declaration of decompress_extension(). 2002-08-15 01:45:06 +00:00
Pavel Roskin
6d2f235053 * main.c (do_execute) [!HAVE_SUBSHELL_SUPPORT]: Compile fix. 2002-08-15 01:36:09 +00:00
Pavel Roskin
11a66b3ffd * vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
to fix warnings.
2002-08-15 01:33:11 +00:00
Andrew V. Samoilov
7d54de2474 * doc/ru/mc.1.in: Remove reference to README.edit.
* doc/mc.1.in: Likewise.
* doc/hu/mc.hlp.hu: Likewise. Remove /var/tmp/mc-4.5.46-buildroot
everywhere.
2002-08-14 17:08:26 +00:00
Andrew V. Samoilov
b6a6aa0759 * doc/ru/xnc.hlp: Don't highlight spaces before link names. 2002-08-14 16:47:54 +00:00
Andrew V. Samoilov
4c25b24536 * util.c (reverse_string): Speed up. 2002-08-14 16:33:50 +00:00
Pavel Roskin
36f199cc10 * doc/mc.1.in: Consistently use "native" ftp syntax.
* doc/ru/mc.1.in: Likewise.
* doc/es/mc.1.in: Update from David Martin <dmartina@excite.com>
* doc/es/xnc.hlp: Likewise.
2002-08-14 16:09:06 +00:00
Pavel Roskin
7ea7ec49ab * view.c (display): Use only declared color pairs to fix hex
editor appearance with ncurses.  Eliminate some useless defines.
2002-08-14 07:41:01 +00:00
Pavel Roskin
62a7a04fe5 * lib/mc.hlp.hu: Move ...
* doc/hu/mc.hlp.hu: ... here.  Make all necessary adjustments.
2002-08-14 06:18:48 +00:00
Pavel Roskin
c04d1ef570 Add mc.hlp. 2002-08-13 20:24:22 +00:00
Andrew V. Samoilov
d515c5d265 Highlight alias, exec & export. Higlight shift as other builtin commands 2002-08-13 18:54:49 +00:00
Pavel Roskin
d0b31c1c81 * key.c (delete_select_channel): Avoid using freed memory. 2002-08-10 04:37:13 +00:00
Pavel Roskin
c46d1f590b * ext.c (exec_extension): Eliminate unused argument.
(regex_command): Remove support for user actions.  Return int.
Adjust all dependencies.
2002-08-10 00:37:55 +00:00
Pavel Roskin
369316e6f0 Purge comments that make no sence now (Drop, Title, user-defined commands). 2002-08-10 00:18:07 +00:00
Pavel Roskin
bb4451f170 * ext.c (exec_extension): Make static. Remove support for Drop,
Title and Icon actions.  Adjust all dependencies.
2002-08-10 00:14:01 +00:00
Pavel Roskin
b7cdfa9c93 * main.c (sigchld_handler_no_subshell) [linux]: SIGTSTP is
always defined on Linux.
* subshell.c (sigchld_handler): No need to use SIGTSTP
explicitly when we really care about SIGCONT.
2002-08-09 23:36:06 +00:00
Pavel Roskin
5a6b3d6b61 * lib/mc.ext.in: Remove all unrecognized actions (e.g. Extract)
and entries that are obsolete or make no sence.
2002-08-09 23:19:53 +00:00
Pavel Roskin
ceeb8c3c97 * doc/xnc.hlp: Add translatable titles for topics "QueryBox" and
"How to use help".
2002-08-09 22:38:38 +00:00
Pavel Roskin
5c498191e6 * doc/Makefile.am: Don't distribute help file. Generate it in
the build directory.
* doc/es/Makefile.am: Likewise.
* doc/ru/Makefile.am: Likewise.
2002-08-09 22:25:37 +00:00
Pavel Roskin
a1aabfff50 * ncurses.patch: Remove, it's obsolete.
* Makefile.am: Remove ncurses.patch.
2002-08-09 22:00:27 +00:00
Pavel Roskin
56368fe9f2 * lib/xnc.hlp: Move ...
* doc/xnc.hlp: ... here.
* doc/Makefile.am: Necessary adjustments.
* lib/Makefile.am: Likewise.
* src/Makefile.am: Likewise.
2002-08-09 21:55:20 +00:00
Pavel Roskin
4322376300 Add normally generated files. 2002-08-09 21:30:11 +00:00
Pavel Roskin
a44252f864 * configure.in: Add Spanish documentation.
* doc/Makefile.am: Likewise.
* doc/es: Spanish documentation.
From David Martin <dmartina@excite.com>
2002-08-09 21:09:51 +00:00
Pavel Roskin
f68aab696c * lib/mc.lib: Add f11-f20 keys for Konsole. 2002-08-07 23:43:58 +00:00
Stanislav Brabec
b92d02c3c1 czech translation update 2002-08-07 21:37:07 +00:00
Pavel Roskin
02474a4788 Fix extension for lisp files. 2002-08-06 12:59:00 +00:00
Pavel Roskin
5669ebe342 * syntax/list.syntax: New file.
* syntax/Syntax: Add lisp.syntax.
* syntax/Makefile.am: Likewise.
From Mykolas Juraitis <juramyko@soften.ktu.lt> with minor changes.
2002-08-06 12:57:39 +00:00
Andrew V. Samoilov
c29498db11 * smbfs.c (myumask): Removed. It is only written and never read.
(smbfs_init): Use PATH_SEP_STR and reformat.
2002-08-06 06:02:52 +00:00
Pavel Roskin
e26cef8825 * subshell.c: Assume that SIGTSTP and SIGCONT are always
defined.  This is now checked in configure.  Otherwise
synchronize() would hang until subshell exits.
2002-08-04 06:59:34 +00:00
Pavel Roskin
23e56a01e1 * configure.in: Check for SIGTSTP and SIGCONT signals. Disable
subshell if this test fails.
2002-08-04 06:49:03 +00:00
Pavel Roskin
bd07726f90 Update from David Martín. 2002-08-03 22:15:22 +00:00
Pavel Roskin
925cc59229 * syntax/mail.syntax: Colors changed to be more readable.
* syntax/html.syntax: Don't require character entities to be
whole, but check their validity.
2002-08-03 21:00:22 +00:00
Pavel Roskin
4bf0ac48eb * syntax/html.syntax: Don't require character entities to be
whole, but check their validity.
2002-08-03 20:29:00 +00:00
Pavel Roskin
ab3336c68f MAD (Memory Allocation Debugger) has been removed. 2002-08-02 17:04:12 +00:00
Pavel Roskin
d9ab116149 * configure.in: No longer need to define REGEX_MALLOC. 2002-08-02 17:00:12 +00:00
Pavel Roskin
21cc1c5e28 * edit.c (edit_push_action): Fix access to uninitialized memory.
Found by Valgrind.
2002-08-02 16:44:04 +00:00