diff options
| author | Paul Eggert | 2011-10-07 00:32:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-10-07 00:32:43 -0700 |
| commit | eb106a49bfc8da14c7a6ea866361c1b2d972a754 (patch) | |
| tree | 36e633e0fb79b570409b1ecc650623913dbec020 /src | |
| parent | f2b31075364c17574955493ec5effa7baa12ee24 (diff) | |
| parent | 7c5ee88ecb336a2deac1c1b98753f08ef0a2bd1c (diff) | |
| download | emacs-eb106a49bfc8da14c7a6ea866361c1b2d972a754.tar.gz emacs-eb106a49bfc8da14c7a6ea866361c1b2d972a754.zip | |
Merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4fd9dff1f32..e8b9a813a45 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,9 +1,7 @@ | |||
| 1 | 2011-10-07 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-10-07 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * alloc.c (mark_memory): Omit 3rd (offset) arg; caller changed. | 3 | Integer width fixes. |
| 4 | Don't assume EMACS_INT alignment is the same as pointer alignment. | 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |
| 5 | (GC_POINTER_ALIGNMENT): New macro. | ||
| 6 | (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | ||
| 7 | (allocate_vectorlike, buffer_memory_full, struct sdata, SDATA_SIZE) | 5 | (allocate_vectorlike, buffer_memory_full, struct sdata, SDATA_SIZE) |
| 8 | (string_bytes, check_sblock, allocate_string_data): | 6 | (string_bytes, check_sblock, allocate_string_data): |
| 9 | (compact_small_strings, Fmake_bool_vector, make_string) | 7 | (compact_small_strings, Fmake_bool_vector, make_string) |
| @@ -17,9 +15,6 @@ | |||
| 17 | Use int, not EMACS_INT, where int is wide enough. | 15 | Use int, not EMACS_INT, where int is wide enough. |
| 18 | (inhibit_garbage_collection, Fgarbage_collect): | 16 | (inhibit_garbage_collection, Fgarbage_collect): |
| 19 | Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts. | 17 | Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts. |
| 20 | (GC_LISP_OBJECT_ARGUMENT): | ||
| 21 | Use offsetof, not __alignof__ or sizeof. __alignof__ gives | ||
| 22 | the wrong answer on the x86 with GCC. | ||
| 23 | * bidi.c (bidi_mirror_char): Use EMACS_INT, not int, where | 18 | * bidi.c (bidi_mirror_char): Use EMACS_INT, not int, where |
| 24 | int might not be wide enough. | 19 | int might not be wide enough. |
| 25 | (bidi_cache_search, bidi_cache_find, bidi_init_it) | 20 | (bidi_cache_search, bidi_cache_find, bidi_init_it) |
| @@ -786,6 +781,18 @@ | |||
| 786 | rather than rolling our own approximation. | 781 | rather than rolling our own approximation. |
| 787 | (SCROLL_BAR_VEC_SIZE): Remove; not used. | 782 | (SCROLL_BAR_VEC_SIZE): Remove; not used. |
| 788 | 783 | ||
| 784 | 2011-10-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 785 | |||
| 786 | * alloc.c (GC_LISP_OBJECT_ALIGNMENT): Use offsetof, not __alignof__ | ||
| 787 | or sizeof. __alignof__ gives the wrong answer on Fedora x86-64 | ||
| 788 | with GCC 4.6.1 when configured with CC='gcc -m32' --with-wide-int; | ||
| 789 | this makes Emacs dump core during garbage collection on rare | ||
| 790 | occasions. sizeof is obviously inferior to offsetof here, so | ||
| 791 | stick with offsetof. | ||
| 792 | (GC_POINTER_ALIGNMENT): New macro. | ||
| 793 | (mark_memory): Omit 3rd (offset) arg; caller changed. | ||
| 794 | Don't assume EMACS_INT alignment is the same as pointer alignment. | ||
| 795 | |||
| 789 | 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca> | 796 | 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 790 | 797 | ||
| 791 | * keyboard.c (read_key_sequence_remapped): New var. | 798 | * keyboard.c (read_key_sequence_remapped): New var. |