1. 02 Jul, 2010 1 commit
    • Jan D's avatar
      Remove P_ and __P macros. · 383e0970
      Jan D authored
      * lwlib/lwlib-Xaw.h: Remove P_ and __P macros.
      * lwlib/lwlib-Xlw.h:
      * lwlib/lwlib-Xm.h:
      * lwlib/lwlib-int.h:
      * lwlib/lwlib-utils.h:
      * lwlib/lwlib.h: Likewise.
      
      * src/buffer.h: Remove P_ and __P macros.
      * src/category.h:
      * src/ccl.h:
      * src/character.h:
      * src/charset.h:
      * src/cm.h:
      * src/coding.h:
      * src/composite.h:
      * src/dispextern.h:
      * src/disptab.h:
      * src/font.h:
      * src/fontset.h:
      * src/frame.h:
      * src/gtkutil.h:
      * src/indent.h:
      * src/intervals.h:
      * src/keyboard.h:
      * src/keymap.h:
      * src/lisp.h:
      * src/macros.h:
      * src/md5.h:
      * src/menu.h:
      * src/msdos.h:
      * src/nsterm.h:
      * src/puresize.h:
      * src/region-cache.h:
      * src/syntax.h:
      * src/syssignal.h:
      * src/systime.h:
      * src/termhooks.h:
      * src/w32term.h:
      * src/widget.h:
      * src/window.h:
      * src/xgselect.h:
      * src/xsettings.h:
      * src/xterm.h: Likewise.
      383e0970
  2. 13 Jan, 2010 1 commit
  3. 08 Jan, 2009 1 commit
  4. 15 May, 2008 1 commit
  5. 08 Jan, 2008 1 commit
  6. 25 Jul, 2007 1 commit
  7. 14 Jan, 2007 1 commit
  8. 06 Feb, 2006 1 commit
  9. 07 Aug, 2005 1 commit
  10. 04 Jul, 2005 1 commit
  11. 16 Apr, 2004 1 commit
  12. 01 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Separate frame-local, tty-dependent parameters from tty-local parameters. · 28d7d09f
      Karoly Lorentey authored
      src/termchar.h (struct tty_output): Redefined to contain frame-local
      tty-dependent parameters.  (Currently there are no such parameters, so
      it consists of the tty_display_info pointer.)
      (struct tty_display_info): New structure, with reference_count.
      (FRAME_TTY): Updated to reflect new termcap frame structure.
      
      src/term.c: Update prototypes. Use tty_display_info instead of tty_output.
      
      src/cm.c (current_tty, cmcheckmagic, cmcostinit, calccost, cmgoto, Wcm_clear)
      (Wcm_init): Use tty_display_info instead of tty_output.
      
      src/cm.h: Update prototypes.
      src/dispextern.h: Ditto.
      
      src/dispnew.c (window_change_signal, init_display, make_terminal_frame):
      Use tty_display_info instead of tty_output.
      
      src/frame.c (Fdelete_frame): Use tty_display_info instead of
      tty_output.  Fix delete_tty check.
      (make_terminal_frame): Allocate f->output_data.tty.  Increase
      reference count of tty device.
      (delete_frame): Free f->output_data.tty.  Use reference count to
      decide if the tty should be closed.
      
      src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): New,
      unconditional definitions.
      (struct device): New declaration (at the moment, it is defined as
      empty in termhooks.h).
      (struct frame): Added display, background_pixel, foreground_pixel member.
      
      src/keyboard.c (read_avail_input): Use tty_display_info instead of tty_output.
      
      src/lisp.h: Declare struct display.  Update prototypes.
      
      src/sysdep.c: Update prototypes.
      (discard_tty_input, init_all_sys_modes, init_sys_modes, reset_all_sys_modes)
      (reset_sys_modes, hft_init, hft_reset): Use tty_display_info instead
      of tty_output.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-29
      28d7d09f
  13. 28 Dec, 2003 1 commit
  14. 27 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Full support for multiple terminal I/O (with some rough edges). · 6548cf00
      Karoly Lorentey authored
      lib-src/emacsclient.c (emacs_pid): New variable.  
      (window_change): Forward the SIGWINCH signal to the Emacs process
      after copying the size parameters to the proxy terminal.
      (copy_from_to): New parameter (sigio), kill Emacs with SIGIO if it is
      nonzero.
      (main): Set emacs_pid.
      
      lisp/server.el (server-process-filter): Send the pid of Emacs to emacsclient.
      
      src/cm.c: Added tty parameters to all functions and all Wcm macro calls.
      
      src/cm.h: Added tty parameters to all macros.   Updated function prototypes.
      (Wcm): Moved to struct tty_output.
      
      src/dispextern.h: Updated function prototypes.
      
      src/dispnew.c: Added tty parameters to all Wcm macro calls.
      (do_switch_frame): Make old frame obscured, not invisible, to solve
      problems with other-frame.
      (Wcm): Moved to struct tty_output.
      
      src/keyboard.c (read_avail_input): Select the frame corresponding to
      the tty that was read.  Slight rearrangement of tty loop.
      
      src/lisp.h (tabs_safe_p): Removed duplicate prototype.
      
      src/sysdep.c (hft_init, hft_reset): Added tty_output parameter.
      (discard_tty_input): Discard input from all ttys on APOLLO, too.
      Whatever it is.
      (narrow_foreground_group, widen_foreground_group): Added tty parameter
      (not really useful, the functions only work on the controlling tty.)
      (tabs_safe_p): Added tty parameter.
      
      src/term.c Added tty parameters to all Wcm macro calls.
      Standardised updating_frame vs. selected frame and tty_output access.
      (term_init): Allocate Wcm.
      (syms_of_term): Provide the `multi-tty' feature.
      
      src/termchar.h (struct tty_output): Added Wcm.
      
      src/xdisp.c (try_window_id): Make sure we use the tty device
      corresponding to the current frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-8
      6548cf00
  15. 25 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Implemented multiple tty support. · 28d440ab
      Karoly Lorentey authored
      README.multi-tty: New file.
      
      src/termchar.h (struct terminal): Renamed to struct tty_output.  Added name, type,
      input, output, termscript, old_tty, term_initted, old_tty_valid,
      background_pixel, foreground_pixel, next fields.
      (TERMINAL_*): Renamed to TTY_* for brevity.
      (CURRENT_TERMINAL): Renamed to CURTTY for brevity.
      (tty_list): New variable.
      (TERMINAL_PTR): Removed.
      (FRAME_TTY): New function.
      (TTY_NAME, TTY_TYPE): New macros.
      
      src/term.c (current_terminal): Removed.  (_current_terminal): Removed.  (tty_list):
      New variable.  (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty
      parameter.  (set_terminal_modes): Added tty parameter.  (reset_terminal_modes):
      Added tty parameter.  (cursor_to, raw_cursor_to): Updated cmgoto() calls.
      (clear_end_of_line, write_glyphs): Add indirection to terminal output, updated
      cmcheckmagic() calls.  (get_named_tty): New function.  (term_dummy_init): New
      function.  (term_init): Added name parameter, added tty_output return value.
      Changed algorithm to update tty_list.  Call init_sys_modes() to set up tty
      mode on the newly opened terminal device.
      (get_current_tty): New function, intended for debugging.
      
      src/termhooks.h (termscript): Removed.
      
      src/w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Removed redundant
      definition.
      src/macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.
      
      
      src/window.c (init_window_once): Call make_terminal_frame with two zero parameters.
      
      src/cm.h (emacs_tputs): New macro to set current_tty, and then call tputs().
      (current_tty): New variable, for cmputc().
      (cmcheckmagic, cmputc, cmgoto): Added prototypes.
      
      src/cm.c (current_tty): New variable, for cmputc().
      (cmputc): Use it.
      (cmcheckmagic): Added tty parameter, look up terminal streams there.
      (calccost): Added tty parameter.  Use emacs_tputs() instead of tputs().
      (cmgoto): Added tty parameter.  Pass it on to calccost().  Use emacs_tputs()
      instead of tputs().
      
      
      src/dispextern.h (set_terminal_modes, reset_terminal_modes): Added tty parameter.
      (term_init): Added name parameter (the filename of the terminal device). Added
      return value (struct tty_output).
      
      src/dispnew.c: Replace CURTTY() with local variables throughout the file (where applicable).
      (termscript): Moved to struct tty_output.
      (terminal_type): Removed.
      
      src/emacs.c (main): Don't call init_sys_modes(), the new term_init() already does that
      during init_display().
      (shut_down_emacs): Call reset_all_sys_modes() instead of reset_sys_modes().
      
      src/frame.c (Qtty, Qtty_type): New variables.
      (syms_of_frame): Initialize them.
      (tty_display): Removed.
      (make_terminal_frame): New parameters (tty filename and type).
      Initialize output_data.tty field instead of output_data.x.  Use term_init() to
      find the right tty_output.  (Use term_dummy_init() during bootstrap.)
      (Fmake_terminal_frame): Get device filename and type from frame parameters.
      
      src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the right thing
      if the frame is a tty.
      (struct frame): New member in output_data: tty.
      (make_terminal_frame): Updated of prototype.
      
      src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
      reset_sys_modes().  Ditto with init_sys_modes().
      
      src/lisp.h (tty_output): Added forward declaration.
      (init_sys_modes, reset_sys_modes): Updated prototype.
      (init_all_sys_modes, reset_all_sys_modes): New prototypes.
      
      src/scroll.c: Replace CURTTY() with local variables throughout the file (where applicable).
      
      src/sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct tty_output.(
      (init_all_sys_modes): New function.
      (init_sys_modes): Added tty_output parameter.  Use it.
      (reset_all_sys_modes): New function.
      (reset_sys_modes): Added tty_output parameter.  Use it.
      
      src/Makefile.in: Update dependencies.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-2
      28d440ab
  16. 08 Sep, 2003 1 commit
  17. 01 Sep, 2003 1 commit
  18. 27 Sep, 1999 1 commit
  19. 14 Apr, 1998 1 commit
  20. 28 Jul, 1997 1 commit
  21. 15 Jul, 1997 1 commit
  22. 07 Jul, 1997 1 commit
  23. 27 Jun, 1997 1 commit
  24. 10 Sep, 1996 1 commit
  25. 16 Jul, 1996 2 commits
  26. 15 Jul, 1996 1 commit
  27. 15 Jan, 1996 1 commit
  28. 15 Jun, 1995 1 commit
  29. 17 Jan, 1995 1 commit
  30. 22 Sep, 1994 1 commit
  31. 14 Jul, 1992 1 commit
  32. 13 Jan, 1992 1 commit