Commit Graph

3784 Commits

Author SHA1 Message Date
Pavel Roskin
9a67ad6ebf * screen.c (format_file): Add a new parameter (size of the
output buffer) to prevent buffer overflow on very wide
terminals.
From Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 05:14:16 +00:00
Pavel Roskin
e9eac440ff * configure.in: Don't use defunct ncurses_version.
Reported by Thomas Dickey <dickey@herndon4.his.com>
Set force_ncurses whenever --with-ncurses is used.  If set,
suppress checks for S-Lang and fail is ncurses is not found.
2002-02-06 05:06:16 +00:00
Pavel Roskin
727898de19 * configure.in: Introduce a new variable screen_type that is
either "slang" or "ncurses" without additional text.  Use it
instead of screen_manager whenever possible.  Fix text in
AC_NCURSES call, use m4 quotes and move shell quotes into the
macro.
* acinclude.m4: Likewise.
Reported by Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 04:38:38 +00:00
Pablo Saratxaga
50f4f7cb8e updated Basque file 2002-02-05 14:17:26 +00:00
Andrew V. Samoilov
aa2832dff9 * util.c [!HAVE_TRUNCATE] (truncate): Close fd if my_ftruncate
fails.

* util.c [HAVE_CHARSET] (is_printable): Eliminate printable.
* setup.c [HAVE_CHARSET] (load_setup): Don't use
init_printable_table().

