2000-08-01 Lorenzo Bettini * 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 * 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) * 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) * 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 * 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 * 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 * doc/Makefile.am (man_MANS): man page installed, and html pages 2000-01-10 Lorenzo Bettini * 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 * 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 * 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) * src/gm.c: a struct is generated for args info, instead of using variables 2000-01-08 Lorenzo Bettini (LAP) * 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