Pavel Roskin
389ed511de
* editmenu.c (edit_user_menu_cmd): Move to ../src/cmd.c.
2002-11-14 06:25:46 +00:00
Pavel Roskin
c6e56452ea
* exit.c (edit_delete_line): Don't remove and restore the
...
preceding newline. Don't treat binary zero as newline.
From Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
2002-11-14 05:17:56 +00:00
Pavel Roskin
895c9468c3
* man2hlp.c (persistent_fread): Return error for len <= 0.
...
(persistent_fwrite): Likewise.
(main): Check the result of the second ftell().
2002-11-13 17:38:33 +00:00
Pavel Roskin
4af124c573
Include edit.h.
2002-11-13 09:30:57 +00:00
Pavel Roskin
e1dc782744
* cmd.h: Fully exclude WPanel from public interfaces of cmd.c.
...
* cmd.c: All commands operate on current panels.
(get_a_panel): Remove.
* screen.c: Change to use new functions.
2002-11-13 09:27:42 +00:00
Pavel Roskin
85075934f1
* main.h: Don't check if panel.h was included. Use forward
...
declaration of WPanel, change prototypes to use struct WPanel.
(midnight_callback): Make static.
2002-11-13 08:32:49 +00:00
Pavel Roskin
1b017c668f
* cmd.c (do_view_cmd): Don't take WPanel argument - always use
...
the current panel.
(view_cmd): Likewise.
(view_file_cmd): Likewise.
(view_simple_cmd): Likewise.
(filtered_view_cmd): Likewise.
(filtered_view_cmd_cpanel): Remove.
(view_panel_cmd): Likewise.
2002-11-13 08:21:45 +00:00
Andrew V. Samoilov
8ce50e28d7
Remove SMBLOGFILE, NMBLOGFILE and MANDIR
2002-11-13 07:25:46 +00:00
Pavel Roskin
e741be7a5d
* *.c: Fix all global functions without declarations - declare,
...
make static or remove.
2002-11-13 04:32:00 +00:00
Pavel Roskin
b3ae19dd7d
* chmod.c (init_chmod): Make static.
...
* help.c (quit_cmd): Rename to help_quit_cmd().
(show): Rename to help_show().
* main.c (quit_cmd): Make static. Return void, not int.
(sort_cmd): Make static.
2002-11-13 04:01:04 +00:00
Pavel Roskin
70ec6bbd26
Remove fish_which().
2002-11-13 04:00:28 +00:00
Pavel Roskin
15f131afc9
* fish.c (fish_which): Make static.
2002-11-13 03:54:24 +00:00
Pavel Roskin
66f451aac7
* dlg.c (send_message_to): Remove, use send_message() instead.
...
(send_message): Make inline, remove Dlg_head argument. Change
all callers.
2002-11-13 02:56:40 +00:00
Pavel Roskin
bc70c8cc1e
* dlg.h: Remove Dlg_head argument from callback_fn - it's
...
excessive and can be trivially derived from the widget.
(default_proc): Remove Dlg_head argument. Change all callers.
2002-11-13 02:27:35 +00:00
Pavel Roskin
31f491b01e
* dlg.h: Remove Dlg_head argument from callback_fn - it's
...
excessive and can be trivially derived from the widget.
(default_proc): Remove Dlg_head argument. Change all callers.
* widget.c (listbox_draw): Remove Dlg_head argument.
2002-11-13 02:27:00 +00:00
Pavel Roskin
47ab84d950
* syntax.c (syntax_change_callback): Remove, it's unused.
...
(edit_set_syntax_change_callback): Likewise.
2002-11-13 02:13:37 +00:00
Pavel Roskin
2b9d151923
* edit.c (edit_execute_cmd): Fool gcc to prevent Y2K warning.
2002-11-13 02:05:01 +00:00
Pavel Roskin
e3bc0b2b86
* dlg.h: Define dlg_cb_fn - dialog callback function. Improve
...
typedefs for callbacks and use them everywhere. Clean up some
unused defines.
* dlg.c: Adjust declarations for match.
2002-11-13 01:30:37 +00:00
Pavel Roskin
11913b36a2
* wtools.h: Eliminate the_widget filed in QuickWidget.
...
* wtools.c (quick_callback): Allocate widget table dynamically.
2002-11-13 00:20:15 +00:00
Pavel Roskin
0106eebda6
* editwidget.c (edit_adjust_size): Use find_buttonbar().
2002-11-12 23:35:25 +00:00
Pavel Roskin
eb53b3e975
* dlg.c (widget_redraw): Remove.
...
* widget.c (find_buttonbar): Use find_widget_type(). Make
global.
(define_label): Remove paneletc argument. Change all callers.
(define_label_data): Likewise.
(redraw_labels): Likewise. Use find_buttonbar().
* view.c (view_adjust_size): Use find_buttonbar().
2002-11-12 23:33:15 +00:00
Pavel Roskin
b0481b41bf
* menu.h: Remove "*" from the definition of the type "Menu"
...
for consistency with other types. Change all dependencies.
(menubar_event): Make static.
2002-11-12 21:01:50 +00:00
Marco Ciampa
e085356351
last fuzzy translated...
2002-11-12 20:14:06 +00:00
Pavel Roskin
97af01a20f
Remove control character from an error message in help.c - it is not
...
required now.
2002-11-12 17:46:54 +00:00
Pavel Roskin
834abd3e24
Reuse existing message from file.c.
2002-11-12 17:22:02 +00:00
Andrew V. Samoilov
050b141018
Fix last entry
2002-11-12 16:24:18 +00:00
Andrew V. Samoilov
7197808ece
Remove LOCKDIR support
2002-11-12 16:03:16 +00:00
Andrew V. Samoilov
5959aff123
* ftpfs.c (linear_abort): Close data socket dsock.
2002-11-12 15:26:18 +00:00
Andrew V. Samoilov
74b5eb3ac7
* view.c (get_line_at): Use g_strreverse() instead of
...
reverse_string().
* util.c (reverse_string): Remove.
(decompress_extension): Return const char *.
(strip_home_and_password): Make dir const.
* util.c (reverse_string): Fix declarations.
2002-11-12 11:20:08 +00:00
Pavel Roskin
6b3a6dd169
* vfs.h [USE_VFS] (mc_setctl): Specify argument types.
2002-11-11 19:25:21 +00:00
Pavel Roskin
ad4949c6cd
Behavior of Alt-O is more intuitive now.
2002-11-11 18:44:36 +00:00
Pavel Roskin
48b9a934d5
Add final message.
2002-11-11 18:15:28 +00:00
Pavel Roskin
af883aaecf
Fixes in English messages.
2002-11-11 17:27:13 +00:00
Pavel Roskin
bf107a7860
Add:
...
Check and report errors from opendir().
2002-11-11 17:01:26 +00:00
Pavel Roskin
5c0691349c
* charsets.c (convert_to_display): Don't crash on empty read
...
only strings.
(convert_from_input): Likewise.
Reported by David Martin <dmartina@excite.com>
2002-11-11 14:48:37 +00:00
Pavel Roskin
39f877f0bb
* screen.c (select_item): Don't show the file selection if the
...
panel is inactive.
(chdir_other_panel): Select the same file on the other panel.
2002-11-11 09:12:53 +00:00
Pavel Roskin
ba466b74d6
* file.c (panel_operate): Warning fix.
...
* cmd.c (compare_dirs_cmd): Likewise.
* man2hlp.c: Warning fixes. size_t can be unsigned.
2002-11-11 08:25:29 +00:00
Pavel Roskin
4061502e82
* editcmd.c: Warning fix for compilers that don't understand the
...
"const" keyword and variable size arrays.
2002-11-11 08:06:01 +00:00
Pavel Roskin
7f6b843a94
* cpio.c (cpiofs_data): Warning fix in initization.
...
* tar.c (tarfs_data): Likewise.
2002-11-11 07:46:21 +00:00
Pavel Roskin
2538dbfdd3
* file.c (panel_get_file): Make static.
...
* filegui.h: Eliminate use of WANT_WIDGETS.
* setup.h: Likewise.
* menu.h: Declare struct WMenu.
* main.h: Don't include menu.h, use forward declaration.
2002-11-11 07:35:08 +00:00
Pavel Roskin
e0194b11a0
* dlg.h: Move movefn definition ...
...
* win.h: ... where it's used. Remove unused definitions.
* win.c: Remove unused code.
* key.h: Include mouse.h, don't rely on others doing it.
* widget.h: Include dlg.h. Remove Tk-only fields.
* widget.c: Remove Tk-only fields.
2002-11-11 07:12:03 +00:00
Pavel Roskin
7e8c2e9abe
* key_nt.c: Remove C++ style comments.
2002-11-11 06:37:44 +00:00
Pavel Roskin
91f7a47331
* vfs.c: Leave only necessary includes from ../src.
2002-11-11 06:28:30 +00:00
Pavel Roskin
e917b70e56
* panel.h: Simplify interdependencies between headers. Use
...
forward declarations for structures.
* widget.h: Declare struct WListbox.
* wtools.h: Use forward declaration for struct WListbox to avoid
dependency on widget.h.
2002-11-11 06:23:59 +00:00
Pavel Roskin
86436e886a
* panel.h: Remove all unused definitions. Make format_e an
...
opaque structure by moving it ...
* screen.c: ... here.
2002-11-11 05:55:22 +00:00
Pavel Roskin
e9460185bf
* screen.c (display_mini_info): Make static.
...
(the_info_panel): Remove.
2002-11-11 04:52:23 +00:00
Pavel Roskin
dc9869db9e
* screen.c (Xtry_to_select): Make static, rename to
...
do_try_to_select().
2002-11-11 04:07:40 +00:00
Pavel Roskin
e5140f37d4
* vfs.c: Make the last argument to MC_OP non-empty in the
...
definition of MC_HANDLEOP. Needed for Mac OS X.
Reported by Wim Rijnders <wimrijnders@home.nl>
2002-11-11 02:03:35 +00:00
Pavel Roskin
9db4ae7e2f
* configure.in: Check for uintptr_t. Needed to compile regex.c
...
on MacOS X. Reported by Wim Rijnders <wimrijnders@home.nl>
2002-11-11 01:57:43 +00:00
Pavel Roskin
f7477fb810
Move the entry about vfs/extfs/a to vfs/ChangeLog.
2002-11-11 01:49:52 +00:00