* ResourceReader.cs: Fixed exception message to match MS. Removed
[mono.git] / mcs / class / corlib / System.Resources / ChangeLog
1 2007-08-24  Gert Driesen  <drieseng@users.sourceforge.net>
2
3         * ResourceReader.cs: Fixed exception message to match MS. Removed
4         duplicate checks from string ctor.
5
6 2007-08-09  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * ResourceReader.cs : implemented GetResourceData(). Resources with
9           unresolvable types could still be parsed, so hold type names
10           instead of types.
11
12 2007-07-16  Rodrigo Kumpera  <rkumpera@novell.com>
13
14         * ResourceReader.cs (ResourceValue): Put the null resource check
15           before the resource version 2 check, this fixes bug #81757
16
17 2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
18
19         * ResourceWriter.cs : fix for runtime serialization type index.
20           Fixed bug #81759.
21
22 2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
23
24         * ResourceWriter.cs : temporarily disable 2.0 output until I get
25           bug #81759 fixed.
26
27 2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
28
29         * IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
30           SatelliteContractVersionAttribute.cs ResourceManager.cs
31           IResourceReader.cs ResourceSet.cs ResourceWriter.cs
32           ResourceReader.cs UltimateResourceFallbackLocation.cs
33           MissingManifestResourceException.cs :
34           implemented 2.0 resource support (write, and remaining read bits)
35           and GetStream(). Cosmetic attributes fixes.
36
37 2007-05-25  Atsushi Enomoto  <atsushi@ximian.com>
38
39         * MissingSatelliteAssemblyException.cs : new file.
40
41 2007-02-16  Gert Driesen  <drieseng@users.sourceforge.net>
42
43         * ResourceReader.cs: Fixed typo.
44
45 2006-12-30  Alexander Olk  <alex.olk@googlemail.com>
46
47         * ResourceManager.cs: Don't create the ResourceSets hashtable in the
48         protected ctor, instead move it to the public ctors. Fixes some not
49         working nunit tests. Also, return a closed ResourceSet instead of
50         creating a new one. Fixes one more test. If only BaseNameField is
51         provided, try to create a resource set from the BaseNameField. One
52         more test that passes now.
53         * ResourceSet.cs: Remove isDisposed. Not needed anymore.
54
55 2006-12-30  Alexander Olk  <alex.olk@googlemail.com>
56
57         * ResourceManager.cs: Iterate through the values of the ResourceSets
58         hashtable in ReleaseAllResources instead through the hashtable itself.
59
60 2006-12-30  Gert Driesen  <drieseng@users.sourceforge.net>
61
62         * ResourceReader.cs: Support reading byte arrays in v2 resource files.
63         Patch provided by Red Forks. Fixes bug #79976.
64
65 2006-10-29  Alexander Olk  <alex.olk@googlemail.com>
66
67         * ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
68           disposes a resource set. A closed resource set will now be
69           removed from ResourceSets. Fixes bug #79182.
70
71 2006-03-14  Robert Jordan  <robertj@gmx.net>
72
73         * ResourceManager.cs: Don't stop the resource set lookup until
74         the invariant culture is reached. Fixes bug #77242.
75
76 2005-11-19  Zoltan Varga  <vargaz@gmail.com>
77
78         * Win32Resources.cs: Add a new 'FileVersion' property.
79
80 2005-07-25  Marek Safar  <marek.safar@seznam.cz>
81
82         *  ResourceReader.cs: Implemented reading of primitives for version 2.
83
84 2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>
85
86         *  ResourceReader.cs, ResourceSet.cs: Added a LinkDemand for 
87         SerializationFormatter when using a Stream constructor (other ctors
88         have different security - e.g. FileIOPermission for opening a file).
89
90 2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
91
92         * ResourceManager.cs: use culture.Equals in InternalGetResourceSet().
93
94 2005-02-12  Geoff Norton  <gnorton@customerdna.com>
95
96         * ResourceReader.cs: If a resource type index is -1 return null 
97         instead of throwing an exception
98         * ResourceWriter.cs: If an object is null; encode it with type index
99         -1 instead of throwing an exception.
100         
101 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
102
103         * Win32Resources.cs: Fix warning.
104
105 2004-12-06  Ben Maurer  <bmaurer@ximian.com>
106
107         * ResourceManager.cs (InternalResourceManager): on msft, they
108         search for a case-insenstitive match too here.
109
110 2004-05-02  Sebastien Pouliot  <sebastien@ximian.com>
111
112         * ResourceManager.cs: Avoid endless recursion when a resource file
113         isn't found.
114
115 2004-04-08  Lluis Sanchez <lluis@ximian.com>
116
117         * ResourceSet.cs: Added minor null check.
118
119 2004-02-03  Jackson Harper <jackson@ximian.com>
120
121         * ResourceSet.cs: Do not throw an exception for null strings.
122         
123 2004-01-13  Zoltan Varga  <vargaz@freemail.hu>
124
125         * Win32Resources.cs (Win32VersionInfoResource): Add more properties.
126
127 2004-01-09  Zoltan Varga  <vargaz@freemail.hu>
128
129         * Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
130         at the end of each string entry.
131
132         * Win32Resources.cs: Fix warnings not detected by mcs.
133
134 2004-01-08  Zoltan Varga  <vargaz@freemail.hu>
135
136         * Win32Resources.cs: Organize win32 resources into a class hierarchy
137         with the class Win32Resource as the abstract superclass. Add 
138         Win32ResFileReader and Win32IconFileReader classes and the 
139         corresponding resource types.
140
141         * Win32Resources.cs (Win32VersionInfoResource): Fix version number 
142         calculation. Add Language property.
143
144 2004-01-05  Zoltan Varga  <vargaz@freemail.hu>
145
146         * Win32Resources.cs: New file.
147
148         * Win32Resources.cs: The value of properties can't be empty.
149
150         * Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
151         for well-known property names. Add missing namespace declaration.
152
153 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
154
155         * ResourceWriter.cs (Stream): New internal property used by Ref.Emit.
156
157 2003-11-28  Dick Porter  <dick@ximian.com>
158
159         * ResourceSet.cs: Do string compares with the Invariant culture.
160
161 2003-11-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
162
163         * ResourceSet.cs: Implemented v1.1 updates
164
165 2003-09-07  Dick Porter  <dick@ximian.com>
166
167         * Temporary workaround for bug 43567, so that Npgsql at least
168         can run.
169
170 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
171
172         * ResourceManager.cs: fixed infinite loop when the resource is not
173         found. Also fixes bug #34196.
174
175 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
176
177         * ResourceManager.cs: enabled the code that calls GetSatelliteAssembly
178         and ignore the exception thrown if the assembly cannot be loaded.
179
180 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
181
182         * ResourceManager.cs: fixed the name for the file when the culture is
183         not de invariant culture. Commented out the GetSatelliteAssembly code
184         to avoid NotImplementedException being thrown.
185
186 2002-08-19  Dick Porter  <dick@ximian.com>
187
188         * ResourceWriter.cs: Implemented all methods
189
190         * ResourceReader.cs: Cope with our ResourceSet class name, as well
191         as theirs
192
193 2002-08-18  Dick Porter  <dick@ximian.com>
194
195         * ResourceReader.cs: Finished basic implementation.  Some
196         optimisation in conjunction with ResourceSet still possible though
197
198 2002-08-14  Dick Porter  <dick@ximian.com>
199
200         * ResourceSet.cs: Throw the correct exceptions
201
202         * ResourceManager.cs: Implemented all unfinished methods
203
204 2002-03-12  Duncan Mak  <duncan@ximian.com>
205
206         * MissingManifestResourceException.cs: This should inherit from
207         SystemException, not Exception.
208
209 2002-01-26  Nick Drochak  <ndrochak@gol.com>
210
211         * ResourceReader.cs: Finsished reading resource files with just strings
212         in them.  Need to figure out other types, and also resources with
213         multiple types in the same file.
214
215 2002-01-24  Nick Drochak  <ndrochak@gol.com>
216
217         * ResourceReader.cs: Implemented constructors. Started on the 
218         GetEnumerator() method.  Not done yet, but comitting for 
219         'disaster recovery' purposes.
220
221 2002-01-19  Duncan Mak  <duncan@ximian.com>
222
223         * *.cs: Fixed indentation. There was a stupid bug in my .emacs file.
224
225 2002-1-17  Duncan Mak  <duncan@duncan@ximian.com>
226
227         * ResourceSet.cs: Implemented GetObject (string, bool) and GetString
228         (string, bool). ResourceSet has no more MonoTODOs! Also added in the
229         Serializable attribute.
230         
231         * *.cs: convert to Miguel's brace style.
232
233 2002-01-17  Duncan Mak  <duncan@ximian.com>
234
235         * ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
236         new attributes documented in 1.0 SDK.
237
238 2002-01-17  Duncan Mak  <duncan@ximian.com>
239
240         * ResourceWriter.cs: Added MonoTODO decorations.
241
242         * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.
243
244         * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK
245         
246 2002-01-16  Duncan Mak  <duncan@ximian.com>
247
248         * ResourceReader.cs: Fixed some typos.
249
250         * ResourceManager.cs: After reading the tutorial from the SDK,
251         finished all the ResourceManager constructors and removed those
252         MonoTODO tags.
253         
254         Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
255         because Miguel just implemented the whole class, including the
256         constructor that I needed (CultureInfo (string)).
257
258         Updated fields after reading the new docs from the final SDK.
259
260         * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
261         Windows.Forms and require System.Xml, which we don't have access to.
262
263 2002-01-13  Duncan Mak  <duncan@ximian.com>
264
265         * ResourceManager.cs: Added more MonoTODOs and cleaned up some 
266         indenting.
267
268 2002-01-09  Duncan Mak  <duncan@ximian.com>
269
270         * ResourceManager.cs: Fixed the GetSatelliteContractVersion()
271         method. It was missing a cast before. Removed MonoTODO
272         attribute. ;-) It was tested by John Barnette, so this shouldn't break
273         the build.
274
275         * ResourceManager.cs: Removed MonoTODO attribute on GetString
276         (string), as I believe it's correct. However, GetString
277         (string, CultureInfo) is definitely broken, so I'm marking it with
278         MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().
279
280 2002-01-06  Duco Fijma <duco@lorentz.xs4all.nl>
281         * Finalizing IResourceReader and IResourceWriter interfaces: 
282           Added "new"-modifier to IResourceReader.GetEnumerator
283         * Fixed compilation issues in other *.cs, so that the 
284           System.Resources namespaces can be included in the corlib build.
285
286 2002-01-05  Ravi Pratap  <ravi@ximian.com>
287
288         * ResourceManager.cs : MonoTODO attribute decoration.
289         
290 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <lupus@ximian.com>
291
292         * *.cs: fixed some of the compilation issues: missing
293         using directives, typos.
294
295 2001-12-11  Duncan Mak  <duncan@ximian.com>
296
297         * Checked in to CVS.
298
299 2001-12-10  Duncan Mak  <duncan@ximian.com>
300
301         * ResourceManager.cs (GetNeutralResourcesLanguage):
302         (GetSatelliteContractVersion): Implemented.
303         
304 2001-12-09  Duncan Mak  <duncan@ximian.com>
305
306         * ResXResourceReader.cs: Initial attempt.
307
308         * ResXFileRef.cs: Initial attempt.
309
310         * ResourceWriter.cs: Initial attempt.
311
312         * ResourceSet.cs (ReadResources): Implemented, with help from Radek Doulik.
313
314 2001-11-28  Duncan Mak <duncan@ximian.com>      
315
316         * ResourceManager.cs: First attempt.
317
318 2001-11-27  Duncan Mak <duncan@ximian.com>
319
320         * ResourceSet.cs:
321         First attempt, can't continue until ResourceReader and ResourceWriter are implemented.
322                 
323         * SatelliteContractVersionAttribute.cs: First attempt. The spec is quite amibiguous here.
324
325         * NeutralResoucesLanguageAttribute.cs: Complete.
326
327         * MissingManifestResourceException.cs: Complete.
328
329         * IResourceReader.cs: Complete.
330
331         * IResourceWriter.cs: Complete.