Pavel Roskin
63a3aaea7d
Remove:
...
Redirect stderr from the extfs list operation.
Let's hope it's really fixed now.
2002-12-05 17:06:08 +00:00
Pavel Roskin
5802c9d115
Remove:
...
acs_map[] from ncurses is const on Cygwin - test and disable "-a".
Sorry, I was too quick to add it.
2002-12-05 08:52:36 +00:00
Pavel Roskin
49d5227104
Add:
...
acs_map[] from ncurses is const on Cygwin - test and disable "-a".
Redirect stderr from the extfs list operation.
2002-12-05 08:29:23 +00:00
Pavel Roskin
8f567886af
Done:
...
Don't allow stdout and stderr from extfs scripts pollute the screen.
2002-12-01 20:37:08 +00:00
Pavel Roskin
71c43fd0f2
Finish work on position saving.
2002-12-01 08:46:19 +00:00
Pavel Roskin
1573a9581f
* cmd.c (do_edit_at_line): Set line to 0 to allow the editor to
...
decide if the user cares about the initial line or not.
* main.c: Set edit_one_file_start_line to 0 initially.
2002-12-01 08:18:17 +00:00
Pavel Roskin
dc52e8e66a
* setup.c: Add option_save_position to the options table.
2002-11-30 00:37:14 +00:00
Pavel Roskin
c3f5696cca
* tree.c: Make struct WTree opaque. Remove "done" flag - it's
...
broken by design.
(tree_selected_name): New function, return name of the currently
selected entry. Use it where WTree is opaque.
* boxes.c (tree_callback): Don't check for the "done" flag - it
causes closing the dialog on any key after mouse selection.
2002-11-29 04:55:06 +00:00
Pavel Roskin
e0e20526b2
* user.h: Don't include edit/edit-widget.h.
...
* user.c: Include edit/edit-widget.h and edit/edit.h.
2002-11-29 03:03:53 +00:00
Pavel Roskin
935b5f8bc7
* slint.c (getch): Return -1, not SLANG_GETKEY_ERROR, otherwise
...
get_key_code() crashes when calling isalpha().
2002-11-28 21:35:49 +00:00
Pavel Roskin
8ba045461d
* color.c (mc_init_pair) [HAVE_SLANG]: Pass "default", not NULL
...
to SLtt_set_color() - it fixes transparency with the latest
versions of S-Lang. Treat foreground like background.
2002-11-28 18:57:05 +00:00
Pavel Roskin
505bed0ac9
Add for 4.6.1:
...
Find file dialog should not be closed if the regex is invalid. Make it
possible to search for string verbatim.
2002-11-20 17:01:10 +00:00
Pavel Roskin
c0cd0ff9ec
* main.c: Eliminate finish_program variable - mc can now exit
...
immediately.
2002-11-20 15:54:33 +00:00
Pavel Roskin
a5c1f136d5
Add:
...
Crash in isalpha() in key.c is c=0xFFFF.
2002-11-18 21:39:54 +00:00
Pavel Roskin
1544c641e2
* screen.c (do_select): Mark panel as dirty.
2002-11-17 07:14:56 +00:00
Pavel Roskin
7cbd1dd863
* boxes.c (init_disp_bits_box): Make static.
2002-11-17 06:45:24 +00:00
Pavel Roskin
f2331eeafc
Remove:
...
Restore shadow password support in mcserv.
(won't be done)
2002-11-17 01:25:02 +00:00
Pavel Roskin
7b4387975b
* main.c (main): Don't call subshell_get_console_attributes() if
...
the subshell is disabled from the command line.
2002-11-15 21:41:57 +00:00
Pavel Roskin
8a3bce3a54
Fix warning with -Wundef.
2002-11-15 06:55:08 +00:00
Pavel Roskin
5cb2ef30f3
Fix duplicate declarations.
2002-11-15 06:38:55 +00:00
Pavel Roskin
f3afd054e9
Add:
...
Restore shadow password support in mcserv.
get_byte() in view.c produces warnings in Valgrind.
2002-11-15 05:29:53 +00:00
Pavel Roskin
f8267eb2a0
* myslang.h: Define getyx() macro.
...
* layout.c (print_vfs_message): Preserve cursor position.
2002-11-15 01:35:12 +00:00
Pavel Roskin
bb71be884a
Fix "edit" entries in the "Command" menu.
2002-11-14 23:00:50 +00:00
Pavel Roskin
d508d0ef0c
* view.h: Make struct WView opaque, move non-interface parts ...
...
* view.c: ... here.
* layout.c: Use struct WView, not typedef WView.
2002-11-14 21:18:28 +00:00
Pavel Roskin
c9194603a4
* cmd.c: Clean up includes, don't rely on edit.h.
2002-11-14 19:56:02 +00:00
Pavel Roskin
996886fcfd
Update includes.
2002-11-14 17:08:56 +00:00
Pavel Roskin
5aeb6c2422
* dialog.c (struct Refresh): Make opaque.
...
* dialog.h: Move all stuff unrelated to dialog.c ...
* wtools.h: ... here. Adjust all users.
2002-11-14 07:25:18 +00:00
Pavel Roskin
e5ca7e2124
* dialog.c (refresh_list): Make static.
...
* dialog.h: Add typedef refresh_fn.
2002-11-14 06:41:04 +00:00
Pavel Roskin
d4ddbe5148
* cmd.c (menu_edit_cmd): Make static, provide separate functions
...
without arguments to access it.
* menu.h: Make callfn function without arguments - we are not
using any arguments now.
2002-11-14 06:30:16 +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
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
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
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
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
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
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
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
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