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