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
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
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
5d8071ceb4
* screen.c (chdir_other_panel): Change behavior of Alt-O -
...
change the other panel to the current directory, put it to the
listing mode if needed. Based on a patch from PLD Linux
Distribution.
2002-11-11 00:44:27 +00:00
Pavel Roskin
df9b2f4c5c
* myslang.h: Don't define ERR - it conflicts with sys/ucontext.h
...
in glibc 2.1.3.
* key.c: Use -1, not ERR.
2002-11-06 06:08:11 +00:00
Andrew V. Samoilov
c84ff58e4e
(configure_vfs): Simplify #if logic.
...
(cd_dialog): Remove unneeded code.
(vfs_smb_get_authinfo): Use enum instead of static variables.
2002-11-04 12:33:15 +00:00
Pavel Roskin
8bd8b04f57
Remove:
...
Consider applying a patch from PLD to make M-o propagate the current
directory to the other panel.
2002-11-03 09:02:09 +00:00
Pavel Roskin
f7961b614e
* boxes.c (configure_vfs): Ask whether passive connections
...
should be used.
2002-11-01 20:40:19 +00:00
Pavel Roskin
db31e4b3c4
* main.c (main): Use O_TRUNC when opening the file to write the
...
last working directory. Fix segmentation fault when exiting
while on VFS.
* util.c (mc_mkstemps): Use O_TRUNC to open temporary files.
2002-11-01 20:24:07 +00:00
Andrew V. Samoilov
1c8f1cb327
* view.c (normal_search) [HAVE_CHARSET]: Fix segmentation fault
...
on first search. Writting to readonly "" is not good idea.
2002-10-31 11:55:35 +00:00
Andrew V. Samoilov
25739803a8
* view.c (init_growing_view): Mark message for translation.
...
(normal_search) [HAVE_CHARSET]: Convert saved search string to
original codeset if input_dialog() returns empty string.
2002-10-31 11:15:07 +00:00
Pavel Roskin
5d46a2d6b7
Done:
...
reimplement "-P" in a safer way (temp file instead of stdout) - possibly
security issues.
2002-10-31 06:54:58 +00:00
Pavel Roskin
af687f67c5
* main.c (probably_finish_program): Eliminate.
...
(handle_args): Use exit code 1 only for errors, 0 for legitimate
options such as "--help".
2002-10-31 06:52:33 +00:00
Pavel Roskin
a04dd8754e
* main.c: Option -P takes an argument (output filename) now.
...
(main): Output the last directory to the specified file. Don't
output "." is this information is unavailable.
2002-10-31 04:31:52 +00:00
Pavel Roskin
2c3b0c50b6
* subshell.c (subshell_name_quote): Don't quote numbers and
...
letters if possible and safe.
2002-10-31 04:01:19 +00:00
Pavel Roskin
2d3c157e52
* charset.h: Provide new inline functions convert_to_display_c()
...
and convert_from_input_c().
* view.c: Include charset.h unconditionally, use new conversion
functions that don't require ifdefs.
2002-10-30 23:42:21 +00:00
Pavel Roskin
4d20330abc
Reformat.
2002-10-30 23:16:16 +00:00
Pavel Roskin
517243efa0
* charset.h [!HAVE_CHARSET]: Provide dummy macros for
...
convert_to_display and convert_from_input. Eliminate uchar
definition, use unsigned char, adjust dependencies.
* charsets.c (convert_to_display): Tolerate NULL argument.
(convert_from_input): Likewise.
2002-10-30 23:14:26 +00:00
Pavel Roskin
a305ec68f9
Reformat.
2002-10-30 22:48:59 +00:00
Pavel Roskin
3ee1c3b3f6
* ext.c (exec_extension): Don't create self-destructing scripts
...
for the viewer - remove those scripts manually after calling
view(). This fixes the problem with double F8 in the viewer on
parsed files.
Reported by David Martin <dmartina@excite.com>
2002-10-30 21:38:33 +00:00
Pavel Roskin
0ff23cc6a3
* ext.c (exec_extension): Don't rely on working #! - explicitly
...
run /bin/sh on the temporary script.
2002-10-30 21:22:42 +00:00
Pavel Roskin
04f460d565
* mouse.h: Use definitions for GPM_B_DOWN and GPM_B_UP
...
compatible with gpm-1.20.
Reported by by David Martin <dmartina@excite.com>
2002-10-30 20:52:59 +00:00
Pavel Roskin
38e3189d0a
* lib/mc.ext.in: Rename TROFFASCII to MAN_FLAGS.
...
* configure.in: Likewise. Add "-c" (disable ANSI color) to
MAN_FLAGS if supported.
2002-10-30 02:37:48 +00:00
Pavel Roskin
85f55fe291
* panel.h: Use spaces, not commas, in the format - they are more
...
readable and easier to document.
* screen.c (panel_format): Likewise.
(mini_status_format): Likewise.
2002-10-30 00:56:08 +00:00
Pavel Roskin
6efcfdbc68
Don't use decorative spaces in any new translatable strings.
2002-10-29 22:13:17 +00:00
Pavel Roskin
afb2c8abe5
Done:
...
Work around bug in Red Hat 8.0 S-Lang that hides non-ascii characters in
POSIX locale or disable Red Hat 8.0 S-Lang by default.
2002-10-29 21:46:50 +00:00
Andrew V. Samoilov
b932fcb249
* view.c (init_growing_view): Mark message for translating.
...
(normal_search) [HAVE_CHARSET]: Convert saved search string to
original codeset if input_dialog() returns empty string.
2002-10-29 13:01:09 +00:00
Pavel Roskin
dbaf8aee0c
Done:
...
Write a document explaining how to report bugs and ask questions in the
mailing lists.
2002-10-29 01:00:04 +00:00
Pavel Roskin
c7d15b7357
Add:
...
Test for groff and for -P-c option to groff to disable ANSI colors.
2002-10-28 16:36:03 +00:00
Pavel Roskin
3604a2f2d4
Add:
...
Write a document explaining how to report bugs and ask questions in the
mailing lists.
2002-10-28 16:09:17 +00:00
Pavel Roskin
dd16f958a6
Move to "before 4.6.0-pre2":
...
Allow modifiers for keys in mc.lib, like "shift-up".
2002-10-25 22:20:55 +00:00
Pavel Roskin
bec34c88b5
* screen.c (mini_info_separator): Revert last patch. The bug is
...
in Red Hat 8.0 S-Lang.
2002-10-24 23:30:32 +00:00
Pavel Roskin
d6b2ae879a
* screen.c (mini_info_separator): The separator was one
...
character too long.
(show_dir): Remove obsolete linux_unicode hack.
2002-10-24 22:53:01 +00:00
Pavel Roskin
586785c248
* dlg.c (init_dlg): Redraw screen after selecting the focused
...
widget, not before. The bug affected file progress dialog with
verbose operation off.
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
2002-10-24 21:26:52 +00:00
Pavel Roskin
ac200c18ba
Clarify the comment.
2002-10-24 21:19:47 +00:00
Pavel Roskin
935a2b4d4e
Reformat. The formatting in those files was unbearable.
2002-10-24 20:25:07 +00:00
Pavel Roskin
11b1447432
* filegui.c (check_progress_buttons): Reinitialize ret_value to
...
avoid old values after incomplete events.
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
2002-10-24 20:23:21 +00:00
Pavel Roskin
42070839c7
* man2hlp.c (handle_link): Treat link name after & as regular
...
text.
Suggested by David Martin <dmartina@excite.com>
2002-10-24 13:32:30 +00:00
Andrew V. Samoilov
8085a7d36c
* poptconfig.c (configLine): Cast the argument to functions for
...
character classification to unsigned or use unsigned char *.
(poptReadConfigFile): Likewise.
* popthelp.c (singleOptionHelp): Likewise.
* poptparse.c (poptParseArgvString): Likewise.
2002-10-24 10:02:40 +00:00
Andrew V. Samoilov
8d3ff7384d
* main.c (show_change_notice): Make local variable in main().
...
(compatibility_move_mc_files): Merge with
do_compatibility_move() and return 1 if moving was done, 0
otherwise. Move ~/.mc.tree to ~/.mc/Tree.
2002-10-23 09:01:08 +00:00
Andrew V. Samoilov
2a7a2598df
s/chwon/chown/
2002-10-23 08:26:16 +00:00
Andrew V. Samoilov
cde108f585
* file.c (copy_file_file): Reuse message.
...
(copy_dir_dir): Eliminate one more goto.
2002-10-23 08:22:53 +00:00
Pavel Roskin
05b4cca7cd
Add:
...
Work around bug in Red Hat 8.0 S-Lang that hides non-ascii characters in
POSIX locale or disable Red Hat 8.0 S-Lang by default.
2002-10-23 07:41:22 +00:00
Pavel Roskin
bac6c6eaf2
* man2hlp.c (main): Remove unnecessary spaces in the table of
...
contents.
2002-10-23 00:42:34 +00:00
Pavel Roskin
19a87dbeed
* setup.c: Remove dead code surrounded by
...
SAVE_CHANGES_OUTSIDE_OPTIONS_MENU.
* tree.c: Make tree_navigation_flag static.
2002-10-23 00:17:19 +00:00
Pavel Roskin
4827241c62
* help.h: Remove unused characters.
...
* help.c (show): Remove handling of unused characters.
2002-10-22 23:56:26 +00:00
Pavel Roskin
5824c1bc1d
Add:
...
Backup config files when writing them.
2002-10-22 15:15:29 +00:00
Andrew V. Samoilov
13f6e4646d
* popthelp.c (poptPrintHelp): Use POPT_ for "[OPTION...]",
...
this message is eliminated by poptSetOtherOptionHelp().
* popt.c (poptStrerror): Use _ instead of POPT_ for useful
messages.
2002-10-22 11:51:47 +00:00
Andrew V. Samoilov
499aa8c24f
* utilunix.c (mc_tmpdir): Make directory only if not exists.
...
Use strncpy() instead of g_snprintf() - there can be printf()
pattern(s) in the $TMPDIR.
2002-10-22 11:21:40 +00:00
Andrew V. Samoilov
562cc18d4f
* man2hlp.c (handle_link): Don't strip leading space(s) from linkname.
2002-10-22 06:34:17 +00:00
Pavel Roskin
bd34105979
Done:
...
Add minimal UTF-8 support on Red Hat 8.0 to fix the frames or disable
support for S-Lang library compiled with UTF-8 support.
2002-10-22 04:17:05 +00:00
Pavel Roskin
6247254f55
* myslang.h: Add a replacement for addch(), which expects a
...
wchar_t argument in patched S-Lang on Red Hat 8.0.
2002-10-22 04:16:07 +00:00
Pavel Roskin
c39e68b75c
* main.c (print_mc_usage): Remove unnecessary newline.
2002-10-21 23:34:02 +00:00
Pavel Roskin
1c099a21ec
* main.c (print_mc_usage): Partly revert previous patch -
...
poptPrintHelp() has side effects and should not be called
inside fprintf(), which can be a macro.
2002-10-21 23:28:33 +00:00
Pavel Roskin
f11fe69fe9
* main.c (print_mc_usage): Use poptSetOtherOptionHelp()
...
From Andrew V. Samoilov <sav@bcs.zp.ua>
2002-10-21 23:21:24 +00:00
Pavel Roskin
63d29b4791
* learn.c (learn_check_key): Simplify logic. Add a comment for
...
translators.
2002-10-21 22:54:20 +00:00
Pavel Roskin
a84b0fc9cd
Fix some of the most ugly abuses of mixed caps in English texts,
...
especially in button captions.
2002-10-21 22:26:39 +00:00
Pavel Roskin
71ee494335
* file.h: Rename know_not_what_am_i_doing to safe_delete.
...
* file.c (real_query_recursive): Don't ask to enter "yes" - it's
ugly and requires changing input method in some locales.
2002-10-21 21:03:22 +00:00
Andrew V. Samoilov
ec500ae38a
* man2hlp.c (handle_link): Don't strip leading space(s) from linkname.
2002-10-21 17:46:40 +00:00
Pavel Roskin
7571ef816d
* file.c (real_query_recursive): Default to empty string, not to
...
"no" when asking to enter "yes". Add note for translators.
2002-10-21 06:01:04 +00:00
Pavel Roskin
a53c486e4f
* cmd.c (do_view_cmd): When asking confirmation, correctly
...
interpret closing the dialog by escape.
2002-10-21 05:43:09 +00:00
Pavel Roskin
9c613d01f4
Reuse "Learn keys" without spaces.
2002-10-21 04:58:40 +00:00
Pavel Roskin
d3f0a2f61b
Remove spaces around "Error" and "Warning" together with their translations.
...
Also remove spaces from "Quit" and "Search", but leave alone the
translations, that already have them without spaces.
2002-10-21 04:13:49 +00:00
Pavel Roskin
55d17b2e96
Done:
...
Crash on circular macro definitions in the editor.
2002-10-21 02:06:49 +00:00
Pavel Roskin
69dd1ca00c
* utilunix.c (mc_tmpdir): Don't exit if the temporary directory
...
cannot be created - it should be possible to run mc on read-only
filesystems. Try to chmod() the temporary directory.
2002-10-20 08:34:31 +00:00
Pavel Roskin
e55c720591
Move all "before 4.6.0" stuff to "before 4.6.1".
2002-10-20 08:11:16 +00:00
Pavel Roskin
043ff9e913
Add:
...
Use paranoid quoting in subshell_name_quote() only when absolutely
necessary.
2002-10-18 22:45:35 +00:00
Andrew V. Samoilov
1070df9609
* man2hlp.c (handle_tp_ip): Implement .IP and .TP macroses
...
(without arguments).
(handle_command): Call handle_tp_ip().
(main): Handle label and body of .TP paragraph.
2002-10-17 15:12:34 +00:00
Andrew V. Samoilov
2f4a67be36
Remove unused enum.
...
(do_compatibility_move): Rename ~/.mc.ext to ~/.mc/bindings.
2002-10-17 10:32:36 +00:00
Pavel Roskin
2770af84e9
Done: Check "mc --help-colors" for completeness.
...
That doesn't mean that it's fixed :-(
2002-10-17 05:46:56 +00:00
Pavel Roskin
f0aab2028b
* view.c (view_ok_to_quit): Use the same dialog as the editor.
2002-10-17 05:33:10 +00:00
Andrew V. Samoilov
f8cf5b28bf
* man2hlp.c: Include <glib.h> and use g_snprintf()/g_vsnprintf()
...
instead of sprintf()/vsprintf().
2002-10-15 15:38:15 +00:00
Andrew V. Samoilov
cd456a3042
* Makefile.am (man2hlp_LDADD): Set to $(GLIB_LIBS).
2002-10-15 15:33:04 +00:00
Andrew V. Samoilov
056ebbd7a0
* man2hlp.c: Report about stale links.
2002-10-15 14:41:27 +00:00
Pavel Roskin
e9347d1c6b
Add:
...
Check compatibility with new gpm. Excessive warnings on Mandrake 9.0
have been reported.
2002-10-14 21:45:41 +00:00
Pavel Roskin
65903958ba
* color.h: Remove Q_SELECTED_COLOR and Q_UNSELECTED_COLOR.
...
Rename BEST_COLOR to IF_COLOR. Make error messages bold on b/w
terminals. Don't highlight stale links on b/w terminals, since
they cannot be distinguished from marked files.
2002-10-13 23:55:39 +00:00
Pavel Roskin
f367374054
Add FIXME.
2002-10-13 23:12:06 +00:00
Pavel Roskin
01d8a125c8
* main.c (print_color_usage): Update list of keywords for file
...
types. Add a notice for translators.
2002-10-13 22:57:52 +00:00
Pavel Roskin
c011f62dea
* color.c: Rename stalledlink to stalelink. Make the same
...
change elsewhere.
2002-10-13 22:23:17 +00:00
Pavel Roskin
823df274e7
Add: Crash on circular macro definitions in the editor.
2002-10-11 21:15:49 +00:00
Andrew V. Samoilov
94542548d2
Done:
...
SMB crash when not starting with the share root, but copying to the
share root.
2002-10-11 15:36:25 +00:00
Andrew V. Samoilov
ca70ee44c5
* popt.h: Adjust poptHelpOptions[] declaration.
...
* popthelp.c: Replace POPT_ with _ for visible strings.
(singleOptionHelp): Eliminate format array.
(poptHelpOptions): Make const.
(poptPrintHelp): Return width of left column.
* main.c (print_mc_usage): Use width from poptPrintHelp() for "+number".
2002-10-09 15:27:01 +00:00
Pavel Roskin
4a5073b0b7
Done:
...
Alt-P in the editor should return the viewport to the leftmost position.
2002-10-08 05:04:31 +00:00
Pavel Roskin
a7dd92996c
* view.c: Move call to view_update_bytes_per_line() from
...
view_init(), where the number of columns is unknown yet, to
view_callback() where it's already known.
(view_adjust_size): Make static.
2002-10-07 18:50:27 +00:00
Pavel Roskin
a67eb057ec
* view.c (view_update_bytes_per_line): Don't use vertical bars
...
in the hex viewer is short of space. Fix missing space between
addresses and hexdump when framed.
(display): Likewise.
2002-10-07 18:09:50 +00:00
Pavel Roskin
7ec962a1fb
Remove editor regression, it's a side effect of lacking UTF-8 support.
...
Rephrase problem with dates on FTP.
2002-10-07 16:01:39 +00:00
Andrew V. Samoilov
001f9ec607
* charsets.c (init_translation_table): Use g_snprintf() instead of sprintf().
2002-10-07 07:14:09 +00:00
Andrew V. Samoilov
886f98fafd
* boxes.c (sel_charset_button): Use g_snprintf() instead of sprintf().
2002-10-07 07:14:09 +00:00
Pavel Roskin
04eb17ce0f
* selcodepage.c (select_charset): Use g_snprintf() instead
...
of non-portable snprintf().
2002-10-07 06:17:13 +00:00
Pavel Roskin
9acd93fe1e
Done:
...
When using included S-Lang, don't fill empty areas with spaces (' '),
because they are copied to the buffer when doing cut and paste.
2002-10-07 05:17:47 +00:00
Pavel Roskin
3222baab97
* myslang.h [!HAVE_SYSTEM_SLANG]: Update location of slang.h.
2002-10-07 04:48:32 +00:00
Pavel Roskin
7171d36bb1
Add:
...
Don't rely on temporary scripts being executable. Run shell explicitly.
2002-10-04 22:30:06 +00:00
Pavel Roskin
63c397afbe
More issues.
2002-10-03 18:48:32 +00:00
Pavel Roskin
bee7f28436
s/paramter/parameter/
2002-10-03 17:31:31 +00:00
Pavel Roskin
f5a8897749
Add two little things.
2002-10-03 05:46:00 +00:00
Pavel Roskin
e9ab8a8ee5
Move hard stuff to 4.6.0, add some simple things for 4.6.0-pre2.
2002-10-02 04:23:51 +00:00
Pavel Roskin
6e51be478d
Done:
...
Implement --with-screen option.
Remove side effects from --with-termcap option.
2002-09-30 02:58:15 +00:00
Pavel Roskin
7aec774638
* ext.c (get_file_type_local): Return -1 for fatal errors.
...
(get_file_type_pipe): Likewise.
(regex_command): Likewise. Adjust all callers.
From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
2002-09-29 19:26:15 +00:00
Pavel Roskin
3cdf930ea6
* dlg.c (frontend_run_dlg): Allow terminating the dialog from
...
the idle handler.
From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
Call change_screen_size() regardless of ncurses version, and let
that function decide what to do.
2002-09-29 18:51:32 +00:00
Pavel Roskin
0e9e693c9d
* background.c (background_attention): Fix calling functions
...
with wrong arguments, which resulted in segmentation faults.
2002-09-28 05:10:29 +00:00
Pavel Roskin
35c57c4a3f
Add:
...
Support for multi-byte charsets (e.g. UTF-8).
2002-09-27 22:27:00 +00:00
Pavel Roskin
7fece18d5f
* file.c (panel_operate): Replace fancy internationalized
...
message boxes for unknown file operations with abort().
2002-09-27 21:39:30 +00:00
Pavel Roskin
4cf69ff615
* util.c (name_trunc): Remove unused code, unhelpful error
...
message and workaround for bugs in the callers.
2002-09-27 21:20:41 +00:00
Pavel Roskin
222035b949
* file.c (copy_file_file): Rename DST_* names to DEST_*, since
...
DST_NONE is used in FreeBSD libc.
Reported by Pavel Shirshov <pavelsh@mail.ru>
2002-09-27 19:21:36 +00:00
Pavel Roskin
d51fc07a99
* textconf.c: Don't translate filesystem names.
2002-09-27 01:18:54 +00:00
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
Pavel Roskin
2b197e4f88
* poptint.h: Use i18n.h instead of most own replacement macros.
2002-09-19 06:00:40 +00:00
Pavel Roskin
aba44bf4b2
No need to document C-x C-l, it's dead :-)
2002-09-18 22:34:05 +00:00
Pavel Roskin
c3e1e0e19d
* cmd.c (other_symlink_cmd): Remove, this function is
...
undocumented and poorly implemented.
* main.c: Remove call to other_symlink_cmd() on C-x C-l.
2002-09-18 22:30:48 +00:00
Pavel Roskin
9aa16b2c1a
* wtools.c (real_input_dialog_help): Trim spaces from the label
...
text. Align label with the input field.
2002-09-16 23:28:09 +00:00
Pavel Roskin
2a2df991d0
* cmd.c (do_link): Avoid using g_strconcat() on translatable
...
strings.
(other_symlink_cmd): Likewise.
2002-09-16 23:09:34 +00:00
Pavel Roskin
eeea579c19
* main.c: Remove advanced_chfns variable. Adjust all
...
dependencies.
2002-09-13 16:33:18 +00:00
Pavel Roskin
c740e77171
* option.c: Make "Configure options" dialog more flexible,
...
readjust layout. Remove "advanced chown" option - it's unused.
2002-09-13 16:29:32 +00:00
Andrew V. Samoilov
40c35f02c5
* main.c (process_args) [WITH_SMBFS]: Call smbfs_set_debugf()
...
for "-l" option.
2002-09-13 10:04:21 +00:00
Pavel Roskin
05af9f14c7
* main.c: Fully remove obsolete "-m" option.
2002-09-13 06:42:03 +00:00
Andrew V. Samoilov
b7cae0c6e2
* main.c [WITH_SMBFS]: Include ../vfs/smbfs.h.
...
(argument_table) [WITH_SMBFS]: Add -D, --debuglevel option for
smbfs debug level.
(process_args) [WITH_SMBFS]: Handle new -D option.
(print_mc_usage) [WITH_SMBFS]: Describe -D, --debuglevel option.
2002-09-11 10:05:24 +00:00
Pavel Roskin
547567ae47
* subshell.c: Move tcsh_fifo to the file scope. Use mc_tmpdir()
...
to calculate tcsh_fifo.
2002-09-11 05:23:18 +00:00
Pavel Roskin
485b40ac2a
* utilunix.c (mc_tmpdir): New function that returns temporary
...
directory for mc.
* util.c (mc_mkstemps): Use mc_tmpdir().
* main.c (main): Call mc_tmpdir().
2002-09-11 04:58:24 +00:00
Pavel Roskin
ec1b1f9614
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
2002-09-10 22:04:11 +00:00
Pavel Roskin
8568fc50d9
* Make-alone.am: Get rid of all standalone code, it has been
...
unmaintained for years.
2002-09-10 21:48:49 +00:00
Pavel Roskin
08440f7e8d
* util.c (trim): Handle short strings even better - don't use
...
dots unless necessary.
2002-09-10 21:39:07 +00:00
Pavel Roskin
9af6bedb04
* main.c (load_prompt): Don't shorten the prompt if COLS is 8 or
...
less.
2002-09-10 21:18:11 +00:00
Pavel Roskin
1314fc2a07
* screen.c (show_dir): Don't call trim() with negative length.
...
* util.c (trim): Better handle short length. Make sure that the
destination is always 0-terminated.
2002-09-10 19:58:33 +00:00
Andrew V. Samoilov
aec8a76263
* screen.c (string_file_name): Fix possible off-by-one
...
buffer overflow.
(string_file_size): Avoid unsafe strcpy().
(string_file_size_brief): Likewise. Eliminate buffer array.
2002-09-09 07:28:38 +00:00
Pavel Roskin
6d8e2e73e1
* color.c: Move hascolors variable into init_colors(). Adjust
...
all dependencies.
2002-09-08 17:30:52 +00:00
Pavel Roskin
a480b09b7c
* myslang.h: Remove definition of initscr(), it's unused.
2002-09-08 16:49:41 +00:00
Pavel Roskin
ef9a43a7a3
* tty.h [!HAVE_SLANG]: Remove all slang_* definitions.
...
* main.c (main) [!HAVE_SLANG]: Don't call slang_shutdown().
* myslang.h: Remove slang_done_screen(), it's unused.
2002-09-08 16:22:54 +00:00
Pavel Roskin
5d2757fb8d
* key.c (get_event): Check gpm_fd only if gpm is actually used.
...
* layout.c (done_screen): Move disable_mouse() call ...
* main.c (done_mc): ... here.
2002-09-08 15:50:02 +00:00
Pavel Roskin
d2c8d076f9
* view.c (init_growing_view): Avoid reporting the same error
...
twice. Reported by Moritz Barsnick <moritz@barsnick.net>
2002-09-08 15:22:28 +00:00
Pavel Roskin
9deca156f0
* textconf.c: Don't use SLANG_TERMINFO, which is unused anywhere
...
else. Assume that terminfo is used if USE_TERMCAP is undefined.
2002-09-07 07:36:59 +00:00
Pavel Roskin
7d723361b2
* subshell.c (subshell_name_quote): Return NULL if we are out of
...
memory. Use "echo -e" with zsh (Debian bug #150996 ).
(do_subshell_chdir): Be prepared to get NULL from
subshell_name_quote().
2002-09-07 00:27:53 +00:00
Pavel Roskin
53982cb546
* profile.c: Remove unused code. Eliminate global variables.
...
(is_loaded): Rename to find_loaded(). return matching profile.
Adjust all dependencies.
2002-09-06 20:25:15 +00:00
Pavel Roskin
ca90bd204f
* fs.h: Only redefine S_IS* macros if they are undefined, and
...
then define them to 0. S_IF* constants should be avoided.
* util.c : Whenever possible, use standard POSIX macros to test
for the file type.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-09-06 19:23:45 +00:00
Pavel Roskin
ff8cf87949
* cmd.c (nice_cd): Fix conditions when this function is
...
compiled.
2002-09-06 01:30:50 +00:00
Pavel Roskin
a36e7b7fad
* fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name.
2002-09-06 00:52:35 +00:00
Pavel Roskin
5e9c0314a2
* fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback
...
definitions for S_IFDOOR and S_ISDOOR.
* screen.c (string_file_type): Remove unnesessary ifdefs, fs.h
takes care of it.
(file_compute_color): Add support for Solaris doors.
* util.c (string_perm): Remove unnesessary ifdef.
2002-09-06 00:47:46 +00:00
Pavel Roskin
d520b9f76f
* man2hlp.c (handle_command): Make clear that unsupported
...
command is a warning, not an error. Avoid unsafe strcat().
2002-09-05 20:47:12 +00:00
Pavel Roskin
cac0accb55
* view.c (view_mode_callback): Eliminate, use the default
...
callback.
2002-09-05 19:16:18 +00:00
Pavel Roskin
87da6b9f42
* main.c (load_hint): Don't hardcode copyright years. Use a
...
translated message.
2002-09-05 16:36:43 +00:00
Pavel Roskin
01e2780615
* main.c (midnight_callback): Avoid calling the default DLG_DRAW
...
handler. From David Martin <dmartina@excite.com>
2002-09-05 06:59:17 +00:00
Pavel Roskin
63a2d3dceb
Compile fix.
2002-09-05 06:55:50 +00:00
Pavel Roskin
b248f6bb32
* help.c (help_handle_key): Sanity check for broken help files.
...
From David Martin <dmartina@excite.com>
2002-09-05 06:51:46 +00:00
Pavel Roskin
206fdf6f1d
* global.h: Eliminate xgetch, update all dependencies.
2002-09-03 22:23:27 +00:00
Pavel Roskin
556f733f12
* boxes.c: Fix remaining old-style calls to create_dlg().
...
* complete.c: Likewise.
* main.c: Likewise.
* view.c: Likewise.
2002-09-03 20:19:22 +00:00
Pavel Roskin
97148e3e55
Reuse the same title "Find File". Reformat most ugly code.
2002-09-03 20:04:54 +00:00
Pavel Roskin
facfea1d40
* wtools.c: Remove Chooser, its unused.
2002-09-03 19:57:13 +00:00
Pavel Roskin
dce476e552
* dlg.c: Fix the case when the dialog has no title.
2002-09-03 19:19:23 +00:00
Pavel Roskin
0d7af2cdba
* acinclude.m4: Remove Termnet support, it's too old and obscure
...
to be supported properly.
2002-09-03 17:58:26 +00:00
Pavel Roskin
2b41a2e4e2
One translatable message less.
2002-09-03 17:46:15 +00:00
Pavel Roskin
77791e773f
* wtools.c (real_input_dialog_help): Use a more reliable way
...
to indicate password input.
2002-09-03 17:36:27 +00:00
Pavel Roskin
f098afae04
* boxes.c (display_widgets) [!HAVE_CHARSET]: Fix initialization.
...
(vfs_smb_get_authinfo): Reuse another translated string.
2002-09-03 17:30:16 +00:00
Pavel Roskin
09df85b9b7
Reuse other translated strings.
2002-09-03 16:55:05 +00:00
Pavel Roskin
d9c6403250
* wtools.h (QuickDialog): Eliminate the "class" field - it's not
...
used and it can clash with C++ code. Adjust all dependencies.
2002-09-03 08:00:02 +00:00
Pavel Roskin
6c2eb32b70
* dlg.c (x_set_dialog_title): Completely eliminate. Adjust all
...
dependencies.
2002-09-03 07:42:36 +00:00
Pavel Roskin
00baa9f8fe
* help.c (interactive_display): Fallback to node "[main]" if the
...
requested node cannot be found.
2002-09-03 07:22:23 +00:00
Pavel Roskin
afae5939cd
* help.c (help_index_cmd): Eliminate unneeded search for
...
"[Help]", which always fails. Fix crash if "[Contents]" cannot
be found. Reuse more generic error message.
2002-09-03 07:15:01 +00:00
Pavel Roskin
52caab36b8
* filegui.c: Eliminate x_set_dialog_title().
...
* hotlist.c: Likewise.
* help.c: Likewise.
(interactive_display): Default to node "[main]" if the given
node is empty.
2002-09-03 06:53:11 +00:00
Pavel Roskin
69a3777112
* dlg.c (create_dlg): Take title instead of unused name as the
...
8-th argument.
(x_set_dialog_title): Free old title. Mark this function
obsolete.
* achown.c: Use new create_dlg().
(do_enter_key): Provide titles for popups.
2002-09-02 19:24:23 +00:00
Pavel Roskin
67cfc5d84d
* dlg.c: Remove unused code, make functions static if possible.
2002-09-02 18:42:49 +00:00
Pavel Roskin
6f0c076c65
* chmod.c: Use common_dialog_repaint().
...
* chown.c: Likewise.
* layout.c: Likewise.
* option.c: Likewise.
2002-09-02 18:03:15 +00:00
Pavel Roskin
e000c69683
* wtools.c (common_dialog_callback): Fold into ...
...
* dlg.c (default_dlg_callback): ... this. Don't redraw dialogs
that don't have colors. Adjust all dependencies.
(std_callback): Elimitate.
2002-09-02 16:31:33 +00:00
Pavel Roskin
7e0d162f5e
* panelize.c (panelize_refresh): Eliminate in favor of
...
common_dialog_callback().
2002-09-02 08:22:50 +00:00
Pavel Roskin
0df513bcc2
* widget.c (history_callback): Eliminate in favor of
...
common_dialog_callback().
(show_hist): Set dialog title and flag DLG_COMPACT.
2002-09-02 08:01:35 +00:00
Pavel Roskin
43509ea980
* help.c (help_callback): Use common_dialog_callback().
...
(interactive_display): Set dialog title.
2002-09-02 07:48:01 +00:00
Pavel Roskin
1e2884e94d
* wtools.c (listbox_callback): Eliminate in favor of
...
common_dialog_callback().
2002-09-02 07:37:15 +00:00
Pavel Roskin
1f478c647a
* wtools.c (dialog_repaint): Eliminate, nobody should be using
...
non-standard colors. Adjust all dependencies.
(common_dialog_repaint): Fix return code.
(query_callback): Eliminate, use common_dialog_callback()
instead.
2002-09-02 07:31:19 +00:00
Pavel Roskin
812e80c85a
Add a comment saying where the code is broken and why.
2002-09-02 07:18:51 +00:00
Pavel Roskin
cec127c569
* listmode.c (listmode_refresh): Use common_dialog_repaint().
...
Eliminate all global variables. Reformat the whole file.
2002-09-02 06:06:49 +00:00
Pavel Roskin
946e09abc2
* boxes.c (init_disp_bits_box): Use common_dialog_callback().
...
Return the new dialog.
2002-09-02 05:32:14 +00:00
Pavel Roskin
9f5b82fe08
* boxes.c (display_callback): Use common_dialog_repaint().
...
(display_init): Avoid using two different translations.
2002-09-02 05:09:45 +00:00
Pavel Roskin
03e1f0638e
* help.c (interactive_display): Don't reuse the old value of
...
help_lines - LINES could have changed. Scale height better for
terminals with many lines - use 2/3 of the full screen.
2002-09-02 02:40:22 +00:00
Pavel Roskin
e1aee61843
* man2hlp.c: Move handling of .SH and NODE to a separate
...
function handle_node(). Don't output empty nodes except in the
table of contents.
2002-09-02 02:06:44 +00:00
Andrew V. Samoilov
64605f4785
* man2hlp.c (handle_command): Handle .SM and .SB.
2002-09-01 16:54:11 +00:00
Andrew V. Samoilov
cd9e02c125
* man2hlp.c (print_error): Print input filename.
...
(handle_command): Handle .P, .LP, .IP and .br.
Ignore comments and .TH (Title header).
Report about unsupported commands.
2002-09-01 10:45:35 +00:00
Andrew V. Samoilov
7d821e954e
* user.c (debug_out): Use "%s" as text argument.
2002-09-01 08:10:11 +00:00
Andrew V. Samoilov
ab44f618f9
* win.c (key_name_conv_tab): Fix initialization.
2002-09-01 07:42:54 +00:00
Andrew V. Samoilov
17a8ca0706
* ext.c (regex_command): Use "%s" as text argument.
2002-09-01 07:38:24 +00:00
Andrew V. Samoilov
dd3e9e07c6
* ext.c (regex_command): Use "ChangeLog" as text argument.
2002-09-01 07:38:24 +00:00
Pavel Roskin
74c4b19546
* help.c (show): Fix segfault on unterminated help files.
...
From David Martin <dmartina@excite.com>
2002-08-31 14:20:14 +00:00
Pavel Roskin
517e1cf8e7
* key.c (get_event): Reduce scope of select_set. Don't check
...
mouse_enabled all the time, instead break out of the loop if it
becomes 0.
2002-08-31 06:40:47 +00:00
Pavel Roskin
66f37c0af4
* main.c (do_nc): Make midnight_colors[] local to do_nc().
...
Initialize normal color - it's used by the tree.
* boxes.c (tree_box): Use standard dialog_colors.
* tree.c: Use NORMALC for normal entries.
2002-08-31 05:50:06 +00:00
Pavel Roskin
68f0b4b8b4
* view.c (view): Avoid passing an uninitialized color array to
...
create_dlg() - pass NULL instead.
2002-08-31 04:30:57 +00:00
Pavel Roskin
8eb26481c1
Missed "const" for query_colors in the last commit.
2002-08-31 00:31:14 +00:00
Pavel Roskin
180ec10d69
* color.c: Define global array alarm_colors for the colors used
...
in the dialogs that should be most visible (error messages,
request to delete or overwrite).
(load_dialog_colors): Initialize alarm_colors.
* filegui.c: Use alarm_colors.
* wtools.c: Likewise.
* dlg.c (create_dlg): Make the color_set array constant.
2002-08-31 00:29:48 +00:00