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