[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110704: * src/frame.c (x_set_font):
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110704: * src/frame.c (x_set_font): Catch internal error. |
Date: |
Sun, 28 Oct 2012 11:52:42 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110704
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sun 2012-10-28 11:52:42 -0400
message:
* src/frame.c (x_set_font): Catch internal error.
modified:
src/ChangeLog
src/frame.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-10-27 19:43:48 +0000
+++ b/src/ChangeLog 2012-10-28 15:52:42 +0000
@@ -1,7 +1,11 @@
+2012-10-28 Stefan Monnier <address@hidden>
+
+ * frame.c (x_set_font): Catch internal error.
+
2012-10-27 Eli Zaretskii <address@hidden>
- Avoid overflow in w32 implementation of interval timers. When
- possible, for ITIMER_PROF count only times the main thread
+ Avoid overflow in w32 implementation of interval timers.
+ When possible, for ITIMER_PROF count only times the main thread
actually executes.
* w32proc.c <struct itimer_data>: 'expire' and 'reload' are now
'volatile ULONGLONG' types. All the other data which was
@@ -11,8 +15,8 @@
for the timer.
(timer_loop): Enter critical section when accessing ULONGLONG
values of the itimer_data struct, as these accesses are no longer
- atomic. Call 'w32_get_timer_time' instead of 'clock'. Remove
- unused variable.
+ atomic. Call 'w32_get_timer_time' instead of 'clock'.
+ Remove unused variable.
(init_timers): Initialize s_pfn_Get_Thread_Times.
(start_timer_thread): Don't assign itimer->caller_thread here.
(getitimer): Assign itimer->caller_thread here.
@@ -92,8 +96,8 @@
2012-10-19 Eli Zaretskii <address@hidden>
- * puresize.h (BASE_PURESIZE): Bump the base value to 1700000. See
- http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00593.html
+ * puresize.h (BASE_PURESIZE): Bump the base value to 1700000.
+ See http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00593.html
for the reasons.
* alloc.c (NSTATICS): Decrease to 0x800.
@@ -712,8 +716,8 @@
(ns_clear_frame_area): Remove resize handle code.
* nsfns.m (ns_in_resize): Remove.
- (x_set_icon_name, ns_set_name, ns_set_name_as_filename): Remove
- ns_in_resize check.
+ (x_set_icon_name, ns_set_name, ns_set_name_as_filename):
+ Remove ns_in_resize check.
2012-10-07 Paul Eggert <address@hidden>
=== modified file 'src/frame.c'
--- a/src/frame.c 2012-10-20 21:30:51 +0000
+++ b/src/frame.c 2012-10-28 15:52:42 +0000
@@ -3242,6 +3242,9 @@
Lisp_Object ascii_font = fontset_ascii (fontset);
Lisp_Object spec = font_spec_from_name (ascii_font);
+ if (NILP (spec))
+ signal_error ("Invalid font name", ascii_font);
+
if (! font_match_p (spec, font_object))
fontset = -1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110704: * src/frame.c (x_set_font): Catch internal error.,
Stefan Monnier <=