aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2014-07-28 05:39:09 -0400
committerGlenn Morris2014-07-28 05:39:09 -0400
commitda41ffdd089b529c3d5216412d95840e065c3fe3 (patch)
treea69f5a510e2c47f774f145d9567188bc89563ac1 /src
parent414e1537ab09d2f4571e61b420523dcd082f2d3a (diff)
parent1c6c2e3c70ff2f666a1e3f29b8852d375c8392cd (diff)
downloademacs-da41ffdd089b529c3d5216412d95840e065c3fe3.tar.gz
emacs-da41ffdd089b529c3d5216412d95840e065c3fe3.zip
Merge from emacs-24; up to 2014-06-26T06:55:15Z!rgm@gnu.org
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit10
-rw-r--r--src/ChangeLog6
-rw-r--r--src/dispnew.c2
-rw-r--r--src/window.c4
4 files changed, 9 insertions, 13 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index fb2a9bf72ed..c10fe3ddded 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -820,15 +820,7 @@ define xwindow
820 xgetptr $ 820 xgetptr $
821 print (struct window *) $ptr 821 print (struct window *) $ptr
822 set $window = (struct window *) $ptr 822 set $window = (struct window *) $ptr
823 xgetint $window->total_cols 823 printf "%dx%d+%d+%d\n", $window->total_cols, $window->total_lines, $window->left_col, $window->top_line
824 set $width=$int
825 xgetint $window->total_lines
826 set $height=$int
827 xgetint $window->left_col
828 set $left=$int
829 xgetint $window->top_line
830 set $top=$int
831 printf "%dx%d+%d+%d\n", $width, $height, $left, $top
832end 824end
833document xwindow 825document xwindow
834Print $ as a window pointer, assuming it is an Emacs Lisp window value. 826Print $ as a window pointer, assuming it is an Emacs Lisp window value.
diff --git a/src/ChangeLog b/src/ChangeLog
index f74a46c4ad2..57d49594d7a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12014-07-28 Eli Zaretskii <eliz@gnu.org> 12014-07-28 Eli Zaretskii <eliz@gnu.org>
2 2
3 * .gdbinit (xwindow): The members total_cols, total_lines,
4 left_col, and top_line are C integers (and has been so for the
5 last 1.5 years).
6
3 * .gdbinit (xsubchartable): The members 'depth' and 'min_char' are 7 * .gdbinit (xsubchartable): The members 'depth' and 'min_char' are
4 now C integers. 8 now C integers.
5 9
@@ -4479,7 +4483,7 @@
4479 Avoid undefined behavior with huge regexp interval counts. 4483 Avoid undefined behavior with huge regexp interval counts.
4480 * regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER', 4484 * regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER',
4481 since it's now specialized to interval counts. All uses changed. 4485 since it's now specialized to interval counts. All uses changed.
4482 Do not assume wrapraound on signed integer overflow. 4486 Do not assume wraparound on signed integer overflow.
4483 (regex_compile): Simplify based on the above changes. 4487 (regex_compile): Simplify based on the above changes.
4484 4488
44852013-12-12 Eli Zaretskii <eliz@gnu.org> 44892013-12-12 Eli Zaretskii <eliz@gnu.org>
diff --git a/src/dispnew.c b/src/dispnew.c
index 289431d6dc4..70862985e66 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1638,7 +1638,7 @@ allocate_matrices_for_frame_redisplay (Lisp_Object window, int x, int y,
1638 1638
1639 /* Actually change matrices, if allowed. Do not consider 1639 /* Actually change matrices, if allowed. Do not consider
1640 CHANGED_LEAF_MATRIX computed above here because the pool 1640 CHANGED_LEAF_MATRIX computed above here because the pool
1641 may have been changed which we don't now here. We trust 1641 may have been changed which we don't know here. We trust
1642 that we only will be called with DIM_ONLY_P when 1642 that we only will be called with DIM_ONLY_P when
1643 necessary. */ 1643 necessary. */
1644 if (!dim_only_p) 1644 if (!dim_only_p)
diff --git a/src/window.c b/src/window.c
index ae28b714720..e3554ea032e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3854,7 +3854,7 @@ window_resize_check (struct window *w, bool horflag)
3854} 3854}
3855 3855
3856 3856
3857/* Set w->pixel_height (w->pixel_height if HORIZONTAL is non-zero) to 3857/* Set w->pixel_height (w->pixel_width if HORFLAG is non-zero) to
3858 w->new_pixel for window W and recursively all child windows of W. 3858 w->new_pixel for window W and recursively all child windows of W.
3859 Also calculate and assign the new vertical (horizontal) pixel start 3859 Also calculate and assign the new vertical (horizontal) pixel start
3860 positions of each of these windows. 3860 positions of each of these windows.
@@ -3944,7 +3944,7 @@ window_resize_apply (struct window *w, bool horflag)
3944} 3944}
3945 3945
3946 3946
3947/* Set w->total_lines (w->total_cols if HORIZONTAL is non-zero) to 3947/* Set w->total_lines (w->total_cols if HORFLAG is non-zero) to
3948 w->new_total for window W and recursively all child windows of W. 3948 w->new_total for window W and recursively all child windows of W.
3949 Also calculate and assign the new vertical (horizontal) start 3949 Also calculate and assign the new vertical (horizontal) start
3950 positions of each of these windows. */ 3950 positions of each of these windows. */