File: ChangeLog

package info (click to toggle)
gengetopt 2.22.6+dfsg0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,732 kB
  • sloc: cpp: 14,709; sh: 11,845; ansic: 8,030; makefile: 689; yacc: 514; lex: 171; sed: 3
file content (1508 lines) | stat: -rw-r--r-- 50,980 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
2012-07-18  Tim Marston  <tim@ed.am>

	* src/cmdline.ggo: added --strict-hidden option
	* src/gengetopt.cc: check for --strict-hidden when automatically
	adding full and detailed help options, and pass presence of
	--strict-hidden to CmdlineParserCreeator
	* src/gm.cc, src/gm.h: when strictly hiding options, don't
	generate the full help string array and override generate_hidden
	in generate_help_option_list(); also, don't add details to the
	detailed help string array for options that are going to be hidden
	* src/gm_utils.cpp, src/gm_utils.h: has_options_with_details() now
	needs to know if strict option hiding is in effect so that it can
	ignore options that have details but will be hidden
	* doc/gengetopt.texinfo: updated for --strict-hidden feature

2012-07-17  Tim Marston  <tim@ed.am>

	* src/gm.cc: fixed NULL pointer defreference; fixed option list
	ordering inconsistency (which could lead to truncation of
	displayed options)

2012-07-11  Tim Marston  <tim@ed.am>

	* src/gm_utils.cpp: fixed line wrapping so that it handles
	(removes) extra spaces at the end of the line

2012-07-10  Tim Marston  <tim@ed.am>

	* src/cmdline.ggo: removed unnecessary additional new-line

2012-07-10  Tim Marston  <tim@ed.am>

	* src/skels/c_source.h_skel: added args_info_versiontext variable
	* src/scanner.ll, src/scanner.yy: added versiontext directive
	* src/gengetopt.cc: added gengetopt_versiontext variable and
	setter function
	* src/gm.cc: added versiontext string generator function

2011-09-05  bettini  <bettini@bettini-N150>

	* src/my_map.h: removed
	* src/my_string.h: removed
	* src/my_sstream.h: removed

	* src/gm.cc (CmdlineParserCreator::generate_usage_string):
	wraps and preprocess the usage string if specified in the input
	file.

2010-09-06  Lorenzo Bettini  <bettini@bettini-laptop>

	* src/gm_utils.cpp: do not consider a flag option as a typed one

2010-08-31  Lorenzo Bettini  <bettini@bettini-laptop>

	* tests/test_err.sh.in: double quote the variable to test

	* src/skels/Makefile.am (.h_skel.cc): files generated by gengen
	are created in the srcdir

2010-08-24  Lorenzo Bettini  <bettini@bettini-laptop>

	* src/gm.cc: initialize enum variables with generated null enum
	value instead of -1

	* src/skels/enum_decl.h_skel: added for generating enum declaration
	with default null enum value

2010-03-25  bettini  <bettini@bettini-laptop>

	* src/gm_utils.cpp (not_newlines): removed code that
	generated a bug for escaped newlines
	* src/scanner.ll: handle case for \n different from \\n

2009-12-23  Lorenzo Bettini  <bettini@bettini-prog-karmic>

	* src/Makefile.am (gengetopt_SOURCES): put
	generated bison and flex files in sources

2009-12-18  Lorenzo Bettini  <bettini@bettini-laptop-karmic>

	* src/skels/c_source.h_skel: removed other gcc warnings

	* tests/test_simple_multiple_cmd.ggo: added a simpler test
	for multiple options

2009-09-30  bettini  <bettini@bettini-laptop>

	* src/skels/header.h_skel: use prototypes with char ** instead of
	char *const *.
	* src/skels/c_source.h_skel: use prototypes with char ** instead of
	char *const *.
	#include <getopt.h> not "getopt.h"

2009-09-27  bettini  <bettini@bettini-laptop>

	* tests/output_dir/Makefile.am: New file.
	* tests/output_header_dir/Makefile.am: New file.
	* tests/Makefile.am: test for --output-dir, --src-output-dir,
	--header-output-dir

