add --help output for the two new options
[mono.git] / mcs / tools / monop / ChangeLog
1 2005-10-10  John Luke  <john.luke@gmail.com>
2
3         * options.cs: add --help output for the two new
4         options
5
6 2005-10-10  John Luke  <john.luke@gmail.com>
7
8         * monop.cs: add PrintRefs and use it if the
9         option is set
10         * options.cs: add PrintRefs option to see the
11         assemblies referenced by an assembly
12
13 2005-10-10  John Luke  <john.luke@gmail.com>
14
15         * monop.cs: don't print obsolete types if the
16         --filter-obsolete option is passed
17         * options.cs: add FilterObsolete option
18         * outline.cs: don't print obsolete members if
19         the --filter-obsolete option is passed
20
21 2005-09-21  John Luke  <john.luke@gmail.com>
22
23         * monop.cs: catch exception on Process.Start
24         when gacutil cannot be found to avoid annoying
25         windows message boxes
26
27 2005-09-05  Michal Moskal  <malekith@nemerle.org>
28         
29         * outline.cs: Use new names of the GenericParameterAttributes enum.
30
31 2005-08-19  Ben Maurer  <bmaurer@novell.com>
32
33         * outline.cs:
34            - Support for `sealed'
35            - Handle iface impls with non-virtual methods
36            - ';' for delegates
37
38 2005-07-11  Raja R Harinath  <rharinath@novell.com>
39
40         * Makefile (PROGRAM): Make profile specific.
41         * monop2.exe.sources: Remove.
42
43 2005-07-10  Ben Maurer  <bmaurer@ximian.com>
44
45         * outline.cs: mark abstract methods with the "abstract" keyword.
46
47 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
48
49         * outline.cs: Actually get the namespacing conditions right so
50         things look nice
51         
52         * outline.cs: Friendly display of ifaces on -d
53
54         * outline.cs: Always show explicit interface impls. Don't display
55         the wrong flags for them.
56
57 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
58
59         * outline.cs:
60            - Print out static for fields (how the hell did I let myself
61            not put this in earlier!!!!!)
62            - To print out const fields, we might need to quote
63            things. This logic is not complete yet (for example, a string
64            with \n will have a literal new line)
65            - Try some smarter logic to get less verbosity by printing out
66            fewer namespaces
67            - Do a nicer sorting for methods. It sorts things by param
68            type, then from fewest params to most. This makes overloads
69            get sorted out cleanly.
70
71 2005-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
72
73         * outline.cs: prevent nullref for non-public events.
74
75 2005-07-04  Ben Maurer  <bmaurer@ximian.com>
76
77         * outline.cs: filter out interfaces in generic constraint clauses
78         that come from the base class.
79
80 2005-07-04  Ben Maurer  <bmaurer@ximian.com>
81
82         * outline.cs: use tabs, not spaces, for indentation.
83         
84         * outline.cs: Add support for constraints. Inspired by brada's
85         blog.
86
87 2005-07-03  Ben Maurer  <bmaurer@ximian.com>
88
89         * outline.cs: Support for methods with generic parameters.
90
91         * *: begin support for 2.0
92
93         * outline.cs: Add support for readonly fields.
94
95 2005-05-30  Ben Maurer  <bmaurer@ximian.com>
96
97         * outline.cs: Don't show static constructors: they are cctors,
98         which are uninteresting.
99
100 2005-01-22  Ben Maurer  <bmaurer@ximian.com>
101
102         * outline.cs (OutlineProperty) handle mixed accessability.
103
104         * options.cs: Make things public.
105
106         * outline.cs: Use the Options class, rather than being passed
107         binding flags.
108         (.ctor): Add Options param
109         (OutlineType): remove bindingFlags param
110         (DefaultFlags): Get the correct binding flags
111         (ShowMember): Return true if we should show this member given the
112         Options. Way too long due to MSFT stupidity.
113         (OutlineType): call the above.
114
115         * monop.cs (Main): Don't fiddle with binding flags ourselves.
116         
117
118 2005-01-08  John Luke  <john.luke@gmail.com>
119
120         * monop.cs: use Options class
121         add a little print-runtime option
122         (PrintTypes): respect --private option
123         * options.cs: split out option parsing and improve it
124         (simpler, order independent, less prone to crash)
125
126 2005-01-01  Duncan Mak  <duncan@ximian.com>
127
128         * monop.cs (SearchType): Filter out non-public members and return
129         the number of matches found. Use for loops instead of foreach
130         loops. 
131         (Main): Jump to `found' if we find only one matching type.
132         
133 2004-12-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>
134
135         * outline.cs : Add support for enums having types different than int.
136         
137 2004-12-30  Atsushi Enomoto  <atsushi@ximian.com>
138
139         * monop.cs : csc build fix (see bug #70185).
140
141 2004-12-29  Duncan Mak  <duncan@ximian.com>
142
143         * monop.cs (SearchType): New method, returns a list of type names
144         that matches the method argument, either completely or partially.
145         (GetKnownAssemblyNames): Renamed from GetAssemblyNamesFromGAC, as
146         it now includes mscorlib in the return value.
147         (Main): Added new flags: "--search", "-s", "-k". These flags will
148         invoke SearchType. Prints out a list of Types and the location of
149         the Assembly containing the Type.
150
151         This fixes bug #70068.
152         
153 2004-12-24  John Luke  <john.luke@gmail.com>
154
155         * monop.cs: sort the types when printing an assembly
156         handle -r:~/foo.dll by substituting for $HOME
157
158         * TypeSorter.cs: IComparer to sort types by name
159
160 2004-12-25  Ben Maurer  <bmaurer@ximian.com>
161
162         * monop.cs, outline.cs, monop-completion.sh: Add MIT/X11 License.
163
164 2004-12-09  Dan Winship  <danw@novell.com>
165
166         * outline.cs (OutlineType, OutlineOperator, OperatorFromName):
167         Show overloaded operators and type conversions.
168         (FormatType): fix the logic here so that, eg "System.Int32"
169         becomes "int" rather than "Int32" when looking at a type in the
170         System namespace.
171
172 2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>
173
174         * monop.cs : csc build fix. See bug #70185 for details.
175
176 2004-11-30  Duncan Mak  <duncan@ximian.com>
177
178         * monop.cs (GetAssemblyNamesFromGAC): New method, calls out to
179         "gacutil -l" and returns an array of Assembly fullnames. 
180         (Main): Instead of probing the common_assemblies, use
181         GetAssemblyNamesFromGAC. If we found the type via probing, print
182         out a message noting the full type name and assembly name. This
183         fixes bug #70043.
184         
185 2004-11-11  Ben Maurer  <bmaurer@ximian.com>
186
187         * outline.cs: Remove `public virtual' for interface methods.
188
189 2004-11-08  Ben Maurer  <bmaurer@ximian.com>
190
191         * outline.cs: If a type is in the namespace that we
192         are looking at right now, dont print out the fullname
193         this cuts down on verbosity
194         
195         * outline.cs: Cut the extra whitespace.
196
197         * outline.cs: Report sealed and abstract
198
199 2004-10-27  John Luke  <john.luke@gmail.com>
200
201         * outline.cs: report [Obsolete] types
202
203 2004-09-22  John Luke  <john.luke@gmail.com>
204
205         * outline.cs: use simpler IsDefined method
206         for checking params and [Flags]
207
208 2004-09-18  John Luke  <john.luke@gmail.com>
209
210         * outline.cs: add const = value; for const fields (Ben's idea)
211         detect ParamArrayAttribute for parameters
212
213 2004-09-03  John Luke  <john.luke@gmail.com>
214         
215         * monop.cs: report CLSCompliant for assemblies
216
217 2004-08-15  John Luke  <john.luke@gmail.com>
218
219         * monop.cs: add declared-only option
220         * outline.cs: add limited attribute support (only for
221         [Serializable] and [Flags])
222
223 2004-08-13  John Luke  <john.luke@gmail.com>
224
225         * monop.cs: add MONO_PATH support
226
227 2004-08-13  John Luke  <john.luke@gmail.com>
228
229         * outline.cs: remove unused isPointer 
230         * monop.cs: show information about the assembly that is being used
231         - remove unused IndentedTextWriter
232         - rework how Assemblies are being loaded, so that it works by trying
233         in order fromfile, fullname, partialname which fixes loading
234         from relative paths and generally should be more correct
235         * TODO: update
236
237 2004-08-06  John Luke  <john.luke@gmail.com>
238
239         * outline.cs: add field support
240
241 2004-08-04  John Luke  <john.luke@gmail.com>
242
243         * monop.cs: add PrintUsage so that it is reused in the few
244         places it is needed, add PrintHelp to display --help information
245
246 2004-05-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
247
248         * monop.cs: give the correct assembly that fails loading or the type.
249
250 2004-05-14  Carlos Alberto Cortez <carlos@unixmexico.org>
251
252         * outline.cs: Support for delegates and nested types
253         added.
254
255 2004-05-09  John Luke  <jluke@cfl.rr.com>
256
257         * monop.cs: seperate assembly loading into .GetAssembly method,
258         fail gracefully, and support loading assemblies from absolute and
259         relative paths
260         support /r: as well as -r:
261
262 2004-05-08  Pawel Rozanski  <tokugawa@afn.no-ip.org>
263
264         * monop-completion.sh: simple bash completion for monop
265
266 2004-05-07 Ben Maurer  <bmaurer@users.sourceforge.net>
267
268         * monop.cs: Helpers for completion.
269
270 2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
271
272         * monop.cs: use assembly.LoadWithPartialName.
273
274 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
275
276         * outline.cs: Property.GetGetMethod() does not return the method if it
277         is private (it did until now because of a bug). Make sure it works as it 
278         worked before the fix.
279
280 2004-04-27 Ben Maurer  <bmaurer@users.sourceforge.net>
281
282         * outline.cs: Don't show the interfaces of an enum,
283         s/;/, for enum. Style cop.
284
285 2004-04-27  John Luke <jluke@cfl.rr.com>
286
287         * outline.cs: add GetTypeKind so we print
288         enums and interfaces, instead of always class or
289         struct  
290         add a special case for enums so we just print the fields
291         and quit
292
293 2004-04-03  Duncan Mak  <duncan@ximian.com>
294
295         * monop.cs (PrintTypes): show the number of types in the assembly
296         as well.
297
298 2004-03-30 Ben Maurer  <bmaurer@users.sourceforge.net>
299
300         * monop.cs: Print out class list on just -r.
301
302 2004-03-15 Ben Maurer  <bmaurer@users.sourceforge.net>
303
304         * monop.cs: Add buffering, makes output way, way faster.
305
306 2004-03-15 Ben Maurer  <bmaurer@users.sourceforge.net>
307
308         * outline.cs: add support for events.
309
310 2004-03-15 Ben Maurer  <bmaurer@users.sourceforge.net>
311
312         * monop.cs: remove printing logic.
313         * outline.cs: new file that just does printing stuff.
314
315         Makes the code *MUCH* cleaner.
316
317 2004-03-15  Miguel de Icaza  <miguel@ximian.com>
318
319         * monop.cs: Add -r: command line.
320
321 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
322
323         * monop.cs: do structs better.
324
325 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
326
327         * monop.cs: add gtk#. Try catch if gtk# is not installed.
328
329 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
330
331         * monop.cs: You can type `monop string'
332
333 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
334
335         * monop.cs: show `static' when it applies. Static members
336         first. new sorting stuff.
337
338 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
339
340         * monop.cs: sort members
341
342 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
343
344         * monop.cs: show base type, interfaces.
345
346 2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>
347
348         * monop.cs: Make this work on MS (we have a bug).
349
350 2004-03-07 Ben Maurer  <bmaurer@users.sourceforge.net>
351
352         * monop.cs: New tool, clone of javap. Allows you to get
353         an outline view of a class.
354