Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/ChangeLog Thu Jul 10 17:05:59 2008 +0200 +++ b/src/ChangeLog Thu Jul 10 23:37:52 2008 +0200 @@ -1,3 +1,56 @@ +2008-07-07 Aidan Kehoe <kehoea@parhasard.net> + + Patch to make it up to the device-specific code whether + various Lisp functions should be called during device creation, + not relying on the startup code to decide this. Also, rename + initial-window-system to initial-device-type (which makes more + sense in this scheme), always set it. + + * redisplay.c (Vinitial_device_type): New. + (Vinitial_window_system): Removed. + Rename initial-window-system to initial-device type, making it + a stream if we're noninteractive. Update its docstring. + + * device-x.c (Qmake_device_early_x_entry_point, + Qmake_device_late_x_entry_point): New. + Rename Qinit_pre_x_win, Qinit_post_x_win. + (x_init_device): Call #'make-device-early-x-entry-point earlier, + now we rely on it to find the application class and the + app-defaults directory. + (x_finish_init_device): Call #'make-device-late-x-entry-point with + the created device. + (Vx_app_defaults_directory): Always make this available, to + simplify code in x-init.el. + + * device-tty.c (Qmake_device_early_tty_entry_point): New. + Rename Qinit_pre_tty_win, rename Qinit_post_tty_win and move to + frame-tty.c as Qmake_frame_after_init_entry_point. + (tty_init_device): Call #'make-device-early-tty-entry-point before + doing anything. + * frame-tty.c (Qmake_frame_after_init_entry_point): New. + * frame-tty.c (tty_after_init_frame): Have it call the + better-named #'make-frame-after-init-entry-point function + instead of #'init-post-tty-win (since it's called after frame, not + device, creation). + + * device-msw.c (Qmake_device_early_mswindows_entry_point, + Qmake_device_late_mswindows_entry_point): New. + Rename Qinit_pre_mswindows_win, Qinit_post_mswindows_win. + (mswindows_init_device): Call + #'make-device-early-mswindows-entry-point here, instead of having + its predecessor call us. + (mswindows_finish_init_device): Call + #'make-device-early-mswindows-entry-point, for symmetry with the + other device types (though it's an empty function). + + * device-gtk.c (Qmake_device_early_gtk_entry_point, + Qmake_device_late_gtk_entry_point): New. + Rename Qinit_pre_gtk_win, Qinit_post_gtk_win. + (gtk_init_device): Call #'make-device-early-gtk-entry-point; don't + load ~/.xemacs/gtk-options.el ourselves, leave that to lisp. + (gtk_finish_init_device): Call #'make-device-late-gtk-entry-point + with the created device as an argument. + 2008-07-10 Aidan Kehoe <kehoea@parhasard.net> * redisplay-msw.c (mswindows_text_width_single_run):