annotate src/ChangeLog.multi-tty @ 83715:6fc3e91581c3

More crunching.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 29 Aug 2007 04:01:43 +0000
parents 61e72c4e451e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83678
05f16288ac29 Start crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83658
diff changeset
1 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu>
83658
2ee129d4ca11 (BASE_PURESIZE): Increase.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83654
diff changeset
2
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
3 * callproc.c (child_setup, getenv_internal): Use the
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
4 display-environment-variable and term-environment-variable frame
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
5 params.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
6 (set_initial_environment): Initialise Vprocess_environment.
83658
2ee129d4ca11 (BASE_PURESIZE): Increase.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83654
diff changeset
7
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
8 * config.in: Disable multi-keyboard support on a mac.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
9
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
10 * frame.c (Qterm_environment_variable)
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
11 (Qdisplay_environment_variable): New variables.
83640
2aee92eacdab * server.el (server-process-filter): Likewise.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83631
diff changeset
12 (syms_of_frame): Intern and staticpro them.
83678
05f16288ac29 Start crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83658
diff changeset
13 (Fmake_terminal_frame): Disable output method test.
83640
2aee92eacdab * server.el (server-process-filter): Likewise.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83631
diff changeset
14
2aee92eacdab * server.el (server-process-filter): Likewise.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83631
diff changeset
15 * frame.h: Declare them here.
2aee92eacdab * server.el (server-process-filter): Likewise.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83631
diff changeset
16
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
17 * macfns.c (x_set_mouse_color): Get rif from the frame.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
18 (x_set_tool_bar_lines): Don't use updating_frame.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
19 (mac_window): Add 2 new parameters for consistency with other systems.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
20 (Fx_create_frame): Fix doc string. Rename the parameter. Set the
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
21 frame parameters following what is done in X11 and w32. Don't use
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
22 FRAME_MAC_DISPLAY_INFO.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
23 (Fx_open_connection, start_hourglass): Remove window-system check.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
24 (x_create_tip_frame): Get the keyboard from the terminal.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
25
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
26 * macmenu.c: Reorder includes.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
27 (Fx_popup_menu): Use terminal specific mouse_position_hook.
83640
2aee92eacdab * server.el (server-process-filter): Likewise.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83631
diff changeset
28
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
29 * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
30 terminal parameter.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
31 (x_clear_frame): Add a frame parameter.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
32 (note_mouse_movement): Get rif from the frame.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
33 (mac_term_init): Initialize the terminal.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
34 (mac_initialize): Make static and move terminal initialization ...
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
35 (mac_create_terminal): ... to this new function.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
36
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
37 * macterm.h (struct mac_display_info): Add terminal.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
38
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
39 * puresize.h (BASE_PURESIZE): Increase base value to 1158000.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
40
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
41 * sysdep.c: Comment out text after #endif.
83631
7d63b897231b (x_handle_selection_clear): Only access
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83630
diff changeset
42
83678
05f16288ac29 Start crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83658
diff changeset
43 * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
44 is defined. Better initialize ttys in windows. Use terminal
83678
05f16288ac29 Start crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83658
diff changeset
45 specific mouse_position_hook.
83630
28201311b297 * term.c (init_tty): Use terminal specific mouse_position_hook.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83628
diff changeset
46
83619
5da6a46ddbd6 * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83617
diff changeset
47 * termhooks.h (union display_info): Add mac_display_info.
5da6a46ddbd6 * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83617
diff changeset
48
83679
bd714834a29c Finish crunching the first 2 entries.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83678
diff changeset
49 * w32fns.c (Fx_create_frame): Use kboard from the terminal. Set
bd714834a29c Finish crunching the first 2 entries.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83678
diff changeset
50 the default minibuffer frame, window_system and the rest of the
bd714834a29c Finish crunching the first 2 entries.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83678
diff changeset
51 frame parameters following what is done in X11.
bd714834a29c Finish crunching the first 2 entries.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83678
diff changeset
52
bd714834a29c Finish crunching the first 2 entries.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83678
diff changeset
53 * w32term.c (w32_initialize): Make static.
83616
b78afd4acd43 * term.c (init_tty): Better initialize ttys in windows.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83613
diff changeset
54
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
55 * xselect.c (x_handle_selection_clear): Only access
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
56 terminal->kboard when MULTI_KBOARD is defined.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
57
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
58 * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
59 (SYSTEM_PURESIZE_EXTRA): Only define on Carbon.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
60
83678
05f16288ac29 Start crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83658
diff changeset
61 0000-00-00 Jason Rumney <jasonr@gnu.org>
83610
0e545daaf463 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 83597
diff changeset
62
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
63 * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
64 (make_terminal_frame) [WINDOWSNT]: Initialize terminal.
83610
0e545daaf463 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 83597
diff changeset
65
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
66 * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]:
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
67 (mac_init_fringe) [MAC_OS]: Get rif from selected_frame.
83679
bd714834a29c Finish crunching the first 2 entries.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83678
diff changeset
68
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
69 * keyboard.c (restore_kboard_configuration): Only define when
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
70 MULTI_KBOARD defined.
83597
e1a74926d58b *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 83595
diff changeset
71
e1a74926d58b *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 83595
diff changeset
72 * makefile.w32-in: Update dependancies from Makefile.in
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
73 (OBJ1): Add terminal.$(O)
83597
e1a74926d58b *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 83595
diff changeset
74
83586
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
75 * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: Don't
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
76 define function body.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
77 (init_tty) [WINDOWSNT]: Use selected_frame for initializing.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
78
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
79 * termhooks.h (display_info) [WINDOWSNT]: Add w32.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
80
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
81 * w32.c (request_sigio, unrequest_sigio): Remove.
83586
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
82
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
83 * w32console.c (w32con_move_cursor, w32con_clear_to_end)
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
84 (w32con_clear_frame, w32con_clear_end_of_line)
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
85 (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs)
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
86 (w32con_delete_glyphs, w32con_set_terminal_window)
83586
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
87 (scroll_line, w32_sys_ring_bell): Add frame arg.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
88 (w32con_set_terminal_modes, w32con_reset_terminal_modes): Add
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
89 terminal arg.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
90 (PICK_FRAME): Remove.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
91 (w32con_write_glyphs): Use frame specific terminal coding.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
92 (one_and_only_w32cons): New global variable.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
93 (initialize_w32_display): Use it for storing hooks.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
94 (create_w32cons_output): New function.
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
95
83690
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
96 * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
97 arg a frame.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
98
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
99 * w32fns.c (x_create_tip_frame): Set terminal and ref count. Set
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
100 window_system.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
101 (x_set_tool_bar_lines): Don't use updating_frame.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
102 (Fx_create_frame): Set terminal and ref count.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
103 (Fx_open_connection): Remove window-system check.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
104
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
105 * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
106
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
107 * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
108 (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
109 (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines):
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
110 Add frame arg.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
111 (x_delete_terminal, w32_create_terminal): New functions.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
112 (w32_term_init): Create a terminal.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
113 (w32_initialize): Move terminal specific initialization to
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
114 w32_create_terminal.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
115
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
116 * w32term.h (x_output): Remove foreground_pixel and
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
117 background_pixel.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
118 (w32_clear_rect, w32_clear_area): Use background from frame.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
119 (w32_display_info): Add terminal.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
120 (w32_sys_ring_bell, x_delete_display): Declare here.
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
121
6ca88c61f592 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83689
diff changeset
122 * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type.
83586
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
123
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
124 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k.
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
125
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
126 0000-00-00 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change)
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
127
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
128 * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char):
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
129 Fix get_named_tty calls for the controlling tty.
83586
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
130
83706
bdff2c77dfb9 More of the same.
Glenn Morris <rgm@gnu.org>
parents: 83705
diff changeset
131 0000-00-00 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
132
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
133 * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error.
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
134
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
135 0000-00-00 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change)
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
136
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
137 * term.c (tty_insert_glyphs): Add missing first parameter.
83586
db5d730e394c New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
138
83681
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
139 0000-00-00 Karoly Lorentey <karoly@lorentey.hu>
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
140
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
141 * buffer.c (Fbuffer_list, Fbury_buffer): Take
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
142 frame->buried_buffer_list into account.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
143
83699
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
144 * cm.c (current_tty): New variable, for cmputc().
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
145 (cmputc): Use it.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
146 (cmcheckmagic): Add tty parameter, look up terminal streams there.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
147 (calccost): Add tty parameter. Use emacs_tputs() instead of tputs().
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
148 (cmgoto): Add tty parameter. Pass it on to calccost(). Use
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
149 emacs_tputs() instead of tputs().
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
150
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
151 * cm.h (emacs_tputs): New macro to set current_tty, and then call
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
152 tputs().
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
153 (current_tty): New variable, for cmputc().
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
154 (cmcheckmagic, cmputc, cmgoto): Add prototypes.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
155
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
156 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
157 (internal_condition_case, internal_condition_case_1)
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
158 (internal_condition_case_2): Don't abort when x_catching_errors.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
159
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
160 * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
161 (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
162 prevent crashes caused by bogus longjmps in read_char.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
163
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
164 * keymap.h (Fset_keymap_parent): Add EXFUN.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
165
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
166 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
83681
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
167 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
168 Remove redundant definition.
83681
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
169
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
170 * macfns.c (x_set_mouse_color,x_make_gc): Use
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
171 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
172
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
173 * w32term.c (x_free_frame_resources): Use
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
174 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
83699
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
175 (w32_initialize): Use the accessor macros for terminal characteristics.
83681
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
176
83689
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
177 * macterm.c (mac_initialize): Use Fset_input_interrupt_mode.
aabfc0168925 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83687
diff changeset
178 Use the accessor macros for terminal characteristics.
83681
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
179 * msdos.c (internal_terminal_init): Use the accessor macros for
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
180 terminal characteristics.
83709
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
181 (ScreenVisualBell,internal_terminal_init): Use
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
182 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
83681
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
183
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
184 * termopts.h (no_redraw_on_reenter): Declare.
c70dfad9fff4 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83680
diff changeset
185
83709
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
186 * alloc.c (emacs_blocked_malloc): Disable mallopt call.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
187 (mark_terminals,mark_ttys): Declare.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
188 (Fgarbage_collect): Call them.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
189 (mark_object): Mark buried_buffer_list;
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
190
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
191 * prefix-args.c: Include stdlib.h for exit.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
192
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
193 * syssignal.h: Add comment.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
194
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
195 * indent.c: Include stdio.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
196
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
197 * window.h (Vinitial_window_system): Declare.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
198 (Vwindow_system): Delete declaration.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
199
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
200 * fontset.c (Finternal_char_font): Use FRAME_RIF.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
201
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
202 * image.c (lookup_image): Don't initialize `c' until the xasserts
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
203 have been run.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
204
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
205 * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
206 FRAME_FOREGROUND_PIXEL.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
207
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
208 * print.c (print_preprocess): Don't lose print_depth levels while
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
209 iterating.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
210
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
211 * widget.c (update_from_various_frame_slots): Use
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
212 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
213
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
214 * window.c (set_window_buffer): Don't call clear_mouse_face on tty
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
215 frames.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
216 (window_internal_height): Remove bogus make_number call.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
217 (init_window_once): Call make_terminal_frame with two zero
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
218 parameters.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
219
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
220 * fileio.c (Fread_file_name): Update comment.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
221
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
222 * callint.c (Fcall_interactively): Use
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
223 temporarily_switch_to_single_kboard instead of single_kboard_state.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
224 Make sure it is correctly unwound.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
225
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
226 * xsmfns.c (x_session_close): New function.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
227
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
228 * coding.h (terminal_coding,safe_terminal_coding,keyboard_coding):
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
229 Delete declarations.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
230
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
231 * xterm.h: Remove declaration for x_fully_uncatch_errors.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
232 (x_output): Remove background_pixel and foreground_pixel fields.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
233 (x_display_info): Add new field TERMINAL. Remove KBOARD field.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
234 (x_delete_device):
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
235 (x_session_close): Declare.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
236
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
237 * lread.c: Include setjmp.h. Update declaration of `read_char'.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
238 (read_filtered_event): Call `read_char' with a local
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
239 `wrong_kboard_jmpbuf'.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
240
83709
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
241 * minibuf.c (read_minibuf): Call
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
242 temporarily_switch_to_single_kboard. Don't call
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
243 single_kboard_state. Use FRAME_RIF.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
244
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
245 * process.c (Fmake_network_process): Don't unrequest_sigio on modern
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
246 systems.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
247
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
248 * lisp.h (set_process_environment): Rename to
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
249 `set_global_environment'.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
250 (Fframe_with_environment,Fset_input_meta_mode)
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
251 (Fset_quit_char): EXFUN.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
252 (x_create_device,tty_output,terminal,tty_display_info): Declare.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
253 (init_sys_modes, reset_sys_modes): Update prototypes.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
254 (init_all_sys_modes, reset_all_sys_modes): New prototypes.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
255
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
256 * keyboard.h (struct kboard): Add new fields:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
257 Vlocal_function_key_map, Vlocal_key_translation_map,
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
258 Vkeyboard_translate_table.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
259 (Vfunction_key_map,Vkeyboard_translate_table,single_kboard_state):
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
260 Delete declarations.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
261 (Vfunction_key_map,Vkey_translation_map,push_kboard,pop_kboard)
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
262 (temporarily_switch_to_single_kboard,tty_read_avail_input):
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
263 New declarations.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
264
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
265 * emacs.c (main): Don't call init_sys_modes(), the new term_init()
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
266 already does that during init_display(). Call syms_of_keymap
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
267 before syms_of_keyboard. Call `syms_of_terminal'. Call
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
268 set_initial_environment, not set_process_environment.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
269 (shut_down_emacs): Call reset_all_sys_modes() instead of
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
270 reset_sys_modes().
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
271
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
272 * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
273 (internal_resolve_face_name, resolve_face_name_error): New
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
274 functions.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
275 (resolve_face_name): Protect against loops and errors thrown by
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
276 Fget.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
277 (realize_default_face): Don't use FRAME_FONT unless frame is an X
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
278 frame.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
279 (Ftty_supports_face_attributes_p): Update tty_capable_p call.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
280
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
281 * scroll.c: Replace CURTTY() with local variables throughout the
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
282 file (where applicable).
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
283 (calculate_scrolling, calculate_direct_scrolling)
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
284 (scrolling_1, scroll_cost): Use the accessor macros for terminal
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
285 characteristics.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
286
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
287 * keymap.c (Vfunction_key_map): Remove.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
288 (Fdescribe_buffer_bindings): Update references to
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
289 Vfunction_key_map.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
290 (syms_of_keymap): Remove DEFVAR for Vfunction_key_map.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
291 (Vkey_translation_map): Remove.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
292 (syms_of_keymap): Remove DEFVAR for key-translation-map.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
293 (Fdescribe_buffer_bindings):
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
294 (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards):
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
295 Update for terminal-local key-translation-map.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
296
83710
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
297 * Makefile.in (callproc.o): Update dependencies.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
298 (lisp, shortlisp): Add termdev.elc.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
299 (obj): Add terminal.o.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
300 (terminal.o): Add dependencies.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
301 [HAVE_CARBON]: Make terminal.o depend on macgui.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
302 (data.o, fns.o): Add termhooks.h dependency.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
303 (SOME_MACHINE_LISP): Add dnd.elc.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
304 (minibuf.o): Fix typo.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
305 Update dependencies.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
306
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
307 * data.c (do_symval_forwarding, store_symval_forwarding)
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
308 (find_symbol_value): Use the selected frame's keyboard, not
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
309 current_kboard.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83709
diff changeset
310
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
311 * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
312 Vwindow_system.
83699
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
313
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
314 * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
315 Fmenu_bar_open.
cfe77e3dbd02 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83697
diff changeset
316 (syms_of_xmenu): Update defsubr.
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
317 (mouse_position_for_popup, Fx_popup_menu)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
318 (Fx_popup_dialog, x_activate_menubar, update_frame_menubar)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
319 (set_frame_menubar, free_frame_menubar)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
320 (create_and_show_popup_menu, xmenu_show, )
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
321 (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
322 an X frame.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
323
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
324 * xselect.c (x_own_selection): Abort if not an X frame.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
325 (some_frame_on_display): Check if it is an X frame.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
326 (x_handle_selection_clear): Deal with MULTI_KBOARD.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
327
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
328 * coding.c: Include frame.h and termhooks.h.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
329 (terminal_coding,keyboard_coding): Delete.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
330 (Fset_terminal_coding_system_internal):
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
331 (Fset_keyboard_coding_system_internal):
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
332 (Fkeyboard_coding_system):
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
333 (Fterminal_coding_system): Add a terminal parameter. Get
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
334 terminal_coding from the terminal.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
335 (init_coding_once): Don't call setup_coding_system here.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
336
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
337 * dispextern.h (set_scroll_region, turn_off_insert)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
338 (turn_off_highlight, background_highlight, clear_end_of_line_raw)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
339 (tty_clear_end_of_line, tty_setup_colors)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
340 (delete_tty,updating_frame)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
341 (produce_special_glyphs, produce_glyphs, write_glyphs)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
342 (insert_glyphs): Remove.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
343 (raw_cursor_to, clear_to_end, tty_turn_off_insert)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
344 (tty_turn_off_highlight,get_tty_size): Add declaration.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
345 (tabs_safe_p, init_baud_rate, get_tty_terminal): Update
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
346 prototypes.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
347
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
348 * frame.h (enum output_method): Add output_initial.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
349 (struct x_output): Delete.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
350 (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Access
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
351 foreground_pixel and background_pixel directly from the frame.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
352 (tty_display): Delete.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
353 (struct frame): Add buried_buffer_list, foreground_pixel,
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
354 background_pixel and terminal. Delete kboard
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
355 (union output_data): Add tty.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
356 (FRAME_KBOARD): Get the kboard from the terminal.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
357 (FRAME_INITIAL_P): New macro.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
358 (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
359 (Qterm_environment_variable, Qdisplay_environment_variable)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
360 (make_terminal_frame, Qburied_buffer_list, Qwindow_system): New
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
361 declarations.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
362
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
363 * termchar.h (tty_output, tty_display_info): New structures.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
364 (tty_list): Declare.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
365 (FRAME_TTY, CURTTY): New macros.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
366 (must_write_spaces, min_padding_speed, fast_clear_end_of_line)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
367 (line_ins_del_ok, char_ins_del_ok, scroll_region_ok)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
368 (scroll_region_cost, memory_below_frame, fast_clear_end_of_line)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
369 (dont_calculate_costs, no_redraw_on_reenter): Remove declarations.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
370
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
371 * callproc.c: Include frame.h and termhooks.h, for terminal
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
372 parameters.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
373 (add_env): New function.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
374 (child_setup): Use it.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
375 (child_setup, getenv_internal): Handle the new
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
376 Vprocess_environment.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
377 (getenv_internal): Fix get_terminal_param call.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
378 (Fgetenv_internal, egetenv): Update doc.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
379 (syms_of_callproc): Initialize Vprocess_environment to nil.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
380 Register and initialize them. Remove obsolete defvars. Update doc
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
381 strings.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
382 (child_setup): Handle Vlocal_environment_variables.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
383 (getenv_internal): Add terminal parameter. Handle
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
384 Vlocal_environment_variables.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
385 (Fgetenv_internal): Add terminal parameter.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
386 (child_setup, getenv_internal, Fgetenv_internal): Store the local
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
387 environment in a frame (not terminal) parameter. Update doc
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
388 strings.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
389 (set_initial_environment): Rename from set_global_environment.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
390 Store Emacs environment in initial frame parameter.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
391
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
392 * xdisp.c (redisplay_internal): Update references to
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
393 `previous_terminal_frame'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
394 (display_mode_line, Fformat_mode_line): Replace calls to
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
395 `push_frame_kboard' with `push_kboard'.
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
396 (get_glyph_string_clip_rects): Add extra parentheses and
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
397 braces to prevent compiler warnings.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
398 (calc_pixel_width_or_height): Add xassert to check that the
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
399 frame is alive. Don't call `lookup_image' on a termcap frame.
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
400 (message2_nolog, message3_nolog, redisplay_internal)
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
401 (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
402 (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
403 (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
404 (Fx_display_pixel_width, Fx_display_pixel_height)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
405 (Fx_display_planes, Fx_display_color_cells)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
406 (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
407 (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
408 (Fx_display_backing_store, Fx_display_visual_class)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
409 (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
410 Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
411
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
412 * xfns.c (x_set_foreground_color x_set_background_color)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
413 (x_set_mouse_color, x_set_cursor_color, x_make_gc): Use
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
414 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
415 (Fx_create_frame, x_create_tip_frame, build_string, x_window)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
416 (Fx_create_frame, x_create_tip_frame): Don't create frames on a
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
417 terminal that is being deleted.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
418 (Fx_create_frame): Use `store_frame_param' to set `window-system'
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
419 frame parameter, and make sure it overrides any user-supplied
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
420 setting.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
421 (Fx_close_connection, Fx_synchronize): Unify argument names with
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
422 the rest of the DEFUNs.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
423
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
424 * dispnew.c (Fsend_string_to_terminal): Update call to
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
425 `get_tty_terminal'.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
426 (Fredraw_frame, Fsend_string_to_terminal)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
427 (Fsend_string_to_terminal, init_display): User FRAME_RIF,
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
428 FRAME_TERMCAP_P and FRAME_TTY.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
429 (window_change_signal): Don't believe width/height values that are
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
430 impossibly small.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
431 (Vinitial_window_system): Rename from Vwindow_system.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
432 (termscript, Wcm, rif): Delete.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
433
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
434 * termhooks.h (struct terminal): New struct containing the
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
435 previously global text display hooks and new members NAME,
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
436 DELETED and PARAM_ALIST.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
437 (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
438 (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
439 (FRAME_RIF): New macros.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
440 (get_terminal_param, get_device): New declarations.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
441 (termscript): Delete declaration.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
442
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
443 * xterm.c (x_initialize): Use Fset_input_interrupt_mode.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
444 (XTflash, x_free_frame_resources, x_scroll_bar_create)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
445 (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
446 FRAME_FOREGROUND_PIXEL.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
447 (x_fully_uncatch_errors): Disable definition.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
448 (x_scroll_bar_expose): Fix reference to foreground pixel.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
449 (XTread_socket): Disable loop on all X displays.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
450 (x_delete_terminal): Don't set terminal->deleted and let
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
451 delete_terminal delete the frames on the terminal.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
452 (x_delete_display): Doc update to reflect changes in
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
453 delete_terminal.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
454 (x_display_info) <terminal>: Move member earlier in the struct.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
455 (x_delete_terminal): Use terminal->deleted. Delete all frames on
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
456 the display explicitly.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
457 (deleting_tty): Remove old variable.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
458 (Fsuspend_tty): Call clear_tty_hooks.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
459 (Fresume_tty, init_tty): Call set_tty_hooks.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
460 (clear_tty_hooks, set_tty_hooks): New functions.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
461 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
462 errors on X frames.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
463 (x_catch_errors_unwind): Abort if x_error_message is NULL.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
464 (handle_one_xevent): Initialize `f' to NULL.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
465 (x_delete_device, x_create_device): New functions.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
466 (XTset_terminal_modes, XTreset_terminal_modes)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
467 (XTread_socket, x_connection_closed, x_term_init)
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
468 (x_term_init, x_delete_display): Add terminal parameter.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
469 (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
470 X connections.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
471
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
472 * frame.c (Fframep): Deal with output_initial.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
473 (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
474 (Qtty_type, Qwindow_system, Qenvironment)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
475 (Qterm_environment_variable, Qdisplay_environment_variable): New
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
476 variables.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
477 (x_set_screen_gamma, store_frame_param): Fix compilation errors.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
478 (make_terminal_frame): Don't create frames on a terminal that is
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
479 being deleted.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
480 (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
481 FRAME_FOREGROUND_PIXEL.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
482 (store_frame_param): Check for found_for_frame before calling
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
483 XFRAME.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
484 (Fmake_terminal_frame): Handle NULL tty names correctly.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
485 (syms_of_frame): Enhance doc string of `default-frame-alist'.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
486 (Fdelete_frame): Remove unused variable `count'.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
487 (Qenvironment): New variable.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
488 (Fdelete_frame): Don't allow other frames to refer to a deleted
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
489 frame in their 'environment parameter.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
490 (Fframe_with_environment): New function.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
491 (syms_of_frame): Defsubr it. Initialize and staticpro
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
492 Qenvironment.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
493 (get_future_frame_param): New function.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
494 (Fmake_terminal_frame): Use it.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
495
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
496 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
497 * sysdep.c (reset_sys_modes): Update for renames.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
498
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
499 * keyboard.c (tty_read_avail_input): New function.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
500 (Fset_input_interrupt_mode,Fset_output_flow_control): New
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
501 functions.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
502 (syms_of_keyboard): Defsubr them.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
503 (Fset_input_meta_mode, Fset_quit_char): New functions.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
504 (Fset_input_mode): Split to above functions.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
505
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
506 (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
507 parameter. Use it in call to `read_char'.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
508 (read_char): Declare. Update call to
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
509 `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
510 correctly in recursive calls. Use current_kboard to access
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
511 Vkeyboard_translate_table. Enhance comment before extra longjmp
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
512 to wrong_kboard_jmpbuf. Add wrong_kboard_jmpbuf parameter to
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
513 allow for recursive calls. Update longjmp invocations. Remember
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
514 the original current_kboard, and longjmp to `wrong_kboard_jmpbuf'
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
515 when a filter, timer or sentinel changes it. Comment out
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
516 unnecessary calls to `record_single_kboard_state' and
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
517 `any_kboard_state'. Update recursive calls.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
518 (wrong_kboard_jmpbuf): Remove global variable.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
519 (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
520 Handle deleted interrupted_kboards correctly; that is a legal
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
521 case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
522 and read_char calls. Abort if interrupted_kboard died in
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
523 read_char.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
524 (any_kboard_state, single_kboard_state)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
525 (push_frame_kboard): Remove function.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
526 (pop_kboard): Switch out of single_kboard mode if the kboard has
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
527 been deleted. Remove unused variable. Help debugging by not
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
528 changing current_kboard unnecessarily. Set current_kboard to the
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
529 kboard of the selected frame when the stored kboard object has
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
530 been deleted before pop_kboard.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
531 (temporarily_switch_to_single_kboard): Change first parameter to a
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
532 frame pointer. Throw an error when caller wants to change kboards
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
533 while in single_kboard mode. Don't push_kboard if we weren't in
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
534 single kboard state. Don't pop_kboard if we popped into any
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
535 kboard state.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
536 (restore_kboard_configuration): Abort if pop_kboard changed the
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
537 kboard in single_kboard mode. Call pop_kboard only after setting
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
538 up single_kboard mode.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
539 (Frecursive_edit): Switch to single_kboard mode only in nested
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
540 command loops.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
541 (cmd_error, command_loop, command_loop_1, timer_check): Comment
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
542 out unnecessary call to `any_kboard_state' and
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
543 `record_single_kboard_state'.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
544 (delete_kboard): Exit single_kboard mode if we have just deleted
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
545 that kboard. Use FRAME_KBOARD.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
546 (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
547 `fatal_error_signal'.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
548 (record_single_kboard_state): Don't push_kboard if we weren't in
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
549 single kboard state. Don't pop_kboard if we popped into any
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
550 kboard state.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
551 (push_frame_kboard): Rename to push_kboard.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
552 (kbd_buffer_get_event): Use FRAME_TERMINAL.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
553 (read_avail_input): Read input from all terminals.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
554 (mark_kboards): Also mark Vkeyboard_translate_table.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
555 (kbd_buffer_store_event_hold): Simplify condition.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
556 (read_key_sequence): Reinitialize fkey and keytran at each replay.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
557 (Vkeyboard_translate_table): Move to struct kboard.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
558 (init_kboard): Initialize Vkeyboard_translate_table.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
559 (syms_of_keyboard): Use DEFVAR_KBOARD to define
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
560 Vkeyboard_translate_table. Update doc strings. Update docs of
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
561 local-function-key-map and function-key-map.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
562
83696
d71de97b5f54 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83695
diff changeset
563 * terminal.c: New file.
d71de97b5f54 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83695
diff changeset
564
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
565 * term.c: Include errno.h.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
566 (Vring_bell_function, device_list, initial_device)
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
567 (next_device_id, ring_bell, update_begin, update_end)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
568 (set_terminal_window, cursor_to, raw_cursor_to)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
569 (clear_to_end, clear_frame, clear_end_of_line)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
570 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
83693
eec903657ed8 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83692
diff changeset
571 (Fdisplay_name, create_device, delete_device): Move to terminal.c.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
572 (syms_of_term): Move their initialization to terminal.c.
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
573 (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
574 (Ftty_display_color_cells)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
575 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
576 (init_tty, maybe_fatal): New functions.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
577 (Ftty_type): Return nil if terminal is not on a tty instead of
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
578 throwing an error. Doc update.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
579 (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>:
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
580 Doc update. Initialize new subrs and variables.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
581 (delete_tty): Use terminal->deleted.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
582 (tty_set_terminal_modes): Rename from set_terminal_modes.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
583 (tty_reset_terminal_modes): Rename from reset_terminal_modes.
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
584 (set_scroll_region): Rename to `tty_set_scroll_region'.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
585 (turn_on_insert): Rename to `tty_turn_on_insert'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
586 (turn_off_insert): Rename to `tty_turn_off_insert'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
587 (turn_off_highlight): Rename to `tty_turn_off_highlight'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
588 (turn_on_highlight): Rename to `tty_turn_on_highlight'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
589 (toggle_highligh): Rename to `tty_toggle_highlight'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
590 (background_highlight): Rename to `tty_background_highlight'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
591 (highlight_if_desired): Rename to `tty_highlight_if_desired'.
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
592 (tty_ring_bell, tty_update_end, tty_set_terminal_window)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
593 (tty_set_scroll_region, tty_background_highlight)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
594 (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
595 (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
596 (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines)
83693
eec903657ed8 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83692
diff changeset
597 (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty):
eec903657ed8 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83692
diff changeset
598 Add static modifier.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
599 (tty_reset_terminal_modes, tty_set_terminal_window)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
600 (tty_set_scroll_region, tty_background_highlight)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
601 (tty_highlight_if_desired, tty_cursor_to)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
602 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame)
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
603 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs)
83693
eec903657ed8 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83692
diff changeset
604 (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for
eec903657ed8 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83692
diff changeset
605 renames.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
606
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
607 ;; Local Variables:
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
608 ;; coding: iso-2022-7bit
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
609 ;; add-log-time-zone-rule: t
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
610 ;; End:
83709
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83708
diff changeset
611
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
612 Copyright (C) 2007 Free Software Foundation, Inc.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
613
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
614 This file is part of GNU Emacs.
83702
021dd296ffc1 Some more tidying and simplification pending merge.
Glenn Morris <rgm@gnu.org>
parents: 83701
diff changeset
615
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
616 GNU Emacs is free software; you can redistribute it and/or modify
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
617 it under the terms of the GNU General Public License as published by
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
618 the Free Software Foundation; either version 2, or (at your option)
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
619 any later version.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
620
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
621 GNU Emacs is distributed in the hope that it will be useful,
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
622 but WITHOUT ANY WARRANTY; without even the implied warranty of
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
623 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
624 GNU General Public License for more details.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
625
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
626 You should have received a copy of the GNU General Public License
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
627 along with GNU Emacs; see the file COPYING. If not, write to the
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
628 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
629 Boston, MA 02110-1301, USA.
83654
e9a88d9f47fb Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents: 83646
diff changeset
630
83715
6fc3e91581c3 More crunching.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 83713
diff changeset
631 ;;; arch-tag: 4015a0e0-033e-11dc-807c-00114368b55b