OSDN Git Service

Add missing <wingdi.h> definitions.
[mingw/mingw-org-wsl.git] / w32api / ChangeLog
index a51ea0e..c636cf7 100644 (file)
@@ -1,3 +1,235 @@
+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.