comparison src/ChangeLog @ 4968:4d35e52790f8

fix crash in glyph-cachels -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-03 Ben Wing <ben@xemacs.org> * frame.c (Fmake_frame): * glyphs.c: * glyphs.c (NUM_PRECACHED_GLYPHS): * glyphs.c (get_glyph_cachel_index): * glyphs.c (FROB): * glyphs.c (mark_glyph_cachels_as_not_updated): * redisplay.c (regenerate_window): * redisplay.c (redisplay_window): When creating a frame, call reset_glyph_cachels on the minibuffer window as well as the root window. Fixes a crash due to other glyphs (e.g. the gutter glyph) getting in the glyph cachel before the pre-cached glyphs that are supposed to have fixed indices (continuation-glyph, truncation-glyph, etc.). Add a bunch of asserts to make sure that the glyph cachels always properly contain the pre-cached glyphs.
author Ben Wing <ben@xemacs.org>
date Wed, 03 Feb 2010 21:06:14 -0600
parents 0d4c9d0f6a8d
children cbe181529c34
comparison
equal deleted inserted replaced
4967:0d4c9d0f6a8d 4968:4d35e52790f8
1 2010-02-03 Ben Wing <ben@xemacs.org>
2
3 * frame.c (Fmake_frame):
4 * glyphs.c:
5 * glyphs.c (NUM_PRECACHED_GLYPHS):
6 * glyphs.c (get_glyph_cachel_index):
7 * glyphs.c (FROB):
8 * glyphs.c (mark_glyph_cachels_as_not_updated):
9 * redisplay.c (regenerate_window):
10 * redisplay.c (redisplay_window):
11 When creating a frame, call reset_glyph_cachels on the minibuffer
12 window as well as the root window. Fixes a crash due to other
13 glyphs (e.g. the gutter glyph) getting in the glyph cachel before
14 the pre-cached glyphs that are supposed to have fixed indices
15 (continuation-glyph, truncation-glyph, etc.).
16
17 Add a bunch of asserts to make sure that the glyph cachels always
18 properly contain the pre-cached glyphs.
19
1 2010-02-03 Ben Wing <ben@xemacs.org> 20 2010-02-03 Ben Wing <ben@xemacs.org>
2 21
3 * device-x.c (x_get_resource_prefix): 22 * device-x.c (x_get_resource_prefix):
4 * device-x.c (Fx_get_resource): 23 * device-x.c (Fx_get_resource):
5 * device-x.c (Fx_get_resource_prefix): 24 * device-x.c (Fx_get_resource_prefix):