Commit Graph

6470 Commits

Author SHA1 Message Date
Roland Illig
01867b4001 * TODO: Checked the remaining vfs/extfs shell scripts and
removed them from the TODO list. This was the last item
	in the section "Before 4.6.1", so I deleted the whole
	section.
2004-11-16 18:03:56 +00:00
Roland Illig
48f13535a1 * vfs.h: Changed types for mc_chmod, mc_chown, mc_mknod to mode_t,
uid_t, gid_t, and dev_t where appropriate.
2004-11-16 16:49:37 +00:00
Roland Illig
6bbbeb77b4 * vfs.c: Changed types for mc_chmod, mc_chown, mc_mknod to mode_t,
uid_t, gid_t, and dev_t where appropriate.

	Patch extended by Roland Illig.
2004-11-16 16:16:08 +00:00
Andrew V. Samoilov
1bb010e66e Revert last changes 2004-11-16 12:50:40 +00:00
Andrew V. Samoilov
f2d94122cf * vfs.h, vfs.c: mc_chmod(), mc_chown() parameter type cleanup. 2004-11-16 12:41:34 +00:00
Roland Illig
8d41d94d44 * file.c: Code cleanup (mostly indentation). 2004-11-15 23:32:02 +00:00
Roland Illig
b7fa9f0e5f * vfs.c: fix MC_NAMEOP macro calls to use the canonicalized path. 2004-11-15 22:55:50 +00:00
Andrew V. Samoilov
f7cacb883f * user.c (expand_format): Return % with followed character if it
without special meaning.
2004-11-12 11:56:21 +00:00
Roland Illig
d3204db4e0 * popthelp.c (showHelpIntro): The basename of argv[0] starts after
the last slash in argv[0], not after the first.
2004-11-11 17:37:20 +00:00
Andrew V. Samoilov
8d4cf30242 * regex.c: Define HAVE_WCTYPE_H to 0 if not defined to fix compilation. 2004-11-11 10:02:18 +00:00
Roland Illig
830f64d719 * Makefile.am: Excluded pipethough.{c,h} from the distribution
as they are currently unused.
2004-11-10 17:42:42 +00:00
Roland Illig
de3bc90f37 * audio.in (audiofs_list): Fixed quoting issue.
(audiofs_copyout): Likewise.
	* uar.in (mcarfs_copyin): Likewise.
	* uha.in (mchafs_copyout): Likewise.
	* ulha.in (mc_lha_fs_run): Likewise.
2004-11-10 16:08:00 +00:00
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