Commit Graph

3324 Commits

Author SHA1 Message Date
Stanislav Visnovsky
0b36c8cbc7 2001-09-21 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
2001-09-21 10:58:42 +00:00
Pavel Roskin
5e3bb68e26 * cmd.c: Change all "long" variables to "off_t" whenever they
are used to store file sizes.
* file.c: Likewise.
* file.h: Likewise.
* fileopctx.h: Likewise.
* tree.c: Likewise.
* filegui.c: Likewise.
(show_bar): Take "double" arguments.  Normalize arguments of
gauge_set_value() before converting them to "int".
2001-09-21 05:04:38 +00:00
Fatih Demir
9ce4c8d71a Updated tr.po 2001-09-20 11:37:25 +00:00
Pavel Roskin
0f1954d2ff * doc/mcedit.1.in: Fix a very long line - use double
backslashes since they are interpreted even in the .nf blocks.
2001-09-20 01:42:57 +00:00
Pavel Roskin
6f248850ea * lib/edit.spell.rc: Try aspell before resorting to ispell. 2001-09-20 01:13:29 +00:00
Pavel Roskin
419a1aa3dc * syntax/php.syntax: Replace with a better implementation by
Max Schedriviy <max@tavrida.net>
2001-09-19 04:52:47 +00:00
Pavel Roskin
b4324a149b * edit.h: Don't use macro `stat' - it's already a macro on
Solaris 8 with large file support.
* editcmd.c: Replace stat() with mc_stat().
* edit.c: Likewise.
2001-09-17 21:32:47 +00:00
Pavel Roskin
534e8f432a * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
mc_fstat() because they don't expand correctly on Solaris 8 with
large file support.
2001-09-17 21:29:51 +00:00
Pavel Roskin
34947b1819 * mouse.h: Major cleanup and interface change. init_mouse()
should only be called once, disable_mouse() and enable_mouse()
should be used later.  Distinguish between disabled and
undetected mouse.  Remove debugging stuff.  Adjust all users.
* mouse.c: Implementation of the above.
* key.c: Don't use gpm_flag - check mouse_enabled instead.
2001-09-17 04:43:58 +00:00
Pavel Roskin
9b00e32f64 * view.c: Cleanup of preprocessor directives.
* view.h: Likewise.
* widget.c: Likewise.
* widget.h: Likewise.
2001-09-16 01:22:12 +00:00
Pavel Roskin
f2e38b2c3a * textconf.h: Get rid of all PORT_HAS_*. Adjust all users.
Continued eliminating GNOME code.
2001-09-16 01:10:09 +00:00
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