]>
Commit | Line | Data |
---|---|---|
0b193029 RC |
1 | 2003-11-16 Robert Collins <rbtcollins@hotmail.com> |
2 | ||
3 | * src/OptionSet.cc (OptionSet::Process): Call the default optionset | |
4 | if one is supplied and no options are in the default. | |
5 | ||
20e315e1 RC |
6 | 2003-03-19 Robert Collins <rbtcollins@hotmail.com> |
7 | ||
8 | * configure.in: Bump version number. | |
9 | * Makefile.am: Add DefaultFormatter.h to installed files. | |
10 | * src/OptionSet.cc (OptionSet::ParameterUsage): Use new | |
11 | default DefaultFormatter to format parameters. | |
12 | * include/getopt++/OptionSet.h: Update copyright. | |
13 | * include/getopt++/DefaultFormatter.h: Format the help from an Option. | |
14 | * tests/testoption.cc: Include a -h|--help option to test help | |
15 | formatting. | |
16 | Insert copyright statement. | |
17 | * tests/optioniterator.cc: Insert copyright statement. | |
18 | ||
6f1abe45 RC |
19 | 2003-03-18 Robert Collins <rbtcollins@hotmail.com> |
20 | ||
21 | * include/getopt++/OptionSet.h (OptionSet): Convert to use a vector. | |
22 | * src/OptionSet.cc: Convert array to vector use throughout. | |
23 | (OptionSet::optionsInSet): Implement external access to the available | |
24 | options. | |
25 | ||
48c7d667 MB |
26 | 2003-03-10 Max Bowsher <maxb@ukf.net> |
27 | ||
28 | * Makefile.am: Add foreign to AUTOMAKE_OPTIONS. | |
29 | ||
7431a3a4 MB |
30 | 2003-03-09 Max Bowsher <maxb@ukf.net> |
31 | ||
32 | * bootstrap.sh: Add sanity check of current directory. | |
33 | ||
c70afa7a MB |
34 | 2002-11-29 Max Bowsher <maxb@ukf.net> |
35 | ||
36 | * .cvsignore: Create, for files generated by bootstrap.sh | |
37 | * include/.cvsignore: Ditto, for subdir. | |
38 | ||
ca362066 RC |
39 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
40 | ||
41 | * src/getopt.c: Only use our cdefs.h if the OS doesn't have one. | |
42 | * Makefile.am: Only compile our getopt.h if the OS doesn't provide | |
43 | getopt.h. | |
44 | * configure.in: Ditto. | |
45 | * tests/testoption.cc: Update for GCC-3. | |
46 | ||
e930272e RC |
47 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
48 | ||
49 | * include/getopt++/BoolOption.h: Add 'std::' where needed. | |
50 | * include/getopt++/Option.h: Ditto. | |
51 | * include/getopt++/OptionSet.h: Ditto. | |
52 | * include/getopt++/StringOption.h: Ditto. | |
53 | * src/BoolOption.cc: Add 'using namespace std;'. | |
54 | * src/OptionSet.cc: Ditto. | |
55 | * src/StringOption.cc: Ditto. | |
56 | ||
23cb3386 RC |
57 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
58 | ||
59 | * Makefile.am (libgetopt++_la_LDADD): Remove -lstd++, it is only needed | |
60 | for broken g++ specs on some platforms. | |
61 | ||
e6d1fdfd RC |
62 | 2002-06-08 Robert Collins <rbtcollins@hotmail.com> |
63 | ||
64 | * Makefile.am: Correct Version requirement syntax. | |
65 | ||
290fdf73 RC |
66 | 2002-04-23 Robert Collins <rbtcollins@hotmail.com> |
67 | ||
68 | * include/cdefs.h: New file, support for getopt.h. | |
69 | * include/getopt.h: New file, for platforms without getopt.h. | |
70 | * src/getopt.c: New file, implementation of getopt. | |
71 | * COPYING: New file, GPL v2 text. | |
72 | * Makefile.am: Change AM_CXXFLAGS to INCLUDES. | |
73 | Add getopt.c to the library source. | |
74 | Add new headers to the source list. | |
75 | * configure.in: Remove unneeded macro calls. | |
76 | * include/getopt++/StringOption.h: Change String to string throughout. | |
77 | * src/StringOption.cc: Ditto. | |
78 | * include/getopt++/BoolOption.h: Ditto. | |
79 | * src/BoolOption.cc: Ditto. | |
80 | * src/OptionSet.cc: Ditto. | |
81 | * include/getopt++/Option.h: Ditto. | |
82 | Remove String++ includes, it's not needed anymore. | |
83 | * include/getopt++/OptionSet.h: Make the destructor virtual. | |
84 | ||
18b5620f RC |
85 | 2002-04-23 Robert Collins <rbtcollins@hotmail.com> |
86 | ||
87 | * src/OptionSet.cc (OptionSet::ParameterUsage): Line-break long | |
88 | help text. | |
89 | ||
1ae8e28d RC |
90 | 2002-04-20 Robert Collins <rbtcollins@hotmail.com> |
91 | ||
92 | * Makefile.am (libgetopt___la_SOURCES): Add OptionSet.cc and | |
93 | StringOption.cc for new functionality. | |
94 | (getoptinclude_HEADERS): Install the new headers. | |
95 | * include/getopt++/BoolOption.h (BoolOption::shortOption): Change | |
96 | to align with new Option header. | |
97 | * include/getopt++/Option.h (Option::shortOption): Change to allow | |
98 | short options with arguments. | |
99 | * include/getopt++/OptionSet.h: Implement ParameterUsage to show | |
100 | program options. | |
101 | Change Process to include a fallback OptionSet - for picking up | |
102 | non-option arguments. | |
103 | * include/getopt++/StringOption.h: New file. | |
104 | * src/BoolOption.cc (BoolOption::shortOption): Change as per the header. | |
105 | * src/OptionSet.cc (OptionSet::Process): Pass on umnparameterised | |
106 | arguments. | |
107 | (OptionSet::ParameterUsage): Implement. | |
108 | * src/StringOption.cc: New file. | |
109 | ||
7419f059 RC |
110 | 2002-04-14 Robert Collins <rbtcollins@hotmail.com> |
111 | ||
112 | * include/BoolOption.h: Move to | |
113 | * include/getopt++/BoolOption.h: here. | |
114 | * include/GetOption.h: Implement multiple-sets as per design. | |
115 | Move to ... | |
116 | * include/getopt++/GetOption.h: here. | |
117 | * include/Option.h: Move to | |
118 | * include/getopt++/Option.h: here. | |
119 | * include/getopt++/OptionSet.h: New file. | |
120 | * src/GetOption.cc: Move core functions to OptionSet.cc. | |
121 | Adjust for new header locations. | |
122 | * src/OptionSet.cc: New file. | |
123 | * src/BoolOption.cc: Adjust for new header locations. | |
124 | * src/Option.cc: Adjust for new header locations. | |
125 | * tests/testoption.cc: Adjust for new header locations. | |
126 | ||
127 | 2002-04-14 Robert Collins <rbtcollins@hotmail.com> | |
128 | ||
129 | * Makefile.am: New file. | |
130 | * README: New file. | |
131 | * bootstrap.sh: New file. | |
132 | * configure.in: New file. | |
133 | * include/BoolOption.h: New file. | |
134 | * include/GetOption.h: New file. | |
135 | * include/Option.h: New file. | |
136 | * src/BoolOption.cc: New file. | |
137 | * src/GetOption.cc: New file. | |
138 | * src/Option.cc: New file. | |
139 | * tests/testoption.cc: New file. |