Rotate ChangeLog

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4724 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/ChangeLog b/mingw-w64-crt/ChangeLog
index c3aba1f..e69de29 100644
--- a/mingw-w64-crt/ChangeLog
+++ b/mingw-w64-crt/ChangeLog
@@ -1,293 +0,0 @@
-2011-12-19  Kai TIetz  <ktietz@redhat.com>
-
-	* stdio/vasprintf.c: Make sure operand order on dereferencing
-	is fixed.
-	* stdio/asprintf.c: Likewise.
-
-2011-12-17  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* lib32/msi.def: New.
-	* Makefile.am (lib32_DATA): Add lib32/msi.def to build.
-	* Makefile.in: Regenerate.
-
-2011-12-17  Kai Tietz  <ktietz@redhat.com>
-
-	* crt/pseudo-reloc.c (__write_memory): Add fallback for systems
-	not allocating section within one VirtualAlloc block.
-
-2011-12-14  Kai Tietz  <ktietz@redhat.com>
-
-	stdio/ The printf-routines rework part 2
-	* crt/ Avoid use of msvcrt printf functions
-	* misc/ Likewise.
-
-2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* stdio/mingw_pformat.c (__pformat_cvt): Add missing initializer
-	to the int_max member of fpi.  Needed due to recent gdtoa update.
-
-2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
-
-	Add gdiplus from mingw.org sources: Original work was by Markus Koenig
-	<basilo@users.sourceforge.net>.  Patch to integrate into mingw-w64 was
-	provided by Mark Dootson <mark.dootson@znix.com>.
-
-	* lib32/gdiplus.def: New, generated from version 1.1.7601.17514 dll.
-	* lib64/gdiplus.def: New, generated from version 1.1.7601.17514 dll.
-	* libsrc/gdiplus.c: New.
-	* Makefile.am: Add gdiplus defs and sources to build.
-	* Makefile.in: Regenerate.
-
-2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* Makefile.am: Add $(sysincludes) to all build rules' CPPFLAGS.
-	* Makefile.in: Regenerate.
-
-2011-11-15  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* lib64/kernel32.def (RegUnLoadKeyA): Comment out advapi32 export.
-	(RegUnLoadKeyW): Likewise.
-
-2011-11-09  Kai Tietz  <ktietz@redhat.com>
-
-	* lib32/msvcr*.def: Make sure _assert and _wassert are marked DATA.
-	* lib64/msvcr*.def: Likewise.
-
-2011-11-04  Ozkan Sezer  <sezeroz@gmail.com>
-
-	gdtoa: Sync to match the latest version at netlib.org as of Nov. 02
-	2011.  Changelog from http://netlib.org/fp/changes :
-	    Add field int_max to struct FPI and adjust gdtoa.c and *fmt.c
-	    so gdtoa.c tests against fpi->int_max rather than Int_max. This
-	    only affects some conversions by g_ffmt.c, which in some cases
-	    produced too many digits.
-
-2011-11-02  Ozkan Sezer  <sezeroz@gmail.com>
-
-	Break stdio/asprintf.c and misc/uchar.c into pieces, one function
-	per compilation unit:
-	* stdio/vasprintf.c: New.
-	* misc/uchar_c16rtomb.c: New.
-	* misc/uchar_c32rtomb.c: New.
-	* misc/uchar_mbrtoc16.c: New.
-	* misc/uchar_mbrtoc32.c: New.
-	* Makefile.am: Adjust.
-	* Makefile.in: Regenerate.
-
-2011-11-01  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* stdio/asprintf.c: Define __CRT__NO_INLINE before including any
-	headers.
-	(__mingw_asprintf, __mingw_vasprintf): Use __restrict__ for first
-	and second args.
-
-2011-10-29  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* lib32/dwmapi.def: New.
-	* Makefile.am: Added lib32/libdwmapi.a
-	* Makefile.in: Regenerated.
-
-2011-10-09  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
-
-	* misc/isblank.c: Replaced _cdecl by __cdecl.
-	* misc/iswblank.c: Likewise.
-
-2011-09-27  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* misc/uchar.c (mbrtoc32): Mark last 'ps' argument as unused.
-	(c32rtomb): Likewise.
-
-2011-09-27  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
-	    Ozkan Sezer  <sezeroz@gmail.com>
-
-	* misc/uchar.c: New source with initial implementations of mbrtoc16(),
-	c16rtomb(), mbrtoc32() and c32rtomb() for uchar.h.
-	* testcases/uchar_size_1.c: A new basic test case for uchar.h
-
-2011-09-27  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* lib64/msvcr80.def (fpreset): Mark as data for bug #3413674.
-	* lib64/msvcr90d.def (fpreset): Likewise.
-	* lib64/crtdll.def (fpreset): Likewise.
-	* lib64/msvcrt.def (fpreset): Likewise.
-
-2011-09-16  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* libsrc/ksuser.c (KSPROPSETID_MemoryTransport): New.
-	(KSPROPSETID_VramCapture): New.
-
-2011-08-24  Kai Tietz  <ktietz@redhat.com>
-
-	* misc/tfind.c, misc/tsearch.c, misc/tdelete.c, misc/twalk.c:
-	Fix nonsense with key argument checking for NULL and fixed
-	issue for new key insertation.  It might happens that tree
-	gets into denormalized state, but well, this is something
-	for a different patch.
-
-2011-08-09  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* Makefile.am: Remove stdio/wcstof.c from build.
-	* Makefile.in: Regenerate.
-	* misc/mbrtowc.c, misc/wcrtomb.c, misc/wcstof.c, misc/wcstold.c,
-	misc/wctob.c: Fix utterly incomprehensible whitespace style.
-
-2011-08-07  Christian Franke  <Christian.Franke@t-online.de>
-
-	* stdio/mingw_vfscanf.c: Fix segmentation fault when a char or string
-	format (without malloc option) is used.
-
-2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* lib32/vfw32.mri: Adjust for lib32 subdirectory.
-	* lib32/vfw64.mri: New.
-	* Makefile.am: Generate libvfw32.a using vfw32.mri.
-	* Makefile.in: Regenerate.
-
-2011-05-31  Kai Tietz  <kai.tietz@onevision.com>
-
-	* crt/pesect.c, crt/pseudo-reloc.c: Optimize pseudo-relocation
-	code and prevent multiple temporary write-access settings on same
-	section.
-
-2011-05-26  Dongsheng Song  <dongsheng@users.sourceforge.net>
-
-	* lib32/msvcr90.def (__report_gsfailure, _assert, _byteswap_uint64,
-	_byteswap_ulong, _byteswap_ushort, _ctime32, _decode_pointer, _difftime32,
-	_difftime64, _encode_pointer, _findfirst64i32, _findnext64i32, _fpreset,
-	_fseeki64, _fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
-	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32, _time32,
-	_wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32, _wstat64i32, atexit,
-	btowc, cos, exp, fabs, fmod, log, mbrlen, mbrtowc, mbsrtowcs, modf, pow, sin,
-	sqrt, strnlen, wcrtomb, wcsnlen, wcsrtombs, wctob): Mark as DATA.
-
-	* lib64/msvcr90.def (__report_gsfailure, _assert, _byteswap_uint64,
-	_byteswap_ulong, _byteswap_ushort, _ctime32, _decode_pointer, _difftime32,
-	_difftime64, _encode_pointer, _findfirst64i32, _findnext64i32, _fpreset,
-	_fseeki64, _fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
-	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32, _time32,
-	_wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32, _wstat64i32, acosf,
-	asinf, atan2f, atanf, atexit, btowc, ceilf, cos, cosf, coshf, exp, expf,
-	fabs, floorf, fmod, fmodf, log, log10f, logf, mbrlen, mbrtowc, mbsrtowcs,
-	modf, modff, pow, powf, sin, sinf, sinhf, sqrt, sqrtf, strnlen, tanf, tanhf,
-	wcrtomb, wcsnlen, wcsrtombs, wctob): Likewise.
-
-2011-04-30  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* lib32/winscard.def (g_rgSCardRawPci): Remove stdcall suffix and
-	mark as DATA.
-	(g_rgSCardT0Pci): Likewise.
-	(g_rgSCardT1Pci): Likewise.
-
-2011-04-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* gdtoa/gdtoa.c, gdtoa/gdtoa.h, gdtoa/gdtoaimp.h: Sync gdtoa to
-	match the latest version at netlib.org as of 2011-03-21.
-
-2011-04-02  Professor Brian Ripley  <ripley@stats.ox.ac.uk>
-
-	* math/expm1.def.h: Correct special case for |x| < loge2.
-
-2011-03-26  Kai Tietz  <ktietz70@googlemail.com>
-
-	* Makefile.am: Add new file.
-	* Makefile.in: Regenerated.
-	* lib32/msvcr*.def: Maked ldexp as DATA.
-	* lib64/msvcr*.def: Likewise.
-	* math/exp*: Make sure we are using round-to-zero.
-	* math/pow.def.h: Likewise.
-	* math/ldexp.c: New.
-
-2011-03-25  Kai Tietz  <ktietz70@googlemail.com>
-
-	* Makefile.am: Add new files to build.
-	* Makefile.in: Regenerated.
-	* misc/mempcpy.c: New.
-	* misc/wmempcpy.c: New.
-
-2011-03-15  Kai Tietz  <ktietz70@googlemail.com>
-
-	* math/exp.def.h: Use integer/fraction separation for improving
-	calculation precision.
-	* math/pow.def.h: Use log2l/exp2l and integer/fraction separation
-	for improving calculation precission.
-
-2011-03-12  Dongsheng Song  <dongsheng.song@gmail.com>
-
-	* lib32/msvcr100.def (__report_gsfailure, _assert, _byteswap_uint64,
-	_byteswap_ulong, _byteswap_ushort, _ctime32, _difftime32,
-	_difftime64, _findfirst64i32, _findnext64i32, _fpreset, _fseeki64,
-	_fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
-	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32,
-	_time32, _wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32,
-	_wstat64i32, atexit, btowc, cos, exp, fabs, fmod, llabs, lldiv,
-	log, longjmp, mbrlen, mbrtowc, mbsrtowcs, modf, pow, sin, sqrt,
-	strnlen, wcrtomb, wcsnlen, wcsrtombs, wctob): Mark as DATA.
-	* lib64/msvcr100.def (__report_gsfailure, _assert, _byteswap_uint64,
-	_byteswap_ulong, _byteswap_ushort, _ctime32, _difftime32,
-	_difftime64, _findfirst64i32, _findnext64i32, _fpreset, _fseeki64,
-	_fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
-	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32,
-	_time32, _wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32,
-	_wstat64i32, acosf, asinf, atan2f, atanf, atexit, btowc, ceilf,
-	cos, cosf, coshf, exp, expf, fabs, floorf, fmod, fmodf, llabs,
-	lldiv, log, log10f, logf, longjmp, mbrlen, mbrtowc, mbsrtowcs,
-	modf, modff, pow, powf, sin, sinf, sinhf, sqrt, sqrtf, strnlen,
-	tanf, tanhf, wcrtomb, wcsnlen, wcsrtombs, wctob): Likewise.
-
-2011-02-04  Kai Tietz  <kai.tietz@onevision.com>
-
-	* stdio/mingw_fscanf.c: New.
-	* stdio/mingw_fwscanf.c: New.
-	* stdio/mingw_scanf.c: New.
-	* stdio/mingw_sscanf.c: New.
-	* stdio/mingw_swscanf.c: New.
-	* stdio/mingw_vfscanf.c: New.
-	* stdio/mingw_wscanf.c: New.
-	* stdio/mingw_wvfscanf.c: New.
-	* Makefile.am: Add new files.
-	* Makefile.in: Regenerated.
-
-2011-02-01  Kai Tietz  <kai.tietz@onevision.com>
-
-	* misc/mingw_wcstod.c: New.
-	* misc/mingw_wcstof.c: New.
-	* misc/mingw_wcstold.c: New.
-	* Makefile.am: Add new files to libmingex.a library.
-	* math/fastmath.h: Use for 64-bit SSE sqrt instruction.
-	* math/sqrt.c: Likewise.
-	* math/sqrt.def.h: Likewise.
-
-2011-01-29  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* misc/mingw_mbwc_convert.c: New.
-
-2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
-
-	* stdio/mingw_fprintfw.c: New.
-	* stdio/mingw_pformatw.c: New.
-	* stdio/mingw_vsprintfw.c: New.
-	* stdio/mingw_vprintfw.c: New.
-	* stdio/mingw_vfprintfw.c: New.
-	* stdio/mingw_snprintfw.c: New.
-	* stdio/mingw_sprintfw.c: New.
-	* stdio/mingw_vsnprintfw.c: New.
-	* stdio/mingw_printfw.c: New.
-	* stdio/mingw_fprintf.c: Support wide-char.
-	* stdio/mingw_pformat.c: Support wide-char.
-	* stdio/mingw_pformat.h: Support wide-char.
-	* stdio/mingw_vsprintf.c: Support wide-char.
-	* stdio/mingw_vprintf.c: Support wide-char.
-	* stdio/mingw_vfprintf.c: Support wide-char.
-	* stdio/mingw_snprintf.c: Support wide-char.
-	* stdio/mingw_sprintf.c: Support wide-char.
-	* stdio/mingw_vsnprintf.c: Support wide-char.
-	* stdio/mingw_printf.c: Support wide-char.
-
-2011-01-10  Tsukasa Ooi  <li@livegrid.org>
-
-	* crt/crtexe.c: Fix invalid scope table for SEH.
-
-2011-01-10  Tsukasa Ooi  <li@livegrid.org>
-
-	* crt/crtexe.c: Fix invalid scope table for SEH.
-
diff --git a/mingw-w64-crt/ChangeLog.2011 b/mingw-w64-crt/ChangeLog.2011
new file mode 100644
index 0000000..c3aba1f
--- /dev/null
+++ b/mingw-w64-crt/ChangeLog.2011
@@ -0,0 +1,293 @@
+2011-12-19  Kai TIetz  <ktietz@redhat.com>
+
+	* stdio/vasprintf.c: Make sure operand order on dereferencing
+	is fixed.
+	* stdio/asprintf.c: Likewise.
+
+2011-12-17  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* lib32/msi.def: New.
+	* Makefile.am (lib32_DATA): Add lib32/msi.def to build.
+	* Makefile.in: Regenerate.
+
+2011-12-17  Kai Tietz  <ktietz@redhat.com>
+
+	* crt/pseudo-reloc.c (__write_memory): Add fallback for systems
+	not allocating section within one VirtualAlloc block.
+
+2011-12-14  Kai Tietz  <ktietz@redhat.com>
+
+	stdio/ The printf-routines rework part 2
+	* crt/ Avoid use of msvcrt printf functions
+	* misc/ Likewise.
+
+2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* stdio/mingw_pformat.c (__pformat_cvt): Add missing initializer
+	to the int_max member of fpi.  Needed due to recent gdtoa update.
+
+2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
+
+	Add gdiplus from mingw.org sources: Original work was by Markus Koenig
+	<basilo@users.sourceforge.net>.  Patch to integrate into mingw-w64 was
+	provided by Mark Dootson <mark.dootson@znix.com>.
+
+	* lib32/gdiplus.def: New, generated from version 1.1.7601.17514 dll.
+	* lib64/gdiplus.def: New, generated from version 1.1.7601.17514 dll.
+	* libsrc/gdiplus.c: New.
+	* Makefile.am: Add gdiplus defs and sources to build.
+	* Makefile.in: Regenerate.
+
+2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* Makefile.am: Add $(sysincludes) to all build rules' CPPFLAGS.
+	* Makefile.in: Regenerate.
+
+2011-11-15  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* lib64/kernel32.def (RegUnLoadKeyA): Comment out advapi32 export.
+	(RegUnLoadKeyW): Likewise.
+
+2011-11-09  Kai Tietz  <ktietz@redhat.com>
+
+	* lib32/msvcr*.def: Make sure _assert and _wassert are marked DATA.
+	* lib64/msvcr*.def: Likewise.
+
+2011-11-04  Ozkan Sezer  <sezeroz@gmail.com>
+
+	gdtoa: Sync to match the latest version at netlib.org as of Nov. 02
+	2011.  Changelog from http://netlib.org/fp/changes :
+	    Add field int_max to struct FPI and adjust gdtoa.c and *fmt.c
+	    so gdtoa.c tests against fpi->int_max rather than Int_max. This
+	    only affects some conversions by g_ffmt.c, which in some cases
+	    produced too many digits.
+
+2011-11-02  Ozkan Sezer  <sezeroz@gmail.com>
+
+	Break stdio/asprintf.c and misc/uchar.c into pieces, one function
+	per compilation unit:
+	* stdio/vasprintf.c: New.
+	* misc/uchar_c16rtomb.c: New.
+	* misc/uchar_c32rtomb.c: New.
+	* misc/uchar_mbrtoc16.c: New.
+	* misc/uchar_mbrtoc32.c: New.
+	* Makefile.am: Adjust.
+	* Makefile.in: Regenerate.
+
+2011-11-01  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* stdio/asprintf.c: Define __CRT__NO_INLINE before including any
+	headers.
+	(__mingw_asprintf, __mingw_vasprintf): Use __restrict__ for first
+	and second args.
+
+2011-10-29  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* lib32/dwmapi.def: New.
+	* Makefile.am: Added lib32/libdwmapi.a
+	* Makefile.in: Regenerated.
+
+2011-10-09  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
+
+	* misc/isblank.c: Replaced _cdecl by __cdecl.
+	* misc/iswblank.c: Likewise.
+
+2011-09-27  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* misc/uchar.c (mbrtoc32): Mark last 'ps' argument as unused.
+	(c32rtomb): Likewise.
+
+2011-09-27  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
+	    Ozkan Sezer  <sezeroz@gmail.com>
+
+	* misc/uchar.c: New source with initial implementations of mbrtoc16(),
+	c16rtomb(), mbrtoc32() and c32rtomb() for uchar.h.
+	* testcases/uchar_size_1.c: A new basic test case for uchar.h
+
+2011-09-27  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* lib64/msvcr80.def (fpreset): Mark as data for bug #3413674.
+	* lib64/msvcr90d.def (fpreset): Likewise.
+	* lib64/crtdll.def (fpreset): Likewise.
+	* lib64/msvcrt.def (fpreset): Likewise.
+
+2011-09-16  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* libsrc/ksuser.c (KSPROPSETID_MemoryTransport): New.
+	(KSPROPSETID_VramCapture): New.
+
+2011-08-24  Kai Tietz  <ktietz@redhat.com>
+
+	* misc/tfind.c, misc/tsearch.c, misc/tdelete.c, misc/twalk.c:
+	Fix nonsense with key argument checking for NULL and fixed
+	issue for new key insertation.  It might happens that tree
+	gets into denormalized state, but well, this is something
+	for a different patch.
+
+2011-08-09  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* Makefile.am: Remove stdio/wcstof.c from build.
+	* Makefile.in: Regenerate.
+	* misc/mbrtowc.c, misc/wcrtomb.c, misc/wcstof.c, misc/wcstold.c,
+	misc/wctob.c: Fix utterly incomprehensible whitespace style.
+
+2011-08-07  Christian Franke  <Christian.Franke@t-online.de>
+
+	* stdio/mingw_vfscanf.c: Fix segmentation fault when a char or string
+	format (without malloc option) is used.
+
+2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* lib32/vfw32.mri: Adjust for lib32 subdirectory.
+	* lib32/vfw64.mri: New.
+	* Makefile.am: Generate libvfw32.a using vfw32.mri.
+	* Makefile.in: Regenerate.
+
+2011-05-31  Kai Tietz  <kai.tietz@onevision.com>
+
+	* crt/pesect.c, crt/pseudo-reloc.c: Optimize pseudo-relocation
+	code and prevent multiple temporary write-access settings on same
+	section.
+
+2011-05-26  Dongsheng Song  <dongsheng@users.sourceforge.net>
+
+	* lib32/msvcr90.def (__report_gsfailure, _assert, _byteswap_uint64,
+	_byteswap_ulong, _byteswap_ushort, _ctime32, _decode_pointer, _difftime32,
+	_difftime64, _encode_pointer, _findfirst64i32, _findnext64i32, _fpreset,
+	_fseeki64, _fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
+	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32, _time32,
+	_wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32, _wstat64i32, atexit,
+	btowc, cos, exp, fabs, fmod, log, mbrlen, mbrtowc, mbsrtowcs, modf, pow, sin,
+	sqrt, strnlen, wcrtomb, wcsnlen, wcsrtombs, wctob): Mark as DATA.
+
+	* lib64/msvcr90.def (__report_gsfailure, _assert, _byteswap_uint64,
+	_byteswap_ulong, _byteswap_ushort, _ctime32, _decode_pointer, _difftime32,
+	_difftime64, _encode_pointer, _findfirst64i32, _findnext64i32, _fpreset,
+	_fseeki64, _fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
+	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32, _time32,
+	_wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32, _wstat64i32, acosf,
+	asinf, atan2f, atanf, atexit, btowc, ceilf, cos, cosf, coshf, exp, expf,
+	fabs, floorf, fmod, fmodf, log, log10f, logf, mbrlen, mbrtowc, mbsrtowcs,
+	modf, modff, pow, powf, sin, sinf, sinhf, sqrt, sqrtf, strnlen, tanf, tanhf,
+	wcrtomb, wcsnlen, wcsrtombs, wctob): Likewise.
+
+2011-04-30  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* lib32/winscard.def (g_rgSCardRawPci): Remove stdcall suffix and
+	mark as DATA.
+	(g_rgSCardT0Pci): Likewise.
+	(g_rgSCardT1Pci): Likewise.
+
+2011-04-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* gdtoa/gdtoa.c, gdtoa/gdtoa.h, gdtoa/gdtoaimp.h: Sync gdtoa to
+	match the latest version at netlib.org as of 2011-03-21.
+
+2011-04-02  Professor Brian Ripley  <ripley@stats.ox.ac.uk>
+
+	* math/expm1.def.h: Correct special case for |x| < loge2.
+
+2011-03-26  Kai Tietz  <ktietz70@googlemail.com>
+
+	* Makefile.am: Add new file.
+	* Makefile.in: Regenerated.
+	* lib32/msvcr*.def: Maked ldexp as DATA.
+	* lib64/msvcr*.def: Likewise.
+	* math/exp*: Make sure we are using round-to-zero.
+	* math/pow.def.h: Likewise.
+	* math/ldexp.c: New.
+
+2011-03-25  Kai Tietz  <ktietz70@googlemail.com>
+
+	* Makefile.am: Add new files to build.
+	* Makefile.in: Regenerated.
+	* misc/mempcpy.c: New.
+	* misc/wmempcpy.c: New.
+
+2011-03-15  Kai Tietz  <ktietz70@googlemail.com>
+
+	* math/exp.def.h: Use integer/fraction separation for improving
+	calculation precision.
+	* math/pow.def.h: Use log2l/exp2l and integer/fraction separation
+	for improving calculation precission.
+
+2011-03-12  Dongsheng Song  <dongsheng.song@gmail.com>
+
+	* lib32/msvcr100.def (__report_gsfailure, _assert, _byteswap_uint64,
+	_byteswap_ulong, _byteswap_ushort, _ctime32, _difftime32,
+	_difftime64, _findfirst64i32, _findnext64i32, _fpreset, _fseeki64,
+	_fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
+	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32,
+	_time32, _wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32,
+	_wstat64i32, atexit, btowc, cos, exp, fabs, fmod, llabs, lldiv,
+	log, longjmp, mbrlen, mbrtowc, mbsrtowcs, modf, pow, sin, sqrt,
+	strnlen, wcrtomb, wcsnlen, wcsrtombs, wctob): Mark as DATA.
+	* lib64/msvcr100.def (__report_gsfailure, _assert, _byteswap_uint64,
+	_byteswap_ulong, _byteswap_ushort, _ctime32, _difftime32,
+	_difftime64, _findfirst64i32, _findnext64i32, _fpreset, _fseeki64,
+	_fstat64i32, _ftelli64, _get_errno, _gmtime32, _localtime32,
+	_mkgmtime32, _mktime32, _rotl64, _rotr64, _set_errno, _stat64i32,
+	_time32, _wassert, _wctime32, _wfindfirst64i32, _wfindnext64i32,
+	_wstat64i32, acosf, asinf, atan2f, atanf, atexit, btowc, ceilf,
+	cos, cosf, coshf, exp, expf, fabs, floorf, fmod, fmodf, llabs,
+	lldiv, log, log10f, logf, longjmp, mbrlen, mbrtowc, mbsrtowcs,
+	modf, modff, pow, powf, sin, sinf, sinhf, sqrt, sqrtf, strnlen,
+	tanf, tanhf, wcrtomb, wcsnlen, wcsrtombs, wctob): Likewise.
+
+2011-02-04  Kai Tietz  <kai.tietz@onevision.com>
+
+	* stdio/mingw_fscanf.c: New.
+	* stdio/mingw_fwscanf.c: New.
+	* stdio/mingw_scanf.c: New.
+	* stdio/mingw_sscanf.c: New.
+	* stdio/mingw_swscanf.c: New.
+	* stdio/mingw_vfscanf.c: New.
+	* stdio/mingw_wscanf.c: New.
+	* stdio/mingw_wvfscanf.c: New.
+	* Makefile.am: Add new files.
+	* Makefile.in: Regenerated.
+
+2011-02-01  Kai Tietz  <kai.tietz@onevision.com>
+
+	* misc/mingw_wcstod.c: New.
+	* misc/mingw_wcstof.c: New.
+	* misc/mingw_wcstold.c: New.
+	* Makefile.am: Add new files to libmingex.a library.
+	* math/fastmath.h: Use for 64-bit SSE sqrt instruction.
+	* math/sqrt.c: Likewise.
+	* math/sqrt.def.h: Likewise.
+
+2011-01-29  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* misc/mingw_mbwc_convert.c: New.
+
+2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
+
+	* stdio/mingw_fprintfw.c: New.
+	* stdio/mingw_pformatw.c: New.
+	* stdio/mingw_vsprintfw.c: New.
+	* stdio/mingw_vprintfw.c: New.
+	* stdio/mingw_vfprintfw.c: New.
+	* stdio/mingw_snprintfw.c: New.
+	* stdio/mingw_sprintfw.c: New.
+	* stdio/mingw_vsnprintfw.c: New.
+	* stdio/mingw_printfw.c: New.
+	* stdio/mingw_fprintf.c: Support wide-char.
+	* stdio/mingw_pformat.c: Support wide-char.
+	* stdio/mingw_pformat.h: Support wide-char.
+	* stdio/mingw_vsprintf.c: Support wide-char.
+	* stdio/mingw_vprintf.c: Support wide-char.
+	* stdio/mingw_vfprintf.c: Support wide-char.
+	* stdio/mingw_snprintf.c: Support wide-char.
+	* stdio/mingw_sprintf.c: Support wide-char.
+	* stdio/mingw_vsnprintf.c: Support wide-char.
+	* stdio/mingw_printf.c: Support wide-char.
+
+2011-01-10  Tsukasa Ooi  <li@livegrid.org>
+
+	* crt/crtexe.c: Fix invalid scope table for SEH.
+
+2011-01-10  Tsukasa Ooi  <li@livegrid.org>
+
+	* crt/crtexe.c: Fix invalid scope table for SEH.
+
diff --git a/mingw-w64-crt/lib64/ChangeLog.2011 b/mingw-w64-crt/lib64/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-crt/lib64/ChangeLog.2011
diff --git a/mingw-w64-crt/libce/ChangeLog.2011 b/mingw-w64-crt/libce/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-crt/libce/ChangeLog.2011
diff --git a/mingw-w64-headers/ChangeLog.2011 b/mingw-w64-headers/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-headers/ChangeLog.2011
diff --git a/mingw-w64-headers/crt/ChangeLog b/mingw-w64-headers/crt/ChangeLog
index 7e05c6f..e69de29 100644
--- a/mingw-w64-headers/crt/ChangeLog
+++ b/mingw-w64-headers/crt/ChangeLog
@@ -1,227 +0,0 @@
-2011-12-22  Rafael Carre  <funman@videolan.org>
-
-	* stdio.h (asprintf): Fix asprintf typo in the inline implementation.
-
-2011-12-16  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* limits.h (SSIZE_MAX): Move out of special case of _POSIX_ being
-	defined.  Define as INT_MAX for win32 and as _I64_MAX for win64.
-
-2011-12-14  Kai Tietz  <ktietz@redhat.com>
-
-	* _mingw.h.in (__USE_MINGW_ANSI_STDIO): Extend default definition
-	to make it more compatible to mingw.org.
-
-	* stdio.h, wchar.h:  Reorganize crt-overrides ... part 1
-
-2011-12-13  Jonathan Liu  <net147@users.sourceforge.net>
-
-	* sys/timeb.h (_ftime): Fix default definition for 32-bit vs.
-	64-bit Windows.
-	(_timeb): Likewise.
-
-2011-11-18  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* time.h: Make sure to use 32bit time when _USE_32BIT_TIME_T in use.
-	* sys/stat.h: Likewise for _stat32i64 and _fstat32i64 structures.
-
-2011-11-14  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* unistd.h: Define SEEK_SET, SEEK_CUR, SEEK_END, STDIN_FILENO,
-	STDOUT_FILENO and STDERR_FILENO, if not already defined. Patch
-	from 'antran'. Closes bug #3426006.
-
-2011-11-13  Kai Tietz  <ktietz@redhat.com>
-
-	* stdio.h, wchar.h:  Replace __forceinline by
-	'static __attribute__((__unused__))' for functions using
-	variable arguments.
-
-2011-11-05  Kai Tietz  <ktietz@redhat.com>
-
-	* _mingw.h.in: Replace always_inline attribute name
-	by __always_inline__.
-
-2011-11-04  Rafal Carr  <funman@videolan.org>
-	    Kai Tietz  <ktietz@redhat.com>
-
-	* _mingw_print_push.h: Remove wscanf-defines.
-	* _mingw_print_pop.h: Likewise.
-	* stdio.h: Replace macro-wscanf override via alias.
-	* wchar.h: Likewise.
-
-	* _mingw_print_push.h: Remove scanf-defines.
-	* _mingw_print_pop.h: Likewise.
-	* stdio.h: Replace macro-scanf override via alias.
-
-	* _mingw_print_push.h: Remove wprintf-defines.
-	* _mingw_print_pop.h: Likewise.
-	* stdio.h: Replace macro-wprintf override via alias.
-	* wchar.h: Likewise.
-
-2011-11-01  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* stdio.h: Remove unintended extra "__" and "$$" characters from
-	previous commits. Fix typo (s/__CRT__INLINE/__CRT_INLINE).
-	(__mingw_asprintf): Mark the first and second args as __restrict.
-	Mark the function as __nothrow. Replace __attribute__((nonnull()))
-	by __MINGW_ATTRIB_NONNULL for consistency.
-	(__mingw_vasprintf): Likewise.
-
-2011-11-01  Kai Tietz  <ktietz@redhat.com>
-
-	* stdio.h: Fix broken handling for snprintf/vsnprintf
-	due recent patch.
-
-2011-10-31  Rafal Carr  <funman@videolan.org>
-
-	* _mingw_print_push.h: Remove printf-defines.
-	* _mingw_print_pop.h: Likewise.
-	* stdio.h: Replace macro-printf override via alias.
-
-2011-10-23  Pau Garcia i Quiles  <paugq@users.sourceforge.net>
-
-	* time.h: Make sure to use 64bit time functions for lfs.
-	* _mingw.h.in: Likewise.
-
-2011-10-13  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* sys/stat.h: Make fstat use 64bit offset for lfs.
-
-2011-10-12  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* sys/stat.h: Make stat use 64bit offset for lfs.
-
-2011-10-02  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
-	    Ozkan Sezer  <sezeroz@gmail.com>
-
-	* stdint.h: Add C++11 guards by checking for __GXX_EXPERIMENTAL_CXX0X__
-	and __cplusplus >= 201103L.
-
-2011-09-28  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* uchar.h: Along with __cplusplus, check for __GXX_EXPERIMENTAL_CXX0X__
-	before defining char16_t and char32_t types.
-
-2011-09-28  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* uchar.h: Add extern "C" guards.
-
-2011-09-27  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
-	    Ozkan Sezer  <sezeroz@gmail.com>
-
-	* uchar.h: New header, initial implementation of uchar.h.
-
-2011-09-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* errno.h (EOVERFLOW): Remove.
-
-2011-09-21  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* _timeval.h (timercmp): Added missing parens around the AND
-	condition.
-
-2011-09-17  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* pthread_time.h: New dummy header.
-	* time.h: Include dummy header to support winpthreads.
-
-2011-09-12  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* errno.h (EOVERFLOW): Fix typo, use EFBIG.
-
-2011-08-22  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* _mingw.h.in (__forceinline): Fix for C99 case and check for
-	C++ mode.
-
-2011-08-09  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* stdio.h (__mingw_asprintf): New.
-	(__mingw_vasprintf): New.
-	* _mingw_print_pop.h, _mingw_print_push.h: New macros to handle
-	asprintf and vasprintf.
-
-2011-08-07  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* sec_api/string_s.h: Added prototypes for wcscpy_s() and wcscat_s()
-	after tracker item #3295337.
-
-2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* crtdbg.h, malloc.h (_STATIC_ASSERT): Restrict the typedef variant
-	of the macro to MSVC. Add an extern declaration variant for gcc,
-	similar to C_ASSERT.
-
-2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* _mingw.h (__debugbreak): Add prototype before the inline as it
-	appears in intrin.h.
-
-2011-07-11  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
-
-	* float.h: Extend guards about Clang's __FLOAT_H.
-
-2011-06-15  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* sdks/_mingw_directx.h.in(__MINGW_HAS_DXSDK): Define.
-
-2011-06-09  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* _mingw_mac.h(__MINGW_POISON_NAME): Define.
-
-2011-05-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* ctype.h (__mb_cur_max):  Define as __mb_cur_max for the _MSVCRT_
-	special case.
-	* stdlib.h: Remove the duplicated and typographically erroneous
-	__mbcur_max macros. Make the entries identical to the ctype.h
-	counterparts.
-	(__mb_cur_max): Define as __mb_cur_max for the _MSVCRT_ special case.
-
-2011-05-12  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* stdio.h (ftello64): Fix longstanding typo that caused define to be
-	shadowed. Patch by Komisar (http://komisar.gin.by/).
-
-2011-05-05  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* stdlib.h (swab): Use define guards.
-	* unistd.h (swab): Copy from stdlib.h as per POSIX spec.
-
-2011-03-25  Kai Tietz  <ktietz70@googlemail.com>
-
-	* string.h, memory.h: Add mempcpy prototype.
-	* wchar.h: Add wmemcpy prototype.
-
-2011-02-05  Kai Tietz  <kai.tietz@onevision.com>
-
-	* _mingw_mac.h: Enable feature indicator macros for ISO-C printf/
-	scanf functionality.
-	* _mingw_print_push.h, _mingw_print_pop.h: Enable scanf.
-
-2011-02-01  Kai Tietz  <kai.tietz@onevision.com>
-
-	* stdlib.h (__mingw_wcsto(f|l|ld): Add prototypes.
-	* wchar.h: Likewise.
-
-2011-01-29  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* stdio.h, wchar.h (__mingw_str_wide_utf8): Declare prototype.
-	(__mingw_str_utf8_wide): Likewise.
-	(__mingw_str_free): Likewise.
-
-2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
-
-	* _mingw_print_pop.h, _mingw_print_push.h: Add wide-character API
-	handling.
-	* stdio.h, wchar.h: Add __mingw_-wprintf prototypes.
-
-2011-01-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* dos.h (_A_VOLID): Add missing definition, from r/os svn r50165.
-
-2011-01-02  Kai Tietz  <kai.tietz@onevision.com>
-
-	* sec_api/string_s.h: Add missing API prototypes.
-	* sec_api/wchar_s.h: Likewise
diff --git a/mingw-w64-headers/crt/ChangeLog.2011 b/mingw-w64-headers/crt/ChangeLog.2011
new file mode 100644
index 0000000..7e05c6f
--- /dev/null
+++ b/mingw-w64-headers/crt/ChangeLog.2011
@@ -0,0 +1,227 @@
+2011-12-22  Rafael Carre  <funman@videolan.org>
+
+	* stdio.h (asprintf): Fix asprintf typo in the inline implementation.
+
+2011-12-16  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* limits.h (SSIZE_MAX): Move out of special case of _POSIX_ being
+	defined.  Define as INT_MAX for win32 and as _I64_MAX for win64.
+
+2011-12-14  Kai Tietz  <ktietz@redhat.com>
+
+	* _mingw.h.in (__USE_MINGW_ANSI_STDIO): Extend default definition
+	to make it more compatible to mingw.org.
+
+	* stdio.h, wchar.h:  Reorganize crt-overrides ... part 1
+
+2011-12-13  Jonathan Liu  <net147@users.sourceforge.net>
+
+	* sys/timeb.h (_ftime): Fix default definition for 32-bit vs.
+	64-bit Windows.
+	(_timeb): Likewise.
+
+2011-11-18  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* time.h: Make sure to use 32bit time when _USE_32BIT_TIME_T in use.
+	* sys/stat.h: Likewise for _stat32i64 and _fstat32i64 structures.
+
+2011-11-14  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* unistd.h: Define SEEK_SET, SEEK_CUR, SEEK_END, STDIN_FILENO,
+	STDOUT_FILENO and STDERR_FILENO, if not already defined. Patch
+	from 'antran'. Closes bug #3426006.
+
+2011-11-13  Kai Tietz  <ktietz@redhat.com>
+
+	* stdio.h, wchar.h:  Replace __forceinline by
+	'static __attribute__((__unused__))' for functions using
+	variable arguments.
+
+2011-11-05  Kai Tietz  <ktietz@redhat.com>
+
+	* _mingw.h.in: Replace always_inline attribute name
+	by __always_inline__.
+
+2011-11-04  Rafal Carr  <funman@videolan.org>
+	    Kai Tietz  <ktietz@redhat.com>
+
+	* _mingw_print_push.h: Remove wscanf-defines.
+	* _mingw_print_pop.h: Likewise.
+	* stdio.h: Replace macro-wscanf override via alias.
+	* wchar.h: Likewise.
+
+	* _mingw_print_push.h: Remove scanf-defines.
+	* _mingw_print_pop.h: Likewise.
+	* stdio.h: Replace macro-scanf override via alias.
+
+	* _mingw_print_push.h: Remove wprintf-defines.
+	* _mingw_print_pop.h: Likewise.
+	* stdio.h: Replace macro-wprintf override via alias.
+	* wchar.h: Likewise.
+
+2011-11-01  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* stdio.h: Remove unintended extra "__" and "$$" characters from
+	previous commits. Fix typo (s/__CRT__INLINE/__CRT_INLINE).
+	(__mingw_asprintf): Mark the first and second args as __restrict.
+	Mark the function as __nothrow. Replace __attribute__((nonnull()))
+	by __MINGW_ATTRIB_NONNULL for consistency.
+	(__mingw_vasprintf): Likewise.
+
+2011-11-01  Kai Tietz  <ktietz@redhat.com>
+
+	* stdio.h: Fix broken handling for snprintf/vsnprintf
+	due recent patch.
+
+2011-10-31  Rafal Carr  <funman@videolan.org>
+
+	* _mingw_print_push.h: Remove printf-defines.
+	* _mingw_print_pop.h: Likewise.
+	* stdio.h: Replace macro-printf override via alias.
+
+2011-10-23  Pau Garcia i Quiles  <paugq@users.sourceforge.net>
+
+	* time.h: Make sure to use 64bit time functions for lfs.
+	* _mingw.h.in: Likewise.
+
+2011-10-13  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* sys/stat.h: Make fstat use 64bit offset for lfs.
+
+2011-10-12  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* sys/stat.h: Make stat use 64bit offset for lfs.
+
+2011-10-02  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
+	    Ozkan Sezer  <sezeroz@gmail.com>
+
+	* stdint.h: Add C++11 guards by checking for __GXX_EXPERIMENTAL_CXX0X__
+	and __cplusplus >= 201103L.
+
+2011-09-28  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* uchar.h: Along with __cplusplus, check for __GXX_EXPERIMENTAL_CXX0X__
+	before defining char16_t and char32_t types.
+
+2011-09-28  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* uchar.h: Add extern "C" guards.
+
+2011-09-27  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
+	    Ozkan Sezer  <sezeroz@gmail.com>
+
+	* uchar.h: New header, initial implementation of uchar.h.
+
+2011-09-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* errno.h (EOVERFLOW): Remove.
+
+2011-09-21  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* _timeval.h (timercmp): Added missing parens around the AND
+	condition.
+
+2011-09-17  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* pthread_time.h: New dummy header.
+	* time.h: Include dummy header to support winpthreads.
+
+2011-09-12  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* errno.h (EOVERFLOW): Fix typo, use EFBIG.
+
+2011-08-22  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* _mingw.h.in (__forceinline): Fix for C99 case and check for
+	C++ mode.
+
+2011-08-09  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* stdio.h (__mingw_asprintf): New.
+	(__mingw_vasprintf): New.
+	* _mingw_print_pop.h, _mingw_print_push.h: New macros to handle
+	asprintf and vasprintf.
+
+2011-08-07  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* sec_api/string_s.h: Added prototypes for wcscpy_s() and wcscat_s()
+	after tracker item #3295337.
+
+2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* crtdbg.h, malloc.h (_STATIC_ASSERT): Restrict the typedef variant
+	of the macro to MSVC. Add an extern declaration variant for gcc,
+	similar to C_ASSERT.
+
+2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* _mingw.h (__debugbreak): Add prototype before the inline as it
+	appears in intrin.h.
+
+2011-07-11  Ruben Van Boxem  <vanboxem.ruben@gmail.com>
+
+	* float.h: Extend guards about Clang's __FLOAT_H.
+
+2011-06-15  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* sdks/_mingw_directx.h.in(__MINGW_HAS_DXSDK): Define.
+
+2011-06-09  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* _mingw_mac.h(__MINGW_POISON_NAME): Define.
+
+2011-05-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* ctype.h (__mb_cur_max):  Define as __mb_cur_max for the _MSVCRT_
+	special case.
+	* stdlib.h: Remove the duplicated and typographically erroneous
+	__mbcur_max macros. Make the entries identical to the ctype.h
+	counterparts.
+	(__mb_cur_max): Define as __mb_cur_max for the _MSVCRT_ special case.
+
+2011-05-12  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* stdio.h (ftello64): Fix longstanding typo that caused define to be
+	shadowed. Patch by Komisar (http://komisar.gin.by/).
+
+2011-05-05  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* stdlib.h (swab): Use define guards.
+	* unistd.h (swab): Copy from stdlib.h as per POSIX spec.
+
+2011-03-25  Kai Tietz  <ktietz70@googlemail.com>
+
+	* string.h, memory.h: Add mempcpy prototype.
+	* wchar.h: Add wmemcpy prototype.
+
+2011-02-05  Kai Tietz  <kai.tietz@onevision.com>
+
+	* _mingw_mac.h: Enable feature indicator macros for ISO-C printf/
+	scanf functionality.
+	* _mingw_print_push.h, _mingw_print_pop.h: Enable scanf.
+
+2011-02-01  Kai Tietz  <kai.tietz@onevision.com>
+
+	* stdlib.h (__mingw_wcsto(f|l|ld): Add prototypes.
+	* wchar.h: Likewise.
+
+2011-01-29  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* stdio.h, wchar.h (__mingw_str_wide_utf8): Declare prototype.
+	(__mingw_str_utf8_wide): Likewise.
+	(__mingw_str_free): Likewise.
+
+2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
+
+	* _mingw_print_pop.h, _mingw_print_push.h: Add wide-character API
+	handling.
+	* stdio.h, wchar.h: Add __mingw_-wprintf prototypes.
+
+2011-01-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* dos.h (_A_VOLID): Add missing definition, from r/os svn r50165.
+
+2011-01-02  Kai Tietz  <kai.tietz@onevision.com>
+
+	* sec_api/string_s.h: Add missing API prototypes.
+	* sec_api/wchar_s.h: Likewise
diff --git a/mingw-w64-headers/direct-x/ChangeLog.2011 b/mingw-w64-headers/direct-x/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-headers/direct-x/ChangeLog.2011
diff --git a/mingw-w64-headers/idl/ChangeLog.2011 b/mingw-w64-headers/idl/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-headers/idl/ChangeLog.2011
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog
index cb30323..e69de29 100644
--- a/mingw-w64-headers/include/ChangeLog
+++ b/mingw-w64-headers/include/ChangeLog
@@ -1,488 +0,0 @@
-2012-01-06  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winuser.h: Fix several typos found by Rinrin <rinrin@imbrian.org>:
-	(TOUCHEVENTMASKF_TIMEFROMSYSTEM): Rename to
-	 TOUCHINPUTMASKF_TIMEFROMSYSTEM.
-	(TOUCHEVENTMASKF_EXTRAINFO): Rename to TOUCHINPUTMASKF_EXTRAINFO.
-	(TOUCHEVENTMASKF_CONTACTAREA): Rename to TOUCHINPUTMASKF_CONTACTAREA.
-	(struct _TOUCHINPUT): Fix member name from wMask to dwMask.
-
-2012-01-04  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* wingdi.h: Uglify the function param names a bit for bug #3469308
-
-2011-12-14  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winnls.h (WC_ERR_INVALID_CHARS): New macro, defined as 0x80.
-
-2011-11-21  Kai Tietz  <ktietz@redhat.com>
-
-	* ws2tcpip.h (EAI_NODATA): Map to WSANO_DATA.
-
-2011-11-19  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* wincon.h: Added MOUSE_HWHEELED (0x8).  Moved the Vista version guard
-	to cover only GetConsoleOriginalTitle[A|W].
-
-2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
-
-	Add gdiplus from mingw.org sources: Original work was by Markus Koenig
-	<basilo@users.sourceforge.net>.  Patch to integrate into mingw-w64 was
-	provided by Mark Dootson <mark.dootson@znix.com>.
-
-	* gdiplus.h: New.
-	* gdiplus/gdiplus.h: New.
-	* gdiplus/gdiplusbase.h: New.
-	* gdiplus/gdiplusbrush.h: New.
-	* gdiplus/gdipluscolor.h: New.
-	* gdiplus/gdipluscolormatrix.h: New.
-	* gdiplus/gdipluseffects.h: New.
-	* gdiplus/gdiplusenums.h: New.
-	* gdiplus/gdiplusflat.h: New.
-	* gdiplus/gdiplusgpstubs.h: New.
-	* gdiplus/gdiplusgraphics.h: New.
-	* gdiplus/gdiplusheaders.h: New.
-	* gdiplus/gdiplusimageattributes.h: New.
-	* gdiplus/gdiplusimagecodec.h: New.
-	* gdiplus/gdiplusimaging.h: New.
-	* gdiplus/gdiplusimpl.h: New.
-	* gdiplus/gdiplusinit.h: New.
-	* gdiplus/gdipluslinecaps.h: New.
-	* gdiplus/gdiplusmatrix.h: New.
-	* gdiplus/gdiplusmem.h: New.
-	* gdiplus/gdiplusmetafile.h: New.
-	* gdiplus/gdiplusmetaheader.h: New.
-	* gdiplus/gdipluspath.h: New.
-	* gdiplus/gdipluspen.h: New.
-	* gdiplus/gdipluspixelformats.h: New.
-	* gdiplus/gdiplusstringformat.h: New.
-	* gdiplus/gdiplustypes.h: New.
-	* configure.ac: Add GDIPLUSHEAD_LIST as a new header list.
-	* configure: Regenerate.
-	* Makefile.am: Add gdiplusheaddir and gdiplushead_HEADERS.
-	* Makefile.in: Regenerate.
-
-2011-11-16  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* wincon.h (SetConsoleDisplayMode): Add missing prototype from
-	http://msdn.microsoft.com/en-us/library/ms686028(v=VS.85).aspx
-	(CONSOLE_FULLSCREEN_MODE): New macro.
-	(CONSOLE_WINDOWED_MODE): New macro.
-
-2011-11-03  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* ntdef.h (FORCEINLINE): Sync the definition to the winnt.h version.
-
-2011-10-30  Stefan Sundin  <recover89@gmail.com>
-
-	* winuser.h: (SPI_GETAUDIODESCRIPTION): New.
-	(SPI_GETCLEARTYPE): New.
-	(SPI_GETCLIENTAREAANIMATION): New.
-	(SPI_GETDISABLEOVERLAPPEDCONTENT): New.
-	(SPI_GETDOCKMOVING): New.
-	(SPI_GETDRAGFROMMAXIMIZE): New.
-	(SPI_GETHUNGAPPTIMEOUT): New.
-	(SPI_GETMESSAGEDURATION): New.
-	(SPI_GETMOUSEDOCKTHRESHOLD): New.
-	(SPI_GETMOUSEDRAGOUTTHRESHOLD): New.
-	(SPI_GETMOUSESIDEMOVETHRESHOLD): New.
-	(SPI_GETPENDOCKTHRESHOLD): New.
-	(SPI_GETPENDRAGOUTTHRESHOLD): New.
-	(SPI_GETPENSIDEMOVETHRESHOLD): New.
-	(SPI_GETSCREENSAVESECURE): New.
-	(SPI_GETSNAPSIZING): New.
-	(SPI_GETWAITTOKILLSERVICETIMEOUT): New.
-	(SPI_GETWAITTOKILLTIMEOUT): New.
-	(SPI_GETWHEELSCROLLCHARS): New.
-	(SPI_GETWINARRANGING): New.
-	(SPI_SETAUDIODESCRIPTION): New.
-	(SPI_SETCLEARTYPE): New.
-	(SPI_SETCLIENTAREAANIMATION): New.
-	(SPI_SETDISABLEOVERLAPPEDCONTENT): New.
-	(SPI_SETDOCKMOVING): New.
-	(SPI_SETDRAGFROMMAXIMIZE): New.
-	(SPI_SETHUNGAPPTIMEOUT): New.
-	(SPI_SETMESSAGEDURATION): New.
-	(SPI_SETMOUSEDOCKTHRESHOLD): New.
-	(SPI_SETMOUSEDRAGOUTTHRESHOLD): New.
-	(SPI_SETMOUSESIDEMOVETHRESHOLD): New.
-	(SPI_SETPENDOCKTHRESHOLD): New.
-	(SPI_SETPENDRAGOUTTHRESHOLD): New.
-	(SPI_SETPENSIDEMOVETHRESHOLD): New.
-	(SPI_SETSCREENSAVESECURE): New.
-	(SPI_SETWAITTOKILLSERVICETIMEOUT): New.
-	(SPI_SETWAITTOKILLTIMEOUT): New.
-	(SPI_SETWHEELSCROLLCHARS): New.
-	(SPI_SETWINARRANGING): New.
-
-2011-10-19  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* imagehlp.h: Fixed misplaced extern "C" {} braces which used to break
-	C_ASSERTs. (bug #3425478.)
-
-2011-09-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* sdkddkver.h: Whitespace tidy-up.  Add our standart license header.
-	(_WIN32_WINNT): Define default value as _WIN32_WINNT_WS03, i.e. 0x0502,
-	which is what we had been defining in windows.h until this day.
-	(NTDDI_VERSION): Define default value as NTDDI_WS03, i.e. 0x05020000,
-	matching what we had been defining in windows.h until this day.
-	(WINVER): Define default value as 0x0502, which is what we had been
-	defining in windows.h until this day.
-	* winnt.h: Include sdkddkver.h.
-	* windows.h: Include sdkddkver.h.
-	(WINVER): Now that we include sdkddkver.h, remove the extra definition.
-
-2011-09-16  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* ks.h (KSPROPSETID_MemoryTransport): New.
-	* ksmedia.h (KSPROPSETID_Wave_Queued): New.
-	(KSPROPSETID_VramCapture): New.
-
-2011-09-14  Vincent Torri  <vincent.torri@gmail.com>
-
-	* psapi.h (LIST_MODULES_DEFAULT): New constant.
-	(LIST_MODULES_32BIT): New constant.
-	(LIST_MODULES_64BIT): New constant.
-	(LIST_MODULES_ALL): New constant.
-
-2011-09-12  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* wlanapi.h: Added WLAN_NOTIFICATION_ACM enumeration (patch from
-	'balkin7').
-
-2011-09-03  Jose Fonseca  <jrfonseca@users.sourceforge.net>
-
-	* winuser.h (CreateDesktopEx, CreateDesktopExA, CreateDesktopExW):
-	Don't define when NOGDI is defined.
-
-2011-08-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winuser.h: Added missing SM_ constants for new windows versions :
-	(SM_MOUSEHORIZONTALWHEELPRESENT): New constant, 91.
-	(SM_CXPADDEDBORDER): New constant, 92.
-	(SM_DIGITIZER): New constant, 94.
-	(SM_MAXIMUMTOUCHES): New constant, 95.
-	(NID_INTEGRATED_TOUCH): New constant, 0x01.
-	(NID_EXTERNAL_TOUCH): New constant, 0x02.
-	(NID_INTEGRATED_PEN): New constant, 0x04.
-	(NID_EXTERNAL_PEN): New constant, 0x08.
-	(NID_MULTI_INPUT): New constant, 0x40.
-	(NID_READY): New constant, 0x80.
-	(SM_CMETRICS): Adjusted after the new additions.
-
-2011-08-24  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* d2d1.h: Fix typos.
-
-2011-08-22  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* winnt.h (FORCEINLINE): Simplify based on _mingw.h definition.
-
-2011-08-22  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* Changes by: Corinna Vinschen  corinna [a] sourceware.org  2011-08-19 11:58:05
-	* winuser.h: Add missing MAPVK_xxx definitions.
-
-2011-08-08  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* dxva2api.h: Implemented missing inline functions:
-	(DXVA2_Fixed32OpaqueAlpha): New.
-	(DXVA2_Fixed32TransparentAlpha): New.
-	(DXVA2FixedToFloat): New.
-	(DXVA2FloatToFixed): New.
-
-2011-08-08  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* iscsidsc.h: Fixed many of the constants and data types.
-
-2011-08-07  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* wincrypt.h: Added MS_ENH_RSA_AES_PROV_XP[_A|_W]. (Thanks to Alon
-	Bar-Lev.)
-
-2011-08-07  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* psdk_inc/_socket_types.h: Provide the SOCKET type as unsigned.
-
-2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winnt.h (C_ASSERT): Revert the EXTERN_C change from rev.4285/4286.
-	* usbioctl.h: Remove the extern "C" {} from the header completely.
-	There are no functions or variables are declared, only data types,
-	therefore it is not needed.
-	* dbghelp.h, psdk_inc/_dbg_common.h: move the extern "C" braces so
-	that the C_ASSERTs are not contained within them. (bug #3373905.)
-
-2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winnt.h: Move the intrin.h include before the __faststorefence
-	inline. Remove the redundant prototype for _m_prefetchw() which
-	is already in intrin.h.
-
-2011-07-21  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winnt.h (C_ASSERT): Define using EXTERN_C instead of extern.
-	* ws2tcpip.h: Move the extern "C" closing brace to cover the IN6_
-	prototypes.
-
-2011-06-23  Kai Tietz  <ktietz@redhat.com>
-
-	* basetyps.h (DECLARE_INTERFACE_IID_): New macro.
-	* objbase.h: Likewise.
-
-2011-06-21  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* d2d1.h: Remove redundant declarations.
-	* dwrite.h: New.
-	* dcommon.h: New.
-
-2011-06-15  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* wincon.h(ENABLE_INSERT_MODE): Define.
-	(ENABLE_QUICK_EDIT_MODE): Define.
-	(ENABLE_EXTENDED_FLAGS): Define.
-	(ENABLE_AUTO_POSITION): Define.
-	(GetConsoleOriginalTitleA): Make DLLIMPORT.
-	(GetConsoleOriginalTitleW): Likewise.
-	(GetConsoleScreenBufferInfoEx): Likewise.
-	(GetCurrentConsoleFontEx): Likewise.
-	(SetConsoleHistoryInfo): Likewise.
-	(SetCurrentConsoleFontEx): Likewise.
-
-2011-06-09  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winevt.h: Fix the EVT_HANDLE type and move it before its users.
-	* eaptypes.h: Fix the EAP_SESSIONID type.
-	* mfapi.h: Fix the MFWORKITEM_KEY type.
-	* cryptxml.h (CRYPT_XML_CRYPTOGRAPHIC_INTERFACE): Remove a fixme note
-	because the guessed type is correct.
-	* cryptxml.h: Fix the HCRYPTXML type. Remove the non-existent HXML
-	type, make CryptXmlClose() to use HCRYPTXML parm.
-	* bdatypes.h: Fix the ScanModulationTypes enumeration and uncomment it.
-	* propidl.h: Fix the he REFPROPVARIANT type.
-	* mfobjects.h: Fix the MediaEventType type; remove a duplicated
-	definition of REFPROPVARIANT.
-	* clfsw32.h: Fix PFILE type. Fix CLFS_PRINT_RECORD_ROUTINE callback
-	type.
-	* wdspxe.h: Fix PXE_BOOT_ACTION type.
-	* netioapi.h: Fix PIPINTERFACE_CHANGE_CALLBACK type.
-	* bdatypes.h (FECMethod): Fix the BDA_FEC_MAX enumerated value.
-
-2011-06-09  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* locationapi.h(IID_ILocationReport): Define.
-	(IID_ICivicAddressReport): Define.
-	(IID_IDefaultLocation): Define.
-	(ILocationReport): Fix COM ordering.
-	(ICivicAddressReport): Likewise.
-	(IDefaultLocation): Likewise.
-
-2011-06-09  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* mpeg2psiparser.h: New.
-	* audiopolicy.h: New.
-	* d2d1helper.h(HwndRenderTargetProperties): Declare.
-	* identitystore.h: New.
-	* audioengineendpoint.h(HNSTIME): Define.
-	(IAudioDeviceEndpoint): Declare.
-	(IAudioEndpoint): Declare.
-	(IAudioEndpointControl): Declare.
-	(IAudioEndpointRT): Declare.
-	(IAudioEndpointVolumeEx): Declare.
-	(IAudioInputEndpointRT): Declare.
-	(IAudioOutputEndpointRT): Declare.
-	* audioapotypes.h: Use double underscores as define guards.
-	* wincred(CREDUIWIN_GENERIC): Define.
-	(CREDUIWIN_CHECKBOX): Define.
-	(CREDUIWIN_AUTHPACKAGE_ONLY): Define.
-	(CREDUIWIN_IN_CRED_ONLY): Define.
-	(CREDUIWIN_ENUMERATE_ADMINS): Define.
-	(CREDUIWIN_ENUMERATE_CURRENT_USER): Define.
-	(CREDUIWIN_SECURE_PROMPT): Define.
-	(CREDUIWIN_PACK_32_WOW): Define.
-	* winnt.h:(HARDWARE_COUNTER_DATA): Define.
-	(PERFORMANCE_DATA): Define.
-	* winsync.h: New.
-	* mpeg2structs.h: New.
-	* identitycommon.h: New.
-	* audioclient.h: New.
-	* portabledeviceconnectapi.h: New.
-	* devpkey.h: New.
-	* bdaiface.h: New.
-	* dvbsiparser.h: New.
-	* tuner.h: New.
-	* bdatypes.h(BinaryConvolutionCodeRate): Update.
-	(FECMethod): Update.
-	(ModulationType): Update.
-	(TransmissionMode): Update.
-	(BDA_Comp_Flags): Define.
-	(BDA_CONDITIONALACCESS_MMICLOSEREASON): Define.
-	(BDA_CONDITIONALACCESS_REQUESTTYPE): Define.
-	(MUX_PID_TYPE): Define.
-	(Pilot): Define.
-	(RollOff): Define.
-	(LNB_Source): Define.
-	(BDA_ISDBCAS_EMG_REQ): Define.
-	(BDA_MUX_PIDLISTITEM): Define.
-	* wtypes.h(REFPROPERTYKEY): Define.
-	* audiosessiontypes: New.
-	* http.h(HTTP_SERVICE_CONFIG_CACHE_PARAM): Define.
-	(HTTP_SERVICE_CONFIG_CACHE_SET): Define.
-	* mpeg2bits.h: new.
-	* devicetopology.h: new.
-	* mmdeviceapi.h: new.
-	* endpointvolume.h: new.
-	* locationapi.h: new.
-	* sbe.h: new.
-	* bdamedia.h(PBDAParentalControlPolicy): Define.
-	(SignalAndServiceStatusSpanningEvent_State): Define.
-	(DualMonoInfo): Define.
-	(DVBScramblingControlSpanningEvent): Define.
-	(LanguageInfo): Define.
-	(PBDAParentalControl): Define.
-	(PIDListSpanningEvent): Define.
-	(SpanningEventDescriptor): Define.
-	(SpanningEventEmmMessage): Define.
-	* strmif.h(IAMAsyncReaderTimestampScaling): Define.
-	(IAMPluginControl): Define.
-	* propidl.h(REFPROPVARIANT): Define.
-	* ksmedia.h(TunerLockType): Define.
-	* mpeg2data.h: New.
-
-2011-06-06  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* winnt.h (SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION): Define.
-	* winbase.h (GetNumaNodeNumberFromHandle): Define.
-	(GetProcessGroupAffinity): Likewise.
-	(GetProcessorSystemCycleTime): Likewise.
-	(GetThreadErrorMode): Likewise.
-	(GetThreadGroupAffinity): Likewise.
-	(GetThreadIdealProcessorEx): Likewise.
-	(GetActiveProcessorCount): Likewise.
-	(GetActiveProcessorGroupCount): Likewise.
-	(GetCurrentProcessorNumberEx): Likewise.
-	(GetMaximumProcessorCount): Likewise.
-	(GetMaximumProcessorGroupCount): Likewise.
-	(GetCurrentUmsThread): Likewise.
-	* winnls.h (VerifyScripts): Make WINAPI.
-	(GetProcessPreferredUILanguages): Define.
-	* virtdisk.h (VIRTDISKAPI): Define.
-	(AttachVirtualDisk): Make DLLIMPORT.
-	(CompactVirtualDisk): Likewise.
-	(CreateVirtualDisk): Likewise.
-	(DetachVirtualDisk): Likewise.
-	(ExpandVirtualDisk): Likewise.
-	(GetStorageDependencyInformation): Likewise.
-	(GetVirtualDiskInformation): Likewise.
-	(GetVirtualDiskOperationProgress): Likewise.
-	(MergeVirtualDisk): Likewise.
-	(OpenVirtualDisk): Likewise.
-	(SetVirtualDiskInformation): Likewise.
-	* winuser.h (CreateDesktopExA): Make DLLIMPORT.
-	(CreateDesktopExW): Likewise.
-	(ShutdownBlockReasonCreate): Likewise.
-	(ShutdownBlockReasonDestroy): Likewise.
-	(ShutdownBlockReasonQuery): Likewise.
-	(SetGestureConfig): Likewise.
-	(GetGestureConfig): Likewise.
-	(GetGestureInfo): Likewise.
-	(GetGestureExtraArgs): Likewise.
-	(CloseGestureInfoHandle): Likewise.
-
-2011-06-02  Dongsheng Song  <dongsheng.song@gmail.com>
-
-	* mstcpip.h: Mark declarations available on XP SP3 and above.
-
-2011-04-27  Jose Fonseca  <jrfonseca@users.sourceforge.net>
-
-	* wingdi.h (WINGDIAPI): When _GDI32_ is defined, define as nothing.
-
-2011-04-21  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* winnt.h (WOW64_CONTEXT_i386): Define.
-	(WOW64_CONTEXT_i486): Likewise.
-	(WOW64_CONTEXT_CONTROL): Likewise.
-	(WOW64_CONTEXT_INTEGER): Likewise.
-	(WOW64_CONTEXT_SEGMENTS): Likewise.
-	(WOW64_CONTEXT_FLOATING_POINT): Likewise.
-	(WOW64_CONTEXT_DEBUG_REGISTERS): Likewise.
-	(WOW64_CONTEXT_EXTENDED_REGISTERS): Likewise.
-	(WOW64_CONTEXT_FULL): Likewise.
-	(WOW64_CONTEXT_ALL): Likewise.
-	(WOW64_SIZE_OF_80387_REGISTERS): Likewise.
-	(WOW64_MAXIMUM_SUPPORTED_EXTENSION): Likewise.
-	(WOW64_FLOATING_SAVE_AREA): Declare.
-	(WOW64_CONTEXT): Likewise.
-	(WOW64_LDT_ENTRY): Likewise.
-
-2011-04-11  Kai Tietz  <ktietz70@googlemail.com>
-
-	* bcrypt.h, lmaccess.h, ntsecapi.h, subauth.h, wincred.h:
-	Guard NTSTATUS/PNTSTATUS typedef additionally by _NTSTATUS_PSDK.
-	* hidpi.h: Typedef NTSTATUS and PNTSTATUS.
-
-2011-04-11  Simon Josefsson  <simon@joseffson.org>
-
-	* hidsdi.h: New.
-
-2011-04-08  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* ksmedia.h:  Guard the SPEAKER_* macros by _SPEAKER_POSITIONS_
-	like in mmreg.h.
-
-2011-03-02  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winuser.h (TOUCHEVENTF_MOVE): Fix value as 0x01 acc.to msdn.
-	(TOUCHEVENTF_DOWN): Fix value as 0x02 acc.to msdn.
-
-2011-01-29  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* dxva2api.h (DXVA2_ProcAmp_None): Define.
-	(DXVA2_ProcAmp_Brightness): Likewise.
-	(DXVA2_ProcAmp_Contrast): Likewise.
-	(DXVA2_ProcAmp_Hue): Likewise.
-	(DXVA2_ProcAmp_Saturation): Likewise.
-	* mfapi.h (MFScheduleWorkItemEx): New function declaration.
-	* opmapi.h (OPM_CGMSA_OFF): Define.
-	(OPM_CGMSA_COPY_FREELY): Likewise.
-	(OPM_CGMSA_COPY_NO_MORE): Likewise.
-	(OPM_CGMSA_COPY_ONE_GENERATION): Likewise.
-	(OPM_CGMSA_COPY_NEVER): Likewise.
-	(OPM_CGMSA_REDISTRIBUTION_CONTROL_REQUIRED): Likewise.
-	(OPM_PROTECTION_STANDARD_OTHER): Likewise.
-	(OPM_PROTECTION_STANDARD_NONE): Likewise.
-	(OPM_PROTECTION_STANDARD_IEC61880_525I): Likewise.
-	(OPM_PROTECTION_STANDARD_IEC61880_2_525I): Likewise.
-	(OPM_PROTECTION_STANDARD_IEC62375_625P): Likewise.
-	(OPM_PROTECTION_STANDARD_EIA608B_525): Likewise.
-	(OPM_PROTECTION_STANDARD_EN300294_625I): Likewise.
-	(OPM_PROTECTION_STANDARD_CEA805A_TYPEA_525P): Likewise.
-	(OPM_PROTECTION_STANDARD_CEA805A_TYPEA_750P): Likewise.
-	(OPM_PROTECTION_STANDARD_CEA805A_TYPEA_1125I): Likewise.
-	(OPM_PROTECTION_STANDARD_CEA805A_TYPEB_525P): Likewise.
-	(OPM_PROTECTION_STANDARD_CEA805A_TYPEB_750P): Likewise.
-	(OPM_PROTECTION_STANDARD_CEA805A_TYPEB_1125I): Likewise.
-	(OPM_PROTECTION_STANDARD_ARIBTRB15_525I): Likewise.
-	(OPM_PROTECTION_STANDARD_ARIBTRB15_525P): Likewise.
-	(OPM_PROTECTION_STANDARD_ARIBTRB15_750P): Likewise.
-	(OPM_PROTECTION_STANDARD_ARIBTRB15_1125I): Likewise.
-	* mfidl.h (IMFByteStreamHandler): New interface declaration.
-
-2011-01-17  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* winuser.h (WM_MOUSEHWHEEL): Define.
-
-2011-01-14  Ozkan Sezer  <sezeroz@gmail.com>
-
-	* winsplp.h (MONITOR2): Fixes according to msdn documentation at
-	http://msdn.microsoft.com/en-us/library/ff557532(VS.85).aspx
-	thanks to a reminder from Lorenzo Monti. Closes patch tracker ID
-	3157986.
-
-2011-01-07  Jonathan Yong  <jon_y@users.sourceforge.net>
-
-	* wincrypt.h (CertSelectCertificateChains): Fix typo.
-	* objbase.h (CoDisconnectContext): Likewise.
-	(CoGetApartmentType): Likewise.
-
diff --git a/mingw-w64-headers/include/ChangeLog.2011 b/mingw-w64-headers/include/ChangeLog.2011
new file mode 100644
index 0000000..cb30323
--- /dev/null
+++ b/mingw-w64-headers/include/ChangeLog.2011
@@ -0,0 +1,488 @@
+2012-01-06  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winuser.h: Fix several typos found by Rinrin <rinrin@imbrian.org>:
+	(TOUCHEVENTMASKF_TIMEFROMSYSTEM): Rename to
+	 TOUCHINPUTMASKF_TIMEFROMSYSTEM.
+	(TOUCHEVENTMASKF_EXTRAINFO): Rename to TOUCHINPUTMASKF_EXTRAINFO.
+	(TOUCHEVENTMASKF_CONTACTAREA): Rename to TOUCHINPUTMASKF_CONTACTAREA.
+	(struct _TOUCHINPUT): Fix member name from wMask to dwMask.
+
+2012-01-04  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* wingdi.h: Uglify the function param names a bit for bug #3469308
+
+2011-12-14  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winnls.h (WC_ERR_INVALID_CHARS): New macro, defined as 0x80.
+
+2011-11-21  Kai Tietz  <ktietz@redhat.com>
+
+	* ws2tcpip.h (EAI_NODATA): Map to WSANO_DATA.
+
+2011-11-19  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* wincon.h: Added MOUSE_HWHEELED (0x8).  Moved the Vista version guard
+	to cover only GetConsoleOriginalTitle[A|W].
+
+2011-11-17  Ozkan Sezer  <sezeroz@gmail.com>
+
+	Add gdiplus from mingw.org sources: Original work was by Markus Koenig
+	<basilo@users.sourceforge.net>.  Patch to integrate into mingw-w64 was
+	provided by Mark Dootson <mark.dootson@znix.com>.
+
+	* gdiplus.h: New.
+	* gdiplus/gdiplus.h: New.
+	* gdiplus/gdiplusbase.h: New.
+	* gdiplus/gdiplusbrush.h: New.
+	* gdiplus/gdipluscolor.h: New.
+	* gdiplus/gdipluscolormatrix.h: New.
+	* gdiplus/gdipluseffects.h: New.
+	* gdiplus/gdiplusenums.h: New.
+	* gdiplus/gdiplusflat.h: New.
+	* gdiplus/gdiplusgpstubs.h: New.
+	* gdiplus/gdiplusgraphics.h: New.
+	* gdiplus/gdiplusheaders.h: New.
+	* gdiplus/gdiplusimageattributes.h: New.
+	* gdiplus/gdiplusimagecodec.h: New.
+	* gdiplus/gdiplusimaging.h: New.
+	* gdiplus/gdiplusimpl.h: New.
+	* gdiplus/gdiplusinit.h: New.
+	* gdiplus/gdipluslinecaps.h: New.
+	* gdiplus/gdiplusmatrix.h: New.
+	* gdiplus/gdiplusmem.h: New.
+	* gdiplus/gdiplusmetafile.h: New.
+	* gdiplus/gdiplusmetaheader.h: New.
+	* gdiplus/gdipluspath.h: New.
+	* gdiplus/gdipluspen.h: New.
+	* gdiplus/gdipluspixelformats.h: New.
+	* gdiplus/gdiplusstringformat.h: New.
+	* gdiplus/gdiplustypes.h: New.
+	* configure.ac: Add GDIPLUSHEAD_LIST as a new header list.
+	* configure: Regenerate.
+	* Makefile.am: Add gdiplusheaddir and gdiplushead_HEADERS.
+	* Makefile.in: Regenerate.
+
+2011-11-16  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* wincon.h (SetConsoleDisplayMode): Add missing prototype from
+	http://msdn.microsoft.com/en-us/library/ms686028(v=VS.85).aspx
+	(CONSOLE_FULLSCREEN_MODE): New macro.
+	(CONSOLE_WINDOWED_MODE): New macro.
+
+2011-11-03  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* ntdef.h (FORCEINLINE): Sync the definition to the winnt.h version.
+
+2011-10-30  Stefan Sundin  <recover89@gmail.com>
+
+	* winuser.h: (SPI_GETAUDIODESCRIPTION): New.
+	(SPI_GETCLEARTYPE): New.
+	(SPI_GETCLIENTAREAANIMATION): New.
+	(SPI_GETDISABLEOVERLAPPEDCONTENT): New.
+	(SPI_GETDOCKMOVING): New.
+	(SPI_GETDRAGFROMMAXIMIZE): New.
+	(SPI_GETHUNGAPPTIMEOUT): New.
+	(SPI_GETMESSAGEDURATION): New.
+	(SPI_GETMOUSEDOCKTHRESHOLD): New.
+	(SPI_GETMOUSEDRAGOUTTHRESHOLD): New.
+	(SPI_GETMOUSESIDEMOVETHRESHOLD): New.
+	(SPI_GETPENDOCKTHRESHOLD): New.
+	(SPI_GETPENDRAGOUTTHRESHOLD): New.
+	(SPI_GETPENSIDEMOVETHRESHOLD): New.
+	(SPI_GETSCREENSAVESECURE): New.
+	(SPI_GETSNAPSIZING): New.
+	(SPI_GETWAITTOKILLSERVICETIMEOUT): New.
+	(SPI_GETWAITTOKILLTIMEOUT): New.
+	(SPI_GETWHEELSCROLLCHARS): New.
+	(SPI_GETWINARRANGING): New.
+	(SPI_SETAUDIODESCRIPTION): New.
+	(SPI_SETCLEARTYPE): New.
+	(SPI_SETCLIENTAREAANIMATION): New.
+	(SPI_SETDISABLEOVERLAPPEDCONTENT): New.
+	(SPI_SETDOCKMOVING): New.
+	(SPI_SETDRAGFROMMAXIMIZE): New.
+	(SPI_SETHUNGAPPTIMEOUT): New.
+	(SPI_SETMESSAGEDURATION): New.
+	(SPI_SETMOUSEDOCKTHRESHOLD): New.
+	(SPI_SETMOUSEDRAGOUTTHRESHOLD): New.
+	(SPI_SETMOUSESIDEMOVETHRESHOLD): New.
+	(SPI_SETPENDOCKTHRESHOLD): New.
+	(SPI_SETPENDRAGOUTTHRESHOLD): New.
+	(SPI_SETPENSIDEMOVETHRESHOLD): New.
+	(SPI_SETSCREENSAVESECURE): New.
+	(SPI_SETWAITTOKILLSERVICETIMEOUT): New.
+	(SPI_SETWAITTOKILLTIMEOUT): New.
+	(SPI_SETWHEELSCROLLCHARS): New.
+	(SPI_SETWINARRANGING): New.
+
+2011-10-19  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* imagehlp.h: Fixed misplaced extern "C" {} braces which used to break
+	C_ASSERTs. (bug #3425478.)
+
+2011-09-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* sdkddkver.h: Whitespace tidy-up.  Add our standart license header.
+	(_WIN32_WINNT): Define default value as _WIN32_WINNT_WS03, i.e. 0x0502,
+	which is what we had been defining in windows.h until this day.
+	(NTDDI_VERSION): Define default value as NTDDI_WS03, i.e. 0x05020000,
+	matching what we had been defining in windows.h until this day.
+	(WINVER): Define default value as 0x0502, which is what we had been
+	defining in windows.h until this day.
+	* winnt.h: Include sdkddkver.h.
+	* windows.h: Include sdkddkver.h.
+	(WINVER): Now that we include sdkddkver.h, remove the extra definition.
+
+2011-09-16  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* ks.h (KSPROPSETID_MemoryTransport): New.
+	* ksmedia.h (KSPROPSETID_Wave_Queued): New.
+	(KSPROPSETID_VramCapture): New.
+
+2011-09-14  Vincent Torri  <vincent.torri@gmail.com>
+
+	* psapi.h (LIST_MODULES_DEFAULT): New constant.
+	(LIST_MODULES_32BIT): New constant.
+	(LIST_MODULES_64BIT): New constant.
+	(LIST_MODULES_ALL): New constant.
+
+2011-09-12  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* wlanapi.h: Added WLAN_NOTIFICATION_ACM enumeration (patch from
+	'balkin7').
+
+2011-09-03  Jose Fonseca  <jrfonseca@users.sourceforge.net>
+
+	* winuser.h (CreateDesktopEx, CreateDesktopExA, CreateDesktopExW):
+	Don't define when NOGDI is defined.
+
+2011-08-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winuser.h: Added missing SM_ constants for new windows versions :
+	(SM_MOUSEHORIZONTALWHEELPRESENT): New constant, 91.
+	(SM_CXPADDEDBORDER): New constant, 92.
+	(SM_DIGITIZER): New constant, 94.
+	(SM_MAXIMUMTOUCHES): New constant, 95.
+	(NID_INTEGRATED_TOUCH): New constant, 0x01.
+	(NID_EXTERNAL_TOUCH): New constant, 0x02.
+	(NID_INTEGRATED_PEN): New constant, 0x04.
+	(NID_EXTERNAL_PEN): New constant, 0x08.
+	(NID_MULTI_INPUT): New constant, 0x40.
+	(NID_READY): New constant, 0x80.
+	(SM_CMETRICS): Adjusted after the new additions.
+
+2011-08-24  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* d2d1.h: Fix typos.
+
+2011-08-22  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* winnt.h (FORCEINLINE): Simplify based on _mingw.h definition.
+
+2011-08-22  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* Changes by: Corinna Vinschen  corinna [a] sourceware.org  2011-08-19 11:58:05
+	* winuser.h: Add missing MAPVK_xxx definitions.
+
+2011-08-08  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* dxva2api.h: Implemented missing inline functions:
+	(DXVA2_Fixed32OpaqueAlpha): New.
+	(DXVA2_Fixed32TransparentAlpha): New.
+	(DXVA2FixedToFloat): New.
+	(DXVA2FloatToFixed): New.
+
+2011-08-08  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* iscsidsc.h: Fixed many of the constants and data types.
+
+2011-08-07  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* wincrypt.h: Added MS_ENH_RSA_AES_PROV_XP[_A|_W]. (Thanks to Alon
+	Bar-Lev.)
+
+2011-08-07  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* psdk_inc/_socket_types.h: Provide the SOCKET type as unsigned.
+
+2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winnt.h (C_ASSERT): Revert the EXTERN_C change from rev.4285/4286.
+	* usbioctl.h: Remove the extern "C" {} from the header completely.
+	There are no functions or variables are declared, only data types,
+	therefore it is not needed.
+	* dbghelp.h, psdk_inc/_dbg_common.h: move the extern "C" braces so
+	that the C_ASSERTs are not contained within them. (bug #3373905.)
+
+2011-07-23  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winnt.h: Move the intrin.h include before the __faststorefence
+	inline. Remove the redundant prototype for _m_prefetchw() which
+	is already in intrin.h.
+
+2011-07-21  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winnt.h (C_ASSERT): Define using EXTERN_C instead of extern.
+	* ws2tcpip.h: Move the extern "C" closing brace to cover the IN6_
+	prototypes.
+
+2011-06-23  Kai Tietz  <ktietz@redhat.com>
+
+	* basetyps.h (DECLARE_INTERFACE_IID_): New macro.
+	* objbase.h: Likewise.
+
+2011-06-21  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* d2d1.h: Remove redundant declarations.
+	* dwrite.h: New.
+	* dcommon.h: New.
+
+2011-06-15  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* wincon.h(ENABLE_INSERT_MODE): Define.
+	(ENABLE_QUICK_EDIT_MODE): Define.
+	(ENABLE_EXTENDED_FLAGS): Define.
+	(ENABLE_AUTO_POSITION): Define.
+	(GetConsoleOriginalTitleA): Make DLLIMPORT.
+	(GetConsoleOriginalTitleW): Likewise.
+	(GetConsoleScreenBufferInfoEx): Likewise.
+	(GetCurrentConsoleFontEx): Likewise.
+	(SetConsoleHistoryInfo): Likewise.
+	(SetCurrentConsoleFontEx): Likewise.
+
+2011-06-09  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winevt.h: Fix the EVT_HANDLE type and move it before its users.
+	* eaptypes.h: Fix the EAP_SESSIONID type.
+	* mfapi.h: Fix the MFWORKITEM_KEY type.
+	* cryptxml.h (CRYPT_XML_CRYPTOGRAPHIC_INTERFACE): Remove a fixme note
+	because the guessed type is correct.
+	* cryptxml.h: Fix the HCRYPTXML type. Remove the non-existent HXML
+	type, make CryptXmlClose() to use HCRYPTXML parm.
+	* bdatypes.h: Fix the ScanModulationTypes enumeration and uncomment it.
+	* propidl.h: Fix the he REFPROPVARIANT type.
+	* mfobjects.h: Fix the MediaEventType type; remove a duplicated
+	definition of REFPROPVARIANT.
+	* clfsw32.h: Fix PFILE type. Fix CLFS_PRINT_RECORD_ROUTINE callback
+	type.
+	* wdspxe.h: Fix PXE_BOOT_ACTION type.
+	* netioapi.h: Fix PIPINTERFACE_CHANGE_CALLBACK type.
+	* bdatypes.h (FECMethod): Fix the BDA_FEC_MAX enumerated value.
+
+2011-06-09  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* locationapi.h(IID_ILocationReport): Define.
+	(IID_ICivicAddressReport): Define.
+	(IID_IDefaultLocation): Define.
+	(ILocationReport): Fix COM ordering.
+	(ICivicAddressReport): Likewise.
+	(IDefaultLocation): Likewise.
+
+2011-06-09  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* mpeg2psiparser.h: New.
+	* audiopolicy.h: New.
+	* d2d1helper.h(HwndRenderTargetProperties): Declare.
+	* identitystore.h: New.
+	* audioengineendpoint.h(HNSTIME): Define.
+	(IAudioDeviceEndpoint): Declare.
+	(IAudioEndpoint): Declare.
+	(IAudioEndpointControl): Declare.
+	(IAudioEndpointRT): Declare.
+	(IAudioEndpointVolumeEx): Declare.
+	(IAudioInputEndpointRT): Declare.
+	(IAudioOutputEndpointRT): Declare.
+	* audioapotypes.h: Use double underscores as define guards.
+	* wincred(CREDUIWIN_GENERIC): Define.
+	(CREDUIWIN_CHECKBOX): Define.
+	(CREDUIWIN_AUTHPACKAGE_ONLY): Define.
+	(CREDUIWIN_IN_CRED_ONLY): Define.
+	(CREDUIWIN_ENUMERATE_ADMINS): Define.
+	(CREDUIWIN_ENUMERATE_CURRENT_USER): Define.
+	(CREDUIWIN_SECURE_PROMPT): Define.
+	(CREDUIWIN_PACK_32_WOW): Define.
+	* winnt.h:(HARDWARE_COUNTER_DATA): Define.
+	(PERFORMANCE_DATA): Define.
+	* winsync.h: New.
+	* mpeg2structs.h: New.
+	* identitycommon.h: New.
+	* audioclient.h: New.
+	* portabledeviceconnectapi.h: New.
+	* devpkey.h: New.
+	* bdaiface.h: New.
+	* dvbsiparser.h: New.
+	* tuner.h: New.
+	* bdatypes.h(BinaryConvolutionCodeRate): Update.
+	(FECMethod): Update.
+	(ModulationType): Update.
+	(TransmissionMode): Update.
+	(BDA_Comp_Flags): Define.
+	(BDA_CONDITIONALACCESS_MMICLOSEREASON): Define.
+	(BDA_CONDITIONALACCESS_REQUESTTYPE): Define.
+	(MUX_PID_TYPE): Define.
+	(Pilot): Define.
+	(RollOff): Define.
+	(LNB_Source): Define.
+	(BDA_ISDBCAS_EMG_REQ): Define.
+	(BDA_MUX_PIDLISTITEM): Define.
+	* wtypes.h(REFPROPERTYKEY): Define.
+	* audiosessiontypes: New.
+	* http.h(HTTP_SERVICE_CONFIG_CACHE_PARAM): Define.
+	(HTTP_SERVICE_CONFIG_CACHE_SET): Define.
+	* mpeg2bits.h: new.
+	* devicetopology.h: new.
+	* mmdeviceapi.h: new.
+	* endpointvolume.h: new.
+	* locationapi.h: new.
+	* sbe.h: new.
+	* bdamedia.h(PBDAParentalControlPolicy): Define.
+	(SignalAndServiceStatusSpanningEvent_State): Define.
+	(DualMonoInfo): Define.
+	(DVBScramblingControlSpanningEvent): Define.
+	(LanguageInfo): Define.
+	(PBDAParentalControl): Define.
+	(PIDListSpanningEvent): Define.
+	(SpanningEventDescriptor): Define.
+	(SpanningEventEmmMessage): Define.
+	* strmif.h(IAMAsyncReaderTimestampScaling): Define.
+	(IAMPluginControl): Define.
+	* propidl.h(REFPROPVARIANT): Define.
+	* ksmedia.h(TunerLockType): Define.
+	* mpeg2data.h: New.
+
+2011-06-06  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* winnt.h (SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION): Define.
+	* winbase.h (GetNumaNodeNumberFromHandle): Define.
+	(GetProcessGroupAffinity): Likewise.
+	(GetProcessorSystemCycleTime): Likewise.
+	(GetThreadErrorMode): Likewise.
+	(GetThreadGroupAffinity): Likewise.
+	(GetThreadIdealProcessorEx): Likewise.
+	(GetActiveProcessorCount): Likewise.
+	(GetActiveProcessorGroupCount): Likewise.
+	(GetCurrentProcessorNumberEx): Likewise.
+	(GetMaximumProcessorCount): Likewise.
+	(GetMaximumProcessorGroupCount): Likewise.
+	(GetCurrentUmsThread): Likewise.
+	* winnls.h (VerifyScripts): Make WINAPI.
+	(GetProcessPreferredUILanguages): Define.
+	* virtdisk.h (VIRTDISKAPI): Define.
+	(AttachVirtualDisk): Make DLLIMPORT.
+	(CompactVirtualDisk): Likewise.
+	(CreateVirtualDisk): Likewise.
+	(DetachVirtualDisk): Likewise.
+	(ExpandVirtualDisk): Likewise.
+	(GetStorageDependencyInformation): Likewise.
+	(GetVirtualDiskInformation): Likewise.
+	(GetVirtualDiskOperationProgress): Likewise.
+	(MergeVirtualDisk): Likewise.
+	(OpenVirtualDisk): Likewise.
+	(SetVirtualDiskInformation): Likewise.
+	* winuser.h (CreateDesktopExA): Make DLLIMPORT.
+	(CreateDesktopExW): Likewise.
+	(ShutdownBlockReasonCreate): Likewise.
+	(ShutdownBlockReasonDestroy): Likewise.
+	(ShutdownBlockReasonQuery): Likewise.
+	(SetGestureConfig): Likewise.
+	(GetGestureConfig): Likewise.
+	(GetGestureInfo): Likewise.
+	(GetGestureExtraArgs): Likewise.
+	(CloseGestureInfoHandle): Likewise.
+
+2011-06-02  Dongsheng Song  <dongsheng.song@gmail.com>
+
+	* mstcpip.h: Mark declarations available on XP SP3 and above.
+
+2011-04-27  Jose Fonseca  <jrfonseca@users.sourceforge.net>
+
+	* wingdi.h (WINGDIAPI): When _GDI32_ is defined, define as nothing.
+
+2011-04-21  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* winnt.h (WOW64_CONTEXT_i386): Define.
+	(WOW64_CONTEXT_i486): Likewise.
+	(WOW64_CONTEXT_CONTROL): Likewise.
+	(WOW64_CONTEXT_INTEGER): Likewise.
+	(WOW64_CONTEXT_SEGMENTS): Likewise.
+	(WOW64_CONTEXT_FLOATING_POINT): Likewise.
+	(WOW64_CONTEXT_DEBUG_REGISTERS): Likewise.
+	(WOW64_CONTEXT_EXTENDED_REGISTERS): Likewise.
+	(WOW64_CONTEXT_FULL): Likewise.
+	(WOW64_CONTEXT_ALL): Likewise.
+	(WOW64_SIZE_OF_80387_REGISTERS): Likewise.
+	(WOW64_MAXIMUM_SUPPORTED_EXTENSION): Likewise.
+	(WOW64_FLOATING_SAVE_AREA): Declare.
+	(WOW64_CONTEXT): Likewise.
+	(WOW64_LDT_ENTRY): Likewise.
+
+2011-04-11  Kai Tietz  <ktietz70@googlemail.com>
+
+	* bcrypt.h, lmaccess.h, ntsecapi.h, subauth.h, wincred.h:
+	Guard NTSTATUS/PNTSTATUS typedef additionally by _NTSTATUS_PSDK.
+	* hidpi.h: Typedef NTSTATUS and PNTSTATUS.
+
+2011-04-11  Simon Josefsson  <simon@joseffson.org>
+
+	* hidsdi.h: New.
+
+2011-04-08  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* ksmedia.h:  Guard the SPEAKER_* macros by _SPEAKER_POSITIONS_
+	like in mmreg.h.
+
+2011-03-02  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winuser.h (TOUCHEVENTF_MOVE): Fix value as 0x01 acc.to msdn.
+	(TOUCHEVENTF_DOWN): Fix value as 0x02 acc.to msdn.
+
+2011-01-29  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* dxva2api.h (DXVA2_ProcAmp_None): Define.
+	(DXVA2_ProcAmp_Brightness): Likewise.
+	(DXVA2_ProcAmp_Contrast): Likewise.
+	(DXVA2_ProcAmp_Hue): Likewise.
+	(DXVA2_ProcAmp_Saturation): Likewise.
+	* mfapi.h (MFScheduleWorkItemEx): New function declaration.
+	* opmapi.h (OPM_CGMSA_OFF): Define.
+	(OPM_CGMSA_COPY_FREELY): Likewise.
+	(OPM_CGMSA_COPY_NO_MORE): Likewise.
+	(OPM_CGMSA_COPY_ONE_GENERATION): Likewise.
+	(OPM_CGMSA_COPY_NEVER): Likewise.
+	(OPM_CGMSA_REDISTRIBUTION_CONTROL_REQUIRED): Likewise.
+	(OPM_PROTECTION_STANDARD_OTHER): Likewise.
+	(OPM_PROTECTION_STANDARD_NONE): Likewise.
+	(OPM_PROTECTION_STANDARD_IEC61880_525I): Likewise.
+	(OPM_PROTECTION_STANDARD_IEC61880_2_525I): Likewise.
+	(OPM_PROTECTION_STANDARD_IEC62375_625P): Likewise.
+	(OPM_PROTECTION_STANDARD_EIA608B_525): Likewise.
+	(OPM_PROTECTION_STANDARD_EN300294_625I): Likewise.
+	(OPM_PROTECTION_STANDARD_CEA805A_TYPEA_525P): Likewise.
+	(OPM_PROTECTION_STANDARD_CEA805A_TYPEA_750P): Likewise.
+	(OPM_PROTECTION_STANDARD_CEA805A_TYPEA_1125I): Likewise.
+	(OPM_PROTECTION_STANDARD_CEA805A_TYPEB_525P): Likewise.
+	(OPM_PROTECTION_STANDARD_CEA805A_TYPEB_750P): Likewise.
+	(OPM_PROTECTION_STANDARD_CEA805A_TYPEB_1125I): Likewise.
+	(OPM_PROTECTION_STANDARD_ARIBTRB15_525I): Likewise.
+	(OPM_PROTECTION_STANDARD_ARIBTRB15_525P): Likewise.
+	(OPM_PROTECTION_STANDARD_ARIBTRB15_750P): Likewise.
+	(OPM_PROTECTION_STANDARD_ARIBTRB15_1125I): Likewise.
+	* mfidl.h (IMFByteStreamHandler): New interface declaration.
+
+2011-01-17  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* winuser.h (WM_MOUSEHWHEEL): Define.
+
+2011-01-14  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* winsplp.h (MONITOR2): Fixes according to msdn documentation at
+	http://msdn.microsoft.com/en-us/library/ff557532(VS.85).aspx
+	thanks to a reminder from Lorenzo Monti. Closes patch tracker ID
+	3157986.
+
+2011-01-07  Jonathan Yong  <jon_y@users.sourceforge.net>
+
+	* wincrypt.h (CertSelectCertificateChains): Fix typo.
+	* objbase.h (CoDisconnectContext): Likewise.
+	(CoGetApartmentType): Likewise.
+
diff --git a/mingw-w64-headers/include/d2d1.h b/mingw-w64-headers/include/d2d1.h
index 111b053..70704f2 100644
--- a/mingw-w64-headers/include/d2d1.h
+++ b/mingw-w64-headers/include/d2d1.h
@@ -2279,4 +2279,79 @@
 #define ID2D1RoundedRectangleGeometry __MINGW_POISON_NAME(ID2D1RoundedRectangleGeometry)
 #define ID2D1TessellationSink __MINGW_POISON_NAME(ID2D1TessellationSink)
 
+/* Posibly C++ or inlined */
+/*
+
+template<class Factory>
+HRESULT D2D1CreateFactory(
+    D2D1_FACTORY_TYPE factoryType,
+    Factory **factory
+);
+
+template<class Factory>
+HRESULT D2D1CreateFactory(
+    D2D1_FACTORY_TYPE factoryType,
+    CONST D2D1_FACTORY_OPTIONS &factoryOptions,
+    Factory **factory
+);
+
+HRESULT WINAPI D2D1CreateDevice(
+  IDXGIDevice *dxgiDevice,
+  const D2D1_CREATION_PROPERTIES *creationProperties,
+  ID2D1Device **d2dDevice
+);
+
+HRESULT WINAPI D2D1CreateDeviceContext(
+  IDXGISurface *dxgiSurface,
+  const D2D1_CREATION_PROPERTIES *creationProperties,
+  ID2D1DeviceContext **d2dDeviceContext
+);
+
+D2D1_MATRIX_3X2_F operator*(
+  const D2D1_MATRIX_3X2_F &matrix1,
+  const D2D1_MATRIX_3X2_F &matrix2
+);
+
+HRESULT WINAPI D2D1CreateFactory(
+  D2D1_FACTORY_TYPE factoryType,
+  REFIID riid,
+  void **ppIFactory
+);
+
+*/
+#ifdef __cplusplus
+extern "C" {
+#endinf
+
+HRESULT WINAPI D2D1CreateFactory(
+  D2D1_FACTORY_TYPE factoryType,
+  REFIID riid,
+  const D2D1_FACTORY_OPTIONS *pFactoryOptions,
+  void **ppIFactory
+);
+
+WINBOOL WINAPI D2D1InvertMatrix(
+  D2D1_MATRIX_3X2_F *matrix
+);
+
+WINBOOL WINAPI D2D1IsMatrixInvertible(
+  const D2D1_MATRIX_3X2_F *matrix
+);
+
+void WINAPI D2D1MakeRotateMatrix(
+  FLOAT angle,
+  D2D1_POINT_2F center,
+  D2D1_MATRIX_3X2_F *matrix
+);
+
+void WINAPI D2D1MakeSkewMatrix(
+  FLOAT angleX,
+  FLOAT angleY,
+  D2D1_POINT_2F center,
+  D2D1_MATRIX_3X2_F *matrix
+);
+#ifdef __cplusplus
+}
+#endinf
+
 #endif /* _D2D1_H */
diff --git a/mingw-w64-headers/include/endpointvolume.h b/mingw-w64-headers/include/endpointvolume.h
index 1bd0d8b..0602fdf 100644
--- a/mingw-w64-headers/include/endpointvolume.h
+++ b/mingw-w64-headers/include/endpointvolume.h
@@ -10,6 +10,12 @@
 
 #if (_WIN32_WINNT >= 0x0600)
 
+DEFINE_GUID(CLSID_MMDeviceEnumerator,0xBCDE0395,0xE52F,0x467C,0x8E,0x3D,0xC4,0x57,0x92,0x91,0x69,0x2E);
+DEFINE_GUID(IID_IMMDeviceEnumerator,0xA95664D2,0x9614,0x4F35,0xA7,0x46,0xDE,0x8D,0xB6,0x36,0x17,0xE6);
+DEFINE_GUID(IID_IAudioEndpointVolume,0x5CDF2C82,0x841E,0x4546,0x97,0x22,0x0C,0xF7,0x40,0x78,0x22,0x9A);
+DEFINE_GUID(IID_IAudioEndpointVolumeCallback,0x657804fa,0xd6ad,0x4496,0x8a,0x60,0x35,0x27,0x52,0xaf,0x4f,0x89);
+DEFINE_GUID(IID_IAudioEndpointVolumeEx,0x66e11784,0xf695,0x4f28,0xa5,0x05,0xa7,0x08,0x00,0x81,0xa7,0x8f);
+
 typedef struct _AUDIO_VOLUME_NOTIFICATION_DATA {
   GUID  guidEventContext;
   WINBOOL  bMuted;
diff --git a/mingw-w64-libraries/libmangle/ChangeLog.2011 b/mingw-w64-libraries/libmangle/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-libraries/libmangle/ChangeLog.2011
diff --git a/mingw-w64-tools/gendef/ChangeLog.2011 b/mingw-w64-tools/gendef/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-tools/gendef/ChangeLog.2011
diff --git a/mingw-w64-tools/genidl/ChangeLog.2011 b/mingw-w64-tools/genidl/ChangeLog.2011
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mingw-w64-tools/genidl/ChangeLog.2011