diff options
| author | Paul Eggert | 2011-06-13 01:00:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-13 01:00:15 -0700 |
| commit | 01103c441a5c97c734c087fa074a941082fd0adb (patch) | |
| tree | 697132e71abee8762913d4c58015945439cd2c3c /src/ChangeLog | |
| parent | 5efd304be978e2c0b3b1ac0c39b303b8d094ab66 (diff) | |
| parent | 873e858a931f3af4b318473e052fb7acd35f7b53 (diff) | |
| download | emacs-01103c441a5c97c734c087fa074a941082fd0adb.tar.gz emacs-01103c441a5c97c734c087fa074a941082fd0adb.zip | |
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 139 |
1 files changed, 128 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 125028297d1..6bac6f00a3f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -29,8 +29,8 @@ | |||
| 29 | GLYPH_CODE_FACE returns EMACS_INT, not int. | 29 | GLYPH_CODE_FACE returns EMACS_INT, not int. |
| 30 | * dispextern.h (merge_faces): | 30 | * dispextern.h (merge_faces): |
| 31 | * xfaces.c (merge_faces): | 31 | * xfaces.c (merge_faces): |
| 32 | * xdisp.c (get_next_display_element): | 32 | * xdisp.c (get_next_display_element, next_element_from_display_vector): |
| 33 | (next_element_from_display_vector): Don't assume EMACS_INT fits in int. | 33 | Don't assume EMACS_INT fits in int. |
| 34 | 34 | ||
| 35 | * character.h (CHAR_VALID_P): Remove unused parameter. | 35 | * character.h (CHAR_VALID_P): Remove unused parameter. |
| 36 | * fontset.c, lisp.h, xdisp.c: All uses changed. | 36 | * fontset.c, lisp.h, xdisp.c: All uses changed. |
| @@ -85,7 +85,7 @@ | |||
| 85 | arguments are no wider than unsigned, as a compile-time check | 85 | arguments are no wider than unsigned, as a compile-time check |
| 86 | to prevent future regressions in this area. | 86 | to prevent future regressions in this area. |
| 87 | * data.c (Faset): | 87 | * data.c (Faset): |
| 88 | * editfns.c (Fchar_to_string, general_insert_function, Finsert_char): | 88 | * editfns.c (Fchar_to_string, general_insert_function, Finsert_char) |
| 89 | (Fsubst_char_in_region): | 89 | (Fsubst_char_in_region): |
| 90 | * fns.c (concat): | 90 | * fns.c (concat): |
| 91 | * xdisp.c (decode_mode_spec_coding): | 91 | * xdisp.c (decode_mode_spec_coding): |
| @@ -95,8 +95,6 @@ | |||
| 95 | characters. Without this test, these functions did the wrong | 95 | characters. Without this test, these functions did the wrong |
| 96 | thing with wildly out-of-range values on 64-bit hosts. | 96 | thing with wildly out-of-range values on 64-bit hosts. |
| 97 | 97 | ||
| 98 | 2011-06-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 99 | |||
| 100 | Remove incorrect casts to 'unsigned' that lose info on 64-bit hosts. | 98 | Remove incorrect casts to 'unsigned' that lose info on 64-bit hosts. |
| 101 | These casts should not be needed on 32-bit hosts, either. | 99 | These casts should not be needed on 32-bit hosts, either. |
| 102 | * keyboard.c (read_char): | 100 | * keyboard.c (read_char): |
| @@ -106,14 +104,12 @@ | |||
| 106 | This fixes comparison bugs on 64-bit hosts. | 104 | This fixes comparison bugs on 64-bit hosts. |
| 107 | (ASCII_CHAR_P): Use it. | 105 | (ASCII_CHAR_P): Use it. |
| 108 | * casefiddle.c (casify_object): | 106 | * casefiddle.c (casify_object): |
| 109 | * character.h (ASCII_BYTE_P, CHAR_VALID_P): | 107 | * character.h (ASCII_BYTE_P, CHAR_VALID_P) |
| 110 | (SINGLE_BYTE_CHAR_P, CHAR_STRING): | 108 | (SINGLE_BYTE_CHAR_P, CHAR_STRING): |
| 111 | * composite.h (COMPOSITION_ENCODE_RULE_VALID): | 109 | * composite.h (COMPOSITION_ENCODE_RULE_VALID): |
| 112 | * dispextern.h (FACE_FROM_ID): | 110 | * dispextern.h (FACE_FROM_ID): |
| 113 | * keyboard.c (read_char): Use UNSIGNED_CMP. | 111 | * keyboard.c (read_char): Use UNSIGNED_CMP. |
| 114 | 112 | ||
| 115 | 2011-06-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 116 | |||
| 117 | * xmenu.c (dialog_selection_callback) [!USE_GTK]: Cast to intptr_t, | 113 | * xmenu.c (dialog_selection_callback) [!USE_GTK]: Cast to intptr_t, |
| 118 | not to EMACS_INT, to avoid GCC warning. | 114 | not to EMACS_INT, to avoid GCC warning. |
| 119 | 115 | ||
| @@ -123,7 +119,8 @@ | |||
| 123 | The cast incorrectly truncated 64-bit byte offsets to 32 bits, and | 119 | The cast incorrectly truncated 64-bit byte offsets to 32 bits, and |
| 124 | isn't needed on 32-bit machines. | 120 | isn't needed on 32-bit machines. |
| 125 | 121 | ||
| 126 | * buffer.c (Fgenerate_new_buffer_name): Use EMACS_INT for count, not int. | 122 | * buffer.c (Fgenerate_new_buffer_name): |
| 123 | Use EMACS_INT for count, not int. | ||
| 127 | (advance_to_char_boundary): Return EMACS_INT, not int. | 124 | (advance_to_char_boundary): Return EMACS_INT, not int. |
| 128 | 125 | ||
| 129 | * data.c (Qcompiled_function): Now static. | 126 | * data.c (Qcompiled_function): Now static. |
| @@ -143,8 +140,8 @@ | |||
| 143 | * alloc.c: Use EMACS_INT, not int, to count objects. | 140 | * alloc.c: Use EMACS_INT, not int, to count objects. |
| 144 | (total_conses, total_markers, total_symbols, total_vector_size) | 141 | (total_conses, total_markers, total_symbols, total_vector_size) |
| 145 | (total_free_conses, total_free_markers, total_free_symbols) | 142 | (total_free_conses, total_free_markers, total_free_symbols) |
| 146 | (total_free_floats, total_floats, total_free_intervals, total_intervals) | 143 | (total_free_floats, total_floats, total_free_intervals) |
| 147 | (total_strings, total_free_strings): | 144 | (total_intervals, total_strings, total_free_strings): |
| 148 | Now EMACS_INT, not int. All uses changed. | 145 | Now EMACS_INT, not int. All uses changed. |
| 149 | (Fgarbage_collect): Compute overall total using a double, so that | 146 | (Fgarbage_collect): Compute overall total using a double, so that |
| 150 | integer overflow is less likely to be a problem. Check for overflow | 147 | integer overflow is less likely to be a problem. Check for overflow |
| @@ -184,6 +181,126 @@ | |||
| 184 | 181 | ||
| 185 | * alloc.c (Fmake_string): Check for out-of-range init. | 182 | * alloc.c (Fmake_string): Check for out-of-range init. |
| 186 | 183 | ||
| 184 | 2011-06-12 Martin Rudalics <rudalics@gmx.at> | ||
| 185 | |||
| 186 | * frame.c (make_frame): Call other_buffer_safely instead of | ||
| 187 | other_buffer. | ||
| 188 | |||
| 189 | * window.c (temp_output_buffer_show): Call display_buffer with | ||
| 190 | second argument Vtemp_buffer_show_specifiers and reset latter | ||
| 191 | immediately after the call. | ||
| 192 | (Vtemp_buffer_show_specifiers): New variable. | ||
| 193 | (auto_window_vscroll_p, next_screen_context_lines) | ||
| 194 | (Vscroll_preserve_screen_position): Remove leading asterisks from | ||
| 195 | doc-strings. | ||
| 196 | |||
| 197 | 2011-06-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 198 | |||
| 199 | Fix minor problems found by GCC 4.6.0 static checking. | ||
| 200 | * buffer.c (Qclone_number): Remove for now, as it's unused. | ||
| 201 | (record_buffer, Funrecord_buffer): Rename local to avoid shadowing. | ||
| 202 | (record_buffer): Remove unused local. | ||
| 203 | * frame.c (other_visible_frames, frame_buffer_list): Now static. | ||
| 204 | (set_frame_buffer_list): Remove; unused. | ||
| 205 | * frame.h (other_visible_frames): Remove decl. | ||
| 206 | * keyboard.h (menu_items_inuse): Declare only if USE_GTK || USE_MOTIF. | ||
| 207 | * lisp.h (frame_buffer_list, set_frame_buffer_list): Remove decls. | ||
| 208 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): Declare only | ||
| 209 | if HAVE_GPM. | ||
| 210 | * menu.c (menu_items_inuse): Now static unless USE_GTK || USE_MOTIF. | ||
| 211 | * process.c (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): | ||
| 212 | Define only if HAVE_GPM. | ||
| 213 | * widget.c (EmacsFrameResize, emacsFrameClassRec): Now static. | ||
| 214 | (update_hints_inhibit): Remove; never set. All uses removed. | ||
| 215 | * widgetprv.h (emacsFrameClassRec): Remove decl. | ||
| 216 | * window.c (delete_deletable_window): Now returns void, since it | ||
| 217 | wasn't returning anything. | ||
| 218 | (compare_window_configurations): Remove unused locals. | ||
| 219 | * xfns.c (x_set_scroll_bar_default_width): Remove unused locals. | ||
| 220 | * xmenu.c (x_menu_set_in_use): Define only if USE_GTK || USE_MOTIF. | ||
| 221 | (dialog_selection_callback) [!USE_GTK]: Prefer intptr_t for integers | ||
| 222 | the same widths as pointers. This follows up on the 2011-05-06 patch. | ||
| 223 | * xterm.c (x_alloc_lighter_color_for_widget): Define only if USE_LUCID. | ||
| 224 | * xterm.h: Likewise. | ||
| 225 | (x_menu_set_in_use): Declare only if USE_GTK || USE_MOTIF. | ||
| 226 | |||
| 227 | 2011-06-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 228 | |||
| 229 | * makefile.w32-in: Update dependencies. | ||
| 230 | (LISP_H): Add lib/intprops.h. | ||
| 231 | |||
| 232 | 2011-06-11 Chong Yidong <cyd@stupidchicken.com> | ||
| 233 | |||
| 234 | * image.c (gif_load): Add animation frame delay to the metadata. | ||
| 235 | (syms_of_image): Use DEFSYM. New symbol `delay'. | ||
| 236 | |||
| 237 | 2011-06-11 Martin Rudalics <rudalics@gmx.at> | ||
| 238 | |||
| 239 | * window.c (delete_deletable_window): Re-add. | ||
| 240 | (Fset_window_configuration): Rewrite to handle dead buffers and | ||
| 241 | consequently deletable windows. | ||
| 242 | (window_tree, Fwindow_tree): Remove. Supply functionality in | ||
| 243 | window.el. | ||
| 244 | (compare_window_configurations): Simplify code. | ||
| 245 | |||
| 246 | 2011-06-11 Andreas Schwab <schwab@linux-m68k.org> | ||
| 247 | |||
| 248 | * image.c (imagemagick_load_image): Fix type mismatch. | ||
| 249 | (Fimagemagick_types): Likewise. | ||
| 250 | |||
| 251 | * window.h (replace_buffer_in_windows): Declare. | ||
| 252 | |||
| 253 | 2011-06-11 Martin Rudalics <rudalics@gmx.at> | ||
| 254 | |||
| 255 | * buffer.c: New Lisp objects Qbuffer_list_update_hook and | ||
| 256 | Qclone_number. Remove external declaration of Qdelete_window. | ||
| 257 | (Fbuffer_list): Rewrite doc-string. Minor restructuring of | ||
| 258 | code. | ||
| 259 | (Fget_buffer_create, Fmake_indirect_buffer, Frename_buffer): Run | ||
| 260 | Qbuffer_list_update_hook if allowed. | ||
| 261 | (Fother_buffer): Rewrite doc-string. Major rewrite for new | ||
| 262 | buffer list implementation. | ||
| 263 | (other_buffer_safely): New function. | ||
| 264 | (Fkill_buffer): Replace call to replace_buffer_in_all_windows by | ||
| 265 | calls to replace_buffer_in_windows and | ||
| 266 | replace_buffer_in_windows_safely. Run Qbuffer_list_update_hook | ||
| 267 | if allowed. | ||
| 268 | (record_buffer): Inhibit quitting and rewrite using quittable | ||
| 269 | functions. Run Qbuffer_list_update_hook if allowed. | ||
| 270 | (Frecord_buffer, Funrecord_buffer): New functions. | ||
| 271 | (switch_to_buffer_1, Fswitch_to_buffer): Remove. Move | ||
| 272 | switch-to-buffer to window.el. | ||
| 273 | (bury-buffer): Move to window.el. | ||
| 274 | (Vbuffer_list_update_hook): New variable. | ||
| 275 | |||
| 276 | * lisp.h (other_buffer_safely): Add prototype in buffer.c | ||
| 277 | section. | ||
| 278 | |||
| 279 | * window.h (resize_frame_windows): Move up in code. | ||
| 280 | (Fwindow_frame): Remove EXFUN. | ||
| 281 | (replace_buffer_in_all_windows): Remove prototype. | ||
| 282 | (replace_buffer_in_windows_safely): Add prototype. | ||
| 283 | |||
| 284 | * window.c: Declare Qdelete_window static again. Move down | ||
| 285 | declaration of select_count. | ||
| 286 | (Fnext_window, Fprevious_window): Rewrite doc-strings. | ||
| 287 | (Fother_window): Move to window.el. | ||
| 288 | (window_loop): Remove DELETE_BUFFER_WINDOWS and UNSHOW_BUFFER | ||
| 289 | cases. Add REPLACE_BUFFER_IN_WINDOWS_SAFELY case. | ||
| 290 | (Fdelete_windows_on, Freplace_buffer_in_windows): Move to | ||
| 291 | window.el. | ||
| 292 | (replace_buffer_in_windows): Implement by calling | ||
| 293 | Qreplace_buffer_in_windows. | ||
| 294 | (replace_buffer_in_all_windows): Remove with some functionality | ||
| 295 | moved into replace_buffer_in_windows_safely. | ||
| 296 | (replace_buffer_in_windows_safely): New function. | ||
| 297 | (select_window_norecord, select_frame_norecord): Move in front | ||
| 298 | of run_window_configuration_change_hook. Remove now obsolete | ||
| 299 | declarations. | ||
| 300 | (Fset_window_buffer): Rewrite doc-string. Call | ||
| 301 | Qrecord_window_buffer. | ||
| 302 | (keys_of_window): Move binding for other-window to window.el. | ||
| 303 | |||
| 187 | 2011-06-11 Chong Yidong <cyd@stupidchicken.com> | 304 | 2011-06-11 Chong Yidong <cyd@stupidchicken.com> |
| 188 | 305 | ||
| 189 | * dispextern.h (struct image): Replace data member, whose int_val | 306 | * dispextern.h (struct image): Replace data member, whose int_val |