annotate nt/ad2c.sed @ 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 4be1180a9e89
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
1 /^!/d
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
2 /^$/d
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
3 s/\\/\\\\/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
4 s/\\$//g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
5 s/"/\\"/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
6 s/^/(String) "/
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
7 : test
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
8 /\\$/b slash
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
9 s/$/",/
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
10 p
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
11 d
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
12 : slash
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
13 n
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
14 /^!/d
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
15 /^$/d
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
16 s/"/\\"/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
17 s/\\\\/\\/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
18 s/\\n/\\\\n/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
19 s/\\t/\\\\t/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
20 s/\\f/\\\\f/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
21 s/\\b/\\\\b/g
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
22 b test