+2021-02-09 Alexei Podtelezhnikov <apodtele@gmail.com>
+
+ Add missing <wingdi.h> definitions.
+
+ * include/wingdi.h (BI_ALPHABITFIELDS, BI_CMYK, BI_CMYKRLE4)
+ (BI_CMYKRLE8, DIB_PAL_INDICES, OUT_SCREEN_OUTLINE_PRECIS)
+ (BS_MONOPATTERN, LAYOUT_LTR, LCS_sRGB, LCS_WINDOWS_COLOR_SPACE)
+ (PROFILE_EMBEDDED, LCS_PROFILE_EMBEDDED, PROFILE_LINKED)
+ (LCS_PROFILE_LINKED, LCS_GM_ABS_COLORIMETRIC): Define.
+
+2021-01-25 Keith Marshall <keith@users.osdn.me>
+
+ Represent <winbase.h> file creation bit-flags in hexadecimal.
+
+ * include/winbase.h (FILE_FLAG_OVERLAPPED)
+ (FILE_FLAG_NO_BUFFERING, FILE_FLAG_RANDOM_ACCESS)
+ (FILE_FLAG_SEQUENTIAL_SCAN, FILE_FLAG_DELETE_ON_CLOSE)
+ (FILE_FLAG_BACKUP_SEMANTICS, FILE_FLAG_POSIX_SEMANTICS)
+ (FILE_FLAG_OPEN_REPARSE_POINT, FILE_FLAG_OPEN_NO_RECALL): Use of
+ decimal-value definitions needlessly obfuscates bit-mapped intent;
+ convert all to their hexadecimal equivalents.
+
+2020-07-23 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.4.1 release.
+
+ * All files (wsl-5.4.1-release): Tag assigned.
+
+2020-07-08 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.4 release.
+
+ * All files (wsl-5.4-release): Tag assigned.
+
+2020-07-06 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.3.4 release.
+
+ * All files (wsl-5.3.4-release): Tag assigned.
+
+2020-07-05 Keith Marshall <keith@users.osdn.me>
+
+ Revert typedef of socklen_t to signed int type.
+
+ * include/ws2tcpip.h (socklen_t): Change from unsigned int to int.
+
+ * include/wspiapi.h (__wspiapi_getnameinfo): In comparison...
+ [len < sizeof(struct sockaddr)]: ...cast RHS to socklen_t, which is
+ the type of len, to ensure type consistency.
+
+2020-06-03 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.3.3 release.
+
+ * All files (wsl-5.3.3-release): Tag assigned.
+
+2020-05-28 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.3.2 release.
+
+ * All files (wsl-5.3.2-release): Tag assigned.
+
+2020-04-30 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.3.1 release.
+
+ * All files (wsl-5.3.1-release): Tag assigned.
+
+2020-03-28 Keith Marshall <keith@users.osdn.me>
+
+ Make <winsvc.h> header effectively self-contained.
+
+ * include/winsvc.h: Tidy layout; assert copyright.
+ Include <windef.h>, so supporting stand-alone inclusion.
+ (pragma GCC system_header): Remove redundant GCC version guard.
+ (_BEGIN_C_DECLS, _END_C_DECLS): Use them.
+ (__AW_ALIAS__): Use it to selectively typedef...
+ [UNICODE vs. ! UNICODE] (LPSERVICE_MAIN_FUNCTION)
+ (SERVICE_FAILURE_ACTIONS, LPSERVICE_FAILURE_ACTIONS)
+ (ENUM_SERVICE_STATUS_PROCESS, LPENUM_SERVICE_STATUS_PROCESS)
+ (QUERY_SERVICE_LOCK_STATUS, LPQUERY_SERVICE_LOCK_STATUS)
+ (QUERY_SERVICE_CONFIG, LPQUERY_SERVICE_CONFIG)
+ (SERVICE_TABLE_ENTRY, LPSERVICE_TABLE_ENTRY)
+ (SERVICE_DESCRIPTION, LPSERVICE_DESCRIPTION)
+ (ENUM_SERVICE_STATUS, LPENUM_SERVICE_STATUS): ...these.
+ (__AW_SUFFIXED__): Likewise, use it to selectively define...
+ [UNICODE vs. ! UNICODE] (SERVICES_ACTIVE_DATABASE)
+ (SERVICES_FAILED_DATABASE, SC_GROUP_IDENTIFIER)
+ (CreateService, ChangeServiceConfig, ChangeServiceConfig2)
+ (EnumDependentServices, EnumServicesStatus, EnumServicesStatusEx)
+ (GetServiceDisplayName, GetServiceKeyName, OpenSCManager)
+ (OpenService, QueryServiceConfig, QueryServiceConfig2)
+ (QueryServiceLockStatus, RegisterServiceCtrlHandler)
+ (StartService, StartServiceCtrlDispatcher)
+ (RegisterServiceCtrlHandlerEx): ...these.
+ (__AW_STRING_W__): Use it to derive definitions for...
+ (SERVICES_ACTIVE_DATABASEW, SERVICES_FAILED_DATABASEW)
+ (SC_GROUP_IDENTIFIERW): ...each of these, from...
+ (SERVICES_ACTIVE_DATABASEA, SERVICES_FAILED_DATABASEA)
+ (SC_GROUP_IDENTIFIERA): ...these, respectively.
+
+2020-03-05 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.3 release.
+
+ * All files (wsl-5.3-release): Tag assigned.
+
+2020-01-20 Keith Marshall <keith@users.osdn.me>
+
+ Implement <wspiapi.h> sockets fall-back API.
+
+ * tests/headers.at: Add...
+ * include/wspiapi.h: ...this new file; it implements...
+ (WspiapiGetAddrInfo, WspiapiGetNameInfo, WspiapiFreeAddrInfo):
+ ...these inline fall-back replacement implementations for...
+ (getaddrinfo, getnameinfo, freeaddrinfo): ...these IETF RFC 3493
+ functions, respectively, per hints in Microsoft online docs.
+
+ * include/ws2tcpip.h: Tidy layout; assert copyright.
+ (pragma GCC system_header): Remove redundant GCC version guard.
+ (EAI_SYSTEM, EAI_OVERFLOW): New symbolic error codes; define them.
+ (socklen_t): Correct typedef; was signed but negative is meaningless.
+ (getnameinfo): Adjust prototype declaration to conform to RFC 3493.
+ (__AW_SUFFIXED__): Use it to selectively map definitions for...
+ [UNICODE vs. ! UNICODE] (gai_strerror): ...this function.
+ (_BEGIN_C_DECLS, _END_C_DECLS): Use them.
+
+2020-01-17 Keith Marshall <keith@users.osdn.me>
+
+ Preserve order of tests for integrity of header files.
+
+ * tests/Makefile.in: Explicitly sort $wildcard output, within...
+ (list_headers): ...this new function-style macro.
+ (enum_headers, enum_header_subdirs): Use it.
+
+ * tests/headers.at: Adjust to recent GNU make $sort order.
+
+2020-01-15 Keith Marshall <keith@users.osdn.me>
+
+ Incorporate <winnls.h> updates for Vista and Windows-7.
+
+ * include/winnls.h: Reorganize into logical definition groups.
+ [_WIN32_WINNT >= _WIN32_WINNT_VISTA] (LOCALE_CUSTOM_DEFAULT)
+ (LOCALE_CUSTOM_UI_DEFAULT, LOCALE_CUSTOM_UNSPECIFIED, LOCALE_SNAME)
+ (LOCALE_SDURATION, LOCALE_SKEYBOARDSTOINSTALL, LOCALE_SSCRIPTS)
+ (LOCALE_SNAN, LOCALE_SPOSINFINITY, LOCALE_SNEGINFINITY)
+ (LOCALE_SISO3166CTRYNAME2, LOCALE_SISO639LANGNAME2)
+ (LOCALE_SSHORTESTDAYNAME1, LOCALE_SSHORTESTDAYNAME2)
+ (LOCALE_SSHORTESTDAYNAME3, LOCALE_SSHORTESTDAYNAME4)
+ (LOCALE_SSHORTESTDAYNAME5, LOCALE_SSHORTESTDAYNAME6)
+ (LOCALE_SSHORTESTDAYNAME7, CAL_SSHORTESTDAYNAME1)
+ (CAL_SSHORTESTDAYNAME2, CAL_SSHORTESTDAYNAME3, CAL_SSHORTESTDAYNAME4)
+ (CAL_SSHORTESTDAYNAME5, CAL_SSHORTESTDAYNAME6, CAL_SSHORTESTDAYNAME7)
+ (CAL_UMALQURA, C3_HIGHSURROGATE, C3_LOWSURROGATE): New symbolic
+ constants; define each as a manifest constant macro.
+ [_WIN32_WINNT >= _WIN32_WINNT_WIN7] (CAL_SMONTHDAY)
+ (CAL_SABBREVERASTRING): Likewise.
+ [_WIN32_WINNT >= _WIN32_WINNT_VISTA] (GetCalendarInfoEx): New
+ function; declare its prototype.
+
+2020-01-14 Keith Marshall <keith@users.osdn.me>
+
+ Make <winnls.h> header effectively self-contained.
+
+ * include/winnls.h: Tidy layout; assert copyright.
+ Include <winbase.h>, so supporting stand-alone inclusion.
+ (pragma GCC system_header): Remove redundant GCC version guard.
+ (WINVER, _WIN32_WINNT): Always use symbolic version comparisons.
+ (__AW_ALIAS__): Use it to selectively typedef...
+ [UNICODE vs. ! UNICODE] (CPINFOEX, LPCPINFOEX, CURRENCYFMT)
+ (LPCURRENCYFMT, NUMBERFMT, LPNUMBERFMT): ...each of these generic data
+ types; delete redundant UNICODE vs. non-UNICODE variants.
+ (__AW_SUFFIXED__): Likewise, use it to selectively define...
+ [UNICODE vs. ! UNICODE] (CALINFO_ENUMPROC, CALINFO_ENUMPROCEX)
+ (LANGUAGEGROUP_ENUMPROC, LANGGROUPLOCALE_ENUMPROC, LOCALE_ENUMPROC)
+ (CODEPAGE_ENUMPROC, DATEFMT_ENUMPROC, DATEFMT_ENUMPROCEX)
+ (TIMEFMT_ENUMPROC, UILANGUAGE_ENUMPROC, CompareString)
+ (EnumCalendarInfo, EnumDateFormats, EnumSystemCodePages)
+ (EnumSystemLocales, EnumTimeFormats, FoldString, GetCalendarInfo)
+ (GetCPInfoEx, GetCurrencyFormat, GetDateFormat, GetGeoInfo)
+ (GetLocaleInfo, GetNumberFormat, GetStringTypeEx, GetTimeFormat)
+ (LCMapString, SetCalendarInfo, SetLocaleInfo, EnumCalendarInfoEx)
+ (EnumDateFormatsEx, EnumSystemLanguageGroups, EnumLanguageGroupLocales)
+ (EnumUILanguages): ...these generic names; delete redundant variants.
+ (_BEGIN_C_DECLS, _END_C_DECLS): Use them.
+
+2019-07-06 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.2.2 release.
+
+ * All files (wsl-5.2.2-release): Tag assigned.
+
+2019-06-07 Keith Marshall <keith@users.osdn.me>
+
+ Add missing definitions; fix MinGW-Bug #39129
+
+ * include/winnt.h (PAGE_TARGETS_INVALID): Define it.
+ (PAGE_TARGETS_NO_UPDATE): Likewise.
+
+2019-05-03 Keith Marshall <keith@users.osdn.me>
+
+ Correct a typographic error; fix MinGW-Bug #39193
+
+ * include/commctrl.h (ListView_SubItemHitTest): Balance parentheses;
+ add a missing closing parenthesis.
+
+2019-04-08 Keith Marshall <keith@users.osdn.me>
+
+ Correct a typographic error; fix MinGW-Bug #39117
+
+ * include/commctrl.h (STATUSCUASSNAME): Correct misspelling...
+ (STATUSCLASSNAME): ...to this.
+
+2019-02-03 Keith Marshall <keith@users.osdn.me>
+
+ Clean up winsock default version selection stratagem.
+
+ * include/winsock.h [_WINSOCK_H]: Defer definition until within new
+ internal recursion breaking retest block; following evaluation of...
+ [__USE_MINGW_WINSOCK_DEFAULT]: ...this, whence <winsock2.h> may be
+ included, reproducing the original version selection logic from...
+ * include/_winsock.h: ...here; file is now obsolete; delete it.
+
+ * include/winsock2.h (__USE_MINGW_WINSOCK_DEFAULT): Undefine it,
+ before including <winsock.h>
+
+ * include/windows.h include/nspapi.h include/wsnetbs.h: Define...
+ (__USE_MINGW_WINSOCK_DEFAULT): ...this, and then include <winsock.h>
+ instead of deleted file <_winsock.h>
+
+ * tests/headers.at: Regenerated.
+
+2019-01-22 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.2.1 release.
+
+ * All files (wsl-5.2.1-release): Tag assigned.
+
+2019-01-22 Keith Marshall <keith@users.osdn.me>
+
+ Incorporate user-customized <features.h> configuration.
+
+ * tests/Makefile.in (install-mingwrt-headers): Create <features.h>
+ stub; this is an empty file, yielding the default configuration.
+
+2018-12-23 Keith Marshall <keith@users.osdn.me>
+
+ Prepare and publish MinGW.org WSL-5.2 release.
+
+ * All files (wsl-5.2-release): Tag assigned.
+
+2018-12-18 Keith Marshall <keith@users.osdn.me>
+
+ Make <winver.h> header effectively self-contained.
+
+ * include/winver.h: Include <windef.h>
+
+2018-11-23 Keith Marshall <keith@users.osdn.me>
+
+ Fix MinGW-Bug #2248 (SF ticket).
+
+ * include/commctrl.h (NMPGSCROLL): Set packing to 1-byte alignment.
+ (NMPGSCROLL.fwKeys): Change type from BOOL to WORD.
+
+2018-11-23 Keith Marshall <keith@users.osdn.me>
+
+ Apply some more cosmetic layout adjustments.
+
+ * include/commctrl.h: Keep 'typedef' and 'struct' on a single line,
+ for each untagged aggregate type definition.
+
+2018-11-18 Jelle Geerts <heisenbug@users.osdn.me>
+
+ Fix MinGW-Bug #38736 (OSDN ticket).
+
+ * include/commctrl.h (DTM_SETFORMATW): Correct definition; was 0x1050,
+ but should be equivalent to 0x1000 + 50, which is actually 0x1032.
+
+2018-11-18 Keith Marshall <keith@users.osdn.me>
+
+ Make <commctrl.h> header effectively self-contained.
+
+ * include/commctrl.h: Tidy layout; assert copyright.
+ Include <winbase.h> and <prsht.h>; both are required to resolve
+ inter-header dependencies, so achieving effective self-containment.
+ Correctly parenthesize argument references in macro definitions.
+ (pragma GCC system_header): Remove redundant GCC version guard.
+ (_WIN32_WINNT, _WIN32_IE): Always use symbolic version comparisons.
+ (SNDMSG): Remove definition; it is inherited from <prsht.h> anyway.
+ (__AW_ALIAS__, __AW_SUFFIXED__, __AW_STRING_A__, __AW_STRING_W__):
+ Use them; they facilitate maintenance of robust definitions for...
+ [UNICODE vs. ! UNICODE]: ...generic symbols and strings.
+ (_BEGIN_C_DECLS, _END_C_DECLS): Use them.
+
+2018-11-16 Keith Marshall <keith@users.osdn.me>
+
+ Make <prsht.h> header effectively self-contained.
+
+ * include/prsht.h: Tidy layout; assert copyright.
+ Include <winuser.h> to resolve inter-header dependencies.
+ Correctly parenthesize argument references in macro definitions.
+ (pragma GCC system_header): Remove redundant GCC version guard.
+ (_WIN32_WINNT, _WIN32_IE): Always use symbolic version comparisons.
+ (SNDMSG, POSTMSG) [ifndef]: Remove guard condition; it prevents GCC
+ from checking consistency of alternative definition sources.
+ (__AW_SUFFIXED__): Use it; it improves robustness of...
+ [UNICODE vs. ! UNICODE]: ...generic definitions.
+ (_BEGIN_C_DECLS, _END_C_DECLS): Use them.
+
+2018-10-29 Keith Marshall <keith@users.osdn.me>
+
+ Clean up <wincon.h>; consolidate its version dependencies.
+
+ * include/wincon.h: Tidy layout; assert copyright.
+ [_WIN32_WINNT]: Always compare it symbolically, with respect to...
+ [_WIN32_WINNT_WIN2K, _WIN32_WINNT_WINXP, _WIN32_WINNT_VISTA]: ...each
+ of these; group and consolidate respective version dependencies.
+ (FOREGROUND_BLUE, FOREGROUND_GREEN, FOREGROUND_RED)
+ (FOREGROUND_INTENSITY, BACKGROUND_BLUE, BACKGROUND_GREEN)
+ (BACKGROUND_RED, BACKGROUND_INTENSITY, COMMON_LVB_LEADING_BYTE)
+ (COMMON_LVB_TRAILING_BYTE, COMMON_LVB_GRID_HORIZONTAL)
+ (COMMON_LVB_GRID_LVERTICAL, COMMON_LVB_GRID_RVERTICAL)
+ (COMMON_LVB_REVERSE_VIDEO, COMMON_LVB_UNDERSCORE, CTRL_C_EVENT)
+ (CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT)
+ (CTRL_SHUTDOWN_EVENT, ENABLE_LINE_INPUT, ENABLE_ECHO_INPUT)
+ (ENABLE_PROCESSED_INPUT, ENABLE_WINDOW_INPUT, ENABLE_MOUSE_INPUT)
+ (ENABLE_INSERT_MODE, ENABLE_QUICK_EDIT_MODE, ENABLE_EXTENDED_FLAGS)
+ (ENABLE_AUTO_POSITION, ENABLE_VIRTUAL_TERMINAL_INPUT)
+ (ENABLE_PROCESSED_OUTPUT, ENABLE_WRAP_AT_EOL_OUTPUT)
+ (ENABLE_VIRTUAL_TERMINAL_PROCESSING, DISABLE_NEWLINE_AUTO_RETURN)
+ (ENABLE_LVB_GRID_WORLDWIDE, KEY_EVENT, MOUSE_EVENT)
+ (WINDOW_BUFFER_SIZE_EVENT, MENU_EVENT, FOCUS_EVENT, CAPSLOCK_ON)
+ (ENHANCED_KEY, RIGHT_ALT_PRESSED, LEFT_ALT_PRESSED)
+ (RIGHT_CTRL_PRESSED, LEFT_CTRL_PRESSED, SHIFT_PRESSED, NUMLOCK_ON)
+ (SCROLLLOCK_ON, FROM_LEFT_1ST_BUTTON_PRESSED)
+ (FROM_LEFT_2ND_BUTTON_PRESSED, FROM_LEFT_3RD_BUTTON_PRESSED)
+ (FROM_LEFT_4TH_BUTTON_PRESSED, RIGHTMOST_BUTTON_PRESSED, MOUSE_MOVED)
+ (DOUBLE_CLICK, MOUSE_WHEELED, MOUSE_HWHEELED, CONSOLE_FULLSCREEN)
+ (CONSOLE_FULLSCREEN_HARDWARE, CONSOLE_FULLSCREEN_MODE)
+ (CONSOLE_WINDOWED_MODE, CONSOLE_NO_SELECTION)
+ (CONSOLE_SELECTION_IN_PROGRESS, CONSOLE_SELECTION_NOT_EMPTY)
+ (CONSOLE_MOUSE_SELECTION, CONSOLE_MOUSE_DOWN, HISTORY_NO_DUP_FLAG):
+ Redefine, expressing all values in hexadecimal rather than decimal;
+ this is consistent with Microsoft documentation, and it is also more
+ logical, since all represent bit-flags, bit-fields, or bit-masks.
+
+2018-10-24 Keith Marshall <keith@users.osdn.me>
+
+ Make <wincon.h> header effectively self-contained.
+
+ * include/wincon.h [_WIN32_WINNT < 0x0600]: Include <windef.h>...
+ [_WIN32_WINNT >= 0x0600]: ...but, Vista and later need <wingdi.h>
+ [__GNUC__ >= 3]: Remove condition; used only in association with...
+ (#pragma GCC system_header): ...this, it is redundant in this context.
+ [_BEGIN_C_DECLS, _END_C_DECLS]: Use them as appropriate.
+
2018-10-24 David Gressett <texasgaidheal@users.osdn.me>
Improve WinXP/Vista console I/O support.