aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix toolbars on X frames when Emacs is started on a tty. (Reported by ↵Karoly Lorentey2006-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Richard Lewis.) * 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: [email protected]/emacs--multi-tty--0--patch-536
* | Fix segfault by `C-x 5 2' on the controlling tty. (Reported by Suresh Madhu.)Karoly Lorentey2006-03-081-3/+6
| | | | | | | | | | | | * src/frame.c (Fmake_terminal_frame): Handle NULL tty names correctly. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-526
* | Fix bogus crash with -DENABLE_CHECKING.Karoly Lorentey2006-02-251-0/+1
| | | | | | | | | | | | | | * src/frame.c (store_frame_param): Check for found_for_frame before calling XFRAME. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-521
* | Merged from Karoly Lorentey2006-02-161-2/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--devo--0--patch-73 Merge from erc--emacs--0 * [email protected]/emacs--devo--0--patch-74 Update from CVS * [email protected]/emacs--devo--0--patch-75 Make ERC comply with the new copyright year guidelines. * [email protected]/emacs--devo--0--patch-76 Update from CVS * [email protected]/emacs--devo--0--patch-77 Update from CVS * [email protected]/emacs--devo--0--patch-78 Update from CVS * [email protected]/emacs--devo--0--patch-79 (rcirc-format-response-string): Fix small bugs * [email protected]/emacs--devo--0--patch-80 Update from CVS * [email protected]/emacs--devo--0--patch-81 Update from CVS * [email protected]/emacs--devo--0--patch-82 Fix compiler error in erc-dcc.el. * [email protected]/emacs--devo--0--patch-83 Update from CVS * [email protected]/emacs--devo--0--patch-84 Update from CVS * [email protected]/emacs--devo--0--patch-85 Update from CVS * [email protected]/emacs--devo--0--patch-86 Update from CVS * [email protected]/emacs--devo--0--patch-87 Update from CVS * [email protected]/emacs--devo--0--patch-88 Merge from erc--emacs--0 * [email protected]/emacs--devo--0--patch-89 Update from CVS * [email protected]/emacs--devo--0--patch-90 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-513
| * (x_get_arg): Clear out PARAM in ALIST also on Mac.YAMAMOTO Mitsuharu2006-02-151-2/+1
| |
| * (x_get_arg): Clear out all occurrences of PARAM in ALIST.Richard M. Stallman2006-02-151-0/+7
| |
* | Merged from [email protected]Karoly Lorentey2006-02-121-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--devo--0--patch-49 Update from CVS * [email protected]/emacs--devo--0--patch-50 Update from CVS * [email protected]/emacs--devo--0--patch-51 Make constrain-to-field notice overlays * [email protected]/emacs--devo--0--patch-52 Update from CVS * [email protected]/emacs--devo--0--patch-53 Update from CVS * [email protected]/emacs--devo--0--patch-54 Update from CVS * [email protected]/emacs--devo--0--patch-55 Merge from erc--emacs--0 * [email protected]/emacs--devo--0--patch-56 Update from CVS * [email protected]/emacs--devo--0--patch-57 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-58 Update from CVS * [email protected]/emacs--devo--0--patch-59 Update from CVS * [email protected]/emacs--devo--0--patch-60 Update from CVS * [email protected]/emacs--devo--0--patch-61 Update from CVS * [email protected]/emacs--devo--0--patch-62 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-63 Update from CVS * [email protected]/emacs--devo--0--patch-64 Update from CVS * [email protected]/emacs--devo--0--patch-65 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-66 Update from CVS * [email protected]/emacs--devo--0--patch-67 Update from CVS * [email protected]/emacs--devo--0--patch-68 Update from CVS * [email protected]/emacs--devo--0--patch-69 rcirc: Add flexible response formatting; Add nick abbrevs * [email protected]/emacs--devo--0--patch-70 Update from CVS * [email protected]/emacs--devo--0--patch-71 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-72 Update from CVS: man/dired.texi (Tumme): More tumme documentation. * [email protected]/gnus--rel--5.10--patch-18 Update from CVS * [email protected]/gnus--rel--5.10--patch-19 Update from CVS * [email protected]/gnus--rel--5.10--patch-20 Update from CVS * [email protected]/gnus--rel--5.10--patch-21 Merge from emacs--devo--0 * [email protected]/gnus--rel--5.10--patch-22 Update from CVS * [email protected]/gnus--rel--5.10--patch-23 Update from CVS * [email protected]/gnus--rel--5.10--patch-24 Update from CVS * [email protected]/gnus--rel--5.10--patch-25 Update from CVS * [email protected]/gnus--rel--5.10--patch-26 Merge from emacs--devo--0 * [email protected]/gnus--rel--5.10--patch-27 Update from CVS: lisp/gnus.el: Remove bogus comment. * [email protected]/gnus--rel--5.10--patch-28 Merge from emacs--devo--0 * [email protected]/gnus--rel--5.10--patch-29 Add sendmail.el and smptmail.el from Emacs tree to contrib/ git-archimport-id: [email protected]/emacs--multi-tty--0--patch-508
| * Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
| |
* | Merged from [email protected] (patch 187, 704)Karoly Lorentey2006-01-301-2/+15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--devo--0--base-0 tag of [email protected]/emacs--cvs-trunk--0--patch-704 * [email protected]/emacs--devo--0--patch-1 Update from CVS * [email protected]/emacs--devo--0--patch-2 Update from CVS * [email protected]/emacs--devo--0--patch-3 Update from CVS * [email protected]/emacs--devo--0--patch-4 Update from CVS * [email protected]/emacs--devo--0--patch-5 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-6 Update from CVS * [email protected]/emacs--devo--0--patch-7 Update from CVS * [email protected]/emacs--devo--0--patch-8 Update from CVS * [email protected]/emacs--devo--0--patch-9 Update from CVS * [email protected]/emacs--devo--0--patch-10 Update from CVS * [email protected]/emacs--devo--0--patch-11 Update from CVS * [email protected]/emacs--devo--0--patch-12 Update from CVS * [email protected]/emacs--devo--0--patch-13 Update from CVS * [email protected]/emacs--devo--0--patch-14 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-15 Update from CVS * [email protected]/emacs--devo--0--patch-16 Update from CVS * [email protected]/emacs--devo--0--patch-17 Update from CVS * [email protected]/emacs--devo--0--patch-18 Update from CVS * [email protected]/emacs--devo--0--patch-19 Update from CVS * [email protected]/emacs--devo--0--patch-20 Update from CVS * [email protected]/emacs--devo--0--patch-21 Update from CVS * [email protected]/emacs--devo--0--patch-22 Install ERC. * [email protected]/emacs--devo--0--patch-23 Update from CVS * [email protected]/emacs--devo--0--patch-24 Fix ERC compiler warnings. * [email protected]/emacs--devo--0--patch-25 Use utf-8 encoding in ERC ChangeLogs. * [email protected]/emacs--devo--0--patch-26 Update from CVS * [email protected]/emacs--devo--0--patch-27 Merge ERC-related Viper hacks into Viper. * [email protected]/emacs--devo--0--patch-28 Update from CVS * [email protected]/emacs--devo--0--patch-29 Update from CVS * [email protected]/emacs--devo--0--patch-30 Merge from erc--main--0 * [email protected]/gnus--rel--5.10--base-0 tag of [email protected]/gnus--rel--5.10--patch-187 * [email protected]/gnus--rel--5.10--patch-1 Update from CVS * [email protected]/gnus--rel--5.10--patch-2 Merge from emacs--devo--0 * [email protected]/gnus--rel--5.10--patch-3 Update from CVS * [email protected]/gnus--rel--5.10--patch-4 Update from CVS * [email protected]/gnus--rel--5.10--patch-5 Update from CVS * [email protected]/gnus--rel--5.10--patch-6 Update from CVS * [email protected]/gnus--rel--5.10--patch-7 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-704 Update from CVS * [email protected]/gnus--rel--5.10--patch-187 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-501
| * (x_get_arg): "Clear out" the parm in ALIST if found there.Richard M. Stallman2006-01-261-1/+14
| |
| * (x_frame_get_and_record_arg): Don't record Qunbound value in f->param_alist.Richard M. Stallman2006-01-181-1/+1
| |
* | Overhaul and simplify single_kboard API. Allow calls to `recursive-edit' in ↵Karoly Lorentey2006-01-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: [email protected]/emacs--multi-tty--0--patch-489
* | Fix typo in docstring of `frame-with-environment'.Karoly Lorentey2005-12-311-1/+1
| | | | | | | | | | | | * src/frame.c (Fframe_with_environment): Fix typo. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-481
* | Make sure `delete-frame-functions' can not prevent the frame from being deleted.Karoly Lorentey2005-12-301-1/+17
| | | | | | | | | | | | | | * frame.c (delete_frame_handler): New function. (Fdelete_frame): Use it to invoke `delete-frame-functions' safely. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-475
* | Rename `struct device' to `struct terminal'. Rename some terminal-related ↵Karoly Lorentey2005-12-291-91/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions similarly. * 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: [email protected]/emacs--multi-tty--0--patch-471
* | Store local environment in frame (not terminal) parameters.Karoly Lorentey2005-12-291-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: [email protected]/emacs--multi-tty--0--patch-467
* | Reimplement terminal parameters in C; clean up term.c, create terminal.c.Karoly Lorentey2005-12-251-34/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: [email protected]/emacs--multi-tty--0--patch-460
* | Implement full support for frame-local `next-buffer' and `previous-buffer'.Karoly Lorentey2005-12-201-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: [email protected]/emacs--multi-tty--0--patch-455
* | Merged from [email protected] (patch 578-592)Karoly Lorentey2005-10-121-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-578 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-579 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-580 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-581 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-582 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-583 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-584 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-585 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-586 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-587 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-588 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-589 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-590 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-591 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-592 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-424
| * (Fredirect_frame_focus): Fix typos in docstring.Juanma Barranquero2005-10-101-5/+5
| | | | | | | | (next_frame, prev_frame, set_term_frame_name): Make static.
* | Enforce the presence of `window-system' and `tty-type' frame parameters in ↵Karoly Lorentey2005-09-071-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | all frames. * 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: [email protected]/emacs--multi-tty--0--patch-402
* | Merged in changes from CVS trunk. Plus added lisp/term tweaks.Karoly Lorentey2005-09-041-4/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--base-0 tag of [email protected]/emacs--cvs-trunk--0--patch-474 * [email protected]/emacs--cvs-trunk--0--patch-1 Add CVS metadata files. * [email protected]/emacs--cvs-trunk--0--patch-2 Update from CVS. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-393
| * Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+2
| |
| * (Fframe_char_width): Doc fix.Juanma Barranquero2005-08-021-2/+1
| |
* | Rename `struct display' to `struct device'. Update function, parameter and ↵Karoly Lorentey2005-07-111-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: [email protected]/emacs--multi-tty--0--patch-382
* | Rename term_init to init_tty.Karoly Lorentey2005-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: [email protected]/emacs--multi-tty--0--patch-381
* | Handle and document that `delete-frame' may call functions in ↵Karoly Lorentey2005-07-061-1/+8
| | | | | | | | | | | | | | | | | | | | | | `delete-frame-functions' twice. * src/frame.c (syms_of_frame): Add warning to `delete-frame-functions' description. * lisp/frame.el (terminal-handle-delete-frame): Check that the frame is alive. * lisp/server.el (server-handle-delete-frame): Ditto. Remove bogus comment. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-375
* | Merged from [email protected] (patch 469)Karoly Lorentey2005-07-051-2/+2
|\| | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-469 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-372
| * Update FSF's address.Lute Kamstra2005-07-041-2/+2
| |
* | Cleanup: Move kboard fields from struct frame and device-specific ↵Karoly Lorentey2005-06-271-47/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptors to struct display. * 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: [email protected]/emacs--multi-tty--0--patch-363
* | Merged from [email protected] (patch 441-446)Karoly Lorentey2005-06-251-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-441 Update reference to renamed Buffer-menu-buffer face * [email protected]/emacs--cvs-trunk--0--patch-442 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-443 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-444 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-445 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-446 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-354
| * (make_frame_without_minibuffer): Follow error conventions.Juanma Barranquero2005-06-231-3/+3
| |
* | Merged from [email protected] (patch 438-440)Karoly Lorentey2005-06-221-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-438 Rename vertical-divider face to vertical-border * [email protected]/emacs--cvs-trunk--0--patch-439 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-440 Change escape-glyph color on dark backgrounds back to cyan git-archimport-id: [email protected]/emacs--multi-tty--0--patch-353
| * (Fmodify_frame_parameters):Juri Linkov2005-06-211-0/+6
| | | | | | | | | | Call frame-set-background-mode after changing the background color on non-window non-dos branch.
* | Merged from [email protected] (patch 80-82, 350-422)Karoly Lorentey2005-06-151-9/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-350 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-351 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-352 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-353 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-354 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-355 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-356 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-357 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-358 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-359 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-360 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-361 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-362 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-363 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-364 Remove "-face" suffix from widget faces * [email protected]/emacs--cvs-trunk--0--patch-365 Remove "-face" suffix from custom faces * [email protected]/emacs--cvs-trunk--0--patch-366 Remove "-face" suffix from change-log faces * [email protected]/emacs--cvs-trunk--0--patch-367 Remove "-face" suffix from compilation faces * [email protected]/emacs--cvs-trunk--0--patch-368 Remove "-face" suffix from diff-mode faces * [email protected]/emacs--cvs-trunk--0--patch-369 lisp/longlines.el (longlines-visible-face): Face removed * [email protected]/emacs--cvs-trunk--0--patch-370 Remove "-face" suffix from woman faces * [email protected]/emacs--cvs-trunk--0--patch-371 Remove "-face" suffix from whitespace-highlight face * [email protected]/emacs--cvs-trunk--0--patch-372 Remove "-face" suffix from ruler-mode faces * [email protected]/emacs--cvs-trunk--0--patch-373 Remove "-face" suffix from show-paren faces * [email protected]/emacs--cvs-trunk--0--patch-374 Remove "-face" suffix from log-view faces * [email protected]/emacs--cvs-trunk--0--patch-375 Remove "-face" suffix from smerge faces * [email protected]/emacs--cvs-trunk--0--patch-376 Remove "-face" suffix from show-tabs faces * [email protected]/emacs--cvs-trunk--0--patch-377 Remove "-face" suffix from highlight-changes faces * [email protected]/emacs--cvs-trunk--0--patch-378 Remove "-face" suffix from and downcase info faces * [email protected]/emacs--cvs-trunk--0--patch-379 Remove "-face" suffix from pcvs faces * [email protected]/emacs--cvs-trunk--0--patch-380 Update uses of renamed pcvs faces * [email protected]/emacs--cvs-trunk--0--patch-381 Tweak ChangeLog * [email protected]/emacs--cvs-trunk--0--patch-382 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-383 Remove "-face" suffix from strokes-char face * [email protected]/emacs--cvs-trunk--0--patch-384 Remove "-face" suffix from compare-windows face * [email protected]/emacs--cvs-trunk--0--patch-385 Remove "-face" suffix from calendar faces * [email protected]/emacs--cvs-trunk--0--patch-386 Remove "-face" suffix from diary-button face * [email protected]/emacs--cvs-trunk--0--patch-387 Remove "-face" suffix from testcover faces * [email protected]/emacs--cvs-trunk--0--patch-388 Remove "-face" suffix from viper faces * [email protected]/emacs--cvs-trunk--0--patch-389 Remove "-face" suffix from org faces * [email protected]/emacs--cvs-trunk--0--patch-390 Remove "-face" suffix from sgml-namespace face * [email protected]/emacs--cvs-trunk--0--patch-391 Remove "-face" suffix from table-cell face * [email protected]/emacs--cvs-trunk--0--patch-392 Remove "-face" suffix from tex-mode faces * [email protected]/emacs--cvs-trunk--0--patch-393 Remove "-face" suffix from texinfo-heading face * [email protected]/emacs--cvs-trunk--0--patch-394 Remove "-face" suffix from flyspell faces * [email protected]/emacs--cvs-trunk--0--patch-395 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-396 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-397 Remove "-face" suffix from gomoku faces * [email protected]/emacs--cvs-trunk--0--patch-398 Remove "-face" suffix from mpuz faces * [email protected]/emacs--cvs-trunk--0--patch-399 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-400 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-401 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-402 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-403 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-404 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-405 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-406 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-407 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-408 Remove "-face" suffix from Buffer-menu-buffer face * [email protected]/emacs--cvs-trunk--0--patch-409 Remove "-face" suffix from antlr-mode faces * [email protected]/emacs--cvs-trunk--0--patch-410 Remove "-face" suffix from ebrowse faces * [email protected]/emacs--cvs-trunk--0--patch-411 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-412 Remove "-face" suffix from flymake faces * [email protected]/emacs--cvs-trunk--0--patch-413 Remove "-face" suffix from idlwave faces * [email protected]/emacs--cvs-trunk--0--patch-414 Remove "-face" suffix from sh-script faces * [email protected]/emacs--cvs-trunk--0--patch-415 Remove "-face" suffix from vhdl-mode faces * [email protected]/emacs--cvs-trunk--0--patch-416 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-417 Remove "-face" suffix from which-func face * [email protected]/emacs--cvs-trunk--0--patch-418 Remove "-face" suffix from cperl-mode faces * [email protected]/emacs--cvs-trunk--0--patch-419 Remove "-face" suffix from ld-script faces * [email protected]/emacs--cvs-trunk--0--patch-420 Fix cperl-mode font-lock problem * [email protected]/emacs--cvs-trunk--0--patch-421 Tweak which-func face * [email protected]/emacs--cvs-trunk--0--patch-422 Update from CVS * [email protected]/gnus--rel--5.10--patch-80 Merge from emacs--cvs-trunk--0 * [email protected]/gnus--rel--5.10--patch-81 Update from CVS * [email protected]/gnus--rel--5.10--patch-82 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-350
| * (Fhandle_switch_frame, Fselect_frame): Delete unused arg no_enter.Luc Teirlinck2005-06-101-9/+9
| | | | | | | | | | (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): Adapt to above change.
* | Fix UTF-8 tty input when first frame is an X frame. Steps towards multiple ↵Karoly Lorentey2005-05-031-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tty locale support. * lisp/international/mule-cmds.el (set-locale-environment): Ignore window-system; always set the keyboard coding system. * src/termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING): New macros. * src/coding.c (Fset_terminal_coding_system_internal, Fterminal_coding_system) (Fset_keyboard_coding_system_internal, Fkeyboard_coding_system): Add DISPLAY parameter. * src/term.c (get_display): Add THROW parameter. (get_tty_display, Fdisplay_name, Fdisplay_tty_type, Fdisplay_controlling_tty_p) (Fdelete_display, Fdisplay_live_p): Update callers. * src/xfns.c (check_x_display_info): Ditto. * src/frame.c (Fmake_terminal_frame, Fframe_display): Ditto. * src/dispextern.h (get_display): Update prototype. * lisp/international/mule.el (set-terminal-coding-system) (set-keyboard-coding-system): Add DISPLAY parameter. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-338
* | Merged from [email protected] (patch 67, 270-278)Karoly Lorentey2005-04-251-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-270 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-271 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-272 src/xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. * [email protected]/emacs--cvs-trunk--0--patch-273 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-274 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-275 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-276 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-277 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-278 Update from CVS * [email protected]/gnus--rel--5.10--patch-67 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-332
| * (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections.YAMAMOTO Mitsuharu2005-04-241-0/+4
| |
* | Merged from [email protected] (patch 192-203)Karoly Lorentey2005-03-231-27/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-192 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-193 Use gdb-ui breakpoint faces on ttys too * [email protected]/emacs--cvs-trunk--0--patch-194 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-195 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-196 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-197 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-198 Tweak gdb-ui breakpoint faces * [email protected]/emacs--cvs-trunk--0--patch-199 Tweak gdb-ui breakpoint faces * [email protected]/emacs--cvs-trunk--0--patch-200 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-201 Tweak info/.arch-inventory to identify info/.cvsignore as source * [email protected]/emacs--cvs-trunk--0--patch-202 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-203 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-316
| * (Fignore_event): Remove.Stefan Monnier2005-03-191-27/+0
| | | | | | | | (syms_of_frame): Don't defsubr it.
* | Merged from [email protected] (patch 39-44, 184-191)Karoly Lorentey2005-03-191-3/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-184 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-185 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-186 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-187 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-188 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-189 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-190 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-191 Update from CVS * [email protected]/gnus--rel--5.10--patch-39 Merge from emacs--cvs-trunk--0 * [email protected]/gnus--rel--5.10--patch-40 Update from CVS * [email protected]/gnus--rel--5.10--patch-41 Update from CVS * [email protected]/gnus--rel--5.10--patch-42 Update from CVS * [email protected]/gnus--rel--5.10--patch-43 Update from CVS * [email protected]/gnus--rel--5.10--patch-44 Merge from emacs--cvs-trunk--0 git-archimport-id: [email protected]/emacs--multi-tty--0--patch-311
| * (Fignore_event): Fix ancient obscure C-u handling bug.Stefan Monnier2005-03-171-3/+20
| |
* | Merged from [email protected] (patch 37-38, 162-182)Karoly Lorentey2005-03-161-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-162 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-163 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-164 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-165 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-166 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-167 Tweak obsolete function/variable warning message * [email protected]/emacs--cvs-trunk--0--patch-168 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-169 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-170 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-171 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-172 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-173 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-174 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-175 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-176 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-177 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-178 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-179 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-180 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-181 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-182 Update from CVS * [email protected]/gnus--rel--5.10--patch-37 Update from CVS * [email protected]/gnus--rel--5.10--patch-38 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-309
| * (x_set_font): Call set_default_ascii_font if anKenichi Handa2005-03-081-0/+1
| | | | | | | | available font is found.
* | Merged in changes from CVS trunk.Karoly Lorentey2005-01-061-10/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-747 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-748 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-749 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-750 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-751 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-752 Update from CVS * [email protected]/gnus--rel--5.10--patch-78 Merge from emacs--cvs-trunk--0 * [email protected]/gnus--rel--5.10--patch-79 Update from CVS * [email protected]/gnus--rel--5.10--patch-80 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-278
| * * dispextern.h: Change HAVE_CARBON to MAC_OS.Steven Tamm2004-12-271-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (struct glyph_string): Likewise. * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of mac_initialize. * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): Change TARGET_API_MAC_CARBON to HAVE_CARBON. * fns.c (vector): Change MAC_OSX to MAC_OS. * frame.c (x_set_frame_parameters, x_report_frame_params) (x_set_fullscreen): Remove #ifndef HAVE_CARBON. (x_set_border_width, Vdefault_frame_scroll_bars): Change HAVE_CARBON to MAC_OS. * image.c [MAC_OS]: Include sys/stat.h. [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and QuickTimeComponents.h. * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. [!MAC_OSX] (select): Use mac_wait_next_event. [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. [!MAC_OSX] (select, run_mac_command): Change `#ifdef TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. (mac_clear_font_name_table): Add extern. (Fmac_clear_font_name_table): New defun. (syms_of_mac): Defsubr it. [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. [MAC_OSX] (select_and_poll_event): New function. [MAC_OSX] (sys_select): Use it. [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. [MAC_OSX && SELECT_USE_CFSOCKET] (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and RunLoop for simultaneously monitoring two kinds of inputs, window events and process outputs, without periodically polling. * macfns.c (mac_initialized): Remove extern. (stricmp): Put in #if 0. All callers changed to use xstricmp in xfaces.c. (strnicmp): Decrement `n' at the end of each loop, not the beginning. (check_mac): Use the term "Mac native windows" instead of "Mac OS". (check_x_display_info, x_display_info_for_name): Sync with xfns.c. (mac_get_rdb_resource): New function (from w32reg.c). (x_get_string_resource): Use it. (install_window_handler): Add extern. (mac_window): New function. (Fx_create_frame): Use it instead of make_mac_frame. Set parameter for Qfullscreen. Call x_wm_set_size_hint. (Fx_open_connection, Fx_close_connection): New defuns. (syms_of_macfns): Defsubr them. (x_create_tip_frame) [TARGET_API_MAC_CARBON]: Add kWindowNoUpdatesAttribute to the window attribute. (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. (x_create_tip_frame): Don't call ShowWindow. (Fx_show_tip): Call ShowWindow. (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. (mac_frame_parm_handlers): Set handlers for Qfullscreen. (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. (Window): Typedef to WindowPtr and move outside `#if TARGET_API_MAC_CARBON'. (XSizeHints): New struct. * macterm.c (x_update_begin, x_update_end) [TARGET_API_MAC_CARBON]: Disable screen updates during update of a frame. (x_draw_glyph_string_background, x_draw_glyph_string_foreground) [MAC_OS8]: Use XDrawImageString/XDrawImageString16. (construct_mouse_click): Put in #if 0. (x_check_fullscreen, x_check_fullscreen_move): Remove decls. (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. (activate_scroll_bars, deactivate_scroll_bars) [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window if the position is neither user-specified nor program-specified. (x_free_frame_resources): Free size_hints. (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. (mac_clear_font_name_table): New function. (mac_do_list_fonts): Initialize font_name_table if needed. (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT around mac_do_list_fonts. (mac_unload_font): New function. (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations and definitions with #if TARGET_API_MAC_CARBON. [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. (install_window_handler): Add decl. (do_window_update): Add BeginUpdate/EndUpdate for the tooltip window. Use UpdateControls. Get the rectangle that should be updated and restrict the target of expose_frame to it. (do_grow_window): Set minimum height/width according to size_hints. (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. (do_zoom_window): Don't use x_set_window_size. [USE_CARBON_EVENTS] (mac_handle_window_event): New function. (install_window_handler): New function. [!USE_CARBON_EVENTS] (mouse_region): New variable. [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. (XTread_socket) [USE_CARBON_EVENTS]: Move call to GetEventDispatcherTarget inside BLOCK_INPUT. (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. Update mouse_region when mouse is moved. (make_mac_frame): Remove. (make_mac_terminal_frame): Put in #ifdef MAC_OS8. Initialize mouse pointer shapes. Change values of f->left_pos and f->top_pos. Don't use make_mac_frame. Use NewCWindow. Don't call ShowWindow. (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from Vinvocation_name and Vsystem_name. (mac_make_rdb): New function (from w32term.c). (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has already been opened. Don't pass argument to mac_initialize_display_info. Don't set dpyinfo->height/width. Add entries to x_display_list and x_display_name_list. (x_delete_display): New function. (mac_initialize): Don't call mac_initialize_display_info. (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. * macterm.h (check_mac): Add extern. (struct mac_output): New member size_hints. (FRAME_SIZE_HINTS): New macro. (mac_unload_font): Add extern. * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. * xfaces.c (clear_font_table) [MAC_OS]: call mac_unload_font.
* | Merged in changes from CVS trunk.Karoly Lorentey2004-11-221-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-694 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-695 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-696 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-697 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-698 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-699 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-700 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-701 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-702 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-703 Merge from gnus--rel--5.10 * [email protected]/emacs--cvs-trunk--0--patch-704 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-705 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-706 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-707 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-708 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-709 Update from CVS: src/indent.c (Fvertical_motion): Fix last change. * [email protected]/emacs--cvs-trunk--0--patch-710 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-711 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-712 Update from CVS * [email protected]/emacs--cvs-trunk--0--patch-713 Update from CVS * [email protected]/gnus--rel--5.10--patch-72 Update from CVS * [email protected]/gnus--rel--5.10--patch-73 Merge from emacs--cvs-trunk--0 git-archimport-id: [email protected]/emacs--multi-tty--0--patch-268
| * Avoid side-effects inside XSETFASTINT's arguments.Stefan Monnier2004-11-161-1/+2
| |
* | Merged in changes from CVS trunk.Karoly Lorentey2004-11-131-1/+1
|\| | | | | | | | | | | | | | | | | | | Patches applied: * [email protected]/emacs--cvs-trunk--0--patch-672 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-266