Commit Graph

3463 Commits

Author SHA1 Message Date
Pavel Roskin
0a4aa53f65 * cmd.c: Clean up unused GNOME code and some ifdef's.
* dlg.c: Likewise.
* dlg.h: Likewise.
* ext.c: Likewise.
* setup.c: Likewise.
2001-09-16 00:53:43 +00:00
Pavel Roskin
33b7085e68 Update. 2001-09-16 00:25:01 +00:00
Pavel Roskin
7fe30fff07 * cmd.c (guess_message_value): Remove the argument. Adjust all
callers.
2001-09-16 00:18:39 +00:00
Pavel Roskin
e94ec737ad * textconf.c (features): Remove "edition", minor fixes.
(version): Don't report the current locale - it's meaningless,
especially if ENABLE_NLS is not defined.
2001-09-16 00:07:59 +00:00
Pavel Roskin
7e69c250a5 * textconf.h: Remove status_using_ncurses - it's useless now.
Adjust all users.  Call do_exit_ca_mode() and do_enter_ca_mode()
even with ncurses.
2001-09-15 23:44:43 +00:00
Pavel Roskin
dad13bfb19 * doc/mc.1.in: Fix location of mcedit files.
* doc/mcedit.1.in: Likewise.  Remove obsolete technical details.
2001-09-15 23:16:20 +00:00
Pavel Roskin
aa50585937 * main.c (init_xterm_support): Don't enable xterm_flag just
because of "kmous" in terminfo.  Setiing this flag means much
more than just mouse support.  Recognize terminals beginning
with "rxvt" and set xterm_flag for them.
2001-09-15 22:59:34 +00:00
Pavel Roskin
e65a82ed06 * cmd.c (view_other_cmd): Don't check use_mouse_p before calling
init_mouse() and shut_mouse(), since those functions decide
themselves what to do.
* layout.c (done_screen): Likewise.
* main.c (setup_mc): Likewise.
* text.c (edition_post_exec): Likewise.
(edition_pre_exec): Likewise.
2001-09-15 21:34:42 +00:00
Pavel Roskin
b54b1e491c * user.h: Fix location of the home editor menu.
Reported by David Martin <dmartina@excite.es>
2001-09-15 18:56:58 +00:00
Pavel Roskin
3051dba20b * mouse.h: Export xmouse_seq.
* mouse.c (init_mouse): Use xmouse_seq instead of hardcoded
xterm mouse sequence.
* main.c (setup_post): Join with setup_mc().
(init_xterm_support): New function.  Check mouse capability.
(OS_Setup): Remove parts that are now in init_xterm_support().
2001-09-15 16:54:40 +00:00
Pavel Roskin
db1f552c5c * configure.in: Don't check for ncurses version and for keyok()
because the mouse support code doesn't need this hack anymore.
2001-09-15 01:23:49 +00:00
Pavel Roskin
7efdf3527d * key.c (get_event): Recognize KEY_MOUSE, not just MCKEY_MOUSE.
* mouse.c: Don't use or emulate keyok(), since MC understands
KEY_MOUSE now.
2001-09-15 01:18:11 +00:00
Pavel Roskin
462e063ce4 * configure.in: Fix some cases of overquoting and underquoting.
* acinclude.m4: Likewise.
2001-09-13 19:40:40 +00:00
Pavel Roskin
33b09eee48 * configure.in: Update list of browsers. Don't fallback to
lynx since it cannot be run in background.
* lib/mc.ext.in: Redirect output of X11 browsers to /dev/null.
If no browser for X11 was found, use lynx.
2001-09-12 22:10:37 +00:00
Pavel Roskin
94ad49d237 * autogen.sh: Add a workaround to ensure that "depcomp" is
distributed.
* configure.in: Replace obsolete macros.  Use AC_MSG_NOTICE
where appropriate.
* acinclude.m4: Likewise.  Fix check whether S-Lang uses
terminfo.
2001-09-12 20:45:46 +00:00
Pavel Roskin
692f52ce8d * configure.in: Use three-argument form of AC_INIT. Use
AC_CONFIG_AUX_DIR.  Remove some unused or implied macros.
* Makefile.am (EXTRA_DIST): Remove "depcomp" - this workaround
is not needed if AC_CONFIG_AUX_DIR is used.
* vfs/Make-mc.in: Adjust mkinstalldirs location.
* autogen.sh: Create "config" and remove "autom4te.cache".
2001-09-12 19:18:38 +00:00
Christian Rose
0c9321e2c1 2001-09-12 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2001-09-11 22:06:04 +00:00
Pavel Roskin
6d8020ff3d * syntax.c (syntax_text): Remove, it's a separate file now.
(upgrade_syntax_file): Remove.
(edit_read_syntax_file): Use check_for_default().
2001-09-11 21:44:52 +00:00
Pavel Roskin
fad8bcf073 * syntax/Syntax: New file, extracted from edit/syntax.c.
* syntax/Makefile.am: Add Syntax.
2001-09-11 21:42:13 +00:00
Pavel Roskin
a100142753 * cmd.c (check_for_default): Make accessible from other files.
* cmd.h: Declare check_for_default().
2001-09-11 21:38:59 +00:00
Pavel Roskin
4451b088b1 * configure.in: Add -lcurses (for use with S-Lang) to MCLIBS not
to LIBS.  Don't use unportable "grep -q", use "case" instead.
2001-09-11 20:04:33 +00:00
Pavel Roskin
34a95b4942 * configure.in: Only check for X if --with-tm-x-support has been
specified.
2001-09-11 02:35:45 +00:00
Pavel Roskin
13e92aca94 * layout.c: Use HAVE_TERMIOS_H and HAVE_SYS_IOCTL_H more
consistently.
* mouse.c: Likewise.
* subshell.c: Likewise.
* win.c: Likewise.
* util.c: Remove unused includes.
2001-09-11 02:18:02 +00:00
Pavel Roskin
28cd178099 * configure.in: Add check for sys/ioctl.h. 2001-09-11 02:03:19 +00:00
Pavel Roskin
61b18a0643 * configure.in: Use AC_FUNC_STRCOLL instead of generic test. 2001-09-11 01:42:08 +00:00
Pavel Roskin
eb67c01aef * acinclude.m4: Put -lncurses to MCLIBS, not LIBS.
* configure.in: Likewise.  Add MCLIBS to LIBS temporarily when
testing for functions in ncurses.
2001-09-11 01:29:29 +00:00
Pavel Roskin
5452cf366a * acinclude.m4: Provide descriptions in all AC_DEFINE macros.
* configure.in: Likewise.  Use AH_BOTTOM to include extraconf.h.
* acconfig.h: Remove.
2001-09-11 00:27:03 +00:00
Pavel Roskin
0883a31c10 * Makefile.am (mc_LDADD): Don't use LSLANG and LGPM, since they
are now included into MCLIBS.
2001-09-10 22:00:25 +00:00
Pavel Roskin
cc46c2eb12 * configure.in: Eliminate LIBSLANG and LSLANG.
* acinclude.m4: Likewise.  Use MCLIBS for -lslang.
2001-09-10 21:55:26 +00:00
Pavel Roskin
b55e0f0e18 * configure.in: Eliminate LIBSLANG and LSLANG.
* acinclude.m4: Likewise.  Use MCLIBS for -lslang.

