diff options
| author | Paul Eggert | 2011-06-20 17:59:02 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-20 17:59:02 -0700 |
| commit | 51cab52b054aaf178743aa7775ae29e934eeba9c (patch) | |
| tree | 0160ac7e20237f3a337fc35c9ba368762ef9203c /src/ChangeLog | |
| parent | 171e2a582e4c7d6bfd6d6ff0373720b59568bcb2 (diff) | |
| parent | ca5307394f6861fc825434c268e0a44adf8a3252 (diff) | |
| download | emacs-51cab52b054aaf178743aa7775ae29e934eeba9c.tar.gz emacs-51cab52b054aaf178743aa7775ae29e934eeba9c.zip | |
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 21daa1c8e3b..210f4f6bd60 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-06-20 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * termcap.c: Don't assume sizes fit in int and never overflow. | 3 | * termcap.c: Don't assume sizes fit in int and never overflow. |
| 4 | (struct termcap_buffer, tgetent): Use ptrdiff_t, not int, for sizes. | 4 | (struct termcap_buffer, tgetent): Use ptrdiff_t, not int, for sizes. |
| @@ -20,7 +20,7 @@ | |||
| 20 | * font.h (font_intern_prop): 2nd arg is now ptrdiff_t, not int. | 20 | * font.h (font_intern_prop): 2nd arg is now ptrdiff_t, not int. |
| 21 | 21 | ||
| 22 | * filelock.c: Fix some buffer overrun and integer overflow issues. | 22 | * filelock.c: Fix some buffer overrun and integer overflow issues. |
| 23 | (get_boot_time): Don't assume that gzip command string fits in 100 bytes. | 23 | (get_boot_time): Don't assume gzip command string fits in 100 bytes. |
| 24 | Reformulate so as not to need the command string. | 24 | Reformulate so as not to need the command string. |
| 25 | Invoke gzip -cd rather than gunzip, as it's more portable. | 25 | Invoke gzip -cd rather than gunzip, as it's more portable. |
| 26 | (lock_info_type, lock_file_1, lock_file): | 26 | (lock_info_type, lock_file_1, lock_file): |
| @@ -32,8 +32,6 @@ | |||
| 32 | Check for time_t and/or pid_t out of range, e.g., via a network share. | 32 | Check for time_t and/or pid_t out of range, e.g., via a network share. |
| 33 | Don't alloca where an auto var works fine. | 33 | Don't alloca where an auto var works fine. |
| 34 | 34 | ||
| 35 | 2011-06-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 36 | |||
| 37 | * fileio.c: Fix some integer overflow issues. | 35 | * fileio.c: Fix some integer overflow issues. |
| 38 | (file_name_as_directory, Fexpand_file_name, Fsubstitute_in_file_name): | 36 | (file_name_as_directory, Fexpand_file_name, Fsubstitute_in_file_name): |
| 39 | Don't assume string length fits in int. | 37 | Don't assume string length fits in int. |
| @@ -65,7 +63,7 @@ | |||
| 65 | All uses changed. This doesn't fix a bug, but it simplifies the | 63 | All uses changed. This doesn't fix a bug, but it simplifies the |
| 66 | code away from its former Hollerith-constant appearance, and it's | 64 | code away from its former Hollerith-constant appearance, and it's |
| 67 | one less 'int' to worry about when looking at integer-overflow issues. | 65 | one less 'int' to worry about when looking at integer-overflow issues. |
| 68 | (string_to_number): Simplify the 2011-04-26 change by invoking xsignal1. | 66 | (string_to_number): Simplify 2011-04-26 change by invoking xsignal1. |
| 69 | 67 | ||
| 70 | * lisp.h (DEFUN): Remove bogus use of sizeof (struct Lisp_Subr). | 68 | * lisp.h (DEFUN): Remove bogus use of sizeof (struct Lisp_Subr). |
| 71 | This didn't break anything, but it didn't help either. | 69 | This didn't break anything, but it didn't help either. |
| @@ -74,8 +72,6 @@ | |||
| 74 | (LIST_END_P): Remove unused macro and its bogus comment. | 72 | (LIST_END_P): Remove unused macro and its bogus comment. |
| 75 | (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT. | 73 | (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT. |
| 76 | 74 | ||
| 77 | 2011-06-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 78 | |||
| 79 | * lisp.h (union Lisp_Object.i): EMACS_INT, not EMACS_UINT. | 75 | * lisp.h (union Lisp_Object.i): EMACS_INT, not EMACS_UINT. |
| 80 | This is for consistency with the ordinary, non-USE_LISP_UNION_TYPE, | 76 | This is for consistency with the ordinary, non-USE_LISP_UNION_TYPE, |
| 81 | implementation. | 77 | implementation. |
| @@ -91,7 +87,7 @@ | |||
| 91 | (compute_motion): Use it. This is just for clarity. | 87 | (compute_motion): Use it. This is just for clarity. |
| 92 | (Fcompute_motion): Don't assume hscroll and tab offset fit in int. | 88 | (Fcompute_motion): Don't assume hscroll and tab offset fit in int. |
| 93 | 89 | ||
| 94 | * image.c (xbm_image_p): Don't assume stated width and height fit in int. | 90 | * image.c (xbm_image_p): Don't assume stated width, height fit in int. |
| 95 | 91 | ||
| 96 | * lisp.h (lint_assume): New macro. | 92 | * lisp.h (lint_assume): New macro. |
| 97 | * composite.c (composition_gstring_put_cache): | 93 | * composite.c (composition_gstring_put_cache): |
| @@ -115,11 +111,8 @@ | |||
| 115 | * fns.c (concat): Catch string overflow earlier. | 111 | * fns.c (concat): Catch string overflow earlier. |
| 116 | Do not rely on integer wraparound. | 112 | Do not rely on integer wraparound. |
| 117 | 113 | ||
| 118 | * dispextern.h (struct it.overlay_strings_charpos): EMACS_INT, not int. | 114 | * dispextern.h (struct it.overlay_strings_charpos) |
| 119 | 115 | (struct it.selective): Now EMACS_INT, not int. | |
| 120 | 2011-06-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 121 | |||
| 122 | * dispextern.h (struct it.selective): Now EMACS_INT, not int. | ||
| 123 | * xdisp.c (forward_to_next_line_start) | 116 | * xdisp.c (forward_to_next_line_start) |
| 124 | (back_to_previous_visible_line_start) | 117 | (back_to_previous_visible_line_start) |
| 125 | (reseat_at_next_visible_line_start, next_element_from_buffer): | 118 | (reseat_at_next_visible_line_start, next_element_from_buffer): |
| @@ -145,6 +138,29 @@ | |||
| 145 | (record_overlay_string): Check for size-calculation overflow. | 138 | (record_overlay_string): Check for size-calculation overflow. |
| 146 | (init_buffer_once): Check at compile-time, not run-time. | 139 | (init_buffer_once): Check at compile-time, not run-time. |
| 147 | 140 | ||
| 141 | 2011-06-20 Deniz Dogan <deniz@dogan.se> | ||
| 142 | |||
| 143 | * process.c (Fset_process_buffer): Clarify return value in | ||
| 144 | docstring. | ||
| 145 | |||
| 146 | 2011-06-18 Chong Yidong <cyd@stupidchicken.com> | ||
| 147 | |||
| 148 | * dispnew.c (add_window_display_history): Use BVAR. | ||
| 149 | |||
| 150 | * xdisp.c (debug_method_add): Use BVAR. | ||
| 151 | (check_window_end, dump_glyph_matrix, dump_glyph) | ||
| 152 | (dump_glyph_row, dump_glyph_string): Convert arglist to ANSI C. | ||
| 153 | |||
| 154 | * xfaces.c (check_lface_attrs, check_lface, dump_realized_face): | ||
| 155 | Likewise. | ||
| 156 | |||
| 157 | * xfns.c (Fx_create_frame, x_create_tip_frame): Delay image cache | ||
| 158 | check till after the cache is created in init_frame_faces. | ||
| 159 | |||
| 160 | 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 161 | |||
| 162 | * fns.c (Fsafe_length): Yet another int/Lisp_Object mixup. | ||
| 163 | |||
| 148 | 2011-06-16 Paul Eggert <eggert@cs.ucla.edu> | 164 | 2011-06-16 Paul Eggert <eggert@cs.ucla.edu> |
| 149 | 165 | ||
| 150 | * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX. | 166 | * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX. |