Pavel Roskin
d56dd815b1
* main.c (mc_maybe_editor_or_viewer) [!USE_INTERNAL_EDIT]:
...
Reenable to make "mc -v" possible.
(do_nc): Call mc_maybe_editor_or_viewer() even if the editor
is not compiled in.
(argument_table) [!USE_INTERNAL_EDIT]: Disable "-e".
2001-08-20 05:39:21 +00:00
Pavel Roskin
cbd8053c3d
* view.c (view_handle_key) [HAVE_CHARSET]: Remove unneeded
...
statements.
2001-08-19 17:41:38 +00:00
Pavel Roskin
1daee3ab8f
* screen.c [HAVE_X]: Disable unused code.
2001-08-19 17:33:26 +00:00
Pavel Roskin
05adbccda8
* fs.h: Correctly include <sys/param.h>.
...
* x.h: Include "global.h". Move all contents ...
* global.h: Here.
2001-08-19 16:23:24 +00:00
Pavel Roskin
680d7fd55c
* regex.c (regex_compile): Warning fix for ambiguous else.
2001-08-19 16:18:40 +00:00
Pavel Roskin
fdc234060f
* key.c (xmouse_get_event): Filter out GPM_UP events that don't
...
follow a GPM_DOWN event. Filter out events with unknown button
numbers, such as mouse wheel events.
(get_event): Return EV_NONE if xmouse_get_event() decided to
ignore the event.
2001-08-18 19:27:31 +00:00
Pavel Roskin
5215df9192
* main.c (init_sigchld): Disable subshell if SIGCHLD handler
...
cannot be installed.
2001-08-18 15:18:56 +00:00
Pavel Roskin
ced66d3c9b
* x.h: Instead of undefining MIX and MAX after <gnome.h> make
...
sure that <sys/param.h> is included before <gnome.h>.
2001-08-18 07:35:11 +00:00
Pavel Roskin
4cac4d66ba
* key.c (mc_bindings) [linux]: Remove old hack - recognizing
...
"e[2~" on all terminals.
2001-08-17 04:41:31 +00:00
Pavel Roskin
849fecec4c
* charsets.c (load_codepages_list): Print a warning if
...
mc.charset cannot be opened.
* setup.c (load_setup) [HAVE_CHARSET]: Remove all popup messages
because it's to early to use them - ncurses would crash.
2001-08-16 21:01:12 +00:00
Pavel Roskin
b5e64692df
* util.c (strip_ctrl_codes): Rewrite using pointers. Fix
...
stripping sequences beginning with "e[". Check is_printable().
2001-08-16 03:52:51 +00:00
Pavel Roskin
ac504b9ba1
* man2hlp.c: Remove HTML support. Remove old link support.
...
Warning fixes.
(print_string): Handle backslashes in verbatim mode too.
2001-08-16 01:36:41 +00:00
Pavel Roskin
99c80d28d9
* main.c (setup_pre) [HAVE_CHARSET]: Fix compilation with
...
ncurses.
2001-08-15 22:45:20 +00:00
Pavel Roskin
246ee1445c
* textconf.c (features): Fix interpretation of
...
HAVE_SYSTEM_SLANG.
From David Martin <dmartina@excite.es>
2001-08-15 22:20:17 +00:00
Pavel Roskin
403dfdc24b
* key.h (define_sequence): Change declaration to return int.
...
* key.c (define_sequence): Return 1 on success, 0 on error.
* learn.c (learn_button): Don't accept sequence if
define_sequence() has failed.
2001-08-14 04:48:26 +00:00
Pavel Roskin
686041bbe2
* learn.c (learn_save): Fix memory leak.
2001-08-12 18:20:33 +00:00
Pavel Roskin
596d916e5b
* dir.c (string_sortcomp) [HAVE_STRCOLL]: Make static.
2001-08-12 16:36:55 +00:00
Pavel Roskin
76926ea622
* cmd.c (guess_message_value): Typo - replace "LC_MESSAGE" with
...
"LC_MESSAGES".
2001-08-12 08:36:26 +00:00
Pavel Roskin
af4e2abdab
* dir.c (string_sortcomp) [HAVE_STRCOLL]: Always use strcmp()
...
for case sensitive sort. For case insensitive sort use
strcoll() if it's case insensitive for ASCII and g_strcasecmp()
otherwise.
2001-08-12 08:20:31 +00:00
Pavel Roskin
b3fbb01112
* achown.c (chown_advanced_cmd): Remove dead code.
...
* chown.c (chown_cmd): Likewise.
* chmod.c (chmod_cmd): Likewise.
2001-08-12 03:33:23 +00:00
Pavel Roskin
0177db2941
* charsets.c (load_codepages_list): Use concat_dir_and_file().
2001-08-12 03:27:27 +00:00
Pavel Roskin
50a2391d2b
* mad.h: Disable glib support - it doesn't work properly.
2001-08-11 05:13:10 +00:00
Pavel Roskin
2da73069b9
* view.c: Warning fixes. Include "cmd.h". Rename help_cmd()
...
to view_help_cmd().
(view_handle_key) [HAVE_X]: Disable '!' and Ctrl-O.
2001-08-07 16:53:55 +00:00
Pavel Roskin
5c428dc7a3
* main.c (do_execute): Don't show prompt if the command is empty
...
and the subshell is not running.
* view.c (view_handle_key): Add support for Ctrl-O in the viewer.
Suggested by Walery Studennikov <despair@sama.ru>
2001-08-07 16:32:22 +00:00
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
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
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