comparison src/ChangeLog @ 51845:7e28afbbaec0

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 09 Jul 2003 15:10:47 +0000
parents 69b46262cd92
children 115ea2a71651
comparison
equal deleted inserted replaced
51844:c5036e7cc93b 51845:7e28afbbaec0
1 2003-07-09 Stefan Monnier <monnier@cs.yale.edu>
2
3 Change overlays_after and overlays_before so the overlays themselves
4 are linked into lists, rather than using cons cells. After all each
5 Lisp_Misc already occupies 5 words, so we can add a `next' field to
6 Lisp_Overlay for free and save up one cons cell per overlay (not
7 to mention one indirection when traversing the list of overlay).
8
9 * lisp.h (struct Lisp_Overlay): New field `next'.
10
11 * buffer.h (struct buffer): Change overlays_before and overlays_after
12 from Lisp lists of overlays to pointers to overlays.
13
14 * buffer.c (overlay_strings, recenter_overlay_lists):
15 Fix typo in eassert in last commit.
16 (unchain_overlay): New function.
17 (add_overlay_mod_hooklist): Use AREF.
18 (copy_overlays, reset_buffer, overlays_at, overlays_in)
19 (overlay_touches_p, overlay_strings, recenter_overlay_lists)
20 (fix_overlays_in_range, fix_overlays_before, Fmake_overlay)
21 (Fmove_overlay, Fdelete_overlay, Foverlay_lists)
22 (report_overlay_modification, evaporate_overlays, init_buffer_once):
23 Adjust to new type of overlays_(before|after).
24
25 * alloc.c (mark_object): Mark the new `next' field of overlays.
26 (mark_buffer): Manually mark the overlays_(after|before) fields.
27
28 * coding.c (run_pre_post_conversion_on_str):
29 * editfns.c (overlays_around):
30 * xdisp.c (load_overlay_strings):
31 * fileio.c (Finsert_file_contents):
32 * indent.c (current_column):
33 * insdel.c (signal_before_change, signal_after_change):
34 * intervals.c (set_point_both):
35 * print.c (temp_output_buffer_setup): Use new type for
36 overlays_(before|after).
37
1 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> 38 2003-07-08 Stefan Monnier <monnier@cs.yale.edu>
2 39
3 * buffer.c (report_overlay_modification): Don't run hooks while 40 * buffer.c (report_overlay_modification): Don't run hooks while
4 traversing the list of overlays. 41 traversing the list of overlays.
5 42