<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Author" content="Lorenzo Bettini"> <meta name="GENERATOR" content="Mozilla/4.77 [en] (X11; U; Linux 2.4.3-20mdk i686) [Netscape]"> <title>Old Changes for GNU Gengetopt</title> </head> <body> <h1> Old Changes for GNU Gengetopt</h1> <h2> Changes in release 2.4</h2> <ul> <li> fixed some bugs due to not including some headers (make check used to fail with gcc 2.96)</li> <li> fixed a bug for make check, when getopt_long is not in the C library (reported by Paul Lew <<a href="mailto:paullew@cisco.com">paullew@cisco.com</a>>).</li> <li> the generated command line parser can be called more than once (thanks to Eric H Kinzie <<a href="mailto:ekinzie@cmf.nrl.navy.mil">ekinzie@cmf.nrl.navy.mil</a>>).</li> <li> <i>--no-handle-error</i> option added, so that an error in the command line parsing does not provoke the exit from the program: the parser simply returns not 0; thus the program can write something for helping the user.</li> </ul> <h2> Changes in release 2.3</h2> <ul> <li> <i>--no-handle-help</i> and <i>--no-handle-version</i> option added, so that <i>--help</i>|<i>-h</i> and <i>--version</i>|<i>-V</i> can be explicitly handled (for instance for printing a copyright notice, as suggested by Vladimir Tamara <<a href="mailto:vtamara@gnu.org">vtamara@gnu.org</a>>).</li> <li> PURPOSE added to specify in the .ggo file the purpose of the program (thanks to Berthold Höllmann <<a href="mailto:hoel@germanlloyd.org">hoel@germanlloyd.org</a>>).</li> <li> generated <i>print_version</i> and <i>print_help</i> are not static so they can be called also in the program and they are prefixed with the name of the generated function, so that more than one parser can be handled.</li> <li> test the presence of alloca function in standard library (reported by Aldo D. Longhi <<a href="mailto:aldo.longhi@alum.wpi.edu">aldo.longhi@alum.wpi.edu</a>>).</li> <li> test suite added (type <i>make check</i>, to run the tests).</li> </ul> <h2> Changes in release 2.2</h2> <ul> <li> scanner is simplified and now accepts arbitrary character strings between, thanks to <a href="mailto:nbecker@fred.net">nbecker@fred.net</a>.</li> <li> It compiles under Sun C compiler 5.1, thanks to Robert Walsh <<a href="mailto:Robert.J.Walsh@eng.sun.com">Robert.J.Walsh@eng.sun.com</a>>.</li> <li> VERSION and PACKAGE are generated in cmdline.h instead of cmdline.c, thanks to Richard Heggs <<a href="mailto:richard@virtua-web.co.uk">richard@virtua-web.co.uk</a>>.</li> <li> #undef's PACKAGE and VERSION before setting them, in case they are defined in the .ggo file, thanks to Scott Haug <<a href="mailto:scott@id3.org">scott@id3.org</a>>.</li> <li> long options with no associated short options are allowed, thanks to <a href="mailto:damned@world.std.com">damned@world.std.com</a>.</li> <li> fixed no_getopt_long.txt, thanks to Peter Fox <<a href="mailto:fox@roestock.demon.co.uk">fox@roestock.demon.co.uk</a>></li> </ul> <h2> Changes in release 2.1</h2> <ul> <li> It is made more clear that use of gengetopt <u>does not impose any particular license on the generated code</u>.</li> <li> A bug in the generation of code (for some new C++ compilers) was fixed, thanks to "James R. Van Zandt" <<a href="mailto:jrv@vanzandt.mv.com">jrv@vanzandt.mv.com</a>></li> <li> Some modifications to the man page, also due to James.</li> <li> a directory for examples is specifically created (suggested by James).</li> </ul> <h2> Changes in release 2.0</h2> This is quite a totally new release: <ul> <li> Gengetopt has become GNU software</li> <li> it is conform to GNU coding standards, and so it uses configure script generated by Automake and Autoconf</li> <li> it generates separated files: one header file with the struct used to store command line options information, and a C file which contains the function which actually uses getopt_long to parse the command line</li> <br>'required' option is now fully implemented</ul> </body> </html>