aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-09-30 10:44:37 -0700
committerPaul Eggert2011-09-30 10:44:37 -0700
commit535272bb73eff5a5db01301e5b60f6128d6dc788 (patch)
treeb41937c81a61bf737ef15efb434fc06338da25b4 /src/ChangeLog
parent38532ce6ecb33efee5f697886d9fd20a3c2cda01 (diff)
parentf701dc2abbcfb64c0c4d02ac899dccb03ee2b246 (diff)
downloademacs-535272bb73eff5a5db01301e5b60f6128d6dc788.tar.gz
emacs-535272bb73eff5a5db01301e5b60f6128d6dc788.zip
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog73
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 @@
12011-09-29 Paul Eggert <eggert@cs.ucla.edu> 12011-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
112011-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
7782011-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
7942011-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
8002011-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
8242011-09-29 Eli Zaretskii <eliz@gnu.org>
825
826 * sysdep.c (snprintf) [!EOVERFLOW]: If EOVERFLOW is not defined,
827 use EDOM.
828
7882011-09-28 Eli Zaretskii <eliz@gnu.org> 8292011-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
8092011-09-27 Andreas Schwab <schwab@linux-m68k.org> 8502011-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
8602011-09-24 Jim Meyering <meyering@redhat.com> 9012011-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