OSDN Git Service

Merge further W32API updates from Cygwin CVS.
[mingw/mingw-org-wsl.git] / w32api / ChangeLog
index 4dbed4e..6068b64 100644 (file)
@@ -1,3 +1,77 @@
+2016-06-03  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Merge further W32API updates from Cygwin CVS.
+       Incorporated selected changes from 2012-08-01 to 2012-08-04.
+
+       * include/setupapi.h include/winuser.h include/winver.h
+       * include/wtsapi32.h lib/wtsapi32.def: Merged and updated.
+
+2016-06-02  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Update mapping of GCC to MSVC host identification macros.
+
+       * include/windows.h: Assert copyright; tidy layout.
+       (_M_IX86, _ALPHA_, _PPC_, _MIPS_, _68K_): Delete duplicate defines.
+       [!_WINUSER_H, !_WINNLS_H, !_WINVER_H, !_WINNETWK_H, !_WINREG_H]
+       [!_WINSVC_H]: Do not explicitly test these here; they are properly
+       managed implicitly, by GCC, when including the associated headers.
+
+       * include/winnt.h: Assert copyright; tidy layout.
+       (_BEGIN_C_DECLS, _END_C_DECLS): Use these, as appropriate.
+       (__aligned__, __always_inline__, __selectany__): Prefer these...
+       (aligned, always_inline, selectany): ...to these attribute forms.
+       (CONTEXT) [_ALPHA_, _PPC_, MIPS, ARM]: Change selector macros to...
+       [_M_ALPHA, _M_PPC, _M_MRX000, _M_ARM]: ...these, respectively.
+       (GetCurrentFiber, GetFiberData, NtCurrentTeb): Redefine in terms of...
+       (__tib_fiber_data__, __tib_self_refptr__): ...these adaptive macros...
+       [!_WIN64]: ...to accommodate 32-bit, or otherwise 64-bit Windows.
+       (_ALPHA_, _PPC_, _MIPS_, _68K_): Delete these redundant macros...
+       (_M_IX86): ...also removing this, but relocate it to...
+       * include/sdkddkver.h (_M_IX86): ...here; augment it with...
+       (_M_IX86_FP, _M_X64, _M_AMD64, _M_IA64): ...these; define them as
+       appropriate.
+
+       * include/ddk/ntifs.h [!_ALPHA_]: Augment test; rather consider...
+       [!_ALPHA_ && !_M_ALPHA]: ...this, for structure alignment control.
+
+2016-05-23  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Merge W32API updates, from Cygwin CVS, into legacy branch.
+       Incorporate changes since release of w32api-3.17, until 2012-07-06.
+
+       * include/shobjidl.h lib/shobjidl-uuid.c: New files, added per LRN's
+       2012-04-28 commit to Cygwin CVS.
+
+       * include/gdiplus/gdiplustypes.h include/imagehlp.h
+       * include/routprot.h include/shlwapi.h include/userenv.h
+       * include/winbase.h include/wincon.h include/windef.h
+       * include/winerror.h include/wingdi.h include/winnt.h
+       * include/winsock.h include/winsock2.h include/winuser.h: Updated to
+       match Cygwin CVS state, as of 2012-07-06.
+
+       * include/wincrypt.h: Updated to remove duplicate manifest constant
+       definitions, as identified per Chris Sutcliffe's 2012-01-03 commit to
+       Cygwin CVS; merge with my 2015-09-29 commit; additionally, remove...
+       (szOID_RSA_emailAddr, szOID_RSA_unstructAddr, szOID_RSA_unstructName)
+       (CRYPT_ARCHIVABLE, CRYPT_NOHASHOID, CRYPT_VERIFYCONTEXT): ...extra
+       copies of these further duplicated definitions, identified during
+       the merging operation.
+
+2016-05-04  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Eliminate redundant <parts/winioctl.h> header.
+
+       * include/parts/winioctl.h: Delete it; distribute its content...
+       * include/ddk/winddk.h include/ddk/ntddstor.h include/ddk/ntdddisk.h:
+       ...among these, separating it into discrete sections based on...
+       [__need_ddk_winddk_includes, __need_ddk_ntddstor_includes]
+       [__need_ddk_ntdddisk_includes]: ...these selectors, respectively.
+       [__WINIOCTL_H_SOURCED__]: Expose only those sections; do not define...
+       (_DDK_WINDDK_H, _DDK_NTDDSTOR_H, _DDK_NTDDDISK_H): ...these.
+
+       * include/winioctl.h (__WINIOCTL_H_SOURCED__): Define it; include each
+       of <ddk/winddk.h>, <ddk/ntddstor.h>, and <ddk/ntdddisk.h>
+
 2016-05-03  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Enforce consistent specification of package version.
        * configure: Delete from SCM; maintainer must regenerate it, when
        required, as SCM will now ignore it.
 
