* lisp/progmodes/perl-mode.el: Use lexical-binding.
[bpt/emacs.git] / ChangeLog
index a073ea4..f1eec73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,412 @@
+2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Improve support for popcount and counting trailing zeros (Bug#15550).
+       Do this by using the Gnulib modules for this.
+       This should generate faster code on non-GCC, non-MSC platforms,
+       and make the code a bit more portable, at least in theory.
+       * lib/count-one-bits.c, lib/count-one-bits.h:
+       * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h:
+       * m4/count-one-bits.m4, m4/count-trailing-zeros.m4:
+       New files, copied from gnulib.
+       * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
+
+2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use hardware insns for byteswapping on glibc hosts that support it.
+       * lib/byteswap.in.h, m4/byteswap.m4: New files, copied from Gnulib.
+       * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
+
+2013-10-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2013-10-02 verify: new macro 'assume'
+       2013-09-26 dup2, dup3: work around another cygwin crasher
+       2013-09-26 getdtablesize: work around cygwin issue
+
+2013-09-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2013-09-24 manywarnings: enable nicer gcc warning messages
+       2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3
+       2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere
+       * configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option
+       and -funit-at-a-time, since manywarnings does that for us now.
+
+2013-09-23  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * configure.ac: With clang, check for and use -Wno-switch,
+       -Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign.
+
+2013-09-23  Daniel Colascione  <dancol@dancol.org>
+
+       * configure.ac: Check for valgrind headers.
+
+2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * INSTALL: New homepage of libtiff.
+
+2013-09-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Work around performance bug on OS X 10.8 and earlier.
+       Perhaps Apple will fix this bug some day.
+       See the thread starting with Daniel Colascione's email in:
+       http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00343.html
+       * configure.ac (FORTIFY_SOUR): New verbatim section.
+
+2013-09-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2013-09-19 stdio: OS X port of putc_unlocked + extern inline
+       2013-09-19 signal: OS X port of sigaddset etc. + extern inline
+       2013-09-19 extern-inline: do not always suppress extern inline on OS X
+       2013-09-17 getgroups: statement without effect
+       2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined
+
+2013-09-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac <srcdir> [MINGW32]: Make sure the value of 'srcdir'
+       is in the full /d/foo/bar form.  See the discussion in
+       http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00210.html,
+       and in particular
+       http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00252.html
+       and its followups, for the details.
+
+2013-09-17  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * configure.ac: Do not check for g_type_init because we
+       require glib >= 2.28 for GTK3, glib >= 2.10 for GTK2,
+       glib >= 2.26 for GSettings and glib >= 2.7.0 for GConf, so
+       suitable glib should provide g_type_init unconditionally.
+
+2013-09-15  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * configure.ac: Add check for OSX 10.5, required for macfont.o.
+
+2013-09-09  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (LDFLAGS_NOCOMBRELOC): New variable.
+       (LDFLAGS): Move nocombreloc option from here...
+       (LD_SWITCH_SYSTEM_TEMACS): ... to here.
+
+2013-09-08  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (--without-compress-install):
+       Rename from --without-compress-info.  (Bug#9789)
+       (GZIP_INFO): Remove.
+       (GZIP_PROG): Allow --without-compress-install to disable it.
+       * Makefile.in (GZIP_INFO): Remove all references.
+
+       * info/dir: Tweak emacs-gnutls entry.
+
+2013-09-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port --without-x --enable-gcc-warnings to Fedora 19.
+       * configure.ac (WERROR_CFLAGS): Omit redundant use of
+       -Wmissing-field-initializers, -Wswitch, -Wtype-limits,
+       -Wunused-parameter.  If there is no window system, also omit
+       -Wsuggest-attribute=const and -Wsuggest-attribute=noreturn; this
+       is needed for Fedora 19.
+
+2013-09-05  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Make --without-x compatible with --enable-gcc-warnings.
+       * configure.ac: If both --without-x and --enable-gcc-warnings are
+       specified, use -Wno-unused-variable, -Wno-unused-but-set-variable
+       and -Wno-unused-but-set-parameter.
+
+2013-09-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Makefile improvements.
+       * Makefile.in (lib): Depend on am--refresh, to avoid a race.
+       (src): Remove duplicate dependency on FRC.
+       Invoke just one submake, not two.  Avoid the need for 'pwd'.
+
+2013-09-02  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * configure.ac: Add ns_check_file.
+
+2013-08-31  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (--with-sound): Rename ossaudio to bsd-ossaudio,
+       and voxware to oss.
+
+2013-08-31  Ulrich Müller  <ulm@gentoo.org>
+
+       * configure.ac: Allow for --with-sound=voxware that will enable
+       sound but otherwise disable ALSA.  This will use the OSS device,
+       typically /dev/dsp, for sound output.  (Bug#15067)
+
+2013-08-31  Glenn Morris  <rgm@gnu.org>
+
+       * make-dist: Update for nt/INSTALL* changes.
+
+2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
+       for portability to hosts where /bin/sh has problems.
+
+2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * configure.ac (DOCMISC_W32): New var to replace DOCMISC_*_W32.
+
+2013-08-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Simplify EMACS_TIME-related code.
+       Merge from gnulib, incorporating:
+       2013-08-27 timespec: new convenience constants and function
+
+2013-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32)
+       (DOCMISC_PDF_W32, DOCMISC_PS_W32): No spaces!
+
+2013-08-27  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (emacs_broken_SIGIO): No longer set on gnu-kfreebsd.
+
+       * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32)
+       (DOCMISC_PDF_W32, DOCMISC_PS_W32): New output variables.
+       * Makefile.in (check-info-dir): Ignore efaq-w32.
+
+       * Makefile.in (mostlyclean, clean, distclean, bootstrap-clean)
+       (maintainer-clean, check-declare): Remove pointless subshells.
+       Check cd return value.
+
+2013-08-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Minor merge from gnulib (mostly just for texinfo.tex).
+
+2013-08-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically (Bug#13274).
+       This improves on the patch already installed, by quoting options
+       that contain spaces and suchlike systematically, so that
+       EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain
+       these characters.
+
+2013-08-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port close-on-exec pty creation to FreeBSD 9.1-RELEASE (Bug#15129).
+       * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
+       and reports EINVAL, try it again without O_CLOEXEC.  This should
+       port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
+       What were they thinking?
+
+2013-08-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
+       Fix shell-operator precedence problem in previous change.
+
+2013-08-20  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
+       Clean test/automated if present.
+
+2013-08-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2013-08-15 warnings: minor optimization
+       2013-08-15 warnings: check -Wfoo rather than -Wno-foo
+
+2013-08-15  Ken Brown  <kbrown@cornell.edu>
+
+       * configure.ac (G_SLICE_ALWAYS_MALLOC): Update comment.
+
+2013-08-15  Glenn Morris  <rgm@gnu.org>
+
+       * make-dist: Do not distribute etc/refcards TeX intermediate files.
+       * Makefile.in (install-arch-indep):
+       Do not install etc/refcards TeX intermediate files.
+
+2013-08-14  Ulrich Müller  <ulm@gentoo.org>
+
+       * configure.ac (EMACS_CONFIGURATION): Escape backslashes.  (Bug#15091)
+
+2013-08-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac (HAVE_ZLIB): Don't use -lz on MinGW.
+
+2013-08-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Minor zlib configuration tweaks.
+       * configure.ac (HAVE_ZLIB): Don't assume zlib is linked if PNG is.
+
+2013-08-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ.
+
+2013-08-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2013-08-11 fpending: port to recent Cygwin change to stdio_ext.h
+       2013-08-10 sys_time: port to OpenBSD
+
+2013-08-12  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (etcdocdir): Rename from docdir, to avoid confusion
+       with configure's standard --docdir argument.  All uses updated.
+       * Makefile.in (etcdocdir): Rename from docdir.  All uses updated.
+       (install-etcdoc): Rename from install-doc.  All uses updated.
+       (uninstall): Run uninstall-doc.
+       (PSS): Add misc-ps.
+       (INSTALL_DVI, INSTALL_HTML, INSTALL_PDF, INSTALL_PS)
+       (INSTALL_DOC, UNINSTALL_DVI, UNINSTALL_HTML, UNINSTALL_PDF)
+       (UNINSTALL_PS, UNINSTALL_DOC): New variables.
+       ($(INSTALL_DOC), install-doc, install-dvi, install-html, install-pdf)
+       (install-ps, $(UNINSTALL_DOC), uninstall-doc, uninstall-dvi)
+       (uninstall-html, uninstall-pdf, uninstall-ps): New .PHONY rules.
+
+2013-08-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Add --with-zlib to 'configure'.
+       * configure.ac: Add --with-zlib option to 'configure', so that Emacs
+       can be built without zlib.  Don't assume that -lz is needed on
+       non-PNG hosts.  Mention zlib configuration status in 'configure' output.
+
+2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * configure.ac: Test for zlib.
+
+2013-08-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac: Define and substitute UPDATE_MANIFEST.
+
+2013-08-04  Stephen Berman  <stephen.berman@gmx.net>
+
+       * info/dir: Add todo-mode.
+
+2013-08-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix some minor races in hosts lacking mkostemp (Bug#15015).
+       Gnulib's emulation of mkostemp doesn't have races that Emacs's does.
+       * configure.ac (mkostemp): Remove check for this function;
+       gnulib does the check now.
+       (mkstemp): Remove check for this no-longer-used function.
+       * lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h:
+       * m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4:
+       New files, copied from Gnulib.
+       * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
+
+2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       * INSTALL (DETAILED BUILDING AND INSTALLATION): Add
+       --without-file-notification to --without-all.
+
+2013-07-29  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * INSTALL: Fix description.
+
+2013-07-27  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac: Extend the --with-sound option to allow
+       specification of OSS or ALSA (see bug#14812#64).
+
+2013-07-25  Glenn Morris  <rgm@gnu.org>
+
+       * info/dir: Add ido.
+
+       * make-dist: Add a --tests option, to include test/.
+
+2013-07-24  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS.
+
+2013-07-23  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (etc, lisp): No need to create specially.
+       Configure already creates lisp, src/Makefile now creates etc.
+
+2013-07-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port to GNU/Linux systems with tinfo but not ncurses.
+       * configure.ac (USE_NCURSES): New symbol.
+
+2013-07-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix array bounds violation when pty allocation fails.
+       * configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE,
+       not sizeof pty_name, since pty_name is now a pointer to the array.
+
+2013-07-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * configure.ac: Simplify --with-file-notification handling.
+
+2013-07-12  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac: If with-file-notification=yes, if gfile not found,
+       go on to try inotify (not on MS Windows or Nextstep).
+
+2013-07-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix races with threads and file descriptors.
+       * configure.ac (PTY_TTY_NAME_SPRINTF): Use emacs_close, not close.
+
+2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * Makefile.in (removenullpaths): Remove adjacent null paths (Bug#14835).
+
+2013-07-09  Peter Rosin  <peda@lysator.liu.se>  (tiny change>
+
+       * configure.ac (HAVE_W32): Avoid nested functions (the second
+       argument of AC_LANG_PROGRAM is already expanded inside a
+       function).  (Bug#14830)
+
+2013-07-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port recent close-on-exec changes to Cygwin (Bug#14821).
+       * lib/binary-io.c, lib/binary-io.h: New files.
+       Merge from gnulib, incorporating:
+       2013-07-09 accept4, dup3, pipe2: port to Cygwin
+       * lib/pipe2.c: Update from gnulib, as part of this merge.
+       * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
+
+       Handle errno and exit status a bit more carefully.
+       * lib/ignore-value.h: Remove this gnulib-imported file.
+       * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
+
+2013-07-08  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
+
+       * configure.ac (HAVE_IMAGEMAGICK): Check on NS also (Bug#14798).
+
+2013-07-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Try to fix FreeBSD 9.1 porting problem (Bug#14812).
+       This incorporates the following merge from gnulib:
+       2013-07-07 stdalign, verify: port to FreeBSD 9.1, to C11, and to C++11
+
+2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port to Ubuntu 10 (Bug#14803).
+       * configure.ac (accept4): New function to check for.
+
+       Make file descriptors close-on-exec when possible (Bug#14803).
+       * configure.ac (mkostemp): New function to check for.
+       (PTY_OPEN): Pass O_CLOEXEC to posix_openpt.
+       * lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4:
+       * m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib.
+       * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
+
+2013-07-03  Christoph Egger  <christoph@debian.org>  (tiny change)
+
+       * configure.ac (emacs_broken_SIGIO): Set on gnu-kfreebsd to avoid hang.
+       http://bugs.debian.org/712974
+
+2013-07-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Remove some unused macros from 'configure'.
+       * configure.ac (HAVE_SOUNDCARD_H, HAVE_LINUX_VERSION_H, HAVE_SPEED_T)
+       (HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY)
+       (HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION, HAVE_UTIMES)
+       (HAVE_LIBHESIOD, HAVE_LIBRESOLV, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
+       (HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
+       (HAVE_LIBKRB4, HAVE_LIBKRB, HAVE_DES_H, HAVE_KERBEROSIV_DES_H)
+       (HAVE_DEV_PTMX, DEVICE_SEP, USG5):
+       Remove these macros, as they are not used.
+       (sys_siglist): Remove macro; src/sysdep.c now does this.
+
+       * configure.ac (GTK_COMPILES): Check API a bit more carefully.
+       Also check that it links.  Say whether it compiled and linked.
+
 2013-07-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        Merge from gnulib, incorporating:
        * Makefile.in (install-arch-indep): Do not create directories passed
        with --enable-locallisppath.
 
-2013-06-24  Glenn Morris  <rgm@fencepost.gnu.org>
+2013-06-24  Glenn Morris  <rgm@gnu.org>
 
        * configure.ac: Include X11/X.h when testing for Xft.h.  (Bug#14684)
 
        * Makefile.in (install-arch-indep, install-doc, install-info)
        (uninstall): Scrap superfluous subshells.
 
-2012-05-19  Ulrich Mueller  <ulm@gentoo.org>
+2012-05-19  Ulrich Müller  <ulm@gentoo.org>
 
        * Makefile.in (install-etc): Respect DESTDIR.  (Bug#11518)
 
        * Makefile.in (install-arch-indep, info):
        Replace MAKEINFO = off with HAVE_MAKEINFO = no.
 
-2010-12-29  Ulrich Mueller  <ulm@gentoo.org>
+2010-12-29  Ulrich Müller  <ulm@gentoo.org>
 
        * configure.in: Make gameuser configurable (Bug#7717).
 
 
        * info/dir: Untabify.
 
-2008-11-28  Ulrich Mueller  <ulm@gentoo.org>
+2008-11-28  Ulrich Müller  <ulm@gentoo.org>
 
        * configure.in: Fix last change.
 
        * configure (*-sunos5*, *-solaris*): Use the new file sol2-10.h.
        Use sol2-6.h for Solaris 7-9.
 
-2008-10-18  Ulrich Mueller  <ulm@gentoo.org>
+2008-10-18  Ulrich Müller  <ulm@gentoo.org>
 
        * configure.in: Add support for GNU/Linux on SuperH.
 
 
        * configure.in (COCOA_EXPERIMENTAL_CTRL_G): Fix 2008-08-04 change.
 
-2008-08-05  Ulrich Mueller  <ulm@gentoo.org>
+2008-08-05  Ulrich Müller  <ulm@gentoo.org>
 
        * configure.in: Add checks for krb5_error.text and
        krb5_error.e_text struct members.
        * configure.in (--with-gcc): Remove.
        * INSTALL (DETAILED BUILDING AND INSTALLATION): Remove --with-gcc.
 
-2008-02-05  Ulrich Mueller  <ulm@gentoo.org>
+2008-02-05  Ulrich Müller  <ulm@gentoo.org>
 
        * INSTALL: Recommend giflib, not libungif.
 
        * configure.in: For libotf and m17n-flt checks, set shell vars
        HAVE_LIBOTF and HAVE_M17N_FLT instead of pkg_check_libotf and
        pkg_check_m17n_flt, respectively, for the sake of the summary output.
-       Reported by Ulrich Mueller.
+       Reported by Ulrich Müller.
 
 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
 
 
        * configure.in: Put quotes around nested macro calls.
 
-2007-08-31  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
+2007-08-31  Ulrich Müller  <ulm@gentoo.org>  (tiny change)
 
        * configure.in: Fix typo.
        * configure: Regenerate.