diff options
| author | Paul Eggert | 2011-09-30 10:44:37 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-30 10:44:37 -0700 |
| commit | 535272bb73eff5a5db01301e5b60f6128d6dc788 (patch) | |
| tree | b41937c81a61bf737ef15efb434fc06338da25b4 /src/ChangeLog | |
| parent | 38532ce6ecb33efee5f697886d9fd20a3c2cda01 (diff) | |
| parent | f701dc2abbcfb64c0c4d02ac899dccb03ee2b246 (diff) | |
| download | emacs-535272bb73eff5a5db01301e5b60f6128d6dc788.tar.gz emacs-535272bb73eff5a5db01301e5b60f6128d6dc788.zip | |
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 73 |
1 files changed, 57 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 37f2e39848f..2cb49cace00 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,14 +1,4 @@ | |||
| 1 | 2011-09-29 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-09-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | |||
| 3 | * alloc.c: Do not assume sizeof (size_t) is a multiple of 8 | ||
| 4 | when debugging. | ||
| 5 | (alignof, XMALLOC_BASE_ALIGNMENT, XMALLOC_HEADER_ALIGNMENT) | ||
| 6 | (XMALLOC_OVERRUN_SIZE_SIZE): New macros. | ||
| 7 | (XMALLOC_OVERRUN_CHECK_OVERHEAD, xmalloc_put_size, xmalloc_get_size) | ||
| 8 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | ||
| 9 | Replace uses of sizeof (size_t) with XMALLOC_OVERRUN_SIZE_SIZE. | ||
| 10 | |||
| 11 | 2011-09-28 Paul Eggert <eggert@cs.ucla.edu> | ||
| 12 | 2 | ||
| 13 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | 3 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |
| 14 | (allocate_vectorlike, buffer_memory_full, struct sdata, SDATA_SIZE) | 4 | (allocate_vectorlike, buffer_memory_full, struct sdata, SDATA_SIZE) |
| @@ -785,6 +775,57 @@ | |||
| 785 | rather than rolling our own approximation. | 775 | rather than rolling our own approximation. |
| 786 | (SCROLL_BAR_VEC_SIZE): Remove; not used. | 776 | (SCROLL_BAR_VEC_SIZE): Remove; not used. |
| 787 | 777 | ||
| 778 | 2011-09-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 779 | |||
| 780 | Remove dependency on glibc malloc internals. | ||
| 781 | * alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): | ||
| 782 | Move back here from lisp.h, but with their new implementations. | ||
| 783 | (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT) | ||
| 784 | (XMALLOC_OVERRUN_SIZE_SIZE): Move these new lisp.h macros here. | ||
| 785 | * charset.c (charset_table_init): New static var. | ||
| 786 | (syms_of_charset): Use it instead of xmalloc. This removes a | ||
| 787 | dependency on glibc malloc internals. See Eli Zaretskii's comment in | ||
| 788 | <http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00815.html>. | ||
| 789 | * lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): | ||
| 790 | Move back to alloc.c. | ||
| 791 | (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT) | ||
| 792 | (XMALLOC_OVERRUN_SIZE_SIZE): Move to alloc.c. | ||
| 793 | |||
| 794 | 2011-09-30 Jan Djärv <jan.h.d@swipnet.se> | ||
| 795 | |||
| 796 | * nsterm.m (windowDidResize): Call x_set_window_size only when | ||
| 797 | ns_in_resize is true. Otherwise set pixelwidth/height and | ||
| 798 | call change_frame_size (Bug#9628). | ||
| 799 | |||
| 800 | 2011-09-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 801 | |||
| 802 | Port --enable-checking=all to Fedora 14 x86-64. | ||
| 803 | * charset.c (syms_of_charset): Also account for glibc malloc's | ||
| 804 | internal overhead when calculating the initial malloc maximum. | ||
| 805 | |||
| 806 | Port --enable-checking=all to Fedora 14 x86. | ||
| 807 | * alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): | ||
| 808 | Move to lisp.h. | ||
| 809 | (xmalloc_put_size, xmalloc_get_size, overrun_check_malloc) | ||
| 810 | (overrun_check_realloc, overrun_check_free): | ||
| 811 | Use XMALLOC_OVERRUN_SIZE_SIZE, not sizeof (size_t). | ||
| 812 | That way, xmalloc returns a properly-aligned pointer even if | ||
| 813 | XMALLOC_OVERRUN_CHECK is defined. The old debugging code happened | ||
| 814 | to align OK on typical 64-bit hosts, but not on Fedora 14 x86. | ||
| 815 | * charset.c (syms_of_charset): Take XMALLOC_OVERRUN_CHECK_OVERHEAD | ||
| 816 | into account when calculating the initial malloc maximum. | ||
| 817 | * lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): | ||
| 818 | Move here from alloc.c, so that charset.c can use it too. | ||
| 819 | Properly align; the old code wasn't right for common 32-bit hosts | ||
| 820 | when configured with --enable-checking=all. | ||
| 821 | (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT) | ||
| 822 | (XMALLOC_OVERRUN_SIZE_SIZE): New macros. | ||
| 823 | |||
| 824 | 2011-09-29 Eli Zaretskii <eliz@gnu.org> | ||
| 825 | |||
| 826 | * sysdep.c (snprintf) [!EOVERFLOW]: If EOVERFLOW is not defined, | ||
| 827 | use EDOM. | ||
| 828 | |||
| 788 | 2011-09-28 Eli Zaretskii <eliz@gnu.org> | 829 | 2011-09-28 Eli Zaretskii <eliz@gnu.org> |
| 789 | 830 | ||
| 790 | * xdisp.c (compute_display_string_end): If there's no display | 831 | * xdisp.c (compute_display_string_end): If there's no display |
| @@ -803,8 +844,8 @@ | |||
| 803 | * xdisp.c (handle_invisible_prop): If invisible text ends on a | 844 | * xdisp.c (handle_invisible_prop): If invisible text ends on a |
| 804 | newline, reseat the iterator instead of bidi-iterating there one | 845 | newline, reseat the iterator instead of bidi-iterating there one |
| 805 | character at a time. (Bug#9610) | 846 | character at a time. (Bug#9610) |
| 806 | (BUFFER_POS_REACHED_P, move_it_in_display_line_to): Bail when past | 847 | (BUFFER_POS_REACHED_P, move_it_in_display_line_to): Bail out when |
| 807 | TO_CHARPOS if the bidi iterator is at base embedding level. | 848 | past TO_CHARPOS if the bidi iterator is at base embedding level. |
| 808 | 849 | ||
| 809 | 2011-09-27 Andreas Schwab <schwab@linux-m68k.org> | 850 | 2011-09-27 Andreas Schwab <schwab@linux-m68k.org> |
| 810 | 851 | ||
| @@ -841,9 +882,9 @@ | |||
| 841 | value is now t. Doc fix. | 882 | value is now t. Doc fix. |
| 842 | 883 | ||
| 843 | * indent.c (Fvertical_motion): Compute and apply the overshoot | 884 | * indent.c (Fvertical_motion): Compute and apply the overshoot |
| 844 | logic when moving up, not only when moving down. Fix the | 885 | logic also when moving up, not only when moving down. Fix the |
| 845 | confusing name and values of the it_overshoot_expected variable; | 886 | confusing name and values of the it_overshoot_expected variable; |
| 846 | logic changes accordingly. (Bug#9254) (Bug#9549) | 887 | logic changed accordingly. (Bug#9254) (Bug#9549) |
| 847 | 888 | ||
| 848 | * xdisp.c (pos_visible_p): Produce correct pixel coordinates when | 889 | * xdisp.c (pos_visible_p): Produce correct pixel coordinates when |
| 849 | CHARPOS is covered by a display string which includes newlines. | 890 | CHARPOS is covered by a display string which includes newlines. |
| @@ -859,7 +900,7 @@ | |||
| 859 | 900 | ||
| 860 | 2011-09-24 Jim Meyering <meyering@redhat.com> | 901 | 2011-09-24 Jim Meyering <meyering@redhat.com> |
| 861 | 902 | ||
| 862 | do not ignore write error for any output size | 903 | Do not ignore write error for any output size. |
| 863 | The previous change was incomplete. | 904 | The previous change was incomplete. |
| 864 | While it makes emacs --batch detect the vast majority of stdout | 905 | While it makes emacs --batch detect the vast majority of stdout |
| 865 | write failures, errors were still ignored whenever the output size is | 906 | write failures, errors were still ignored whenever the output size is |