1. 07 Mar, 2005 1 commit
  2. 17 Feb, 2005 1 commit
  3. 03 Feb, 2005 1 commit
  4. 27 Jan, 2005 2 commits
  5. 25 Jan, 2005 1 commit
  6. 20 Jan, 2005 1 commit
  7. 31 Dec, 2004 1 commit
  8. 30 Dec, 2004 1 commit
    • Kenichi Handa's avatar
      (x_new_font): Set FRAME_COLUMN_WIDTH to · 6875d1ae
      Kenichi Handa authored
      fontp->average_width, not FONT_WIDTH.  Set FRAME_SPACE_WIDTH to
      (x_load_font): Calculate fontp->space_width and
      (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH.
  9. 15 Dec, 2004 1 commit
  10. 11 Dec, 2004 1 commit
  11. 28 Nov, 2004 1 commit
    • Karoly Lorentey's avatar
      Remove remaining references to updating_frame. · 856dd475
      Karoly Lorentey authored
      * src/dispextern.h (updated_window): Remove comment reference to
      * src/dispnew.c (update_window): Remove bogus xassert.
      * src/xterm.c: (x_clear_frame): Update comment.
        (x_draw_window_cursor): Remove reference to updating_frame.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-270
  12. 21 Nov, 2004 1 commit
  13. 05 Nov, 2004 1 commit
    • Kim F. Storm's avatar
      * xterm.c (handle_one_xevent): Don't queue X selection events · 958f04e8
      Kim F. Storm authored
      here, it may be too late if we start queuing after we have already
      stored some selection events into the kbd buffer.
      (struct selection_event_queue, queue, x_queue_selection_requests)
      (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests)
      (x_stop_queuing_selection_requests): Remove/move to xselect.c.
      (x_catch_errors_unwind): Block input around final XSync.
  14. 02 Nov, 2004 1 commit
  15. 21 Oct, 2004 1 commit
    • Jan Djärv's avatar
      * xterm.h (x_output): New member `xic_base_fontname'. · c27ed90a
      Jan Djärv authored
      (FRAME_XIC_BASE_FONTNAME): New macro.
      (xic_free_xfontset): Declare.
      * xfns.c (xic_create_xfontset): Share fontsets between frames
      based on base_fontname.
      (xic_free_xfontset): New function.
      (free_frame_xic): Use it.
      (xic_set_xfontset): Ditto.
      * xterm.c (xim_destroy_callback): Ditto.
  16. 19 Oct, 2004 1 commit
  17. 12 Oct, 2004 1 commit
  18. 07 Oct, 2004 1 commit
  19. 05 Oct, 2004 1 commit
  20. 04 Oct, 2004 1 commit
    • Kim F. Storm's avatar
      (XTset_vertical_scroll_bar): Improve handling of scroll · 13fcb889
      Kim F. Storm authored
      bars with fractional column width.  If scroll bar separates two
      windows, move it towards the window it belongs to.  Only update
      the padding area below the scroll bar widget when necessary,
      i.e. when scroll bar widget is created, moved, or resized.
  21. 18 Sep, 2004 1 commit
  22. 10 Sep, 2004 1 commit
  23. 24 Aug, 2004 1 commit
  24. 20 Aug, 2004 1 commit
  25. 04 Jul, 2004 1 commit
    • Karoly Lorentey's avatar
      Implemented display ids for multiple emacsclients on the same tty. Plus assorted bugfixes. · b6660415
      Karoly Lorentey authored
      * lisp/frame.el (make-frame-on-display): Update doc.
      (make-frame): Handle display-id parameter.  Update doc.
      (frames-on-display-list): Update for display ids.
      (framep-on-display): Ditto.
      (suspend-frame): Use display-name, not frame-tty-name.
      (selected-display): New function.
      * lisp/server.el (server-delete-client): Use delete-display, not delete-tty.
      (server-tty-live-p, server-handle-delete-tty): Removed.
      (server-handle-delete-frame): Delete tty clients, if needed.
      (server-process-filter): Set the display parameter, and use it when appropriate.
      (server-handle-suspend-tty): Use the display parameter.
      (server-start, server-unload-hook): Removed obsolete delete-tty hook.
      * lisp/talk.el (talk): Always use talk-add-display.
      (talk-add-tty-frame, talk-handle-delete-tty): Removed.
      (talk-handle-delete-frame): New function.
      (talk-add-display): Open a new frame only if parameter was not a frame.
      * src/dispextern.h (get_display, Fdisplay_tty_type):  New prototypes.
      (Fframe_tty_type): Removed.
      * src/dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type.
      * src/frame.c (Qdisplay_id, Qdisplay_live_p): New symbols.
      (make_terminal_frame): Get display as a parameter.
      (Fmake_terminal_frame): Get/create display here; pass it to
      (Fframe_display): New function.
      (Fdelete_frame): Stop if the hook deleted the frame.
      (syms_of_frame): Register new stuff.
      * src/frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame):
      Updated prototypes.
      * src/keyboard.c (interrupt_signal): Updated comment.
      * src/term.c (Vdelete_tty_after_functions): Removed variable.
      (Qframe_tty_name, Qframe_tty_type): Removed.
      (next_display_id): New var.
      (tty_ring_bell): Don't do anything on suspended frames.
      (Ftty_display_color_p, Ftty_display_color_cells): Doc update.
      (get_display): New function.
      (get_tty_display): Use it.
      (get_named_tty_display): Ignore suspended displays.
      (Fframe_tty_name): Renamed to Fdisplay_name.  Handle all kinds of
      (Fframe_tty_type): Renamed to Fdisplay_tty_type.
      (init_initial_display): Set display name.
      (term_init): Allow more displays on the same device.  Set display name.
      (Fdelete_tty): Removed.
      (delete_tty): Don't run hooks.
      (create_display): Set display id.
      (delete_display): Free display name.
      (Fdelete_display, Fdisplay_live_p, Fdisplay_list): New functions.
      (Fsuspend_tty): Call hook with display id.  Doc update.
      (Fresume_tty): Refuse to resume when there is already an active display
      on the same device.  Call hook with display id.  Doc update.
      (syms_of_term): Reflect above changes.
      * src/termhooks.h (struct display): Added `id' and `name' members.
      (DISPLAY_ACTIVE_P): New macro.
      * src/xfns.c (check_x_display_info): Handle display ids.
      (Fx_create_frame): Try to get display from `display-id' parameter.
      * src/xterm.c (x_term_init): Set display name.
      (x_delete_display): Handle the case when `font_table' is NULL.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-207
  26. 30 Jun, 2004 1 commit
  27. 17 Jun, 2004 1 commit
  28. 16 Jun, 2004 1 commit
  29. 29 May, 2004 1 commit
  30. 24 Apr, 2004 1 commit
  31. 20 Apr, 2004 1 commit
  32. 16 Apr, 2004 1 commit
    • Karoly Lorentey's avatar
      Eliminated updating_frame. · 385ed61f
      Karoly Lorentey authored
      src/termhooks.h (cursor_to_hook, raw_cursor_to_hook)
      (clear_to_end_hook, clear_end_of_line_hook, clear_frame_hook)
      (ins_del_lines_hook, insert_glyphs_hook, write_glyphs_hook)
      (delete_glyphs_hook, ring_bell_hook, set_terminal_window_hook):
      Added frame parameter.
      src/term.c (ring_bell, tty_ring_bell, set_terminal_window)
      (tty_set_terminal_window, set_scroll_region, cursor_to)
      (tty_cursor_to, raw_cursor_to, tty_raw_cursor_to, clear_to_end)
      (tty_clear_to_end, clear_frame, tty_clear_frame, clear_end_of_line)
      (tty_clear_end_of_line, write_glyphs, tty_write_glyphs, insert_glyphs)
      (tty_insert_glyphs, delete_glyphs, tty_delete_glyphs, ins_del_lines)
      (tty_ins_del_lines): Added frame parameter.
      src/xterm.c (x_delete_glyphs, x_clear_frame, x_ins_del_lines):
      Added frame parameter.
      src/scroll.c (do_direct_scrolling, do_scrolling): Added frame parameter.
      src/term.c (update_begin, update_end): Don't set updating_frame.
      src/xfns.c (x_set_tool_bar_lines): Ditto.
      src/term.c (updating_frame): Removed.
      src/dispextern.h: Updated prototypes.
      src/dispnew.c (Fredraw_frame, direct_output_for_insert)
      (direct_output_forward_char, update_frame_1, update_frame_line)
      (ding, bitch_at_user): Added frame parameter to calls to redisplay.
      src/xdisp.c (try_window_id): Ditto.
      src/scroll.c (do_scrolling, do_direct_scrolling, scrolling_1): Ditto.
      src/fileio.c (auto_save_error): Ditto.
      src/term.c (tty_ring_bell): Flush the output stream after beeping.
      src/dispnew.c (ding, bitch_at_user): Don't fflush CURTTY.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-140
  33. 05 Apr, 2004 1 commit
  34. 29 Mar, 2004 2 commits
  35. 20 Mar, 2004 1 commit
  36. 19 Mar, 2004 1 commit
    • Karoly Lorentey's avatar
      Trivial cleanups to get rid of GCC warnings. · 7cb805ad
      Karoly Lorentey authored
      src/fontset.c (Fset_fontset_font): Removed unused variables.
      src/fringe.c (Ffringe_bitmaps_at_pos): Ditto.
      src/xdisp.c (Flookup_image_map, note_mode_line_or_margin_highlight): Ditto.
      src/xterm.c (x_detect_focus_change, x_calc_absolute_position): Ditto.
      src/intervals.h (compare_string_intervals): New declaration.
      src/intervals.h (NULL_INTERVAL_P): Shut up GCC warnings by casting the
      left side of the comma expression to void.
      src/lisp.h (CHECK): Ditto.
      src/keyboard.c (modify_event_symbol): Shut up GCC warning about format
      template type mismatch.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-120
  37. 28 Feb, 2004 1 commit
    • Jan Djärv's avatar
      xfns.c (x_window): Fixed indentation · b59dd9c8
      Jan Djärv authored
      * xterm.c (x_calc_absolute_position): Call x_real_positions
        to get WM window sizes and use those to calculate position.
        (x_set_offset): Removed code commented out.
  38. 27 Feb, 2004 1 commit
    • Kim F. Storm's avatar
      (x_focus_changed, x_detect_focus_change): Remove · 89079179
      Kim F. Storm authored
      numchars arg.  Always store event into bufp arg.  Return nothing.
      Callers changed accordingly.
      (glyph_rect): Simplify.
      (STORE_KEYSYM_FOR_DEBUG): New macro.
      (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
      (current_bufp, current_numcharsp) [USE_GTK]: Remove.
      (current_hold_quit) [USE_GTK]: Add.
      (event_handler_gdk): Adapt to new handle_one_xevent.
      (handle_one_xevent): Remove bufp_r and numcharsp args.
      Add hold_quit arg. Rework to use just one, local, inev
      input_event. Store inev directly in fifo using
      kbd_buffer_store_event_hold.  Update count in one place.
      Postpone call to gen_help_event until inev is stored; use new
      local do_help for this.
      Simplify handling of keysyms (consolidate common code).  Fix bug
      where count was updated with nchars instead of nbytes.
      Remove local emacs_event in handing of ButtonPress event; just use
      inev instead (so no reason to copy it later).
      Remove `out' label.  Rename label `ret' to `done'; add various
      `goto done' to clarify code flow in deeply nested blocks.
      (x_dispatch_event): Simplify as handle_one_xevent now calls
      kbd_buffer_store_event itself.
      (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit
      arg.  Call handle_one_xevent with new arglist.  Store event from
      x_session_check_input in fifo.
      [USE_GTK]: Setup current_hold_quit.
      Decrement handling_signal before unblocking input.
      (x_initialize) [USE_GTK]: Initialize current_count.