Commit Graph

6496 Commits

Author SHA1 Message Date
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
Andrew V. Samoilov
2c8db2c43d * smbfs.c (smbfs_open_readwrite): Comment out flags games,
it is cli_open() headache.
2004-10-25 08:15:19 +00:00
Roland Illig
8da4a08bbd * configure.ac: Only add "-Wall" to CFLAGS if GCC is set to "yes". 2004-10-24 14:48:01 +00:00
Roland Illig
63cae58f20 * editdraw.c (edit_status): Expand the filename field in the status
line to 16 characters even if the actual filename is shorter.
2004-10-23 13:14:14 +00:00
Roland Illig
11f8d4e2ea * utilunix.c (mc_tmpdir): Convert uid to unsigned long for
pathname of the temporary directory.
2004-10-23 12:55:35 +00:00
Roland Illig
8d69563572 * README: Add explanation for using GPL licensed code from
src/ in vfs.

	From Leonard den Ottolander and Roland Illig.
2004-10-23 12:32:21 +00:00
Roland Illig
6178353e9e * TODO: Check proper quoting in vfs/extfs/*. 2004-10-23 07:25:20 +00:00
Roland Illig
3716da314b * utilunix.c (mc_tmpdir): Convert uid to int for pathname
of the temporary directory.

	From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:18:48 +00:00
Roland Illig
b5a38517cd * complete.c (environ): Don't declare environ on Cygwin.
From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:12:39 +00:00
Roland Illig
fa72520d74 * regex.c (regerror): Never use the __memcpy function, as it
breaks the build on Cygwin.
2004-10-22 22:53:37 +00:00
Andrew V. Samoilov
849d95373b Fix typos 2004-10-22 08:44:20 +00:00
Roland Illig
80aa91ede7 * view.c (display): Fixed bug that displayed an empty file in
hexview mode with growing buffers.
2004-10-22 08:18:55 +00:00
Roland Illig
10256f6e35 * regex.c: Fix the C preprocessor feature tests. They produced
warnings before.
2004-10-22 07:55:56 +00:00