1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

13304 commits

Author SHA1 Message Date
Gerd Moellmann
bccee4f282 (save_or_restore_current_matrices): Function removed.
(save_current_matrix, restore_current_matrix): New functions.
(adjust_frame_glyphs_for_frame_redisplay): Use them to save and
restore the frame's current matrix.  Due to the glyph pointer
setup done in adjust_glyph_matrix, there is no easy way to make
saving the current matrix in the desired matrix generally correct,
so don't try it.
2001-01-15 13:46:41 +00:00
Kenichi Handa
37be86f28f (insert_left_trunc_glyphs): Overwrite padding glyphs by
truncation glyphs.
(display_line): Optimize for wide characters.
(display_string): Don't try to display a multi-column charaters
partially.  On ttys, produce more than one truncation glyph for
multi-column characters that don't fit on the line.
2001-01-15 04:32:52 +00:00
Kenichi Handa
ebeccffa9e *** empty log message *** 2001-01-15 04:32:25 +00:00
Kenichi Handa
1c0e6fa43c (WORDS_BIG_ENDIAN) [__BYTE_ORDER == __BIG_ENDIAN]: Define
it instead of WORDS_BIGENDIAN.  Caller changed.
2001-01-13 07:14:02 +00:00
Kenichi Handa
643881261d *** empty log message *** 2001-01-13 07:13:41 +00:00
Jason Rumney
8edb0a6fb7 (x_to_w32_color, x_set_icon_name, xlfd_strip_height)
(w32_list_synthesized_fonts, lookup_image, Fx_file_dialog)
	(Fw32_send_sys_command): Remove unused variables.
	(w32_msg_pump): Add parentheses.
