Commit Graph

967 Commits

Author SHA1 Message Date
Andrew V. Samoilov
040cbd2e6b * Makefile.am (VFSLIB): Add ../vfs/samba/libsamba.a
if USE_WITH_SAMBA is true.
2002-05-14 12:39:04 +00:00
Pavel Roskin
2e8c3085e8 * hotlist.c (hotlist_button_callback): Don't process B_REMOVE
for VFS list - it would crash.
From Andrey Panov <pav@metib.ru>
2002-05-07 05:37:04 +00:00
Andrew V. Samoilov
5a255dd2ea * main.c [!WITH_MCFS] (PanelMenu): Eliminate mcfs related entry.
(RightMenu): Likewise.
* textconf.c (features): Likewise.
* cmd.c (netlink_cmd) [!WITH_MCFS]: Eliminate.
2002-04-19 07:21:09 +00:00
Pavel Roskin
c942254c57 * Makefile: mc.hlp should be in MAINTAINERCLEANFILES, not in
CLEANFILES, because "make clean" should not make the source
directory useless on systems without Perl.
2002-04-03 07:41:12 +00:00
Andrew V. Samoilov
6edfce4e7b * Makefile.am (CLEANFILES): Add mc.hlp. 2002-03-28 15:44:52 +00:00
Andrew V. Samoilov
3c239079b2 * eregex.h [!USE_INCLUDED_REGEX]: Include <regex.h>.
* regex.c: Compile only if USE_INCLUDED_REGEX is defined.
2002-03-26 14:13:10 +00:00
Andrew V. Samoilov
7f08501250 * src/Makefile.am: Move mc.hlp.ru processing ...
* doc/ru/Makefile.am: ... here.
2002-03-26 13:22:32 +00:00
Andrew V. Samoilov
8766ce3b02 * cmd.[ch] [USE_INTERNAL_EDIT] (edit_syntax_cmd:) New dialog
to edit Syntax Highlighting definitions file.
* main.c (CmdMenu) [USE_INTERNAL_EDIT]: Add 'Syntax file edit'
entry.
(process_args): Print mc's library directory to stdout.
2002-03-25 07:46:18 +00:00
Andrew V. Samoilov
ac26b4f20e * complete.c (insert_text): Fix buffer overflow. 2002-03-25 07:28:25 +00:00
Andrew V. Samoilov
0154dbfdc3 * man2hlp.c (handle_link): Strip .B and .I
* gindex.pl: Use fifth argument as man2hlp location.
2002-03-21 13:01:20 +00:00
Andrew V. Samoilov
20dd6b4e88 * man2hlp.c (handle_command): Handle backslash quoting
for .I and .B
2002-03-21 08:13:58 +00:00
Andrew V. Samoilov
830c9ae976 * man2hlp.c (handle_command): Handle '.\"TOPICS' comment.
Use it for translated 'Topics:' message.
* gindex.pl: Use first line of man2hlp output as
translated 'Topics:' message if fourth argument
is empty string.
* Makefile.am (mc.hlp.ru): Use empty string as gindex.pl's
fourth argument.
2002-03-20 14:03:55 +00:00
Andrew V. Samoilov
fae9735bb9 * textconf.c (version): Write to stdout.
* main.c (print_mc_usage): Add "stream" parameter to specify
file stream.
(process_args): Use print_mc_usage() with stdout as stream.
(handle_args): Use print_mc_usage() with stderr as stream.
(print_color_usage): Write to stdout.
2002-03-20 11:28:08 +00:00
Pavel Roskin
7ca687c8ed * eregex.h: Update from glibc-2.2.5.
* regex.c: Likewise.
* find.c: Use eregex.h, not regex.h.
* util.c: Likewise.
* view.c: Likewise.
From Alexander Varakin <avarakin00@hotmail.com>
2002-03-18 21:08:18 +00:00
Pavel Roskin
ebe22f53db * find.c (find_parameters): Invert condition when find is case
sensitive.
2002-03-18 20:04:13 +00:00
Pavel Roskin
5e7549d346 Add mc.hlp.?? 2002-03-12 16:26:53 +00:00
Andrew V. Samoilov
5f2ae160c0 * file.c (copy_file_file): Rollback one hunk to eliminate infinitive loop. 2002-03-06 07:37:14 +00:00
Andrew V. Samoilov
0e0fdc3aa6 * Makefile.am (mc.hlp.ru): Use mc.1 instead of mc.1.in.
(mc.hlp): Likewise.
2002-03-04 14:54:34 +00:00
Andrew V. Samoilov
4bfeff6aca * Makefile.am (mc.hlp.ru): Use mc.1 instead of mc.1.in.
(mc.hlp): Likewise.
2002-03-04 14:09:09 +00:00
Andrew V. Samoilov
8ce8833c37 * file.c (copy_file_file): Chmod destination only if
ctx->preserve is on.  Eliminate gotos.
2002-03-04 13:52:39 +00:00
Andrew V. Samoilov
51e1d26419 * Makefile.am (mc.hlp.ru): New rule to compile translated
help file.
(mclib_DATA): Add mc.hlp.ru.
2002-03-01 15:05:20 +00:00
Andrew V. Samoilov
e587297a62 * gindex.pl: Add optional 4th argument for translated
Content section name.
2002-03-01 14:08:03 +00:00
Andrew V. Samoilov
760d6a8115 * gindex.pl: Use [nodename] as user visible section name
only if next line is empty.  Elsewhere use this nonempty line.
2002-02-28 16:49:26 +00:00
Andrew V. Samoilov
10517bd1fc * mad.c: Make mem_areas dynamically growing.
(mad_init): Allocate memory for mem_areas.
(mad_alloc): Grow mem_areas if it is exhausted.
2002-02-28 15:36:00 +00:00
Andrew V. Samoilov
0f4a7d26f8 * filegui.c (file_mask_dialog): Enable 'follow Links'
and 'preserve Attributes' features in Move dialog.
(file_bps_show): Translate messages.
(file_eta_show): Likewise.
2002-02-28 15:18:10 +00:00
Andrew V. Samoilov
b5a0c42e21 (handle_command): Handle '.\"NODE' comment. Use it for
nodename in translated manual pages.
2002-02-28 14:38:38 +00:00
Andrew V. Samoilov
ad0767356f * man2hlp.c (main): Don't crash if called without argument(s).
Make `buffer' char pointer.
2002-02-28 14:12:34 +00:00
Andrew V. Samoilov
3de820819f * find.c (find_parameters): Compile content_pattern here.
Inform user about alformed regular expression.
(search_content): Use compiled regular expression.
(do_find): Eliminate `done'.  Call regfree for compiled
content_pattern.
2002-02-28 13:50:03 +00:00
Pavel Roskin
b9e4f7c338 * chown.c (chown_cmd): Use size_trunc_len() to show the file
size.  Eliminate c_fsize, which wasn't properly initialized.
2002-02-24 07:17:47 +00:00
Pavel Roskin
7346c6f93e * man2hlp.c (string_len): Don't exclude characters with codes
above 128 from the string length.
2002-02-22 05:54:00 +00:00
Andrew V. Samoilov
c13770201f * ext.c (exec_extension): Use "#! /bin/sh". 2002-02-21 14:37:51 +00:00
Pavel Roskin
8c9fc66db0 * background.c (background_attention): Cast pointer to long
instead of int because it's unsafe of 64-bit systems.
* main.c (init_xterm_support): Likewise.
2002-02-21 01:49:29 +00:00
Pavel Roskin
6c67d1918c * utilunix.c (canonicalize_pathname) [__QNX__]: Fix detection
of Qnet names.  Disable support of Qnet names under QNX Netrino.
Reported by Maurizio Rossi <MRossi@system-group.it>
2002-02-18 22:31:56 +00:00
Pavel Roskin
2b7cf88d85 * global.h: Include unix.h under "classical" QNX.
* subshell.c: Don't include unix.h.
* utilunix.c: Likewise.
2002-02-18 21:54:27 +00:00
Andrew V. Samoilov
455e64673e * main.c (update_one_panel_widget): Call ftpfs_flushdir(). 2002-02-07 19:24:44 +00:00
Pavel Roskin
5257da5f83 * key.c [USE_NCURSES] (get_key_code): Ignore KEY_RESIZE.
* layout.c [USE_NCURSES] (flag_winch): Don't call
low_level_change_screen_size() from signal handler.
From Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 05:23:50 +00:00
Pavel Roskin
9a67ad6ebf * screen.c (format_file): Add a new parameter (size of the
output buffer) to prevent buffer overflow on very wide
terminals.
From Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 05:14:16 +00:00
Andrew V. Samoilov
aa2832dff9 * util.c [!HAVE_TRUNCATE] (truncate): Close fd if my_ftruncate
fails.

