Commit Graph

6383 Commits

Author SHA1 Message Date
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
Andrew V. Samoilov
ebc4dc8e77 * myslang.h: Check USE_INCLUDED_SLANG properly. 2004-10-12 04:32:04 +00:00
Roland Illig
d3774b9d94 * utilunix.c (close_error_pipe): Fixed possible invalid memory access
(three lines below).
2004-10-11 21:53:30 +00:00
Andrew V. Samoilov
9f0c07f07a * az.po: Small text fixes.
* be.po: Likewise.
        * bg.po: Likewise.
        * ca.po: Likewise.
        * cs.po: Likewise.
        * da.po: Likewise.
        * de.po: Likewise.
        * el.po: Likewise.
        * es.po: Likewise.
        * eu.po: Likewise.
        * fi.po: Likewise.
        * fr.po: Likewise.
        * hu.po: Likewise.
        * it.po: Likewise.
        * ja.po: Likewise.
        * ko.po: Likewise.
        * lt.po: Likewise.
        * lv.po: Likewise.
        * mn.po: Likewise.
        * nl.po: Likewise.
        * no.po: Likewise.
        * pl.po: Likewise.
        * pt.po: Likewise.
        * pt_BR.po:  Likewise.
        * ro.po: Likewise.
        * ru.po: Likewise.
        * sk.po: Likewise.
        * sl.po: Likewise.
        * sr.po: Likewise.
        * sv.po: Likewise.
        * ta.po: Likewise.
        * tr.po: Likewise.
        * uk.po: Likewise.
        * wa.po: Likewise.
        * zh_CN.po: Likewise.
        * zh_TW.po: Likewise.
2004-10-11 07:53:34 +00:00
Andrew V. Samoilov
5d5f56d4ee * editcmd.c (regexp_error): Small text fix.
(edit_search_cmd): Likewise.
2004-10-11 05:31:29 +00:00
Andrew V. Samoilov
4cde691aac * file.c (copy_dir_dir): Small text fix. 2004-10-11 05:27:58 +00:00
Andrew V. Samoilov
eae25a2eff Partially revert my changes 2004-10-07 10:50:00 +00:00
Andrew V. Samoilov
e65b13eb00 * ftpfs.c (ftpfs_linear_start): Likewise.
* fish.c (fish_linear_start): Likewise.
2004-10-06 21:20:17 +00:00
Andrew V. Samoilov
126fa4d83d * cpio.c (cpio_find_head): Check mc_read() return value.
(cpio_read_crc_head): Handle mc_read() return value properly.
        (cpio_read_oldc_head): Use union for "st" and "buf".
        (cpio_read_crc_head): Likewise.
