Commit Graph

4226 Commits

Author SHA1 Message Date
Pavel Roskin
4756fbf271 * editcmd.c (freestrs): Set freed strings to NULL.
(catstrs): Use g_malloc() and g_free().
2002-08-20 23:57:34 +00:00
Pavel Roskin
2e88c3b557 Drop %q description, it's not supported and it never worked in the
text edition.
2002-08-20 23:27:00 +00:00
Pavel Roskin
42f28932fc * editcmd.c (freestrs): New function to clean temporary strings.
* edit.c (edit_clean): Call freestrs().
2002-08-20 23:18:36 +00:00
Pavel Roskin
37318c2b78 * editmenu.c: Use new create_menu() interface. 2002-08-20 21:31:23 +00:00
Pavel Roskin
608d74abda * menu.c (create_menu): Get help node as an argument.
* main.c: Use new create_menu() interface.
2002-08-20 21:30:06 +00:00
Pavel Roskin
c597efa641 Trim trailing spaces. Minor changes from David Martin. 2002-08-20 21:17:30 +00:00
Pavel Roskin
1f12ab85a9 Trim trailing spaces. 2002-08-20 21:03:09 +00:00
Pavel Roskin
5611faaf76 * doc/es/mc.1.in: Minor changes.
* doc/es/xnc.hlp: Likewise.
2002-08-20 20:47:19 +00:00
Pavel Roskin
cd02f87fe1 Update from David Martin <dmartina@excite.com> 2002-08-20 20:40:49 +00:00
Pavel Roskin
a2bead8484 Support conditional builds. 2002-08-20 19:42:05 +00:00
Andrew V. Samoilov
d49ff66fd4 * mc.spec.in: Add _mandir}/*/man1/*. 2002-08-20 16:43:06 +00:00
Andrew V. Samoilov
6e6b5d1d53 Updated 2002-08-20 16:20:40 +00:00
Pavel Roskin
fdd975af3a Missing return after perror(). 2002-08-20 16:14:48 +00:00
Pavel Roskin
f486423122 * man2hlp.c: Don't redirect stdout. Check result of ftell.
Drop support for invocation with 2 arguments.
2002-08-20 16:13:13 +00:00
Andrew V. Samoilov
e5a783c1f9 * mc.spec.in: Add /usr/lib/mc/mc.charsets. 2002-08-20 16:05:20 +00:00
Pavel Roskin
0f55a3f130 * doc/it/mc.1.in (Controlling Midnight Commander): Remove. 2002-08-20 14:54:05 +00:00
Marco Ciampa
dd5809a029 Overview done... 2002-08-20 11:08:36 +00:00
Pavel Roskin
685c693859 * configure.in: Add Italian documentation.
* doc/Makefile.am: Likewise.
2002-08-20 01:58:41 +00:00
Pavel Roskin
5154475a95 Update. 2002-08-20 01:18:23 +00:00
Pavel Roskin
1c411834a8 * direntry.c (vfs_s_get_line): Fix off-by-one buffer overflow. 2002-08-20 01:08:34 +00:00
Pavel Roskin
9a36e62af2 * fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
child if execvp() fails.
2002-08-20 00:14:33 +00:00
Pavel Roskin
2af1e85990 * cons.handler.c (handle_console): Use _exit(), not exit() in
the child.
2002-08-20 00:04:49 +00:00
Pavel Roskin
2c8f2419e5 * main.c (handle_args): Set POPT_CONTEXT_NO_EXEC flag for
poptGetContext().
* popt.c: Call abort() in execCommand() - we should not execute
anything here.
2002-08-20 00:01:33 +00:00
Pavel Roskin
9860f07fc9 * util.h: Remove unused and dangerous flags for my_system():
EXECUTE_TEMPFILE, EXECUTE_SETUID and EXECUTE_WAIT.
* utilunix.c: Corresponding adjustments.
* ext.c: Don't use EXECUTE_TEMPFILE, it has no effect.
2002-08-19 23:41:21 +00:00
Pavel Roskin
35aa47461b * sfs.c: Don't use flag EXECUTE_SETUID because it's being
removed as insecure and EXECUTE_WAIT because it has no effect.
* extfs.c: Likewise.
2002-08-19 23:20:03 +00:00
Pavel Roskin
d1e02fba0f * subshell.c (synchronize): Workaround for Cygwin (should not be
needed for the next version) - remove SIGCHLD blocking from
old_mask.
2002-08-19 22:28:00 +00:00
Marco Ciampa
728f254cd6 *** empty log message *** 2002-08-19 11:43:05 +00:00
Marco Ciampa
2b951eaced *** empty log message *** 2002-08-19 11:27:01 +00:00
Marco Ciampa
50871c06da First italian translation of main help screen... 2002-08-19 11:24:57 +00:00
Pavel Roskin
80bc69201d * acinclude.m4 (MC_WITH_VFS): Disable mcfs by default. 2002-08-19 07:27:57 +00:00
Pavel Roskin
7608383a3e * mcfs.c [!WITH_MCFS]: Disable most code. 2002-08-19 07:22:01 +00:00
Pavel Roskin
047a7f906e * dlg.h: Remove all unused flags for create_dlg(). Adjust all
dependencies.
2002-08-19 06:22:32 +00:00
Pavel Roskin
342b4bbd0f * cmd.c (fishlink_cmd): Implement user interface for FiSH.
* main.c: Add it to the menu.
2002-08-19 06:06:09 +00:00
Pavel Roskin
7c9b06dd4c * configure.in: Enable subshell support on all operating systems
by default.  Old issues are most likely solved by now.
2002-08-19 05:17:34 +00:00
Pavel Roskin
e29d69423a * help.c (help_follow_link): Made static. 2002-08-19 05:00:58 +00:00
Pavel Roskin
9ff6874d9e * lib/mc.ext.in: Try links before lynx. Force full path when
invoking X11 browsers - it breaks VFS, but VFS support in mc.ext
is already broken if the program starts in background.  Add a
comment discouraging taking this code as example.
2002-08-19 02:27:19 +00:00
Pavel Roskin
11bd8d9c39 * subshell.c (synchronize): Discard all remaining data from
stdin to the subshell.
2002-08-19 02:06:01 +00:00
Pavel Roskin
105877896d * subshell.c (exit_subshell) [AIX_TCSH_CODE_BELOW_IS_IT_FIXED]:
Remove.  Nobody has fixed this code for years.
2002-08-19 01:54:34 +00:00
Pavel Roskin
6efa4a23f3 * main.h [USE_INTERNAL_EDIT]: Don't include declarations from
edit.h.
* setup.c [USE_INTERNAL_EDIT]: Include edit.h.
2002-08-19 01:43:40 +00:00
Pavel Roskin
3a93326ce7 * editoptions.c: Make some variables static.
* edit.h: Take extern declaratrions from all C files.
2002-08-19 01:23:24 +00:00
Pavel Roskin
96322324ea * boxes.h: Remove user_format.
* boxes.c: Make more variables static, remove all extern
declarations.
* setup.c: Remove some extern declarations.
2002-08-19 01:01:20 +00:00
Pavel Roskin
f319f7671f * vfs.h: Declare vfs_timeout and tar_gzipped_memlimit. 2002-08-19 00:59:02 +00:00
Pavel Roskin
5dbb74eca2 * editcmd.c (edit_block_process_cmd): Plug memory leak.
Simplify logic, reformat.
2002-08-19 00:33:08 +00:00
Pavel Roskin
1e6c5b17ce * mountlist.h: Move some internals ...
* mountlist.c: ... here.
2002-08-19 00:07:08 +00:00
Pavel Roskin
2ec6e2893e * doc/mc.1.in (Controlling Midnight Commander): Remove, it's obsolete.
* doc/es/mc.1.in: Likewise.
* doc/ru/mc.1.in: Likewise.
* doc/hu/mc.hlp.hu: Likewise.
2002-08-18 23:36:55 +00:00
Pavel Roskin
ab104ea1f5 * lib/mc.menu: Remove all references to $MC_CONTROL_FILE, which
was unsafe by design and is no longer supported.  Use %t instead
of %u to preserve tags in case of failure.
2002-08-18 22:53:07 +00:00
Pavel Roskin
5d6b103e96 * vfs/extfs/ftplist.in: Remove support for running commands, it
makes no sence.
2002-08-18 22:40:36 +00:00
Pavel Roskin
0d89dec899 * main.c: Remove extremely unsafe and poorly designed support
for /tmp/mc.$PID.control file.
* util.c (my_putenv): Remove, it's unused now.
2002-08-18 22:31:49 +00:00
Pavel Roskin
b9421d6927 * panel.h (struct format_e): Make string_fn return const char *.
Adjust all dependencies.
* screen.c (string_file_mtime): Return empty string for "..".
(string_file_atime): Likewise.
(string_file_ctime): Likewise.
2002-08-18 22:01:51 +00:00
Pavel Roskin
05e708a791 * view.c (display): Use enum for boldflag values. Fix cursor
highlighting for the ASCII part of the hex editor.
2002-08-18 20:18:04 +00:00