X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/dc3cd20f619344cad3343ee3555920c8fe8e65d9..eb483c2b9186737c6145d5a651342c035e17f61b:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 5a3b7b466d..b460b5319c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,198 @@ +2000-10-11 Kenichi Handa + + * process.c (read_process_output): Fix previous change. Adjust + multibyteness of text to insert in a buffer by + make_string_unibyte/multibyte instead of + Fstring_as_unibyte/multibyte. + +2000-10-10 Andreas Schwab + + * alloc.c (mark_object): Remove all workarounds installed on + 1993-08-08. + +2000-10-10 Kenichi Handa + + * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before + returning. + (base64_encode_1): Make it work for a text of multibyte form. + (Fbase64_decode_region): Allocate sufficient memory for multibyte + case. Don't call str_to_multibyte because base64_decode_1 + produces correct multibyte form for eight-bit codes. + (Fbase64_decode_string): Adjusted for the change of + base64_decode_1. + (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If + MULTIBYTE is nonzero, produce correct multibyte form for eight-bit + codes. + + * charset.h (CHAR_STRING): Optimized for single byte characters. + +2000-10-09 Andreas Schwab + + * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to + -1 after socket is closed, to fall through to error processing. + +2000-10-09 Eli Zaretskii + + * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object + variables. If ALISt includes foreground-color or + background-color, change also the colors of the default face for + this frame. + +2000-10-08 Eli Zaretskii + + * msdos.c (top-level) : Make + them extern (they are defined on xfaces.c). + (syms_of_msdos): Don't intern and don't staticpro + Qbackground_color and Qforeground_color. + +2000-10-07 Eli Zaretskii + + * frame.c (Fframe_parameter): For non-windowed frames, if + f->param_alist says foreground or background color is unspecified, + call tty_color_name to return the color name computed from the + frame's current colors. + +2000-10-06 Dave Love + + * terminfo.c (ospeed): Don't declare. + + * sysdep.c: Don't include string.h. + (h_errno): Declare conditional also on TRY_AGAIN. + + * charset.c (Ffind_charset_string): Doc fix. + + * fns.c (Fbase64_encode_region, Fbase64_encode_string) + (Fbase64_decode_region, Fbase64_decode_string): More explicit + error messages. + +2000-10-05 Dave Love + + * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar + position like menu-bar. + +2000-10-05 Gerd Moellmann + + * keyboard.c (Frecursive_edit): Make sure redisplay can happen. + + * xdisp.c (handle_single_display_prop): Use safe_call1. + (safe_call): Renamed from call_function. + (safe_call1): New function. + (handle_fontified_prop): Use safe_call1 instead of call1. + (safe_eval): Renamed from eval_form. + (safe_eval_handler): Renamed from eval_handler. + (handle_single_display_prop, display_mode_element): Use safe_eval + instead of eval_form. + + * xfaces.c (merge_face_heights): Use safe_call instead of + call_function. + + * keyboard.c (show_help_echo): Use safe_call instead of + call_function; use safe_eval instead of eval_form. + + * lisp.h (safe_call): Renamed from call_function. + (safe_eval): Renamed from eval_form. + (safe_call1): Add prototype. + +2000-10-05 Miles Bader + + * xfns.c (image_ascent): Rearrange ascent calculation for the + has-a-font case. + +2000-10-04 Stefan Monnier + + * keymap.c (Fwhere_is_internal): Ignore `menu-bar' and `tool-bar'. + (where_is_internal_1): Don't bother ignoring menu-items any more. + +2000-10-04 Gerd Moellmann + + * keyboard.c (update_menu_bindings): New variable. + (parse_menu_item): Use AREF. If update_menu_bindings + is 0, don't update menu bindings. + (syms_of_keyboard): New Lisp variable `update-menu-bindings'. + +2000-10-03 Eli Zaretskii + + * alloc.c (Fgarbage_collect): Prevent compiler warning for a call + to `mark_object'. + +2000-10-02 Stefan Monnier + + * syntax.c (forw_comment): Match nestedness of ender/starter. + (Fforward_comment): Treat an unmatched \n comment-ender as whitespace. + (prev_char_comstart_first): Remove. + (back_comment): Check two-char comment markers more carefully + to better handle overlapping cases like *//* or /* */* */ ... + Match nestedness of ender/starter. + +2000-10-02 Dave Love + + * config.in (HAVE_GAI_STRERROR): Add undef. + + * process.c (Fopen_network_stream): Use it. + + * m/alpha.h (NO_REMAP): Don't define. + +2000-10-02 Gerd Moellmann + + * lisp.h (wrong_type_argument): Remove NO_RETURN, the function can + return with a string converted to an integer or vice versa when + Vmocklisp_arguments is t. + (Fsignal): Likewise. The function can return for `quit'. + (struct gcpro): Declare member `var' to point to a volatile + Lisp_Object. + + * eval.c (error): Prevent compiler warning. + +2000-09-30 Stefan Monnier + + * keymap.c (keymap_memberp): New function. + (Fset_keymap_parent): Use it. + (fix_submap_inheritance): Use get_keyelt, get_keymap_1 and KEYMAPP. + Use keymap_memberp to avoid creating cycles. + (access_keymap): Use KEYMAPP. + +2000-09-30 Gerd Moellmann + + * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use + gai_strerror. Make sure xerrno is set if connect fails. Improve + error recovery. + +2000-09-29 Jason Rumney + + * w32term.c (w32_char_font_type, w32_encode_char) + (x_produce_glyphs): Distinguish single and multibyte BDF fonts. + (w32_bdf_per_char_metric): New function. + (w32_per_char_metric): Use it. + (x_draw_glyph_string_background): Always draw background for BDF + glyphs. + + * w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not + GDI object which is a scarce resource. + + * w32bdf.c (search_file_line): Fix skipping of whitespace. + (get_quoted_string): Fix limit on memchr search. + (set_bdf_font_info): Use unsigned chars. Negate yoffset. + (w32_init_bdf_font): Initialize codepoint and bitmap heaps. + (w32_free_bdf_font): Free bitmaps and codepoints on heaps. + (get_cached_font_char, cache_char_offset): Use macro + BDF_CODEPOINT_RANGE_COVER_P. + (cache_char_offset): Use HeapAlloc to allocate codepoints on own heap. + (clear_cached_bitmap_slots): New function. + (GET_HEX_VALUE): G-Z, g-z are not hex. + (w32_get_bdf_glyph): Convert to DIB format. Return bytes read. + (get_bitmap_with_cache): Use new cache implementation. + (create_offscreen_bitmap): New function. + (w32_BDF_TextOut): Use it. Draw glyphs as DIBs. + + * w32term.c (x_produce_glyphs): If the distance from the current + position to the next tab stop is less than a canonical character + width, use the tab stop after that. + (x_draw_glyphs): Handle case START and END are out of bounds more + carefully. + (x_clear_mouse_face): Block/unblock input. + (x_display_and_set_cursor): Don't show a hollow box cursor for + buffers whose cursor_type is nil. + 2000-09-29 Gerd Moellmann * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar