aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog31
1 files changed, 22 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e07b906b56d..2b6fc837b62 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-07-14 Paul Eggert <eggert@cs.ucla.edu> 12011-07-14 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Integer signedness and overflow and related fixes.
4
3 * image.c: Improve checking for integer overflow. 5 * image.c: Improve checking for integer overflow.
4 (check_image_size): Assume that f is nonnull, since 6 (check_image_size): Assume that f is nonnull, since
5 it is always nonnull in practice. This is one less thing to 7 it is always nonnull in practice. This is one less thing to
@@ -19,8 +21,6 @@
19 x_create_x_image_and_pixmap failed, not as malloc failures. 21 x_create_x_image_and_pixmap failed, not as malloc failures.
20 (gs_load): Use x_check_image_size. 22 (gs_load): Use x_check_image_size.
21 23
222011-07-13 Paul Eggert <eggert@cs.ucla.edu>
23
24 * gtkutil.c: Omit integer casts. 24 * gtkutil.c: Omit integer casts.
25 (xg_get_pixbuf_from_pixmap): Remove unnecessary cast. 25 (xg_get_pixbuf_from_pixmap): Remove unnecessary cast.
26 (xg_set_toolkit_scroll_bar_thumb): Rewrite to avoid need for cast. 26 (xg_set_toolkit_scroll_bar_thumb): Rewrite to avoid need for cast.
@@ -115,7 +115,7 @@
115 * bidi.c: Integer signedness and overflow fixes. 115 * bidi.c: Integer signedness and overflow fixes.
116 (bidi_cache_idx, bidi_cache_last_idx, bidi_cache_fetch_state) 116 (bidi_cache_idx, bidi_cache_last_idx, bidi_cache_fetch_state)
117 (bidi_cache_search, bidi_cache_find_level_change) 117 (bidi_cache_search, bidi_cache_find_level_change)
118 (bidi_cache_iterator_state, bidi_cache_find) 118p (bidi_cache_iterator_state, bidi_cache_find)
119 (bidi_find_other_level_edge, bidi_dump_cached_states): 119 (bidi_find_other_level_edge, bidi_dump_cached_states):
120 Don't arbitrarily limit cache indexes to int; use ptrdiff_t instead. 120 Don't arbitrarily limit cache indexes to int; use ptrdiff_t instead.
121 (bidi_cache_size): Use ptrdiff_t rather than size_t, as we prefer 121 (bidi_cache_size): Use ptrdiff_t rather than size_t, as we prefer
@@ -185,10 +185,23 @@
185 * gmalloc.c (memcpy, memset, memmove): Remove; we assume C89 now. 185 * gmalloc.c (memcpy, memset, memmove): Remove; we assume C89 now.
186 (__malloc_safe_bcopy): Remove; no longer needed. 186 (__malloc_safe_bcopy): Remove; no longer needed.
187 187
188 * lisp.h (struct vectorlike_header, struct Lisp_Subr): Signed sizes. 188 * lisp.h (struct vectorlike_header, struct Lisp_Subr): Signed sizes.
189 Use EMACS_INT, not EMACS_UINT, for sizes. The code works equally 189 Use EMACS_INT, not EMACS_UINT, for sizes. The code works equally
190 well either way, and we prefer signed to unsigned. 190 well either way, and we prefer signed to unsigned.
191 191
1922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
193
194 * editfns.c (Fstring_to_char): Clarify just what is returned
195 (bug#6576). Text by Eli Zaretskii.
196
1972011-07-13 Juanma Barranquero <lekktu@gmail.com>
198
199 * gnutls.c (init_gnutls_functions): Honor gnutls_log_level (bug#9059).
200
2012011-07-13 Eli Zaretskii <eliz@gnu.org>
202
203 * buffer.c (mmap_find): Fix a typo.
204
1922011-07-13 Johan Bockgård <bojohan@gnu.org> 2052011-07-13 Johan Bockgård <bojohan@gnu.org>
193 206
194 Fix execution of x selection hooks. 207 Fix execution of x selection hooks.
@@ -203,7 +216,7 @@
203 216
2042011-07-13 Paul Eggert <eggert@cs.ucla.edu> 2172011-07-13 Paul Eggert <eggert@cs.ucla.edu>
205 218
206 * buffer.c (Fget_buffer_create): Initialized inhibit_shrinking. 219 * buffer.c (Fget_buffer_create): Initialize inhibit_shrinking.
207 The old code sometimes used this field without initializing it. 220 The old code sometimes used this field without initializing it.
208 221
209 * alloc.c (gc_sweep): Don't read past end of array. 222 * alloc.c (gc_sweep): Don't read past end of array.
@@ -213,7 +226,7 @@
2132011-07-12 Andreas Schwab <schwab@linux-m68k.org> 2262011-07-12 Andreas Schwab <schwab@linux-m68k.org>
214 227
215 * character.c (Fcharacterp): Don't advertise optional ignored 228 * character.c (Fcharacterp): Don't advertise optional ignored
216 argument. (Bug#4026) 229 argument. (Bug#4026)
217 230
2182011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 2312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
219 232
@@ -427,7 +440,7 @@
427 (char_table_ascii): Uncompress the compressed values. 440 (char_table_ascii): Uncompress the compressed values.
428 (sub_char_table_ref): New arg is_uniprop. Callers changed. 441 (sub_char_table_ref): New arg is_uniprop. Callers changed.
429 Uncompress the compressed values. 442 Uncompress the compressed values.
430 (sub_char_table_ref_and_range): Likewise. 443 (sub_char_table_ref_and_range): Likewise.
431 (char_table_ref_and_range): Uncompress the compressed values. 444 (char_table_ref_and_range): Uncompress the compressed values.
432 (sub_char_table_set): New arg is_uniprop. Callers changed. 445 (sub_char_table_set): New arg is_uniprop. Callers changed.
433 Uncompress the compressed values. 446 Uncompress the compressed values.
@@ -2105,7 +2118,7 @@
2105 (xpm_put_color_table_h): 2118 (xpm_put_color_table_h):
2106 * lisp.h (struct Lisp_Hash_Table): 2119 * lisp.h (struct Lisp_Hash_Table):
2107 * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): 2120 * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
2108 * print.c (print): Use 'EMACS_UINT' and 'EMACS_INT' 2121 * print.c (print): Use 'EMACS_UINT' and 'EMACS_INT'
2109 for hashes and hash indexes, instead of 'unsigned' and 'int'. 2122 for hashes and hash indexes, instead of 'unsigned' and 'int'.
2110 * alloc.c (allocate_vectorlike): 2123 * alloc.c (allocate_vectorlike):
2111 Check for overflow in vector size calculations. 2124 Check for overflow in vector size calculations.
@@ -2402,7 +2415,7 @@
2402 2415
2403 * dispnew.c (shift_glyph_matrix, scrolling_window): Mark scrolled row 2416 * dispnew.c (shift_glyph_matrix, scrolling_window): Mark scrolled row
2404 for fringe update if it has periodic bitmap. 2417 for fringe update if it has periodic bitmap.
2405 (row_equal_p): Also compare left_fringe_offset, right_fringe_offset, 2418 (row_equal_p): Also compare left_fringe_offset, right_fringe_offset,
2406 and fringe_bitmap_periodic_p. 2419 and fringe_bitmap_periodic_p.
2407 2420
2408 * fringe.c (get_fringe_bitmap_data): New function. 2421 * fringe.c (get_fringe_bitmap_data): New function.