f7360b4116db19dafd48f70d2cbe80cc8e797d84
[mono.git] / mcs / tools / tuner / ChangeLog
1 2009-11-03  Jb Evain  <jbevain@novell.com>
2
3         * Mono.Tuner/CheckVisibility.cs: detect a throw_on_visibility_error
4         linker parameter to decide whether or not throw when an error
5         have been encountered.
6
7 2009-11-02  Jb Evain  <jbevain@novell.com>
8
9         * Mono.Tuner/MoonlightAssemblyStep.cs: adapt to the MT linker merge.
10
11 2009-10-14  Raja R Harinath  <harinath@hurrynot.org>
12
13         * Makefile (CECIL, LINKER): Point to profile-specific assembly.
14
15 2009-09-16  Andrés G. Aragoneses  <aaragoneses@novell.com>
16
17         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Sort the
18           descriptors wrt type name, to avoid false negatives at
19           MoonAtkBridge build time.
20
21 2009-09-16  Andrés G. Aragoneses  <aaragoneses@novell.com>
22
23         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Speed up by
24           two orders of magnitude, thanks to caching XPathNavigator
25           objects and calling Directory.GetFiles() just once.
26
27         * Mono.Tuner/MoonlightA11yApiMarker.cs: Fix typo in comment.
28
29 2009-09-10  Andrés G. Aragoneses  <aaragoneses@novell.com>
30
31         * Mono.Tuner/MoonlightA11yApiMarker.cs: Don't mark attributes
32           of non-a11y assemblies.
33
34 2009-09-09  Andrés G. Aragoneses  <aaragoneses@novell.com>
35
36         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Rather use
37           the OutputDirectory provided on the command line, and
38           redirect some progress info or errors to the console.
39
40         * Mono.Tuner/MoonlightA11yUsageInspectionStep.cs: Remove
41           unnecessary step.
42
43 2009-09-09  Andrés G. Aragoneses  <aaragoneses@novell.com>
44
45         * Mono.Tuner.csproj:
46         * Mono.Tuner.dll.sources: Add new step MoonlightA11yApiMarker.
47
48         * Mono.Tuner/MoonlightA11yApiMarker.cs:
49         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Use a new
50           marker step to only mark API used, not mark recursively.
51
52         * Mono.Tuner/MoonlightA11yUsageInspectionStep.cs: Use the new
53           marker step.
54
55         * Makefile: Adding reference to System, as we need it for
56           System.Text.RegularExpressions.
57
58 2009-08-13  Andrés G. Aragoneses  <aaragoneses@novell.com>
59
60         * Mono.Tuner/MoonlightA11yProcessor.cs: Don't whitelist SC
61           attribs for base methods that are on our assembly.
62         This finally makes a11y work without security disabled. The
63           summary of the troubles encountered:
64         - GetHashCode() -> base method not SC. (r139589+r139649)
65         - Dispose() -> interface method not SC. (r139796)
66         - get_Handle() -> interface method SC while impl not SC.
67         (r139852)
68
69 2009-08-12  Andrés G. Aragoneses  <aaragoneses@novell.com>
70
71         * Mono.Tuner/MoonlightA11yProcessor.cs: Look for base methods
72           in interfaces as well.
73
74 2009-08-11  Andrés G. Aragoneses  <aaragoneses@novell.com>
75
76         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Yet another
77           blacklisted element (SW.dll is not linked).
78
79 2009-08-11  Andrés G. Aragoneses  <aaragoneses@novell.com>
80
81         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist
82           more stuff.
83
84 2009-08-11  Andrés G. Aragoneses  <aaragoneses@novell.com>
85
86         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist
87           our bridge.
88
89 2009-08-10  Andrés G. Aragoneses  <aaragoneses@novell.com>
90
91         * Mono.Tuner/MoonlightA11yProcessor.cs: Move FIXME to a better
92           place. Fix NRE.
93
94 2009-08-07  Andrés G. Aragoneses  <aaragoneses@novell.com>
95
96         * Mono.Tuner/MoonlightA11yProcessor.cs: Don't use var.
97         Remove debug spew.
98
99 2009-08-07  Andrés G. Aragoneses  <aaragoneses@novell.com>
100
101         * Mono.Tuner/InjectSecurityAttributes.cs: Make an enum
102           and a method protected.
103
104         * Mono.Tuner/MoonlightA11yProcessor.cs: Prevent
105           Type*Exceptions because of badly placed SC attrib on
106           methods.
107
108         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Typo in
109           comment.
110
111 2009-07-02  Jb Evain  <jbevain@novell.com>
112
113         * Makefile: fix cecil's location.
114
115 2009-06-16  Andrés G. Aragoneses  <aaragoneses@novell.com>
116
117         * Mono.Tuner/MoonlightA11yProcessor.cs: GLibSharp uses
118           Activator.CreateInstance for *Adapter classes, so we need to
119           have an exception here for these ctors (to avoid
120           MissingMethodExceptions).
121
122 2009-06-10  Andrés G. Aragoneses  <aaragoneses@novell.com>
123
124         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Cosmetic.
125
126         * Mono.Tuner/MoonlightA11yAssemblyStep.cs: Typo.
127
128 2009-06-09  Andrés G. Aragoneses  <aaragoneses@novell.com>
129
130         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Cosmetic.
131
132 2009-06-09  Andrés G. Aragoneses  <aaragoneses@novell.com>
133
134         * Mono.Tuner.csproj:
135         * Mono.Tuner.dll.sources: Update.
136
137         * Mono.Tuner/MoonlightA11yProcessor.cs:
138         * Mono.Tuner/MoonlightA11yAssemblyStep.cs: Typo.
139
140         * Mono.Tuner/MoonlightA11yUsageInspectionStep.cs:
141         * Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: New steps
142           for prevention of API stripping.
143
144 2009-06-04  Andrés G. Aragoneses  <aaragoneses@novell.com>
145
146         * Mono.Tuner.dll.sources:
147         * Mono.Tuner.csproj: Update.
148         * Mono.Tuner/InjectSecurityAttributes.cs:
149         * Mono.Tuner/MoonlightAssemblyStep.cs: Change some accessibility
150         keywords, to be able to override and inherit.
151         * Mono.Tuner/MoonlightA11yProcessor.cs:
152         * Mono.Tuner/MoonlightA11yAssemblyStep.cs: New steps for a11y.
153
154 2009-06-02  Andrés G. Aragoneses  <aaragoneses@novell.com>
155
156         * Mono.Tuner.csproj: Update.
157
158         * Mono.Tuner/InjectSecurityAttributes.cs: Avoid NRE.
159
160 2009-05-28  Andrés G. Aragoneses  <aaragoneses@novell.com>
161
162         * Mono.Tuner/InjectSecurityAttributes.cs: show a warning if using
163         the MoonlightAssemblyStep but no secattr option is specified.
164
165 2009-05-15  Jb Evain  <jbevain@novell.com>
166
167         * Mono.Tuner/InjectSecurityAttributes.cs: fix retrieval
168         of generic methods.
169
170 2009-05-15  Jb Evain  <jbevain@novell.com>
171
172         * Mono.Tuner/InjectSecurityAttributes.cs: fix issues
173         with non unique MethodReference.ToString for generic method defs.
174
175 2009-04-24  Jb Evain  <jbevain@novell.com>
176
177         * Mono.Tuner.dll.sources: adjusted
178         * Mono.Tuner/FilterAttributes.cs: new step to remove some known
179         undesirable custom attributes.
180
181 2009-04-23  Jb Evain  <jbevain@novell.com>
182
183         * Mono.Tuner/CheckVisibility.cs: check deep nested types.
184
185 2009-04-22  Jb Evain  <jbevain@novell.com>
186
187         * Mono.Tuner/CheckVisibility.cs: take InternalsVisibleTo into account.
188
189 2009-04-22  Jb Evain  <jbevain@novell.com>
190
191         * Mono.Tuner/CheckVisibility.cs: take FamAndAssem into account.
192
193 2009-04-22  Jb Evain  <jbevain@novell.com>
194
195         * AdjustVisibility.cs: we're now turning non exposed fields and
196         methods (API wise) that are `protected` into `protected and internal`.
197
198 2009-04-08  Andrés G. Aragoneses  <aaragoneses@novell.com>
199
200         * Mono.Tuner.csproj: Update.
201
202 2009-04-03  Andrés G. Aragoneses  <aaragoneses@novell.com>
203
204         * Mono.Tuner/InjectSecurityAttributes.cs: Show a warning
205         when the secattr file is not found.
206
207 2009-03-10  Jb Evain  <jbevain@novell.com>
208
209         * Mono.Tuner/MoonlightAssemblyStep.cs: don't remove
210         the LoadReferencesStep for specific Moonlight tuning.
211
212 2009-03-01  Jb Evain  <jbevain@novell.com>
213
214         * Mono.Tuner.dll.sources
215         * Mono.Tuner/MoonlightAssemblyStep.cs: add new step specific
216         to moonlight to instrument Moonlight assemblies one by one.
217
218 2009-02-19  Jb Evain  <jbevain@novell.com>
219
220         * Mono.Tuner/InjectSecurityAttributes.cs: also remove existing
221         CAS security declarations before injecting CoreCLR security attributes.
222
223 2009-02-18  Jb Evain  <jbevain@novell.com>
224
225         * Mono.Tuner/InjectSecurityAttributes.cs: new tuner step
226         which is able to process the security attribute data files.
227         It replaces the previous InjectAttributes step.
228
229 2009-01-28  Jb Evain  <jbevain@novell.com>
230
231         * Mono.Tuner/CheckVisibility.cs: use the appropriate Resolve methods.
232
233 2008-12-01  Jb Evain  <jbevain@novell.com>
234
235         * Makefile: move tuning logic inside ../moon. We now simply build
236         the tuner as a simple library.
237
238 2008-11-20  Jb Evain  <jbevain@novell.com>
239
240         * Makefile: simplify Makefile and tune System.Xml.Linq.
241
242 2008-10-16  Jb Evain  <jbevain@novell.com>
243
244         * masterinfos/silverlight/*.info: update to SL2.
245
246 2008-09-23  Jb Evain  <jbevain@novell.com>
247
248         * masterinfos/silverlight/Mono.CompilerServices.SymbolWriter.info
249         * Makefile:
250                 tune the SymbolWriter as well.
251
252 2008-09-23  Jb Evain  <jbevain@novell.com>
253
254         * Makefile: only execute the check visibility step if
255         CHECK_VISIBILITY is defined.
256
257 2008-09-18  Jb Evain  <jbevain@novell.com>
258
259         * Mono.Tuner/AdjustVisibility.cs: correctly process public nested types.
260
261 2008-09-12  Jb Evain  <jbevain@novell.com>
262
263         * Makefile: tune System.ServiceModel.Web.
264
265 2008-09-12  Jb Evain  <jbevain@novell.com>
266
267         * Makefile: tune System.ServiceModel.dll
268
269 2008-09-12  Jb Evain  <jbevain@novell.com>
270
271         * Makefile: make the linker generate new guids for the tuned
272         assemblies.
273
274 2008-09-09  Jb Evain  <jbevain@novell.com>
275
276         * Makefile: tune System.Runtime.Serialization as well.
277
278 2008-08-05  Jb Evain  <jbevain@novell.com>
279
280         * Mono.Tuner/CheckVisibility.cs: properly verify famorassem.
281
282 2008-06-10  Jb Evain  <jbevain@novell.com>
283
284         * masterinfos/silverlight/System.Net.info
285         * masterinfos/silverlight/mscorlib.info
286         * masterinfos/silverlight/System.Xml.info
287         * masterinfos/silverlight/System.info:
288                 Update to SL2B2 API.
289
290 2008-04-13  Jb Evain  <jbevain@novell.com>
291
292         * masterinfos/silverlight/*.info: 2.0 api.
293         * Makefile: update.
294         Merged from the Moonlight 2 branch.
295
296 Thu Mar 13 22:32:24 CET 2008 Paolo Molaro <lupus@ximian.com>
297
298         * Makefile: strong name the tuned assemblies.
299
300 2008-03-13  Jb Evain  <jbevain@novell.com>
301
302         * Mono.Tuner/AdjustVisibility.cs: don't adjust enums.
303
304 2008-02-18  Raja R Harinath  <harinath@hurrynot.org>
305
306         * Makefile (inst-%, gac-%): Fix dependencies.
307
308 2008-02-17  Raja R Harinath  <harinath@hurrynot.org>
309
310         * Makefile: Improve.  Update to new net_2_1 profiles.  Specify
311         more dependencies.  Do work only when necessary.
312         * Descriptors/smcs.xml: Add CompilerCallableEntryPoint.
313
314 2008-02-01  Jb Evain  <jbevain@novell.com>
315
316         * Makefile: remove System.Core temporary hack.
317
318 2008-02-01  Jb Evain  <jbevain@novell.com>
319
320         * Makefile, Descriptors/System.Core.xml:
321         protect some internals of System.Core as apparently
322         the masterinfos are somewhat wrong.
323
324 2007-10-26  Jb Evain  <jbevain@novell.com>
325
326         * Makefile: disable the `always build the tuner` as per
327         Paolo's suggestion. Need to use the build mecanism from now.
328
329 2007-10-26  Jb Evain  <jbevain@novell.com>
330
331         * Makefile: activate the InjectAttributes step.
332
333 2007-10-25  Jb Evain  <jbevain@novell.com>
334
335         * Mono.Tuner/InjectAttributes.cs: inject security attributes
336         defined in the public api.
337
338 2007-10-25  Jb Evain  <jbevain@novell.com>
339
340         * Mono.Tuner/InjectAttributes.cs: infrastructure for
341         the attribute injector.
342
343 2007-10-25  Jb Evain  <jbevain@novell.com>
344
345         * Mono.Tuner/PrintStatus.cs: print which items
346         have been internalized if the parameter `display_internalized`
347         is set to true.
348
349         * Makefile: define parameter `display_internalized` and set it
350         to false. Set it explicitely to true if you want a detailed log
351         about which metadata items have been internalized.
352
353 2007-10-25  Jb Evain  <jbevain@novell.com>
354
355         * Mono.Tuner/TunerAnnotations.cs
356         * Mono.Tuner/AdjustVisibility.cs:
357                 Annotate the items that have been internalized
358                 for later use.
359
360         * Makefile: always rebuild Mono.Tuner.dll for now.
361
362 2007-09-04  Jb Evain  <jbevain@novell.com>
363
364         * masterinfos/*.info added, so we don't have to download them.
365         * Makefile: use directly the .info files from the repo.
366
367 2007-08-28  Jb Evain  <jbevain@novell.com>
368
369         * Makefile: mdb support.
370
371 2007-08-21  Jb Evain  <jbevain@novell.com>
372
373         * Makefile: tune on `all`, and only re-installed the tuned
374         assemblies on `install`.
375
376 2007-08-16  Jb Evain  <jbevain@novell.com>
377
378         * Makefile: re-install in the GAC the tuned assemblies.
379
380 2007-08-13  Jb Evain  <jbevain@novell.com>
381
382         * Makefile: tune on net_2_1 install.
383
384 2007-08-11  Jb Evain  <jbevain@novell.com>
385
386         * Descriptors/System.xml, Makefile: add a descriptor
387         to protect some classes in System.
388
389 2007-08-05  Jb Evain  <jbevain@novell.com>
390
391         * Descriptors/smcs.xml, Makefile: add a descriptor
392         to protect some classes in smcs.
393
394 2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>
395
396         * Makefile : a bit win32 friendly fix.
397
398 2007-08-01  Jb Evain  <jbevain@novell.com>
399
400         * Mono.Tuner/CheckVisibilit.cs:
401                 New debugging step to ensure that the even after
402                 API tuning the visibility is correct.
403
404 2007-07-27  Jb Evain  <jbevain@novell.com>
405
406         * Mono.Tuner/RemoveSerialization.cs:
407                 Add a new linker step to remove automatically everything
408                 serialization related.
409
410 2007-07-18  Jb Evain  <jbevain@novell.com>
411
412         * tuner: new tool to tune the Mono assemblies from a full 2.1
413         profile to a stripped down silverlight compatible assembly set.