aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index baa40ffd237..77338e6c46f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,57 @@
12013-03-28 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * window.h (struct window): Replace hchild, vchild and buffer slots
4 with the only contents slot. This is possible because each valid
5 window may have either the child window (in vertical or horizontal
6 combination) or buffer to display (for the leaf window). Using that,
7 a lof of operations to traverse and/or change window hierarchies may
8 be simplified. New member horizontal is used to distinguish between
9 horizontal and vertical combinations of internal windows.
10 (WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P)
11 (WINDOW_VERTICAL_COMBINATION_P): New macros.
12 (WINDOW_VALID_P, WINDOW_LIVE_P): Adjust to match struct window changes.
13 * window.c (wset_hchild, wset_vchild): Remove. Adjust all users.
14 Use contents slot, not buffer, where appropriate.
15 (wset_combination): New function.
16 (wset_buffer): Add eassert.
17 (Fframe_first_window): Simplify the loop reaching first window.
18 (Fwindow_buffer): Use WINDOW_LEAF_P.
19 (Fwindow_top_child): Use WINDOW_VERTICAL_COMBINATION_P.
20 (Fwindow_left_child): Use WINDOW_HORIZONTAL_COMBINATION_P.
21 (unshow_buffer): Convert initial debugging check to eassert.
22 (replace_window, recombine_windows, Fdelete_other_windows_internal)
23 (make_parent_window, window_resize_check, window_resize_apply)
24 (resize_frame_windows, Fsplit_window_internal, Fdelete_window_internal)
25 (Fset_window_configuration, delete_all_child_windows, save_window_save):
26 Adjust to match struct window changes.
27 (window_loop): Check for broken markers in CHECK_ALL_WINDOWS.
28 (mark_window_cursors_off, count_windows, get_leaf_windows)
29 (foreach_window_1): Simplify the loop.
30 * alloc.c (mark_object): Do not check for the leaf window because
31 internal windows has no glyph matrices anyway.
32 * dispnew.c (clear_window_matrices, showing_window_margins_p)
33 (allocate_matrices_for_window_redisplay, fake_current_matrices)
34 (allocate_matrices_for_frame_redisplay, free_window_matrices)
35 (build_frame_matrix_from_window_tree, mirror_make_current)
36 (frame_row_to_window, mirror_line_dance, check_window_matrix_pointers)
37 (update_window_tree, set_window_update_flags): Simplify the loop.
38 (sync_window_with_frame_matrix_rows): Enforce live window.
39 Use contents slot, not buffer, where appropriate.
40 * frame.c (set_menu_bar_lines_1): Use WINDOW_VERTICAL_COMBINATION_P
41 and WINDOW_HORIZONTAL_COMBINATION_P.
42 (make_frame_visible_1): Simplify the loop.
43 Use contents slot, not buffer, where appropriate.
44 * xdisp.c (hscroll_window_tree, mark_window_display_accurate)
45 (redisplay_windows, redisplay_mode_lines, update_cursor_in_window_tree)
46 (expose_window_tree): Likewise.
47 Use contents slot, not buffer, where appropriate.
48 * textprop.c (get_char_property_and_overlay): Add CHECK_LIVE_WINDOW
49 to avoid deleted windows. Use contents slot instead of buffer.
50 * buffer.c, dispextern.h, editfns.c, fileio.c, font.c, fringe.c:
51 * indent.c, insdel.c, keyboard.c, keymap.c, minibuf.c, msdos.c:
52 * nsfns.m, nsmenu.m, nsterm.m, print.c, w32fns.c, w32menu.c, xfaces.c:
53 * xfns.c, xmenu.c: Use contents slot, not buffer, where appropriate.
54
12013-03-28 Eli Zaretskii <eliz@gnu.org> 552013-03-28 Eli Zaretskii <eliz@gnu.org>
2 56
3 * w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help 57 * w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help