New test.
[mono.git] / mcs / tools / mono-shlib-cop / ChangeLog
1 2006-09-20  Zoltan Varga  <vargaz@gmail.com>
2
3         * Makefile (EXTRA_DISTFILES): Add test.cs to fix test-profiles.
4
5 2006-09-14  Jonathan Pryor  <jonpryor@vt.edu>
6
7         * Makefile: Modify test to build `test.dll' and use that as an input
8           assembly to mono-shlib-cop.exe, and not mono-shlib-cop.exe itself.  This
9           permits mono-shlib-cop.exe to be "clean", as it doesn't need to have
10           deliberate errors inserted into it for use by the unit test.
11         * mono-shlib-cop.cs: Remove methods used for unit test.
12         * mono-shlib-cop.exe.config: Add <dllmap/> entry for libglib-2.0, so that
13           `mono-shlib-cop mono-shlib-cop.exe` doesn't return any errors/warnings.
14           This is requested by meebey@#mono, so that mono-shlib-cop doesn't itself
15           require development libraries to execute (complicating the packaging
16           process on debian).
17         * mono-shlib-cop.exe.out: Removed; not used anymore.
18         * test.cs: Added; test input file for mono-shlib-cop.
19         * test.dll.out: Added; expected output for `mono-shlib-cop test.dll`.
20
21 2005-09-07  Jonathan Pryor  <jonpryor@vt.edu>
22
23         * mono-shlib-cop.cs: Use Assembly.LoadWithPartialName instead of
24           Assembly.Load(AssemblyName) for loading -r: assemblies, since this
25           actually works (though it's also deprecated in .NET 2.0, with no
26           replacement).  If the first LoadWithPartialName fails, try again after
27           removing any .dll extension (since the .dll isn't part of the assembly
28           name, but I often specify it anyway).
29
30 2005-09-07  Jonathan Pryor  <jonpryor@vt.edu>
31
32         * mono-shlib-cop.cs: Patch from John Luke to fix use of Path.Combine (don't
33           want to use an `/'-prefixed path as the 2nd parameter) and improve XML
34           node selection.
35
36 2005-07-18  Jonathan Pryor  <jonpryor@vt.edu>
37
38         * mono-shlib-cop.exe.config: .config file to help with testing.
39         * mono-shlib-cop.exe.out: Output generated from 
40           `mono mono-shlib-cop.exe mono-shlib-cop.exe`
41         * Makefile: Add support for regression tests.
42
43 2005-07-14  Jonathan Pryor  <jonpryor@vt.edu>
44
45         * mono-shlib-cop.cs: Use RuntimeEnvironment.SystemConfigurationFile to find
46           $sysconfigdir/etc/mono/config, since $sysconfigdir might not be under 
47           $prefix (the case for RPMs: $sysconfigdir=/etc, $prefix=/usr).
48           Fixes 75287.
49
50 2005-06-06  Jonathan Pryor  <jonpryor@vt.edu>
51
52         * mono-shlib-cop.cs: Use better default prefix handling (don't always assume
53           `/' is the prefix, instead base the choice off runtime information).
54
55 2005-06-06  Jonathan Pryor  <jonpryor@vt.edu>
56
57         * mono-shlib-cop.cs: Rename Report to AssemblyCheckInfo.  Add -p
58           command-line option to specify mono prefixes to search for.
59           Store $prefix/etc/mono/config and ASSEMBLY.config XmlDocuments in 
60           AssemblyCheckInfo, and use AssemblyCheckInfo to search for <dllmap> 
61           entries.  This allows us to cache XmlDocuments across AppDomains (since
62           AssemblyCheckInfo is a MarshalByRefObject), and should cut down on file
63           I/O (since we don't re-read the .config for every member of every type).
64
65 2005-06-03  Jonathan Pryor  <jonpryor@vt.edu>
66
67         * mono-shlib-cop.cs: Add MessageInfo, MessageCollection, & Report classes to
68           support message merging.  Remove AssemblyCheckResults; AssemblyChecker
69           uses Report directly to add messages.  Add .config file parsing support.
70         * README: flush.
71
72 2005-05-31  Jonathan Pryor  <jonpryor@vt.edu>
73
74         * Makefile: Added
75         * README: Added
76         * ChangeLog: Added
77         * mono-shlib-cop.exe.sources: Added
78         * mono-shlib-cop.cs: Added
79
80 # vim: noexpandtab