Commit Graph

6458 Commits

Author SHA1 Message Date
Andrew V. Samoilov
bfee231c11 * editdraw.c (edit_status): Don't output extra characters on the
status line.
        (print_to_widget): Don't use addch() with negative offset to skip
        over excessive columns. Output only those columns that should be
        displayed on the screen.
2004-11-10 14:11:27 +00:00
Andrew V. Samoilov
042017791e If not defined macros HAVE_WCTYPE_H, define it for clean compilation. 2004-11-10 13:48:23 +00:00
Andrew V. Samoilov
852cdfb00b * hotlist.c (unlink_entry): Add missed brackets.
(add_new_entry_cmd): Fix memory leaks and double free()s.
       (add2hotlist_cmd): Eliminate static label_string.
2004-11-10 11:02:23 +00:00
Roland Illig
188b970477 * editcmd.c (edit_replace_prompt): Fixed codepage conversion bug
introduced in on 2004-09-25 by me.
2004-11-10 06:50:50 +00:00
Andrew V. Samoilov
dd2bc78a60 * hotlist.c (add_new_entry_cmd): Filter out a possible password
dialogs.
        (add2hotlist_cmd): Likewise.
2004-11-09 19:08:10 +00:00
Andrew V. Samoilov
f7cf6a4928 * sldisply.c (SLtt_delete_nlines): Add boundary check.
(forward_cursor): Remove unneeded boundary check.
        (tt_write): Remove unneeded cast.
       * sldisply.c: Use tt_write() instead of tt_write_string() for
       hardcoded string literals.
2004-11-09 17:16:51 +00:00
Andrew V. Samoilov
9bf6911b00 * util.c (strip_password): Fix bug - don't delete path from url. 2004-11-09 12:30:29 +00:00
Andrew V. Samoilov
dce56e8421 * include/slang.h (SLang_Version): Delete const qualifier for
compatibility with system slang library.
* slmisc.c: Likewise.
* sldisply.c (tt_sprintf): Import last changes from libslang-current.
Add code to check for a buffer overflow.
(tt_printf): Likewise.
(forward_cursor): Likewise.
2004-11-08 21:00:29 +00:00
Andrew V. Samoilov
a309faa45c * filegui.c (file_mask_dialog): Fix memory leak. 2004-11-08 20:10:33 +00:00
Andrew V. Samoilov
f5afae1368 * include/slang.h (SLang_Version): Declare const.
* slmisc.c: Add SLang_Version.
2004-11-08 16:47:29 +00:00
Andrew V. Samoilov
43c3d5504c * TODO (4.6.2): Fix the '#' in path names issue. 2004-11-08 00:06:04 +00:00
Andrew V. Samoilov
6c2dcea9ff * vfs.c (vfs_prefix_to_class): Avoid last class (localfs) that would
accept any prefix.
2004-11-08 00:04:32 +00:00
Roland Illig
18d9abb15c * TODO (4.6.1): Moved the '#' in path names issue to 4.6.2.
* TODO: Added issue about hiding passwords in VFS pathnames.
2004-11-07 12:54:55 +00:00
Roland Illig
a5fefdbd71 * slint.c (slang_init): Allow upto 512 lines and cols if the
SLang library can handle it.
2004-11-07 12:48:48 +00:00
Roland Illig
d5da4d6b94 * key.c (use_8th_bit_as_meta): Use 8bit input as default.
From Vladimir Nadvornik <nadvornik * suse cz>
2004-11-07 12:37:24 +00:00
Andrew V. Samoilov
23ee7704f9 * README: Fix typo. 2004-11-05 12:04:05 +00:00
Andrew V. Samoilov
549ab0af4d Partially reverted last changes. Sorry. 2004-11-03 20:55:06 +00:00
Andrew V. Samoilov
423fa0ba26 Fix error with output charset enable. 2004-11-03 20:53:16 +00:00
Andrew V. Samoilov
f1e93d60f7 * cpio.c (cpio_create_entry): Added initial support for the Special
Named Files. Needed on QNX Neutrino.
       * utilvfs.c (vfs_parse_filetype): Likewise.
