1. 24 Feb, 2007 1 commit
  2. 20 Feb, 2007 1 commit
  3. 16 Feb, 2007 1 commit
  4. 12 Feb, 2007 1 commit
  5. 06 Feb, 2007 1 commit
  6. 21 Jan, 2007 1 commit
  7. 10 Nov, 2006 1 commit
  8. 05 Nov, 2006 1 commit
  9. 05 Oct, 2006 1 commit
  10. 12 Aug, 2006 1 commit
  11. 18 Jul, 2006 1 commit
  12. 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
  13. 19 May, 2006 1 commit
  14. 13 May, 2006 1 commit
  15. 23 Apr, 2006 1 commit
  16. 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
  17. 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
  18. 08 Mar, 2006 1 commit
  19. 25 Feb, 2006 1 commit
  20. 15 Feb, 2006 2 commits
  21. 06 Feb, 2006 1 commit
  22. 26 Jan, 2006 1 commit
  23. 18 Jan, 2006 1 commit
  24. 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
  25. 31 Dec, 2005 1 commit
  26. 30 Dec, 2005 1 commit
  27. 29 Dec, 2005 2 commits
    • Karoly Lorentey's avatar
      Rename `struct device' to `struct terminal'. Rename some terminal-related functions similarly. · 6ed8eeff
      Karoly Lorentey authored
      * src/termhooks.h (struct device): Rename to `terminal'.  Rename member
        `next_device' to `next_terminal'.
        (device_list): Rename to `terminal_list'.
        (FRAME_DEVICE): Rename to `FRAME_TERMINAL'.
        (DEVICE_TERMINAL_CODING): Rename to `TERMINAL_TERMINAL_CODING'.
        (TERMINAL_KEYBOARD_CODING): Rename to `TERMINAL_KEYBOARD_CODING'.
        (DEVICE_ACTIVE_P): Rename to `TERMINAL_ACTIVE_P'.
        Update declarations and macro definitions.
      
      * src/termchar.h (tty_display_info): Rename member `device' to `terminal'.
        (FRAME_TTY): Update for renames.
      
      * src/xterm.h (x_display_info): Rename member `device' to `terminal'.
      
      * src/frame.h (frame): Rename `device' member to `terminal'.
        (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p):
        Update for renames.
      
      * src/lisp.h (set_process_environment): Rename to `set_global_environment'.
        (device): Rename to `terminal'.
      
      * src/dispextern.h: Update declarations and macro definitions.
      
      * src/terminal.c (device_list): Rename to `terminal_list'.
        (next_device_id): Rename to `next_terminal_id'.
        (initial_device): Rename to `initial_terminal'.
        (get_device): Rename to `get_terminal'.
        (create_device): Rename to `create_terminal'.
        (mark_devices): Rename to `mark_terminals'.
        (delete_device): Rename to `delete_terminal'.
        (Fdelete_display): Rename to `Fdelete_terminal'.
        (Fframe_terminal): Move here from frame.c.
        (Fdisplay_live_p): Rename to `Fterminal_live_p'.
        (Fdisplay_list): Rename to `Fterminal_list'.
        (Fdisplay_name): Rename to `Fterminal_name'.
        (init_initial_device): Rename to `init_initial_terminal'.
        (delete_initial_device): Rename to `delete_initial_terminal'.
        (ring_bell, update_begin, update_end, set_terminal_window)
        (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
        (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
        (ins_del_lines, get_terminal_param, store_terminal_param)
        (Fterminal_parameters, Fterminal_parameter)
        (Fmodify_terminal_parameters, Fset_terminal_parameter)
        (syms_of_terminal): Update for renames.
      
      * src/term.c (get_tty_device): Rename to `get_tty_terminal'.  Update.
        (Fdisplay_tty_type): Rename to `Ftty_type'.
        (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
        (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
        (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
        (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
        (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.
      
      * src/frame.c (Qdevice): Rename to `Qterminal'.
        (Qdisplay_live_p): Rename to `Qterminal_live_p'.
        (terminal_frame_count): Rename to `tty_frame_count'.
        (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
        (make_frame_without_minibuffer, make_initial_frame)
        (make_terminal_frame, Fmodify_frame_parameters)
        (do_switch_frame, Fdelete_frame, Fmouse_position)
        (Fmouse_pixel_position, Fraise_frame, Flower_frame)
        (Fredirect_frame_focus, set_term_frame_name, syms_of_frame):
        Update for renames.
      
      * src/xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
        (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
        (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
        (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
        (Fx_display_pixel_width, Fx_display_pixel_height)
        (Fx_display_planes, Fx_display_color_cells)
        (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
        (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
        (Fx_display_backing_store, Fx_display_visual_class)
        (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
        Update for renames.
      
      * xterm.c (handle_one_xevent): Initialize `f' to NULL.
        (x_delete_device): Rename to `x_delete_terminal'.
        (x_create_device): Rename to `x_create_terminal'.
        (XTset_terminal_modes, XTreset_terminal_modes)
        (XTread_socket, x_connection_closed, x_term_init)
        (x_term_init, x_delete_display): Update for renames.
      
      * src/dispnew.c (Fredraw_frame, Fsend_string_to_terminal)
        (Fsend_string_to_terminal, init_display): Update for renames.
      
      * src/keyboard.c (push_frame_kboard, pop_kboard, pop_kboard)
        (kbd_buffer_get_event, read_avail_input, tty_read_avail_input)
        (interrupt_signal, Fset_output_flow_control)
        (Fset_input_meta_mode, Fset_quit_char, delete_kboard)
        (syms_of_keyboard): Update for renames.
      
      * src/alloc.c (mark_devices): Update declaration.
        (Fgarbage_collect): Update for renames.
      
      * src/coding.c (Fset_terminal_coding_system_internal)
        (Fterminal_coding_system4)
        (Fset_keyboard_coding_system_internal)
        (Fkeyboard_coding_system): Update for renames.
      
      * src/data.c (Fterminal_local_value, Fset_terminal_local_value):
        Update for renames.
      
      * src/minibuf.c (read_minibuf): Update for renames.
      
      * src/sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
      
      * xselect.c (x_handle_selection_clear): Update for renames.
      
      * lisp/files.el (save-buffers-kill-display): Rename to `save-buffers-kill-terminal'.
        (save-buffers-kill-terminal, ctl-x-map): Update for renames.
      
      * frame.el (make-frame): Rename 'device frame parameter to 'terminal.  Update.
        (frames-on-display-list, framep-on-display, suspend-frame): Update for renames.
        (selected-display): Rename to `selected-terminal'.
      
      * server.el (server-save-buffers-kill-display): Rename to
        `server-save-buffers-kill-terminal'.
        (server-delete-client, server-handle-delete-frame)
        (server-handle-suspend-tty, server-process-filter)
        (server-switch-buffer): Update for renames.
      
      * startup.el (normal-splash-screen, normal-splash-screen): Update for renames.
      
      * talk.el (talk): Update for renames.
      
      * termdev.el (terminal-id): Update for renames.
      
      * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
        (turn-off-xterm-mouse-tracking-on-terminal)
        (xterm-mouse-handle-delete-frame): Update for renames.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-471
      6ed8eeff
    • Karoly Lorentey's avatar
      Store local environment in frame (not terminal) parameters. · da8e8fc1
      Karoly Lorentey authored
      * src/callproc.c (child_setup, getenv_internal, Fgetenv_internal):
        Store the local environment in a frame (not terminal) parameter.
        Update doc strings.
        (syms_of_callproc): Update doc strings.
        (Qenvironment): Moved to frame.c. 
      
      * lisp/env.el (read-envvar-name, setenv, getenv, environment): Use frame
        parameters to store the local environment, not terminal parameters.
      
      * server.el (server-process-filter): Store the local environment in a
        frame (not terminal) parameter.  Do not try to decode environment
        strings.
      
      * lisp/frame.el (make-frame): Set up the 'environment frame parameter,
        when needed.
      
      * src/frame.c (Qenvironment): Move here from callproc.c.
        (Fdelete_frame): Don't allow other frames to refer to a deleted frame
        in their 'environment parameter.
        (Fframe_with_environment): New function.
        (syms_of_frame): Defsubr it.  Initialize and staticpro Qenvironment.
      
      * frame.h (Qenvironment): Declare.
      * lisp.h (Fframe_with_environment): EXFUN it.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-467
      da8e8fc1
  28. 25 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Reimplement terminal parameters in C; clean up term.c, create terminal.c. · ed8dad6b
      Karoly Lorentey authored
      * lisp/termdev.el (terminal-parameter-alist, terminal-parameters, terminal-parameter-p)
        (terminal-parameter, set-terminal-parameter, terminal-handle-delete-frame): Remove.
      
      * src/term.c (Vring_bell_function, device_list, initial_device)
        (next_device_id, ring_bell, update_begin, update_end)
        (set_terminal_window, cursor_to, raw_cursor_to)
        (clear_to_end, clear_frame, clear_end_of_line)
        (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
        (get_device, Fdisplay_name, create_device, delete_device)
        (Fdelete_display, Fdisplay_live_p, Fdisplay_list)
        Move to terminal.c.
        (syms_of_term): Move their initialization to terminal.c.
      
      * src/terminal.c: New file.
        (device_list, next_device_id, initial_device, Vring_bell_function)
        (ring_bell, update_begin, update_end, set_terminal_window)
        (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
        (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
        (ins_del_lines, get_device, create_device, delete_device)
        (Fdelete_display, Fdisplay_live_p, Fdisplay_list, Fdisplay_name): Move here.
        (mark_devices, get_terminal_param, store_terminal_param)
        (Fterminal_parameters, Fterminal_parameter)
        (Fmodify_terminal_parameters, Fset_terminal_parameter)
        (init_initial_device, delete_initial_device)
        (syms_of_terminal): New functions.
      
      * lisp/simple.el (normal-erase-is-backspace-setup-frame)
        (normal-erase-is-backspace-mode): Rephrase things
        without terminal-parameter-p.
      
      * lisp/termdev.el (terminal-getenv, terminal-setenv)
        (with-terminal-environment): Ditto.
      
      * mac/makefile.MPW (EmacsObjects): Add terminal.c.x.
        ({Src}terminal.c.x): Add dependencies.
      
      * src/Makefile.in (obj): Add terminal.o.
        (terminal.o): Add dependencies.
        [HAVE_CARBON]: Make terminal.o depend on macgui.h.
      
      * src/alloc.c (mark_devices): Declare.
        (Fgarbage_collect): Call `mark_devices'.
      
      * src/dispextern.h  (set_scroll_region, turn_off_insert)
        (turn_off_highlight, background_highlight, clear_end_of_line_raw)
        (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove.
        (raw_cursor_to, clear_to_end, tty_turn_off_insert)
        (tty_turn_off_highlight): Add declaration.
      
      * src/emacs.c (main): Call `syms_of_terminal'.
      
      * src/frame.c (get_future_frame_param): New function.
        (Fmake_terminal_frame): Use it.
      
      * src/keyboard.c (pop_kboard): Remove unused variable.
        (Fset_output_flow_control): Return nil.
      
      * src/keymap.h (Fset_keymap_parent): Add EXFUN.
      
      * src/lisp.h (syms_of_terminal): Declare it.
      
      * src/sysdep.c (reset_sys_modes): Update for renames.
      
      * src/term.c (set_scroll_region): Rename to `tty_set_scroll_region'.
        (turn_on_insert): Rename to `tty_turn_on_insert'.
        (turn_off_insert): Rename to `tty_turn_off_insert'.
        (turn_off_highlight): Rename to `tty_turn_off_highlight'.
        (turn_on_highlight): Rename to `tty_turn_on_highlight'.
        (toggle_highligh): Rename to `tty_toggle_highlight'.
        (background_highlight): Rename to `tty_background_highlight'.
        (highlight_if_desired): Rename to `tty_highlight_if_desired'.
      
        (tty_ring_bell, tty_update_end, tty_set_terminal_window)
        (tty_set_scroll_region, tty_background_highlight)
        (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end)
        (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs)
        (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines)
        (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty)
        (delete_tty): Add static modifier.
      
        (tty_reset_terminal_modes, tty_set_terminal_window)
        (tty_set_scroll_region, tty_background_highlight)
        (tty_highlight_if_desired, tty_cursor_to)
        (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame)
        (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs)
        (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): 
        Update for renames.
      
      * src/termhooks.h (param_alist): New member to struct device.
      
      * src/xterm.h (x_delete_device): Declare.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-460
      ed8dad6b
  29. 20 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Implement full support for frame-local `next-buffer' and `previous-buffer'. · a18b8cb5
      Karoly Lorentey authored
      * frame.h (frame): New field `buried_buffer_list'.
      * alloc.c (mark_object): Mark it.
      * frame.c (make_frame): Initialize it.
      
      * frame.h (Qburied_buffer_list): New symbol declaration.
      
      * buffer.c (Fbuffer_list): Handle the buried-buffer-list frame parameter.
      
      * buffer.c (record_buffer): Delete the buffer from the buried_buffer_list.
      
      * buffer.c (Fbury_buffer): Add buffer to buried_buffer_list.
      
      * frame.c (Qburied_buffer_list): New symbol.
        (syms_of_frame): Initialize and staticpro it.
        (frames_discard_buffer): Also remove buffer from buried-buffer-list.
        (store_frame_param): Handle `buried-buffer-list' specially.
        (Fframe_parameters): Handle `buried-buffer-list' specially.
      
      * simple.el (last-buffer): Don't look at buried-buffer-list, rely on
        `buffer-list' doing that for us.
        (next-buffer): Simplify.
        (previous-buffer): Simplify.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-455
      a18b8cb5
  30. 10 Oct, 2005 1 commit
  31. 07 Sep, 2005 1 commit
    • Karoly Lorentey's avatar
      Enforce the presence of `window-system' and `tty-type' frame parameters in all frames. · 5b65d888
      Karoly Lorentey authored
      * src/dispnew.c (init_display): Set up `window-system' and `tty-type'
        frame parameters in the initial tty frame.
      
      * src/frame.c (Fmake_terminal_frame): Look up the `tty-type' frame
        parameter, not `tty' when discovering the tty type of the new frame.
        Initialize `tty' and `tty-type' frame parameters in the new frame.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-402
      5b65d888
  32. 07 Aug, 2005 1 commit
  33. 02 Aug, 2005 1 commit
  34. 11 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename `struct display' to `struct device'. Update function, parameter and... · 7e59217d
      Karoly Lorentey authored
      Rename `struct display' to `struct device'.  Update function, parameter and variable names accordingly.
      
      * src/termhooks.h (struct device): Rename to `struct device'.
        Rename member `next_display' to `next_device'.
        Rename member `delete_display_hook' to `delete_device_hook'.
        (FRAME_DISPLAY): Rename to FRAME_DEVICE.
        (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P.
        (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING.
        (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING.
      
      * src/frame.h (stuct frame): Rename `display' member to `device'.
      
      * src/xterm.h (x_display_info): Rename member `frame_display' to `device'.
      
      * src/termchar.h (struct tty_display_info): Rename `display' member to `device'.
      
      * src/keyboard.c (push_display_kboard): Rename to push_device_kboard.
      
      * lisp/frame.el (make-frame): Rename frame parameter `display-id' to `device'.
      * src/frame.c (Fmake_terminal_frame): Ditto.
      * src/xfns.c (Fx_create_frame): Ditto.
      
      * src/term.c (display_list): Rename to device_list.
      * src/term.c (initial_display): Rename to initial_device.
      * src/term.c (next_display_id): Rename to next_device_id.
      * src/term.c (get_display): Rename to get_device.
      * src/term.c (get_tty_display): Rename to get_tty_device.
      * src/term.c (get_named_tty_display): Rename to get_named_tty.
      * src/term.c (init_initial_display): Rename to init_initial_device.
      * src/term.c (delete_initial_display): Rename to delete_initial_device.
      * src/term.c (create_display): Rename to create_device.
      * src/term.c (delete_display): Rename to delete_device.
      
      * src/xfns.c (check_x_display_info): Document that the function allows
        display ids as well.
      
      * src/xterm.c (x_delete_frame_display): Rename to x_delete_device.
      * src/xterm.c (x_create_frame_display): Rename to x_create_device.
      
      * src/coding.c: Update.
      * src/dispextern.h: Update.
      * src/data.c: Update.
      * src/dispnew.c: Update.
      * src/frame.c: Update.
      * src/frame.h: Update.
      * src/keyboard.c: Update.
      * src/keyboard.h: Update.
      * src/lisp.h: Update.
      * src/sysdep.c: Update.
      * src/term.c: Update.
      * src/xdisp.c: Update.
      * src/xselect.c: Update.
      * src/xterm.c: Update.
      
      * src/prefix-args.c: Include stdlib.h for exit.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-382
      7e59217d
  35. 10 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename term_init to init_tty. · a4c6993d
      Karoly Lorentey authored
      * src/term.c (term_init): Rename to init_tty.
      
      * src/dispextern.h (term_init): Rename to init_tty.
      
      * src/dispnew.c (init_display): Update.
      * src/frame.c (Fmake_terminal_frame): Update.
      * src/term.c (tty_setup_colors): Update comment.
      
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-381
      a4c6993d
  36. 06 Jul, 2005 1 commit
  37. 04 Jul, 2005 1 commit
  38. 27 Jun, 2005 1 commit
    • Karoly Lorentey's avatar
      Cleanup: Move kboard fields from struct frame and device-specific descriptors to struct display. · bedb9c0e
      Karoly Lorentey authored
      * src/termhooks.h (display): New field: kboard.
      
      * src/xterm.h (x_display_info): Remove kboard field.
      * src/termchar.h (tty_display_info): Ditto.
      * src/frame.h (frame): Ditto.
        (FRAME_KBOARD): Update.
      
      * src/dispnew.c (init_display): Don't initialize kboard.
      * src/frame.c (make_frame, make_initial_frame, make_terminal_frame): Ditto.
      
      * src/frame.c (make_frame_without_minibuffer, Fdelete_frame): Update kboard access.
      * src/keyboard.c (delete_kboard): Ditto.
      * src/term.c (term_init): Ditto.
      * src/xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
      * src/xselect.c (x_handle_selection_clear): Ditto.
      * src/xterm.c (x_term_init): Ditto.
      
      * src/term.c (init_initial_display): Initialize kboard.
      * src/xterm.c (x_term_init): Ditto.
      
      * src/term.c (delete_tty): Remove kboard deletion.
        (delete_display): Delete kboard as well.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-363
      bedb9c0e