Commit Graph

2997 Commits

Author SHA1 Message Date
Pavel Roskin e280cb5c8b * find.c: Remove code unused in the text edition. 2001-07-14 21:44:39 +00:00
Pavel Roskin fbdfb3285c * configure.in: Bump version to 4.5.54a. 2001-07-14 21:16:32 +00:00
Pavel Roskin 2f9f1bb380 * gfind.c: New file - copied from find.c. Reindent, remove
unneeded parts.  Rewrite find_parameters() to use GNOME dialog.
* layout: Remove usused entries.
* Makefile.in: Use gfind.c, not find.c.
2001-07-14 21:14:01 +00:00
Pavel Roskin 6883eb1dd0 * main.c [HAVE_X]: Eliminate setup_post() and partly done_mc(). 2001-07-14 06:25:45 +00:00
Pavel Roskin 5fd1f032f3 * utilunix.c (uid_cache): Make static.
(gid_cache): Likewise.
(init_uid_gid_cache): Remove.
* main.c (setup_post): Don't call init_uid_gid_cache().
2001-07-14 06:13:29 +00:00
Pavel Roskin 9e7e7037f8 * main.c (default_map) [HAVE_X]: Disable Alt-T.
* cmd.c [HAVE_X]: Eliminate set_basic_panel_listing_to() and
toggle_listing_cmd().
2001-07-14 05:37:27 +00:00
Pavel Roskin 4ca052e8c7 * lib/mcserv.init: Fix exit status.
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=44601
2001-07-14 00:32:44 +00:00
Pavel Roskin 9696da138d * lib/mc.ext.in: Anchor all regexes in the type/ rules except
"executable", which should follow a space. Simplify rules for
images. Add shell/ rule for *.info files. Fix all incorrect
uses of the alternation operator.
Reported by Oskar Liljeblad and Michel Casabona.
2001-07-14 00:01:20 +00:00
Pavel Roskin 6c0249ad0e * editoptions.c (edit_options_dialog): Allow numbers for tab
spacing. Reported by mharris@redhat.com.
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=34852
2001-07-13 23:03:11 +00:00
Pavel Roskin 83d110c9a1 * editcmd.c (menu_save_mode_cmd): Give meaningful names to the
input fields instead of "i" so that they have separate history.
* editoptions.c (edit_options_dialog): Likewise.
2001-07-13 22:45:12 +00:00
Pavel Roskin c2bf83aff4 * util_nt.c (canonicalize_pathname): Don't handle PATH_SEP
after backslash	in a special way.
* util_os2.c (canonicalize_pathname): Likewise (was already
commented out).
2001-07-13 21:46:48 +00:00
Pavel Roskin d1b3fc6002 * utilunix.c (canonicalize_pathname): Don't handle PATH_SEP
after backslash	in a special way.
2001-07-13 21:21:41 +00:00
Pavel Roskin f0d3781bfb * subshell.c (init_subshell): Run "set echo_style=both" at
startup to ensure that echo in tcsh understands octal numbers.
Reported by Francis Kwok <francis.kwok@alcatel.com>
2001-07-13 00:24:50 +00:00
Pavel Roskin 4323c0004a * gdesktop.c (create_desktop_dir): If ~/Desktop doesn't exist
make it a symlink to ~/.gnome-desktop.
From Ximian patches.
2001-07-12 18:23:53 +00:00
Pavel Roskin aeb7fe73c2 * gnome-open-dialog.c (gnome_open_dialog_get_tree): Don't set
styles for lines and expanders - use default tree settings.
From Ximian patches.
2001-07-12 18:14:06 +00:00
Pavel Roskin c67f0a6bc9 * configure.in: Don't check for iconv, it's already checked for
in AM_GNU_GETTEXT.
2001-07-12 15:28:58 +00:00
Pavel Roskin 1da081a1d5 * Makefile.in (EXTRALIBS): Add @LIBICONV@. 2001-07-12 15:07:50 +00:00
Pavel Roskin dbb9234674 * Makefile.in (OURLIBS): Merge with ...
(LIBS): ... this. Add @LIBICONV@.
Reported by Libor Motyka <l_motycka@ortex.cz>
2001-07-12 15:02:06 +00:00
Pavel Roskin 269737723a * subshell.c (subshell_name_quote): New function. Quote all
characters as octals, use command substitution.
(do_subshell_chdir): Use subshell_name_quote(). Don't change
terminal settings when the quoted path is sent to the shell -
it's now safe.
2001-07-12 14:18:39 +00:00
Andrew V. Samoilov de551a2035 ;) 2001-07-12 05:45:54 +00:00
Andrew V. Samoilov ac5a82ac35 * gnome-file-property-dialog.c: Use MSG_ERROR instead of "Error" as
message()'s second parameter.
(apply_name_change): Release base_name after use.
2001-07-12 05:45:03 +00:00
Andrew V. Samoilov edc1de7d15 * glayout.c (create_new_menu): Don't release file2 if it is NULL. 2001-07-12 05:07:20 +00:00
Andrew V. Samoilov 2d7255d8cf * main.c: Eliminate iconify_on_exec.
[!HAVE_GNOME]: Eliminate nowindows, nodesktop, twopanel,
display_linksdir and cmdline_geometry.
(sigchld_handler_no_subshell): Comment fixes.
(midnight_callback): Likewise.
(print_mc_usage): Use fputs, not fprintf.
(print_color_usage): Likewise.
(argument_table): Assign 'r' with force_subshell_execution and 'U'
with use_subshell.
(process_args): Don't deal with 'r', 'U' and 'X' options.
(setup_mc) [HAVE_GNOME]: Eliminate more code.

