diff options
| author | Paul Eggert | 2011-04-14 13:16:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-14 13:16:48 -0700 |
| commit | 8bd7b8304a41da5dc0c8a11967c1a6005e9465d0 (patch) | |
| tree | 145588110166df723c31f3fceaa00c190b77aa8c /src/ChangeLog | |
| parent | cd64ea1d0df393beb93d1bdf19bd3990e3378f85 (diff) | |
| parent | 9024ff7943e9529ec38a80aaaa0db43224c1e885 (diff) | |
| download | emacs-8bd7b8304a41da5dc0c8a11967c1a6005e9465d0.tar.gz emacs-8bd7b8304a41da5dc0c8a11967c1a6005e9465d0.zip | |
Merge from mainline.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 76 |
1 files changed, 58 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 29b2457e08a..2b0df1f7a30 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * lisp.h (INFUN): Remove. Suggested by Dan Nicolaescu in | 3 | Improve C-level modularity by making more things 'static'. |
| 4 | <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00393.html>. | ||
| 5 | All uses spelled out. | ||
| 6 | 4 | ||
| 7 | Don't publish debugger-only interfaces to other modules. | 5 | Don't publish debugger-only interfaces to other modules. |
| 8 | * lisp.h (safe_debug_print, debug_output_compilation_hack): | 6 | * lisp.h (safe_debug_print, debug_output_compilation_hack): |
| @@ -49,7 +47,7 @@ | |||
| 49 | (get_tty_terminal): Now static. | 47 | (get_tty_terminal): Now static. |
| 50 | (term_mouse_moveto): Do not define if HAVE_WINDOW_SYSTEM. | 48 | (term_mouse_moveto): Do not define if HAVE_WINDOW_SYSTEM. |
| 51 | * termhooks.h (term_mouse_moveto): Do not declare if | 49 | * termhooks.h (term_mouse_moveto): Do not declare if |
| 52 | HAVE_WINDOW_SYSTEMM. | 50 | HAVE_WINDOW_SYSTEM. |
| 53 | * dispextern.h (tty_set_terminal_modes, tty_reset_terminal_modes): | 51 | * dispextern.h (tty_set_terminal_modes, tty_reset_terminal_modes): |
| 54 | (tty_turn_off_highlight, get_tty_terminal): Remove decls. | 52 | (tty_turn_off_highlight, get_tty_terminal): Remove decls. |
| 55 | 53 | ||
| @@ -132,8 +130,6 @@ | |||
| 132 | Now static. | 130 | Now static. |
| 133 | * intervals.h (merge_interval_right, delete_interval): Remove decls. | 131 | * intervals.h (merge_interval_right, delete_interval): Remove decls. |
| 134 | 132 | ||
| 135 | 2011-04-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 136 | |||
| 137 | * insdel.c: Make symbols static if they're not exported. | 133 | * insdel.c: Make symbols static if they're not exported. |
| 138 | However, leave prepare_to_modify_buffer alone. It's never | 134 | However, leave prepare_to_modify_buffer alone. It's never |
| 139 | called from outside this function, but that appears to be a bug. | 135 | called from outside this function, but that appears to be a bug. |
| @@ -218,8 +214,6 @@ | |||
| 218 | (xic_create_fontsetname): Declare only if HAVE_X_WINDOWS && | 214 | (xic_create_fontsetname): Declare only if HAVE_X_WINDOWS && |
| 219 | USE_X_TOOLKIT. | 215 | USE_X_TOOLKIT. |
| 220 | 216 | ||
| 221 | 2011-04-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 222 | |||
| 223 | * ftxfont.c: Make symbols static if they're not exported. | 217 | * ftxfont.c: Make symbols static if they're not exported. |
| 224 | (ftxfont_driver): Export only if !defined HAVE_XFT && def8ined | 218 | (ftxfont_driver): Export only if !defined HAVE_XFT && def8ined |
| 225 | HAVE_FREETYPE. | 219 | HAVE_FREETYPE. |
| @@ -281,8 +275,6 @@ | |||
| 281 | * lisp.h (circular_list_error, FOREACH): Remove; unused. | 275 | * lisp.h (circular_list_error, FOREACH): Remove; unused. |
| 282 | * data.c (circular_list_error): Remove. | 276 | * data.c (circular_list_error): Remove. |
| 283 | 277 | ||
| 284 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 285 | |||
| 286 | * commands.h (last_point_position, last_point_position_buffer): | 278 | * commands.h (last_point_position, last_point_position_buffer): |
| 287 | (last_point_position_window): Remove decls. | 279 | (last_point_position_window): Remove decls. |
| 288 | * keyboard.c: Make these variables static. | 280 | * keyboard.c: Make these variables static. |
| @@ -370,11 +362,8 @@ | |||
| 370 | to see whether these functions can be called from other modules. | 362 | to see whether these functions can be called from other modules. |
| 371 | DEFUN now defines a static function. To make the function external | 363 | DEFUN now defines a static function. To make the function external |
| 372 | so that it can be used in other C modules, use the new macro DEFUE. | 364 | so that it can be used in other C modules, use the new macro DEFUE. |
| 373 | * lisp.h (DEFINE_FUNC): New macro, with the old contents of DEFUN. | 365 | * lisp.h (Funibyte_char_to_multibyte, Fsyntax_table_p): |
| 374 | (DEFUN): Rewrite in terms of DEFINE_FUNC. It now generates a | 366 | (Finit_image_library): |
| 375 | static function definition. Use DEFUE if you want an extern one. | ||
| 376 | (DEFUE, INFUN): New macros. | ||
| 377 | (Funibyte_char_to_multibyte, Fsyntax_table_p, Finit_image_library): | ||
| 378 | (Feval_region, Fbacktrace, Ffetch_bytecode, Fswitch_to_buffer): | 367 | (Feval_region, Fbacktrace, Ffetch_bytecode, Fswitch_to_buffer): |
| 379 | (Ffile_executable_p, Fmake_symbolic_link, Fcommand_execute): | 368 | (Ffile_executable_p, Fmake_symbolic_link, Fcommand_execute): |
| 380 | (Fget_process, Fdocumentation_property, Fbyte_code, Ffile_attributes): | 369 | (Fget_process, Fdocumentation_property, Fbyte_code, Ffile_attributes): |
| @@ -423,12 +412,63 @@ | |||
| 423 | (Fset_window_margins, Fset_window_vscroll): New forward static decls. | 412 | (Fset_window_margins, Fset_window_vscroll): New forward static decls. |
| 424 | * window.h (Fset_window_vscroll, Fset_window_margins): Remove decls. | 413 | * window.h (Fset_window_vscroll, Fset_window_margins): Remove decls. |
| 425 | 414 | ||
| 426 | 2011-04-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 427 | |||
| 428 | * editfns.c (Fformat): Remove unreachable code. | 415 | * editfns.c (Fformat): Remove unreachable code. |
| 429 | 416 | ||
| 417 | 2011-04-14 Andreas Schwab <schwab@linux-m68k.org> | ||
| 418 | |||
| 419 | * fileio.c (Finsert_file_contents): Fix typo in 2005-05-13 | ||
| 420 | change. (Bug#8496) | ||
| 421 | |||
| 422 | 2011-04-13 Eli Zaretskii <eliz@gnu.org> | ||
| 423 | |||
| 424 | * xdisp.c (handle_invisible_prop): Don't call bidi_paragraph_init | ||
| 425 | when at ZV. (Bug#8487) | ||
| 426 | |||
| 427 | 2011-04-12 Andreas Schwab <schwab@linux-m68k.org> | ||
| 428 | |||
| 429 | * charset.c (Fclear_charset_maps): Use xfree instead of free. | ||
| 430 | (Bug#8437) | ||
| 431 | * keyboard.c (parse_tool_bar_item): Likewise. | ||
| 432 | * sound.c (sound_cleanup, alsa_close): Likewise. | ||
| 433 | * termcap.c (tgetent): Likewise. | ||
| 434 | * xfns.c (x_default_font_parameter): Likewise. | ||
| 435 | * xsettings.c (read_and_apply_settings): Likewise. | ||
| 436 | |||
| 437 | * alloc.c (overrun_check_malloc, overrun_check_realloc) | ||
| 438 | (overrun_check_free): Protoize. | ||
| 439 | |||
| 440 | 2011-04-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 441 | |||
| 442 | * sysdep.c (emacs_read, emacs_write): Check for negative sizes | ||
| 443 | since callers should never pass a negative size. | ||
| 444 | Change the signature to match that of plain 'read' and 'write'; see | ||
| 445 | <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00397.html>. | ||
| 446 | * lisp.h: Update prototypes of emacs_write and emacs_read. | ||
| 447 | |||
| 448 | 2011-04-11 Eli Zaretskii <eliz@gnu.org> | ||
| 449 | |||
| 450 | * xdisp.c (redisplay_window): Don't try to determine the character | ||
| 451 | position of the scroll margin if the window start point w->startp | ||
| 452 | is outside the buffer's accessible region. (Bug#8468) | ||
| 453 | |||
| 454 | 2011-04-10 Eli Zaretskii <eliz@gnu.org> | ||
| 455 | |||
| 456 | Fix write-region and its subroutines for buffers > 2GB. | ||
| 457 | * fileio.c (a_write, e_write): Modify declaration of arguments and | ||
| 458 | local variables to support buffers larger than 2GB. | ||
| 459 | (Fcopy_file): Use EMACS_INT for return value of emacs_read. | ||
| 460 | |||
| 461 | * sysdep.c (emacs_write, emacs_read): Use ssize_t for last | ||
| 462 | argument, local variables, and return value. | ||
| 463 | |||
| 464 | * lisp.h: Update prototypes of emacs_write and emacs_read. | ||
| 465 | |||
| 466 | * sound.c (vox_write): Use ssize_t for return value of emacs_write. | ||
| 467 | |||
| 430 | 2011-04-10 Paul Eggert <eggert@cs.ucla.edu> | 468 | 2011-04-10 Paul Eggert <eggert@cs.ucla.edu> |
| 431 | 469 | ||
| 470 | * xdisp.c (vmessage): Use memchr, not strnlen, which some hosts lack. | ||
| 471 | |||
| 432 | Fix more problems found by GCC 4.6.0's static checks. | 472 | Fix more problems found by GCC 4.6.0's static checks. |
| 433 | 473 | ||
| 434 | * xdisp.c (vmessage): Use a better test for character truncation. | 474 | * xdisp.c (vmessage): Use a better test for character truncation. |
| @@ -534,7 +574,7 @@ | |||
| 534 | * xselect.c (x_decline_selection_request) | 574 | * xselect.c (x_decline_selection_request) |
| 535 | (x_reply_selection_request): Avoid type-punned deref of X events. | 575 | (x_reply_selection_request): Avoid type-punned deref of X events. |
| 536 | 576 | ||
| 537 | 2011-04-09 Eli Zaretskii <eliz@emacstest.gnu.org> | 577 | 2011-04-09 Eli Zaretskii <eliz@gnu.org> |
| 538 | 578 | ||
| 539 | Fix some uses of `int' instead of EMACS_INT. | 579 | Fix some uses of `int' instead of EMACS_INT. |
| 540 | * search.c (string_match_1, fast_string_match) | 580 | * search.c (string_match_1, fast_string_match) |