1. 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
  2. 31 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      A few more bugfixes and new features. · 819b8f00
      Karoly Lorentey authored
      (Sigh.)  I obviously need to remember to separate individual changes
      to multiple commits.
      
      src/emacsclient.c: Improved error handling.
      (decode_options): Changed frame option (again) from -f to -t.
      (print_help_and_exit): Ditto.
      (copy_from_to): Check EINTR after write, not EAGAIN.  Removed SIGIO hack.
      (pty_conversation): Handle errors transmitted through the socket.
      Handle pty errors by not reading from it anymore.
      (main): Restore correct errno after socket_status failed.  Send -tty
      on -t, not -pty.
      
      lisp/server.el (server-process-filter): Watch -tty, not -pty.
      Use make-frame-on-tty instead of make-terminal-frame.
      Don't set newframe to t if make-frame-on-tty failed.
      Don't delete frames here.  Print correct message when there are no
      files to edit, but a new frame was requested.
      (server-sentinel): Delete the frame after the process.
      (server-handle-delete-frame): New function for delete-frame-functions.
      (server-start): Add server-handle-delete-frame to delete-frame-functions.
      (server-buffer-done): Don't delete frames here.
      
      src/alloc.c (mark_ttys): Add prototype.
      (Fgarbage_collect): Call mark_ttys.
      
      src/emacs.c: (shut_down_emacs): Don't flush stdout before
      reset_sys_modes().
      
      src/process.c (add_keyboard_wait_descriptor_called_flag): Removed.
      (add_keyboard_wait_descriptor): Removed stdin hack.
      
      src/sysdep.c: Unconditionally include sysselect.h.
      (old_fcntl_flags): Changed to an array.
      (init_sigio, reset_sigio): Use it.
      (narrow_foreground_group, widen_foreground_group): Use setpgid, not
      setpgrp.
      (old_fcntl_owner): Changed to an array.
      (init_sys_modes, reset_sys_modes): Use it.  Fix fsync() and reset_sigio() calls.
      src/term.c (Qframe_tty_name, Qframe_tty_type): New variables.
      (syms_of_term): Initialize them.
      (Fframe_tty_name, Fframe_tty_type): New functions.
      (term_init): Call add_keyboard_wait_descriptor().
      (Fdelete_tty): New function.
      (delete_tty): Call delete_keyboard_wait_descriptor().
      (get_current_tty): Removed.
      (mark_ttys): New function.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-28
      819b8f00
  3. 30 Dec, 2003 14 commits
    • Karoly Lorentey's avatar
      Major bugfixes and slight enhancements. · 16c290d8
      Karoly Lorentey authored
      src/dispextern.h (get_tty_size, tabs_safe_p, init_baud_rate): Update
      prototypes.
      
      src/dispnew.c (window_change_signal): Update call to get_tty_size.
      src/frame.c (Fmake_terminal_frame): Ditto.
      src/keyboard.c (Fsuspend_emacs): Ditto.
      
      src/sysdep.c: Eliminate tty_outputs, wherever possible.  (The
      exceptions are init_sys_modes and reset_sys_modes, which need access
      to tty-local parameters).
      (init_baud_rate): Change tty_output parameter to a simple file descriptor.
      (narrow_foreground_group, widen_foreground_group): Ditto.
      (tabs_safe_p, get_tty_size): Ditto.
      (init_sys_modes): Update narrow_foreground_group invocation.
      (reset_sys_modes): Update widen_foreground_group invocation.
      (request_sigio)[!FASYNC && STRIDE]: Fix function signature.
      
      src/term.c (delete_tty): Only close output file handle if it is
      different from input.  Re-enable freeing of Wcm.
      (term_init): Update get_tty_size, tabs_safe_p and init_baud_rate
      invocations.
      
      lib-src/emacsclient.c (here): Renamed to frame.
      (longopts): Change --here to --frame.  The -h short option may be
      confused with --help.
      (decode_options, print_help_and_exit): Update to reflect above changes.
      (main): Ditto.
      
      lisp/server.el (server-start): Fix frame-live-p call syntax.
      (server-process-filter): Handle 'emacsclient -f' without file
      arguments.  Don't return any values to emacsclient when 'emacsclient
      -f -e'.
      (server-switch-buffer): Prevent infinite recursion when there are no
      files to edit.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-27
      16c290d8
    • Karoly Lorentey's avatar
      Undo patch-23. I need a coffee. · 9d9f1812
      Karoly Lorentey authored
      src/sysdep.c (sys_select): Restore previous #ifdef.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-26
      9d9f1812
    • Karoly Lorentey's avatar
      Delete server frames on server restart. · 22de1e79
      Karoly Lorentey authored
      lisp/server.el (server-start): Delete any remaining opened frames of
      the previous server.
      (server-sentinel, server-process-filter): Force deleting the frame.
      (server-buffer-done): Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-25
      22de1e79
    • Karoly Lorentey's avatar
      Merged in changes from CVS head · 7c3a2615
      Karoly Lorentey authored
      Patches applied:
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-5
         Add =cvs-sync-make-log script
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-6
         Update from CVS
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-7
         Use absolute tla-tools filenames in =cvs-sync-make-log
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-8
         Use proper arch-tag: syntax for lispintro/texinfo.tex
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-9
         Update from CVS
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-24
      7c3a2615
    • Karoly Lorentey's avatar
      Don't compile sys_select on systems that don't need it. · c1c63edb
      Karoly Lorentey authored
      src/sysdep.c (sys_select): This function is unnecessary on most
      systems, so #ifdef it out.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-23
      c1c63edb
    • Miles Bader's avatar
      Use arch-tag: syntax that tla can grok · 8a37230a
      Miles Bader authored
      8a37230a
    • Eli Zaretskii's avatar
      (rmail-convert-to-babyl-format): Fix off-by-one · 37ec692a
      Eli Zaretskii authored
      error in arguments to base64-decode-region.  Remove ^M characters
      after decoding base64.
      37ec692a
    • Simon Josefsson's avatar
      Change maintainer to FSF. Suggested by · 630dd250
      Simon Josefsson authored
      karl@freefriends.org (Karl Berry), since the Texinfo Elisp files
      have only been distributed with Emacs for some years.
      (texinfo-mode-hook): Customize.
      630dd250
    • Eli Zaretskii's avatar
      (rmail-convert-to-babyl-format): Make the code · fa8f290e
      Eli Zaretskii authored
      cleaner (suggested by Richard M. Stallman).
      fa8f290e
    • Eli Zaretskii's avatar
      *** empty log message *** · d9e0b412
      Eli Zaretskii authored
      d9e0b412
    • Eli Zaretskii's avatar
      (gud-tool-bar-map): Modify names of icon files · 74c942de
      Eli Zaretskii authored
      for gud-next, gud-nexti, gud-step and gud-stepi to prevent
      file-name clashes on 8+3 DOS filesystems.
      74c942de
    • Eli Zaretskii's avatar
      * toolbar/gud-next.pbm, toolbar/gud-next.xpm · 4a5ad08e
      Eli Zaretskii authored
      * toolbar/gud-nexti.pbm, toolbar/gud-nexti.xpm
      * toolbar/gud-step.pbm, toolbar/gud-step.xpm
      * toolbar/gud-stepi.pbm, toolbar/gud-stepi.xpm: Renamed to
      gud-n.*, gud-ni.*, gud-s.*, and gud-si.*, respectively, to avoid
      file-name clashes on 8+3 filesystems.
      4a5ad08e
    • Eli Zaretskii's avatar
      emacs-lisp/tcover-unsafep.el, emacs-lisp/tcover-ses.el: Renamed · ab5136ea
      Eli Zaretskii authored
      from testcover-unsafep.el and testcover-ses.el to avoid file-name
      clashes on 8+3 DOS filesystems.
      ab5136ea
    • Eli Zaretskii's avatar
      Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name · 462c6e81
      Eli Zaretskii authored
      clashes with install-sh on 8+3 filesystems.
      462c6e81
  4. 29 Dec, 2003 24 commits