setup.c (options):  Eliminate iconify_on_exec.
2001-07-11 22:58:32 +00:00
Andrew V. Samoilov 26280ca462 ;) 2001-07-11 22:57:31 +00:00
Pavel Roskin 8432d4dd4a * gdialogs.c: Use g_snprintf() instead of snprintf().
* gnome-file-property-dialog.c: Likewise.
* gprefs.c: Likewise.
2001-07-11 15:14:45 +00:00
Pavel Roskin 72a33a6190 * editdraw.c (status_string): Use g_snprintf() instead of
snprintf().
From Libor Motyka <l_motycka@ortex.cz>
2001-07-11 15:01:03 +00:00
Pavel Roskin 67ffae6ff2 * editdraw.c (status_string): Use g_snprintf() instead of
snprintf().
From Libor Motyka <l_motycka@ortex.cz>
2001-07-11 14:55:36 +00:00
Pavel Roskin 238d3dd4c2 * doc/mc.1.in: Update documentation about hex search. 2001-07-10 19:54:39 +00:00
Pavel Roskin 3fa13073a6 * edit/edit_key_translator.c (cooledit_key_map): Bind
Ctrl-Shift-Up and Ctrl-Shift-Down to scroll with highlight.
From Steef Boerrigter <sxmboer@sci.kun.nl>
2001-07-10 19:22:10 +00:00
Pavel Roskin ca73acb9bc * gtkeditkey.c (edit_translate_key): When processing bindings
with Alt check that Shift is not pressed - it's handled later.
2001-07-10 19:20:45 +00:00
Pavel Roskin c2560cf2a6 * gscreen.c (panel_icon_list_select_icon): This function doesn't
get GDK_BUTTON_RELEASE, so move middle button processing ...
(panel_icon_list_button_release): ... here.
* gtkflist.c (gtk_flist_button_release): Open new window if the
middle button is released and DnD is not attempted.
2001-07-10 18:18:09 +00:00
Pavel Roskin 3b83dc732f * view.c (hex_search): Release buffer after use. 2001-07-10 17:42:25 +00:00
Pavel Roskin 0c08ee1fdd * edit/Makefile.in: Make edit.o depend on edit_key_translator.c.
* edit/edit_key_translator.c (cooledit_key_map): Add support
for bracket matching on Alt-B.
* gtkedit/gtkeditkey.c: Likewise.
From Steef Boerrigter <sxmboer@sci.kun.nl>
2001-07-10 15:05:55 +00:00
Pavel Roskin 13959da45a Comment fix. 2001-07-10 14:33:59 +00:00
Pavel Roskin c100281180 * extfs.c: Include contents of shared_tar_ext.c - it's no
longer shared.
* shared_tar_ext.c: Remove.
* Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
2001-07-10 14:19:11 +00:00
Pavel Roskin fa6ce3a7db * POTFILES.ignore: New file.
* POTFILES.in: Add src/slint.c.
2001-07-10 04:13:27 +00:00
Pavel Roskin 473b2588f3 Update. 2001-07-10 04:09:03 +00:00
Pavel Roskin ab828100df * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
filesystem. Don't translate it.
2001-07-10 04:05:47 +00:00
Pavel Roskin f69f94f442 * gtkdtree.c: Include alloca.h if available.
From Dan McNichol <mcnichol@austin.ibm.com>.
2001-07-10 03:18:28 +00:00
Pavel Roskin 401ca73645 * tar.c (ReadStatus): Fix compilation on AIX.
From Dan McNichol <mcnichol@austin.ibm.com>.
2001-07-10 03:12:02 +00:00
Pavel Roskin ea68ebdeb5 * view.c (hex_search): Reimplement parser using sscanf. Add
support for decimal and octal numbers. Add error reporting.
Allocate buffer dynamically.
2001-07-09 23:19:23 +00:00
Pavel Roskin f978d9eec4 Typo fix. 2001-07-09 23:01:06 +00:00
Pavel Roskin e1d5a8250d * extfs/mailfs: Strip trailing DOS newlines from mail files.
From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
2001-07-09 20:07:43 +00:00
Pavel Roskin 80f37db22b * fish.c (fish_chown): Do nothing and return success if
getpwuid() or getgrgid() fails.
2001-07-09 16:15:33 +00:00
Pavel Roskin 78ab72b19f * gdesktop-prefs.c (create_mini_icons): Warning fix.
* gdialogs.c (file_mask_dialog): Likewise.
* gdnd.c (gdnd_validate_action): Likewise.
* gscreen.c (panel_drag_data_delete): Likewise.
(panel_tree_check_auto_expand): Likewise.
2001-07-09 15:37:31 +00:00
Pavel Roskin 62ef1f47bd * hotlist.c: Add comments to avoid confusion between
done_hotlist() and hotlist_done().
(hotlist_done): Set l_hotlist to NULL.
(add2hotlist): Load hotlist if it's neither loaded nor loading.
This fixes Ctrl-x h. Fix compiler warning.
2001-07-09 06:43:45 +00:00
Pavel Roskin 48b3cb4154 * hotlist.c: Make more variables and functions static. 2001-07-09 05:54:58 +00:00
Pavel Roskin 3f25e54361 * ext.c (exec_extension) [HAVE_X]: Free file_name. Add comment
explaining why it cannot be unlinked there.
2001-07-08 21:34:55 +00:00
Pavel Roskin 4f992c2fd3 Typo in the last commit. 2001-07-06 23:07:22 +00:00
Pavel Roskin 7a177fd8d5 * view.c (exec_extension): Unlink temporary file earlier if it's
not going to be used.
[OLD_CODE]: Remove.
2001-07-06 23:06:45 +00:00