Commit Graph

3558 Commits

Author SHA1 Message Date
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
Pavel Roskin 4df07d04be * global.h [!__GNUC__]: Define __attribute__ with one argument. 2002-01-21 19:57:48 +00:00
Christian Rose 059476bd40 2002-01-21 Christian Rose <menthos@menthos.com>
* POTFILES.in: Sorted and added a missing file.
	* sv.po: Updated Swedish translation.
2002-01-21 18:17:17 +00:00
Pavel Roskin 95734aee1c * NEWS: Mention word completion in the editor. 2002-01-21 17:52:26 +00:00
Pavel Roskin 7ed785e3cc * edit.c: Add support for CK_Complete_Word event.
* editcmddef.h: Likewise.
* edit_key_translator.c (cooledit_key_map): Bind Alt-Tab to
CK_Complete_Word.
(emacs_key_map): Likewise.
* editcmd.c: Implement word completion.
2002-01-21 17:49:57 +00:00
Andrew V. Samoilov 2d966e0364 * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
returns.  Make mc_return_cwd static const char *.
Reorder if statement to eliminate unneeded mc_stat calls.
2002-01-21 11:52:25 +00:00
Andrew V. Samoilov aad3bb8314 * vfs.h: Spelled. 2002-01-21 11:10:57 +00:00
Pavel Roskin eb28e580d9 * editmenu.c (CmdMenuEmacs): Add mail command without shortcut.
Users of emacs keys should be able to send mail too.
2002-01-21 08:26:23 +00:00
Pavel Roskin 8959fe55cd Remove --with-gnome and --with-included-slang from configure options.
Add BuildPrereq.
2002-01-21 08:13:41 +00:00
Pavel Roskin 3b283eaf61 * slos2tty.c: Remove since OS/2 is no longer supported.
* Makefile.am (EXTRASRC): Remove slos2tty.c.
2002-01-21 07:52:46 +00:00
Pavel Roskin 5faeab492b Suppresses copying the gettext macro files if they are already avalable to aclocal.
Reported by Petr Kozelka <pkozelka@centrum.cz>
2002-01-21 07:41:47 +00:00
Pavel Roskin 3e8ada15be * screen.c (string_file_size): Translate "UP--DIR".
(string_file_size_brief): Translate "SUB-DIR" and "SYMLINK".
2002-01-20 20:14:15 +00:00
Pavel Roskin 8b7992c81b Update. 2002-01-20 20:12:48 +00:00
Pavel Roskin c14f6363da * dir.c (add_dotdot_to_list): Don't use costly stat() - just put
realistic (i.e. bogus) data to the list.
2002-01-20 20:05:40 +00:00
Pavel Roskin 894ed9dcc6 * screen.c (string_file_size): Don't display size of ".." - it
may take too much time to calculate it on VFS.  Show "UP--DIR"
instead.
(string_file_size_brief): Remove ".." handling - it's now done
in string_file_size().  Show "SUB-DIR" for links to directories,
"SYMLINK" for other links.
2002-01-20 19:52:11 +00:00
Marco Ciampa adce2a295d Header modified... 2002-01-17 17:12:44 +00:00
Pavel Roskin 3116cb1081 * config.h: Remove all HAS_NO_* definitions, they are unused. 2002-01-17 07:43:22 +00:00
Pavel Roskin 3249e26bd5 * chmod.c: Remove OS/2 specific code.
* config.h: Likewise.
2002-01-17 07:38:07 +00:00
Pavel Roskin 50e3625d7d * vfs.h: Remove OS/2 specific code. 2002-01-17 07:32:32 +00:00
Pavel Roskin e02f421074 * extraconf.h: Remove OS/2 specific code. 2002-01-17 07:27:04 +00:00
Pavel Roskin 73ed832576 * cmd.c: Remove OS/2 specific code.
* file.c: Likewise.
* main.c: Likewise.
2002-01-17 07:23:50 +00:00
Pavel Roskin 030d1bf2ad * main.h: Remove dead declarations.
* setup.c: Remove defunct extension alignment support.
* util.c: Likewise.
* util.h: Likewise.
2002-01-17 07:17:54 +00:00
Pavel Roskin 03f801b0f2 * main.c: Remove unused toggle_* functions. 2002-01-17 06:56:22 +00:00
Pavel Roskin e09f199636 * doc/mc.1.in (Configuration): Clarify some entries. 2002-01-17 06:51:57 +00:00
Pavel Roskin ff7208e93b * dir.c: Show backups by default. 2002-01-17 05:42:00 +00:00
Andrew V. Samoilov 7d88c34470 * file.c (copy_dir_dir): Check the destination is a directory
if it exists. Reported by Thomas <metaf4@pseudonym.org>.
2002-01-15 08:01:29 +00:00
Andrew V. Samoilov 1e5b1bfde1 * edit-widget.h: Use PATH_SEP_STR. 2002-01-15 01:43:50 +00:00