2004-08-10  Lorenzo Bettini  <bettini@dsi.unifi.it>

	* src/gm.cc (generate_reset_groups): generate the reset function
	only if this group has options

	* src/skels/c_source.h_skel: many additional .h_skel files have
	been removed, and their contents are included here using the
	new conditional constructs of gengen

2004-08-03  Lorenzo Bettini  <bettini@dsi.unifi.it>

	* src/skels/config_parser_source.h_skel: better check for string
	well-formedness

2004-07-11  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm_utils.cpp: contain utility functions used in gm

        * src/fileutils.cpp: file routines used in gm

        * src/gm.cc: (wrap_cstr) do not consider '=' a separating
        character
        (is_char_newline) recognize also actual \n
        (generate_help_option_print) deal better with very long
        descriptions

2004-06-16  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_help_option_print): set the maximum for the
        column where the description of an option starts to be displayed.
        In case it starts on a new line

2004-06-15  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (wrap_cstr): wrapping is isolated in a function so
        that it can be used also for printing purposes and other
        descriptions

2004-06-13  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/config_parser_source.h_skel: deal with '=' in the config
        files

2004-05-16  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_option_given): _given field is generated
        unsigned for multiple options

2004-05-01  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (do_update_arg): set the argument to NULL if it is
        a multiple string option

2004-04-08  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.12

        * src/cmdline.ggo: Added --c-extension and --header-extension
        as proposed by Brooks Davis

2004-04-01  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_help_option_print): generate the printf
        with "%s", so that default values can contain %

2004-02-21  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/config_parser_source.h_skel: idem

        * src/skels/c_source.h_skel: exit failure is only in one point
        so that the args_info struct can be cleared (removed memory leaks)

2004-02-03  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/parser.yy: allow multiple options without argument

        * src/skels/multiple_option_new_list_node.h_skel: added to separate
        creation of a multiple option list node, so that also multiple
        options without argument can be handled

2004-01-18  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/config_parser_source.h_skel: check for len > and not
        ==.
        rewritten in order to exploit getopt_long

2004-01-13  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/generic_option_group.h_skel: before incrementing the
        counter, if override is specified, reset all the group options

        * src/skels/reset_group.h_skel: template function for resetting
        a group option

2004-01-11  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/multiple_fill_array.h_skel: leave the multiple options
        in the same order they are given

        * src/skels/generic_option.h_skel: check a local struct to understand
        whether the same option is given more than once

        * src/skels/config_parser_source.h_skel: the # can also be in
        non first position in a line.
        the generated config file parser relies on the standard command
        line parser

        * src/skels/c_source.h_skel: the main parsing function is a static
        internal function _internal that also takes the parameter
        check_required that decides whether required options are checked;
        and also an additional error string explaining where the error occurred
        default is ""

2004-01-06  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/conf_parser_gen.cc (generate_multiple_fill_array): update
        multiple options

        * src/skels/multiple_fill_array_default.h_skel: check whether the
        default has not been previously set

2004-01-05  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/multiple_opt_struct.h_skel: the creation of structs for
        multiple option lists is separated from the actual declaration of
        lists

        * src/skels/string_opt_arg.h_skel: always free previous memory
        before

        * src/skels/string_opt_arg_no_free.h_skel: initialize a string
        withouth freeing memory before

2004-01-03  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/cmdline.ggo: --unamed-opts can be given an optional argument
        describing the additional arguments without names, default is still
        FILES

        * src/gm.cc (do_update_arg): add the check for optarg that is
        important for options with optional arguments
        (generate_usage_string): use the specified name for unamed-options

        * src/cmdline.ggo: --arg-struct-name option for specifying the
        name of the generated struct for args info, default is still
        gengetopt_args_info

        * src/skels/config_parser_source.h_skel: added a parameter to the
        config file parser that specifies whether the args_info has to
        be initialized

        * src/skels/c_source.h_skel: an _init function is also generated
        instead of clear_args that allows to initialize an args_info struct

2004-01-02  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_free): added for freeing the memory
        used by gengetopt strduped strings and multiple options arrays
        (generate_clear_arg): clear_args is called only once, before
        starting the parsing

2003-11-26  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gengetopt.cc (gengetopt_add_option): deal with options
        with optional arguments

        * src/parser.yy: allow an option to have an optional argument

        * src/skels/gen_strdup.h_skel: check whether the string to copy
        is not null

