2002-06-08 Robert Collins * Makefile.am: Correct Version requirement syntax. 2002-04-23 Robert Collins * include/cdefs.h: New file, support for getopt.h. * include/getopt.h: New file, for platforms without getopt.h. * src/getopt.c: New file, implementation of getopt. * COPYING: New file, GPL v2 text. * Makefile.am: Change AM_CXXFLAGS to INCLUDES. Add getopt.c to the library source. Add new headers to the source list. * configure.in: Remove unneeded macro calls. * include/getopt++/StringOption.h: Change String to string throughout. * src/StringOption.cc: Ditto. * include/getopt++/BoolOption.h: Ditto. * src/BoolOption.cc: Ditto. * src/OptionSet.cc: Ditto. * include/getopt++/Option.h: Ditto. Remove String++ includes, it's not needed anymore. * include/getopt++/OptionSet.h: Make the destructor virtual. 2002-04-23 Robert Collins * src/OptionSet.cc (OptionSet::ParameterUsage): Line-break long help text. 2002-04-20 Robert Collins * Makefile.am (libgetopt___la_SOURCES): Add OptionSet.cc and StringOption.cc for new functionality. (getoptinclude_HEADERS): Install the new headers. * include/getopt++/BoolOption.h (BoolOption::shortOption): Change to align with new Option header. * include/getopt++/Option.h (Option::shortOption): Change to allow short options with arguments. * include/getopt++/OptionSet.h: Implement ParameterUsage to show program options. Change Process to include a fallback OptionSet - for picking up non-option arguments. * include/getopt++/StringOption.h: New file. * src/BoolOption.cc (BoolOption::shortOption): Change as per the header. * src/OptionSet.cc (OptionSet::Process): Pass on umnparameterised arguments. (OptionSet::ParameterUsage): Implement. * src/StringOption.cc: New file. 2002-04-14 Robert Collins * include/BoolOption.h: Move to * include/getopt++/BoolOption.h: here. * include/GetOption.h: Implement multiple-sets as per design. Move to ... * include/getopt++/GetOption.h: here. * include/Option.h: Move to * include/getopt++/Option.h: here. * include/getopt++/OptionSet.h: New file. * src/GetOption.cc: Move core functions to OptionSet.cc. Adjust for new header locations. * src/OptionSet.cc: New file. * src/BoolOption.cc: Adjust for new header locations. * src/Option.cc: Adjust for new header locations. * tests/testoption.cc: Adjust for new header locations. 2002-04-14 Robert Collins * Makefile.am: New file. * README: New file. * bootstrap.sh: New file. * configure.in: New file. * include/BoolOption.h: New file. * include/GetOption.h: New file. * include/Option.h: New file. * src/BoolOption.cc: New file. * src/GetOption.cc: New file. * src/Option.cc: New file. * tests/testoption.cc: New file.