comparison src/ChangeLog @ 106108:48d6337584da

(make_gap_larger): Don't make as many assumptions about the representation of Lisp integers. Reported by MJ Chan <mjchan.inbox@gmail.com>.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 19 Nov 2009 01:40:22 +0000
parents 8c46fe65b4c6
children 0fba14676688
comparison
equal deleted inserted replaced
106107:a387a3328e51 106108:48d6337584da
1 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * insdel.c (make_gap_larger): Don't make as many assumptions about the
4 representation of Lisp integers.
5 Reported by MJ Chan <mjchan.inbox@gmail.com>.
6
1 2009-11-17 Andreas Schwab <schwab@linux-m68k.org> 7 2009-11-17 Andreas Schwab <schwab@linux-m68k.org>
2 8
3 * lisp.h: Remove declaration of Ffont_get_system_font. 9 * lisp.h: Remove declaration of Ffont_get_system_font.
4 * xfns.c: Move include of "xsettings.h". 10 * xfns.c: Move include of "xsettings.h".
5 * xsettings.h: Use EXFUN to declare Ffont_get_system_font. 11 * xsettings.h: Use EXFUN to declare Ffont_get_system_font.
6 12
7 2009-11-17 Jan Djärv <jan.h.d@swipnet.se> 13 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
8 14
9 * xsettings.c (something_changedCB, Ffont_get_system_font): Check 15 * xsettings.c (something_changedCB, Ffont_get_system_font):
10 use_system_font. 16 Check use_system_font.
11 (syms_of_xsettings): DEFVAR font-use-system-font. 17 (syms_of_xsettings): DEFVAR font-use-system-font.
12 18
13 2009-11-17 Andreas Schwab <schwab@linux-m68k.org> 19 2009-11-17 Andreas Schwab <schwab@linux-m68k.org>
14 20
15 * xfns.c (x_default_font_parameter): Remove dead assignment. 21 * xfns.c (x_default_font_parameter): Remove dead assignment.
16 22
17 * lisp.h (Fbyteorder, init_font, Ffont_get_system_font): Declare. 23 * lisp.h (Fbyteorder, init_font, Ffont_get_system_font): Declare.
18 24
19 2009-11-17 Jan Djärv <jan.h.d@swipnet.se> 25 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
20 26
21 * xftfont.c (xftfont_fix_match): Older versions of fontconfig does 27 * xftfont.c (xftfont_fix_match): Older versions of fontconfig do
22 not have FC_LCD_*. #define them if not there. 28 not have FC_LCD_*. #define them if not there.
23 29
24 * xsettings.c (parse_xft_settings, apply_xft_settings): Ditto 30 * xsettings.c (parse_xft_settings, apply_xft_settings): Ditto.
25 31
26 * xterm.h (struct x_display_info): Add atoms and Window for xsettings. 32 * xterm.h (struct x_display_info): Add atoms and Window for xsettings.
27 33
28 * xterm.c (handle_one_xevent): Call xft_settings_event for 34 * xterm.c (handle_one_xevent): Call xft_settings_event for
29 ClientMessage, PropertyNotify and DestroyNotify. 35 ClientMessage, PropertyNotify and DestroyNotify.
34 (xftfont_open): Call XftDefaultSubstitute before XftFontMatch. 40 (xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
35 Call xftfont_fix_match after XftFontMatch. 41 Call xftfont_fix_match after XftFontMatch.
36 42
37 * xfont.c (xfont_driver): Initialize all members. 43 * xfont.c (xfont_driver): Initialize all members.
38 44
39 * xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font. 45 * xfns.c (x_default_font_parameter):
46 Try font from Ffont_get_system_font.
40 Do not get font from x_default_parameter if we got one from 47 Do not get font from x_default_parameter if we got one from
41 Ffont_get_system_font. 48 Ffont_get_system_font.
42 (Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f). 49 (Fx_select_font): Get the defaut font name from :name of FRAME_FONT(f).
43 50
44 * w32font.c (w32font_driver): Initialize all members. 51 * w32font.c (w32font_driver): Initialize all members.
45 52
46 * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new. 53 * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.
47 54
48 * lisp.h: Declare syms_of_xsettings. 55 * lisp.h: Declare syms_of_xsettings.
49 56
50 * keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle 57 * keyboard.c (kbd_buffer_get_event, make_lispy_event):
51 CONFIG_CHANGED_EVENT. 58 Handle CONFIG_CHANGED_EVENT.
52 59
53 * ftfont.c (ftfont_filter_properties): New function. 60 * ftfont.c (ftfont_filter_properties): New function.
54 61
55 * frame.c (x_set_font): Remove unused variable lval. 62 * frame.c (x_set_font): Remove unused variable lval.
56 63
57 * font.h (struct font_driver): filter_properties is new. 64 * font.h (struct font_driver): Add filter_properties.
58 65
59 * font.c (font_put_extra): Don't return if val is nil, it means 66 * font.c (font_put_extra): Don't return if val is nil, it means
60 boolean option is off. 67 boolean option is off.
61 (font_parse_fcname): Collect all extra properties in extra_props 68 (font_parse_fcname): Collect all extra properties in extra_props
62 and call filter_properties for all drivers with extra_props and 69 and call filter_properties for all drivers with extra_props and
63 font as parameter. 70 font as parameter.
64 (font_open_entity): Do not use cache, it does not pick up new fontconfig 71 (font_open_entity): Do not use cache, it does not pick up new
65 settings like hinting. 72 fontconfig settings like hinting.
66 (font_load_for_lface): If spec had a name in it, store it in entity. 73 (font_load_for_lface): If spec had a name in it, store it in entity.
67 74
68 * emacs.c (main): Call syms_of_xsettings 75 * emacs.c (main): Call syms_of_xsettings
69 76
70 * config.in: HAVE_GCONF is new. 77 * config.in: HAVE_GCONF is new.
87 94
88 * xmenu.c (x_menu_wait_for_event): Call XFlush before select. 95 * xmenu.c (x_menu_wait_for_event): Call XFlush before select.
89 96
90 2009-11-14 Andreas Schwab <schwab@linux-m68k.org> 97 2009-11-14 Andreas Schwab <schwab@linux-m68k.org>
91 98
92 * Makefile.in: Ignore errors from mkdir when creating deps 99 * Makefile.in: Ignore errors from mkdir when creating deps directory.
93 directory.
94 100
95 2009-11-14 Jan Djärv <jan.h.d@swipnet.se> 101 2009-11-14 Jan Djärv <jan.h.d@swipnet.se>
96 102
97 * gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already 103 * gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already
98 has a parent. 104 has a parent.