Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.edu
authorGlenn Morris <rgm@gnu.org>
Sun, 8 Jun 2014 00:35:27 +0000 (17:35 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 8 Jun 2014 00:35:27 +0000 (17:35 -0700)
21 files changed:
1  2 
ChangeLog
configure.ac
doc/emacs/ChangeLog
doc/emacs/ack.texi
doc/emacs/emacs.texi
doc/lispref/ChangeLog
doc/lispref/os.texi
etc/ChangeLog
etc/NEWS
etc/TODO
lisp/ChangeLog
lisp/emacs-lisp/package.el
lisp/menu-bar.el
lisp/net/tramp.el
lisp/startup.el
lisp/vc/vc-hg.el
nt/INSTALL
src/ChangeLog
src/callproc.c
src/sysdep.c
src/term.c

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,29 -1,13 +1,38 @@@
 -2014-06-07  Paul Eggert  <eggert@cs.ucla.edu>
++2014-06-08  Paul Eggert  <eggert@cs.ucla.edu>
+       Port better to AIX (Bug#17598).
+       * configure.ac (with_xpm_set): New shell var.
+       (_THREAD_SAFE): Define on AIX if HAVE_PTHREAD.
+       (with_xpm): Default to 'no' on AIX.
+       (LIBXPM): Append -lXpm if -lXaw is also used, as the latter
+       requires the former on AIX.
 -2014-05-30  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-05  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Try harder to find GNU Make when configuring.
 +      * configure.ac (AC_PROG_MAKE_SET): Define a dummy.
 +      (MAKE): Set it to GNU Make, if one can be found.
 +      Search PATH for 'make', 'gmake', 'gnumake'.
 +      This works better on platforms like AIX, where GNU Make
 +      might be in /opt/freeware/bin/make, and reside
 +      behind /usr/bin/make in the PATH.
 +
 +2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
 +      * INSTALL: Mention SVG image support.
 +
 +2014-06-05  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * configure.ac: --without-all now implies --without-xft, --disable-acl.
 +      * INSTALL: Remove apparently unmaintained documentation about what
 +      --without-all exactly means.
 +
 +2014-06-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * configure.ac (C_HEAP_SWITCH): Remove.
 +
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
  
        Fix port to 32-bit AIX with xlc (Bug#17598).
        This doesn't fix Bug#17598, but it does fix a regression since Emacs
diff --cc configure.ac
@@@ -2084,19 -2064,41 +2085,26 @@@ if test "$ac_cv_header_pthread_h"; the
    if test "$GMALLOC_OBJ" = gmalloc.o; then
      emacs_pthread_function=pthread_atfork
    else
 -    emacs_pthread_function=pthread_self
 +    emacs_pthread_function=pthread_kill
    fi
 -  AC_CHECK_LIB(pthread, $emacs_pthread_function, HAVE_PTHREAD=yes)
 -fi
 -if test "$HAVE_PTHREAD" = yes; then
 -  case "${canonical}" in
 -    *-hpux*) ;;
 -    *) LIB_PTHREAD="-lpthread"
 -       LIBS="$LIB_PTHREAD $LIBS" ;;
 -  esac
 -  AC_DEFINE(HAVE_PTHREAD, 1, [Define to 1 if you have pthread (-lpthread).])
 -
 -  # Some systems optimize for single-threaded programs by default, and
 -  # need special flags to disable these optimizations. For example, the
 -  # definition of 'errno' in <errno.h>.
 -  if test "$opsys" = aix4-2; then
 -    AC_DEFINE([_THREAD_SAFE], [1],
 -      [Define to 1 if your system requires this in multithreaded code.])
 +  OLD_LIBS=$LIBS
 +  AC_SEARCH_LIBS([$emacs_pthread_function], [pthread],
 +    [AC_DEFINE([HAVE_PTHREAD], [1],
-        [Define to 1 if you have pthread (-lpthread).])])
++       [Define to 1 if you have pthread (-lpthread).])
++     # Some systems optimize for single-threaded programs by default, and
++     # need special flags to disable these optimizations. For example, the
++     # definition of 'errno' in <errno.h>.
++     if test "$opsys" = aix4-2; then
++       AC_DEFINE([_THREAD_SAFE], [1],
++         [Define to 1 if your system requires this in multithreaded code.])
++     fi])
 +  if test "X$LIBS" != "X$OLD_LIBS"; then
 +    eval LIB_PTHREAD=\$ac_cv_search_$emacs_pthread_function
    fi
 +  LIBS=$OLD_LIBS
  fi
  AC_SUBST([LIB_PTHREAD])
 -
 -AC_CHECK_LIB(pthreads, cma_open)
 -
 -## Note: when using cpp in s/aix4.2.h, this definition depended on
 -## HAVE_LIBPTHREADS.  That was not defined earlier in configure when
 -## the system file was sourced.  Hence the value of LIBS_SYSTEM
 -## added to LIBS in configure would never contain the pthreads part,
 -## but the value used in Makefiles might.  FIXME?
 -##
 -## -lpthreads seems to be necessary for Xlib in X11R6, and should
 -## be harmless on older versions of X where it happens to exist.
 -test "$opsys" = "aix4-2" && \
 -  test $ac_cv_lib_pthreads_cma_open = yes && \
 -  LIBS_SYSTEM="$LIBS_SYSTEM -lpthreads"
 +fi
  
  dnl Check for need for bigtoc support on IBM AIX
  
