]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Merge from origin/emacs-24
[gnu-emacs] / src / ChangeLog
index 6257cc4277a5853e74e07e85e81486e92999a312..45946eb4a698755f4a8568f37292e5f64dc81289 100644 (file)
@@ -1,3 +1,227 @@
+2015-01-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (move_it_to, try_cursor_movement): Don't use the window
+       end information if the window_end_valid flag is unset.
+       (try_window_id): If the call to display_line invalidated the
+       window end information, give up the try_window_id optimization.
+       (Bug#19511)
+
+2015-01-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (Fx_server_version, Fx_server_vendor): Doc fix.
+
+       * xfns.c (Fx_server_version, Fx_server_vendor): Doc fix.
+
+       * emacs.c (syms_of_emacs) <system-configuration>: Doc fix.
+       (Bug#19502)
+
+2015-01-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use bool for boolean in xfaces.c
+       * dispextern.h: Adjust to signature changes.
+       * font.c (font_at, font_range):
+       * fontset.c (Finternal_char_font):
+       * fringe.c (draw_fringe_bitmap_1):
+       * xdisp.c (handle_face_prop, face_before_or_after_it_pos)
+       (get_next_display_element, highlight_trailing_whitespace)
+       (display_string, calc_line_height_property)
+       (note_mode_line_or_margin_highlight, note_mouse_highlight):
+       * xfaces.c (tty_suppress_bold_inverse_default_colors_p)
+       (menu_face_changed_default, recompute_basic_faces)
+       (Fbitmap_spec_p, parse_rgb_list, tty_lookup_color)
+       (tty_defined_color, defined_color, face_color_gray_p)
+       (face_color_supported_p, load_color2, load_face_colors)
+       (Fx_list_fonts, LFACEP, push_named_merge_point)
+       (resolve_face_name, lface_from_face_name_no_resolve)
+       (lface_from_face_name, get_lface_attributes_no_remap)
+       (get_lface_attributes, lface_fully_specified_p)
+       (set_lface_from_font, merge_face_vectors, merge_named_face)
+       (merge_face_ref, Finternal_make_lisp_face)
+       (Finternal_lisp_face_p, Finternal_copy_lisp_face)
+       (Finternal_set_lisp_face_attribute)
+       (update_face_from_frame_parameter, set_font_frame_param)
+       (face_boolean_x_resource_value)
+       (Finternal_set_lisp_face_attribute_from_resource)
+       (x_update_menu_appearance, Finternal_get_lisp_face_attribute)
+       (Finternal_merge_in_global_face, Fface_font, face_attr_equal_p)
+       (lface_equal_p, Finternal_lisp_face_equal_p)
+       (Finternal_lisp_face_empty_p, lface_same_font_attributes_p)
+       (Fcolor_distance, lookup_named_face, lookup_basic_face)
+       (lookup_derived_face, Fface_attributes_as_vector)
+       (x_supports_face_attributes_p, tty_supports_face_attributes_p)
+       (Fdisplay_supports_face_attributes_p, realize_basic_faces)
+       (realize_default_face, realize_named_face)
+       (realize_non_ascii_face, realize_x_face, map_tty_color)
+       (realize_tty_face, compute_char_face, face_at_buffer_position)
+       (face_for_overlay_string, face_at_string_position):
+       Use bool for boolean.
+       * xfaces.c (set_lface_from_font):
+       Return void, since callers never use the result.
+
+2015-01-26  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * image.c (lookup_pixel_color): Reorder conditions that are
+       written backwards.
+       (x_to_xcolors): Likewise.
+       (x_detect_edges): Likewise.
+       (png_load_body): Likewise.
+       (gif_close): Likewise.
+       (gif_load): Likewise.
+
+2015-01-25  Eli Zaretskii  <eliz@gnu.org>
+
+       Use bool for boolean in w32term.c
+       * w32term.c (x_update_window_begin, x_update_window_end)
+       (x_update_end, x_after_update_window_line)
+       (x_set_glyph_string_gc, x_draw_glyph_string_background)
+       (x_draw_glyph_string_foreground)
+       (x_draw_composite_glyph_string_foreground)
+       (x_draw_glyphless_glyph_string_foreground)
+       (x_draw_image_glyph_string, x_draw_glyph_string)
+       (x_draw_stretch_glyph_string, note_mouse_movement)
+       (w32_mouse_position, x_scroll_bar_report_motion)
+       (x_horizontal_scroll_bar_report_motion, w32_read_socket)
+       (w32_set_vertical_scroll_bar, w32_set_horizontal_scroll_bar)
+       (w32_draw_window_cursor, x_new_font, x_set_offset)
+       (x_set_window_size, x_make_frame_invisible, x_iconify_frame): Use
+       bool where appropriate.
+
+       Use bool for boolean in w32fns.c
+       * w32fns.c (w32_defined_color, x_decode_color)
+       (Fxw_color_defined_p, Fxw_color_values, x_set_icon_type)
+       (x_set_menu_bar_lines, x_change_tool_bar_height)
+       (x_set_internal_border_width, x_explicitly_set_name)
+       (x_implicitly_set_name, Fx_create_frame, w32_window)
+       (x_create_tip_frame, Fx_show_tip): Use bool where appropriate.
+
+2015-01-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use bool for boolean in xfns.c
+       * xfaces.c (x_update_menu_appearance):
+       * xfns.c (x_real_positions, x_defined_color, x_decode_color)
+       (xg_set_icon, xg_set_icon_from_xpm_data, x_set_cursor_color)
+       (x_set_icon_type, x_set_icon_name, x_set_menu_bar_lines)
+       (x_change_tool_bar_height, x_set_internal_border_width)
+       (x_encode_text, x_set_name_internal, x_explicitly_set_name)
+       (x_implicitly_set_name, x_default_scroll_bar_color_parameter)
+       (hack_wm_protocols, xic_create_fontsetname, xic_free_xfontset)
+       (x_window, x_icon, Fx_wm_set_size_hint, Fx_create_frame)
+       (Fxw_color_defined_p, Fxw_color_values, x_create_tip_frame)
+       (Fx_show_tip, clean_up_file_dialog, Fx_file_dialog)
+       (clean_up_dialog, syms_of_xfns):
+       * xterm.h (xg_set_icon, xg_set_icon_from_xpm_data)
+       (xic_create_fontsetname):
+       Use bool for boolean.
+       * xfns.c: Include bitmaps/gray.xbm unconditionally.
+
+       Count MANY function args more reliably
+       * alloc.c (Fgc_status, purecopy, unbind_to, garbage_collect_1):
+       * buffer.c (Fbuffer_list, Fkill_buffer):
+       * callint.c (read_file_name, Fcall_interactively):
+       * charset.c (Fset_charset_priority, syms_of_charset):
+       * chartab.c (uniprop_encode_value_numeric):
+       * coding.c (syms_of_coding):
+       * composite.c (syms_of_composite):
+       * data.c (wrong_range):
+       * dbusbind.c (syms_of_dbusbind):
+       * dired.c (file_attributes):
+       * editfns.c (Fdecode_time, update_buffer_properties, format2):
+       * eval.c (run_hook_with_args_2, apply1, call1, call2, call3)
+       (call4, call5, call6, call7):
+       * fileio.c (Finsert_file_contents, choose_write_coding_system)
+       (Fcar_less_than_car, build_annotations, auto_save_error):
+       * filelock.c (get_boot_time):
+       * fns.c (internal_equal, nconc2, Fyes_or_no_p, Fwidget_apply):
+       (maybe_resize_hash_table, secure_hash):
+       * font.c (font_style_to_value, font_open_by_name, Flist_fonts):
+       * fontset.c (fontset_add, Fset_fontset_font):
+       * ftfont.c (ftfont_lookup_cache):
+       * gtkutil.c (xg_get_font):
+       * insdel.c (signal_before_change, signal_after_change):
+       * keymap.c (append_key):
+       * lread.c (load_warn_old_style_backquotes, Fload, init_lread):
+       * minibuf.c (Fread_buffer):
+       * print.c (print_preprocess):
+       * process.c (Fformat_network_address, Fmake_network_process)
+       (server_accept_connection):
+       * sound.c (Fplay_sound_internal):
+       * term.c (Fsuspend_tty, Fresume_tty):
+       * window.c (window_list):
+       * xdisp.c (run_redisplay_end_trigger_hook, add_to_log)
+       (message_with_string):
+       * xfaces.c (Fx_list_fonts):
+       * xfont.c (syms_of_xfont):
+       * xselect.c (x_handle_selection_request)
+       (x_handle_selection_clear, x_clear_frame_selections)
+       (x_clipboard_manager_error_1):
+       Prefer CALLMANY and CALLN to counting args by hand.
+       * doc.c (reread_doc_file): Remove unused code.
+       * fns.c (concat2, concat3): Redo to avoid need for local-var vector.
+       (cmpfn_user_defined, hashfn_user_defined, Fmaphash):
+       Prefer call1 and call2 to Ffuncall.
+       * keyboard.c (safe_run_hook_funcall, safe_run_hooks):
+       Use struct literal rather than a local var, for simplicity.
+       * keymap.c (where_is_internal): Use NULL rather than a pointer
+       to unused args.
+       * lisp.h (CALLMANY, CALLN): New macros.
+       * sound.c (Fplay_sound_internal): Coalesce duplicate code.
+       Fixes: bug#19634
+
+       Use gnustep-config if available
+       * emacs.c [NS_IMPL_GNUSTEP]: Don't include <GNUstepBase/GSConfig.h>.
+       It doesn't appear to be needed, and the inclusion breaks on
+       Ubuntu 14.10 when 'configure' uses 'gnustep-config'.
+
+2015-01-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (init_iterator): Restore a comment lost in transition.
+
+2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use bool for boolean in xfont.c, xftfont.c, xgselect.c
+       * xfont.c (xfont_driver, xfont_chars_supported)
+       (xfont_text_extents):
+       * xftfont.c (xftfont_get_colors, xftfont_open)
+       (xftfont_prepare_face, xftfont_done_face)
+       (xftfont_cached_font_ok):
+       * xgselect.c (xg_select):
+       Use bool for boolean.
+
+       Don't downcase system diagnostics' first letters
+       * fileio.c (report_file_errno): Don't downcase, and simplify.
+       Fixes: bug#19642
+
+       Isolate NIL_IS_ZERO-assuming code better
+       Suggested by Stefan Monnier in:
+       http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00588.html
+       * alloc.c (allocate_pseudovector):
+       Use memclear, not memsetnil, to remove a 'verify'.
+       * callint.c (Fcall_interactively):
+       * dispnew.c (realloc_glyph_pool):
+       * xdisp.c (init_iterator):
+       Use memclear, not memset, to remove a 'verify'.
+       * lisp.h (memclear): Rename from memsetnil, and take a byte
+       count rather than a word count.  All callers changed.
+
+2015-01-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Undo port to hypothetical nonzero Qnil case
+       This mostly undoes the previous change in this area.  See:
+       http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00570.html
+       * alloc.c (allocate_pseudovector):
+       * callint.c (Fcall_interactively):
+       * dispnew.c (realloc_glyph_pool):
+       * fringe.c (init_fringe):
+       * lisp.h (memsetnil):
+       * xdisp.c (init_iterator):
+       Simplify by assuming that Qnil is zero, but verify the assumption.
+       * lisp.h (NIL_IS_ZERO): Revert back to this symbol, removing
+       NIL_IS_NONZERO.  All uses changed.
+
+2015-01-20  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt (Bug#19531).
+
 2015-01-20  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Prefer xlispstrdup to avoid dumb calls to strlen.