Pavel Roskin
d05bfe1f01
* boxes.c (display_init): Associate correct help topic.
...
(sort_box): Likewise.
(set_panel_filter): Likewise.
* option.c (init_configure): Likewise.
* menu.c (menubar_handle_key): Show help dependent on the active
menu.
2001-08-06 22:22:04 +00:00
Andrew V. Samoilov
12a291afdd
;)
2001-08-06 15:35:22 +00:00
Andrew V. Samoilov
7b568914ec
* view.c (block_search): Return the position where the block was
...
found as declared in comment.
(hex_search): Don't increase pos, block_search returns now right
position.
2001-08-06 15:33:38 +00:00
Andrew V. Samoilov
22861f9737
* mad.c (mad_strdup): Return NULL if NULL is passed.
2001-08-06 15:32:34 +00:00
Andrew V. Samoilov
cd34ee8d1f
* mad.[ch] (mad_check): Declare file parameter const.
...
(mad_alloc): Likewise. Don't truncate it.
(mad_abort): Declare message and file parameters const.
2001-08-03 10:33:54 +00:00
Pavel Roskin
b201fe6077
* file.c: Warning fix. Include global.h before other local
...
includes.
* filegui.c: Likewise.
(fmd_init_i18n) [!ENABLE_NLS]: Completely disable.
* i18n.h [!ENABLE_NLS]: Warning fix.
* learn.c (init_learn): Move do_refresh() call immediately
before cleate_dlg(). Warning fix.
2001-08-03 04:47:52 +00:00
Pavel Roskin
27d0af32c6
* Makefile.in: "install" now depends on "all".
...
Reported by Walery Studennikov <despair@sama.ru>
2001-07-31 15:24:15 +00:00
Andrew V. Samoilov
4e15f75f32
* complete.c (command_completion_function): Don't stop $PATH
...
processing on empty entry. Interpret it as current directory.
2001-07-31 15:21:28 +00:00
Andrew V. Samoilov
d83a8e7b5e
* find.c (find_parameters): Fix hotkeys duplication.
2001-07-31 12:18:07 +00:00
Andrew V. Samoilov
d9fb8565c0
* menu.c (create_menu): Don't localize name, it is always done.
2001-07-31 11:15:46 +00:00
Andrew V. Samoilov
8611daeb0c
* widget.[ch] (label_new): Make text parameter const.
2001-07-31 11:04:21 +00:00
Andrew V. Samoilov
78dbe61c6a
* util.c [!HAVE_X] (is_printable): Don't duplicate declarations from
...
main.h.
(load_file): Use fopen and fstat to prevent race conditions.
(size_trunc): Make suffix const array.
(strip_password): Make prefixes const array.
(file_date): Make fmt auto variable.
2001-07-31 10:38:15 +00:00
Andrew V. Samoilov
24385045ce
* color.c (color_table): Make constant array.
2001-07-31 10:32:50 +00:00
Pavel Roskin
2a6be49822
* charsets.c: Warning fixes.
...
* charsets.h: Likewise.
* selcodepage.c: Likewise.
* selcodepage.h: Likewise.
2001-07-31 05:54:39 +00:00
Pavel Roskin
1ae4e4e1cb
* Makefile.in: Move most logic around gindex.pl into gindex.pl.
...
Don't use maintainer-only rules since mc.hlp won't be removed
now if perl is missing or gindex.pl fails.
* gindex.pl: Run man2hlp internally. Use files given as
arguments instead of stdin and stdout.
2001-07-31 05:25:30 +00:00
Pavel Roskin
a6f868a6cf
* mad.c: Don't use g_calloc - it's missing in glib 1.2.x.
...
* mad.h: Likewise. Use mad_alloc0() to emulate calloc().
2001-07-30 20:43:20 +00:00
Pavel Roskin
506634318f
* view.h: Simplify, respect WANT_WIDGETS setting.
2001-07-30 15:43:42 +00:00
Pavel Roskin
813cf40ac4
* view.c (view_ok_to_quit): Make global - it's needed for GMC.
...
* view.h: Declare view_ok_to_quit().
2001-07-29 02:08:40 +00:00
Pavel Roskin
70fa991882
* util.c [!USE_VFS] (get_current_wd): Resurrect, this time using
...
g_get_current_dir().
2001-07-27 21:20:43 +00:00
Pavel Roskin
97af90af3c
* background.h: Remove WITH_BACKGROUND, it's now in extraconf.h.
...
* background.c: Use WITH_BACKGROUND instead of USE_NETCODE.
2001-07-27 20:36:22 +00:00
Pavel Roskin
b4be52ba78
* util.c (mc_mkstemps): Don't prepend $TMPDIR if prefix contains
...
path separator.
2001-07-27 19:27:09 +00:00
Pavel Roskin
f0beaa4ed7
* cmd.c (do_link): Append filename to the default symlink
...
target. Don't add path separator if there is no listing on
the other panel. Avoid using fixed size buffers.
From Max Schedriviy <max@tavrida.net>
2001-07-26 15:47:19 +00:00
Pavel Roskin
11fd4abc0e
* main.c [HAVE_X]: Disable eight_bit_clean and full_eight_bits.
...
* util.c (is_printable) [HAVE_X]: Simplify.
2001-07-26 05:01:26 +00:00
Pavel Roskin
b900848aaa
* cmd.c (do_link): Simplify. Don't silently exit if the source
...
file is not regular - let user see the error if any.
2001-07-25 22:42:23 +00:00
Pavel Roskin
93f54c5c1b
* achown.c (ch_perm): Make constant array.
...
(chown_info_update): Use set_perm_by_flags(), not set_perm().
(set_perm): Remove.
2001-07-24 16:16:13 +00:00
Pavel Roskin
159b4aa1ef
* achown.c: Make all global variables static. Fix help.
...
* complete.c: Likewise.
* chmod.c: Make all global variables static.
* chown.c: Likewise.
* chmod.h: Remove all variables.
2001-07-24 15:04:21 +00:00
Pavel Roskin
fd895e3759
* user.c: Eliminate static variable s_editwidget. Pass
...
edit_widget as argument. All callers changed.
(expand_format): Fix expansion of %n and %b for the editor.
* util.c: Remove dead code.
2001-07-23 22:50:54 +00:00
Pavel Roskin
725f2ac2ec
* setup.c (load_keys_from_section): Give terminal-specific
...
settings preference over settings from [terminal:general].
2001-07-23 19:14:40 +00:00
Pavel Roskin
a7937891ea
* setup.c (load_keys_from_section): Give ~/.mc/ini preference
...
over mc.lib.
2001-07-22 06:00:30 +00:00
Pavel Roskin
506273750e
* dlg.c: Remove dependency on definitions in gconf.h.
2001-07-20 16:47:46 +00:00
Pavel Roskin
d866874b24
* widget.c (input_callback) [HAVE_X]: Disable Ctrl-q - it
...
doesn't work.
2001-07-20 16:34:05 +00:00
Pavel Roskin
2dd2dc2182
* file.c (panel_get_file): Use g_assert_not_reached().
...
* key.c (xgetch_second): Make static.
2001-07-20 16:19:28 +00:00
Pavel Roskin
b25f5be791
* Make.common.in: Move all defines ...
...
* gnome/Makefile.in: ... here ...
* src/Makefile.in: ... and here.
2001-07-20 15:22:50 +00:00
Pavel Roskin
71620c6a9e
* user.c (check_format_view): Match "unform" instead of
...
"unformated" because some users may spell this word correctly.
2001-07-19 21:25:40 +00:00
Pavel Roskin
c19dfa9175
* util.c (get_current_wd): Remove. It's obsoleted by
...
g_get_current_dir() from glib.
2001-07-18 03:49:08 +00:00
Pavel Roskin
ce150c8aa9
* ext.c (exec_extension): Add the `rm' command to the end of
...
temporary scripts so that they erase themselves.
2001-07-18 03:06:57 +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
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
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
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
75be0dd7e1
Use short path in the last entry.
2001-07-15 07:24:58 +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
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
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