aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog706
-rw-r--r--src/xrdb.c23
2 files changed, 366 insertions, 363 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ac849aeafc2..dccef0e7c7f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12000-06-20 Sam Steingold <sds@gnu.org>
2
3 * xrdb.c: Don't declare xmalloc, xrealloc.
4
12000-06-20 Stefan Monnier <monnier@cs.yale.edu> 52000-06-20 Stefan Monnier <monnier@cs.yale.edu>
2 Based on a patch by Larry Jones <larry.jones@sdrc.com>. 6 Based on a patch by Larry Jones <larry.jones@sdrc.com>.
3 7
@@ -162,7 +166,7 @@
162 * keymap.c (describe_buffer_bindings): Add `\f\n' in front 166 * keymap.c (describe_buffer_bindings): Add `\f\n' in front
163 of titles. 167 of titles.
164 168
165 * dispnew.c (update_frame_1): Handle case that cursor vpos is 169 * dispnew.c (update_frame_1): Handle case that cursor vpos is
166 out of bounds. 170 out of bounds.
167 171
1682000-06-15 Eli Zaretskii <eliz@is.elta.co.il> 1722000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
@@ -196,7 +200,7 @@
196 message_log_maybe_newline if message_buf_print is not set. 200 message_log_maybe_newline if message_buf_print is not set.
197 201
198 * print.c (printchar, strout): Don't check message_buf_print 202 * print.c (printchar, strout): Don't check message_buf_print
199 before calling setup_echo_area_for_printing because that 203 before calling setup_echo_area_for_printing because that
200 function does something useful even when message_buf_print is 204 function does something useful even when message_buf_print is
201 already set. 205 already set.
202 206
@@ -232,7 +236,7 @@
2322000-06-13 Richard Stallman <rms@caffeine.ai.mit.edu> 2362000-06-13 Richard Stallman <rms@caffeine.ai.mit.edu>
233 237
234 * frame.c (Fmodify_frame_parameters): Doc fix. 238 * frame.c (Fmodify_frame_parameters): Doc fix.
235 239
236 * xfns.c (x_set_frame_parameters): Comment fix. 240 * xfns.c (x_set_frame_parameters): Comment fix.
237 241
238 * frame.c (store_frame_param): Call swap_in_global_binding if the 242 * frame.c (store_frame_param): Call swap_in_global_binding if the
@@ -350,7 +354,7 @@
350 354
351 * window.c (displayed_window_lines): Take empty lines at 355 * window.c (displayed_window_lines): Take empty lines at
352 the bottom of a window into account. 356 the bottom of a window into account.
353 357
354 * window.c (displayed_window_lines): New function. 358 * window.c (displayed_window_lines): New function.
355 (Fmove_to_window_line): Use displayed_window_lines to determine 359 (Fmove_to_window_line): Use displayed_window_lines to determine
356 the number of lines to move, instead of using the window's height. 360 the number of lines to move, instead of using the window's height.
@@ -359,7 +363,7 @@
359 to stop reading, even if the form read sets point to a different 363 to stop reading, even if the form read sets point to a different
360 value when evaluated. 364 value when evaluated.
361 365
362 * xdisp.c (display_line): Fix code deciding in which line to 366 * xdisp.c (display_line): Fix code deciding in which line to
363 put the cursor. 367 put the cursor.
364 368
3652000-06-07 Kenichi Handa <handa@etl.go.jp> 3692000-06-07 Kenichi Handa <handa@etl.go.jp>
@@ -441,7 +445,7 @@
441 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. 445 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES.
442 (Foptimize_char_table, make_temp_name): Declare. 446 (Foptimize_char_table, make_temp_name): Declare.
443 447
444 * s/irix4-0.h: 448 * s/irix4-0.h:
445 * s/irix5-0.h: 449 * s/irix5-0.h:
446 * s/netbsd.h: Don't define autoconfiscated MATHERR. 450 * s/netbsd.h: Don't define autoconfiscated MATHERR.
447 451
@@ -462,7 +466,7 @@
462 466
463 * sysdep.c: Conditionally include stdlib.h, unistd.h. 467 * sysdep.c: Conditionally include stdlib.h, unistd.h.
464 (VFORK_RETURN_TYPE): Remove. 468 (VFORK_RETURN_TYPE): Remove.
465 469
466 * config.in: Add NO_MATHERR. 470 * config.in: Add NO_MATHERR.
467 471
4682000-06-01 Dave Love <fx@gnu.org> 4722000-06-01 Dave Love <fx@gnu.org>
@@ -759,7 +763,7 @@
759 763
760 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define 764 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define
761 as setpgid. 765 as setpgid.
762 766
7632000-05-23 Eli Zaretskii <eliz@is.elta.co.il> 7672000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
764 768
765 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, 769 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc,
@@ -789,7 +793,7 @@
789 adjust_markers_for_insert, not adjust_markers_for_replace. 793 adjust_markers_for_insert, not adjust_markers_for_replace.
790 794
7912000-05-20 NIIBE Yutaka <gniibe@mri.co.jp> 7952000-05-20 NIIBE Yutaka <gniibe@mri.co.jp>
792 796
793 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. 797 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define.
794 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) 798 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF)
795 [HAVE_GRANDPT]: Define. 799 [HAVE_GRANDPT]: Define.
@@ -1030,7 +1034,7 @@
1030 adjust_after_replace, replace_range, del_range_2) Delete codes for 1034 adjust_after_replace, replace_range, del_range_2) Delete codes for
1031 handling byte combining. 1035 handling byte combining.
1032 (adjust_before_replace): Deleted. 1036 (adjust_before_replace): Deleted.
1033 1037
1034 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of 1038 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of
1035 SPLIT_NON_ASCII_CHAR. 1039 SPLIT_NON_ASCII_CHAR.
1036 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. 1040 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR.
@@ -1275,7 +1279,7 @@
1275 * lread.c (end_of_file_error): New function. 1279 * lread.c (end_of_file_error): New function.
1276 (read1): Call it instead of signaling `end-of-file' directly. 1280 (read1): Call it instead of signaling `end-of-file' directly.
1277 1281
1278 * print.c (print_error_message): Print data of `end-of-file' 1282 * print.c (print_error_message): Print data of `end-of-file'
1279 with Fprinc instead of Fprin1. 1283 with Fprinc instead of Fprin1.
1280 1284
12812000-04-26 Ken Raeburn <raeburn@gnu.org> 12852000-04-26 Ken Raeburn <raeburn@gnu.org>
@@ -1325,7 +1329,7 @@
1325 (Fx_create_frame): Set line spacing from resources. 1329 (Fx_create_frame): Set line spacing from resources.
1326 (Qline_spacing): New variable. 1330 (Qline_spacing): New variable.
1327 (syms_of_xfns): Initialize Qline_spacing. 1331 (syms_of_xfns): Initialize Qline_spacing.
1328 1332
1329 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. 1333 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'.
1330 1334
1331 * buffer.c (init_buffer_once): Handle extra_line_spacing. 1335 * buffer.c (init_buffer_once): Handle extra_line_spacing.
@@ -1399,7 +1403,7 @@
1399 (ORDINARY_LINK): Define for NetBSD. 1403 (ORDINARY_LINK): Define for NetBSD.
1400 1404
1401 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. 1405 * m/macppc.h (ORDINARY_LINK): Define for NetBSD.
1402 1406
14032000-04-19 Dave Love <fx@gnu.org> 14072000-04-19 Dave Love <fx@gnu.org>
1404 1408
1405 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 1409 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14
@@ -1415,7 +1419,7 @@
1415 1419
1416 * lread.c (read_filtered_event): Cancel and start busy cursor. 1420 * lread.c (read_filtered_event): Cancel and start busy cursor.
1417 1421
1418 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account 1422 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account
1419 that the per-character metrics may be null. 1423 that the per-character metrics may be null.
1420 1424
14212000-04-17 Gerd Moellmann <gerd@gnu.org> 14252000-04-17 Gerd Moellmann <gerd@gnu.org>
@@ -1852,7 +1856,7 @@
1852 * s/freebsd.h (GC_SETJMP_WORKS): Define. 1856 * s/freebsd.h (GC_SETJMP_WORKS): Define.
1853 1857
1854 * s/msdos.h (GC_SETJMP_WORKS): Define. 1858 * s/msdos.h (GC_SETJMP_WORKS): Define.
1855 1859
1856 * alloc.c (mark_maybe_object): New function. 1860 * alloc.c (mark_maybe_object): New function.
1857 (mark_memory): Use it. 1861 (mark_memory): Use it.
1858 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. 1862 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros.
@@ -1867,7 +1871,7 @@
1867 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS 1871 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS
1868 with parameter MULTIBYTE_P. 1872 with parameter MULTIBYTE_P.
1869 1873
1870 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter 1874 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter
1871 MULTIBYTE_P. 1875 MULTIBYTE_P.
1872 1876
1873 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte 1877 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte
@@ -1913,7 +1917,7 @@
19132000-03-26 Stefan Monnier <monnier@cs.yale.edu> 19172000-03-26 Stefan Monnier <monnier@cs.yale.edu>
1914 1918
1915 * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop. 1919 * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop.
1916 (print_partial_compiled_pattern, re_compile_fastmap): Handle new 1920 (print_partial_compiled_pattern, re_compile_fastmap): Handle new
1917 opcode. 1921 opcode.
1918 (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops. 1922 (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops.
1919 (re_match_2_internal): Add code for on_failure_jump_nastyloop when 1923 (re_match_2_internal): Add code for on_failure_jump_nastyloop when
@@ -2013,7 +2017,7 @@
2013 (add-menu-item): Set help string in MIIM_DATA for menu item. 2017 (add-menu-item): Set help string in MIIM_DATA for menu item.
2014 Load SetMenuItemInfoA explicitly. 2018 Load SetMenuItemInfoA explicitly.
2015 (w32_menu_display_help): New function. 2019 (w32_menu_display_help): New function.
2016 2020
2017 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. 2021 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message.
2018 (QCdata): Moved to xdisp.c. 2022 (QCdata): Moved to xdisp.c.
2019 2023
@@ -2450,7 +2454,7 @@
2450 * atimer.c (cancel_atimer): Break out of the loop as soon as timer 2454 * atimer.c (cancel_atimer): Break out of the loop as soon as timer
2451 has been found. Fix bug not computing timer's predecessor. 2455 has been found. Fix bug not computing timer's predecessor.
2452 2456
2453 * fileio.c (Fread_file_name): Handle case that DIR contains a 2457 * fileio.c (Fread_file_name): Handle case that DIR contains a
2454 file name. 2458 file name.
2455 2459
2456 * window.c (Fsave_window_excursion): Doc fix. 2460 * window.c (Fsave_window_excursion): Doc fix.
@@ -2808,7 +2812,7 @@
2808 * sysdep.c (start_of_text): Don't define this function for NetBSD 2812 * sysdep.c (start_of_text): Don't define this function for NetBSD
2809 with ELF. 2813 with ELF.
2810 2814
2811 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: 2815 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]:
2812 Don't define. 2816 Don't define.
2813 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. 2817 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o.
2814 (LINKER): Don't undef if __NetBSD__ is defined. 2818 (LINKER): Don't undef if __NetBSD__ is defined.
@@ -2881,7 +2885,7 @@
2881 * emacs.c (main): Remove code snippet commented out with `//'. 2885 * emacs.c (main): Remove code snippet commented out with `//'.
2882 2886
28832000-02-25 Richard M. Stallman <rms@caffeine.ai.mit.edu> 28872000-02-25 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2884 2888
2885 * fileio.c (Ffile_symlink_p): If result starts with a `/' 2889 * fileio.c (Ffile_symlink_p): If result starts with a `/'
2886 and contains a `:', prepend `/:'. 2890 and contains a `:', prepend `/:'.
2887 2891
@@ -3056,7 +3060,7 @@
3056 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) 3060 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
3057 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) 3061 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
3058 [GC_MARK_STACK]: New defines. 3062 [GC_MARK_STACK]: New defines.
3059 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) 3063 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO)
3060 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. 3064 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops.
3061 3065
3062 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. 3066 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base.
@@ -3071,7 +3075,7 @@
3071 (lisp_malloc): Add parameter TYPE, call mem_insert if 3075 (lisp_malloc): Add parameter TYPE, call mem_insert if
3072 GC_MARK_STACK is defined. 3076 GC_MARK_STACK is defined.
3073 (allocate_buffer): New function. 3077 (allocate_buffer): New function.
3074 (lisp_free) [GC_MARK_STACK]: Call mem_delete. 3078 (lisp_free) [GC_MARK_STACK]: Call mem_delete.
3075 (free_float) [GC_MARK_STACK]: Set type to Vdead. 3079 (free_float) [GC_MARK_STACK]: Set type to Vdead.
3076 (free_cons) [GC_MARK_STACK]: Set car to Vdead. 3080 (free_cons) [GC_MARK_STACK]: Set car to Vdead.
3077 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. 3081 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables.
@@ -3099,7 +3103,7 @@
3099 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. 3103 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'.
3100 3104
3101 * frame.c (make_frame): Set frame initiallly to `garbaged'. 3105 * frame.c (make_frame): Set frame initiallly to `garbaged'.
3102 3106
31032000-02-17 Kenichi Handa <handa@etl.go.jp> 31072000-02-17 Kenichi Handa <handa@etl.go.jp>
3104 3108
3105 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to 3109 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to
@@ -3200,7 +3204,7 @@
3200 3204
3201 * atimer.h (stop_other_atimers, run_all_atimers) 3205 * atimer.h (stop_other_atimers, run_all_atimers)
3202 (unwind_stop_other_atimers): Add function prototypes. 3206 (unwind_stop_other_atimers): Add function prototypes.
3203 3207
3204 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. 3208 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined.
3205 3209
32062000-02-11 Ken Raeburn <raeburn@gnu.org> 32102000-02-11 Ken Raeburn <raeburn@gnu.org>
@@ -3362,7 +3366,7 @@
3362 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure 3366 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure
3363 that XTread_socket does not crash by trying to call XNoOp on a 3367 that XTread_socket does not crash by trying to call XNoOp on a
3364 closed display. 3368 closed display.
3365 3369
33662000-01-30 Jason Rumney <jasonr@gnu.org> 33702000-01-30 Jason Rumney <jasonr@gnu.org>
3367 3371
3368 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): 3372 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to):
@@ -3422,7 +3426,7 @@
3422 (best_xim_style): Renamed from best_style. 3426 (best_xim_style): Renamed from best_style.
3423 (create_frame_xic): Renamed from xic_create_frame. 3427 (create_frame_xic): Renamed from xic_create_frame.
3424 (free_frame_xic): Renamed from xic_destroy_frame. 3428 (free_frame_xic): Renamed from xic_destroy_frame.
3425 3429
34262000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> 34302000-01-29 INOUE Seiichiro <inoue@ainet.or.jp>
3427 3431
3428 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of 3432 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of
@@ -3545,7 +3549,7 @@
3545 (start_polling, stop_polling): Rewritten. 3549 (start_polling, stop_polling): Rewritten.
3546 3550
3547 * keyboard.h (polling_for_input): Removed. 3551 * keyboard.h (polling_for_input): Removed.
3548 3552
3549 * atimer.h, atimer.c: New files. 3553 * atimer.h, atimer.c: New files.
3550 3554
3551 * Makefile.in (obj): Add atimer.o. 3555 * Makefile.in (obj): Add atimer.o.
@@ -3570,7 +3574,7 @@
3570 (x_make_frame_visible): Call poll_for_input_1 instead of 3574 (x_make_frame_visible): Call poll_for_input_1 instead of
3571 input_poll_signal. Don't call alarm. 3575 input_poll_signal. Don't call alarm.
3572 (x_initialize): Install timer calling x_process_timeouts. 3576 (x_initialize): Install timer calling x_process_timeouts.
3573 3577
35742000-01-24 Dave Love <fx@gnu.org> 35782000-01-24 Dave Love <fx@gnu.org>
3575 3579
3576 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. 3580 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now.
@@ -3702,11 +3706,11 @@
3702 in the proper buffer. 3706 in the proper buffer.
3703 3707
3704 * data.c (set_internal): New arg BUF. 3708 * data.c (set_internal): New arg BUF.
3705 3709
3706 * eval.c (specbind, unbind_to): Pass new arg to set_internal. 3710 * eval.c (specbind, unbind_to): Pass new arg to set_internal.
3707 * data.c (Fset): Pass new arg to set_internal. 3711 * data.c (Fset): Pass new arg to set_internal.
3708 * bytecode.c (Fbyte_code): Pass new arg to set_internal. 3712 * bytecode.c (Fbyte_code): Pass new arg to set_internal.
3709 3713
37102000-01-11 Gerd Moellmann <gerd@gnu.org> 37142000-01-11 Gerd Moellmann <gerd@gnu.org>
3711 3715
3712 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, 3716 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload,
@@ -3742,7 +3746,7 @@
3742 Check that input style is supported before trying to create an 3746 Check that input style is supported before trying to create an
3743 IC for it. 3747 IC for it.
3744 (x_window): Call x_create_im. 3748 (x_window): Call x_create_im.
3745 3749
37462000-01-04 Gerd Moellmann <gerd@gnu.org> 37502000-01-04 Gerd Moellmann <gerd@gnu.org>
3747 3751
3748 * xfns.c (current_gif_memory_src): New variable. 3752 * xfns.c (current_gif_memory_src): New variable.
@@ -3761,7 +3765,7 @@
3761 (parse_sound): Parse :data. 3765 (parse_sound): Parse :data.
3762 (parse_sound): Handle sound data in strings. 3766 (parse_sound): Handle sound data in strings.
3763 (find_sound_type): Function renamed from find_sound_file_type. 3767 (find_sound_type): Function renamed from find_sound_file_type.
3764 (wav_init, au_init): Fail if sound's header_size is smaller than 3768 (wav_init, au_init): Fail if sound's header_size is smaller than
3765 needed header size. 3769 needed header size.
3766 (wav_play, au_play): Play sounds from string data. 3770 (wav_play, au_play): Play sounds from string data.
3767 3771
@@ -3807,7 +3811,7 @@
3807 (mark_object): Mark strings differently. Mark symbol names 3811 (mark_object): Mark strings differently. Mark symbol names
3808 differently. 3812 differently.
3809 (survives_gc_p): Test marked strings differently. 3813 (survives_gc_p): Test marked strings differently.
3810 (gc_sweep): Sweep strings differently, unmark strings in 3814 (gc_sweep): Sweep strings differently, unmark strings in
3811 symbol names. 3815 symbol names.
3812 (compact_strings): Removed. 3816 (compact_strings): Removed.
3813 3817
@@ -3819,7 +3823,7 @@
38192000-01-04 Kenichi Handa <handa@etl.go.jp> 38232000-01-04 Kenichi Handa <handa@etl.go.jp>
3820 3824
3821 * fileio.c (Finsert_file_contents): Signal error if visiting file 3825 * fileio.c (Finsert_file_contents): Signal error if visiting file
3822 in a non-empty buffer. 3826 in a non-empty buffer.
3823 3827
3824 * term.c (encode_terminal_code): Fix the previous change. 3828 * term.c (encode_terminal_code): Fix the previous change.
3825 3829
@@ -4224,7 +4228,7 @@
4224 (doc.o): Depend on charset.h. 4228 (doc.o): Depend on charset.h.
4225 (keyboard.o) (textprop.o) (intervals.o): Depend on INTERVAL_SRC. 4229 (keyboard.o) (textprop.o) (intervals.o): Depend on INTERVAL_SRC.
4226 (composite.o): New target. 4230 (composite.o): New target.
4227 4231
4228 * alloc.c (Fmake_string): Adjusted for the change of CHAR_STRING. 4232 * alloc.c (Fmake_string): Adjusted for the change of CHAR_STRING.
4229 4233
4230 * callproc.c (Fcall_process): Call code_convert_string to encode 4234 * callproc.c (Fcall_process): Call code_convert_string to encode
@@ -4269,7 +4273,7 @@
4269 (MAX_LENGTH_OF_MULTI_BYTE_FORM): Deleted. 4273 (MAX_LENGTH_OF_MULTI_BYTE_FORM): Deleted.
4270 (find_charset_in_str): Argument adjusted. 4274 (find_charset_in_str): Argument adjusted.
4271 (CHAR_LEN): Modified. 4275 (CHAR_LEN): Modified.
4272 4276
4273 * charset.c: In this entry, just `Modified' means that codes for a 4277 * charset.c: In this entry, just `Modified' means that codes for a
4274 composite character is deleted. 4278 composite character is deleted.
4275 (Qcomposition) (leading_code_composition) 4279 (Qcomposition) (leading_code_composition)
@@ -4440,7 +4444,7 @@
4440 * intervals.h: Include composite.h. 4444 * intervals.h: Include composite.h.
4441 (get_property_and_range): Extern it. 4445 (get_property_and_range): Extern it.
4442 (Vtext_property_default_nonsticky): Extern it. 4446 (Vtext_property_default_nonsticky): Extern it.
4443 4447
4444 * intervals.c (adjust_intervals_for_insertion): To check stickines 4448 * intervals.c (adjust_intervals_for_insertion): To check stickines
4445 of properties, pay attention to text-property-default-nonsticky. 4449 of properties, pay attention to text-property-default-nonsticky.
4446 (merge_properties_sticky): Likewise. 4450 (merge_properties_sticky): Likewise.
@@ -4645,7 +4649,7 @@
4645 IRIX6). Change #ifdef __mips to __sgi, since it's IRIX-specific. 4649 IRIX6). Change #ifdef __mips to __sgi, since it's IRIX-specific.
4646 Adjust test for presence of .mdebug section to the new return 4650 Adjust test for presence of .mdebug section to the new return
4647 value of find_section. 4651 value of find_section.
4648 4652
46491999-12-07 Gerd Moellmann <gerd@gnu.org> 46531999-12-07 Gerd Moellmann <gerd@gnu.org>
4650 4654
4651 * unexelf.c: Merge changes from 20.5. 4655 * unexelf.c: Merge changes from 20.5.
@@ -4653,7 +4657,7 @@
4653 4657
4654 * m/iris4d.h (UNEXEC) [USG5_4]: Use unexelf.o instead of 4658 * m/iris4d.h (UNEXEC) [USG5_4]: Use unexelf.o instead of
4655 unexsgi.o again. 4659 unexsgi.o again.
4656 4660
4657 * m/iris5d.h (UNEXEC): Likewise. 4661 * m/iris5d.h (UNEXEC): Likewise.
4658 4662
46591999-12-06 Stefan Monnier <monnier@cs.yale.edu> 46631999-12-06 Stefan Monnier <monnier@cs.yale.edu>
@@ -4676,7 +4680,7 @@
46761999-12-04 Hrvoje Niksic <hniksic@iskon.hr> 46801999-12-04 Hrvoje Niksic <hniksic@iskon.hr>
4677 4681
4678 * lread.c (Fintern_soft): Accept a symbol argument. 4682 * lread.c (Fintern_soft): Accept a symbol argument.
4679 4683
46801999-12-06 Eli Zaretskii <eliz@is.elta.co.il> 46841999-12-06 Eli Zaretskii <eliz@is.elta.co.il>
4681 4685
4682 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 40000. 4686 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 40000.
@@ -4815,7 +4819,7 @@
4815 4819
4816 * m/iris4d.h (UNEXEC) [USG5_4]: Use unexsgi.o instead of 4820 * m/iris4d.h (UNEXEC) [USG5_4]: Use unexsgi.o instead of
4817 unexelf.o. 4821 unexelf.o.
4818 4822
4819 * m/iris5d.h (UNEXEC): Use unexsgi.o instead of unexelf.o. 4823 * m/iris5d.h (UNEXEC): Use unexsgi.o instead of unexelf.o.
4820 4824
48211999-12-01 Dave Love <fx@gnu.org> 48251999-12-01 Dave Love <fx@gnu.org>
@@ -4840,7 +4844,7 @@
4840 * window.c (Fwindow_end): Don't call temp_set_pt_both with 4844 * window.c (Fwindow_end): Don't call temp_set_pt_both with
4841 out of range position. 4845 out of range position.
4842 4846
4843 * xterm.c (XTread_socket) <ClientMessage, Xatom_Scrollbar>: 4847 * xterm.c (XTread_socket) <ClientMessage, Xatom_Scrollbar>:
4844 Switch off busy-cursor by setting inhibit_busy_cursor to 2. 4848 Switch off busy-cursor by setting inhibit_busy_cursor to 2.
4845 4849
48461999-11-28 Eli Zaretskii <eliz@is.elta.co.il> 48501999-11-28 Eli Zaretskii <eliz@is.elta.co.il>
@@ -4917,7 +4921,7 @@
4917 4921
4918 * unexaix.c (unexec): Use unsigned instead of uintptr_t because 4922 * unexaix.c (unexec): Use unsigned instead of uintptr_t because
4919 that fails on IBM PowerPC, AIX 4.2. 4923 that fails on IBM PowerPC, AIX 4.2.
4920 4924
49211999-11-22 Eli Zaretskii <eliz@is.elta.co.il> 49251999-11-22 Eli Zaretskii <eliz@is.elta.co.il>
4922 4926
4923 * buffer.c (syms_of_buffer): Add %z, %Z, %m and %& to the doc 4927 * buffer.c (syms_of_buffer): Add %z, %Z, %m and %& to the doc
@@ -4930,7 +4934,7 @@
4930 4934
4931 * emacs.c (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) 4935 * emacs.c (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits)
4932 (gdb_data_seg_bits): New variables. 4936 (gdb_data_seg_bits): New variables.
4933 4937
4934 * lisp.h (enum gdb_lisp_params): Put in #if 0, since it doesn't 4938 * lisp.h (enum gdb_lisp_params): Put in #if 0, since it doesn't
4935 work on systems not allowing enumerators > INT_MAX, and it 4939 work on systems not allowing enumerators > INT_MAX, and it
4936 won't work if EMACS_INT is long long. 4940 won't work if EMACS_INT is long long.
@@ -4940,7 +4944,7 @@
4940 Port to SunOS 4.1.x again. Help out with Alpha port. 4944 Port to SunOS 4.1.x again. Help out with Alpha port.
4941 Rename messages-locale to system-messages-locale, 4945 Rename messages-locale to system-messages-locale,
4942 and likewise for time-locale. 4946 and likewise for time-locale.
4943 4947
4944 * callproc.c (strerror): Remove decl. 4948 * callproc.c (strerror): Remove decl.
4945 * fileio.c (strerror): Likewise. 4949 * fileio.c (strerror): Likewise.
4946 * process.c (strerror): Likewise. 4950 * process.c (strerror): Likewise.
@@ -5203,7 +5207,7 @@
5203 5207
52041999-11-01 Gerd Moellmann <gerd@gnu.org> 52081999-11-01 Gerd Moellmann <gerd@gnu.org>
5205 5209
5206 * xfns.c (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using 5210 * xfns.c (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using
5207 png_get_sRGB in #ifdef. 5211 png_get_sRGB in #ifdef.
5208 5212
5209 * dispnew.c (Finternal_show_cursor): Renamed from Fshow_cursor. 5213 * dispnew.c (Finternal_show_cursor): Renamed from Fshow_cursor.
@@ -5352,7 +5356,7 @@
5352 5356
53531999-10-23 Gerd Moellmann <gerd@gnu.org> 53571999-10-23 Gerd Moellmann <gerd@gnu.org>
5354 5358
5355 * Makefile.in (bootstrap, bootstrap-emacs, bootstrap-temacs): 5359 * Makefile.in (bootstrap, bootstrap-emacs, bootstrap-temacs):
5356 New targets. 5360 New targets.
5357 5361
53581999-10-22 Dave Love <fx@gnu.org> 53621999-10-22 Dave Love <fx@gnu.org>
@@ -5368,14 +5372,14 @@
5368 5372
5369 * s/freebsd.h (HAVE_GETLOADAVG): Define as 1 because config.h 5373 * s/freebsd.h (HAVE_GETLOADAVG): Define as 1 because config.h
5370 defines it that way. 5374 defines it that way.
5371 5375
5372 * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing 5376 * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing
5373 if selected_frame is equal to Vterminal_frame. 5377 if selected_frame is equal to Vterminal_frame.
5374 5378
53751999-10-19 Paul Eggert <eggert@twinsun.com> 53791999-10-19 Paul Eggert <eggert@twinsun.com>
5376 5380
5377 Add support for large files, 64-bit Solaris, system locale codings. 5381 Add support for large files, 64-bit Solaris, system locale codings.
5378 5382
5379 * Makefile.in (emacs): Set the LC_ALL environment variable to "C" 5383 * Makefile.in (emacs): Set the LC_ALL environment variable to "C"
5380 when dumping, so that the dumped Emacs doesn't have stray locale info. 5384 when dumping, so that the dumped Emacs doesn't have stray locale info.
5381 (dired.o): Depend on systime.h. 5385 (dired.o): Depend on systime.h.
@@ -5403,7 +5407,7 @@
5403 (emacs_strerror): New function. 5407 (emacs_strerror): New function.
5404 5408
5405 * coding.h (emacs_strerror, Vlocale_coding_system): New decls. 5409 * coding.h (emacs_strerror, Vlocale_coding_system): New decls.
5406 5410
5407 * config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING, 5411 * config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING,
5408 HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN, 5412 HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN,
5409 HAVE_STRSIGNAL): New macros. 5413 HAVE_STRSIGNAL): New macros.
@@ -5426,7 +5430,7 @@
5426 Vlocale_coding_system, and convert result back. Synchronize time 5430 Vlocale_coding_system, and convert result back. Synchronize time
5427 locale before invoking lower level function. Invoke 5431 locale before invoking lower level function. Invoke
5428 emacs_memftimeu, passing ut, instead of emacs_memftime. 5432 emacs_memftimeu, passing ut, instead of emacs_memftime.
5429 5433
5430 * emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined. 5434 * emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined.
5431 (Vmessages_locale, Vprevious_messages_locale, Vtime_locale, 5435 (Vmessages_locale, Vprevious_messages_locale, Vtime_locale,
5432 Vprevious_time_locale): New variables. 5436 Vprevious_time_locale): New variables.
@@ -5486,7 +5490,7 @@
5486 * s/ptx4.h: 5490 * s/ptx4.h:
5487 (SIGINFO): Do not undef. 5491 (SIGINFO): Do not undef.
5488 (BROKEN_SIGINFO): New macros. 5492 (BROKEN_SIGINFO): New macros.
5489 5493
5490 * m/delta.h, s/ptx.h, s/template.h: Doc fix. 5494 * m/delta.h, s/ptx.h, s/template.h: Doc fix.
5491 5495
5492 * mktime.c, strftime.c: Update to glibc 2.1.2 version, with 5496 * mktime.c, strftime.c: Update to glibc 2.1.2 version, with
@@ -5497,11 +5501,11 @@
5497 5501
5498 * process.c (sys_siglist): Omit if HAVE_STRSIGNAL. 5502 * process.c (sys_siglist): Omit if HAVE_STRSIGNAL.
5499 (wait_reading_process_input): Use emacs_strerror, not strerror. 5503 (wait_reading_process_input): Use emacs_strerror, not strerror.
5500 5504
5501 * process.c (status_message, sigchld_handler): Synchronize locale, 5505 * process.c (status_message, sigchld_handler): Synchronize locale,
5502 then use strsignal istead of sys_siglist. 5506 then use strsignal istead of sys_siglist.
5503 * w32proc.c (sys_wait): Likewise. 5507 * w32proc.c (sys_wait): Likewise.
5504 5508
5505 * s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h, 5509 * s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h,
5506 s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h, 5510 s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h,
5507 s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, 5511 s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h,
@@ -5614,7 +5618,7 @@
5614 (Ffield_beginning, Ffield_end): Add ESCAPE_FROM_EDGE parameter. 5618 (Ffield_beginning, Ffield_end): Add ESCAPE_FROM_EDGE parameter.
5615 (Fconstrain_to_field): Likewise. 5619 (Fconstrain_to_field): Likewise.
5616 (syms_of_editfns): Init Sfield_string_no_properties. 5620 (syms_of_editfns): Init Sfield_string_no_properties.
5617 (Ffield_string, Ferase_field, Ffield_end): 5621 (Ffield_string, Ferase_field, Ffield_end):
5618 Supply new MERGE_AT_BOUNDARY argument to find_field. 5622 Supply new MERGE_AT_BOUNDARY argument to find_field.
5619 (Fline_beginning_position, Fline_end_position): Supply new 5623 (Fline_beginning_position, Fline_end_position): Supply new
5620 ESCAPE_FROM_EDGE parameter to Fconstrain_to_field. 5624 ESCAPE_FROM_EDGE parameter to Fconstrain_to_field.
@@ -5665,7 +5669,7 @@
5665 (syms_of_minibuf): Remove initializations of 5669 (syms_of_minibuf): Remove initializations of
5666 Sminibuffer_prompt_width and Sminibuffer_prompt_end. 5670 Sminibuffer_prompt_width and Sminibuffer_prompt_end.
5667 * buffer.h (struct buffer): Remove prompt_end_charpos field. 5671 * buffer.h (struct buffer): Remove prompt_end_charpos field.
5668 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer): 5672 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
5669 Don't initialize prompt_end_charpos field. 5673 Don't initialize prompt_end_charpos field.
5670 * syntax.c (Fforward_word): Likewise. 5674 * syntax.c (Fforward_word): Likewise.
5671 Constrain to any field. 5675 Constrain to any field.
@@ -5680,7 +5684,7 @@
5680 list. 5684 list.
5681 (shrink_mini_window): Restore old window sizes only if old 5685 (shrink_mini_window): Restore old window sizes only if old
5682 size information is valid in all windows in a window tree. 5686 size information is valid in all windows in a window tree.
5683 5687
56841999-10-15 Gerd Moellmann <gerd@gnu.org> 56881999-10-15 Gerd Moellmann <gerd@gnu.org>
5685 5689
5686 * xmenu.c (set_frame_menubar): Don't call 5690 * xmenu.c (set_frame_menubar): Don't call
@@ -5705,7 +5709,7 @@
57051999-10-10 Gerd Moellmann <gerd@gnu.org> 57091999-10-10 Gerd Moellmann <gerd@gnu.org>
5706 5710
5707 * keyboard.c (auto-save-interval): Fix documentation. 5711 * keyboard.c (auto-save-interval): Fix documentation.
5708 5712
57091999-10-09 Richard M. Stallman <rms@gnu.org> 57131999-10-09 Richard M. Stallman <rms@gnu.org>
5710 5714
5711 * print.c (print): When removing objects from Vprint_number_table, 5715 * print.c (print): When removing objects from Vprint_number_table,
@@ -5733,7 +5737,7 @@
5733 * xterm.c (XTread_socket) <ClientMessage, WM_TAKE_FOCUS>: 5737 * xterm.c (XTread_socket) <ClientMessage, WM_TAKE_FOCUS>:
5734 Don't call XSetInputFocus because that can generate additional 5738 Don't call XSetInputFocus because that can generate additional
5735 FocusIn events. 5739 FocusIn events.
5736 5740
57371999-10-07 Jeffrey C Honig <jch@bsdi.com> 57411999-10-07 Jeffrey C Honig <jch@bsdi.com>
5738 5742
5739 * bsdos4.h [HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP. 5743 * bsdos4.h [HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
@@ -5914,7 +5918,7 @@
5914 * casefiddle.c (casify_object): Remove unused variables. 5918 * casefiddle.c (casify_object): Remove unused variables.
5915 (casify_region): Ditto. 5919 (casify_region): Ditto.
5916 5920
5917 * filelock.c (get_boot_time): Put local variable used in 5921 * filelock.c (get_boot_time): Put local variable used in
5918 conditinally compiled section in #ifdef. 5922 conditinally compiled section in #ifdef.
5919 (toplevel): Include stdio.h. 5923 (toplevel): Include stdio.h.
5920 5924
@@ -6105,7 +6109,7 @@
6105 * xdisp.c (resize_mini_window): Don't report changed window 6109 * xdisp.c (resize_mini_window): Don't report changed window
6106 height if it actually hasn't changed. 6110 height if it actually hasn't changed.
6107 6111
6108 * widget.c (set_frame_size, EmacsFrameSetCharSize): Remove 6112 * widget.c (set_frame_size, EmacsFrameSetCharSize): Remove
6109 unused variables. 6113 unused variables.
6110 (mark_shell_size_user_specified): Put in #if 0 because not used. 6114 (mark_shell_size_user_specified): Put in #if 0 because not used.
6111 (create_frame_gcs): Put in #if 0 because currently unused. 6115 (create_frame_gcs): Put in #if 0 because currently unused.
@@ -6149,7 +6153,7 @@
6149 (x_set_menu_bar_lines): Put local variable used only for 6153 (x_set_menu_bar_lines): Put local variable used only for
6150 non-toolkit case in #ifdef/#endif. 6154 non-toolkit case in #ifdef/#endif.
6151 (x_figure_window_size): Remove unused variable(s). 6155 (x_figure_window_size): Remove unused variable(s).
6152 (x_figure_window_size, x_window, lookup_image, 6156 (x_figure_window_size, x_window, lookup_image,
6153 xbm_read_bitmap_file_data, x_build_heuristic_mask, pbm_load, 6157 xbm_read_bitmap_file_data, x_build_heuristic_mask, pbm_load,
6154 png_load, jpeg_load, gif_load, x_create_tip_frame, 6158 png_load, jpeg_load, gif_load, x_create_tip_frame,
6155 x_create_tip_frame, Fx_show_tip, x_set_border_pixel): Ditto. 6159 x_create_tip_frame, Fx_show_tip, x_set_border_pixel): Ditto.
@@ -6430,7 +6434,7 @@
6430 * buffer.h (prompt_end_charpos): Replaces 6434 * buffer.h (prompt_end_charpos): Replaces
6431 minibuffer_prompt_length. 6435 minibuffer_prompt_length.
6432 6436
6433 * minibuf.c (read_minibuf): Return mini-buffer contents 6437 * minibuf.c (read_minibuf): Return mini-buffer contents
6434 without the prompt. 6438 without the prompt.
6435 6439
6436 * editfns.c (make_buffer_string_both): Take out the code 6440 * editfns.c (make_buffer_string_both): Take out the code
@@ -6740,7 +6744,7 @@
67401999-09-04 Gerd Moellmann <gerd@gnu.org> 67441999-09-04 Gerd Moellmann <gerd@gnu.org>
6741 6745
6742 * window.c (Qwindow_size_fixed): Replaces Qfixed_window_size. 6746 * window.c (Qwindow_size_fixed): Replaces Qfixed_window_size.
6743 (window_fixed_size_p): Use Qwindow_size_fixed instead of 6747 (window_fixed_size_p): Use Qwindow_size_fixed instead of
6744 Qfixed_window_size. 6748 Qfixed_window_size.
6745 (syms_of_window): Ditto. 6749 (syms_of_window): Ditto.
6746 6750
@@ -6792,7 +6796,7 @@
6792 6796
6793 * callproc.c (call-process) [macintosh]: Call mac_run_command in 6797 * callproc.c (call-process) [macintosh]: Call mac_run_command in
6794 sysdep.c. The Mac code is modeled after the DOS code. 6798 sysdep.c. The Mac code is modeled after the DOS code.
6795 6799
6796 * dispextern.h [macintosh]: Include macterm.h to define substitute X 6800 * dispextern.h [macintosh]: Include macterm.h to define substitute X
6797 Window types and macros. 6801 Window types and macros.
6798 6802
@@ -6800,35 +6804,35 @@
6800 (enum output_method): Add mac_output frame type. 6804 (enum output_method): Add mac_output frame type.
6801 (union output_data): Add new alternative `mac'. 6805 (union output_data): Add new alternative `mac'.
6802 (FRAME_MAC_P): New macro. 6806 (FRAME_MAC_P): New macro.
6803 6807
6804 * frame.c (Fframep) [macintosh]: Handle mac frame type. 6808 * frame.c (Fframep) [macintosh]: Handle mac frame type.
6805 (syms_of_frame_1): Initialize Qmac. 6809 (syms_of_frame_1): Initialize Qmac.
6806 (make_terminal_frame) [macintosh]: Initialize output_data.mac fields. 6810 (make_terminal_frame) [macintosh]: Initialize output_data.mac fields.
6807 (Fmake_terminal_frame) [macintosh]: Add an alternate error check. 6811 (Fmake_terminal_frame) [macintosh]: Add an alternate error check.
6808 (Fmodify_frame_parameters) [macintosh]: Call 6812 (Fmodify_frame_parameters) [macintosh]: Call
6809 mac_set_frame_parameter in macterm.c. 6813 mac_set_frame_parameter in macterm.c.
6810 6814
6811 * keyboard.c [macintosh]: Set KBD_BUFFER_SIZE to a smaller value 6815 * keyboard.c [macintosh]: Set KBD_BUFFER_SIZE to a smaller value
6812 (512) because Mac compilers limit local data of a function to 32K. 6816 (512) because Mac compilers limit local data of a function to 32K.
6813 6817
6814 * make-docfiles.c: Correctly handle input files with Mac-style 6818 * make-docfiles.c: Correctly handle input files with Mac-style
6815 eol's. 6819 eol's.
6816 6820
6817 * sysdep.c: Define numerous routines to emulate Unix system calls. 6821 * sysdep.c: Define numerous routines to emulate Unix system calls.
6818 6822
6819 * xfaces.c: on MacOS, define the set of colors listed in rgb.txt 6823 * xfaces.c: on MacOS, define the set of colors listed in rgb.txt
6820 file of an X Window environment. 6824 file of an X Window environment.
6821 6825
6822 * xfaces.c: on MacOS, define the Lisp functions x-display-color-p, 6826 * xfaces.c: on MacOS, define the Lisp functions x-display-color-p,
6823 x-display-grayscale, x-color-defined-p, and x-color-values. 6827 x-display-grayscale, x-color-defined-p, and x-color-values.
6824 6828
6825 * sysdep.c [macintosh] (stat, fstat, mkdir, rmdir, utime, access) 6829 * sysdep.c [macintosh] (stat, fstat, mkdir, rmdir, utime, access)
6826 (open, creat, unlink, read, write, rename, fopen, pause, alarm) 6830 (open, creat, unlink, read, write, rename, fopen, pause, alarm)
6827 (signal, sleep, gmtime, localtime, ctime, time, index, mktemp) 6831 (signal, sleep, gmtime, localtime, ctime, time, index, mktemp)
6828 (getpwuid, getpwnam, dup, dup2, isatty, getgid, getegid, getuid) 6832 (getpwuid, getpwnam, dup, dup2, isatty, getgid, getegid, getuid)
6829 (geteuid, getpid, getenv, uname, opendir, closedir, readdir, getwd.): 6833 (geteuid, getpid, getenv, uname, opendir, closedir, readdir, getwd.):
6830 New functions, replacing POSIX features. 6834 New functions, replacing POSIX features.
6831 6835
6832 * sysdep.c [macintosh] (Mac2UnixPathname, Unix2MacPathname, CheckAlarm) 6836 * sysdep.c [macintosh] (Mac2UnixPathname, Unix2MacPathname, CheckAlarm)
6833 (InitMyPasswd, GetTempDirName, mystrchr, mystrtok, mystrcpy): 6837 (InitMyPasswd, GetTempDirName, mystrchr, mystrtok, mystrcpy):
6834 (InitEmacsPasswdDir, run_mac_command): New subroutines. 6838 (InitEmacsPasswdDir, run_mac_command): New subroutines.
@@ -6900,7 +6904,7 @@
6900 (VALID_MULTIBYTE_CHAR_P): This macro deleted. 6904 (VALID_MULTIBYTE_CHAR_P): This macro deleted.
6901 (PARSE_COMPOSITE_SEQ): New macro. 6905 (PARSE_COMPOSITE_SEQ): New macro.
6902 (PARSE_CHARACTER_SEQ): New macro. 6906 (PARSE_CHARACTER_SEQ): New macro.
6903 (PARSE_MULTIBYTE_SEQ): New macro. 6907 (PARSE_MULTIBYTE_SEQ): New macro.
6904 (CHAR_PRINTABLE_P): New macro. 6908 (CHAR_PRINTABLE_P): New macro.
6905 (STRING_CHAR): Adjusted for the change of string_to_non_ascii_char. 6909 (STRING_CHAR): Adjusted for the change of string_to_non_ascii_char.
6906 (STRING_CHAR_AND_LENGTH): Likewise. 6910 (STRING_CHAR_AND_LENGTH): Likewise.
@@ -7028,7 +7032,7 @@
7028 (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once 7032 (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once
7029 instead of twice. 7033 instead of twice.
7030 7034
7031 * widget.c (set_frame_size): Set flags_area_extra to 7035 * widget.c (set_frame_size): Set flags_area_extra to
7032 FRAME_FLAGS_AREA_WIDTH instead of 2 * that width. 7036 FRAME_FLAGS_AREA_WIDTH instead of 2 * that width.
7033 (EmacsFrameSetCharSize): Ditto. 7037 (EmacsFrameSetCharSize): Ditto.
7034 7038
@@ -7134,7 +7138,7 @@
7134 (resize_mini_window): Save/restore window configuration 7138 (resize_mini_window): Save/restore window configuration
7135 differently. 7139 differently.
7136 7140
7137 * lisp.h (Vresize_mini_config, resize_mini_frame, 7141 * lisp.h (Vresize_mini_config, resize_mini_frame,
7138 resize_mini_initial_height): Add extern declarations. 7142 resize_mini_initial_height): Add extern declarations.
7139 7143
7140 * xterm.c (expose_window_tree): Fix typo CANON_Y_UNIT to 7144 * xterm.c (expose_window_tree): Fix typo CANON_Y_UNIT to
@@ -7234,7 +7238,7 @@
7234 7238
7235 * buffer.c (modify_overlay): Compute beg/end_unchanged 7239 * buffer.c (modify_overlay): Compute beg/end_unchanged
7236 per buffer. 7240 per buffer.
7237 (Fget_buffer_create): Initialize new members of the buffer 7241 (Fget_buffer_create): Initialize new members of the buffer
7238 structure. 7242 structure.
7239 7243
72401999-08-22 Gerd Moellmann <gerd@gnu.org> 72441999-08-22 Gerd Moellmann <gerd@gnu.org>
@@ -7251,19 +7255,19 @@
72511999-08-22 Gerd Moellmann <gerd@gnu.org> 72551999-08-22 Gerd Moellmann <gerd@gnu.org>
7252 7256
7253 * xfns.c: Call change_frame_size and do_pending_window_change with 7257 * xfns.c: Call change_frame_size and do_pending_window_change with
7254 new parameter. 7258 new parameter.
7255 7259
72561999-08-21 Gerd Moellmann <gerd@gnu.org> 72601999-08-21 Gerd Moellmann <gerd@gnu.org>
7257 7261
7258 * xdisp.c (resize_mini_window): Do it for truncate-lines t as 7262 * xdisp.c (resize_mini_window): Do it for truncate-lines t as
7259 well. 7263 well.
7260 (redisplay_internal): Resize mini-window only if text might 7264 (redisplay_internal): Resize mini-window only if text might
7261 have changed. 7265 have changed.
7262 (display_echo_area): Reset displayed echo_area_buffer to nil 7266 (display_echo_area): Reset displayed echo_area_buffer to nil
7263 at the end if we're displaying a nil message. 7267 at the end if we're displaying a nil message.
7264 7268
72651999-08-21 Gerd Moellmann <gerd@gnu.org> 72691999-08-21 Gerd Moellmann <gerd@gnu.org>
7266 7270
7267 * fns.c (hash_lookup): Test with EQ before calling key comparion 7271 * fns.c (hash_lookup): Test with EQ before calling key comparion
7268 function. 7272 function.
7269 (hash_remove): Ditto. 7273 (hash_remove): Ditto.
@@ -7291,7 +7295,7 @@
7291 and change_frame_size. 7295 and change_frame_size.
7292 7296
7293 * xfaces.c (face_at_buffer_position): Don't xassert that 7297 * xfaces.c (face_at_buffer_position): Don't xassert that
7294 window's buffers equals current_buffer; this is not the 7298 window's buffers equals current_buffer; this is not the
7295 case during echo area display. 7299 case during echo area display.
7296 7300
72971999-08-21 Gerd Moellmann <gerd@gnu.org> 73011999-08-21 Gerd Moellmann <gerd@gnu.org>
@@ -7324,7 +7328,7 @@
7324 7328
7325 * dispextern.h, lisp.h: Add function prototypes. 7329 * dispextern.h, lisp.h: Add function prototypes.
7326 7330
7327 * dispnew.c (set_window_cursor_after_update): Do the 7331 * dispnew.c (set_window_cursor_after_update): Do the
7328 cursor_in_echo_area case only for a mini-window showing 7332 cursor_in_echo_area case only for a mini-window showing
7329 a message. Don't let cursor end up after the end of a row. 7333 a message. Don't let cursor end up after the end of a row.
7330 7334
@@ -7345,7 +7349,7 @@
7345 (display_echo_area, display_echo_area_1): New. 7349 (display_echo_area, display_echo_area_1): New.
7346 7350
7347 (current_message, current_message_1): New. 7351 (current_message, current_message_1): New.
7348 (push_message, restore_message, pop_message, 7352 (push_message, restore_message, pop_message,
7349 check_message_stack): New. 7353 check_message_stack): New.
7350 (truncate_echo_area): Rewritten. 7354 (truncate_echo_area): Rewritten.
7351 (truncate_message_1): New. 7355 (truncate_message_1): New.
@@ -7354,7 +7358,7 @@
7354 (redisplay_internal): Check for needed echo area update 7358 (redisplay_internal): Check for needed echo area update
7355 differently. 7359 differently.
7356 (redisplay_preserve_echo_area): Rewritten. 7360 (redisplay_preserve_echo_area): Rewritten.
7357 (redisplay_window): Check for mini-window displaying echo area 7361 (redisplay_window): Check for mini-window displaying echo area
7358 message differently. 7362 message differently.
7359 (syms_of_xdisp): Initialize Vmessage_stack and echo area buffers. 7363 (syms_of_xdisp): Initialize Vmessage_stack and echo area buffers.
7360 Remove initialzation of removed variables. 7364 Remove initialzation of removed variables.
@@ -7370,7 +7374,7 @@
7370 7374
7371 * print.c: Remove conditional compilation on `standalone'. 7375 * print.c: Remove conditional compilation on `standalone'.
7372 (glyph_len, str_to_glyph_cpy, str_to_glyph_ncpy, 7376 (glyph_len, str_to_glyph_cpy, str_to_glyph_ncpy,
7373 glyph_to_str_cpy): Remove that section because GLYPHs are no 7377 glyph_to_str_cpy): Remove that section because GLYPHs are no
7374 longer used in that way. 7378 longer used in that way.
7375 (PRINTDECLARE): Add multibyte. 7379 (PRINTDECLARE): Add multibyte.
7376 (PRINTPREPARE, PRINTFINISH): Handle printcharfun t differently. 7380 (PRINTPREPARE, PRINTFINISH): Handle printcharfun t differently.
@@ -7401,7 +7405,7 @@
7401 * fileio.c (Fdo_auto_save): Use push_message, restore_message, 7405 * fileio.c (Fdo_auto_save): Use push_message, restore_message,
7402 pop_message. 7406 pop_message.
7403 7407
7404 * minibuf.c (read_minibuf): Use clear_message instead of 7408 * minibuf.c (read_minibuf): Use clear_message instead of
7405 setting echo_area_glyphs. 7409 setting echo_area_glyphs.
7406 (Fminibuffer_completion_help): Ditto. 7410 (Fminibuffer_completion_help): Ditto.
7407 7411
@@ -7453,7 +7457,7 @@
7453 here. 7457 here.
7454 7458
74551999-08-18 Gerd Moellmann <gerd@gnu.org> 74591999-08-18 Gerd Moellmann <gerd@gnu.org>
7456 7460
7457 * dispnew.c (update_frame_line): Fix previous change. If writing 7461 * dispnew.c (update_frame_line): Fix previous change. If writing
7458 whole line clear to end of frame. 7462 whole line clear to end of frame.
7459 7463
@@ -7536,12 +7540,12 @@
7536 (sorted_font_list): If Vfont_list_limit is an integer > 0, list 7540 (sorted_font_list): If Vfont_list_limit is an integer > 0, list
7537 maximally that number of fonts, otherwise use 7541 maximally that number of fonts, otherwise use
7538 DEFAULT_FONT_LIST_LIMIT. 7542 DEFAULT_FONT_LIST_LIMIT.
7539 (Fx_font_family_list): Bind `font-list-limit' to higher values 7543 (Fx_font_family_list): Bind `font-list-limit' to higher values
7540 until we have all fonts. 7544 until we have all fonts.
7541 (Fxfont_list): Additionally return the full names of fonts and 7545 (Fxfont_list): Additionally return the full names of fonts and
7542 their registry and encoding. 7546 their registry and encoding.
7543 7547
7544 * xterm.c (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: 7548 * xterm.c (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
7545 Simplify clearing "under" scroll bar. 7549 Simplify clearing "under" scroll bar.
7546 7550
7547 * window.c (Qfixed_window_size): New. 7551 * window.c (Qfixed_window_size): New.
@@ -7577,7 +7581,7 @@
7577 7581
7578 * window.h (struct window): New field too_small_ok. 7582 * window.h (struct window): New field too_small_ok.
7579 7583
7580 * window.c (set_window_height, set_window_width): 7584 * window.c (set_window_height, set_window_width):
7581 If window starts out "too small", set its too_small_ok flag. 7585 If window starts out "too small", set its too_small_ok flag.
7582 If window's too_small_ok flag is set, don't delete it 7586 If window's too_small_ok flag is set, don't delete it
7583 unless it is so small it would cause a crash. 7587 unless it is so small it would cause a crash.
@@ -7669,7 +7673,7 @@
7669 7673
76701999-08-06 Geoff Voelker <voelker@cs.washington.edu> 76741999-08-06 Geoff Voelker <voelker@cs.washington.edu>
7671 7675
7672 * dired.c (directory_files_internal, Fdirectory_files_and_attributes, 7676 * dired.c (directory_files_internal, Fdirectory_files_and_attributes,
7673 Ffile_attributes_lessp): New functions. 7677 Ffile_attributes_lessp): New functions.
7674 (Fdirectory_files): Use directory_files_internal. 7678 (Fdirectory_files): Use directory_files_internal.
7675 (syms_of_dired): Initialize Fdirectory_files_and_attributes, 7679 (syms_of_dired): Initialize Fdirectory_files_and_attributes,
@@ -7681,7 +7685,7 @@
7681 * w32fns.c (x_set_icon_type): Support setting frame icons. 7685 * w32fns.c (x_set_icon_type): Support setting frame icons.
7682 * w32term.c (x_bitmap_icon): New function. 7686 * w32term.c (x_bitmap_icon): New function.
7683 (x_make_frame_visible, x_iconify_frame): Invoke x_bitmap_icon. 7687 (x_make_frame_visible, x_iconify_frame): Invoke x_bitmap_icon.
7684 7688
76851999-08-06 Gerd Moellmann <gerd@gnu.org> 76891999-08-06 Gerd Moellmann <gerd@gnu.org>
7686 7690
7687 * xdisp.c (set_iterator_to_next): After delivering a character 7691 * xdisp.c (set_iterator_to_next): After delivering a character
@@ -7693,7 +7697,7 @@
7693 * xdisp.c (reseat_at_next_visible_line_start): New parameter 7697 * xdisp.c (reseat_at_next_visible_line_start): New parameter
7694 on_newline_p. 7698 on_newline_p.
7695 (set_iterator_to_next): After delivering last char 7699 (set_iterator_to_next): After delivering last char
7696 from display vector, reseat on next visible line start if 7700 from display vector, reseat on next visible line start if
7697 dpvec_char_len < 0. 7701 dpvec_char_len < 0.
7698 (next_element_from_buffer): Set dpvec_char_len to -1 for 7702 (next_element_from_buffer): Set dpvec_char_len to -1 for
7699 selective display. 7703 selective display.
@@ -7826,7 +7830,7 @@
7826 7830
78271999-07-31 Richard M. Stallman <rms@gnu.org> 78311999-07-31 Richard M. Stallman <rms@gnu.org>
7828 7832
7829 * xfns.c (x_set_internal_border_width): 7833 * xfns.c (x_set_internal_border_width):
7830 Call do_pending_window_change. Don't block input, don't call XFlush. 7834 Call do_pending_window_change. Don't block input, don't call XFlush.
7831 (x_set_vertical_scroll_bars): Call do_pending_window_change. 7835 (x_set_vertical_scroll_bars): Call do_pending_window_change.
7832 (x_set_scroll_bar_width, x_set_font): Likewise. 7836 (x_set_scroll_bar_width, x_set_font): Likewise.
@@ -7949,7 +7953,7 @@
7949 7953
7950 * xfaces.c (load_face_colors): Load background color if setting 7954 * xfaces.c (load_face_colors): Load background color if setting
7951 stipple, too. 7955 stipple, too.
7952 (prepare_face_for_display): Use FillOpaqueStippled instead of 7956 (prepare_face_for_display): Use FillOpaqueStippled instead of
7953 FillStippled. 7957 FillStippled.
7954 7958
79551999-07-26 Ken'ichi Handa <handa@gnu.org> 79591999-07-26 Ken'ichi Handa <handa@gnu.org>
@@ -7967,12 +7971,12 @@
7967 7971
79681999-07-26 Markus Rost <rost@gnu.org> 79721999-07-26 Markus Rost <rost@gnu.org>
7969 7973
7970 * fns.c (Fgethash): Fix order of variables (patch by gerd). 7974 * fns.c (Fgethash): Fix order of variables (patch by gerd).
7971 (Fputhash): Ditto. 7975 (Fputhash): Ditto.
7972 (Fremhash): Ditto. 7976 (Fremhash): Ditto.
7973 7977
79741999-07-26 Gerd Moellmann <gerd@gnu.org> 79781999-07-26 Gerd Moellmann <gerd@gnu.org>
7975 7979
7976 * widget.c (EmacsFrameSetCharSize): Don't add XtNborderWidth 7980 * widget.c (EmacsFrameSetCharSize): Don't add XtNborderWidth
7977 value to frame width and height. 7981 value to frame width and height.
7978 7982
@@ -7988,7 +7992,7 @@
7988 7992
7989 * xfns.c (x_set_mouse_color): Always unload the old color. 7993 * xfns.c (x_set_mouse_color): Always unload the old color.
7990 Don't allow nil as color value. 7994 Don't allow nil as color value.
7991 (x_set_cursor_color, x_set_background_color, x_set_foreground_color): 7995 (x_set_cursor_color, x_set_background_color, x_set_foreground_color):
7992 Always unload the old color. 7996 Always unload the old color.
7993 7997
7994 * indent.c (Fmove_to_column): Extend end of line only if FORCE is t. 7998 * indent.c (Fmove_to_column): Extend end of line only if FORCE is t.
@@ -8053,7 +8057,7 @@
8053 * xterm.c (x_calc_absolute_position): Subtract menu bar height 8057 * xterm.c (x_calc_absolute_position): Subtract menu bar height
8054 for YNegative, if using X toolkit. 8058 for YNegative, if using X toolkit.
8055 8059
8056 * xfns.c (x_real_positions): Don't subtract window borders 8060 * xfns.c (x_real_positions): Don't subtract window borders
8057 from positions returned. 8061 from positions returned.
8058 8062
80591999-07-17 Gerd Moellmann <gerd@gnu.org> 80631999-07-17 Gerd Moellmann <gerd@gnu.org>
@@ -8179,7 +8183,7 @@
8179 * xdisp.c (next_element_from_string): Give padding spaces 8183 * xdisp.c (next_element_from_string): Give padding spaces
8180 a position of -1. 8184 a position of -1.
8181 8185
8182 * dispnew.c (adjust_glyph_matrix): Some work to support 8186 * dispnew.c (adjust_glyph_matrix): Some work to support
8183 marginals areas on tty frames in a future version. 8187 marginals areas on tty frames in a future version.
8184 (allocate_matrices_for_frame_redisplay): Ditto. 8188 (allocate_matrices_for_frame_redisplay): Ditto.
8185 8189
@@ -8225,7 +8229,7 @@
8225 8229
82261999-07-07 Gerd Moellmann <gerd@gnu.org> 82301999-07-07 Gerd Moellmann <gerd@gnu.org>
8227 8231
8228 * xdisp.c (redisplay_internal): Ensure that redisplayinp_p 8232 * xdisp.c (redisplay_internal): Ensure that redisplayinp_p
8229 doesn't become negative when decrementing it. 8233 doesn't become negative when decrementing it.
8230 8234
8231 * eval.c (Fsignal): Reset redisplaying_p to zero. 8235 * eval.c (Fsignal): Reset redisplaying_p to zero.
@@ -8251,7 +8255,7 @@
8251 * dispnew.c (shift_glyph_matrix): Move some computations out 8255 * dispnew.c (shift_glyph_matrix): Move some computations out
8252 of the loop. 8256 of the loop.
8253 8257
8254 * dispnew.c (margin_glyphs_to_reserve): Use NUMBERP and 8258 * dispnew.c (margin_glyphs_to_reserve): Use NUMBERP and
8255 XFLOATINT. 8259 XFLOATINT.
8256 8260
82571999-07-06 Gerd Moellmann <gerd@gnu.org> 82611999-07-06 Gerd Moellmann <gerd@gnu.org>
@@ -8287,7 +8291,7 @@
8287 8291
8288 * keyboard.c (kbd_store_ptr): Declare it as a volatile pointer 8292 * keyboard.c (kbd_store_ptr): Declare it as a volatile pointer
8289 instead of a pointer to a volatile input_event. 8293 instead of a pointer to a volatile input_event.
8290 (kbd_buffer_store_event): Remove volatile modifier from 8294 (kbd_buffer_store_event): Remove volatile modifier from
8291 declaration of local variable `sp'. 8295 declaration of local variable `sp'.
8292 (Fdiscard_input): Don't cast when assigning kbd_store_ptr 8296 (Fdiscard_input): Don't cast when assigning kbd_store_ptr
8293 to kbd_fetch_ptr. 8297 to kbd_fetch_ptr.
@@ -8362,7 +8366,7 @@
8362 8366
83631999-06-28 Gerd Moellmann <gerd@gnu.org> 83671999-06-28 Gerd Moellmann <gerd@gnu.org>
8364 8368
8365 * dispnew.c (update_window): Use mode_line_p flag of rows 8369 * dispnew.c (update_window): Use mode_line_p flag of rows
8366 instead of WINDOW_WANTS_MODELINE_P. 8370 instead of WINDOW_WANTS_MODELINE_P.
8367 8371
8368 * xterm.c (clear_mouse_face): Make externally visible. 8372 * xterm.c (clear_mouse_face): Make externally visible.
@@ -8457,7 +8461,7 @@
8457 scrolling. 8461 scrolling.
8458 (compute_window_start_on_continuation_line): Take top line into 8462 (compute_window_start_on_continuation_line): Take top line into
8459 account. 8463 account.
8460 (redisplay_window): Ditto. If top line height has changed, 8464 (redisplay_window): Ditto. If top line height has changed,
8461 trigger a new redisplay. 8465 trigger a new redisplay.
8462 (try_window_reusing_current_matrix): Take top line into account. 8466 (try_window_reusing_current_matrix): Take top line into account.
8463 (find_last_row_displaying_text): Ditto. 8467 (find_last_row_displaying_text): Ditto.
@@ -8546,7 +8550,7 @@
8546 8550
8547 * xfns.c: Move the PNG section before the JPEG one to avoid 8551 * xfns.c: Move the PNG section before the JPEG one to avoid
8548 problems surrounding setjmp.h/png.h on GNU/Linux. 8552 problems surrounding setjmp.h/png.h on GNU/Linux.
8549 8553
85501999-06-17 Gerd Moellmann <gerd@gnu.org> 85541999-06-17 Gerd Moellmann <gerd@gnu.org>
8551 8555
8552 * xfns.c (x_kill_gs_process): Don't free colors. 8556 * xfns.c (x_kill_gs_process): Don't free colors.
@@ -8804,10 +8808,10 @@
8804 * xterm.c (note_mouse_highlight): Check overlays for help-text 8808 * xterm.c (note_mouse_highlight): Check overlays for help-text
8805 property. 8809 property.
8806 (XTread_socket): Fix compiler warning. 8810 (XTread_socket): Fix compiler warning.
8807 8811
88081999-03-05 Gerd Moellmann <gerd@gnu.org> 88121999-03-05 Gerd Moellmann <gerd@gnu.org>
8809 8813
8810 * xterm.c (note_mouse_highlight): Don't restrict number of 8814 * xterm.c (note_mouse_highlight): Don't restrict number of
8811 overlay to 10. Call overlays_at so that it doesn't try to 8815 overlay to 10. Call overlays_at so that it doesn't try to
8812 extend the vector. 8816 extend the vector.
8813 8817
@@ -8961,14 +8965,14 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
8961 (struct face): Added two new members. 8965 (struct face): Added two new members.
8962 underline_color, underline_defaulted_p. 8966 underline_color, underline_defaulted_p.
8963 8967
8964 * xfaces.c (merge_face_vector_with_property): 8968 * xfaces.c (merge_face_vector_with_property):
8965 (check_lface_attrs): Accept the string value for underline. 8969 (check_lface_attrs): Accept the string value for underline.
8966 (Finternal_set_lisp_face_attribute): Likewise. 8970 (Finternal_set_lisp_face_attribute): Likewise.
8967 8971
8968 * xfaces.c (load_color): Change the last argument type to enum 8972 * xfaces.c (load_color): Change the last argument type to enum
8969 lface_attribute_index from int. And addec code for underling coloring. 8973 lface_attribute_index from int. And addec code for underling coloring.
8970 (load_face_colors): Pass LFACE_*_INDEX to load_color. 8974 (load_face_colors): Pass LFACE_*_INDEX to load_color.
8971 8975
89721999-02-12 Gerd Moellmann <gerd@gnu.org> 89761999-02-12 Gerd Moellmann <gerd@gnu.org>
8973 8977
8974 * xfns.c (Fx_image_header): Removed. 8978 * xfns.c (Fx_image_header): Removed.
@@ -8998,7 +9002,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
89981999-01-31 Gerd Moellmann <gerd@gnu.org> 90021999-01-31 Gerd Moellmann <gerd@gnu.org>
8999 9003
9000 * xfns.c (Fx_create_frame): Initialize scroll bar pixel color 9004 * xfns.c (Fx_create_frame): Initialize scroll bar pixel color
9001 values in x_output structure. 9005 values in x_output structure.
9002 (Qscroll_bar_foreground, Qscroll_bar_background): New. 9006 (Qscroll_bar_foreground, Qscroll_bar_background): New.
9003 (syms_of_xfns): Initialize these symbols. 9007 (syms_of_xfns): Initialize these symbols.
9004 9008
@@ -9099,7 +9103,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9099 (handle_face_prop): Use it. 9103 (handle_face_prop): Use it.
9100 (Qheight): Replaces Qsmaller. 9104 (Qheight): Replaces Qsmaller.
9101 (handle_height_prop): Replaces handle_smaller_prop. 9105 (handle_height_prop): Replaces handle_smaller_prop.
9102 (handle_face_prop): If iterator's font_height is not an 9106 (handle_face_prop): If iterator's font_height is not an
9103 integer, evaluate it to get the font height to use. 9107 integer, evaluate it to get the font height to use.
9104 9108
9105 * dispextern.h (HEIGHT_PROP_IDX): Replaces SMALLER_PROP_IDX. 9109 * dispextern.h (HEIGHT_PROP_IDX): Replaces SMALLER_PROP_IDX.
@@ -9242,7 +9246,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
92421998-11-20 Gerd Moellmann <gerd@gnu.org> 92461998-11-20 Gerd Moellmann <gerd@gnu.org>
9243 9247
9244 * xmenu.c (xmenu_show): Add workaround for remaining button grab 9248 * xmenu.c (xmenu_show): Add workaround for remaining button grab
9245 under LessTif Use the widget of the frame as parent for the 9249 under LessTif Use the widget of the frame as parent for the
9246 menu, again. 9250 menu, again.
9247 9251
92481998-11-19 Gerd Moellmann <gerd@gnu.org> 92521998-11-19 Gerd Moellmann <gerd@gnu.org>
@@ -9282,7 +9286,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9282 (Fx_file_dialog): New. 9286 (Fx_file_dialog): New.
9283 * fileio.c (Fread_file_name): Call it. 9287 * fileio.c (Fread_file_name): Call it.
9284 9288
9285 * xrdb.c (x_load_resources): Add default resoures for file 9289 * xrdb.c (x_load_resources): Add default resoures for file
9286 selection dialog. 9290 selection dialog.
9287 9291
92881998-11-14 Gerd Moellmann <gerd@gnu.org> 92921998-11-14 Gerd Moellmann <gerd@gnu.org>
@@ -9339,7 +9343,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9339 (x_get_glyph_string_clip_rect): Draw a toolbar window over the 9343 (x_get_glyph_string_clip_rect): Draw a toolbar window over the
9340 internal border at the top of a frame. 9344 internal border at the top of a frame.
9341 (x_init_glyph_string): Likewise. 9345 (x_init_glyph_string): Likewise.
9342 (x_draw_glyph_string_relief): Correct right x by 1 pixel for 9346 (x_draw_glyph_string_relief): Correct right x by 1 pixel for
9343 full-width lines. 9347 full-width lines.
9344 (XTflash): Don't flash the toolbar window. 9348 (XTflash): Don't flash the toolbar window.
9345 9349
@@ -9396,7 +9400,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9396 9400
93971998-11-06 Gerd Moellmann <gerd@gnu.org> 94011998-11-06 Gerd Moellmann <gerd@gnu.org>
9398 9402
9399 * xmenu.c (single_submenu): Set button_type of menu to 9403 * xmenu.c (single_submenu): Set button_type of menu to
9400 BUTTON_TYPE_NONE. 9404 BUTTON_TYPE_NONE.
9401 (single_submenu): Likewise for panes and menu items. 9405 (single_submenu): Likewise for panes and menu items.
9402 (set_frame_menubar): Set button_type of menu bar to none. 9406 (set_frame_menubar): Set button_type of menu bar to none.
@@ -9465,7 +9469,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9465 (Fx_show_tip): New. 9469 (Fx_show_tip): New.
9466 (Fx_hide_tip): New. 9470 (Fx_hide_tip): New.
9467 9471
9468 * xterm.c (x_destroy_window): Handle case that we don't have 9472 * xterm.c (x_destroy_window): Handle case that we don't have
9469 a widget. 9473 a widget.
9470 9474
9471 * dispextern.h (struct glyph_row): Rename no_marginal_areas_p 9475 * dispextern.h (struct glyph_row): Rename no_marginal_areas_p
@@ -9515,7 +9519,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9515 9519
9516 * xdisp.c (redisplay_window): Handle values of PT in front 9520 * xdisp.c (redisplay_window): Handle values of PT in front
9517 of invisible, intangible text. 9521 of invisible, intangible text.
9518 (try_window_id): Set overlay_arrow_seen to zero before 9522 (try_window_id): Set overlay_arrow_seen to zero before
9519 displaying lines. 9523 displaying lines.
9520 (display_mode_element): Assign to glyphs written for a mode 9524 (display_mode_element): Assign to glyphs written for a mode
9521 line spec `%x' as object the Lisp format string, as position 9525 line spec `%x' as object the Lisp format string, as position
@@ -9641,7 +9645,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9641 * xterm.c (XTread_socket): Dispatch expose event to widget 9645 * xterm.c (XTread_socket): Dispatch expose event to widget
9642 if using toolkit scroll bars. 9646 if using toolkit scroll bars.
9643 (x_scroll_bar_expose): Make no-op for toolkit scroll bars. 9647 (x_scroll_bar_expose): Make no-op for toolkit scroll bars.
9644 (x_scroll_bar_create): Create and show a scroll bar widget 9648 (x_scroll_bar_create): Create and show a scroll bar widget
9645 if using toolkit scroll bars. 9649 if using toolkit scroll bars.
9646 (x_scroll_bar_move): Handle tookit scroll bars. 9650 (x_scroll_bar_move): Handle tookit scroll bars.
9647 9651
@@ -9649,11 +9653,11 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9649 9653
9650 * configure.in (USE_TOOLKIT_SCROLL_BARS): New. 9654 * configure.in (USE_TOOLKIT_SCROLL_BARS): New.
9651 (HAVE_XAW3D): New. 9655 (HAVE_XAW3D): New.
9652 9656
9653 * config.in (USE_TOOLKIT_SCROLL_BARS): New. 9657 * config.in (USE_TOOLKIT_SCROLL_BARS): New.
9654 (HAVE_XAW3D): New. 9658 (HAVE_XAW3D): New.
9655 9659
9656 * xterm.c (XTset_vertical_scroll_bar): Correct position of 9660 * xterm.c (XTset_vertical_scroll_bar): Correct position of
9657 right vertical scroll bar. 9661 right vertical scroll bar.
9658 9662
96591998-10-20 Gerd Moellmann <gerd@gnu.org> 96631998-10-20 Gerd Moellmann <gerd@gnu.org>
@@ -9772,7 +9776,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9772 IMAGE_BOOL_VALUE. 9776 IMAGE_BOOL_VALUE.
9773 (parse_image_spec): Handle them. 9777 (parse_image_spec): Handle them.
9774 (image_spec_value): Additional parameter found. 9778 (image_spec_value): Additional parameter found.
9775 (free_image): Remove image from the vector `images' of the 9779 (free_image): Remove image from the vector `images' of the
9776 image cache. 9780 image cache.
9777 (clear_image_cache): Additional parameter force_p. 9781 (clear_image_cache): Additional parameter force_p.
9778 (Fclear_image_cache): New. 9782 (Fclear_image_cache): New.
@@ -9907,7 +9911,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9907 9911
99081998-10-10 Gerd Moellmann <gerd@gnu.org> 99121998-10-10 Gerd Moellmann <gerd@gnu.org>
9909 9913
9910 * dispnew.c (buffer_posn_from_coords): Don't screw up if 9914 * dispnew.c (buffer_posn_from_coords): Don't screw up if
9911 window start is not in the range BEGV..ZV. 9915 window start is not in the range BEGV..ZV.
9912 9916
99131998-10-09 Gerd Moellmann <gerd@gnu.org> 99171998-10-09 Gerd Moellmann <gerd@gnu.org>
@@ -9928,7 +9932,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
9928 9932
99291998-10-06 Gerd Moellmann <gerd@gnu.org> 99331998-10-06 Gerd Moellmann <gerd@gnu.org>
9930 9934
9931 * minibuf.c (Fminibuffer_complete_word): Fix computation of 9935 * minibuf.c (Fminibuffer_complete_word): Fix computation of
9932 i_byte when prompts are inserted into minibuffers. 9936 i_byte when prompts are inserted into minibuffers.
9933 9937
9934 * dispextern.h (FRAME_INTERNAL_BORDER_WIDTH_SAFE): New. 9938 * dispextern.h (FRAME_INTERNAL_BORDER_WIDTH_SAFE): New.
@@ -10059,7 +10063,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10059 10063
10060 * xfaces.c (realize_default_face): Use empty strings to indicate 10064 * xfaces.c (realize_default_face): Use empty strings to indicate
10061 that the face should use the default foreground/background 10065 that the face should use the default foreground/background
10062 color of the terminal. Fill font-related attributes with 10066 color of the terminal. Fill font-related attributes with
10063 appropriate values for tty frames. 10067 appropriate values for tty frames.
10064 10068
10065 * emacs.c (main): Call syms_of_xfaces before init_window_once. 10069 * emacs.c (main): Call syms_of_xfaces before init_window_once.
@@ -10097,7 +10101,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10097 * xterm.c (x_draw_glyph_string_relief): Draw top and bottom lines 10101 * xterm.c (x_draw_glyph_string_relief): Draw top and bottom lines
10098 1 pixel longer. 10102 1 pixel longer.
10099 10103
10100 * xdisp.c (face_before_or_after_it_pos): Fix computation 10104 * xdisp.c (face_before_or_after_it_pos): Fix computation
10101 of face in buffer. 10105 of face in buffer.
10102 10106
10103 * editfns.c (make_buffer_string_both): If prompt in buffer, 10107 * editfns.c (make_buffer_string_both): If prompt in buffer,
@@ -10298,7 +10302,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10298 the specified frame font in Vx_unibyte_registry_and_encoding. 10302 the specified frame font in Vx_unibyte_registry_and_encoding.
10299 (face_at_buffer_position): Handle unibyte. 10303 (face_at_buffer_position): Handle unibyte.
10300 (face_at_string_position): Likewise. 10304 (face_at_string_position): Likewise.
10301 (realize_face): New parameter unibyte_registry. 10305 (realize_face): New parameter unibyte_registry.
10302 (compute_char_face): Handle the unibyte case. 10306 (compute_char_face): Handle the unibyte case.
10303 10307
10304 * dispextern.h (struct glyph): Add bit multibyte_p. 10308 * dispextern.h (struct glyph): Add bit multibyte_p.
@@ -10335,9 +10339,9 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10335 10339
10336 * xdisp.c (get_next_display_element): Don't check for charset 10340 * xdisp.c (get_next_display_element): Don't check for charset
10337 changes if multi-byte characters are not enabled. 10341 changes if multi-byte characters are not enabled.
10338 10342
10339 * xdisp.c (echo_area_display): Use the flush function from the 10343 * xdisp.c (echo_area_display): Use the flush function from the
10340 redisplay interface. 10344 redisplay interface.
10341 * keyboard.c (detect_input_pending_run_timers): Likewise. 10345 * keyboard.c (detect_input_pending_run_timers): Likewise.
10342 10346
10343 * dispextern.h (produce_*glyphs_hook): Removed. 10347 * dispextern.h (produce_*glyphs_hook): Removed.
@@ -10379,7 +10383,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10379 10383
103801998-07-30 Gerd Moellmann <gerd@gnu.org> 103841998-07-30 Gerd Moellmann <gerd@gnu.org>
10381 10385
10382 * dispnew.c (adjust_glyph_matrix): Use a different check to 10386 * dispnew.c (adjust_glyph_matrix): Use a different check to
10383 decide to do nothing. 10387 decide to do nothing.
10384 10388
10385 * xfaces.c (face_at_string_position): Additional parameter 10389 * xfaces.c (face_at_string_position): Additional parameter
@@ -10410,7 +10414,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10410 * xfaces.c (free_realized_faces): Don't clear current matrices 10414 * xfaces.c (free_realized_faces): Don't clear current matrices
10411 of a frame being destroyed. 10415 of a frame being destroyed.
10412 10416
10413 * frame.c (make_frame): Call set_window_buffer instead of 10417 * frame.c (make_frame): Call set_window_buffer instead of
10414 Fset_window_buffer. 10418 Fset_window_buffer.
10415 10419
10416 * window.c (set_window_buffer): Extracted from Fset_window_buffer, 10420 * window.c (set_window_buffer): Extracted from Fset_window_buffer,
@@ -10487,7 +10491,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10487 (charset_at_position): Take charpos/bytepos into account. 10491 (charset_at_position): Take charpos/bytepos into account.
10488 (back_to_previous_line_start): Set iterator to previous line start. 10492 (back_to_previous_line_start): Set iterator to previous line start.
10489 (forward_to_next_line_start): Set iterator to next line start. 10493 (forward_to_next_line_start): Set iterator to next line start.
10490 (back_to_previous_visible_line_start): Renamed from 10494 (back_to_previous_visible_line_start): Renamed from
10491 move_iterator_previous_visible_line_start. 10495 move_iterator_previous_visible_line_start.
10492 (set_iterator_to_next_visible_line_start): Handle charpos/bytepos. 10496 (set_iterator_to_next_visible_line_start): Handle charpos/bytepos.
10493 (get_face_at_it_pos): Renamed from get_face_from_cursor_pos. 10497 (get_face_at_it_pos): Renamed from get_face_from_cursor_pos.
@@ -10533,11 +10537,11 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10533 (check_matrix_invariants): Add additional checks for charpos/ 10537 (check_matrix_invariants): Add additional checks for charpos/
10534 bytepos consistency. 10538 bytepos consistency.
10535 (direct_output_for_insert): Changed for charpos/bytepos. 10539 (direct_output_for_insert): Changed for charpos/bytepos.
10536 (buffer_posn_from_coords): Likewise. Put code dealing with 10540 (buffer_posn_from_coords): Likewise. Put code dealing with
10537 `direction-reversed' in #if 0. 10541 `direction-reversed' in #if 0.
10538 10542
10539 * xterm.h: Merge with 20.2.97. 10543 * xterm.h: Merge with 20.2.97.
10540 10544
10541 * frame.h: Merge with 20.2.97. 10545 * frame.h: Merge with 20.2.97.
10542 10546
10543 * window.h: Merge with 20.2.97. Add window_end_bytepos. 10547 * window.h: Merge with 20.2.97. Add window_end_bytepos.
@@ -10656,7 +10660,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10656 RES_TYPE_BOOLEAN etc. because of conflict of `boolean' with 10660 RES_TYPE_BOOLEAN etc. because of conflict of `boolean' with
10657 jpeglib.h. 10661 jpeglib.h.
10658 10662
10659 * configure.in (HAVE_JPEG, --with-jpeg): Added. On systems 10663 * configure.in (HAVE_JPEG, --with-jpeg): Added. On systems
10660 where the library is installed in /usr/local/lib, e.g. FreeBSD, 10664 where the library is installed in /usr/local/lib, e.g. FreeBSD,
10661 configure must be run with `--x-includes=/usr/X11R6/include: 10665 configure must be run with `--x-includes=/usr/X11R6/include:
10662 /usr/local/include --x-libraries=/usr/X11R6/lib:/usr/local/lib'. 10666 /usr/local/include --x-libraries=/usr/X11R6/lib:/usr/local/lib'.
@@ -10670,7 +10674,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10670 (ct_free): Free color table. 10674 (ct_free): Free color table.
10671 (ct_lookup): Look an RGB color up. 10675 (ct_lookup): Look an RGB color up.
10672 (ct_allocated_colors): Get vector of allocated colors. 10676 (ct_allocated_colors): Get vector of allocated colors.
10673 (pbm_image_p): Test if image specification is a valid PPM 10677 (pbm_image_p): Test if image specification is a valid PPM
10674 image specification. 10678 image specification.
10675 (pbm_scan_number): Scan a decimal ASCII number from a file. 10679 (pbm_scan_number): Scan a decimal ASCII number from a file.
10676 (pbm_load): Load a PPM image. 10680 (pbm_load): Load a PPM image.
@@ -10858,16 +10862,16 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10858 10862
10859 * xdisp.c (set_iterator_to_next): Handle next_element_from_stretch. 10863 * xdisp.c (set_iterator_to_next): Handle next_element_from_stretch.
10860 10864
10861 * xterm.c (x_produce_image_glyph): Add to current_x only if 10865 * xterm.c (x_produce_image_glyph): Add to current_x only if
10862 in text area. 10866 in text area.
10863 (x_produce_glyphs): Ditto. 10867 (x_produce_glyphs): Ditto.
10864 10868
10865 * xdisp.c (display_line): Compute row height from glyphs in 10869 * xdisp.c (display_line): Compute row height from glyphs in
10866 marginal areas. 10870 marginal areas.
10867 10871
10868 * xterm.c (x_draw_image_glyph_string_background): Draw 10872 * xterm.c (x_draw_image_glyph_string_background): Draw
10869 background of an image glyph string. 10873 background of an image glyph string.
10870 (x_draw_glyph_string_bg_rect): Draw a rectangular region of 10874 (x_draw_glyph_string_bg_rect): Draw a rectangular region of
10871 the background of a glyph string. 10875 the background of a glyph string.
10872 (x_draw_image_glyph_string_foreground): Draw the foreground of 10876 (x_draw_image_glyph_string_foreground): Draw the foreground of
10873 an image glyph string. 10877 an image glyph string.
@@ -10899,7 +10903,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10899 * dispextern.h (struct image_type): Additional clipping rect 10903 * dispextern.h (struct image_type): Additional clipping rect
10900 parameters for drawing functions. 10904 parameters for drawing functions.
10901 10905
10902 * xterm.c (x_get_glyph_string_clip_rect): Get clip rect for 10906 * xterm.c (x_get_glyph_string_clip_rect): Get clip rect for
10903 a glyph string. 10907 a glyph string.
10904 (x_draw_image_glyph_string): Use it and pass the rect to the 10908 (x_draw_image_glyph_string): Use it and pass the rect to the
10905 image drawing function. 10909 image drawing function.
@@ -10916,7 +10920,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10916 row of selected window. 10920 row of selected window.
10917 10921
10918 * xdisp.c (display_line): Remove start_pos. 10922 * xdisp.c (display_line): Remove start_pos.
10919 (display_line): Fix bug preventing display optimization for 10923 (display_line): Fix bug preventing display optimization for
10920 cursor line of selected window. 10924 cursor line of selected window.
10921 (next_element_from_buffer): Avoid XSETBUFFER, use it->w->buffer 10925 (next_element_from_buffer): Avoid XSETBUFFER, use it->w->buffer
10922 instead. 10926 instead.
@@ -10948,7 +10952,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10948 (redisplay_window): When recentering, and cursor vpos is -1 10952 (redisplay_window): When recentering, and cursor vpos is -1
10949 after display, assume middle of window is in first line displayed 10953 after display, assume middle of window is in first line displayed
10950 in window, and display again. 10954 in window, and display again.
10951 (fill_iterator_from_glyph_property): Assign image glyph 10955 (fill_iterator_from_glyph_property): Assign image glyph
10952 the position of the first character having the glyph property. 10956 the position of the first character having the glyph property.
10953 10957
10954 * dispextern.h (IMAGE_ASCENT): Compute ascent of image. 10958 * dispextern.h (IMAGE_ASCENT): Compute ascent of image.
@@ -10960,7 +10964,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10960 * Makefile.in: Extraneous #define of LIBXPM removed. 10964 * Makefile.in: Extraneous #define of LIBXPM removed.
10961 10965
10962 * xterm.c (x_produce_glyphs): Produce a STRETCH_GLYPH for tabs. 10966 * xterm.c (x_produce_glyphs): Produce a STRETCH_GLYPH for tabs.
10963 (x_fill_stretch_glyph_string): Fill a glyph string from a 10967 (x_fill_stretch_glyph_string): Fill a glyph string from a
10964 stretch glyph. 10968 stretch glyph.
10965 (x_compute_glyph_string_overhangs): Compute overhangs only 10969 (x_compute_glyph_string_overhangs): Compute overhangs only
10966 for text glyph strings. 10970 for text glyph strings.
@@ -10992,7 +10996,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
10992 10996
10993 * xterm.c (expose_frame): Don't try to redraw if basic faces 10997 * xterm.c (expose_frame): Don't try to redraw if basic faces
10994 haven't benn realized yet. 10998 haven't benn realized yet.
10995 (x_draw_image_glyph_string): Fill background only if image 10999 (x_draw_image_glyph_string): Fill background only if image
10996 is not as tall as row. 11000 is not as tall as row.
10997 11001
109981998-05-04 Gerd Moellmann <gerd@gnu.org> 110021998-05-04 Gerd Moellmann <gerd@gnu.org>
@@ -11017,9 +11021,9 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11017 (xbm_keyword_index): Remove XBM_DEPTH. 11021 (xbm_keyword_index): Remove XBM_DEPTH.
11018 (xbm_format): Remove `:depth'. 11022 (xbm_format): Remove `:depth'.
11019 (xbm_image_spec_from_file): Removed to reduce consing. 11023 (xbm_image_spec_from_file): Removed to reduce consing.
11020 (xbm_load_image_from_file): Added for the same reason. 11024 (xbm_load_image_from_file): Added for the same reason.
11021 11025
11022 * xterm.c (x_fill_image_glyph_string): Don't set ybase of 11026 * xterm.c (x_fill_image_glyph_string): Don't set ybase of
11023 glyph string. 11027 glyph string.
11024 (x_draw_image_glyph_string): Pass ybase to image draw function. 11028 (x_draw_image_glyph_string): Pass ybase to image draw function.
11025 11029
@@ -11046,7 +11050,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11046 11050
110471998-05-03 Gerd Moellmann <gerd@gnu.org> 110511998-05-03 Gerd Moellmann <gerd@gnu.org>
11048 11052
11049 * dispextern.h (ITERATOR_AT_END_OF_LINE_P): Test for 11053 * dispextern.h (ITERATOR_AT_END_OF_LINE_P): Test for
11050 DISP_CHARACTER. 11054 DISP_CHARACTER.
11051 11055
11052 * xterm.c (x_produce_image_glyph): Poduce image glyphs. 11056 * xterm.c (x_produce_image_glyph): Poduce image glyphs.
@@ -11082,7 +11086,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11082 11086
11083 * alloc.c (mark_object): Mark objects in image cache. 11087 * alloc.c (mark_object): Mark objects in image cache.
11084 11088
11085 * xfns.c (x_set_internal_border_width): Correct call to 11089 * xfns.c (x_set_internal_border_width): Correct call to
11086 widget_store_internal_border_width. 11090 widget_store_internal_border_width.
11087 11091
11088 * widget.c (widget_store_internal_border): Return void. 11092 * widget.c (widget_store_internal_border): Return void.
@@ -11135,7 +11139,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11135 (x_load_font): Change allocation of font_info structures so 11139 (x_load_font): Change allocation of font_info structures so
11136 that it is possible to free fonts. 11140 that it is possible to free fonts.
11137 11141
11138 * xfns.c (Fx_close_connection): Use xfree instead of free. 11142 * xfns.c (Fx_close_connection): Use xfree instead of free.
11139 Only free fonts from filled font table entries. 11143 Only free fonts from filled font table entries.
11140 11144
11141 * xfaces.c (best_matching_font): Support use of scalable fonts. 11145 * xfaces.c (best_matching_font): Support use of scalable fonts.
@@ -11147,7 +11151,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11147 11151
11148 * xfaces.c (split_font_name): Don't reject scalable fonts. 11152 * xfaces.c (split_font_name): Don't reject scalable fonts.
11149 11153
11150 * xterm.c (x_list_fonts): Set code exclusing scalable fonts 11154 * xterm.c (x_list_fonts): Set code exclusing scalable fonts
11151 in #if 0. 11155 in #if 0.
11152 11156
11153 * xfaces.c (xlfd_point_size): Return 0 for fonts whose real 11157 * xfaces.c (xlfd_point_size): Return 0 for fonts whose real
@@ -11174,7 +11178,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11174 * dispextern.h (struct face): Member non_ascii_gc removed. 11178 * dispextern.h (struct face): Member non_ascii_gc removed.
11175 11179
11176 * xterm.c (x_get_char_font_and_encoding): Return face's font 11180 * xterm.c (x_get_char_font_and_encoding): Return face's font
11177 for characters < 0177 in default face. Prepare face for 11181 for characters < 0177 in default face. Prepare face for
11178 display before returning it. 11182 display before returning it.
11179 (x_produce_glyphs): Use it->charset. 11183 (x_produce_glyphs): Use it->charset.
11180 (x_get_char_font_and_encoding): Simplified. 11184 (x_get_char_font_and_encoding): Simplified.
@@ -11195,7 +11199,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11195 11199
11196 * xdisp.c (set_iterator_stop_pos): Take glyph_check_pos into 11200 * xdisp.c (set_iterator_stop_pos): Take glyph_check_pos into
11197 account. 11201 account.
11198 (reseat_iterator): Set glyph_check_pos. Handle case where 11202 (reseat_iterator): Set glyph_check_pos. Handle case where
11199 new position is < original position. 11203 new position is < original position.
11200 (check_iterator_glyph_property): Handle glyph property in strings. 11204 (check_iterator_glyph_property): Handle glyph property in strings.
11201 (next_element_from_string): Call above function. 11205 (next_element_from_string): Call above function.
@@ -11245,7 +11249,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11245 * xdisp.c (get_next_display_element): Put code choosing a face 11249 * xdisp.c (get_next_display_element): Put code choosing a face
11246 when the charset changes in #ifdef HAVE_FACES. 11250 when the charset changes in #ifdef HAVE_FACES.
11247 11251
11248 * dispextern.h (FACE_FOR_CHARSET): Replacement for function 11252 * dispextern.h (FACE_FOR_CHARSET): Replacement for function
11249 lookup_face_for_charset. 11253 lookup_face_for_charset.
11250 11254
11251 * xfaces.c (free_font_names): Renamed from free_split_font_names. 11255 * xfaces.c (free_font_names): Renamed from free_split_font_names.
@@ -11301,7 +11305,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11301 11305
11302 * xfaces.c (load_color): Set them. 11306 * xfaces.c (load_color): Set them.
11303 (free_face_colors): Check them. 11307 (free_face_colors): Check them.
11304 (xlfd_point_size): Return -1 if resolution or point size of 11308 (xlfd_point_size): Return -1 if resolution or point size of
11305 font unknown. 11309 font unknown.
11306 11310
11307 * xfaces.c (free_font): Removed. 11311 * xfaces.c (free_font): Removed.
@@ -11314,7 +11318,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11314 * xterm.c (x_term_init): Initialize it. 11318 * xterm.c (x_term_init): Initialize it.
11315 * xfaces.c (xlfd_point_size): Use it. 11319 * xfaces.c (xlfd_point_size): Use it.
11316 (split_font_name): Compute numeric XLFD_RESY. 11320 (split_font_name): Compute numeric XLFD_RESY.
11317 (cmp_font_names): Make fonts with an y-resolution more 11321 (cmp_font_names): Make fonts with an y-resolution more
11318 similar to that of the frame appear first in the result. 11322 similar to that of the frame appear first in the result.
11319 11323
11320 * xfaces.c (cache_face): If fontset_chosen_for_realization_p 11324 * xfaces.c (cache_face): If fontset_chosen_for_realization_p
@@ -11366,12 +11370,12 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11366 * xfaces.c (split_font_name): Additional parameter numeric_p. 11370 * xfaces.c (split_font_name): Additional parameter numeric_p.
11367 Don't compute numeric values if it is non-zero. 11371 Don't compute numeric values if it is non-zero.
11368 (choose_face_fontset): Call split_font_name with numeric_p == 0. 11372 (choose_face_fontset): Call split_font_name with numeric_p == 0.
11369 (choose_face_fontset): Print a message if fontset contains a 11373 (choose_face_fontset): Print a message if fontset contains a
11370 font whose name cannot be split into fields. 11374 font whose name cannot be split into fields.
11371 11375
113721998-04-21 Gerd Moellmann <gerd@gnu.org> 113761998-04-21 Gerd Moellmann <gerd@gnu.org>
11373 11377
11374 * xfaces.c (try_font_list): Try to load a list of fonts, 11378 * xfaces.c (try_font_list): Try to load a list of fonts,
11375 possibly using less restrictive patterns. 11379 possibly using less restrictive patterns.
11376 (choose_face_font): Use it. 11380 (choose_face_font): Use it.
11377 11381
@@ -11416,7 +11420,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11416 (find_best_slant_font): Likewise for slant. 11420 (find_best_slant_font): Likewise for slant.
11417 (choose_face_font): Use them. 11421 (choose_face_font): Use them.
11418 (get_lface_attributes): Always return frame-local face attrs. 11422 (get_lface_attributes): Always return frame-local face attrs.
11419 (Finternal_merge_in_global_face): Merge local face with 11423 (Finternal_merge_in_global_face): Merge local face with
11420 global face attributes. 11424 global face attributes.
11421 11425
11422 * xfaces.c (check_lface_attrs, check_lface): Check consistency of 11426 * xfaces.c (check_lface_attrs, check_lface): Check consistency of
@@ -11427,7 +11431,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11427 * xfaces.c (Finternal_set_lisp_face_attribute): Add :bold 11431 * xfaces.c (Finternal_set_lisp_face_attribute): Add :bold
11428 and :italic for compatibility. 11432 and :italic for compatibility.
11429 (Finternal_set_lisp_face_attribute_from_resource): Handle 11433 (Finternal_set_lisp_face_attribute_from_resource): Handle
11430 :bold and :italic. Handle boolean resource values for 11434 :bold and :italic. Handle boolean resource values for
11431 :underline and :italic. 11435 :underline and :italic.
11432 11436
11433 * xfns.c (display_x_get_resource): Make it externally visible. 11437 * xfns.c (display_x_get_resource): Make it externally visible.
@@ -11472,7 +11476,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11472 11476
11473 * xfaces.c (recompute_basic_faces): Free realized faces. Reset 11477 * xfaces.c (recompute_basic_faces): Free realized faces. Reset
11474 face_attributes_changed_p. 11478 face_attributes_changed_p.
11475 (remove_all_realized_faces): Remove all realized faces on 11479 (remove_all_realized_faces): Remove all realized faces on
11476 all frames. 11480 all frames.
11477 (Finternal_set_lisp_face_attribute): Call remove_all_realized_faces. 11481 (Finternal_set_lisp_face_attribute): Call remove_all_realized_faces.
11478 11482
@@ -11503,13 +11507,13 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11503 11507
11504 * xfaces.c (same_size_fonts): Removed. 11508 * xfaces.c (same_size_fonts): Removed.
11505 11509
11506 * xterm.c (x_set_glyph_string_gc): Add post-condition 11510 * xterm.c (x_set_glyph_string_gc): Add post-condition
11507 s->gc != 0. 11511 s->gc != 0.
11508 (x_set_mouse_face_gc): Ditto. 11512 (x_set_mouse_face_gc): Ditto.
11509 (x_set_mode_line_face_gc): Ditto. 11513 (x_set_mode_line_face_gc): Ditto.
11510 11514
11511 * xfaces.c (realize_default_face): Return int. Value is 11515 * xfaces.c (realize_default_face): Return int. Value is
11512 zero if frame params don't contain enough information to 11516 zero if frame params don't contain enough information to
11513 realize the default face. 11517 realize the default face.
11514 (realize_basic_faces): Ditto. 11518 (realize_basic_faces): Ditto.
11515 (init_frame_faces): Realize basic faces. 11519 (init_frame_faces): Realize basic faces.
@@ -11532,7 +11536,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11532 (face_at_string_position): Renamed from 11536 (face_at_string_position): Renamed from
11533 compute_face_at_string_pos. Parameter charset removed; always 11537 compute_face_at_string_pos. Parameter charset removed; always
11534 compute for CHARSET_ASCII. 11538 compute for CHARSET_ASCII.
11535 (lookup_face_for_charset): Take frame parameter instead of 11539 (lookup_face_for_charset): Take frame parameter instead of
11536 face_cache. 11540 face_cache.
11537 (lookup_face): Ditto. 11541 (lookup_face): Ditto.
11538 (compute_char_face): Renamed from compute_glyph_face. 11542 (compute_char_face): Renamed from compute_glyph_face.
@@ -11686,7 +11690,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11686 * xdisp.c (setup_iterator_overlay_strings_from_glyph_pos): If 11690 * xdisp.c (setup_iterator_overlay_strings_from_glyph_pos): If
11687 position is not in an overlay string, set iterator's position and 11691 position is not in an overlay string, set iterator's position and
11688 method explicitly so. 11692 method explicitly so.
11689 (set_cursor_from_row): Correct cursor position calculation. 11693 (set_cursor_from_row): Correct cursor position calculation.
11690 Make it externally visible. 11694 Make it externally visible.
11691 (redisplay_window): Call set_cursor_from_row so that there is only 11695 (redisplay_window): Call set_cursor_from_row so that there is only
11692 one place where the cursor position is calculated from a current 11696 one place where the cursor position is calculated from a current
@@ -11924,11 +11928,11 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11924 * xterm.h (struct relief): New structure type holding relief info: 11928 * xterm.h (struct relief): New structure type holding relief info:
11925 GCs, colors, and whether colors are allocated. 11929 GCs, colors, and whether colors are allocated.
11926 11930
11927 * xterm.c (x_alloc_lighter_color): If multiplying by factor 11931 * xterm.c (x_alloc_lighter_color): If multiplying by factor
11928 produces the same color, try adding a delta to RGB values. 11932 produces the same color, try adding a delta to RGB values.
11929 (x_setup_relief_colors): Free color cells. 11933 (x_setup_relief_colors): Free color cells.
11930 11934
11931 * xterm.h (struct x_output): New members white_relief_pixel, 11935 * xterm.h (struct x_output): New members white_relief_pixel,
11932 black_relief_pixel holding the foreground colors allocated for 11936 black_relief_pixel holding the foreground colors allocated for
11933 relief GCs. New members white_allocated_p, black_allocated_p. 11937 relief GCs. New members white_allocated_p, black_allocated_p.
11934 11938
@@ -11936,7 +11940,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11936 This resets updated_window when called from scrolling_window. 11940 This resets updated_window when called from scrolling_window.
11937 11941
11938 * dispextern.h (scroll_run_hook): Renamed from line_dance_hook. 11942 * dispextern.h (scroll_run_hook): Renamed from line_dance_hook.
11939 11943
11940 * xterm.c (x_scroll_run): Additional window parameter. Set 11944 * xterm.c (x_scroll_run): Additional window parameter. Set
11941 and reset updated_window. 11945 and reset updated_window.
11942 11946
@@ -11979,7 +11983,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11979 11983
119801998-02-19 Gerd Moellmann <gerd@gnu.org> 119841998-02-19 Gerd Moellmann <gerd@gnu.org>
11981 11985
11982 * xterm.c (x_redraw_cursor): Don't redraw the cursor if the 11986 * xterm.c (x_redraw_cursor): Don't redraw the cursor if the
11983 frame hasn't the focus. 11987 frame hasn't the focus.
11984 11988
11985 * window.c (make_window): Initialize dy. 11989 * window.c (make_window): Initialize dy.
@@ -11989,7 +11993,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11989 a window is scrolled "smoothly". 11993 a window is scrolled "smoothly".
11990 11994
11991 * xterm.c (x_set_glyph_string_clipping): Don't use glyph string's 11995 * xterm.c (x_set_glyph_string_clipping): Don't use glyph string's
11992 y-position because it can be negative. 11996 y-position because it can be negative.
11993 (x_draw_row_bitmaps): Don't clear with negative y-position like 11997 (x_draw_row_bitmaps): Don't clear with negative y-position like
11994 above. 11998 above.
11995 (x_clear_end_of_line): Same theme as above. 11999 (x_clear_end_of_line): Same theme as above.
@@ -11999,7 +12003,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
11999 defined_color. 12003 defined_color.
12000 (x_alloc_lighter_color): Allocate a color that is lighter or 12004 (x_alloc_lighter_color): Allocate a color that is lighter or
12001 darker than a given color by a specified factor. 12005 darker than a given color by a specified factor.
12002 (x_setup_relief_colors): Set up relief line colors based on 12006 (x_setup_relief_colors): Set up relief line colors based on
12003 the background color of a glyph string face. 12007 the background color of a glyph string face.
12004 (x_draw_glyph_string_relief): Call x_setup_relief_colors. 12008 (x_draw_glyph_string_relief): Call x_setup_relief_colors.
12005 12009
@@ -12041,7 +12045,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12041 * xterm.c (XTset_vertical_scroll_bar): Use 12045 * xterm.c (XTset_vertical_scroll_bar): Use
12042 WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT instead of 12046 WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT instead of
12043 VERTICAL_SCROLL_BAR_PIXEL_HEIGHT. 12047 VERTICAL_SCROLL_BAR_PIXEL_HEIGHT.
12044 (x_draw_glyphs): Draw over flags areas when drawing a mode line 12048 (x_draw_glyphs): Draw over flags areas when drawing a mode line
12045 or menu. 12049 or menu.
12046 (x_set_glyph_string_clipping): Set clipping differently if drawing 12050 (x_set_glyph_string_clipping): Set clipping differently if drawing
12047 a mode line or menu line. 12051 a mode line or menu line.
@@ -12059,7 +12063,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12059 12063
12060 * dispnew.c (direct_output_for_insert): When checking for tabs in 12064 * dispnew.c (direct_output_for_insert): When checking for tabs in
12061 the line, set it2.endpos to ZV. 12065 the line, set it2.endpos to ZV.
12062 12066
12063 * window.h (struct window): New member cursor_off_p. 12067 * window.h (struct window): New member cursor_off_p.
12064 * xterm.c (x_redraw_cursor): Implementation of redraw_cursor_hook 12068 * xterm.c (x_redraw_cursor): Implementation of redraw_cursor_hook
12065 for X. 12069 for X.
@@ -12114,7 +12118,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12114 * xdisp.c (init_iterator): Show region in window mini-buffer 12118 * xdisp.c (init_iterator): Show region in window mini-buffer
12115 window refers to. 12119 window refers to.
12116 12120
12117 * dispextern.h (struct display_iterator): Redundant member 12121 * dispextern.h (struct display_iterator): Redundant member
12118 region_showing_p removed. Test for region_beg > 0 instead. 12122 region_showing_p removed. Test for region_beg > 0 instead.
12119 12123
12120 * dispnew.c (update_text_area): Clear to end of line if cursor is 12124 * dispnew.c (update_text_area): Clear to end of line if cursor is
@@ -12152,7 +12156,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12152 * xdisp.c (display_line): If row ends in ZV, make the space 12156 * xdisp.c (display_line): If row ends in ZV, make the space
12153 that is added to place the cursor on it appear in default face. 12157 that is added to place the cursor on it appear in default face.
12154 12158
12155 * xterm.c (expose_area): New function redrawing a single 12159 * xterm.c (expose_area): New function redrawing a single
12156 glyph row area. 12160 glyph row area.
12157 (expose_line): Use it to redraw all areas of a row. 12161 (expose_line): Use it to redraw all areas of a row.
12158 12162
@@ -12172,7 +12176,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12172 case of changing window height. 12176 case of changing window height.
12173 12177
12174 * xterm.c (x_draw_row_bitmaps): Don't clear vertical window 12178 * xterm.c (x_draw_row_bitmaps): Don't clear vertical window
12175 border to the left. 12179 border to the left.
12176 12180
12177 * dispextern.h (struct glyph_row): Remove right_to_left_p. RMS 12181 * dispextern.h (struct glyph_row): Remove right_to_left_p. RMS
12178 says this aspect of Emacs is currently redesigned. 12182 says this aspect of Emacs is currently redesigned.
@@ -12213,19 +12217,19 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
122131998-01-30 Gerd Moellmann <gerd@gnu.org> 122171998-01-30 Gerd Moellmann <gerd@gnu.org>
12214 12218
12215 * xterm.c (x_erase_phys_cursor): Clear area under the cursor only 12219 * xterm.c (x_erase_phys_cursor): Clear area under the cursor only
12216 if displaying hollow box cursor. draw_glyphs should handle 12220 if displaying hollow box cursor. draw_glyphs should handle
12217 other cases. 12221 other cases.
12218 (draw_glyphs): Move start to the left and end to the right if they 12222 (draw_glyphs): Move start to the left and end to the right if they
12219 overlap with previous or following characters. 12223 overlap with previous or following characters.
12220 (draw_glyphs): If background is cleared for hl == DRAW_CURSOR, 12224 (draw_glyphs): If background is cleared for hl == DRAW_CURSOR,
12221 make sure XDrawString uses function GXset. Otherwise the 12225 make sure XDrawString uses function GXset. Otherwise the
12222 character under the cursor would be invisible. 12226 character under the cursor would be invisible.
12223 (x_draw_bar_cursor): Don't draw over previous character if it 12227 (x_draw_bar_cursor): Don't draw over previous character if it
12224 has right_overhang. 12228 has right_overhang.
12225 12229
12226 * window.c (get_phys_cursor_glyph): Return the glyph under a 12230 * window.c (get_phys_cursor_glyph): Return the glyph under a
12227 window's physical cursor. 12231 window's physical cursor.
12228 12232
12229 * xterm.c (x_draw_hollow_cursor): Use get_phys_cursor_glyph. 12233 * xterm.c (x_draw_hollow_cursor): Use get_phys_cursor_glyph.
12230 (x_draw_bar_cursor): Ditto. 12234 (x_draw_bar_cursor): Ditto.
12231 (x_erase_phys_cursor): Ditto. 12235 (x_erase_phys_cursor): Ditto.
@@ -12236,7 +12240,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12236 (replace_window): Ditto. 12240 (replace_window): Ditto.
12237 12241
12238 * window.h (struct window): Remove phys_cursor_glyph. There is 12242 * window.h (struct window): Remove phys_cursor_glyph. There is
12239 now always a glyph present for placing the cursor on it in 12243 now always a glyph present for placing the cursor on it in
12240 each glyph row, even at the end of a line. 12244 each glyph row, even at the end of a line.
12241 12245
12242 * xdisp.c (append_space): Function to add a space to an iterators 12246 * xdisp.c (append_space): Function to add a space to an iterators
@@ -12244,7 +12248,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12244 (display_line): Add spaces at the end of lines that are used to 12248 (display_line): Add spaces at the end of lines that are used to
12245 place the cursor on them. 12249 place the cursor on them.
12246 (compute_line_metrics): If row consists of a space only that was 12250 (compute_line_metrics): If row consists of a space only that was
12247 added to place the cursor on it, use that space's height as the 12251 added to place the cursor on it, use that space's height as the
12248 line height. 12252 line height.
12249 12253
122501998-01-29 Gerd Moellmann <gerd@gnu.org> 122541998-01-29 Gerd Moellmann <gerd@gnu.org>
@@ -12258,7 +12262,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12258 (XTproduce_glyphs): Set it->left_overhang and it->right_overhang. 12262 (XTproduce_glyphs): Set it->left_overhang and it->right_overhang.
12259 12263
12260 * dispextern.h (struct glyph): Add left_overhang and 12264 * dispextern.h (struct glyph): Add left_overhang and
12261 right_overhang. 12265 right_overhang.
12262 (struct display_iterator): Ditto. 12266 (struct display_iterator): Ditto.
12263 12267
12264 * dispnew.c (direct_output_for_insert): Give up if newly inserted 12268 * dispnew.c (direct_output_for_insert): Give up if newly inserted
@@ -12270,7 +12274,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12270 (display_string): Ditto. 12274 (display_string): Ditto.
12271 12275
12272 * window.h (struct window): New members phys_cursor_ascent and 12276 * window.h (struct window): New members phys_cursor_ascent and
12273 phys_cursor_descent. 12277 phys_cursor_descent.
12274 12278
12275 * xterm.c (x_phys_cursor_in_rect_p): Use them. 12279 * xterm.c (x_phys_cursor_in_rect_p): Use them.
12276 (x_draw_hollow_cursor): Ditto. 12280 (x_draw_hollow_cursor): Ditto.
@@ -12321,7 +12325,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12321 12325
12322 * xdisp.c (move_iterator_vertically_backward): Change algorithm. 12326 * xdisp.c (move_iterator_vertically_backward): Change algorithm.
12323 12327
12324 * dispnew.c (direct_output_for_insert): Give up if start 12328 * dispnew.c (direct_output_for_insert): Give up if start
12325 position has overlay strings. 12329 position has overlay strings.
12326 12330
12327 * xdisp.c (display_line): Don't set cursor if row ends in middle 12331 * xdisp.c (display_line): Don't set cursor if row ends in middle
@@ -12368,7 +12372,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12368 * xfaces.c (Fset_face_attribute_internal): Adjust glyphs 12372 * xfaces.c (Fset_face_attribute_internal): Adjust glyphs
12369 for font change. 12373 for font change.
12370 (min_char_bounds): Check face->font != NULL. 12374 (min_char_bounds): Check face->font != NULL.
12371 (font_min_bounds): Return minimum font metrics. Capture the 12375 (font_min_bounds): Return minimum font metrics. Capture the
12372 case of invalid min_bounds contents. 12376 case of invalid min_bounds contents.
12373 (min_char_bounds): Call font_min_bounds. 12377 (min_char_bounds): Call font_min_bounds.
12374 12378
@@ -12382,7 +12386,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12382 12386
12383 * minibuf.c (Fminibuffer_prompt_width): Return value from 12387 * minibuf.c (Fminibuffer_prompt_width): Return value from
12384 current_buffer if PROMPT_IN_BUFFER. 12388 current_buffer if PROMPT_IN_BUFFER.
12385 (read_minibuf): If PROMPT_IN_BUFFER, insert prompt into 12389 (read_minibuf): If PROMPT_IN_BUFFER, insert prompt into
12386 mini-buffer and make it read-only. 12390 mini-buffer and make it read-only.
12387 (Fminibuffer_complete_and_exit): If PROMPT_IN_BUFFER, use 12391 (Fminibuffer_complete_and_exit): If PROMPT_IN_BUFFER, use
12388 minibuffer_prompt_length instead of BEGV. 12392 minibuffer_prompt_length instead of BEGV.
@@ -12422,12 +12426,12 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12422 * dispextern.h (struct display_iterator): 12426 * dispextern.h (struct display_iterator):
12423 next_ovstr_face_check_pos renamed next_string_face_check_pos. 12427 next_ovstr_face_check_pos renamed next_string_face_check_pos.
12424 12428
12425 * xfaces.c (compute_string_char_face): Compute face for 12429 * xfaces.c (compute_string_char_face): Compute face for
12426 arbitrary Lisp string. Renamed from compute_overlay_string_char_face. 12430 arbitrary Lisp string. Renamed from compute_overlay_string_char_face.
12427 12431
12428 * xdisp.c (next_element_from_string): Renamed from 12432 * xdisp.c (next_element_from_string): Renamed from
12429 next_element_from_overlay_string. 12433 next_element_from_overlay_string.
12430 (compute_face_at_iterator_string_position): Renamed from 12434 (compute_face_at_iterator_string_position): Renamed from
12431 compute_face_at_iterator_overlay_string_position. 12435 compute_face_at_iterator_overlay_string_position.
12432 12436
12433 * dispextern.h (struct display_iterator): Member overlay_string 12437 * dispextern.h (struct display_iterator): Member overlay_string
@@ -12526,7 +12530,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12526 over. 12530 over.
12527 (move_iterator_via_matrix): Look for it->pos in the matrix, and 12531 (move_iterator_via_matrix): Look for it->pos in the matrix, and
12528 calculate it->vpos and it->current_y relative to this row. 12532 calculate it->vpos and it->current_y relative to this row.
12529 (move_iterator_via_matrix): Set in #if 0. It doesn't seem to 12533 (move_iterator_via_matrix): Set in #if 0. It doesn't seem to
12530 have a big effect and it is complex. 12534 have a big effect and it is complex.
12531 (move_iterator_to): Call to move_iterator_via_matrix in #if 0. 12535 (move_iterator_to): Call to move_iterator_via_matrix in #if 0.
12532 12536
@@ -12550,7 +12554,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12550 * xdisp.c (try_window_id): Always search for the cursor by setting 12554 * xdisp.c (try_window_id): Always search for the cursor by setting
12551 w->cursor.vpos = -1. Search in unchanged rows at the top and 12555 w->cursor.vpos = -1. Search in unchanged rows at the top and
12552 bottom if cursor not found in displayed lines. 12556 bottom if cursor not found in displayed lines.
12553 (display_mode_line): First extend face, then set right shadow 12557 (display_mode_line): First extend face, then set right shadow
12554 flag. Otherwise the wrong glyph gets the right shadow. 12558 flag. Otherwise the wrong glyph gets the right shadow.
12555 12559
12556 * dispnew.c (direct_output_for_insert): Give up if line contains 12560 * dispnew.c (direct_output_for_insert): Give up if line contains
@@ -12608,7 +12612,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12608 bitmaps if bitmaps don't fill the entire area. 12612 bitmaps if bitmaps don't fill the entire area.
12609 (draw_bitmap): Draw bitmaps horizontally centered in flags area. 12613 (draw_bitmap): Draw bitmaps horizontally centered in flags area.
12610 12614
12611 * xterm.h (FRAME_FLAGS_BITMAP_HEIGHT): Macro giving the 12615 * xterm.h (FRAME_FLAGS_BITMAP_HEIGHT): Macro giving the
12612 pixel height of flags bitmaps. 12616 pixel height of flags bitmaps.
12613 12617
12614 * frame.h (FRAME_FLAGS_AREA_COLS): Use FRAME_X_FLAGS_AREA_COLS. 12618 * frame.h (FRAME_FLAGS_AREA_COLS): Use FRAME_X_FLAGS_AREA_COLS.
@@ -12655,7 +12659,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12655 matrix if just_this_one_p is zero. 12659 matrix if just_this_one_p is zero.
12656 12660
12657 * x-list-font.c (Fx_list_fonts): Additional parameter fixed. 12661 * x-list-font.c (Fx_list_fonts): Additional parameter fixed.
12658 specifying that fixed-width, variable-width fonts or both 12662 specifying that fixed-width, variable-width fonts or both
12659 should be returned. 12663 should be returned.
12660 12664
12661 * xfaces.c (Qfixed, Qvariable): Symbols for use by x-list-fonts. 12665 * xfaces.c (Qfixed, Qvariable): Symbols for use by x-list-fonts.
@@ -12732,10 +12736,10 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12732 (redisplay_window): Don't use vmotion because it gives wrong 12736 (redisplay_window): Don't use vmotion because it gives wrong
12733 results if lines are continued and variable width fonts are used. 12737 results if lines are continued and variable width fonts are used.
12734 12738
12735 * dispextern.h (struct glyph_pos): New member dpvec_index. 12739 * dispextern.h (struct glyph_pos): New member dpvec_index.
12736 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test if row ends in the 12740 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test if row ends in the
12737 the middle of a character. 12741 the middle of a character.
12738 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Test if row starts in 12742 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Test if row starts in
12739 the middle of a character. 12743 the middle of a character.
12740 12744
12741 * xdisp.c (set_iterator_to_next): Increment it->dpvec_index, reset 12745 * xdisp.c (set_iterator_to_next): Increment it->dpvec_index, reset
@@ -12753,7 +12757,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12753 (direct_output_forward_char): Step through glyph row to find 12757 (direct_output_forward_char): Step through glyph row to find
12754 cursor position. 12758 cursor position.
12755 12759
12756 * xterm.c (x_get_cursor_gc): Don't return cursor_gc for font == 12760 * xterm.c (x_get_cursor_gc): Don't return cursor_gc for font ==
12757 frame font if line height differs from font height. 12761 frame font if line height differs from font height.
12758 12762
12759 * xdisp.c (set_iterator_to_next): Renamed from 12763 * xdisp.c (set_iterator_to_next): Renamed from
@@ -12798,7 +12802,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12798 12802
12799 * dispextern.h (struct glyph_row): New member 12803 * dispextern.h (struct glyph_row): New member
12800 continuation_lines_width. Member continuation_line_p removed. 12804 continuation_lines_width. Member continuation_line_p removed.
12801 (MATRIX_ROW_CONTINUATION_LINE_P): Non-zero if row displays a 12805 (MATRIX_ROW_CONTINUATION_LINE_P): Non-zero if row displays a
12802 continuation line. 12806 continuation line.
12803 * xdisp.c (display_line): Set row->continuation_lines_width. 12807 * xdisp.c (display_line): Set row->continuation_lines_width.
12804 (get_row_start_continuation_line_width): Set continuation lines 12808 (get_row_start_continuation_line_width): Set continuation lines
@@ -12807,7 +12811,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12807 (set_window_cursor): Make it inline. 12811 (set_window_cursor): Make it inline.
12808 (try_window_id): Use MATRIX_ROW_CONTINUATION_LINE_P. 12812 (try_window_id): Use MATRIX_ROW_CONTINUATION_LINE_P.
12809 (Fdump_redisplay_state): Ditto. 12813 (Fdump_redisplay_state): Ditto.
12810 12814
12811 * dispnew.c (update_window_line): Use MATRIX_ROW_CONTINUATION_LINE_P. 12815 * dispnew.c (update_window_line): Use MATRIX_ROW_CONTINUATION_LINE_P.
12812 * xterm.c (x_draw_row_bitmaps): Use MATRIX_ROW_CONTINUATION_LINE_P. 12816 * xterm.c (x_draw_row_bitmaps): Use MATRIX_ROW_CONTINUATION_LINE_P.
12813 12817
@@ -12830,7 +12834,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12830 * xdisp.c (hscroll_windows): Change hscroll of windows. 12834 * xdisp.c (hscroll_windows): Change hscroll of windows.
12831 (redisplay_internal): Call it. 12835 (redisplay_internal): Call it.
12832 12836
12833 * dispnew.c (direct_output_for_insert): Give up if a glyph 12837 * dispnew.c (direct_output_for_insert): Give up if a glyph
12834 doesn't fit completely on the line. 12838 doesn't fit completely on the line.
12835 (direct_output_forward_char): Give up for non-ASCII chars. 12839 (direct_output_forward_char): Give up for non-ASCII chars.
12836 (direct_output_forward_char): Set redisplay_performed_directly_p. 12840 (direct_output_forward_char): Set redisplay_performed_directly_p.
@@ -12857,7 +12861,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12857 (draw_glyphs): Unused parameter just_foreground_p removed. New 12861 (draw_glyphs): Unused parameter just_foreground_p removed. New
12858 parameter composite_glyph. 12862 parameter composite_glyph.
12859 (draw_glyphs): Use enumeration for parameter hl. 12863 (draw_glyphs): Use enumeration for parameter hl.
12860 (draw_glyphs): Pass a display area relative x-position to 12864 (draw_glyphs): Pass a display area relative x-position to
12861 draw_glyphs when calling it recursively for composite chars. 12865 draw_glyphs when calling it recursively for composite chars.
12862 12866
128631997-12-27 Gerd Moellmann <gerd@acm.org> 128671997-12-27 Gerd Moellmann <gerd@acm.org>
@@ -12880,10 +12884,10 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12880 (setup_frame_gcs): Initialize them. 12884 (setup_frame_gcs): Initialize them.
12881 (EmacsFrameDestroy): Free them. 12885 (EmacsFrameDestroy): Free them.
12882 12886
12883 * xdisp.c (try_window_id): Get continuation lines width if 12887 * xdisp.c (try_window_id): Get continuation lines width if
12884 last_unchanged_at_beg_row is continued or a continuation line. 12888 last_unchanged_at_beg_row is continued or a continuation line.
12885 (move_iterator_via_matrix): Don't do it for mini-buffer windows. 12889 (move_iterator_via_matrix): Don't do it for mini-buffer windows.
12886 (redisplay_window): Case point has changed, and it has not 12890 (redisplay_window): Case point has changed, and it has not
12887 moved off the frame. Don't increment row if PT equals the row 12891 moved off the frame. Don't increment row if PT equals the row
12888 end if the row ends in ZV. 12892 end if the row ends in ZV.
12889 12893
@@ -12930,7 +12934,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12930 display_height - 1. 12934 display_height - 1.
12931 12935
12932 * dispnew.c (set_frame_matrix_frame): Make it INLINE. 12936 * dispnew.c (set_frame_matrix_frame): Make it INLINE.
12933 (update_window_line): Call after_update_window_line_hook if 12937 (update_window_line): Call after_update_window_line_hook if
12934 rows have different y-positions, or different height. 12938 rows have different y-positions, or different height.
12935 12939
129361997-12-14 Gerd Moellmann <gerd@acm.org> 129401997-12-14 Gerd Moellmann <gerd@acm.org>
@@ -12960,8 +12964,8 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12960 * term.c (frame_mode_line_height): Get the pixel height of a 12964 * term.c (frame_mode_line_height): Get the pixel height of a
12961 frame's mode line. 12965 frame's mode line.
12962 (frame_mode_line_height_hook): Hook to implement system dependent 12966 (frame_mode_line_height_hook): Hook to implement system dependent
12963 versions. 12967 versions.
12964 12968
12965 * xterm.c (x_initialize): Set the hook. 12969 * xterm.c (x_initialize): Set the hook.
12966 (XTframe_mode_line_height): X version of frame_mode_line_height. 12970 (XTframe_mode_line_height): X version of frame_mode_line_height.
12967 12971
@@ -12980,7 +12984,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12980 * xfaces.c (compute_overlay_string_char_face): Compute the 12984 * xfaces.c (compute_overlay_string_char_face): Compute the
12981 face of a character in an overlay string. 12985 face of a character in an overlay string.
12982 * xterm.h (compute_overlay_string_char_face): Prototype. 12986 * xterm.h (compute_overlay_string_char_face): Prototype.
12983 * xdisp.c (compute_face_at_iterator_overlay_string_position): 12987 * xdisp.c (compute_face_at_iterator_overlay_string_position):
12984 Use it. 12988 Use it.
12985 12989
12986 * xdisp.c (set_iterator_to_next_overlay_string): Formerly 12990 * xdisp.c (set_iterator_to_next_overlay_string): Formerly
@@ -13000,8 +13004,8 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13000 13004
13001 * dispextern.h (struct display_iterator): New vector 13005 * dispextern.h (struct display_iterator): New vector
13002 overlay_strings and new member n_overlay_strings---formerly 13006 overlay_strings and new member n_overlay_strings---formerly
13003 overlays and n_overlays. 13007 overlays and n_overlays.
13004 (struct glyph_pos): Remove after_string_p; overlay_index 13008 (struct glyph_pos): Remove after_string_p; overlay_index
13005 renamed to string_index. 13009 renamed to string_index.
13006 13010
130071997-12-13 Gerd Moellmann <gerd@acm.org> 130111997-12-13 Gerd Moellmann <gerd@acm.org>
@@ -13058,7 +13062,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13058 * window.h: Include blocker around dispextern.h removed. 13062 * window.h: Include blocker around dispextern.h removed.
13059 13063
13060 * eval.c (Feval): Check interrupt_input_block == 0. 13064 * eval.c (Feval): Check interrupt_input_block == 0.
13061 13065
13062 * dispextern.h (struct display_iterator): Former ovstr made a 13066 * dispextern.h (struct display_iterator): Former ovstr made a
13063 Lisp_Object overlay_string. New next_ovstr_face_check_pos and 13067 Lisp_Object overlay_string. New next_ovstr_face_check_pos and
13064 next_ovstr_invisble_check_pos; check at these positions for 13068 next_ovstr_invisble_check_pos; check at these positions for
@@ -13091,7 +13095,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13091 (merge_face_list): Ditto. 13095 (merge_face_list): Ditto.
13092 (intern_computed_face): Ditto. 13096 (intern_computed_face): Ditto.
13093 13097
13094 * xdisp.c (redisplay_window): Cursor movement in unchanged 13098 * xdisp.c (redisplay_window): Cursor movement in unchanged
13095 window if PT > w->last_point. Goto try_to_scroll if bottom Y 13099 window if PT > w->last_point. Goto try_to_scroll if bottom Y
13096 of row is > instead of >= last_y. 13100 of row is > instead of >= last_y.
13097 13101
@@ -13100,7 +13104,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13100 * xdisp.c (reseat_iterator_to_string): Clear iterator position. 13104 * xdisp.c (reseat_iterator_to_string): Clear iterator position.
13101 * dispextern.h (GET_NEXT_DISPLAY_ELEMENT): Removed. 13105 * dispextern.h (GET_NEXT_DISPLAY_ELEMENT): Removed.
13102 13106
13103 * xdisp.c (release_iterator): Release dynamically allocated 13107 * xdisp.c (release_iterator): Release dynamically allocated
13104 memory of a display_iterator. 13108 memory of a display_iterator.
13105 (copy_iterator): Copy an iterator. 13109 (copy_iterator): Copy an iterator.
13106 (restore_iterator): Restore an iterator from a backup copy. 13110 (restore_iterator): Restore an iterator from a backup copy.
@@ -13135,7 +13139,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13135 (init_string_iterator): Renamed from init_string_cursor. 13139 (init_string_iterator): Renamed from init_string_cursor.
13136 (get_next_display_element): Renamed from next_display_element. 13140 (get_next_display_element): Renamed from next_display_element.
13137 (move_iterator_forward): Renamed from advance_display_cursor. 13141 (move_iterator_forward): Renamed from advance_display_cursor.
13138 (get_overlays_at_iterator_position): Allocate overlays vector 13142 (get_overlays_at_iterator_position): Allocate overlays vector
13139 dynamically. 13143 dynamically.
13140 13144
13141 * xdisp.c: display_cursor renamed display_iterator. 13145 * xdisp.c: display_cursor renamed display_iterator.
@@ -13188,12 +13192,12 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13188 * dispnew.c (make_empty_enabled_row): Make an empty, enabled row 13192 * dispnew.c (make_empty_enabled_row): Make an empty, enabled row
13189 of height CANON_Y_UNIT. 13193 of height CANON_Y_UNIT.
13190 * dispextern.h: Prototype for that function. 13194 * dispextern.h: Prototype for that function.
13191 * xdisp.c (echo_area_display): Don't use display_string to 13195 * xdisp.c (echo_area_display): Don't use display_string to
13192 produce empty rows. Use make_empty_enabled_row instead. 13196 produce empty rows. Use make_empty_enabled_row instead.
13193 13197
13194 * dispnew.c (scrolling_window): New version using diff-like 13198 * dispnew.c (scrolling_window): New version using diff-like
13195 algorithm activated. 13199 algorithm activated.
13196 13200
131971997-11-15 Gerd Moellmann <gerd@acm.org> 132011997-11-15 Gerd Moellmann <gerd@acm.org>
13198 13202
13199 * dispnew.c (clear_current_matrices): Clear matrix of menu_bar_window 13203 * dispnew.c (clear_current_matrices): Clear matrix of menu_bar_window
@@ -13262,10 +13266,10 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13262 13266
13263 * dispnew.c (update_window): Use WINDOW_WANTS_MODELINE_P. 13267 * dispnew.c (update_window): Use WINDOW_WANTS_MODELINE_P.
13264 13268
13265 * window.c (syms_of_window): Functions for marginal areas if 13269 * window.c (syms_of_window): Functions for marginal areas if
13266 WITH_MARGINAL_AREAS is defined. 13270 WITH_MARGINAL_AREAS is defined.
13267 13271
13268 * xdisp.c (try_window_reusing_current_matrix): Trace fprintf 13272 * xdisp.c (try_window_reusing_current_matrix): Trace fprintf
13269 removed. 13273 removed.
13270 13274
13271 * dispnew.c (scrolling): Call line_hash_code because hash values 13275 * dispnew.c (scrolling): Call line_hash_code because hash values
@@ -13343,7 +13347,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13343 13347
13344 * dispextern.h (WINDOW_TEXT_TO_FRAME_PIXEL_X): Convert text 13348 * dispextern.h (WINDOW_TEXT_TO_FRAME_PIXEL_X): Convert text
13345 area X coordinates to frame coordinates. 13349 area X coordinates to frame coordinates.
13346 (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH): Width of left marginal area. 13350 (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH): Width of left marginal area.
13347 (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH): Same for right area. 13351 (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH): Same for right area.
13348 (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Same for text area. 13352 (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Same for text area.
13349 13353
@@ -13376,7 +13380,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13376 split windows. 13380 split windows.
13377 13381
13378 * dispnew.c (set_window_cursor_after_update): Accept out 13382 * dispnew.c (set_window_cursor_after_update): Accept out
13379 of bounds cursor positions. 13383 of bounds cursor positions.
13380 13384
13381 * xdisp.c (redisplay_internal): Check that after cursor motion 13385 * xdisp.c (redisplay_internal): Check that after cursor motion
13382 within line, PT is on same line. 13386 within line, PT is on same line.
@@ -13423,7 +13427,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13423 * xdisp.c (redisplay_internal): Optimization 1 change partially 13427 * xdisp.c (redisplay_internal): Optimization 1 change partially
13424 reverted. Check this again later. 13428 reverted. Check this again later.
13425 (skip_via_matrix): Remove redundent test for 13429 (skip_via_matrix): Remove redundent test for
13426 MATRIX_ROW_DISPLAYS_TEXT_P. 13430 MATRIX_ROW_DISPLAYS_TEXT_P.
13427 13431
134281997-10-27 Gerd Moellmann <gerd@acm.org> 134321997-10-27 Gerd Moellmann <gerd@acm.org>
13429 13433
@@ -13435,7 +13439,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13435 dispextern.h. 13439 dispextern.h.
13436 (struct window): phys_cursor_glyph as struct glyph. * window.c 13440 (struct window): phys_cursor_glyph as struct glyph. * window.c
13437 (make_window): Initialize it. 13441 (make_window): Initialize it.
13438 (replace_window): Ditto. 13442 (replace_window): Ditto.
13439 * dispnew.c (free_window_matrices): Remove freeing of 13443 * dispnew.c (free_window_matrices): Remove freeing of
13440 phys_cursor_glyph. 13444 phys_cursor_glyph.
13441 (check_matrix_invariants): Renamed from check_current_matrix_... 13445 (check_matrix_invariants): Renamed from check_current_matrix_...
@@ -13482,7 +13486,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13482 13486
13483 * dispextern.h (struct face): New member shadow_thickness. 13487 * dispextern.h (struct face): New member shadow_thickness.
13484 13488
13485 * xdisp.c (compute_cursor_face): Set limit for text property 13489 * xdisp.c (compute_cursor_face): Set limit for text property
13486 search to 100. 13490 search to 100.
13487 13491
13488 * dispnew.c (update_window_line): Try to resynch with current line 13492 * dispnew.c (update_window_line): Try to resynch with current line
@@ -13490,7 +13494,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13490 13494
134911997-10-26 Gerd Moellmann <gerd@acm.org> 134951997-10-26 Gerd Moellmann <gerd@acm.org>
13492 13496
13493 * dispnew.c (set_window_cursor_after_update): React again 13497 * dispnew.c (set_window_cursor_after_update): React again
13494 on cursor_in_echo_area >= 0. 13498 on cursor_in_echo_area >= 0.
13495 13499
13496 * xdisp.c (echo_area_display): Clear desired matrix before 13500 * xdisp.c (echo_area_display): Clear desired matrix before
@@ -13589,7 +13593,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13589 13593
13590 * dispnew.c (direct_output_for_insert): Increment row end position. 13594 * dispnew.c (direct_output_for_insert): Increment row end position.
13591 13595
13592 * window.c (Fpos_visible_in_window_p): Use old meaning of 13596 * window.c (Fpos_visible_in_window_p): Use old meaning of
13593 window_end_pos. 13597 window_end_pos.
13594 13598
13595 * xdisp.c (init_display_cursor_from_glyph_pos): New. 13599 * xdisp.c (init_display_cursor_from_glyph_pos): New.
@@ -13602,7 +13606,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13602 glyphs with positions <= 0. 13606 glyphs with positions <= 0.
13603 13607
13604 * dispextern.h (struct glyph_pos): Structure desribing a text 13608 * dispextern.h (struct glyph_pos): Structure desribing a text
13605 position including position in overlay. 13609 position including position in overlay.
13606 (struct glyph_row): Use it for start and end positions. 13610 (struct glyph_row): Use it for start and end positions.
13607 (struct display_cursor): Use it. 13611 (struct display_cursor): Use it.
13608 * xdisp.c: Use it. 13612 * xdisp.c: Use it.
@@ -13630,7 +13634,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13630 13634
13631 * dispnew.c (matrix_row_last_pos): New function. 13635 * dispnew.c (matrix_row_last_pos): New function.
13632 * dispextern.h (MATRIX_ROW_LAST_POS): Call it. 13636 * dispextern.h (MATRIX_ROW_LAST_POS): Call it.
13633 Large comment moved to xdisp.c. 13637 Large comment moved to xdisp.c.
13634 13638
13635 * xdisp.c (redisplay_window): Bug fix: PT set to value > Z. 13639 * xdisp.c (redisplay_window): Bug fix: PT set to value > Z.
13636 (skip_via_matrix): Check window_end_valid instead of 13640 (skip_via_matrix): Check window_end_valid instead of
@@ -13643,7 +13647,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13643 * xdisp.c (try_window_id): Correct parameters to 13647 * xdisp.c (try_window_id): Correct parameters to
13644 scroll_glyph_matrix_range. 13648 scroll_glyph_matrix_range.
13645 13649
13646 * xterm.c (XTupdate_end): XFlush commented out. 13650 * xterm.c (XTupdate_end): XFlush commented out.
13647 13651
13648 * window.h: Comments for window_end_pos/vpos. 13652 * window.h: Comments for window_end_pos/vpos.
13649 13653
@@ -13660,7 +13664,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13660 * dispextern.h (MATRIX_ROW_LAST_POS): Go back one glyph if this is 13664 * dispextern.h (MATRIX_ROW_LAST_POS): Go back one glyph if this is
13661 a face extending glyph. 13665 a face extending glyph.
13662 13666
13663 * xdisp.c (try_window_id): Check if point will appear. 13667 * xdisp.c (try_window_id): Check if point will appear.
13664 (set_cursor_from_row): Set cursor position from a glyph row. 13668 (set_cursor_from_row): Set cursor position from a glyph row.
13665 13669
13666 * dispnew.c (update_window_line): Write entire line if hash 13670 * dispnew.c (update_window_line): Write entire line if hash
@@ -13720,7 +13724,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13720 * xdisp.c (skip_via_matrix): Check for rows that don't contain 13724 * xdisp.c (skip_via_matrix): Check for rows that don't contain
13721 a position. 13725 a position.
13722 13726
13723 * xterm.c (XTmouse_position): Calculate LAST_MOUSE_GLYPH 13727 * xterm.c (XTmouse_position): Calculate LAST_MOUSE_GLYPH
13724 rectangle based on minimum character bounds. 13728 rectangle based on minimum character bounds.
13725 13729
13726 * keyboard.c (make_lispy_event): Mouse clicks; don't do frame 13730 * keyboard.c (make_lispy_event): Mouse clicks; don't do frame
@@ -13733,8 +13737,8 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13733 * dispextern.h (MATRIX_ROW_BOTTOM_Y): Return bottom pixel y of 13737 * dispextern.h (MATRIX_ROW_BOTTOM_Y): Return bottom pixel y of
13734 given row. 13738 given row.
13735 13739
13736 * xdisp.c (skip_via_matrix): Skip using current matrix if up to 13740 * xdisp.c (skip_via_matrix): Skip using current matrix if up to
13737 date. 13741 date.
13738 (skip_to): Use it. 13742 (skip_to): Use it.
13739 (redisplay_window): Remove code skipping using current matrix. 13743 (redisplay_window): Remove code skipping using current matrix.
13740 13744
@@ -13743,7 +13747,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13743 * xdisp.c (redisplay_window): Use available current matrix to 13747 * xdisp.c (redisplay_window): Use available current matrix to
13744 skip faster when only point is moved withing the window. 13748 skip faster when only point is moved withing the window.
13745 13749
13746 * intervals.c: Include stdio.h. 13750 * intervals.c: Include stdio.h.
13747 (find_interval): Trace to stderr to catch some nasty error 13751 (find_interval): Trace to stderr to catch some nasty error
13748 that did not yet occur again with tracing. 13752 that did not yet occur again with tracing.
13749 (set_point): Ditto. 13753 (set_point): Ditto.
@@ -13759,7 +13763,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13759 * window.c (make_window): start_y removed. 13763 * window.c (make_window): start_y removed.
13760 (replace_window): Ditto. 13764 (replace_window): Ditto.
13761 13765
13762 * xdisp.c (last_max_ascent, last_max_descent): Ascent and 13766 * xdisp.c (last_max_ascent, last_max_descent): Ascent and
13763 descent values of the last line processed by skip_to. 13767 descent values of the last line processed by skip_to.
13764 (redisplay_window): Use them. 13768 (redisplay_window): Use them.
13765 (skip_to): Set them. 13769 (skip_to): Set them.
@@ -13780,7 +13784,7 @@ Sun Aug 24 08:50:52 1997 Gerd Moellmann <gerd@acm.org>
13780 * termhooks.h: Some hooks with prototypes. 13784 * termhooks.h: Some hooks with prototypes.
13781 13785
13782 * term.c: Some hooks with function prototypes. 13786 * term.c: Some hooks with function prototypes.
13783 13787
13784 * xdisp.c (reseat_cursor): Additional argument force_p. Avoid 13788 * xdisp.c (reseat_cursor): Additional argument force_p. Avoid
13785 computing face if possible. 13789 computing face if possible.
13786 13790
@@ -13789,11 +13793,11 @@ Sun Aug 24 08:50:52 1997 Gerd Moellmann <gerd@acm.org>
13789 13793
13790 * emacs.c: FreeBSD headers for profiling removed. 13794 * emacs.c: FreeBSD headers for profiling removed.
13791 13795
13792 * dispnew.c (direct_output_for_insert): Don't use PT-1 for 13796 * dispnew.c (direct_output_for_insert): Don't use PT-1 for
13793 display cursor, use DEC_POS instread. 13797 display cursor, use DEC_POS instread.
13794 13798
13795 * xfaces.c (load_font): Use x_load_font to load fonts so that 13799 * xfaces.c (load_font): Use x_load_font to load fonts so that
13796 all fonts are in the font table. 13800 all fonts are in the font table.
13797 (unload_font): Don't XFreeFont. 13801 (unload_font): Don't XFreeFont.
13798 13802
13799 * dispnew.c (row_equal_p): Compare ascent, descent and visible 13803 * dispnew.c (row_equal_p): Compare ascent, descent and visible
@@ -13829,7 +13833,7 @@ Sun Aug 24 08:50:52 1997 Gerd Moellmann <gerd@acm.org>
13829 * dispnew.c (adjust_glyph_matrix): Additional parameter W. 13833 * dispnew.c (adjust_glyph_matrix): Additional parameter W.
13830 Handle own storage for purely window based redisplay. 13834 Handle own storage for purely window based redisplay.
13831 (allocate_matrices_for_frame_redisplay): Formerly part of 13835 (allocate_matrices_for_frame_redisplay): Formerly part of
13832 allocate_matrices. 13836 allocate_matrices.
13833 (allocate_matrices_for_window_redisplay): Ditto. 13837 (allocate_matrices_for_window_redisplay): Ditto.
13834 13838
13835 * dispextern.h (struct glyph_matrix): window_top_y, 13839 * dispextern.h (struct glyph_matrix): window_top_y,
@@ -13869,7 +13873,7 @@ Fri Aug 22 18:46:43 1997 Gerd Moellmann <gerd@acm.org>
13869 that rows should really be cleared. Used for current matrices. 13873 that rows should really be cleared. Used for current matrices.
13870 13874
13871 * dispnew.c (scrolling_window): Bug fix. 13875 * dispnew.c (scrolling_window): Bug fix.
13872 (line_dance_hook): Formerly line_dance_fn, take only one 13876 (line_dance_hook): Formerly line_dance_fn, take only one
13873 parameter. 13877 parameter.
13874 13878
13875 * dispextern.h (struct run): Remove current_vpos. 13879 * dispextern.h (struct run): Remove current_vpos.
@@ -13880,7 +13884,7 @@ Fri Aug 22 18:46:43 1997 Gerd Moellmann <gerd@acm.org>
13880 13884
13881 * dispextern.h (struct glyph_row): New flag continued_p. 13885 * dispextern.h (struct glyph_row): New flag continued_p.
13882 Fix truncated_on_left_p and truncated_on_right_p to be bits. 13886 Fix truncated_on_left_p and truncated_on_right_p to be bits.
13883 (struct glyph_row): 13887 (struct glyph_row):
13884 13888
13885Thu Aug 21 14:37:34 1997 Gerd Moellmann <gerd@acm.org> 13889Thu Aug 21 14:37:34 1997 Gerd Moellmann <gerd@acm.org>
13886 13890
@@ -13922,7 +13926,7 @@ Wed Aug 20 11:23:28 1997 Gerd Moellmann <gerd@acm.org>
13922 * xdisp.c (compute_line_metrics): Reset max_ascent and max_descent 13926 * xdisp.c (compute_line_metrics): Reset max_ascent and max_descent
13923 of info struct. 13927 of info struct.
13924 13928
13925 * xfaces.c (Fset_face_attribute_internal): Don't call 13929 * xfaces.c (Fset_face_attribute_internal): Don't call
13926 frame_update_line_height. 13930 frame_update_line_height.
13927 (merge_faces): Don't use default font if new font has different 13931 (merge_faces): Don't use default font if new font has different
13928 size. 13932 size.
@@ -13954,7 +13958,7 @@ Mon Aug 18 09:39:18 1997 Gerd Moellmann <gerd@acm.org>
13954 13958
13955 * xdisp.c (next_display_element): Don't display overlay strings 13959 * xdisp.c (next_display_element): Don't display overlay strings
13956 within invisible text. 13960 within invisible text.
13957 (skip_vertically_backward): Skip display lines. 13961 (skip_vertically_backward): Skip display lines.
13958 13962
13959Sat Aug 16 13:13:32 1997 Gerd Moellmann <gerd@acm.org> 13963Sat Aug 16 13:13:32 1997 Gerd Moellmann <gerd@acm.org>
13960 13964
@@ -13969,14 +13973,14 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann <gerd@acm.org>
13969 * xdisp.c (next_display_element): Set last_invisible_text_pos 13973 * xdisp.c (next_display_element): Set last_invisible_text_pos
13970 to the last position at which invisible text was found. Don't 13974 to the last position at which invisible text was found. Don't
13971 decrement cursor.pos for newlines and cr with ellipsis. Set 13975 decrement cursor.pos for newlines and cr with ellipsis. Set
13972 dpvec for `...' due to invisible text directly. 13976 dpvec for `...' due to invisible text directly.
13973 (redisplay_internal): Don't assert that cursor is at PT after 13977 (redisplay_internal): Don't assert that cursor is at PT after
13974 skip_to. It may be in invisible text. 13978 skip_to. It may be in invisible text.
13975 13979
13976 * keyboard.c (make_lispy_event): For mouse clicks, use 13980 * keyboard.c (make_lispy_event): For mouse clicks, use
13977 x_y_to_hpos_vpos. 13981 x_y_to_hpos_vpos.
13978 13982
13979 * xdisp.c (next_display_element): Call get_overlays_for_cursor when 13983 * xdisp.c (next_display_element): Call get_overlays_for_cursor when
13980 next_overlay_pos is reached. Use limit cursor.pos + 100 when 13984 next_overlay_pos is reached. Use limit cursor.pos + 100 when
13981 checking for invisible text. 13985 checking for invisible text.
13982 13986
@@ -13999,15 +14003,15 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann <gerd@acm.org>
13999 * xdisp.c (echo_area_display): Ignore calls for terminal frames 14003 * xdisp.c (echo_area_display): Ignore calls for terminal frames
14000 under a window system. 14004 under a window system.
14001 14005
14002 * dispnew.c (adjust_frame_glyphs): Call redraw_frame if 14006 * dispnew.c (adjust_frame_glyphs): Call redraw_frame if
14003 necessary. 14007 necessary.
14004 (update_window_line): Add width of face padding glyph to 14008 (update_window_line): Add width of face padding glyph to
14005 displayed widths of rows. 14009 displayed widths of rows.
14006 14010
14007 * xterm.c (x_display_and_set_cursor): Set clipping after 14011 * xterm.c (x_display_and_set_cursor): Set clipping after
14008 erasing cursor. 14012 erasing cursor.
14009 14013
14010 * window.c (Fset_window_configuration): Free only those 14014 * window.c (Fset_window_configuration): Free only those
14011 window matrices not reused. 14015 window matrices not reused.
14012 (get_leaf_windows): Build vector of leaf windows. 14016 (get_leaf_windows): Build vector of leaf windows.
14013 Corrupted archive restored from v77. 14017 Corrupted archive restored from v77.
@@ -14037,7 +14041,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14037 (draw_glyphs): Call it 14041 (draw_glyphs): Call it
14038 (draw_bitmap): Call it. 14042 (draw_bitmap): Call it.
14039 14043
14040 * dispnew.c (adjust_frame_glyphs): Optimize frame garbaging. 14044 * dispnew.c (adjust_frame_glyphs): Optimize frame garbaging.
14041 (allocate_leaf_matrix): Return flags. 14045 (allocate_leaf_matrix): Return flags.
14042 (row_equal_p): Compare enabled_p. 14046 (row_equal_p): Compare enabled_p.
14043 14047
@@ -14045,28 +14049,28 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14045 for type == -1. 14049 for type == -1.
14046 14050
14047 * xterm.c (x_display_and_set_cursor): Bar cursor 1 pixel taller. 14051 * xterm.c (x_display_and_set_cursor): Bar cursor 1 pixel taller.
14048 (draw_glyphs): Clip height one pixel taller. 14052 (draw_glyphs): Clip height one pixel taller.
14049 14053
14050 * dispnew.c (direct_output_for_insert): Give up for hscrolled 14054 * dispnew.c (direct_output_for_insert): Give up for hscrolled
14051 mini window. 14055 mini window.
14052 14056
14053 * xdisp.c (display_line): Don't scroll mini prompt. 14057 * xdisp.c (display_line): Don't scroll mini prompt.
14054 14058
14055 * xdisp.c (echo_area_display): Call update_single_window if 14059 * xdisp.c (echo_area_display): Call update_single_window if
14056 possible. 14060 possible.
14057 14061
14058 * dispnew.c (update_window_line): Call scrolling_window. 14062 * dispnew.c (update_window_line): Call scrolling_window.
14059 (scrolling_window): Work on enabled desired lines only. 14063 (scrolling_window): Work on enabled desired lines only.
14060 (update_single_window): Update a single window like update_frame 14064 (update_single_window): Update a single window like update_frame
14061 does for all windows. 14065 does for all windows.
14062 (update_window, update_window_tree): Additional argument 14066 (update_window, update_window_tree): Additional argument
14063 no_scrolling_p. 14067 no_scrolling_p.
14064 (update_frame): Pass no_scrolling_p to update_window_tree. 14068 (update_frame): Pass no_scrolling_p to update_window_tree.
14065 (update_window): Don't call scrolling_window if no_scrolling_p. 14069 (update_window): Don't call scrolling_window if no_scrolling_p.
14066 14070
14067 * xterm.c (x_erase_phys_cursor): Do nothing if type == -1. 14071 * xterm.c (x_erase_phys_cursor): Do nothing if type == -1.
14068 Erase under hollow cursor. 14072 Erase under hollow cursor.
14069 (x_display_and_set_cursor): Do nothing if cursor glyph row 14073 (x_display_and_set_cursor): Do nothing if cursor glyph row
14070 not enabled. Draw bar cursor 1 pixel smaller. 14074 not enabled. Draw bar cursor 1 pixel smaller.
14071 14075
14072 * dispnew.c (adjust_frame_glyphs): Don't set frame garbaged 14076 * dispnew.c (adjust_frame_glyphs): Don't set frame garbaged
@@ -14078,7 +14082,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14078 overlay arrow bitmap. 14082 overlay arrow bitmap.
14079 14083
14080 * xdisp.c (display_line): For truncated lines, consider everything 14084 * xdisp.c (display_line): For truncated lines, consider everything
14081 up to the final \n as part of the line for cursor positioning. 14085 up to the final \n as part of the line for cursor positioning.
14082 14086
14083 * xterm.c (draw_truncation): Take FRAME_X_TRUNC_WIDTH into account. 14087 * xterm.c (draw_truncation): Take FRAME_X_TRUNC_WIDTH into account.
14084 (x_after_update_window_line): Clear trunc marks. 14088 (x_after_update_window_line): Clear trunc marks.
@@ -14088,10 +14092,10 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14088 * frame.h (FRAME_TRUNC_WIDTH): Width of area at the left margin 14092 * frame.h (FRAME_TRUNC_WIDTH): Width of area at the left margin
14089 of a window reserved for truncation mark. 14093 of a window reserved for truncation mark.
14090 14094
14091 * dispextern.h: Take FRAME_TRUNC_WIDTH into account. 14095 * dispextern.h: Take FRAME_TRUNC_WIDTH into account.
14092 14096
14093 * dispnew.c (update_window_line): Call after_update_windwo_line- 14097 * dispnew.c (update_window_line): Call after_update_windwo_line-
14094 hook. 14098 hook.
14095 14099
14096 * xdisp.c (display_line): Set overlay_arrow_p in row. 14100 * xdisp.c (display_line): Set overlay_arrow_p in row.
14097 14101
@@ -14105,7 +14109,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14105 * xterm.c (x_draw_row_borders): Convert y to frame coords. 14109 * xterm.c (x_draw_row_borders): Convert y to frame coords.
14106 Correct y by 1. 14110 Correct y by 1.
14107 (x_display_cursor): Use default font width if width not 14111 (x_display_cursor): Use default font width if width not
14108 known. 14112 known.
14109 14113
14110 * xdisp.c (echo_area_display): Set row->y. 14114 * xdisp.c (echo_area_display): Set row->y.
14111 14115
@@ -14117,7 +14121,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14117 (skip_in_display_line_to): Check cursor.position after call to 14121 (skip_in_display_line_to): Check cursor.position after call to
14118 next_display_element. 14122 next_display_element.
14119 14123
14120 * dispextern.h (CURSOR_AT_P): Test if cursor has reached 14124 * dispextern.h (CURSOR_AT_P): Test if cursor has reached
14121 buffer position. 14125 buffer position.
14122 14126
14123 * xdisp.c (display_line): Set row->y here. 14127 * xdisp.c (display_line): Set row->y here.
@@ -14133,7 +14137,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann <gerd@acm.org>
14133 * xdisp.c (next_display_element): Don't translate control chars 14137 * xdisp.c (next_display_element): Don't translate control chars
14134 from display table entries. 14138 from display table entries.
14135 14139
14136 * dispnew.c (direct_output_for_insert): Set cursor before 14140 * dispnew.c (direct_output_for_insert): Set cursor before
14137 update end to prevent cursor flickering. Revert changes to 14141 update end to prevent cursor flickering. Revert changes to
14138 setting cursor.endpos. 14142 setting cursor.endpos.
14139 14143
@@ -14143,8 +14147,8 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann <gerd@acm.org>
14143 to PT because this prevents multi-byte characters from being 14147 to PT because this prevents multi-byte characters from being
14144 recognized. 14148 recognized.
14145 14149
14146 * xdisp.c (skip_to, display_line): Advance cursor at end of 14150 * xdisp.c (skip_to, display_line): Advance cursor at end of
14147 truncated line. 14151 truncated line.
14148 14152
14149 * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect 14153 * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect
14150 replaced by XRectangle. 14154 replaced by XRectangle.
@@ -14152,7 +14156,7 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann <gerd@acm.org>
14152 * dispnew.c (scrolling_window): New method. 14156 * dispnew.c (scrolling_window): New method.
14153 14157
14154 * xterm.c (do_line_dance): New implementation, new method. 14158 * xterm.c (do_line_dance): New implementation, new method.
14155 14159
14156 * xdisp.c (draw_glyphs): Draw truncation bitmaps. Clip to 14160 * xdisp.c (draw_glyphs): Draw truncation bitmaps. Clip to
14157 visible part of line. 14161 visible part of line.
14158 14162
@@ -14161,7 +14165,7 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann <gerd@acm.org>
14161 (update_window): Handle completely empty matrices. 14165 (update_window): Handle completely empty matrices.
14162 (set_window_cursor_after_update): Bug fix. 14166 (set_window_cursor_after_update): Bug fix.
14163 14167
14164 * xterm.c (draw_glyphs): Stop drawing at right window end. 14168 * xterm.c (draw_glyphs): Stop drawing at right window end.
14165 14169
14166 * dispnew.c (update_window_line): Don't ignore spaces, don't 14170 * dispnew.c (update_window_line): Don't ignore spaces, don't
14167 fill with spaces. 14171 fill with spaces.
@@ -14170,7 +14174,7 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann <gerd@acm.org>
14170 the first glyph having width 0. 14174 the first glyph having width 0.
14171 14175
14172 * xterm.c (draw_glyphs): Let a glyph pixel with of 0 denote 14176 * xterm.c (draw_glyphs): Let a glyph pixel with of 0 denote
14173 a glyph that extends to the end of the line. 14177 a glyph that extends to the end of the line.
14174 14178
14175 * xdisp.c (display_line): Insert one padding glyph 14179 * xdisp.c (display_line): Insert one padding glyph
14176 14180
@@ -14204,22 +14208,22 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann <gerd@acm.org>
14204Tue Aug 12 14:53:04 1997 Gerd Moellmann <gerd@acm.org> 14208Tue Aug 12 14:53:04 1997 Gerd Moellmann <gerd@acm.org>
14205 14209
14206 * xterm.c (draw_glyphs): Clip rows that would paint over 14210 * xterm.c (draw_glyphs): Clip rows that would paint over
14207 the mode line. 14211 the mode line.
14208 14212
14209 * dispnew.c (update_window): Take mode line border into 14213 * dispnew.c (update_window): Take mode line border into
14210 account. 14214 account.
14211 14215
14212 * xterm.h (FRAME_MODE_LINE_BORDER_WIDTH): Number of pixels 14216 * xterm.h (FRAME_MODE_LINE_BORDER_WIDTH): Number of pixels
14213 of border around mode line. 14217 of border around mode line.
14214 14218
14215 * xterm.c (x_draw_row_borders): Bug fix. 14219 * xterm.c (x_draw_row_borders): Bug fix.
14216 (x_erase_phys_cursor): Set pyhs_cursor.x/y before calling 14220 (x_erase_phys_cursor): Set pyhs_cursor.x/y before calling
14217 drawing functions. 14221 drawing functions.
14218 14222
14219 * xterm.c (x_draw_row_border): Experimental; draw 3d borders 14223 * xterm.c (x_draw_row_border): Experimental; draw 3d borders
14220 around modeline instead of inverting it. 14224 around modeline instead of inverting it.
14221 14225
14222 * xterm.c (glyph_to_pixel_coords): Use current matrix. 14226 * xterm.c (glyph_to_pixel_coords): Use current matrix.
14223 14227
14224 * dispnew.c (buffer_posn_from_coords): Use SKIP_TO. Now takes 14228 * dispnew.c (buffer_posn_from_coords): Use SKIP_TO. Now takes
14225 window relative pixel coordinates as arguments. 14229 window relative pixel coordinates as arguments.
@@ -14231,7 +14235,7 @@ Tue Aug 12 14:53:04 1997 Gerd Moellmann <gerd@acm.org>
14231Mon Aug 11 12:32:34 1997 Gerd Moellmann <gerd@acm.org> 14235Mon Aug 11 12:32:34 1997 Gerd Moellmann <gerd@acm.org>
14232 14236
14233 * xdisp.c (start_display): Use SKIP_TO instead of SKIP_IN- 14237 * xdisp.c (start_display): Use SKIP_TO instead of SKIP_IN-
14234 DISPLAY_LINE. 14238 DISPLAY_LINE.
14235 14239
14236 * keyboard.c (make_lispy_event): WINDOW_FROM_COORDINATES with 14240 * keyboard.c (make_lispy_event): WINDOW_FROM_COORDINATES with
14237 pixel coords. 14241 pixel coords.
@@ -14269,7 +14273,7 @@ Tue Aug 5 09:59:08 1997 Gerd Moellmann <gerd@acm.org>
14269 shift_left_by. 14273 shift_left_by.
14270 14274
14271 * dispextern.h (struct glyph_row): FIRST_SHIFTED_LEFT_GLYPH 14275 * dispextern.h (struct glyph_row): FIRST_SHIFTED_LEFT_GLYPH
14272 removed. Remove references to it everywhere. Reverse_p in 14276 removed. Remove references to it everywhere. Reverse_p in
14273 glyph_row -> right_to_left_p. Change references to it. 14277 glyph_row -> right_to_left_p. Change references to it.
14274 14278
14275Mon Aug 4 18:09:27 1997 Gerd Moellmann <gerd@acm.org> 14279Mon Aug 4 18:09:27 1997 Gerd Moellmann <gerd@acm.org>
@@ -14359,7 +14363,7 @@ Mon Jul 28 14:23:06 1997 Gerd Moellmann <gerd@acm.org>
14359 14363
14360Sun Jul 27 18:57:24 1997 Gerd Moellmann <gerd@acm.org> 14364Sun Jul 27 18:57:24 1997 Gerd Moellmann <gerd@acm.org>
14361 14365
14362 * dispnew.c (compute_char_cursor_face): Compute the face for a 14366 * dispnew.c (compute_char_cursor_face): Compute the face for a
14363 CHAR_CURSOR. 14367 CHAR_CURSOR.
14364 (init_char_cursor): Initialize a CHAR_CURSOR. 14368 (init_char_cursor): Initialize a CHAR_CURSOR.
14365 (get_char_and_advance): Get next character to display. 14369 (get_char_and_advance): Get next character to display.
@@ -14383,7 +14387,7 @@ Sat Jul 26 13:33:03 1997 Gerd Moellmann <gerd@acm.org>
14383 14387
14384 * dispextern.h: Character display information. 14388 * dispextern.h: Character display information.
14385 14389
14386 * xterm.c (x_get_char_font_and_encoding): Get font and 14390 * xterm.c (x_get_char_font_and_encoding): Get font and
14387 encode character. 14391 encode character.
14388 (XTget_char_info): Get display information about a character. 14392 (XTget_char_info): Get display information about a character.
14389 14393
@@ -14395,17 +14399,17 @@ Wed Jul 23 16:50:18 1997 Gerd Moellmann <gerd@acm.org>
14395 * xdisp.c: Include xterm.h or w32term.h for FRAME_LINE_HEIGHT. 14399 * xdisp.c: Include xterm.h or w32term.h for FRAME_LINE_HEIGHT.
14396 (try_window): DISPLAY_TEXT_LINE as long as Y < DISPLAY_HEIGHT. 14400 (try_window): DISPLAY_TEXT_LINE as long as Y < DISPLAY_HEIGHT.
14397 14401
14398 * dispnew.c (assign_row): Assign row pixel height. 14402 * dispnew.c (assign_row): Assign row pixel height.
14399 (clear_glyph_row): Clear pixel height. 14403 (clear_glyph_row): Clear pixel height.
14400 (update_window): Use PIXEL_HEIGHT. 14404 (update_window): Use PIXEL_HEIGHT.
14401 14405
14402 * xdisp.c (display_string): Set row pixel height temporarily. 14406 * xdisp.c (display_string): Set row pixel height temporarily.
14403 (display_text_line): Ditto. 14407 (display_text_line): Ditto.
14404 14408
14405 * dispextern.h (GLYPH_PIXEL_WIDTH): 14409 * dispextern.h (GLYPH_PIXEL_WIDTH):
14406 (GLYPH_PIXEL_HEIGHT): Get glyph pixel dimension. 14410 (GLYPH_PIXEL_HEIGHT): Get glyph pixel dimension.
14407 14411
14408 * frame.h (FRAME_DEFAULT_PIXEL_LINE_HEIGHT): Get height of 14412 * frame.h (FRAME_DEFAULT_PIXEL_LINE_HEIGHT): Get height of
14409 line in default font. 14413 line in default font.
14410 (FRAME_DEFAULT_GLYPH_PIXEL_WIDTH): Get width of character 14414 (FRAME_DEFAULT_GLYPH_PIXEL_WIDTH): Get width of character
14411 in default font. 14415 in default font.
@@ -14417,12 +14421,12 @@ Wed Jul 23 16:50:18 1997 Gerd Moellmann <gerd@acm.org>
14417 * dispnew.c (allocate_leaf_matrix): Use window pixel macros. 14421 * dispnew.c (allocate_leaf_matrix): Use window pixel macros.
14418 14422
14419 * dispextern.h (WINDOW_DISPLAY_PIXEL_WIDTH): 14423 * dispextern.h (WINDOW_DISPLAY_PIXEL_WIDTH):
14420 (WINDOW_DISPLAY_PIXEL_HEIGHT): 14424 (WINDOW_DISPLAY_PIXEL_HEIGHT):
14421 (WINDOW_DISPLAY_MODE_LINE_HEIGHT): 14425 (WINDOW_DISPLAY_MODE_LINE_HEIGHT):
14422 (WINDOW_DISPLAY_PIXEL_HEIGHT_WITHOUT_MODE_LINE): 14426 (WINDOW_DISPLAY_PIXEL_HEIGHT_WITHOUT_MODE_LINE):
14423 (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X): 14427 (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X):
14424 (WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X): 14428 (WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X):
14425 (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y): 14429 (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y):
14426 (WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y): Macros to get various 14430 (WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y): Macros to get various
14427 pixel values related to windows. 14431 pixel values related to windows.
14428 14432
@@ -14465,7 +14469,7 @@ Wed Jul 16 13:37:51 1997 Gerd Moellmann <gerd@acm.org>
14465 14469
14466 * xdisp.c (echo_area_display): Set MUST_BE_UPDATED_P instead of 14470 * xdisp.c (echo_area_display): Set MUST_BE_UPDATED_P instead of
14467 building frame matrix. 14471 building frame matrix.
14468 (redisplay_internal): Set window update flags instead of 14472 (redisplay_internal): Set window update flags instead of
14469 building frame matrix. 14473 building frame matrix.
14470 14474
14471 * minibuf.c (read_minibuf): Set MUST_BE_UPDATED_P instead of 14475 * minibuf.c (read_minibuf): Set MUST_BE_UPDATED_P instead of
@@ -14478,14 +14482,14 @@ Wed Jul 16 13:37:51 1997 Gerd Moellmann <gerd@acm.org>
14478 I don't believe this is really necessary. 14482 I don't believe this is really necessary.
14479 14483
14480 * dispnew.c (build_frame_matrix_from_leaf_window): Determine 14484 * dispnew.c (build_frame_matrix_from_leaf_window): Determine
14481 border glyph once. 14485 border glyph once.
14482 14486
14483Tue Jul 15 13:58:33 1997 Gerd Moellmann <gerd@acm.org> 14487Tue Jul 15 13:58:33 1997 Gerd Moellmann <gerd@acm.org>
14484 14488
14485 * window.c (mark_window_cursors_off): Mark all cursors in 14489 * window.c (mark_window_cursors_off): Mark all cursors in
14486 window tree off. 14490 window tree off.
14487 14491
14488 * xterm.c (x_display_box_cursor): Window paraemter. Use 14492 * xterm.c (x_display_box_cursor): Window paraemter. Use
14489 window matrix. 14493 window matrix.
14490 (glyph_to_pixel_pos): Convert matrix pos -> pixels. 14494 (glyph_to_pixel_pos): Convert matrix pos -> pixels.
14491 (pixel_to_glyph_pos): Convert pixel pos -> matrix pos. 14495 (pixel_to_glyph_pos): Convert pixel pos -> matrix pos.
@@ -14634,7 +14638,7 @@ Sat Jul 12 12:58:48 1997 Gerd Moellmann <gerd@acm.org>
14634 (this_line_vpos): Renamed to THIS_LINE_WINDOW_VPOS for the same 14638 (this_line_vpos): Renamed to THIS_LINE_WINDOW_VPOS for the same
14635 reason. 14639 reason.
14636 14640
14637 * dispnew.c (build_frame_matrix): Don't clear rows of the 14641 * dispnew.c (build_frame_matrix): Don't clear rows of the
14638 menu bar. 14642 menu bar.
14639 (clear_window_records): Clear window rows. 14643 (clear_window_records): Clear window rows.
14640 (clear_frame_records): Clear window and frame rows. 14644 (clear_frame_records): Clear window and frame rows.
@@ -14652,7 +14656,7 @@ Sat Jul 12 12:58:48 1997 Gerd Moellmann <gerd@acm.org>
14652 (mirror_make_current): Use it. 14656 (mirror_make_current): Use it.
14653 (update_line): Rely on MIRRORED_MAKE_CURRENT to set flags and 14657 (update_line): Rely on MIRRORED_MAKE_CURRENT to set flags and
14654 used counters for the current glyph row. 14658 used counters for the current glyph row.
14655 14659
14656 14660
14657Fri Jul 11 13:16:50 1997 Gerd Moellmann <gerd@acm.org> 14661Fri Jul 11 13:16:50 1997 Gerd Moellmann <gerd@acm.org>
14658 14662
@@ -14686,8 +14690,8 @@ Fri Jul 11 13:16:50 1997 Gerd Moellmann <gerd@acm.org>
14686 * xdisp.c (try_window_id): Use DISPLAY_TEXT_LINE with window 14690 * xdisp.c (try_window_id): Use DISPLAY_TEXT_LINE with window
14687 relative VPOS. 14691 relative VPOS.
14688 14692
14689 * dispextern.h (WINDOW_TO_FRAME_VPOS): Convert window vpos 14693 * dispextern.h (WINDOW_TO_FRAME_VPOS): Convert window vpos
14690 to frame vpos. 14694 to frame vpos.
14691 (WINDOW_TO_FRAME_HPOS): Convert window hpos to frame hpos. 14695 (WINDOW_TO_FRAME_HPOS): Convert window hpos to frame hpos.
14692 (FRAME_TO_WINDOW_VPOS): Convert frame vpos to window vpos. 14696 (FRAME_TO_WINDOW_VPOS): Convert frame vpos to window vpos.
14693 (FRAME_TO_WINDOW_HPOS): Convert frame hpos to window hpos. 14697 (FRAME_TO_WINDOW_HPOS): Convert frame hpos to window hpos.
@@ -14704,7 +14708,7 @@ Fri Jul 11 13:16:50 1997 Gerd Moellmann <gerd@acm.org>
14704 14708
14705 * dispextern.h: Prototype for SCROLL_FULL_WIDTH_WINDOW. 14709 * dispextern.h: Prototype for SCROLL_FULL_WIDTH_WINDOW.
14706 14710
14707 * dispnew.c (scroll_frame_lines): Make it work on window 14711 * dispnew.c (scroll_frame_lines): Make it work on window
14708 matrix. Change name to scroll_full_width_window. 14712 matrix. Change name to scroll_full_width_window.
14709 14713
14710 * xdisp.c (message2_nolog): Don't fwrite NULL message If 14714 * xdisp.c (message2_nolog): Don't fwrite NULL message If
@@ -14713,7 +14717,7 @@ Fri Jul 11 13:16:50 1997 Gerd Moellmann <gerd@acm.org>
14713Mon Jul 7 14:44:38 1997 Gerd Moellmann <gerd@acm.org> 14717Mon Jul 7 14:44:38 1997 Gerd Moellmann <gerd@acm.org>
14714 14718
14715 * dispnew.c (init_desired_glyphs): Clear both frame matrix 14719 * dispnew.c (init_desired_glyphs): Clear both frame matrix
14716 and window matrices. 14720 and window matrices.
14717 (adjust_window_charstarts): Use window matrix. 14721 (adjust_window_charstarts): Use window matrix.
14718 (cancel_my_columns): Use window matrix. 14722 (cancel_my_columns): Use window matrix.
14719 (direct_output_for_insert): Use window matrix, only. 14723 (direct_output_for_insert): Use window matrix, only.
@@ -14760,7 +14764,7 @@ Sun Jul 6 17:02:26 1997 Gerd Moellmann <gerd@acm.org>
14760Sat Jul 5 14:55:44 1997 Gerd Moellmann <gerd@acm.org> 14764Sat Jul 5 14:55:44 1997 Gerd Moellmann <gerd@acm.org>
14761 14765
14762 * dispnew.c (scroll_frame_lines): Don't assume first scolled 14766 * dispnew.c (scroll_frame_lines): Don't assume first scolled
14763 line is non-empty. 14767 line is non-empty.
14764 (realloc_glyph_pool): Don't add 1 to the pool size. 14768 (realloc_glyph_pool): Don't add 1 to the pool size.
14765 (adjust_glyph_matrix): Don't add 1 to pointers to glyph areas. 14769 (adjust_glyph_matrix): Don't add 1 to pointers to glyph areas.
14766 14770
@@ -14809,7 +14813,7 @@ Fri Jul 4 13:27:46 1997 Gerd Moellmann <gerd@acm.org>
14809 (do_direct_scrolling): Simplified. 14813 (do_direct_scrolling): Simplified.
14810 (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to 14814 (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to
14811 DO_.*SCROLLING. 14815 DO_.*SCROLLING.
14812 14816
14813 14817
14814 * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix. 14818 * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix.
14815 (rotate_vector): Removed. 14819 (rotate_vector): Removed.
@@ -14841,7 +14845,7 @@ Wed Jul 2 13:43:35 1997 Gerd Moellmann <gerd@acm.org>
14841 * dispnew.c (scroll_frame_lines): Simplified. Use 14845 * dispnew.c (scroll_frame_lines): Simplified. Use
14842 SCROLL_GLYPH_MATRIX. 14846 SCROLL_GLYPH_MATRIX.
14843 (make_glyph_row_empty): Mark a glyph row empty. 14847 (make_glyph_row_empty): Mark a glyph row empty.
14844 (increment_glyph_row_buffer_positions): Increment 14848 (increment_glyph_row_buffer_positions): Increment
14845 buffer positions in a glyph row. 14849 buffer positions in a glyph row.
14846 (increment_glyph_matrix_buffer_positions): Increment buffer 14850 (increment_glyph_matrix_buffer_positions): Increment buffer
14847 positions in a range of rows. 14851 positions in a range of rows.
@@ -14851,7 +14855,7 @@ Wed Jul 2 13:43:35 1997 Gerd Moellmann <gerd@acm.org>
14851 (glyph_row_slice_p): Return 1 if one row is a slice of another. 14855 (glyph_row_slice_p): Return 1 if one row is a slice of another.
14852 (init_display): Initialize SPACE_GLYPH. 14856 (init_display): Initialize SPACE_GLYPH.
14853 (fill_up_glyph_row_areas_with_spaces): Fill up areas with 14857 (fill_up_glyph_row_areas_with_spaces): Fill up areas with
14854 spaces. 14858 spaces.
14855 14859
14856Tue Jul 1 13:49:55 1997 Gerd Moellmann <gerd@acm.org> 14860Tue Jul 1 13:49:55 1997 Gerd Moellmann <gerd@acm.org>
14857 14861
@@ -14908,17 +14912,17 @@ Mon Jun 30 20:39:38 1997 Gerd Moellmann <gerd@acm.org>
14908 UPDATE_FRAME, SCROLLING, BUFFER_POSN_FROM_COORDS, 14912 UPDATE_FRAME, SCROLLING, BUFFER_POSN_FROM_COORDS,
14909 DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER, 14913 DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER,
14910 SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY, 14914 SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY,
14911 14915
14912 * dispnew.c (redraw_frame): FRAME_PTR -> struct frame. Return 14916 * dispnew.c (redraw_frame): FRAME_PTR -> struct frame. Return
14913 void. 14917 void.
14914 (cancel_line): Return void. 14918 (cancel_line): Return void.
14915 (clear_frame_records): Return void. 14919 (clear_frame_records): Return void.
14916 14920
14917 * dispextern.h (struct glyph): Remove GLYPH, add bit-fields. 14921 * dispextern.h (struct glyph): Remove GLYPH, add bit-fields.
14918 (SET_CHAR_GLYPH): Fill a character glyph. 14922 (SET_CHAR_GLYPH): Fill a character glyph.
14919 (SET_CHAR_GLYPH_FROM_GLYPH): Set a character glyph from a GLYPH. 14923 (SET_CHAR_GLYPH_FROM_GLYPH): Set a character glyph from a GLYPH.
14920 (GLYPH_FROM_CHAR_GLYPH): Construct a GLYPH from a character 14924 (GLYPH_FROM_CHAR_GLYPH): Construct a GLYPH from a character
14921 glyph. 14925 glyph.
14922 (CHAR_GLYPH_CHAR_CODE): Return character code of a glyph. 14926 (CHAR_GLYPH_CHAR_CODE): Return character code of a glyph.
14923 (SET_CHAR_GLYPH_CHAR_CODE): Set character code of a glyph. 14927 (SET_CHAR_GLYPH_CHAR_CODE): Set character code of a glyph.
14924 (CHAR_GLYPH_FACE_ID): Return face id of a glyph. 14928 (CHAR_GLYPH_FACE_ID): Return face id of a glyph.
@@ -14980,7 +14984,7 @@ Fri Jun 27 14:51:15 1997 Gerd Moellmann <gerd@acm.org>
14980 14984
14981Thu Jun 26 00:00:55 1997 Gerd Moellmann <gerd@acm.org> 14985Thu Jun 26 00:00:55 1997 Gerd Moellmann <gerd@acm.org>
14982 14986
14983 * scroll.c (do_direct_scrolling): Don't assume that the 14987 * scroll.c (do_direct_scrolling): Don't assume that the
14984 line moving algorithm has no intermediate steps. 14988 line moving algorithm has no intermediate steps.
14985 (do_scrolling): Ditto. 14989 (do_scrolling): Ditto.
14986 14990
@@ -15011,7 +15015,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15011 * scroll.c (do_direct_scrolling): Remove TEMP_MATRIX. 15015 * scroll.c (do_direct_scrolling): Remove TEMP_MATRIX.
15012 (do_scrolling): Ditto. 15016 (do_scrolling): Ditto.
15013 15017
15014 * frame.h (struct frame): TEMP_MATRIX removed. 15018 * frame.h (struct frame): TEMP_MATRIX removed.
15015 DECODE_MODE_SPEC_BUFFER added. 15019 DECODE_MODE_SPEC_BUFFER added.
15016 15020
15017 * window.h: TEMP_MATRIX removed. 15021 * window.h: TEMP_MATRIX removed.
@@ -15085,7 +15089,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15085 * term.c: Include dispextern.h 15089 * term.c: Include dispextern.h
15086 15090
15087 * dispnew.c (direct_output_forward_char): Old glyph functions 15091 * dispnew.c (direct_output_forward_char): Old glyph functions
15088 removed, new inserted. 15092 removed, new inserted.
15089 (line_hash_code): Use new glyphs. 15093 (line_hash_code): Use new glyphs.
15090 (line_draw_cost): Ditto 15094 (line_draw_cost): Ditto
15091 (cancel_line): Ditto 15095 (cancel_line): Ditto
@@ -15115,7 +15119,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15115 * window.h (struct window): Remove old glyphs, add new. 15119 * window.h (struct window): Remove old glyphs, add new.
15116 15120
15117 * frame.h (struct frame): Remove old glyphs, add new. 15121 * frame.h (struct frame): Remove old glyphs, add new.
15118 15122
151191999-07-20 Dave Love <fx@gnu.org> 151231999-07-20 Dave Love <fx@gnu.org>
15120 15124
15121 * buffer.c (syms_of_buffer): Make 15125 * buffer.c (syms_of_buffer): Make
@@ -15564,7 +15568,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15564 * coding.c (setup_raw_text_coding_system): Call 15568 * coding.c (setup_raw_text_coding_system): Call
15565 setup_coding_system to initialize the fields of struct 15569 setup_coding_system to initialize the fields of struct
15566 coding_system correctly. 15570 coding_system correctly.
15567 15571
155681999-04-26 Kenichi HANDA <handa@etl.go.jp> 155721999-04-26 Kenichi HANDA <handa@etl.go.jp>
15569 15573
15570 * xterm.c (x_list_fonts): Fix previous change. 15574 * xterm.c (x_list_fonts): Fix previous change.
@@ -15718,9 +15722,9 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15718 15722
15719 * makefile.nt (PREPARED_HEADERS): Change name of paths.h to epaths.h. 15723 * makefile.nt (PREPARED_HEADERS): Change name of paths.h to epaths.h.
15720 (epaths.h): Renamed from paths.h. 15724 (epaths.h): Renamed from paths.h.
15721 (clean): 15725 (clean):
15722 ($(BLD)\filelock.obj): 15726 ($(BLD)\filelock.obj):
15723 ($(BLD)\lread.obj): 15727 ($(BLD)\lread.obj):
15724 ($(BLD)\w32fns.obj): Renamed paths.h to epaths.h. 15728 ($(BLD)\w32fns.obj): Renamed paths.h to epaths.h.
15725 15729
157261999-03-23 Ken'ichi Handa <handa@gnu.org> 157301999-03-23 Ken'ichi Handa <handa@gnu.org>
@@ -15764,7 +15768,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15764 (Vw32_system_coding_system): New variable. 15768 (Vw32_system_coding_system): New variable.
15765 (w32_strict_filenames): Add comment. 15769 (w32_strict_filenames): Add comment.
15766 (w32_to_x_font): Decode font name using Vw32_system_coding_system. 15770 (w32_to_x_font): Decode font name using Vw32_system_coding_system.
15767 (x_to_w32_font): Encode font name using Vw32_system_coding_system. 15771 (x_to_w32_font): Encode font name using Vw32_system_coding_system.
15768 (syms_of_w32fns): Add w32-system-coding-system. 15772 (syms_of_w32fns): Add w32-system-coding-system.
15769 15773
157701999-03-15 Richard M. Stallman <rms@gnu.org> 157741999-03-15 Richard M. Stallman <rms@gnu.org>
@@ -15900,7 +15904,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
15900 * filelock.c (get_boot_time): Use WTMP_FILE for file name. 15904 * filelock.c (get_boot_time): Use WTMP_FILE for file name.
15901 (WTMP_FILE): Default definition in case not defined. 15905 (WTMP_FILE): Default definition in case not defined.
15902 (get_boot_time_1): Test that file exists before trying to read it. 15906 (get_boot_time_1): Test that file exists before trying to read it.
15903 15907
159041999-02-25 Ken'ichi Handa <handa@gnu.org> 159081999-02-25 Ken'ichi Handa <handa@gnu.org>
15905 15909
15906 * keymap.c (push_key_description): If enable-multibyte-characters 15910 * keymap.c (push_key_description): If enable-multibyte-characters
@@ -16005,7 +16009,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16005 (get_boot_time): Use /proc/uptime if available. 16009 (get_boot_time): Use /proc/uptime if available.
16006 Otherwise, if nothing found in wtmp, try wtmp.1.gz and so on. 16010 Otherwise, if nothing found in wtmp, try wtmp.1.gz and so on.
16007 (get_boot_time_1): New subroutine taken from get_boot_time. 16011 (get_boot_time_1): New subroutine taken from get_boot_time.
16008 16012
160091999-02-16 Richard Stallman <rms@gnu.org> 160131999-02-16 Richard Stallman <rms@gnu.org>
16010 16014
16011 * emacs.c (Qusr1_signal, Qusr2_signal): New variables. 16015 * emacs.c (Qusr1_signal, Qusr2_signal): New variables.
@@ -16131,7 +16135,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16131 * process.c (process_send_signal): If CURRENT_GROUP is `lambda' 16135 * process.c (process_send_signal): If CURRENT_GROUP is `lambda'
16132 then don't send the signal if the shell owns the terminal. 16136 then don't send the signal if the shell owns the terminal.
16133 (Finterrupt_process): Doc change. 16137 (Finterrupt_process): Doc change.
16134 16138
161351999-01-31 Andrew Innes <andrewi@gnu.org> 161391999-01-31 Andrew Innes <andrewi@gnu.org>
16136 16140
16137 * unexw32.c: (ROUND_UP_DST_AND_ZERO): New macro. 16141 * unexw32.c: (ROUND_UP_DST_AND_ZERO): New macro.
@@ -16172,7 +16176,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16172 (w32_list_fonts): Use maxnames. Use EnumFontFamiliesEx when 16176 (w32_list_fonts): Use maxnames. Use EnumFontFamiliesEx when
16173 available instead of EnumFontFamilies. List synthesized fonts if 16177 available instead of EnumFontFamilies. List synthesized fonts if
16174 Vw32_enable_italics is non-nil. 16178 Vw32_enable_italics is non-nil.
16175 16179
161761999-01-27 Richard Stallman <rms@gnu.org> 161801999-01-27 Richard Stallman <rms@gnu.org>
16177 16181
16178 * s/ptx4.h (SETUP_SLAVE_PTY): Use the ptem module if it exists. 16182 * s/ptx4.h (SETUP_SLAVE_PTY): Use the ptem module if it exists.
@@ -16244,7 +16248,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16244 w32-charset-to-codepage-alist. 16248 w32-charset-to-codepage-alist.
16245 Replace "ksc5601" with "ksc5601.1987" in w32-charset-to-codepage-alist. 16249 Replace "ksc5601" with "ksc5601.1987" in w32-charset-to-codepage-alist.
16246 Add "ksc5601.1992' to w32-charset-to-codepage-alist. 16250 Add "ksc5601.1992' to w32-charset-to-codepage-alist.
16247 16251
16248 * w32fns.c (Vw32_bdf_filename_alist): New variable. 16252 * w32fns.c (Vw32_bdf_filename_alist): New variable.
16249 (x_destroy_bitmap): Returns void not int. 16253 (x_destroy_bitmap): Returns void not int.
16250 (x_set_border_pixel): Returns void. 16254 (x_set_border_pixel): Returns void.
@@ -16295,8 +16299,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16295 operation is assigned to int. 16299 operation is assigned to int.
16296 (Vw32_charset_to_codepage_alist): New variable. 16300 (Vw32_charset_to_codepage_alist): New variable.
16297 (w32_codepage_for_charset): Removed. 16301 (w32_codepage_for_charset): Removed.
16298 (w32_codepage_for_font): New function, replacing 16302 (w32_codepage_for_font): New function, replacing
16299 w32_codepage_for_charset. 16303 w32_codepage_for_charset.
16300 (syms_of_w32term): Add and initialize 16304 (syms_of_w32term): Add and initialize
16301 w32-charset-to-codepage-alist. 16305 w32-charset-to-codepage-alist.
16302 16306
@@ -16415,7 +16419,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16415 function-key-map, handle symbol with array as fn def. 16419 function-key-map, handle symbol with array as fn def.
16416 In function-key-map, handle symbol with keymap as fn def, 16420 In function-key-map, handle symbol with keymap as fn def,
16417 and autoloaded definitions. 16421 and autoloaded definitions.
16418 16422
16419 * puresize.h (BASE_PURESIZE): Increment to 500000. 16423 * puresize.h (BASE_PURESIZE): Increment to 500000.
16420 16424
16421 * print.c (Qtemp_buffer_setup_hook): New variable. 16425 * print.c (Qtemp_buffer_setup_hook): New variable.
@@ -16517,7 +16521,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16517 (menu_bar_item): Update and test menu_bar_one_keymap_changed_items. 16521 (menu_bar_item): Update and test menu_bar_one_keymap_changed_items.
16518 (syms_of_keyboard): Staticpro and init it. 16522 (syms_of_keyboard): Staticpro and init it.
16519 16523
16520 * xmenu.c (single_keymap_panes): 16524 * xmenu.c (single_keymap_panes):
16521 16525
165221998-12-28 Andrew Innes <andrewi@delysid.gnu.org> 165261998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
16523 16527
@@ -16531,7 +16535,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16531 (Fw32_reconstruct_hot_key): Use pre-interned symbols. 16535 (Fw32_reconstruct_hot_key): Use pre-interned symbols.
16532 (Fw32_send_sys_command): Wait for system command to 16536 (Fw32_send_sys_command): Wait for system command to
16533 complete before returning. 16537 complete before returning.
16534 16538
16535 * w32term.c (x_iconify_frame): Wait for frame to be iconified; do 16539 * w32term.c (x_iconify_frame): Wait for frame to be iconified; do
16536 not set async_iconified flag though. 16540 not set async_iconified flag though.
16537 16541
@@ -16689,7 +16693,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16689 16693
16690 * w32.c (w32_get_long_filename): Handle root dirs correctly. 16694 * w32.c (w32_get_long_filename): Handle root dirs correctly.
16691 16695
16692 * s/ms-w32.h (LOCALTIME_CACHE): Define. 16696 * s/ms-w32.h (LOCALTIME_CACHE): Define.
16693 16697
166941998-12-09 Richard Stallman <rms@gnu.org> 166981998-12-09 Richard Stallman <rms@gnu.org>
16695 16699
@@ -16871,7 +16875,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16871 16875
16872 * window.c (window_loop): For UNSHOW_BUFFER, 16876 * window.c (window_loop): For UNSHOW_BUFFER,
16873 always do consider minibuffer windows. 16877 always do consider minibuffer windows.
16874 16878
168751998-11-16 Kenichi Handa <handa@etl.go.jp> 168791998-11-16 Kenichi Handa <handa@etl.go.jp>
16876 16880
16877 * charset.h (SINGLE_BYTE_CHAR_P): Check if C is negative or not. 16881 * charset.h (SINGLE_BYTE_CHAR_P): Check if C is negative or not.
@@ -16934,11 +16938,11 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
169341998-11-10 Andrew Innes <andrewi@harlequin.co.uk> 169381998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
16935 16939
16936 * w32term.h (struct w32_display_info): New element faked_key. 16940 * w32term.h (struct w32_display_info): New element faked_key.
16937 (WM_EMACS_SETKEYBOARDLAYOUT): 16941 (WM_EMACS_SETKEYBOARDLAYOUT):
16938 (WM_EMACS_REGISTER_HOT_KEY): 16942 (WM_EMACS_REGISTER_HOT_KEY):
16939 (WM_EMACS_UNREGISTER_HOT_KEY): New message definitions. 16943 (WM_EMACS_UNREGISTER_HOT_KEY): New message definitions.
16940 (LEFT_WIN_PRESSED): 16944 (LEFT_WIN_PRESSED):
16941 (RIGHT_WIN_PRESSED): 16945 (RIGHT_WIN_PRESSED):
16942 (APPS_PRESSED): New console keyboard modifier flags. 16946 (APPS_PRESSED): New console keyboard modifier flags.
16943 16947
16944 * w32term.c (convert_to_key_event): Removed. 16948 * w32term.c (convert_to_key_event): Removed.
@@ -16951,15 +16955,15 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
16951 (Fw32_get_locale_info): Allow LONGFORM parameter to specify an 16955 (Fw32_get_locale_info): Allow LONGFORM parameter to specify an
16952 arbitrary locale property using a numerical index. 16956 arbitrary locale property using a numerical index.
16953 (Vw32_valid_codepages): New variable. 16957 (Vw32_valid_codepages): New variable.
16954 (enum_codepage_fn): 16958 (enum_codepage_fn):
16955 (Fw32_get_valid_codepages): 16959 (Fw32_get_valid_codepages):
16956 (Fw32_get_console_codepage): 16960 (Fw32_get_console_codepage):
16957 (Fw32_set_console_codepage): 16961 (Fw32_set_console_codepage):
16958 (Fw32_get_console_output_codepage): 16962 (Fw32_get_console_output_codepage):
16959 (Fw32_set_console_output_codepage): 16963 (Fw32_set_console_output_codepage):
16960 (Fw32_get_codepage_charset): 16964 (Fw32_get_codepage_charset):
16961 (Fw32_get_valid_keyboard_layouts): 16965 (Fw32_get_valid_keyboard_layouts):
16962 (Fw32_get_keyboard_layout): 16966 (Fw32_get_keyboard_layout):
16963 (Fw32_set_keyboard_layout): New functions, exposing Windows locale 16967 (Fw32_set_keyboard_layout): New functions, exposing Windows locale
16964 handling functions. 16968 handling functions.
16965 (syms_of_ntproc): Register them. 16969 (syms_of_ntproc): Register them.
@@ -17141,7 +17145,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17141 * makefile.nt: Compile multiple source files when possible. 17145 * makefile.nt: Compile multiple source files when possible.
17142 17146
17143 * w32faces.c (Qmouse_face): Replace definition with extern decl. 17147 * w32faces.c (Qmouse_face): Replace definition with extern decl.
17144 17148
171451998-11-03 Andrew Innes <andrewi@delysid.gnu.org> 171491998-11-03 Andrew Innes <andrewi@delysid.gnu.org>
17146 17150
17147 * w32.c (stat): GetFileInformationByHandle can legitimately fail, 17151 * w32.c (stat): GetFileInformationByHandle can legitimately fail,
@@ -17259,7 +17263,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17259 17263
17260 * w32console.c (Fset_message_beep): Recognize 'silent. 17264 * w32console.c (Fset_message_beep): Recognize 'silent.
17261 (w32_sys_ring_bell): Do nothing for the 'silent sound. 17265 (w32_sys_ring_bell): Do nothing for the 'silent sound.
17262 17266
17263 * w32fns.c (w32_color_map_lookup): Remove duplicate definition. 17267 * w32fns.c (w32_color_map_lookup): Remove duplicate definition.
17264 17268
17265 * w32select.c (Vnext_selection_coding_system): New variable. 17269 * w32select.c (Vnext_selection_coding_system): New variable.
@@ -17268,7 +17272,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17268 non-nil. Always convert multibyte strings. 17272 non-nil. Always convert multibyte strings.
17269 (Fw32_get_clipboard_data): Use Vnext_selection_coding_system if 17273 (Fw32_get_clipboard_data): Use Vnext_selection_coding_system if
17270 non-nil. Always convert a string that includes non-ASCII characters. 17274 non-nil. Always convert a string that includes non-ASCII characters.
17271 17275
172721998-10-27 Richard Stallman <rms@psilocin.ai.mit.edu> 172761998-10-27 Richard Stallman <rms@psilocin.ai.mit.edu>
17273 17277
17274 * fns.c (Fbase64_decode_string): Doc fix. 17278 * fns.c (Fbase64_decode_string): Doc fix.
@@ -17321,7 +17325,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
173211998-10-21 Richard Stallman <rms@psilocin.ai.mit.edu> 173251998-10-21 Richard Stallman <rms@psilocin.ai.mit.edu>
17322 17326
17323 * alloc.c (Fgarbage_collect): Block input around most of the function. 17327 * alloc.c (Fgarbage_collect): Block input around most of the function.
17324 17328
173251998-10-21 Kenichi Handa <handa@etl.go.jp> 173291998-10-21 Kenichi Handa <handa@etl.go.jp>
17326 17330
17327 * coding.c (setup_coding_system): Fix setting up 17331 * coding.c (setup_coding_system): Fix setting up
@@ -17332,7 +17336,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17332 conversion even if the length of conversion region is zero. 17336 conversion even if the length of conversion region is zero.
17333 17337
17334 * fontset.c: Include frame.h before fontset.h. 17338 * fontset.c: Include frame.h before fontset.h.
17335 (list_fonts_func): Fix prototype. 17339 (list_fonts_func): Fix prototype.
17336 17340
17337 * frame.c: Include frame.h before fontset.h. 17341 * frame.c: Include frame.h before fontset.h.
17338 17342
@@ -17376,7 +17380,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17376 (syms_of_w32fns): New lisp variables initialised. Function 17380 (syms_of_w32fns): New lisp variables initialised. Function
17377 pointers for fontset.c set up. 17381 pointers for fontset.c set up.
17378 17382
17379 * w32term.c: Include fontset.h. Define codepage macros. 17383 * w32term.c: Include fontset.h. Define codepage macros.
17380 Add ENCODE_BIG5 macro from coding.c. 17384 Add ENCODE_BIG5 macro from coding.c.
17381 (w32_no_unicode_output): New variable. 17385 (w32_no_unicode_output): New variable.
17382 (w32_codepage_for_charset, w32_use_unicode_for_codepage): New 17386 (w32_codepage_for_charset, w32_use_unicode_for_codepage): New
@@ -17387,10 +17391,10 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17387 (x_new_fontset): New function based on the one in xterm.c. 17391 (x_new_fontset): New function based on the one in xterm.c.
17388 (syms_of_w32term): Add w32-no-unicode-output flag. 17392 (syms_of_w32term): Add w32-no-unicode-output flag.
17389 17393
17390 * w32term.h: Remove redundant font_info struct definition. 17394 * w32term.h: Remove redundant font_info struct definition.
17391 (Vx_pixel_size_width_font_regexp, 17395 (Vx_pixel_size_width_font_regexp,
17392 unibyte_display_via_language_environment): Declare variables. 17396 unibyte_display_via_language_environment): Declare variables.
17393 (w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font): 17397 (w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font):
17394 Declare functions. 17398 Declare functions.
17395 (w32_output): New fields font_baseline and fontset. 17399 (w32_output): New fields font_baseline and fontset.
17396 (FRAME_FONTSET, FRAME_W32_FONT_TABLE): New macros. 17400 (FRAME_FONTSET, FRAME_W32_FONT_TABLE): New macros.
@@ -17444,7 +17448,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17444 17448
174451998-10-14 Richard Stallman <rms@psilocin.ai.mit.edu> 174491998-10-14 Richard Stallman <rms@psilocin.ai.mit.edu>
17446 17450
17447 * process.c (exec_sentinel, read_process_output): 17451 * process.c (exec_sentinel, read_process_output):
17448 Restore waiting_for_user_input_p after running Lisp code. 17452 Restore waiting_for_user_input_p after running Lisp code.
17449 17453
17450 * keyboard.c (parse_menu_item): Avoid initialization for Lisp_Object. 17454 * keyboard.c (parse_menu_item): Avoid initialization for Lisp_Object.
@@ -17648,7 +17652,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann <gerd@acm.org>
17648 outputing a string to notify an error, check the case that 17652 outputing a string to notify an error, check the case that
17649 DST_BYTES is zero. 17653 DST_BYTES is zero.
17650 17654
17651 * coding.h (CODING_FINISH_INTERRUPT): New macro. 17655 * coding.h (CODING_FINISH_INTERRUPT): New macro.
17652 17656
17653 * coding.c (ccl_coding_driver): If ccl_driver is interrupted by a 17657 * coding.c (ccl_coding_driver): If ccl_driver is interrupted by a
17654 user or the CCL program executed an invalid command, return 17658 user or the CCL program executed an invalid command, return
diff --git a/src/xrdb.c b/src/xrdb.c
index bab1b47d481..72d4deab3a5 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -89,7 +89,6 @@ extern char *get_system_name ();
89#define malloc xmalloc 89#define malloc xmalloc
90#define realloc xrealloc 90#define realloc xrealloc
91#define free xfree 91#define free xfree
92extern long *xmalloc (), *xrealloc ();
93#endif 92#endif
94 93
95char *x_get_string_resource (); 94char *x_get_string_resource ();
@@ -227,11 +226,11 @@ magic_file_p (string, string_len, class, escaped_suffix, suffix)
227 free (path); 226 free (path);
228 return NULL; 227 return NULL;
229 } 228 }
230 229
231 next = lang; 230 next = lang;
232 next_len = strlen (next); 231 next_len = strlen (next);
233 break; 232 break;
234 233
235 case 't': 234 case 't':
236 case 'c': 235 case 'c':
237 free (path); 236 free (path);
@@ -247,7 +246,7 @@ magic_file_p (string, string_len, class, escaped_suffix, suffix)
247 path_size = (path_len + next_len + 1) * 2; 246 path_size = (path_len + next_len + 1) * 2;
248 path = (char *) realloc (path, path_size); 247 path = (char *) realloc (path, path_size);
249 } 248 }
250 249
251 bcopy (next, path + path_len, next_len); 250 bcopy (next, path + path_len, next_len);
252 path_len += next_len; 251 path_len += next_len;
253 252
@@ -309,7 +308,7 @@ gethomedir ()
309 ptr = pw->pw_dir; 308 ptr = pw->pw_dir;
310 } 309 }
311 310
312 if (ptr == NULL) 311 if (ptr == NULL)
313 return "/"; 312 return "/";
314 313
315 copy = (char *) malloc (strlen (ptr) + 2); 314 copy = (char *) malloc (strlen (ptr) + 2);
@@ -333,7 +332,7 @@ file_p (path)
333 332
334 333
335/* Find the first element of SEARCH_PATH which exists and is readable, 334/* Find the first element of SEARCH_PATH which exists and is readable,
336 after expanding the %-escapes. Return 0 if we didn't find any, and 335 after expanding the %-escapes. Return 0 if we didn't find any, and
337 the path name of the one we found otherwise. */ 336 the path name of the one we found otherwise. */
338 337
339static char * 338static char *
@@ -346,7 +345,7 @@ search_magic_path (search_path, class, escaped_suffix, suffix)
346 { 345 {
347 for (p = s; *p && *p != ':'; p++) 346 for (p = s; *p && *p != ':'; p++)
348 ; 347 ;
349 348
350 if (p > s) 349 if (p > s)
351 { 350 {
352 char *path = magic_file_p (s, p - s, class, escaped_suffix, suffix); 351 char *path = magic_file_p (s, p - s, class, escaped_suffix, suffix);
@@ -419,7 +418,7 @@ get_user_app (class)
419 || ((path = getenv ("XAPPLRESDIR")) 418 || ((path = getenv ("XAPPLRESDIR"))
420 && ((file = search_magic_path (path, class, "/%L/%N", 0)) 419 && ((file = search_magic_path (path, class, "/%L/%N", 0))
421 || (file = search_magic_path (path, class, "/%N", 0)))) 420 || (file = search_magic_path (path, class, "/%N", 0))))
422 421
423 /* Check in the home directory. This is a bit of a hack; let's 422 /* Check in the home directory. This is a bit of a hack; let's
424 hope one's home directory doesn't contain any %-escapes. */ 423 hope one's home directory doesn't contain any %-escapes. */
425 || (free_it = gethomedir (), 424 || (free_it = gethomedir (),
@@ -542,7 +541,7 @@ x_load_resources (display, xrm_string, myname, myclass)
542 /* Add some font defaults. If the font `helv' doesn't exist, widgets 541 /* Add some font defaults. If the font `helv' doesn't exist, widgets
543 will use some other default font. */ 542 will use some other default font. */
544#ifdef USE_MOTIF 543#ifdef USE_MOTIF
545 544
546 sprintf (line, "%s*fontList: %s", myname, helv); 545 sprintf (line, "%s*fontList: %s", myname, helv);
547 XrmPutLineResource (&rdb, line); 546 XrmPutLineResource (&rdb, line);
548 sprintf (line, "%s*menu*background: grey75", myname); 547 sprintf (line, "%s*menu*background: grey75", myname);
@@ -585,7 +584,7 @@ x_load_resources (display, xrm_string, myname, myclass)
585 } 584 }
586 585
587#else /* not USE_MOTIF */ 586#else /* not USE_MOTIF */
588 587
589 sprintf (line, "Emacs.dialog*.font: %s", helv); 588 sprintf (line, "Emacs.dialog*.font: %s", helv);
590 XrmPutLineResource (&rdb, line); 589 XrmPutLineResource (&rdb, line);
591 sprintf (line, "Emacs.dialog*.background: grey75"); 590 sprintf (line, "Emacs.dialog*.background: grey75");
@@ -596,7 +595,7 @@ x_load_resources (display, xrm_string, myname, myclass)
596 XrmPutLineResource (&rdb, line); 595 XrmPutLineResource (&rdb, line);
597 sprintf (line, "Emacs*verticalScrollBar.background: grey75"); 596 sprintf (line, "Emacs*verticalScrollBar.background: grey75");
598 XrmPutLineResource (&rdb, line); 597 XrmPutLineResource (&rdb, line);
599 598
600#endif /* not USE_MOTIF */ 599#endif /* not USE_MOTIF */
601 600
602 user_database = get_user_db (display); 601 user_database = get_user_db (display);
@@ -631,7 +630,7 @@ x_load_resources (display, xrm_string, myname, myclass)
631 db = get_environ_db (); 630 db = get_environ_db ();
632 if (db != NULL) 631 if (db != NULL)
633 XrmMergeDatabases (db, &rdb); 632 XrmMergeDatabases (db, &rdb);
634 633
635 /* Last, merge in any specification from the command line. */ 634 /* Last, merge in any specification from the command line. */
636 if (xrm_string != NULL) 635 if (xrm_string != NULL)
637 { 636 {