+2012-08-04  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Cosmetic adjustment to match MSDN documentation.
+
+       * include/winver.h (VerQueryValueA, VerQueryValueW): Declare type
+       of parameter #1 to be LPCVOID, in preference to formerly specified,
+       and functionally equivalent, 'const LPVOID'.
+
+2012-08-01  Stephan Jorek  <sjorek@users.sourceforge.net>
+
+       Correct typos, as identified by issue [#1534].
+
+       * include/setupapi.h (SetupCancelTemporary): Should be...
+       (SetupCancelTemporarySourceList): ...this; complete truncated name.
+       (SetupFreeA, SetupFreeW): Likewise, complete these respectively to...
+       (SetupFreeSourceListA, SetupFreeSourceListW): ...these, and...
+       (SetupQueryA, SetupQueryW): ...these respectively to...
+       (SetupQuerySourceListA, SetupQuerySourceListW): ...these.
+       (SetupDiGetWizardage): Misspelled; correct it to...
+       (SetupDiGetWizardPage): ...this.
+
+2012-08-01  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Declare WTSVirtualChannel API functions per issue [#1342].
+
+       * include/wtsapi32.h [_WIN32_WINNT >= 0x500]
+       (WTSVirtualChannelOpen, WTSVirtualChannelQuery, WTSVirtualChannelRead)
+       (WTSVirtualChannelPurgeInput, WTSVirtualChannelPurgeOutput)
+       (WTSVirtualChannelWrite, WTSVirtualChannelClose): Declare them.
+       [_WIN32_WINNT >= 0x600] (WTSVirtualchannelOpenEx): Likewise.
+
+       * lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add reference.
+
+2012-08-01  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Correct MENUITEMINFO structure definition per issue [#1659].
+
+       * include/winuser.h (tagMENUITEMINFOA, tagMENUITEMINFOW): dwItemData
+       field was defined as type DWORD; correct it to type ULONG_PTR.
+
+2012-07-06  Corinna Vinschen  <corinna@vinschen.de>
+
+       Extend visibility of winsock definitions when building Cygwin.
+
+       * include/winsock.h [__INSIDE_CYGWIN__]: Expose definitions of...
+       (IP_OPTIONS, SO_DEBUG, SO_ACCEPTCONN, SO_REUSEADDR, SO_KEEPALIVE)
+       (SO_DONTROUTE, SO_BROADCAST, SO_USELOOPBACK, SO_LINGER, SO_OOBINLINE)
+       (SO_DONTLINGER, SO_SNDBUF, SO_RCVBUF, SO_SNDLOWAT, SO_RCVLOWAT)
+       (SO_SNDTIMEO, SO_RCVTIMEO, SO_ERROR, SO_TYPE): ...these; however...
+       [__INSIDE_MSYS__]: ...keep them hidden.
+
+       * include/winsock2.h [__INSIDE_CYGWIN__]: Likewise, expose...
+       (AF_MAX, _SS_MAXSIZE, _SS_ALIGNSIZE, _SS_PAD1SIZE, _SS_PAD2SIZE)
+       (struct sockaddr, struct sockaddr_storage): ...these, whereas...
+       [__INSIDE_MSYS__]: ...also keep them hidden.
+
+2012-04-29  Jan Ringos  <tringi@users.sf.net>
+
+       Correct version guard for WinXP minimum requirement.
+
+       * include/winbase.h (GetModuleHandleEx): Function unsupported for...
+       [_WIN32_WINNT >= 0x500]: ...this; it isn't in Win2K, so should be...
+       [_WIN32_WINNT >= 0x501]: ...this; correct it accordingly.
+       (GetModuleHandleExA, GetModuleHandleExW): Likewise.
+
+2012-04-28  LRN  <l_r_nightmare@users.sf.net>
+
+       Add missing <shobjidl.h> and associated UUID implementation.
+
+       * include/shobjidl.h lib/shobjidl-uuid.c: New files.
+       * lib/Makefile.in (UUID_SOURCES, UUID_OBJS): Add references.
+
+2012-03-19  Ben Greear  <greear@users.sf.net>
+
+       Adjust header file definition order, to fix issue [#1570].
+
+       * include/routprot.h (IP_LOCAL_BINDING): Must be defined before...
+       (IP_ADAPTER_BINDING_INFO): ...this; adjust order of definition.
+
+2012-01-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>
+
+       Add missing return value, flagged by 'make test'.
+
+       * include/gdiplus/gdiplustypes.h (Gdiplus::GdiplusAbort::Abort):
+       Return NO_ERROR in virtual definition.
+
+2012-01-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>
+
+       Remove duplicate definitions, identified by 'make test'.
+
+       * include/wincrypt.h (CRYPT_NEWKEYSET, CRYPT_DELETEKEYSET)
+       (CRYPT_MACHINE_KEYSET, CRYPT_EXPORTABLE, CRYPT_USER_PROTECTED)
+       (CRYPT_SILENT, CRYPT_CREATE_SALT, CRYPT_UPDATE_KEY, CRYPT_NO_SALT)
+       (CRYPT_PREGEN, CRYPT_RECIPIENT, CRYPT_INITIATOR, CRYPT_ONLINE)
+       (CRYPT_SF, CRYPT_CREATE_IV, CRYPT_KEK, CRYPT_DATA_KEY)
+       (CRYPT_VOLATILE, CRYPT_SGCKEY): Delete second instance of each.
+
+       * include/winerror.h (CRYPT_E_REVOKED): Delete; it is already
+       correctly defined (per MSDN) in <wincrypt.h>
+
+2012-01-03  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct misuse of #ifdef, identified by 'make test'.
+
+       * include/shlwapi.h (enum ASSOCSTR, enum ASSOCDATA): Fix typos;
+       /#ifdef _WIN32_IE >= 0x0600/s/#ifdef/#if/
+
+2011-12-22  Corinna Vinschen  <corinna@vinschen.de>
+
+       Replace more incorrectly named manifest constants.
+
+       * include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK)
+       (JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK): Define; make aliases for...
+       (JOB_OBJECT_BREAKAWAY_OK, JOB_OBJECT_SILENT_BREAKAWAY): ...these old
+       definitions respectively; retain for backward compatibility only.
+
+2011-12-22  Corinna Vinschen  <corinna@vinschen.de>
+
+       Add missing PROCESS_QUERY_LIMITED_INFORMATION.
+
+       * include/winnt.h (PROCESS_QUERY_LIMITED_INFORMATION): Define it.
+
+2011-08-19  Corinna Vinschen  <corinna@vinschen.de>
+
+       Add missing MAPVK manifest constant definitions.
+
+       * include/winuser.h (MAPVK_VK_TO_VSC, MAPVK_VSC_TO_VK): Define them.
+       (MAPVK_VK_TO_CHAR, MAPVK_VSC_TO_VK_EX, MAPVK_VK_TO_VSC_EX): Likewise.
+
+2011-08-05  Corinna Vinschen  <corinna@vinschen.de>
+
+       Correct some misspelled manifest constant names.
+
+       * include/winnt.h (IMAGE_DLL_CHARACTERISTICS_NX_COMPAT): Should be...
+       (IMAGE_DLLCHARACTERISTICS_NX_COMPAT): ...this; define correctly; also
+       alias to original misspelling, to maintain backward compatibility.
+       (IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY): Likewise; should be...
+       (IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY): ...this; define and alias.
+       (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE): Likewise; should be...
+       (IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE): ...this; define and alias.
+
+2011-07-29  Corinna Vinschen  <corinna@vinschen.de>
+
+       Add a missing Win2K sockets IOCTL feature.
+
+       * include/winsock2.h (SIO_UDP_CONNRESET): Define.
+
+2011-05-22  Albrecht Schlosser  <vms-news@go4more.de>
+
+       Fix an incorrectly typed structure member.
+
+       * include/wingdi.h (GCP_RESULTSW): lpClass field defined as LPWSTR;
+       should be LPSTR; correct it.
+
+2011-05-15  Corinna Vinschen  <corinna@vinschen.de>
+
+       Add another missing manifest constant definition.
+
+       * include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION): Define.
+
+2011-04-21  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Avoid pollution of user namespace; fix MinGW-Bug [#1531].
+
+       * include/windef.h (PACKED): Delete macro definition; its name is not
+       reserved, and may thus conflict with a user defined name; replace it...
+       * include/wincon.h (KEY_EVENT_RECORD): ...at this sole point of use;
+       use __attribute__((packed)) directly instead.
+
+2011-04-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
+
+       Fix bad typedef, per MinGW-Bug [#1529].
+
+       * include/imagehlp.h (PREAD_PROCESS_MEMORY_ROUTINE): Corrected, to
+       conform with MSDN reference, as identified by Safety0ff.
+
+2011-04-04  Corinna Vinschen  <corinna@vinschen.de>
+
+       Add a missing manifest constant definition.
+
+       * include/winnt.h (DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS): Define.
+
+2011-03-29  Corinna Vinschen  <corinna@vinschen.de>
+
+       Win2K and Vista userenv updates.
+
+       * include/userenv.h [_WIN32_WINNT >= 0x0500] (DeleteProfile)
+       (GetAllUsersProfileDirectory, GetDefaultUserProfileDirectory)
+       (ExpandEnvironmentStringsForUser): Define function aliases.
+       [_WIN32_WINNT >= 0x0500] (DeleteProfileA, DeleteProfileW)
+       (GetAllUsersProfileDirectoryA, GetAllUsersProfileDirectoryW)
+       (GetDefaultUserProfileDirectoryA, GetDefaultUserProfileDirectoryW
+       (ExpandEnvironmentStringsForUserA, ExpandEnvironmentStringsForUserW)
+       (GetProfileType): Declare function prototypes.
+       [_WIN32_WINNT >= 0x0600] (CreateProfile): Declare function prototype.
+       [_WIN32_WINNT >= 0x0500] (PT_TEMPORARY, PT_ROAMING, PT_MANDATORY):
+       New manifest constants; define them.
+
 2011-03-25  Chris Sutcliffe  <ir0nh34d@users.sf.net>
 
        * Makefile.in: Increment CYGRELEASE to 2.