Commit Graph

3998 Commits

Author SHA1 Message Date
Andrew V. Samoilov
10044de5b9 * man2hlp.c (main): Don't use freed structure member. 2002-07-31 00:08:51 +00:00
Pavel Roskin
80561f39a7 * man2hlp.c (main): Use only stream I/O. Fix checks for error
conditions.  Reformat the whole file.
2002-07-30 22:57:01 +00:00
Pavel Roskin
56a685c3e6 * doc/ru/Makefile.am: Use man2hlp directly. 2002-07-30 22:22:35 +00:00
Pavel Roskin
7e2fd7960e * man2hlp.c: Avoid the need to use gindex.pl.
From Andrew V. Samoilov <sav@bcs.zp.ua>
* Makefile.am: Use man2hlp directly.
(EXTRA_DIST): Remove gindex.pl.
* gindex.pl: Remove.
2002-07-30 22:20:26 +00:00
Andrew V. Samoilov
bfe29a4ac2 * edit.h: Really remove open, close, write, read and mkdir definitions. 2002-07-30 18:39:04 +00:00
Pavel Roskin
b698076e0e * ext.c (regex_command): Additional check to prevent reading
unallocated memory when matching "shell/".  Found by Valgrind.
2002-07-30 05:39:48 +00:00
Pavel Roskin
bda707e46b * setup.c: Eliminate all PORT* macros.
* screen.c: Likewise.
2002-07-30 00:12:53 +00:00
Pavel Roskin
2935c85c85 * subshell.c (feed_subshell): Reading 0 bytes in a channel with
FD_ISSET being set is a sign of something being wrong - exit
immediately.  Observed when mc is run under su in xterm and
xterm is closed while the subshell is running.
Reported by Vlad Harchev <hvv@hippo.ru>
2002-07-30 00:03:26 +00:00
Pavel Roskin
777c46ee2a * color.h: Replace PORT_COLOR macro with BEST_COLOR, which uses
MY_COLOR_PAIR.
2002-07-29 23:37:22 +00:00
Pavel Roskin
6c7e1a46c8 * util.c: Remove unused functions.
* utilunix.c: Likewise.
* util.h: Update to match.
2002-07-29 23:12:31 +00:00
Pavel Roskin
0d360dca23 Remove irrelevant comment. 2002-07-29 22:14:16 +00:00
Pavel Roskin
b8f676ec41 * cons.saver.c: Use SEEK_SET instead of 0 in lseek().
* view.c: Likewise.
2002-07-29 21:18:51 +00:00
Pavel Roskin
17ceeead44 * main.c (do_execute): Add newline after "Press any key to
continue".
2002-07-29 19:30:41 +00:00
Andrew V. Samoilov
69e3d9a837 Restore missed "Enter file name: " entry and update.pl'ed 2002-07-29 18:00:32 +00:00
Andrew V. Samoilov
93335efe1e Restore missed "Enter file name: " entry 2002-07-29 17:47:52 +00:00
Andrew V. Samoilov
f7de38f345 * edit.h (edit_get_load_file): Mark message for translation.
(edit_get_save_file): Ditto.
2002-07-29 17:09:02 +00:00
Andrew V. Samoilov
3e982cf3fc * samba/configure.in: Don't check for union semun.
* samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
declare union semun.
2002-07-29 15:19:36 +00:00
Pavel Roskin
7bab33656b * cons.saver.c: Eliminate some global variables. Further
cleanup.  Make sure that console_fd is always closed.
2002-07-29 05:59:07 +00:00
Pavel Roskin
2a2ff3f76e * syntax/changelog.syntax: Highlight "*" only after tab. This
requires fixed syntax highlighting.
2002-07-28 21:09:45 +00:00
Pavel Roskin
c819e0de4d * lib/mc.ext.in: Open *.doc and *.rtf files with abiword by
default. Open *.xls with gnumeric.  Use mplayer for most video
formats.
2002-07-28 21:04:36 +00:00
Pavel Roskin
551ecd06c1 Mention that Automake 1.6.3 will be used. 2002-07-28 20:39:26 +00:00
Pavel Roskin
edebd94750 * cons.saver.c: Remove support for Linux kernels before 2.0.
Massive cleanup.
(send_contents): Remove incorrect optimization - restore even
empty lines because they may be touched by the viewer.
From Denis Vlasenko <vda_unique@iname.com>
2002-07-28 08:52:27 +00:00
Pavel Roskin
fa689098a9 Update from David Martin <dmartina@excite.com> 2002-07-28 06:43:08 +00:00
Pavel Roskin
ae97181c29 Remove tmpout regardless of whether it's used. 2002-07-28 06:39:48 +00:00
Pavel Roskin
a39e3254cf * syntax/nroff.syntax: Require most keywords to be whole. 2002-07-28 06:21:51 +00:00
Pavel Roskin
e66ab47cf1 * direntry.c (vfs_s_find_entry_linear): Canonicalize path before searching 2002-07-26 21:58:43 +00:00
Pavel Roskin
18c160fefa * utilunix.c (canonicalize_pathname): Don't extend empty path
to "." - it can corrupt memory.
2002-07-26 21:51:16 +00:00
Pavel Roskin
cb06231d26 Mention Shift-F5 and Shift-F6. 2002-07-26 20:12:34 +00:00
Pavel Roskin
1c1493cbe5 * cmd.c (copymove_cmd_with_default): Remove, it's unused.
(copy_cmd_local): New function, copy within panel.
(ren_cmd_local): New function, rename within panel.
* cmd.h: Adjust to match.
* screen.c (panel_keymap): Associate F15 with copy_cmd_local and
F16 with ren_cmd_local.
2002-07-26 19:30:13 +00:00
Pavel Roskin
0389cbf16c * view.c (display): Don't highlight characters as bold if the
character before the backspace was different.
From Roland Illig <roland.illig@gmx.de>
2002-07-26 17:17:41 +00:00
Andrew V. Samoilov
8fec26f3d5 mc.1.in: Fix mc.no_proxy location 2002-07-26 14:11:18 +00:00
Andrew V. Samoilov
6bd685bd7c * xdirentry.h (vfs_s_fh.u.fish): Add append field.
* fish.c (fish_fh_open): Care about append.
(linear_open): Likewise.
(fish_store): Append data to target file if append is true.
2002-07-26 01:33:40 +00:00
Andrew V. Samoilov
3dc53f9d41 * mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
file to fix compilation.
(main): Add mad_init() and mad_finalize().
2002-07-25 20:33:31 +00:00
Andrew V. Samoilov
b5cfea00e1 * wtools.c (message): Fix possible buffer overflow. 2002-07-25 18:07:42 +00:00
Andrew V. Samoilov
8c9c34918b util.[ch] (app_text): Make const and adjust declaration. 2002-07-25 13:48:00 +00:00
Andrew V. Samoilov
eb7d542f24 * profile.c: Make AppName parameter const char * everywhere.
* profile.h: Adjust declarations.
2002-07-25 13:44:06 +00:00
Andrew V. Samoilov
e94799f762 * slint.c [HAVE_MAD] (dealloc_color_pairs): Move ...
* color.c [HAVE_MAD]: ... here and make accessible from
other files to fix compilation.
* color.h [HAVE_MAD]: Declare dealloc_color_pairs.
2002-07-25 13:04:19 +00:00
Pavel Roskin
aeab4a933e * syntax/fortran.syntax: Fix highlighting of "*" at the
beginning of line.  Recognize "     +" as continuation.  Move
all "linestart" keywords earlier to avoid more conflicts.
2002-07-21 18:15:11 +00:00
Pavel Roskin
2e17e22122 * syntax.c (apply_rules_going_right): Recheck keyword rules when
a keyword is found on the left border of a context.
2002-07-20 09:12:55 +00:00
Pavel Roskin
8f4ca50c58 * screen.c (panel_callback): Revert last change, it has bad side
effects on the subshell.
2002-07-20 08:32:53 +00:00
Pavel Roskin
6bdeafba4d * dlg.c: Eliminate all useless x_* functions.
* dlg.h: Likewise.
* panel.h: Likewise.
* textconf.h: Likewise.
* view.c: Likewise.
* view.h: Likewise.
* widget.c: Likewise.
* main.c: Remove panel_update_marks(). Move try_to_select() ...
* screen.c: ... here.  Eliminate x_* functions.
* main.h: Remove panel_update_marks().
2002-07-19 22:16:24 +00:00
Pavel Roskin
f61bfaf8f5 * screen.c (panel_callback): Only change directory on
WIDGET_FOCUS if current_panel changes.
2002-07-19 20:22:07 +00:00
Pavel Roskin
17671c4de9 * main.c (handle_args): Don't call mc_get_current_wd(). 2002-07-19 19:08:26 +00:00
Pavel Roskin
2be225d9e0 * ftpfs.c: Don't use SUP.home, use SUP.cwdir.
* fish.c: Likewise.
(dir_load): Update SUP.cwdir.
* xdirentry.h: Remove "home" field for fish and ftpfs.
2002-07-19 16:36:32 +00:00
Pavel Roskin
982a256ee0 * xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
* direntry.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
2002-07-19 16:04:27 +00:00
Pavel Roskin
87e4797648 Warning fix in the previous commit. 2002-07-19 15:11:20 +00:00
Pavel Roskin
b68a8a5ca8 * fish.c (fish_fill_names): New function, replacement for
generic vfs_s_fill_names() which didn't work right with fish.
2002-07-19 05:29:31 +00:00
Pavel Roskin
ead99974fb * main.c (directory_history_list): Report error if cannot change
directory.
2002-07-19 05:03:44 +00:00
Pavel Roskin
3358ffb440 Update. 2002-07-19 04:39:03 +00:00
Pavel Roskin
158bf1f8fe * *.po: Replace "undelfs" with "%s" in some messages to enable
their reuse with other VFS types.
2002-07-19 04:33:35 +00:00