1. 27 Feb, 2008 1 commit
  2. 26 Feb, 2008 1 commit
  3. 08 Jan, 2008 1 commit
  4. 13 Oct, 2007 2 commits
  5. 06 Oct, 2007 1 commit
  6. 08 Aug, 2007 1 commit
  7. 25 Jul, 2007 1 commit
  8. 05 Jun, 2007 1 commit
  9. 26 May, 2007 1 commit
    • Dan Nicolaescu's avatar
      * xfaces.c (syms_of_xfaces): Delete stray semicolon. · 3b8c0c70
      Dan Nicolaescu authored
      * xdisp.c (next_element_from_buffer):
      * window.c (delete_window):
      * term.c (term_mouse_highlight):
      * msdos.c (getdefdir):
      * macterm.c (mac_create_bitmap_from_bitmap_data)
      (init_font_name_table):
      * fns.c (Fsxhash):
      * data.c (Fmake_local_variable):
      * ccl.c (ccl_driver): Likewise.
      3b8c0c70
  10. 21 Jan, 2007 1 commit
  11. 10 Dec, 2006 1 commit
  12. 24 Nov, 2006 1 commit
  13. 08 Sep, 2006 1 commit
    • Chong Yidong's avatar
      * xdisp.c (mouse_autoselect_window): Removed. · 92b23323
      Chong Yidong authored
      	(Vmouse_autoselect_window): New variable.  DEFVAR_LISP it.
      
      	* dispextern.h (mouse_autoselect_window): Remove extern.
      	(Vmouse_autoselect_window): Add extern.
      
      	* macterm.c (XTread_socket): Test Vmouse_autoselect_window
      	instead of mouse_autoselect_window.
      
      	* msdos.c (dos_rawgetc): Likewise.
      
      	* w32term.c (w32_read_socket): Likewise.
      
      	* xterm.c (handle_one_xevent): Likewise.
      92b23323
  14. 18 Jul, 2006 1 commit
  15. 01 Apr, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix previous commit. · 5bcee7ef
      Karoly Lorentey authored
      * src/frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
      * src/gtkutil.c (xg_create_frame_widgets): Ditto.
      * src/macfns.c (x_set_mouse_color): Ditto.
      * src/macfns.c (x_make_gc): Ditto.
      * src/msdos.c (ScreenVisualBell): Ditto.
      * src/msdos.c (internal_terminal_init): Ditto.
      * src/w32term.c (x_free_frame_resources): Ditto.
      * src/xfns.c (x_window): Ditto.
      * src/xterm.c (x_scroll_bar_create): Ditto.
      * src/xterm.c (x_scroll_bar_set_handle): Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-545
      5bcee7ef
  16. 06 Feb, 2006 1 commit
  17. 07 Aug, 2005 1 commit
  18. 04 Jul, 2005 1 commit
  19. 22 Mar, 2005 1 commit
  20. 07 Nov, 2004 1 commit
    • Jan Djärv's avatar
      * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in · 238a44a8
      Jan Djärv authored
      comparisons with integers instead of Lisp_Object address.
      (Fmsdos_set_keyboard): Declare argument allkeys.
      
      * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.
      
      * dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
      int/Lisp_Object mixup.
      
      * fileio.c: Ditto.
      238a44a8
  21. 10 Sep, 2004 1 commit
  22. 20 Aug, 2004 1 commit
  23. 03 Jul, 2004 1 commit
  24. 18 May, 2004 1 commit
  25. 17 May, 2004 1 commit
  26. 01 May, 2004 1 commit
  27. 27 Apr, 2004 1 commit
  28. 16 Apr, 2004 1 commit
  29. 05 Apr, 2004 1 commit
  30. 29 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Bugfix festival. · 0a125897
      Karoly Lorentey authored
      lib-src/emacsclient.c (main_argc, main_argv): New variables.
      (main): Initialize them.
      (fail): Use them.
      (window_change, copy_from_to): Don't kill if emacs_pid is zero.
      (pty_conversation): Watch the command socket, too.  Read emacs_pid
      here.  Emacs and emacsclient could deadlock if Emacs tried to do a
      reset_sys_modes before sending its pid.
      
      lisp/server.el: Automatically delete the client frame when done editing.
      (server-frames): New variable.
      (server-process-filter, server-sentinel, server-buffer-done): Use it.
      (server-process-filter): Do a redisplay before evaluating other
      parameters.  (Prevents "emacsclient -h -e '(delete-frame)'" from
      messing up the system.
      
      src/dispextern.h: Update prototypes.
      
      src/dispnew.c (window_change_signal): Do nothing if !term_initted.
      (init_display): Set the frame size from the tty data after term_init.
      
      src/emacs.c (main): Make sure things that init_sys_modes needs are 
      initialized before init_display (which calls init_sys_modes now).
      (sort_args): Use xfree, not free.
      (shut_down_emacs) [!EMACS_HAVE_TTY_PGRP]: Use reset_all_sys_modes
      instead of reset_sys_modes.
      
      src/frame.c (make_terminal_frame): Sigh. Move terminal initialization
      back to the middle of frame setup.  Handle errors by making sure that
      the delete_tty() called from term_init() will see and delete this
      frame.
      (Fdelete_frame): Kill the frame before calling delete_tty().  Fix
      condition for tty deletion.
      
      src/keyboard.c (Fset_input_mode): Use reset_sys_modes on the current
      terminal only.
      
      src/lisp.h: Remove duplicate prototypes.
      
      src/msdos.c (croak): use reset_all_sys_modes().
      
      src/sysdeps.c (init_baud_rate): Added tty parameter, use it instead of CURTTY.
      (child_setup_tty): Reset sigio on stdin, not CURTTY().
      (reset_sigio): Added fd parameter, put explicit fcntl there.
      (request_sigio, unrequest_sigio)[FASYNC]: Simply block/unblock the
      SIGIO signal, don't touch the file params.  There are multiple ttys
      now, and we can't disable the SIGIO from emacsclient.
      (get_tty_size)[VMS]: Use tty_out instead of CURTTY().
      (reset_sys_modes): Don't call cursor_to, clear_end_of_line; call
      cmgoto and tty_clear_end_of_line instead.  The frame may already be
      dead.  Updated reset_sigio call.
      
      src/term.c (clear_and_of_line): Separate tty-dependent stuff to
      tty_clear_end_of_line() for reset_sys_modes.
      (tty_clear_end_of_line): New function.
      (term_init): Added frame parameter, don't use selected_frame.
      Set the frame's output_data.tty value (in case there is an error
      later).  Set the frame size in Wcm, not in the frame.  Only free the
      termcap buffer if there is a termcap-related error.  Call
      init_sys_modes last, not first.
      (deleting_tty): New variable.
      (delete_tty): Use it for handling recursive calls.  Free deleted tty,
      except its Wcm (there is still a dangling reference somewhere).
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-19
      0a125897
  31. 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
  32. 24 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Add a level of indirection to terminal characteristics. · 8a56675d
      Karoly Lorentey authored
      * src/termchar.h (struct terminal): New struct.
      (must_write_spaces, min_padding_speed, line_ins_del_ok)
      (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
      (memory_below_frame, fast_clear_end_of_line): Moved to struct
      terminal.
      (current_terminal): New variable.
      (CURRENT_TERMINAL, TERMINAL_*): New accessor macros.
      (min_padding_speed, dont_calculate_costs): Commented out (unused).
      
      * src/term.c (_current_terminal): New variable.  Will be removed when
      true multi-tty support is implemented.
      
      * src/termopts.h (no_redraw_on_reenter): Moved here.
      
      * src/term.c (set_terminal_window, ins_del_lines, calculate_costs)
      (term_init): Use the accessor macros for terminal characteristics.
      * src/dispnew.c (line_hash_code, line_draw_cost)
      (direct_output_for_insert, update_frame_1, scrolling)
      (update_frame_line): Ditto.
      * src/macterm.c (mac_initialize): Ditto.
      * src/msdos.c (internal_terminal_init): Ditto.
      * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
      (scrolling_1, scroll_cost): Ditto.
      * src/sysdep.c (hft_init): Ditto.
      * src/w32term.c (w32_initialize): Ditto.
      * src/xdisp.c (try_window_id): Ditto.
      * src/xterm.c (x_initialize): Ditto.
      
      * etc/TODO: Add pointer to my tla archive.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-1
      8a56675d
  33. 28 Nov, 2003 1 commit
  34. 08 Sep, 2003 1 commit
  35. 01 Sep, 2003 1 commit
  36. 24 Aug, 2003 2 commits
  37. 15 Jun, 2003 1 commit
  38. 24 May, 2003 1 commit
    • Kim F. Storm's avatar
      Make (several) trivial substitutions for renamed and · c655f6fd
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (IT_note_mouse_highlight): Use updated window coordinates returned
      by window_from_coordinates, rather than adjusting them locally.
      (internal_terminal_init): No need to initialize line_height here;
      it now defaults to 1.
      c655f6fd