1
1

1873 Коммитов

Автор SHA1 Сообщение Дата
Dmitry Alexeyev
6147cf303e * key.c (get_event): Treat all negative values of gpm_fd in the
same way.  Add one more check that gpm is alive.
2003-12-24 07:21:34 +00:00
Dmitry Alexeyev
1172440f67 Warning fix from Dmitry Alexeyev <dmi_a@qnx.org.ru> 2003-12-24 07:11:31 +00:00
Dmitry Alexeyev
95a681cd24 * layout.c (rotate_dash): Set color before printing the dash. 2003-12-24 06:43:26 +00:00
Pavel Roskin
b151ce4419 Constify rotating_dash. 2003-12-06 04:04:27 +00:00
Pavel Roskin
c1b37a392b Typo fix. 2003-12-06 04:03:07 +00:00
Pavel Roskin
125456c5d8 * command.c (examine_cd): Add tilde expansion. 2003-12-01 16:59:29 +00:00
Pavel Roskin
e30307ea4a * utilunix.c (tilde_expand): Correct last fix, simplify code.
Reported by David Sterba <dave@jikos.cz>
2003-11-28 15:23:19 +00:00
Pavel Roskin
ab4e930084 * execute.c (toggle_panels): Refresh panels after returning from
Ctrl-O.
2003-11-27 18:19:57 +00:00
Pavel Roskin
7c0f20bcb8 * src/TODO: Move ...
* TODO: ... here.
* doc/DEVEL: Move ...
* HACKING: ... here.  Adjust makefiles.
2003-11-27 18:06:56 +00:00
Pavel Roskin
1edc838fb9 TODO for version 4.6.1 completed. 2003-11-27 17:58:40 +00:00
Pavel Roskin
73968fe432 * cmd.c (view_file_cmd): Use input_expand_dialog(). 2003-11-27 17:52:55 +00:00
Pavel Roskin
2256237cd9 * wtools.c (quick_dialog_skip): Perform tilde expansion on input
widgets that use cd completion.
2003-11-27 09:55:15 +00:00
Pavel Roskin
42da92333f * utilunix.c (tilde_expand): Preserve tilde if the username
could not be found.  Don't ever return NULL.  Change callers not
to check for NULL.
2003-11-27 09:45:22 +00:00
Pavel Roskin
e55f09f530 * dialog.c (do_select_widget): New function that it the only one
calling dlg_focus() and dlg_unfocus().  Incorporate code from
other functions that did it.
(dlg_select_widget): Change return type to void.
2003-11-27 08:59:54 +00:00
Pavel Roskin
04b4194371 * dialog.h (dlg_widget_active): New function - check if the
widget is active.
* boxes.c (display_callback): Use it.
* layout.c (swap_panels): Likewise.
* screen.c (do_panel_event): Likewise.
2003-11-27 00:46:39 +00:00
Pavel Roskin
73241613c2 * dialog.c: Eliminate callback macro. 2003-11-27 00:34:00 +00:00
Pavel Roskin
bf4c26959c * dialog.c (dlg_replace_widget): Use dlg_select_widget().
(select_a_widget): Rename to select_other_widget(), factorize
most code from dlg_one_up() and dlg_one_down().
2003-11-27 00:17:43 +00:00
Pavel Roskin
0657d80ec7 Done: VFS crash. 2003-11-26 21:26:11 +00:00
Pavel Roskin
645eeb8118 * complete.c (check_is_cd): Simplify logic, use isspace(). 2003-11-24 21:22:00 +00:00
Pavel Roskin
baa4e26cdc * hotlist.c (add_new_group_input): Clean up.
* wtools.c (do_create_message): Eliminate g_strdup_printf().
(bg_message): Likewise.
2003-11-24 20:34:45 +00:00
Pavel Roskin
20b89d5436 * view.c (check_left_right_keys): Implement fast scrolling if
Ctrl is pressed.  Idea by Arpad Biro <biro_arpad@yahoo.com>
2003-11-21 06:27:14 +00:00
Pavel Roskin
d839fbc15a * execute.c (do_execute): Use get_key_code(), not getch() to
consume all characters from a single sequence.
Reported by Miven Dooligan <dooligan@intergate.ca>
2003-11-21 05:31:59 +00:00
Pavel Roskin
a128188ae1 Warning fixes for FreeBSD 5.1. 2003-11-21 03:17:18 +00:00
Pavel Roskin
99e6b0f929 * glibcompat.h: Provide replacement for g_slist_delete_link().
Reported by Pavel S. Shirshov <pavelsh@mail.ru>
2003-11-20 20:25:33 +00:00
Pavel Roskin
948cfd2606 * util.c (load_mc_home_file): Eliminate g_strdup_printf(). 2003-11-20 18:38:29 +00:00
Pavel Roskin
474fc58d94 * user.c (expand_format): Preserve "%" if followed by a
characted without special meaning.
2003-11-19 22:56:07 +00:00
Pavel Roskin
bf39c2c4ef * glibcompat.h: Define g_try_realloc as realloc for glib 1.2.x. 2003-11-14 20:48:13 +00:00
Pavel Roskin
4a9c0da0b0 * main.c (midnight_callback): Ctrl-Shift-Enter now copies full
path to the command line, like in Total Commander.
2003-11-14 20:43:11 +00:00
Pavel Roskin
29d16f22be Typo fixes. 2003-11-14 14:40:25 +00:00
Pavel Roskin
b57b6069b9 Fixed: VFS split. 2003-11-14 08:27:22 +00:00
Pavel Roskin
d739c12313 Shift most changes to "After 4.6.1". Add most urgent regressions. 2003-11-13 17:32:31 +00:00
Pavel Roskin
12d78ba8df * boxes.c: Include "../vfs/gc.h" if VFS is used.
* hotlist.c: Likewise.
* key.c: Likewise.
* main.c: Likewise.
* setup.c: Likewise.
2003-11-07 23:50:18 +00:00
Pavel Roskin
083d26f3c8 * view.c (free_file): Don't use check_error_pipe(), display
error messages in close_error_pipe().
* utilunix.c (check_error_pipe): Remove, it's unused.
2003-11-07 21:15:47 +00:00
Pavel Roskin
0a9c708bec Fixes for bad strings:
"In this cases"
  "~/.netrc file has not correct mode"
