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