1
1

1283 Коммитов

Автор SHA1 Сообщение Дата
Pavel Roskin
b181f4519f * main.h: Remove all references to icons.
* panel.h: Likewise.  Adjust all dependencies.
2002-09-27 00:47:29 +00:00
Pavel Roskin
bd4b18731e s/suplied/supplied/
s/duplicit/duplicate/
2002-09-27 00:17:10 +00:00
Pavel Roskin
4d34d9dfbe * hotlist.c (load_hotlist): Remove compatibility code with
hotlist files created by ancient versions of mc.
2002-09-27 00:04:26 +00:00
Pavel Roskin
c1e04b9ed6 * command.c (do_cd_command): Reuse translated message. 2002-09-26 23:55:00 +00:00
Pavel Roskin
b31f058eea s/appropriative/suitable/ 2002-09-26 23:40:03 +00:00
Pavel Roskin
cf31b0aacd * user.c (check_patterns): Ignore invalid shell_patterns and
let user see them in the menu.  The error message was too vague.
2002-09-26 23:33:22 +00:00
Pavel Roskin
da7e82d253 Global removal of RCS Id: flags. 2002-09-26 23:13:45 +00:00
Andrew V. Samoilov
758842a16d * util.c (mc_mkstemps): Really return NULL in the filename in the
case of failure.  Reported by Andrew W. Nosenko <awn@bcs.zp.ua>.
2002-09-26 22:13:16 +00:00
Pavel Roskin
65924ac165 * ext.c (get_file_type_local): Make static.
(get_file_type_pipe): Likewise.
* util.c (check_patterns): Likewise.
2002-09-26 21:23:55 +00:00
Pavel Roskin
f2972e99dc Comment fix. 2002-09-26 20:55:51 +00:00
Pavel Roskin
e402f59842 * file.c (copy_file_file): Eliminate the complex scheme with
"resources".  Set src_desc, dest_desc to -1 initially and use
their values to see if they need to be closed.  Track status of
the destination file using a 3-state variable.
2002-09-26 16:39:17 +00:00
Pavel Roskin
7fcbcaf284 * file.c (copy_file_file): Fix event handling - check the result
of file_progress_show_bytes().
From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
2002-09-26 16:07:25 +00:00
Pavel Roskin
851e122d12 Update priorities. 2002-09-25 05:32:15 +00:00
Pavel Roskin
a3f9820755 * subshell.c (pty_open_master) [IS_AIX]: Open /dev/ptc, not
/dev/ptmx.  From Sergey Pavlukhin <psi@dmng.ru>
2002-09-25 04:38:29 +00:00
Pavel Roskin
c20e6f66c1 * screen.c (string_file_nuid): Fix a warning with uClibc.
(string_file_ngid): Likewise.
2002-09-24 23:00:01 +00:00
Pavel Roskin
9fb801ccd6 * mountlist.c: Restore sys/param.h before sys/mount.h - it's
required on FreeBSD.
Reported by Pavel Shirshov <pavelsh@mail.ru>
2002-09-24 22:19:32 +00:00
Pavel Roskin
ac608302f8 * screen.c (panel_event): Implement support for mouse wheel. 2002-09-24 05:16:19 +00:00
Pavel Roskin
c46620d1c5 * view.c (display): Fix wrapping of tabs.
Reported by Arpad Biro <biro_arpad@yahoo.com>
2002-09-24 04:20:16 +00:00
Pavel Roskin
894f2c3d40 Make mouse wheel work on the panels. 2002-09-24 04:19:57 +00:00
Pavel Roskin
07dc0f0490 DONE: Make resize a dialog event. 2002-09-24 03:58:45 +00:00
Pavel Roskin
7b42d6c5cd * dlg.h: New message DLG_RESIZE.
* layout.c: Call DLG_RESIZE instead of resizing viewer and
editor individually.
* view.c (view): Install handler for DLG_RESIZE.  Make view_dlg
a local variable.
2002-09-24 03:56:08 +00:00
Pavel Roskin
95deedcc08 * view.c (view): Set view_dlg to NULL after it's destroyed. 2002-09-23 23:49:22 +00:00
Pavel Roskin
a18c202fc7 Make resize a dialog event. 2002-09-23 23:47:42 +00:00
Pavel Roskin
9707873a05 Caret notation done. Unambigous notation for other non-printable
characters will be added if somebody requests.
2002-09-23 23:38:19 +00:00
Pavel Roskin
07fd90fb64 * color.h: Remove EDITOR_UNDERLINED_COLOR, it's unused. 2002-09-23 23:06:28 +00:00
Pavel Roskin
041123939b Use a more traditional representation of non-printable characters in
editor (i.e. binary 0 would be ^@).
'\r' in the editor is done.
2002-09-23 07:16:08 +00:00
Pavel Roskin
3d8a56ee9c * edit.h: Remove all references to O_TEXT, USE_O_TEXT and
MY_O_TEXT.
2002-09-23 07:00:30 +00:00
Pavel Roskin
c785d4195b * global.h: Move fcntl.h inclusion here. Define O_BINARY.
* mountlist.c: Remove more includes already handled in global.h.
2002-09-23 06:43:22 +00:00
Pavel Roskin
572ea6be4d Add: real_input_dialog_help() shouldn't use translated strings in the section
names in .mc/history.
2002-09-23 06:01:04 +00:00
Pavel Roskin
389f053c47 * man2hlp.c (handle_alt_font): Implement .BR, .IR, .RB, .RI, .BI
and .IB macros.
(handle_command): Call handle_alt_font().
2002-09-22 19:19:45 +00:00
Pavel Roskin
8fad60a1c6 * man2hlp.c: Take text width from help.h, not from the command
line.
* help.h: Declare HELP_TEXT_WIDTH.
* help.c: Use HELP_TEXT_WIDTH.
2002-09-22 17:03:28 +00:00
Pavel Roskin
f1cec8dc2d * help.h: Replace CHAR_BOLD_ON, CHAR_BOLD_OFF and CHAR_ITALIC_ON
with  CHAR_FONT_BOLD, CHAR_FONT_NORMAL and CHAR_FONT_ITALIC
respectively for better consistency.
2002-09-22 16:40:33 +00:00
Pavel Roskin
beb47e96db More subshell-related items. 2002-09-22 08:07:23 +00:00
Pavel Roskin
bbf6cdb792 * util.c (is_printable): Disable "Full 8 bits output" on xterm,
fall back to "ISO 8859-1" due to problems with gnome-terminal,
which identifies itself as xterm.
Reported by Miven Dooligan <dooligan@intergate.ca>
2002-09-22 07:40:56 +00:00
Pavel Roskin
94fa3bbef9 Update. 2002-09-22 07:25:41 +00:00
Pavel Roskin
b5700cf6f8 * configure.in: Remove support for HSC proxy - it's obsolete.
Remove all references to HSC proxy everywhere.
2002-09-22 06:14:16 +00:00
Pavel Roskin
774b97e94c * mouse.h: Put return codes from the mouse callback to an enum.
Remove MOU_ENDLOOP and MOU_LOCK - they are interpreted like
MOU_NORMAL.  Adjust all dependencies.
* dlg.c: Use MOU_NORMAL instead of 0 for mouse_status.
2002-09-22 05:49:17 +00:00
Pavel Roskin
4085591bd0 * main.c (process_args): Print only data directory and nothing
else for the "-f" argument.
(argument_table): Rename --libdir to --datadir, adjust its
description.
2002-09-22 01:59:37 +00:00
Pavel Roskin
6979a9fddf * Makefile.am: Rename LIBDIR to DATADIR, since it refers to
pkgdatadir now.  Install cons.saver to pkglibdir, pass it to the
compiler as LIBDIR.
* cons.handler.c (handle_console): Use LIBDIR.
* main.c (OS_Setup): Use DATADIR instead of LIBDIR.  Rename
MC_LIBDIR to MC_DATADIR.
2002-09-22 00:13:32 +00:00
Pavel Roskin
748e028d05 * */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
7fcd9a6517 * panelize,c: Remove unused variable panelize_title. 2002-09-21 06:20:25 +00:00
Pavel Roskin
28ee4bd6f0 * view.c (view_event): Add mouse wheel support. 2002-09-21 05:46:19 +00:00
Pavel Roskin
dad4215705 * mouse.h: Define events for the mouse wheel.
* key.c (xmouse_get_event): Recognize mouse wheel events.
2002-09-21 00:11:59 +00:00
Pavel Roskin
b295faf096 * command.c: (command_insert): New function - insert quoted
text into the command line.
* main.c: Use command_insert() instead of stuff().  This ensures
that the names in the command line are quoted.
Reported by Arpad Biro <biro_arpad@yahoo.com>
2002-09-20 19:59:28 +00:00
Pavel Roskin
f6f02a0295 * command.c: Make `command' a standard WInput widget, just
change its callback.  Eliminate input_w().  Adjust all
dependencies.
* widget.c (input_callback): Remove static attribute.
2002-09-20 19:36:55 +00:00
Pavel Roskin
e6003e328f Even better "+number" help - don't depend on the length of _("+number") 2002-09-19 06:52:41 +00:00
Pavel Roskin
dfdb879eb1 * main.c (argument_table): Improve help for "+number" - it has
to be re-translated anyway.
2002-09-19 06:43:06 +00:00
Pavel Roskin
d12a6c2eb6 * main.c (argument_table): Add missing descriptions. 2002-09-19 06:29:25 +00:00
Pavel Roskin
7d2f7d94dd * main.c [NATIVE_WIN32]: Remove -S option, it's useless. 2002-09-19 06:16:42 +00:00
Pavel Roskin
331a4c7bab * main.c (print_mc_usage): Use poptPrintHelp() instead of
manually formatted help text.  Adjust callers to pass popt
context.
2002-09-19 06:03:24 +00:00