1 2008-01-26 Gert Driesen <drieseng@users.sourceforge.net>
3 * ResourceWriter.cs: On 2.0 profile, do not mistakenly identify an
4 enum as a predefined type. Fixes bug #325223.
6 2007-11-10 Gert Driesen <drieseng@users.sourceforge.net>
8 * ResourceWriter.cs: On 2.0 profile, use case-insensitive SortedList.
9 Changed exception messages and params to match MS. Allow null values
10 in AddResource overloads. In Dispose (bool), also generate resources
11 (header) if no resources were added. Fixes bug #339074. When Generate
12 is done, reset resources to null to prevent further editing. This
13 also avoids the need for a separate bool to indicate whether generate
14 was already invoked. Code formatting.
16 2007-10-27 Gert Driesen <drieseng@users.sourceforge.net>
18 * ResourceManager.cs: Removed temporary workaround for bug #43567.
19 Reworked basename to only throw ArgumentException if resource with
20 name ending on ".resources" does not actually exist. Fixes bug
21 #336283. Do not throw exception in GetStream since this is already
22 done in InternalGetResourceSet. In InternalGetResourceSet, do not
23 throw MissingManifestResourceException when culture is null. Fixed
24 MissingManifestResourceException message to match MS. When using
25 file-based ResourceManager, then also throw an exception when file
26 does not exist for neutral culture.
28 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
30 * ResourceManager.cs: Move code for determining manifest resource
31 name into separate method. Only use satellite assemblies for
32 non-invariant cultures. For invariant culture, only load resources
35 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
37 * ResourceManager.cs: BaseName(Field) should return only the name.
38 Added resourceSource field to store the actual type, which we need for
39 the namespace. Added CheckBaseName method to avoid code duplication.
40 Only check whether basename does not end in '.resources' on 1.0
41 profile. Fixed paramname of ArgumentNullExceptions to match MS.
42 Modified GetManifestResourceStreamNoCase to use resourceSource field
43 to construct manifest resource name. Modified GetStream to use
44 CurrentUICulture when culture is null. Fixed InternalGetResourceSet
45 to use invariant resources when culture is the neutral culture.
48 2007-08-24 Gert Driesen <drieseng@users.sourceforge.net>
50 * ResourceReader.cs: Fixed exception message to match MS. Removed
51 duplicate checks from string ctor.
53 2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
55 * ResourceReader.cs : implemented GetResourceData(). Resources with
56 unresolvable types could still be parsed, so hold type names
59 2007-07-16 Rodrigo Kumpera <rkumpera@novell.com>
61 * ResourceReader.cs (ResourceValue): Put the null resource check
62 before the resource version 2 check, this fixes bug #81757
64 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
66 * ResourceWriter.cs : fix for runtime serialization type index.
69 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
71 * ResourceWriter.cs : temporarily disable 2.0 output until I get
74 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
76 * IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
77 SatelliteContractVersionAttribute.cs ResourceManager.cs
78 IResourceReader.cs ResourceSet.cs ResourceWriter.cs
79 ResourceReader.cs UltimateResourceFallbackLocation.cs
80 MissingManifestResourceException.cs :
81 implemented 2.0 resource support (write, and remaining read bits)
82 and GetStream(). Cosmetic attributes fixes.
84 2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
86 * MissingSatelliteAssemblyException.cs : new file.
88 2007-02-16 Gert Driesen <drieseng@users.sourceforge.net>
90 * ResourceReader.cs: Fixed typo.
92 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
94 * ResourceManager.cs: Don't create the ResourceSets hashtable in the
95 protected ctor, instead move it to the public ctors. Fixes some not
96 working nunit tests. Also, return a closed ResourceSet instead of
97 creating a new one. Fixes one more test. If only BaseNameField is
98 provided, try to create a resource set from the BaseNameField. One
99 more test that passes now.
100 * ResourceSet.cs: Remove isDisposed. Not needed anymore.
102 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
104 * ResourceManager.cs: Iterate through the values of the ResourceSets
105 hashtable in ReleaseAllResources instead through the hashtable itself.
107 2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
109 * ResourceReader.cs: Support reading byte arrays in v2 resource files.
110 Patch provided by Red Forks. Fixes bug #79976.
112 2006-10-29 Alexander Olk <alex.olk@googlemail.com>
114 * ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
115 disposes a resource set. A closed resource set will now be
116 removed from ResourceSets. Fixes bug #79182.
118 2006-03-14 Robert Jordan <robertj@gmx.net>
120 * ResourceManager.cs: Don't stop the resource set lookup until
121 the invariant culture is reached. Fixes bug #77242.
123 2005-11-19 Zoltan Varga <vargaz@gmail.com>
125 * Win32Resources.cs: Add a new 'FileVersion' property.
127 2005-07-25 Marek Safar <marek.safar@seznam.cz>
129 * ResourceReader.cs: Implemented reading of primitives for version 2.
131 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
133 * ResourceReader.cs, ResourceSet.cs: Added a LinkDemand for
134 SerializationFormatter when using a Stream constructor (other ctors
135 have different security - e.g. FileIOPermission for opening a file).
137 2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * ResourceManager.cs: use culture.Equals in InternalGetResourceSet().
141 2005-02-12 Geoff Norton <gnorton@customerdna.com>
143 * ResourceReader.cs: If a resource type index is -1 return null
144 instead of throwing an exception
145 * ResourceWriter.cs: If an object is null; encode it with type index
146 -1 instead of throwing an exception.
148 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
150 * Win32Resources.cs: Fix warning.
152 2004-12-06 Ben Maurer <bmaurer@ximian.com>
154 * ResourceManager.cs (InternalResourceManager): on msft, they
155 search for a case-insenstitive match too here.
157 2004-05-02 Sebastien Pouliot <sebastien@ximian.com>
159 * ResourceManager.cs: Avoid endless recursion when a resource file
162 2004-04-08 Lluis Sanchez <lluis@ximian.com>
164 * ResourceSet.cs: Added minor null check.
166 2004-02-03 Jackson Harper <jackson@ximian.com>
168 * ResourceSet.cs: Do not throw an exception for null strings.
170 2004-01-13 Zoltan Varga <vargaz@freemail.hu>
172 * Win32Resources.cs (Win32VersionInfoResource): Add more properties.
174 2004-01-09 Zoltan Varga <vargaz@freemail.hu>
176 * Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
177 at the end of each string entry.
179 * Win32Resources.cs: Fix warnings not detected by mcs.
181 2004-01-08 Zoltan Varga <vargaz@freemail.hu>
183 * Win32Resources.cs: Organize win32 resources into a class hierarchy
184 with the class Win32Resource as the abstract superclass. Add
185 Win32ResFileReader and Win32IconFileReader classes and the
186 corresponding resource types.
188 * Win32Resources.cs (Win32VersionInfoResource): Fix version number
189 calculation. Add Language property.
191 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
193 * Win32Resources.cs: New file.
195 * Win32Resources.cs: The value of properties can't be empty.
197 * Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
198 for well-known property names. Add missing namespace declaration.
200 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
202 * ResourceWriter.cs (Stream): New internal property used by Ref.Emit.
204 2003-11-28 Dick Porter <dick@ximian.com>
206 * ResourceSet.cs: Do string compares with the Invariant culture.
208 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
210 * ResourceSet.cs: Implemented v1.1 updates
212 2003-09-07 Dick Porter <dick@ximian.com>
214 * Temporary workaround for bug 43567, so that Npgsql at least
217 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * ResourceManager.cs: fixed infinite loop when the resource is not
220 found. Also fixes bug #34196.
222 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * ResourceManager.cs: enabled the code that calls GetSatelliteAssembly
225 and ignore the exception thrown if the assembly cannot be loaded.
227 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * ResourceManager.cs: fixed the name for the file when the culture is
230 not de invariant culture. Commented out the GetSatelliteAssembly code
231 to avoid NotImplementedException being thrown.
233 2002-08-19 Dick Porter <dick@ximian.com>
235 * ResourceWriter.cs: Implemented all methods
237 * ResourceReader.cs: Cope with our ResourceSet class name, as well
240 2002-08-18 Dick Porter <dick@ximian.com>
242 * ResourceReader.cs: Finished basic implementation. Some
243 optimisation in conjunction with ResourceSet still possible though
245 2002-08-14 Dick Porter <dick@ximian.com>
247 * ResourceSet.cs: Throw the correct exceptions
249 * ResourceManager.cs: Implemented all unfinished methods
251 2002-03-12 Duncan Mak <duncan@ximian.com>
253 * MissingManifestResourceException.cs: This should inherit from
254 SystemException, not Exception.
256 2002-01-26 Nick Drochak <ndrochak@gol.com>
258 * ResourceReader.cs: Finsished reading resource files with just strings
259 in them. Need to figure out other types, and also resources with
260 multiple types in the same file.
262 2002-01-24 Nick Drochak <ndrochak@gol.com>
264 * ResourceReader.cs: Implemented constructors. Started on the
265 GetEnumerator() method. Not done yet, but comitting for
266 'disaster recovery' purposes.
268 2002-01-19 Duncan Mak <duncan@ximian.com>
270 * *.cs: Fixed indentation. There was a stupid bug in my .emacs file.
272 2002-1-17 Duncan Mak <duncan@duncan@ximian.com>
274 * ResourceSet.cs: Implemented GetObject (string, bool) and GetString
275 (string, bool). ResourceSet has no more MonoTODOs! Also added in the
276 Serializable attribute.
278 * *.cs: convert to Miguel's brace style.
280 2002-01-17 Duncan Mak <duncan@ximian.com>
282 * ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
283 new attributes documented in 1.0 SDK.
285 2002-01-17 Duncan Mak <duncan@ximian.com>
287 * ResourceWriter.cs: Added MonoTODO decorations.
289 * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.
291 * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK
293 2002-01-16 Duncan Mak <duncan@ximian.com>
295 * ResourceReader.cs: Fixed some typos.
297 * ResourceManager.cs: After reading the tutorial from the SDK,
298 finished all the ResourceManager constructors and removed those
301 Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
302 because Miguel just implemented the whole class, including the
303 constructor that I needed (CultureInfo (string)).
305 Updated fields after reading the new docs from the final SDK.
307 * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
308 Windows.Forms and require System.Xml, which we don't have access to.
310 2002-01-13 Duncan Mak <duncan@ximian.com>
312 * ResourceManager.cs: Added more MonoTODOs and cleaned up some
315 2002-01-09 Duncan Mak <duncan@ximian.com>
317 * ResourceManager.cs: Fixed the GetSatelliteContractVersion()
318 method. It was missing a cast before. Removed MonoTODO
319 attribute. ;-) It was tested by John Barnette, so this shouldn't break
322 * ResourceManager.cs: Removed MonoTODO attribute on GetString
323 (string), as I believe it's correct. However, GetString
324 (string, CultureInfo) is definitely broken, so I'm marking it with
325 MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().
327 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
328 * Finalizing IResourceReader and IResourceWriter interfaces:
329 Added "new"-modifier to IResourceReader.GetEnumerator
330 * Fixed compilation issues in other *.cs, so that the
331 System.Resources namespaces can be included in the corlib build.
333 2002-01-05 Ravi Pratap <ravi@ximian.com>
335 * ResourceManager.cs : MonoTODO attribute decoration.
337 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <lupus@ximian.com>
339 * *.cs: fixed some of the compilation issues: missing
340 using directives, typos.
342 2001-12-11 Duncan Mak <duncan@ximian.com>
346 2001-12-10 Duncan Mak <duncan@ximian.com>
348 * ResourceManager.cs (GetNeutralResourcesLanguage):
349 (GetSatelliteContractVersion): Implemented.
351 2001-12-09 Duncan Mak <duncan@ximian.com>
353 * ResXResourceReader.cs: Initial attempt.
355 * ResXFileRef.cs: Initial attempt.
357 * ResourceWriter.cs: Initial attempt.
359 * ResourceSet.cs (ReadResources): Implemented, with help from Radek Doulik.
361 2001-11-28 Duncan Mak <duncan@ximian.com>
363 * ResourceManager.cs: First attempt.
365 2001-11-27 Duncan Mak <duncan@ximian.com>
368 First attempt, can't continue until ResourceReader and ResourceWriter are implemented.
370 * SatelliteContractVersionAttribute.cs: First attempt. The spec is quite amibiguous here.
372 * NeutralResoucesLanguageAttribute.cs: Complete.
374 * MissingManifestResourceException.cs: Complete.
376 * IResourceReader.cs: Complete.
378 * IResourceWriter.cs: Complete.