]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Rename EARRAYSIZE to ARRAYELTS
[gnu-emacs] / src / ChangeLog
index 92be5b002463176baa5541c9d7f7392e3217f0e1..b160668dc23f61b171014145cc6634b99af2ed99 100644 (file)
@@ -1,3 +1,127 @@
+2014-04-03  Daniel Colascione  <dancol@dancol.org>
+
+       In all places below, change expressions of the form sizeof(arr) /
+       sizeof(arr[0]) to ARRAYELTS(arr).
+
+       * xterm.c (x_term_init): See above.
+
+       * xfns.c (best_xim_style): See above.
+
+       * xfaces.c (Fdump_colors): See above.
+
+       * w32fns.c (w32_default_color_map): See above.
+
+       * w32.c:
+       (init_environment): See above.
+       (N_ENV_VARS): See above.
+
+       * unexcw.c (read_exe_header): See above.
+
+       * term.c (term_get_fkeys_1): See above.
+
+       * sysdep.c (init_baud_rate): See above.
+
+       * nsterm.m (ns_convert_key): See above.
+
+       * nsfns.m (get_geometry_from_preferences): See above.
+
+       * msdos.c (dos_set_window_size): See above.
+       (init_environment): See above.
+
+       * macfont.m (mac_font_get_glyph_for_cid): See above.
+       (macfont_store_descriptor_attributes): See above.
+       (macfont_create_attributes_with_spec): See above.
+       (mac_ctfont_get_glyph_for_cid): See above.
+
+       * keyboard.c (command_loop_1): See above.
+       (read_menu_command): See above.
+       (make_lispy_event): See above.
+       (NUM_MOD_NAMES): See above.
+       (read_key_sequence_vs): See above.
+       (Fcurrent_input_mode): See above.
+       (syms_of_keyboard): See above.
+
+       * image.c (xpm_str_to_color_key): See above.
+
+       * fringe.c (MAX_STANDARD_FRINGE_BITMAPS): See above.
+
+       * frame.c (x_set_frame_parameters): See above.
+
+       * fileio.c (Ffile_selinux_context): See above.
+
+       * emacs.c (sort_args): See above.
+
+       * dosfns.c ():
+       (msdos_stdcolor_name): See above.
+
+       * dired.c (file_attributes): See above.
+
+       * chartab.c:
+       (uniprop_decoder_count,uniprop_encode_count): See above.
+
+2014-04-02  Daniel Colascione  <dancol@dancol.org>
+
+       * data.c (Ffset): Abort if we're trying to set a function call to
+       a dead lisp object.
+
+       * lisp.h (ARRAYELTS): New macro.
+
+       * alloc.c: Include execinfo.h if available.
+       (SUSPICIOUS_OBJECT_CHECKING): New macro; define unconditionally.
+       (suspicious_free_record): New structure.
+       (suspicious_objects,suspicious_object_index)
+       (suspicious_free_history, suspicious_free_history_index): New
+       variables.
+       (find_suspicious_object_in_range,detect_suspicious_free)
+       (Fsuspicious_object): New functions.
+       (cleanup_vector): Call find_suspicious_object_in_range.
+
+2014-04-02  Martin Rudalics  <rudalics@gmx.at>
+
+       * xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
+       width from font width (Bug#17163).
+
+       * frame.c (x_set_frame_parameters): Calculate default values of
+       new frame sizes only after all other frame parameters have been
+       processed (Bug#17142).
+
+2014-04-02  Ken Brown  <kbrown@cornell.edu>
+
+       * conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000.
+       (Bug#17112)
+
+2014-04-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xterm.c (x_draw_image_glyph_string): Adjust image background
+       width accordingly when its x position is adjusted.  (Bug#17115)
+
+2014-04-02  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * font.c (font_list_entities): Do not add empty vector to font cache.
+       (font_matching_entity): Likewise.  If matching entity is found, insert
+       1-item vector with this entity instead of entity itself (Bug#17125).
+
+       * xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak.
+
+2014-04-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * fns.c (validate_subarray): Rename from validate_substring,
+       since it works for vectors too.  New arg ARRAY.  Optimize for the
+       non-nil case.  Instead of returning bool, throw an error if out of
+       range, so that the caller needn't do that.  All uses changed.
+       Report original values if out of range.
+       (Fsubstring, Fsubstring_no_properties, secure_hash):
+       Also optimize the case where FROM is 0 or TO is the size.
+
+2014-03-31  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * search.c (Freplace_match): Use make_specified_string.
+       * xterm.c, w32term.c (x_set_glyph_string_gc): Use emacs_abort
+       to catch bogus override face of glyph strings.
+       * fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
+       Move common substring range checking code to...
+       (validate_substring): ...this function.
+
 2014-03-31  Jan Djärv  <jan.h.d@swipnet.se>
 
        * nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976)