comparison src/ChangeLog @ 5045:c3cc3fa503a2

more frame-sizing cleanups -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2010-02-16 Ben Wing <ben@xemacs.org> * internals/internals.texi (Top): * internals/internals.texi (Modules for the Basic Displayable Lisp Objects): * internals/internals.texi (Creating a Window-System Type): * internals/internals.texi (Window and Frame Geometry): * internals/internals.texi (Intro to Window and Frame Geometry): * internals/internals.texi (The Frame): * internals/internals.texi (The Non-Client Area): * internals/internals.texi (The Client Area): * internals/internals.texi (The Paned Area): * internals/internals.texi (Text Areas): * internals/internals.texi (The Displayable Area): * internals/internals.texi (Which Functions Use Which?): * internals/internals.texi (The Redisplay Mechanism): Integrate the long comment in frame.c into the internals manual. src/ChangeLog addition: 2010-02-16 Ben Wing <ben@xemacs.org> * frame-impl.h: * frame-impl.h (FRAME_INTERNAL_BORDER_WIDTH): * frame-impl.h (FRAME_REAL_TOOLBAR_BOUNDS): * frame-impl.h (FRAME_REAL_TOP_TOOLBAR_BOUNDS): * frame-impl.h (FRAME_BOTTOM_BORDER_START): * frame-impl.h (FRAME_LEFT_BORDER_START): * frame-impl.h (FRAME_RIGHT_BORDER_START): * frame.c (frame_conversion_internal_1): * frame.c (change_frame_size_1): * redisplay-output.c (clear_left_border): * redisplay-output.c (clear_right_border): * redisplay-output.c (redisplay_clear_top_of_window): * redisplay-output.c (redisplay_clear_to_window_end): * redisplay-output.c (redisplay_clear_bottom_of_window): Rename FRAME_BORDER_* to FRAME_INTERNAL_BORDER_*. Add general FRAME_INTERNAL_BORDER_SIZE(). Add FRAME_REAL_TOOLBAR_BOUNDS() to encompass the entire size of the toolbar including its border. Add specific top/left/bottom/right versions of this macro. Rewrite FRAME_*_BORDER_START and FRAME_*_BORDER_END to take into use FRAME_REAL_*_TOOLBAR_BOUNDS(). Add some comments about existing problems in frame sizing and how they might be fixed. Simplify change_frame_size_1() using the macros just created.
author Ben Wing <ben@xemacs.org>
date Tue, 16 Feb 2010 01:21:32 -0600
parents e84a30b0e4a2
children d4f666cda5e6
comparison
equal deleted inserted replaced
5044:e84a30b0e4a2 5045:c3cc3fa503a2
1 2010-02-16 Ben Wing <ben@xemacs.org>
2
3 * frame-impl.h:
4 * frame-impl.h (FRAME_INTERNAL_BORDER_WIDTH):
5 * frame-impl.h (FRAME_REAL_TOOLBAR_BOUNDS):
6 * frame-impl.h (FRAME_REAL_TOP_TOOLBAR_BOUNDS):
7 * frame-impl.h (FRAME_BOTTOM_BORDER_START):
8 * frame-impl.h (FRAME_LEFT_BORDER_START):
9 * frame-impl.h (FRAME_RIGHT_BORDER_START):
10 * frame.c (frame_conversion_internal_1):
11 * frame.c (change_frame_size_1):
12 * redisplay-output.c (clear_left_border):
13 * redisplay-output.c (clear_right_border):
14 * redisplay-output.c (redisplay_clear_top_of_window):
15 * redisplay-output.c (redisplay_clear_to_window_end):
16 * redisplay-output.c (redisplay_clear_bottom_of_window):
17 Rename FRAME_BORDER_* to FRAME_INTERNAL_BORDER_*. Add
18 general FRAME_INTERNAL_BORDER_SIZE(). Add FRAME_REAL_TOOLBAR_BOUNDS()
19 to encompass the entire size of the toolbar including its border.
20 Add specific top/left/bottom/right versions of this macro.
21 Rewrite FRAME_*_BORDER_START and FRAME_*_BORDER_END to take into use
22 FRAME_REAL_*_TOOLBAR_BOUNDS(). Add some comments about existing
23 problems in frame sizing and how they might be fixed. Simplify
24 change_frame_size_1() using the macros just created.
25
1 2010-02-15 Ben Wing <ben@xemacs.org> 26 2010-02-15 Ben Wing <ben@xemacs.org>
2 27
3 * frame.c (change_frame_size_1): 28 * frame.c (change_frame_size_1):
4 Simplify the logic in this function. 29 Simplify the logic in this function.
5 30