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