aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2007-08-22 11:46:14 +0000
committerMiles Bader2007-08-22 11:46:14 +0000
commitaa251046dda67e80ae2d08b04cfeff7c993d89cd (patch)
tree2a1668f936ab372f0190f8b144cd76d2b3bcd759 /src
parent1fb072d1dff954c21d4805196df62c8eeead301c (diff)
downloademacs-aa251046dda67e80ae2d08b04cfeff7c993d89cd.tar.gz
emacs-aa251046dda67e80ae2d08b04cfeff7c993d89cd.zip
Import changelog info from arch logs into ChangeLog.multi-tty files
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-34
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.multi-tty1451
1 files changed, 1448 insertions, 3 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty
index ad5e8bb92d2..099531b928b 100644
--- a/src/ChangeLog.multi-tty
+++ b/src/ChangeLog.multi-tty
@@ -166,10 +166,1455 @@
166 166
167 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. 167 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k.
168 168
1692007-05-12 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> 1692007-04-22 Karoly Lorentey <karoly@lorentey.hu>
170
171 * xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel.
172
1732007-02-24 Karoly Lorentey <karoly@lorentey.hu>
174
175 * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation
176 errors.
177
1782006-12-03 Karoly Lorentey <lorentey@elte.hu>
179
180 * window.c (set_window_buffer): Don't call clear_mouse_face on tty
181 frames.
182
1832006-10-14 Karoly Lorentey <lorentey@elte.hu>
184
185 * puresize.h (BASE_PURESIZE): Increase puresize.
186
187 * alloc.c (emacs_blocked_malloc): Disable mallopt call.
188
1892006-07-30 Karoly Lorentey <lorentey@elte.hu>
190
191 * puresize.h (BASE_PURESIZE): Increase to 1126000.
192
1932006-07-29 Karoly Lorentey <lorentey@elte.hu>
194
195 * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char):
196 Fix get_named_tty calls for the controlling tty.
197 (Patch by Kalle Olavi Niemitalo <kon@iki.fi>)
198
1992006-07-29 Karoly Lorentey <lorentey@elte.hu>
200
201 * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]:
202 Rename from Fmenu_bar_open.
203 (syms_of_xmenu): Update defsubr.
204
2052006-07-29 Karoly Lorentey <lorentey@elte.hu>
206
207 * xterm.h: Remove declaration for x_fully_uncatch_errors.
208
209 * xterm.c (x_fully_uncatch_errors): Disable definition.
210
211 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
212 (internal_condition_case, internal_condition_case_1)
213 (internal_condition_case_2): Don't abort when x_catching_errors.
214
2152006-05-26 Karoly Lorentey <lorentey@elte.hu>
216
217 * callproc.c (Vglobal_environment, Vlocal_environment_variables):
218 Remove.
219 (getenv_internal, child_setup): Don't look at global-environment
220 or local-environment-variables.
221 (Fgetenv_internal): Update docs.
222 (set_initial_environment): Rename from set_global_environment.
223 Store Emacs environment in initial frame parameter.
224 (syms_of_callproc): Remove obsolete defvars. Update docs.
225
226 * emacs.c (main): Call set_initial_environment, not
227 set_global_environment.
228
2292006-05-20 Karoly Lorentey <lorentey@elte.hu>
230
231 * frame.c (make_terminal_frame): Don't create frames on a terminal
232 that is being deleted.
233 * xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
234
235 * keyboard.c (tty_read_avail_input): Don't read from a terminal that
236 is being deleted.
237
238 * term.c (get_named_tty): Abort if tty name is NULL. Simplify
239 accordingly.
240
241 * term.c (Ftty_type): Return nil if terminal is not on a tty instead
242 of throwing an error. Doc update.
243
244 * term.c (init_tty): Set name before calling `get_named_tty'.
245
246 * term.c (delete_tty): Let delete_terminal delete the frames. Plug
247 memory leak caused by tty->name. Remove reference to `deleting_tty'.
248
249 * term.c (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>:
250 Doc update.
251
252 * termhooks.h (terminal) <name>: Explain why identifying terminals
253 by name is a bad idea.
254
255 * terminal.c (delete_terminal): Doc update.
256
257 * xterm.c (XTread_socket): Disable loop on all X displays.
258
259 * xterm.c (x_delete_display): Doc update to reflect changes in
260 delete_terminal.
261
262 * xterm.c (x_delete_terminal): Don't set terminal->deleted and let
263 delete_terminal delete the frames on the terminal.
264
265 * xterm.h (x_display_info) <terminal>: Move member earlier in the
266 struct.
267
2682006-05-20 Karoly Lorentey <lorentey@elte.hu>
269
270 * termhooks.h (terminal) <deleted>: New member.
271
272 * term.c (delete_tty): Use it.
273 (deleting_tty): Remove old variable.
274
275 * terminal.c (delete_terminal): Use terminal->deleted.
276
277 * xterm.c (x_delete_terminal): Use terminal->deleted. Delete all
278 frames on the display explicitly.
279
2802006-05-20 Karoly Lorentey <lorentey@elte.hu>
281
282 * term.c (Fsuspend_tty): Call clear_tty_hooks.
283 (Fresume_tty, init_tty): Call set_tty_hooks.
284 (clear_tty_hooks, set_tty_hooks): New functions.
285
2862006-05-20 Karoly Lorentey <lorentey@elte.hu>
287
288 * puresize.h (BASE_PURESIZE): Increase to 1240000.
289
2902006-05-20 Karoly Lorentey <lorentey@elte.hu>
291
292 * xfaces.c (realize_default_face): Don't use FRAME_FONT unless frame
293 is an X frame.
294
2952006-04-20 Karoly Lorentey <lorentey@elte.hu>
296
297 * dispnew.c (Fsend_string_to_terminal): Update call to
298 `get_tty_terminal'.
299
300 * term.c (Fsuspend_tty, Fresume_tty): Update call to
301 `get_tty_terminal'.
302 (get_tty_terminal): Add throw parameter.
303 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw
304 errors on X frames.
305
306 * dispextern.h (get_tty_terminal): Update prototype.
307
3082006-04-01 Karoly Lorentey <lorentey@elte.hu>
309
310 * frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and
311 FRAME_FOREGROUND_PIXEL.
312 * gtkutil.c (xg_create_frame_widgets): Ditto.
313 * macfns.c (x_set_mouse_color): Ditto.
314 * macfns.c (x_make_gc): Ditto.
315 * msdos.c (ScreenVisualBell): Ditto.
316 * msdos.c (internal_terminal_init): Ditto.
317 * w32term.c (x_free_frame_resources): Ditto.
318 * xfns.c (x_window): Ditto.
319 * xterm.c (x_scroll_bar_create): Ditto.
320 * xterm.c (x_scroll_bar_set_handle): Ditto.
321
3222006-04-01 Karoly Lorentey <lorentey@elte.hu>
323
324 * xterm.h (x_output): Remove background_pixel and foreground_pixel
325 fields.
326
327 * widget.c (update_from_various_frame_slots): Use
328 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
329
330 * xfns.c (x_set_foreground_color): Ditto.
331 * xfns.c (x_set_background_color): Ditto.
332 * xfns.c (x_set_mouse_color): Ditto.
333 * xfns.c (x_set_cursor_color): Ditto.
334 * xfns.c (x_make_gc): Ditto.
335 * xfns.c (Fx_create_frame): Ditto.
336 * xfns.c (x_create_tip_frame): Ditto.
337 * xfns.c (build_string): Ditto.
338 * xterm.c (XTflash): Ditto.
339 * xterm.c (x_free_frame_resources): Ditto.
340
3412006-03-26 Karoly Lorentey <lorentey@elte.hu>
342
343 * term.c: Include errno.h.
344 (Fcontrolling_tty_p): Compare name with "/dev/tty", not NULL.
345 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate
346 if terminal was explicitly opened on the controlling terminal.
347 (init_tty): Initialize local pointers. Always set name (use
348 "/dev/tty" for controlling tty.) Remove special case for name ==
349 NULL.
350
3512006-03-26 Karoly Lorentey <lorentey@elte.hu>
352
353 * frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.
354
3552006-03-12 Karoly Lorentey <lorentey@elte.hu>
356
357 * xfns.c (x_create_tip_frame): Fix syntax error.
358
3592006-03-12 Karoly Lorentey <lorentey@elte.hu>
360
361 * xfns.c (Fx_create_frame): Use `store_frame_param' to set
362 `window-system' frame parameter, and make sure it overrides any
363 user-supplied setting.
364
365 * xfns.c (x_icon): Disable redundant call to
366 `x_wm_set_window_state'. (Also applied in CVS.)
367
3682006-03-08 Karoly Lorentey <lorentey@elte.hu>
369
370 * frame.c (Fmake_terminal_frame): Handle NULL tty names correctly.
371
3722006-03-08 Karoly Lorentey <lorentey@elte.hu>
373
374 * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of
375 Vwindow_system.
376
3772006-02-25 Karoly Lorentey <lorentey@elte.hu>
378
379 * keyboard.c (read_key_sequence): Remove unused variable
380 wrong_kboard_jmpbuf.
381
3822006-02-25 Karoly Lorentey <lorentey@elte.hu>
383
384 * frame.c (store_frame_param): Check for found_for_frame before
385 calling XFRAME.
386
3872006-02-23 Karoly Lorentey <lorentey@elte.hu>
388
389 * puresize.h (BASE_PURESIZE): Increase to 1230000.
390
3912006-02-20 Karoly Lorentey <lorentey@elte.hu>
392
393 * regex.c (extend_range_table_work_area, regex_compile, fastmap):
394 Revert previous unnecessary changes.
395
3962006-02-14 Karoly Lorentey <lorentey@elte.hu>
397
398 * keyboard.c (Fset_quit_char): Don't leave tty state uninitialized
399 after an error.
400
4012006-02-12 Karoly Lorentey <lorentey@elte.hu>
402
403 * xterm.c (x_catch_errors_unwind): Abort if x_error_message is NULL.
404
4052006-01-30 Karoly Lorentey <lorentey@elte.hu>
406
407 * callproc.c (getenv_internal): Fix C99ism.
408
4092006-01-28 Karoly Lorentey <lorentey@elte.hu>
410
411 * keyboard.c (read_char): Declare. Update call to
412 `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf correctly in
413 recursive calls.
414 (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf
415 parameter. Use it in call to `read_char'.
416
4172006-01-17 Karoly Lorentey <lorentey@elte.hu>
418
419 * Makefile.in (SOME_MACHINE_LISP): Fix typo.
420
4212006-01-11 Karoly Lorentey <lorentey@elte.hu>
422
423 * process.c (Fmake_network_process): Don't unrequest_sigio on modern
424 systems.
425
426 * keyboard.c (Fset_input_interrupt_mode): Cosmetic change.
427
428 * sysdep.c (request_sigio): Make it a no-op if noninteractive.
429 (unrequest_sigio): Make it a no-op if noninteractive.
430
4312006-01-05 Karoly Lorentey <lorentey@elte.hu>
432
433 * keyboard.c (read_char): Enhance comment before extra longjmp to
434 wrong_kboard_jmpbuf.
435 (read_key_sequence): Handle deleted interrupted_kboards correctly; that
436 is a legal case.
437
4382006-01-03 Karoly Lorentey <lorentey@elte.hu>
439
440 * callint.c (Fcall_interactively): Update call to
441 `temporarily_switch_to_single_kboard'.
442
443 * fns.c (Fy_or_n_p): Ditto.
444
445 * frame.c (Fdelete_frame): Remove unused variable `count'.
446
447 * keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
448
449 * keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
450 for recursive calls. Update longjmp invocations. Remember the
451 original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
452 filter, timer or sentinel changes it. Comment out unnecessary calls to
453 `record_single_kboard_state' and `any_kboard_state'. Update recursive
454 calls.
455
456 * keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
457 variable. Update setjmp and read_char calls. Abort if
458 interrupted_kboard died in read_char.
459
460 * keyboard.c (any_kboard_state, single_kboard_state)
461 (record_single_kboard_state): Comment out obsolete functions.
462 (push_frame_kboard): Remove function.
463 (pop_kboard): Switch out of single_kboard mode if the
464 kboard has been deleted.
465 (temporarily_switch_to_single_kboard): Change first
466 parameter to a frame pointer. Throw an error when caller wants to
467 change kboards while in single_kboard mode.
468 (restore_kboard_configuration): Abort if pop_kboard changed
469 the kboard in single_kboard mode.
470 (Frecursive_edit): Switch to single_kboard mode only in
471 nested command loops.
472 (cmd_error, command_loop, command_loop_1, timer_check):
473 Comment out unnecessary call to `any_kboard_state' and
474 `record_single_kboard_state'.
475
476 * keyboard.c (delete_kboard): Exit single_kboard mode if we have just
477 deleted that kboard.
478
479 * keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
480 `fatal_error_signal'.
481
482 * keyboard.h (read_char, single_kboard_state)
483 (record_single_kboard_state): Remove.
484 (temporarily_switch_to_single_kboard): Update.
485
486 * lread.c: Include setjmp.h. Update declaration of `read_char'.
487 (read_filtered_event): Call `read_char' with a local
488 `wrong_kboard_jmpbuf'.
489
490 * minibuf.c (read_minibuf): Update call to
491 `temporarily_switch_to_single_kboard'.
492
493 * termchar.h (tty_display_info): Rename `previous_terminal_frame'
494 member to `previous_frame'.
495
496 * xdisp.c (redisplay_internal): Update references to
497 `previous_terminal_frame'.
498 (display_mode_line, Fformat_mode_line): Replace calls to
499 `push_frame_kboard' with `push_kboard'.
500
5012006-01-02 Karoly Lorentey <lorentey@elte.hu>
502
503 * keyboard.c (pop_kboard): Help debugging by not changing
504 current_kboard unnecessarily.
505 (temporarily_switch_to_single_kboard, record_single_kboard_state):
506 Don't push_kboard if we weren't in single kboard state.
507 Don't pop_kboard if we popped into any kboard state.
508
5092006-01-01 Karoly Lorentey <lorentey@elte.hu>
510
511 * xfns.c (Fx_close_connection, Fx_synchronize): Unify argument names
512 with the rest of the DEFUNs.
513
5142005-12-31 Karoly Lorentey <lorentey@elte.hu>
515
516 * frame.c (Fframe_with_environment): Fix typo.
517
5182005-12-31 Karoly Lorentey <lorentey@elte.hu>
519
520 * terminal.c: Include <stdio.h>.
521
5222005-12-30 Karoly Lorentey <lorentey@elte.hu>
523
524 * xdisp.c (get_glyph_string_clip_rects): Add extra parentheses and
525 braces to prevent compiler warnings.
526 (calc_pixel_width_or_height): Add xassert to check that the
527 frame is alive. Don't call `lookup_image' on a termcap frame.
528
529 * image.c (lookup_image): Don't initialize `c' until the xasserts
530 have been run.
531
5322005-12-29 Karoly Lorentey <lorentey@elte.hu>
533
534 * callproc.c (syms_of_callproc): Initialize
535 `Vlocal-environment-variables' to `Qt'.
536
5372005-12-29 Karoly Lorentey <lorentey@elte.hu>
538
539 * termhooks.h (struct device): Rename to `terminal'. Rename member
540 `next_device' to `next_terminal'.
541 (device_list): Rename to `terminal_list'.
542 (FRAME_DEVICE): Rename to `FRAME_TERMINAL'.
543 (DEVICE_TERMINAL_CODING): Rename to `TERMINAL_TERMINAL_CODING'.
544 (TERMINAL_KEYBOARD_CODING): Rename to `TERMINAL_KEYBOARD_CODING'.
545 (DEVICE_ACTIVE_P): Rename to `TERMINAL_ACTIVE_P'.
546 Update declarations and macro definitions.
547
548 * termchar.h (tty_display_info): Rename member `device' to `terminal'.
549 (FRAME_TTY): Update for renames.
550
551 * xterm.h (x_display_info): Rename member `device' to `terminal'.
552
553 * frame.h (frame): Rename `device' member to `terminal'.
554 (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p):
555 Update for renames.
556
557 * lisp.h (set_process_environment): Rename to `set_global_environment'.
558 (device): Rename to `terminal'.
559
560 * dispextern.h: Update declarations and macro definitions.
561
562 * terminal.c (device_list): Rename to `terminal_list'.
563 (next_device_id): Rename to `next_terminal_id'.
564 (initial_device): Rename to `initial_terminal'.
565 (get_device): Rename to `get_terminal'.
566 (create_device): Rename to `create_terminal'.
567 (mark_devices): Rename to `mark_terminals'.
568 (delete_device): Rename to `delete_terminal'.
569 (Fdelete_display): Rename to `Fdelete_terminal'.
570 (Fframe_terminal): Move here from frame.c.
571 (Fdisplay_live_p): Rename to `Fterminal_live_p'.
572 (Fdisplay_list): Rename to `Fterminal_list'.
573 (Fdisplay_name): Rename to `Fterminal_name'.
574 (init_initial_device): Rename to `init_initial_terminal'.
575 (delete_initial_device): Rename to `delete_initial_terminal'.
576 (ring_bell, update_begin, update_end, set_terminal_window)
577 (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
578 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
579 (ins_del_lines, get_terminal_param, store_terminal_param)
580 (Fterminal_parameters, Fterminal_parameter)
581 (Fmodify_terminal_parameters, Fset_terminal_parameter)
582 (syms_of_terminal): Update for renames.
583
584 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update.
585 (Fdisplay_tty_type): Rename to `Ftty_type'.
586 (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
587 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
588 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
589 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
590 (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.
591
592 * frame.c (Qdevice): Rename to `Qterminal'.
593 (Qdisplay_live_p): Rename to `Qterminal_live_p'.
594 (terminal_frame_count): Rename to `tty_frame_count'.
595 (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
596 (make_frame_without_minibuffer, make_initial_frame)
597 (make_terminal_frame, Fmodify_frame_parameters)
598 (do_switch_frame, Fdelete_frame, Fmouse_position)
599 (Fmouse_pixel_position, Fraise_frame, Flower_frame)
600 (Fredirect_frame_focus, set_term_frame_name, syms_of_frame):
601 Update for renames.
602
603 * xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
604 (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
605 (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
606 (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
607 (Fx_display_pixel_width, Fx_display_pixel_height)
608 (Fx_display_planes, Fx_display_color_cells)
609 (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
610 (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
611 (Fx_display_backing_store, Fx_display_visual_class)
612 (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
613 Update for renames.
614
615 * xterm.c (handle_one_xevent): Initialize `f' to NULL.
616 (x_delete_device): Rename to `x_delete_terminal'.
617 (x_create_device): Rename to `x_create_terminal'.
618 (XTset_terminal_modes, XTreset_terminal_modes)
619 (XTread_socket, x_connection_closed, x_term_init)
620 (x_term_init, x_delete_display): Update for renames.
621
622 * dispnew.c (Fredraw_frame, Fsend_string_to_terminal)
623 (Fsend_string_to_terminal, init_display): Update for renames.
624
625 * keyboard.c (push_frame_kboard, pop_kboard, pop_kboard)
626 (kbd_buffer_get_event, read_avail_input, tty_read_avail_input)
627 (interrupt_signal, Fset_output_flow_control)
628 (Fset_input_meta_mode, Fset_quit_char, delete_kboard)
629 (syms_of_keyboard): Update for renames.
630
631 * alloc.c (mark_devices): Update declaration.
632 (Fgarbage_collect): Update for renames.
633
634 * coding.c (Fset_terminal_coding_system_internal)
635 (Fterminal_coding_system4)
636 (Fset_keyboard_coding_system_internal)
637 (Fkeyboard_coding_system): Update for renames.
638
639 * data.c (Fterminal_local_value, Fset_terminal_local_value):
640 Update for renames.
641
642 * minibuf.c (read_minibuf): Update for renames.
643
644 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
645
646 * xselect.c (x_handle_selection_clear): Update for renames.
647
6482005-12-29 Karoly Lorentey <lorentey@elte.hu>
649
650 * callproc.c (Fgetenv_internal, syms_of_callproc): Update doc strings.
651
6522005-12-29 Karoly Lorentey <lorentey@elte.hu>
653
654 * callproc.c (child_setup, getenv_internal, Fgetenv_internal):
655 Store the local environment in a frame (not terminal) parameter.
656 Update doc strings.
657 (syms_of_callproc): Update doc strings.
658 (Qenvironment): Moved to frame.c.
659
660 * frame.c (Qenvironment): Move here from callproc.c.
661 (Fdelete_frame): Don't allow other frames to refer to a deleted frame
662 in their 'environment parameter.
663 (Fframe_with_environment): New function.
664 (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment.
665
666 * frame.h (Qenvironment): Declare.
667 * lisp.h (Fframe_with_environment): EXFUN it.
668
6692005-12-29 Karoly Lorentey <lorentey@elte.hu>
670
671 * callproc.c (syms_of_callproc): Initialize Vprocess_environment
672 to nil.
673
6742005-12-29 Karoly Lorentey <lorentey@elte.hu>
675
676 * callproc.c (Vglobal_environment): New variable, taking over the
677 previous role of `Vprocess_environment', which is now something else.
678 (add_env): New function.
679 (child_setup): Use it.
680 (child_setup, getenv_internal): Rename Vprocess_environment to
681 Vglobal_environment. Handle the new Vprocess_environment.
682 (Fgetenv_internal, egetenv): Update doc.
683 (set_process_environment): Rename to `set_global_environment'. Rename
684 Vprocess_environment to Vglobal_environment.
685 (syms_of_callproc): Rename process-environment to global-environment,
686 add new process-environment, update docs.
687
688 * emacs.c (main): Call set_global_environment instead of
689 set_process_environment.
690
691 * fileio.c (Fread_file_name): Update comment.
692
6932005-12-26 Karoly Lorentey <lorentey@elte.hu>
694
695 * callproc.c (getenv_internal): Fix get_terminal_param call.
696
697 * dispextern.h (get_device): Move declaration to termhooks.h.
698 * termhooks.h (get_device): Move here.
699
7002005-12-26 Karoly Lorentey <lorentey@elte.hu>
701
702 * callproc.c: Include frame.h and termhooks.h, for terminal parameters.
703 (Qenvironment): New constant.
704 (Vlocal_environment_variables): New variable.
705 (syms_of_callproc): Register and initialize them.
706 (child_setup): Handle Vlocal_environment_variables.
707 (getenv_internal): Add terminal parameter. Handle
708 Vlocal_environment_variables.
709 (Fgetenv_internal): Add terminal parameter.
710
711 * termhooks.h (get_terminal_param): Declare.
712
713 * Makefile.in (callproc.o): Update dependencies.
714
7152005-12-25 Karoly Lorentey <lorentey@elte.hu>
716
717 * term.c (Vring_bell_function, device_list, initial_device)
718 (next_device_id, ring_bell, update_begin, update_end)
719 (set_terminal_window, cursor_to, raw_cursor_to)
720 (clear_to_end, clear_frame, clear_end_of_line)
721 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
722 (get_device, Fdisplay_name, create_device, delete_device)
723 (Fdelete_display, Fdisplay_live_p, Fdisplay_list)
724 Move to terminal.c.
725 (syms_of_term): Move their initialization to terminal.c.
726
727 * terminal.c: New file.
728 (device_list, next_device_id, initial_device, Vring_bell_function)
729 (ring_bell, update_begin, update_end, set_terminal_window)
730 (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
731 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
732 (ins_del_lines, get_device, create_device, delete_device)
733 (Fdelete_display, Fdisplay_live_p, Fdisplay_list, Fdisplay_name):
734 Move here.
735 (mark_devices, get_terminal_param, store_terminal_param)
736 (Fterminal_parameters, Fterminal_parameter)
737 (Fmodify_terminal_parameters, Fset_terminal_parameter)
738 (init_initial_device, delete_initial_device)
739 (syms_of_terminal): New functions.
740
741 * Makefile.in (obj): Add terminal.o.
742 (terminal.o): Add dependencies.
743 [HAVE_CARBON]: Make terminal.o depend on macgui.h.
744
745 * alloc.c (mark_devices): Declare.
746 (Fgarbage_collect): Call `mark_devices'.
747
748 * dispextern.h (set_scroll_region, turn_off_insert)
749 (turn_off_highlight, background_highlight, clear_end_of_line_raw)
750 (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove.
751 (raw_cursor_to, clear_to_end, tty_turn_off_insert)
752 (tty_turn_off_highlight): Add declaration.
753
754 * emacs.c (main): Call `syms_of_terminal'.
755
756 * frame.c (get_future_frame_param): New function.
757 (Fmake_terminal_frame): Use it.
758
759 * keyboard.c (pop_kboard): Remove unused variable.
760 (Fset_output_flow_control): Return nil.
761
762 * keymap.h (Fset_keymap_parent): Add EXFUN.
763
764 * lisp.h (syms_of_terminal): Declare it.
765
766 * sysdep.c (reset_sys_modes): Update for renames.
767
768 * term.c (set_scroll_region): Rename to `tty_set_scroll_region'.
769 (turn_on_insert): Rename to `tty_turn_on_insert'.
770 (turn_off_insert): Rename to `tty_turn_off_insert'.
771 (turn_off_highlight): Rename to `tty_turn_off_highlight'.
772 (turn_on_highlight): Rename to `tty_turn_on_highlight'.
773 (toggle_highligh): Rename to `tty_toggle_highlight'.
774 (background_highlight): Rename to `tty_background_highlight'.
775 (highlight_if_desired): Rename to `tty_highlight_if_desired'.
776
777 (tty_ring_bell, tty_update_end, tty_set_terminal_window)
778 (tty_set_scroll_region, tty_background_highlight)
779 (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end)
780 (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs)
781 (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines)
782 (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty)
783 (delete_tty): Add static modifier.
784
785 (tty_reset_terminal_modes, tty_set_terminal_window)
786 (tty_set_scroll_region, tty_background_highlight)
787 (tty_highlight_if_desired, tty_cursor_to)
788 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame)
789 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs)
790 (tty_delete_glyphs, tty_ins_del_lines, turn_on_face):
791 Update for renames.
792
793 * termhooks.h (param_alist): New member to struct device.
794
795 * xterm.h (x_delete_device): Declare.
796
7972005-12-23 Karoly Lorentey <lorentey@elte.hu>
798
799 * keyboard.c (Fset_input_interrupt_mode): Fix compilation error
800 during non-X builds.
801
8022005-12-23 Karoly Lorentey <lorentey@elte.hu>
803
804 * print.c (print_preprocess): Don't loose print_depth levels while
805 iterating.
806
8072005-12-23 Karoly Lorentey <lorentey@elte.hu>
808
809 * keyboard.c (Fset_input_interrupt_mode, Fset_output_flow_control)
810 (syms_of_keyboard): Defsubr them.
811 (Fset_input_meta_mode, Fset_quit_char): New functions.
812 (Fset_input_mode): Split to above functions.
813
814 * lisp.h: EXFUN the new functions.
815
816 * xterm.c (x_initialize): Use Fset_input_interrupt_mode.
817 * macterm.c (mac_initialize): Ditto.
818
8192005-12-22 Karoly Lorentey <lorentey@elte.hu>
820
821 * term.c (suspend-tty): Update doc string.
822
8232005-12-19 Karoly Lorentey <lorentey@elte.hu>
824
825 * dispnew.c (window_change_signal): Fix typo.
826
8272005-12-13 Karoly Lorentey <lorentey@elte.hu>
828
829 * dispnew.c (window_change_signal): Don't believe width/height values
830 that are impossibly small.
831
8322005-12-12 Karoly Lorentey <lorentey@elte.hu>
833
834 * xterm.c (x_term_init) [!HAVE_GTK_MULTIDISPLAY]:
835 Refuse to create secondary X connections.
836
8372005-12-12 Karoly Lorentey <lorentey@elte.hu>
838
839 * keyboard.c (kbd_buffer_store_event_hold): Simplify condition.
840 (read_key_sequence): Reinitialize fkey and keytran at each replay.
841
842 * coding.c (Fkeyboard_coding_system): Update doc.
843
8442005-11-19 Karoly Lorentey <lorentey@elte.hu>
845
846 * puresize.h (BASE_PURESIZE): Increase to 1220000.
847
8482005-11-07 Karoly Lorentey <lorentey@elte.hu>
849
850 * puresize.h (BASE_PURESIZE): Increase to 1210000.
851
8522005-11-07 Karoly Lorentey <lorentey@elte.hu>
853
854 * data.c (do_symval_forwarding, store_symval_forwarding)
855 (find_symbol_value): Use the selected frame's keyboard, not
856 current_kboard.
857
858 * data.c (Fterminal_local_value, Fset_terminal_local_value): Disable
859 these functions.
860
861 * data.c (syms_of_data): Don't defsubr them.
862
8632005-10-29 Karoly Lorentey <lorentey@elte.hu>
864
865 * keyboard.c (mark_kboards): Also mark Vkeyboard_translate_table.
866
8672005-10-28 Karoly Lorentey <lorentey@elte.hu>
868
869 * keyboard.c (Vkeyboard_translate_table): Moved to struct kboard.
870 * keyboard.h (Vkeyboard_translate_table): Moved to struct kboard.
871
872 * keyboard.c (read_char): Use current_kboard to access
873 Vkeyboard_translate_table.
874 * keymap.c (Fdescribe_buffer_bindings): Ditto.
875
876 * keyboard.c (init_kboard): Initialize Vkeyboard_translate_table.
877
878 * keyboard.c (syms_of_keyboard): Use DEFVAR_KBOARD to define
879 Vkeyboard_translate_table. Update doc strings.
880
8812005-10-28 Karoly Lorentey <lorentey@elte.hu>
882
883 * keyboard.c (syms_of_keyboard): Update docs of
884 local-function-key-map and function-key-map.
885
8862005-10-23 Karoly Lorentey <lorentey@elte.hu>
887
888 * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Change address to the
889 multi-tty mailing list.
890
8912005-09-19 Karoly Lorentey <lorentey@elte.hu>
892
893 * term.c (tty_set_terminal_modes): Output newlines on the correct
894 terminal device.
895
8962005-09-11 Karoly Lorentey <lorentey@elte.hu>
897
898 * keyboard.c (pop_kboard): Set current_kboard to the kboard of the
899 selected frame when the stored kboard object has been deleted before
900 pop_kboard.
901 (restore_kboard_configuration): Call pop_kboard only after setting up
902 single_kboard mode.
903
9042005-09-11 Karoly Lorentey <lorentey@elte.hu>
905
906 * keyboard.c: Add forward declaration of restore_kboard_configuration.
907
908 emacs--multi-tty--0--patch-414
909
910 * fns.c: Include termhooks.h.
911 (Fy_or_n_p): Use temporarily_switch_to_single_kboard to prevent crashes
912 caused by bogus longjmps in read_char.
913
914 * callint.c (Fcall_interactively): Use
915 temporarily_switch_to_single_kboard instead of single_kboard_state.
916 Make sure it is correctly unwinded.
917
918 * keyboard.c (recursive_edit_unwind): Remove single_kboard stuff.
919 (Frecursive_edit): Use temporarily_switch_to_single_kboard for
920 single_kboard state management.
921
922 * minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard
923 instead of simply calling single_kboard_state.
924
925 * keyboard.c (push_device_kboard): Remove function.
926 (push_kboard): New function.
927 (push_frame_kboard): Use it.
928 (pop_frame_kboard): Rename to pop_kboard.
929
930 * xdisp.c (display_mode_line, Fformat_mode_line): Update uses.
931
932 * data.c: Include termhooks.h.
933 (Fterminal_local_value, Fset_terminal_local_value): Update.
934
935 * Makefile.in (data.o, fns.o): Add termhooks.h dependency.
936
937 * keyboard.h (push_device_kboard, pop_frame_kboard): Remove
938 declarations.
939 (push_kboard, pop_kboard, temporarily_switch_to_single_kboard)
940 (record_single_kboard_state): New declarations.
941
9422005-09-11 Karoly Lorentey <lorentey@elte.hu>
943
944 * dispextern.h (get_tty_device): Declare.
945
946 * dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL
947 parameter.
948
949 * fns.c (Fy_or_n_p, Fyes_or_no_p): Don't try to open an X dialog on
950 tty terminals.
951
952 * term.c (get_tty_device): Remove static qualifier.
953
954 * xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
955 (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
956 (update_frame_menubar, x_activate_menubar, xdialog_show, xmenu_show):
957 Abort when given a non-X frame.
958
959 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Throw an error when run
960 on a non-X frame.
961
9622005-09-07 Karoly Lorentey <lorentey@elte.hu>
963
964 * dispnew.c (init_display): Set up `window-system' and `tty-type'
965 frame parameters in the initial tty frame.
966
967 * frame.c (Fmake_terminal_frame): Look up the `tty-type' frame
968 parameter, not `tty' when discovering the tty type of the new frame.
969 Initialize `tty' and `tty-type' frame parameters in the new frame.
970
9712005-08-04 Karoly Lorentey <lorentey@elte.hu>
972
973 * window.c (window_internal_height): Remove bogus make_number call.
974
9752005-08-04 Karoly Lorentey <lorentey@elte.hu>
976
977 * xsmfns.c (x_session_close): New function.
978 * xterm.h: Declare it.
979
980 * xterm.c (XTread_socket): Don't call x_session_check_input for
981 secondary displays.
982 (x_term_init): Do not initialize X session management when the
983 initial display was a tty frame.
984 (x_delete_display): Close X session management when we close its
985 display.
986
9872005-07-12 Karoly Lorentey <lorentey@elte.hu>
988
989 * keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to
990 'Vlocal_function_key_map', and 'Vkey_translation_map' to
991 'Vlocal_key_translation_map'.
992 (Vfunction_key_map, Vkey_translation_map): New declarations.
993
994 * keyboard.c (Vfunction_key_map): New variable.
995 (Vglobal_key_translation_map): Rename to
996 Vglobal_key_translation_map.
997 (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards):
998 Update.
999
1000 * keymap.c (Fdescribe_buffer_bindings): Update.
1001 * term.c (term_get_fkeys_1): Update.
1002
1003
10042005-07-11 Karoly Lorentey <lorentey@elte.hu>
1005
1006 * xdisp.c (select_frame_for_redisplay): Fix xassert.
1007
10082005-07-11 Karoly Lorentey <lorentey@elte.hu>
1009
1010 * termhooks.h (struct device): Rename to `struct device'.
1011 Rename member `next_display' to `next_device'.
1012 Rename member `delete_display_hook' to `delete_device_hook'.
1013 (FRAME_DISPLAY): Rename to FRAME_DEVICE.
1014 (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P.
1015 (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING.
1016 (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING.
1017
1018 * frame.h (stuct frame): Rename `display' member to `device'.
1019
1020 * xterm.h (x_display_info): Rename member `frame_display' to `device'.
1021
1022 * termchar.h (struct tty_display_info): Rename `display' member to
1023 `device'.
1024
1025 * keyboard.c (push_display_kboard): Rename to push_device_kboard.
1026
1027 * frame.c (Fmake_terminal_frame): Ditto.
1028 * xfns.c (Fx_create_frame): Ditto.
1029
1030 * term.c (display_list): Rename to device_list.
1031 * term.c (initial_display): Rename to initial_device.
1032 * term.c (next_display_id): Rename to next_device_id.
1033 * term.c (get_display): Rename to get_device.
1034 * term.c (get_tty_display): Rename to get_tty_device.
1035 * term.c (get_named_tty_display): Rename to get_named_tty.
1036 * term.c (init_initial_display): Rename to init_initial_device.
1037 * term.c (delete_initial_display): Rename to delete_initial_device.
1038 * term.c (create_display): Rename to create_device.
1039 * term.c (delete_display): Rename to delete_device.
1040
1041 * xfns.c (check_x_display_info): Document that the function allows
1042 display ids as well.
1043
1044 * xterm.c (x_delete_frame_display): Rename to x_delete_device.
1045 * xterm.c (x_create_frame_display): Rename to x_create_device.
1046
1047 * coding.c: Update.
1048 * dispextern.h: Update.
1049 * data.c: Update.
1050 * dispnew.c: Update.
1051 * frame.c: Update.
1052 * frame.h: Update.
1053 * keyboard.c: Update.
1054 * keyboard.h: Update.
1055 * lisp.h: Update.
1056 * sysdep.c: Update.
1057 * term.c: Update.
1058 * xdisp.c: Update.
1059 * xselect.c: Update.
1060 * xterm.c: Update.
1061
1062 * prefix-args.c: Include stdlib.h for exit.
1063
10642005-07-10 Karoly Lorentey <lorentey@elte.hu>
1065
1066 * term.c (term_init): Rename to init_tty.
1067
1068 * dispextern.h (term_init): Rename to init_tty.
1069
1070 * dispnew.c (init_display): Update.
1071 * frame.c (Fmake_terminal_frame): Update.
1072 * term.c (tty_setup_colors): Update comment.
1073
10742005-07-10 Karoly Lorentey <lorentey@elte.hu>
1075
1076 * xdisp.c (select_frame_for_redisplay): Add xassert for
1077 FRAME_LIVE_P.
1078 (unwind_redisplay): Don't restore previous frame if it has been
1079 deleted.
1080
10812005-07-10 Karoly Lorentey <lorentey@elte.hu>
1082
1083 * term.c (term_init): Move maybe_fatal declaration to top-level to
1084 prevent complaints from GCC 4.0.
1085
10862005-07-06 Karoly Lorentey <lorentey@elte.hu>
1087
1088 * frame.c (syms_of_frame): Add warning to `delete-frame-functions' description.
1089
10902005-07-03 Karoly Lorentey <lorentey@elte.hu>
1091
1092 * term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Flush
1093 tty output before returning.
1094
1095 * sysdep.c (reset_sys_modes): Remove superflous fflush call.
1096
10972005-06-27 Karoly Lorentey <lorentey@elte.hu>
1098
1099 * data.c (Fterminal_local_value, Fset_terminal_local_value): New functions.
1100 (syms_of_data): Defsubr them.
1101
1102 * keyboard.c (syms_of_keyboard): Expand docs of terminal-local
1103 variables to warn about their random bindings.
1104
11052005-06-27 Karoly Lorentey <lorentey@elte.hu>
1106
1107 * keyboard.c (push_display_kboard): New function.
1108 * keyboard.h (push_display_kboard): Declare it.
1109
11102005-06-27 Karoly Lorentey <lorentey@elte.hu>
1111
1112 * termhooks.h (display): New field: kboard.
1113
1114 * xterm.h (x_display_info): Remove kboard field.
1115 * termchar.h (tty_display_info): Ditto.
1116 * frame.h (frame): Ditto.
1117 (FRAME_KBOARD): Update.
1118
1119 * dispnew.c (init_display): Don't initialize kboard.
1120 * frame.c (make_frame, make_initial_frame, make_terminal_frame): Ditto.
1121
1122 * frame.c (make_frame_without_minibuffer, Fdelete_frame): Update
1123 kboard access.
1124 * keyboard.c (delete_kboard): Ditto.
1125 * term.c (term_init): Ditto.
1126 * xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
1127 * xselect.c (x_handle_selection_clear): Ditto.
1128 * xterm.c (x_term_init): Ditto.
1129
1130 * term.c (init_initial_display): Initialize kboard.
1131 * xterm.c (x_term_init): Ditto.
1132
1133 * term.c (delete_tty): Remove kboard deletion.
1134 (delete_display): Delete kboard as well.
1135
11362005-06-26 Karoly Lorentey <lorentey@elte.hu>
1137
1138 * keymap.c (Vkey_translation_map): Remove.
1139 (syms_of_keymap): Remove DEFVAR for key-translation-map.
1140 (Fdescribe_buffer_bindings): Update for terminal-local
1141 key-translation-map.
1142
1143 * keyboard.h (kboard): Add Vkey_translation_map field.
1144 (Vglobal_key_translation_map): Declare.
1145
1146 * keyboard.c (Vglobal_key_translation_map): New variable.
1147 (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
1148 (mark_kboards): Mark key-translation-map.
1149 (read_key_sequence): Update for terminal-local key-translation-map.
1150
1151 * emacs.c (main): Call syms_of_keymap before syms_of_keyboard.
1152
11532005-06-26 Karoly Lorentey <lorentey@elte.hu>
1154
1155 * keyboard.c (Fset_input_mode): Call reset_sys_modes and
1156 init_sys_modes on the selected device only; do not use the bulk
1157 functions reset_all_sys_modes and init_all_sys_modes.
1158
11592005-06-26 Karoly Lorentey <lorentey@elte.hu>
1160
1161 * term.c (term_init): Make sure the function keys are set up in the
1162 correct function-key-map.
1163 (term_get_fkeys_arg): Rename to term_get_fkeys_address.
1164 (term_get_fkeys_kboard): New variable.
1165 (term_get_fkeys): Use it.
1166
11672005-06-25 Karoly Lorentey <lorentey@elte.hu>
1168
1169 * keyboard.h (kboard): Move Vfunction_key_map inside the kboard struct.
1170
1171 * keyboard.c (Vfunction_key_map): Remove declaration.
1172 (read_key_sequence, init_kboard): Update references to
1173 Vfunction_key_map.
1174 (syms_of_keyboard): Declare function-key-map as a terminal-local
1175 variable.
1176 (mark_kboards): Mark Vfunction_key_map.
1177
1178 * keymap.c (Vfunction_key_map): Remove.
1179 (Fdescribe_buffer_bindings): Update references to Vfunction_key_map.
1180 (syms_of_keymap): Remove DEFVAR for Vfunction_key_map.
1181
1182 * term.c (term_get_fkeys_1): Update references to Vfunction_key_map.
1183
11842005-05-09 Karoly Lorentey <lorentey@elte.hu>
1185
1186 * xfns.c (start_hourglass): Disable display type check, it would
1187 break multi-tty.
1188
11892005-05-03 Karoly Lorentey <lorentey@elte.hu>
1190
1191 * term.c (get_display): Fix typo.
1192
11932005-05-03 Karoly Lorentey <lorentey@elte.hu>
1194
1195 * termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING):
1196 New macros.
1197
1198 * coding.c (Fset_terminal_coding_system_internal)
1199 (Fterminal_coding_system, Fset_keyboard_coding_system_internal)
1200 (Fkeyboard_coding_system): Add DISPLAY parameter.
1201
1202 * term.c (get_display): Add THROW parameter.
1203 (get_tty_display, Fdisplay_name, Fdisplay_tty_type)
1204 (Fdisplay_controlling_tty_p, Fdelete_display, Fdisplay_live_p):
1205 Update callers.
1206
1207 * xfns.c (check_x_display_info): Ditto.
1208 * frame.c (Fmake_terminal_frame, Fframe_display): Ditto.
1209
1210 * dispextern.h (get_display): Update prototype.
1211
12122005-04-26 Karoly Lorentey <lorentey@elte.hu>
1213
1214 * xdisp.c (with_echo_area_buffer, set_message, set_message_1)
1215 (echo_area_display): Revert change applied in patch-328.
1216
12172005-04-18 Karoly Lorentey <lorentey@elte.hu>
1218
1219 * Makefile.in (SOME_MACHINE_LISP): Add dnd.elc.
1220
12212005-04-18 Karoly Lorentey <lorentey@elte.hu>
1222
1223 * xfaces.c (internal_resolve_face_name, resolve_face_name_error):
1224 New functions.
1225 (resolve_face_name): Protect against loops and errors thrown by
1226 Fget.
1227
12282005-03-27 Karoly Lorentey <lorentey@elte.hu>
1229
1230 * xfns.c (unwind_create_frame): Don't do anything if the frame is
1231 already dead.
1232
12332005-03-27 Karoly Lorentey <lorentey@elte.hu>
1234
1235 * xterm.c (x_delete_frame_display): Call xg_display_close under GTK.
1236 (x_connection_closed): Don't close the display before its frames
1237 are deleted. Protect against the last frame calling the display
1238 delete hook.
1239
12402005-03-23 Karoly Lorentey <lorentey@elte.hu>
1241
1242 * termchar.h: Fix deviation from CVS.
1243 * xfns.c (Fx_create_frame): Ditto.
1244
1245 * xterm.c (x_delete_display): Cosmetic change.
1246 * xterm.c (x_create_frame_display): Cosmetic change.
1247
12482005-03-19 Karoly Lorentey <lorentey@elte.hu>
1249
1250 * xfns.c (Fx_close_connection): Remove declaration cruft.
1251
1252 * xterm.c (x_delete_frame_display): Declare i. Fix initialization of
1253 dpyinfo.
1254
12552005-03-19 Karoly Lorentey <lorentey@elte.hu>
1256
1257 * xfns.c (Fx_close_connection): Move code to x_delete_frame_display.
1258 (x_delete_frame_display): Actually close the X connection.
1259
12602005-03-08 Karoly Lorentey <lorentey@elte.hu>
1261
1262 * sysdep.c (narrow_foreground_group): Don't abort if inherited_pgroup
1263 is zero.
1264
12652005-03-07 Karoly Lorentey <lorentey@elte.hu>
1266
1267 * xterm.c (Vinhibit_redisplay): Declare for x_flush.
1268
12692005-03-07 Karoly Lorentey <lorentey@elte.hu>
1270
1271 * xterm.c (x_flush): Return immediately when redisplay is inhibited.
1272
12732005-02-18 Karoly Lorentey <lorentey@elte.hu>
1274
1275 * keyboard.c (interrupt_signal, handle_interrupt): Move thread check
1276 to interrupt_signal. Check for frame on controlling tty instead of
1277 current selected frame in handle_interrupt.
1278
12792005-02-04 Karoly Lorentey <lorentey@elte.hu>
1280
1281 * dispnew.c (build_frame_matrix_from_leaf_window): Fix typo.
1282
12832005-02-03 Karoly Lorentey <lorentey@elte.hu>
1284
1285 * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG.
1286 * xfns.c (unwind_create_frame): Ditto.
1287 * dispnew.c (build_frame_matrix_from_leaf_window): Ditto.
1288
12892004-12-08 Karoly Lorentey <lorentey@elte.hu>
1290
1291 * xfns.c (x_create_tip_frame): Copy color slot initialization
1292 safeguards from x-create-frame. Trivial doc update.
1293
12942004-12-08 Karoly Lorentey <lorentey@elte.hu>
1295
1296 * puresize.h (BASE_PURESIZE): Enlarge base value by 100000.
1297
12982004-11-28 Karoly Lorentey <lorentey@elte.hu>
1299
1300 * dispextern.h (updated_window): Remove comment reference to
1301 updating_frame.
1302
1303 * dispnew.c (update_window): Remove bogus xassert.
1304
1305 * xterm.c: (x_clear_frame): Update comment.
1306 (x_draw_window_cursor): Remove reference to updating_frame.
1307
13082004-11-28 Karoly Lorentey <lorentey@elte.hu>
1309
1310 * keyboard.c (cmd_error_internal): Remove slightly bogus comment.
1311
13122004-10-14 Karoly Lorentey <lorentey@elte.hu>
1313
1314 * xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of
1315 checking against specific frame types. Ignore images on non-window
1316 frames.
1317 (echo_area_display): Use FRAME_INITIAL_P to check for initial frame.
1318 (redisplay_preserve_echo_area): Update for multi-tty support.
1319 (redisplay_window): Don't bother with toolbars, fringe bitmaps or
1320 vertical borders on tty frames.
1321 (display_line): Remove superflous #ifdefs.
1322
13232004-10-08 Karoly Lorentey <lorentey@elte.hu>
1324
1325 * fringe.c (init_fringe_bitmap): Removed C99ism.
1326
13272004-09-13 Karoly Lorentey <lorentey@elte.hu>
1328
1329 * Makefile.in (minibuf.o): Fix typo.
1330
13312004-09-10 Karoly Lorentey <lorentey@elte.hu>
1332
1333 * xterm.c (x_connection_closed): Inhibit redisplay while frames are
1334 being deleted.
1335
13362004-07-11 Karoly Lorentey <lorentey@elte.hu>
1337
1338 * xfns.c (Fx_create_frame): Fix verifying return value of x_get_arg
1339 for Qdisplay_id.
1340
13412004-07-10 Karoly Lorentey <lorentey@elte.hu>
1342
1343 * term.c (Fdisplay_controlling_tty_p): New function.
1344
1345 * term.c (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1346
1347 * keyboard.c (Fsuspend_emacs): Give a better error message when
1348 there are multiple open tty devices.
1349
13502004-07-05 Karoly Lorentey <lorentey@elte.hu>
1351
1352 * keyboard.c (interrupt_signal): Don't call fatal_error_signal with
1353 an extra parameter.
1354
13552004-07-04 Karoly Lorentey <lorentey@elte.hu>
1356
1357 * term.c (get_tty_display): Don't signal an error on the initial frame.
1358
13592004-07-04 Karoly Lorentey <lorentey@elte.hu>
1360
1361 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
1362 (Fframe_tty_type): Removed.
1363
1364 * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type.
1365
1366 * frame.c (Qdisplay_id, Qdisplay_live_p): New symbols.
1367 (make_terminal_frame): Get display as a parameter.
1368 (Fmake_terminal_frame): Get/create display here; pass it to
1369 make_terminal_frame.
1370 (Fframe_display): New function.
1371 (Fdelete_frame): Stop if the hook deleted the frame.
1372 (syms_of_frame): Register new stuff.
1373
1374 * frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame):
1375 Updated prototypes.
1376
1377 * keyboard.c (interrupt_signal): Updated comment.
1378
1379 * term.c (Vdelete_tty_after_functions): Removed variable.
1380 (Qframe_tty_name, Qframe_tty_type): Removed.
1381 (next_display_id): New var.
1382 (tty_ring_bell): Don't do anything on suspended frames.
1383 (Ftty_display_color_p, Ftty_display_color_cells): Doc update.
1384 (get_display): New function.
1385 (get_tty_display): Use it.
1386 (get_named_tty_display): Ignore suspended displays.
1387 (Fframe_tty_name): Renamed to Fdisplay_name. Handle all kinds of
1388 displays.
1389 (Fframe_tty_type): Renamed to Fdisplay_tty_type.
1390 (init_initial_display): Set display name.
1391 (term_init): Allow more displays on the same device. Set display name.
1392 (Fdelete_tty): Removed.
1393 (delete_tty): Don't run hooks.
1394 (create_display): Set display id.
1395 (delete_display): Free display name.
1396 (Fdelete_display, Fdisplay_live_p, Fdisplay_list): New functions.
1397 (Fsuspend_tty): Call hook with display id. Doc update.
1398 (Fresume_tty): Refuse to resume when there is already an active display
1399 on the same device. Call hook with display id. Doc update.
1400 (syms_of_term): Reflect above changes.
1401
1402 * termhooks.h (struct display): Added `id' and `name' members.
1403 (DISPLAY_ACTIVE_P): New macro.
1404
1405 * xfns.c (check_x_display_info): Handle display ids.
1406 (Fx_create_frame): Try to get display from `display-id' parameter.
1407
1408 * xterm.c (x_term_init): Set display name.
1409 (x_delete_display): Handle the case when `font_table' is NULL.
1410
14112004-06-15 Karoly Lorentey <lorentey@elte.hu>
1412
1413 * term.c (Ftty_display_color_cells): Return 0 in case of an error,
1414 not nil.
1415
14162004-06-11 Karoly Lorentey <lorentey@elte.hu>
1417
1418 * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error.
1419 (Contributed by ARISAWA Akihiro <ari@mbf.ocn.ne.jp>).
1420
14212004-06-08 Karoly Lorentey <lorentey@elte.hu>
1422
1423 * term.c (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1424 works only on /dev/tty. Adapt the function accordingly.
1425
14262004-06-08 Karoly Lorentey <lorentey@elte.hu>
1427
1428 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1429 signal handler; use fatal_error_signal instead.
1430
14312004-06-07 Karoly Lorentey <lorentey@elte.hu>
1432
1433 * keyboard.c (command_loop): Clear single_kboard each time Emacs
1434 returns to top-level.
1435
14362004-06-06 Karoly Lorentey <lorentey@elte.hu>
1437
1438 * term.c (tty_insert_glyphs): Added missing first
1439 parameter (contributed by Yoshiaki Kasahara
1440 <kasahara@nc.kyushu-u.ac.jp>).
1441 (encode_terminal_code): Converted to use ANSI prototype syntax.
1442
14432004-06-05 Karoly Lorentey <lorentey@elte.hu>
1444
1445 * dispnew.c (init_display): Always install handler for SIGWINCH.
1446 (Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>.)
1447
1448 * term.c: Massive updates throuout the file.
1449 (TS_*, TN_*): Moved to struct tty_output.
1450 (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode):
1451 Ditto.
1452 (standout_mode, specified_window, tty_cursor_hidden): Ditto.
1453 (tty_set_terminal_modes, tty_reset_terminal_modes): New functions.
1454 (turn_on_insert, turn_off_insert): Added tty parameter.
1455 (turn_on_highlight, turn_off_highlight, toggle_highlight): Added
1456 tty parameter.
1457 (tty_hide_cursor, tty_show_cursor): Ditto.
1458 (background_highlight, highlight_if_desired): Ditto.
1459 (tty_capable_p): Changed first parameter to tty_output.
1460 (term_init): Make sure top_frame is initialized. Don't exit on
1461 errors if this would have been a secondary terminal. Call
1462 set_terminal_modes on the end.
1463 (delete_tty): New function.
1464 (delete_tty_1): New function.
1465 (print_all_frames): New function, marginally useful for debugging.
1466
1467 * termchar.h (struct tty_output): Changed old_tty to be a pointer.
1468 Removed old_tty_valid member. Added tty-specific variables from
1469 term.c.
1470
1471 * xfaces.c (Ftty_supports_face_attributes_p): Update for new
1472 tty_capable_p.
1473
14742003-12-25 Karoly Lorentey <lorentey@elte.hu>
1475
1476 * term.c (clear_end_of_line): Use updating_frame instead of
1477 selected_frame.
1478 (set_scroll_region, clear_to_end, clear_frame, tty_show_cursor):
1479 Ditto.
1480 (tty_hide_cursor, turn_on_highlight, turn_off_highlight): Ditto.
1481 (turn_on_insert, turn_off_insert): Ditto.
1482
1483 * termchar.h (struct terminal): Renamed to struct tty_output.
1484 Added name, type, input, output, termscript, old_tty,
1485 term_initted, old_tty_valid, background_pixel, foreground_pixel,
1486 next fields.
1487 (TERMINAL_*): Renamed to TTY_* for brevity.
1488 (CURRENT_TERMINAL): Renamed to CURTTY for brevity.
1489 (tty_list): New variable.
1490 (TERMINAL_PTR): Removed.
1491 (FRAME_TTY): New function.
1492 (TTY_NAME, TTY_TYPE): New macros.
1493
1494 * term.c (current_terminal): Removed.
1495 (_current_terminal): Removed.
1496 (tty_list): New variable.
1497 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty
1498 parameter.
1499 (set_terminal_modes): Added tty parameter.
1500 (reset_terminal_modes): Added tty parameter.
1501 (cursor_to, raw_cursor_to): Updated cmgoto() calls.
1502 (clear_end_of_line, write_glyphs): Add indirection to terminal
1503 output, updated cmcheckmagic() calls.
1504 (get_named_tty): New function.
1505 (term_dummy_init): New function.
1506 (term_init): Added name parameter, added tty_output return value.
1507 Changed algorithm to update tty_list. Call init_sys_modes() to
1508 set up tty mode on the newly opened terminal device.
1509 (get_current_tty): New function, intended for debugging.
1510
1511 * termhooks.h (termscript): Removed.
1512
1513 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
1514 Removed redundant definition.
1515 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.
1516
1517 * window.c (init_window_once): Call make_terminal_frame with two
1518 zero parameters.
1519
1520 * cm.h (emacs_tputs): New macro to set current_tty, and then call
1521 tputs().
1522 (current_tty): New variable, for cmputc().
1523 (cmcheckmagic, cmputc, cmgoto): Added prototypes.
1524
1525 * cm.c (current_tty): New variable, for cmputc().
1526 (cmputc): Use it.
1527 (cmcheckmagic): Added tty parameter, look up terminal streams
1528 there.
1529 (calccost): Added tty parameter. Use emacs_tputs() instead of
1530 tputs().
1531 (cmgoto): Added tty parameter. Pass it on to calccost(). Use
1532 emacs_tputs() instead of tputs().
1533
1534 * dispextern.h (set_terminal_modes, reset_terminal_modes): Added
1535 tty parameter.
1536 (term_init): Added name parameter (the filename of the terminal
1537 device). Added return value (struct tty_output).
1538
1539 * dispnew.c: Replace CURTTY() with local variables throughout the
1540 file (where applicable).
1541 (termscript): Moved to struct tty_output.
1542 (terminal_type): Removed.
1543
1544 * emacs.c (main): Don't call init_sys_modes(), the new term_init()
1545 already does that during init_display().
1546 (shut_down_emacs): Call reset_all_sys_modes() instead of
1547 reset_sys_modes().
1548
1549 * frame.c (Qtty, Qtty_type): New variables.
1550 (syms_of_frame): Initialize them.
1551 (tty_display): Removed.
1552 (make_terminal_frame): New parameters (tty filename and type).
1553 Initialize output_data.tty field instead of output_data.x. Use
1554 term_init() to find the right tty_output. (Use term_dummy_init()
1555 during bootstrap.)
1556 (Fmake_terminal_frame): Get device filename and type from frame
1557 parameters.
1558
1559 * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the
1560 right thing if the frame is a tty.
1561 (struct frame): New member in output_data: tty.
1562 (make_terminal_frame): Updated of prototype.
1563
1564 * keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
1565 reset_sys_modes(). Ditto with init_sys_modes().
1566
1567 * lisp.h (tty_output): Added forward declaration.
1568 (init_sys_modes, reset_sys_modes): Updated prototype.
1569 (init_all_sys_modes, reset_all_sys_modes): New prototypes.
1570
1571 * scroll.c: Replace CURTTY() with local variables throughout the
1572 file (where applicable).
1573
1574 * sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct
1575 tty_output.
1576 (init_all_sys_modes): New function.
1577 (init_sys_modes): Added tty_output parameter. Use it.
1578 (reset_all_sys_modes): New function.
1579 (reset_sys_modes): Added tty_output parameter. Use it.
1580
1581 * Makefile.in: Update dependencies.
1582
15832003-12-24 Karoly Lorentey <lorentey@elte.hu>
1584
1585 * termchar.h (struct terminal): New struct.
1586 (must_write_spaces, min_padding_speed, line_ins_del_ok)
1587 (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
1588 (memory_below_frame, fast_clear_end_of_line): Moved to struct
1589 terminal.
1590 (current_terminal): New variable.
1591 (CURRENT_TERMINAL, TERMINAL_*): New accessor macros.
1592 (min_padding_speed, dont_calculate_costs): Commented out (unused).
1593
1594 * term.c (_current_terminal): New variable. Will be removed when
1595 true multi-tty support is implemented.
1596
1597 * termopts.h (no_redraw_on_reenter): Moved here.
1598
1599 * term.c (set_terminal_window, ins_del_lines, calculate_costs)
1600 (term_init): Use the accessor macros for terminal characteristics.
1601 * dispnew.c (line_hash_code, line_draw_cost)
1602 (direct_output_for_insert, update_frame_1, scrolling)
1603 (update_frame_line): Ditto.
1604 * macterm.c (mac_initialize): Ditto.
1605 * msdos.c (internal_terminal_init): Ditto.
1606 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1607 (scrolling_1, scroll_cost): Ditto.
1608 * sysdep.c (hft_init): Ditto.
1609 * w32term.c (w32_initialize): Ditto.
1610 * xdisp.c (try_window_id): Ditto.
1611 * xterm.c (x_initialize): Ditto.
1612
16132004-07-12 Karoly Lorentey <lorentey@elte.hu>
1614
1615 * keyboard.c (echo_dash): Do nothing if there already is a dash at
1616 the end of the echo string.
170 1617
171 This placeholder will be replaced by the Arch logs of the
172 multi-tty branch.
173 1618
174;; Local Variables: 1619;; Local Variables:
175;; coding: iso-2022-7bit 1620;; coding: iso-2022-7bit