1. 14 Jul, 2000 1 commit
    • Gerd Moellmann's avatar
      (help_echo_object, help_echo_pos): New variables. · be010514
      Gerd Moellmann authored
      (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.
      (XTread_socket): Use gen_help_event instead of filling
      input_events manually.
      (syms_of_xterm): Staticpro help_echo_object.
      be010514
  2. 13 Jul, 2000 2 commits
    • Gerd Moellmann's avatar
      (construct_mouse_click, x_scroll_bar_to_input_event) · 0f8aabe9
      Gerd Moellmann authored
      (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket):
      Always set `arg' member of input_events.
      (construct_menu_click): Unused function removed.
      0f8aabe9
    • Gerd Moellmann's avatar
      (x_handle_tool_bar_click): Store the frame in the · 0f1a9b23
      Gerd Moellmann authored
      frame_or_window slot of TOOL_BAR_EVENT input events instead of
      consing.  For prefix events, store the frame in the `arg' slot of
      the event, otherwise store the key there.
      (XTread_socket): Instead of consing, use the frame_or_window slot
      of HELP_EVENTs for the frame, and the `arg' slot for the help
      string.
      0f1a9b23
  3. 12 Jul, 2000 1 commit
    • Gerd Moellmann's avatar
      (x_update_window_end): Add parameter · 71b8321e
      Gerd Moellmann authored
      MOUSE_FACE_OVERWRITTEN_P.  If set, arrange for a mouse-highlight
      redisplay in XTframe_up_to_date.
      (x_clear_mouse_face): New function.
      (x_redisplay_interface): Add pointer to x_clear_mouse_face.
      71b8321e
  4. 11 Jul, 2000 1 commit
  5. 10 Jul, 2000 1 commit
  6. 05 Jul, 2000 3 commits
    • Gerd Moellmann's avatar
      (XTread_socket): Increment handling_signal at the start, · bde5503b
      Gerd Moellmann authored
      decrement it at the end.
      bde5503b
    • Stefan Monnier's avatar
      * xterm.c (note_mode_line_highlight, note_mouse_highlight) · b7e80413
      Stefan Monnier authored
      (note_tool_bar_highlight, XTread_socket):
      * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight)
      (dos_rawgetc):
      * w32term.c (note_mode_line_highlight, note_mouse_highlight)
      (note_tool_bar_highlight, w32_read_socket):
      Do not gratuitously ignore non-string `help-echo' properties.
      b7e80413
    • Gerd Moellmann's avatar
      (x_append_glyph, x_append_composite_glyph) · 88d75730
      Gerd Moellmann authored
      (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
      changes in struct glyph starting 1999-12-27.  Some bit-fields of
      struct glyph were not set, which made glyphs unequal when compared
      with GLYPH_EQUAL_P.  Redisplay outputs such glyphs, and flickering
      effects were the result.  This also depended on the contents of
      memory returned by xmalloc.  If flickering happens again, activate
      the code in clear_glyph_row that's in #if 0.  If the flickering is
      gone with that, chances are that it is caused by something
      similar.
      88d75730
  7. 26 Jun, 2000 1 commit
  8. 23 Jun, 2000 1 commit
  9. 19 Jun, 2000 2 commits
  10. 18 Jun, 2000 1 commit
  11. 13 Jun, 2000 1 commit
  12. 12 Jun, 2000 1 commit
  13. 09 Jun, 2000 1 commit
  14. 08 Jun, 2000 1 commit
    • Gerd Moellmann's avatar
      (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which · eb72635f
      Gerd Moellmann authored
      will be translated to a switch-frame event in when reading the
      event queue.  This is necessary because Emacs otherwise won't
      perform a switch-frame to a new frame until some other event, for
      example a keystroke event, forces it to do so.  This has various
      effects, one visible being that the cursor of a frame created with
      C-x 5 2 or switched to with a window manager key binding like
      A-TAB stays hollow because selected_window isn't on the newly
      focused frame until the switch-frame is performed.
      eb72635f
  15. 06 Jun, 2000 1 commit
  16. 05 Jun, 2000 1 commit
  17. 02 Jun, 2000 1 commit
  18. 03 May, 2000 1 commit
  19. 02 May, 2000 1 commit
  20. 24 Apr, 2000 1 commit
  21. 18 Apr, 2000 1 commit
  22. 31 Mar, 2000 1 commit
  23. 30 Mar, 2000 1 commit
    • Ken Raeburn's avatar
      * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER): · 8801a864
      Ken Raeburn authored
      Verify correct object type before returning pointer, using eassert.
      * frame.h (XFRAME): Likewise.
      
      * buffer.c (Frename_buffer, Fset_buffer_multibyte,
      swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
      etc, to values that may be nil or of the wrong type.
      * data.c (set_internal): Likewise.
      * dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
      * fileio.c (auto_save_1): Likewise.
      * insdel.c (check_markers): Likewise.
      * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
      * undo.c (record_insert): Likewise.
      * vmsproc.c (child_sig): Likewise.
      * window.c (unshow_buffer, window_loop): Likewise.
      * xterm.c (x_erase_phys_cursor): Likewise.
      8801a864
  24. 27 Mar, 2000 1 commit
  25. 26 Mar, 2000 1 commit
  26. 24 Mar, 2000 1 commit
  27. 23 Mar, 2000 1 commit
  28. 21 Mar, 2000 1 commit
    • Kenichi Handa's avatar
      Include fontset.h after dispextern.h. · ee569018
      Kenichi Handa authored
      (x_per_char_metric): Don't try FONT->default_char.  Even if
      pcm->width is zero, glyph bits may exist.
      (x_encode_char): Always initialize char2b->byte1.
      (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id.
      (x_get_glyph_face_and_encoding): New arg two_byte_p.  Caller
      changed.
      (x_append_glyph): Set glyph->glyph_not_available_p.
      (x_produce_glyphs): Set it->glyph_not_available_p.  Don't set
      it->charset.  Handle the case that per char metric is not
      available.  If it->multibyte_p is zero and it->c is a multibyte
      character, convert it to a unibyte character.
      (struct glyph_string): Delete member `charset'.
      (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id.  Handle
      the case that per char metric is not available correctly.
      (x_fill_glyph_string): Handle the case that the specific glyph is
      not available correctly.
      (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset.
      (BUILD_COMPOSITE_GLYPH_STRING): Likewise.
      (x_new_font): Call FS_LOAD_FONT, not fs_load_font.
      (x_new_fontset): Call fontset_ascii to get ASCII font name of the
      fontset.  Don't call FS_LOAD_FONT.
      ee569018
  29. 17 Mar, 2000 1 commit
  30. 14 Mar, 2000 2 commits
  31. 07 Mar, 2000 1 commit
  32. 05 Mar, 2000 1 commit
  33. 04 Mar, 2000 1 commit
  34. 03 Mar, 2000 1 commit
    • Gerd Moellmann's avatar
      (PER_CHAR_METRIC): Removed. · e2ef8ee6
      Gerd Moellmann authored
      (x_per_char_metric_1, x_default_char): New functions.
      (x_per_char_metric): If font's default char is invalid, return
      metrics of a suitably chosen usable default char.
      (x_draw_glyph_string_foreground): If font has an invalid default
      char, replace occurrences of that char with a suitably chosen
      usable default char.
      e2ef8ee6
  35. 02 Mar, 2000 1 commit