X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a2ad7096ecc635ab5463ee524a865addc430c6e8..0c4f97d011de61455c9895b1fa7a5011acd8edcd:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 4d90f9c538..8f9b92710e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,703 @@ +1999-12-14 Gerd Moellmann + + * xterm.c (show_mouse_face): Don't use updated_area, use + TEXT_AREA. + +1999-12-12 Richard M. Stallman + + * minibuf.c (Fall_completions): Doc fix. + +1999-12-12 Richard M. Stallman + + * macros.c (Fstart_kbd_macro): Handle case where last-kbd-macro + has been changed by the Lisp code. + +1999-12-12 Gerd Moellmann + + * xfns.c: Indentation fixes. + +1999-12-10 Stefan Monnier + + * xterm.c (x_initialize): Only setup xaw3d_* if they've been declared. + +1999-12-10 Gerd Moellmann + + * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) + [!MSDOS && !WINDOWSNT && !macintosh]: Moved here from xterm.h. + + * xterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Moved + to frame.h. + +1999-12-09 Stefan Monnier + + * keyboard.c (Qratio): New symbol. + (scroll_bar_parts): Add `Qratio' to it. + (syms_of_keyboard): Init `Qratio'. + * termhooks.h (scroll_bar_part): Add `scroll_bar_move_ratio'. + * xterm.c (#includes): Allow compilation with only Xaw. + (xaw3d_arrow_scroll, xaw3d_pick_top): New variables. + (xt_action_hook): Replace XAW3D by XAW. + (xaw3d_jump_callback): Renamed to xaw_jump_callback. + (xaw_jump_callback): Renamed from xaw3d_jump_callback. + Determine epsilon dynamically and don't try to be too clever. + (xaw3d_scroll_callback): Renamed to xaw_scroll_callback. + (xaw_scroll_callback): Renamed from xaw3d_scroll_callback. + Handle both Xaw3d with arrow-scrollbars and with Xaw-style + scrollbar (using `ratio'). + (x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d + scrollbar we have so as to set it up more optimally and to fix + xaw3d_arrow_scroll and xaw3d_pick_top. + (x_set_toolkit_scroll_bar_thumb): Try to maintain 2 spare pixels at the + bottom of the Xaw3d scrollbar, to work around its tendency to refuse + shrinking the thumb. Also make sure that `XawScrollbarSetThumb' + is not ignored, using a major gross hack. + (x_initialize): Init default values for xaw3d_arrow_scroll and + xaw3d_pick_top. + +1999-12-09 Dave Love + + * frame.h: (PIX_TYPE) [! HAVE_X_WINDOWS]: Define PIX_TYPE. + +1999-12-08 Gerd Moellmann + + * eval.c: Remove conditional compilation on `standalone'. + (call_debugger): When entering the debugger while redisplaying, + reset redisplaying_p, and go back to the top-level if the debugger + returns. + +1999-12-07 Gerd Moellmann + + * xfaces.c (x_set_menu_resources_from_menu_face): Make sure + basic faces are realized before trying to use face `menu'. + + * window.c (delete_window): Block input for the time window + matrices are being changed. + +1999-12-07 Dave Love + + * lread.c (Fintern_soft): Fix newlines in doc string. + +1999-12-07 Alexandre Oliva + + * unexelf.c: Include , not on IRIX. Removed + duplicate definition of ElfW. + (find_section): Copied from unexsgi.c. + (unexec): Use find_section. Adjust whitespace. Initialize + new_data2_offset based on old_data, not sbss (this fixes a bug on + IRIX6). Change #ifdef __mips to __sgi, since it's IRIX-specific. + Adjust test for presence of .mdebug section to the new return + value of find_section. + +1999-12-07 Gerd Moellmann + + * unexelf.c: Merge changes from 20.5. + (unexec): Handle .lit4 and .lit8 unconditionally. + + * m/iris4d.h (UNEXEC) [USG5_4]: Use unexelf.o instead of + unexsgi.o again. + + * m/iris5d.h (UNEXEC): Likewise. + +1999-12-06 Stefan Monnier + + * editfns.c (Fdelete_and_extract_region): New function. + (syms_of_editfns): Register it. + * insdel.c (del_range): Update del_range_1 call. + (del_range_1, del_range_2): Add a ret_string argument to + request that the deleted text be returned. + (del_range_byte, del_range_both): Update del_range_2 call. + * lisp.h (del_range_1, del_range_2): Change prototype + * casefiddle.c (casify_region): Update del_range_1 call. + * coding.c (code_convert_region): Update del_range_2 call. + * fileio.c (Finsert_file_contents): Update del_range_2 call. + +1999-12-06 Gerd Moellmann + + * xfaces.c (set_lface_from_font_name): Fix incomplete merge. + +1999-12-04 Hrvoje Niksic + + * lread.c (Fintern_soft): Accept a symbol argument. + +1999-12-06 Eli Zaretskii + + * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 40000. + + * insdel.c (adjust_markers_for_delete): Fix last change. + +1999-12-06 Eli Zaretskii + + Changes for automatic remapping of X colors on terminal frames: + + * xfaces.c (XColor) [!HAVE_X_WINDOWS]: Provide a typedef for non-X + frames. + (Vface_tty_color_alist): Remove. + (tty_defined_color): New function. + (defined_color): Rewrite to support any type of frame. + (tty_color_name): New function. + (face_color_supported_p, Fface_color_gray_p, + Fface_color_supported_p): Support non-X frames. + (load_color): Enclose the color name in quotes, in the log + messages. Remove DOS-specific version of load_color. + (realize_tty_face): Take the supported colors from + tty-color-alist. Support translation of X colors to the closest + tty color, for both MSDOS and tty frames. + [MSDOS]: Don't invert face colors if they were taken from the + frame colors. + (Fface_register_tty_color, Fface_clear_tty_colors): Remove. + + * frame.h (struct x_output) [!MSDOS, !WINDOWSNT, !HAVE_X_WINDOWS]: + Define a mostly empty surrogate. + (tty_display): Declare. + + * frame.c (make_terminal_frame) [!macintosh]: Don't use + tty_display. + (Fframe_parameters): Don't invert colors of non-FRAME_WINDOW_P + frames when the frame's param_alist includes 'reverse. + (tty_display): Define. + (make_terminal_frame) [!MSDOS]: Assign &tty_display to the + output_data.x member. + (Fframe_parameters): Return foreground and background color names + on tty frames as well, in addition to MSDOS frames. + + * msdos.h (DisplayWidth, DisplayHeight): Changes for Lisp_Object + selected_frame. + (struct x_output): Remove unused members; document who uses each + member. + (FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE, + FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES, + FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES, + FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove + unused macro definintions. + + * msdos.c (IT_set_frame_parameters): Don't call + recompute_basic_faces, the next redisplay will, anyway. + (x_current_display): Remove unused variable. + Many functions: changes for Lisp_object selected_frame. + (IT_set_face): If the tty_reverse_p flag is set for the face, + reverse the foreground and background colors. + (Fmsdos_remember_default_colors): New function. + (syms_of_msdos): Defsubr it. + (IT_set_frame_parameters): Use initial_screen_colors[] when + creating a new frame. If the frame parameters include 'reverse, + swap the foreground and background colors. + (internal_terminal_init): Initialize initial_screen_colors to -1. + (syms_of_msdos): Add DEFVAR_BOOL for x-stretch-cursor, to shut up + cus-start.el. + + * Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc. + + * xfns.c (x_defined_color): Rename from defined_color. All + callers changed. + (Fxw_color_defined_p): Renamed from Fx_color_defined_p; + all callers changed. + (Fxw_color_values): Renamed from Fx_color_values; all callers + changed. + (Fxw_display_color_p): Renamed from Fx_display_color_p; all + callers changed. + (x_window_to_frame, x_any_window_to_frame, + x_non_menubar_window_to_frame, x_menubar_window_to_frame, + x_top_window_to_frame): Use !FRAME_X_P instead of + f->output_data.nothing. + * xterm.h (x_defined_color): Rename from defined_color. + + * w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of + f->output_data.nothing. + (Fxw_color_defined_p): Renamed from Fx_color_defined_p; + all callers changed. + (Fxw_color_values): Renamed from Fx_color_values; all callers + changed. + (Fxw_display_color_p): Renamed from Fx_display_color_p; all + callers changed. + + * dispextern.h (tty_color_name): Add prototype. + + * xmenu.c (menubar_id_to_frame): Use FRAME_WINDOW_P instead of + f->output_data.nothing. + * w32menu.c (menubar_id_to_frame): Likewise. + * w32term.h (w32_output): Declare. + + * dosfns.c (Qmsdos_color_translate): Remove. + (msdos_stdcolor_name): Now returns a Lisp_Object. + * dosfns.h (Qmsdos_color_translate): Remove. + + * s/msdos.h (INTERNAL_TERMINAL): Add entries for color support. + +1999-12-06 Kenichi Handa + + * fileio.c (decide_coding_unwind): Renamed from + set_auto_coding_unwind. + (Finsert_file_contents): Make single unwind protect to call both + Vset_auto_coding_function and Ffind_operation_coding_system. + + * insdel.c (adjust_markers_for_delete): Make it non-static. + +1999-12-04 Stefan Monnier + + * regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy + operators and handle them properly. + * regex.h (RE_ALL_GREEDY): New option. + (RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic + sorting would put it. + (RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP) + (_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior. + +1999-12-04 Dave Love + + * m/arm.h: New file. + +1999-12-03 Dave Love + + * editfns.c (Fmessage_or_box): Use use_dialog_box. + +1999-12-02 Gerd Moellmann + + * s/usg5-4.h (LIBS_SYSTEM): Add -lgen because that's needed + for building with Motif. + + * m/iris4d.h (UNEXEC) [USG5_4]: Use unexsgi.o instead of + unexelf.o. + + * m/iris5d.h (UNEXEC): Use unexsgi.o instead of unexelf.o. + +1999-12-01 Dave Love + + * emacs.c (main): Set LANG=C iff AX3_2 defined. + +1999-11-28 Gerd Moellmann + + * systime.h (EMACS_TIME_CMP, EMACS_TIME_EQ, EMACS_TIME_NE) + (EMACS_TIME_GT, EMACS_TIME_GE, EMACS_TIME_LT,EMACS_TIME_LE): New + macros. + + * config.in (HAVE_SETITIMER, HAVE_UALARM): New. + +1999-11-28 eliz + + * emacs.c (synchronize_locale): Avoid compiler warnings about + pointer type mismatch. + +1999-11-28 Gerd Moellmann + + * window.c (Fwindow_end): Don't call temp_set_pt_both with + out of range position. + + * xterm.c (XTread_socket) : + Switch off busy-cursor by setting inhibit_busy_cursor to 2. + +1999-11-28 Eli Zaretskii + + * charset.c (Fmake_char_internal): Print the charset ID when + signalling an error. + + * emacs.c (synchronize_locale): Avoid compiler warnings about + pointer type mismatch. + +1999-11-26 Richard M. Stallman + + * editfns.c (Fdelete_field): Make it noninteractive. Return nil. + +1999-11-26 Gerd Moellmann + + * puresize.h (BASE_PURESIZE): Increase to 550000. + + * textprop.c (set_text_properties): New function. Like + Fset_text_properties, but with additional parameter + SIGNAL_AFTER_CHANGE_P. If that is nil, don't signal after + changes. + (Fset_text_properties): Use it. + + * insdel.c (insert_1_both): Call set_text_properties with last + parameter nil so that no after changes will be signaled. + + * lisp.h: Add prototype for set_text_properties. + + * xfaces.c (set_lface_from_font_name): Fix previous change. + (recompute_basic_faces): Change assert to abort. + +1999-11-25 Dave Love + + * fns.c (Fnthcdr, Fnreverse): Inline cdr. + (Fmember, Fdelq, Fdelete): Inline car. + (Fy_or_n_p): Doc fix. + +1999-11-25 Gerd Moellmann + + * xfaces.c (set_lface_from_font_name): New parameter may_fail_p. + Callers changed. If specified font name is bogus, and may_fail_p + is not set, try to use a reasonable default. + + * dispnew.c (direct_output_for_insert): Set glyph row's + displays_text_p flag. Correct window's window_end_vpos if + necessary. + +1999-11-25 Paul Eggert + + * emacs.c (fixup_locale): Don't bother to record initial locale. + (synchronize_locale): If the desired locale is nil, + treat it as if it were the empty string, + so that we set the locale from the environment. + +1999-11-25 Kenichi Handa + + * fileio.c (Finsert_file_contents): Set buffer-file-coding-system + of the current buffer via Fset. + +1999-11-24 Dave Love + + * xfns.c: Don't duplicate Qdisplay definition done elsewhere. + + * xfaces.c: Don't duplicate Qmode_line definition done elsewhere. + + * xfns.c: Don't duplicate Qdisplay definition done elsewhere. + +1999-11-24 Gerd Moellmann + + * lisp.h (enum pvec_type): Put PVEC_FLAG in #if 0. + + * emacs.c (PVEC_FLAG): New variable. + +1999-11-23 Gerd Moellmann + + * unexaix.c (unexec): Use unsigned instead of uintptr_t because + that fails on IBM PowerPC, AIX 4.2. + +1999-11-22 Eli Zaretskii + + * buffer.c (syms_of_buffer): Add %z, %Z, %m and %& to the doc + string of mode-line-format. Remove the obsolete %t. + +1999-11-22 Gerd Moellmann + + * dispnew.c (direct_output_for_insert): Increment glyph positions + for glyphs from buffer text only. + + * emacs.c (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) + (gdb_data_seg_bits): New variables. + + * lisp.h (enum gdb_lisp_params): Put in #if 0, since it doesn't + work on systems not allowing enumerators > INT_MAX, and it + won't work if EMACS_INT is long long. + +1999-11-22 Paul Eggert + + Port to SunOS 4.1.x again. Help out with Alpha port. + Rename messages-locale to system-messages-locale, + and likewise for time-locale. + + * callproc.c (strerror): Remove decl. + * fileio.c (strerror): Likewise. + * process.c (strerror): Likewise. + * emacs.c (strerror): Likewise. + (Vsystem_messages_locale): Renamed from Vmessages_locale. + All uses changed. + (Vprevious_system_messages_locale): Likewise, from + Vprevious_messages_locale. + (Vsystem_time_locale): Likewise, from Vtime_locale. + (Vprevious_system_time_locale): Likewise, from Vprevious_time_locale. + (ABORT_RETURN_TYPE): New macro. + (abort): Return type is now ABORT_RETURN_TYPE. + (main): Always invoke init_signals, even if POSIX_SIGNALS is not + defined. + (syms_of_emacs): messages-locale -> system-messages-locale, + previous-messages-locale -> previous-system-messages-locale, + time-locale -> system-time-locale, + previous-time-locale -> previous-system-time-locale. + + * gmalloc.c (PP, __ptr_t): Assume ANSI C if STDC_HEADERS is defined. + (const): Do not define; that's config.h's job. + (): Include if HAVE_LIMITS_H is defined. + (CHAR_BIT): Move test for definedness outside of limits.h condition. + (): Include if STDC_HEADERS is defined. + (FREE_RETURN_TYPE): New macro. + (free): Return type is now FREE_RETURN_TYPE. + + * lisp.h (synchronize_system_time_locale): Renamed from + synchronize_time_locale. All uses changed. + (synchronize_system_messages_locale): Likewise, from + synchronize_messages_locale. + + * m/alpha.h (malloc, realloc, calloc): Remove decls; + stdlib.h now does this. + + * process.c (sys_siglist): Remove. + + * s/sunos4-0.h (ABORT_RETURN_TYPE, FREE_RETURN_TYPE): + New macros. + + * syntax.c (scan_sexps_forward): Use abort, not assert. + + * sysdep.c (my_sys_siglist): New var. + (sys_siglist): New macro. Remove old initialized vars of same name. + (init_signals): Initialize sys_siglist. + + * xfns.c (abort): Remove decl; stdlib.h now does this. + +1999-11-18 Dave Love + + * filelock.c: Add forward declaration for get_boot_time_1. + + * dispnew.c (Finternal_show_cursor_p): Fix doc string. + +1999-11-18 Gerd Moellmann + + * buffer.h (struct buffer_text): Add comment about moving + buffer text if REL_ALLOC is defined. + +1999-11-18 Kenichi Handa + + * lisp.h (KEY_DESCRIPTION_SIZE): New macro. + + * keyboard.c (echo_char): Use KEY_DESCRIPTION_SIZE to check free + memory for push_key_description. + + * keymap.c (Fsingle_key_description): Use KEY_DESCRIPTION_SIZE to + allocate memory for push_key_description. + (describe_buffer_bindings): Likewise. + +1999-11-17 Gerd Moellmann + + * xfns.c (Fx_show_busy_cursor): Doc-fix. + (Fx_hide_busy_cursor): Ditto. + +1999-11-17 Marco Walther + + * unexsni.c (unexec): Handle .rel.dyn section. + +1999-11-16 Dave Love + + * doc.c (Fdocumentation): Remove gcpro here too. + +1999-11-16 Gerd Moellmann + + * keyboard.c (command_loop_1): Remove no_redisplay. + +1999-11-16 Richard M. Stallman + + * print.c (PRINTPREPARE): Don't call setup_echo_area_for_printing + in noninteractive. + +1999-11-14 Gerd Moellmann + + * xdisp.c (ensure_echo_area_buffers): New. + (with_echo_area_buffer): Use it. + (setup_echo_area_for_printing): Ditto. + + * buffer.c (indicate-empty-lines): Doc-fix. + +1999-11-12 Gerd Moellmann + + * term.c (term_init): If "op" isn't available, don't support color + because we can't switch back to the default foreground and + background. + + * doc.c (Fdocumentation_property): Remove GCPRO because + Fsubstitute_command_keys gcpro's the string. + +1999-11-12 Kenichi Handa + + * editfns.c (Ftranslate_region): Check the buffer multibyteness. + +1999-11-11 Gerd Moellmann + + * print.c, keymap.c, indent.c, insdel.c, keyboard.c, intervals.c, + lread.c, textprop.c, undo.c, emacs.c, lisp.h, intervals.h, + buffer.h, config.in, Makefile.in: Remove USE_TEXT_PROPERTIES. + +1999-11-10 Gerd Moellmann + + * xfns.c (QCuser_data): Removed. + (syms_of_xfns): Initialization of QCuser_data removed. + (parse_image_spec): Don't handle :user-data specially. Allow + unknown keys. Remove parameter ALLOW_OTHER_KEYS. + (xbm_image_p, xbm_load, xpm_image_p, pbm_image_p, png_image_p) + (tiff_image_p, jpeg_image_p, gif_image_p, gs_image_p): Call + parse_image_spec accordingly. + +1999-11-09 Richard M. Stallman + + * cmds.c (Fbeginning_of_line): Doc fix. + (Fend_of_line): Doc fix. + + * editfns.c (Fline_beginning_position): If N is not 1, + pass t to Fconstrain_to_field for ESCAPE-FROM-EDGE. + + * syntax.c (Fforward_word): Handle fields even if would have hit + an edge of the buffer. Return nil if affected by fields. + +1999-11-09 Richard M. Stallman + + * editfns.c (preceding_pos): Function deleted. + (text_property_stickiness): Decrement POS directly. + Fix a confusion that used PT instead of POS. + + * editfns.c (find_field): Properly handle the case + of a field boundary where `field' inherits from neither side. + + * editfns.c (Ffield_beginning, Ffield_end): Doc fixes. + (Ferase_field, Ffield_string, Ffield_string_no_properties): Doc fixes. + +1999-11-08 Gerd Moellmann + + * bytecode.c (Fbyte_code) : Do the + BEFORE_POTENTIAL_GC before DISCARD. + +1999-11-07 Gerd Moellmann + + * alloc.c (Fgarbage_collect): Call unmark_byte_stack. + + * lisp.h: Add prototype for unmark_byte_stack. + + * bytecode.c (mark_byte_stack): Use XMARKBIT and XMARK. + (unmark_byte_stack): Renamed from relocate_byte_pcs. Use + XUNMARK. + + * xdisp.c (resize_mini_window): Fix computation of needed + mini-window height. + + * alloc.c, buffer.c, editfns.c, xdisp.c: Remove conditional + compilation on USE_TEXT_PROPERTIES. + + * Fbyte_code: Use block statements in cases and declare v1 and v2 + locally there. Rearrange case statements so that thos most + frequently executed come first. Avoid goto's in frequently + executed cases. + +1999-11-05 Gerd Moellmann + + * bytecode.c (Fbyte_code): Use BEFORE_POTENTIAL_GC and + AFTER_POTENTIAL_GC around internal_catch. + + * alloc.c (Fgarbage_collect): Call mark_byte_stack and + relocate_byte_pcs. + (init_alloc_once, init_alloc): Set byte_stack_list to null. + + * eval.c (struct catchtag): Add member byte_stack. + (internal_catch, Fcondition_case, internal_condition_case) + (internal_condition_case_1): Save value of byte_stack_list in + catchtag. + (unwind_to_catch): Restore byte_stack_list from catchtag. + + * lisp.h: Add prototypes for new functions in bytecode.c. + Add extern declaration for byte_stack_list. + + * bytecode.c (struct byte_stack): New. + (byte_stack_list, mark_byte_stack, relocate_byte_pcs): New + (BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): New. + (FETCH, PUSH, POP, DISCARD, TOP, MAYBE_GC): Rewritten. + (HANDLE_RELOCATION): Removed. + (Fbyte_code): Use byte_stack structures. + + * filelock.c (Ffile_locked_p): Make FILENAME a required argument. + + * buffer.c (syms_of_buffer): Extend documentation of + mode-line-format. + +1999-11-04 Gerd Moellmann + + * editfns.c (Fdelete_field): Renamed from Ferase_field. + + * minibuf.c (do_completion, Fminibuffer_complete_word): Use + Ferase_field instead of Fdelete_field. + +1999-11-03 Gerd Moellmann + + * dispnew.c (Finternal_show_cursor): Change it to set the + cursor on/off, not toggle its state. + (Finternal_show_cursor_p): New. + (syms_of_display): Defsubr Sinternal_show_cursor_p. + +1999-11-03 Dave Love + + * charset.c (split_non_ascii_string): Define return value. + +1999-11-03 Gerd Moellmann + + * minibuf.c (string_to_object): New. + (read_minibuf_noninteractive): New. + (read_minibuf): Call read_minibuf_noninteractive if + noninteractive. Use string_to_object. + + * doc.c (Fdocumentation_property): Fix bug bypassing UNGCPRO. + +1999-11-02 Dave Love + + * gnu-linux.h: Use SIGCHLD, not SIGCLD (not in glibc 2.1). + + * process.c: Define _GNU_SOURCE before config.h to get strsignal + declared with glibc2. + +1999-11-02 Gerd Moellmann + + * lisp.h (QUIT): Give it statement form. + +1999-11-02 Dave Love + + * eval.c (init_eval): Conditionalize declaration of gcpro_level. + +1999-11-02 Gerd Moellmann + + * xfns.c (QCuser_data): New. + (syms_of_xfns): Initialize QCuser_data. + (parse_image_spec): Ignore :user-data DATA properties. + + * xdisp.c (display_line): Set charpos of first glyph in blank + lines not corresponding to any text to -1, even if no glyphs are + filled in in that line. + +1999-11-01 Gerd Moellmann + + * xfns.c (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using + png_get_sRGB in #ifdef. + + * dispnew.c (Finternal_show_cursor): Renamed from Fshow_cursor. + (syms_of_display): Use the new name. + + * textprop.c (verify_interval_modification): Signal text-read-only + instead of calling error. + + * data.c (Qtext_read_only): New built-in error. + (syms_of_data): Initialize it. + + * lisp.h: Add extern declaration for Qtext_read_only. + + * syntax.c: Remove whitespace after open or in front of closing + parentheses. + +1999-11-01 Richard M. Stallman + + * Makefile.in (w16select.o, sound.o): Don't depend on lisp.h. + +1999-10-31 Gerd Moellmann + + * xdisp.c (resize_mini_window): Compute needed height differently. + + * fns.c (Flength): Unroll loop over lists. + + * xdisp.c (append_space): Return non-zero if space was appended. + (display_line): Set charpos of first glyph to -1 only if that + glyph is the space added by append_glyph. + +1999-10-30 Richard M. Stallman + + * print.c (strout): Consider `noninteractive' and use stdout + only when PRINTCHARFUN is t. + + * lisp.h (struct gcpro) [DEBUG_GCPRO]: New field `level'. + (gcpro_level): Declare it extern. + [DEBUG_GCPRO] (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): + Alternate definitions that set `level' and increment `gcpro_level'. + [DEBUG_GCPRO] (UNGCPRO): Alternate definition that checks gcpro_level. + + * eval.c [DEBUG_GCPRO] (gcpro_level): New variable. + (init_eval) [DEBUG_GCPRO]: Initialize it. + (unwind_to_catch) [DEBUG_GCPRO]: Set gcpro_level + from remaining gcprolist. + +1999-10-29 Kenichi Handa + + * coding.c (code_convert_region): Update `dst' correctly. + 1999-10-28 Gerd Moellmann * fns.c (Fmemq, Fassq, Frassq, assq_no_quit, Fassoc) @@ -10,6 +710,11 @@ Redefine PTY_TTY_NAME_SPRINTF. * config.in: Add undef for HAVE_DEV_PTMX. +1999-10-26 Richard M. Stallman + + * regex.c (POP_FAILURE_POINT): Use failure_id.integer + as arg to DEBUG_POP and DEBUG_PRINT. + 1999-10-27 Richard M. Stallman * data.c (Qad_activate_internal): Renamed from Qad_activate. @@ -464,7 +1169,7 @@ 1999-10-08 Stefan Monnier - * fileio.c (Fmake_temp_name): add a reference to `make-temp-file' + * fileio.c (Fmake_temp_name): Add a reference to `make-temp-file' in the docstring. 1999-10-08 Gerd Moellmann @@ -8369,7 +9074,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xterm.c (XTclear_end_of_line): Respect right_to_left_p. - * xdisp.c (try_window_id): clear desired matrix if not successul. + * xdisp.c (try_window_id): Clear desired matrix if not successul. * xdisp.c (try_window_id): Call update_window_begin_hook/end_hook. @@ -8463,7 +9168,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * window.h: Comments for window_end_pos/vpos. - * xdisp.c (skip_to): assert current_buffer is the buffer + * xdisp.c (skip_to): Assert current_buffer is the buffer of the window in which we are skipping. * dispnew.c (update_window_line): Optimized clear_end_of_line. @@ -8539,7 +9244,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xterm.c (XTmouse_position): Calculate LAST_MOUSE_GLYPH rectangle based on minimum character bounds. - * keyboard.c (make_lispy_event): mouse clicks; don't do frame + * keyboard.c (make_lispy_event): Mouse clicks; don't do frame glyph position calculations. (make_lispy_movement): Use buffer_posn_from_coords and window relative coordinates. @@ -8568,7 +9273,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato cursor positioning on partially visible lines. (set_window_cursor_after_update): Ditto. - * dispextern.h (MATRIX_ROW_PARTIALLY_VISIBLE_P): bug fix. + * dispextern.h (MATRIX_ROW_PARTIALLY_VISIBLE_P): Bug fix. * window.h (struct window): start_y removed. @@ -8692,7 +9397,7 @@ Fri Aug 22 18:46:43 1997 Gerd Moellmann * xterm.c (do_line_dance): Only one parameter. - * xdisp.c (display_line): set continued_p. + * xdisp.c (display_line): Set continued_p. * dispextern.h (struct glyph_row): New flag continued_p. Fix truncated_on_left_p and truncated_on_right_p to be bits. @@ -8735,7 +9440,7 @@ Wed Aug 20 11:23:28 1997 Gerd Moellmann * dispnew.c (update_window_line): If rows have different height or y, write entire line. - * xdisp.c (compute_line_metrics): reset max_ascent and max_descent + * xdisp.c (compute_line_metrics): Reset max_ascent and max_descent of info struct. * xfaces.c (Fset_face_attribute_internal): Don't call @@ -8828,7 +9533,7 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann (get_leaf_windows): Build vector of leaf windows. Corrupted archive restored from v77. - * xdisp.c (display_string): stop at >= last_visible_x if truncating + * xdisp.c (display_string): Stop at >= last_visible_x if truncating like display_line does. * xdisp.c (display_mode_line): Don't hscroll mode line. @@ -8843,7 +9548,7 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann * dispextern.h (struct display_cursor): New member string_length. * xdisp.c (next_display_element): Return padding spaces. - (init_string_cursor): take precision and field_width + (init_string_cursor): Take precision and field_width (display_string): Use string cursor, skip over invisible text. Thu Aug 14 10:41:41 1997 Gerd Moellmann @@ -8866,13 +9571,13 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann * dispnew.c (direct_output_for_insert): Give up for hscrolled mini window. - * xdisp.c (display_line): don't scroll mini prompt. + * xdisp.c (display_line): Don't scroll mini prompt. * xdisp.c (echo_area_display): Call update_single_window if possible. * dispnew.c (update_window_line): Call scrolling_window. - (scrolling_window): work on enabled desired lines only. + (scrolling_window): Work on enabled desired lines only. (update_single_window): Update a single window like update_frame does for all windows. (update_window, update_window_tree): Additional argument @@ -8885,23 +9590,23 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann (x_display_and_set_cursor): Do nothing if cursor glyph row not enabled. Draw bar cursor 1 pixel smaller. - * dispnew.c (adjust_frame_glyphs): don't set frame garbaged + * dispnew.c (adjust_frame_glyphs): Don't set frame garbaged since update will follow soon. * xdisp.c (echo_area_display): Unitialized variable. - * xterm.c (draw_bitmap): previously draw_truncation; draw + * xterm.c (draw_bitmap): Previously draw_truncation; draw overlay arrow bitmap. - * xdisp.c (display_line): for truncated lines, consider everything + * xdisp.c (display_line): For truncated lines, consider everything up to the final \n as part of the line for cursor positioning. - * xterm.c (draw_truncation): take FRAME_X_TRUNC_WIDTH into account. - (x_after_update_window_line): clear trunc marks. + * xterm.c (draw_truncation): Take FRAME_X_TRUNC_WIDTH into account. + (x_after_update_window_line): Clear trunc marks. * xterm.h (FRAME_X_TRUNC_WIDTH). - * frame.h (FRAME_TRUNC_WIDTH): width of area at the left margin + * frame.h (FRAME_TRUNC_WIDTH): Width of area at the left margin of a window reserved for truncation mark. * dispextern.h: Take FRAME_TRUNC_WIDTH into account. @@ -8923,7 +9628,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann (x_display_cursor): Use default font width if width not known. - * xdisp.c (echo_area_display): set row->y. + * xdisp.c (echo_area_display): Set row->y. * dispnew.c (set_window_cursor_after_update): Don't assume all rows are enabled. @@ -9822,7 +10527,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * alloc.c: Include dispextern.h (mark_object): Mark objects referenced from glyphs. - * frame.c (make_frame): initialize DECODE_MODE_SPEC_BUFFER. + * frame.c (make_frame): Initialize DECODE_MODE_SPEC_BUFFER. * scroll.c (do_direct_scrolling): Remove TEMP_MATRIX. (do_scrolling): Ditto. @@ -9850,9 +10555,9 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (Fdelete_frame): Free glyphs. (make_frame): Initialize matrix fields in frame. - * config.in (PROTO): added. + * config.in (PROTO): Added. - * emacs.c (shut_down_emacs): check glyph memory. + * emacs.c (shut_down_emacs): Check glyph memory. * window.c (Fdelete_window): Free window matrices. (Fset_window_configuration): Ditto. @@ -10564,9 +11269,15 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-03-17 Jason Rumney - * w32bdf.h: Merged patches from Meadow. + * w32bdf.h: Merged patches from Meadow; introduce bitmap cache to + speed display. - * w32bdf.c: Merged patches from Meadow. + * w32bdf.c: Merged patches from Meadow; introduce bitmap cache to + speed display. + (get_cached_font_char, cache_char_offset, get_bitmap_with_cache) + New functions. + (w32_free_bdf_font, seek_char, w32_get_bdf_glyph, w32_BDF_TextOut) + Use bitmap cache. * w32fns.c (enum_font_cb2): Set the font height to be the character height, not the cell height.