Commit graph

11870 commits

Author SHA1 Message Date
Gerd Moellmann
9339e87f34 (direct_output_for_insert): Remove confusing
outer local variable mouse_face_overwritten_p.
(glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG.
2000-07-19 15:47:52 +00:00
Gerd Moellmann
5433ffa54f (Fnext_single_char_property_change): Add prototype. 2000-07-19 15:47:31 +00:00
Gerd Moellmann
952291d9f6 Add some more prototypes. 2000-07-19 15:47:10 +00:00
Gerd Moellmann
2e62122589 (with_echo_area_buffer): Call FN with more arguments.
Add some more prototypes.
2000-07-19 15:46:20 +00:00
Gerd Moellmann
4279296d21 *** empty log message *** 2000-07-19 11:06:09 +00:00
Gerd Moellmann
00c9c33c29 (allocate_string_data): Don't copy old string contents. 2000-07-19 11:05:32 +00:00
Kenichi Handa
e077cc80af (code_convert_region): Delete text properties before shrinking the
conversion region.
2000-07-19 03:44:55 +00:00
Kenichi Handa
670acd6287 *** empty log message *** 2000-07-19 03:44:17 +00:00
Gerd Moellmann
dc1cac5985 *** empty log message *** 2000-07-18 19:43:58 +00:00
Gerd Moellmann
62ba722af5 (update_text_area): Write the whole row if it
has mouse-face in it.
2000-07-18 19:43:04 +00:00
Gerd Moellmann
85a8aca9a7 *** empty log message *** 2000-07-18 19:04:00 +00:00
Gerd Moellmann
434b9cc52c (face-alternative-font-family-alist): Remove
DEFVAR_LISP; staticpro instead.
2000-07-18 19:03:13 +00:00
Gerd Moellmann
7cea38bcc8 (help_echo_window): New variable.
(note_mouse_highlight, note_tool_bar_highlight): Set
help_echo_window.
(XTread_socket): Pass help_echo_window to gen_help_event.
(syms_of_xterm): Initialize and staticpro help_echo_window.
2000-07-18 18:23:29 +00:00
Gerd Moellmann
8d7268b43e (show_help_echo, gen_help_event): Change prototypes. 2000-07-18 18:20:16 +00:00
Gerd Moellmann
2190735a33 (show_help_echo): Add parameter WINDOW.
(read_char): Call show_help_echo with window extracted from Lisp
help event.
(gen_help_event): Add parameter WINDOW.
2000-07-18 18:20:04 +00:00
Gerd Moellmann
ba461919d0 (menu_help_callback): Call show_help_echo with
new arguments.
2000-07-18 18:19:37 +00:00
Dave Love
f8276b77a7 *** empty log message *** 2000-07-18 16:21:46 +00:00
Dave Love
bbcf05c167 Fix dependencies of blockinput.h on atimer.h, systime.h. 2000-07-18 16:21:06 +00:00
Gerd Moellmann
3d6cd763f7 *** empty log message *** 2000-07-18 14:42:30 +00:00
Gerd Moellmann
5c5fecb38d (allocate_string_data): If string had already data
assigned, copy old contents to new string data.
2000-07-18 14:38:20 +00:00
Gerd Moellmann
22ab2303d9 (syms_of_coding): Fix typo in spelling of variable
`inhibit-iso-escape-detection'.
2000-07-18 14:37:54 +00:00
Gerd Moellmann
088831a6ff *** empty log message *** 2000-07-18 13:05:44 +00:00
Gerd Moellmann
99d5dc1271 (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. 2000-07-18 13:02:40 +00:00
Gerd Moellmann
00edcd1d23 Add dependencies on dispextern.h.
(alloca.o): Don't define malloc and define EMACS_FREE instead of
`free'; both can conflict with system header files.
2000-07-18 13:02:29 +00:00
Kenichi Handa
f164d9b522 (MAKE_CHAR): Return reasonable code even if CHARSET is undefined. 2000-07-18 12:48:53 +00:00
Kenichi Handa
bc8a8d5588 *** empty log message *** 2000-07-18 12:48:24 +00:00
Dave Love
069f59503d (Fwindow_list): Declare arg `window'. 2000-07-18 11:07:57 +00:00
Kenichi Handa
9614806534 (setup_coding_system): Don't override the explicitly specified
designations.
2000-07-18 04:32:08 +00:00
Kenichi Handa
aa96c82019 *** empty log message *** 2000-07-18 04:31:25 +00:00
Miles Bader
06be8d3263 dummy 2000-07-15 15:33:46 +00:00
Miles Bader
f4d708d0ed (char_property_eq, char_property_stickiness):
Renamed from `text_property_eq' and `text_property_stickiness', respectively.
(find_field, Fconstrain_to_field, char_property_eq, char_property_stickiness):
  Changed to call char-property functions instead of text-property-only ones.
2000-07-15 15:18:35 +00:00
Miles Bader
016b564284 (display_prop_end, invisible_text_between_p):
Call Fnext_single_char_property_change instead of
  next_single_char_property_change.
2000-07-15 15:17:11 +00:00
Miles Bader
b7e047fb96 (Fnext_single_char_property_change):
Made a subr (was `next_single_char_property_change').
  Do more error checking, and cleanup limit behavior.
(Fprevious_single_char_property_change): New function.
(syms_of_textprop): Initialize new subrs.
2000-07-15 14:59:26 +00:00
Jason Rumney
3fddcdc33c *** empty log message *** 2000-07-15 12:23:35 +00:00
Jason Rumney
ec48c3a795 (help_echo_object, help_echo_pos): New variables.
(note_mode_line_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.  Check both
`local-map' and `keymap' properties for changing the cursor
(note_mouse_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.
(note_tool_bar_highlight): Set help_echo_object to nil and
help_echo_pos to -1.
(w32_read_socket): Use gen_help_event instead of filling
input_events manually.
(syms_of_w32term): Staticpro help_echo_object.
(x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If
set, arrange for a mouse-highlight redisplay in
XTframe_up_to_date.
(x_clear_mouse_face): New function.
(w32_redisplay_interface): Add pointer to x_clear_mouse_face.
(x_update_window_begin): No need to turn off the mouse
highlight here.
(show_mouse_face): Set the mouse_face_p flag of glyph rows
depending on whether they contain glyphs highlighted in
mouse-face.
(x_fill_stretch_glyph_string): Consume runs of stretch
glyphs instead of a single one.
(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
with new argument list.
(x_set_glyph_string_gc): Make sure the face's GC is valid.
(x_append_glyph, x_append_composite_glyph)
(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
changes in struct glyph starting 1999-12-27. See comments for
xterm.c on 2000-07-05.
2000-07-15 12:00:51 +00:00
Jason Rumney
212da13bef (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a null title.
(FONT_REGEXP): Remove unused macro, and its sub-components.
(syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts.
2000-07-15 11:56:03 +00:00
Jason Rumney
86fb1a7902 (w32_menu_show): Call free_menubar_widget_value_tree after menu is
finished with.
(add_menu_item): Only consider wv->title as a menu title.
(w32_menu_display_help): Add OBJECT and POS to show_help_echo.
2000-07-15 11:52:21 +00:00
Sam Steingold
178c5d9c65 check default_face before dereferencing 2000-07-14 20:29:04 +00:00
Gerd Moellmann
e5acf0cab8 *** empty log message *** 2000-07-14 18:03:02 +00:00
Gerd Moellmann
c87a7e0f2c (malloc) [emacs]: Define as xmalloc. 2000-07-14 18:00:36 +00:00
Dave Love
6fe533f653 *** empty log message *** 2000-07-14 17:55:09 +00:00
Dave Love
89a1d3feb1 (back_comment): Add null default in switch for pcc. 2000-07-14 17:49:13 +00:00
Gerd Moellmann
bd23a69269 *** empty log message *** 2000-07-14 15:19:14 +00:00
Gerd Moellmann
88a19a908e (Fx_show_tip): Adjust number of parameters
in prototype.
2000-07-14 15:18:45 +00:00
Gerd Moellmann
0634ce9859 (Fx_show_tip): If frame parameters contain a position,
use that instead of the mouse position.  Add parameters DX and DY.
2000-07-14 15:18:29 +00:00
Gerd Moellmann
9662da0b92 *** empty log message *** 2000-07-14 14:01:16 +00:00
Gerd Moellmann
276680c4a7 (FUNCTIONP): New macro.
(internal_condition_case_2, call_function): Add prototypes.
2000-07-14 13:57:22 +00:00
Gerd Moellmann
10b29d414e (internal_condition_case_2): New function. 2000-07-14 13:57:10 +00:00
Gerd Moellmann
0d8b31c0ff (eval_form): GCPRO argument sexpr.
(call_function): New function.
(handle_single_display_prop): Use call_function and FUNCTIONP
instead of checking whether if font_height is a symbol and
using eval_form.
2000-07-14 13:56:56 +00:00
Gerd Moellmann
66ed7d9a15 (menu_highlight_callback): Use
kbd_buffer_store_help_event instead of setting up and input_event
structure manually.
2000-07-14 13:56:26 +00:00