-2013-03-11 Glenn Morris <rgm@gnu.org>
+2013-06-01 Eli Zaretskii <eliz@gnu.org>
- * Version 24.3 released.
+ * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
+ avoid multiple definition errors on MinGW64.
-2012-11-24 Paul Eggert <eggert@cs.ucla.edu>
+2013-05-31 Eli Zaretskii <eliz@gnu.org>
- Revert recent change for Bug#8855; see ../src/ChangeLog.
+ * 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.
+
+ * README.W32: A better documentation of ddeclient.exe.
+
+ * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
+ subdirectories.
+
+2013-03-30 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (TERM_HEADER): Remove definition.
+
+ * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
+ ms-w32.h.
+
+2013-03-29 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
+
+ * config.nt (HAVE_COPYSIGN): Define.
+
+2013-03-29 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (HAVE_XKBGETKEYBOARD): Remove.
+ (HAVE_XKB): New macro.
+
+2013-03-27 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
+ (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
+ Depend on .exe files.
+
+ * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
+ avoid MinGW64 compiler warnings in editfns.c.
+
+ Fix rules for parallel builds.
+ * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
+ without the .exe suffix.
+ (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
+ targets.
+ (.PHONY): Remove.
+
+ * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
+ headers, since that's where _W64 is declared by MinGW64.
+
+2013-03-26 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
+ (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
+
+ * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
+ define for MinGW64.
+
+ * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
+ for MinGW64.
+
+ Fix more incompatibilities between MinGW.org and MinGW64 headers
+ reported by Óscar Fuentes in
+ http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
+ http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
+ and in
+ http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
+ * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
+ For MinGW64, include sys/types.h and time.h.
+ (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
+
+ * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
+
+ * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
+ _W64.
+ (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
+ _TIMEZONE_DEFINED.
+
+ * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
+
+ * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
+ lstat, and fstatat.
+
+2013-03-25 Eli Zaretskii <eliz@gnu.org>
+
+ Fix incompatibilities between MinGW.org and MinGW64 headers
+ reported by Óscar Fuentes in
+ http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
+ * inc/ms-w32.h (struct timespec): Don't define if
+ _TIMESPEC_DEFINED is already defined.
+ (sigset_t) [!_POSIX]: Typedef for MinGW64.
+ (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
+ including the first system header, to avoid redefinition if some
+ system header defines a default value.
+
+ * inc/sys/time.h (struct itimerval): Don't define if
+ _TIMESPEC_DEFINED is already defined.
+
+2013-03-16 Eli Zaretskii <eliz@gnu.org>
+
+ Fix the MSVC build. (Bug#13939)
+ * inc/stdint.h (UINTPTR_MAX): Define.
+
+ * nmake.defs (libc): Fix syntax of !if conditional.
+
+2013-03-15 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
+ (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
+ (HAVE_FDATASYNC): New macros.
+
+2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ File synchronization fixes (Bug#13944).
+ * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
+
+2013-03-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
+ * inc/unistd.h (O_NOFOLLOW): New macro.
+
+2013-03-04 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (DATA_START, ORDINARY_LINK): Remove.
+ (HAVE_DATA_START, HAVE__PUTENV): New macros.
+
+2013-02-25 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (BOOT_TIME_FILE): Define.
+
+ * config.nt (CLASH_DETECTION): Define to 1.
+
+2013-02-16 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
+ (Bug#9066)
+ (chown, logb): Remove, unused.
+
+2013-02-13 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (GC_MARK_STACK): Remove.
+ (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
+ (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
+ (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
+
+2013-02-12 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h: Add prototype for memrchr.
+
+2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
+ * inc/sys/stat.h (fstatat):
+ * inc/unistd.h (readlinkat): New decls.
+
+2013-01-28 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/dirent.h (opendir): Update prototype.
+
+2013-01-11 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
+ used in term.c. (Bug#13387)
+
+2013-01-09 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
+
+2012-12-24 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
+ in lib/filemode.c that broke the MS-Windows build.
+ Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
+
+2012-12-17 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (BSD4_2): Remove.
+
+2012-12-17 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/sys/acl.h: New file.
+
+ * inc/ms-w32.h (ENOTSUP): Define if undefined.
+
+ * config.nt (HAVE_POSIX_ACL): Define.
+
+2012-12-15 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (sys_unlink): Provide prototype.
+
+2012-12-14 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/sys/stat.h: Declare w32_stat_get_owner_group.
+
+2012-12-13 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
+
+2012-12-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
+ (ULIMIT_BREAK_VALUE): Remove.
+
+2012-12-10 Daniel Colascione <dancol@dancol.org>
+
+ * emacs.rc: Use forward slashes in relative paths in order to
+ avoid complaints from Cygwin. (Forward slashes work perfectly
+ well in the NT build.)
+
+2012-12-09 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (unsetenv): Provide a prototype.
+
+2012-12-08 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/ms-w32.h (putenv): Redirect to sys_putenv.
+ (sys_putenv): Add prototype.
+
+ * config.nt (HAVE_UNSETENV): Define to 1.
+
+2012-12-01 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+
+2012-11-24 Ken Brown <kbrown@cornell.edu>
+
+ * config.nt (HAVE_MOUSE): Remove.
+
+2012-11-23 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
+ Remove.
2012-11-23 Eli Zaretskii <eliz@gnu.org>
- Fix a race condition with glib (Bug#8855).
- This is a backport from the trunk, consisting of:
+ * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
+ (Bug#12955)
+
+ * nmake.defs (SWITCHCHAR): Define to /.
+
+2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
+ * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
+ (struct dirent): Rename from struct direct. All uses changed.
+ * inc/sys/dir.h: Remove.
+
+2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
+ * config.nt (HAVE_GETCWD): Remove.
+
+2012-11-21 Eli Zaretskii <eliz@gnu.org>
+
+ * nmake.defs: Use !if, not !ifdef. For the details, see
+ http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
+
+ * inc/stdint.h (INTPTR_MIN):
+ (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
+
+2012-11-18 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
+
+2012-11-17 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (HAVE_FPATHCONF): Remove.
+
+2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
+ * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
+ POSIX name for this flag is O_NONBLOCK. All uses changed.
+ * inc/unistd.h (O_RDWR, O_NOCTTY): New macros. Like AT_FDCWD etc.
+ these really should be moved to a replacement <fcntl.h> if and
+ when that gets implemented. In the meantime, include <fcntl.h>
+ to make sure we don't override its definitions.
+
+2012-11-17 Eli Zaretskii <eliz@gnu.org>
* inc/sys/wait.h: New file, with prototype of waitpid and
definitions of macros it needs.
+
* inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
(sys_wait): Remove prototype.
+
* config.nt (HAVE_SYS_WAIT_H): Define to 1.
-2012-11-20 Eli Zaretskii <eliz@gnu.org>
+2012-11-17 Dani Moncayo <dmoncayo@gmail.com>
- * nmake.defs: Use !if, not !ifdef. See
- http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
- for the details.
+ * zipdist.bat (ZIP_CHECK): Remove unused label. When invoking 7z
+ to check if it's installed, redirect standard output and standard
+ error to the null device.
+ (ZIP_DIST): Don't build the "barebin" distribution.
+
+2012-11-15 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
+ (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
+ New macros.
+
+2012-11-14 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (faccessat): Add prototype.
+ (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
+ 2 moved from ms-w32.h.
- * inc/stdint.h (INTPTR_MIN): Define for MSVC.
+ * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
+
+2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use faccessat, not access, when checking file permissions (Bug#12632).
+ * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
+ (access): Remove.
+ (faccessat): New macro.
+
+2012-11-05 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
+
+2012-11-05 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
+ (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
+
+2012-11-04 Juanma Barranquero <lekktu@gmail.com>
+
+ * config.nt: Sync with autogen/config.in.
+ (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
-2012-11-19 Eli Zaretskii <eliz@gnu.org>
+2012-11-03 Eli Zaretskii <eliz@gnu.org>
- * inc/stdint.h (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
+ * config.nt (PENDING_OUTPUT_N_BYTES): Define.
2012-11-01 Eli Zaretskii <eliz@gnu.org>