Commit Graph

7308 Commits

Author SHA1 Message Date
Pavel Tsekov
450fe431fc * edit.c (edit_auto_indent): Remove redundant parameters.
Change the indentation strategy to copy whitespace
from the previous line instead of filling up with allegedly
equivalent whitespace depending on the tab setting.
(edit_execute_cmd): Accomodate change of parameters to
edit_auto_indent().
2006-01-26 15:42:56 +00:00
Pavel Tsekov
c8494f41bb * xdirentry.h (LS_LINEAR_PREOPEN): New macro definition.
* direntry.c (vfs_s_open): When opening a file in linear mode,
defer the actual open operation until the first read call.
(vfs_s_read): When reading in linear mode, open the file
on the first read operation.
(vfs_s_lseek): When in linear mode, make sure that seeking is
allowed only before the first read operation.
* ftpfs.c (ftpfs_ctl): Make the code aware of LS_LINEAR_PREOPEN.
* fish.c (fish_ctl): Likewise.
2006-01-25 14:04:27 +00:00
Pavel Tsekov
9d6d306127 * ftpfs.c (ftpfs_dir_load): Fix a bad ERRNOR call. 2006-01-24 15:44:21 +00:00
Pavel Tsekov
78535f6b60 * file.c (copy_file_file): In 'Reget' mode take into account
the partially retrieved data when drawing the progress bar.
From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
2006-01-24 14:07:07 +00:00
Andrew V. Samoilov
ee404fbebe * subshell.c: restart write() calls interrupted by sigchld which lead
to some bytes being swallowed from the subshell's output.
2006-01-23 18:55:36 +00:00
Pavel Tsekov
8de760e37b * ftpfs.c (ftpfs_first_cd_then_ls): Enable this functionality by default. 2006-01-23 09:52:07 +00:00
Pavel Tsekov
465972e0b9 * tar.c (LF_EXTHDR): New macro definition.
(LF_GLOBAL_EXTHDR): Likewise.
(tar_read_header): Skip over pax extended header and global extended
header records.
2006-01-18 15:14:56 +00:00
Andrew V. Samoilov
c5800b05f3 * include/slang.h: comment out declaration of SLmemset(), SLmemchr(),
SLmemcpy(), SLmemcmp(), SLmalloc(), SLfree(), SLrealloc().
        * slcommon.c: comment out definitions of SLmalloc(), SLfree(),
        SLrealloc().
        * include/jdmacros.h: Fully rewritten to use glib rather than S-Lang
        replacements.
        * slmisc.c: Remove SLang_Version variable.
2006-01-18 05:34:20 +00:00
Pavel Tsekov
1504162feb * Forced commit. 2006-01-17 13:46:12 +00:00
Andrew V. Samoilov
5c83819e50 * sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR
to Is_Fg_BGR.  (SLtt_goto_rc): Disable cursor movement optimizations
        for qansi-m consoles. Needed on QNX Neutrino. (SLtt_initialize): Init
        QANSI_Console variable. (SLtt_erase_line): Use tt_write() instead
        tt_write_string(). (SLtt_cls): Use tt_write() instead tt_write_string().
        (SLtt_tgetstr): Fix warning.
        * slmisc.c: Trimmed down for use in GNU Midnight Commander.
        * sltermin.c (_pSLtt_tigetent): Avoid strncpy, home_ti is 1K long and
        obody really needs it whole cleared. Fix possible off-by-one error.
        * include/slang.h: Define __unix__ if __MACH__, __NetBSD__,  _AIX is
        defined.