2009-09-27  Yegor Yefremov

	* src/cmdline.ggo: --header-output-dir and
	--src_output-dir to store cmdline.h separately from cmdline.c
	* src/gengetopt.cc (main): Ditto
	* src/gm.cc: Ditto
	* src/gm.h: Ditto

2009-09-27  Lorenzo Bettini

	* doc/gengetopt.texinfo: documented autoreconf
	* doc/index.html: Ditto

2009-08-09  bettini  <bettini@bettini-laptop>

	* src/skels/c_source.h_skel: put FIX_UNUSED in the right
	place
	* src/gm.cc (from_value_to_enum): translate '+' to "PLUS_" and
	'-' to "MINUS_"
	(canonize_enum): Ditto
	(CmdlineParserCreator::generate_enum_types): put FIX_UNUSED in the right
	place
	(CmdlineParserCreator::generate_option_values): Ditto
	(CmdlineParserCreator::generate_option_values_decl): Ditto
	* tests/test_values.c (main): use enum with + and -
	* tests/test_values.sh.in: Ditto
	* tests/test_values_cmd.ggo: Ditto
	* configure.ac: modified to build in a different directory
	* Makefile.am: modified to build in a different directory
	* tests/Makefile.am: modified to build in a different directory

2009-06-13  bettini  <bettini@bettini-desktop>

	* doc/gengetopt.texinfo: specified that package and version
	are required unless you use autoconf
	* configure.ac: some cleanup
	correctly use --docdir
	* gl/getopt_.h: Removed.
	* gl/m4/onceonly_2_57.m4: Removed.
	* gl/strdup.h: Removed.
	* gl/getopt.in.h: New file.
	* gl/m4/00gnulib.m4: New file.
	* gl/m4/extensions.m4: New file.
	* gl/m4/include_next.m4: New file.
	* gl/m4/onceonly.m4: New file.
	* gl/m4/string_h.m4: New file.
	* gl/string.h: New file.
	* gl/string.in.h: New file.
	* gl/unistd.h: New file.
	* gl/unistd.in.h: New file.
	* src/gengetopt.cc: include gnulib string.h
	* src/gm.cc: Ditto
	* src/gm_utils.cpp: Ditto
	* src/parser.yy: Ditto
	* src/scanner.ll: Ditto

2009-05-31  bettini  <bettini@bettini-laptop>

	* src/skels/c_source.h_skel: use PACKAGE_NAME if defined for
	printing help and version

2009-05-09  bettini  <bettini@bettini-desktop>

	* configure.ac: does not depend on flex library

2009-01-25  bettini  <bettini@dellbettini>

	* src\skels\custom_getopt_gen.h_skel: #undef of static variables
	to avoid compilation problems for some versions of stdlib.h

2008-01-18  Lorenzo Bettini  <bettini@laptop>

	* src/skels/c_source.h_skel: _min and _max fields of multiple options
	are unsigned int to avoid compilation warnings
	(free_multiple_field): avoid using void **, in order to avoid
	a warning when using -fstring-aliasing

2008-01-13  Lorenzo Bettini  <bettini@laptop>

	* src/skels/c_source.h_skel: boolean parameters are not int instead
	of short in order to avoid warnings
	size_t used in get_multiple_token also for indexes to avoid warnings

2008-01-10  Lorenzo Bettini  <bettini@laptop>

	* src/gm.cc (handle_options): correctly call set_has_short_option

	* tests/test_multiple.cc (main): renames test_multiple.c to employ
	the C++ stronger type checking

	* src/gm.cc (_generate_option_arg): fixed bug that did not generate
	a longlong pointer in case of multiple options, reported by Richard
	Eggert

2007-12-13  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: also write the corresponding value (not
	only the orig filed) into file

2007-11-05  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: update_arg is not generated if no
	option (besides the default ones) are specified in the .ggo file

	* src/parser.yy: added the details for options

2007-10-25  Lorenzo Bettini  <bettini@lorelap>

	* src/scanner.ll: added the type enum that can be used for options
	with values

2007-10-24  Lorenzo Bettini  <bettini@lorelap>

	* src/gm.cc (generate_help_option_print): in case of hidden options,
	the generated help string array reuses the strings of the full help
	array
	(generate_init_args_info): skip elements related to text before and
	after an option and also related to groups

2007-10-23  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: the params_init function now initializes
	the structure fields to their default values.  a params_create function
	was added to allocate such a structure and initialize it (to its
	default values)
	usage string is printed only if not empty (as suggested by
	Gyozo Papp)

2007-10-17  J. David Bryan

	* src/gengetopt.cc (main): generate --help handling if only -h
	is redefined (and so for --version)

	* src/skels/header.h_skel: added field print_errors to suppress
	getopt_long messages to stderr

2007-10-16  Papp Gyozo

	* src/skels/c_source.h_skel: added the generated function
	_dump to dump options into an already open stream

2007-10-07  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: (update_multiple_arg) the static generated
	function that takes care of updating a multiple option

2007-10-02  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: (update_arg) the static generated
	function that takes care of updating an option

2007-09-21  Lorenzo Bettini  <bettini@lorelap>

	* doc/Makefile.am: avoid tests if crosscompiling

	* tests/Makefile.am: avoid tests if crosscompiling

2007-07-28  Lorenzo Bettini  <bettini@lorelap>

        * COPYING: updated to version 3

	* src/skels/c_source.h_skel: correctly handle multiple options with
	backslashes (thanks to Peter Kovacs)

	* doc/Makefile.am: removed non-standard %. rules

	* src/skels/Makefile.am: removed non-standard %. rules

	* src/Makefile.am: removed non-standard %. rules

	* tests/Makefile.am: added explicit deps for .h and .c generated
	files (to make parallel make work)

2007-07-09  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/header.h_skel: define a structure for passing parameters
	to the parsers; and define versiones of parsers taking the params
	through this structure.
	Added the check_ambiguity parameter to check whether an option
	that is parsed is already present in the args_info struct
	Contains doxygen documentation

2007-07-01  Lorenzo Bettini  <bettini@lorelap>

	* src/gengetopt.cc (main): store args_info values after having
	examined also the (possible) args entry in the .ggo file (bug fixed)

2007-06-16  Lorenzo Bettini  <bettini@lorelap>

	* doc/gengetopt.texinfo (Configuration files): fixed override
	semantics documentation

2007-06-08  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/custom_getopt_gen.h_skel: does not check
	d->custom_optind == 1 as an initialization condition since it
	is not correct

2007-05-04  Lorenzo Bettini  <bettini@lorelap>

	* src/gm.cc (generate_handle_help): correctly generate the return
	inside the if in case of no_handle_help and full-help

	* configure.ac: removed AC_C_CONST since obsolescent

	* src/cxxconfig.h: removed

2007-04-15  Lorenzo Bettini  <bettini@lorelap>

	* src/cmdline.ggo: --default-optional added

	* src/ggos.cpp: required default depends on --default-optional

	* src/global_options.h: (struct GlobalOptions) contains options
	concerning the program (typically passed on the command line)

	* src/gm.cc (generate_help_option_list): don't generate a section
	if all of its options are hidden

2007-04-12  Lorenzo Bettini  <bettini@work>

	* src/skels/custom_getopt_gen.h_skel: declare all the needed structures and variables

	* src/skels/c_source.h_skel: don't include getopt.h if --include-getopt is specified

2007-01-20  Lorenzo Bettini  <bettini@lorelap>

	* autogen.sh: added (replaces reconf) for bootstrapping autotools

	* configure.ac: use libtool now

2007-01-12  Lorenzo Bettini  <bettini@lorelap>

	* src/scanner.ll: # comments not in strings (thanks to
	Matthew K. Junker)

2007-01-09  Lorenzo Bettini  <bettini@lorelap>

	* tests/test_err.sh.in: don't use -r GNU sed extension option, use
	-e instead

2007-01-06  Lorenzo Bettini  <bettini@lorelap>

	* doc/Makefile.am (cmdline2.o): make sure to use the complete compile
	command (that ensures the priority of headers from gnulib)

2006-12-19  Lorenzo Bettini  <bettini@prog.dsi.unifi.it>

	* src/gm.cc (generate_handle_help): also handle full-help

2006-12-11  Lorenzo Bettini  <bettini@lorelap>

	* configure.ac: use of Gnulib

2006-11-17  Lorenzo Bettini  <bettini@lorelap>

	* src/parser.yy: Added description string

2006-10-05  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel (_configfile): handle configuration
	file inclusione (thanks to David Bird)

2006-09-30  Lorenzo Bettini  <bettini@lorelap>

	* src/scanner.ll: strings can spawn more lines

2006-09-23  Lorenzo Bettini  <bettini@lorelap>

	* src/scanner.ll: correctly handle size specification of multiple
	options (bug fixed by Christian Ch'Gans)

	* src/gm.cc (generate_usage_string): handle no argument options
	and flag options in generation of long help

2006-09-03  Lorenzo Bettini  <bettini@lorelap>

	* src/gm.cc (generate_help_option_list): first print the section

2006-09-02  Lorenzo Bettini  <bettini@lorelap>

	* src/gengetopt.cc (output_formatted_string): remove the \ from
	a " (so that the " is actually printed on the screen instead of
	\")

2006-07-02  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/header.h_skel: use the passed header extension

	* src/skels/c_source.h_skel: use the passed header extension

2006-05-14  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: for comma separated multi option
	arguments, recognize the escape character

2006-05-13  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/custom_getopt_gen.h_skel: Andre Noll provided a
	customized version of getopt that can be called many times without
	affecting previously parsed arguments.

2006-05-07  Lorenzo Bettini  <bettini@lorelap>

	* src/cmdline.ggo: --output-dir command line option

2006-04-02  Lorenzo Bettini  <bettini@lorelap>

	* src/gm.cc: generate only one list struct for each type (not
	one for each multiple option)

2006-03-26  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/skels/header.h_skel: usage string

2006-03-25  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/skels/check_multiple.h_skel: check for multiple option
	occurrence range

2006-03-23  Lorenzo Bettini  <bettini@lorelap>

	* src/gm.cc (generate_free): generate the index i even if
	no multiple option is of type string

2006-03-10  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/header.h_skel: help strings and help fields

2006-02-25  Lorenzo Bettini  <bettini@lorelap>

	* src/gm.cc (generate_help_option_list): make sure not to use a
	negative number as a size to create a string, bug fixed

2006-02-16  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: set optind to 0 before invoking
	getopt_long, in order to discard any internal pointers and restart from
	scratch with the given argc, argv, rather than continue to parse
	the command line from the previous run. (as suggested by Andre Noll)

2006-02-12  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/c_source.h_skel: cmd_line_list is generated as
	static and this enables linking different parsers into the
	same executable (as suggested by Andre Noll)

	* src/gm.cc: deal with --full-help in the presence of
	hidden options

2005-12-22  Lorenzo Bettini  <bettini@lorelap>

	* src/skels/update_arg.h_skel: added the check for the result
	of a numeric conversion

2005-09-07  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/ggos.h (struct gengetopt_option): store input filename
	and line number information
	(struct gengetopt_option): added the dependson field

2005-09-06  Lorenzo Bettini  <bettini@localhost.localdomain>

	* tests/test_all_opts_cmd.ggo: has a hidden option that
	can be specified but does not appear in the help output

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

2005-09-05  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/parser.yy: the parts of options can
	be given in any order

2005-09-03  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/skels/generic_option.h_skel: name for enumerated values
	is prefixed with the parser name

2005-08-16  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/ggo_options.h (foropt): use && to assign *it to opt
	instead of the , otherwise with gcc 4.0.1 it segfaults

2005-08-13  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/gm.cc (generate_handle_group): when we check for a required
	option of a group we also check that "check_required" was
	specified.  Otherwise the check is performed in the
	_required generated function.

2005-08-12  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/skels/option_arg.h_skel: Added the _orig field that
	stores the original value passed at the command line.

2005-08-10  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/skels/file_save.h_skel: saves args_info contents into
	a file.

	* src/skels/c_source.h_skel (configfile): use dynamic memory
	instead of a static vector.
	Use a constant that can be redefined upon compilation for
	the size of a line read from the configuration file.

2005-07-06  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/gengetopt.cc (main): check whether an option for help
	and version is already present, thus allowing redefining
	the standard --help,-h and --version,-V options

2005-04-13  Lorenzo Bettini  <bettini@localhost.localdomain>

	* src/gm_utils.cpp (char_is_newline): fixed a problem with
	a string containing only new line chars
	(wrap_cstr): keep the right number of new line chars

2004-12-30  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* src/skels/handle_help.h_skel: free local_args_info before
	exiting or returning

	* src/skels/handle_version.h_skel: free local_args_info before
	exiting or returning

2004-11-25  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* tests/valgrind_tests.sh.in: updated, for some time it hasn't
	checked correctly for leaks.
	Many leaks have been removed again now

2004-10-28    <http://www.lorenzobettini.it>

	* src/parser.yy: group options can be multiple and have
	argoptional

	* src/skels/multiple_option.h_skel: the test for values is performed
	after tokenizing arguments possibly separated by commas

	* src/skels/multiple_option_new_list_node.h_skel: removed
	embedded in multiple_option.h_skel

2004-09-22  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* src/gm.cc (_generate_option_arg): simplified using
	option_arg_gen_class

	* src/skels/option_arg.h_skel: to generate the _arg fields of
	args_struct

	* src/gm.cc (do_update_arg): simplified using update_arg_gen_class

	* src/skels/update_arg.h_skel: replace all the other generators for
	single data types

2004-09-17  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* src/gm.cc (handle_options): only one function to deal both with
	option with short version and without

	* src/ggos.h (struct gengetopt_option): not an invasive list,
	only an option, and the list of option is implemented as a
	std::list

2004-09-16  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* src/skels/c_source.h_skel: define also the function to
	expliticly check whether a required option has been provided

	* src/cmdline.ggo: option --show-help that only prints how the output
	of --help would be, without generating code
	--show-version that only prints how the output of --version would be,
	without generating code
	--set-package and --set-version to set these values

2004-09-14  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* src/gm.cc: use argv[0] when printing errors

	* src/cmdline.ggo: each option has a short version

2004-09-13  Lorenzo Bettini  <http://www.lorenzobettini.it>

	* src/parser.yy: accept the list of values that can be passed to
	an option

	* src/acceptedvalues.h (class AcceptedValues): possible values for
	an option

2004-08-10  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

2004-07-11  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

2004-05-16  Lorenzo Bettini  <http://www.lorenzobettini.it>

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

2004-05-01  Lorenzo Bettini  <http://www.lorenzobettini.it>

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

2004-04-08  Lorenzo Bettini  <http://www.lorenzobettini.it>

        * NEWS: Version 2.12

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

2004-04-01  Lorenzo Bettini  <http://www.lorenzobettini.it>

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

2004-02-21  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

2003-07-22  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

2003-05-22  Lorenzo Bettini  <http://www.lorenzobettini.it>

        * NEWS: Version 2.10

2003-05-21  Lorenzo Bettini  <http://www.lorenzobettini.it>

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

2003-05-12  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

        * src/scanner.ll: ignore \r characters

2002-12-30  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

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

2002-08-25  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

2002-07-21  Lorenzo Bettini  <http://www.lorenzobettini.it>

        * NEWS: Version 2.7.1 released

2002-07-13  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

        * configure.in: Added check for stl and namespaces

2002-06-30  Lorenzo Bettini  <http://www.lorenzobettini.it>

        * NEWS: Version 2.7 released

2002-05-31  Lorenzo Bettini  <http://www.lorenzobettini.it>

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

2002-04-01  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

        * NEWS: Version 2.5 released

2001-12-16  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

        * NEWS: Version 2.4 released

2001-06-24  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

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

2001-05-19  Lorenzo Bettini  <http://www.lorenzobettini.it>

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

2001-05-06  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

        * Version 2.3

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

2001-03-23  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.it>

        * doc/no_getopt_long.txt: Added alloca instructions

2001-03-20  Lorenzo Bettini  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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 H´┐Żllmann <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  <http://www.lorenzobettini.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)  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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)  <http://www.lorenzobettini.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)  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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  <http://www.lorenzobettini.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)  <http://www.lorenzobettini.it>

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

2000-01-08  Lorenzo Bettini (LAP)  <http://www.lorenzobettini.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