ef456068775ec5877278fd4728f3662cf21798a4
[mono.git] / mcs / tools / gacutil / ChangeLog
1
2 2008-04-09  Gert Driesen  <drieseng@users.sourceforge.net>
3
4         * driver.cs: Use Mono.Security.StrongNameManager to perform strongname
5         verification. This reduces verbosity of install action and fixes bug
6          #376238.
7         * gacutil.exe.sources: Added StrongNameManager.cs.
8         * StrongNameManager.cs: Copied from Mono.Security in corlib. 
9
10 2008-03-14  Paolo Molaro <lupus@ximian.com>
11
12         * driver.cs: added a bootstrap option to ignore sn failures for now
13         when bootstrapping a build. The option name will periodically change
14         so no one else can use it.
15
16 2008-03-14  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * driver.cs : temporarily disable r98206 strongname check
19           until the build gets fixed.
20
21 Thu Mar 13 22:33:36 CET 2008 Paolo Molaro <lupus@ximian.com>
22
23         * driver.cs: run sn on the assembly to ensure it is strongly named.
24
25 2007-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
26
27         * driver.cs: Ignore the /nologo option instead of considering it to
28         be part of the assembly (file) name. Modified Uninstall to take ref
29         arguments for number of uninstalled assemblies and number of failures,
30         and bool for indicating whether it's being executed in list mode.
31         Depending on the command, report the number of assemblies that were
32         processed, uninstalled, installed and the number of failures. Updated
33         failure messages for install command to include path of assembly that
34         is being installed. In Uninstall, only increment failure count for a
35         no-match condition and only process first match when executing in list
36         mode. In InstallFromList and UninstallFromList, skip lines containing
37         only whitespace characters. In non-list mode, the uninstall command
38         reports success if there are no matches for the specified assembly
39         name. In list-mode, the uninstall command reports an error if there's
40         no match for at least one of the specified assembly names. The version
41         number of the assembly - that you want to uninstall or for which you
42         want a list of assemblies that are in the GAC - can be partial and
43         will then match the version numbers starting with that text. Removed
44         unused CombinePatchs method.
45         
46
47 2007-01-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
48
49         * driver.cs: accept absolute *nix paths for library names without
50         getting them confused with options
51
52 2006-07-24  Alp Toker  <alp@atoker.com>
53
54         * driver.cs: Minor typo fixes in comments and informational output.
55
56 2006-04-12  Miguel de Icaza  <miguel@novell.com>
57
58         * driver.cs: Delete the target file before copying over, this will
59         ensure that if some running application is using the assembly or
60         any of its datafiles, it does not get corrupted by an install. 
61
62 2005-10-26  Geoff Norton  <gnorton@customerdna.com>
63
64         * driver.cs: Do not match every item with a blank string.  Fixes
65         #76563
66
67 2005-09-10  Miguel de Icaza  <miguel@novell.com>
68
69         * driver.cs: Only symlink if the file that we are symlking to
70         exists.   This fixes all the stale symlinks on $prefix/mono/1.0/
71         to config files that do not exist.
72
73 2005-09-05  Miguel de Icaza  <miguel@novell.com>
74
75         * driver.cs (Uninstall): Add workaround, Directory.GetFiles does
76         not return symlinks inside the directories which makes this break
77         on uninstall (make distcheck on monodoc exposed this).
78
79 2005-07-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
80
81         * driver.cs (Install): Copy the linked resource files
82         for the assembly when installing it.
83         
84 2005-05-20  Ben Maurer  <bmaurer@ximian.com>
85
86         * driver.cs (Main): If the switch argument isn't actually a
87         switch, treat it like a file. Fixes 73405.
88
89 2005-03-14  Raja R Harinath  <rharinath@novell.com>
90
91         * Makefile (PROGRAM): Make profile-specific during
92         net_1_1_bootstrap.
93
94 2005-01-18  Raja R Harinath  <rharinath@novell.com>
95
96         * driver.cs (Install): Restore fix from 2004-12-08.
97
98 2005-01-13  Mike Kestner  <mkestner@novell.com>
99
100         * driver.cs: use relative symlinks for the package dir.
101
102 2005-01-11  Jackson Harper  <jackson@ximian.com>
103
104         * driver.cs: Make sure the actual assembly file exists when
105         listing assemblies. Some packages don't remove the entire
106         directory so we get existing directories without assemblies in
107         them.
108
109 2004-12-08  Raja R Harinath  <rharinath@novell.com>
110
111         * driver.cs (Symlink): Pass additional parameter: the name of the
112         dll being installed.  If needed copy that file, not 'oldpath',
113         since 'oldpath' need not be a valid file (esp. on DESTDIR builds).
114         (Install): Update.
115
116 2004-07-28  Jackson Harper  <jackson@ximian.com>
117
118         * driver.cs: Check for and install .mdb (debuger symbol files).
119         
120 2004-07-15  Jackson Harper  <jackson@ximian.com>
121
122         * driver.cs: MONO_GAC_PREFIX not MONO_GAC_PATH.
123         
124 2004-06-15  Jackson Harper  <jackson@ximian.com>
125
126         * driver.cs: Ensure that the -gacdir ends with /lib if it does not
127         appened one. The reason for this is that the runtime expects it,
128         and existing makefiles user -gacdir $(destdir)/$(libdir) so auto
129         appending it without checking would break many things.
130         
131 2004-06-10  Jackson Harper  <jackson@ximian.com>
132
133         * driver.cs: We don't need to check if the canidate is a file in
134         IsSwitch anymore as some other commandline handling will take care
135         of this case.
136         
137 2004-06-10  Jackson Harper  <jackson@ximian.com>
138
139         * driver.cs: Don't append gacdir to /root. This breaks
140         everything. Will add another option for doing this if its needed.
141         
142 2004-06-09  Jackson Harper  <jackson@ximian.com>
143
144         * gacutil.exe.sources: Make the new gacutil the default and return
145         seats to their upright position.
146         
147 2004-06-08  Jackson Harper  <jackson@ximian.com>
148
149         * driver.cs: When checking refs don't bother using an AppDomain
150         and load the assembly using the code base so we get the right
151         one. Print out the name of the non strong named assembly if one is
152         referenced.
153         
154 2004-06-08  Jackson Harper  <jackson@ximian.com>
155
156         * driver.cs Add install from list and uninstall from list
157         commands. Allow options to come before commands. Add the /silent
158         option so we can shut the tool up. And use returns instead of
159         Environment.Exit where appropriate.
160         
161 2004-06-07  Jackson Harper  <jackson@ximian.com>
162
163         * driver.cs: Add -check_refs option to check if all referenced
164         assemblies are stron named. Fix some pathing issues when create
165         links for packaged. Update todds (C) info.
166
167 2004-06-05  Miguel de Icaza  <miguel@ximian.com>
168
169         * gacutil.cs: GetAssemblyInfo might return null now, check for
170         that.
171
172         Add try/catch to GetAssemblyInfo.
173         
174 2004-05-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
175
176         * gacutil.cs: when -il, don't stop if one assembly fails to install.
177
178 2004-05-21  Jackson Harper  <jackson@ximian.com>
179
180         * driver.cs: More fiddling with paths.
181         
182 2004-05-21  Jackson Harper  <jackson@ximian.com>
183
184         * driver.cs: Allow the root and gacdir to both be specified. In
185         this case they are combined.
186         
187 2004-05-21  Jackson Harper  <jackson@ximian.com>
188
189         * driver.cs: Do not allow gacdir and root to be specified at the
190         same time. Cleanup help. Add help for options.
191         
192 2004-05-21  Jackson Harper  <jackson@ximian.com>
193
194         * driver.cs: Add uninstall-specific option. This takes an assembly
195         file and uninstalls a matching named one from the GAC. Fix search
196         string shenanigans when uninstalling.
197
198 2004-05-21  Jackson Harper  <jackson@ximian.com>
199
200         * driver.cs: This is the new gacutil. Right now it wont get built,
201         after I do a little more testing I will make it the built/installed
202         gacutil.
203         
204 2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
205
206         * gacutil.cs: force = true requested by Miguel.
207
208 2004-05-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
209
210         * gacutil.cs:
211         (InstallAssembly): use Array.IndexOf to search for "/f", "-f" or
212         "--force" instead of expecting it in a fixed place.
213
214 2004-05-14  Todd Berman  <tberman@sevenl.net>
215
216         * gacutil.cs: Remove old file/symlink, thanks urs. 
217
218 2004-05-14  Jackson Harper  <jackson@ximian.com>
219
220         * gacutil.cs: Always install the package files.
221         
222 2004-05-04  Jackson Harper  <jackson@ximian.com>
223
224         * gacutil.cs: We need to overwrite existing libraries if they
225         already exist in the package directory on windows. Also made the
226         code somewhat readable with 80 cols.
227         
228 2004-05-03  Todd Berman  <tberman@sevenl.net>
229
230         * gacutil.cs: potential fix for miguel.
231
232 2004-05-03  Todd Berman  <tberman@sevenl.net>
233
234         * gacutil.cs: support /package in /u now as well.
235
236 2004-05-03  Todd Berman  <tberman@sevenl.net>
237
238         * gacutil.cs: Add /package support. Seriously going to rewrite cmdline
239         handling *asap* cause this is just wrong.
240
241 2004-05-01  Todd Berman  <tberman@sevenl.net>
242
243         * gacutil.cs: copy the config file, not the assembly again.
244
245 2004-05-01  Todd Berman  <tberman@sevenl.net>
246
247         * gacutil.cs: ack, miguel is right, cmdline handling needs some love.
248
249 2004-04-30  Todd Berman  <tberman@sevenl.net>
250
251         * gacutil.cs: cleanup help.
252
253 2004-04-30  Todd Berman  <tberman@sevenl.net>
254
255         * gacutil.cs: remove /prefix, now --root and /root
256
257 2004-04-30  Todd Berman  <tberman@sevenl.net>
258
259         * gacutil.cs: Change the way of handling the /prefix stuff.
260         Now all gacbased operations will work with /prefix or --root. This
261         *MUST* be at the end of the commandline for it to work.
262         Also note, that in a Makefile changing /i to /u will not work, as the
263         gac uninstalls based on AssemblyName.Name, so forexample:
264
265         gacutil /i some/path/blah/System.dll --root /usr/lib/somefakegac
266
267         will install and
268
269         gacutil /u System --root /usr/lib/somefakegac
270
271         will uninstall.
272
273 2004-04-30  Miguel de Icaza  <miguel@ximian.com>
274
275         * gacutil.cs: Rename /prefix with /libdir,  Append mono/gac to
276         that. 
277
278 2004-04-30  Jackson Harper  <jackson@ximian.com>
279
280         * gacutil.cs: Install config files.
281         
282 2004-04-30  Jackson Harper  <jackson@ximian.com>
283
284         * gacutil.cs: Use invariant culture for ToLower. Patch from Urs Muff.
285         
286 2004-04-30  Todd Berman  <tberman@sevenl.net>
287
288         * gacutil.cs: Add a missing .Trim ()
289
290 2004-04-29  Jackson Harper  <jackson@ximian.com>
291
292         * gacutil.cs: Allow a prefix to be specified. This is only for
293         packaging if you install to some wack prefix it wont work.
294         
295 2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
296
297         * gacutil.cs: return non-zero when something fails.
298
299 2004-04-29  Todd Berman  <tberman@sevenl.net>
300
301         * gacutil.cs: Add assembly name to installation message.
302
303 2004-04-27  Jackson Harper  <jackson@ximian.com>
304
305         * gacutil.cs: Temporarily disable strong name verification when
306         installing.
307         
308 2004-04-27  Jackson Harper  <jackson@ximian.com>
309
310         * gacutil.cs: Remove hack for removing strong name headers. The
311         strong name type now handles these properly and this screwed up
312         the ecma key.
313         
314 2004-03-25  Jackson Harper  <jackson@ximian.com>
315
316         * gacutil.cs: Add culture to assemblies version string.
317         
318 2003-12-10  Todd Berman  <tberman@gentoo.org>
319
320         * gacutil.cs: Properly detect and fail gracefully on ms.net runtime
321         * README:
322         * TODO: Updated
323
324 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
325
326         * gacutil.cs: Fix binding flags.
327         
328         * gacutil.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
329         Use Environment.GacPath () instead of hardcoding the GAC path.
330
331 2003-11-16  Sebastien Pouliot  <spouliot@videotron.ca>
332
333         * gacutil.cs: Added strongname validation
334         * Makefile: Added a reference to Mono.Security assembly.
335
336 2003-11-16  Todd Berman  <tberman@gentoo.org>
337
338         * gacutil.cs: /il functionality
339         * gacutil.cs: /ul functionality
340         * TODO: updated
341         * gacutil.cs: help text added.
342
343 2003-11-15  Todd Berman  <tberman@gentoo.org>
344         
345         * gacutil.cs: Added reference counting for installation and deletion.
346         An assembly will have a RefCount of 1 if --force is used.
347         * gacutil.cs: Changed ... + Path.DirSepChar + ... to Path.Combine
348         Thanks to Ben Maurer. Turns out code marked as potentially not
349         needed was not needed, now refcounting with /u assemblyname works
350         as well.
351         * gacutil.cs: Incorporated uac (User Assembly Cache), needs some
352         machine.config security checking as well.
353
354 2003-11-14  Todd Berman  <tberman@gentoo.org>
355
356         * gacutil.cs: added proper removal of assemblies, now the version=
357         syntax also works.
358         * gacutil.exe: somehow got added, removing, duh.
359
360 2003-11-12  Todd Berman  <tberman@gentoo.org>
361
362         * Makefile:
363         * TODO:
364         * README:
365         * ChangeLog: 
366         * gacutil.exe.sources:
367         * gacutil.cs: Added