Commit Graph

5197 Commits

Author SHA1 Message Date
David Martin
ca68457e45 Update FSF information in GPL text. 2002-12-27 13:24:46 +00:00
Pavel Roskin
45f6d2fbec * view.c (max_dirt_limit): Make global to match view.h.
* setup.c (options): Actually save max_dirt_limit, which is
documented as a "special setting".
2002-12-27 06:48:33 +00:00
Pavel Roskin
9b2632690d Change base version to 4.6.0-pre2. 2002-12-26 22:05:26 +00:00
Pavel Roskin
56c5c053d0 * configure.in: Release 4.6.0-pre2, bump version to 4.6.0-pre2a. 2002-12-26 22:04:31 +00:00
Pavel Roskin
14e39c1f24 Regenerate for 4.6.0-pre2. 2002-12-26 21:33:33 +00:00
Pavel Roskin
9ae2b513e4 Add:
- Current directory is shown in the xterm window title.
2002-12-26 21:31:39 +00:00
Pavel Roskin
355b682790 Add with_x=no to the minimal configuration. 2002-12-26 21:25:57 +00:00
Pavel Roskin
f2cf13159c * key,c (get_modifier): Warning fix. 2002-12-26 21:23:23 +00:00
Pavel Roskin
6ef3ea6500 Grouped changes for 4.6.0-pre2. 2002-12-26 20:38:33 +00:00
Pavel Roskin
ca66e5f21a Minor changes, update the date. 2002-12-26 20:17:06 +00:00
Pavel Roskin
05bb51964b * configure.in: Fix non-portable operator. Bump version to
4.6.0-pre2.
2002-12-26 20:05:58 +00:00
Pavel Roskin
4cec4a2058 * file.c: Never access internals of ctx->rx directly.
* fileopctx.c (file_op_context_destroy): Use regfree() to free
ctx->rx.
Patch from Red Hat beta.
2002-12-26 19:04:10 +00:00
Pavel Roskin
c054b3783f Update. 2002-12-26 16:50:11 +00:00
Pavel Roskin
818d127652 Add comments. 2002-12-26 16:38:25 +00:00
Pavel Roskin
89804295bd * layout.c (setup_panels): Clean the hint bar if it's enabled.
Bug reported by Adam Byrtek <alpha@debian.org>
2002-12-26 16:36:07 +00:00
Pavel Roskin
da0c9299ad * main.c (update_xterm_title_path): New function, display
current path in the xterm window title.
(_do_panel_cd): Call update_xterm_title_path().
(done_mc): Remove final message for the titlebar.
* layout.c: Replace "Xterm hintbar" option with more generic
"Xterm window title".  Update all dependencies.
(setup_panels): Call update_xterm_title_path().
2002-12-26 16:10:45 +00:00
David Martin
acaf2e974e Update. 2002-12-26 16:00:03 +00:00
Pavel Roskin
f6bb0e1c2c Formatting change. 2002-12-26 15:16:04 +00:00
Pavel Roskin
1c9d69e2b3 Update. 2002-12-26 15:09:51 +00:00
Pavel Roskin
541abac5c3 * utilunix.c (mc_tmpdir): Check temporary directory more
carefully.  Report problems and ask user to acknowledge them.
2002-12-26 14:47:46 +00:00
Pavel Roskin
f76e27d6a5 Remove unused declaration. 2002-12-26 11:38:34 +00:00
Pavel Roskin
3286b6e5e2 * main.c (midnight_callback): Fix the last change, so that plain
Enter is not affected.
2002-12-26 10:57:11 +00:00
Pavel Roskin
f2c028ce46 s/can not/cannot/ 2002-12-26 02:21:37 +00:00
Pavel Roskin
befd79dfbc * main.c (copy_prog_name): Make static.
(midnight_callback): Handle both Alt-Enter and Ctrl-Enter before
the widgets, because the input widget interprets them now.
(default_map): Remove Alt-Enter, it's handled elsewhere.
2002-12-26 02:09:41 +00:00
Pavel Roskin
7f3a386062 * key.c (correct_key_code): Convert Shift-Tab and Ctrl-Tab to
Back Tab (used in dialogs to jump to the previous widget).
2002-12-25 23:30:49 +00:00
Pavel Roskin
9393a182b5 * widget.c (input_callback): Insert Enter with a modifier as
literal Enter.  Useful when pasting multiline text.
2002-12-25 23:15:48 +00:00
Pavel Roskin
812bac9a33 * editkeys.c: Move key maps to the file scope. Put common keys
to a separate table common_key_map.
(edit_translate_key): Remove unused argument x_keycode.
2002-12-25 22:53:07 +00:00
Pavel Roskin
9dc4fc6342 * extfs.c (read_archive): Free archive if the "list" command
returned non-zero, return -1.
Initial implemntation from Adam Byrtek <alpha@debian.org>
2002-12-25 21:42:59 +00:00
Pavel Roskin
10391e82cf * cmd.c (execute_with_vfs_arg): New function. Work around
defects of VFS localcopy code.
(view_file_at_line): Use execute_with_vfs_arg().
(do_edit_at_line): Likewise.
2002-12-25 20:55:39 +00:00
Pavel Roskin
bb5a5bcd35 Merge local TODO list. Reorder some entries. 2002-12-25 18:52:54 +00:00
Pavel Roskin
a69bf1d51a Update. Everything planned for 4.6.0-pre2 has been done. 2002-12-25 18:00:15 +00:00
Pavel Roskin
c61c08f137 Trivial fix from Vlad Romanenko <vladam@users.sourceforge.net> 2002-12-25 15:19:39 +00:00
Pavel Roskin
e0bbeb7085 * editkeys.c (edit_translate_key): Treat Shift-Enter as return
without indent.  Useful when pasting multiline text with
Shift-button3 or Shift-Insert with autoindent enabled.
2002-12-25 05:46:03 +00:00
Pavel Roskin
ddf2ad1612 * direntry.c (vfs_s_open): If the filesystem is read-only,
disable file creation.
2002-12-25 04:57:26 +00:00
Pavel Roskin
423849f74d Partly revert the last change - low-level chdir actually writes to
the "directory" argument, so preserve it.
2002-12-25 04:38:50 +00:00
Pavel Roskin
075d359907 * vfs.c (mc_chdir): Don't change current directory until the
low-level chdir succeeds.
2002-12-25 04:02:34 +00:00
Pavel Roskin
3a377a802d * vfs.c (vfs_name): Eliminate - it's unused and wrong. 2002-12-25 02:47:21 +00:00
Pavel Roskin
f8958b0a61 * key.c (is_idle): Check for input on input_fd and gpm_fd. 2002-12-25 02:01:31 +00:00
Pavel Roskin
5365b83ae1 Try harder to remove $MC_BUILD_DIR - use chmod. 2002-12-25 00:58:34 +00:00
Pavel Roskin
8dcd811ec9 Work around bug in rpm 4.1 that expands defines in comments.
Handle --without-x.
2002-12-25 00:52:45 +00:00
Pavel Roskin
201dbae818 * lib/mc.ext.in: Use --nosignature with rpm to avoid a message
in the viewer about unsigned packages.
2002-12-24 23:01:43 +00:00
Pavel Roskin
f3ec13cea2 * main.c (init_xterm_support): Revert last change, it doesn't
free all S-Lang memory anyways, but creates portability issues.
2002-12-24 20:22:29 +00:00
Pavel Roskin
c3fd15e72a * acinclude.m4 (MC_WITH_SLANG): Don't add -lslang to MCLIBS if
the system S-Lang is rejected.
2002-12-24 20:13:05 +00:00
Pavel Roskin
76fda9fe79 Fixed:
Find file dialog should not be closed if the regex is invalid.
2002-12-24 11:30:05 +00:00
Pavel Roskin
eb781a8f06 * dlg.h: Add new event DLG_VALIDATE.
* dlg.c (frontend_run_dlg): Send DLG_VALIDATE.
(select_a_widget): Don't send DLG_ONE_DOWN, nobody uses it.
* find.c (find_parm_callback): New callback for the parameter
dialog.  Don't allow stopping the dialog if the regular
expression is invalid.
2002-12-24 11:28:26 +00:00
Pavel Roskin
336183ab5d * lib/mc.ext.in: Play *.mov by mplayer. 2002-12-24 08:30:51 +00:00
Andrew V. Samoilov
6fec66eb87 * extfs/mailfs.in: Quote filename when openning mailbox. 2002-12-24 06:56:16 +00:00
Andrew V. Samoilov
1edcc92829 * extfs/apt.in, extfs/dpkg.in: Avoid stat on non-existing file. 2002-12-24 06:33:46 +00:00
Pavel Roskin
47e32ea5a5 * layout.c (init_curses) [HAVE_SLANG]: Don't call
SLtt_get_terminfo(), it's already called in slang_init().
* main.c (init_xterm_support): Free term_entry.
2002-12-24 03:37:34 +00:00
Pavel Roskin
107e1f0954 Partly revert last change - subshell_switch_key has to be char. 2002-12-24 03:05:09 +00:00