resizeterm() and keyok() only if configuring with ncurses.
2001-09-10 21:54:05 +00:00
Pavel Roskin
c0ddf2c09a * configure.in: Use MCLIBS for -lgpm. Remove LGPM. Check for
resizeterm() and keyok() only if configuring with ncurses.
2001-09-10 21:16:40 +00:00
Pavel Roskin
36ec0ba15b * configure.in: Remove now unused variables LIBVFS and LVFS. 2001-09-10 20:31:35 +00:00
Pavel Roskin
92f05b1d2f * Make-mc.in: Use USE_VFS conditional instead of relying on
LIBVFS.
2001-09-10 20:26:13 +00:00
Pavel Roskin
fea1e1867e * configure.in: Remove unused variables LINTL and INTLDEPS. 2001-09-10 20:10:43 +00:00
Pavel Roskin
c69f80cc61 * Makefile.am (mc_LDADD): Use INTLLIBS provided by gettext
instead of LINTL.
2001-09-10 20:08:28 +00:00
Pavel Roskin
35ef57ca76 * configure.in: Add -I\$(top_builddir)/intl to CPPFLAGS when
building with included gettext, because libintl.h is copied
there.
2001-09-10 19:31:14 +00:00
Pavel Roskin
192d6c1853 * hotlist.c (load_hotlist): If cannot open hotlist, don't assume
that it needs to be migrated and don't warn the user.
2001-09-09 05:46:44 +00:00
Pavel Roskin
27a58d6bb4 * NEWS: Update. 2001-09-09 04:24:34 +00:00
Pavel Roskin
4e09ec3e27 * configure.in: Remove a hack for Unixware. AC_FUNC_GETMNTENT
checks -lgen for getmntent as of Autoconf 2.52.
2001-09-09 04:05:14 +00:00
Pavel Roskin
e136f3b7b3 * Makefile.am: Fix definitions of CONFDIR and LOCALEDIR. 2001-09-09 01:50:00 +00:00
Pavel Roskin
ed1d72c662 * edit.h: Remove some useless definitions. 2001-09-08 05:45:27 +00:00
Pavel Roskin
a16f742216 * subshell.c: Move definitions of WEXITSTATUS and WIFEXITED
below all includes so that they can be defined elsewhere.
2001-09-08 05:36:23 +00:00
Pavel Roskin
b52bd06f04 * myslang.h: Specify arguments to function-like macros or remove
them if they are unused.
2001-09-08 04:37:19 +00:00
Pavel Roskin
92565a30ba * main.c: Remove old debugging code. Remove external function
declarations.
(menu_bar_event): Remove, it's unused.
* main.h: Declare get_mc_lib_dir() and force_ugly_line_drawing.
* layout.c: Remove all external declarations.
2001-09-08 04:06:03 +00:00
Pavel Roskin
bd5f3b08ae * main.c (main): Call save_stop_handler() - it was ifdef'd out
by error.
2001-09-07 22:37:46 +00:00
Pavel Roskin
14c07c5677 * Makefile.am: Don't define "MIDNIGHT" - it's unused now. 2001-09-07 21:24:11 +00:00
Pavel Roskin
482e115e3b * main.c: Remove all GNOME code. 2001-09-07 21:15:04 +00:00
Pavel Roskin
1e798d6953 Update. 2001-09-07 20:21:22 +00:00
Pavel Roskin
89dc0964cb * cmd.c: No need to define "MIDNIGHT" before including vfs.h. 2001-09-07 20:15:14 +00:00
Pavel Roskin
afee09a276 * edit.c: Eliminate all code disabled for the text edition.
* editcmddef.h: Likewise.
* editmenu.c: Likewise.
* editwidget.c: Likewise.
* syntax.c: Likewise.
* wordproc.c: Likewise.
2001-09-07 20:10:45 +00:00