comparison src/ChangeLog.multi-tty @ 83691:64c810d88540

Some more tidying and simplification pending merge.
author Glenn Morris <rgm@gnu.org>
date Tue, 28 Aug 2007 07:10:24 +0000
parents 6ca88c61f592
children 99bcafdf4a57
comparison
equal deleted inserted replaced
83690:6ca88c61f592 83691:64c810d88540
328 * xterm.c (x_free_frame_resources): Ditto. 328 * xterm.c (x_free_frame_resources): Ditto.
329 329
330 2006-03-26 Karoly Lorentey <lorentey@elte.hu> 330 2006-03-26 Karoly Lorentey <lorentey@elte.hu>
331 331
332 * term.c: Include errno.h. 332 * term.c: Include errno.h.
333 (Fcontrolling_tty_p): Compare name with "/dev/tty", not NULL.
334 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate 333 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate
335 if terminal was explicitly opened on the controlling terminal. 334 if terminal was explicitly opened on the controlling terminal.
336 (init_tty): Initialize local pointers. Always set name (use 335 (init_tty): Initialize local pointers. Always set name (use
337 "/dev/tty" for controlling tty.) Remove special case for name == 336 "/dev/tty" for controlling tty.) Remove special case for name ==
338 NULL. 337 NULL.
539 538
540 * dispextern.h: Update declarations and macro definitions. 539 * dispextern.h: Update declarations and macro definitions.
541 540
542 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update. 541 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update.
543 (Fdisplay_tty_type): Rename to `Ftty_type'. 542 (Fdisplay_tty_type): Rename to `Ftty_type'.
544 (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
545 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes) 543 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
546 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty) 544 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
547 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) 545 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
548 (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename. 546 (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.
549 547
1136 (Fterminal_coding_system, Fset_keyboard_coding_system_internal) 1134 (Fterminal_coding_system, Fset_keyboard_coding_system_internal)
1137 (Fkeyboard_coding_system): Add DISPLAY parameter. 1135 (Fkeyboard_coding_system): Add DISPLAY parameter.
1138 1136
1139 * term.c (get_display): Add THROW parameter. 1137 * term.c (get_display): Add THROW parameter.
1140 (get_tty_display, Fdisplay_name, Fdisplay_tty_type) 1138 (get_tty_display, Fdisplay_name, Fdisplay_tty_type)
1141 (Fdisplay_controlling_tty_p, Fdelete_display, Fdisplay_live_p): 1139 (Fdelete_display, Fdisplay_live_p): Update callers.
1142 Update callers.
1143 1140
1144 * xfns.c (check_x_display_info): Ditto. 1141 * xfns.c (check_x_display_info): Ditto.
1145 * frame.c (Fmake_terminal_frame, Fframe_display): Ditto. 1142 * frame.c (Fmake_terminal_frame, Fframe_display): Ditto.
1146 1143
1147 * dispextern.h (get_display): Update prototype. 1144 * dispextern.h (get_display): Update prototype.
1271 * xfns.c (Fx_create_frame): Fix verifying return value of x_get_arg 1268 * xfns.c (Fx_create_frame): Fix verifying return value of x_get_arg
1272 for Qdisplay_id. 1269 for Qdisplay_id.
1273 1270
1274 2004-07-10 Karoly Lorentey <lorentey@elte.hu> 1271 2004-07-10 Karoly Lorentey <lorentey@elte.hu>
1275 1272
1276 * term.c (Fdisplay_controlling_tty_p): New function. 1273 * term.c (Fcontrolling_tty_p): New function.
1277 1274 (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1278 * term.c (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1279 1275
1280 * keyboard.c (Fsuspend_emacs): Give a better error message when 1276 * keyboard.c (Fsuspend_emacs): Give a better error message when
1281 there are multiple open tty devices. 1277 there are multiple open tty devices.
1282 1278 (interrupt_signal): Don't call fatal_error_signal with an extra
1283 2004-07-05 Karoly Lorentey <lorentey@elte.hu> 1279 parameter.
1284
1285 * keyboard.c (interrupt_signal): Don't call fatal_error_signal with
1286 an extra parameter.
1287 1280
1288 2004-07-04 Karoly Lorentey <lorentey@elte.hu> 1281 2004-07-04 Karoly Lorentey <lorentey@elte.hu>
1289 1282
1290 * term.c (get_tty_display): Don't signal an error on the initial frame. 1283 * term.c (get_tty_display): Don't signal an error on the initial frame.
1291 1284
1292 2004-07-04 Karoly Lorentey <lorentey@elte.hu> 1285 2004-07-04 Karoly Lorentey <lorentey@elte.hu>
1293 1286
1294 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes. 1287 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
1295 (Fframe_tty_type): Remove. 1288 (Fframe_tty_type): Remove.
1296 1289
1297 * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type. 1290 * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type.
1298 1291
1299 * frame.c (Qdisplay_id, Qdisplay_live_p): New symbols. 1292 * frame.c (Qdisplay_id, Qdisplay_live_p): New symbols.
1343 1336
1344 2004-06-15 Karoly Lorentey <lorentey@elte.hu> 1337 2004-06-15 Karoly Lorentey <lorentey@elte.hu>
1345 1338
1346 * term.c (Ftty_display_color_cells): Return 0 in case of an error, 1339 * term.c (Ftty_display_color_cells): Return 0 in case of an error,
1347 not nil. 1340 not nil.
1348 1341 (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1349 2004-06-08 Karoly Lorentey <lorentey@elte.hu>
1350
1351 * term.c (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1352 works only on /dev/tty. Adapt the function accordingly. 1342 works only on /dev/tty. Adapt the function accordingly.
1353 1343
1354 2004-06-08 Karoly Lorentey <lorentey@elte.hu> 1344 2004-06-08 Karoly Lorentey <lorentey@elte.hu>
1355 1345
1356 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a 1346 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1357 signal handler; use fatal_error_signal instead. 1347 signal handler; use fatal_error_signal instead.
1358 1348 (command_loop): Clear single_kboard each time Emacs returns to
1359 2004-06-07 Karoly Lorentey <lorentey@elte.hu> 1349 top-level.
1360
1361 * keyboard.c (command_loop): Clear single_kboard each time Emacs
1362 returns to top-level.
1363 1350
1364 2004-06-06 Karoly Lorentey <lorentey@elte.hu> 1351 2004-06-06 Karoly Lorentey <lorentey@elte.hu>
1365 1352
1366 * term.c (encode_terminal_code): Convert to use ANSI prototype 1353 * term.c (encode_terminal_code): Convert to use ANSI prototype syntax.
1367 syntax.
1368 1354
1369 2004-06-05 Karoly Lorentey <lorentey@elte.hu> 1355 2004-06-05 Karoly Lorentey <lorentey@elte.hu>
1370 1356
1371 * dispnew.c (init_display): Always install handler for SIGWINCH. 1357 * dispnew.c (init_display): Always install handler for SIGWINCH.
1372 Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>. 1358 Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>.
1400 (clear_frame, tty_show_cursor, tty_hide_cursor, turn_on_highlight) 1386 (clear_frame, tty_show_cursor, tty_hide_cursor, turn_on_highlight)
1401 (turn_off_highlight, turn_on_insert, turn_off_insert): Use 1387 (turn_off_highlight, turn_on_insert, turn_off_insert): Use
1402 updating_frame instead of selected_frame. 1388 updating_frame instead of selected_frame.
1403 1389
1404 * termchar.h (struct terminal): Rename to struct tty_output. 1390 * termchar.h (struct terminal): Rename to struct tty_output.
1405 Add name, type, input, output, termscript, old_tty, 1391 Add name, type, input, output, termscript, old_tty, term_initted,
1406 term_initted, old_tty_valid, background_pixel, foreground_pixel, 1392 old_tty_valid, background_pixel, foreground_pixel, next fields.
1407 next fields.
1408 (TTY_*): New macros.
1409 (tty_list): New variable. 1393 (tty_list): New variable.
1410 (FRAME_TTY): New function. 1394 (FRAME_TTY): New function.
1411 (CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros. 1395 (TTY_*, CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros.
1412 1396
1413 * term.c (tty_list): New variable. 1397 * term.c (tty_list): New variable.
1414 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF) 1398 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF)
1415 (set_terminal_modes, reset_terminal_modes): Add tty parameter. 1399 (set_terminal_modes, reset_terminal_modes): Add tty parameter.
1416 (cursor_to, raw_cursor_to): Update cmgoto() calls. 1400 (cursor_to, raw_cursor_to): Update cmgoto() calls.
1479 2003-12-24 Karoly Lorentey <lorentey@elte.hu> 1463 2003-12-24 Karoly Lorentey <lorentey@elte.hu>
1480 1464
1481 * termchar.h (struct terminal): New struct. 1465 * termchar.h (struct terminal): New struct.
1482 (must_write_spaces, min_padding_speed, line_ins_del_ok) 1466 (must_write_spaces, min_padding_speed, line_ins_del_ok)
1483 (char_ins_del_ok, scroll_region_ok, scroll_region_cost) 1467 (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
1484 (memory_below_frame, fast_clear_end_of_line): Move to struct 1468 (memory_below_frame, fast_clear_end_of_line): Move to struct terminal.
1485 terminal.
1486 (min_padding_speed, dont_calculate_costs): Comment out (unused). 1469 (min_padding_speed, dont_calculate_costs): Comment out (unused).
1487 1470
1488 * term.c (set_terminal_window, ins_del_lines, calculate_costs) 1471 * term.c (set_terminal_window, ins_del_lines, calculate_costs)
1489 (term_init): Use the accessor macros for terminal characteristics. 1472 (term_init)
1490 * dispnew.c (line_hash_code, line_draw_cost) 1473 * dispnew.c (line_hash_code, line_draw_cost)
1491 (direct_output_for_insert, update_frame_1, scrolling) 1474 (direct_output_for_insert, update_frame_1, scrolling)
1492 (update_frame_line): Ditto. 1475 (update_frame_line):
1493 * scroll.c (calculate_scrolling, calculate_direct_scrolling) 1476 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1494 (scrolling_1, scroll_cost): Ditto. 1477 (scrolling_1, scroll_cost):
1495 * sysdep.c (hft_init): Ditto. 1478 * sysdep.c (hft_init):
1496 * xdisp.c (try_window_id): Ditto. 1479 * xdisp.c (try_window_id):
1497 * xterm.c (x_initialize): Ditto. 1480 * xterm.c (x_initialize): Use the accessor macros for terminal
1481 characteristics.
1498 1482
1499 2004-07-12 Karoly Lorentey <lorentey@elte.hu> 1483 2004-07-12 Karoly Lorentey <lorentey@elte.hu>
1500 1484
1501 * keyboard.c (echo_dash): Do nothing if there already is a dash at 1485 * keyboard.c (echo_dash): Do nothing if there already is a dash at
1502 the end of the echo string. 1486 the end of the echo string.