2004-11-03 20:38:56 +00:00
Andrew V. Samoilov
fd5d77fc7b * cpio.c (cpio_create_entry): Added initial support for the Special
Named Files. Needed on QNX Neutrino.
2004-11-03 20:32:35 +00:00
Andrew V. Samoilov
5ea26d084d * dir.c (file_type_to_num): Added initial support for the Special Named
Files. They are displayed as block devices, but with '#' prefix in it's
        names. Needed on QNX Neutrino.
        * file.c (copy_file_file): Likewise.
        * fs.h: Likewise.
        * screen.c (string_file_type): Likewise.
        (file_compute_color): Likewise.
        * util.c (string_perm): Likewise.

        * pipethrough.c: Added sys/select.h if found according to config.h.
2004-11-03 20:31:59 +00:00
Andrew V. Samoilov
3b8d52e2b9 * syntax/Syntax: Treat QNX6 specific files with extensions qpg and
qpg.in as xml files.
2004-11-03 20:16:48 +00:00
Andrew V. Samoilov
52917be78c * configure.ac: Added information about status of charset enabling. 2004-11-03 20:10:54 +00:00
Andrew V. Samoilov
c87628f753 * mc.qpg.in: Synchronization with the latest file has been added
to the distro.
2004-11-03 20:07:00 +00:00
Andrew V. Samoilov
358f13f13d * screen.c (show_dir): A small fix to avoid a crash in show_dir() with
a panel of more than 200 columns.
2004-11-03 19:56:36 +00:00
Andrew V. Samoilov
611114d735 * file.c (make_symlink): Use g_strlcpy() instead of strcpy(). 2004-11-03 19:49:24 +00:00
Andrew V. Samoilov
cee8133838 * subshell.c (do_subshell_chdir): Filter out a possible password from
warning dialog.

        * command.c (do_cd_command): Likewise.

        * screen.c (panel_callback): Likewise.

        * util.c (path_trunc): Add function. path_trunc() is the same as
        name_trunc(), but it deletes possible password from path for security
        reasons.

        * util.h: Add functions path_trunc().

        * filegui.c (file_progress_show_target): Filter out a possible password
        from dialog.
        (file_progress_show_deleting): Likewise.
        (file_mask_dialog): Likewise.

        * file.c (move_file_file): Likewise.
        (move_dir_dir): Likewise.
        (file_error): Likewise.
        (files_error): Likewise.
        (real_query_recursive): Likewise.

        * hotlist.c (add2hotlist): Typo fix.
2004-11-03 19:43:17 +00:00
Roland Illig
52fc211ac8 * configure.ac: Add feature test whether socklen_t is defined
in <sys/socket.h>.
2004-11-02 21:54:58 +00:00
Roland Illig
3c750ff024 * ftpfs.c: Add fallback to type int if socklen_t is not provided. 2004-11-02 21:53:55 +00:00
Andrew V. Samoilov
42f676fd5f * dialog.c (do_select_widget): Walk the whole widgets list looking
for a widget accepting the focus.
2004-11-02 11:49:56 +00:00
Roland Illig
612e8238c9 * utilunix.c (mc_tmpdir): Use putenv(3) instead of setenv(3) if
the latter is not available. Needed for Solaris.
2004-11-01 12:03:45 +00:00
Roland Illig
406054b8e7 * ChangeLog: Change author of tarfs patch. 2004-11-01 11:47:13 +00:00
Roland Illig
75ec336c52 * tar.c (tar_read_header): Fix pathname canonicalization. 2004-11-01 07:49:36 +00:00
Andrew V. Samoilov
5b57056d23 * README: Imported slang-1.4.9.
* sldisply.c: Likewise.
        * slerr.c: Likewise.
        * slgetkey.c: Likewise.
        * slmisc.c: Likewise.
        * slsignal.c: Likewise.
        * slsmg.c: Likewise.
        * sltermin.c: Likewise.
        * slutty.c: Likewise.
        * slvideo.c: Likewise.
        * slw32tty.c: Likewise.
        * include/_slang.h: Likewise.
        * include/jdmacros.h: Likewise.
        * include/sl-feat.h: Likewise.
        * include/slang.h: Likewise.
        * include/slinclud.h: Likewise.
        * include/sllimits.h: Likewise.

	* ChangeLog: Change my e-mail to me@pavelsh.pp.ru
