1 2010-01-22 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Add subsystem specific sysroot mapping facility.
5 * src/pkghash.c: New file; required by...
6 * src/sysroot.cpp: New file; it implements...
7 (pkgXmlDocument::LoadSystemMap, pkgXmlNode::GetSysRoot): New methods.
9 * src/pkgbase.h: Update copyright notice.
10 (pkgXmlDocument::LoadSystemMap): Declare it.
11 (pkgXmlDocument::AddDeclaration): New inline method.
12 (pkgXmlDocument::SetRoot, pkgXmlDocument::Save): Likewise.
13 (pkgXmlNode::GetSysRoot): Declare it.
14 (pkgXmlNode::GetDocumentRoot): New inline method.
15 (pkgXmlNode::AddChild, pkgXmlNode::DeleteChild): Likewise.
17 * src/climain.cpp: Update copyright notice.
18 (climain): Invoke pkgXmlDocument::LoadSystemMap() as required.
20 * Makefile.in (CORE_DLL_OBJECTS): Add ...
21 (pkghash.$(OBJEXT), sysroot.$(OBJEXT)): ...these; upate dependencies.
22 (DEBUGLEVEL): New macro; define it.
25 2010-01-16 Keith Marshall <keithmarshall@users.sourceforge.net>
27 Assign standardised keys for XML database lookup.
29 * src/pkgkeys.h: New file; provide public key declarations.
30 * src/pkgkeys.c: New file; implement them.
32 * src/pkgbind.cpp: Use them; update copyright notice.
33 * src/pkgexec.cpp, src/pkgfind.cpp, src/pkginet.cpp: Likewise.
34 * src/pkgname.cpp, src/pkgspec.cpp: Likewise.
36 * Makfile.in (CORE_DLL_OBJECTS): Add pkgkeys.$(OBJEXT); update all
37 dependencies accordingly.
39 2010-01-08 Keith Marshall <keithmarshall@users.sourceforge.net>
41 Add CLI version reporting option.
43 * configure.ac: Update copyright notice for new year.
44 (COPYRIGHT_HOLDER): New AC_SUBST variable; define it.
45 (YEARS_OF_ISSUE): New AC_SUBST variable; define it.
46 (AC_CONFIG_FILES): Add `version.c'; source it from...
48 * version.c.in: ...this new file.
50 * Makefile.in: Update copyright notice for new year.
51 (mingw-get$(EXEEXT)): Add dependency on `version.$(OBJEXT)'.
52 (distclean): Add `version.c'.
54 * configure: Regenerated.
56 * src/clistub.c: Update copyright notice for new year.
57 (options): New array of `struct option'; define and use it as the
58 reference for `argv' parsing with `getopt_long_only()'.
60 2009-12-17 Keith Marshall <keithmarshall@users.sourceforge.net>
62 Add CLI support for "update" action.
64 * src/pkgtask.h (ACTION_UPDATE): Define it, derived from...
65 (action_update): ...this new entry in anonymous enumeration.
67 * src/pkgexec.cpp (action_name): Add "update" keyword identification.
69 * src/pkgbase.h: Typo in comment; s/xwXmlDocument/wxXmlDocument/.
70 (pkgXmlDocument::BindRepositories): Add `force_update' parameter...
71 * src/pkgbind.cpp (pkgXmlDocument::BindRepositories): Use it to...
72 (pkgXmlDocument::SyncRepository): ...invoke this method when passed as
73 a `true' flag, in addition to (as previously) first time reference.
75 * src/climain.cpp (climain): Interpret "update" keyword for...
76 [ACTION_UPDATE]: ...passing state as `force_update' parameter to...
77 (pkgXmlDocument::BindRepositories): ...this method, then...
78 [!ACTION_UPDATE]: Follow with normal action processing.
80 2009-12-16 Keith Marshall <keithmarshall@users.sourceforge.net>
82 Add status checking for Internet URL connections.
84 * src/pkginet.cpp (pkgInternetAgent::QueryStatus): New method.
85 (pkgInternetStreamingAgent::Get): Use it; set `dl_status' as return
86 value, deferring failure diagnostics to callers, i.e. to...
87 (pkgXmlDocument::SyncRepositories): ...this, and to...
88 (pkgActionItem::DownloadArchiveFiles): ...this.
90 2009-11-23 Keith Marshall <keithmarshall@users.sourceforge.net>
92 Add package download and repository synchronisation machinery.
94 * src/pkgstrm.h: New header file.
96 * src/pkgbind.cpp, src/pkginet.cpp, src/pkgstrm.cpp,
97 src/pkgfind.cpp, src/pkgname.cpp, src/keyword.c: New files.
98 * Makefile.in (CORE_DLL_OBJECTS): Add build goals for them.
100 * xml: New directory.
102 * src/climain.cpp (climain): Establish repository bindings from...
103 * xml/profile.xml: ...this new configuration file.
105 2009-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
107 Add XML database bindings and preliminary action executive for CLI.
109 * src/pkgbase.h, src/pkgtask.h,
110 src/mkpath.h, src/vercmp.h: New header files.
112 * src/climain.cpp, src/pkgexec.cpp, src/pkgspec.cpp,
113 src/mkpath.c, src/vercmp.cpp, src/xmlfile.c: New files.
115 * Makefile.in (CORE_DLL_OBJECTS): Define initial set of files...
116 (mingw-get-0.dll): ...build them into this new DLL target; add it...
117 (all): ...as prerequisite for this primary build goal.
119 2009-11-12 Keith Marshall <keithmarshall@users.sourceforge.net>
121 Avoid some potential GCC warnings.
123 * src/clistub.c: Include process.h for `execv' prototype...
124 (main): Cast `argv' to appropriately matched type when calling it.
126 * src/pkginfo/driver.c: Include stdlib.h for `free' prototype.
128 2009-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
130 Create diagnostic message handler for CLI usage.
132 * src/dmh.h: New header file; it defines the public interface.
133 * src/dmh.cpp: New file; it implements the message handler.
135 2009-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
137 Correct some identified TinyXML issues.
139 * tinyxml/tinyxml.h (IsWhiteSpace): Add FIXME annotation to flag
140 probable redundancy of checks for '\n' and '\r'.
141 * tinyxml/tinyxmlparser.cpp: Revert John E's 2008-08-09 change; remove
142 all such redundancies in IsWhiteSpace() calls throughout.
144 * tinyxml/tinyxml.cpp (TiXmlAttribute::SetDoubleValue): Correct format
145 specification in sprintf()/snprintf() calls; "%lf" is invalid; replace
148 2009-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
152 * src/clistub.c: New file.
153 * Makefile.in: Add build rule for it; build as...
154 (mingw-get.exe): ...this; also add to...
155 (clean): ...this goal.
157 2009-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
159 Set up build mechanism.
161 * configure.ac, Makefile.in: New files.
162 * .cvsignore (configure, autom4te.cache): Add to ignored files.
164 2009-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
166 Add GPL-v3 licensing terms.
168 * COPYING: New file, sourced from gnu.org.
170 2009-10-12 Keith Marshall <keithmarshall@users.sourceforge.net>
172 Add pkginfo implementation.
174 * src, src/pkginfo: New directories.
175 * src/pkginfo/pkginfo.h, src/pkginfo/pkginfo.l: New files.
176 * src/pkginfo/driver.c: New file.
178 2009-10-12 Keith Marshall <keithmarshall@users.sourceforge.net>
182 * All files (tdm-branch): Assign new branch tag.
183 * All top-level files: Remove from trunk.
184 * ChangeLog: New file.