2003-10-25  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/cmdline.ggo: added the flag to turn off generation of
        gengetopt version number in the output file

        * src/skels/c_source.h_skel: config.h is included before any
        other header

2003-07-23  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/Makefile.am (AM_LFLAGS): use case insensitive option for
        generating the scanner

2003-07-22  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_help_option_print): generate also group
        description

        * src/scanner.ll: recognize groupdesc

        * src/groups.h (struct Group): contain group information, added
        group description

2003-07-19  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_help_option_print): generate also
        section information

        * src/gengetopt.cc (gengetopt_set_section): set the current
        section during parsing

        * src/ggos.h (struct gengetopt_option): include section field

2003-07-18  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/parser.yy: sectiondef for defining section of options

        * src/skels/string_opt_arg_free.h_skel: added to free memory
        allocated for default string value when an argument is given

2003-07-06  Michael Hagemann  <michael.hagemann@unibas.ch>

        * src/scanner.ll: recognize typestr option

        * src/gm.cc (generate_help_option_print): generate a more
        compact --help output
        (generate_help_desc_print): added, perform word wrapping for
        long help lines

        * src/gengetopt.cc (gengetopt_add_option): also handle type_str

        * src/parser.yy: some clean up and parsing of typestr for
        the description of the type of the option, see below

        * src/ggos.h (struct gengetopt_option): added type_str: a more
        descriptive description of the type of an option, e.g., "filename"
        instead of simply STRING

2003-07-05  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_handle_no_short_option): deal also with
        multiple options

        * src/skels/multiple_option_no_short.h_skel: added to deal with
        multiple option with no short version

        * src/gm.cc (generate_multiple_fill_array): if a default value
        is provided for this multipl option, generate the else branch
        for setting the value of the option to the default value

        * src/skels/multiple_fill_array_default.h_skel: added to handle
        default values for multiple options

        * src/skels/multiple_fill_array.h_skel (if): allocate an array
        only if a value is given for this multiple option

        * src/gm.cc (generate_clear_arg): always initialize to NULL the
        _arg of a multiple option (it is always a pointer)

2003-06-15  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/config_parser_source.h_skel: fixed a problem in
        setting the terminating '\0'

2003-05-22  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.10

2003-05-21  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/config_parser_source.h_skel: Also handle quoted
        strings

2003-05-12  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/gen_strdup.h_skel: added for generating
        strdup in the generated parser

        * src/gm.cc (CmdlineParserCreator): fixed some compilation
        errors due to the ? operator

        * src/conf_parser_gen.cc (generate_handle_single_option): use
        long_long_gen for dealing with long long

        * src/skels/copyright.h_skel: added for generating the
        copyright

        * src/gengetopt.cc (print_reportbugs): do not use reportbugs.text
        anymore
        (print_copyright): use copyright_gen_class

2003-05-01  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/header.h_skel: package and version are defined for
        a parser and values defined in the .ggo have the precedence over
        PACKAGE and VERSION

        * src/skels/long_long_opt_arg.h_skel: added for handling
        long long options

2003-04-29  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_handle_group): handle possible space in
        group names

        * src/yyerror.cc (yyerror): get a const char *

        * src/skels/c_source.h_skel: initialize stop_char to 0
        and this should avoid compilation warning

2003-04-24  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc: always use gengetopt_strdup in generated files

        * src/skels/c_source.h_skel: gengetopt_strdup is generated
        even if strdup is in the standard library

        * configure.in: check for long long

        * src/gm.cc (do_update_arg): switch to long if long long is
        not supported

2003-04-19  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/multiple_fill_array.h_skel: explicitly cast the result
        of malloc

        * src/skels/multiple_option.h_skel: explicitly cast the result
        of malloc

        * tests/test_conf_parser.c (main): removed C++ style comment

        * src/gm.cc: correctly refer to strdup

        * src/gengetopt.cc: correctly refer to strdup

        * acinclude.m4 (AC_adl_FUNC_GETOPT_LONG): added for correctly
        checking for getopt.h and getopt_long

