Commit graph

13346 commits

Author SHA1 Message Date
Kenichi Handa
9ee6df62dd (check_composition): Check validity of composition. 2001-01-19 03:50:40 +00:00
Kenichi Handa
e6ebcbbed8 *** empty log message *** 2001-01-19 03:50:24 +00:00
Gerd Moellmann
8962e30335 *** empty log message *** 2001-01-18 14:49:07 +00:00
Gerd Moellmann
ae782866b6 (Qcancel_timer): New variable.
(syms_of_xfns): Initialize and staticpro it.
(Fx_hide_tip, Fx_show_tip): Use it.
(Fx_show_tip): Make sure to set tip_timer to nil when canceling
the timer.
(toplevel): Lisp code for generating parts of syms_of_xfns removed.
2001-01-18 14:48:38 +00:00
Gerd Moellmann
91523be925 (WINDOW_LIVE_P): New macro. 2001-01-18 14:10:06 +00:00
Gerd Moellmann
9e571f494c * window.c (Fwindow_live_p): Use WINDOW_LIVE_P. 2001-01-18 14:09:17 +00:00
Gerd Moellmann
b0b7ed0e41 (window_size_fixed): New variable.
(syms_of_window): Add a DEFVAR_BOOL for window-size-fixed, for
the doc string.
2001-01-18 13:46:46 +00:00
Gerd Moellmann
06bccf8e72 (specbind): If binding a per-buffer variable which
doesn't have a buffer-local value in the current buffer, change
the global value by changing the value of the symbol bound in all
buffers not having their own value, to make it consistent with
what happens with other buffer-local variables.
2001-01-18 13:21:51 +00:00
Gerd Moellmann
9017309fb5 (x_initialize): Set char_ins_del_ok to 1. 2001-01-18 12:30:25 +00:00
Gerd Moellmann
8692ca9275 (forward_to_next_line_start): Stop at end of buffer
when searching for a newline.
2001-01-18 12:29:55 +00:00
Kenichi Handa
9299cb1520 (display_string): Fix previous change. 2001-01-18 12:14:48 +00:00
Kenichi Handa
bb3a3b5034 *** empty log message *** 2001-01-18 12:14:25 +00:00
Jason Rumney
c2cc16fa2b (x_produce_stretch_glyph): Only use Qspace when GLYPH_DEBUG is defined.
(x_produce_glyphs): Don't xassert `it->descent > 0'; this isn't
true for images with `:ascent 100'.
(x_set_mouse_face_gc): If the last used mouse face has gone in the
meantime, use face MOUSE_FACE_ID.
If first glyph isn't a character glyph, use the ASCII NUL
character to determine the face.
(expose_area): Do not treat left margin specially.
(note_mode_line_highlight): If no local_map, check global keymap.
(note_mouse_highlight): Initialize overlay.
(clear_mouse_face): Don't return if tip_frame is non-nil.
(show_scroll_bars): Remove unused function.
(w32_read_socket) [WM_KILLFOCUS]: Set help_echo to Qnil.
(x_draw_bar_cursor): Remove extra test for out of bounds cursor.
Clip to row.
(x_erase_phys_cursor): Don't apply XWINDOW to variable that may be nil.
(x_free_frame_resources): Unload relief colors.
2001-01-18 09:19:39 +00:00
Gerd Moellmann
3aec872292 (forward_to_next_line_start): Avoid calling
get_next_display_element when the newline is already found.  This
may change the iterator's position, when its current position is
equal to the iterator's stop_charpos.
2001-01-17 20:11:33 +00:00
Gerd Moellmann
f3ffc2c358 (direct_output_for_insert): If char_ins_del_ok is
zero, use this method only at the end of a line.
2001-01-17 16:54:20 +00:00
Sam Steingold
d51ffa0ebe removed x-list-font.c per change 2001-01-17 Gerd Moellmann <gerd@gnu.org> 2001-01-17 16:18:45 +00:00
Gerd Moellmann
a86110a8e3 (x_face_list_fonts): Don't BLOCK_INPUT around the
call to x_list_fonts.  Call x_list_fonts with SIZE -1 only
if SCALABLE_FONTS_P is set.
2001-01-17 15:56:25 +00:00
Gerd Moellmann
d26d6fd916 (x_face_list_fonts): Call x_list_fonts with SIZE -1,
so that scalable fonts are included.

(x_face_list_fonts): Use x_list_fonts instead of
XListFonts to take advantage of font caching.
2001-01-17 15:51:32 +00:00
Gerd Moellmann
9c11f79e2d (x_list_fonts): Allow scalable fonts if SIZE is < 0,
In the cache, use a key containing the information if scalable
fonts are included.
(x_load_font): Adapt to change of keys in the font cache.

(x_list_fonts): Ensure caching font information when
called for a null frame, which is the case frequently when Emacs
starts.
2001-01-17 15:46:49 +00:00
Gerd Moellmann
f864120fde *** empty log message *** 2001-01-17 14:11:43 +00:00
Gerd Moellmann
ecd01a0e00 * xdisp.c (build_desired_tool_bar_string): Use :conversion instead
of :algorithm.
2001-01-17 13:14:45 +00:00
Gerd Moellmann
d2dc816719 (QCconversion): Replaces QCalgorithm. 2001-01-17 13:14:01 +00:00
Gerd Moellmann
a93f45669c (QCconversion): Replaces QCalgorithm. Update copyright. 2001-01-17 13:13:34 +00:00
Gerd Moellmann
e37d1417a6 *** empty log message *** 2001-01-17 13:00:16 +00:00
Gerd Moellmann
6e33e6f097 (redisplay_tool_bar): Change tool bar's height when
not everything could be displayed.
2001-01-17 12:59:47 +00:00
Gerd Moellmann
51446987ae *** empty log message *** 2001-01-17 12:07:03 +00:00
Andrew Innes
9ad4f3e556 (directory_files_internal): Convert result from readdir
to a unibyte string initially, to avoid possible misinterpretation
of some bytes as the internal form of Emacs characters.
2001-01-17 11:11:53 +00:00
Kenichi Handa
3bd00f3b93 (concat): Be sure to avoid putting the same `composition'
property on the adjacent regions.
2001-01-17 05:55:31 +00:00
Kenichi Handa
2eda09b59d *** empty log message *** 2001-01-17 05:55:12 +00:00
Gerd Moellmann
f251459d42 *** empty log message *** 2001-01-16 15:00:06 +00:00
Gerd Moellmann
c67fa41033 (Fset_window_hscroll): Don't set window's min_hscroll
here.
(Fscroll_right, Fscroll_left): Set it here instead, if called
interactively.
2001-01-16 14:59:37 +00:00
Gerd Moellmann
d57b83b374 (Fset_buffer_modified_p): Set buffer's
prevent_redisplay_optimizations_p flag.
2001-01-16 14:21:59 +00:00
Gerd Moellmann
826f3788b6 *** empty log message *** 2001-01-16 12:56:19 +00:00
Gerd Moellmann
3007ebfbc7 Call redisplay_preserve_echo_area with additional arg. 2001-01-16 12:42:22 +00:00
Gerd Moellmann
69d1478a79 (redisplay_preserve_echo_area): Change prototype. 2001-01-16 12:38:28 +00:00
Gerd Moellmann
9bf7693622 (redisplay_preserve_echo_area): Add parameter
FROM_WHERE, for debugging.
2001-01-16 12:37:31 +00:00
Kenichi Handa
bda6b48102 *** empty log message *** 2001-01-16 11:41:20 +00:00
Kenichi Handa
450ed22689 (CCL_Extension): Fix typo (originally CCL_Extention). Caller changed. 2001-01-16 11:11:38 +00:00
Kenichi Handa
4d247a1f57 (Fregister_ccl_program): Handle the return value of
resolve_symbol_ccl_program correctly.
2001-01-16 08:28:01 +00:00
Kenichi Handa
261d788ba9 *** empty log message *** 2001-01-16 08:27:47 +00:00
Gerd Moellmann
e4ded23c97 (x_set_mouse_face_gc): If the last use mouse face
has gone in the meantime, use face MOUSE_FACE_ID.
2001-01-15 20:17:27 +00:00
Gerd Moellmann
ae24cb3bef (x_connection_closed) [USE_X_TOOLKIT]: If
x_display_info_for_display returns null, don't try to close
the display; we didn't open it.
2001-01-15 15:29:54 +00:00
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