Merge from mainline.
[bpt/emacs.git] / nt / ChangeLog
index 3d2c0e1..c0598dd 100644 (file)
@@ -1,3 +1,141 @@
+2013-07-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
+       (FD_CLOEXEC): New macros.
+
+2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Make file descriptors close-on-exec when possible (Bug#14803).
+       * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
+       otherwise, gnulib-tool complains given close-on-exec changes.
+       * inc/ms-w32.h (pipe): Remove.
+       * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
+       (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
+
+2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * configure.bat: Add warning to the help text about using the
+       MSYS/MinGW building procedure.
+
+2013-06-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * INSTALL.MSYS: mingw-get is not a GUI program (yet).
+       msys-automake is not suitable for MinGW builds.  Mention the
+       --enable-locallisppath switch to msysconfig.sh.  Suggested by
+       Óscar Fuentes <ofv@wanadoo.es>.
+
+2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
+
+       * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
+
+2013-06-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
+
+2013-06-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/sys/time.h (struct timeval): Remove the _W64 guards.
+
+2013-06-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
+       avoid multiple definition errors on MinGW64.
+
+2013-05-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
+       'restrict', which is a C99 extension.  See
+       http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
+       and the following discussion for the problem this caused in the
+       old nt/configure.bat build.
+
+2013-05-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (emacs.res): Include srcdir when preprocessing
+       resources, for out-of-tree builds.
+       (mostlyclean): Remove *.res files.
+
+2013-05-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * runemacs.c (WinMain): Support invocation of un-installed
+       nt/runemacs.exe, by looking for src/emacs.exe.
+
+2013-05-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
+
+       * msysconfig.sh: New file.
+
+       * mingw-cfg.site: New file.
+
+       * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
+
+       * inc/unistd.h: Include pwd.h and sys/types.h.
+
+       * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
+       (timerclear): Define.
+       (gettimeofday): Adjust signature to be Posix compatible, by using
+       the 'restrict' keyword.
+
+       * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
+       (struct _stat, struct _stati64): Define.
+
+       * inc/sys/socket.h (timeval): Define only for MSVC.
+       (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
+       EMACS_CONFIG_H is defined.
+       (timeval): Undefine only for MSVC.
+
+       * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
+       (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
+       (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
+       (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
+       (fileno): Move definition after including stdio.h.
+       (sigset_t): Guard typedef by _W64.
+
+       * gnulib.mk: New file.
+
+       * epaths.nt: New file.
+
+       * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
+       copy of the file names there.
+       <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
+       literal strings.
+
+       * Makefile.in: New file.
+
+       * INSTALL.MSYS: New file.
+
+       * INSTALL: Mention INSTALL.MSYS.
+
+2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
+
+2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * config.nt: Sync with autogen/config.in.
+       (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
+       (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
+       (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
+       (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
+       (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
+       (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
+       (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
+       (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
+       (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
+       (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
+
+2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
+       * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
+       * inc/ms-w32.h (EOPNOTSUPP): New macro.
+
+2013-04-09  Ken Brown  <kbrown@cornell.edu>
+
+       * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
+       (Bug#12993)
+
 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
 
        * README: A better documentation of ddeclient.exe.
 
 2012-09-01  Daniel Colascione  <dancol@dancol.org>
 
-       * inc/ms-w32.h (TERM_HEADER): Add for refactoring
+       * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
 
 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
 
        (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
        (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
        here.
-       (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
-       on create-tmp-dist-dir.
+       (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
+       Depend on create-tmp-dist-dir.
 
        * nmake.defs (DIRNAME): New variable.
        (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of