]>
Commit | Line | Data |
---|---|---|
aa62e0f3 BD |
1 | 2005-09-01 Brian Dessent <brian@dessent.net> |
2 | ||
3 | * Makefile.am (AM_CXXFLAGS): Add -Wno-uninitialized to work around | |
4 | spurious warnings with gcc 3.4.4. | |
5 | ||
2f142eb9 | 6 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
72a99873 MB |
7 | |
8 | * Makefile.am (EXTRA_DIST): Add bootstrap.sh. | |
9 | ||
1d644c06 RC |
10 | 2003-12-10 20:45:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-17 |
11 | ||
12 | Summary: | |
13 | bump library version | |
14 | Revision: | |
15 | libgetoptplusplus--own-getopt--1.0--patch-17 | |
16 | ||
17 | ||
18 | modified files: | |
19 | Makefile.am src/OptionSet.cc | |
20 | ||
21 | ||
22 | 2003-12-10 13:14:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-16 | |
23 | ||
24 | Summary: | |
25 | extract argumentless parsing logic | |
26 | Revision: | |
27 | libgetoptplusplus--own-getopt--1.0--patch-16 | |
28 | ||
29 | ||
30 | modified files: | |
31 | include/getopt++/OptionSet.h src/OptionSet.cc | |
32 | ||
33 | ||
34 | 2003-12-10 12:25:55 GMT Robert Collins <rbtcollins@hotmail.com> patch-15 | |
35 | ||
36 | Summary: | |
37 | simplify logic by consolidating Process calls in OptionSet::doOption | |
38 | Revision: | |
39 | libgetoptplusplus--own-getopt--1.0--patch-15 | |
40 | ||
41 | ||
42 | modified files: | |
43 | src/OptionSet.cc | |
44 | ||
45 | ||
46 | 2003-12-10 12:24:22 GMT Robert Collins <rbtcollins@hotmail.com> patch-14 | |
47 | ||
48 | Summary: | |
49 | move option value passing out of the direct path of option processing | |
50 | Revision: | |
51 | libgetoptplusplus--own-getopt--1.0--patch-14 | |
52 | ||
53 | ||
54 | modified files: | |
55 | src/OptionSet.cc | |
56 | ||
57 | ||
58 | 2003-12-10 12:21:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-13 | |
59 | ||
60 | Summary: | |
61 | return actual Option results | |
62 | Revision: | |
63 | libgetoptplusplus--own-getopt--1.0--patch-13 | |
64 | ||
65 | ||
66 | modified files: | |
67 | src/OptionSet.cc | |
68 | ||
69 | ||
70 | 2003-12-10 12:19:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-12 | |
71 | ||
72 | Summary: | |
73 | extract OptionSet::findOption | |
74 | Revision: | |
75 | libgetoptplusplus--own-getopt--1.0--patch-12 | |
76 | ||
77 | ||
78 | modified files: | |
79 | include/getopt++/OptionSet.h src/OptionSet.cc | |
80 | ||
81 | ||
82 | 2003-12-10 12:14:36 GMT Robert Collins <rbtcollins@hotmail.com> patch-11 | |
83 | ||
84 | Summary: | |
85 | make OptionSet::processOne() return void | |
86 | Revision: | |
87 | libgetoptplusplus--own-getopt--1.0--patch-11 | |
88 | ||
89 | ||
90 | modified files: | |
91 | include/getopt++/OptionSet.h src/OptionSet.cc | |
92 | ||
93 | ||
94 | 2003-12-10 12:10:42 GMT Robert Collins <rbtcollins@hotmail.com> patch-10 | |
95 | ||
96 | Summary: | |
97 | extract method OptionSet::doOption | |
98 | Revision: | |
99 | libgetoptplusplus--own-getopt--1.0--patch-10 | |
100 | ||
101 | ||
102 | modified files: | |
103 | include/getopt++/OptionSet.h src/OptionSet.cc | |
104 | ||
105 | ||
106 | 2003-12-10 11:57:05 GMT Robert Collins <rbtcollins@hotmail.com> patch-9 | |
107 | ||
108 | Summary: | |
109 | extract method OptionSet::isOption | |
110 | Revision: | |
111 | libgetoptplusplus--own-getopt--1.0--patch-9 | |
112 | ||
113 | ||
114 | modified files: | |
115 | include/getopt++/OptionSet.h src/OptionSet.cc | |
116 | ||
117 | ||
118 | 2003-12-10 11:48:31 GMT Robert Collins <rbtcollins@hotmail.com> patch-8 | |
119 | ||
120 | Summary: | |
121 | eliminate passed in self reference to OptionSet::processOne | |
122 | Revision: | |
123 | libgetoptplusplus--own-getopt--1.0--patch-8 | |
124 | ||
125 | ||
126 | modified files: | |
127 | include/getopt++/OptionSet.h src/OptionSet.cc | |
128 | ||
129 | ||
130 | 2003-12-10 11:36:01 GMT Robert Collins <rbtcollins@hotmail.com> patch-7 | |
131 | ||
132 | Summary: | |
133 | remove OptionState class | |
134 | Revision: | |
135 | libgetoptplusplus--own-getopt--1.0--patch-7 | |
136 | ||
137 | ||
138 | modified files: | |
139 | include/getopt++/OptionSet.h src/OptionSet.cc | |
140 | ||
141 | ||
142 | 2003-12-10 11:32:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-6 | |
143 | ||
144 | Summary: | |
145 | remove OptionStateFinder class | |
146 | Revision: | |
147 | libgetoptplusplus--own-getopt--1.0--patch-6 | |
148 | ||
149 | ||
150 | modified files: | |
151 | src/OptionSet.cc | |
152 | ||
153 | ||
154 | 2003-12-10 06:52:51 GMT Robert Collins <rbtcollins@hotmail.com> patch-5 | |
155 | ||
156 | Summary: | |
157 | use up option values that are in the next argv slot | |
158 | Revision: | |
159 | libgetoptplusplus--own-getopt--1.0--patch-5 | |
160 | ||
161 | ||
162 | modified files: | |
163 | src/OptionSet.cc | |
164 | ||
165 | ||
166 | 2003-12-10 06:47:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-4 | |
167 | ||
168 | Summary: | |
169 | support step by step parsing - using non options to switch 'mode' | |
170 | Revision: | |
171 | libgetoptplusplus--own-getopt--1.0--patch-4 | |
172 | ||
173 | ||
174 | modified files: | |
175 | include/getopt++/OptionSet.h src/OptionSet.cc | |
176 | tests/OptionSet.cc | |
177 | ||
178 | ||
179 | 2003-12-10 04:37:57 GMT Robert Collins <rbtcollins@hotmail.com> patch-3 | |
180 | ||
181 | Summary: | |
182 | deprecate the DefaultOptionSet approach for chaining options | |
183 | Revision: | |
184 | libgetoptplusplus--own-getopt--1.0--patch-3 | |
185 | ||
186 | ||
187 | modified files: | |
188 | include/getopt++/BoolOption.h include/getopt++/Option.h | |
189 | include/getopt++/OptionSet.h include/getopt++/StringOption.h | |
190 | src/BoolOption.cc src/OptionSet.cc src/StringOption.cc | |
191 | tests/BoolOptionTest.cc tests/OptionSet.cc tests/testoption.cc | |
192 | ||
193 | ||
194 | 2003-12-10 04:01:28 GMT Robert Collins <rbtcollins@hotmail.com> patch-2 | |
195 | ||
196 | Summary: | |
197 | remove getopt logic | |
198 | Revision: | |
199 | libgetoptplusplus--own-getopt--1.0--patch-2 | |
200 | ||
201 | ||
202 | removed files: | |
203 | include/.arch-ids/cdefs.h.id include/.arch-ids/getopt.h.id | |
204 | include/cdefs.h include/getopt.h src/.arch-ids/getopt.c.id | |
205 | src/getopt.c | |
206 | ||
207 | modified files: | |
208 | Makefile.am configure.in include/getopt++/DefaultFormatter.h | |
209 | include/getopt++/OptionSet.h include/getopt++/StringOption.h | |
210 | src/BoolOption.cc src/StringOption.cc | |
211 | ||
212 | ||
213 | 2003-12-10 03:50:09 GMT Robert Collins <rbtcollins@hotmail.com> patch-1 | |
214 | ||
215 | Summary: | |
216 | add test case, and reimplement getopt from scratch | |
217 | Revision: | |
218 | libgetoptplusplus--own-getopt--1.0--patch-1 | |
219 | ||
220 | ||
221 | new files: | |
222 | tests/.arch-ids/OptionSet.cc.id tests/OptionSet.cc | |
223 | ||
224 | modified files: | |
225 | Makefile.am include/getopt++/BoolOption.h | |
226 | include/getopt++/DefaultFormatter.h include/getopt++/Option.h | |
227 | include/getopt++/OptionSet.h include/getopt++/StringOption.h | |
228 | src/BoolOption.cc src/OptionSet.cc src/StringOption.cc | |
229 | ||
230 | ||
231 | 2003-12-09 06:32:21 GMT Robert Collins <rbtcollins@hotmail.com> base-0 | |
232 | ||
233 | Summary: | |
234 | initial import | |
235 | Revision: | |
236 | libgetoptplusplus--own-getopt--1.0--base-0 | |
237 | ||
238 | ||
239 | (automatically generated log message) | |
240 | ||
241 | new files: | |
242 | COPYING ChangeLog Makefile.am README bootstrap.sh configure.in | |
243 | include/cdefs.h include/getopt++/BoolOption.h | |
244 | include/getopt++/DefaultFormatter.h | |
245 | include/getopt++/GetOption.h include/getopt++/Option.h | |
246 | include/getopt++/OptionSet.h include/getopt++/StringOption.h | |
247 | include/getopt.h src/BoolOption.cc src/GetOption.cc | |
248 | src/Option.cc src/OptionSet.cc src/StringOption.cc | |
249 | src/getopt.c tests/BoolOptionTest.cc tests/optioniterator.cc | |
250 | tests/testoption.cc | |
251 | ||
252 | ||
0b193029 RC |
253 | 2003-11-16 Robert Collins <rbtcollins@hotmail.com> |
254 | ||
255 | * src/OptionSet.cc (OptionSet::Process): Call the default optionset | |
256 | if one is supplied and no options are in the default. | |
257 | ||
20e315e1 RC |
258 | 2003-03-19 Robert Collins <rbtcollins@hotmail.com> |
259 | ||
260 | * configure.in: Bump version number. | |
261 | * Makefile.am: Add DefaultFormatter.h to installed files. | |
262 | * src/OptionSet.cc (OptionSet::ParameterUsage): Use new | |
263 | default DefaultFormatter to format parameters. | |
264 | * include/getopt++/OptionSet.h: Update copyright. | |
265 | * include/getopt++/DefaultFormatter.h: Format the help from an Option. | |
266 | * tests/testoption.cc: Include a -h|--help option to test help | |
267 | formatting. | |
268 | Insert copyright statement. | |
269 | * tests/optioniterator.cc: Insert copyright statement. | |
270 | ||
6f1abe45 RC |
271 | 2003-03-18 Robert Collins <rbtcollins@hotmail.com> |
272 | ||
273 | * include/getopt++/OptionSet.h (OptionSet): Convert to use a vector. | |
274 | * src/OptionSet.cc: Convert array to vector use throughout. | |
275 | (OptionSet::optionsInSet): Implement external access to the available | |
276 | options. | |
277 | ||
48c7d667 MB |
278 | 2003-03-10 Max Bowsher <maxb@ukf.net> |
279 | ||
280 | * Makefile.am: Add foreign to AUTOMAKE_OPTIONS. | |
281 | ||
7431a3a4 MB |
282 | 2003-03-09 Max Bowsher <maxb@ukf.net> |
283 | ||
284 | * bootstrap.sh: Add sanity check of current directory. | |
285 | ||
c70afa7a MB |
286 | 2002-11-29 Max Bowsher <maxb@ukf.net> |
287 | ||
288 | * .cvsignore: Create, for files generated by bootstrap.sh | |
289 | * include/.cvsignore: Ditto, for subdir. | |
290 | ||
ca362066 RC |
291 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
292 | ||
293 | * src/getopt.c: Only use our cdefs.h if the OS doesn't have one. | |
294 | * Makefile.am: Only compile our getopt.h if the OS doesn't provide | |
295 | getopt.h. | |
296 | * configure.in: Ditto. | |
297 | * tests/testoption.cc: Update for GCC-3. | |
298 | ||
e930272e RC |
299 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
300 | ||
301 | * include/getopt++/BoolOption.h: Add 'std::' where needed. | |
302 | * include/getopt++/Option.h: Ditto. | |
303 | * include/getopt++/OptionSet.h: Ditto. | |
304 | * include/getopt++/StringOption.h: Ditto. | |
305 | * src/BoolOption.cc: Add 'using namespace std;'. | |
306 | * src/OptionSet.cc: Ditto. | |
307 | * src/StringOption.cc: Ditto. | |
308 | ||
23cb3386 RC |
309 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
310 | ||
311 | * Makefile.am (libgetopt++_la_LDADD): Remove -lstd++, it is only needed | |
312 | for broken g++ specs on some platforms. | |
313 | ||
e6d1fdfd RC |
314 | 2002-06-08 Robert Collins <rbtcollins@hotmail.com> |
315 | ||
316 | * Makefile.am: Correct Version requirement syntax. | |
317 | ||
290fdf73 RC |
318 | 2002-04-23 Robert Collins <rbtcollins@hotmail.com> |
319 | ||
320 | * include/cdefs.h: New file, support for getopt.h. | |
321 | * include/getopt.h: New file, for platforms without getopt.h. | |
322 | * src/getopt.c: New file, implementation of getopt. | |
323 | * COPYING: New file, GPL v2 text. | |
324 | * Makefile.am: Change AM_CXXFLAGS to INCLUDES. | |
325 | Add getopt.c to the library source. | |
326 | Add new headers to the source list. | |
327 | * configure.in: Remove unneeded macro calls. | |
328 | * include/getopt++/StringOption.h: Change String to string throughout. | |
329 | * src/StringOption.cc: Ditto. | |
330 | * include/getopt++/BoolOption.h: Ditto. | |
331 | * src/BoolOption.cc: Ditto. | |
332 | * src/OptionSet.cc: Ditto. | |
333 | * include/getopt++/Option.h: Ditto. | |
334 | Remove String++ includes, it's not needed anymore. | |
335 | * include/getopt++/OptionSet.h: Make the destructor virtual. | |
336 | ||
18b5620f RC |
337 | 2002-04-23 Robert Collins <rbtcollins@hotmail.com> |
338 | ||
339 | * src/OptionSet.cc (OptionSet::ParameterUsage): Line-break long | |
340 | help text. | |
341 | ||
1ae8e28d RC |
342 | 2002-04-20 Robert Collins <rbtcollins@hotmail.com> |
343 | ||
344 | * Makefile.am (libgetopt___la_SOURCES): Add OptionSet.cc and | |
345 | StringOption.cc for new functionality. | |
346 | (getoptinclude_HEADERS): Install the new headers. | |
347 | * include/getopt++/BoolOption.h (BoolOption::shortOption): Change | |
348 | to align with new Option header. | |
349 | * include/getopt++/Option.h (Option::shortOption): Change to allow | |
350 | short options with arguments. | |
351 | * include/getopt++/OptionSet.h: Implement ParameterUsage to show | |
352 | program options. | |
353 | Change Process to include a fallback OptionSet - for picking up | |
354 | non-option arguments. | |
355 | * include/getopt++/StringOption.h: New file. | |
356 | * src/BoolOption.cc (BoolOption::shortOption): Change as per the header. | |
357 | * src/OptionSet.cc (OptionSet::Process): Pass on umnparameterised | |
358 | arguments. | |
359 | (OptionSet::ParameterUsage): Implement. | |
360 | * src/StringOption.cc: New file. | |
361 | ||
7419f059 RC |
362 | 2002-04-14 Robert Collins <rbtcollins@hotmail.com> |
363 | ||
364 | * include/BoolOption.h: Move to | |
365 | * include/getopt++/BoolOption.h: here. | |
366 | * include/GetOption.h: Implement multiple-sets as per design. | |
367 | Move to ... | |
368 | * include/getopt++/GetOption.h: here. | |
369 | * include/Option.h: Move to | |
370 | * include/getopt++/Option.h: here. | |
371 | * include/getopt++/OptionSet.h: New file. | |
372 | * src/GetOption.cc: Move core functions to OptionSet.cc. | |
373 | Adjust for new header locations. | |
374 | * src/OptionSet.cc: New file. | |
375 | * src/BoolOption.cc: Adjust for new header locations. | |
376 | * src/Option.cc: Adjust for new header locations. | |
377 | * tests/testoption.cc: Adjust for new header locations. | |
378 | ||
379 | 2002-04-14 Robert Collins <rbtcollins@hotmail.com> | |
380 | ||
381 | * Makefile.am: New file. | |
382 | * README: New file. | |
383 | * bootstrap.sh: New file. | |
384 | * configure.in: New file. | |
385 | * include/BoolOption.h: New file. | |
386 | * include/GetOption.h: New file. | |
387 | * include/Option.h: New file. | |
388 | * src/BoolOption.cc: New file. | |
389 | * src/GetOption.cc: New file. | |
390 | * src/Option.cc: New file. | |
391 | * tests/testoption.cc: New file. |