1 2007-08-24 Gert Driesen <drieseng@users.sourceforge.net>
3 * ResourceReader.cs: Fixed exception message to match MS. Removed
4 duplicate checks from string ctor.
6 2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
8 * ResourceReader.cs : implemented GetResourceData(). Resources with
9 unresolvable types could still be parsed, so hold type names
12 2007-07-16 Rodrigo Kumpera <rkumpera@novell.com>
14 * ResourceReader.cs (ResourceValue): Put the null resource check
15 before the resource version 2 check, this fixes bug #81757
17 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
19 * ResourceWriter.cs : fix for runtime serialization type index.
22 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
24 * ResourceWriter.cs : temporarily disable 2.0 output until I get
27 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
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.
37 2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
39 * MissingSatelliteAssemblyException.cs : new file.
41 2007-02-16 Gert Driesen <drieseng@users.sourceforge.net>
43 * ResourceReader.cs: Fixed typo.
45 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
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.
55 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
57 * ResourceManager.cs: Iterate through the values of the ResourceSets
58 hashtable in ReleaseAllResources instead through the hashtable itself.
60 2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
62 * ResourceReader.cs: Support reading byte arrays in v2 resource files.
63 Patch provided by Red Forks. Fixes bug #79976.
65 2006-10-29 Alexander Olk <alex.olk@googlemail.com>
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.
71 2006-03-14 Robert Jordan <robertj@gmx.net>
73 * ResourceManager.cs: Don't stop the resource set lookup until
74 the invariant culture is reached. Fixes bug #77242.
76 2005-11-19 Zoltan Varga <vargaz@gmail.com>
78 * Win32Resources.cs: Add a new 'FileVersion' property.
80 2005-07-25 Marek Safar <marek.safar@seznam.cz>
82 * ResourceReader.cs: Implemented reading of primitives for version 2.
84 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
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).
90 2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
92 * ResourceManager.cs: use culture.Equals in InternalGetResourceSet().
94 2005-02-12 Geoff Norton <gnorton@customerdna.com>
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.
101 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
103 * Win32Resources.cs: Fix warning.
105 2004-12-06 Ben Maurer <bmaurer@ximian.com>
107 * ResourceManager.cs (InternalResourceManager): on msft, they
108 search for a case-insenstitive match too here.
110 2004-05-02 Sebastien Pouliot <sebastien@ximian.com>
112 * ResourceManager.cs: Avoid endless recursion when a resource file
115 2004-04-08 Lluis Sanchez <lluis@ximian.com>
117 * ResourceSet.cs: Added minor null check.
119 2004-02-03 Jackson Harper <jackson@ximian.com>
121 * ResourceSet.cs: Do not throw an exception for null strings.
123 2004-01-13 Zoltan Varga <vargaz@freemail.hu>
125 * Win32Resources.cs (Win32VersionInfoResource): Add more properties.
127 2004-01-09 Zoltan Varga <vargaz@freemail.hu>
129 * Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
130 at the end of each string entry.
132 * Win32Resources.cs: Fix warnings not detected by mcs.
134 2004-01-08 Zoltan Varga <vargaz@freemail.hu>
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.
141 * Win32Resources.cs (Win32VersionInfoResource): Fix version number
142 calculation. Add Language property.
144 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
146 * Win32Resources.cs: New file.
148 * Win32Resources.cs: The value of properties can't be empty.
150 * Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
151 for well-known property names. Add missing namespace declaration.
153 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
155 * ResourceWriter.cs (Stream): New internal property used by Ref.Emit.
157 2003-11-28 Dick Porter <dick@ximian.com>
159 * ResourceSet.cs: Do string compares with the Invariant culture.
161 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
163 * ResourceSet.cs: Implemented v1.1 updates
165 2003-09-07 Dick Porter <dick@ximian.com>
167 * Temporary workaround for bug 43567, so that Npgsql at least
170 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172 * ResourceManager.cs: fixed infinite loop when the resource is not
173 found. Also fixes bug #34196.
175 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177 * ResourceManager.cs: enabled the code that calls GetSatelliteAssembly
178 and ignore the exception thrown if the assembly cannot be loaded.
180 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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.
186 2002-08-19 Dick Porter <dick@ximian.com>
188 * ResourceWriter.cs: Implemented all methods
190 * ResourceReader.cs: Cope with our ResourceSet class name, as well
193 2002-08-18 Dick Porter <dick@ximian.com>
195 * ResourceReader.cs: Finished basic implementation. Some
196 optimisation in conjunction with ResourceSet still possible though
198 2002-08-14 Dick Porter <dick@ximian.com>
200 * ResourceSet.cs: Throw the correct exceptions
202 * ResourceManager.cs: Implemented all unfinished methods
204 2002-03-12 Duncan Mak <duncan@ximian.com>
206 * MissingManifestResourceException.cs: This should inherit from
207 SystemException, not Exception.
209 2002-01-26 Nick Drochak <ndrochak@gol.com>
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.
215 2002-01-24 Nick Drochak <ndrochak@gol.com>
217 * ResourceReader.cs: Implemented constructors. Started on the
218 GetEnumerator() method. Not done yet, but comitting for
219 'disaster recovery' purposes.
221 2002-01-19 Duncan Mak <duncan@ximian.com>
223 * *.cs: Fixed indentation. There was a stupid bug in my .emacs file.
225 2002-1-17 Duncan Mak <duncan@duncan@ximian.com>
227 * ResourceSet.cs: Implemented GetObject (string, bool) and GetString
228 (string, bool). ResourceSet has no more MonoTODOs! Also added in the
229 Serializable attribute.
231 * *.cs: convert to Miguel's brace style.
233 2002-01-17 Duncan Mak <duncan@ximian.com>
235 * ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
236 new attributes documented in 1.0 SDK.
238 2002-01-17 Duncan Mak <duncan@ximian.com>
240 * ResourceWriter.cs: Added MonoTODO decorations.
242 * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.
244 * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK
246 2002-01-16 Duncan Mak <duncan@ximian.com>
248 * ResourceReader.cs: Fixed some typos.
250 * ResourceManager.cs: After reading the tutorial from the SDK,
251 finished all the ResourceManager constructors and removed those
254 Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
255 because Miguel just implemented the whole class, including the
256 constructor that I needed (CultureInfo (string)).
258 Updated fields after reading the new docs from the final SDK.
260 * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
261 Windows.Forms and require System.Xml, which we don't have access to.
263 2002-01-13 Duncan Mak <duncan@ximian.com>
265 * ResourceManager.cs: Added more MonoTODOs and cleaned up some
268 2002-01-09 Duncan Mak <duncan@ximian.com>
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
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().
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.
286 2002-01-05 Ravi Pratap <ravi@ximian.com>
288 * ResourceManager.cs : MonoTODO attribute decoration.
290 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <lupus@ximian.com>
292 * *.cs: fixed some of the compilation issues: missing
293 using directives, typos.
295 2001-12-11 Duncan Mak <duncan@ximian.com>
299 2001-12-10 Duncan Mak <duncan@ximian.com>
301 * ResourceManager.cs (GetNeutralResourcesLanguage):
302 (GetSatelliteContractVersion): Implemented.
304 2001-12-09 Duncan Mak <duncan@ximian.com>
306 * ResXResourceReader.cs: Initial attempt.
308 * ResXFileRef.cs: Initial attempt.
310 * ResourceWriter.cs: Initial attempt.
312 * ResourceSet.cs (ReadResources): Implemented, with help from Radek Doulik.
314 2001-11-28 Duncan Mak <duncan@ximian.com>
316 * ResourceManager.cs: First attempt.
318 2001-11-27 Duncan Mak <duncan@ximian.com>
321 First attempt, can't continue until ResourceReader and ResourceWriter are implemented.
323 * SatelliteContractVersionAttribute.cs: First attempt. The spec is quite amibiguous here.
325 * NeutralResoucesLanguageAttribute.cs: Complete.
327 * MissingManifestResourceException.cs: Complete.
329 * IResourceReader.cs: Complete.
331 * IResourceWriter.cs: Complete.