diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 24161dbda1e..c7d14843bcd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-04-05 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-05 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Fix more problems found by GCC 4.6.0's static checks. | ||
| 4 | |||
| 3 | * coding.c (EMIT_ONE_BYTE, EMIT_TWO_BYTES): Use unsigned, not int. | 5 | * coding.c (EMIT_ONE_BYTE, EMIT_TWO_BYTES): Use unsigned, not int. |
| 4 | This avoids several warnings with gcc -Wstrict-overflow. | 6 | This avoids several warnings with gcc -Wstrict-overflow. |
| 5 | (DECODE_COMPOSITION_RULE): If the rule is invalid, goto invalid_code | 7 | (DECODE_COMPOSITION_RULE): If the rule is invalid, goto invalid_code |
| @@ -14,8 +16,6 @@ | |||
| 14 | 16 | ||
| 15 | * composite.c (composition_gstring_put_cache): Use unsigned integer. | 17 | * composite.c (composition_gstring_put_cache): Use unsigned integer. |
| 16 | 18 | ||
| 17 | 2011-04-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 18 | |||
| 19 | * composite.h, composite.c (composition_gstring_put_cache): | 19 | * composite.h, composite.c (composition_gstring_put_cache): |
| 20 | Use EMACS_INT, not int, for length. | 20 | Use EMACS_INT, not int, for length. |
| 21 | 21 | ||
| @@ -53,8 +53,6 @@ | |||
| 53 | * font.c (font_list_entities): Redo for clarity, | 53 | * font.c (font_list_entities): Redo for clarity, |
| 54 | so that reader need not know FONT_DPI_INDEX + 1 == FONT_SPACING_INDEX. | 54 | so that reader need not know FONT_DPI_INDEX + 1 == FONT_SPACING_INDEX. |
| 55 | 55 | ||
| 56 | 2011-04-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 57 | |||
| 58 | * font.c (font_find_for_lface, Ffont_get_glyphs): Remove unused vars. | 56 | * font.c (font_find_for_lface, Ffont_get_glyphs): Remove unused vars. |
| 59 | (font_score): Avoid potential overflow in diff calculation. | 57 | (font_score): Avoid potential overflow in diff calculation. |
| 60 | 58 | ||
| @@ -79,8 +77,6 @@ | |||
| 79 | 77 | ||
| 80 | * fileio.c (Finsert_file_contents): Make EOF condition clearer. | 78 | * fileio.c (Finsert_file_contents): Make EOF condition clearer. |
| 81 | 79 | ||
| 82 | 2011-04-02 Paul Eggert <eggert@cs.ucla.edu> | ||
| 83 | |||
| 84 | * fileio.c (Finsert_file_contents): Avoid signed integer overflow. | 80 | * fileio.c (Finsert_file_contents): Avoid signed integer overflow. |
| 85 | (Finsert_file_contents): Remove unnecessary code checking fd. | 81 | (Finsert_file_contents): Remove unnecessary code checking fd. |
| 86 | 82 | ||
| @@ -109,8 +105,6 @@ | |||
| 109 | * xselect.c (x_get_local_selection, x_handle_property_notify): | 105 | * xselect.c (x_get_local_selection, x_handle_property_notify): |
| 110 | Remove vars that are set but not used. | 106 | Remove vars that are set but not used. |
| 111 | 107 | ||
| 112 | 2011-04-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 113 | |||
| 114 | * xfns.c (x_create_tip_frame): Remove var that is set but not used. | 108 | * xfns.c (x_create_tip_frame): Remove var that is set but not used. |
| 115 | (make_invisible_cursor): Initialize a possibly-uninitialized variable. | 109 | (make_invisible_cursor): Initialize a possibly-uninitialized variable. |
| 116 | 110 | ||
| @@ -149,6 +143,43 @@ | |||
| 149 | * deps.mk (sysdep.o): Depend on ../lib/allocator.h and on | 143 | * deps.mk (sysdep.o): Depend on ../lib/allocator.h and on |
| 150 | ../lib/careadlinkat.h. | 144 | ../lib/careadlinkat.h. |
| 151 | 145 | ||
| 146 | 2011-04-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 147 | |||
| 148 | * keyboard.c (safe_run_hook_funcall): Fix last change (don't stop at the | ||
| 149 | first non-nil return value). | ||
| 150 | |||
| 151 | 2011-04-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 152 | |||
| 153 | * nsterm.m (ns_update_auto_hide_menu_bar): Define MAC_OS_X_VERSION_10_6 | ||
| 154 | if not defined (Bug#8403). | ||
| 155 | |||
| 156 | 2011-04-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 157 | |||
| 158 | * xdisp.c (display_count_lines): Remove parameter `start', | ||
| 159 | unused since 1998-01-01T02:27:27Z!rms@gnu.org. All callers changed. | ||
| 160 | (get_char_face_and_encoding): Remove parameter `multibyte_p', | ||
| 161 | unused since 2008-05-14T01:40:23Z!handa@m17n.org. All callers changed. | ||
| 162 | (fill_stretch_glyph_string): Remove parameters `row' and `area', | ||
| 163 | unused at least since Kim's GUI unification at 2003-03-16T20:45:46Z!storm@cua.dk | ||
| 164 | and thereabouts. All callers changed. | ||
| 165 | (get_per_char_metric): Remove parameter `f', unused since | ||
| 166 | 2008-05-14T01:40:23Z!handa@m17n.org. All callers changed. | ||
| 167 | |||
| 168 | 2011-04-02 Jim Meyering <meyering@redhat.com> | ||
| 169 | |||
| 170 | do not dereference NULL upon failed strdup | ||
| 171 | * nsfont.m (ns_descriptor_to_entity): Use xstrdup, not strdup. | ||
| 172 | (ns_get_family): Likewise. | ||
| 173 | |||
| 174 | 2011-04-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 175 | |||
| 176 | * eval.c (unwind_to_catch) [DEBUG_GCPRO]: Remove redundant assignment. | ||
| 177 | |||
| 178 | 2011-04-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 179 | |||
| 180 | * nsterm.m (ns_update_auto_hide_menu_bar): Only for OSX 10.6 or | ||
| 181 | later (Bug#8403). | ||
| 182 | |||
| 152 | 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca> | 183 | 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 153 | 184 | ||
| 154 | Add lexical binding. | 185 | Add lexical binding. |