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