2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / Mono.GetOptions / ChangeLog
1 2006-10-09  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
2         * Samples/mcat.cs: small code style fix
3
4 2005-11-12  Joshua Tauberer  <tauberer@for.net>
5         * Mono.GetOptions/OptionDetails.cs: Don't split on commas for options that have
6           a MaxOccurs of 1 (it would try, show an error, and ignore text after comma).
7
8 2005-08-05  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
9         * Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix some descriptions
10         
11 2005-06-08:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
12         * Mono.GetOptions/OptionDetails.cs: oops, mcat breaks as it has more than one option with a blank long form
13
14 2005-06-08  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
15         * Mono.GetOptions/OptionDetails.cs: Checks alternate forms first (new method IsAlternate(string compoundArg))
16         this allow for '/debug[+|-]' coexisting with independently listed/described '/debug:full' and '/debug:pdbonly'
17         as needed by mbas. Alternate forms are based on the option long form name ('debug' not 'g').
18         * Mono.GetOptions/OptionList.cs: Register alternates with OptionDetails.LinkAlternatesInsideList(). Same reason.
19         * Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix /debug:full and /debug:pdbonly semantics while positioning
20         the public flags
21         * Mono.GetOptions/Options.cs: Implement new standard option /debugoptions (/~).
22                 
23 2005-06-08  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
24         * oops Mono.IsPartOfPackage renamed to Mono.IsPartOfPackageAttribute, 
25         as mandates the convention
26         
27 2005-06-06  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
28         * Mono.GetOptions/OptionList.cs: Some refactoring of Gert's contribution
29         * Added Mono/IsPartOfPackage.cs: new informational assembly attribute
30
31 2005-06-05  Gert Driesen  <drieseng@users.sourceforge.net>
32         * Mono.GetOptions/OptionList.cs: Support quoted arguments in
33         response files. Fixes bug #65484.
34
35 2005-05-23:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
36         * Mono.GetOptions/OptionList.cs: Oops, forgot some debugging messages
37          
38 2005-05-23  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
39         * Mono.GetOptions/Options.cs: To make code using Mono.GetOptions Unit-Testable, as suggested by 
40           Rodrigo 'Bamboo' Oliveira, assume the assembly with the Options-derived class to be the "entry" one
41           instead of the one pointed by Reflection, unless some Mono.GetOptions provided class is used directly
42         
43 2005-05-18  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
44         * Mono.GetOptions/Options.cs: Reverting ABI change on RemainingArguments (will break packaged MonoDevelop 0.7)
45         
46 2005-05-16:3  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
47         * Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix for #74954 part 2
48                 "Ensure assembly is added to TypeManager if path separator characters are part of assembly name"
49
50 2005-05-16:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
51         * Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix for #74954
52                 current dir should be searched for referenced assemblies
53
54 2005-05-16  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
55         * Mono.GetOptions.Useful/CommonCompilerOptions.cs: some refactored code coming from
56         mbas' CompilerOptions. Added overridable string [] AssembliesToReferenceSoftly
57         * Mono.GetOptions/Options.cs: new constructor adds support to use a provided ErrorReporter
58         also added overridable string AdditionalBannerInfo readonly property 
59         * Mono.GetOptions/OptionList.cs: AdditionalBannerInfo is processed by ShowBanner
60
61 2005-05-09  Raja R Harinath  <rharinath@novell.com>
62         * Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
63         Support multiple assemblies separated by commas.
64
65 2005-05-07  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
66         * Mono.GetOptions/Options.cs: new constructor adds possibility to not break parameter values at commas
67         * Mono.GetOptions/OptionDetail.cs: check Options.DontSplitOnCommas when parsing values. 
68         * Mono.GetOptions.Useful/CommonCompilerOptions.cs ask base class to leave alone commas.
69
70 2005-05-06:3  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
71         * Adding Mono.GetOptions.Useful directory for new namespace
72         * Added Mono.GetOptions.Useful/CommonCompilerOptions.cs with useful option processing 
73         for compilers targetting the managed world. mbas is the first client.
74
75 2005-05-06:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
76         * Adding Samples directory with mcat Sample (changed main Makefile but didn't add to the SUBDIRS)
77         * Mono.GetOptions/Options.cs, Mono.GetOptions/OptionList
78                 An overrideable DefaultArgumentProcessor was added to base class Options that just collects them 
79                 to the string[] RemainingArguments property as before. It is a virtual method, but it can also be
80                 overriden by another method tagged with the ArgumentProcessorAttribute in the derived class
81                 to stay binary compatible with old code.
82         * Added Mono.GetOptions/KillOptionAttribute.cs
83                 This new attribute permit to hide (kill) an inherited option when overriding the virtual base member.
84         * Added Mono/AdditionalInfoAttribute.cs
85                 This new attribute permit to add some extra text at the end of the automatically generated help screen
86         * Added Mono/ReportBugsToAttribute.cs
87                 This new attribute adds a "Report bugs to <Url>" message at the end of the automatically generated help screen
88         
89 2005-05-06  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
90         * Mono.GetOptions/Options.cs
91                 Added helper properties string FirstArgument, SecondArgument, ThirdArgument, FourthArgument,
92                 FifthArgument and bool GotNoArguments
93                 Added a helper property bool RunningOnWindows
94                 Added new constructor Options(string[] args) and an overridable InitializeOtherDefaults method 
95                 to allow one-line construction and options processing
96         * Mono.GetOptions/OptionDetails.cs 
97                 Cleaning some logic to avoid throwing exceptions during option parsing
98                 Corrected verbose message when setting a boolean option to show the real value being set
99
100 2005-02-28  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
101         * Mono.GetOptions/OptionAttribute.cs, Mono.GetOptions/OptionDetails.cs, Mono.GetOptions/OptionList: 
102                 Implemented support for vbc style booleans: /debug+ /debug- . Usage: [Option("debug", VBCStyleBoolean = true)]
103                 Implemented support for second level help screen. Usage: [Option("advanced stuff", SecondLevelHelp = true)]
104                 Better alignment for descriptions, specially multiline
105                 ArgumentProcessor-marked method now is called while processing options to allow positional processing
106
107 2005-02-03  Manjula GHM  <mmanjula@novell.com>
108         * Mono.GetOptions.csproj modifed to reflect new changes
109
110 2005-01-04  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
111         * Mono.GetOptions/OptionList.cs: Corrected wrong assumption on string length that caused a exception when a 
112           single-dash argument was being normalized. Now a single-dash is returned a non-processed argument. 
113           The app driver has to deal with it if it should carry any specific meaning. Bug # 70480 
114
115 2004-10-12  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
116         * every *.cs: moved to namespace-based subdirectories as is the norm in Mono
117         * Mono.GetOptions.dll.sources: adjusted to new sources locations
118         
119 2004-09-15  John Luke  <john.luke@gmail.com>
120         * AssemblyInfo.cs: add CLSCompliant(true) attribute
121
122 2004-08-11  Jambunathan K  <kjambunathan@novell.com>
123         * OptionList.cs: Fixed NormalizeArgs so that when an option starts
124           with a '/' or a '-', the option and the argument pair gets split
125           at the first ':' or '='. For example /out:"C:\HelloWorld.exe"
126           gets split up as /out and "C:\HelloWorld.exe".
127
128 2004-08-08   Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
129         * OptionDetails.cs : Well format options longform with a double-dash only if parsingMode has OptionsParsingMode.GNU_DoubleDash set
130         * new OptionsParsingMode.cs source, extracted from OptionList.cs - added GNU_DoubleDash member to the enum
131         * Mono.GetOptions.dll.sources: added OptionsParsingMode.cs
132
133 2004-07-10   Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
134         * OptionDetails.cs : ExtractParamName method called on constructor instead of code being called on demand (maybe too late)
135                                                  Fix for Bug 61188
136                                                  Handling exceptions on conversion of values, and giving a message a bit friendlier 
137
138 2004-05-31   Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
139         * OptionDetails.cs : ShortForm member now a string to favor some simplifications, fixes for Bug 58672
140         * OptionList.cs : Fixes for Bug 58672 and better handling for mixed-form options (linux/windows)
141
142 2004-05-31  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
143         * OptionDetails.cs: Assemble an one-line authors' list in about processor (also abandon after about)
144
145 2004-04-08  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
146         * OptionDetails.cs: Implemented Jonathan Pryor request for multiplicity in boolean properties
147
148 2004-03-31  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
149         * AssemblyInfo.cs: Bumped version and completed some more infos
150         * OptionDetails.cs: Incorporated C.J. Collier patch to make help screen more Windows-ish when mode==windows
151
152 2003-08-25  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
153         * ArgumentProcessorAttribute.cs, OptionAttribute.cs:
154                 - Copyright attribution was missing
155
156 2003-06-16  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
157     * OptionDetails.cs :
158                 - Now handles correctly options specifiying maxOccurs != 1 (that was preventing mbas from being useable)
159                 - Now indicates if option parsing consumed a parameter or not (also checks if it is available first)
160                 - Now multivalued options can either be given as many pairs option/parameter and also as a pair option/comma-separated-list, and both
161                         Example: -r System.Data -r System.Xml  or /r System.Data,System.Xml
162                 - Now it is more lax in the form matching: -r /r -reference --reference /reference are valid for a ('r',"reference") option
163         * Options.cs : new BreakSingleDashManyLettersIntoManyOptions field to make more GNUish parsing of single letter options.
164                         Makes -zxf become -z -x -f if set to true
165
166 2003-01-30  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
167
168     * OptionDetails.cs : now handle composite arguments '/option:suboption'
169
170 2003-01-20  Duncan Mak  <duncan@ximian.com>
171
172     * list.unix: Remove the extra reference to ArgumentProcessorAttribute.cs
173       
174 2002-09-03  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
175
176         * added AboutAttribute.cs, AuthorAttribute.cs, OptionAttribute.cs, 
177                 UsageComplementAttribute.cs, OptionDetails.cs, Options.cs. 
178         Now reflection is used to drive the options processing.
179
180         * added GetOptTest test subproject
181
182 2002-08-30  Juli Mallett  <jmallett@FreeBSD.org>
183
184         * list.unix, makefile.gnu: Added build glue for UNIX.