Assume POSIX 1003.1-1988 or later for fcntl.h.
[bpt/emacs.git] / nt / ChangeLog
index f2a5281..910ef21 100644 (file)
@@ -1,3 +1,194 @@
+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-17  Dani Moncayo  <dmoncayo@gmail.com>
+
+       * 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/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-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * config.nt (PENDING_OUTPUT_N_BYTES): Define.
+
+2012-11-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
+
+       * config.nt (GETPGRP_VOID): Define to 1.
+
+2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
+
+       * config.nt: Sync with autogen/config.in.
+
+2012-10-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/pwd.h (getuid, geteuid): Add prototypes.
+
+       * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
+       (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
+       (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
+       (sys_kill, getpagesize): Add prototypes for emulated functions.
+
+       * inc/grp.h (getgid, getegid): Add prototypes.
+
+       * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
+
+       * configure.bat (chkapiN): Avoid compiler warning in junk.c when
+       compiling with -std=gnu99.
+
+       * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
+       could be used via --cflags switch to configure.bat.
+
+2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * config.nt: Sync with autogen/config.in.
+       (HAVE_NTGUI): New macro.
+
+2012-10-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
+       compiler warnings when using the value.
+
+2012-10-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
+       'void *', for pointer arithmetics.
+       (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
+       macro arguments in parentheses.
+
+2012-09-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
+
+2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
+
+       * inc/sys/socket.h: Don't map Winsock error codes to standard ones
+       that are already defined.
+
+       * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
+       (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
+       [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
+
+       * preprep.c (pfnCheckSumMappedFile, rva_to_section)
+       (offset_to_section, relocate_offset, OFFSET_TO_RVA)
+       (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
+       (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
+       (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
+       Use DWORD_PTR instead of DWORD for compatibility with x64.
+
+       * nmake.defs: Support AMD64.
+       (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
+
+       * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
+       New macros.
+
+       * addsection.c (pfnCheckSumMappedFile, rva_to_section)
+       (offset_to_section, relocate_offset, OFFSET_TO_RVA)
+       (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
+       (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
+       (copy_executable_and_add_section, main): Use DWORD_PTR instead of
+       DWORD, for compatibility with x64.
+
+       * emacs-x64.manifest: New file.
+
+       * emacs-x86.manifest: Renamed from emacs.manifest.
+
+2012-09-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
+       (struct itimerval): Define.
+       (getitimer, setitimer): Add prototypes.
+
+       * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
+       with MinGW.
+       (SA_RESTART, SIGPROF): Define.
+
+       * config.nt (HAVE_SETITIMER): Define to 1.
+
+2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * config.nt: Sync with autogen/config.in.
+
+2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
+
+       * config.nt: Sync with autogen/config.in.
+       (HAVE_TIMER_SETTIME): New macro.
+
+2012-09-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
+
+2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Simplify and avoid signal-handling races (Bug#12471).
+       * inc/ms-w32.h (emacs_raise): New macro.
+
+2012-09-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.bat: Include stddef.h before gif_lib.h, to have size_t
+       defined, as needed by giflib-5.0.0.  (Bug#12464)
+
+2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * config.nt: Sync with autogen/config.in.
+       (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
+
 2012-09-17  Glenn Morris  <rgm@gnu.org>
 
        * config.nt (COPYRIGHT): New.
 
 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
 
-       * README.W32: Clarification for inclusion in source tarball. (Bug#9750)
+       * README.W32: Clarification for inclusion in source tarball (bug#9750).
 
        * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
 
        * makefile.w32-in (maybe-copy-distfiles)
        (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
        (create-tmp-dist-dir): Add to make --distfiles optional.
-       (dist): Use create-tmp-dist-dir and maybe-copy-distfiles. (Bug#10261)
+       (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
 
 2012-02-04  Eli Zaretskii  <eliz@gnu.org>