1 2010-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * ResXResourceReader.cs: handle resource file comments.
4 Patch by Jeffrey Alvarez. Bug #582440 fixed.
6 2009-02-24 Marek Habersack <mhabersack@novell.com>
8 * ResXFileRef.cs: the class must be internal when compiled as part
11 2008-04-18 Marek Habersack <mhabersack@novell.com>
13 * ResXResourceWriter.cs, ResXResourceReader.cs, ResXDataNode.cs,
14 ResXFileRef.cs: if compiled as part of System.Web, make the
17 2008-04-06 Gert Driesen <drieseng@users.sourceforge.net>
19 * ResXDataNode.cs: Modified argument name to fix corcompare error.
21 2008-03-04 Jonathan Pobst <monkey@jpobst.com>
23 * ResXResourceWriter.cs: Implement or stub the remaining 2.0 bits
26 2008-01-27 Gert Driesen <drieseng@users.sourceforge.net>
28 * ResXResourceReader.cs: Avoid unnecessary initialization of
29 useResXDataNodes field. Modified argument names to match MS. When
30 UseResXDataNodes is true, then never use the metadata hashtable.
31 * ResXFileRef.cs: Only support convert from fileref to MemoryStream
33 * ResXResourceWriter.cs: Modified argument names to match MS.
34 * ResXDataNode: Fixed line endings.
36 2008-01-21 Zoltan Varga <vargaz@gmail.com>
38 * ResXFileRef.cs (ConvertFrom): Add special support for MemoryStream. Fixes
41 2008-01-20 Olivier Dufour <olivier.duff@gmail.com>
43 * ResXDataNode.cs: Add GetNodePosition, GetValueTypeName, GetValue
44 * ResXResourceReader.cs: Add Node Position
46 2007-12-07 Atsushi Enomoto <atsushi@ximian.com>
48 * ResXResourceReader.cs: fix build.
50 2007-12-01 Olivier Dufour <olivier.duff@gmail.com>
52 * ResXResourceReader.cs: Add support of assemblyName, metadata and useResXDataNode.
54 2007-09-09 Gert Driesen <drieseng@users.sourceforge.net>
56 * ResXResourceReader.cs: First consider MIME type, if set, regardless
57 of the presence of a type attribute. Only convert from base64 string
58 if "mimetype" is "...bytearray.base64" and type is set. When no MIME
59 type is set, ignore value of resource with a type, if the type is not
60 byte [] or has no TypeConverter that can convert from string. On 1.0
61 profile, use string value if "mimetype" or "type" are set and no
64 2007-05-23 Andreia Gaita <avidigal@novell.com>
66 * ResXResourceReader.cs: Ignore comment nodes, for now. Fix
69 2007-05-23 Andreia Gaita <avidigal@novell.com>
71 * ResXResourceReader.cs: Fix CDATA detection
73 2007-05-21 Andreia Gaita <avidigal@novell.com>
75 * ResXDataNode.cs: Added
76 * ResXResourceWriter.cs: Add 2.0 support for ResXDataNode resource.
77 * ResXResourceReader.cs: Added support for comment nodes (coming from
78 ResXDataNode), fix bug on GetDataValue, refactor code to guidelines.
80 2007-04-18 Gert Driesen <drieseng@users.sourceforge.net>
82 * ResXFileRef.cs: byte [] is only supported on 2.0 profile.
84 2007-03-12 Frederik Carlier <frederik.carlier@ugent.be>
86 * ResXFileRef.cs: Add support for byte[] types.
90 2007-03-10 Gert Driesen <drieseng@users.sourceforge.net>
92 * ResXFileRef.cs: On 2.0 profile, special case files with .ico
93 extension to retain their actual dimension.
95 2007-02-10 Gert Driesen <drieseng@users.sourceforge.net>
97 * ResXResourceReader.cs: Add additional checks for validity of reader
100 2007-02-04 Gert Driesen <drieseng@users.sourceforge.net>
102 * ResXResourceReader.cs: Added support for BasePath (2.0 only). Lazy load
103 resources in GetEnumerator. Always verify resheader (resmimetype). When
104 loading resources from file, release file once reading is finished.
105 Exception compatibility fixes. Allow data & resheader elements to be in
106 non-default namespace. Do not allow data element without name.
107 * ResXFileRef.cs: In ConvertFrom, return null if value is not a string.
108 On 2.0 profile, throw ArgumentException if value consists of only a single
109 part. Added FileName, TypeName, TextFileEncoding property (public on
110 2.0 only). Fixed ToString to including encoding.
112 2007-01-29 Marek Habersack <grendello@gmail.com>
114 * ResXFileRef.cs: Remove extra ;utf8 from the System.String name
116 2007-01-29 Miguel de Icaza <miguel@novell.com>
118 * ResXFileRef.cs: Catch the string case and create strings with
119 the specified encoding from its string source.
121 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
123 * ResXResourceReader.cs: For invalid mime type, return value as string
124 on 1.0 profile. This matches MS.
126 2006-10-03 Robert Jordan <robertj@gmx.net>
128 * ResXResourceReader.cs: Factor out parse_data_node () from load_data ()
129 to be able to correctly handle data nodes that occur before resheader.
130 Fix the handling of objects that have a byte[] converter.
131 Use the type resolver.
133 * ResXResourceWriter.cs: Fix AddResource (string, object) to accept
134 only serializable type, matching MS.NET.
135 Fix WriteBytes to not emit the mimetype attribute when the
136 type is byte[], otherwise MS.NET won't parse correctly.
138 2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
140 * ResXResourceReader.cs: Handle empty mimetype just like a null
141 mimetype. Fix bug #77481.
142 * ResXResourceWriter.cs: Fix to InitWriter method by Atsushi. Fix
145 2006-03-29 Mike Kestner <mkestner@novell.com>
147 * ResXResourceWriter.cs: Make Dispose() virtual.
149 2006-01-14 Robert Jordan <robertj@gmx.net>
151 * ResXResourceReader.cs: Fix for bug #77253. Thanks to Marek Habersack
152 (grendello@gmail.com).
154 2005-12-05 Peter Bartok <pbartok@novell.com>
156 * ResXResourceReader.cs: Removed previous patch. More than just Byte[]
157 has that mime type and the patch was causing things to fail.
158 Since our writer no longer emits the mimetype this should be fine.
160 2005-12-01 Robert Jordan <robertj@gmx.net>
162 * ResXResourceReader.cs: Handle mimetype="application/x-microsoft.net.object.bytearray.base64" correctly. Fixes the decoding of System.Byte[].
163 * ResXResourceWriter.cs: Fixed AddResource (string, object) to pass
164 control to AddResource (string, byte[]) if the value parameter is
165 a byte[]. Removed the emitting of the mimetype attribute for
168 2005-11-30 Peter Bartok <pbartok@novell.com>
170 * ResXResourceReader.cs: Handle System.Byte[] encodings without
171 needing a typeconverter (This fixes bug #76414)
173 2005-11-30 Robert Jordan <robertj@gmx.net>
175 * ResXResourceReader.cs, ResXResourceWriter.cs: Made string conversions
177 * ResXResourceWriter.cs: Fixed AddResource (string, object) to emit
178 the type attribute when the object has a type converter.
180 2005-10-04 Peter Bartok <pbartok@novell.com>
182 * ResXResourceReader.cs, ResXResourceWriter.cs: Added call
183 to GC.SuppressFinalize() in dispose method. Fixes #76330
185 2005-05-13 Peter Bartok <pbartok@novell.com>
187 * ResXResourceWriter.cs:
188 - Fixed/Improved AddResource(), now only uses string converter if
189 the converter supports both directions
190 - Added ability for AddResource(string, object) to detect if
191 a byte[] converter is supported for the object, if so it now calls
192 AddResource(string, byte[]) for those
193 - WriteBytes: Changed to write it's base64 output as pretty
194 as Microsoft's, inserting newlines every 80 chars
195 - WriteBytes: Added output of mimetype even if type is specified
197 2005-05-11 Peter Bartok <pbartok@novell.com>
199 * ResXResourceSet.cs: Implemented
200 * ResXFileRef.cs: Implemented
201 * ResXNullRef.cs: Added missing attribute
202 * ResXResourceReader.cs: Implemented missing .ctor()s and other
203 assorted fun stuff, should now be complete
204 * ResResourceWriter.cs: Implemented missing methods and added
205 missing static fields
207 2005-04-14 Jackson Harper <jackson@ximian.com>
209 * ResXResourceReader.cs: Use serialization on values that have a
210 mime type set but no type.
212 2005-02-16 Peter Bartok <pbartok@novell.com>
214 * ResXResourceReader.cs, ResXResourceWriter.cs: Removed sealed
215 attribute from classes
217 2005-02-12 Geoff Norton (gnorton@customerdna.com)
219 * ResXResourceReader.cs (load_data): Undo previous change as
220 ResXNullRef is now properly handled.
221 * ResXNullRef.cs: Added
223 2005-02-11 Geoff Norton (gnorton@customerdna.com)
225 * ResXResourceReader.cs (load_data): Temporarily re-introduce the
226 old failure for types that we cannot yet handle to allow Npgsql to
229 2005-02-11 Raja R Harinath <rharinath@novell.com>
231 * ResXResourceReader.cs (load_data): Make exception more informative.
233 2005-02-10 Geoff Norton <gnorton@customerdna.com>
235 * ResXResourceReader.cs: Implement the ability to convert the
236 MS Base64 encoded objects. Implement the ability to convert objects
237 to their type rather than just to string.
239 2004-11-08 14:28 pbartok
241 * ResXResourceReader.cs:
242 - BenM's Fix for bug 68260
244 2004-10-13 08:14 pbartok
246 * ResXResourceReader.cs:
247 - Patch by joel.reed@ddiworld.com (joel) to handle CDATA sections.
249 2004-08-29 22:36 pbartok
251 * ResXResourceReader.cs, ResXResourceWriter.cs:
252 - Transfered files from previous version of System.Windows.Forms
253 - Added full copyright header