comparison src/ChangeLog.multi-tty @ 83699:cfe77e3dbd02

Some more tidying and simplification pending merge.
author Glenn Morris <rgm@gnu.org>
date Tue, 28 Aug 2007 07:50:22 +0000
parents 49e25dcf3117
children a319ab2e518d
comparison
equal deleted inserted replaced
83698:eee88b98a5c2 83699:cfe77e3dbd02
136 136
137 * term.c (tty_insert_glyphs): Add missing first parameter. 137 * term.c (tty_insert_glyphs): Add missing first parameter.
138 138
139 0000-00-00 Karoly Lorentey <karoly@lorentey.hu> 139 0000-00-00 Karoly Lorentey <karoly@lorentey.hu>
140 140
141 * cm.c (current_tty): New variable, for cmputc().
142 (cmputc): Use it.
143 (cmcheckmagic): Add tty parameter, look up terminal streams there.
144 (calccost): Add tty parameter. Use emacs_tputs() instead of tputs().
145 (cmgoto): Add tty parameter. Pass it on to calccost(). Use
146 emacs_tputs() instead of tputs().
147
148 * cm.h (emacs_tputs): New macro to set current_tty, and then call
149 tputs().
150 (current_tty): New variable, for cmputc().
151 (cmcheckmagic, cmputc, cmgoto): Add prototypes.
152
153 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
154 (internal_condition_case, internal_condition_case_1)
155 (internal_condition_case_2): Don't abort when x_catching_errors.
156
157 * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals.
158 (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to
159 prevent crashes caused by bogus longjmps in read_char.
160
161 * keymap.h (Fset_keymap_parent): Add EXFUN.
162
163 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
141 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): 164 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
142 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
143 Remove redundant definition. 165 Remove redundant definition.
144 166
145 * macfns.c (x_set_mouse_color,x_make_gc): Use 167 * macfns.c (x_set_mouse_color,x_make_gc): Use
146 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. 168 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
147 169
148 * msdos.c (ScreenVisualBell,internal_terminal_init): Use 170 * msdos.c (ScreenVisualBell,internal_terminal_init): Use
149 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. 171 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
150 * w32term.c (x_free_frame_resources): Use 172 * w32term.c (x_free_frame_resources): Use
151 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. 173 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
152 * w32term.c (w32_initialize): Use the accessor macros for terminal 174 (w32_initialize): Use the accessor macros for terminal characteristics.
153 characteristics.
154 175
155 * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. 176 * macterm.c (mac_initialize): Use Fset_input_interrupt_mode.
156 Use the accessor macros for terminal characteristics. 177 Use the accessor macros for terminal characteristics.
157 * msdos.c (internal_terminal_init): Use the accessor macros for 178 * msdos.c (internal_terminal_init): Use the accessor macros for
158 terminal characteristics. 179 terminal characteristics.
159 180
160 * cm.h (emacs_tputs): New macro to set current_tty, and then call
161 tputs().
162 (current_tty): New variable, for cmputc().
163 (cmcheckmagic, cmputc, cmgoto): Add prototypes.
164
165 * cm.c (current_tty): New variable, for cmputc().
166 (cmputc): Use it.
167 (cmcheckmagic): Add tty parameter, look up terminal streams
168 there.
169 (calccost): Add tty parameter. Use emacs_tputs() instead of
170 tputs().
171 (cmgoto): Add tty parameter. Pass it on to calccost(). Use
172 emacs_tputs() instead of tputs().
173
174 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
175 (internal_condition_case, internal_condition_case_1)
176 (internal_condition_case_2): Don't abort when x_catching_errors.
177
178 * keymap.h (Fset_keymap_parent): Add EXFUN.
179
180 * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty
181 terminals.
182 (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to
183 prevent crashes caused by bogus longjmps in read_char.
184
185 * termopts.h (no_redraw_on_reenter): Declare. 181 * termopts.h (no_redraw_on_reenter): Declare.
186 182
187 2007-04-22 Karoly Lorentey <karoly@lorentey.hu>
188
189 * xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel.
190
191 2007-02-24 Karoly Lorentey <karoly@lorentey.hu>
192
193 * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation
194 errors.
195
196 2006-12-03 Karoly Lorentey <lorentey@elte.hu>
197
198 * window.c (set_window_buffer): Don't call clear_mouse_face on tty
199 frames.
200
201 2006-10-14 Karoly Lorentey <lorentey@elte.hu> 183 2006-10-14 Karoly Lorentey <lorentey@elte.hu>
202 184
203 * alloc.c (emacs_blocked_malloc): Disable mallopt call. 185 * alloc.c (emacs_blocked_malloc): Disable mallopt call.
204
205 2006-07-29 Karoly Lorentey <lorentey@elte.hu>
206
207 * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]:
208 Rename from Fmenu_bar_open.
209 (syms_of_xmenu): Update defsubr.
210
211 2006-07-29 Karoly Lorentey <lorentey@elte.hu>
212
213 * xterm.h: Remove declaration for x_fully_uncatch_errors.
214
215 * xterm.c (x_fully_uncatch_errors): Disable definition.
216
217 2006-05-26 Karoly Lorentey <lorentey@elte.hu>
218 186
219 * callproc.c (Vglobal_environment, Vlocal_environment_variables): 187 * callproc.c (Vglobal_environment, Vlocal_environment_variables):
220 Remove. 188 Remove.
221 (getenv_internal, child_setup): Don't look at global-environment 189 (getenv_internal, child_setup): Don't look at global-environment
222 or local-environment-variables. 190 or local-environment-variables.
226 (syms_of_callproc): Remove obsolete defvars. Update docs. 194 (syms_of_callproc): Remove obsolete defvars. Update docs.
227 195
228 * emacs.c (main): Call set_initial_environment, not 196 * emacs.c (main): Call set_initial_environment, not
229 set_global_environment. 197 set_global_environment.
230 198
199 * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation
200 errors.
201
202 * window.c (set_window_buffer): Don't call clear_mouse_face on tty
203 frames.
204
205 * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from
206 Fmenu_bar_open.
207 (syms_of_xmenu): Update defsubr.
208
209 * xterm.c (x_fully_uncatch_errors): Disable definition.
210 (x_scroll_bar_expose): Fix reference to foreground pixel.
211
212 * xterm.h: Remove declaration for x_fully_uncatch_errors.
213
231 2006-05-20 Karoly Lorentey <lorentey@elte.hu> 214 2006-05-20 Karoly Lorentey <lorentey@elte.hu>
232 215
233 * frame.c (make_terminal_frame): Don't create frames on a terminal 216 * frame.c (make_terminal_frame)
234 that is being deleted. 217 * xfns.c (Fx_create_frame, x_create_tip_frame): Don't create
235 * xfns.c (Fx_create_frame, x_create_tip_frame): Ditto. 218 frames on a terminal that is being deleted.
236 219
237 * keyboard.c (tty_read_avail_input): Don't read from a terminal that 220 * keyboard.c (tty_read_avail_input): Don't read from a terminal that
238 is being deleted. 221 is being deleted.
239 222
240 * term.c (Ftty_type): Return nil if terminal is not on a tty instead 223 * term.c (Ftty_type): Return nil if terminal is not on a tty instead
241 of throwing an error. Doc update. 224 of throwing an error. Doc update.
242 225 (init_tty): Set name before calling `get_named_tty'.
243 * term.c (init_tty): Set name before calling `get_named_tty'. 226 (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>:
244
245 * term.c (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>:
246 Doc update. 227 Doc update.
247 228
248 * termhooks.h (terminal) <name>: Explain why identifying terminals 229 * termhooks.h (terminal) <name>: Explain why identifying terminals
249 by name is a bad idea. 230 by name is a bad idea.
250 231
251 * xterm.c (XTread_socket): Disable loop on all X displays. 232 * xterm.c (XTread_socket): Disable loop on all X displays.
252 233 (x_delete_terminal): Don't set terminal->deleted and let
253 * xterm.c (x_delete_display): Doc update to reflect changes in 234 delete_terminal delete the frames on the terminal.
235 (x_delete_display): Doc update to reflect changes in
254 delete_terminal. 236 delete_terminal.
255 237 (x_display_info) <terminal>: Move member earlier in the struct.
256 * xterm.c (x_delete_terminal): Don't set terminal->deleted and let
257 delete_terminal delete the frames on the terminal.
258
259 * xterm.h (x_display_info) <terminal>: Move member earlier in the
260 struct.
261 238
262 2006-05-20 Karoly Lorentey <lorentey@elte.hu> 239 2006-05-20 Karoly Lorentey <lorentey@elte.hu>
263 240
264 * termhooks.h (terminal) <deleted>: New member. 241 * termhooks.h (terminal) <deleted>: New member.
265 242
274 * term.c (Fsuspend_tty): Call clear_tty_hooks. 251 * term.c (Fsuspend_tty): Call clear_tty_hooks.
275 (Fresume_tty, init_tty): Call set_tty_hooks. 252 (Fresume_tty, init_tty): Call set_tty_hooks.
276 (clear_tty_hooks, set_tty_hooks): New functions. 253 (clear_tty_hooks, set_tty_hooks): New functions.
277 254
278 2006-05-20 Karoly Lorentey <lorentey@elte.hu> 255 2006-05-20 Karoly Lorentey <lorentey@elte.hu>
279
280 * xfaces.c (realize_default_face): Don't use FRAME_FONT unless frame
281 is an X frame.
282
283 2006-04-20 Karoly Lorentey <lorentey@elte.hu>
284 256
285 * dispnew.c (Fsend_string_to_terminal): Update call to 257 * dispnew.c (Fsend_string_to_terminal): Update call to
286 `get_tty_terminal'. 258 `get_tty_terminal'.
287 259
288 * term.c (Fsuspend_tty, Fresume_tty): Update call to `get_tty_terminal'. 260 * term.c (Fsuspend_tty, Fresume_tty): Update call to `get_tty_terminal'.
289 (get_tty_terminal): Add throw parameter. 261 (get_tty_terminal): Add throw parameter.
290 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw 262 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw
291 errors on X frames. 263 errors on X frames.
292 264
293 * dispextern.h (get_tty_terminal): Update prototype. 265 * dispextern.h (get_tty_terminal): Update prototype.
266
267 * xfaces.c (realize_default_face): Don't use FRAME_FONT unless frame
268 is an X frame.
294 269
295 2006-04-01 Karoly Lorentey <lorentey@elte.hu> 270 2006-04-01 Karoly Lorentey <lorentey@elte.hu>
296 271
297 * frame.c (make_terminal_frame) 272 * frame.c (make_terminal_frame)
298 * gtkutil.c (xg_create_frame_widgets) 273 * gtkutil.c (xg_create_frame_widgets)