OSDN Git Service

Support group affiliation with component package granularity.
[mingw/mingw-get.git] / ChangeLog
index ba4fb1a..efa5119 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,93 @@
+2013-10-02  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
+
+       Correct LUA_PATH assignment for GUI; (cf. MinGW-Bug #2052)
+
+       * src/pkgexec.cpp (LUA_LIBEXEC_PATH): New manifest string; define it.
+       (init_lua_path) <LUA_PATH>: Use it; add guimain.exe app directory.
+
+2013-09-19  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       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  <keithmarshall@users.sourceforge.net>
 
        mingw-get-0.6.1-mingw32-beta-20130910-1 released.