Commit Graph

5569 Commits

Author SHA1 Message Date
Pavel Roskin
ff144aca4d * configure.in: Check posix_openpt() first and fallback to
GNU-specific getpt() only if needed.
2003-07-21 23:29:29 +00:00
Pavel Roskin
0ec650da9a * screen.c (panel_key): Redisplay ministatus if the searching
was turned off.  Reported by gotar@poczta.onet.pl
2003-07-21 04:56:56 +00:00
Pavel Roskin
67e50fcb06 * ftpfs.c (load_no_proxy_list): Fix infinitive loop if ferror().
(initconn): Reset variables if setup_passive() fails.
(open_data_connection): Set my_errno to errno before close()
syscall.
(dir_load): Optimize cd_first calculation.
2003-07-21 04:17:39 +00:00
Pavel Roskin
dadbdd25e9 * editcmd.c (edit_quit_cmd): Rename to ...
(edit_ok_to_exit): ... this.  Don't stop dialog - this function
is called by the dialog code.
* editwidget.c (edit_dialog_callback): Process DLG_VALIDATE
event.  Don't exit it the user wants to continue editing.
* edit.c (edit_execute_cmd): Close the dialog - it will ask user
if necessary.
2003-07-21 03:54:47 +00:00
Pavel Roskin
7a5c9a3834 Kill another instance of using delete_file in a wrong place. 2003-07-20 23:34:29 +00:00
Pavel Roskin
9bc8df86ad * editcmd.c (edit_quit_cmd): Don't save this command in the undo
stack.  Don't force any refresh.  Don't delete unsaved files, do
it ...
* edit.c (edit_clean): ... here.  This ensures that unsaved
files from the mcedit command line are erased on Ctrl-n.
2003-07-20 23:24:25 +00:00
Pavel Roskin
0633d91f60 * editwidget.c (edit): Remove unused variable "framed". 2003-07-20 22:15:28 +00:00
Pavel Roskin
688457dc17 Put editor questions to a separate section.
Add question about colorer.
2003-07-12 01:13:37 +00:00
Pavel Roskin
ad33f92572 Automake 1.7.6 has been released - use it. 2003-07-10 23:24:23 +00:00
Pavel Roskin
4229e4fb3d Fix description of the last commit. 2003-07-10 16:47:18 +00:00
Pavel Roskin
21688e15f1 Update. 2003-07-10 16:45:17 +00:00
Pavel Roskin
0564dc68ea Fixed:
Locks for compressed files are not removed.
2003-07-09 00:21:46 +00:00
Pavel Roskin
4b8f0b02b2 * edit.c (edit_clean): Remove stale lock if any. 2003-07-09 00:21:09 +00:00
Pavel Roskin
5ff5f8e9d1 * edit-widget.h: Add new field loading_done.
* edit.c (edit_init): Set loading_done.
(edit_insert): Don't call edit_modification() before the file is
completely loaded.
2003-07-09 00:18:11 +00:00
Pavel Roskin
59593d0e1b * edit-widget.h: Eliminate unused explicit_syntax field. 2003-07-08 23:58:36 +00:00
Pavel Roskin
729a855b29 * edit-widget.h: Stop misusing "unsigned char" for boolean.
Eliminate have_frame - it's unused.  Adjust all dependencies.
2003-07-08 23:46:01 +00:00
Pavel Roskin
0ba153274d Update for fixed issues. 2003-07-08 22:48:07 +00:00
Pavel Roskin
40d911f728 * ext.c (regex_check_type): Handle case when there are no tabs
or spaces after the colon.
2003-07-08 22:24:46 +00:00
Pavel Roskin
452de6619d * ext.c (regex_check_type): Set content_shift to skip the
filename.
2003-07-02 16:42:36 +00:00
Pavel Roskin
43bbd6d299 * hotlist.c: Add buttons "Refresh" and "Free VFSs now" to Active
VFS dialog.
(hotlist_button_callback): Handle the buttons.
* main.c: Remove the 'Free VFS now' menu item.
2003-06-29 23:44:39 +00:00
Pavel Roskin
c1d9304c3f * lib/mc.hint.cs: Typo fixes. 2003-06-29 23:18:23 +00:00
Pavel Roskin
e3b4dedd33 Update FAQ URL 2003-06-29 21:59:56 +00:00
Pavel Roskin
7e3f8b9d87 * ext.c (regex_check_type): Fix previous change. 2003-06-25 17:42:38 +00:00
Marco Ciampa
620308c65f Small fix in manual translation. 2003-06-25 16:01:49 +00:00
Pavel Roskin
e31a950387 * ext.c (regex_check_type): Strip tab(s) after "filename:" in
file output.
2003-06-25 06:32:46 +00:00
Pavel Roskin
e54ac85df6 * lib/mc.ext: Allow ZIP in all capitals in "file" output. 2003-06-23 17:00:57 +00:00
Marco Ciampa
2ccbe3393f Updated Italian translation. 2003-06-23 08:43:19 +00:00
Pavel Roskin
6f5bb55e2b * execute.c (do_execute): Make static. Print end of line after
"Press any key to continue" and user's keystroke, but before
restoring the panels.  Eliminate last_paused variable.  Don't
print fake prompt if there is no command.
2003-06-22 10:15:04 +00:00
Pavel Roskin
b0b8f65cdc * extfs/lslR.in: Portability fixes. 2003-06-22 09:54:19 +00:00
Pavel Roskin
d83c715fab Add POTFILES.in.missing 2003-06-22 09:46:55 +00:00
Pavel Roskin
a94948e665 Update. 2003-06-22 09:45:54 +00:00
Pavel Roskin
bc7b912d37 * POTFILES.in: Add src/execute.c. 2003-06-22 09:39:01 +00:00
Pavel Roskin
c36bf430bf * text.c: Eliminate. Move colors to color.c and clr_scr() to
layout.c.
* main.c (restore_console): Eliminate, use handle_console().
* Makefile.am: Remove text.c.
2003-06-22 09:32:52 +00:00
Pavel Roskin
e06e87edc2 Include execute.h. 2003-06-22 09:18:12 +00:00
Pavel Roskin
e4f7714ab1 * execute.c: New file with all functions for execution and
toggling panels not specific to subshell.
* execute.h: Corresponding header.
* Makefile.am: Adjust for the above.
2003-06-22 09:17:46 +00:00
Pavel Roskin
a568db4228 * main.c (execute): Eliminate. Fix all dependencies.
(shell_execute): Constify string argument.
2003-06-22 08:12:13 +00:00
Pavel Roskin
f40cf73bbd * ftpfs.c (command): Fix misuse of the status variable. Don't
cache the value of SUP.sock before reconnect.
2003-06-22 07:47:33 +00:00
Pavel Roskin
44b8819b9a Remove dashes from the version in the RPM package.
Use exact name of the RPM package.
2003-06-18 05:59:17 +00:00
Pavel Roskin
9e147de291 Use more specific mask for mc rpm to avoid matching the debuginfo package
on Red Hat 9.
2003-06-18 05:26:58 +00:00
Pavel Roskin
5b2bd08768 * configure.in: Remove test for SCO UNIX. Remove all references
to SCO_FLAVOR everywhere.  SCO flavor is rather unsavory now.
2003-06-18 04:47:17 +00:00
Pavel Roskin
82f9de15c0 Replace SCO with FreeBSD. Support for SCO console is being dropped. Support
for FreeBSD console was added recently.
2003-06-18 04:24:24 +00:00
Pavel Roskin
f25efc93c6 Remove references to SCO. 2003-06-18 04:18:06 +00:00
Pavel Roskin
944d5c430b * key.c (mc_bindings): Remove. Esc-">" and Esc-"<" are not
always the same as Home and End, at least in mcedit.
(get_key_code): Never ignore Escape outside known sequences.
* screen.c (panel_keymap): Add Esc-">" and Esc-"<".
* tree.c (tree_keymap): Likewise.
* widget.c (input_map): Likewise.
(listbox_key): Likewise.
(check_movement_keys): Likewise.
Reported by Miguel de Icaza <miguel@ximian.com>
2003-06-14 05:19:19 +00:00
Pavel Roskin
6b63507463 * editkeys.c: Leave only distinct entries in cooledit_key_map
and emacs_key_map.  Move the rest to common_key_map.
2003-06-14 05:02:33 +00:00
Pavel Roskin
9dae056016 * editkeys.c (emacs_key_map): Move Atl-'>' and Alt-'<' ...
(common_key_map): ... here.
2003-06-10 00:35:55 +00:00
Pavel Roskin
2a5aa9dfc6 * Makevars: Add MSGID_BUGS_ADDRESS from gettext-0.12.1 template. 2003-06-09 21:47:18 +00:00
Pavel Roskin
e70bf9a601 Remove references to OS/2. Many minor fixes. New questions about
autoindent and linking with X.
2003-06-09 16:19:44 +00:00
Pavel Roskin
bd8919e567 * key.c (correct_key_code): Treat Shift-Backspace as Backspace. 2003-06-09 05:59:00 +00:00
Pavel Roskin
f55e75b70a * util.h: Add new match_type - match_regex.
* ext.c: Use it everywhere.
(regex_command): Don't change easy_patterns - it affects the
panel filters.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2003-06-07 00:37:28 +00:00
Pavel Roskin
bd9c9343eb * view.c (get_byte): Fix off-by-one error. Found by Valgrind. 2003-06-06 23:54:20 +00:00