1 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
3 * ResourceManager.cs: Move code for determining manifest resource
4 name into separate method. Only use satellite assemblies for
5 non-invariant cultures. For invariant culture, only load resources
8 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
10 * ResourceManager.cs: BaseName(Field) should return only the name.
11 Added resourceSource field to store the actual type, which we need for
12 the namespace. Added CheckBaseName method to avoid code duplication.
13 Only check whether basename does not end in '.resources' on 1.0
14 profile. Fixed paramname of ArgumentNullExceptions to match MS.
15 Modified GetManifestResourceStreamNoCase to use resourceSource field
16 to construct manifest resource name. Modified GetStream to use
17 CurrentUICulture when culture is null. Fixed InternalGetResourceSet
18 to use invariant resources when culture is the neutral culture.
21 2007-08-24 Gert Driesen <drieseng@users.sourceforge.net>
23 * ResourceReader.cs: Fixed exception message to match MS. Removed
24 duplicate checks from string ctor.
26 2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
28 * ResourceReader.cs : implemented GetResourceData(). Resources with
29 unresolvable types could still be parsed, so hold type names
32 2007-07-16 Rodrigo Kumpera <rkumpera@novell.com>
34 * ResourceReader.cs (ResourceValue): Put the null resource check
35 before the resource version 2 check, this fixes bug #81757
37 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
39 * ResourceWriter.cs : fix for runtime serialization type index.
42 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
44 * ResourceWriter.cs : temporarily disable 2.0 output until I get
47 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
49 * IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
50 SatelliteContractVersionAttribute.cs ResourceManager.cs
51 IResourceReader.cs ResourceSet.cs ResourceWriter.cs
52 ResourceReader.cs UltimateResourceFallbackLocation.cs
53 MissingManifestResourceException.cs :
54 implemented 2.0 resource support (write, and remaining read bits)
55 and GetStream(). Cosmetic attributes fixes.
57 2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
59 * MissingSatelliteAssemblyException.cs : new file.
61 2007-02-16 Gert Driesen <drieseng@users.sourceforge.net>
63 * ResourceReader.cs: Fixed typo.
65 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
67 * ResourceManager.cs: Don't create the ResourceSets hashtable in the
68 protected ctor, instead move it to the public ctors. Fixes some not
69 working nunit tests. Also, return a closed ResourceSet instead of
70 creating a new one. Fixes one more test. If only BaseNameField is
71 provided, try to create a resource set from the BaseNameField. One
72 more test that passes now.
73 * ResourceSet.cs: Remove isDisposed. Not needed anymore.
75 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
77 * ResourceManager.cs: Iterate through the values of the ResourceSets
78 hashtable in ReleaseAllResources instead through the hashtable itself.
80 2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
82 * ResourceReader.cs: Support reading byte arrays in v2 resource files.
83 Patch provided by Red Forks. Fixes bug #79976.
85 2006-10-29 Alexander Olk <alex.olk@googlemail.com>
87 * ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
88 disposes a resource set. A closed resource set will now be
89 removed from ResourceSets. Fixes bug #79182.
91 2006-03-14 Robert Jordan <robertj@gmx.net>
93 * ResourceManager.cs: Don't stop the resource set lookup until
94 the invariant culture is reached. Fixes bug #77242.
96 2005-11-19 Zoltan Varga <vargaz@gmail.com>
98 * Win32Resources.cs: Add a new 'FileVersion' property.
100 2005-07-25 Marek Safar <marek.safar@seznam.cz>
102 * ResourceReader.cs: Implemented reading of primitives for version 2.
104 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
106 * ResourceReader.cs, ResourceSet.cs: Added a LinkDemand for
107 SerializationFormatter when using a Stream constructor (other ctors
108 have different security - e.g. FileIOPermission for opening a file).
110 2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112 * ResourceManager.cs: use culture.Equals in InternalGetResourceSet().
114 2005-02-12 Geoff Norton <gnorton@customerdna.com>
116 * ResourceReader.cs: If a resource type index is -1 return null
117 instead of throwing an exception
118 * ResourceWriter.cs: If an object is null; encode it with type index
119 -1 instead of throwing an exception.
121 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
123 * Win32Resources.cs: Fix warning.
125 2004-12-06 Ben Maurer <bmaurer@ximian.com>
127 * ResourceManager.cs (InternalResourceManager): on msft, they
128 search for a case-insenstitive match too here.
130 2004-05-02 Sebastien Pouliot <sebastien@ximian.com>
132 * ResourceManager.cs: Avoid endless recursion when a resource file
135 2004-04-08 Lluis Sanchez <lluis@ximian.com>
137 * ResourceSet.cs: Added minor null check.
139 2004-02-03 Jackson Harper <jackson@ximian.com>
141 * ResourceSet.cs: Do not throw an exception for null strings.
143 2004-01-13 Zoltan Varga <vargaz@freemail.hu>
145 * Win32Resources.cs (Win32VersionInfoResource): Add more properties.
147 2004-01-09 Zoltan Varga <vargaz@freemail.hu>
149 * Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
150 at the end of each string entry.
152 * Win32Resources.cs: Fix warnings not detected by mcs.
154 2004-01-08 Zoltan Varga <vargaz@freemail.hu>
156 * Win32Resources.cs: Organize win32 resources into a class hierarchy
157 with the class Win32Resource as the abstract superclass. Add
158 Win32ResFileReader and Win32IconFileReader classes and the
159 corresponding resource types.
161 * Win32Resources.cs (Win32VersionInfoResource): Fix version number
162 calculation. Add Language property.
164 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
166 * Win32Resources.cs: New file.
168 * Win32Resources.cs: The value of properties can't be empty.
170 * Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
171 for well-known property names. Add missing namespace declaration.
173 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
175 * ResourceWriter.cs (Stream): New internal property used by Ref.Emit.
177 2003-11-28 Dick Porter <dick@ximian.com>
179 * ResourceSet.cs: Do string compares with the Invariant culture.
181 2003-11-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
183 * ResourceSet.cs: Implemented v1.1 updates
185 2003-09-07 Dick Porter <dick@ximian.com>
187 * Temporary workaround for bug 43567, so that Npgsql at least
190 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
192 * ResourceManager.cs: fixed infinite loop when the resource is not
193 found. Also fixes bug #34196.
195 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197 * ResourceManager.cs: enabled the code that calls GetSatelliteAssembly
198 and ignore the exception thrown if the assembly cannot be loaded.
200 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202 * ResourceManager.cs: fixed the name for the file when the culture is
203 not de invariant culture. Commented out the GetSatelliteAssembly code
204 to avoid NotImplementedException being thrown.
206 2002-08-19 Dick Porter <dick@ximian.com>
208 * ResourceWriter.cs: Implemented all methods
210 * ResourceReader.cs: Cope with our ResourceSet class name, as well
213 2002-08-18 Dick Porter <dick@ximian.com>
215 * ResourceReader.cs: Finished basic implementation. Some
216 optimisation in conjunction with ResourceSet still possible though
218 2002-08-14 Dick Porter <dick@ximian.com>
220 * ResourceSet.cs: Throw the correct exceptions
222 * ResourceManager.cs: Implemented all unfinished methods
224 2002-03-12 Duncan Mak <duncan@ximian.com>
226 * MissingManifestResourceException.cs: This should inherit from
227 SystemException, not Exception.
229 2002-01-26 Nick Drochak <ndrochak@gol.com>
231 * ResourceReader.cs: Finsished reading resource files with just strings
232 in them. Need to figure out other types, and also resources with
233 multiple types in the same file.
235 2002-01-24 Nick Drochak <ndrochak@gol.com>
237 * ResourceReader.cs: Implemented constructors. Started on the
238 GetEnumerator() method. Not done yet, but comitting for
239 'disaster recovery' purposes.
241 2002-01-19 Duncan Mak <duncan@ximian.com>
243 * *.cs: Fixed indentation. There was a stupid bug in my .emacs file.
245 2002-1-17 Duncan Mak <duncan@duncan@ximian.com>
247 * ResourceSet.cs: Implemented GetObject (string, bool) and GetString
248 (string, bool). ResourceSet has no more MonoTODOs! Also added in the
249 Serializable attribute.
251 * *.cs: convert to Miguel's brace style.
253 2002-01-17 Duncan Mak <duncan@ximian.com>
255 * ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
256 new attributes documented in 1.0 SDK.
258 2002-01-17 Duncan Mak <duncan@ximian.com>
260 * ResourceWriter.cs: Added MonoTODO decorations.
262 * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.
264 * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK
266 2002-01-16 Duncan Mak <duncan@ximian.com>
268 * ResourceReader.cs: Fixed some typos.
270 * ResourceManager.cs: After reading the tutorial from the SDK,
271 finished all the ResourceManager constructors and removed those
274 Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
275 because Miguel just implemented the whole class, including the
276 constructor that I needed (CultureInfo (string)).
278 Updated fields after reading the new docs from the final SDK.
280 * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
281 Windows.Forms and require System.Xml, which we don't have access to.
283 2002-01-13 Duncan Mak <duncan@ximian.com>
285 * ResourceManager.cs: Added more MonoTODOs and cleaned up some
288 2002-01-09 Duncan Mak <duncan@ximian.com>
290 * ResourceManager.cs: Fixed the GetSatelliteContractVersion()
291 method. It was missing a cast before. Removed MonoTODO
292 attribute. ;-) It was tested by John Barnette, so this shouldn't break
295 * ResourceManager.cs: Removed MonoTODO attribute on GetString
296 (string), as I believe it's correct. However, GetString
297 (string, CultureInfo) is definitely broken, so I'm marking it with
298 MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().
300 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
301 * Finalizing IResourceReader and IResourceWriter interfaces:
302 Added "new"-modifier to IResourceReader.GetEnumerator
303 * Fixed compilation issues in other *.cs, so that the
304 System.Resources namespaces can be included in the corlib build.
306 2002-01-05 Ravi Pratap <ravi@ximian.com>
308 * ResourceManager.cs : MonoTODO attribute decoration.
310 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <lupus@ximian.com>
312 * *.cs: fixed some of the compilation issues: missing
313 using directives, typos.
315 2001-12-11 Duncan Mak <duncan@ximian.com>
319 2001-12-10 Duncan Mak <duncan@ximian.com>
321 * ResourceManager.cs (GetNeutralResourcesLanguage):
322 (GetSatelliteContractVersion): Implemented.
324 2001-12-09 Duncan Mak <duncan@ximian.com>
326 * ResXResourceReader.cs: Initial attempt.
328 * ResXFileRef.cs: Initial attempt.
330 * ResourceWriter.cs: Initial attempt.
332 * ResourceSet.cs (ReadResources): Implemented, with help from Radek Doulik.
334 2001-11-28 Duncan Mak <duncan@ximian.com>
336 * ResourceManager.cs: First attempt.
338 2001-11-27 Duncan Mak <duncan@ximian.com>
341 First attempt, can't continue until ResourceReader and ResourceWriter are implemented.
343 * SatelliteContractVersionAttribute.cs: First attempt. The spec is quite amibiguous here.
345 * NeutralResoucesLanguageAttribute.cs: Complete.
347 * MissingManifestResourceException.cs: Complete.
349 * IResourceReader.cs: Complete.
351 * IResourceWriter.cs: Complete.