Eli Zaretskii [Fri, 2 Mar 2001 13:31:52 +0000 (13:31 +0000)]
(Fmsdos_remember_default_colors): If default-frame-alist
specifies (reverse . t), reverse the initial screen colors.
(IT_set_frame_parameters): If the property is foreground-color,
but we are reversing the colors, set bg_set, not fg_set. Likewise
for setting background-color and reversing: set fg_set. Set
unspecified-fg and unspecified-bg correctly when (reverse . t) is
in effect.
Eli Zaretskii [Fri, 2 Mar 2001 12:27:41 +0000 (12:27 +0000)]
(Dired Visiting): Fix wording, suggested by Ron Ross <ronross@colba.net>.
(Marks vs Flags): Fix wording, suggested by Ron Ross <ronross@colba.net>.
(Shell Commands in Dired): Fix wording, suggested by Ron Ross
<ronross@colba.net>.
(Subdirectories in Dired): Fix wording, suggested by Ron Ross
<ronross@colba.net>.
Gerd Moellmann [Fri, 2 Mar 2001 12:04:38 +0000 (12:04 +0000)]
(XTset_vertical_scroll_bar): Don't clear a zero height
or width area.
(XTset_vertical_scroll_bar, x_scroll_bar_create): Don't configure
a widget to zero height.
Gerd Moellmann [Thu, 1 Mar 2001 15:28:26 +0000 (15:28 +0000)]
(free_frame_menubar): Set the frame's menubar_widget to
NULL after destroying it, otherwise XTread_socket can access a
destroyed widget when input is unblocked.
Eli Zaretskii [Thu, 1 Mar 2001 14:14:09 +0000 (14:14 +0000)]
(info-insert-file-contents-1): Accept an additional
argument `lfn': if it is non-nil, concatenate `filename' and
`suffix'; otherwise use the complicated MS-DOS code. All callers
changed.
(info-insert-file-contents, Info-find-node): If the MS-DOS port
can access long file names, try the long file-name version of
`info-insert-file-contents-1', then the short file-name version.
Gerd Moellmann [Wed, 28 Feb 2001 14:54:54 +0000 (14:54 +0000)]
(xm_update_radiobox, update_one_menu_entry)
(xm_update_one_widget): Use XtSetSensitive instead of setting the
value of XmNsensitive. From Rick Scott
<rwscott@alumni.uwaterloo.ca>.
Gerd Moellmann [Wed, 28 Feb 2001 13:30:02 +0000 (13:30 +0000)]
(toplevel): Include process.h.
(enum mem_type): Add MEM_TYPE_PROCESS, MEM_TYPE_HASH_TABLE,
MEM_TYPE_FRAME, MEM_TYPE_WINDOW enumerators.
(allocate_vectorlike): Make it a static function. Add parameter TYPE.
(allocate_vector, allocate_hash_table, allocate_window)
(allocate_frame, allocate_process, allocate_other_vector): New
functions.
(Fmake_vector): Call allocate_vector instead of allocate_vectorlike.
(mark_maybe_pointer): New function.
(mark_memory): Also mark Lisp data to which only pointers
remain and not Lisp_Objects.
(min_heap_address, max_heap_address): New variables.
(mem_find): Return MEM_NIL if START is below min_heap_address or
above max_heap_address.
(mem_insert): Compute min_heap_address and max_heap_address.
Andrew Choi [Tue, 27 Feb 2001 14:33:20 +0000 (14:33 +0000)]
* src/macfns.c: Rename everything containing *busy_cursor* and
similar to *hourglass*.
Change IMAGE_POSITIVE_INTEGER_VALUE to
IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
(x_set_font): If font hasn't changed, avoid recomputing faces and
other things, as in xfns.c.
(Qcancel_timer): New variable.
(syms_of_macfns): Rename x-busy-pointer-shape to
x-hourglass-pointer-shape, display-busy-cursor to
display-hourglass, busy-cursor-delay to hourglass-delay, as in
xfns.c.
(x_set_tool_bar_lines): Modify as in xfns.c
(x_change_window_heights): New function.
* inc/macterm.h (struct x_output): Rename busy_cursor to
hourglass_cursor, busy_window to hourglass_window, busy_p to
hourglass_p, as in xterm.h.
* src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
safe_run_hooks, as in xmenu.c.
* src/macterm.c (do_check_ram_size): New function.
* src/Emacs.r: Add ALRT resource #129 for alert when there is over
256 MB RAM.
Kenichi Handa [Tue, 27 Feb 2001 03:28:48 +0000 (03:28 +0000)]
(CCL_WRITE_MULTIBYTE_CHAR): New macro.
(ccl_driver) <CCL_WriteMultibyteChar2>: Use
CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR.
<ccl_finish>: Set ccl->eight_bit_control properly.
Stefan Monnier [Mon, 26 Feb 2001 17:16:00 +0000 (17:16 +0000)]
(Faccessible_keymaps): Pass `is_metized' to accessible_keymaps_char_table.
(accessible_keymaps_char_table): Obey `is_metized'.
(where_is_internal, Fwhere_is_internal): Don't confuse int and Lisp_Object.