Commit Graph

3541 Commits

Author SHA1 Message Date
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
Andrew V. Samoilov
e41f4c01e4 (edit_read_syntax_rules): Eliminate c->single_char.
It's only written but never read.

* edit.h (struct context_rule): Comment out single_char field.
It is written once but never read.
2002-01-15 01:41:18 +00:00
Andrew V. Samoilov
3eea969c3b * syntax.c (syntax_g_free): New macro to release and NULLify
glib allocated memory area(s).
(strdup_convert): Rename to ...
(convert): ... this.  Don't strdup passed string.
(get_args): Use convert instead of strdup_convert.
(free_args): Make it do notning macro.
(open_include_file): Eliminate p array. Use glib function to
construct error_file_name. Use PATH_SEP instead of '/';
(edit_read_syntax_file): Use PATH_SEP_STR.
(edit_load_syntax): Use syntax_g_free to release error_file_name.
(edit_read_syntax_rules): Likewise.
2002-01-15 01:32:59 +00:00
Andrew V. Samoilov
d8bec56efe * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
if smbfs support is enabled.

* smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
2002-01-11 08:24:17 +00:00
Andrew V. Samoilov
1fd13c4732 * acinclude.m4: New options for smbfs:
--with-configdir=DIR    Where the Samba configuration files are (/etc)
--with-codepagedir=DIR  Where the Samba codepage files are
2002-01-11 07:45:11 +00:00
Pavel Roskin
e97b30ad04 * syntax/xml.syntax: New file - hightlighting for XML.
From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add xml.syntax.
* syntax/Makefile.am: Likewise.
2002-01-11 05:51:32 +00:00
Andrew V. Samoilov
21c015b2f8 * util.c (string_perm) [S_IFDOOR]: Support Solaris doors.
screen.c (string_file_type) [S_IFDOOR]: Likewise.
2002-01-09 10:54:13 +00:00
Andrew V. Samoilov
87204c2b2b s/editpr/editor/ 2002-01-08 13:48:21 +00:00
Stanislav Brabec
da1c8711db czech translation update 2002-01-07 18:20:02 +00:00
Pablo Saratxaga
9f0917777c Added Basque file 2002-01-04 15:03:59 +00:00
Pavel Roskin
05c33885c5 Updated. 2002-01-03 16:37:05 +00:00
Pavel Roskin
a2ee840c65 * lib/mc.menu: Correct quoting.
Reported by Matthias Urban <murban@cs.uni-magdeburg.de>
2002-01-03 16:33:08 +00:00
Pavel Roskin
922f8b75c3 * NEWS: Mention removal of the OS/2 port.
* README.PC: Remove OS/2 specific parts.
2002-01-03 08:27:25 +00:00
Pavel Roskin
24cf8069a7 * BUGS: Remove obsolete and OS/2 specific parts.
* README: Likewise.
* TODO: Likewise.
2002-01-03 07:35:10 +00:00
Pavel Roskin
182da213b2 * Makefile.am: Remove all files used by OS/2 only. The OS/2
port is discontinued because there is no support for native OS/2
compilers in glib.  Remove sys/time.h and dirent.h - they should
not be needed anymore.
2002-01-03 07:18:52 +00:00
Pavel Roskin
1dcc3e89bc * Makefile.am: Add *clean-local targets to take care of the
samba directory.
2002-01-03 01:26:24 +00:00
Pavel Roskin
8ef801e873 * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
this setting is not inherited from the top-level configure.
2002-01-03 00:56:57 +00:00
Pavel Roskin
0276ca4760 * config.h: Include VERSION, not ..VERSION. Use sys/utime.h
instead of utime.h for MSVC and MinGW.  Don't use dirent on
Win32 - it's replaced by glib.
2002-01-02 19:14:02 +00:00