@@@ -1,8 -1,29 +1,21 @@@
 -2014-06-07  Glenn Morris  <rgm@gnu.org>
 -
+ 2014-06-08  Glenn Morris  <rgm@gnu.org>
+       * ack.texi (Acknowledgments):
+       * emacs.texi (Acknowledgments): Updates.
 -2014-06-05  Glenn Morris  <rgm@gnu.org>
 -
+       * programs.texi (Prettifying Symbols): Remove node.
+       (Misc for Programs): Mention more briefly here.
+       * emacs.texi (Top): Update menu.
 -
 -2014-06-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * package.texi (Package Installation): Mention package-pinned-packages.
+       * package.texi (Package Menu, Package Installation):
+       Mention signed packages.
++      (Package Installation): Mention package-pinned-packages.
  2014-06-02  Glenn Morris  <rgm@gnu.org>
  
 +      * ack.texi (Acknowledgments): Remove some obsolete items.
        * misc.texi [iftex]: Update chapter summary.
 -      (Emulation): Remove ludicrously outdated claim.
 -
 -2014-05-29  Glenn Morris  <rgm@gnu.org>
 +      (Emulation): Remove section.
  
        * macos.texi (Mac / GNUstep Customization): Mention ns custom group.
        (Customization options specific to Mac OS / GNUstep): Remove section.
@@@ -346,9 -349,14 +349,13 @@@ mail messages; and @file{saveplace.el}
  location in files between editing sessions.
  
  @item
 -Gary Foster wrote @file{crisp.el}, the emulation for CRiSP and Brief
 -editors; and @file{scroll-all.el}, a mode for scrolling several buffers
 +Gary Foster wrote @file{scroll-all.el}, a mode for scrolling several buffers
  together.
  
+ @item
+ Romain Francoise contributed ACL (Access Control List) support,
+ for preserving extended file attributes on backup and copy.
  @item
  Noah Friedman wrote @file{rlogin.el}, an interface to Rlogin,
  @file{type-break.el}, which reminds you to take periodic breaks from
Simple merge
@@@ -1,9 -1,18 +1,21 @@@
 -2014-06-06  Glenn Morris  <rgm@gnu.org>
