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