Pavel Roskin
38a1e6499c
* INSTALL: Update download locations for MC, rxvt, gpm, ncurses.
...
Add download location for glib.
* mc.spec.in: Likewise.
* doc/LSM: Likewise.
* doc/mc.1.in: Likewise.
* doc/mcedit.1.in: Likewise.
* src/ext.c: Don't mention download location for MC.
2001-05-18 18:44:51 +00:00
Pavel Roskin
5f8add985b
* TODO: Remove Tk-related entries.
...
* boxes.c [HAVE_TK]: Remove. Don't need INPUT_INDEX anymore.
* screen.c [HAVE_TK]: Remove.
(panel_event): Made static.
* chmod.c [HAVE_TK]: Remove.
* cmd.c [HAVE_TK]: Likewise.
* help.c [HAVE_TK]: Likewise.
* hotlist.c [HAVE_TK]: Likewise.
* info.c [HAVE_TK]: Likewise.
* view.c [HAVE_TK]: Likewise.
* view.h [HAVE_TK]: Likewise.
* widget.c [HAVE_TK]: Likewise.
* wtools.c [HAVE_TK]: Likewise.
2001-05-18 17:44:02 +00:00
Pavel Roskin
944d5416c0
* TODO: Remove XView-related entries.
...
* menu.h [HAVE_XVIEW]: Remove all XView-related code.
2001-05-18 16:58:03 +00:00
Pavel Roskin
327797ea96
* INSTALL: Remove information about Tk and XView. Change the
...
mailing list addresses again.
* FAQ: Change the mailing list addresses again.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-05-18 16:28:22 +00:00
Pavel Roskin
85e2dac3be
* subshell.c (pty_open_master) [HAVE_SCO]: Fix ambigous `else'.
...
[!HAVE_SCO && !HAVE_GRANTPT]: Likewise.
2001-05-17 16:53:35 +00:00
Pavel Roskin
d21f09608b
* subshell.c: Define _GNU_SOURCE to enable prototypes for
...
allocating pseudo-terminals on GNU systems.
2001-05-17 00:47:51 +00:00
Pavel Roskin
7f448a4c2e
* subshell.c (init_subshell_child): New function to initialize
...
child process and run subshell. Code moved from ...
(init_subshell): ... here.
2001-05-17 00:40:18 +00:00
Pavel Roskin
2d11201264
* subshell.c (init_subshell): Don't close pty_slave if is wasn't
...
open. Initialize it with -1.
2001-05-17 00:13:19 +00:00
Pavel Roskin
cc8fa6552a
* main.c [HAVE_GNOME]: Disable more code.
...
* cmd.c [HAVE_GNOME]: Likewise.
2001-05-15 00:53:48 +00:00
Pavel Roskin
bc5e0cd228
* background.h: Omit definitions that require FileOpContext if
...
fileopctx.h has not been included yet.
2001-05-14 23:28:29 +00:00
Pavel Roskin
f6403d9972
* background.c (real_message_2s): Declare arguments "const" when
...
possible.
(real_message_3s): Likewise.
* wtools.c (message): Likewise.
* background.h: Change declarations to match.
* dialog.h: Likewise.
2001-05-14 22:50:28 +00:00
Pavel Roskin
532c80d929
* complete.c [HAVE_GNOME]: Likewise.
...
* main.c [HAVE_GNOME]: Likewise.
2001-05-14 22:17:06 +00:00
Pavel Roskin
1bb43b9c1a
* boxes.c [HAVE_GNOME]: Disable unused code.
...
* find.c [HAVE_GNOME]: Likewise.
2001-05-14 21:57:10 +00:00
Pavel Roskin
a036aa0207
* screen.c (adjust_top_file): Enable only if it's used, i.e.
...
when PORT_HAS_PAINT_FRAME in undefined.
* wtools.c (listbox_refresh): Disable for HAVE_X, define to
an empty macro instead.
(listbox_callback): Call listbox_refresh() regardless of HAVE_X.
(create_listbox_window): Likewise.
2001-05-14 21:35:56 +00:00
Pavel Roskin
21d3c2b138
* fsusage.c: Include stdlib.h for abort().
...
* tree.c (tree_mkdir_cmd): Disable tree_mkdir_cmd() since it's
not used.
* widget.c: Declare x_radio_toggle() with arguments.
2001-05-14 21:18:58 +00:00
Pavel Roskin
814ee01b63
* util.h: Remove declarations of some functions defined in
...
background.c.
2001-05-14 21:08:45 +00:00
Andrew V. Samoilov
56aef8572f
* background.c (real_message_1s, message_1s): third parameter is
...
used by message () as printf pattern, so "%s" has to be added
if plain string must be shown but printf conversion
specification(s) may be there.
* view.c (do_view_init): ditto
* user.c (debug_out): ditto
* utilunux.c (close_error_pipe, check_error_pipe): ditto
* background.[ch], vfs/util-alone.c (message_1s): third parameter
constified
2001-05-14 19:01:20 +00:00
Andrew V. Samoilov
ea0cfde3c9
* find.c (search_content): Redo recent change without infinite loop ;-),
...
egrep_path hardcoded to "egrep" as it is done in locate_egrep ()
(locate_egrep): commented out
(rotating_dash) [!HAVE_X]: moved into do_search to prevent warning
2001-04-27 10:07:45 +00:00
Pavel Roskin
c267347457
* find.c (search_content): Undo a recent change that caused an
...
infinite loop.
2001-04-26 23:59:59 +00:00
Andrew V. Samoilov
578ed38ae7
* get_byte: g_realloc instead of g_new/bzero/g_free used
2001-04-24 21:28:17 +00:00
Andrew V. Samoilov
42dd6b0b90
* view.c (get_line_at): previous newline is right condition
...
for regexp '^' pattern also, fixed
(search) [HAVE_GNOME]: gnome_message_box_new don't expand printf
pattern, so g_strdup_printf used
* find.c (find_parameters): don't use stat structure if mc_stat failed
2001-04-24 14:39:38 +00:00
Pavel Roskin
5dbac5708e
* FAQ: Change the mailing list addresses and the download
...
locations.
* INSTALL: Likewise.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-04-20 19:58:55 +00:00
Pavel Roskin
747ebced90
* subshell.c (init_raw_mode): New function, separated from ...
...
(invoke_subshell): ... this.
(init_subshell): Initialize raw_mode here instead of delayng it
until invoke_subshell(). Otherwise the current mode may have
been changed by edition_pre_exec(), which caused Ctrl-O to be
ignored on FreeBSD if a command has been run before switching
to the subshell.
2001-04-17 06:51:18 +00:00
Pavel Roskin
bb912def1a
* gtkedit/editcmd.c: Remove support for XView layout attributes.
...
* gtkedit/editoptions.c: Likewise.
* pc/chmod.c: Likewise.
* pc/drive.c: Likewise.
* src/boxes.c: Likewise.
* src/chmod.c: Likewise.
* src/dlg.c: Likewise.
* src/dlg.h: Likewise.
* src/filegui.c: Likewise.
* src/find.c: Likewise.
* src/hotlist.c: Likewise.
* src/layout.c: Likewise.
* src/listmode.c: Likewise.
* src/main.c: Likewise.
* src/option.c: Likewise.
* src/panelize.c: Likewise.
* src/wtools.c: Likewise.
* src/wtools.h: Likewise.
* vfs/smbfs.c: Likewise.
2001-04-06 21:48:11 +00:00
Pavel Roskin
4e64d43cf1
* chmod.c (stat_file): Allow chmod and chown on special files.
2001-04-06 20:06:03 +00:00
Pavel Roskin
26ae59b93e
* cons.handler.c: Include "global.h" for exit().
2001-04-06 16:24:27 +00:00
Pavel Roskin
4b8d3f4289
* Makefile.in: Add dependencies between mc and static libraries
...
in the source tree.
2001-04-06 06:25:14 +00:00
Pavel Roskin
5adecba2fd
* find.c (find_parameters): Add a checkbox for case insensitive
...
content search.
(search_content): Pass `-i' to egrep for case insensitive
search.
2001-04-06 05:21:29 +00:00
Andrew V. Samoilov
4463ea58c2
* panel.h, screen.c (panel_new): panel_name constified to do gcc
...
some more happy when gmc is compiled
2001-03-30 01:29:08 +00:00
Miguel de Icaza
00cac46d7d
2001-03-18 Miguel de Icaza <miguel@ximian.com>
...
* widget.c (forward_word, backward_word): Revert Timur's patch
from last year which made the behaviour for advancing words not
match the one in Emacs.
2001-03-18 17:46:07 +00:00
Pavel Roskin
a53712bb71
* key.c (mi_getch): Discard non-events (EV_NONE), but not
...
keycode 0 (Ctrl-@).
2001-03-02 23:04:52 +00:00
Pavel Roskin
82d916924d
* cmd.c (edit_cmd) [HAVE_GNOME]: Use gmc_edit(). Don't use
...
regex_command().
(ext_cmd) [HAVE_GNOME]: Don't compile for GNOME.
* ext.c (regex_command) [HAVE_GNOME]: Likewise.
* ext.h [HAVE_GNOME]: Don't define MC_USER_EXT and MC_LIB_EXT.
2001-02-26 21:21:18 +00:00
Pavel Roskin
66457d3670
* main.c (main): Don't call edit_init_file() - the editor should
...
care about its files itself.
2001-02-26 16:54:23 +00:00
Pavel Roskin
1f6ffaab0a
* gtkedit/edit.h: Only include malloc.h if STDC_HEADERS is not
...
defined to prevent warnings on OpenBSD 2.7.
* slang/jdmacros.h: Likewise.
* src/mad.h: Likewise.
* src/poptalloca.h: Likewise.
2001-02-20 17:57:23 +00:00
Pavel Roskin
4e57e7d468
* main.c (main): Fix compilation error when configured without
...
subshell support.
2001-02-10 04:28:56 +00:00
Pavel Roskin
e6d2fdadd2
* main.c (main): Do not fork subshell for mcedit/mcview.
2001-02-08 01:50:12 +00:00
Pavel Roskin
0c940743b3
* cons.handler.c (handle_console): Check the result of ttyname().
2001-01-27 07:08:05 +00:00
Pavel Roskin
75b84a3b47
* main.c (handle_args): Exit if no arguments are given to mcview.
...
[HAVE_GNOME]: Don't examine argv[0] - it's done separately.
2001-01-27 06:43:42 +00:00
Pavel Roskin
676ec1d2f4
* dir.c: Respect HAVE_STRCOLL. Added a comment about strcoll().
2001-01-27 05:51:26 +00:00
Pablo Saratxaga
85ae74cee2
Fixed various po files headers and syntax errors
...
added gettext:no-c-format in file.c for the prompt % codes
2001-01-26 13:49:28 +00:00
Andrew V. Samoilov
bdcc352441
* subshell.c (do_subshell_chdir): temporary patch to prevent command
...
execution for directory names containing 0x03 (intr) 0x14.
See http://www.securityfocus.com/vdb/?id=2016 for details.
Subshell still can't chdir to such directories :(
* subshell.[ch] (do_subshell_chdir): directory constified
2001-01-21 10:30:42 +00:00
Andrew V. Samoilov
bbef02a06f
* do_subshell_chdir (): directory constified
2001-01-21 10:27:21 +00:00
Andrew V. Samoilov
ad06742c0c
* do_subshell_chdir (): temporary patch to prevent command execution
...
for directory names containing 0x03 (intr) 0x14.
See http://www.securityfocus.com/vdb/?id=2016 for details.
Subshell still can't chdir to such directories
* directory parameter constified
2001-01-21 10:26:09 +00:00
Pavel Roskin
09a3730a98
* Makefile.in: Respect LDFLAGS when linking cons.saver.
2001-01-17 20:42:49 +00:00
Pavel Roskin
7bee992ba2
* configure.in: Don't create a faked malloc.h.
...
* gtkedit/edit.h: Don't assume that malloc.h always exists.
* src/mad.h: Likewise.
2001-01-13 08:09:14 +00:00
Pavel Roskin
c5404ae9cb
* configure.in: Simplified handling of cons.saver.
...
* src/Makefile.in: Likewise. Don't install cons.saver setuid.
* mc.spec.in: Remove a workaround for the above.
2001-01-13 07:24:13 +00:00
Pavel Roskin
98f942fd46
* src/Makefile.in: Create directories before installing files.
...
Removed all occurences of libprefix - it's never defined.
2001-01-11 20:41:40 +00:00
Pavel Roskin
d1fcdbf64a
* edit/Makefile.in: Don't install or uninstall mcedit -
...
it cannot be installed before mc on systems without symlinks.
* gtkedit/Makefile.in: Likewise.
* src/Makefile.in: Install mcedit (if enabled) and mcview.
Uninstall them.
2001-01-11 16:48:13 +00:00
Andras Timar
92bf5e249d
2001-01-08 Szabolcs Ban <shooby@gnome.hu>
...
* lib/mc.hlp.hu: Added Hungarian help file from
tothb1@freemail.hu , Janos.Zana@elfiz2.kee.hu ,
maci@integrity.hu , mfh47@freemail.hu
* lib/Makefile.am: Added LOCALIZED_HELP for further
mc.hlp l10ns
* src/cmd.c, src/dlg.c, src/tree.c, src/view.c,
gtkedit/editcmd.c: I18n of mc.hlp
2001-01-08 18:21:33 +00:00
Alan Cox
1a0ab78ea8
As reported by Al Viro:
...
take Midnight Commander. Go to directory that contains some
files. Press <+><CR><+><+><CR><CR><+><+><CR> (<+> being the grey one).
IOW, the first invalid regexp and we are toast - old_pattern is freed and
not reset to NULL. Next call of regexp_match() and we've got a double-free.
What's really pissing off is that caller takes care to tell you that
regexp is invalid. In large red window. I.e. they had added error reporting
and had _never_ given it a try, not to mention giving code a review. Sigh...
2000-12-18 16:42:20 +00:00