📄 changelog
字号:
Wed May 6 13:46:37 1998 Paul Sheer <psheer@obsidian.co.za>
* syntax.c: more bug fixes.
1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
* view.c (view_quit_cmd): Use dlg_stop.
* main.c (ctl_x_cmd): Implement ctl-x handling as a state of the
key press events. Drop the usage of mi_getch to acomplish this
task.
(midnight_callback): Deal with the current map depending on the
c-x state.
Mon May 4 10:21:31 1998 Norbert Warmuth <k3190@fh-sw.de>
* background.c (message_1s1d): the unprocessed string with %d was
passed to message_1s; fixed small memory leak
* widget.c (button_callback): WIDGET_CURSOR: make cursor position
dependend from button type (fixes the off by one bug in advanced
changeown).
* file.c (copy_file_file): Schedule deletion of short target file
only when we created or truncated the target file and not already
when we decided to overwrite an existing file.
1998-05-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* boxes.c (task_cb): Use kill, not INT, as we are catching INT in
the program.
Sat May 2 14:07:05 1998 Paul Sheer <psheer@obsidian.co.za>
* setup.c: ALT('H') now shows a directory history - that
ESC SHIFT-h or ALT-SHIFT-h
Fri May 1 17:45:58 1998 Paul Sheer <psheer@obsidian.co.za>
* syntax.c: initial support for LaTeX 2.09 files added,
* syntax.c: some minor bug fixes. and reorganisation
of context and keyword priorities.
Fri May 1 11:24:21 1998 Paul Sheer <psheer@obsidian.co.za>
* syntax.c: syntax highlighting segfaults when editing a binary
file - now fixed.
Thu Apr 30 12:23:50 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/file.c: lot of i18n of file Copy/Move/Delete operations. Maintainers
of message catalogs please notice introduced op_names1 and formats for
file operations.
* src/boxes.c: i18n of background jobs control and quick cd
dialog boxes.
* src/menu.c (menubar_arrange): resizing of menubar upon changes of
window size is now controlled by preprocessor symbol RESIZABLE_MENUBAR
(now it's off by default, as requested in mailing list). If it is off,
menubar items are separated with fixed number of spaces (3).
* src/layout.c, edit/editwidget.c: calls to menubar_arrange ifdef'ed
1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (parse_an_arg): GNOME edition keeps track of various
--geometry and various directories passed.
1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (update_panels): Great API simplification. update_panels
only cares about the contents of the current panel, every other
panel keeps the current selection (this was the behaviour
anyways).
update_panels can be provided in a per-port fashion as well.
Wed Apr 29 03:06:09 1998 Paul Sheer <psheer@obsidian.co.za>
* syntax.c: some optimisations, as well as support for
syntax highlighting of Makefiles and ChangeLog files.
Fixed some syntax highlighting bugs. All C and C++
keywords added.
Tue Apr 28 06:11:08 1998 Norbert Warmuth <k3190@fh-sw.de>
* view.c (toggle_wrap_mode, toggle_hex_mode): Force recalculation
of bottom_first (we mustn't use an already calculated and cached
value because it is invalid for the new mode and the End key would
not move to the end of the file).
* configure.in: Renamed the option `--with-our-slang' to
`--with-included-slang' (this one looks better because we also
have an `--with-included-gettext').
Make the option `--with-ext2undel' recognice a given path.
* cmd.c (view_file_at_line): In plain view (F13) set the default
magic flag to zero in order to view the file content unprocessed
(esp. don't uncompress files if they are compressed). The
view_simple_cmd got broken when the default magic flag in view.c
was changed from 0 to 1.
* view.c (do_view_init, goto_line): Set wrap mode temporary off
to make goto line number work, i.e. `line number' now always means
line number in file and not line number on screen (in wrap mode
one long line wrapped once is displayed in two lines on the screen).
That's important when the viewer is invoked from the find file
dialog to display even in wrap mode approxiamtly the part of the
file where we found the content we searched for.
(move_forward2): In wrap mode lines were sometimes counted wrong
causing cursor up to move more than one line.
(move_backward2): Fixed the movement in wrap mode.
(change_viewer): Always re-init viewer when we have a filename,
i. e. if the viewer is invoked with simple_view_cmd then we can switch
with the F8 key between unprocessed file content und uncompressed
file content.
(view_init): re-init view also when magic flag was altered
1998-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (is_a_panel): Added a routine to determine if a widget
is a panel.
1998-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (file_entry_color): Check if fe->fname has something.
Sun Apr 26 00:21:12 1998 Norbert Warmuth <k3190@fh-sw.de>
* slint.c: Applied the patch from Bill Nottingham <wen1@cec.wustl.edu>
to make it link against SLang >=1.0.
I reviewed the diffs to the part of SLang we use and there are no
further changes to MC necessary (one function's return value
changed it's meaning but we don't use this return value).
* configure.in: Undone the change which prevented linkage against
SLang >=1.0
Sat Apr 25 13:41:43 1998 Paul Sheer <psheer@obsidian.co.za>
* edit.h, syntax.h: some optimisations to improve syntax
highlighting speed.
1998-04-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
* color.h: Move the CTYPE definition
Fri Apr 24 16:43:25 1998 Paul Sheer <psheer@obsidian.co.za>
* main.h, setup.c: editor_syntax_highlighting option added
for ini file.
Fri Apr 24 14:54:06 1998 Paul Sheer <psheer@obsidian.co.za>
* syntax.c: added. this files reads ~/.cedit/mcsyntax and
processes generic rules for syntax highlighting of different
file types. Syntax highlighting does not store an attribute byte
for each byte of the edit buffer. Rather, it calculates colours
on the fly, with an optimised algorithm, as the text is being
rendered.
* edit.c, edit.h, editwidget.c, editdraw.c: changes to facilitate
syntax highlighting.
* editoptions.c: dialog box updated with a syntax highlighting
checkbox.
* slint.c: new function alloc_color_pair(). This allocates a new
color index. init_pair() itself now records the last colour index
so that colours can be added on to the end of the colour list
with alloc_color_pair().
* slint.c: new function try_alloc_color_pair() returns a new index
for a color with named fg and bg. Checks if that named colour
already exists before setting a new index.
1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* user.c (execute_menu_command): Create temporary file exclusively
as well.
* main.c (do_execute), utilunix.c (my_system), gutil.c, ext.c:
Changed the way we execute programs. Now a new set of flags exist
that indicates how the execution is done. In ports that execute
by sending the process to background, when executing temporary
files, we have to remove the files after the child process has
finished executing the code not after the calling do_execute.
* ext.c (exec_extension): Create temporary file exclusively.
Mon Apr 20 01:32:20 1998 Norbert Warmuth <k3190@fh-sw.de>
* configure.in: Don't try to link MC against SLang >= 1.0. I will
remove this restriction when I'm sure that it's save to use the new
version (the documentation to SLang mentions some changes of
return values).
1998-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* file.h: Added prototype for copy_dir_dir.
* file.c (real_do_file_error): use the proper flags, this is not a
D_INSERT dialog box, for what it is worth. Important bug fix.
* utilunix.c (get_owner): Declare.
* widget.h: Added various missing prototypes for the X edition.
* view.h: Added various missing prototypes for the X edition.
* widget.c (x_radio_toggle): New per-port variable: PORT_HAS_RADIO_TOGGLE
1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (GT): Assign two spaces for the minimum size of the
"type" field for the GNOME edition. This gives some extra space
for the icon that gets displayed.
* dlg.c (remove_widget): New function: used to remove a widget
from an existing Dlg_head;
(destroy_widget): Destroy a specific Widget.
(add_widgetl): Extended to deal with the fact that a running
Dlg_head can become empty.
* panelize.c (l_call): Update the input line every time the user
selects the entry with the mouse (pretty common in the gnome
edition).
* hotlist.c (add_new_group_input): Removed an extra field that was
causing problems.
* find.c (find_parameters): Tree button is gone for gnome until we
get the tree function working on gnome.
* cmd.c (save_setup_cmd): Per Elliot's suggestion, do not pop up a
dialog box to inform the user about the saved setup.
1998-04-15 Pavel Machek <pavel@elf.ucw.cz>
* cmd.c: Report failed chdir attempts.
Wed Apr 15 10:48:41 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/hotlist.c: changes to hotlist boxes i18n.
* src/panelize.c: changes to panelize boxes i18n.
* src/wtools.c (query_dialog): Take care about possible '&' in
button names while calculating window sizes and button positions.
1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (string_file_nlinks): The buffer was too small and we
were overwriting parts of it.
* subshell.c (do_subshell_chdir): Memory leak fix.
* find.c (do_search): Do not use undefined order of evaluation.
* user.c: Do not use undefined order of evaluation.
* dlg.c (init_dlg): Do init the default return value.
Sun Apr 12 03:09:17 1998 Norbert Warmuth <k3190@fh-sw.de>
* cmd.c (view_other_cmd): #ifdef'd application_keypad_mode and
numeric_keypad_mode (don't include it in non text editions)
Sun Apr 12 02:48:26 1998 Norbert Warmuth <k3190@fh-sw.de>
* xv/xvscreen.c: removed duplicate (conflicting) definition
of do_enter()
Sun Apr 12 02:24:57 1998 Norbert Warmuth <k3190@fh-sw.de>
* text.c (edition_post_exec), cmd.c (view_other_cmd): Don't change
the keypad mode when we don't use the alternate plus minus. Pavel
forgot an if-clause when he replaced the escape sequences (or
another point of view: I forgot one if-clause at different place).
Fri Apr 10 17:35:23 1998 Philippe De Muyter <phdm@macqel.be>
* configure.in (AC_NCURSES): When checking for library location,
put -L option before -l option, not after.
Fri Apr 10 10:35:06 1998 Norbert Warmuth <k3190@fh-sw.de>
* file.c (file_mask_dialog): When the shell patterns option was
off source_mask was freed twice.
1998-04-10 Marc Ewing <marc@redhat.com>
* panel.h: added up_b
1998-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* widget.c (update_input): Set the used flag early in update_input
to allow X widget to catch the right value
* screen.c (do_enter): Return the status for the operation.
* main.c (main): Sigh. This was hard. I added support for argp.
Right now we support both argp for the GNOME edition and popt for
the other editions. I will remove popt support in the future and
only keep argp.
* dlg.c (add_widgetl): Adding widgets to an already running dialog
had some flaws. Fix this.
Wed Apr 8 11:15:29 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/find.c: changes to find_parameters/find_file i18n.
* src/widget.c: new function introduced, button_scan_hotkey();
button_new() and button_set_text() fixed to use mentioned function.
* src/key.[ch], src/dlg.c: changes to make recognition of ESC char as
ALT(c) possible for 8-bit chars. (By replacing 'A'/'Z' comparisons with
call to isalpha() in the way proposed by Norbert).
* src/boxes.c: changes to display box i18n
* src/learn.c: changes to learn key dialog i18n
1998-04-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -