1 2013-08-12 Achim Gratz <Stromeko@Stromeko.DE>
3 * include/getopt++/DefaultFormatter.h (DefaultFormatter):
4 Introduce private data members and use them, adjust comment
5 accordingly. Split the line 35/45 instead of 40/40 by default
6 to get less linebreaks. Add default initializers for data
7 members to the constructor. Add a second constructor that
8 offers parameters for initialization of the private data
10 (DefaultFormatter::operator ()): Remove automatic variable
11 output and directly put the data on the output stream instead.
12 Use private data members to construct the output rather than
14 2013-07-24 Jon TURNEY <jon.turney@dronecode.org.uk>
16 * configure.ac: Update for aclocal-1.13 by replacing obsolete macro
17 AM_CONFIG_HEADER with AC_CONFIG_HEADERS.
19 2012-06-01 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
21 * configure.in: Enable silent rules with automake-1.11.
23 2011-05-30 SZAVAI Gyula <szgyg@ludens.elte.hu>
25 * libgetopt++/src/StringArrayOption.cc: New file.
26 * libgetopt++/include/getopt++/StringArrayOption.h: New file.
27 * libgetopt++/Makefile.am: Add new files.
29 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com>
31 * libgetopt++/src/OptionSet.cc (OptionSet::doOption): Move value
32 string to outer scope so it is not destroyed while optionValue
33 still has a dangling reference to its c_str().
35 2008-04-08 Brian Dessent <brian@dessent.net>
37 * src/OptionSet.cc: Include algorithm.
39 2005-09-01 Brian Dessent <brian@dessent.net>
41 * Makefile.am (AM_CXXFLAGS): Add -Wno-uninitialized to work around
42 spurious warnings with gcc 3.4.4.
44 2005-05-05 Max Bowsher <maxb@ukf.net>
46 * Makefile.am (EXTRA_DIST): Add bootstrap.sh.
48 2003-12-10 20:45:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-17
53 libgetoptplusplus--own-getopt--1.0--patch-17
57 Makefile.am src/OptionSet.cc
60 2003-12-10 13:14:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-16
63 extract argumentless parsing logic
65 libgetoptplusplus--own-getopt--1.0--patch-16
69 include/getopt++/OptionSet.h src/OptionSet.cc
72 2003-12-10 12:25:55 GMT Robert Collins <rbtcollins@hotmail.com> patch-15
75 simplify logic by consolidating Process calls in OptionSet::doOption
77 libgetoptplusplus--own-getopt--1.0--patch-15
84 2003-12-10 12:24:22 GMT Robert Collins <rbtcollins@hotmail.com> patch-14
87 move option value passing out of the direct path of option processing
89 libgetoptplusplus--own-getopt--1.0--patch-14
96 2003-12-10 12:21:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-13
99 return actual Option results
101 libgetoptplusplus--own-getopt--1.0--patch-13
108 2003-12-10 12:19:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-12
111 extract OptionSet::findOption
113 libgetoptplusplus--own-getopt--1.0--patch-12
117 include/getopt++/OptionSet.h src/OptionSet.cc
120 2003-12-10 12:14:36 GMT Robert Collins <rbtcollins@hotmail.com> patch-11
123 make OptionSet::processOne() return void
125 libgetoptplusplus--own-getopt--1.0--patch-11
129 include/getopt++/OptionSet.h src/OptionSet.cc
132 2003-12-10 12:10:42 GMT Robert Collins <rbtcollins@hotmail.com> patch-10
135 extract method OptionSet::doOption
137 libgetoptplusplus--own-getopt--1.0--patch-10
141 include/getopt++/OptionSet.h src/OptionSet.cc
144 2003-12-10 11:57:05 GMT Robert Collins <rbtcollins@hotmail.com> patch-9
147 extract method OptionSet::isOption
149 libgetoptplusplus--own-getopt--1.0--patch-9
153 include/getopt++/OptionSet.h src/OptionSet.cc
156 2003-12-10 11:48:31 GMT Robert Collins <rbtcollins@hotmail.com> patch-8
159 eliminate passed in self reference to OptionSet::processOne
161 libgetoptplusplus--own-getopt--1.0--patch-8
165 include/getopt++/OptionSet.h src/OptionSet.cc
168 2003-12-10 11:36:01 GMT Robert Collins <rbtcollins@hotmail.com> patch-7
171 remove OptionState class
173 libgetoptplusplus--own-getopt--1.0--patch-7
177 include/getopt++/OptionSet.h src/OptionSet.cc
180 2003-12-10 11:32:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-6
183 remove OptionStateFinder class
185 libgetoptplusplus--own-getopt--1.0--patch-6
192 2003-12-10 06:52:51 GMT Robert Collins <rbtcollins@hotmail.com> patch-5
195 use up option values that are in the next argv slot
197 libgetoptplusplus--own-getopt--1.0--patch-5
204 2003-12-10 06:47:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-4
207 support step by step parsing - using non options to switch 'mode'
209 libgetoptplusplus--own-getopt--1.0--patch-4
213 include/getopt++/OptionSet.h src/OptionSet.cc
217 2003-12-10 04:37:57 GMT Robert Collins <rbtcollins@hotmail.com> patch-3
220 deprecate the DefaultOptionSet approach for chaining options
222 libgetoptplusplus--own-getopt--1.0--patch-3
226 include/getopt++/BoolOption.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 tests/BoolOptionTest.cc tests/OptionSet.cc tests/testoption.cc
232 2003-12-10 04:01:28 GMT Robert Collins <rbtcollins@hotmail.com> patch-2
237 libgetoptplusplus--own-getopt--1.0--patch-2
241 include/.arch-ids/cdefs.h.id include/.arch-ids/getopt.h.id
242 include/cdefs.h include/getopt.h src/.arch-ids/getopt.c.id
246 Makefile.am configure.in include/getopt++/DefaultFormatter.h
247 include/getopt++/OptionSet.h include/getopt++/StringOption.h
248 src/BoolOption.cc src/StringOption.cc
251 2003-12-10 03:50:09 GMT Robert Collins <rbtcollins@hotmail.com> patch-1
254 add test case, and reimplement getopt from scratch
256 libgetoptplusplus--own-getopt--1.0--patch-1
260 tests/.arch-ids/OptionSet.cc.id tests/OptionSet.cc
263 Makefile.am include/getopt++/BoolOption.h
264 include/getopt++/DefaultFormatter.h include/getopt++/Option.h
265 include/getopt++/OptionSet.h include/getopt++/StringOption.h
266 src/BoolOption.cc src/OptionSet.cc src/StringOption.cc
269 2003-12-09 06:32:21 GMT Robert Collins <rbtcollins@hotmail.com> base-0
274 libgetoptplusplus--own-getopt--1.0--base-0
277 (automatically generated log message)
280 COPYING ChangeLog Makefile.am README bootstrap.sh configure.in
281 include/cdefs.h include/getopt++/BoolOption.h
282 include/getopt++/DefaultFormatter.h
283 include/getopt++/GetOption.h include/getopt++/Option.h
284 include/getopt++/OptionSet.h include/getopt++/StringOption.h
285 include/getopt.h src/BoolOption.cc src/GetOption.cc
286 src/Option.cc src/OptionSet.cc src/StringOption.cc
287 src/getopt.c tests/BoolOptionTest.cc tests/optioniterator.cc
291 2003-11-16 Robert Collins <rbtcollins@hotmail.com>
293 * src/OptionSet.cc (OptionSet::Process): Call the default optionset
294 if one is supplied and no options are in the default.
296 2003-03-19 Robert Collins <rbtcollins@hotmail.com>
298 * configure.in: Bump version number.
299 * Makefile.am: Add DefaultFormatter.h to installed files.
300 * src/OptionSet.cc (OptionSet::ParameterUsage): Use new
301 default DefaultFormatter to format parameters.
302 * include/getopt++/OptionSet.h: Update copyright.
303 * include/getopt++/DefaultFormatter.h: Format the help from an Option.
304 * tests/testoption.cc: Include a -h|--help option to test help
306 Insert copyright statement.
307 * tests/optioniterator.cc: Insert copyright statement.
309 2003-03-18 Robert Collins <rbtcollins@hotmail.com>
311 * include/getopt++/OptionSet.h (OptionSet): Convert to use a vector.
312 * src/OptionSet.cc: Convert array to vector use throughout.
313 (OptionSet::optionsInSet): Implement external access to the available
316 2003-03-10 Max Bowsher <maxb@ukf.net>
318 * Makefile.am: Add foreign to AUTOMAKE_OPTIONS.
320 2003-03-09 Max Bowsher <maxb@ukf.net>
322 * bootstrap.sh: Add sanity check of current directory.
324 2002-11-29 Max Bowsher <maxb@ukf.net>
326 * .cvsignore: Create, for files generated by bootstrap.sh
327 * include/.cvsignore: Ditto, for subdir.
329 2002-11-10 Robert Collins <rbtcollins@hotmail.com>
331 * src/getopt.c: Only use our cdefs.h if the OS doesn't have one.
332 * Makefile.am: Only compile our getopt.h if the OS doesn't provide
334 * configure.in: Ditto.
335 * tests/testoption.cc: Update for GCC-3.
337 2002-11-04 Max Bowsher <maxb@ukf.net>
339 * include/getopt++/BoolOption.h: Add 'std::' where needed.
340 * include/getopt++/Option.h: Ditto.
341 * include/getopt++/OptionSet.h: Ditto.
342 * include/getopt++/StringOption.h: Ditto.
343 * src/BoolOption.cc: Add 'using namespace std;'.
344 * src/OptionSet.cc: Ditto.
345 * src/StringOption.cc: Ditto.
347 2002-11-04 Max Bowsher <maxb@ukf.net>
349 * Makefile.am (libgetopt++_la_LDADD): Remove -lstd++, it is only needed
350 for broken g++ specs on some platforms.
352 2002-06-08 Robert Collins <rbtcollins@hotmail.com>
354 * Makefile.am: Correct Version requirement syntax.
356 2002-04-23 Robert Collins <rbtcollins@hotmail.com>
358 * include/cdefs.h: New file, support for getopt.h.
359 * include/getopt.h: New file, for platforms without getopt.h.
360 * src/getopt.c: New file, implementation of getopt.
361 * COPYING: New file, GPL v2 text.
362 * Makefile.am: Change AM_CXXFLAGS to INCLUDES.
363 Add getopt.c to the library source.
364 Add new headers to the source list.
365 * configure.in: Remove unneeded macro calls.
366 * include/getopt++/StringOption.h: Change String to string throughout.
367 * src/StringOption.cc: Ditto.
368 * include/getopt++/BoolOption.h: Ditto.
369 * src/BoolOption.cc: Ditto.
370 * src/OptionSet.cc: Ditto.
371 * include/getopt++/Option.h: Ditto.
372 Remove String++ includes, it's not needed anymore.
373 * include/getopt++/OptionSet.h: Make the destructor virtual.
375 2002-04-23 Robert Collins <rbtcollins@hotmail.com>
377 * src/OptionSet.cc (OptionSet::ParameterUsage): Line-break long
380 2002-04-20 Robert Collins <rbtcollins@hotmail.com>
382 * Makefile.am (libgetopt___la_SOURCES): Add OptionSet.cc and
383 StringOption.cc for new functionality.
384 (getoptinclude_HEADERS): Install the new headers.
385 * include/getopt++/BoolOption.h (BoolOption::shortOption): Change
386 to align with new Option header.
387 * include/getopt++/Option.h (Option::shortOption): Change to allow
388 short options with arguments.
389 * include/getopt++/OptionSet.h: Implement ParameterUsage to show
391 Change Process to include a fallback OptionSet - for picking up
392 non-option arguments.
393 * include/getopt++/StringOption.h: New file.
394 * src/BoolOption.cc (BoolOption::shortOption): Change as per the header.
395 * src/OptionSet.cc (OptionSet::Process): Pass on umnparameterised
397 (OptionSet::ParameterUsage): Implement.
398 * src/StringOption.cc: New file.
400 2002-04-14 Robert Collins <rbtcollins@hotmail.com>
402 * include/BoolOption.h: Move to
403 * include/getopt++/BoolOption.h: here.
404 * include/GetOption.h: Implement multiple-sets as per design.
406 * include/getopt++/GetOption.h: here.
407 * include/Option.h: Move to
408 * include/getopt++/Option.h: here.
409 * include/getopt++/OptionSet.h: New file.
410 * src/GetOption.cc: Move core functions to OptionSet.cc.
411 Adjust for new header locations.
412 * src/OptionSet.cc: New file.
413 * src/BoolOption.cc: Adjust for new header locations.
414 * src/Option.cc: Adjust for new header locations.
415 * tests/testoption.cc: Adjust for new header locations.
417 2002-04-14 Robert Collins <rbtcollins@hotmail.com>
419 * Makefile.am: New file.
421 * bootstrap.sh: New file.
422 * configure.in: New file.
423 * include/BoolOption.h: New file.
424 * include/GetOption.h: New file.
425 * include/Option.h: New file.
426 * src/BoolOption.cc: New file.
427 * src/GetOption.cc: New file.
428 * src/Option.cc: New file.
429 * tests/testoption.cc: New file.