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