2003-04-13  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.9

        * src/gm.cc (generate_handle_no_short_option): handle group
        options without short options

        * tests/Makefile.am (check-diff): check with diff also the output of
        tests

        * src/parser.yy: (check_result) correctly print the line number
        containing the error

        * src/gm.cc: (strip_path) remove path information when generating
        some header file information (e.g., #ifndef)

2003-03-17  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/Makefile.am: explicit rules do not use $<

        * tests/Makefile.am: explicit rules do not use $<

        * doc/Makefile.am: explicit rules do not use $<

2003-02-21  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/scanner.ll: ignore \r characters

2002-12-30  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.8

2002-11-28  Janico Greifenberg <jgre@tzi.de>

        * src/skels/multiple_option.h_skel: skeleton for handling a
        multiple option

        * src/skels/multiple_opt_list.h_skel: skeleton for the list structure

        * src/skels/multiple_fill_array.h_skel: skeleton file for filling
        the array for multiple options

        * src/gm.cc (generate_option_arg): handle multiple options
        (generate_multiple_fill_array): fill the array of multiple otpions

2002-11-18  Janico Greifenberg <jgre@tzi.de>

        * src/parser.yy (exp): Added multiple option

2002-09-04  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/scanner.ll: turned in a C++ scanner

        * src/parser.yy: turned in a C++ parser

2002-08-25  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/conf_parser_gen.h (class ConfigParserGenerator): take care
        of generating the config file parser

        * src/skels/config_parser_source.h_skel: added to generate the
        config file parser

2002-08-22  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_help_option_print): also print group
        for group options

        * src/yyerror.c (yyerror): also print position of error

        * src/parser.y (exp_yesno): removed a useless rule for standard
        options

2002-08-18  Ronnie Lazar  <Ronnie@eldat.com>

        * src/skels/int_opt_arg.h_skel: use strtol as well so to handle
        integer in hex format

        * src/parser.y: deal with group option

        * src/skels/group_option.h_skel: added to handle errors with group
        handling

        * src/gm.cc (generate_handle_option): generate group handling

        * src/ggos.h (struct gengetopt_option): added group_value field

        * src/gengetopt.cc (gengetopt_add_group): handle group options

2002-08-15  Pierre Bacquet  <pbacquet@delta.fr>

        * src/parser.y (check_result): use error code 5 for invalid
        default values

        * src/ggos.h (struct gengetopt_option): default values are
        always stored in a string

        * src/gengetopt.cc (gengetopt_add_option): use strtod and strtol to
        handle default values for long and double options

2002-08-15  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * configure.in: move to automake 1.6.2 and autoconf 2.53

2002-07-21  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.7.1 released

2002-07-13  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels: generators are generated with version 0.4.1 that does
        not repeat default values in the .cc sources; this used to cause
        problems with some gcc 3.x versions.  Indeed that was an error.

2002-07-10  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/Makefile.am (INCLUDES): do not add includes directory, this
        way if sstream is provided by the compiler, that version is used.

2002-07-07  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * configure.in: Added check for stl and namespaces

2002-06-30  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.7 released

2002-05-31  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (do_update_arg): manually generate break

2002-04-01  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate_strdup): generate strdup function between
        #ifndef HAVE_STRDUP, in order to avoid the warning

        * tests/Makefile.am (check-diff): Added target to check whether
        the generated code is different from what it used to be

2002-03-11  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/skels/header.h_skel: removed the misleading
        "WRITE THE NAME OF YOUR PROGRAM HERE" from the generated header

2002-03-09  Lorenzo Bettini  <bettini@gdn.dsi.unifi.it>

        * src/yyerror.c (yyerror): print the input file name

        * src/gm.cc (generate_header_file): simply rely on the code
        generated by gengen
        (generate_option_arg): implicitly called when option args struct
        members are to be created
        (generate_option_given): the same but for _given fields

        * src/gm.h (class CmdlineParserCreator): inherit from header_gen_class
        generated by gengen

        * src/skels/header.h_skel: the skeleton for generated header file

        * configure.in (GENGEN): use gengen for automatically
         generate a generator

2002-03-02  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.cc (generate): gm.c is removed, now we have a class and
        methods: I switched to C++ !!! :-)

        * src/gm.h (class CmdlineParserCreator): class for the command line
        parser generator

        * NEWS: Version 2.6 released

        * src/cmdline.ggo: use defaults for func-name and file-name

2002-03-01  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.c (generate_cmdline_parser): possibly generate assignments
        for default values

        * src/ggos.h (struct gengetopt_option): added fields for default
        values

        * src/gengetopt.c (gengetopt_add_option): do not consider an error
        an empty desc
        (main): set comment[1][0] to 0 after malloc
        (gengetopt_add_option): also handle default values

2001-12-31  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.c (generate_cmdline_parser): if HAVE_STRDUP is defined
        then use the standard strdup
        use EXIT_FAILURE and EXIT_SUCCESS for exit

        * src/parser.y: an empty line at the end of the .ggo file is no
        longer needed

        * src/scanner.l (update_count_line): update gengetopt_count_line
        also within a string TOK_MLSTRING; this way possible errors in the
        .ggo files are notified with the right line number
        for # comments '\n' are excluded

        * src/gm.c (canonize_names): Added to canonize a name
        (generate_cmdline_parser): function names and #define directives
        are canonized

        * tests/canonize-names-cmd.ggo: Added to test how function names
        and #define directives are canonized

2001-12-18  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.5 released

2001-12-16  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * configure.in: test for alloca is no more necessary with these
        new versions of getopt

        * src/getopt.c: much more modern version taken from GNU C library

        * src/getopt1.c: much more modern version taken from GNU C library

        * src/getopt.h: much more modern version taken from GNU C library

2001-11-12  Brian Minard  <bminard@flatfoot.ca>

        * src/gm.c (gengetopt_strlen): removed, it is no use
        (generate_cmdline_parser) gengetopt_strdup is generated from
        gengetopt_strdup.text

        * src/gengetopt_strdup.text: automatically generated from strdup.c

2001-11-01  Brian Minard  <bminard@flatfoot.ca>

        * src/gm.c (generate_cmdline_parser): use (size_t) for specifying
        malloc argument when generating gengetopt_strdup

2001-10-09  Herbert Thoma  <tma@iis.fhg.de>

        * src/gm.c (generate_cmdline_parser): generate a different printf
        in the generated print_help function for every option, thus avoiding
        to generate an help string that's too long

2001-09-03  Guillaume Chazarain  <booh@altern.org>

        * src/gm.c (do_check_option_given): Set args_info->option_given to 1
        also when option is a flag (bug fixed).

2001-08-13  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * NEWS: Version 2.4 released

2001-06-24  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * doc/Makefile.am: testdata is not removed as a maintainer file

        * src/gm.c: included string.h

        * src/scanner.l: included string.h

2001-06-10  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.c (generate_cmdline_parser): optind is generated = 1,
        otherwise it doesn't work with cygwin

2001-05-19  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/strdup.c (strdup): Test for a bad allocation and return 0
        in that case

2001-05-06  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * tests/Makefile.am (no_optgiven_cmd.c): this file it is generated
        with --no-handle-error option

        * src/cmdline.ggo: Added no-handle-error

        * src/Makefile.am: the command line parser is generated with the
        option --no-handle-help

        * src/gm.c (generate_cmdline_parser): Added generation of instructions
        that let the command line parser to be called more than once,
        suggested by Eric H Kinzie <ekinzie@cmf.nrl.navy.mil>.
        (generate_error_handle): Added to generate return 1 instead of
        exit 1 if --no-handle-error is given.
        Thus print_help is not autmoatically called when an option is
        given more than once, as it was before

        * tests/more_than_once.c (main): Call the command line parser
        twice and print the values of the parameters

        * tests/more_than_once.sh.in: Added to test when the command
        line parser is called more than once

        * doc/gengetopt.html.in: updated footer copyright

        * configure.in: moved to 2.4

2001-05-05  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * tests/no_optgiven.sh.in: removed the negation !, not recognized
        on some systems.

        * tests/Makefile.am (LDFLAGS): Added to use INCLUDES also in the
        linking, because some files are compiled in that moment

        * doc/Makefile.am (INCLUDES): Added
        (EXTRA_DIST): removed getopt.h from this directory

        * tests/Makefile.am (INCLUDES): and (LDADD) to consider the case
        that there's no getopt_long in the C library

        * configure.in: moved to 2.3.1

2001-04-10  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * Version 2.3

        * tests/Makefile.am (TESTS): Added tests

2001-03-23  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gm.c (generate_cmdline_parser): gengetopt_strdup is only
        generated if a string option is used or --unamed-opt was
        specified

        * tests/Makefile.am: Added

        * src/gm.c (generate_cmdline_parser): for inputs gengetopt_strdup,
        instead of standard strdup, is used.

2001-03-22  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * doc/no_getopt_long.txt: Added alloca instructions

2001-03-20  Lorenzo Bettini  <bettini@dsi.unifi.it>

        * src/gengetopt.c (main): handle --help and --version

        * src/copyright.text: Added to be processed by txtc compiler

        * configure.in: use TXTC

        * src/gm.c (generate_cmdline_parser): if previous options are given
        do not print help and version automatically and exit. Provide
        the functions for print_help and print_version prefixing with
        function_name parameter

        * src/cmdline.ggo: Added --no-handle-help and --no-handle-version not
        to handle --help and --version automatically

        * doc/Makefile.am (check): diff with the previous output

2001-02-09  Lorenzo Bettini  <bettini@gdn.dsi.unifi.it>

        * src/gm.c (generate_cmdline_parser): generate print also if no
        purpose is specified (bug fixed)

2001-02-06  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * acinclude.m4 (AC_NONGNU_FLAGS): Added to check if it is a non-GNU
        compiler and if it handles -Aa option

        * src/cxxconfig.h: Added to make const work for C++ compilers even if
        it doesn't work for C compilers

        * configure.in: Added test for AC_C_CONST

2001-02-04  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * src/alloca.c: Added taken from GNU hello

        * configure.in: Added AC_FUNC_ALLOCA

        * src/cmdline.ggo: Added purpose

        * src/gm.c (generate_cmdline_parser): print_version and print_help
        are public

2001-01-30  Berthold Hllmann <hoel@germanlloyd.org>

        * src/gm.c (generate_cmdline_parser): purpose is generated in
        print_help

        * src/parser.y: PURPOSE added to the syntax

        * src/scanner.l: TOK_MLSTRING for strings with newline

        * src/gengetopt.c (gengetopt_define_purpose):

2001-01-11  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * NEWS: version 2.2 released

        * doc/no_getopt_long.txt: Added AC_SUBST when you use AC_CHECK_FUNCS

        * src/gm.c (generate_cmdline_parser): changed the style of all
        printf, when strings are in more than one line

2000-12-04  Robert Walsh <Robert.J.Walsh@eng.sun.com>

        * src/gm.c: changed the style of printf strings, removed C++ comment,
        now compile without warning under Sun compiler.

2000-11-01  Richard Heggs <richard@virtua-web.co.uk>

        * src/gm.c: VERSION and PACKAGE are generated in cmdline.h instead of
        cmdline.c

2000-10-10  Person or Persons Unknown <damned@world.std.com>

        * src/gengetopt.c: handle long options with no short option.

        * src/gm.c: handle long options with no short option.

2000-10-09  Scott Haug <scott@id3.org>

        * src/gm.c: change argv's type from 'char**' to 'char * const *'.
        This better matches the type signature of getopt_long,
        and it prevents compiler warnings.
        #undef's PACKAGE and VERSION before setting them, in case they
        are defined in the .ggo file.

2000-09-26  N. Becker <nbecker@fred.net>

        * src/scanner.l: now accepts any string

        * src/parser.y: exp_str is only TOK_STRING

2000-09-20  Lorenzo Bettini (LAP)  <bettini@dsi.unifi.it>

        * NEWS: version 2.1 released

        * doc/Makefile.am: examples are installed in a subdirectory
        under doc

        * doc/gengetopt.html.in: the version number is substituted by
        configure

        * src/gm.c: (generate_cmdline_parser) fixed a bug for the generated
        code, a malloc was not casted

        * doc/gengetopt.1.in: modified by James R. Van Zandt
        <jrv@vanzandt.mv.com>

        * doc/gengetopt.html: we do not include sections from the GNU
        coding standards.

        * LICENSE: the generated code is not under any license

2000-08-01  Lorenzo Bettini  <bettini@gdn.dsi.unifi.it>

        * NEWS: version 2.0 released

        * doc/gengetopt.html: warning for win32 users, and md5sum and
        gpg signed

        * doc/Makefile.am (cmdline1.c.html): bug fixed for win

        * src/Makefile.am: check if gengetopt is already build before
         trying to build cmdline.c

2000-07-31  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * doc/Makefile.am (cmdline1.c.html): no recompilation if cpp2html is
        not installed

        * configure.in (NO_CPP2HTML): if cpp2html is not installed

2000-07-30  Lorenzo Bettini (LAP)  <lorenzo.bettini@penteres.it>

        * doc/gengetopt.1.in: made it obsolete

        * doc/no_getopt_long.txt: how to check if getopt_long is in the
        standard library and what to do if it is not.

        * doc/gengetopt.html: mailing lists

        * LICENSE: Copyright is assigned in behalf of the Free
        Software Foundation.

2000-07-23  Lorenzo Bettini (LAP)  <lorenzo.bettini@penteres.it>

        * doc/man_getopt.html: added, it is the man page of getopt

        * doc/Makefile.am (gengetoptdoc_DATA): also examples are in doc dir

        * configure.in (CPP2HTML): use cpp2html to format sample files

        * src/cmdline.ggo: no option is required

        * src/gm.c: generate the test for required options

        * src/ggos.h (struct gengetopt_option): field for flagstat and
        for required

        * src/gm.c (generate_cmdline_parser): initialize flags and strings

        * Makefile.am (gengetoptdoc_DATA): install ChangeLog and other files
        in doc dir

        * src/gm.c (generate_cmdline_parser): fixed a bug about wrong
        indentation in .h generated file.

2000-07-09  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * src/gm.c (indent): Added for indenting like GNU standards
        (check_option_given): function instead of macro
        (generate_cmdline_parser): now indent according to GNU standards

2000-07-01  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * src/gm.c (generate_cmdline_parser): "redeclared" error message
        renamed in "given more than once"

        * configure.in (gengetoptdocdir): use $datadir instead of $prefix

2000-01-12  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * doc/Makefile.am (man_MANS): man page installed, and html pages

2000-01-10  Lorenzo Bettini  <bettini@gdn.dsi.unifi.it>

        * doc/Makefile.am: check for NO_GETOPTLONG and NO_STRDUP, and in
        case link with .o in src dir

        * configure.in (TAR): check for tar program.
        (NO_GETOPTLONG): a conditional for check

2000-01-10  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * doc/Makefile.am: added sample1 and sample2, two test programs
        sample1 is a C++ prog, and uses unamed options

        * configure.in: (AC_PROG_CXX) we use C++ in a test file

2000-01-09  Lorenzo Bettini  <lorenzo.bettini@penteres.it>

        * src/cmdline.ggo: it contains gengetopt command line

        * src/gengetopt.c (gengetopt_strdup) (gengetopt_strcmp): erased.
         (main): handles command line options

        * configure.in (strdup): if not found we use our strdup.c
        (const): check if const is supported

        * src/gm.c (generate_cmdline_parser): gets unamed_options param
        to generate unamed_options fields in the structure.
        char **inputs and inputs_num added to the structure to hold
        unamed options.
        string.h included.
        create an header file and an output file.
        the header file can used in C++ as well.
        for ARG_NO options a _given field is generated and handled.
        a comment can be passed, e.g. the command line used to generate file,
        to be printed in the comment at the top of generated file.

2000-01-09  Lorenzo Bettini (LAP)  <lorenzo.bettini@penteres.it>

        * src/gm.c: a struct is generated for args info, instead of
        using variables

2000-01-08  Lorenzo Bettini (LAP)  <lorenzo.bettini@penteres.it>

        * src/gm.h : Added

        * src/gm.c (generate_cmdline_parser): generate_main renamed
        config.h is included with " instead of <>.
        the name of the function to generate is passed.

        * src/ggos.h: config.h included: VERSION and PACKAGE are defined there

        * configure.in: (--enable-warnings) option added to configure
        this way -Wall is added to compiler options.

        * src/gengetopt.h: added with functions exported by gengetopt.c

        * src/parser.y: inclusion of stdlib for malloc and free, and string.h
        extern yyerror and yylex, include gengetopt.h.
        automake renames y.tab.c in parser.c

        * src/yyerror.c (yyerror): made it void

        * src/scanner.l: scanner.lex renamed scanner.l, and it includes
        parser.h, renamed by automake.
        automake renames the c file to scanner.c

        * started to use automake and autoconf; created src and doc dir

