OSDN Git Service

Update NEWS for MSVCRT_VERSION and _CRTALIAS of time functions.
[mingw/mingw-org-wsl.git] / ChangeLog
index 1ff2b5b..2b7abc9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,266 @@
+2013-06-16  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * NEWS: Add text for MSVCRT_VERSION and for the _CRTALIAS 32bit time_t
+       definitions.
+       * include/_mingw.h (GCC system_header): Add a __CRT_TESTING__ filter.
+       * include/string.h (GCC system_header): Ditto.
+       * include/sys/stat.h (GCC system_header): Ditto.
+       (string.h): Move the include toward the top of the file.
+       (extern "C" {): Move above the filters so that it is not incorrectly
+       conditional.
+       Correct some comments and move the opening brace to the function
+       definition line throughout.
+       * include/sys/utime.h (utime): Move declaration to after the declaration
+       of _utime64().  Create a _CRTALIAS when _USE_32BIT_TIME_T is undefined.
+       Add datatype specifiers within the _CRTALIAS definitions throughout.
+       * include/wchar.h (GCC system_header): Add a __CRT_TESTING__ filter.
+       (FILENAME_MAX): Define macro if not already defined.
+       Correct comments throughout.
+       Correct #if...#endif misaligned pair.
+       (wcsicmp): Use _CRTALIAS instead of __CRT_INLINE since it is a one line
+       function definition.
+       (*wfinddata*): Use FILENAME_MAX throughout.
+       (_wstat32): Make a _CRTALIAS rather than a _CRTIMP.
+       (_wstat64i32): Use __CRT_MAYBE_INLINE instead of __CRT_INLINE.
+       (_wstat32i64): Define.
+       (_wstat, _wstati64): Remove the MSVCRT_VERSION >= 800 filter.
+
+2013-06-07  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/_mingw.h (_CRTALIAS): Add comments explaining its purpose.
+       (__CRT_MAYBE_INLINE): New macro that may be defined as __CRT_INLINE or
+       empty depending on __NO_INLINE__.
+       * include/stat.h (_fstat64i32(), _fstat32i64(), _stat64i32(),
+       _stat32i64(), _wstat64i32(), _wstat32i64()): Use __CRT_MAYBE_INLINE
+       instead of guarding with __NO_INLINE__ since the functions need to be
+       always created.
+       * include/wchar.h (_utimbuf, _utimbuf32, _utimbuf64, _wutime(),
+       _wutime32(), _wutime64()): MSDN declares these can be declared/defined
+       by including wchar.h.
+       * include/utime.h: Care for _USE_32BIT_TIME_T in same fashion as time.h.
+
+
+2013-06-07  Jan Nijtmans <nijtmans@users.sourceforge.net>
+
+       * include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for
+       _CRTALIAS of _wctime.
+
+2013-06-05  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Provide more robust inverse hyperbolic sine functions.
+
+       * src/libcrt/math/asinh.c: Rewritten; it now provides a generic
+       implementation for asinh(), asinhf(), and asinhl() functions; thus...
+       * src/libcrt/math/asinhf.c src/libcrt/math/asinhl.c: ...are obsolete;
+       delete them.
+
+       * Makefile.in (math_SOURCES): Remove references for asinh[fl].c
+       (libmingwex_a_OBJECTS): Add explicit references to create associated
+       object files, from the common generic source, together with build
+       rules to compile them.
+
+2013-06-05  Mark  <mabrand@users.sourceforge.net>
+
+       * include/shlobj.h (SHGetFolderPath): Correct typo for UNICODE define.
+
+2013-06-05  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * Makefile.in (libshell32.a): We needed to add src/libshell32/shell32.o
+       object to the library.
+       (lib/libshell32/shell32.o): Added a target to create this file.
+
+2013-06-04  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/_mingw.h (MSVCRT_VERSION): Determine a value based on the
+       _WIN32_WINNT value. Add a TODO for check to see if the older
+       __MSVCRT_VERSION__ macro is defined and use it as the value for
+       MSVCRT_VERSION.  Give an error if both MSVCRT_VERSION and
+       __MSVCRT_VERSION__ are defined and the values do not match.
+       Remove warnings for value when _USE_32BIT_TIME_T is defined.
+       * include/io.h (_wfindfirst32, _wfindfirst64): Correct declaration of
+       parameter data type. Create _CRTALIAS rather than declaring _CRTIMP.
+       (_findfirst32(), _findnext32()): Create _CRTALIAS rather than declaring
+       a _CRTIMP.
+       (_findfirst64i32, _findfirst32i64, _findnext64i32, _findnext32i64):
+       Remove the _CRTIMP from the declaration, these become inline functions.
+       Also guard for __NO_INLINE__ and make appropriate defined alternatives.
+       (_wfindfirst64i32, _wfindfirst32i64, _wfindnext64i32, _wfindnext32i64):
+       Ditto.
+       * include/sdkddkver.h (_WIN32_WINNT_WIN8): Add definition.
+       * include/sys/stat.h (_stat32, _fstat32, _wstat32): Define as a
+       _CRTALIAS.
+       (_fstat32i64, _stat32i64, _wstat32i64): Add as __CRT_INLINE functions
+       and make appropriate alternative macros for __NO_INLINE__ use.
+       * include/sys/timeb.h (_time32): Create _CRTALIAS when MSVCRT_VERSION
+       < 800.
+       * include/sys/types.h (MSVCRT_VERSION): Remove guard for >= 800 with
+       _USE_32BIT_TIME_T.
+       * include/time.h (_time32, _difftime32, _mktime32, _ctime32, _gmtime32,
+       _localtime32, _wctime32): Create _CRTALIAS when MSVCRT_VERSION < 800.
+       (_difftime64, _mkgtime64): Guard declaration for MSVCRT_VERSION > 800.
+       These functions do not exist in MSVCRT.DLL before Vista.
+       * include/wchar.h (_wctime32): Create _CRTALIAS when MSVCRT_VERSION
+       < 800.
+       (_wfindfirst32, _wfindnext32): Create _CRTALIAS.
+       * include/objdump.h: Move include of rpc.h and rpcndr.h due to
+       dependencies.
+       * include/rpc.h: Move include of windows.h due to dependencies.
+
+2013-05-28  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/time.h: Correct use of MSVCRT_VERSION.
+       Correct mistyped __MINGW_NOTHROW macro.
+
+2013-05-27  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/sys/types.h (_USE_32BIT_TIME_T): Rework the definitions
+       controlled by _USE_32BIT_TIME_T in light of MSVCRT_VERSION being
+       different with differing OS versions.
+       * include/time.h (_USE_32BIT_TIME_T): Ditto.
+       * include/sys/stat.h (_USE_32BIT_TIME_T): Ditto.
+       * include/wchar.h (_USE_32BIT_TIME_T): Ditto.
+       * include/_mingw.h (_USE_32BIT_TIME_T): Issue a warning when
+       _USE_32BIT_TIME_T is enabled and MSVCRT_VERSION value does not
+       support it.
+       * lib/lib32/msvcrt.def.in: Always define all definitions in light of
+       MSVCRT.DLL
+       being different versions on differing OS.
+       * TODO: Add a note about needing a warning when a function is being
+       used but not defined within the MSVCRT_VERSION value.
+
+2013-05-21  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * Makefile.in (clean-dist, clean-dist-mingwrt, clean-dist-w32api,
+       clean-dist-wsl): New targets.
+
+2013-05-15  Niels Kristian Bech Jensen  <nkbj@users.sourceforge.net>
+
+       * include/control.h: Correct inclusion of _mingw.h.  Issue: #1956.
+       * include/sys/stat.h: Include string.h as appropriate for memset
+       declaration.  Issue: #1956.
+       * include/wchar.h: Ditto.
+
+2013-05-15  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * .gitignore: Add nbproject folder.
+       * NEWS: Add note about the globbing change.
+       * include/_mingw.h: Correct check for GCC version >= 3.4.5. Issue: #1958.
+
+2013-05-11  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Avoid a potential SIGSEGV crash on CRT start-up.
+
+       * src/libcrt/misc/glob.c (glob_signed): Check only for pointer
+       aliasing, when validating a glob_t signature; checking signature
+       content via an uninitialised pointer may segfault.
+
+       * src/libcrt/crt/init.c (__mingw_setargv): Call __mingw_glob()
+       directly, then set GLOB_APPEND for later calls; do not delegate to...
+       (do_glob): ...this; it uselessly attempted to set GLOB_APPEND on the
+       basis of an uninitialised counter.  Function now unused; delete it.
+
+2013-05-11  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Install non-executable files with proper attributes.
+
+       * Makefile.in (INSTALL_DATA): New macro; define it per AC_SUBST;
+       substitute it at point of use, as appropriate, in place of...
+       (INSTALL): ...this.
+
+2013-05-07  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Update build-aux submodule reference for SF host migration.
+
+       * .gitmodules (url): Relocate to git://git.code.sourceforge.net/p/
+
+2013-04-10  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * Makefile.in: Add installation and delivery of library object files.
+
+2013-04-09  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * Makefile.in: Adjust distributed package names when RELEASE_STATUS is
+       not equal "dist".
+
+2013-03-13  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * LICENSE: Update copyright notice adding year 2013.
+       * README: Update copyright notice adding year 2013.
+       Add text to explain where release notes can be found.
+       * Makefile.in: Update copyright notice adding year 2013.
+       (mingwrtdocdir): New variable used in dist-mingwrt target.
+       (w32apidocdir): New variable used in dist-w32api target.
+       (doc_DOCUMENTS): Add ChangeLog, NEWS, TODO, and NOTES.
+       (install-mingwrt-dirs, install-w32api-dirs): Correct creation of doc
+       directory using mingwrtdocdir or w32apidocdir respectfully.
+       (install-mingwrt, install-w32api): Correct copy of historical
+       documentation.
+       (dist-mingwrt*, dist-w32api*): For RELEASE_STATUS != prod modify the
+       package name to include the RELEASE_STATUS to satisfy the rules of
+       mingw-get.
+
+2013-02-27  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * Makefile.in: Add variables for RELEASE_STATUS and RELEASE_REFERENCE.
+       Add conditionals for RELEASE_STATUS not equal "prod" for dist-mingwrt,
+       dist-w32api and dist-wsl targets.
+       * configure.ac: Add declaration of RELEASE_STATUS and RELEASE_REFERENCE
+       variables.
+
+2013-02-25  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * NEWS: Add and adjust release notes for 4.0.
+       * tests/Makefile.in: Correct order of libraries in LIBS.
+       * include/io.h: Correct declarations for _findfirst/_findnext when
+       not _HAVE_32BIT_TIME_T.
+
+2013-02-24  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * lib/lib32/ddk/ntoskrnl.def (KeQueryActiveProcessorCount): Correct
+       typo.
+       (KeQueryActiveProcessors): Add import.
+       * NEWS: Add and adjust release notes for 4.0.
+
+2013-02-23  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * README: Add references for reporting bugs and submitting patches.
+       Correct the @FILENAME@ cut/paste issue.
+       * NEWS: Add and adjust release notes for 4.0.
+
+2013-02-23  Johann Hanne  <jonnyh33@users.sourceforge.net>
+
+       Add missing UUID Interface Definitions.
+
+       * src/libuuid/cguid-uuid.c (CLSID_StdGlobalInterfaceTable): Define.
+       * src/libuuid/objidl-uuid.c (IID_IGlobalInterfaceTable): Define.
+       (FMTID_DocSummaryInformation): Ditto.
+       (FMTID_SummaryInformation): Ditto.
+       (FMTID_UserDefinedProperties): Ditto.
+
+2013-02-22  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/float.h (_MCW_DN, _DN_SAVE, _DN_FLUSH): Add definitions.
+       * include/winuser.h (POINTTOPOINTS, POINTSTOPOINT): Adjust parameters
+       with type specificity.
+       * include/windef.h(MAKEWORD, MAKELONG, LOWORD, HIWORD, LOBYTE, HIBYTE):
+       Ditto. Also use DWORD_PTR instead of DWORD.
+       * include/winuser.h (POINTTOPOINTS): Remove the cast to POINTS struct.
+       * include/winreg.h (reason.h): Include.
+       * include/oaidl.h (ICreateTypeInfo, ICreateTypeInfo2): Declare
+       INTERFACE.
+       (ICreateTypeLib, ICreateTypeLib2): Ditto.
+
+2013-02-21  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/oleauto.h (RegisterTypeLibForUser, UnRegisterTypeLibForUser):
+       Add declarations.
+       * lib/lib32/oleaut32.def: Ditto.
+       * include/fcntl.h (O_RAW): Add definition within ndef NO_MOLDAMES path.
+
+2013-02-20  F. Mensik  <pepezdepa@users.sourceforge.net>
+
+       * include/winnls.h (LONG_PTR): Add _WIN64 typedef.
+
 2013-02-16  Earnie Boyd  <earnie@users.sourceforge.net>
 
        * include/stdlib.h (_MAX_ENV): Define if not __STRICT_ANSI__.
        * gpl/*: Move to misc/gpl/*.
        * include/GL/*: Move to misc/include/GL/*.
        * include/profile.h: Move to misc/include/profile.h.
-       * src/libcrt/math/cephes_mconf.h: Move to 
+       * src/libcrt/math/cephes_mconf.h: Move to
        misc/src/include/cephes_mconf.h.
        * src/libcrt/include/gdtoa.h: Move to misc/src/include/gdtoa.h.
        * src/libcrt/gdtoa/*: Move to misc/src/libcrt/gdtoa/*.