1 2008-04-08 Brian Dessent <brian@dessent.net>
3 * src/OptionSet.cc: Include algorithm.
5 2005-09-01 Brian Dessent <brian@dessent.net>
7 * Makefile.am (AM_CXXFLAGS): Add -Wno-uninitialized to work around
8 spurious warnings with gcc 3.4.4.
10 2005-05-05 Max Bowsher <maxb@ukf.net>
12 * Makefile.am (EXTRA_DIST): Add bootstrap.sh.
14 2003-12-10 20:45:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-17
19 libgetoptplusplus--own-getopt--1.0--patch-17
23 Makefile.am src/OptionSet.cc
26 2003-12-10 13:14:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-16
29 extract argumentless parsing logic
31 libgetoptplusplus--own-getopt--1.0--patch-16
35 include/getopt++/OptionSet.h src/OptionSet.cc
38 2003-12-10 12:25:55 GMT Robert Collins <rbtcollins@hotmail.com> patch-15
41 simplify logic by consolidating Process calls in OptionSet::doOption
43 libgetoptplusplus--own-getopt--1.0--patch-15
50 2003-12-10 12:24:22 GMT Robert Collins <rbtcollins@hotmail.com> patch-14
53 move option value passing out of the direct path of option processing
55 libgetoptplusplus--own-getopt--1.0--patch-14
62 2003-12-10 12:21:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-13
65 return actual Option results
67 libgetoptplusplus--own-getopt--1.0--patch-13
74 2003-12-10 12:19:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-12
77 extract OptionSet::findOption
79 libgetoptplusplus--own-getopt--1.0--patch-12
83 include/getopt++/OptionSet.h src/OptionSet.cc
86 2003-12-10 12:14:36 GMT Robert Collins <rbtcollins@hotmail.com> patch-11
89 make OptionSet::processOne() return void
91 libgetoptplusplus--own-getopt--1.0--patch-11
95 include/getopt++/OptionSet.h src/OptionSet.cc
98 2003-12-10 12:10:42 GMT Robert Collins <rbtcollins@hotmail.com> patch-10
101 extract method OptionSet::doOption
103 libgetoptplusplus--own-getopt--1.0--patch-10
107 include/getopt++/OptionSet.h src/OptionSet.cc
110 2003-12-10 11:57:05 GMT Robert Collins <rbtcollins@hotmail.com> patch-9
113 extract method OptionSet::isOption
115 libgetoptplusplus--own-getopt--1.0--patch-9
119 include/getopt++/OptionSet.h src/OptionSet.cc
122 2003-12-10 11:48:31 GMT Robert Collins <rbtcollins@hotmail.com> patch-8
125 eliminate passed in self reference to OptionSet::processOne
127 libgetoptplusplus--own-getopt--1.0--patch-8
131 include/getopt++/OptionSet.h src/OptionSet.cc
134 2003-12-10 11:36:01 GMT Robert Collins <rbtcollins@hotmail.com> patch-7
137 remove OptionState class
139 libgetoptplusplus--own-getopt--1.0--patch-7
143 include/getopt++/OptionSet.h src/OptionSet.cc
146 2003-12-10 11:32:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-6
149 remove OptionStateFinder class
151 libgetoptplusplus--own-getopt--1.0--patch-6
158 2003-12-10 06:52:51 GMT Robert Collins <rbtcollins@hotmail.com> patch-5
161 use up option values that are in the next argv slot
163 libgetoptplusplus--own-getopt--1.0--patch-5
170 2003-12-10 06:47:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-4
173 support step by step parsing - using non options to switch 'mode'
175 libgetoptplusplus--own-getopt--1.0--patch-4
179 include/getopt++/OptionSet.h src/OptionSet.cc
183 2003-12-10 04:37:57 GMT Robert Collins <rbtcollins@hotmail.com> patch-3
186 deprecate the DefaultOptionSet approach for chaining options
188 libgetoptplusplus--own-getopt--1.0--patch-3
192 include/getopt++/BoolOption.h include/getopt++/Option.h
193 include/getopt++/OptionSet.h include/getopt++/StringOption.h
194 src/BoolOption.cc src/OptionSet.cc src/StringOption.cc
195 tests/BoolOptionTest.cc tests/OptionSet.cc tests/testoption.cc
198 2003-12-10 04:01:28 GMT Robert Collins <rbtcollins@hotmail.com> patch-2
203 libgetoptplusplus--own-getopt--1.0--patch-2
207 include/.arch-ids/cdefs.h.id include/.arch-ids/getopt.h.id
208 include/cdefs.h include/getopt.h src/.arch-ids/getopt.c.id
212 Makefile.am configure.in include/getopt++/DefaultFormatter.h
213 include/getopt++/OptionSet.h include/getopt++/StringOption.h
214 src/BoolOption.cc src/StringOption.cc
217 2003-12-10 03:50:09 GMT Robert Collins <rbtcollins@hotmail.com> patch-1
220 add test case, and reimplement getopt from scratch
222 libgetoptplusplus--own-getopt--1.0--patch-1
226 tests/.arch-ids/OptionSet.cc.id tests/OptionSet.cc
229 Makefile.am include/getopt++/BoolOption.h
230 include/getopt++/DefaultFormatter.h include/getopt++/Option.h
231 include/getopt++/OptionSet.h include/getopt++/StringOption.h
232 src/BoolOption.cc src/OptionSet.cc src/StringOption.cc
235 2003-12-09 06:32:21 GMT Robert Collins <rbtcollins@hotmail.com> base-0
240 libgetoptplusplus--own-getopt--1.0--base-0
243 (automatically generated log message)
246 COPYING ChangeLog Makefile.am README bootstrap.sh configure.in
247 include/cdefs.h include/getopt++/BoolOption.h
248 include/getopt++/DefaultFormatter.h
249 include/getopt++/GetOption.h include/getopt++/Option.h
250 include/getopt++/OptionSet.h include/getopt++/StringOption.h
251 include/getopt.h src/BoolOption.cc src/GetOption.cc
252 src/Option.cc src/OptionSet.cc src/StringOption.cc
253 src/getopt.c tests/BoolOptionTest.cc tests/optioniterator.cc
257 2003-11-16 Robert Collins <rbtcollins@hotmail.com>
259 * src/OptionSet.cc (OptionSet::Process): Call the default optionset
260 if one is supplied and no options are in the default.
262 2003-03-19 Robert Collins <rbtcollins@hotmail.com>
264 * configure.in: Bump version number.
265 * Makefile.am: Add DefaultFormatter.h to installed files.
266 * src/OptionSet.cc (OptionSet::ParameterUsage): Use new
267 default DefaultFormatter to format parameters.
268 * include/getopt++/OptionSet.h: Update copyright.
269 * include/getopt++/DefaultFormatter.h: Format the help from an Option.
270 * tests/testoption.cc: Include a -h|--help option to test help
272 Insert copyright statement.
273 * tests/optioniterator.cc: Insert copyright statement.
275 2003-03-18 Robert Collins <rbtcollins@hotmail.com>
277 * include/getopt++/OptionSet.h (OptionSet): Convert to use a vector.
278 * src/OptionSet.cc: Convert array to vector use throughout.
279 (OptionSet::optionsInSet): Implement external access to the available
282 2003-03-10 Max Bowsher <maxb@ukf.net>
284 * Makefile.am: Add foreign to AUTOMAKE_OPTIONS.
286 2003-03-09 Max Bowsher <maxb@ukf.net>
288 * bootstrap.sh: Add sanity check of current directory.
290 2002-11-29 Max Bowsher <maxb@ukf.net>
292 * .cvsignore: Create, for files generated by bootstrap.sh
293 * include/.cvsignore: Ditto, for subdir.
295 2002-11-10 Robert Collins <rbtcollins@hotmail.com>
297 * src/getopt.c: Only use our cdefs.h if the OS doesn't have one.
298 * Makefile.am: Only compile our getopt.h if the OS doesn't provide
300 * configure.in: Ditto.
301 * tests/testoption.cc: Update for GCC-3.
303 2002-11-04 Max Bowsher <maxb@ukf.net>
305 * include/getopt++/BoolOption.h: Add 'std::' where needed.
306 * include/getopt++/Option.h: Ditto.
307 * include/getopt++/OptionSet.h: Ditto.
308 * include/getopt++/StringOption.h: Ditto.
309 * src/BoolOption.cc: Add 'using namespace std;'.
310 * src/OptionSet.cc: Ditto.
311 * src/StringOption.cc: Ditto.
313 2002-11-04 Max Bowsher <maxb@ukf.net>
315 * Makefile.am (libgetopt++_la_LDADD): Remove -lstd++, it is only needed
316 for broken g++ specs on some platforms.
318 2002-06-08 Robert Collins <rbtcollins@hotmail.com>
320 * Makefile.am: Correct Version requirement syntax.
322 2002-04-23 Robert Collins <rbtcollins@hotmail.com>
324 * include/cdefs.h: New file, support for getopt.h.
325 * include/getopt.h: New file, for platforms without getopt.h.
326 * src/getopt.c: New file, implementation of getopt.
327 * COPYING: New file, GPL v2 text.
328 * Makefile.am: Change AM_CXXFLAGS to INCLUDES.
329 Add getopt.c to the library source.
330 Add new headers to the source list.
331 * configure.in: Remove unneeded macro calls.
332 * include/getopt++/StringOption.h: Change String to string throughout.
333 * src/StringOption.cc: Ditto.
334 * include/getopt++/BoolOption.h: Ditto.
335 * src/BoolOption.cc: Ditto.
336 * src/OptionSet.cc: Ditto.
337 * include/getopt++/Option.h: Ditto.
338 Remove String++ includes, it's not needed anymore.
339 * include/getopt++/OptionSet.h: Make the destructor virtual.
341 2002-04-23 Robert Collins <rbtcollins@hotmail.com>
343 * src/OptionSet.cc (OptionSet::ParameterUsage): Line-break long
346 2002-04-20 Robert Collins <rbtcollins@hotmail.com>
348 * Makefile.am (libgetopt___la_SOURCES): Add OptionSet.cc and
349 StringOption.cc for new functionality.
350 (getoptinclude_HEADERS): Install the new headers.
351 * include/getopt++/BoolOption.h (BoolOption::shortOption): Change
352 to align with new Option header.
353 * include/getopt++/Option.h (Option::shortOption): Change to allow
354 short options with arguments.
355 * include/getopt++/OptionSet.h: Implement ParameterUsage to show
357 Change Process to include a fallback OptionSet - for picking up
358 non-option arguments.
359 * include/getopt++/StringOption.h: New file.
360 * src/BoolOption.cc (BoolOption::shortOption): Change as per the header.
361 * src/OptionSet.cc (OptionSet::Process): Pass on umnparameterised
363 (OptionSet::ParameterUsage): Implement.
364 * src/StringOption.cc: New file.
366 2002-04-14 Robert Collins <rbtcollins@hotmail.com>
368 * include/BoolOption.h: Move to
369 * include/getopt++/BoolOption.h: here.
370 * include/GetOption.h: Implement multiple-sets as per design.
372 * include/getopt++/GetOption.h: here.
373 * include/Option.h: Move to
374 * include/getopt++/Option.h: here.
375 * include/getopt++/OptionSet.h: New file.
376 * src/GetOption.cc: Move core functions to OptionSet.cc.
377 Adjust for new header locations.
378 * src/OptionSet.cc: New file.
379 * src/BoolOption.cc: Adjust for new header locations.
380 * src/Option.cc: Adjust for new header locations.
381 * tests/testoption.cc: Adjust for new header locations.
383 2002-04-14 Robert Collins <rbtcollins@hotmail.com>
385 * Makefile.am: New file.
387 * bootstrap.sh: New file.
388 * configure.in: New file.
389 * include/BoolOption.h: New file.
390 * include/GetOption.h: New file.
391 * include/Option.h: New file.
392 * src/BoolOption.cc: New file.
393 * src/GetOption.cc: New file.
394 * src/Option.cc: New file.
395 * tests/testoption.cc: New file.