1. 02 Oct, 2007 1 commit
  2. 25 Sep, 2007 1 commit
  3. 21 Sep, 2007 1 commit
  4. 20 Sep, 2007 1 commit
  5. 07 Sep, 2007 1 commit
  6. 31 Aug, 2007 1 commit
  7. 29 Aug, 2007 1 commit
  8. 25 Jul, 2007 1 commit
  9. 03 Jul, 2007 1 commit
    • Dan Nicolaescu's avatar
      * server.el (server-process-filter): Likewise. · de87fb59
      Dan Nicolaescu authored
      (server-process-filter): Likewise. Also set COLORFGBG and
      COLORTERM.
      
      * frame.el (frame-initialize, make-frame): Likewise.
      
      * faces.el (tty-set-up-initial-frame-faces): Likewise.
      
      * env.el (read-envvar-name): Don't consider the environment frame
      param.
      (setenv): Set display-environment-variable and
      term-environment-variable.
      
      * frame.c (Qterm_environment_variable,
      Qdisplay_environment_variable): New variables.
      (syms_of_frame): Intern and staticpro them.
      
      * frame.h: Declare them here.
      
      * callproc.c (child_setup): Use the display-environment-variable
      and term-environment-variable frame params.
      (getenv_internal): Likewise.
      (set_initial_environment): Initialise Vprocess_environment.
      
      * frames.texi (Basic Parameters): Add display-environment-variable
      and term-environment-variable.
      de87fb59
  10. 03 Jun, 2007 1 commit
  11. 30 May, 2007 1 commit
  12. 19 May, 2007 1 commit
  13. 15 May, 2007 1 commit
  14. 24 Feb, 2007 1 commit
  15. 20 Feb, 2007 1 commit
  16. 16 Feb, 2007 1 commit
  17. 12 Feb, 2007 1 commit
  18. 06 Feb, 2007 1 commit
  19. 21 Jan, 2007 1 commit
  20. 10 Nov, 2006 1 commit
  21. 05 Nov, 2006 1 commit
  22. 05 Oct, 2006 1 commit
  23. 12 Aug, 2006 1 commit
  24. 18 Jul, 2006 1 commit
  25. 20 May, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix C-x 5 2 on the controlling tty; fix some possible crash conditions and a memory leak. · ab797f65
      Karoly Lorentey authored
      * src/frame.c (make_terminal_frame): Don't create frames on a terminal
        that is being deleted.
      * src/xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
      
      * src/keyboard.c (tty_read_avail_input): Don't read from a terminal that
        is being deleted.
      
      * src/term.c (get_named_tty): Abort if tty name is NULL.  Simplify accordingly.
      
      * src/term.c (Ftty_type): Return nil if terminal is not on a tty instead
        of throwing an error.  Doc update.
      
      * src/term.c (init_tty): Set name before calling `get_named_tty'.
      
      * src/term.c (delete_tty): Let delete_terminal delete the frames.  Plug
        memory leak caused by tty->name.  Remove reference to `deleting_tty'.
      
      * src/term.c (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: Doc update.
      
      * src/termhooks.h (terminal) <name>: Explain why identifying terminals by
        name is a bad idea.
      
      * src/terminal.c (delete_terminal): Doc update.
      
      * src/xterm.c (XTread_socket): Disable loop on all X displays.
      
      * src/xterm.c (x_delete_display): Doc update to reflect changes in
        delete_terminal.
      
      * src/xterm.c (x_delete_terminal): Don't set terminal->deleted and let
        delete_terminal delete the frames on the terminal.
      
      * src/xterm.h (x_display_info) <terminal>: Move member earlier in the struct.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-565
      ab797f65
  26. 19 May, 2006 1 commit
  27. 13 May, 2006 1 commit
  28. 23 Apr, 2006 1 commit
  29. 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
  30. 26 Mar, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix toolbars on X frames when Emacs is started on a tty. (Reported by Richard Lewis.) · 095fe281
      Karoly Lorentey authored
      * lisp/faces.el (x-create-frame-with-faces): Remove bogus check for first
        frame.  Call `tool-bar-setup'.
      
      * lisp/frame.el (window-system-default-frame-alist): Enhance doc string.
      
      * lisp/frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines
        in `default-frame-alist' when initial frame is on a tty.
      
      * lisp/frame.el (modify-all-frames-parameters): Simplify using
        `assq-delete-all'.  Remove specified parameters from
        `window-system-default-frame-alist'.
      
      * lisp/fringe.el (set-fringe-mode): Simplify and fix using
        `modify-all-frames-parameters'.
      * lisp/menu-bar.el (menu-bar-mode): Ditto.
      * lisp/scroll-bar.el (set-scroll-bar-mode): Ditto.
      * lisp/tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
        check before calling `tool-bar-setup'.
      
      * lisp/tool-bar.el (tool-bar-setup): New variable.
      
      * lisp/tool-bar.el (tool-bar-setup): Use it to guard against multiple
        calls.  Add optional frame parameter, and select that frame before
        adding items.
      
      * src/frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-536
      095fe281
  31. 08 Mar, 2006 1 commit
  32. 25 Feb, 2006 1 commit
  33. 15 Feb, 2006 2 commits
  34. 06 Feb, 2006 1 commit
  35. 26 Jan, 2006 1 commit
  36. 18 Jan, 2006 1 commit
  37. 03 Jan, 2006 1 commit
    • Karoly Lorentey's avatar
      Overhaul and simplify single_kboard API. Allow calls to `recursive-edit' in... · b3e6f69c
      Karoly Lorentey authored
      Overhaul and simplify single_kboard API.  Allow calls to `recursive-edit' in process filters.  Small fixes.
      
      * lisp/server.el (server-process-filter): Protect `display-splash-screen'
        call in a condition-case.  Explain why.
      
      * src/callint.c (Fcall_interactively): Update call to
        `temporarily_switch_to_single_kboard'.
      
      * src/fns.c (Fy_or_n_p): Ditto.
      
      * src/frame.c (Fdelete_frame): Remove unused variable `count'.
      
      * src/keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
      
      * src/keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
        for recursive calls.  Update longjmp invocations.  Remember the
        original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
        filter, timer or sentinel changes it.  Comment out unnecessary calls to
        `record_single_kboard_state' and `any_kboard_state'.  Update recursive
        calls.
      
      * src/keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
        variable.  Update setjmp and read_char calls.  Abort if
        interrupted_kboard died in read_char.
      
      * src/keyboard.c (any_kboard_state, single_kboard_state)
        (record_single_kboard_state): Comment out obsolete functions.
        (push_frame_kboard): Remove function.
        (pop_kboard): Switch out of single_kboard mode if the
        kboard has been deleted.
        (temporarily_switch_to_single_kboard): Change first
        parameter to a frame pointer.  Throw an error when caller wants to
        change kboards while in single_kboard mode.
        (restore_kboard_configuration): Abort if pop_kboard changed
        the kboard in single_kboard mode.
        (Frecursive_edit): Switch to single_kboard mode only in
        nested command loops.
        (cmd_error, command_loop, command_loop_1, timer_check):
        Comment out unnecessary call to `any_kboard_state' and
        `record_single_kboard_state'.
      
      * src/keyboard.c (delete_kboard): Exit single_kboard mode if we have just
        deleted that kboard.
      
      * src/keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
        `fatal_error_signal'.
      
      * src/keyboard.h (read_char, single_kboard_state)
        (record_single_kboard_state): Remove.
        (temporarily_switch_to_single_kboard): Update.
      
      * src/lread.c: Include setjmp.h.  Update declaration of `read_char'.
        (read_filtered_event): Call `read_char' with a local
        `wrong_kboard_jmpbuf'.
      
      * src/minibuf.c (read_minibuf): Update call to
        `temporarily_switch_to_single_kboard'.
      
      * src/termchar.h (tty_display_info): Rename `previous_terminal_frame'
        member to `previous_frame'.
      
      * src/xdisp.c (redisplay_internal): Update references to
        `previous_terminal_frame'.
        (display_mode_line, Fformat_mode_line): Replace calls to
        `push_frame_kboard' with `push_kboard'.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-489
      b3e6f69c
  38. 31 Dec, 2005 1 commit
  39. 30 Dec, 2005 1 commit