1 2007-10-27 Gert Driesen <drieseng@users.sourceforge.net>
3 * ResourceManager.cs: Removed temporary workaround for bug #43567.
4 Reworked basename to only throw ArgumentException if resource with
5 name ending on ".resources" does not actually exist. Fixes bug
6 #336283. Do not throw exception in GetStream since this is already
7 done in InternalGetResourceSet. In InternalGetResourceSet, do not
8 throw MissingManifestResourceException when culture is null. Fixed
9 MissingManifestResourceException message to match MS. When using
10 file-based ResourceManager, then also throw an exception when file
11 does not exist for neutral culture.
13 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
15 * ResourceManager.cs: Move code for determining manifest resource
16 name into separate method. Only use satellite assemblies for
17 non-invariant cultures. For invariant culture, only load resources
20 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
22 * ResourceManager.cs: BaseName(Field) should return only the name.
23 Added resourceSource field to store the actual type, which we need for
24 the namespace. Added CheckBaseName method to avoid code duplication.
25 Only check whether basename does not end in '.resources' on 1.0
26 profile. Fixed paramname of ArgumentNullExceptions to match MS.
27 Modified GetManifestResourceStreamNoCase to use resourceSource field
28 to construct manifest resource name. Modified GetStream to use
29 CurrentUICulture when culture is null. Fixed InternalGetResourceSet
30 to use invariant resources when culture is the neutral culture.
33 2007-08-24 Gert Driesen <drieseng@users.sourceforge.net>
35 * ResourceReader.cs: Fixed exception message to match MS. Removed
36 duplicate checks from string ctor.
38 2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
40 * ResourceReader.cs : implemented GetResourceData(). Resources with
41 unresolvable types could still be parsed, so hold type names
44 2007-07-16 Rodrigo Kumpera <rkumpera@novell.com>
46 * ResourceReader.cs (ResourceValue): Put the null resource check
47 before the resource version 2 check, this fixes bug #81757
49 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
51 * ResourceWriter.cs : fix for runtime serialization type index.
54 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
56 * ResourceWriter.cs : temporarily disable 2.0 output until I get
59 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
61 * IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
62 SatelliteContractVersionAttribute.cs ResourceManager.cs
63 IResourceReader.cs ResourceSet.cs ResourceWriter.cs
64 ResourceReader.cs UltimateResourceFallbackLocation.cs
65 MissingManifestResourceException.cs :
66 implemented 2.0 resource support (write, and remaining read bits)
67 and GetStream(). Cosmetic attributes fixes.
69 2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
71 * MissingSatelliteAssemblyException.cs : new file.
73 2007-02-16 Gert Driesen <drieseng@users.sourceforge.net>
75 * ResourceReader.cs: Fixed typo.
77 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
79 * ResourceManager.cs: Don't create the ResourceSets hashtable in the
80 protected ctor, instead move it to the public ctors. Fixes some not
81 working nunit tests. Also, return a closed ResourceSet instead of
82 creating a new one. Fixes one more test. If only BaseNameField is
83 provided, try to create a resource set from the BaseNameField. One
84 more test that passes now.
85 * ResourceSet.cs: Remove isDisposed. Not needed anymore.
87 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
89 * ResourceManager.cs: Iterate through the values of the ResourceSets
90 hashtable in ReleaseAllResources instead through the hashtable itself.
92 2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
94 * ResourceReader.cs: Support reading byte arrays in v2 resource files.
95 Patch provided by Red Forks. Fixes bug #79976.
97 2006-10-29 Alexander Olk <alex.olk@googlemail.com>
99 * ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
100 disposes a resource set. A closed resource set will now be
101 removed from ResourceSets. Fixes bug #79182.
103 2006-03-14 Robert Jordan <robertj@gmx.net>
105 * ResourceManager.cs: Don't stop the resource set lookup until
106 the invariant culture is reached. Fixes bug #77242.
108 2005-11-19 Zoltan Varga <vargaz@gmail.com>
110 * Win32Resources.cs: Add a new 'FileVersion' property.
112 2005-07-25 Marek Safar <marek.safar@seznam.cz>
114 * ResourceReader.cs: Implemented reading of primitives for version 2.
116 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
118 * ResourceReader.cs, ResourceSet.cs: Added a LinkDemand for
119 SerializationFormatter when using a Stream constructor (other ctors
120 have different security - e.g. FileIOPermission for opening a file).
122 2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
124 * ResourceManager.cs: use culture.Equals in InternalGetResourceSet().
126 2005-02-12 Geoff Norton <gnorton@customerdna.com>
128 * ResourceReader.cs: If a resource type index is -1 return null
129 instead of throwing an exception
130 * ResourceWriter.cs: If an object is null; encode it with type index
131 -1 instead of throwing an exception.
133 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
135 * Win32Resources.cs: Fix warning.
137 2004-12-06 Ben Maurer <bmaurer@ximian.com>
139 * ResourceManager.cs (InternalResourceManager): on msft, they
140 search for a case-insenstitive match too here.
142 2004-05-02 Sebastien Pouliot <sebastien@ximian.com>
144 * ResourceManager.cs: Avoid endless recursion when a resource file
147 2004-04-08 Lluis Sanchez <lluis@ximian.com>
149 * ResourceSet.cs: Added minor null check.
151 2004-02-03 Jackson Harper <jackson@ximian.com>
153 * ResourceSet.cs: Do not throw an exception for null strings.
155 2004-01-13 Zoltan Varga <vargaz@freemail.hu>
157 * Win32Resources.cs (Win32VersionInfoResource): Add more properties.
159 2004-01-09 Zoltan Varga <vargaz@freemail.hu>
161 * Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
162 at the end of each string entry.
164 * Win32Resources.cs: Fix warnings not detected by mcs.
166 2004-01-08 Zoltan Varga <vargaz@freemail.hu>
168 * Win32Resources.cs: Organize win32 resources into a class hierarchy
169 with the class Win32Resource as the abstract superclass. Add
170 Win32ResFileReader and Win32IconFileReader classes and the
171 corresponding resource types.
173 * Win32Resources.cs (Win32VersionInfoResource): Fix version number
174 calculation. Add Language property.
176 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
178 * Win32Resources.cs: New file.
180 * Win32Resources.cs: The value of properties can't be empty.
182 * Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
183 for well-known property names. Add missing namespace declaration.
185 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
187 * ResourceWriter.cs (Stream): New internal property used by Ref.Emit.
189 2003-11-28 Dick Porter <dick@ximian.com>
191 * ResourceSet.cs: Do string compares with the Invariant culture.
193 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
195 * ResourceSet.cs: Implemented v1.1 updates
197 2003-09-07 Dick Porter <dick@ximian.com>
199 * Temporary workaround for bug 43567, so that Npgsql at least
202 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204 * ResourceManager.cs: fixed infinite loop when the resource is not
205 found. Also fixes bug #34196.
207 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
209 * ResourceManager.cs: enabled the code that calls GetSatelliteAssembly
210 and ignore the exception thrown if the assembly cannot be loaded.
212 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 * ResourceManager.cs: fixed the name for the file when the culture is
215 not de invariant culture. Commented out the GetSatelliteAssembly code
216 to avoid NotImplementedException being thrown.
218 2002-08-19 Dick Porter <dick@ximian.com>
220 * ResourceWriter.cs: Implemented all methods
222 * ResourceReader.cs: Cope with our ResourceSet class name, as well
225 2002-08-18 Dick Porter <dick@ximian.com>
227 * ResourceReader.cs: Finished basic implementation. Some
228 optimisation in conjunction with ResourceSet still possible though
230 2002-08-14 Dick Porter <dick@ximian.com>
232 * ResourceSet.cs: Throw the correct exceptions
234 * ResourceManager.cs: Implemented all unfinished methods
236 2002-03-12 Duncan Mak <duncan@ximian.com>
238 * MissingManifestResourceException.cs: This should inherit from
239 SystemException, not Exception.
241 2002-01-26 Nick Drochak <ndrochak@gol.com>
243 * ResourceReader.cs: Finsished reading resource files with just strings
244 in them. Need to figure out other types, and also resources with
245 multiple types in the same file.
247 2002-01-24 Nick Drochak <ndrochak@gol.com>
249 * ResourceReader.cs: Implemented constructors. Started on the
250 GetEnumerator() method. Not done yet, but comitting for
251 'disaster recovery' purposes.
253 2002-01-19 Duncan Mak <duncan@ximian.com>
255 * *.cs: Fixed indentation. There was a stupid bug in my .emacs file.
257 2002-1-17 Duncan Mak <duncan@duncan@ximian.com>
259 * ResourceSet.cs: Implemented GetObject (string, bool) and GetString
260 (string, bool). ResourceSet has no more MonoTODOs! Also added in the
261 Serializable attribute.
263 * *.cs: convert to Miguel's brace style.
265 2002-01-17 Duncan Mak <duncan@ximian.com>
267 * ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
268 new attributes documented in 1.0 SDK.
270 2002-01-17 Duncan Mak <duncan@ximian.com>
272 * ResourceWriter.cs: Added MonoTODO decorations.
274 * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.
276 * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK
278 2002-01-16 Duncan Mak <duncan@ximian.com>
280 * ResourceReader.cs: Fixed some typos.
282 * ResourceManager.cs: After reading the tutorial from the SDK,
283 finished all the ResourceManager constructors and removed those
286 Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
287 because Miguel just implemented the whole class, including the
288 constructor that I needed (CultureInfo (string)).
290 Updated fields after reading the new docs from the final SDK.
292 * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
293 Windows.Forms and require System.Xml, which we don't have access to.
295 2002-01-13 Duncan Mak <duncan@ximian.com>
297 * ResourceManager.cs: Added more MonoTODOs and cleaned up some
300 2002-01-09 Duncan Mak <duncan@ximian.com>
302 * ResourceManager.cs: Fixed the GetSatelliteContractVersion()
303 method. It was missing a cast before. Removed MonoTODO
304 attribute. ;-) It was tested by John Barnette, so this shouldn't break
307 * ResourceManager.cs: Removed MonoTODO attribute on GetString
308 (string), as I believe it's correct. However, GetString
309 (string, CultureInfo) is definitely broken, so I'm marking it with
310 MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().
312 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
313 * Finalizing IResourceReader and IResourceWriter interfaces:
314 Added "new"-modifier to IResourceReader.GetEnumerator
315 * Fixed compilation issues in other *.cs, so that the
316 System.Resources namespaces can be included in the corlib build.
318 2002-01-05 Ravi Pratap <ravi@ximian.com>
320 * ResourceManager.cs : MonoTODO attribute decoration.
322 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <lupus@ximian.com>
324 * *.cs: fixed some of the compilation issues: missing
325 using directives, typos.
327 2001-12-11 Duncan Mak <duncan@ximian.com>
331 2001-12-10 Duncan Mak <duncan@ximian.com>
333 * ResourceManager.cs (GetNeutralResourcesLanguage):
334 (GetSatelliteContractVersion): Implemented.
336 2001-12-09 Duncan Mak <duncan@ximian.com>
338 * ResXResourceReader.cs: Initial attempt.
340 * ResXFileRef.cs: Initial attempt.
342 * ResourceWriter.cs: Initial attempt.
344 * ResourceSet.cs (ReadResources): Implemented, with help from Radek Doulik.
346 2001-11-28 Duncan Mak <duncan@ximian.com>
348 * ResourceManager.cs: First attempt.
350 2001-11-27 Duncan Mak <duncan@ximian.com>
353 First attempt, can't continue until ResourceReader and ResourceWriter are implemented.
355 * SatelliteContractVersionAttribute.cs: First attempt. The spec is quite amibiguous here.
357 * NeutralResoucesLanguageAttribute.cs: Complete.
359 * MissingManifestResourceException.cs: Complete.
361 * IResourceReader.cs: Complete.
363 * IResourceWriter.cs: Complete.