1
1

1501 Коммитов

Автор SHA1 Сообщение Дата
Pavel Roskin
f5d76afe37 * key.c (get_modifier): Add support for QNX Neutrino console. 2003-02-23 05:36:49 +00:00
Pavel Roskin
66b2b1381c * key.c (init_key_x11): Don't try to use X11 if DISPLAY is not
set in the environment.
2003-02-23 05:23:04 +00:00
Pavel Roskin
92da7e9dc0 * key.c: Add support for dynamic loading of libX11. 2003-02-23 05:05:49 +00:00
Pavel Roskin
0f70a1c7ea * utilunix.c (destroy_groups): Revert last change, it doesn't
work with glib-1.2.x.
2003-02-21 16:32:32 +00:00
Pavel Roskin
31ba6af202 Add:
Ctrl-q Ctrl-m in input dialog should enter \r, not a newline.
Interpret C literals in regular expressions entered by the user, e.g. \r
and \0x0D.
2003-02-20 21:07:24 +00:00
Andrew V. Samoilov
1a3f1416a8 * option.c (init_configure): Use OTHER_OPTIONS consistently.
By Mike Smithson <dooligan@intergate.ca>.
2003-02-19 10:50:24 +00:00
Pavel Roskin
30aeb24388 * util.c (list_append_unique): Free removed links.
* utilunix.c (destroy_groups): Use g_tree_foreach() instead of
obsolete g_tree_traverse().
2003-02-19 00:42:04 +00:00
Pavel Roskin
cb1438913a * util.c (list_append_unique): Traverse the list backwards.
Otherwise the list was lost when the current link was removed.
2003-02-18 23:21:54 +00:00
Pavel Roskin
a2ef2fe88b * widget.c (history_get): Set the history to the last item.
Reported by Adam Byrtek <alpha@debian.org>
2003-02-18 21:43:46 +00:00
Pavel Roskin
fc0b31c73f More entries. Better descriptions. 2003-02-18 08:22:46 +00:00
Pavel Roskin
9cf0d2c60f * main.c (do_panel_cd): Record directory history for the panel
that changes the directory, not for the current panel.
2003-02-18 06:43:04 +00:00
Pavel Roskin
35895e3c10 Done:
Remove duplicate history entries.
2003-02-18 06:30:27 +00:00
Pavel Roskin
bd19828876 * widget.c (history_get): Use list_append_unique() for backward
compatibility.
2003-02-18 06:29:43 +00:00
Pavel Roskin
f95d276250 * main.c (directory_history_list): Allow history command even
with just one entry - it's more intuitive.
2003-02-18 06:19:11 +00:00
Pavel Roskin
738e33006b * util.c (list_append_unique): New function - add text to GList
and remove duplicates.
* main.c (directory_history_add): Use list_append_unique().
* widget.c (push_history): Likewise.
2003-02-18 06:12:57 +00:00
Pavel Roskin
89e5cc319e * panel.h: Convert directory history to GList.
* widget.h: Convert input history to GList.
Adjust all dependencies.
2003-02-18 05:25:45 +00:00
Pavel Roskin
200dce3828 Add:
Use separate colors for hotkeys in error dialogs.
2003-02-12 05:03:15 +00:00
Pavel Roskin
fd051ca33e * cmd.c (edit_cmd_new): Call editor with NULL argiment, not with
an empty string.  nvi won't save the file if invoked with an
empty argument.
(execute_with_vfs_arg): Don't call vfs_file_is_local() on NULL.
Reported by Adam Byrtek <alpha@debian.org>
2003-02-11 19:11:36 +00:00
Pavel Roskin
881ee01385 Comment fixes. 2003-02-11 16:57:45 +00:00
Pavel Roskin
fc5b14503b Remove includes needed for my_system(), which is in utilunix.c. 2003-02-11 16:46:50 +00:00
Pavel Roskin
4ca9a308aa Add:
Allow calling directory hotlist from Copy, Move and Find File dialogs.
2003-02-11 00:39:53 +00:00
Pavel Roskin
34c12e65a5 Add improved navigation on VFS with non-empty command line. 2003-02-10 23:09:41 +00:00
Pavel Roskin
0631946e1d Add two history-related items for 4.6.1. 2003-02-10 21:47:41 +00:00
Pavel Roskin
56aa86a88d Update plans for 4.6.1. 2003-02-07 05:58:15 +00:00
Pavel Roskin
0f865bcf8f * cmd.c (get_random_hint): Add "force" argument to ignore
timeout.  Adjust all dependencies.
* main.c (load_hint): Likewise.
* layout.c (setup_panels): Force updating the hint bar.
Original patch by Adam Byrtek <alpha@debian.org>
2003-02-05 08:37:21 +00:00
Pavel Roskin
482e675156 * slint.c (getch): If there is EOF on the input, exit
immediately, don't use quiet_quit_cmd().
Reported by Steven P. Ulrick <spu@faith4miracle.org>
2003-02-03 18:00:34 +00:00
Pavel Roskin
2edd447426 * util.c (name_quote): Don't quote ':', '~' and '@'. Quote '#'
and '~' only if it's the first character.
2003-01-28 22:52:04 +00:00
Pavel Roskin
5cecc135e1 * info.c (info_show_info): Cast nlink_t to int to avoid a
warning if nlink_t is short.
* screen.c (string_file_nlinks): Likewise.
2003-01-28 21:15:59 +00:00
Pavel Roskin
781dae3544 * key.c (is_idle): Correct maximal file descriptor and return
value.
2003-01-27 22:37:32 +00:00
Andrew V. Samoilov
b25dd0a948 * util.c (get_compression_type): Cast magic to char * to
fix compilation on AIX.
2003-01-27 18:19:34 +00:00
Andrew V. Samoilov
14a6ef141c * util.h (app_text): Remove declaration - it became static. 2003-01-27 18:03:04 +00:00
Andrew V. Samoilov
778845fc48 * mountlist.c (read_filesystem_list) [MOUNTED_GETMNTENT1]:
Check for MOUNTED is defined to fix compilation on AIX.
Reported by Alexander Varakin <avarakin00@hotmail.com>.
2003-01-27 17:51:53 +00:00
Pavel Roskin
a9440f0320 * main.c (update_xterm_title_path): Use is_printable(). 2003-01-27 17:16:11 +00:00
Pavel Roskin
8be1c7add5 * slint.c (slang_reset_softkeys): Cast arguments from size_t to
int to avoid a warning on 64-bit systems.
2003-01-24 21:36:29 +00:00
Pavel Roskin
8e7ad454d6 * subshell.c (resize_tty) [!TIOCSWINSZ]: Warning fix. 2003-01-24 21:00:49 +00:00
Andrew V. Samoilov
6bd6b1deb0 * setup.c (load_keys_from_section): Simplify. 2003-01-23 14:26:22 +00:00
Pavel Roskin
90243a202f * slint.c (slang_init): Limit screen size to 255x255 because of
S-Lang limitations.
Reported by Tero Peippola <top@ees2.oulu.fi>
2003-01-23 14:19:55 +00:00
Pavel Roskin
0105a5a3d2 * cmd.c (view_other_cmd): Update path in the xterm title after
command execution.
* main.c (do_execute): Likewise.
2003-01-23 02:41:49 +00:00
Pavel Roskin
d233a13bcd Done: -lcurses
Added: "time" keyword.
2003-01-22 07:33:09 +00:00
Pavel Roskin
73c700af4b * util.c (size_trunc): Remove "b" from the output - it's
redundant and wrong - the abbreviation for byte is "B".
Reported by Werner Lemberg <wl@gnu.org>
2003-01-22 07:07:05 +00:00
Pavel Roskin
c89876b805 Mode things to do before 4.6.0. 2003-01-21 18:08:09 +00:00
Pavel Roskin
51f61ccbd0 * screen.c (string_file_type): Check for "regularity" before
checking for executable bit.
(file_compute_color): Likewise.
2003-01-21 00:40:45 +00:00
Pavel Roskin
54a2e8283d Wrong function listed. 2003-01-21 00:33:03 +00:00
Pavel Roskin
2665057b7c * dir.c (handle_dirent): Fix cleaning the stat buffer if
mc_lstat() fails.  Leave buf1->st_mode to be 0, so that the
entry is marked as a "non-regular file of unknown kind".
* screen.c (do_enter_on_file_entry): Try to change directory
when pressing Enter on a non-stat()able file.
2003-01-21 00:31:43 +00:00
Pavel Roskin
7532ed2827 * screen.c (string_file_size_brief): Represent non-regular files
of unknown kind by '?'.
(file_compute_color): Use for them the same color as for stale
links.
2003-01-21 00:12:07 +00:00
Pavel Roskin
5f63841598 * main.c: Change default value of full_eight_bits to 0 - it's
reported to be broken on many terminals.
2003-01-20 23:45:13 +00:00
Pavel Roskin
f33d076970 * man2hlp.c (main): Initialize cnode->heading_level.
Bug report by Tribhuvan <loka@rcn.com>
2003-01-20 23:21:57 +00:00
Pavel Roskin
8f02c8ee72 * dir.c (sort_size): Avoid any arithmetic except comparison on
file sizes - they may not fit "int" that the function returns.
Original patch by Bulia Byak <bulia@dr.com>
2003-01-20 17:06:24 +00:00
Andrew V. Samoilov
e015c70198 * profile.c (load): Handle corrupted section header.
Reported by skol@sbox.tugraz.at.
(GetPrivateProfileInt): Make intBuf and buf auto variables.
2003-01-20 14:33:02 +00:00
Pavel Roskin
6bf1782b77 * screen.c (do_search): Use case-insensitive search if and only
if the sort order is case-insensitive.
Suggested by Bulia Byak <bulia@dr.com>
2003-01-20 14:18:29 +00:00