OSDN Git Service

Add subsystem specific sysroot mapping facility.
[mingw/mingw-get.git] / ChangeLog
1 2010-01-22  Keith Marshall  <keithmarshall@users.sourceforge.net>
2
3         Add subsystem specific sysroot mapping facility.
4
5         * src/pkghash.c: New file; required by...
6         * src/sysroot.cpp: New file; it implements...
7         (pkgXmlDocument::LoadSystemMap, pkgXmlNode::GetSysRoot): New methods.
8
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.
16
17         * src/climain.cpp: Update copyright notice.
18         (climain): Invoke pkgXmlDocument::LoadSystemMap() as required.
19
20         * Makefile.in (CORE_DLL_OBJECTS): Add ...
21         (pkghash.$(OBJEXT), sysroot.$(OBJEXT)): ...these; upate dependencies.
22         (DEBUGLEVEL): New macro; define it.
23         (CPPFLAGS): Use it.
24
25 2010-01-16  Keith Marshall  <keithmarshall@users.sourceforge.net>
26
27         Assign standardised keys for XML database lookup.
28
29         * src/pkgkeys.h: New file; provide public key declarations.
30         * src/pkgkeys.c: New file; implement them.
31
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.
35
36         * Makfile.in (CORE_DLL_OBJECTS): Add pkgkeys.$(OBJEXT); update all
37         dependencies accordingly.
38
39 2010-01-08  Keith Marshall  <keithmarshall@users.sourceforge.net>
40
41         Add CLI version reporting option.
42
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...
47
48         * version.c.in: ...this new file.
49
50         * Makefile.in: Update copyright notice for new year.
51         (mingw-get$(EXEEXT)): Add dependency on `version.$(OBJEXT)'.
52         (distclean): Add `version.c'.
53
54         * configure: Regenerated.
55
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()'.
59
60 2009-12-17  Keith Marshall  <keithmarshall@users.sourceforge.net>
61
62         Add CLI support for "update" action.
63
64         * src/pkgtask.h (ACTION_UPDATE): Define it, derived from...
65         (action_update): ...this new entry in anonymous enumeration.
66         
67         * src/pkgexec.cpp (action_name): Add "update" keyword identification.
68
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.
74
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.
79
80 2009-12-16  Keith Marshall  <keithmarshall@users.sourceforge.net>
81
82         Add status checking for Internet URL connections.
83
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.
89
90 2009-11-23  Keith Marshall  <keithmarshall@users.sourceforge.net>
91
92         Add package download and repository synchronisation machinery.
93
94         * src/pkgstrm.h: New header file.
95
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.
99
100         * xml: New directory.
101
102         * src/climain.cpp (climain): Establish repository bindings from...
103         * xml/profile.xml: ...this new configuration file.
104
105 2009-11-16  Keith Marshall  <keithmarshall@users.sourceforge.net>
106
107         Add XML database bindings and preliminary action executive for CLI.
108
109         * src/pkgbase.h, src/pkgtask.h,
110         src/mkpath.h, src/vercmp.h: New header files.
111
112         * src/climain.cpp, src/pkgexec.cpp, src/pkgspec.cpp,
113         src/mkpath.c, src/vercmp.cpp, src/xmlfile.c: New files.
114
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.
118
119 2009-11-12  Keith Marshall  <keithmarshall@users.sourceforge.net>
120
121         Avoid some potential GCC warnings.
122
123         * src/clistub.c: Include process.h for `execv' prototype...
124         (main): Cast `argv' to appropriately matched type when calling it.
125
126         * src/pkginfo/driver.c: Include stdlib.h for `free' prototype.
127
128 2009-11-11  Keith Marshall  <keithmarshall@users.sourceforge.net>
129
130         Create diagnostic message handler for CLI usage.
131
132         * src/dmh.h: New header file; it defines the public interface.
133         * src/dmh.cpp: New file; it implements the message handler.
134
135 2009-11-05  Keith Marshall  <keithmarshall@users.sourceforge.net>
136
137         Correct some identified TinyXML issues.
138
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.
143
144         * tinyxml/tinyxml.cpp (TiXmlAttribute::SetDoubleValue): Correct format
145         specification in sprintf()/snprintf() calls; "%lf" is invalid; replace
146         with "%f".
147
148 2009-10-31  Keith Marshall  <keithmarshall@users.sourceforge.net>
149
150         Add CLI loader stub.
151
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.
156
157 2009-10-31  Keith Marshall  <keithmarshall@users.sourceforge.net>
158
159         Set up build mechanism.
160
161         * configure.ac, Makefile.in: New files.
162         * .cvsignore (configure, autom4te.cache): Add to ignored files.
163
164 2009-10-30  Keith Marshall  <keithmarshall@users.sourceforge.net>
165
166         Add GPL-v3 licensing terms.
167
168         * COPYING: New file, sourced from gnu.org.
169
170 2009-10-12  Keith Marshall  <keithmarshall@users.sourceforge.net>
171
172         Add pkginfo implementation.
173
174         * src, src/pkginfo: New directories.
175         * src/pkginfo/pkginfo.h, src/pkginfo/pkginfo.l: New files.
176         * src/pkginfo/driver.c: New file.
177
178 2009-10-12  Keith Marshall  <keithmarshall@users.sourceforge.net>
179
180         Create tdm-branch.
181
182         * All files (tdm-branch): Assign new branch tag.
183         * All top-level files: Remove from trunk.
184         * ChangeLog: New file.