Commit Graph

5973 Commits

Author SHA1 Message Date
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
a7c0bbac62 * editcmd.c: Use input_expand_dialog() instead of input_dialog()
for loading and saving files.
2003-11-27 10:23:50 +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
fc9bf6040f * gc.c (vfs_ncs_getid): Merge with vfs_getid(). 2003-11-26 21:25:30 +00:00
Pavel Roskin
6ffd35bf07 * gc.c: Eliminate all code for timestamping parent filesystems.
It's broken and undocumented.  Adjust all dependencies.
2003-11-26 21:10:42 +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
8ed2cc4594 * direntry.c (vfs_s_resolve_symlink): Eliminate
g_strdup_printf().
(vfs_s_fullpath): Likewise.
2003-11-24 20:30:30 +00:00
Pavel Roskin
f51e86a184 * editcmd.c (pipe_mail): Eliminate g_strdup_printf().
(edit_complete_word_cmd): Fix possible buffer overflow.
2003-11-24 20:27:34 +00:00
Pavel Roskin
ffb686bfa9 * ftpfs.c (ftpfs_login_server): Explicit password should have
priority over the netrc password and the anonymous password.
Reported by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
2003-11-21 06:57:37 +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
bc89c5fb10 Use more portable syntax for functions. 2003-11-20 22:07:06 +00:00
Pavel Roskin
22d0061e4d * build-glib1.sh: Use more portable syntax for functions. Fall
back to "ftp" for download, useful on BSD.
* build-glib2.sh: Likewise.
2003-11-20 22:02:36 +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
30afc48694 Fix last version of glib. 2003-11-20 20:22:34 +00:00
Pavel Roskin
004cd5a23c Distribute the build scripts. 2003-11-20 19:58:02 +00:00
Pavel Roskin
5ced321632 Moved to the top level directory. 2003-11-20 19:44:11 +00:00
Pavel Roskin
e16856c85b * build-glib1.sh: New file - download and compile glib 1.2.x,
then compile mc against it.
* build-glib2.sh: New file - download and compile glib 2.x with
dependencies (gettext, pkgconfig), then compile mc against it.
2003-11-20 19:43:35 +00:00
Pavel Roskin
1b2a6186ae va_list argument should be first for portability. 2003-11-20 19:08:36 +00:00
Pavel Roskin
3ba446981a Typo fix. 2003-11-20 18:40:11 +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
Marco Ciampa
7a483be21e Updated italian translatio 2003-11-17 18:14:53 +00:00
Pavel Roskin
2eeab44b93 * undelfs.c (undelfs_loaddel): Use g_try_malloc()/g_try_relloc()
since we want to recover and not abort the program if we don't
have enough memory.
(com_err): Fix implementation.
2003-11-14 21:36:35 +00:00
Pavel Roskin
6b6836fcda Document Ctrl-Shift-Enter 2003-11-14 21:13:00 +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
8147825da3 Typo fixes from Andrew. 2003-11-14 16:55:35 +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
54b8c9aaad * vfs.c (vfs_split): Deconstify.
* direntry.c (vfs_s_get_path_mangle): Likewise.  "mangle" is in
the name for a reason.  Use vfs_s_get_path() instead where the
path should be preserved.
* extfs.c (extfs_get_path_mangle): Likewise.
* sfs.c (sfs_vfmake): Protect against changes in vfs_split().
2003-11-14 08:25:50 +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
6a53060842 Constify opendir() and chdir(). 2003-11-13 16:47:06 +00:00
Pavel Roskin
30c4bd1b6d * vfs.h: Constify chdir() and opendir() methods. Adjust all
dependencies.
* vfs.c (mc_chdir): Constify, eliminate protection against
broken implementations of chdir() method.
(mc_opendir): Constify.
2003-11-13 08:29:37 +00:00
Pavel Roskin
4b5a2a0b62 * direntry.c (vfs_s_stamp_me): Generalize and move ...
* gc.c (vfs_stamp_create): ... here.  Use whenever possible.
2003-11-13 08:03:03 +00:00
Pavel Roskin
de12104436 * gc.c: Use NULL instead of -1 for empty vfsid. Adjust all
dependencies.
* undelfs.c (undelfs_get_path): Don't shadow static ext2_fname.
(undelfs_getid): Likewise.  Use fs for non-empty vfsid.
2003-11-12 23:00:16 +00:00
Pavel Roskin
d2e2f5c544 * cpio.c (cpio_create_entry): Fix possible buffer underflow
and memory leak.
2003-11-12 17:10:48 +00:00
Pavel Roskin
90ec22ad39 Typo fix. 2003-11-12 17:08:51 +00:00
Pavel Roskin
0f055286e0 Stop updating the currently used versions.
Sufficient to say that they are from Debian unstable.
2003-11-12 04:07:45 +00:00