1. 05 Jul, 2000 1 commit
    • 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
  2. 26 Jun, 2000 1 commit
  3. 23 Jun, 2000 1 commit
  4. 19 Jun, 2000 2 commits
  5. 18 Jun, 2000 1 commit
  6. 13 Jun, 2000 1 commit
  7. 12 Jun, 2000 1 commit
  8. 09 Jun, 2000 1 commit
  9. 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
  10. 06 Jun, 2000 1 commit
  11. 05 Jun, 2000 1 commit
  12. 02 Jun, 2000 1 commit
  13. 03 May, 2000 1 commit
  14. 02 May, 2000 1 commit
  15. 24 Apr, 2000 1 commit
  16. 18 Apr, 2000 1 commit
  17. 31 Mar, 2000 1 commit
  18. 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
  19. 27 Mar, 2000 1 commit
  20. 26 Mar, 2000 1 commit
  21. 24 Mar, 2000 1 commit
  22. 23 Mar, 2000 1 commit
  23. 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
  24. 17 Mar, 2000 1 commit
  25. 14 Mar, 2000 2 commits
  26. 07 Mar, 2000 1 commit
  27. 05 Mar, 2000 1 commit
  28. 04 Mar, 2000 1 commit
  29. 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
  30. 02 Mar, 2000 2 commits
  31. 25 Feb, 2000 1 commit
  32. 24 Feb, 2000 1 commit
  33. 05 Feb, 2000 1 commit
  34. 31 Jan, 2000 1 commit
  35. 30 Jan, 2000 1 commit
  36. 29 Jan, 2000 1 commit
    • Gerd Moellmann's avatar
      (x_display_cursor): Set XIC pre-edit area only if window · f5d11644
      Gerd Moellmann authored
      is its frame's selected window.
      (xim_instantiate_callback): Likewise.
      
      (XTread_socket) [HAVE_X_I18N]: If event is for none of
      our frames, call XFilterEvent with 2nd parameter `None'.
      (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString
      returning XBufferOverflow.
      (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status
      area.
      (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area.
      (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset.
      (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback)
      (xim_initialize, xim_close)
      [HAVE_X_I18N && HAVE_X11R6]: New functions.
      (x_destroy_window) [HAVE_X_I18N]:  Call xic_destroy_frame.
      (x_term_init) [HAVE_X_I18N]: Call xim_initialize.
      (x_delete_display) [HAVE_X_I18N]: Call xim_close.
      f5d11644
  37. 25 Jan, 2000 1 commit
    • Gerd Moellmann's avatar
      (toplevel): Include atimer.h. · bffcfca9
      Gerd Moellmann authored
      (toolkit_scroll_bar_interaction): New variable.
      (Fxt_process_timeouts): Removed.
      (x_process_timeouts): New function.
      (xt_action_hook): Clear toolkit_scroll_bar_interaction.
      (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction.
      (x_make_frame_visible): Call poll_for_input_1 instead of
      input_poll_signal.  Don't call alarm.
      (x_initialize): Install timer calling x_process_timeouts.
      bffcfca9