Commit Graph

2897 Commits

Author SHA1 Message Date
Pavel Roskin
eafd93ed76 * lib/mc.ext.in: Use nm to view object files. 2001-07-06 22:02:36 +00:00
Pavel Roskin
3f53dee86d * Make.common.in: Remove GNOME-specific and unused definitions.
Partly moved to gnome/Makefile.in.
2001-07-06 21:16:30 +00:00
Pavel Roskin
98938f0035 * Makefile.in: Move here gnome-specific definitions from
../Make.common.in.
2001-07-06 21:13:01 +00:00
Pavel Roskin
a08a62bef3 * Makefile.in: Use additional quotes to preserve @prefix@ when
Makefile is generated.
2001-07-06 21:05:24 +00:00
Pavel Roskin
e477609511 * configure.in: Remove all references to SEDCMD and SEDCMD2 -
they are usused.
* Make.common.in: Likewise.
2001-07-06 20:49:46 +00:00
Pavel Roskin
e09c2cba92 * Makefile.in: Don't use SEDCMD2, use sed. 2001-07-06 20:45:30 +00:00
Pavel Roskin
91a799e3c0 * cons.saver.c: New variable console_minor. Eliminate variables
len and vcs_name.
(check_file): Set console_minor to the minor device number of
the console. Disallow /dev/tty0.
(detect_console): Don't parse tty_name, instead make sure that
it corresponds to console_minor. Check console first. Fallback
to /dev/vcc/a* if /dev/vcsa* cannot be opened.
(save_console): Use console_minor.
(restore_console): Likewise.
2001-07-06 19:24:27 +00:00
Pavel Roskin
a44f9422d2 * cons.saver.c (check_file): Eliminate using text messages to
indicate errors. Improve debug messages.
(detect_console): Likewise.
(main): Adjust call to detect_console.
2001-07-06 17:49:27 +00:00
Pavel Roskin
91f2348983 * main.c (sigchld_handler_no_subshell): Don't restart cons.saver
if it died.
* subshell.c (sigchld_handler): Likewise.
2001-07-06 17:29:20 +00:00
Pavel Roskin
1cd140d5dc * main.c (midnight_callback): Don't handle any events except
Ctrl-x combinations on DLG_KEY event if the menu is active.
2001-07-05 23:27:01 +00:00
Pavel Roskin
6c17a59440 * main.c (load_prompt): Don't change prompt if midnight_dlg is
not the current dialog.
2001-07-05 22:35:16 +00:00
Pavel Roskin
042380d3a0 * editdraw.c: Comment fixes. 2001-07-05 15:19:34 +00:00
Pavel Roskin
1fc74d5ab3 * README.fish: Spelling fixes. 2001-07-05 15:05:23 +00:00
Andraz Tori
8b55434753 Updated Slovenian translation 2001-07-03 21:13:32 +00:00
Andraz Tori
ab125c1677 Updated Slovenian translation 2001-07-02 23:14:39 +00:00
Pavel Roskin
e8c71236bb * Makefile.in.in: Upgrade to gettext-0.10.38. 2001-06-29 17:57:26 +00:00
Pavel Roskin
27bb8d65b8 * ABOUT-NLS: Update to the version from gettext-0.10.38. 2001-06-29 16:59:25 +00:00
Pavel Roskin
45d7dee152 * Make.common.in (XCPPFLAGS): Don't add -I$(top_srcdir) - it's
now done in configure. Move -I.. to the beginning.
* Makefile.am (SUBDIRS): Move intl po to the beginning, since
libintl.a may be required to link mc.
(ACLOCAL_M4_SOURCES): Remove macros/gnome-gettext.m4.
* configure.in: Use AM_GNU_GETTEXT instead of AM_GNOME_GETTEXT.
Move all i18n code to one place. Don't substitute INTLSUB - it's
unused. Substitute INTLDEPS, since AM_GNU_GETTEXT doesn't do it.
Remove SCO-specific i18n hacks. Add -I$(top_srcdir) to CPPFLAGS.
2001-06-29 08:09:37 +00:00
Pavel Roskin
5ff9f80ca8 * Make-mc.in: Don't ever link mcserv with libintl - it must not
depend on it.
2001-06-29 07:20:46 +00:00
Pavel Roskin
a5281c3ee4 * util.c (size_trunc_len): New function - print file size to
a buffer of limited length.
* util.h: Declare size_trunc_len().
* screen.c (string_file_size): Use size_trunc_len().
2001-06-28 04:17:28 +00:00
Miguel de Icaza
2bde471305 Add gnu.org to the desktop 2001-06-27 18:00:11 +00:00
Andrew V. Samoilov
69c85ec184 * smbfs.c: Include <config.h>. Make all internal variables static.
(get_stat_info): Eliminate fake_stat, memory leak fixed.
(IPC, URL_HEADER): Make static const.
(smbfs_stat): Fix segmentation violation.
(statfile_helper): Allocate memory for single_entry once. It is never
freed now, and only my_stat element of this structure is used.
2001-06-27 12:26:27 +00:00
Pavel Roskin
3ec7c60591 * edit-widget.h (editor_widget): Rename stat' to stat1' to
avoid problems on Solaris with 64-bit file access, when `stat'
is a macro. All users adjusted.
Reported by Maksym Polyakov <polyama@yahoo.com>.
2001-06-26 15:52:12 +00:00
Pavel Roskin
44700b7f69 * gmc-chargrid.c: Include <config.h>. 2001-06-26 15:14:01 +00:00
Pavel Roskin
4f10e883fd * xslint.c: Remove.
* Makefile.in (SRCS): Remove xslint.c.
2001-06-26 15:03:30 +00:00
Pavel Roskin
3c6cf84881 * gkey.c: Include the contents of xslint.c.
* Makefile.in (OOBJS): Remove xslint.o.
2001-06-26 15:01:35 +00:00
Pavel Roskin
a6a758e56d * dirent_nt.c: Include <config.h>. 2001-06-26 14:55:08 +00:00
Pavel Roskin
19bf66d5e0 * vfs.h: Don't include <config.h>. 2001-06-26 14:41:31 +00:00
Pavel Roskin
c83fdc336c * key.c (ctrl_pressed): Don't limit functionality to Linux.
* screen.c (prev_page_key): Don't require console_flag to be set
to use ctrl_pressed(), only require that HAVE_X is undefined.
(next_page_key): Likewise.
* widget.c (key_left): Don't limit functionality to Linux.
(key_right): Likewise.
2001-06-26 03:20:22 +00:00
Pavel Roskin
11715780a8 * configure.in: For Autoconf 2.50+, use AC_SYS_LARGEFILE.
It should be enabled explicitly by giving `--enable-largefile'
to configure.
* INSTALL: Document it.
2001-06-25 23:52:47 +00:00
Pavel Roskin
29adaeacbf * main.h: Use "ifdef HAVE_GNOME", not "if HAVE_GNOME". Fix the
order of conditionals and put comments on endifs.
2001-06-25 21:36:38 +00:00
Pavel Roskin
680f3f7ed2 * cpio.c: Include <config.h> before everything else.
* direntry.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* local.c: Likewise.
* tar.c: Likewise.
* utilvfs.h: Don't include <config.h> - it should be included
in all C files instead.
* xdirentry.h: Likewise.
2001-06-25 21:34:46 +00:00
Pavel Roskin
d6ec3110bd * gcorba.h (poa): Declare extern. 2001-06-25 19:09:48 +00:00
Pavel Roskin
1ff97987c0 * gtkedit.c: Remove home_dir - it's declared in main.c. 2001-06-25 19:07:52 +00:00
Andrew V. Samoilov
5cccebee91 * complete.c (filename_completion_function): Clean it up.
(command_completion_function): Make words, bash_reserved and
bash_builtins const, use concat_dir_and_file.
(fetch_hosts): Fix typo, style fixes.
2001-06-25 13:59:04 +00:00
Andrew V. Samoilov
b817d61e79 ;) 2001-06-25 12:06:23 +00:00
Andrew V. Samoilov
e92976c937 * view.c [HAVE_CHARSET]: Include selcodepage.h.
(view_new): Use g_new0.
(ruler): Make static.
2001-06-25 11:24:49 +00:00
Pavel Roskin
0e334b67e8 * mem.h: Undefine bcopy(), bcmp() and bzero() before redefining
them.
2001-06-23 16:02:05 +00:00
Pavel Roskin
89ce46f063 * extraconf.h: Don't define HAVE_INFOMOUNT_QNX on QNX Neutrino. 2001-06-23 03:24:34 +00:00
Pavel Roskin
975726afd0 * ext.c (exec_extension) [HAVE_X]: Disable console handling. 2001-06-23 00:09:13 +00:00
Pavel Roskin
5c56eb0c5a * cons.handler.c: Reorganize includes. Fix warnings on BSD.
* rxvt.c (rxvt_extensions): Make static.
* main.c (sigchld_handler_no_subshell) [!__linux__]: Don't try
to restart cons.saver.
* subshell.c (sigchld_handler) [!__linux__]: Likewise.
2001-06-22 23:29:18 +00:00
Pavel Roskin
18dac21c0d * acinclude.m4 (AC_GET_FS_INFO): Fix checking for f_fstypename
in struct statfs.
Reported by Libor Motyèka <libor.motycka@ortex.cz>.
2001-06-22 18:51:55 +00:00
Pavel Roskin
2ba50c0365 * fsusage.c: Use HAVE_INFOMOUNT.
* mountlist.c: Likewise. Fix condition when mount_list is
declared.
(fstype_to_string): Rename mount_list to mlist to avoid
confusion with the file-scoped static variable.
2001-06-22 16:53:34 +00:00
Pavel Roskin
e193fccf96 * acinclude.m4 (AC_GET_FS_INFO): Warn only once that the list of
mounted filesystems cannot be read. Don't define NO_INFOMOUNT.
Define HAVE_INFOMOUNT_LIST if a any suitable function has been
found.
* extraconf.h: Define HAVE_INFOMOUNT and HAVE_INFOMOUNT_QNX.
2001-06-22 16:47:39 +00:00
Pavel Roskin
6ba78b2f80 s/HAVE_PARAM_H/HAVE_SYS_PARAM_H/ 2001-06-22 15:56:59 +00:00
Pavel Roskin
c27d9c8cc5 * cmd.c [HAVE_X]: Disable more code. Reorder includes. 2001-06-22 15:40:12 +00:00
Pavel Roskin
b3339f9281 * main.c: Remove MenuBarEmpty. From Andrew V. Samoilov. 2001-06-20 17:15:41 +00:00
Pavel Roskin
1636c8ef6b * wtools.c [HAVE_X]: Disable quick dialog routines. 2001-06-20 17:12:47 +00:00
Pavel Roskin
6ccb2a0131 * setup.c (save_setup) [HAVE_X]: Don't save the [Dirs] section.
(load_setup) [HAVE_X]: Don't load the [Dirs] section.
* main.c [HAVE_X]: Disable other_dir and boot_current_is_left.
Adjust all users.
2001-06-20 15:08:18 +00:00
Pavel Roskin
8040aeec39 * background.h: Correct condition when WITH_BACKGROUND is
defined.
* fsusage.c: Rearrange the includes. Define HAVE_QNX_MOUNT
for old QNX and use it instead of __QNX__.
* mountlist.c: Likewise.
* keyxdef.c: Define HAVE_QNX_KEYS for old QNX and use it instead
of __QNX__.
2001-06-19 19:57:58 +00:00