Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

255 lines
8.8 KiB
Plaintext

2010-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResXResourceReader.cs: handle resource file comments.
Patch by Jeffrey Alvarez. Bug #582440 fixed.
2009-02-24 Marek Habersack <mhabersack@novell.com>
* ResXFileRef.cs: the class must be internal when compiled as part
of System.Web
2008-04-18 Marek Habersack <mhabersack@novell.com>
* ResXResourceWriter.cs, ResXResourceReader.cs, ResXDataNode.cs,
ResXFileRef.cs: if compiled as part of System.Web, make the
classes internal.
2008-04-06 Gert Driesen <drieseng@users.sourceforge.net>
* ResXDataNode.cs: Modified argument name to fix corcompare error.
2008-03-04 Jonathan Pobst <monkey@jpobst.com>
* ResXResourceWriter.cs: Implement or stub the remaining 2.0 bits
to this.
2008-01-27 Gert Driesen <drieseng@users.sourceforge.net>
* ResXResourceReader.cs: Avoid unnecessary initialization of
useResXDataNodes field. Modified argument names to match MS. When
UseResXDataNodes is true, then never use the metadata hashtable.
* ResXFileRef.cs: Only support convert from fileref to MemoryStream
on 2.0 profile.
* ResXResourceWriter.cs: Modified argument names to match MS.
* ResXDataNode: Fixed line endings.
2008-01-21 Zoltan Varga <vargaz@gmail.com>
* ResXFileRef.cs (ConvertFrom): Add special support for MemoryStream. Fixes
#354994.
2008-01-20 Olivier Dufour <olivier.duff@gmail.com>
* ResXDataNode.cs: Add GetNodePosition, GetValueTypeName, GetValue
* ResXResourceReader.cs: Add Node Position
2007-12-07 Atsushi Enomoto <atsushi@ximian.com>
* ResXResourceReader.cs: fix build.
2007-12-01 Olivier Dufour <olivier.duff@gmail.com>
* ResXResourceReader.cs: Add support of assemblyName, metadata and useResXDataNode.
2007-09-09 Gert Driesen <drieseng@users.sourceforge.net>
* ResXResourceReader.cs: First consider MIME type, if set, regardless
of the presence of a type attribute. Only convert from base64 string
if "mimetype" is "...bytearray.base64" and type is set. When no MIME
type is set, ignore value of resource with a type, if the type is not
byte [] or has no TypeConverter that can convert from string. On 1.0
profile, use string value if "mimetype" or "type" are set and no
conversion was done.
2007-05-23 Andreia Gaita <avidigal@novell.com>
* ResXResourceReader.cs: Ignore comment nodes, for now. Fix
failing tests.
2007-05-23 Andreia Gaita <avidigal@novell.com>
* ResXResourceReader.cs: Fix CDATA detection
2007-05-21 Andreia Gaita <avidigal@novell.com>
* ResXDataNode.cs: Added
* ResXResourceWriter.cs: Add 2.0 support for ResXDataNode resource.
* ResXResourceReader.cs: Added support for comment nodes (coming from
ResXDataNode), fix bug on GetDataValue, refactor code to guidelines.
2007-04-18 Gert Driesen <drieseng@users.sourceforge.net>
* ResXFileRef.cs: byte [] is only supported on 2.0 profile.
2007-03-12 Frederik Carlier <frederik.carlier@ugent.be>
* ResXFileRef.cs: Add support for byte[] types.
Fixes 81122
2007-03-10 Gert Driesen <drieseng@users.sourceforge.net>
* ResXFileRef.cs: On 2.0 profile, special case files with .ico
extension to retain their actual dimension.
2007-02-10 Gert Driesen <drieseng@users.sourceforge.net>
* ResXResourceReader.cs: Add additional checks for validity of reader
and writer.
2007-02-04 Gert Driesen <drieseng@users.sourceforge.net>
* ResXResourceReader.cs: Added support for BasePath (2.0 only). Lazy load
resources in GetEnumerator. Always verify resheader (resmimetype). When
loading resources from file, release file once reading is finished.
Exception compatibility fixes. Allow data & resheader elements to be in
non-default namespace. Do not allow data element without name.
* ResXFileRef.cs: In ConvertFrom, return null if value is not a string.
On 2.0 profile, throw ArgumentException if value consists of only a single
part. Added FileName, TypeName, TextFileEncoding property (public on
2.0 only). Fixed ToString to including encoding.
2007-01-29 Marek Habersack <grendello@gmail.com>
* ResXFileRef.cs: Remove extra ;utf8 from the System.String name
2007-01-29 Miguel de Icaza <miguel@novell.com>
* ResXFileRef.cs: Catch the string case and create strings with
the specified encoding from its string source.
2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
* ResXResourceReader.cs: For invalid mime type, return value as string
on 1.0 profile. This matches MS.
2006-10-03 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs: Factor out parse_data_node () from load_data ()
to be able to correctly handle data nodes that occur before resheader.
Fix the handling of objects that have a byte[] converter.
Use the type resolver.
* ResXResourceWriter.cs: Fix AddResource (string, object) to accept
only serializable type, matching MS.NET.
Fix WriteBytes to not emit the mimetype attribute when the
type is byte[], otherwise MS.NET won't parse correctly.
2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
* ResXResourceReader.cs: Handle empty mimetype just like a null
mimetype. Fix bug #77481.
* ResXResourceWriter.cs: Fix to InitWriter method by Atsushi. Fix
bug #79039.
2006-03-29 Mike Kestner <mkestner@novell.com>
* ResXResourceWriter.cs: Make Dispose() virtual.
2006-01-14 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs: Fix for bug #77253. Thanks to Marek Habersack
(grendello@gmail.com).
2005-12-05 Peter Bartok <pbartok@novell.com>
* ResXResourceReader.cs: Removed previous patch. More than just Byte[]
has that mime type and the patch was causing things to fail.
Since our writer no longer emits the mimetype this should be fine.
2005-12-01 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs: Handle mimetype="application/x-microsoft.net.object.bytearray.base64" correctly. Fixes the decoding of System.Byte[].
* ResXResourceWriter.cs: Fixed AddResource (string, object) to pass
control to AddResource (string, byte[]) if the value parameter is
a byte[]. Removed the emitting of the mimetype attribute for
System.Byte[].
2005-11-30 Peter Bartok <pbartok@novell.com>
* ResXResourceReader.cs: Handle System.Byte[] encodings without
needing a typeconverter (This fixes bug #76414)
2005-11-30 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs, ResXResourceWriter.cs: Made string conversions
culture-invariant.
* ResXResourceWriter.cs: Fixed AddResource (string, object) to emit
the type attribute when the object has a type converter.
2005-10-04 Peter Bartok <pbartok@novell.com>
* ResXResourceReader.cs, ResXResourceWriter.cs: Added call
to GC.SuppressFinalize() in dispose method. Fixes #76330
2005-05-13 Peter Bartok <pbartok@novell.com>
* ResXResourceWriter.cs:
- Fixed/Improved AddResource(), now only uses string converter if
the converter supports both directions
- Added ability for AddResource(string, object) to detect if
a byte[] converter is supported for the object, if so it now calls
AddResource(string, byte[]) for those
- WriteBytes: Changed to write it's base64 output as pretty
as Microsoft's, inserting newlines every 80 chars
- WriteBytes: Added output of mimetype even if type is specified
2005-05-11 Peter Bartok <pbartok@novell.com>
* ResXResourceSet.cs: Implemented
* ResXFileRef.cs: Implemented
* ResXNullRef.cs: Added missing attribute
* ResXResourceReader.cs: Implemented missing .ctor()s and other
assorted fun stuff, should now be complete
* ResResourceWriter.cs: Implemented missing methods and added
missing static fields
2005-04-14 Jackson Harper <jackson@ximian.com>
* ResXResourceReader.cs: Use serialization on values that have a
mime type set but no type.
2005-02-16 Peter Bartok <pbartok@novell.com>
* ResXResourceReader.cs, ResXResourceWriter.cs: Removed sealed
attribute from classes
2005-02-12 Geoff Norton (gnorton@customerdna.com)
* ResXResourceReader.cs (load_data): Undo previous change as
ResXNullRef is now properly handled.
* ResXNullRef.cs: Added
2005-02-11 Geoff Norton (gnorton@customerdna.com)
* ResXResourceReader.cs (load_data): Temporarily re-introduce the
old failure for types that we cannot yet handle to allow Npgsql to
build.
2005-02-11 Raja R Harinath <rharinath@novell.com>
* ResXResourceReader.cs (load_data): Make exception more informative.
2005-02-10 Geoff Norton <gnorton@customerdna.com>
* ResXResourceReader.cs: Implement the ability to convert the
MS Base64 encoded objects. Implement the ability to convert objects
to their type rather than just to string.
2004-11-08 14:28 pbartok
* ResXResourceReader.cs:
- BenM's Fix for bug 68260
2004-10-13 08:14 pbartok
* ResXResourceReader.cs:
- Patch by joel.reed@ddiworld.com (joel) to handle CDATA sections.
2004-08-29 22:36 pbartok
* ResXResourceReader.cs, ResXResourceWriter.cs:
- Transfered files from previous version of System.Windows.Forms
- Added full copyright header