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