* emacs.c (daemon_pipe): Make non-static.
[bpt/emacs.git] / src / ChangeLog
index de78a5e..1c1c6aa 100644 (file)
@@ -1,8 +1,72 @@
+2008-10-28  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * emacs.c (daemon_pipe): Make non-static.
+       (IS_DAEMON): Move definition ...
+       * lisp.h (IS_DAEMON): ... here.
+       (daemon_pipe): Declare.
+       (is_daemon): Remove.
+       * dispnew.c (init_display): Use IS_DAEMON.
+
+2008-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (pos_visible_p, redisplay_internal, message3_nolog)
+       (message2_nolog): Check FRAME_INITIAL_P instead of noninteractively.
+
+       * emacs.c (is_daemon): Remove.
+       (main): Don't set is_daemon.
+       (IS_DAEMON): New macro.
+       (Fdaemonp, Fdaemon_initialized): Use it.
+       (Fdaemon_initialized): Wrtie a char into the pipe to make sure the
+       parent exits.
+       (syms_of_emacs): Explicitly initialize daemon_pipe[1].
+
+2008-10-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (ns_draw_window_cursor): When hbar cursor is on
+       over-sized glyph, draw it with the default glyph width.
+
+       * w32term.c (x_draw_bar_cursor): When hbar cursor is on over-sized
+       glyph, draw it with the default glyph width.
+
+       * xterm.c (x_draw_bar_cursor): When hbar cursor is on over-sized
+       glyph, draw it with the default glyph width.
+
+       * xdisp.c (try_scrolling): When computing the distance from the
+       scroll margin to PT, try moving some distance past the window
+       bottom before giving up.
+
+2008-10-27  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p)
+       (Fset_window_buffer): Explain in doc-string that a window can be
+       "strongly" dedicated to its buffer.
+
+2008-10-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * emacs.c (daemon_name): New variable.
+       (main): Deal with --daemon=SERVER_NAME.
+       (Fdaemonp): Return a name if one was passed to --daemon.
+
+2008-10-26  Romain Francoise  <romain@orebokech.com>
+
+       * emacs.c (daemon_pipe): New variable.
+       (main): Create a pipe before forking, make the parent exit only after
+       the child has closed its end of the pipe.  Move closing the
+       descriptors ...
+       (Fdaemon_initialized): ... here.  New function.
+
+2008-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * chartab.c (Foptimize_char_table): Make sure `ascii' doesn't point to
+       the previous unoptimized table.
+
+       * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate
+       the distinction between non-nil and non-t value of `dedicated'.
+
 2008-10-25  Chong Yidong  <cyd@stupidchicken.com>
 
        * keyboard.c (read_char_minibuf_menu_prompt): Ensure that
-       read_char_minibuf_menu_text is large enough to hold the menu
-       string.
+       read_char_minibuf_menu_text is large enough to hold the menu string.
 
 2008-10-25  Martin Rudalics  <rudalics@gmx.at>
 
@@ -12,8 +76,8 @@
 
 2008-10-24  Chong Yidong  <cyd@stupidchicken.com>
 
-       * xdisp.c (handle_single_display_spec, handle_display_prop): Undo
-       2005-05-16 change.
+       * xdisp.c (handle_single_display_spec, handle_display_prop):
+       Undo 2005-05-16 change.
        (handle_stop): Pop iterator if it's loaded with an empty string.
        (get_overlay_strings_1): Don't save iterator if it's loaded with
        an empty string (bug#1201).
@@ -24,7 +88,7 @@
        (ftfont_otf_capability): Check FeatureList.FeatureCount before
        calling ftfont_otf_features.
 
-2008-10-23  Kenichi Handa  <handa@m17n.org>
+2008-10-24  Kenichi Handa  <handa@m17n.org>
 
        * font.c (font_match_p): Fix for the case that a vector of
        characters is in script-representative-chars.
 2008-10-24  Michael Albinus  <michael.albinus@gmx.de>
 
        * dbusbind.c (xd_in_read_queued_messages): New variable.
-       (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros.  Throw
-       Qdbus_error.
+       (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros.  Throw Qdbus_error.
        (xd_read_queued_messages): Catch Qdbus_error from the macros.
        (all): Replace xsignal1, xsignal2, xsignal3 by the respective
        macro.  (Bug#1186).
 
-2008-10-23  Ali Bahrami <ali_gnu@emvision.com>  (tiny change)
+2008-10-23  Ali Bahrami  <ali_gnu@emvision.com>  (tiny change)
 
        * s/sol2-10.h: New file.
 
 
        * buffer.c (Fget_buffer_create): Rename arg to buffer_or_name.
        Reword doc-string.
-       (Fbury_buffer): In doc-string say what happens to the buffer's
-       window.
+       (Fbury_buffer): In doc-string say what happens to the buffer's window.
 
 2008-10-23  Juanma Barranquero  <lekktu@gmail.com>
 
        Reword doc-string.
        (Fset_window_parameter): Use NILP.
        (Fscroll_up, Fscroll_down, Fminibuffer_selected_window)
-       (Frecenter): Use "selected" instead of "current" window in
-       doc-strings.
+       (Frecenter): Use "selected" instead of "current" window in doc-strings.
 
 2008-10-22  Juanma Barranquero  <lekktu@gmail.com>
 
 
        * window.c (Fwindow_width, Fset_window_start)
        (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter)
-       (Fdelete_windows_on, Freplace_buffer_in_windows): Make
-       doc-strings follow code and Elisp manual more closely.
+       (Fdelete_windows_on, Freplace_buffer_in_windows):
+       Make doc-strings follow code and Elisp manual more closely.
        (Fwindow_dedicated_p): Make window argument optional.
        (Fset_window_dedicated_p): Rename argument "arg" to "flag".
        (Fset_window_buffer): Respect any non-nil dedicated value for
        * fontset.c (face_for_char): If face->fontset is negative, just
        return ascii_face.
 
-       * font.c (font_delete_unmatched): Fix previous change.  Don't
-       reject an entity if DPI and AVGWIDTH of an entity are 0.
+       * font.c (font_delete_unmatched): Fix previous change.
+       Don't reject an entity if DPI and AVGWIDTH of an entity are 0.
 
 2008-10-09  Martin Rudalics  <rudalics@gmx.at>
 
 
 2008-10-06  Andreas Schwab  <schwab@suse.de>
 
-       * sysdep.c (sys_signal): Always set SA_RESTART when
-       noninteractively.
+       * sysdep.c (sys_signal): Always set SA_RESTART when noninteractively.
 
 2008-10-06  Chong Yidong  <cyd@stupidchicken.com>
 
-       * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from
-       startup.el.
+       * emacs.c (Vbefore_init_time, Vafter_init_time): Move from startup.el.
 
        * lisp.h (Vbefore_init_time, Vafter_init_time): Declare.
 
 
        * nsterm.m (ns_frame_rehighlight): Remove commented code.
        (draw_window_cursor): Simplify code.
-       (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't
-       change cursor type.  In latter, call rehighlight instead of doing
+       (EmacsView-windowDidBecomeKey:,-windowDidResignKey:):
+       Don't change cursor type.  In latter, call rehighlight instead of doing
        updates manually.
        (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel):
        Use core Emacs cursor types.