diff options
| author | Dmitry Antipov | 2013-01-14 13:55:21 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-01-14 13:55:21 +0400 |
| commit | 73ebd38f16c4799b657e501f188e9f3a3eca7805 (patch) | |
| tree | 2584576d6931b14b336ac4ed3eb9eb513892da2c /src/ChangeLog | |
| parent | d6d02e06ee135655b604a12b0c53987988277a16 (diff) | |
| download | emacs-73ebd38f16c4799b657e501f188e9f3a3eca7805.tar.gz emacs-73ebd38f16c4799b657e501f188e9f3a3eca7805.zip | |
Make Lisp_Save_Value more versatile storage for up to four objects.
* lisp.h (toplevel): Enumeration to describe types of saved objects.
(struct Lisp_Save_Value): New layout. Adjust comments.
(XSAVE_POINTER): New macro.
(XSAVE_INTEGER): Likewise.
(allocate_misc): Add prototype.
(free_misc): Likewise.
* alloc.c (allocate_misc): Now global.
(free_misc): Likewise. Adjust comment.
(make_save_value): Use new Lisp_Save_Value layout. Adjust comment.
(free_save_value): Likewise.
(mark_object): Likewise.
* editfns.c (save_excursion_save): Pack everything within
Lisp_Save_Value and so avoid xmalloc.
(save_excursion_restore): Adjust to match new layout. Use free_misc
because we do not allocate extra memory any more. Add eassert.
* print.c (print_object): New code to print Lisp_Save_Value. Do not
rely on valid_lisp_object_p if !GC_MARK_STACK. Adjust comments.
* dired.c, fileio.c, font.c, ftfont.c, gtkutil.c, keymap.c,
* lread.c, nsmenu.m, nsterm.h, xfns.c, xmenu.c, xselect.c:
Use XSAVE_POINTER and XSAVE_INTEGER where appropriate.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9096b904171..098d3ae027e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2013-01-14 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Make Lisp_Save_Value more versatile storage for up to four objects. | ||
| 4 | * lisp.h (toplevel): Enumeration to describe types of saved objects. | ||
| 5 | (struct Lisp_Save_Value): New layout. Adjust comments. | ||
| 6 | (XSAVE_POINTER): New macro. | ||
| 7 | (XSAVE_INTEGER): Likewise. | ||
| 8 | (allocate_misc): Add prototype. | ||
| 9 | (free_misc): Likewise. | ||
| 10 | * alloc.c (allocate_misc): Now global. | ||
| 11 | (free_misc): Likewise. Adjust comment. | ||
| 12 | (make_save_value): Use new Lisp_Save_Value layout. Adjust comment. | ||
| 13 | (free_save_value): Likewise. | ||
| 14 | (mark_object): Likewise. | ||
| 15 | * editfns.c (save_excursion_save): Pack everything within | ||
| 16 | Lisp_Save_Value and so avoid xmalloc. | ||
| 17 | (save_excursion_restore): Adjust to match new layout. Use free_misc | ||
| 18 | because we do not allocate extra memory any more. Add eassert. | ||
| 19 | * print.c (print_object): New code to print Lisp_Save_Value. Do not | ||
| 20 | rely on valid_lisp_object_p if !GC_MARK_STACK. Adjust comments. | ||
| 21 | * dired.c, fileio.c, font.c, ftfont.c, gtkutil.c, keymap.c, | ||
| 22 | * lread.c, nsmenu.m, nsterm.h, xfns.c, xmenu.c, xselect.c: | ||
| 23 | Use XSAVE_POINTER and XSAVE_INTEGER where appropriate. | ||
| 24 | |||
| 1 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> | 25 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 26 | ||
| 3 | * nsfont.m (LCD_SMOOTHING_MARGIN): New define. | 27 | * nsfont.m (LCD_SMOOTHING_MARGIN): New define. |