2006-01-13 19:49:23 +00:00
Roland Illig
adc2d181c7 * view.c: Replaced calls to printw() with tty_printf() to get
rid of the str_unconst() function.
2006-01-07 18:17:27 +00:00
Roland Illig
58337baa8d White-space and indentation fixes. Rewrote the expressions for the
*_PRESSED constants to emphasize they are in fact bit masks.
2006-01-07 12:49:08 +00:00
Roland Illig
63a504ffed It was not Redhat who changed the SLang API of SLsmg_write_char, but
actually Debian. Redhat only copied that code.
2006-01-07 12:17:07 +00:00
Roland Illig
60d1a87ba7 2005-12-02 Jindrich Novy <jnovy@redhat.com>
* php.syntax: Fixed syntax errors.
2005-12-02 14:37:10 +00:00
Pavel Roskin
a0411b6b77 * slvideo.c: Remove, it's only used by the obsolete PC port.
* slw32tty.c: Likewise.
* Makefile.am: Adjust for the above.
2005-11-29 01:15:09 +00:00
Pavel Roskin
e698d44514 * spec.syntax: Add %check highlighting. 2005-11-23 21:12:43 +00:00
Leonard den Ottolander
6dc6b09935 * *.po: Shouldn't have touched string "command &Prompt" in last update.
Reverting.
2005-11-22 22:14:22 +00:00
Leonard den Ottolander
689681db31 * edit/editcmd.c (edit_replace_dialog): Use Alt-m on pro&Mpt in replace
dialog. Alt-p is in use for the previous entry.
* po/*.po: Update pro&Mpt string.
2005-11-22 22:05:44 +00:00
Leonard den Ottolander
37dae70964 * syntax/php.syntax: Reset the constant array in the script that generates
the keywords (remove duplicates). Also parse for constants in tables as the
type tagging is done inconsistently in the online PHP docs.
2005-11-20 14:42:01 +00:00
Leonard den Ottolander
ef243502f4 * syntax/php.syntax: Missed the '::' method separator. 2005-11-20 00:17:36 +00:00
Leonard den Ottolander
030872ddc0 * syntax/php.syntax: Removed some cruft that slipped through. 2005-11-20 00:07:56 +00:00
Leonard den Ottolander
41dba7aa2c * syntax/php.syntax: Updated against recent online documentation. A/o many
constants added.
2005-11-19 23:26:34 +00:00
Leonard den Ottolander
23b176514b * slang/Makefile.am: Reinstate ChangeLog. 2005-11-17 20:51:37 +00:00
Roland Illig
2f53e17355 2005-11-16 Roland Illig <roland.illig@gmx.de>
* slcommon.c (_pSLsecure_issetugid): Made the #ifdef more
	readable.
2005-11-16 08:45:21 +00:00
Pavel Roskin
91b9a36acf One more check missed in the previous commit. 2005-11-15 23:27:27 +00:00
Pavel Roskin
f9f69feabb * acinclude.m4 (MC_WITH_MCSLANG): Add type tests from S-Lang
configuration scripts.
2005-11-15 23:12:48 +00:00
Pavel Roskin
d90475660e Really suppress msgmerge progress indicators. 2005-11-15 22:41:59 +00:00
Roland Illig
114b2c1715 Added some comments. 2005-11-15 22:27:45 +00:00
Pavel Roskin
3d0a11bc51 Overwrite MSGMERGE_FLAGS, not MSGMERGE. 2005-11-15 22:14:44 +00:00
Pavel Roskin
76d78fb47c * samba/lib/netmask.c: Include <stdlib.h> for exit() and
<string.h> for memcpy().
2005-11-15 21:32:07 +00:00
Leonard den Ottolander
2619dda6b4 * Changelog: Fix last entry. 2005-11-15 21:26:51 +00:00
Leonard den Ottolander
f235c1b358 * slcommon.c (_pSLsecure_issetugid): Remove dependency on glibc private
function __libc_enable_secure().
2005-11-15 20:51:31 +00:00
David Martin
12e531832f Updated Spanish translation. 2005-11-13 13:54:24 +00:00
David Martin
1fb6024857 Identify Q_() strings for translation. 2005-11-13 13:26:12 +00:00
Leonard den Ottolander
a3b821aef1 slang/*: Upgrade internal slang to 2.0.5. 2005-11-12 19:47:49 +00:00
Pavel Roskin
89eb1e232b * samba/lib/netmask.c: Add get_netmask() prototype for the dummy
version.
2005-11-11 06:19:08 +00:00
Pavel Roskin
4d7182a39f Use trap to catch and report failures. 2005-11-11 05:57:46 +00:00
Pavel Roskin
0cfb000426 Add stamp-po. 2005-11-11 04:07:31 +00:00
Pavel Roskin
dd8b442df5 * global.h [!ENABLE_NLS]: Provide replacement for ngettext.
* screen.c (display_mini_info): Cast panel->total to unsigned
long before passing it to ngettext() to avoid warnings.
2005-11-11 03:32:39 +00:00
Pavel Roskin
ebc197834e Fix double spaces in CFLAGS. Suppress error messages from rpmbuild
when calculating the architecture.
2005-11-11 03:05:18 +00:00
Pavel Roskin
f2d6325871 Ignore rpm directory - it's created by maint/mctest. 2005-11-11 02:54:54 +00:00
Pavel Roskin
9c11cf292f * samba/lib/util_sock.c: Fix warnings on 64-bit systems. 2005-11-11 02:52:41 +00:00
Pavel Roskin
528e77efc0 * mcserv.c (get_client): Fix gcc 4 warning. 2005-11-11 02:31:46 +00:00
Pavel Roskin
0e653491c1 * choosesyntax.c: Make undeclared functions static.
* editmenu.c: Likewise.
* usermap.c: Likewise.
2005-11-11 02:26:04 +00:00
Pavel Roskin
ebe155fc92 * smbfs.c: Remove redundant ipzero declaration. 2005-11-11 02:22:02 +00:00
Pavel Roskin
056c1da206 Use $RPMBUILD to find the rpm architecture. 2005-11-11 02:21:08 +00:00
Pavel Roskin
f52a3276cc * configure.ac: Catch unexpanded MC_* macros. 2005-11-11 02:03:55 +00:00
Pavel Roskin
0418637b54 Actually remove MC_ASM_LABELS. 2005-11-11 01:57:10 +00:00
Pavel Roskin
f493d843a0 * m4/*.m4: Update to the macros provided by gettext 0.14.3.
* m4/Makefile.am: Update the list of the *.m4 files.
2005-11-11 01:52:16 +00:00
Pavel Roskin
f3aa417af7 * configure.ac: Use AC_GNU_SOURCE, which prevents redefining
_GNU_SOURCE.  Bump Autoconf version to 2.54, where AC_GNU_SOURCE
appeared.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
2005-11-11 01:40:18 +00:00