Reported by Arpad Biro <biro_arpad@yahoo.com>
2003-11-05 00:33:34 +00:00
Pavel Roskin
fce80af570 * widget.[ch] (listbox_search_text): Constify "text" argument.
(listbox_add_item): Ditto.

* find.c (add_to_list): Make inline.
(stop_idle): Ditto.
(status_update): Ditto.
(get_list_info): Ditto.

(push_directory): Constify "dir" argument and use
concat_dir_and_file() instead of g_strdup().

(find_add_match): Constify "dir" and "file" arguments.
(insert_file): Ditto. Don't append trailing PATH_SEP, it's done
in push_directory().

(search_content): Constify "directory" and "filename" arguments.
(do_search): Make "directory" char * instead of char[].
2003-10-30 16:43:22 +00:00
Pavel Roskin
0ba019a90b * configure.in: Use AC_CHECK_MEMBERS to check fields of struct
stat.  Adjust all dependencies.
2003-10-29 17:36:16 +00:00
Pavel Roskin
8bc40b44f0 Fix includes not to rely on $(top_srcdir) being in the include path. 2003-10-29 08:54:22 +00:00
Pavel Roskin
036d1d4602 * fsusage.c: Merge ...
* mountlist.c: ... here.  These files are closely related.  Move
some defines from extraconf.h here.
* fsusage.h: Remove.
* Makefile.am: Remove fsusage.c and fsusage.h.
2003-10-29 08:12:44 +00:00
Pavel Roskin
5f35b799bb No need to undefine USE_NETCODE. 2003-10-29 06:58:14 +00:00
Pavel Roskin
87206cfeb5 * ext.c (regex_check_type): Use mc_getlocalcopy() instead of
piping first 8k to "file".  If the user selected the file, we
are likely to need the whole file.  Besides, mc_getlocalcopy()
on ftpfs and fish shares file cache with other VFS operations.
(get_file_type_pipe): Remove.
(mc_doublepopen): Likewise.
(mc_doublepclose): Likewise.
2003-10-29 01:15:16 +00:00
Pavel Roskin
ffddff51ea * utilunix.c: Move mc_doublepopen() and mc_doublepclose() ...
* ext.c: ... where they are used.
2003-10-27 21:51:48 +00:00
Pavel Roskin
0e71b37f2a Don't include background.h if it's not needed.
If needed, add explanation.
2003-10-27 17:36:19 +00:00
Pavel Roskin
e829a85981 * slint.c (mc_refresh): Revert last change - it breaks screen
restoring on rxvt.
2003-10-27 17:34:57 +00:00
Pavel Roskin
1ddf30732b * tree.c (tree_rmdir_cmd): Don't change to the root directory -
it's not needed now.
2003-10-27 17:21:13 +00:00
Pavel Roskin
2bf7ae1b6c * win.c (check_movement_keys): Add support for Ctrl-PgDown,
Ctrl-PgUp, Ctrl-Home and Ctrl-End.
2003-10-27 05:59:03 +00:00
Pavel Roskin
290426d17a * terms.c: Merge ...
* win.c: ... here.
* Makefile.am: Remove terms.c.
2003-10-26 07:02:13 +00:00
Pavel Roskin
24384e9a89 * panel.h: Fix duplication between cpanel and current_panel in
favor of current_panel.  Ditto opanel and other_panel.
2003-10-26 06:45:59 +00:00
Pavel Roskin
bb13ad8db4 * main.c (get_current_panel): Remove.
(get_other_panel): Move ...
* layout.c: ... here.
2003-10-26 06:32:42 +00:00
Pavel Roskin
dca92d4941 Trivial cleanup. 2003-10-26 06:16:54 +00:00
Pavel Roskin
5b876f358d * info.h: Don't expose WInfo internals. 2003-10-26 05:54:55 +00:00