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