comparison src/ChangeLog @ 4478:ec442dc06fe1

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 10 Jul 2008 23:37:52 +0200
parents dbf79a1732ba e34711681f30
children 4cb7c59b5201 7869173584fc
comparison
equal deleted inserted replaced
4476:dbf79a1732ba 4478:ec442dc06fe1
1 2008-07-07 Aidan Kehoe <kehoea@parhasard.net>
2
3 Patch to make it up to the device-specific code whether
4 various Lisp functions should be called during device creation,
5 not relying on the startup code to decide this. Also, rename
6 initial-window-system to initial-device-type (which makes more
7 sense in this scheme), always set it.
8
9 * redisplay.c (Vinitial_device_type): New.
10 (Vinitial_window_system): Removed.
11 Rename initial-window-system to initial-device type, making it
12 a stream if we're noninteractive. Update its docstring.
13
14 * device-x.c (Qmake_device_early_x_entry_point,
15 Qmake_device_late_x_entry_point): New.
16 Rename Qinit_pre_x_win, Qinit_post_x_win.
17 (x_init_device): Call #'make-device-early-x-entry-point earlier,
18 now we rely on it to find the application class and the
19 app-defaults directory.
20 (x_finish_init_device): Call #'make-device-late-x-entry-point with
21 the created device.
22 (Vx_app_defaults_directory): Always make this available, to
23 simplify code in x-init.el.
24
25 * device-tty.c (Qmake_device_early_tty_entry_point): New.
26 Rename Qinit_pre_tty_win, rename Qinit_post_tty_win and move to
27 frame-tty.c as Qmake_frame_after_init_entry_point.
28 (tty_init_device): Call #'make-device-early-tty-entry-point before
29 doing anything.
30 * frame-tty.c (Qmake_frame_after_init_entry_point): New.
31 * frame-tty.c (tty_after_init_frame): Have it call the
32 better-named #'make-frame-after-init-entry-point function
33 instead of #'init-post-tty-win (since it's called after frame, not
34 device, creation).
35
36 * device-msw.c (Qmake_device_early_mswindows_entry_point,
37 Qmake_device_late_mswindows_entry_point): New.
38 Rename Qinit_pre_mswindows_win, Qinit_post_mswindows_win.
39 (mswindows_init_device): Call
40 #'make-device-early-mswindows-entry-point here, instead of having
41 its predecessor call us.
42 (mswindows_finish_init_device): Call
43 #'make-device-early-mswindows-entry-point, for symmetry with the
44 other device types (though it's an empty function).
45
46 * device-gtk.c (Qmake_device_early_gtk_entry_point,
47 Qmake_device_late_gtk_entry_point): New.
48 Rename Qinit_pre_gtk_win, Qinit_post_gtk_win.
49 (gtk_init_device): Call #'make-device-early-gtk-entry-point; don't
50 load ~/.xemacs/gtk-options.el ourselves, leave that to lisp.
51 (gtk_finish_init_device): Call #'make-device-late-gtk-entry-point
52 with the created device as an argument.
53
1 2008-07-10 Aidan Kehoe <kehoea@parhasard.net> 54 2008-07-10 Aidan Kehoe <kehoea@parhasard.net>
2 55
3 * redisplay-msw.c (mswindows_text_width_single_run): 56 * redisplay-msw.c (mswindows_text_width_single_run):
4 Explicitly check for the null font instance, and return zero if 57 Explicitly check for the null font instance, and return zero if
5 so. Avoids the crash documented in 58 so. Avoids the crash documented in