diff options
| author | Stefan Monnier | 2008-02-22 17:42:09 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-02-22 17:42:09 +0000 |
| commit | 354884c46ee708a22b0372d2092256408b485c8d (patch) | |
| tree | 03802c0c4e44d3ecd4b096cada74b8abf811ce29 /src/ChangeLog | |
| parent | c2e426903cfd93202e302471a6e1b265a08e8368 (diff) | |
| download | emacs-354884c46ee708a22b0372d2092256408b485c8d.tar.gz emacs-354884c46ee708a22b0372d2092256408b485c8d.zip | |
Consolidate the image_cache to the terminal struct.
* termhooks.h (P_): Remove redundant def.
(struct terminal): New field `image_cache'.
* frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place
of FRAME_X_IMAGE_CACHE.
* xterm.h (struct x_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
* w32term.h (struct w32_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
* macterm.h (struct mac_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
* xterm.c (x_term_init):
* w32term.c (w32_term_init):
* macterm.c (mac_term_init): Set the image_cache in the terminal.
* dispextern.h (clear_image_cache, forall_images_in_image_cache):
Remove declarations.
(clear_image_caches, mark_image_cache): New declarations.
* xfaces.c (clear_face_cache):
* xdisp.c (redisplay_internal): Use clear_image_caches.
* image.c (clear_image_cache): Don't check that a frame is on
a window-system before checking if it shares the same cache.
(clear_image_caches): New function.
(Fclear_image_cache): Use it.
(mark_image): Move from allo.c.
(mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
* alloc.c (mark_image, mark_image_cache): Move to image.c.
(mark_object): Don't call mark_image_cache for frames.
(mark_terminals): Call mark_image_cache.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c71b748a018..2f70d3be552 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,34 @@ | |||
| 1 | 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | Consolidate the image_cache to the terminal struct. | ||
| 4 | * termhooks.h (P_): Remove redundant def. | ||
| 5 | (struct terminal): New field `image_cache'. | ||
| 6 | * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place | ||
| 7 | of FRAME_X_IMAGE_CACHE. | ||
| 8 | * xterm.h (struct x_display_info): Remove image_cache field. | ||
| 9 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | ||
| 10 | * w32term.h (struct w32_display_info): Remove image_cache field. | ||
| 11 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | ||
| 12 | * macterm.h (struct mac_display_info): Remove image_cache field. | ||
| 13 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | ||
| 14 | * xterm.c (x_term_init): | ||
| 15 | * w32term.c (w32_term_init): | ||
| 16 | * macterm.c (mac_term_init): Set the image_cache in the terminal. | ||
| 17 | * dispextern.h (clear_image_cache, forall_images_in_image_cache): | ||
| 18 | Remove declarations. | ||
| 19 | (clear_image_caches, mark_image_cache): New declarations. | ||
| 20 | * xfaces.c (clear_face_cache): | ||
| 21 | * xdisp.c (redisplay_internal): Use clear_image_caches. | ||
| 22 | * image.c (clear_image_cache): Don't check that a frame is on | ||
| 23 | a window-system before checking if it shares the same cache. | ||
| 24 | (clear_image_caches): New function. | ||
| 25 | (Fclear_image_cache): Use it. | ||
| 26 | (mark_image): Move from allo.c. | ||
| 27 | (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. | ||
| 28 | * alloc.c (mark_image, mark_image_cache): Move to image.c. | ||
| 29 | (mark_object): Don't call mark_image_cache for frames. | ||
| 30 | (mark_terminals): Call mark_image_cache. | ||
| 31 | |||
| 3 | * lisp.h (Fdelete_terminal): Declare. | 32 | * lisp.h (Fdelete_terminal): Declare. |
| 4 | 33 | ||
| 5 | * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) | 34 | * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) |