(Fimage_size, image_ascent, lookup_image)
	(IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, parse_image_spec)
	(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
	(tiff_format, gif_format, gs_format): Adapt to change of image
	margins.
2001-01-13 00:04:05 +00:00
Jason Rumney
d6ff54d52f (x_produce_image_glyph, x_draw_image_foreground)
(x_draw_image_relief, x_draw_image_foreground_1)
(x_draw_image_glyph_string): Adapt to change of image margins.
(w32_fill_rect, w32_read_socket, x_bitmap_icon)
(x_new_fontset, x_calc_absolute_position, x_iconify_frame):
Add parentheses.
2001-01-13 00:01:51 +00:00
Jason Rumney
253574a62d (init_environment, sys_shutdown, sys_pipe): Remove unused
variables.
2001-01-13 00:00:26 +00:00
Jason Rumney
486a1063b9 (search_file_line, get_cached_font_char)
(cache_char_offset, create_offscreen_bitmap): Remove unused variables.
2001-01-12 23:59:37 +00:00
Jason Rumney
a1bcc85a38 (w32_console_toggle_lock_key): Add parentheses. 2001-01-12 23:59:09 +00:00
Gerd Moellmann
b30623bee0 *** empty log message *** 2001-01-12 15:21:00 +00:00
Gerd Moellmann
35a415071e (Vtool_bar_button_margin): Replaces tool_bar_button_margin.
(build_desired_tool_bar_string): Handle Vtool_bar_button_margin
being a pair of margins.
(syms_of_xdisp): Change DEFVAR_INT of tool-bar-button-margins
to DEFVAR_LISP.  Extend doc.
2001-01-12 15:12:10 +00:00
Gerd Moellmann
22d650b851 (x_produce_image_glyph, x_draw_image_foreground)
(x_draw_image_relief, x_draw_image_foreground_1)
(x_draw_image_glyph_string): Adapt to the change of image margins.
2001-01-12 15:09:58 +00:00
Gerd Moellmann
3ed61e75f4 (Fimage_size, image_ascent): Adapt to the change of image
margins.
(lookup_image): If `:margin MARGIN' is specified, and MARGIN is a
pair of integers `(X . Y)', use X for the horizontal and Y for the
vertical margin.
(IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR): New enumerator.
(parse_image_spec): Check it.
(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
(tiff_format, gif_format, gs_format): Use
IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR for :margin.
2001-01-12 15:09:21 +00:00
Gerd Moellmann
f821599397 (struct image): Replace member `margin' with
`hmargin' and `vmargin'.
2001-01-12 15:08:17 +00:00
Eli Zaretskii
3bffc6653c Fix a typo in the last entry for dispnew.c 2001-01-12 14:33:21 +00:00
Gerd Moellmann
607d9f9fe2 (clear_mouse_face=): Improve a comment. 2001-01-12 14:16:15 +00:00
Gerd Moellmann
4554cc7993 Fix last change. 2001-01-12 14:11:51 +00:00
Gerd Moellmann
074b781a4c (update_text_area): Put code which decrements the
stop position when the row's face extends to the end of the
line in � 0.
2001-01-12 14:09:54 +00:00
Gerd Moellmann
b94c0d9c63 (Fdump_tool_bar_row) [GLYPH_DEBUG]: Add parameters ROW
and GLYPHS.
(Fdump_tool_bar_row) [GLYPH_DEBUG]: Add parameters ROW
and GLYPHS.
2001-01-12 14:09:24 +00:00
Gerd Moellmann
3cccce8d1b *** empty log message *** 2001-01-12 12:38:50 +00:00
Gerd Moellmann
bcf26b3836 (x_set_mouse_color): Fix color allocation. 2001-01-12 12:38:21 +00:00
Gerd Moellmann
4956d1efe2 Call get_local_map with new argument list.
(Fwhere_is_internal): Rename parameter XKEYMAP to KEYMAP.
2001-01-12 11:19:36 +00:00
Gerd Moellmann
95a7097d65 (enum map_property): Removed.
(get_local_map): Change prototype.
2001-01-12 11:18:41 +00:00
Gerd Moellmann
2b4b027f3a (get_local_map): Change TYPE to Lisp_Object. 2001-01-12 11:18:20 +00:00
Gerd Moellmann
24a40fbb28 Call get_local_map with new argument list. 2001-01-12 11:17:53 +00:00
Gerd Moellmann
a23887b96a (build_desired_tool_bar_string): Correct the computation
of the size needed for the tool bar string.  For the last image,
use a `display' property that reaches to the end of the string.
2001-01-11 19:33:59 +00:00
Gerd Moellmann
a7ee2d2e77 *** empty log message *** 2001-01-11 16:09:32 +00:00
Gerd Moellmann
ca29f2b87b (selection_request_dpyinfo): New variable.
(x_handle_selection_request): Set it.
(x_selection_request_lisp_error): Don't call
x_decline_selection_request if selection request's display has
been closed.
2001-01-11 16:08:55 +00:00
Gerd Moellmann
2c2ff7f288 *** empty log message *** 2001-01-11 13:37:34 +00:00
Gerd Moellmann
513c58069e (x_free_colors, x_free_dpy_colors): Do the
unregister_colors before calling XFreeColors.
2001-01-11 12:49:00 +00:00
Gerd Moellmann
457b792c1e *** empty log message *** 2001-01-10 15:24:55 +00:00
Gerd Moellmann
bffc71d670 (${etc}DOC): Depend on ${shortlisp} and
${SOME_MACHINE_LISP}, not ${lisp}.
2001-01-10 15:24:21 +00:00
Gerd Moellmann
a98b5ed9fd (display_line): On ttys, produce more than one
truncation glyph for multibyte characters that don't fit on the
line.
2001-01-10 14:43:30 +00:00
Gerd Moellmann
ac95a62196 *** empty log message *** 2001-01-10 12:50:09 +00:00
Gerd Moellmann
47a6ac17a1 (x_reply_selection_request): Add a comment. 2001-01-10 12:23:46 +00:00
Gerd Moellmann
c1efd26046 (Fx_backspace_delete_keys_p): Use XkbGetMap and
XkbGetNames instead of XkbGetKeyboard.
2001-01-10 12:19:28 +00:00
Dave Love
1bfb134516 (random): Revert the declaration. 2001-01-10 11:54:41 +00:00
Gerd Moellmann
35f464a758 (STRING_BYTES) [GC_CHECK_STRING_BYTES]: Call
function string_bytes.
(GC_CHECK_STRING_BYTES): Moved here from alloc.c.
2001-01-09 20:11:40 +00:00
Gerd Moellmann
676a72518a (CHECK_STRING_BYTES) [GC_CHECK_STRING_BYTES]: New macro.
(check_sblock, string_bytes) [GC_CHECK_STRING_BYTES]: New functions.
(check_string_bytes) [GC_CHECK_STRING_BYTES]: Add parameter ALL_P.
(allocate_string) [GC_CHECK_STRING_BYTES]: Always check strings in
the current sblock.
(mark_object) [GC_CHECK_STRING_BYTES]: Use CHECK_STRING_BYTES.
(gc_sweep) [GC_CHECK_STRING_BYTES]: Call check_string_bytes
after sweeping strings, and at the end.
(GC_CHECK_STRING_BYTES): Moved to lisp.h.
2001-01-09 20:10:50 +00:00
Gerd Moellmann
3811982205 (do_auto_save_unwind): Do the pop_message here
instead of in Fdo_auto_save.
(Fdo_auto_save): Don't call pop_message.
2001-01-09 13:46:53 +00:00
Gerd Moellmann
098ec84ae2 (push_message_unwind): New function. 2001-01-09 13:45:38 +00:00
Gerd Moellmann
99ee70a989 (push_message_unwind): Add prototype. 2001-01-09 13:45:04 +00:00
Gerd Moellmann
c970a76059 (Fexecute_extended_command): Use a
record_unwind_protect to ensure that pop_message is called.
2001-01-09 13:44:36 +00:00
Gerd Moellmann
98edb5ff5f (Fgarbage_collect): Use a record_unwind_protect to
ensure that pop_message is called.
2001-01-09 13:43:43 +00:00
Dave Love
234f1ae979 Rearrange relative to comment. 2001-01-08 19:56:54 +00:00
Dave Love
dacbb81882 Comments. 2001-01-08 19:54:40 +00:00
Ken Raeburn
f47a9ec42b * xfns.c (xpm_load) [!ALLOC_XPM_COLORS]: Declare local variable I in inner block. 2001-01-08 19:35:06 +00:00
Gerd Moellmann
6d0afc038b *** empty log message *** 2001-01-08 14:55:06 +00:00
Gerd Moellmann
a74eca5000 (window_scroll_pixel_based): Adjust glyph matrices
when increasing window's vscroll.
2001-01-08 14:37:40 +00:00