Fix typos in Changelogs.
[bpt/emacs.git] / src / ChangeLog
index a9575a1..a8bc522 100644 (file)
@@ -1,3 +1,496 @@
+2014-02-12  Marcus Karlsson  <mk@acc.umu.se>  (tiny change)
+
+       * image.c (pbm_load): Set to NO_PIXMAP on error (Bug#16683).
+
+2014-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * buffer.c (syms_of_buffer): Doc clarification (bug#9981).
+
+2014-02-11  Glenn Morris  <rgm@gnu.org>
+
+       * nsfns.m (ns_display_info_for_name, Fx_open_connection):
+       Replace refs to "OpenStep" in messages.
+
+2014-02-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Avoid "." at end of error diagnostics.
+       * cmds.c (Fself_insert_command): Reword and avoid "." at end.
+       * font.c (Ffont_at):
+       * nsfns.m (ns_display_info_for_name):
+       * nsselect.m (Fx_own_selection_internal):
+       * nsterm.m (performDragOperation:):
+       Remove "." from end of diagnostic.
+
+2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * fns.c (Fmaphash): Say what `maphash' returns, since it may be
+       unintuitive (bug#15824).
+       (Fyes_or_no_p): Doc fix (bug#15456).
+
+2014-02-10  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * cmds.c (Fself_insert_command): Respect the width of EMACS_INT
+       and avoid warning.
+       * eval.c (call_debugger): When exiting the debugger, do not allow
+       max_specpdl_size less than actual binding depth (Bug#16603).
+       (syms_of_eval): Adjust docstring.
+
+2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * cmds.c (Fself_insert_command): Output a clearer error message on
+       negative repetitions (bug#9476).
+
+       * macros.c (Fexecute_kbd_macro): Doc fix (bug#14206).
+
+2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * syntax.c (Fskip_syntax_backward): Doc clarification (bug#15115).
+
+       * minibuf.c (Fread_string): Doc clarification (bug#15422).
+
+       * buffer.c (Fmake_overlay): Doc clarification (bug#15489).
+
+2014-02-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * keyboard.c (Frecursive_edit): Fix typo in docstring.
+
+2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * xdisp.c (syms_of_xdisp): Doc clarification (bug#15657).
+
+       * keyboard.c (Frecursive_edit): Say more precicely how throwing
+       `exit' works (bug#15865).
+
+2014-02-07  Martin Rudalics  <rudalics@gmx.at>
+
+       Constrain window box/body sizes and margin widths (Bug#16649).
+       * xdisp.c (window_box_width): Don't return less than zero.
+       (window_box_left_offset, window_box_right_offset): Don't return
+       more than the window's pixel width.
+       * window.c (window_body_height, window_body_width): Don't return
+       negative value.
+       (window_resize_apply): Adjust margin width, if necessary.
+
+2014-02-07  Glenn Morris  <rgm@gnu.org>
+
+       * nsterm.m (syms_of_nsterm): Doc fix.
+
+2014-02-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (pMultiByteToWideChar, pWideCharToMultiByte): New
+       variables: pointers through which to call the respective APIs.
+       (filename_to_utf16, filename_from_utf16, filename_to_ansi)
+       (filename_from_ansi, sys_link, check_windows_init_file): Call
+       MultiByteToWideChar and WideCharToMultiByte through pointers.
+       This is required on Windows 9X, where we dynamically load
+       UNICOWS.DLL which has their non-stub implementations.
+       (maybe_load_unicows_dll): Assign addresses to these 2 function
+       pointers after loading UNICOWS.DLL.
+
+       * w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call
+       MultiByteToWideChar and WideCharToMultiByte through function
+       pointers.
+
+       * w32.h (pMultiByteToWideChar, pWideCharToMultiByte): New
+       declarations.
+
+2014-02-06  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor
+       for OSX >= 10.9 if separate spaces are used.
+       (toggleFullScreen:): Use screen of w instead of fw (Bug#16659).
+
+2014-02-06  Glenn Morris  <rgm@gnu.org>
+
+       * buffer.c (cache-long-scans): Doc fix.
+
+2014-02-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (Fw32_shell_execute): Doc fix.
+
+2014-02-05  Bastien Guerry  <bzg@gnu.org>
+
+       * syntax.c (Fforward_word): Call Fconstrain_to_field with
+       ESCAPE-FROM-EDGE set to `nil' (Bug#16453).
+
+2014-02-05  Martin Rudalics  <rudalics@gmx.at>
+
+       * fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
+       outside the window (Bug#16649).
+
+       * xdisp.c (note_mouse_highlight): When entering a margin area show
+       a non-text cursor (Bug#16647).
+
+2014-02-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
+       It prompted a compile-time diagnostic on GNU/Linux.
+       Simplify to remove the need for the label.
+
+2014-02-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32menu.c (w32_popup_dialog): Don't condition the whole function
+       on HAVE_DIALOGS.  If the dialog is "simple", pop up a message box
+       to show it; otherwise return 'unsupported--w32-dialog' to signal
+       to the caller that emulation with menus is necessary.  This
+       resurrects code inadvertently deleted by the 2013-10-08 commit.
+       (Bug#16636)
+       (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
+
+       * w32term.h (w32_popup_dialog): Prototype is no longer conditioned
+       by HAVE_DIALOGS.
+
+       * menu.c (Fx_popup_dialog): Don't condition the call to
+       w32_popup_dialog on HAVE_DIALOGS.  If w32_popup_dialog returns a
+       special symbol 'unsupported--w32-dialog', emulate the dialog with
+       a menu by calling x-popup-menu.
+
+       * menu.h (Qunsupported__w32_dialog): New extern variable.
+
+2014-02-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * keyboard.c (kbd_buffer_get_event): Read file notification events
+       also in batch mode.
+
+       * xgselect.c (xg_select): Read glib events in any case, even if
+       there are no file descriptors to watch for.  (Bug#16519)
+
+2014-02-03  Martin Rudalics  <rudalics@gmx.at>
+
+       * dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
+       and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
+       * w32term.c (w32_draw_window_divider): Handle first and last
+       pixels specially.
+       * w32term.h (w32_fill_area_abs): New function.
+       * xdisp.c (x_draw_right_divider): Don't draw over bottom
+       divider.
+       * xfaces.c (realize_basic_faces): Handle new face ids.
+       * xfns.c (Fx_create_frame): Call x_default_parameter for right
+       and bottom divider width.
+       * xterm.c (x_draw_window_divider): Handle first and last pixels
+       specially.
+
+2014-02-03  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * print.c (Fexternal_debugging_output): Add cast to pacify
+       --enable-gcc-warnings.
+       * eval.c (call_debugger): Grow specpdl if the debugger was
+       entered due to specpdl overflow (Bug#16603) and allow more
+       specpdl space for the debugger itself.
+
+2014-02-02  Martin Rudalics  <rudalics@gmx.at>
+
+       * w32fns.c (Fx_create_frame): Process frame alpha earlier.
+       (Bug#16619)
+
+2014-02-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (Ffile_system_info): Use WINAPI in the function
+       pointers that get the address of GetDiskFreeSpaceEx.  (Bug#16615)
+
+       * print.c (Fexternal_debugging_output): If the argument character
+       is non-ASCII, encode it with the current locale's encoding before
+       writing the result to the terminal.  (Bug#16448)
+
+       * w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
+       DOCUMENT that is a "remote" file name, i.e. a file-handler exists
+       for it.  (Bug#16558)
+
+2014-01-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * process.c (create_process): Reset SIGPROF handler in the child.
+       * callproc.c (call_process): Likewise.
+
+2014-01-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xmenu.c (create_and_show_popup_menu): Port comment to C89.
+
+2014-01-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit (xprintstr, xprintbytestr): Don't use repetition count
+       of zero to print strings, GDB doesn't like it.
+
+       * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not
+       STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC,
+       we still use correct addresses.  (Bug#16576)
+
+2014-01-27  K. Handa  <handa@gnu.org>
+
+       Fix bug#16286 by a different method from 2014-01-26T00:32:30Z!eggert@cs.ucla.edu,
+       to preserve the code detection behavior of 24.3.
+       * coding.h (struct coding_system): New member detected_utf8_bytes.
+       * coding.c (detect_coding_utf_8): Set coding->detected_utf8_bytes.
+       (decode_coding_gap): Use short cut for UTF-8 file reading only
+       when coding->detected_utf8_bytes equals to coding->src_bytes.
+       * fileio.c (Finsert_file_contents): Cancel the previous change.
+
+2014-01-29  Martin Rudalics  <rudalics@gmx.at>
+
+       * w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
+       that are not visible.
+
+2014-01-29  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (create_and_show_popup_menu): Handle case when no key
+       is grabbed (Bug#16565).
+
+2014-01-28  Martin Rudalics  <rudalics@gmx.at>
+
+       * xdisp.c (last_max_ascent): Re-remove after erroneously
+       reintroducing it on 2013-11-30 and abolishing Dmitry's removal
+       from 2013-03-29.
+       (move_it_to): Re-remove reference to last_max_ascent.
+       (Fwindow_text_pixel_size): Add iterator's max_ascent and
+       max_descent here instead of calling line_bottom_y.  Fix
+       doc-string.
+
+2014-01-28  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * terminal.c (initial_free_frame_resources): New function.
+       (init_initial_terminal): Install new hook to free face cache
+       on initial frame and avoid memory leak.  For details, see
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>.
+       * xfaces.c (free_frame_faces): Adjust comment.
+
+2014-01-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * data.c (Fstring_to_number): Document results if unparsable
+       (Bug#16551).
+
+2014-01-26  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_focus_changed): Check for non-X terminal-frame (Bug#16540)
+
+2014-01-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       When decoding, prefer ptrdiff_t to int for buffer positions etc.
+       * coding.c (detect_coding_utf_8, emacs_mule_char)
+       (detect_coding_iso_2022, encode_coding_iso_2022, check_ascii)
+       (check_utf_8, decode_coding):
+       * coding.h (struct coding_system.errors):
+       Use ptrdiff_t, not int, for integer values derived from buffer and
+       string positions.
+
+       Fix crash with insert-file-contents and misdecoded text (Bug#16286).
+       * fileio.c (Finsert_file_contents): Set CODING_MODE_LAST_BLOCK
+       before invoking decode_coding_gap, since there's just one block.
+
+2014-01-25  Martin Rudalics  <rudalics@gmx.at>
+
+       Fix handling of face attributes in Fx_create_frame (Bug#16529).
+       * w32fns.c (Fx_create_frame): Don't inhibit running Lisp code
+       too early.  Again run change_frame_size before assigning menu-
+       and tool-bar-lines.
+
+2014-01-25  Fabrice Popineau  <fabrice.popineau@gmail.com>
+
+       * w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message
+       arrives, call x_check_fullscreen, in case the new display has a
+       different resolution.  (Bug#16517)
+
+2014-01-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * term.c (read_menu_input): If the selected frame changes, exit
+       the menu.
+       (tty_menu_show): If the selected frame changes while we displayed
+       a menu, throw to top level.  (Bug#16479)
+
+2014-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eval.c (Fsignal): Fix `debug' handling to match 2013-10-03 change.
+
+2014-01-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix bool-vector-count-population bug on MinGW64 (Bug#16535).
+       * data.c (count_one_bits_word): Fix bug (negated comparison)
+       when BITS_PER_ULL < BITS_PER_BITS_WORD.
+
+2014-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): Avoid
+       undefined behavior by initializing display property bit of a
+       string processed by the bidirectional iterator.  For details, see
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>.
+
+2014-01-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Minor cleanup of previous change.
+       * image.c (imagemagick_error, Fimagemagick_types):
+       Omit some recently-introduced and unnecessary casts and assignments.
+
+2014-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Fix two memory leaks discovered with Valgrind.
+       * ftfont.c (ftfont_list) [HAVE_LIBOTF]: Call OTF_close.
+       * image.c (Fimagemagick_types): Call MagickRelinquishMemory.
+
+2014-01-22  Martin Rudalics  <rudalics@gmx.at>
+
+       Fixes in window size functions around Bug#16430 and Bug#16470.
+       * window.c (Fwindow_pixel_width, Fwindow_pixel_height)
+       (Fwindow_mode_line_height, Fwindow_header_line_height)
+       (Fwindow_right_divider_width, Fwindow_bottom_divider_width):
+       Minor doc-string adjustments.
+       (Fwindow_total_height, Fwindow_total_width): New argument ROUND.
+       Rewrite doc-strings.
+       (window_body_height, window_body_width): Do not count partially
+       visible lines/columns when PIXELWISE is nil (Bug#16470).
+       (Qfloor, Qceiling): New symbols.
+
+2014-01-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (unwind_create_frame): Avoid crashing inside assertion
+       when the image cache is not yet allocated.  (Bug#16509)
+
+2014-01-21  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * buffer.c (Fkill_buffer): When killing an indirect buffer,
+       re-attach intervals to its base buffer (Bug#16502).
+       * intervals.c (set_interval_object): Move from here...
+       * intervals.h (set_interval_object): ... to here.  Fix comments.
+
+2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Avoid undefined behavior by initializing buffer redisplay bit.
+       Problem reported by Dmitry Antipov in
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>.
+       * buffer.c (Fget_buffer_create): Initialize redisplay bit.
+
+       Revert some of the CANNOT_DUMP fix (Bug#16494).
+       * lread.c (init_lread): Fix typo: NILP, not !NILP.
+
+2014-01-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w)
+       (get_text_metrics_w, get_glyph_outline_w, get_char_width_32_w)
+       [!WINDOWSNT]: These functions are no longer compiled on Cygwin;
+       they are replaced by macros that expand into direct calls to the
+       corresponding functions from GDI32.DLL.
+       (globals_of_w32font) [WINDOWSNT]: Don't initialize g_b_* static
+       variables in the Cygwin build, they are unused.
+
+2014-01-19  K. Handa  <handa@gnu.org>
+
+       * composite.c (composition_update_it): Fix previous change.
+
+2014-01-18  Eli Zaretskii  <eliz@gnu.org>
+
+       Fix file name handling on MS-Windows 9X.
+       * w32.c (maybe_load_unicows_dll): New function.
+
+       * emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early
+       on, to make sure we can convert file names to and from UTF-8 on
+       Windows 9X.  This fixes a failure to start up because Emacs cannot
+       find term/w32-win.el.  Reported by oslsachem <oslsachem@gmail.com>.
+
+       * w32font.c [WINDOWSNT]: Include w32.h.
+       (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead
+       of implementing the same stuff.
+       Remove now unused g_b_init_is_windows_9x.
+
+       * w32.h (maybe_load_unicows_dll): Add prototype.
+
+2014-01-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * menu.c (Fx_popup_menu): When invoking tty_menu_show, temporarily
+       switch to single keyboard.  Prevents daemon crashes when a new
+       client connects while we show a TTY menu in an existing client.
+       (Bug#16479)
+
+2014-01-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix MinGW64 porting problem with _setjmp.
+       Reported by Eli Zaretskii in:
+       http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html
+       * image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing
+       the old _setjmp and _longjmp.  All uses changed.
+
+2014-01-13  Daniel Colascione  <dancol@dancol.org>
+
+       * textprop.c (Fremove_list_of_text_properties): Correctly
+       handle reaching the end of the interval tree. (Bug#15344)
+
+2014-01-13  Martin Rudalics  <rudalics@gmx.at>
+
+       * xdisp.c (resize_mini_window): Round height to a multiple of
+       frame's line height.  Fix bug in calculation of window start
+       position (Bug#16424).
+
+2014-01-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * macfont.m: Include termchar.h.
+       (CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND)
+       (CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND)
+       (CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modified from
+       *_WITH_GC_* to take face and f as parameters.
+       (macfont_draw): Check for DRAW_MOUSE_FACE and set face accordingly.
+       Use *_WITH_FACE_*, and pass face as parameter (Bug#16425).
+
+2014-01-13  Daniel Colascione  <dancol@dancol.org>
+
+       Fix menu item updating in the presence of the Unity global menu
+       GTK+ module.
+
+       * gtkutil.h (xg_have_tear_offs): Add frame parameter
+       * gtkutil.c (xg_have_tear_offs): Count the global menu as a
+       tear-off.
+       (xg_update_menubar, xg_update_menu_item): Call g_object_notify when
+       updating menus; explain why.
+       (xg_update_frame_menubar): Remove the 23px hack: I can't repro the
+       problem it's supposed to solve and it interferes with detecting
+       the presence of a global menu.
+       * xmenu.c (set_frame_menubar): Call xg_have_tear_offs with new
+       parameter.
+
+2014-01-11  K. Handa  <handa@gnu.org>
+
+       * composite.c (composition_update_it): Fix indexing of
+       LGSTRING_CHAR (Bug#15984).
+
+2014-01-11  Fabrice Popineau  <fabrice.popineau@gmail.com>
+
+       * unexw32.c (_start) [__MINGW64__]: Define to __start.
+
+2014-01-11  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (try_window_id): Don't use this function's optimizations
+       if overlays in the buffer displayed by the window have changed
+       since last redisplay.  (Bug#16347)
+       (message_dolog): Fix indentation.
+
+2014-01-11  Martin Rudalics  <rudalics@gmx.at>
+
+       * frame.c (frame_resize_pixelwise): Fix doc-string.
+
+2014-01-10  Martin Rudalics  <rudalics@gmx.at>
+
+       Fix handling of internal borders (Bug#16348).
+       * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove
+       internal border width from pixel width of windows.
+       (change_frame_size_1): Don't return early when frame's pixel
+       size changes - we still have to record the new sizes in the
+       frame structure.
+       * w32fns.c (x_set_tool_bar_lines): Clear internal border width
+       also when toolbar gets larger.
+       * window.c (check_frame_size): Include internal_border_width in
+       check.
+       * xdisp.c (Ftool_bar_height): Fix doc-string typo.
+       * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In
+       non-toolkit/non-GTK version clear internal border.
+       * xterm.c (x_clear_under_internal_border): New function for
+       non-toolkit/non-GTK version.
+       (x_after_update_window_line): In non-toolkit/non-GTK version
+       don't do that.
+       (handle_one_xevent, x_set_window_size): Call
+       x_clear_under_internal_border in non-toolkit/non-GTK version.
+       * xterm.h (x_clear_under_internal_border): Extern it.
+
+2014-01-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix misdisplay of interlaced GIFs with libgif5 (Bug#16372).
+       * image.c (gif_load): libgif5 deinterlaces for us, so don't do
+       it again.
+
 2014-01-06  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (redisplay_window): Don't skip window redisplay if the
 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * gnutls.c (Fgnutls_boot): Use `Flistp' instead of
-       `CHECK_LIST_CONS`.
+       `CHECK_LIST_CONS'.
 
 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
 
        * conf_post.h: Include <stdbool.h>.
        (bool_bf): New type.
        * dispextern.h (TRACE, PREPARE_FACE_FOR_DISPLAY):
-       * interval.h (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE)
+       * intervals.h (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE)
        Surround statement macro with proper 'do { ... } while (false)' brackets.
        * dispextern.h (IF_DEBUG): Properly parenthesize and convert to void.
        Args must now be expressions; all callers changed.
 
 2013-12-08  Jan Djärv  <jan.h.d@swipnet.se>
 
-       * nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
+       * nsterm.m (updateFrameSize:): Fix GNUstep toolbar not updating.
 
-       * emacs.c (main): Call fixup_locale a second time for GNUStep.
+       * emacs.c (main): Call fixup_locale a second time for GNUstep.
 
 2013-12-08  Martin Rudalics  <rudalics@gmx.at>
 
 
        * nsterm.m (x_set_window_size): Remove fprintf.
        (init): Define always.  Set applicationDidFinishLaunchingCalled
-       for GNUStep.
+       for GNUstep.
        (applicationDidFinishLaunching:):
        Set applicationDidFinishLaunchingCalled.
        (applicationDidBecomeActive:): Call applicationDidFinishLaunching if
 
        * nsterm.m (Qcocoa, Qgnustep): New variables.
        (syms_of_nsterm): Defsym Qcocoa, Qgnustep.  Fprovide appropriate one.
-       (ns_get_color): Make selection color work for GNUStep also.
+       (ns_get_color): Make selection color work for GNUstep also.
 
 2013-10-18  Eli Zaretskii  <eliz@gnu.org>
 
 
        Don't run timers in input-pending-p.  Its new check-timers param
        provides the prior behavior.  (Bug#15045).
-       * src/keyboard.c (Finput_pending_p): Accept optional check-timers
-       param.
+       * keyboard.c (Finput_pending_p): Accept optional check-timers param.
 
 2013-10-17  Paul Eggert  <eggert@cs.ucla.edu>
 
 
        * msdos.c (x_set_menu_bar_lines): Delete unused function.
 
-       * menu.h (tty_menu_show, menu_item_width): provide prototypes.
+       * menu.h (tty_menu_show, menu_item_width): Provide prototypes.
 
        * menu.c (have_boxes): New function.
        (single_keymap_panes): Use it instead of a compile-time
 2013-09-26  Barry O'Reilly  <gundaetiapo@gmail.com>
 
        Signal error when reading an empty byte-code object (Bug#15405)
-       * lread.c (read1): signal error
-       * alloc.c (make_byte_code): eassert header size
-       (sweep_vectors): change an int to size_t
+       * lread.c (read1): Signal error.
+       * alloc.c (make_byte_code): eassert header size.
+       (sweep_vectors): Change an int to size_t.
 
 2013-09-24  Paul Eggert  <eggert@cs.ucla.edu>
 
        (Qbool_vector_p): Declare.
        (CHECK_BOOL_VECTOR, ROUNDUP, BITS_PER_SIZE_T): New macros.
        (swap16, swap32, swap64): New inline functions.
-       * macfont.c (macfont_shape): Change lint_assume to assume.
+       * macfont.m (macfont_shape): Change lint_assume to assume.
        * ralloc.c: Rename ROUNDUP to PAGE_ROUNDUP throughout.
        * xsettings.c (parse_settings): Use new swap16 and
        swap32 from lisp.h instead of file-specific macros.
        * process.h, process.c (PROCESS_INLINE):
        * syntax.h, syntax.c (SYNTAX_INLINE):
        * systime.h, sysdep.c (SYSTIME_INLINE):
-       * termhooks.h, terminal.h (TERMHOOKS_INLINE):
+       * termhooks.h, terminal.c (TERMHOOKS_INLINE):
        * window.h, window.c (WINDOW_INLINE):
        Remove.  All uses replaced with INLINE.
 
        (x_handle_dnd_message):
        * xsettings.c (xft_settings_event):
        Use 'const XEvent * const' where appropriate.
-       * xterm.h, gtkutil.h, xsettngs.h: Adjust related prototypes.
+       * xterm.h, gtkutil.h, xsettings.h: Adjust related prototypes.
 
 2013-09-16  Dmitry Antipov  <dmantipov@yandex.ru>
 
 2013-09-15  Jan Djärv  <jan.h.d@swipnet.se>
 
        * nsfns.m (Fx_create_frame): Fix font driver registration for
-       GNUStep.
+       GNUstep.
 
        * font.c (syms_of_font): Check MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
        for syms_of_macfont.
        (Fx_create_frame): Register macfont driver, make a better default font.
        (Fns_popup_font_panel): Get font from macfont driver, if used.
 
-       * macfont.m, macfont.h, maccuvs.h: New files.
+       * macfont.m, macfont.h, macuvs.h: New files.
 
        * font.h: Declare syms_of_macfont.
 
        New unwind-protect flavors to better type-check C callbacks.
        This also lessens the need to write wrappers for callbacks,
        and the need for make_save_pointer.
-       * alloca.c (free_save_value):
+       * alloc.c (free_save_value):
        * atimer.c (run_all_atimers):
        Now extern.
        * alloc.c (safe_alloca_unwind):
        * menu.c (cleanup_popup_menu) [HAVE_NS]:
        * minibuf.c (choose_minibuf_frame_1):
        * process.c (make_serial_process_unwind):
-       * xdisp.h (pop_message_unwind):
+       * xdisp.c (pop_message_unwind):
        * xselect.c (queue_selection_requests_unwind):
        Remove no-longer-needed wrapper.  All uses replaced by the wrappee.
-       * alloca.c (record_xmalloc):
+       * alloc.c (record_xmalloc):
        Prefer record_unwind_protect_ptr to record_unwind_protect with
        make_save_pointer.
-       * alloca.c (Fgarbage_collect):
+       * alloc.c (Fgarbage_collect):
        Prefer record_unwind_protect_void to passing a dummy.
        * buffer.c (restore_buffer):
        * window.c (restore_window_configuration):
        Use emacs_open more consistently when opening files.
        This handles EINTR more consistently now, and makes it easier
        to introduce other uniform changes to file descriptor handling.
-       * src/systdio.h: New file.
-       * src/buffer.c (mmap_init):
+       * sysstdio.h: New file.
+       * buffer.c (mmap_init):
        * cygw32.c (chdir_to_default_directory):
        * dispnew.c (Fopen_termscript):
        * emacs.c (Fdaemon_initialized):
        init_process_emacs, undoing 06-22 change.  If CYGWIN, do not
        tickle glib, as that causes Cygwin bootstrap to fail.  Do not
        set lib_child_handler if it's already initialized, which may
-       help avoid problems on GNUStep.
+       help avoid problems on GNUstep.
 
 2013-06-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        NS_IMPL_COCOA.
        (x_set_cursor_type): Remove declaration.
        (ns_update_begin): Only use r and bp if NS_IMPL_COCOA.
-       (ns_update_end, ns_focus, ns_unfocus): Remove GNUStep specific code.
+       (ns_update_end, ns_focus, ns_unfocus): Remove GNUstep specific code.
        (x_set_window_size): Remove 3 pixels from toolbar if NS_IMPL_GNUSTEP.
        (ns_get_color): Use F suffix on float.
        (ns_color_to_lisp, ns_query_color): Use EmacsCGFloat.
        (changeFont:): size is CGFloat.
        (keyDown:): Check for Delete when NS_IMPL_GNUSTEP.
        Disable warning about permanent text.
-       (characterIndexForPoint:): Adjust return type depending on GNUStep
+       (characterIndexForPoint:): Adjust return type depending on GNUstep
        version.
        (mouseDown:): delta is CGFloat.
        (updateFrameSize): Remove unised variable f.
        (mouseDragged:): Remove unised variable edge.
        (EmacsDocument): Implement for NS_IMPL_GNUSTEP.
 
-       * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUStep when the size
+       * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUstep when the size
        of CGFloat differs.
        (EmacsApp): New variable nextappdefined.  Declare sendFromMainThread
        when NS_IMPL_GNUSTEP.
        (x_activate_menubar): Surround with ifdef NS_IMPL_COCOA
        (fillWithWidgetValue:): Add cast to SEL for setAction.
        (addSubmenuWithTitle:forFrame:): Add cast to SEL for action.
-       (update_frame_tool_bar): Update code for GNUStep.
+       (update_frame_tool_bar): Update code for GNUstep.
        (clearAll): New method.
        (addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag
        argument.  Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP.
        (Fns_read_file_name): Keep track if panel is for save.
        Use ns_filename_from_panel/ns_directory_from_panel.
        (Fns_list_services): delegate only used for COCOA.
-       (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep.
-       Just return the input if GNUStep.
+       (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUstep.
+       Just return the input if GNUstep.
        (x_screen_planes): Remove.
        (Fxw_color_values): Use EmacsCGFloat
        (Fns_display_monitor_attributes_list): Only get screen number for
        (FRAME_SCROLL_BOTTOM_VPOS): Remove.
        * xdisp.c (redisplay_internal): Adjust user.
 
-2013-03-30  Darren Ho  <darren.hoo@gmail.com>  (tiny change)
+2013-03-30  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
 
        * nsmenu.m (showAtX:Y:for:): setLevel to
        NSPopUpMenuWindowLevel (Bug#13998).
 2013-03-28  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * window.h (struct window): Replace hchild, vchild and buffer slots
-       with the only contents slot.  This is possible because each valid
+       with a single slot 'contents'.  This is possible because each valid
        window may have either the child window (in vertical or horizontal
        combination) or buffer to display (for the leaf window).  Using that,
-       a lof of operations to traverse and/or change window hierarchies may
+       a lot of operations to traverse and/or change window hierarchies may
        be simplified.  New member horizontal is used to distinguish between
        horizontal and vertical combinations of internal windows.
        (WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P)