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