1. 18 Jun, 2000 1 commit
  2. 13 Jun, 2000 1 commit
  3. 12 Jun, 2000 1 commit
  4. 09 Jun, 2000 1 commit
  5. 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.
  6. 06 Jun, 2000 1 commit
  7. 05 Jun, 2000 1 commit
  8. 02 Jun, 2000 1 commit
  9. 03 May, 2000 1 commit
  10. 02 May, 2000 1 commit
  11. 24 Apr, 2000 1 commit
  12. 18 Apr, 2000 1 commit
  13. 31 Mar, 2000 1 commit
  14. 30 Mar, 2000 1 commit
    • Ken Raeburn's avatar
      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.
      * 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.
  15. 27 Mar, 2000 1 commit
  16. 26 Mar, 2000 1 commit
  17. 24 Mar, 2000 1 commit
  18. 23 Mar, 2000 1 commit
  19. 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
      (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.
      (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.
  20. 17 Mar, 2000 1 commit
  21. 14 Mar, 2000 2 commits
  22. 07 Mar, 2000 1 commit
  23. 05 Mar, 2000 1 commit
  24. 04 Mar, 2000 1 commit
  25. 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.
  26. 02 Mar, 2000 2 commits
  27. 25 Feb, 2000 1 commit
  28. 24 Feb, 2000 1 commit
  29. 05 Feb, 2000 1 commit
  30. 31 Jan, 2000 1 commit
  31. 30 Jan, 2000 1 commit
  32. 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
      (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.
  33. 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.
  34. 30 Dec, 1999 1 commit
  35. 27 Dec, 1999 1 commit
  36. 22 Dec, 1999 1 commit
    • Gerd Moellmann's avatar
      (XTread_socket): At the beginning of the loop, pass the · f2be1146
      Gerd Moellmann authored
      frame's X window to XFilterEvent instead of None because that's
      the X window for which the IC was created.  This makes dead
      accents work when the pointer is not in Emacs' frame.
      (XTread_socket) <KeyPress>: Don't call XFilterEvent here.
  37. 15 Dec, 1999 2 commits
    • Dave Love's avatar
    • Kenichi Handa's avatar
      (x_append_glyph): Setup members of struct glyph properly · b4192550
      Kenichi Handa authored
      for composition.
      (x_append_composite_glyph): New function.
      (x_produce_glyphs): If it->what == IT_COMPOSITION, setup members
      of struct it for the composition.  Cache pixel offsets in the
      struct composition.  Delete codes for a composite character.
      Handle Vignore_relative_composition in composition code.
      (struct glyph_string): Delete member cmpcharp, add new member cmp.
      (x_set_cursor_gc): Check s->cmp, not s->cmpcharp.
      (x_compute_glyph_string_overhangs): Likewise.
      (x_get_glyph_overhangs): Delete codes for a composite character.
      (x_right_overwritten): Check s->cmp, not s->cmpcharp.
      (x_draw_glyph_string_background): Likewise.  Delete codes for
      checking s->gidx for a composition.
      (x_draw_glyph_string_foreground): Delete code for a composite
      (x_draw_composite_glyph_string_foreground): New function.
      (x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp.
      (x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH.
      (struct work): Deleted.
      (x_fill_composite_glyph_string): Argument changed.  Mostly
      rewritten for that.
      (x_fill_glyph_string): Don't check CHARSET_COMPOSITION.
      (BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here.
      (BUILD_GLYPH_STRINGS): For composition, call
      (x_new_font): Initialize f->output_data.x->baseline_offset, not