* charset.c (printable): Removed.
(init_printable_table): Removed.
2002-02-04 18:09:42 +00:00
Pablo Saratxaga
969fd8e233 Updated Basque file 2002-02-04 14:33:12 +00:00
Christophe Merlet
6af9418287 Updated French translation. 2002-02-02 22:28:08 +00:00
Andrew V. Samoilov
20c71f0c51 * ftpfs.c (translate_path): Remove leading slash(es) more
carefully.
(initconn): Check getsockname() return value.
Eliminate goto.
(linear_abort): Make ipbuf const array.
2002-02-01 12:21:55 +00:00
Andrew V. Samoilov
ce7bae4dd7 * file.c (recursive_erase): Use mc_closedir() if mc_lstat()
fails.  Eliminate goto.
(erase_dir): Eliminate goto.
(erase_dir_iff_empty): Likewise.
2002-01-30 11:15:39 +00:00
Kjartan Maraas
4477334997 2002-01-30 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
2002-01-29 23:34:52 +00:00
Andrew V. Samoilov
fa2e4f6ec9 * samba/lib/charset.c (cp_850): Make const array.
(cp_932): Ditto.
(codepage_p): Likewise.
* samba/lib/debug.c (priority_map): Make const array.
* samba/lib/username.c (get_home_dir): Make pass auto.
* samba/lib/util.c (become_daemon): Commented out.
(yesno): Likewise.
2002-01-29 15:45:49 +00:00
Wang Jian
fecb7b30a1 *** empty log message *** 2002-01-29 15:16:57 +00:00
Andrew V. Samoilov
4b84517072 * charsets.c (translate_character): Use ICONV_CONST. 2002-01-29 15:10:00 +00:00
Wang Jian
896e43877a *** empty log message *** 2002-01-29 14:03:30 +00:00
Andrew V. Samoilov
3cb3d285df * dir.c (handle_dirent): Use MSG_ERROR. 2002-01-29 08:10:36 +00:00
Andrew V. Samoilov
d4f5c90dd6 * ftpfs.c (reconnect): New function to restore closed connection.
(command): Use reconnect if EPIPE received.
(dir_load): Eliminate recursion.
(login_server): Constify netrcpass parameter.
(is_same_dir): Constify path parameter.
2002-01-29 08:09:20 +00:00
Pavel Roskin
91e02f250b s/CVS macros/CVS keywords/ 2002-01-28 23:54:30 +00:00
Pavel Roskin
764730910e * syntax/Syntax: Known Delphi/Kylix source file extensions
supported (*.dpr, *.inc).
* syntax/pascal.syntax: Many new (Delphi/Kylix) keywords added.
Special highlighting of CVS macros.  Understands single-line
comments (//).
2002-01-28 22:37:36 +00:00
Pavel Roskin
3831458bae Check that aclocal, autoheader, automake and autoconf actually generate
output files.  Exit with an error message otherwise.
Reported by
  Petr Kozelka <pkozelka@centrum.cz> - automake
  Frédéric L. W. Meunier" <lists@pervalidus.net> - aclocal
2002-01-28 16:22:04 +00:00
Wang Jian
e97420ac6e *** empty log message *** 2002-01-28 16:18:16 +00:00
Andraz Tori
8b28d654ae Updated Slovenian translation 2002-01-26 22:37:50 +00:00
Andraz Tori
3c519d7d13 Updated Slovenian translation 2002-01-26 20:02:55 +00:00
Andrew V. Samoilov
c5f91aa310 * ru.po: Fix translation 2002-01-25 10:49:40 +00:00
Pavel Roskin
f3ca861b8f * cpio.c: Don't include glib.h directly. 2002-01-24 15:51:57 +00:00
Marco Ciampa
8becec1cfa Traslated some chmod mgs related (for win32 support? not shure) 2002-01-24 12:09:06 +00:00
Alexander Shopov
8277cd40c2 Added Bulgarian translation. 2002-01-24 11:53:42 +00:00
Vincent van Adrighem
0a523b319a 2002-01-23 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po Translation updated
2002-01-24 00:25:48 +00:00
Duarte Loreto
fa7b780bde 2002-01-23 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated portuguese translation.
2002-01-23 23:55:19 +00:00
Pavel Roskin
817602f8af * editdraw.c (edit_scroll_screen_over_cursor): Do nothing if the
edit widget has zero width or height.
2002-01-23 00:12:17 +00:00
Pavel Roskin
3ecaa166e8 * screen.c: Don't try to paint anything if width is 0 or less.
Reported by Pawel Sakowski <pawel@sakowski.eu.org>
2002-01-22 23:37:41 +00:00
Pavel Roskin
34fe9abd28 * screen.c: Make functions static whenever possible. Remove
unused functions.
* panel.h: Remove corresponding declarations.
2002-01-22 23:16:21 +00:00
Pavel Roskin
15e0ddd98c * extfs/uzip: Fix unsafe printf.
Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
2002-01-22 22:23:49 +00:00
Stanislav Visnovsky
bde1ed0ebf 2002-01-22 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
2002-01-22 18:16:17 +00:00
Andrew V. Samoilov
38a5875f4c * ftpfs.c (ftpfs_chmod): Add missed '/'. 2002-01-22 09:42:41 +00:00
Pavel Roskin
345cc077d0 * Makefile.PC: Remove OS/2-specific parts. Substitute
TARGET_OS - it is always NT now.
2002-01-22 01:46:50 +00:00
Pavel Roskin
97a212484b * config.h: Remove definitions for UNIX-specific permission
bits - they are now in fs.h.
* dirent_nt.c: Trim includes, disable code under MSVC.
2002-01-22 01:27:53 +00:00
Pavel Roskin
e5c6976b15 * util.c: Move replacements for permission bits ...
* fs.h: ... here.  Add more replacements.
* global.h: Include direct.h only with MSVC.
2002-01-22 01:23:18 +00:00
Pavel Roskin
3d0de08b32 * edit.c: Rename DELETE to DELCHAR to avoid macro redefinition
on Win32.
* edit.h: Likewise.
2002-01-22 00:49:33 +00:00
Pavel Roskin
0fd548dad6 * chmod.c: Include ../src/global.h, remove unneeded includes.
* cons_nt.c: Likewise.
* drive.c: Likewise.
* key_nt.c: Likewise.
* slint_pc.c: Likewise.
* util_nt.c: Likewise.
2002-01-22 00:32:42 +00:00
Pavel Roskin
93fd1572a5 * main.c: Include "drive.h", not <drive.h>, do it after panel.h.
Use _OS_NT as the condition for including drive.h.
* screen.c: Use _OS_NT as the condition for including drive.h.
2002-01-22 00:30:51 +00:00
Pavel Roskin
22b2813349 * global.h [_OS_NT]: Include io.h, direct.h and windows.h.
Don't redefine struct timeval.
2002-01-22 00:24:36 +00:00
Pavel Roskin
6a5df4c736 * slvideo.c: Include _slang.h, not slang.h. 2002-01-21 23:37:36 +00:00
Pavel Roskin
af3bb307d1 * fs.h [_MSC_VER]: Use dirent provided by glib. 2002-01-21 23:09:07 +00:00
Pavel Roskin
d99d279148 * global.h [!HAVE_SYS_TIME_H]: Provide a replacement for struct
timeval.
2002-01-21 22:46:22 +00:00
Pavel Roskin
d9c035d2c2 Fixed #elif. 2002-01-21 21:29:55 +00:00
Pavel Roskin
6975fdf5e8 * vfs.h: Remove all tricks with system headers, they all should
be in global.h.
* cpio.c: Include utilvfs.h earlier.
* tar.c: Likewise.
2002-01-21 21:26:49 +00:00
Pavel Roskin
7b8b4394d5 * findme.c: Respect HAVE_UNISTD_H.
* popt.c: Likewise.
2002-01-21 21:04:44 +00:00
Pavel Roskin
a504067e6c * global.h: Fallback to sys/utime.h if utime.h is missing. 2002-01-21 20:57:31 +00:00
Pavel Roskin
3a9692b680 * global.h: Provide fallbacks for getuid(), getgid(), geteuid()
and getegid().
* fs.h: Fully trust HAVE_DIRENT_H.
* complete.c: Don't include dirent.h directly, fs.h takes care
of it.
* file.c: Likewise.
* filegui.c: Likewise.
* main.c: Likewise.
* treestore.c: Likewise.
2002-01-21 20:47:05 +00:00
Pavel Roskin
14f498cc1a * vfs.h: Include dirent.h only if it's present. 2002-01-21 20:01:44 +00:00