X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/70360d0cab4f5e9fa351cd131e45fa86401896c0..95b1abcfafe8a366a75635f5fa4b4fa1e79f2964:/src/ChangeLog.8 diff --git a/src/ChangeLog.8 b/src/ChangeLog.8 index 09a2325536..de162cb39b 100644 --- a/src/ChangeLog.8 +++ b/src/ChangeLog.8 @@ -6,26 +6,26 @@ 1999-12-31 William M. Perry - * xfns.c (jpeg_format): Add the :data keyword - (jpeg_image_p): JPEG is valid with :file _or_ :data + * xfns.c (jpeg_format): Add the :data keyword. + (jpeg_image_p): JPEG is valid with :file _or_ :data. (jpeg_memory_src): Define new JPEG image source to read from a memory buffer. (jpeg_load): Pay attention to the :data keyword if specified. Instantiates a jpeg_memory_src instead of jpeg_stdio_src if found. - (png_format): Add the :data keyword - (png_image_p): PNG is valid with :file _or_ :data + (png_format): Add the :data keyword. + (png_image_p): PNG is valid with :file _or_ :data. (png_read_from_memory): New PNG read function to read from a memory buffer. (png_load): Pay attention to the :data keyword if specified. Use png_set_read_fn() instead of png_init_io() if specified. (tiff_format): Add the :data keyword for TIFF images. - (tiff_image_p): TIFF is valid with :file _or_ :data + (tiff_image_p): TIFF is valid with :file _or_ :data. (tiff_read_from_memory): Define new TIFF I/O functions to read from a memory buffer. (tiff_load): Pay attention to the :data keyword if specified. Uses TIFFClientOpen() instead of TIFFOpen() if specified. - (gif_format): Add the :data keyword - (gif_image_p): GIF is valid with :file _or_ :data + (gif_format): Add the :data keyword. + (gif_image_p): GIF is valid with :file _or_ :data. (gif_read_from_memory): New GIF input function to read from a memory buffer. (gif_load): Pay attention to the :data keyword. Uses DGifOpen() @@ -237,7 +237,7 @@ 1999-12-15 Eli Zaretskii * dispextern.h (FACE_TTY_DEFAULT_FG_COLOR) - (FACE_TTY_DEFAULT_BG_COLOR): New macros. + (FACE_TTY_DEFAULT_BG_COLOR): New macros. * xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables. (syms_of_xfaces): Initialize and staticpro them. @@ -279,7 +279,7 @@ 1999-12-15 Kenichi Handa - * coding.c (code_convert_region): Fix the secoding arg to + * coding.c (code_convert_region): Fix the second arg to update_compositions. 1999-12-15 Kenichi Handa @@ -514,7 +514,7 @@ (get_property_and_range): Extern it. (Vtext_property_default_nonsticky): Extern it. - * intervals.c (adjust_intervals_for_insertion): To check stickines + * intervals.c (adjust_intervals_for_insertion): To check stickiness of properties, pay attention to text-property-default-nonsticky. (merge_properties_sticky): Likewise. (get_property_and_range): New function. @@ -561,7 +561,7 @@ (produce_glyphs): When called, it->what can be IT_COMPOSITION. Delete codes for a composite character. - * textprop.c (Vtext_property_default_nonsticky): New variable + * textprop.c (Vtext_property_default_nonsticky): New variable. (syms_of_textprop): Declare it as a Lisp variable. * window.c (Frecenter): Clear all caches of compositions. @@ -687,7 +687,7 @@ 1999-12-09 Dave Love - * frame.h: (PIX_TYPE) [! HAVE_X_WINDOWS]: Define PIX_TYPE. + * frame.h (PIX_TYPE) [! HAVE_X_WINDOWS]: Define PIX_TYPE. 1999-12-08 Gerd Moellmann @@ -766,8 +766,8 @@ (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. + (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 @@ -795,11 +795,11 @@ 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. + (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 definitions. * msdos.c (IT_set_frame_parameters): Don't call recompute_basic_faces, the next redisplay will, anyway. @@ -826,9 +826,9 @@ 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 + (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. @@ -898,12 +898,12 @@ 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 + (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 +1999-11-28 Eli Zaretskii * emacs.c (synchronize_locale): Avoid compiler warnings about pointer type mismatch. @@ -1211,7 +1211,7 @@ Add extern declaration for byte_stack_list. * bytecode.c (struct byte_stack): New. - (byte_stack_list, mark_byte_stack, relocate_byte_pcs): 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. @@ -1378,38 +1378,38 @@ * alloc.c: Undef HIDE_LISP_IMPLEMENTATION before including lisp.h. - * buffer.c (Fbuffer_list, Fget_file_buffer, get_truename_buffer, - Fbuffer_local_variables, Fother_buffer, record_buffer, - set_buffer_internal_1, Fbury_buffer, Fkill_all_local_variables, - swap_out_buffer_local_variables, overlays_at, overlays_in, - overlay_touches_p, overlay_strings, recenter_overlay_lists, - fix_overlays_in_range, fix_overlays_before, Foverlay_get, - Foverlay_put, report_overlay_modification, evaporate_overlays): + * buffer.c (Fbuffer_list, Fget_file_buffer, get_truename_buffer) + (Fbuffer_local_variables, Fother_buffer, record_buffer) + (set_buffer_internal_1, Fbury_buffer, Fkill_all_local_variables) + (swap_out_buffer_local_variables, overlays_at, overlays_in) + (overlay_touches_p, overlay_strings, recenter_overlay_lists) + (fix_overlays_in_range, fix_overlays_before, Foverlay_get) + (Foverlay_put, report_overlay_modification, evaporate_overlays): Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member references. - * data.c (Fcar, Fcar_safe, Fcdr, Fcdr_safe, Fsetcar, Fsetcdr, - swap_in_symval_forwarding, set_internal, default_value, - Fset_default, Fmake_variable_buffer_local, Fmake_local_variable, - Fmake_variable_frame_local, Flocal_variable_p, - Flocal_variable_if_set_p, arithcompare, Fzerop, cons_to_long, - Fnumber_to_string, float_arith_driver, Fadd1, Fsub1): Likewise. + * data.c (Fcar, Fcar_safe, Fcdr, Fcdr_safe, Fsetcar, Fsetcdr) + (swap_in_symval_forwarding, set_internal, default_value) + (Fset_default, Fmake_variable_buffer_local, Fmake_local_variable) + (Fmake_variable_frame_local, Flocal_variable_p) + (Flocal_variable_if_set_p, arithcompare, Fzerop, cons_to_long) + (Fnumber_to_string, float_arith_driver, Fadd1, Fsub1): Likewise. * dispnew.c (Fframe_or_buffer_changed_p): Likewise. * emacs.c (main): Likewise. - * fontset.c (fs_load_font, fs_register_fontset, - CACHED_FONTSET_NAME, CACHED_FONTSET_REGEX, Fquery_fontset, - Fnew_fontset, Fset_fontset_font): Likewise. - * frame.c (do_switch_frame, next_frame, prev_frame, - other_visible_frames, Fdelete_frame, Fvisible_frame_list): + * fontset.c (fs_load_font, fs_register_fontset) + (CACHED_FONTSET_NAME, CACHED_FONTSET_REGEX, Fquery_fontset) + (Fnew_fontset, Fset_fontset_font): Likewise. + * frame.c (do_switch_frame, next_frame, prev_frame) + (other_visible_frames, Fdelete_frame, Fvisible_frame_list): Likewise. - * keyboard.c (read_char, help_char_p, event_to_kboard, - kbd_buffer_get_event, timer_start_idle, timer_check, - make_lispy_event, apply_modifiers, reorder_modifiers, - Fevent_convert_list, lucid_event_type_list_p, menu_bar_items, - menu_bar_one_keymap, menu_item_eval_property_1, parse_menu_item, - tool_bar_items, read_char_x_menu_prompt, read_key_sequence, - Fcommand_execute, Fexecute_extended_command): Likewise. - * minibuf.c (read_minibuf, get_minibuffer, Ftry_completion, - Fall_completions): Likewise. + * keyboard.c (read_char, help_char_p, event_to_kboard) + (kbd_buffer_get_event, timer_start_idle, timer_check) + (make_lispy_event, apply_modifiers, reorder_modifiers) + (Fevent_convert_list, lucid_event_type_list_p, menu_bar_items) + (menu_bar_one_keymap, menu_item_eval_property_1, parse_menu_item) + (tool_bar_items, read_char_x_menu_prompt, read_key_sequence) + (Fcommand_execute, Fexecute_extended_command): Likewise. + * minibuf.c (read_minibuf, get_minibuffer, Ftry_completion) + (Fall_completions): Likewise. * window.c (Fset_window_margins): Likewise. * callint.c (quotify_args): Don't explicitly use struct @@ -1477,9 +1477,9 @@ * coding.h (emacs_strerror, Vlocale_coding_system): New decls. - * config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING, - HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN, - HAVE_STRSIGNAL): New macros. + * config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING) + (HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN) + (HAVE_STRSIGNAL): New macros. (BITS_PER_LONG): Default to 64 if _LP64 is defined. : Include if HAVE_STDLIB_H is defined and NOT_C_CODE isn't. @@ -1501,14 +1501,14 @@ emacs_memftimeu, passing ut, instead of emacs_memftime. * emacs.c: Include if HAVE_SETLOCALE is defined. - (Vmessages_locale, Vprevious_messages_locale, Vtime_locale, - Vprevious_time_locale): New variables. + (Vmessages_locale, Vprevious_messages_locale, Vtime_locale) + (Vprevious_time_locale): New variables. (main): Invoke setlocale early, so that initial error messages are localized properly. But skip locale-setting if LC_ALL is "C". Fix up locale when it's safe to do so. (fixup_locale): Moved here from xterm.c. - (synchronize_locale, synchronize_time_locale, - synchronize_messages_locale): New functions. + (synchronize_locale, synchronize_time_locale) + (synchronize_messages_locale): New functions. (syms_of_emacs): Accommodate above changes. * fileio.c (report_file_error): Convert strerror output according @@ -1526,9 +1526,9 @@ default these values to long, BITS_PER_LONG, and unsigned long. (VALBITS, MARKBIT, XINT): Do not assume 32-bit EMACS_INT. (PNTR_COMPARISON_TYPE): Default to EMACS_UINT, not to unsigned int. - (code_convert_string_norecord, fixup_locale, - synchronize_messages_locale, synchronize_time_locale, - emacs_open, emacs_close, emacs_read, emacs_write): New decls. + (code_convert_string_norecord, fixup_locale) + (synchronize_messages_locale, synchronize_time_locale) + (emacs_open, emacs_close, emacs_read, emacs_write): New decls. All Emacs callers of open, close, read, write changed to use emacs_open, emacs_close, emacs_read, emacs_write. @@ -1579,13 +1579,13 @@ s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h, s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h, s/usg5-3.h, s/xenix.h: - (open, close, read, write, INTERRUPTIBLE_OPEN, - INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove. + (open, close, read, write, INTERRUPTIBLE_OPEN) + (INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove. * s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros. - * sysdep.c (sys_read, sys_write, read, write, sys_close, close, - sys_open, open): Remove. + * sysdep.c (sys_read, sys_write, read, write, sys_close, close) + (sys_open, open): Remove. (emacs_open, emacs_close, emacs_read, emacs_write): Always define; the old INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, and INTERRUPTIBLE_IO macros are no longer used. @@ -1711,8 +1711,8 @@ 1999-10-17 Miles Bader * editfns.c (Qfield): New variable. - (find_field, Ferase_field, Ffield_string, - Ffield_beginning, Ffield_end, Fconstrain_to_field): New functions. + (find_field, Ferase_field, Ffield_string) + (Ffield_beginning, Ffield_end, Fconstrain_to_field): New functions. (Fline_beginning_position, Fline_end_position): Constrain to any field. (make_buffer_string_both): Remove minibuffer-prompt hack. (syms_of_editfns): Initialize Qfield, and subr entries for @@ -1823,9 +1823,8 @@ (Fbitmap_spec_p): Replaces Fpixmap_spec_p. (load_pixmap): Use Fbitmap_spec_p and Qbitmap_spec_p instead of Fpixmap_spec_p and Qpixmap_spec_p. - (load_face_colors, check_lface_attrs, - merge_face_vector_with_property, - Finternal_set_lisp_face_attribute): Use Fbitmap_spec_p. + (load_face_colors, check_lface_attrs, merge_face_vector_with_property) + (Finternal_set_lisp_face_attribute): Use Fbitmap_spec_p. (syms_of_xfaces): Initialize Qbitmap_spec_p, defsubr Fbitmap_spec_p. @@ -1922,8 +1921,8 @@ * xfns.c (image_error): Use add_to_log. * xfaces.c (load_pixmap): Call add_to_log without frame parameter. - (load_face_font_or_fontset, load_color, - merge_face_vector_with_property): Ditto. + (load_face_font_or_fontset, load_color) + (merge_face_vector_with_property): Ditto. * dispextern.h: Add prototype for add_to_log. @@ -1942,8 +1941,8 @@ * window.c (window_min_size): Add parameter ignore_fixed_p. (change_window_height): Call window_min_size with new parameter. - (shrink_window_lowest_first, save_restore_orig_size, - grow_mini_window, shrink_mini_window): New. + (shrink_window_lowest_first, save_restore_orig_size) + (grow_mini_window, shrink_mini_window): New. (make_window, replace_window): Initialize orig_top and orig_height. (enlarge_window): Renamed from change_window_height. Make it @@ -1988,11 +1987,11 @@ (casify_region): Ditto. * filelock.c (get_boot_time): Put local variable used in - conditinally compiled section in #ifdef. + conditionally compiled section in #ifdef. (toplevel): Include stdio.h. - * keymap.c (Flookup_key, Faccessible_keymaps, describe_vector, - keys_of_keymap, syms_of_keymap): Remove unused variables. + * keymap.c (Flookup_key, Faccessible_keymaps, describe_vector) + (keys_of_keymap, syms_of_keymap): Remove unused variables. 1999-09-20 Gerd Moellmann @@ -2012,8 +2011,8 @@ 1999-09-19 Gerd Moellmann - * syntax.c (update_syntax_table, find_defun_start, back_comment, - describe_syntax, skip_chars): Remove unused variables. + * syntax.c (update_syntax_table, find_defun_start, back_comment) + (describe_syntax, skip_chars): Remove unused variables. (back_comment, forw_comment): Add braces to if-statement with if-else as dependent statement. @@ -2022,30 +2021,30 @@ conditional expressions. (create_process): Put declaration of sigchld in #if 0. (Fopen_network_stream): Removed unused variables. - (Fopen_network_stream, wait_reading_process_input, - wait_reading_process_input, send_process, send_process): Ditto. + (Fopen_network_stream, wait_reading_process_input) + (wait_reading_process_input, send_process, send_process): Ditto. (toplevel): Add prototypes for set_waiting_for_input and keyboard_bit_set. * abbrev.c (Fexpand_abbrev): Remove unused variables. * textprop.c (Fset_text_properties): Remove unused variables. - (text_property_list, verify_interval_modification, - interval_has_all_properties): Ditto. + (text_property_list, verify_interval_modification) + (interval_has_all_properties): Ditto. * callproc.c (toplevel) [HAVE_UNISTD_H]: Include unistd.h. (Fcall_process): Remove unused variable. * keyboard.c (Frecursive_edit): Remove unused variable. - (command_loop_1, safe_run_hooks, kbd_buffer_get_event, - timer_check, make_lispy_event, menu_bar_items, - menu_bar_one_keymap, menu_bar_item, parse_menu_item, - parse_tool_bar_item, read_char_x_menu_prompt, read_key_sequence, - kbd_buffer_get_event, make_lispy_event, read_char_x_menu_prompt, - read_key_sequence): Ditto. Fread_key_sequence, - Fread_key_sequence_vector, Fsuspend_emacs): Ditto. + (command_loop_1, safe_run_hooks, kbd_buffer_get_event) + (timer_check, make_lispy_event, menu_bar_items) + (menu_bar_one_keymap, menu_bar_item, parse_menu_item) + (parse_tool_bar_item, read_char_x_menu_prompt, read_key_sequence) + (kbd_buffer_get_event, make_lispy_event, read_char_x_menu_prompt) + (read_key_sequence): Ditto. + (Fread_key_sequence, Fread_key_sequence_vector, Fsuspend_emacs): Ditto. (read_key_sequence) [GOBBLE_FIRST_EVENT]: Put local variables only - used when GOBBLE_FIRST_EVENT is defined in #ifdef + used when GOBBLE_FIRST_EVENT is defined in #ifdef. (Fexecute_extended_command): Cast XINT to long for %ld. (toplevel) [HAVE_UNISTD_H]: Include unistd.h. (toplevel): Include sys/types.h. @@ -2059,8 +2058,8 @@ * buffer.h: Add prototype for r_re_alloc. * insdel.c (copy_text): Removed unused variables. - (count_combining_after, count_combining_after, insert_1_both, - insert_from_string_1, insert_from_buffer_1, check_markers): Ditto. + (count_combining_after, count_combining_after, insert_1_both) + (insert_from_string_1, insert_from_buffer_1, check_markers): Ditto. (adjust_after_replace, replace_range): Add parentheses to logical expressions. Remove unused variables. (CHECK_BYTE_COMBINING_FOR_INSERT): Add parentheses to logical @@ -2108,17 +2107,17 @@ * intervals.c (rotate_right, rotate_left): Add braces to avoid ambiguous else warning. (split_interval_left): Remove unused variables. - (previous_interval, adjust_intervals_for_deletion, - set_point_both, set_point_both, set_intervals_multibyte_1): Ditto. + (previous_interval, adjust_intervals_for_deletion) + (set_point_both, set_point_both, set_intervals_multibyte_1): Ditto. (icount, idepth, zero_length): Move into #if 0 section below original position where these are used. * buffer.h [REL_ALLOC]: Add prototypes for r_alloc and r_alloc_free. * buffer.c (Fkill_buffer): Remove unused variables. - (Fkill_buffer, overlays_at, overlays_in, recenter_overlay_lists, - fix_overlays_in_range, Fmove_overlay, Fprevious_overlay_change, - init_buffer_once, (syms_of_buffer): Ditto. + (Fkill_buffer, overlays_at, overlays_in, recenter_overlay_lists) + (fix_overlays_in_range, Fmove_overlay, Fprevious_overlay_change) + (init_buffer_once, syms_of_buffer): Ditto. * xrdb.c (get_fallback): Remove unused variable. (x_load_resources): Ditto. Put local variable used for Motif only @@ -2178,15 +2177,15 @@ * xdisp.c (resize_mini_window): Don't report changed window height if it actually hasn't changed. - * widget.c (set_frame_size, EmacsFrameSetCharSize): Remove + * widget.c (set_frame_size, EmacsFrameSetCharSize): Remove unused variables. (mark_shell_size_user_specified): Put in #if 0 because not used. (create_frame_gcs): Put in #if 0 because currently unused. (first_frame_p): Ditto. - * xmenu.c (single_menu_item, Fx_popup_menu, Fx_popup_menu, - single_submenu, update_frame_menubar, set_frame_menubar, - free_frame_menubar, xmenu_show, xdialog_show): Remove unused + * xmenu.c (single_menu_item, Fx_popup_menu, Fx_popup_menu) + (single_submenu, update_frame_menubar, set_frame_menubar) + (free_frame_menubar, xmenu_show, xdialog_show): Remove unused variables. * print.c (PRINTFULLP): Removed because it is no longer used and @@ -2202,8 +2201,8 @@ 1999-09-14 Ken Raeburn - * print.c (Ferror_message_string, print_error_message, - print_object): Use XCAR, XCDR and XFLOAT_DATA instead of explicit + * print.c (Ferror_message_string, print_error_message) + (print_object): Use XCAR, XCDR and XFLOAT_DATA instead of explicit member access. 1999-09-14 Gerd Moellmann @@ -2222,10 +2221,10 @@ (x_set_menu_bar_lines): Put local variable used only for non-toolkit case in #ifdef/#endif. (x_figure_window_size): Remove unused variable(s). - (x_figure_window_size, x_window, lookup_image, - xbm_read_bitmap_file_data, x_build_heuristic_mask, pbm_load, - png_load, jpeg_load, gif_load, x_create_tip_frame, - x_create_tip_frame, Fx_show_tip, x_set_border_pixel): Ditto. + (x_figure_window_size, x_window, lookup_image) + (xbm_read_bitmap_file_data, x_build_heuristic_mask, pbm_load) + (png_load, jpeg_load, gif_load, x_create_tip_frame) + (x_create_tip_frame, Fx_show_tip, x_set_border_pixel): Ditto. * xterm.c (x_scroll_bar_handle_click): Compile only if not USE_TOOLKIT_SCROLL_BARS. @@ -2235,8 +2234,8 @@ x_kill_gs_process. * xterm.c (x_produce_glyphs): Remove unused variable(s). - (x_alloc_nearest_color_for_widget, note_tool_bar_highlight, - x_set_toolkit_scroll_bar_thumb): Ditto. + (x_alloc_nearest_color_for_widget, note_tool_bar_highlight) + (x_set_toolkit_scroll_bar_thumb): Ditto. (x_scroll_bar_create): Move local variable to the conditionally compiled section of code where it is used. (x_scroll_bar_create): Remove unused variable(s). @@ -2255,14 +2254,14 @@ to use do-while. * fns.c (SXHASH_COMBINE): Add missing parentheses. - (Fchar_table_range, Fset_char_table_default, mapcar1, - Fyes_or_no_p, sweep_weak_hash_tables): Remove unused variable(s). + (Fchar_table_range, Fset_char_table_default, mapcar1) + (Fyes_or_no_p, sweep_weak_hash_tables): Remove unused variable(s). * lisp.h: Add prototype for getloadavg. 1999-09-14 Andreas Schwab - * process.c (Fopen_network_stream): Avoid socket decriptor leak. + * process.c (Fopen_network_stream): Avoid socket descriptor leak. * lisp.h: Declare close_file_unwind. @@ -2285,9 +2284,9 @@ * xdisp.c (QCfile): Move here from xfns.c. (syms_of_xdisp): Initialize it. (message2_nolog): Change for Lisp_Object selected_frame. - (message3_nolog, message_with_string, message, - setup_echo_area_for_printing, truncate_echo_area, - prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto. + (message3_nolog, message_with_string, message) + (setup_echo_area_for_printing, truncate_echo_area) + (prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto. 1999-09-13 Dave Love @@ -2338,11 +2337,11 @@ (Fdump_face): Ditto. * term.c (OUTPUT): Change for Lisp_Object selected_frame. - (OUTPUT_IF, ring_bell, set_terminal_modes, reset_terminal_modes, - set_terminal_window, set_scroll_region, reassert_line_highlight, - change_line_highlight, cursor_to, raw_cursor_to, clear_to_end, - clear_end_of_line, clear_end_of_line_raw, clear_end_of_line_raw, - encode_terminal_code, write_glyphs, term_init): Ditto. + (OUTPUT_IF, ring_bell, set_terminal_modes, reset_terminal_modes) + (set_terminal_window, set_scroll_region, reassert_line_highlight) + (change_line_highlight, cursor_to, raw_cursor_to, clear_to_end) + (clear_end_of_line, clear_end_of_line_raw, clear_end_of_line_raw) + (encode_terminal_code, write_glyphs, term_init): Ditto. * sysdep.c (reset_sys_modes): Change for Lisp_Object selected_frame. (kbd_input_ast, read_input_waiting): Ditto. @@ -2352,10 +2351,10 @@ (read_minibuf): Ditto. * keyboard.c (command_loop_1): Change for Lisp_Object selected_frame. - (cmd_error_internal, command_loop_1, read_char, - kbd_buffer_get_event, read_avail_input, - read_char_minibuf_menu_prompt, read_key_sequence, Fsuspend_emacs, - interrupt_signal, quit_throw_to_read_char): Ditto. + (cmd_error_internal, command_loop_1, read_char) + (kbd_buffer_get_event, read_avail_input) + (read_char_minibuf_menu_prompt, read_key_sequence, Fsuspend_emacs) + (interrupt_signal, quit_throw_to_read_char): Ditto. * fontset.c (Ffont_info): Change for Lisp_Object selected_frame. (Ffontset_info): DItto. @@ -2364,8 +2363,8 @@ * dispnew.c (selected_frame): Make it a Lisp_Object. (adjust_frame_glyphs_initially): Change for Lisp_Object selected_frame. - (direct_output_for_insert, direct_output_forward_char, - init_display): Ditto. + (direct_output_for_insert, direct_output_forward_char) + (init_display): Ditto. * data.c (swap_in_symval_forwarding): Change for Lisp_Object selected_frame. @@ -2379,20 +2378,20 @@ (Fselected_frame): Ditto. (Fframe_first_window): Use SELECTED_FRAME. (Fframe_root_window): Change for Lisp_Object selected_frame. - (Fframe_selected_window, Fset_frame_selected_window, Fnext_frame, - Fprevious_frame, other_visible_frames, Fdelete_frame, - Fmouse_position, Fmouse_pixel_position, Fmake_frame_visible, - Fmake_frame_invisible, Ficonify_frame, Fraise_frame, Flower_frame, - Fframe_parameters, Fmodify_frame_parameters, Fframe_char_height, - Fframe_char_width, Fframe_pixel_height, Fframe_pixel_width, - Fset_frame_height, Fset_frame_width): Ditto. + (Fframe_selected_window, Fset_frame_selected_window, Fnext_frame) + (Fprevious_frame, other_visible_frames, Fdelete_frame) + (Fmouse_position, Fmouse_pixel_position, Fmake_frame_visible) + (Fmake_frame_invisible, Ficonify_frame, Fraise_frame, Flower_frame) + (Fframe_parameters, Fmodify_frame_parameters, Fframe_char_height) + (Fframe_char_width, Fframe_pixel_height, Fframe_pixel_width) + (Fset_frame_height, Fset_frame_width): Ditto. 1999-09-13 Gerd Moellmann * xdisp.c (message2_nolog): Change for Lisp_Object selected_frame. - (message3_nolog, message_with_string, message, - setup_echo_area_for_printing, truncate_echo_area, - prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto. + (message3_nolog, message_with_string, message) + (setup_echo_area_for_printing, truncate_echo_area) + (prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto. * xmenu.c (Fx_popup_menu): Change for Lisp_Object selected_frame. (Fx_popup_dialog): Ditto. @@ -2406,48 +2405,48 @@ * window.c (Fminibuffer_window): Change for Lisp_Object selected_frame. - (Fwindow_at, Fprevious_window, window_loop, select_window_1, - display_buffer_1, Fdisplay_buffer, temp_output_buffer_show, - Fcurrent_window_configuration, init_window_once): Ditto. + (Fwindow_at, Fprevious_window, window_loop, select_window_1) + (display_buffer_1, Fdisplay_buffer, temp_output_buffer_show) + (Fcurrent_window_configuration, init_window_once): Ditto. * frame.h (SELECTED_FRAME): New. 1999-09-12 Ken Raeburn * category.c (word_boundary_p): Use XCAR and XCDR. - * ccl.c (ccl_driver, resolve_symbol_ccl_program, - Fregister_code_conversion_map): Likewise. - * coding.c (setup_coding_system, detect_coding_system, - Ffind_operation_coding_system, Fset_coding_priority_internal): + * ccl.c (ccl_driver, resolve_symbol_ccl_program) + (Fregister_code_conversion_map): Likewise. + * coding.c (setup_coding_system, detect_coding_system) + (Ffind_operation_coding_system, Fset_coding_priority_internal): Likewise. - * doc.c (get_doc_string, Fdocumentation, - store_function_docstring): Likewise. + * doc.c (get_doc_string, Fdocumentation) + (store_function_docstring): Likewise. * editfns.c (save_restriction_restore): Likewise. - * eval.c (Fcond, Fmacroexpand, Fcondition_case, wants_debugger, - skip_debugger, find_handler_clause, Fautoload, Fapply, - run_hook_with_args, run_hook_list_with_args, Ffetch_bytecode): + * eval.c (Fcond, Fmacroexpand, Fcondition_case, wants_debugger) + (skip_debugger, find_handler_clause, Fautoload, Fapply) + (run_hook_with_args, run_hook_list_with_args, Ffetch_bytecode): Likewise. - * fileio.c (Ffind_file_name_handler, Finsert_file_contents, - Fwrite_region, do_auto_save_unwind, Fdo_auto_save, - Fread_file_name): Likewise. + * fileio.c (Ffind_file_name_handler, Finsert_file_contents) + (Fwrite_region, do_auto_save_unwind, Fdo_auto_save) + (Fread_file_name): Likewise. * filelock.c (unlock_all_files): Likewise. * insdel.c (Fcombine_after_change_execute): Likewise. * intervals.c (adjust_intervals_for_insertion): Likewise. - * keymap.c (get_keymap_1, Fkeymap_parent, Fset_keymap_parent, - Fset_keymap_parent, fix_submap_inheritance, access_keymap, - store_in_keymap, Fcopy_keymap, define_as_prefix, - current_minor_maps, Faccessible_keymaps, - accessible_keymaps_char_table, Fkey_description, - Fwhere_is_internal, where_is_internal_2, where_is_internal_1, - describe_buffer_bindings, describe_map_tree, shadow_lookup, - describe_map): Likewise. - * lread.c (Fload, load_unwind, close_load_descs, read_vector, - read_list, init_lread): Likewise. + * keymap.c (get_keymap_1, Fkeymap_parent, Fset_keymap_parent) + (Fset_keymap_parent, fix_submap_inheritance, access_keymap) + (store_in_keymap, Fcopy_keymap, define_as_prefix) + (current_minor_maps, Faccessible_keymaps) + (accessible_keymaps_char_table, Fkey_description) + (Fwhere_is_internal, where_is_internal_2, where_is_internal_1) + (describe_buffer_bindings, describe_map_tree, shadow_lookup) + (describe_map): Likewise. + * lread.c (Fload, load_unwind, close_load_descs, read_vector) + (read_list, init_lread): Likewise. * search.c (Fmatch_data): Likewise. * sunfns.c (Fsun_menu_internal): Likewise. * syntax.c (describe_syntax): Likewise. - * undo.c (record_insert, record_delete, Fundo_boundary, - truncate_undo_list): Likewise. + * undo.c (record_insert, record_delete, Fundo_boundary) + (truncate_undo_list): Likewise. * vmsproc.c (child_sig): Likewise. * editfns.c (Fformat): Use XFLOAT_DATA. @@ -2531,63 +2530,63 @@ 1999-09-12 Ken Raeburn - * alloc.c (Fcons, pure_cons, Fpurecopy, Fgarbage_collect, - mark_object, mark_buffer): Use XCAR and XCDR. + * alloc.c (Fcons, pure_cons, Fpurecopy, Fgarbage_collect) + (mark_object, mark_buffer): Use XCAR and XCDR. * bytecode.c (Fbyte_code): Likewise. * callint.c (Fcall_interactively, Fprefix_numeric_value): Likewise. - * callproc.c (Fcall_process, Fcall_process_region, child_setup, - getenv_internal): Likewise. + * callproc.c (Fcall_process, Fcall_process_region, child_setup) + (getenv_internal): Likewise. * dired.c (file_name_completion): Likewise. - * fns.c (Fsafe_length, concat, Fcopy_alist, Fmember, Fmemq, Fassq, - assq_no_quit, Fassoc, Frassq, Frassoc, Fdelq, Fdelete, Freverse, - Fplist_get, Fplist_put, internal_equal, mapcar1): Likewise. + * fns.c (Fsafe_length, concat, Fcopy_alist, Fmember, Fmemq, Fassq) + (assq_no_quit, Fassoc, Frassq, Frassoc, Fdelq, Fdelete, Freverse) + (Fplist_get, Fplist_put, internal_equal, mapcar1): Likewise. * indent.c (Fcompute_motion): Likewise. - * process.c (decode_status, Fprocess_status, Fprocess_exit_status, - list_processes_1, Fstart_process, Fopen_network_stream, - wait_reading_process_input, read_process_output_call, - kill_buffer_processes, sigchld_handler, exec_sentinel_unwind, - status_notify, wait_reading_process_input): Likewise. - * textprop.c (PLIST_ELT_P, property_value, set_properties, - extend_property_ranges): Likewise. + * process.c (decode_status, Fprocess_status, Fprocess_exit_status) + (list_processes_1, Fstart_process, Fopen_network_stream) + (wait_reading_process_input, read_process_output_call) + (kill_buffer_processes, sigchld_handler, exec_sentinel_unwind) + (status_notify, wait_reading_process_input): Likewise. + * textprop.c (PLIST_ELT_P, property_value, set_properties) + (extend_property_ranges): Likewise. * w32faces.c (Fpixmap_spec_p, merge_face_list): Likewise. - * w32fns.c (x_window_to_frame, x_set_frame_parameters, - x_report_frame_params, x_set_cursor_type, x_icon_type, - x_figure_window_size, Fx_create_frame, w32_load_system_font, - w32_load_font, enum_font_cb2, w32_list_bdf_fonts, w32_list_fonts, - w32_list_synthesized_fonts, w32_find_ccl_program, Fx_list_fonts, - Fw32_find_bdf_fonts, w32_find_bdf_fonts_in_dir, - x_display_info_for_name, Fx_display_list): Likewise. - * w32menu.c (menubar_id_to_frame, single_keymap_panes, - Fx_popup_menu, Fx_popup_dialog): Likewise. + * w32fns.c (x_window_to_frame, x_set_frame_parameters) + (x_report_frame_params, x_set_cursor_type, x_icon_type) + (x_figure_window_size, Fx_create_frame, w32_load_system_font) + (w32_load_font, enum_font_cb2, w32_list_bdf_fonts, w32_list_fonts) + (w32_list_synthesized_fonts, w32_find_ccl_program, Fx_list_fonts) + (Fw32_find_bdf_fonts, w32_find_bdf_fonts_in_dir) + (x_display_info_for_name, Fx_display_list): Likewise. + * w32menu.c (menubar_id_to_frame, single_keymap_panes) + (Fx_popup_menu, Fx_popup_dialog): Likewise. * w32proc.c (Fw32_set_keyboard_layout): Likewise. - * w32term.c (x_window_to_scroll_bar, w32_read_socket, - w32_term_init, x_delete_display): Likewise. - * xfns.c (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, x_set_frame_parameters, - x_report_frame_params, x_set_cursor_type, x_icon_type, - x_figure_window_size, Fx_create_frame, x_display_info_for_name, - Fx_display_list, x_create_tip_frame): Likewise. - * xmenu.c (menubar_id_to_frame, single_keymap_panes, - Fx_popup_menu, Fx_popup_dialog): Likewise. - * xselect.c (x_own_selection, x_get_local_selection, - x_handle_selection_request, x_handle_selection_clear, - x_clear_frame_selections, wait_for_property_change_unwind, - wait_for_property_change, x_handle_property_notify, - copy_multiple_data, x_get_foreign_selection, - lisp_data_to_selection_data, clean_local_selection_data, - x_handle_selection_notify, Fx_get_selection_internal, - x_disown_buffer_selections): Likewise. - * xterm.c (x_window_to_scroll_bar, XTread_socket, x_list_fonts, - x_load_font, x_find_ccl_program, x_term_init, x_delete_display): + * w32term.c (x_window_to_scroll_bar, w32_read_socket) + (w32_term_init, x_delete_display): Likewise. + * xfns.c (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, x_set_frame_parameters) + (x_report_frame_params, x_set_cursor_type, x_icon_type) + (x_figure_window_size, Fx_create_frame, x_display_info_for_name) + (Fx_display_list, x_create_tip_frame): Likewise. + * xmenu.c (menubar_id_to_frame, single_keymap_panes) + (Fx_popup_menu, Fx_popup_dialog): Likewise. + * xselect.c (x_own_selection, x_get_local_selection) + (x_handle_selection_request, x_handle_selection_clear) + (x_clear_frame_selections, wait_for_property_change_unwind) + (wait_for_property_change, x_handle_property_notify) + (copy_multiple_data, x_get_foreign_selection) + (lisp_data_to_selection_data, clean_local_selection_data) + (x_handle_selection_notify, Fx_get_selection_internal) + (x_disown_buffer_selections): Likewise. + * xterm.c (x_window_to_scroll_bar, XTread_socket, x_list_fonts) + (x_load_font, x_find_ccl_program, x_term_init, x_delete_display): Likewise. * alloc.c (make_float, make_pure_float, Fpurecopy): Use XFLOAT_DATA. * bytecode.c (Fbyte_code): Likewise. - * floatfns.c (extract_float, Fexpt, Fabs, rounding_driver, - fmod_float): Likewise. + * floatfns.c (extract_float, Fexpt, Fabs, rounding_driver) + (fmod_float): Likewise. 1999-09-11 Richard Stallman @@ -2599,8 +2598,8 @@ * charset.h (GET_TRANSLATION_TABLE): Use XCDR. * frame.h (FOR_EACH_FRAME): Use XCAR and XCDR. (PIXEL_X_FROM_CANON_X, PIXEL_Y_FROM_CANON_Y): Use XFLOAT_DATA. - * keyboard.h (EVENT_HEAD, EVENT_START, EVENT_END, POSN_WINDOW, - POSN_BUFFER_POSN, POSN_WINDOW_POSN, POSN_TIMESTAMP): Use XCAR and + * keyboard.h (EVENT_HEAD, EVENT_START, EVENT_END, POSN_WINDOW) + (POSN_BUFFER_POSN, POSN_WINDOW_POSN, POSN_TIMESTAMP): Use XCAR and XCDR. * syntax.h (SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Use XCAR and XCDR. @@ -2616,8 +2615,8 @@ * print.c: Support print-circle and related features. (Vprint_gensym_alist): Removed. - (Vprint_circle, Vprint_continuous_numbering, print_number_index - Vprint_number_table): New variables. + (Vprint_circle, Vprint_continuous_numbering, print_number_index) + (Vprint_number_table): New variables. (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): New macros. (PRINTPREPARE, PRINTFINISH): Don't set Vprint_gensym_alist. (print, print_preprocess, print_preprocess_string, print_object): @@ -2720,8 +2719,8 @@ * xfaces.c (realize_basic_faces): Realize new basic faces. - * dispextern.h (SCROLL_BAR_FACE_ID, BORDER_FACE_ID, - CURSOR_FACE_ID, MOUSE_FACE_ID): New. + * dispextern.h (SCROLL_BAR_FACE_ID, BORDER_FACE_ID) + (CURSOR_FACE_ID, MOUSE_FACE_ID): New. * xfaces.c (Qscroll_bar, Qcursor, Qborder, Qmouse): New. (syms_of_xfaces): Intialize new symbols. @@ -2853,11 +2852,11 @@ (x_alloc_lighter_color): Call x_alloc_lighter_color with new parameter list. - * xterm.h: Change protorype of x_alloc_nearest_color. + * xterm.h: Change prototype of x_alloc_nearest_color. 1999-09-03 Richard Stallman - * callproc.c: Delete the system-independent include of stdlib.h + * callproc.c: Delete the system-independent include of stdlib.h. (leaving only the one in the WINDOWSNT conditional). 1999-09-03 Andrew Choi @@ -2880,8 +2879,8 @@ (Fmodify_frame_parameters) [macintosh]: Call mac_set_frame_parameter in macterm.c. - * keyboard.c [macintosh]: Set KBD_BUFFER_SIZE to a smaller value - (512) because Mac compilers limit local data of a function to 32K. + * keyboard.c [macintosh]: Set KBD_BUFFER_SIZE to a smaller value (512) + because Mac compilers limit local data of a function to 32K. * make-docfiles.c: Correctly handle input files with Mac-style eol's. @@ -2926,8 +2925,8 @@ (Fset_window_point): Remove references to deleted variables. (Fset_window_start): Ditto. - * xdisp.c (Vresize_mini_config, resize_mini_frame, - resize_mini_initial_height): Removed. + * xdisp.c (Vresize_mini_config, resize_mini_frame) + (resize_mini_initial_height): Removed. (syms_of_xdisp): Remove references to these variables. (resize_mini_window): Don't save window configuration, freeze window starts instead. Enlarge window until displaying an empty @@ -2959,7 +2958,7 @@ 1999-09-03 Kenichi Handa - The following changes are for the new handling of mulitbyte + The following changes are for the new handling of multibyte sequence. Now, except for a composite character, no multibyte character in string/buffer has trailing garbage bytes. For instance, the length of string "\201\300\300" is now 2, the first @@ -3149,7 +3148,7 @@ 1999-08-25 Gerd Moellmann * syntax.c (Fforward_word): If in a mini-buffer and moving - backwards, stop in front of the prompt to prevent accidentially + backwards, stop in front of the prompt to prevent accidentally moving into the read-only prompt. * window.c (Frecenter): Clear frame if called with nil or no arg. @@ -3205,8 +3204,8 @@ (resize_mini_window): Save/restore window configuration differently. - * lisp.h (Vresize_mini_config, resize_mini_frame, - resize_mini_initial_height): Add extern declarations. + * lisp.h (Vresize_mini_config, resize_mini_frame) + (resize_mini_initial_height): Add extern declarations. * xterm.c (expose_window_tree): Fix typo CANON_Y_UNIT to CANON_X_UNIT. @@ -3244,7 +3243,7 @@ * xdisp.c (Vresize_mini_config): New. (resize_mini_window): Use it to save restore original window - configuration + configuration. (syms_of_xdisp): Initialize it. * buffer.h (struct buffer): Add prevent_redisplay_optimizations_p. @@ -3266,37 +3265,37 @@ prevent_redisplay_optimizations_p to 1. (Fget_buffer_create): Set prevent_redisplay_optimizations_p to 1. - * buffer.h (BUF_UNCHANGED_MODIFIED, UNCHANGED_MODIFIED, - BUF_OVERLAY_UNCHANGED_MODIFIED, OVERLAY_UNCHANGED_MODIFIED, - BUF_BEG_UNCHANGED, BEG_UNCHANGED, BUF_END_UNCHANGED, - END_UNCHANGED): New. - (struct buffer_text): Add beg_unchanged, end_unchanged, + * buffer.h (BUF_UNCHANGED_MODIFIED, UNCHANGED_MODIFIED) + (BUF_OVERLAY_UNCHANGED_MODIFIED, OVERLAY_UNCHANGED_MODIFIED) + (BUF_BEG_UNCHANGED, BEG_UNCHANGED, BUF_END_UNCHANGED) + (END_UNCHANGED): New. + (struct buffer_text): Add beg_unchanged, end_unchanged, unchanged_modified, overlay_unchanged_modified. - * window.h (beg_unchanged, end_unchanged, unchanged_modified, - overlay_unchanged_modified): Removed. + * window.h (beg_unchanged, end_unchanged, unchanged_modified) + (overlay_unchanged_modified): Removed. (with_echo_area_unwind_data): Don't save beg/end_unchanged. (unwind_with_echo_area_buffer): Don't restore them. (debug_beg_unchanged, debug_end_unchanged) [GLYPH_DEBUG]: Removed. - (text_outside_line_unchanged_p, redisplay_internal, - try_scrolling): Use/set buffer-specific beg/end_unchanged. + (text_outside_line_unchanged_p, redisplay_internal) + (try_scrolling): Use/set buffer-specific beg/end_unchanged. (redisplay_window): Let try_window_id be called if more than one window is displayed. Use/set buffer-specific beg/end_unchanged. - (get_last_unchanged_at_beg_row, get_first_unchanged_at_end_row, - try_window_id): + (get_last_unchanged_at_beg_row, get_first_unchanged_at_end_row) + (try_window_id): Use buffer-specific beg/end_unchanged. - * window.h (beg_unchanged, end_unchanged, unchanged_modified, - overlay_unchanged_modified): Remove extern declarations. + * window.h (beg_unchanged, end_unchanged, unchanged_modified) + (overlay_unchanged_modified): Remove extern declarations. - * keyboard.c (command_loop_1): Set beg/end_unchanged per buffer. + * keyboard.c (command_loop_1): Set beg/end_unchanged per buffer. * insdel.c (gap_left): Compute beg/end_unchanged per buffer. (gap_right): Ditto. (adjust_after_replace): Likewise. (replace_range, del_range_2, modify_region): Likewise. - * dispnew.c (direct_output_for_insert): Set beg_unchanged + * dispnew.c (direct_output_for_insert): Set beg_unchanged and unchanged_modified per buffer. * coding.c (code_convert_region): Compute beg/end_unchanged per @@ -3312,7 +3311,7 @@ * lisp.h: Add prototype for copy_hash_table and Fcopy_hash_table. * fns.c (Qkey, Qvalue): Renamed from Qkey_weak, and Qvalue_weak. - (Qkey_value_weak): Removed. + (Qkey_value_weak): Removed. (make_hash_table): Use nil, `key', `value', t for weakness. (Fmake_hash_table): Ditto. (copy_hash_table): New. @@ -3334,7 +3333,7 @@ 1999-08-21 Gerd Moellmann - * fns.c (hash_lookup): Test with EQ before calling key comparion + * fns.c (hash_lookup): Test with EQ before calling key comparison function. (hash_remove): Ditto. (cmpfn_eq): Removed. @@ -3353,7 +3352,7 @@ * dispnew.c (do_pending_window_change): Add parameter `safe'. (change_frame_size): Ditto. - (change_frame_size_1): Ditto. Deley size changes if redisplaying + (change_frame_size_1): Ditto. Delay size changes if redisplaying and not called from a safe place. (window_change_signal): Call change_frame_size with new parameter. @@ -3398,25 +3397,22 @@ cursor_in_echo_area case only for a mini-window showing a message. Don't let cursor end up after the end of a row. - * xdisp.c (echo_area_glyphs, echo_area_message, - echo_area_glyphs_length, previous_echo_glyphs, - previous_echo_area_message, previous_echo_area_glyphs_length): + * xdisp.c (echo_area_glyphs, echo_area_message) + (echo_area_glyphs_length, previous_echo_glyphs) + (previous_echo_area_message, previous_echo_area_glyphs_length): Removed. - (Vmessage_stack, echo_area_buffer, echo_buffer, - display_last_displayed_message_p, Vwith_echo_area_save_vector): New. + (Vmessage_stack, echo_area_buffer, echo_buffer) + (display_last_displayed_message_p, Vwith_echo_area_save_vector): New. (message2_nolog): Use set_message and clear_message. - (message3): Rename parameter len to nbytes to make clear what - it is. + (message3): Rename parameter len to nbytes to make clear what it is. (message3_nolog): Ditto. Use set_message and clear_message. (update_echo_area): Rewritten. (with_echo_area_buffer): New. (with_echo_area_buffer_unwind_data, unwind_with_area_buffer): New. (setup_echo_area_for_printing): New. (display_echo_area, display_echo_area_1): New. - (current_message, current_message_1): New. - (push_message, restore_message, pop_message, - check_message_stack): New. + (push_message, restore_message, pop_message, check_message_stack): New. (truncate_echo_area): Rewritten. (truncate_message_1): New. (set_message, set_message_1, clear_message): New. @@ -3427,7 +3423,7 @@ (redisplay_window): Check for mini-window displaying echo area message differently. (syms_of_xdisp): Initialize Vmessage_stack and echo area buffers. - Remove initialzation of removed variables. + Remove initialization of removed variables. (init_xdisp): Remove references to removed variables. * dispnew.c (adjust_frame_message_buffer): Removed references @@ -3439,8 +3435,8 @@ don't try to set cursor on rows that aren't enabled. * print.c: Remove conditional compilation on `standalone'. - (glyph_len, str_to_glyph_cpy, str_to_glyph_ncpy, - glyph_to_str_cpy): Remove that section because GLYPHs are no + (glyph_len, str_to_glyph_cpy, str_to_glyph_ncpy) + (glyph_to_str_cpy): Remove that section because GLYPHs are no longer used in that way. (PRINTDECLARE): Add multibyte. (PRINTPREPARE, PRINTFINISH): Handle printcharfun t differently. @@ -3457,7 +3453,7 @@ (command_loop_1): Check for echo area messages differently. (read_char): Likewise. (record_menu_key): Use clear_message. - (Fexecute_extended_command): Check for echo area messages + (Fexecute_extended_command): Check for echo area messages differently. Use push_message, restore_message, pop_message. * alloc.c (Fgarbage_collect): Use push_message, restore_message, @@ -3560,7 +3556,7 @@ * dispnew.c (direct_output_for_insert): Use Vshow_trailing_whitespace instead of former iterator member show_trailing_whitespace_p. - (direct_output_forward_char): Don't do it if hightlighting + (direct_output_forward_char): Don't do it if highlighting trailing whitespace. * xdisp.c (Qshow_trailing_whitespace): Removed. @@ -3615,13 +3611,13 @@ Simplify clearing "under" scroll bar. * window.c (Qfixed_window_size): New. - (syms_of_window): Initialiaze it. + (syms_of_window): Initialize it. (check_all_windows): Add return type void. (window_fixed_size_p): New. Return non-zero if window is fixed-size. (window_min_size_1): New. (window_min_size): Handle fixed-size windows. - (size_window): New. Rewritten combination of set_window_height and + (size_window): New. Rewritten combination of set_window_height and set_window_width that handles fixed-size windows. (set_window_height): Call it. (set_window_width): Call it. @@ -3689,7 +3685,7 @@ * lread.c (read_escape): For Control modifier, pay attention to multibyte character. - (read1): Likewise. Singal error or a multibyte character which + (read1): Likewise. Signal error or a multibyte character which has a modifer bit. Check validity of Shift modifer. * charset.c (non_ascii_char_to_string): Handle modifier bits as @@ -3739,8 +3735,8 @@ 1999-08-06 Geoff Voelker - * dired.c (directory_files_internal, Fdirectory_files_and_attributes, - Ffile_attributes_lessp): New functions. + * dired.c (directory_files_internal, Fdirectory_files_and_attributes) + (Ffile_attributes_lessp): New functions. (Fdirectory_files): Use directory_files_internal. (syms_of_dired): Initialize Fdirectory_files_and_attributes, Ffile_attributes_lessp. @@ -3762,7 +3758,7 @@ * xdisp.c (reseat_at_next_visible_line_start): New parameter on_newline_p. - (set_iterator_to_next): After delivering last char + (set_iterator_to_next): After delivering last char from display vector, reseat on next visible line start if dpvec_char_len < 0. (next_element_from_buffer): Set dpvec_char_len to -1 for @@ -4129,7 +4125,7 @@ * xrdb.c (x_load_resources): Set double-click time defaults for Motif list boxes from double-click-time. - * fns.c (Vhash_table_tests): Remvoed. + * fns.c (Vhash_table_tests): Removed. (Qhash_table_test): New. (syms_of_fns): Initialize Qhash_table_test. (Fmake_hash_table): Look up user-defined tests in symbol prop @@ -4337,7 +4333,7 @@ * term.c (TS_cursor_visible): Renamed from TS_visual_mode. (TS_cursor_normal): Renamed from TS_end_visual_mode. - (TS_cursor_invisible): New. + (TS_cursor_invisible): New. (term_init): Initialize TS_cursor_invisible. (tty_hide_cursor): New. (tty_show_cursor): New. @@ -4648,7 +4644,7 @@ (syms_of_buffer): Add default-scroll-*-aggressively. * buffer.h (scroll_up_aggressively): New. - (scroll_down_aggressively): New. + (scroll_down_aggressively): New. * Makefile.in (LIBPNG): Add -lz -lm in case we're linking with a static PNG library. @@ -4733,7 +4729,7 @@ (build_scalable_font_name) [SCALABLE_FONTS]: New. (may_use_scalable_font_p) [SCALABLE_FONTS]: New. (best_matching_font) [SCALABLE_FONTS]: Handle scalable fonts. - (syms_of_xfaces): Add scalable-fonts-allowed. + (syms_of_xfaces): Add scalable-fonts-allowed. 1999-05-26 Gerd Moellmann @@ -4995,7 +4991,7 @@ * xfaces.c (set_font_frame_param): New. (Finternal_set_lisp_face_attribute): Call it. -Sun Feb 14 10:54:02 1999 Masatake Yamato +1999-02-14 Masatake Yamato * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): Accept specifications of color for underline. @@ -5011,21 +5007,21 @@ Sun Feb 14 10:54:02 1999 Masatake Yamato * dispnew.c (check_matrix_invariants): Put it in #if 0. (update_window): Put the call to check_matrix_invariants in #if 0. -Sun Feb 7 09:58:49 1999 Masatake Yamato +1999-02-07 Masatake Yamato * dispextern.h: Remove all else block of UNDERLINE_COLOR. Remove definition of UNDERLINE_COLOR. -Mon Jan 4 04:43:41 1999 Masatake Yamato +1999-01-04 Masatake Yamato * xfaces.c (free_face_colors): Free the color for underline. * xterm.c (x_draw_glyph_string_underline): Set the color for underline to the GC. -Sun Jan 3 08:41:10 1999 Masatake Yamato +1999-01-03 Masatake Yamato - * dispextern.h (UNDERLINE_COLOR): Defined. + * dispextern.h (UNDERLINE_COLOR): Defined. (struct face): Added two new members. underline_color, underline_defaulted_p. @@ -5034,7 +5030,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (Finternal_set_lisp_face_attribute): Likewise. * xfaces.c (load_color): Change the last argument type to enum - lface_attribute_index from int. And addec code for underling coloring. + lface_attribute_index from int. And add code for underling coloring. (load_face_colors): Pass LFACE_*_INDEX to load_color. 1999-02-12 Gerd Moellmann @@ -5211,7 +5207,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * dispextern.h (struct glyph): Add voffset. (struct it): Replace height by descent, max_height by max_descent. - * xterm.c (x_append_glyph): Set voffset + * xterm.c (x_append_glyph): Set voffset. (x_append_stretch_glyph): Ditto. (x_produce_image_glyph): Ditto. (x_produce_glyphs): Take voffset into account. @@ -5350,7 +5346,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (Fx_file_dialog): New. * fileio.c (Fread_file_name): Call it. - * xrdb.c (x_load_resources): Add default resoures for file + * xrdb.c (x_load_resources): Add default resources for file selection dialog. 1998-11-14 Gerd Moellmann @@ -5359,7 +5355,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato is active. * keyboard.c (timer_check): Inhibit busy cursor around calls to - timer-event-handler. This busy cursor tends to be anoying if + timer-event-handler. This busy cursor tends to be annoying if fontifying stealthily. * dispnew.c (direct_output_for_insert): Give up if current row @@ -5401,8 +5397,8 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato 1998-11-11 Gerd Moellmann - * xterm.h (struct x_display_info): Add gray pixmap. * xterm.c - (x_term_init): Create the gray pixmap. + * xterm.h (struct x_display_info): Add gray pixmap. + * xterm.c (x_term_init): Create the gray pixmap. (x_setup_relief_color): Use it. (x_get_glyph_string_clip_rect): Draw a toolbar window over the internal border at the top of a frame. @@ -5473,7 +5469,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (xmenu_show): Likewise. * xmenu.c (push_menu_item): Add parameters `type' and - `selected'. Store it in menu_items. + `selected'. Store it in menu_items. (MENU_ITEMS_ITEM_TYPE): New. (MENU_ITEMS_ITEM_SELECTED): New. (MENU_ITEMS_ITEM_LENGTH): Increase by two. @@ -6372,9 +6368,9 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * dispextern.h (struct glyph): Add bit multibyte_p. (struct face): New member registry holding the registry and encoding of the X font of the face. - (FACE_UNIBYTE_P): Value is non-zero if face is for unibye text. + (FACE_UNIBYTE_P): Value is non-zero if face is for unibyte text. (enum face_id): Add BASIC_FACE_ID_SENTINEL. - (FACE_SUITABLE_FOR_CHARSET_P): Handle charset < 0 meansing unibyte + (FACE_SUITABLE_FOR_CHARSET_P): Handle charset < 0 meaning unibyte text. (struct iterator_stack_entry): Add multibyte_p. @@ -6502,7 +6498,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xdisp.c (get_glyph_property): Renamed from fill_iterator_from_glyph_property. - (next_element_from_buffer): Handle case that no `glyph' property + (next_element_from_buffer): Handle case that no `glyph' property was found correctly. (display_line): Extend face to end of line only if we have faces. @@ -6637,7 +6633,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (SET_TEXT_POS_FROM_MARKER): Set a text_pos from a marker. (SET_MARKER_FROM_TEXT_POS): Set a marker from a text_pos. (TEXT_POS_EQUAL_P): Compare two text_pos structures for equality. - (struct display_pos): Renamed from glyph_pos. Use struct text_pos + (struct display_pos): Renamed from glyph_pos. Use struct text_pos for buffer and string positions. (struct glyph): Use text_pos. (struct it): Renamed from display_iterator. Use text_pos. @@ -6675,7 +6671,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * buffer.c (init_buffer_once): Add default for `indicate-zv-lines'. (init_buffer_once): New variable `default-indicate-zv-lines'. - (syms_of_buffer): New buffer-local varianle `indicate-zv-lines'. + (syms_of_buffer): New buffer-local variable `indicate-zv-lines'. * xdisp.c (redisplay_window): Don't try moving the cursor if current glyph row w->last_cursor.vpos isn't enabled. @@ -6763,7 +6759,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato cursor face extend to end of line. * xdisp.c (append_space): If adding space of default face, - make sure glyph ist produced with right face. + make sure glyph is produced with right face. * xterm.c (x_clear_glyph_string_rect): Draw a rectangle in the background color of a glyph string. @@ -7117,7 +7113,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * dispextern.h (ITERATOR_AT_END_OF_LINE_P): Test for DISP_CHARACTER. - * xterm.c (x_produce_image_glyph): Poduce image glyphs. + * xterm.c (x_produce_image_glyph): Produce image glyphs. (x_produce_glyphs): Call x_produce_glyphs for DISP_IMAGE. 1998-05-02 Gerd Moellmann @@ -7215,7 +7211,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xfaces.c (split_font_name): Don't reject scalable fonts. - * xterm.c (x_list_fonts): Set code exclusing scalable fonts + * xterm.c (x_list_fonts): Set code excluding scalable fonts in #if 0. * xfaces.c (xlfd_point_size): Return 0 for fonts whose real @@ -7263,7 +7259,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xdisp.c (set_iterator_stop_pos): Take glyph_check_pos into account. - (reseat_iterator): Set glyph_check_pos. Handle case where + (reseat_iterator): Set glyph_check_pos. Handle case where new position is < original position. (check_iterator_glyph_property): Handle glyph property in strings. (next_element_from_string): Call above function. @@ -7532,7 +7528,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (init_iterator): Do it here. * xfaces.c (choose_face_font): Check that swidth doesn't change - for subusequent attributes. + for subsequent attributes. (xlfd_point_size): Return int. * xdisp.c (redisplay_internal, echo_area-display): If realized @@ -7598,7 +7594,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato face_at_buffer_position. Parameter charset removed; always compute face for CHARSET_ASCII. (face_at_string_position): Renamed from - compute_face_at_string_pos. Parameter charset removed; always + compute_face_at_string_pos. Parameter charset removed; always compute for CHARSET_ASCII. (lookup_face_for_charset): Take frame parameter instead of face_cache. @@ -8531,7 +8527,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * dispnew.c (struct dim): Use int. - * xfaces.c (Fset_face_attribute_internal): Set face->font_name; + * xfaces.c (Fset_face_attribute_internal): Set face->font_name. (allocate_face): Initialize it. (load_font): Use XLoadQueryFont again instead of x_load_font. (unload_font): Use XFreeFont again. @@ -8925,7 +8921,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (x_get_char_font_and_encoding): Return null if font could not be loaded. Reset font to null if fontset could not be loaded. (draw_glyphs): Fill background if font not found. - (draw_glyphs): Unused parameter just_foreground_p removed. New + (draw_glyphs): Unused parameter just_foreground_p removed. New parameter composite_glyph. (draw_glyphs): Use enumeration for parameter hl. (draw_glyphs): Pass a display area relative x-position to @@ -9231,7 +9227,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * dispnew.c (update_frame_line): update_line -> update_frame_line; mirrored_make_current -> make_current. - * xdisp.c: (store_frame_title_char): New function to store a + * xdisp.c (store_frame_title_char): New function to store a single character for the frame title with re-allocation of frame_title_buf. (init_xdisp): Intialize frame_title_.* variables to null. @@ -9272,7 +9268,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato 1997-11-15 Gerd Moellmann - * dispnew.c (clear_current_matrices): Clear matrix of menu_bar_window + * dispnew.c (clear_current_matrices): Clear matrix of menu_bar_window. (clear_desired_matrices): Ditto. (adjust_frame_glyphs_for_window_redisplay): Use FRAME_WINDOW_WIDTH for menu_bar_window. @@ -9498,7 +9494,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xdisp.c (redisplay_internal): Optimization 1 change partially reverted. Check this again later. - (skip_via_matrix): Remove redundent test for + (skip_via_matrix): Remove redundant test for MATRIX_ROW_DISPLAYS_TEXT_P. 1997-10-27 Gerd Moellmann @@ -9509,20 +9505,20 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * window.h: Include blocker WINDOW_H_INCLUDED, include dispextern.h. - (struct window): phys_cursor_glyph as struct glyph. * window.c - (make_window): Initialize it. + (struct window): phys_cursor_glyph as struct glyph. + * window.c (make_window): Initialize it. (replace_window): Ditto. * dispnew.c (free_window_matrices): Remove freeing of phys_cursor_glyph. (check_matrix_invariants): Renamed from check_current_matrix_... * xterm.c: All references to phys_cursor_glyph changed. - * dispextern.h (DISPEXTERN_H_INCLUDED: New include blocker. + * dispextern.h (DISPEXTERN_H_INCLUDED): New include blocker. * xfaces.c: Comment update. * window.h (struct window): Make phys_cursor_glyph a struct glyph - pointer. Remove phys_cursor_ascent, descent, etc. + pointer. Remove phys_cursor_ascent, descent, etc. * dispnew.c (free_window_matrices): Free it. * window.c (make_window): Allocate it. (replace_window): Ditto. @@ -9535,7 +9531,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xdisp.c (skip_in_display_line_to): Use SET_INFO_FROM_CURSOR. - * xterm.c (XTget_display_info): Handle 3D facess. + * xterm.c (XTget_display_info): Handle 3D faces. (draw_glyphs): Ditto. * xdisp.c (Fdump_redisplay_state): Change interactive spec to "p". @@ -9583,7 +9579,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * dispnew.c (check_current_matrix_invariants): Check nrows for zero. (check_current_matrix_invariants): Check used counts. - * Revisiob v114. + * Revision v114. * dispnew.c (scrolling): Use hash codes from rows. @@ -9629,7 +9625,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 successful. * xdisp.c (try_window_id): Call update_window_begin_hook/end_hook. @@ -9677,7 +9673,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (increment_glyph_row_buffer_positions): Stop adjusting at glyphs with positions <= 0. - * dispextern.h (struct glyph_pos): Structure desribing a text + * dispextern.h (struct glyph_pos): Structure describing a text position including position in overlay. (struct glyph_row): Use it for start and end positions. (struct display_cursor): Use it. @@ -9789,7 +9785,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * xdisp.c (skip_via_matrix): Check for overlay arrow. - * region-cache.h: functino prototypes with PROTO. + * region-cache.h: Function prototypes with PROTO. * dispnew.c (buffer_posn_from_coords): Use -1 as skip position. @@ -9835,7 +9831,7 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * window.c (make_window): start_y removed. (replace_window): Ditto. - * xdisp.c (last_max_ascent, last_max_descent): Ascent and + * xdisp.c (last_max_ascent, last_max_descent): Ascent and descent values of the last line processed by skip_to. (redisplay_window): Use them. (skip_to): Set them. @@ -9851,16 +9847,16 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato (reseat_cursor): Ditto. (next_display_element): Ditto. -Sun Aug 24 08:50:52 1997 Gerd Moellmann +1997-08-24 Gerd Moellmann * termhooks.h: Some hooks with prototypes. * term.c: Some hooks with function prototypes. - * xdisp.c (reseat_cursor): Additional argument force_p. Avoid + * xdisp.c (reseat_cursor): Additional argument force_p. Avoid computing face if possible. - * xdisp.c (next_display_element): Use face from glyph from display + * xdisp.c (next_display_element): Use face from glyph from display table only if != 0. * emacs.c: FreeBSD headers for profiling removed. @@ -9917,7 +9913,7 @@ Sun Aug 24 08:50:52 1997 Gerd Moellmann * emacs.c (main): Remove own profiling code because 0.95 now has it in. -Fri Aug 22 18:46:43 1997 Gerd Moellmann +1997-08-22 Gerd Moellmann * xterm.c (XTupdate_end): Draw horizontal border at right position. (expose_window): Draw vertical border. @@ -9940,11 +9936,11 @@ Fri Aug 22 18:46:43 1997 Gerd Moellmann 1997-08-21 Gerd Moellmann - * dispnew.c (clear_glyph_matrix): Additional argument specifiying + * dispnew.c (clear_glyph_matrix): Additional argument specifying that rows should really be cleared. Used for current matrices. - * dispnew.c (scrolling_window): Bug fix. - (line_dance_hook): Formerly line_dance_fn, take only one parameter. + * dispnew.c (scrolling_window): Bug fix. + (line_dance_hook): Formerly line_dance_fn, take only one parameter. * dispextern.h (struct run): Remove current_vpos. @@ -9956,7 +9952,7 @@ Fri Aug 22 18:46:43 1997 Gerd Moellmann Fix truncated_on_left_p and truncated_on_right_p to be bits. (struct glyph_row): -Thu Aug 21 14:37:34 1997 Gerd Moellmann +1997-08-21 Gerd Moellmann * xdisp.c (skip_vertically_backward): Avoid negative vpos values when calling skip_to for continued lines. @@ -9971,17 +9967,17 @@ Thu Aug 21 14:37:34 1997 Gerd Moellmann * xterm.c (x_draw_row_borders): Use FRAME_MODE_LINE_HEIGHT height value. - (x_clip_to_row): Use MATRIX_ROW_VISIBLE_HEIGHT. Simplified. + (x_clip_to_row): Use MATRIX_ROW_VISIBLE_HEIGHT. Simplified. (do_line_dance): Simplified and pixel corrected. * dispnew.c (scrolling_window): Simplified. - * xterm.c (x_draw_3d_border): Inset rectangle by line width. + * xterm.c (x_draw_3d_border): Insert rectangle by line width. * dispnew.c (update_window): Add FRAME_MODE_LINE_BORDER_WIDTH to mode line row->x. -Wed Aug 20 11:23:28 1997 Gerd Moellmann +1997-08-20 Gerd Moellmann * xterm.c (x_get_char_font_and_encoding): Don't let fontset override font of face. @@ -10001,7 +9997,7 @@ Wed Aug 20 11:23:28 1997 Gerd Moellmann (merge_faces): Don't use default font if new font has different size. -Tue Aug 19 14:38:05 1997 Gerd Moellmann +1997-08-19 Gerd Moellmann * xterm.c (x_display_and_set_cursor): Use FONT_WIDTH if width unknown. Some fonts have min_width zero. @@ -10018,39 +10014,39 @@ Tue Aug 19 14:38:05 1997 Gerd Moellmann (x_display_and_set_cursor): If cursor on padding glyph, use min_bounds pixel width. -Mon Aug 18 09:39:18 1997 Gerd Moellmann +1997-08-18 Gerd Moellmann - * xterm.c (x_clip_to_row): Height value was 1 too large. - (XTclear_end_of_line): Clip to display area. + * xterm.c (x_clip_to_row): Height value was 1 too large. + (XTclear_end_of_line): Clip to display area. - * xfns.c (x_figure_window_sizes): Add trunc border width + * xfns.c (x_figure_window_sizes): Add trunc border width to frame pixel width. * xdisp.c (next_display_element): Don't display overlay strings within invisible text. - (skip_vertically_backward): Skip display lines. + (skip_vertically_backward): Skip display lines. -Sat Aug 16 13:13:32 1997 Gerd Moellmann +1997-08-16 Gerd Moellmann * xdisp.c (x_consider_frame_titie): Don't pad with blanks. - * xdisp.c (next_display_element): Next invisible + * xdisp.c (next_display_element): Next invisible text check position computed differently. * dispextern.h (struct display_cursor): last_invisible_text_pos and display_ellipsis_for_invisible_p removed. - * xdisp.c (next_display_element): Set last_invisible_text_pos + * xdisp.c (next_display_element): Set last_invisible_text_pos to the last position at which invisible text was found. Don't decrement cursor.pos for newlines and cr with ellipsis. Set dpvec for `...' due to invisible text directly. - (redisplay_internal): Don't assert that cursor is at PT after + (redisplay_internal): Don't assert that cursor is at PT after skip_to. It may be in invisible text. * keyboard.c (make_lispy_event): For mouse clicks, use x_y_to_hpos_vpos. - * xdisp.c (next_display_element): Call get_overlays_for_cursor when + * xdisp.c (next_display_element): Call get_overlays_for_cursor when next_overlay_pos is reached. Use limit cursor.pos + 100 when checking for invisible text. @@ -10058,7 +10054,7 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c - * xfns.c (x_contour_region): Use pixel coordinates from window + * xfns.c (x_contour_region): Use pixel coordinates from window cursor instead of WINDOW_TO_FRAME_H/VPOS. * dispextern.h (FRAME_TO_WINDOW_HPOS, FRAME_TO_WINDOW_VPOS): @@ -10066,11 +10062,11 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann * dispnew.c (frame_to_window_hpos, frame_to_window_vpos): Removed. - * xterm.c (x_y_to_hpos_vpos): Get hpos/vpos from window relative + * xterm.c (x_y_to_hpos_vpos): Get hpos/vpos from window relative pixel coordinates. (note_mouse_highlight): Use it. - * xdisp.c (echo_area_display): Ignore calls for terminal frames + * xdisp.c (echo_area_display): Ignore calls for terminal frames under a window system. * dispnew.c (adjust_frame_glyphs): Call redraw_frame if @@ -10078,7 +10074,7 @@ Sat Aug 16 13:13:32 1997 Gerd Moellmann (update_window_line): Add width of face padding glyph to displayed widths of rows. - * xterm.c (x_display_and_set_cursor): Set clipping after + * xterm.c (x_display_and_set_cursor): Set clipping after erasing cursor. * window.c (Fset_window_configuration): Free only those @@ -10101,25 +10097,25 @@ 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 +1997-08-14 Gerd Moellmann * xterm.c (x_clip_to_row): Clip to partially visible lines. (x_display_and_set_cursor): Call it. - (draw_glyphs): Call it + (draw_glyphs): Call it. (draw_bitmap): Call it. * dispnew.c (adjust_frame_glyphs): Optimize frame garbaging. (allocate_leaf_matrix): Return flags. (row_equal_p): Compare enabled_p. - * xterm.c (x_erase_phys_cursor): Set phys_cursor_on_p to 0 + * xterm.c (x_erase_phys_cursor): Set phys_cursor_on_p to 0 for type == -1. * xterm.c (x_display_and_set_cursor): Bar cursor 1 pixel taller. - (draw_glyphs): Clip height one pixel taller. + (draw_glyphs): Clip height one pixel taller. * dispnew.c (direct_output_for_insert): Give up for hscrolled mini window. @@ -10129,7 +10125,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann * xdisp.c (echo_area_display): Call update_single_window if possible. - * dispnew.c (update_window_line): Call scrolling_window. + * dispnew.c (update_window_line): Call scrolling_window. (scrolling_window): Work on enabled desired lines only. (update_single_window): Update a single window like update_frame does for all windows. @@ -10146,7 +10142,7 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann * dispnew.c (adjust_frame_glyphs): Don't set frame garbaged since update will follow soon. - * xdisp.c (echo_area_display): Unitialized variable. + * xdisp.c (echo_area_display): Uninitialized variable. * xterm.c (draw_bitmap): Previously draw_truncation; draw overlay arrow bitmap. @@ -10159,13 +10155,12 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann * 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. - * dispnew.c (update_window_line): Call after_update_windwo_line- - hook. + * dispnew.c (update_window_line): Call after_update_window_line_hook. * xdisp.c (display_line): Set overlay_arrow_p in row. @@ -10210,23 +10205,23 @@ Thu Aug 14 10:41:41 1997 Gerd Moellmann update end to prevent cursor flickering. Revert changes to setting cursor.endpos. -Wed Aug 13 10:46:12 1997 Gerd Moellmann +1997-08-13 Gerd Moellmann - * dispnew.c (direct_output_for_insert): Don't set cursor.endpos + * dispnew.c (direct_output_for_insert): Don't set cursor.endpos to PT because this prevents multi-byte characters from being recognized. - * xdisp.c (skip_to, display_line): Advance cursor at end of + * xdisp.c (skip_to, display_line): Advance cursor at end of truncated line. - * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect + * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect replaced by XRectangle. * dispnew.c (scrolling_window): New method. * xterm.c (do_line_dance): New implementation, new method. - * xdisp.c (draw_glyphs): Draw truncation bitmaps. Clip to + * xdisp.c (draw_glyphs): Draw truncation bitmaps. Clip to visible part of line. * dispnew.c (update_window_line): Fill inverse video lines @@ -10255,12 +10250,12 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann (change_frame_size_1): Correct cursor.x if frame gets too small. (update_window_line): Start at row->x. - * xdisp.c (redisplay_internal): Correct cursor.x (everwhere + * xdisp.c (redisplay_internal): Correct cursor.x (everywhere in xdisp.c). * xterm.c (set_output_cursor): Use window relative X/Y. (global): Use window relative output cursor x/y. - (draw_glyphs): Remove y param. Pass window relative x/y. + (draw_glyphs): Remove y param. Pass window relative x/y. * dispnew.c (update_window): Start rows at start_y. (update_window): Don't try scrolling because it wouldn't work @@ -10269,12 +10264,12 @@ Wed Aug 13 10:46:12 1997 Gerd Moellmann * dispextern.h (struct glyph_row): Remove shift_left_by, add x. - * window.h: (struct window): New member start_y. + * window.h (struct window): New member start_y. * window.c (replace_window): Initialize start_y. (make_window): Ditto. -Tue Aug 12 14:53:04 1997 Gerd Moellmann +1997-08-12 Gerd Moellmann * xterm.c (draw_glyphs): Clip rows that would paint over the mode line. @@ -10301,7 +10296,7 @@ Tue Aug 12 14:53:04 1997 Gerd Moellmann with window relative pixel coordinates. Use GLYPH_TO_PIXEL_- COORDS mit new arguments. -Mon Aug 11 12:32:34 1997 Gerd Moellmann +1997-08-11 Gerd Moellmann * xdisp.c (start_display): Use SKIP_TO instead of SKIP_IN- DISPLAY_LINE. @@ -10326,11 +10321,11 @@ Mon Aug 11 12:32:34 1997 Gerd Moellmann * dispnew.c (direct_output_for_insert): Set updated_row. -Sat Aug 9 12:11:44 1997 Gerd Moellmann +1997-08-09 Gerd Moellmann * dispextern.h (struct glyph): Padding flag removed. -Tue Aug 5 09:59:08 1997 Gerd Moellmann +1997-08-05 Gerd Moellmann * sysdep.c (reset_sys_modes): cursor_to with 4 params. @@ -10345,7 +10340,7 @@ Tue Aug 5 09:59:08 1997 Gerd Moellmann removed. Remove references to it everywhere. Reverse_p in glyph_row -> right_to_left_p. Change references to it. -Mon Aug 4 18:09:27 1997 Gerd Moellmann +1997-08-04 Gerd Moellmann * dispnew.c (direct_output_for_insert): Use INSERT_GLYPHS. @@ -10366,11 +10361,11 @@ Mon Aug 4 18:09:27 1997 Gerd Moellmann * keyboard.c (command_loop_1): Call DIRECT_OUTPUT_FOR_INSERT for any character. -Thu Jul 31 15:39:10 1997 Gerd Moellmann +1997-07-31 Gerd Moellmann * xdisp.c (echo_area_display): Use new DISPLAY_STRING. -Wed Jul 30 12:18:03 1997 Gerd Moellmann +1997-07-30 Gerd Moellmann * dispextern.h (struct glyph_row): MAX_ASCENT, MAX_DESCENT. (struct glyph): ASCENT, DESCENT. @@ -10384,7 +10379,7 @@ Wed Jul 30 12:18:03 1997 Gerd Moellmann * dispextern.h (struct display_cursor): WHAT_FOUND, SOURCE_OBJECT. Renamed from CHAR_CURSOR. -Tue Jul 29 12:52:40 1997 Gerd Moellmann +1997-07-29 Gerd Moellmann * xdisp.c (display_text_line): Mostly pixel oriented. @@ -10405,7 +10400,7 @@ Tue Jul 29 12:52:40 1997 Gerd Moellmann * term.c (encode_terminal_code): Don't use GLYPH_CHAR, use FAST_GLYPH_CHAR instead because GLYPH_CHAR won't remove faces. -Mon Jul 28 14:23:06 1997 Gerd Moellmann +1997-07-28 Gerd Moellmann * dispnew.c (init_char_info): Correct TAB_WIDTH to a reasonable value. @@ -10418,7 +10413,7 @@ Mon Jul 28 14:23:06 1997 Gerd Moellmann * dispextern.h (struct char_info ): GLYPH_ROW for intermediate glyphs. - * dispnew.c (init_char_info): Init GLYPH_ROW to NULL. CHAR_CURSOR + * dispnew.c (init_char_info): Init GLYPH_ROW to NULL. CHAR_CURSOR moved to xdisp.c. * xdisp.c (display_text_line): Use CHAR_CURSOR. @@ -10430,7 +10425,7 @@ Mon Jul 28 14:23:06 1997 Gerd Moellmann * term.c (get_char_info): Intermediate glyph generation. (append_intermediate_glyph): Ditto. -Sun Jul 27 18:57:24 1997 Gerd Moellmann +1997-07-27 Gerd Moellmann * dispnew.c (compute_char_cursor_face): Compute the face for a CHAR_CURSOR. @@ -10440,7 +10435,7 @@ Sun Jul 27 18:57:24 1997 Gerd Moellmann * dispextern.h (struct char_cursor): Cursor for iterating over display text of CURRENT_BUFFER. -Sat Jul 26 13:33:03 1997 Gerd Moellmann +1997-07-26 Gerd Moellmann * term.c (get_char_info): Set MAX_PIXEL_WIDTH in CHAR_INFO. @@ -10460,7 +10455,7 @@ Sat Jul 26 13:33:03 1997 Gerd Moellmann encode character. (XTget_char_info): Get display information about a character. -Wed Jul 23 16:50:18 1997 Gerd Moellmann +1997-07-23 Gerd Moellmann * dispextern.h (WINDOW_DISPLAY_MODE_LINE_HEIGHT): Height is zero if window is mini-window. @@ -10499,7 +10494,7 @@ Wed Jul 23 16:50:18 1997 Gerd Moellmann (WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y): Macros to get various pixel values related to windows. -Mon Jul 21 12:22:02 1997 Gerd Moellmann +1997-07-21 Gerd Moellmann * xterm.c (XTflash): Flash last line of frame. @@ -10529,7 +10524,7 @@ Mon Jul 21 12:22:02 1997 Gerd Moellmann * dispnew.c (scrolling_window): Scrolling for windows. -Wed Jul 16 13:37:51 1997 Gerd Moellmann +1997-07-16 Gerd Moellmann * dispnew.c (build_frame_matrix): Work on windows with update flag set. @@ -10553,12 +10548,12 @@ Wed Jul 16 13:37:51 1997 Gerd Moellmann * dispnew.c (build_frame_matrix_from_leaf_window): Determine border glyph once. -Tue Jul 15 13:58:33 1997 Gerd Moellmann +1997-07-15 Gerd Moellmann * window.c (mark_window_cursors_off): Mark all cursors in window tree off. - * xterm.c (x_display_box_cursor): Window paraemter. Use + * xterm.c (x_display_box_cursor): Window parameter. Use window matrix. (glyph_to_pixel_pos): Convert matrix pos -> pixels. (pixel_to_glyph_pos): Convert pixel pos -> matrix pos. @@ -10611,7 +10606,7 @@ Tue Jul 15 13:58:33 1997 Gerd Moellmann (direct_output_forward_char): Ditto. (update_frame_1): Ditto. -Mon Jul 14 12:30:03 1997 Gerd Moellmann +1997-07-14 Gerd Moellmann * dispnew.c (updated_window): Set by UPDATE_WINDOW to the window being updated. @@ -10671,7 +10666,7 @@ Mon Jul 14 12:30:03 1997 Gerd Moellmann * window.h: LAST_POINT_X and LAST_POINT_Y removed. -Sun Jul 13 14:18:24 1997 Gerd Moellmann +1997-07-13 Gerd Moellmann * xdisp.c: Bug fixes using SET_CURSOR with HPOS 0 instead of FRAME_LEFT_SCROLL_BAR_WIDTH. @@ -10685,7 +10680,7 @@ Sun Jul 13 14:18:24 1997 Gerd Moellmann (update_frame_1): Call CLEAR_DESIRED_MATRICES. (update_frame): Return return value from UPDATE_FRAME_1. -Sat Jul 12 12:58:48 1997 Gerd Moellmann +1997-07-12 Gerd Moellmann * xdisp.c (try_window): Set WINDOW_END_VPOS with window relative LAST_TEXT_VPOS. @@ -10722,7 +10717,7 @@ Sat Jul 12 12:58:48 1997 Gerd Moellmann used counters for the current glyph row. -Fri Jul 11 13:16:50 1997 Gerd Moellmann +1997-07-11 Gerd Moellmann * lisp.h: Prototype for SCAN_BUFFER. @@ -10778,7 +10773,7 @@ Fri Jul 11 13:16:50 1997 Gerd Moellmann * xdisp.c (message2_nolog): Don't fwrite NULL message If NONINTERACTIVE. -Mon Jul 7 14:44:38 1997 Gerd Moellmann +1997-07-07 Gerd Moellmann * dispnew.c (init_desired_glyphs): Clear both frame matrix and window matrices. @@ -10793,10 +10788,9 @@ Mon Jul 7 14:44:38 1997 Gerd Moellmann (display_text_line): Use window matrix. (try_window): Use window relative positions. -Sun Jul 6 17:02:26 1997 Gerd Moellmann +1997-07-06 Gerd Moellmann - * dispnew.c (adjust_frame_glyphs): Allocate window matrices from - (0, 0). + * dispnew.c (adjust_frame_glyphs): Allocate window matrices from (0, 0). (allocate_leaf_matrix): Add FRAME_MENU_BAR_LINES to the height of top-most windows. @@ -10824,9 +10818,9 @@ Sun Jul 6 17:02:26 1997 Gerd Moellmann matrices. (clear_glyph_row): Only reset used counters and flags. -Sat Jul 5 14:55:44 1997 Gerd Moellmann +1997-07-05 Gerd Moellmann - * dispnew.c (scroll_frame_lines): Don't assume first scolled + * dispnew.c (scroll_frame_lines): Don't assume first scrolled line is non-empty. (realloc_glyph_pool): Don't add 1 to the pool size. (adjust_glyph_matrix): Don't add 1 to pointers to glyph areas. @@ -10866,7 +10860,7 @@ Sat Jul 5 14:55:44 1997 Gerd Moellmann (mirror_make_current): Make window desired matrix row current when frame matrix row was made current. -Fri Jul 4 13:27:46 1997 Gerd Moellmann +1997-07-04 Gerd Moellmann * dispnew.c (check_matrix_pointer_lossage): Check against pointer lossage in matrices. @@ -10883,7 +10877,7 @@ Fri Jul 4 13:27:46 1997 Gerd Moellmann (rotate_pointers): Removed. (scroll_frame_lines): Simplified. -Thu Jul 3 13:54:21 1997 Gerd Moellmann +1997-07-03 Gerd Moellmann * dispextern.h (MATRIX_ROW_SWAP_CONTENTS): Removed. @@ -10895,7 +10889,7 @@ Thu Jul 3 13:54:21 1997 Gerd Moellmann for window matrices. (update_line): Call make_matrix_row_current. -Wed Jul 2 13:43:35 1997 Gerd Moellmann +1997-07-02 Gerd Moellmann * dispextern.h (SET_MATRIX_ROW_ENABLED_P): Better macro name. (SET_MATRIX_ROW_INVERSE_P): Better name and HIGHLIGHT_P -> @@ -10920,7 +10914,7 @@ Wed Jul 2 13:43:35 1997 Gerd Moellmann (fill_up_glyph_row_areas_with_spaces): Fill up areas with spaces. -Tue Jul 1 13:49:55 1997 Gerd Moellmann +1997-07-01 Gerd Moellmann * xterm.c (dumprectangle): Use vectors in glyph rows. @@ -10954,10 +10948,10 @@ Tue Jul 1 13:49:55 1997 Gerd Moellmann * dispnew.c (line_hash_code): Simplified. -Mon Jun 30 20:39:38 1997 Gerd Moellmann +1997-06-30 Gerd Moellmann * dispnew.c: Prototype for ROTATE_VECTOR, ROTATE_POINTERS, - CHANGE_FRAME_SIZE_1 + CHANGE_FRAME_SIZE_1. (preserve_other_columns): Void return. (cancel_my_columns): Void return type. (scrolling): Int return type. @@ -10979,7 +10973,7 @@ Mon Jun 30 20:39:38 1997 Gerd Moellmann * dispnew.c (redraw_frame): FRAME_PTR -> struct frame. Return void. (cancel_line): Return void. - (clear_frame_records): Return void. + (clear_frame_records): Return void. * dispextern.h (struct glyph): Remove GLYPH, add bit-fields. (SET_CHAR_GLYPH): Fill a character glyph. @@ -11004,19 +10998,19 @@ Mon Jun 30 20:39:38 1997 Gerd Moellmann * alloc.c (mark_object): Change window mark code to stop with member CURRENT_MATRIX. -Sat Jun 28 13:54:55 1997 Gerd Moellmann +1997-06-28 Gerd Moellmann * scroll.c (do_scrolling): Change algorithm to use pointers. (do_direct_scrolling): Ditto. * dispnew.c (get_glyph_matrix_row): Use pointers stored in rows. (new_glyph_pool): Formerly new_FRAME_GLYPH_MATRIX. - (free_glyph_pool): Formerly FREE_FRAME_GLYPH_MATRIX + (free_glyph_pool): Formerly FREE_FRAME_GLYPH_MATRIX. (realloc_glyph_pool): Formerly REALLOC_FRAME_GLYPH_MATRIX. Returns 1 if pool changed. (matrix_row): Additional check for lost pointers to glyph rows. (compute_matrices): Additional parameter DIM_P set means that no - allocation should take place. Addtional parameter + allocation should take place. Additional parameter ANY_WINDOWS_CHANGED_P set if any windows matrix has changed. (compute_leaf_matrix): Additional parameter CHANGED_P set to 1 when window matrix changes. Additional parameter DIM_ONLY_P set @@ -11033,7 +11027,7 @@ Sat Jun 28 13:54:55 1997 Gerd Moellmann (global): All macro names changed from prefix FRAME_MATRIX to MATRIX. -Fri Jun 27 14:51:15 1997 Gerd Moellmann +1997-06-27 Gerd Moellmann * dispextern.h (struct glyph_pool): Replacement for former FRAME_GLYPH_MATRIX. @@ -11045,7 +11039,7 @@ Fri Jun 27 14:51:15 1997 Gerd Moellmann * frame.c (make_frame): Initialize pools. -Thu Jun 26 00:00:55 1997 Gerd Moellmann +1997-06-26 Gerd Moellmann * scroll.c (do_direct_scrolling): Don't assume that the line moving algorithm has no intermediate steps. @@ -11063,14 +11057,14 @@ Thu Jun 26 00:00:55 1997 Gerd Moellmann * alloc.c (mark_object): Mark windows specially. -Wed Jun 25 15:22:58 1997 Gerd Moellmann +1997-06-25 Gerd Moellmann * dispextern.h (struct glyph): Add member OBJECT referencing a Lisp object from which a glyph was drawn. Member TEXT_POSITION renamed POSITION. * xterm.c, xdisp.c, dispnew.c: Rename TEXT_POSITION -> POSITION. - * alloc.c: Include dispextern.h + * alloc.c: Include dispextern.h. (mark_object): Mark objects referenced from glyphs. * frame.c (make_frame): Initialize DECODE_MODE_SPEC_BUFFER. @@ -11154,11 +11148,11 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * dispnew.c (direct_output_forward_char): Old glyph functions removed, new inserted. (line_hash_code): Use new glyphs. - (line_draw_cost): Ditto - (cancel_line): Ditto + (line_draw_cost): Ditto. + (cancel_line): Ditto. (clear_frame_records): Ditto. (init_desired_glyphs): Ditto. - (get_display_line): Ditto + (get_display_line): Ditto. (scroll_frame_lines): Ditto. (preserve_other_columns): Ditto. (adjust_window_charstarts): Ditto. @@ -11302,7 +11296,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-06-22 Ken'ichi Handa - * fileio.c: (Finsert_file_contents): In the case of REPLACE, call + * fileio.c (Finsert_file_contents): In the case of REPLACE, call del_range_byte instead of del_range_1, set `inserted' to the number of characters actually inserted. @@ -11348,7 +11342,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-06-14 Tak Ota - * w32bdf.c: (clear_cached_bitmap_slots): Remove. + * w32bdf.c (clear_cached_bitmap_slots): Remove. (get_bitmap_with_cache): Check if CreateBitmap failed. Adjust cache size dynamically so cache is never larger than the system limit of GDI resources. @@ -11366,7 +11360,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-06-11 Jason Rumney - * w32term.c (cancel_mouse_face): New function. See equiv + * w32term.c (cancel_mouse_face): New function. See equiv changes to xterm.c on 1996-10-31. (x_set_window_size): Use cancel_mouse_face. (w32_read_socket): Use cancel_mouse_face. @@ -11460,9 +11454,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-05-15 Andrew Innes - * w32term.c (dumpglyphs): Use correct colours for drawing - rectangles in place of missing fonts, and make them the right - size. + * w32term.c (dumpglyphs): Use correct colors for drawing + rectangles in place of missing fonts, and make them the right size. 1999-05-14 Dave Love @@ -11529,7 +11522,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * ccl.c (ccl_prog_stack_struct): Declare it as static. (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them - before returing. + before returning. (setup_ccl_program): Initialize ccl->stack_idx to 0. 1999-05-03 Jason Rumney @@ -11606,11 +11599,11 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-05-02 Jason Rumney - * w32term.c (w32_write_glyphs, w32_clear_end_of_line, - w32_clear_frame, clear_cursor, x_display_bar_cursor, - x_display_box_cursor, x_set_window_size): Use phys_cursor_on + * w32term.c (w32_write_glyphs, w32_clear_end_of_line) + (w32_clear_frame, clear_cursor, x_display_bar_cursor) + (x_display_box_cursor, x_set_window_size): Use phys_cursor_on field in frame. - (do_line_dance): Updated WRT xterm.c. Use macros where possible. + (do_line_dance): Updated WRT xterm.c. Use macros where possible. (dumprectangle): Take into account the width of a left-side scroll bar. @@ -11855,8 +11848,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * w32fns.c (w32_strict_fontnames): New variable. (Fx_create_frame): Formatting fix. - (w32_load_system_font): Keep trying to load non-existant font - if w32_strict_fontnames is nil. Formatting fix. + (w32_load_system_font): Keep trying to load non-existent font + if w32_strict_fontnames is nil. Formatting fix. (syms_of_w32fns): Add w32-strict-fontnames. * w32term.c (W32_TEXTOUT): Do not multiply nchars by charset_dim. @@ -11895,8 +11888,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-03-06 Kenichi Handa - * Makefile.in (callproc.o, coding.o, fileio.o, msdos.o, process.o, - term.o, xselect.o): Depend on ccl.h. + * Makefile.in (callproc.o, coding.o, fileio.o, msdos.o, process.o) + (term.o, xselect.o): Depend on ccl.h. 1999-03-05 Geoff Voelker @@ -12013,7 +12006,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-02-21 Eli Zaretskii - * fileio.c: (lstat) [!S_ISLNK]: Use stat instead of lstat. + * fileio.c (lstat) [!S_ISLNK]: Use stat instead of lstat. 1999-02-21 Richard Stallman @@ -12035,7 +12028,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann data is included, to enable profiling. ($(EMACS)): Map file not needed for emacs.exe. - * emacs.c (main): [!SYSTEM_MALLOC]: Call realloc and free as well + * emacs.c (main) [!SYSTEM_MALLOC]: Call realloc and free as well as malloc before calling uninterrupt_malloc, for consistency. This also enables profiling to work on WINDOWSNT. @@ -12051,9 +12044,9 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-02-17 Richard Stallman - * insdel.c (adjust_markers_for_replace): When doing an insertion - (replacing a region of zero length), handle markers at the - insertion point properly. + * insdel.c (adjust_markers_for_replace): When doing an + insertion (replacing a region of zero length), handle markers + at the insertion point properly. 1999-02-17 Andrew Innes @@ -12201,7 +12194,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-01-31 Andrew Innes - * unexw32.c: (ROUND_UP_DST_AND_ZERO): New macro. + * unexw32.c (ROUND_UP_DST_AND_ZERO): New macro. (copy_executable_and_dump_data): Use it to ensure alignment slop is zeroed. @@ -12217,7 +12210,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * xterm.c (x_new_fontset): For ASCII font, don't use the font name returned by x_new_font (the resolved one) but use the font name set in the fontset specification. - (x_load_font): For the height of font, if normarl ascent and + (x_load_font): For the height of font, if normal ascent and descent value are larger than those in max_bounds field, use the former. @@ -12354,7 +12347,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * w32fns.c (x_to_w32_charset): Add iso8859-9. (w32_to_x_charset): Fix charset mappings. - * w32term.c: Remove codepage macros. Remove redundant BIG5 macros. + * w32term.c: Remove codepage macros. Remove redundant BIG5 macros. (dumpglyphs): Move definitions out of block containing goto. Remove redundant code for BIG5. Use w32_codepage_for_font instead of @@ -12374,11 +12367,11 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1999-01-17 Andrew Innes - * w32proc.c: (w32_executable_type): Relax the check to identify + * w32proc.c (w32_executable_type): Relax the check to identify cygwin-compiled applications, because the exact dll name varies with release. Now only require the name to start "cygwin". - * w32heap.h: (ROUND_UP): + * w32heap.h (ROUND_UP): (ROUND_DOWN): New macros. (need_to_recreate_heap): Renamed to using_dynamic_heap. (init_heap): New extern. @@ -12390,7 +12383,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (w32_fatal_reload_error): (get_section_size): Obsolete externs removed. - * w32heap.c: (RVA_TO_PTR): Redefine to convert RVA to address in + * w32heap.c (RVA_TO_PTR): Redefine to convert RVA to address in current process. (round_to_next): Obsolete function removed. (preload_heap_section): New variable. @@ -12456,10 +12449,10 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (unexec): Rounds off preload heap to nearest page rather than virtual allocation unit. Modified to match other changes. - * mem-limits.h: (get_lim_data): Use reserved_heap_size instead of + * mem-limits.h (get_lim_data): Use reserved_heap_size instead of data_region_size. - * makefile.nt: (TEMACS_TMP): New macro. + * makefile.nt (TEMACS_TMP): New macro. ($(TEMACS)): Output to TEMACS_TMP from link, use post-link processor to add static heap section in support of new unexec. @@ -12521,7 +12514,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann character. Don't allow to put binary data into the clipboard. Return zero in case of success, 1 or 2 otherwise. (get_clipboard_data): Only bail out if the null character is in - the last 32-byte chunk of clipboard data + the last 32-byte chunk of clipboard data. (Fw16_set_clipboard_data): Make ok and put_status be unsigned. If they save binary data, print a message in the echo area saying the text was not put into the clipboard. @@ -12568,7 +12561,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (init_intervals, make_interval): Set a count variable. Use lisp_malloc instead of setting allocating_for_lisp. (init_float, make_float, init_cons, Fcons): Likewise. - (allocate_vectorlike, init_symbol, Fmake_symbol): Likewise + (allocate_vectorlike, init_symbol, Fmake_symbol): Likewise. (init_marker, allocate_misc, init_strings): Likewise. (make_uninit_multibyte_string): Likewise. (gc_sweep, compact_strings): Decrement the count variables. @@ -12602,7 +12595,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * w32term.c (x_iconify_frame): Wait for frame to be iconified; do not set async_iconified flag though. - * w32proc.c: (Vw32_start_process_inherit_error_mode): New variable. + * w32proc.c (Vw32_start_process_inherit_error_mode): New variable. (create_child): Use it. (syms_of_ntproc): Defvar it. Also fix docstrings for w32-start-process-share-console and w32-start-process-show-window. @@ -12728,7 +12721,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * fns.c (string_char_to_byte): Handle invalid multibyte sequence correctly. - (string_byte_to_char): Likesize. + (string_byte_to_char): Likewise. * print.c (printchar): When outputting a multibyte character to echo area, always set message_enable_multibyte to 1. @@ -12951,7 +12944,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-11-16 Kenichi Handa - * Makefile.in (abbrev.o): Depend on charset.h + * Makefile.in (abbrev.o): Depend on charset.h. (bytecode.o): Depend on charset.h. * bytecode.c: Include charset.h. @@ -12979,8 +12972,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-11-11 Eli Zaretskii * fns.c (MAX_ALLOCA): New macro. - (Fbase64_encode_region, Fbase64_encode_string, - Fbase64_decode_region, Fbase64_decode_string): Don't allocate + (Fbase64_encode_region, Fbase64_encode_string) + (Fbase64_decode_region, Fbase64_decode_string): Don't allocate more than MAX_ALLOCA bytes with alloca; otherwise use xmalloc. 1998-11-11 Ken'ichi Handa @@ -13145,7 +13138,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * charset.h (SPLIT_NON_ASCII_CHAR): Check dimension of an invalid character correctly. - (STRING_CHAR): Handle an invalid charater correctly. + (STRING_CHAR): Handle an invalid character correctly. 1998-11-05 Kenichi Handa @@ -13189,7 +13182,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-11-04 Kenichi Handa * charset.c (string_to_non_ascii_char): Change the check for the - varidity of multibyte form. + validity of multibyte form. (update_charset_table): Check validity of BYTES. Don't set bytes_by_char_head here. (init_charset_once): Set bytes_by_char_head completely. @@ -13256,11 +13249,11 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (insert_from_string_1): Set *(GPT_ADDR) to 0 before calling CHECK_BYTE_COMBINING_FOR_INSERT. (insert_from_buffer_1): Likewise. - (adjust_after_replace): Check the posibility of inhibitted byte + (adjust_after_replace): Check the possibility of inhibitted byte combining correctly. (replace_range): Before signaling an error for inhibitted byte combining, recover the buffer in a safe state. - (del_range_2): Check the posibility of inhibitted byte combining + (del_range_2): Check the possibility of inhibitted byte combining correctly. 1998-10-30 Andreas Schwab @@ -13304,7 +13297,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * editfns.c (Fsubst_char_in_region): Fix previous change. (Ftranslate_region): Fix previous change. - * insdel.c (check_markers): Check if markers are at character boundry. + * insdel.c (check_markers): Check if markers are at character boundary. (adjust_markers_for_insert): Fix previous change. (count_combining_before): Don't limit the check at BEGV. (count_combining_after): Don't limit the check at ZV. @@ -13370,7 +13363,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-10-23 Kenichi Handa - * coding.c (code_convert_region): While preserving the orignal + * coding.c (code_convert_region): While preserving the original point, pay attention to the byte combining problem. * fns.c (Fbase64_decode_region): Pay attention to the byte @@ -13394,7 +13387,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * coding.c (setup_coding_system): Fix setting up coding->spec.ccl.valid_codes for CCL based coding system. (code_convert_region): Set point to FROM before inserting the - result of pre-write-funciton. Preserve original point. + result of pre-write-function. Preserve original point. (code_convert_string): If coding->type is coding_type_ccl, do conversion even if the length of conversion region is zero. @@ -13407,7 +13400,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-10-21 Jason Rumney - * x-list-font.c (Fx_list_fonts): Access frame parameters throught + * x-list-font.c (Fx_list_fonts): Access frame parameters through general macros. Don't call x_list_font directory, instead call a function set in list_fonts_func. @@ -13418,21 +13411,21 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * makefile.nt (w32fns.c): Add x-list-font.c to dependancies. * w32faces.c: Update comments referring to obsolete structs. - (allocate_face, copy_face, face_eql, load_font, - Fpixmap_spec_p, free_frame_faces, new_computed_face, - frame_update_line_height, merge_faces, compute_base_face, - Fset_face_attribute_internal): Use fontset support based on xfaces.c. + (allocate_face, copy_face, face_eql, load_font) + (Fpixmap_spec_p, free_frame_faces, new_computed_face) + (frame_update_line_height, merge_faces, compute_base_face) + (Fset_face_attribute_internal): Use fontset support based on xfaces.c. - * w32fns.c: (Vx_pixel_size_width): New global variable. + * w32fns.c (Vx_pixel_size_width): New global variable. (unibyte_display_via_language_environment): New global variable. (x_set_font): Add support for setting fontsets. - (Fx_create_frame): Add check_w32(). Initialize fontsets. Fix + (Fx_create_frame): Add check_w32(). Initialize fontsets. Fix font names to match xlfd-tight-regexp. (w32_load_font): Rewrite based on x_load_font. (x_to_w32_charset, w32_to_x_charset): Add character sets. Use `iso8859-1' rather than `ansi'. (w32_to_x_font): Remove `-' from font name. Remove the `-' off the - end. Move charset into `charset registry' field. + end. Move charset into `charset registry' field. (enum_font_cb2): Check charsets match. Include width in font list. (w32_list_fonts): Rewrite based on x_list_fonts. Moved from w32term.c to have access to enumfont_t struct. @@ -13455,8 +13448,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (syms_of_w32term): Add w32-no-unicode-output flag. * w32term.h: Remove redundant font_info struct definition. - (Vx_pixel_size_width_font_regexp, - unibyte_display_via_language_environment): Declare variables. + (Vx_pixel_size_width_font_regexp) + (unibyte_display_via_language_environment): Declare variables. (w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font): Declare functions. (w32_output): New fields font_baseline and fontset. @@ -13633,7 +13626,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-09-28 Kenichi Handa * coding.c (check_composing_code): Fix previous change. Now it - alwasy returns 0 or -1. + always returns 0 or -1. (decode_coding_iso2022): Adjusted for the above change. (encode_coding_iso2022): When encoding the last block, flush out tailing garbage bytes. @@ -13645,7 +13638,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (SHRINK_CONVERSION_REGION): New macro. (code_convert_region): Call SHRINK_CONVERSION_REGION. Delete text properties here. - (code_convert_region): In the case of encoding, always calulate + (code_convert_region): In the case of encoding, always calculate correct character number. (code_convert_string): Call SHRINK_CONVERSION_REGION. (code_convert_region1): Don't delete text properties here. @@ -13736,7 +13729,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (adjust_after_replace): Record deletion of combining after bytes with the correct position. (replace_range): Likewise. Record the actual deletion after - recoding deletions of combining bytes. + recording deletions of combining bytes. * xdisp.c (message_log_check_duplicate): Count byte length of the latest message correctly. @@ -13805,7 +13798,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann ACTUAL_LEN even if LEN is too short to have a valid multibyte form. (STRING_CHAR_AND_CHAR_LENGTH): Likewise. - * coding.c (ccl_coding_driver): Always calculate correct mulibyte + * coding.c (ccl_coding_driver): Always calculate correct multibyte chars in produced byte sequence. (Ffind_operation_coding_system): Doc-string fixed. @@ -13819,8 +13812,8 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann 1998-09-06 Lars Magne Ingebrigtsen - * fns.c (Fbase64_decode_string, Fbase64_encode_string, - base64_decode_1, Fbase64_decode_region, Fbase64_encode_region): + * fns.c (Fbase64_decode_string, Fbase64_encode_string) + (base64_decode_1, Fbase64_decode_region, Fbase64_encode_region): New functions. 1998-09-06 Richard Stallman @@ -13852,7 +13845,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann (Fw16_set_clipboard_data): Always convert multibyte strings. Use Vnext_selection_coding_system if non-nil. (Fw16_get_clipboard_data): Always convert a string that includes - non-ASCII characters. Use Vnext_selection_coding_system if + non-ASCII characters. Use Vnext_selection_coding_system if non-nil. 1998-08-31 Andrew Innes @@ -13957,8 +13950,7 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann * xterm.c (fixup_locale): New function. For now, it resets LC_TIME to "C" (reverting the 1998-08-07 change), and also resets LC_MESSAGES to "C". - (x_term_init): Use it to fix up the locale after setlocale - (LC_ALL, ""). + (x_term_init): Use it to fix up the locale after setlocale (LC_ALL, ""). 1998-08-26 Kaveh R. Ghazi @@ -13991,15 +13983,15 @@ Wed Jun 25 15:22:58 1997 Gerd Moellmann See ChangeLog.7 for earlier changes. - Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. - GNU Emacs is free software; you can redistribute it and/or modify + GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -14007,8 +13999,6 @@ See ChangeLog.7 for earlier changes. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with GNU Emacs; see the file COPYING. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + along with GNU Emacs. If not, see . ;;; arch-tag: 4d73444a-8f6e-4255-92a6-d3abc438b8d3