++2014-06-08  Glenn Morris  <rgm@gnu.org>
+       * display.texi (Window Systems): Remove window-setup-hook.
+       * os.texi (Startup Summary, Init File):
+       Improve description of window-setup-hook.
+       (Terminal-Specific): Update window-setup-hook cross-reference.
+       * hooks.texi (Standard Hooks): Update window-setup-hook cross-reference.
+       * display.texi (Overlay Properties): Update re priority.  (Bug#17234)
 -2014-06-05  Glenn Morris  <rgm@gnu.org>
 -
+       * package.texi (Package Archives): Mention signing packages.
 -2014-05-27  Glenn Morris  <rgm@gnu.org>
 +2014-06-07  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * commands.texi (Click Events): Update contents of click event's
 +      position list due to last changes in make_lispy_position.
 +
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
  
        * text.texi (Buffer Contents):
        Update for filter-buffer-substring changes.
Simple merge
diff --cc etc/ChangeLog
@@@ -1,13 -1,10 +1,19 @@@
 -2014-06-05  Juri Linkov  <juri@jurta.org>
++2014-06-08  Juri Linkov  <juri@jurta.org>
+       * themes/deeper-blue-theme.el (diff-added, diff-changed, diff-removed):
+       Set face definitions explicitly.  Inherit indicator faces from them.
+       (Bug#17695)
 -2014-05-24  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-28  Reuben Thomas  <rrt@sc3d.org>
 +
 +      * TODO: add a note that undo-tree could be used to save undo
 +      information (Bug #17581).
 +
 +2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>
 +
 +      * NEWS: Mention build changes on MS-Windows.
 +
 +2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
  
        Specify coding if Latin-1 Emacs would misinterpret (Bug#17575).
        * ETAGS.EBNF, NEWS, ORG-NEWS: Add "coding: utf-8".
diff --cc etc/NEWS
Simple merge
diff --cc etc/TODO
Simple merge
diff --cc lisp/ChangeLog
 -2014-06-06  Juri Linkov  <juri@jurta.org>
++2014-06-08  Juri Linkov  <juri@jurta.org>
+       * desktop.el: Activate auto-saving on window configuration changes.
+       (desktop-save-mode, desktop-auto-save-timeout): Add/remove
 -      `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
++      `desktop-auto-save-set-timer' to/from
++      `window-configuration-change-hook'.
+       (desktop-auto-save-set-timer): Change REPEAT arg of
+       `run-with-idle-timer' from t to nil.
+       http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
 -2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
++2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
+       * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
+       vc-hg-command (bug#17570).
 -2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * international/mule-cmds.el (ucs-names): Add special entry for BEL
+       (bug#17702).
 -2014-06-06  Glenn Morris  <rgm@gnu.org>
++2014-06-08  Glenn Morris  <rgm@gnu.org>
+       * startup.el (window-setup-hook): Doc fix.
 -2014-06-05  Glenn Morris  <rgm@gnu.org>
 -
+       * emacs-lisp/package.el (package-check-signature)
+       (package-unsigned-archives): Doc fixes.
 -2014-06-03  Martin Rudalics  <rudalics@gmx.at>
++2014-06-08  Martin Rudalics  <rudalics@gmx.at>
+       * window.el (display-buffer-use-some-window): Don't make window
+       used smaller than it was before (Bug#17671).
 -2014-06-03  Eli Zaretskii  <eliz@gnu.org>
++2014-06-08  Eli Zaretskii  <eliz@gnu.org>
+       * menu-bar.el (menu-bar-open): Fix last change: use the PC
+       'redisplay' instead of '(sit-for 0)'.
 -2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
++2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
 -      * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
 -      regexp.  (Bug#17653)
++      * net/tramp.el (tramp-ssh-controlmaster-options):
++      Improve search regexp.  (Bug#17653)
 -2014-06-03  Glenn Morris  <rgm@gnu.org>
++2014-06-08  Glenn Morris  <rgm@gnu.org>
+       * emacs-lisp/package.el (package-pinned-packages): Doc fix.
 -2014-06-02  Eli Zaretskii  <eliz@gnu.org>
++2014-06-08  Eli Zaretskii  <eliz@gnu.org>
+       * menu-bar.el (menu-bar-open): Fix invocation via M-x.
 -2014-06-01  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
 +
 +      * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
 +      (bug#17586).
 +
 +      * vc/vc-hg.el (vc-hg-log-graph): New var.
 +      (vc-hg-print-log): Use it.
 +      (vc-hg-root-log-format): Include branch name and bookmarks; ignore
 +      graph output (bug#17515).
 +
 +2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * mouse.el (mouse-posn-property): Ignore buffer position info when the
 +      even happened elsewhere.
 +
 +2014-06-06  Mario Lang  <mlang@delysid.org>
 +
 +      * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
 +      `recenter' if `current-buffer' is equal to `window-buffer'.
 +
 +2014-06-05  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
 +
 +2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
 +
 +      * textmodes/tildify.el (tildify-foreach-region-outside-env):
 +      New function which calls a callback on portions of the buffer that are
 +      outside of ignored environments.
 +      (tildify-build-regexp): Remove function since it is now
 +      incorporated in `tildify-foreach-region-outside-env' where it is
 +      optimised and simplified by the use of `mapconcat'.
 +      (tildify-tildify): Return number of substitutions made so that…
 +      (tildify-count): …can be removed.
 +      (tildify-find-env): Accept a new PAIRS argument which was
 +      previously looked up in `tildify-ignored-environments-alist' each
 +      time the function was called.  With this change, the lookup is
 +      performed only once in `tildify-foreach-region-outside-env'.
 +      (tildify-region): Greatly simplify the function since now most of
 +      the work is done by `tildify-foreach-region-outside-env'.
 +      (tildify-mode-alist): Simplify slightly by avoiding if and setq
 +      and instead using or.
 +
 +      * textmodes/tildify.el (tildify-ignored-environments-alist):
 +      Optimise environments regexes
 +
 +      Each time beginning of an environment to ignore is found,
 +      `tildify-find-env' needs to identify regexp for the ending
 +      of the environment.  This is done by trying all the opening
 +      regexes on matched text in a loop, so to speed that up, this
 +      loop should have fewer things to match, which can be done by
 +      using alternatives in the opening regexes.
 +
 +      Coincidentally, this should make matching of the opening
 +      regexp faster as well thanks to the use of `regexp-opt' and
 +      having common prefix pulled from many regexes.
 +
 +      * textmodes/tildify.el (tildify-string-alist)
 +      (tildify-ignored-environments-alist): Add `nxml-mode' to the list
 +      of supported modes since `xml-mode' is no longer a thing but just
 +      an alias to the former.  Also include comments and insides of tags
 +      in `tildify-ignored-environments-alist' for XML modes.  Finally,
 +      since XML does not define “&nbsp;”[1], use a numeric reference for
 +      a no-break space (namely “&#160;”)
 +
 +      [1] XML specification defines only a handful of predefined entities.
 +          The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
 +          and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
 +          >, &, ' and " respectively).  This is in contrast to HTML and even
 +          XHTML which defined a whole bunch of entities including “&nbsp;”.
 +
 +      * textmodes/tildify.el (tildify-pattern-alist)
 +      (tildify-string-alist, tildify-ignored-environments-alist):
 +      Improve defcustom's types by adding more tags explaining what each
 +      value means and replace “sexp” used in
 +      `tildify-ignored-environments-alist' with a full type declaration.
 +
 +      * textmodes/tildify.el (tildify-find-env): Fix matched group
 +      indexes in end-regex building
 +
 +      When looking for a start of an ignore-environment, the regex is built
 +      by concatenating regexes of all the environments configured in
 +      `tildify-ignored-environments-alist'.  So for example, the following
 +      list could be used to match TeX's \verb and \verb* commands:
 +
 +          (("\\\\verb\\(.\\)" . (1))
 +           ("\\\\verb\\*\\(.\\)" . (1)))
 +
 +      This would result in the following regex being used to find the start
 +      of any of the variants of the \verb command:
 +
 +          \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
 +
 +      But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
 +      won't match anything, and thus (match-string 1) will be nil, which
 +      will cause building of the end-matching regex to fail.
 +
 +      Fix this by using capture groups from the time when the opening
 +      regexes are matched individually.
 +
 +      * textmodes/tildify.el (tildify-find-env): Fix end-regex building
 +      in `tildify-find-env'
 +
 +      The `tildify-ignored-environments-alist' allows the end-regex to
 +      be provided not as a static string but mix of strings and indexes
 +      of groups matched the begin-regex.  For example, the “\verb!…!”
 +      TeX-command (where “!” is an arbitrary character) is handled
 +      using:
 +
 +          ("\\\\verb\\*?\\(.\\)" . (1))
 +
 +      In the same way, the following should be supported as well:
 +
 +          ("open-\\(.\\)" . ("end-" 1))
 +
 +      However the tildify-find-env function fails at
 +
 +          (concat result
 +                  (if (stringp (setq aux (car expression)))
 +                       expression  ; BUG: expression is a list
 +                     (regexp-quote (match-string aux))))
 +
 +      where the string part is handled incorrectly.
 +
 +      The most trivial fix would be to replace `expression' in the
 +      true-part of the if-statement with `aux', but instead, this commit
 +      optimises `tildify-find-env' by changing it to use `mapconcat'
 +      rather than open-coded while-loop.
 +
 +2014-06-05  Mario Lang  <mlang@delysid.org>
 +
 +      * woman.el (woman-mapcan): Remove.
 +      (woman-parse-colon-path): Use cl-mapcan instead.
 +
 +2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 +
 +      * register.el: Add link to Emacs manual in Commentary.
 +
 +2014-06-02  Sam Steingold  <sds@gnu.org>
 +
 +      * menu-bar.el (lookup-key-ignore-too-long): Extract from...
 +      (popup-menu): ...here.
 +      (menu-bar-open): Use it to avoid an error when `lookup-key'
 +      returns a number.
 +
 +2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-call-process): Add traces.
 +      (tramp-handle-unhandled-file-name-directory): Return "/".
 +
 +2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
 +
 +      Sync with upstream verilog-mode revision 3cd8144.
 +      * progmodes/verilog-mode.el (verilog-mode-version): Bump.
 +      (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
 +      (verilog-type-font-keywords): Add nor.
 +      (verilog-batch-execute-func): Force reading of Local Variables.
 +      Fix printing "no changes to be saved" with verilog-batch.
 +      (verilog-auto-arg-ports): Doc fix.
 +      Add verilog-auto-arg-format to support newlines in AUTOARG.
 +      (verilog-auto-arg): Doc fix.
 +
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
 +      * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
 +      * emulation/ws-mode.el: Move to obsolete/.
 +      * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
 +
 +2014-06-02  Eli Zaretskii  <eliz@gnu.org>
  
        * simple.el (keyboard-quit): Force update of mode lines, to remove
        the "Def" indicator, if we were defining a macro.  (Bug#17615)
Simple merge
Simple merge
Simple merge
diff --cc lisp/startup.el
Simple merge
Simple merge
diff --cc nt/INSTALL
Simple merge
diff --cc src/ChangeLog
 -2014-06-04  Eli Zaretskii  <eliz@gnu.org>
++2014-06-08  Eli Zaretskii  <eliz@gnu.org>
+       * sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
+       contains garbage on WINDOWSNT (which could potentially infloop at
+       exit).
+       Minimize cursor motion during TTY menu updates.
 -      * term.c (tty_menu_display): Don't position cursor here.  Instead,
 -      pass the cursor coordinates to update_frame_with_menu.
++      * term.c (tty_menu_display): Don't position cursor here.
++      Instead, pass the cursor coordinates to update_frame_with_menu.
+       (tty_menu_activate): Send the hide cursor command only once in an
+       iteration through the outer 'while' loop.
+       * dispnew.c (update_frame_1): Accept an additional argument
+       SET_CURSOR_P, and position the cursor at the end of the frame
+       update only if that argument is non-zero.  All callers changed to
+       provide the additional argument as non-zero, except for
+       update_frame_with_menu.
+       (update_frame_with_menu): Accept 2 additional arguments ROW and
+       COL; if they are non-negative, instruct update_frame_1 not to
 -      position the cursor, and instead position it according to ROW and
 -      COL.
++      position the cursor, and instead position it according to ROW and COL.
+       * dispextern.h (update_frame_with_menu): Update prototype.
 -2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * callproc.c (call_process): Don't check read-only if we don't insert
+       anything (bug#17666).
 -2014-06-02  Eli Zaretskii  <eliz@gnu.org>
++2014-06-08  Eli Zaretskii  <eliz@gnu.org>
+       * dispnew.c (update_frame_with_menu): Set display_completed.
 -2014-06-01  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-07  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern
 +      only for WINDOWSNT.
 +      * menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT.
 +
 +2014-06-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * term.c (tty_menu_show) [!HAVE_NTGUI]: Now static.
 +      * menu.h (tty_menu_show) [!HAVE_NTGUI]: Omit extern decl.
 +
 +2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.c (Frecenter): Signal an error if window-buffer is not
 +      current-buffer.
 +
 +      * keyboard.c (make_lispy_position): Don't include a buffer position in
 +      mode/header-line mouse events.
 +
 +      * keyboard.c (read_char): Handle (t . <event>) in the second use of
 +      Vunread_command_events (bug#17650).
 +
 +2014-06-06  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * xterm.c (x_setup_pointer_blanking):
 +      Conditionally probe Xfixes until this stuff is stabilized (Bug#17609).
 +
 +2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * keyboard.c, process.c: Do not define POLL_FOR_INPUT here
 +      because it will be defined in generated config.h if needed.
 +
 +2014-06-04  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Use terminal-specific hooks to display popup dialogs.
 +      * termhooks.h (struct terminal): New field popup_dialog_hook.
 +      * menu.c (emulate_dialog_with_menu): New function, refactored from ...
 +      (Fx_popup_dialog): ... adjusted user.  Also remove old #if 0
 +      code and use popup_dialog_hook.
 +      * nsmenu.m (ns_popup_dialog): Make hook-compatible.
 +      * nsterm.h (ns_popup_dialog): Adjust prototype.
 +      * nsterm.m (ns_create_terminal):
 +      * w32term.c (w32_create_terminal):
 +      * xterm.c (x_create_terminal) [USE_X_TOOLKIT || USE_GTK]:
 +      Setup popup_dialog_hook.
 +
 +2014-06-04  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (report_temacs_memory_usage): Improve the report by
 +      reporting the large blocks that are actually occupied at dump time.
 +
 +      * w32console.c (initialize_w32_display): Set the console
 +      menu_show_hook, otherwise TTY menus are broken on w32.
 +
 +2014-06-04  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Use terminal-specific hooks to display menus.
 +      * termhooks.h (struct terminal): New field menu_show_hook.
 +      * menu.h (<anonymous enum>): Bit flags for menu hooks.
 +      (x_menu_show, w32_menu_show, ns_menu_show, tty_menu_show):
 +      Adjust prototypes.
 +      * menu.c (Fx_popup_menu): Use bit flags and menu_show_hook.
 +      * nsmenu.m (ns_menu_show):
 +      * w32menu.c (w32_menu_show):
 +      * xmenu.c (x_menu_show):
 +      * term.c (tty_menu_show): Adjust to use bit flags.
 +      (set_tty_hooks): Set menu_show_hook.
 +      * xterm.c (x_create_terminal):
 +      * nsterm.m (ns_create_terminal):
 +      * msdos.c (initialize_msdos_display):
 +      * w32term.c (w32_create_terminal): Likewise.
 +
 +2014-06-03  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * w32heap.c (DUMPED_HEAP_SIZE) [!_WIN64]: Reduce to 11 MB.
 +
 +2014-06-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * sysselect.h (fd_CLR, fd_ISSET, fd_SET, FD_CLR, FD_ISSET)
 +      (FD_SET): Don't define on WINDOWSNT.
 +
 +2014-06-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * emacs.c: Include "sysselect.h", to define its inline functions.
 +      Problem reported by Glenn Morris in:
 +      http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html
 +
 +      Do not require libXt-devel when building with gtk.
 +      * gtkutil.h, menu.h: Include lwlib-widget.h, not lwlib-h, to avoid
 +      dependency on libXt-devel.
 +      * menu.h [HAVE_NTGUI]: Include lwlib-widget.h in this case too.
 +      (enum button_type, widget_value) [HAVE_NTGUI]: Remove, as
 +      lwlib-widget.h now does this.
 +      * nsmenu.m (ns_menu_show): "enabled" -> "enable" to fix typo.
 +
 +2014-06-03  Paul Eggert  <eggert@penguin.cs.ucla.edu>
 +
 +      If ENABLE_CHECKING, range-check args of FD_CLR, FD_ISSET, FD_SET.
 +      * process.c (add_read_fd, delete_read_fd, add_write_fd)
 +      (delete_write_fd, wait_reading_process_output):
 +      Remove now-redundant easserts.
 +      * sysselect.h (SYSSELECT_H): New macro, to avoid double-inclusion woes.
 +      Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
 +      (fd_CLR, fd_ISSET, fd_SET): New inline functions.
 +      (FD_CLR, FD_ISSET, FD_SET): Redefine in terms of these functions.
 +
 +2014-06-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (DUMPED_HEAP_SIZE): Move from w32heap.h.  Don't use
 +      HEAPSIZE; instead, define separate values for the 32- and 64-bit builds.
 +      (calloc): Don't undef, it is never defined.
 +      (HEAP_ENTRY_SHIFT): Remove unused macro.
 +
 +      * Makefile.in (C_HEAP_SWITCH): Remove.
 +      (ALL_CFLAGS): Don't use $(C_HEAP_SWITCH).
 +
 +      Fix MS-Windows build broken by menu changes on 2014-06-02.
 +      * w32menu.c (w32_menu_show): Fix a typo that broke compilation.
 +
 +      * menu.h (enum button_type, struct _widget_value) [HAVE_NTGUI]:
 +      Define instead of including ../lwlib/lwlib.h, which causes
 +      compilation errors due to missing X11 headers.
 +
 +2014-06-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * process.c (wait_reading_process_output): Omit incorrect test of
 +      p->infd against zero.  Add easserts for infd having a plausible value.
 +
 +2014-06-02  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Adjust to match recent lwlib changes.
 +      * menu.h (xmalloc_widget_value): Replace by ...
 +      (make_widget_value): ... new prototype.
 +      * menu.c (xmalloc_widget_value): Replace by ...
 +      (make_widget_value): ... new function.
 +      (free_menubar_widget_value_tree, digest_single_submenu): Adjust users.
 +      * gtkutil.c (malloc_widget_value, free_widget_value):
 +      (widget_value_free_list, malloc_cpt): Remove old lwlib-compatible code.
 +      * keyboard.h (enum button_type, struct _widget_value):
 +      * gtkutil.h, nsgui.h, w32gui.h (malloc_widget_value, free_widget_value):
 +      Likewise.
 +      * nsmenu.m (ns_update_menubar, ns_menu_show):
 +      * w32menu.c (set_frame_menubar, w32_menu_show, w32_dialog_show):
 +      * xmenu.c (set_frame_menubar, xmenu_show, x_dialog_show): Adjust users.
 +      * xterm.h (XtParent) [USE_GTK]: Remove unused macro.
 +
 +2014-06-02  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * image.c (x_query_frame_background_color)
 +      [HAVE_PNG || HAVE_NS || HAVE_IMAGEMAGICK || HAVE_RSVG]:
 +      Fix --enable-gcc-warnings compilation without image libraries.
 +
 +2014-06-02  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (malloc_after_dump, realloc_after_dump): Update the
 +      emulated break value only if it goes up.
 +      (sbrk): Add assertion that the INCREMENT argument is strictly
 +      zero.  Improve and correct the commentary.
 +
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Improve AIX-related merge from emacs-24.
 +      * conf_post.h (FLEXIBLE_ARRAY_MEMBER): Fix comment.
 +      * lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're
 +      not on AIX; since we're on the trunk we can use enums more broadly.
  
        * frame.c (x_set_frame_parameters): Don't read uninitialized storage.
  
diff --cc src/callproc.c
Simple merge
diff --cc src/sysdep.c
Simple merge
diff --cc src/term.c
Simple merge