📄 changelog
字号:
* main.c (update_one_panel_widget): New routine: Updates a panel
based on the widget, not the index. Used by the GUI versions.
* find.c (find_file): Cancel idle tasks before we destroy the find
dialog.
* dlg.c (destroy_dlg): Call x_destroy_dlg_start, a new hook that
is invoked to allow the frontend code to prepare for dialog
destruction. Only the Gnome edition is using this: it uses this
to hide the dialog and avoid flickering.
* main.c: dtterm also has mouse support.
1998-04-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* wtools.c (quick_callback): Process DLG_KEY events on X.
* utilunix.c (max_open_files): new routine; Used to figure out
the number of available file descriptors.
Sat Apr 4 00:16:49 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/layout.c: changes to layout dialog box i18n
* src/option.c: changes to configure box i18n
* src/cmd.c: added N_() macro for machine_str
* src/wtools.c (real_input_dialog_help): ok/cancel buttons are places
symmetrically spaced relatively to center of the box. It produces
nicer appearance with i18n (IMO :)
* src/boxes.c (confirm_box): i18n stuff added.
Mon Apr 6 07:48:22 1998 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* Makefile.in: "make dist" works with bash 1.x again
Fri Apr 3 05:23:20 1998 Alex Tkachenko <alex@bcs.zp.ua>
* configure.in: ALL_LINGUAS test added, to allow specify list
of languages to be installed by setting env variable before
configure. If it is empty, it defaults to full list.
* src/menu.h menu_entry.{hot_pos, is_dupped} dropped
* src/menu.c: consistency fixes: pull-down menu items are now
accessible either with arrow keys or with hotkeys, denoted with &
(and highlighted). (key combinations, placed to the right of items
intended to be used from outside the menus). Freeing menu entries
removed as it no longer needed
* src/main.c, edit/editmenu.c: menubar init code is changed to conform
above fixes.
* edit/edit.h: use of "Cancel" in error_dialogs replaced with
"Dismiss", to avoid collisions in translation of "Cancel" in other
places with this case.
* src/boxes.c: select_format() and it's support removed, as it is
obsoleted by input line history feature. display_init()/display_callback
fixed to suite i18n changes. sort_box() - alike.
* src/option.c: pause_options added &'s and gettext calls to expand
statically assigned values.
* src/widget.c: (radio_callback) hotkey recognition is changed to
&-notation, rather than simple uppercase.
* src/dlg.c: (dlg_try_hotkey) plain symbol comparison replaced with
call to isalpha(), this fixes errorneous exit from input line, when
button hotkey is 8-bit NLS char.
Fri Apr 3 12:23:28 1998 Norbert Warmuth <k3190@fh-sw.de>
* TODO: Removed obsolete entries: Similar entries in tree view
are displayed correct; user specific files has been moved
to ~/.mc/
Added: Check what to do with menubar_arrange/destroy_menu stubs
in tk/tkmenu.c; the interal editor (not portet yet) adds entries
to the wrong menubar
Wed Apr 1 00:15:30 1998 Norbert Warmuth <k3190@fh-sw.de>
* key.c, key.h (numeric_keypad_mode, application_keypad_mode): New
functions which encapsulate two hardcoded escape sequences from main.c.
* main.c (main): Use the two new functions from key.c
* main.c, screen.c: Moved all file selection keys from the default
keymap to the keymap for panels in listing mode.
Changed *_selection_cmd to *_selection_cmd_panel in panel_keymap
(functions in panel_keymap get a WPanel * as first parameter,
i.e. the indirection with cpanel isn't necessary).
* main.c (midnight_callback): Keys '*' and '-' were not treated
when only_leading_plus_minus==0;
Optimized the if-clauses a little bit (i.e. removed duplicate
checks). More optimation is possible but it would make the whole
stuff completly unreadable.
* key.c (correct_key_code): KP_ADD, KP_SUBTRACT and KP_MULTIPLY
will be translated to +, - and * only if the option
alternate_plus_minus is turned off.
* learn.c (learn_keys): Turn alternate_plus_minus temporarily on
to avoid translation of KP_ADD, KP_SUBTRACT and KP_MULTIPLY in
correct_key_code/make sure keypad is in application mode (makes it
possible to learn this keys).
* cmd.c (reverse_selection_cmd_panel): New function (renamed from
reverse_selection_cmd, takes a WPanel * as parameter, references to
cpanel changed to panel/the passed parameter).
reverse_selection_cmd now simply calls this function with cpanel.
This pair was missing among the *_selection_cmd* functions.
* cmd.h: Added function prototypes.
1998-03-31 Paul Sheer <psheer@obsidian.co.za>
* cmd.c (nice_cd): Forgot to invoke the history registration in
one spot.
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* menu.c (destroy_menu): Implement destroy_menu for all of the
ports as a routine that frees the menu entries if
internationalization has been enabled.
* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
Sun Mar 29 23:02:09 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/menu.[ch]: new member to menu_entry (hot_pos) introduced to make
internationalized version of menu use externally defined hotkeys
(denoted with preceding &). create_menu() fixed to load intl text of
the entries. Some fixes around menu.c to enable usage of reloaded
hotkeys.
* main.c, editmenu.c: menu initialization code fixed to conform new
menu structure. editmenu init code includes N_(..) now.
* menu.c, layout.c, editwidget.c: bar menu items displacement is made
dynamically upon initialization and window size changes. Mouse event
processing is fixed accordingly.
Sat Mar 28 13:18:36 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/screen.c: (repaint_file) last patches to format_file() in the
same file broke appearance of panels in brief mode -- fixed.
Mon Mar 30 20:02:49 1998 Paul Sheer <psheer@obsidian.co.za>
* main.c, screen.c, dirhist.c, dirhist.h, main.h, widget.c,
main.h and others?: Directory history added. The previous
directory history code was removed. The directory history now
loads and saves using the same routines as the input widget. The
keys meta-y, and meta-u are used to go backward and forward
through the history. The buttons to the right and left of the
current directory display on the panel can be used as well. The
v button brings up a history, but no key is assigned to this.
Discussion as to correct color and shape of these buttons is
open. show_hist() in widget.c is made generic to be called for
any widget. Help pages still needed to be added for the
directory history.
Wed Mar 25 19:05:31 1998 Norbert Warmuth <k3190@fh-sw.de>
* view.c (view_done): Set monitor off before deleting the view
file dialog.
* subshell.c (init_subshell): Added ':q' to $cwd in the precmd for
tcsh. It preventes command and filename substitution (e.g. for
a directory named "[word] words")
Mon Mar 23 18:06:10 1998 Norbert Warmuth <k3190@fh-sw.de>
* main.c: Deleted some old and unused code
1998-03-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
* All over the src/ directory: Internationalization changes.
* background.c: Avoid buffer over-runs and reduce number of
internationalization strings.
Mon Mar 23 14:04:07 1998 Philippe De Muyter <phdm@macqel.be>
* configure.in (nlink_t): Check it using AC_CHECK_TYPE.
* acconfig.h (nlink_t): New define slot.
Mon Mar 23 08:17:55 1998 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* src/main.c: mcedit can be named mce or mcedit.exe - only
3 first letters are significant. The same for mcview.
Console is always saved in do_execute() if it was saved there.
* src/util.h: STRNOMP introduced (strncmp on unix and strnicmp
on OS2_NT)
* slang/slgetkey.c: SLang_getkey() and SLang_input_pending()
enabled for OS2_NT
* myslang.h: using fast one_vline() and one_hline() for OS2_NT
Mon Mar 23 00:47:51 1998 Norbert Warmuth <k3190@fh-sw.de>
* autogen.sh: added support for builddir != srcdir
* doc/Makefile.in: The manual pages are generated files and
located in the builddir and not in the srcdir.
* find.c (find_file): Use the same hotkey for the panelize button
as we use with the external panelize command.
Fri Mar 20 17:51:01 1998 Norbert Warmuth <k3190@fh-sw.de>
* myslang.h: --with-ncurses didn't compile: renamed
KEY_BACKTAB to KEY_BTAB (the name ncurses uses)
* dlg.c (dlg_key_event): likewise
1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c: Remove KEY_DC forever. This should have never been
here.
Wed Mar 18 22:08:34 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* achown.c (do_enter_key): call endgrent, endpwent.
* chown.c (init_chown): call endgrent, endpwent.
Tue Mar 17 23:58:40 1998 Pavel Machek <pavel@elf.ucw.cz>
* src/file.c: Fix for the case where the disk gets full.
Tue Mar 16 18:35:53 1998 Stas Maximov <stmax@u213.srcc.msu.su>
* src/hotlist.c default values for dialogs which add entries to hotlist
are now set to the current directory.
Tue Mar 10 14:42:01 1998 Stas Maximov <stmax@u213.srcc.msu.su>
* vfs/extfs.c, lib/mc.ext, vfs/extfs/extfs.ini, vfs/extfs/cpio.in
Added support for cpio extfs including compressed and gziped
cpio archives. compress and gzip handled separately because I saw
a lot of systems which have compress, but don't have gzip.
Sat Feb 21 16:46:49 1998 Stas Maximov <stmax@u213.srcc.msu.su>
* src/subshell.c: failed to grantpt on SVR4 due to zero-initialized
subshell_pid. sigaction handler for SIGCHLD does waitpid(subshell_pid,
...) and when subshell_pid == 0 it steals the zombie from grantpt(3)
which does fork/exec/waitpid for suid program to set the permissions on
pty. It's enough to initialize it to 1 or -2.
1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* util.c (convert_pattern): Now the internal buffer is malloc()ed
instead of being static. This is required for long patterns.
(regexp_match): Free the pattern after calling convert_pattern().
* file.c (file_mask_dialog): Free the source_mask after calling
convert_pattern().
Mon Mar 16 13:03:45 1998 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* cmd.c: Internal edit is used by default. vi may be
confusing for some users.
* tree.c: tree_rmdir_cmd() should not return any value,
because it is not analyzed for errors.
* main.c: NT code: use O_BINARY instead of _O_BINARY
* util.c: DO not test for arguments that do not make sense under
Windows NT.
* file.c: utime.h always included for Windows NT port.
* view.c: Events are flushed only if the ports supports it.
Mon Mar 16 12:30:39 1998 Stas Maximov <stmax@u213.srcc.msu.su>
* hotlist.c: Defaults on the hotlist add-current and new-entry is
the current directory.
Sat Mar 14 17:30:21 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* file.c (panel_operate): Why was the flags in query_dialog set to
D_INSERT is a big mistery. Should be fixed now.
Fri Mar 13 18:10:58 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* dlg.c (dlg_stop): New routine used to finish dialog boxes.
* cmd.c (set_panel_filter_to): Implementation split. To be used
by GNOME.
* widget.c (input_new): GNOME-entry widget is inspired in the
WInput + the history patches from Paul. Use the GNOME-entry
history, as this makes it easier to deal with the filter button on
the panel.
* setup.c (save_panel_types): Do not use if running on the gnome
edition. This need a lot of fixing for making this work with
gnome and session management.
* main.c (do_nc): DO not call setup_panels_and_run_mc as
create_panels in gnome edition does all this.
(setup_mc): Skip part of the setup.
(do_execute): Do not Execute any of the pause code after
run for gnome.
Wed Mar 12 17:46:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* screen.c (chdir_other_panel, chdir_to_readlink): Use passed
panel instead of cpanel (removed mixed use of panel and cpanel).
* main.c, screen.c: Deleted F13 from the default keymap, added F13
and F14 to the panel's keymap (the keymap for panels in listing
mode). These two keys are only useful for panels in listing mode.
It seems there are even more candidates for such a move. Especially
select_cmd and unselect_cmd which appeared recently for the GNOME
edition in screen.c act unexpected for panels in tree-mode.
* cmd.c (view_simple_cmd): Added WPanel* to the parameter list.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -