Commit Graph

2969 Commits

Author SHA1 Message Date
Pavel Roskin
9d94a3fbc8 * edit.h [MIDNIGHT]: Declare wedit.
* editmenu.c: Remove wedit declaration.
* editoptions.c (edit_options_dialog): Load syntax rules if user
turned syntax highlighting on.
* syntax.c (edit_load_syntax): Don't load rules if syntax
highlighting is disabled.
2001-07-17 21:38:49 +00:00
Pavel Roskin
4349ae1c4e * util.c (mc_mkstemps): Always use "unsigned long" for enthropy,
since gcc-2.7.2.1 on SunOS doesn't understand __extension__ and
checking for "long long" is not worth the trouble.
Reported by David Martin <dmartina@excite.es>
2001-07-17 18:38:46 +00:00
Pavel Roskin
94df09e2a6 * glayout.c (gnome_exit): Position message boxes near the
current panel.
2001-07-17 03:48:21 +00:00
Pavel Roskin
f1984dd70d * gutil.c (port_shutdown_extra_fds): Remove, it's unused.
(exec_direct): Likewise.
* gconf.h: Remove declaration of port_shutdown_extra_fds().
2001-07-16 23:40:35 +00:00
Pavel Roskin
f952acf1f8 * utilunix.c (mc_doublepopen): Use _exit() instead of exit()
and don't close any unrelated file descriptors.  Explicitly
close inhandle.
2001-07-16 23:34:56 +00:00
Pavel Roskin
b2c12031c0 * gfind.c: Move most static variables to a structure, use it
in signal callbacks.  All dependencies adjusted.  Don't truncate
filenames.
2001-07-16 21:37:47 +00:00
Pavel Roskin
57fde54f99 * mad.h: Include stdio.h to prevent redefining mad_tempnam().
* main.c [HAVE_X && HAVE_MAD]: Don't call done_key().
2001-07-16 04:06:35 +00:00
Pavel Roskin
0841b4d586 * gfind.c (run_process): Interpret "Ok" button as "Cancel".
Set g_find_dlg to NULL if it has been closed.
(kill_gui): Don't destroy already destroyed dialog.
(find_file): Onle read directory and filename if needed.
(do_find): Break loop on B_EXIT.
2001-07-16 02:45:46 +00:00
Pavel Roskin
5ae49e62d1 * dlg.h: Remove declarations of non-existent functions.
[HAVE_X]: Disable color constants - they shouldn't be used.
2001-07-16 00:58:53 +00:00
Pavel Roskin
76c41d4726 * gscreen.c (panel_tree_button_release): New function, opens a
new window on middle click.
(panel_create_tree_view): Bind panel_tree_button_release() to
"button_release_event".
2001-07-16 00:05:50 +00:00
Pavel Roskin
209488dc6e Remove /usr/lib/mc/layout. 2001-07-15 07:27:17 +00:00
Pavel Roskin
75be0dd7e1 Use short path in the last entry. 2001-07-15 07:24:58 +00:00
Pavel Roskin
0116e5aea3 * gmain.c (xtoolkit_create_dialog): Don't use "layout" - abort instead.
* layout: Remove.
* Makefile: Remove all references to file `layout'.
2001-07-15 07:23:36 +00:00
Pavel Roskin
0f9a3493ad * gnome/gdialogs.c [WITH_SMBFS] (vfs_smb_get_authinfo): New
function implementing SMB password dialog.
2001-07-15 07:06:35 +00:00
Pavel Roskin
a66a15319d * src/boxes.c [WITH_SMBFS] (vfs_smb_get_authinfo): Copied from
vfs/smbfs.c, function authinfo_get_authinfo_from_user().
2001-07-15 07:04:53 +00:00
Pavel Roskin
820a35758e * vfs/smbfs.c: Rename authinfo to smb_authinfo and
authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
and remove their definitions.
* vfs/vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
2001-07-15 07:01:41 +00:00
Pavel Roskin
74f034e8d4 * gmain.c (gmc_window_setup_from_panel): Fix crash when called
early, before the panel is created.
2001-07-15 06:25:16 +00:00
Pavel Roskin
ee8f1d826b * POTFILES.in: Add gnome/gfind.c. 2001-07-15 05:22:29 +00:00
Pavel Roskin
aa9ac05960 * cmd.c [HAVE_X]: Disable source routing dialog and panel
comparison.
* main.c (ctl_x_map): Simplify preprocessor directives.
2001-07-15 04:14:39 +00:00
Pavel Roskin
069eaca778 * screen.c (panel_keymap) [HAVE_X]: Disable Alt-H - it's not
implemented properly for GNOME.
* main.c (directory_history_list) [HAVE_X]: Disable.
2001-07-15 03:50:23 +00:00
Pavel Roskin
af1dc9fd62 * panelize.c [HAVE_X]: Disable unused code. 2001-07-14 22:41:24 +00:00
Pavel Roskin
9f014513ab * main.c [HAVE_X]: Disable Ctrl-X sequences. 2001-07-14 22:13:46 +00:00
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 Motyèka <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 Motyèka <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 Motyèka <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