2004-10-06 21:17:30 +00:00
Andrew V. Samoilov
df27244006 * fileopctx.h (struct FileOpContext): Use off_t for offset. 2004-10-06 18:06:26 +00:00
Andrew V. Samoilov
687f435740 * xdirentry.h (linear_start): Use off_t for offset. 2004-10-06 18:04:15 +00:00
Andrew V. Samoilov
430cfca91c More typo fixes 2004-10-06 17:33:37 +00:00
Andrew V. Samoilov
04c8d59e51 Fix typos 2004-10-06 17:16:09 +00:00
Andrew V. Samoilov
82f98b11d4 * util.c(strip_password): Add support for '@' in username. 2004-10-05 14:25:28 +00:00
Andrew V. Samoilov
d0aeb947b4 * utilvfs.c(vfs_split_url): Add support for '@' in username. 2004-10-05 14:23:20 +00:00
Andrew V. Samoilov
220cf56f19 Fix typos 2004-10-05 07:15:01 +00:00
Andrew V. Samoilov
919aa12d7d * cons.saver.c: Partly rewritten cons.saver.c. 2004-10-05 07:14:09 +00:00
Andrew V. Samoilov
2d48b95137 * syntax/perl.syntax: Fix highlight the hashes.
* syntax/diff.syntax: highlight comments (lines begin with #),
        and garbage in diff files.
2004-10-05 05:56:03 +00:00
Andrew V. Samoilov
650d04146e * uk.po: Updated Ukrainian translation. 2004-09-29 10:55:36 +00:00
Andrew V. Samoilov
2ee7b81d94 * mc.qpg.in: New file. Description for QNX 6.x packager. 2004-09-28 11:48:57 +00:00
Andrew V. Samoilov
320caad2e1 * smbfs.c (smbfs_forget): Check smbfs_connections[i].cli
to avoid possible segmentation fault.  Close
        https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=8974
2004-09-28 09:30:53 +00:00
Andrew V. Samoilov
7d393abc2c * util.c (convert_controls): Fix possible buffer overflow
for ".*^" strings.
2004-09-28 09:28:57 +00:00
Roland Illig
49117d0f31 * complete.c [__linux__ && !__USE_GNU]: Fix compilation on Red Hat 7.3
* util.c (convert_controls): Fix compilation.
2004-09-27 11:26:53 +00:00
Roland Illig
c47cd9de68 * util.h (convert_controls): Adjusted the comment to what the
function really does.
2004-09-26 18:36:54 +00:00
Roland Illig
f54aef1cfc * pipethrough.c: #include <string.h> to compile on Solaris. 2004-09-26 11:50:39 +00:00
Roland Illig
7a505ea99d * editcmd.c (edit_ext_cmd): Revoked my last change. 2004-09-26 11:42:17 +00:00
Roland Illig
7b6f1db773 * vfs.c (_vfs_get_class): Reverted my last patch because
Leonard reported it to make mc crash.
2004-09-26 11:06:38 +00:00
Andrew V. Samoilov
11c6534e70 * key.c (qansi_key_defines[]): Add support for qansi-m terminals.
Needed on QNX Neutrino. (correct_key_code): Likewise.
2004-09-26 00:58:47 +00:00
Andrew V. Samoilov
d329f3c414 * sldisplay.c (SLtt_goto_rc): Disable cursor movement optimizations
for qansi-m consoles. Needed on QNX Neutrino.
        (SLtt_initialize): Init QANSI_Console variable.
2004-09-26 00:45:47 +00:00
Roland Illig
8d75409e60 * editcmd.c (edit_ext_cmd): Don't delete the current block if no
block has been selected. In that case, just insert the output.
2004-09-25 21:39:11 +00:00
Roland Illig
d0a8da7cef * editcmd.c (edit_ext_cmd): Replaced the old version with a new
one that uses ../src/pipethrough. The new version feeds the
	currently selected block (or an empty input) into the command
	which reduces the chance of a deadlock when the command tried
	to read from stdin. It also allows the user to insert the output
	of a command that has exited with a nonzero result. Another
	feature is that it does not use temporary files.
2004-09-25 21:34:36 +00:00
Roland Illig
8676605ad2 * pipethrough.c: Added pipethrough, a function to execute child
processes in a simple way.
	* pipethrough.h: The interface for the function.
	* pipethrough.3: The manpage (will be installed in maintainer-mode).
	* Makefile.am: Added the files to SRCS.
2004-09-25 21:21:09 +00:00
Roland Illig
771f60dac1 * complete.c: Partly reverted my last patch. I had committed it
accidentally.
2004-09-25 21:08:29 +00:00
Roland Illig
2a2b478f67 * syntax.c (this_try_alloc_color_pair): Added const qualifiers.
* editcmd.c (snprintf_p): Likewise. (edit_replace_prompt):
	Simplified the code.
2004-09-25 20:53:32 +00:00
Roland Illig
dc259a038c * widget.c (label_callback): Reverted my last change. It crashed. 2004-09-25 20:49:15 +00:00
Roland Illig
1fb7d67048 * vfs.c (_vfs_get_class): Fixed segmentation fault introduced today. 2004-09-25 19:57:20 +00:00
Roland Illig
aad0e2151b * autoconf.ac: #define _GNU_SOURCE to an empty value instead of 1,
which conflicted with src/regex.c.
2004-09-25 15:18:10 +00:00
Roland Illig
9f6a39e83f * command.c (examine_cd): Likewise. Additionally used g_strdup to
not accidentally modify an environment variable.
	* complete.c (command_completion_function): Likewise.
	(filename_completion_function): Likewise. (try_complete): Likewise.
	(variable_completion_function): Likewise.
2004-09-25 14:34:27 +00:00
Roland Illig
a3c3564d4d * syntax.c (this_try_alloc_color_pair): Added const qualifiers. 2004-09-25 14:28:10 +00:00
Roland Illig
6f34e18e3e * ftpfs.c (ftpfs_find_machine): Added const qualifier.
* mcserv.c (do_auth): Likewise.
	* utilvfs.c (is_month): Likewise. (is_time): Likewise.
	(is_week): Likewise.
	* vfs.c (_vfs_get_class): Added const qualifier.
	(vfs_prefix_to_class): Added a string length parameter to
	reduce the use of g_strdup. (vfs_split): Changes due to the
	new string length parameter.
2004-09-25 14:06:27 +00:00