2004-11-01 06:30:43 +00:00
Andrew V. Samoilov
7febc1e97c * extfs/iso9660.in (mcisofs_list): Fix regular expression for stripping
of file name. Use autotools macro for awk instead full path.

        * ChangeLog: Replace my old e-mail with my new e-mail
2004-10-29 09:14:38 +00:00
Andrew V. Samoilov
28c1c01c53 * complete.c (completion_matches): Fix duplicate completion matches
if there are more than two matches available.
2004-10-28 19:39:46 +00:00
Andrew V. Samoilov
b40bb2cb58 * extfs/iso9660.in (mcisofs_list): Fix stripping of file name in awk code. 2004-10-28 12:40:47 +00:00
Andrew V. Samoilov
f8223e659b * fish.c (fish_open_archive_int): Fix missed "%s". 2004-10-28 11:24:43 +00:00
Andrew V. Samoilov
89accff625 * lib/mc.ext.in: Add a few sound formats that "play" and "mikmod"
utility knows.
2004-10-28 06:19:23 +00:00
Roland Illig
744c65862e * ftpfs.c (ftpfs_initconn): Replace int with socklen_t where
appropriate. (ftpfs_open_data_connection): Likewise.
2004-10-27 18:00:42 +00:00
Roland Illig
81112b0e5b * configure.ac: Add check for type socklen_t. 2004-10-27 18:00:20 +00:00
Andrew V. Samoilov
f3ca051033 * extfs/trpm: Put -- before "$1" to stop argument parsing. 2004-10-27 14:44:31 +00:00
Andrew V. Samoilov
f591dda4ea * include/slang.h: Define __unix__ if _AIX is defined.
Needed on AIX.
2004-10-27 14:15:38 +00:00
Andrew V. Samoilov
c1f1ce5028 * extfs/trpm: Fix quoting issues. 2004-10-27 14:03:43 +00:00
Andrew V. Samoilov
121dbd2b1b * syntax/aspx.syntax: Add syntax file for ASP.NET.
* syntax/Syntax: Likewise.
        * syntax/Makefile.am: Likewise.
2004-10-27 13:29:51 +00:00
Andrew V. Samoilov
dc2430bd45 * TODO: Move entry 'Broken pipe warning...' to 4.6.2 TODO list.
Remove entries for perl extfs scripts.
2004-10-27 13:17:51 +00:00
Andrew V. Samoilov
c3cd3df138 * extfs/iso9660.in: Fix quoting issues. 2004-10-27 13:01:14 +00:00
Andrew V. Samoilov
fd913b65b6 * tar.c tar_read_header(): q should not point to a static string.
Canonicalize q.
2004-10-27 12:44:48 +00:00
Andrew V. Samoilov
ea5c3dead6 * vfs.c (mc_def_getlocalcopy): Don't close fd -1.
(_vfs_get_class): Make path "char *" instead of
        "const char *" because it write to path.

        (vfs_get_class): Use g_strdup()/g_free() to do "pathname"
        really "const char *".
2004-10-25 12:22:52 +00:00
Andrew V. Samoilov
bcaf2b272b * cmd.c (select_unselect_cmd): Collect repeated code from
(un)?select_cmd here.  Fix rare off-by-one and memory leak if
        empty pattern passed.

        (select_cmd): Use select_unselect_cmd().
        (unselect_cmd): Likewise.
2004-10-25 09:38:59 +00:00