diff options
| author | Juanma Barranquero | 2008-10-22 09:33:30 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-10-22 09:33:30 +0000 |
| commit | a9b555d3d091f8a371c81ac565f0e40f59ba8743 (patch) | |
| tree | d812e74da2e26a684e0a72ea809a9ab35ec0c5d8 /src | |
| parent | 4620ee7a82a6b2175729eb7753e8c221c557a5d5 (diff) | |
| download | emacs-a9b555d3d091f8a371c81ac565f0e40f59ba8743.tar.gz emacs-a9b555d3d091f8a371c81ac565f0e40f59ba8743.zip | |
* w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert.
Copied from 2005-02-03 change to xfns.c by Kim F. Storm.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 20 | ||||
| -rw-r--r-- | src/w32fns.c | 3 |
2 files changed, 14 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ad47d331663..c4d36b09126 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-10-22 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | ||
| 4 | Copied from 2005-02-03 change to xfns.c by Kim F. Storm. | ||
| 5 | |||
| 1 | 2008-10-22 Kenichi Handa <handa@m17n.org> | 6 | 2008-10-22 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * syntax.c (scan_words): Call word_boundary_p instead of comparing | 8 | * syntax.c (scan_words): Call word_boundary_p instead of comparing |
| @@ -21,7 +26,7 @@ | |||
| 21 | (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make | 26 | (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make |
| 22 | it optional. | 27 | it optional. |
| 23 | (no_switch_window): Remove since the return value is not used. | 28 | (no_switch_window): Remove since the return value is not used. |
| 24 | (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". | 29 | (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". |
| 25 | Consider window as dedicated when Fwindow_dedicated_p returns a | 30 | Consider window as dedicated when Fwindow_dedicated_p returns a |
| 26 | non-nil value. | 31 | non-nil value. |
| 27 | * lisp.h: Remove prototype for no_switch_window. | 32 | * lisp.h: Remove prototype for no_switch_window. |
| @@ -144,8 +149,7 @@ | |||
| 144 | 149 | ||
| 145 | 2008-10-07 Chong Yidong <cyd@stupidchicken.com> | 150 | 2008-10-07 Chong Yidong <cyd@stupidchicken.com> |
| 146 | 151 | ||
| 147 | * gtkutil.c (xg_display_open): Reset default display if none | 152 | * gtkutil.c (xg_display_open): Reset default display if none exists. |
| 148 | exists. | ||
| 149 | (xg_display_close): Allow Emacs to close all displays (bug#985). | 153 | (xg_display_close): Allow Emacs to close all displays (bug#985). |
| 150 | 154 | ||
| 151 | 2008-10-06 Andreas Schwab <schwab@suse.de> | 155 | 2008-10-06 Andreas Schwab <schwab@suse.de> |
| @@ -158,7 +162,7 @@ | |||
| 158 | * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from | 162 | * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from |
| 159 | startup.el. | 163 | startup.el. |
| 160 | 164 | ||
| 161 | * lisp.h: (Vbefore_init_time, Vafter_init_time): Declare. | 165 | * lisp.h (Vbefore_init_time, Vafter_init_time): Declare. |
| 162 | 166 | ||
| 163 | * gtkutil.c (x_wm_set_size_hint): Return immediately if called | 167 | * gtkutil.c (x_wm_set_size_hint): Return immediately if called |
| 164 | during initialization. | 168 | during initialization. |
| @@ -204,16 +208,16 @@ | |||
| 204 | (FRAME_NEW_CURSOR_COLOR): Remove. | 208 | (FRAME_NEW_CURSOR_COLOR): Remove. |
| 205 | 209 | ||
| 206 | * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. | 210 | * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. |
| 207 | (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs | 211 | (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core Emacs |
| 208 | enumeration (HOLLOW_BOX_CURSOR, etc.). | 212 | enumeration (HOLLOW_BOX_CURSOR, etc.). |
| 209 | 213 | ||
| 210 | * nsterm.m (ns_frame_rehighlight): Remove commented code. | 214 | * nsterm.m (ns_frame_rehighlight): Remove commented code. |
| 211 | (draw_window_cursor): Simplify code. | 215 | (draw_window_cursor): Simplify code. |
| 212 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't | 216 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't |
| 213 | change cursor type. In latter, call rehighlight instead of doing | 217 | change cursor type. In latter, call rehighlight instead of doing |
| 214 | updates manually. | 218 | updates manually. |
| 215 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use | 219 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): |
| 216 | core emacs cursor types. | 220 | Use core Emacs cursor types. |
| 217 | 221 | ||
| 218 | * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under | 222 | * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under |
| 219 | NS. | 223 | NS. |
diff --git a/src/w32fns.c b/src/w32fns.c index 3f9466c3d99..f98a53f95d4 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -4155,10 +4155,11 @@ unwind_create_frame (frame) | |||
| 4155 | 4155 | ||
| 4156 | x_free_frame_resources (f); | 4156 | x_free_frame_resources (f); |
| 4157 | 4157 | ||
| 4158 | #if GLYPH_DEBUG | ||
| 4158 | /* Check that reference counts are indeed correct. */ | 4159 | /* Check that reference counts are indeed correct. */ |
| 4159 | xassert (dpyinfo->reference_count == dpyinfo_refcount); | 4160 | xassert (dpyinfo->reference_count == dpyinfo_refcount); |
| 4160 | xassert (dpyinfo->image_cache->refcount == image_cache_refcount); | 4161 | xassert (dpyinfo->image_cache->refcount == image_cache_refcount); |
| 4161 | 4162 | #endif | |
| 4162 | return Qt; | 4163 | return Qt; |
| 4163 | } | 4164 | } |
| 4164 | 4165 | ||