Commit Graph

6422 Commits

Author SHA1 Message Date
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
Andrew V. Samoilov
b1b4aadcd7 * main.c (print_color_usage): Update list of keywords for global,
menu and help.
	Change my email in ChangeLogs
2004-10-22 05:47:25 +00:00
Roland Illig
fe6f6ab57e * cons.saver.c (die): Declare as "static" to avoid gcc warning.
(send_contents): Likewise.
2004-10-21 23:08:28 +00:00
Roland Illig
7c709ae396 * mcfs.c: Add INADDR_NONE definition for SunOS.
* mcserv.c: Likewise. (struct user_pass): Add "const" qualifier.
2004-10-21 23:07:54 +00:00
Andrew V. Samoilov
3c8833159f * user.c (user_menu_cmd): Fix error. test_line() doesn't handle
consecutive '+'s and '='s correctly. Pass a line starting with
        a single '+' or '=' instead.
2004-10-20 12:29:55 +00:00
Andrew V. Samoilov
0112ed6d65 * lib/mc.ext.in: Use xmms for audio files in XWindows mode.
Add support for *.wma files. Add support for playlists.
2004-10-20 05:14:42 +00:00
Roland Illig
036d995eea * extfs/hp48.in: Correct quoting from last patch. Avoid a
subshell when none is needed.
2004-10-18 10:16:26 +00:00
Roland Illig
48bc8894b2 * TODO: Some new TODO items with low priority: More standard
widgets, CVS frontend, patch editor, context menus.
2004-10-18 04:05:15 +00:00
Roland Illig
3b6db492a3 * extfs/audio.in: Fix even more quoting issues.
* extfs/hp48.in: Likewise.

	Patch from q# <eth0 o2 pl>.
2004-10-18 02:20:09 +00:00
Roland Illig
e85a083b79 * extfs/uar.in: Improve filename quoting. Add error messages. 2004-10-17 22:09:18 +00:00
Roland Illig
00371ea1a9 * extfs/audio.in: Fix quoting issues.
From Leonard den Ottolander.
2004-10-17 19:42:20 +00:00
Roland Illig
61b4642af4 * extfs/hp48.in: Fix quoting issues.
From Leonard den Ottolander.
2004-10-17 19:33:55 +00:00
Andrew V. Samoilov
e4d7245a11 * undelfs.c (undelfs_open): Use g_try_malloc() instead
of g_malloc().

        * smbfs.c (smbfs_send): Don't account negative "ret".
2004-10-16 19:19:27 +00:00
Andrew V. Samoilov
959955939d * hotlist.c (add_new_entry_cmd): Fix memory leaks. 2004-10-16 19:17:19 +00:00
Roland Illig
c8cd60f3a2 * TODO: Fixed the "./ files in tar archive" item for mc-4.6.1. 2004-10-16 18:02:45 +00:00
Roland Illig
441701fc13 * view.c (get_bottom_first): Renamed another EOF_offset to INVALID_OFFSET. 2004-10-16 17:30:00 +00:00
Roland Illig
689afa899a * tar.c (tar_read_header): Fixed handling of filenames starting
with "./".
2004-10-16 17:17:31 +00:00
Roland Illig
f6300b882b * view.c: Rename EOF_offset to INVALID_OFFSET, as it is mostly
used to mark an invalid cache.
2004-10-16 15:52:48 +00:00
Roland Illig
a02c4b593f * file.c (do_file_error): Add const qualifier. (query_recursive):
Likewise. (query_replace): Likewise.
2004-10-16 15:38:47 +00:00
Roland Illig
5d5237e557 * syntax.c (read_one_line): Fixed SEGV when reading syntax file
with "\r\n" line endings on Unix.
2004-10-16 13:33:21 +00:00
Roland Illig
10dbca29ab * syntax/eiffel.syntax: Add syntax highlighting rules for the
Eiffel programming language.
	* syntax/Syntax: Bind *.e with eiffel.syntax.
	* syntax/Makefile.am: Added syntax.eiffel.

	From Daniel F Moisset <dmoisset grulic org ar>
2004-10-16 12:59:26 +00:00
Andrew V. Samoilov
8d50b2240a * sldisply.c (tt_sprintf): Add missed break.
* sldisply.c (SLtt_erase_line): Use tt_write() instead
        tt_write_string().
2004-10-14 08:18:49 +00:00
Andrew V. Samoilov
d79d618c6d * util.c (strip_password): Add "/#sh:". 2004-10-13 12:23:56 +00:00
Andrew V. Samoilov
13998a614c * syntax/sql.syntax: Improve sql.syntax file and added several
keywords.
2004-10-12 15:24:47 +00:00
Andrew V. Samoilov
3253bdf876 * acinclude.m4 (MC_WITH_MCSLANG): Set screen_type to mcslang.
* configure.ac: Define USE_INCLUDED_SLANG if screen_type is mcslang.
2004-10-12 04:35:55 +00:00