X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=ChangeLog;h=b27b5787e4d8399a3805e8e1be9519f413999f42;hb=3baebf76b515bd551b91bd54b06ed888faceb127;hp=2f37bbf5b4e7d1d1441006a49a7e2c12256e351d;hpb=a571d7840ddff4f992eab472b79c2b0064e3a514;p=mingw%2Fmingw-get.git diff --git a/ChangeLog b/ChangeLog index 2f37bbf..b27b578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,314 @@ +2020-06-19 Keith Marshall + + Force "C" linkage for setup key definitions. + + * src/setup.cpp (uri_key, mirror_key, value_none): Wrap them... + (BEGIN_C_DECLS, END_C_DECLS): ...between these. + +2020-06-19 Keith Marshall + + Support all-static linking with recent GCC versions. + + * Makefile.in (LDFLAGS): Add "-static" unconditionally. + (LIBS, SETUP_TOOL_LIBS): Remove all "-Wl,-Bstatic" and "-Wl,-Bdynamic" + references; the latter, in particular, appears to induce dynamic + linking of libstdc++-6.dll, overriding "--static-libstdc++". + +2020-06-12 Keith Marshall + + Use XML templates to adapt to download host changes. + + * configure.ac (MINGW_PACKAGE_DIST_URL): Update to OSDN host URL. + + * xml/profile.xml: Rename it as... + * xml/profile.xml.in: ...this; replace hard-coded repository URL... + (%PACKAGE_LIST_URL%/%F.xml.lzma): ...this template. + + * xml/setup.xml: Likewise, rename it as... + * xml/setup.xml.in: ...this, with corresponding URL update. + + * Makefile.in (install-profile): Modify procedure, using... + (%.xml: %.xml.in): ...this new pattern rule, to generate installed XML + files, from source templates. + + * src/setup.rc (STRINGTABLE) : Remove trailing + "?download" qualifier. + +2020-06-11 Keith Marshall + + Discontinue formal use of the build-aux submodule. + + * .gitmodules .hgsub: Files are obsolete; delete them. + * .gitignore .hgignore (build-aux): Add to SCM exclusion list. + + * aclocal.m4 (build_aux_prefix): New macro; define it. This provides + a mechanism for informally locating an external, separately maintained + implementation of the requisite "build-aux" module; use it in... + (aux_include): ...this new macro; define, and use it, to access those + "build-aux" M4 macros which are required at configure generation time. + (MINGW_AC_CONFIG_AUX_DIR, MINGW_AC_CONFIG_AUX_DIRS): New macros; + define them. Together, they implement a replacement for the standard + AC_CONFIG_AUX_DIR macro, but offering extended path search capability, + at configure run time, in addition to defining... + (buildauxdir): ...this new AC_SUBST variable. + + * configure.ac (build_alias): Define it using... + (ac_aux_dir): ...this autoconf path reference, defined by using... + (MINGW_AC_CONFIG_AUX_DIR): ...this, instead of... + (AC_CONFIG_AUX_DIR): ...this. + + * Makefile.in (buildauxdir): Use it, for M4 file references. + +2020-06-02 Keith Marshall + + Do not use .hgtags for repository tag tracking. + + * .hgtags: Delete file; it serves no purpose within a git repository, + and may actually interfere with tag inheritance, when cloning from git + into hg. + +2017-09-05 Keith Marshall + + mingw-get-0.6.3-mingw32-pre-20170905-1 posted on OSDN.net + + * All files (r0-6-3-beta-20170905-1): Tag assigned. + +2017-09-04 Keith Marshall + + Improve probability of establishing successful URL connections. + + * src/pkginet.cpp (pkgInternetAgent::OpenURL): Add... + (INTERNET_FLAG_KEEP_CONNECTION, INTERNET_FLAG_IGNORE_CERT_CN_INVALID) + (INTERNET_FLAG_IGNORE_CERT_DATE_INVALID, INTERNET_FLAG_PRAGMA_NOCACHE) + (INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS) + (INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP): ...these flags, when calling + the InternetOpenUrl() function. + +2017-09-01 Keith Marshall + + Increment version for first OSDN hosted release. + + * VERSION.m4 (VERSION_PATCH): Increment to 3; thus... + (__VERSION__): ...this is auto-incremented to 0.6.3 + +2013-11-26 Keith Marshall + + Conflate name and class columns in GUI package list. + + * src/pkglist.cpp (AppWindowMaker::InitPackageListView): Remove... + : ...column with this heading; add its width + allocation to the original pixel count alloted for the width of... + : ...this column. + (pkgListViewMaker::UpdateItem): Conflate content of original name and + class columns into first column; renumber successive columns. + +2013-10-18 Keith Marshall + + Don't attempt to resolve dependencies for unidentified packages. + + * src/pkgdeps.cpp (pkgXmlDocument::ResolveDependencies): + [selected == NULL]: Current dependency is unresolved; do not make any + recursive call for this unidentified requirement. This avoids posting + misleading "can't get 'tarname' for non-release element <<>>" + diagnostic messages, where the subsequent "unresolved dependency" + message is sufficient; include dmhmsgs.h, and add... + (PKGMSG_SPECIFICATION_ERROR): ...this preamble instead. + +2013-10-18 Keith Marshall + + Implement foundation for future NLS enabled diagnostics. + + * src/dmhmsgs.h: New file; it declares the NLS capable DMH interface. + * src/dmhmsgs.c: New file; it implements rudimentary NLS hooks, (but + currently does not direct them to any NLS provider), together with an + initial subset of a default (compiled in) message catalogue. + + * Makefile.in (CORE_DLL_OBJECTS): Add dmhmsgs.$OBJEXT + + * src/pkgname.cpp (pkgArchiveName): Modify diagnostics, to use... + (PKGMSG_SPECIFICATION_ERROR): ...this dmhmsgs.h declared message. + +2013-10-15 Keith Marshall + + Add automated build time configuration management. + + * Makefile.in (Makefile): Add regeneration rules, depending on... + (VERSION.m4, configure.ac, aclocal.m4, missing.m4, makeopts.m4): + ...these, if modified by the package maintainer, directed via... + (config.status, configure): ...these, regenerated as required. + +2013-10-04 Keith Marshall + + mingw-get-0.6.2-mingw32-beta-20131004-1 released. + + * VERSION.m4 (VERSION_PATCH): Increment it. + * srcdist-doc/NEWS.in: Release notes updated. + * All files (r0-6-2-beta-20131004-1): Tag assigned. + +2013-10-03 Keith Marshall + + Propagate RELEASE_CLASS setting from mingw-get-setup. + + * configure.ac (CLI_RELEASE_CLASS, GUI_RELEASE_CLASS): Adopt... + (RELEASE_CLASS) [defined]: ...this as default value. + +2013-10-02 Keith Marshall + + Support group affiliation with component package granularity. + + * src/pkglist.cpp (pkgXmlNode::IsVisibleClass): Make it synonymous + with IsVisibleGroupMember(); this is a temporary adjustment, pending + the planned implementation of component class visibility filtering. + (pkgListViewMaker::Dispatch): Defer consideration of visibility until + traversal of component package directories, except in the particular + case of packages which lack defined components. + +2013-10-01 Keith Marshall + + Correct processing of package group associations. + + * src/pkgtree.cpp (AppWindowMaker::IsPackageGroupAffiliate): Iterate + over "affiliate_key" elements in FindNextAssociate() calls; original + implementation was incorrectly iterating over "group_key" elements. + +2013-09-21 Keith Marshall + + Reorder controls within "Apply Changes" dialogue. + + * src/guimain.rc (IDD_APPLY_APPROVE): Move definition of the "Okay to + proceed?" GROUPBOX, and its contained PUSHBUTTONs, to the top; we want + it to get the default focus. + +2013-09-21 Keith Marshall + + Reimplement wsh.lua in C/C++; (cf. MinGW-Bug #2057). + + * src/pkgexec.cpp (LUA_INLINE): New function attribute definition. + (init_lua_path): Use it, reproducing the original function attributes. + (lua_isstringarg): New LUA_INLINE helper function; implement it. + (lua_wsh_libexec_path): New function; it implements wsh.libexec_path + (lua_wsh_execute): New function; it implements wsh.execute + (luaload_wsh): New function; it wraps references to lua_wsh_execute() + and lua_wsh_libexec_path() to provide the wsh module implementation. + (pkgXmlNode::DispatchScript): Preload it into the Lua interpreter. + + * scripts/libexec/setup.lua (M.argwrap): New method; implement it. + (M.shlink, M.unlink): Use it to collect their arguments into a single + string, to be passed as the command to be invoked by wsh.execute + + * scripts/libexec/wsh.lua: File is no longer required; delete it. + * Makefile.in (LIBEXEC_SCRIPTS): Remove reference to it. + +2013-09-20 Keith Marshall + + Establish default preferences for GUI; (cf. MinGW-Feature #2036) + + * src/pkgbase.h (pkgXmlDocument::EstablishPreferences): Adjust its + prototype; add argument identifying prospective client classification. + + * src/pkgopts.cpp (client_key): New XML property keyword; define it. + (pkgXmlDocument::EstablishPreferences): Implement filter, based on new + client classification argument, to restrict preference selection to a + matching client class specification. + + * src/climain.cpp (dbase.EstablishPreferences): Filter on class "cli". + * src/guiexec.cpp (pkgData->EstablishPreferences): Likewise, on "gui". + + * xml/profile.xml (preferences): Add client="cli" attribute for the + existing specification; add another for client="gui". + +2013-09-20 Keith Marshall + + Force canonical comparison of shell links; (cf. MinGW-Bug #2054) + + * scripts/libexec/unlink.js [FileExists(filename) && (chklink != "")]: + The value of 'chklink' may not be canonical; instantiate an (unsaved) + link reference from it, then compare the canonicalized reference from + within it, to the reference within 'filename', thus avoiding possible + lexical mismatch between canonical and non-canonical forms. + +2013-09-19 Keith Marshall + + Correct LUA_PATH assignment for GUI; (cf. MinGW-Bug #2052) + + * src/pkgexec.cpp (LUA_LIBEXEC_PATH): New manifest string; define it. + (init_lua_path) : Use it; add guimain.exe app directory. + +2013-09-19 Keith Marshall + + Handle meta-package removal correctly; (cf. MinGW-Bug #2051) + + * src/pkgunst.cpp (pkgRemove) [archive == none]: Ensure the pending + action flag is cleared; previously this was done during manifest clean + up, and since a meta-package has no manifest, it was overlooked. + +2013-09-10 Keith Marshall + + mingw-get-0.6.1-mingw32-beta-20130910-1 released. + + * srcdist-doc/NEWS.in: Release notes updated. + * All files (r0-6-1-beta-20130910-1): Tag assigned. + +2013-09-10 Keith Marshall + + Fix MinGW-Bug #2026. + + * src/dmhguix.cpp (DMH_PTY_GUARDBYTES): New manifest constant. + (dmhTypePTY::printf) [buffer full]: Use it; it defines a reserved byte + count, at end of buffer, where expansion or scroll out is triggered; + use memcpy() for scroll out, but avoid overlapping regions. + (dmhTypePTY::printf) [output == '\r']: Handle it. + + * src/tarproc.cpp (create_output_stream): Improve diagnostic messages; + discriminate between file collision and other privilege violations. + (pkgArchiveProcessor::ExtractFile): Don't return a zero status code, + when the output stream could not be successfully opened, so that... + (pkgTarArchiveInstaller::ProcessDataStream): ...we may avoid writing a + spurious manifest entry here. + +2013-09-06 Keith Marshall + + Update version, pre-empting subsequent release. + + * VERSION.m4 (VERSION_PATCH): Bump from zero to 1. + +2013-09-04 Keith Marshall + + mingw-get-0.6.0-mingw32-beta-20130904-1 released. + + * srcdist-doc/NEWS.in srcdist-doc/README.in: Release notes updated. + * srcdist-doc/INSTALL.in: Installation instructions updated. + * All files (r0-6-0-beta-20130904-1): Tag assigned. + +2013-08-26 Keith Marshall + + Implement retry throttling for failed internet connections. + + * src/pkginet.h (INTERNET_RETRY_ATTEMPTS): New macro; define it. + (INTERNET_RETRY_INTERVAL, INTERNET_DELAY_FACTOR): Likewise. + + * src/pkginet.cpp (INTERNET_RETRY_REQUESTER): New typedef. + (pkgInternetAgent::connection_delay, pkgInternetAgent::delay_factor): + (pkgInternetAgent::retries, pkgInternetAgent::retry_interval): New + private member variables; declare them. + (pkgInternetAgent::OpenURL): Use them; they must be initialised by... + (pkgInternetAgent::SetRetryOptions): ...this new method; implement it. + (pkgActionItem::DownloadSingleArchive): Invoke it. + (pkgXmlDocument::SyncRepository): Likewise. + +2013-08-24 Keith Marshall + + Reassign default URL for download of setup tool components. + + * aclocal.m4 (PACKAGE_DIST_DOMAIN, PACKAGE_DIST_DIR): New precious + variables; declare them as such, and assign default values by using... + (MINGW_AC_PACKAGE_DIST_URL): ...this new macro; implement it. + + * configure.ac (MINGW_AC_PACKAGE_DIST_URL): Use it. + * Makefile.in (TAG_SCRIPT): Capture assigned URL; substitute it... + (PACKAGE_DIST_URL): ...for this replacement text marker... + * src/setup.rc (ID_DOWNLOAD_HOST_URI): ...here. + 2013-08-21 Keith Marshall Simplify guimain.exe duplicate instance prevention.