1
1

1787 Коммитов

Автор SHA1 Сообщение Дата
Andrew V. Samoilov
50dda0fcb3 * user.c (extract_line): Add a new parameter (size of the
output buffer) to prevent buffer overflow.
2004-03-07 06:24:14 +00:00
Andrew V. Samoilov
d1943ab8cf * achown.c (init_chown_advanced) [ENABLE_NLS]: i18n fix. 2004-03-07 06:21:16 +00:00
Pavel Roskin
d78f9b9bf0 * subshell.c: Partly revert previous patch to preserve translated strings. 2004-03-05 08:08:13 +00:00
Pavel Roskin
0899d3f580 Fix date of the last commit. 2004-03-05 08:05:18 +00:00
Pavel Roskin
3722e428c0 * subshell.c: Partly revert previous patch to preserve
translated strings.
2004-03-05 08:01:44 +00:00
Pavel Roskin
b46fe283f6 Fix use of uninitialized pty_name. 2004-02-10 00:16:17 +00:00
Pavel Roskin
7eb0ef8bd2 * subshell.c: Use "rn" at the end of all error messages.
Don't use perror().  Make error messages more exact.
2004-02-10 00:11:09 +00:00
Pavel Roskin
291f976b13 * utilunix.c (canonicalize_pathname): Add support for UNC paths. 2004-01-24 00:17:34 +00:00
Pavel Roskin
4ced5086ac * utilunix.c (canonicalize_pathname): Return void to make it
clear that the conversion is done in place.  Adjust all callers.
2004-01-23 23:53:37 +00:00
Pavel Roskin
c7c3073133 * filegui.c (init_replace): Don't show the "Reget" button when
moving files.  Reported by Arpad Biro <biro_arpad@yahoo.com>
2004-01-23 22:08:05 +00:00
Pavel Roskin
efff2a4d4e * fileopctx.h: Add "operation" filed to FileOpContext.
* fileopctx.c (file_op_context_new): Add "operation" argument.
* filegui.c (file_op_context_create_ui): Remove "operation"
argument, it's known already.  Adjust all callers.
2004-01-23 21:59:38 +00:00
Pavel Roskin
9fe5ee23c9 * user.c (execute_menu_command): Put /bin/sh in the beginning of
the script.
2004-01-23 17:33:36 +00:00
Pavel Roskin
1d6ab07a10 * screen.c (display_mini_info): Correctly fill the space after
"<readlink failed>".
2004-01-22 08:25:23 +00:00
Pavel Roskin
429f1a476e * glibcompat.h: Fix definition of g_try_realloc(). 2004-01-22 07:19:58 +00:00
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