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