* util.c [HAVE_CHARSET] (is_printable): Eliminate printable.
* setup.c [HAVE_CHARSET] (load_setup): Don't use
init_printable_table().

* charset.c (printable): Removed.
(init_printable_table): Removed.
2002-02-04 18:09:42 +00:00
Andrew V. Samoilov
ce7bae4dd7 * file.c (recursive_erase): Use mc_closedir() if mc_lstat()
fails.  Eliminate goto.
(erase_dir): Eliminate goto.
(erase_dir_iff_empty): Likewise.
2002-01-30 11:15:39 +00:00
Andrew V. Samoilov
4b84517072 * charsets.c (translate_character): Use ICONV_CONST. 2002-01-29 15:10:00 +00:00
Andrew V. Samoilov
3cb3d285df * dir.c (handle_dirent): Use MSG_ERROR. 2002-01-29 08:10:36 +00:00
Pavel Roskin
3ecaa166e8 * screen.c: Don't try to paint anything if width is 0 or less.
Reported by Pawel Sakowski <pawel@sakowski.eu.org>
2002-01-22 23:37:41 +00:00
Pavel Roskin
34fe9abd28 * screen.c: Make functions static whenever possible. Remove
unused functions.
* panel.h: Remove corresponding declarations.
2002-01-22 23:16:21 +00:00
Pavel Roskin
e5c6976b15 * util.c: Move replacements for permission bits ...
* fs.h: ... here.  Add more replacements.
* global.h: Include direct.h only with MSVC.
2002-01-22 01:23:18 +00:00
Pavel Roskin
93fd1572a5 * main.c: Include "drive.h", not <drive.h>, do it after panel.h.
Use _OS_NT as the condition for including drive.h.
* screen.c: Use _OS_NT as the condition for including drive.h.
2002-01-22 00:30:51 +00:00
Pavel Roskin
22b2813349 * global.h [_OS_NT]: Include io.h, direct.h and windows.h.
Don't redefine struct timeval.
2002-01-22 00:24:36 +00:00
Pavel Roskin
af3bb307d1 * fs.h [_MSC_VER]: Use dirent provided by glib. 2002-01-21 23:09:07 +00:00
Pavel Roskin
d99d279148 * global.h [!HAVE_SYS_TIME_H]: Provide a replacement for struct
timeval.
2002-01-21 22:46:22 +00:00
Pavel Roskin
d9c035d2c2 Fixed #elif. 2002-01-21 21:29:55 +00:00
Pavel Roskin
7b8b4394d5 * findme.c: Respect HAVE_UNISTD_H.
* popt.c: Likewise.
2002-01-21 21:04:44 +00:00