mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
enum as a predefined type. Fixes bug #325223. * ResourceWriterTest.cs: Enabled test for writing enum value on 2.0 profile. svn path=/trunk/mcs/; revision=94016
379 lines
13 KiB
Plaintext
379 lines
13 KiB
Plaintext
2008-01-26 Gert Driesen <[email protected]>
|
|
|
|
* ResourceWriter.cs: On 2.0 profile, do not mistakenly identify an
|
|
enum as a predefined type. Fixes bug #325223.
|
|
|
|
2007-11-10 Gert Driesen <[email protected]>
|
|
|
|
* ResourceWriter.cs: On 2.0 profile, use case-insensitive SortedList.
|
|
Changed exception messages and params to match MS. Allow null values
|
|
in AddResource overloads. In Dispose (bool), also generate resources
|
|
(header) if no resources were added. Fixes bug #339074. When Generate
|
|
is done, reset resources to null to prevent further editing. This
|
|
also avoids the need for a separate bool to indicate whether generate
|
|
was already invoked. Code formatting.
|
|
|
|
2007-10-27 Gert Driesen <[email protected]>
|
|
|
|
* ResourceManager.cs: Removed temporary workaround for bug #43567.
|
|
Reworked basename to only throw ArgumentException if resource with
|
|
name ending on ".resources" does not actually exist. Fixes bug
|
|
#336283. Do not throw exception in GetStream since this is already
|
|
done in InternalGetResourceSet. In InternalGetResourceSet, do not
|
|
throw MissingManifestResourceException when culture is null. Fixed
|
|
MissingManifestResourceException message to match MS. When using
|
|
file-based ResourceManager, then also throw an exception when file
|
|
does not exist for neutral culture.
|
|
|
|
2007-09-17 Gert Driesen <[email protected]>
|
|
|
|
* ResourceManager.cs: Move code for determining manifest resource
|
|
name into separate method. Only use satellite assemblies for
|
|
non-invariant cultures. For invariant culture, only load resources
|
|
from main assembly.
|
|
|
|
2007-09-17 Gert Driesen <[email protected]>
|
|
|
|
* ResourceManager.cs: BaseName(Field) should return only the name.
|
|
Added resourceSource field to store the actual type, which we need for
|
|
the namespace. Added CheckBaseName method to avoid code duplication.
|
|
Only check whether basename does not end in '.resources' on 1.0
|
|
profile. Fixed paramname of ArgumentNullExceptions to match MS.
|
|
Modified GetManifestResourceStreamNoCase to use resourceSource field
|
|
to construct manifest resource name. Modified GetStream to use
|
|
CurrentUICulture when culture is null. Fixed InternalGetResourceSet
|
|
to use invariant resources when culture is the neutral culture.
|
|
Code formatting.
|
|
>
|
|
2007-08-24 Gert Driesen <[email protected]>
|
|
|
|
* ResourceReader.cs: Fixed exception message to match MS. Removed
|
|
duplicate checks from string ctor.
|
|
|
|
2007-08-09 Atsushi Enomoto <[email protected]>
|
|
|
|
* ResourceReader.cs : implemented GetResourceData(). Resources with
|
|
unresolvable types could still be parsed, so hold type names
|
|
instead of types.
|
|
|
|
2007-07-16 Rodrigo Kumpera <[email protected]>
|
|
|
|
* ResourceReader.cs (ResourceValue): Put the null resource check
|
|
before the resource version 2 check, this fixes bug #81757
|
|
|
|
2007-05-28 Atsushi Enomoto <[email protected]>
|
|
|
|
* ResourceWriter.cs : fix for runtime serialization type index.
|
|
Fixed bug #81759.
|
|
|
|
2007-05-28 Atsushi Enomoto <[email protected]>
|
|
|
|
* ResourceWriter.cs : temporarily disable 2.0 output until I get
|
|
bug #81759 fixed.
|
|
|
|
2007-05-28 Atsushi Enomoto <[email protected]>
|
|
|
|
* IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
|
|
SatelliteContractVersionAttribute.cs ResourceManager.cs
|
|
IResourceReader.cs ResourceSet.cs ResourceWriter.cs
|
|
ResourceReader.cs UltimateResourceFallbackLocation.cs
|
|
MissingManifestResourceException.cs :
|
|
implemented 2.0 resource support (write, and remaining read bits)
|
|
and GetStream(). Cosmetic attributes fixes.
|
|
|
|
2007-05-25 Atsushi Enomoto <[email protected]>
|
|
|
|
* MissingSatelliteAssemblyException.cs : new file.
|
|
|
|
2007-02-16 Gert Driesen <[email protected]>
|
|
|
|
* ResourceReader.cs: Fixed typo.
|
|
|
|
2006-12-30 Alexander Olk <[email protected]>
|
|
|
|
* ResourceManager.cs: Don't create the ResourceSets hashtable in the
|
|
protected ctor, instead move it to the public ctors. Fixes some not
|
|
working nunit tests. Also, return a closed ResourceSet instead of
|
|
creating a new one. Fixes one more test. If only BaseNameField is
|
|
provided, try to create a resource set from the BaseNameField. One
|
|
more test that passes now.
|
|
* ResourceSet.cs: Remove isDisposed. Not needed anymore.
|
|
|
|
2006-12-30 Alexander Olk <[email protected]>
|
|
|
|
* ResourceManager.cs: Iterate through the values of the ResourceSets
|
|
hashtable in ReleaseAllResources instead through the hashtable itself.
|
|
|
|
2006-12-30 Gert Driesen <[email protected]>
|
|
|
|
* ResourceReader.cs: Support reading byte arrays in v2 resource files.
|
|
Patch provided by Red Forks. Fixes bug #79976.
|
|
|
|
2006-10-29 Alexander Olk <[email protected]>
|
|
|
|
* ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
|
|
disposes a resource set. A closed resource set will now be
|
|
removed from ResourceSets. Fixes bug #79182.
|
|
|
|
2006-03-14 Robert Jordan <[email protected]>
|
|
|
|
* ResourceManager.cs: Don't stop the resource set lookup until
|
|
the invariant culture is reached. Fixes bug #77242.
|
|
|
|
2005-11-19 Zoltan Varga <[email protected]>
|
|
|
|
* Win32Resources.cs: Add a new 'FileVersion' property.
|
|
|
|
2005-07-25 Marek Safar <[email protected]>
|
|
|
|
* ResourceReader.cs: Implemented reading of primitives for version 2.
|
|
|
|
2005-03-31 Sebastien Pouliot <[email protected]>
|
|
|
|
* ResourceReader.cs, ResourceSet.cs: Added a LinkDemand for
|
|
SerializationFormatter when using a Stream constructor (other ctors
|
|
have different security - e.g. FileIOPermission for opening a file).
|
|
|
|
2005-03-22 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* ResourceManager.cs: use culture.Equals in InternalGetResourceSet().
|
|
|
|
2005-02-12 Geoff Norton <[email protected]>
|
|
|
|
* ResourceReader.cs: If a resource type index is -1 return null
|
|
instead of throwing an exception
|
|
* ResourceWriter.cs: If an object is null; encode it with type index
|
|
-1 instead of throwing an exception.
|
|
|
|
2005-02-11 Zoltan Varga <[email protected]>
|
|
|
|
* Win32Resources.cs: Fix warning.
|
|
|
|
2004-12-06 Ben Maurer <[email protected]>
|
|
|
|
* ResourceManager.cs (InternalResourceManager): on msft, they
|
|
search for a case-insenstitive match too here.
|
|
|
|
2004-05-02 Sebastien Pouliot <[email protected]>
|
|
|
|
* ResourceManager.cs: Avoid endless recursion when a resource file
|
|
isn't found.
|
|
|
|
2004-04-08 Lluis Sanchez <[email protected]>
|
|
|
|
* ResourceSet.cs: Added minor null check.
|
|
|
|
2004-02-03 Jackson Harper <[email protected]>
|
|
|
|
* ResourceSet.cs: Do not throw an exception for null strings.
|
|
|
|
2004-01-13 Zoltan Varga <[email protected]>
|
|
|
|
* Win32Resources.cs (Win32VersionInfoResource): Add more properties.
|
|
|
|
2004-01-09 Zoltan Varga <[email protected]>
|
|
|
|
* Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
|
|
at the end of each string entry.
|
|
|
|
* Win32Resources.cs: Fix warnings not detected by mcs.
|
|
|
|
2004-01-08 Zoltan Varga <[email protected]>
|
|
|
|
* Win32Resources.cs: Organize win32 resources into a class hierarchy
|
|
with the class Win32Resource as the abstract superclass. Add
|
|
Win32ResFileReader and Win32IconFileReader classes and the
|
|
corresponding resource types.
|
|
|
|
* Win32Resources.cs (Win32VersionInfoResource): Fix version number
|
|
calculation. Add Language property.
|
|
|
|
2004-01-05 Zoltan Varga <[email protected]>
|
|
|
|
* Win32Resources.cs: New file.
|
|
|
|
* Win32Resources.cs: The value of properties can't be empty.
|
|
|
|
* Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
|
|
for well-known property names. Add missing namespace declaration.
|
|
|
|
2003-12-17 Zoltan Varga <[email protected]>
|
|
|
|
* ResourceWriter.cs (Stream): New internal property used by Ref.Emit.
|
|
|
|
2003-11-28 Dick Porter <[email protected]>
|
|
|
|
* ResourceSet.cs: Do string compares with the Invariant culture.
|
|
|
|
2003-11-18 Andreas Nahr <[email protected]>
|
|
|
|
* ResourceSet.cs: Implemented v1.1 updates
|
|
|
|
2003-09-07 Dick Porter <[email protected]>
|
|
|
|
* Temporary workaround for bug 43567, so that Npgsql at least
|
|
can run.
|
|
|
|
2003-05-06 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* ResourceManager.cs: fixed infinite loop when the resource is not
|
|
found. Also fixes bug #34196.
|
|
|
|
2003-05-04 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* ResourceManager.cs: enabled the code that calls GetSatelliteAssembly
|
|
and ignore the exception thrown if the assembly cannot be loaded.
|
|
|
|
2003-05-04 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* ResourceManager.cs: fixed the name for the file when the culture is
|
|
not de invariant culture. Commented out the GetSatelliteAssembly code
|
|
to avoid NotImplementedException being thrown.
|
|
|
|
2002-08-19 Dick Porter <[email protected]>
|
|
|
|
* ResourceWriter.cs: Implemented all methods
|
|
|
|
* ResourceReader.cs: Cope with our ResourceSet class name, as well
|
|
as theirs
|
|
|
|
2002-08-18 Dick Porter <[email protected]>
|
|
|
|
* ResourceReader.cs: Finished basic implementation. Some
|
|
optimisation in conjunction with ResourceSet still possible though
|
|
|
|
2002-08-14 Dick Porter <[email protected]>
|
|
|
|
* ResourceSet.cs: Throw the correct exceptions
|
|
|
|
* ResourceManager.cs: Implemented all unfinished methods
|
|
|
|
2002-03-12 Duncan Mak <[email protected]>
|
|
|
|
* MissingManifestResourceException.cs: This should inherit from
|
|
SystemException, not Exception.
|
|
|
|
2002-01-26 Nick Drochak <[email protected]>
|
|
|
|
* ResourceReader.cs: Finsished reading resource files with just strings
|
|
in them. Need to figure out other types, and also resources with
|
|
multiple types in the same file.
|
|
|
|
2002-01-24 Nick Drochak <[email protected]>
|
|
|
|
* ResourceReader.cs: Implemented constructors. Started on the
|
|
GetEnumerator() method. Not done yet, but comitting for
|
|
'disaster recovery' purposes.
|
|
|
|
2002-01-19 Duncan Mak <[email protected]>
|
|
|
|
* *.cs: Fixed indentation. There was a stupid bug in my .emacs file.
|
|
|
|
2002-1-17 Duncan Mak <duncan@[email protected]>
|
|
|
|
* ResourceSet.cs: Implemented GetObject (string, bool) and GetString
|
|
(string, bool). ResourceSet has no more MonoTODOs! Also added in the
|
|
Serializable attribute.
|
|
|
|
* *.cs: convert to Miguel's brace style.
|
|
|
|
2002-01-17 Duncan Mak <[email protected]>
|
|
|
|
* ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
|
|
new attributes documented in 1.0 SDK.
|
|
|
|
2002-01-17 Duncan Mak <[email protected]>
|
|
|
|
* ResourceWriter.cs: Added MonoTODO decorations.
|
|
|
|
* SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.
|
|
|
|
* NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK
|
|
|
|
2002-01-16 Duncan Mak <[email protected]>
|
|
|
|
* ResourceReader.cs: Fixed some typos.
|
|
|
|
* ResourceManager.cs: After reading the tutorial from the SDK,
|
|
finished all the ResourceManager constructors and removed those
|
|
MonoTODO tags.
|
|
|
|
Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
|
|
because Miguel just implemented the whole class, including the
|
|
constructor that I needed (CultureInfo (string)).
|
|
|
|
Updated fields after reading the new docs from the final SDK.
|
|
|
|
* ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
|
|
Windows.Forms and require System.Xml, which we don't have access to.
|
|
|
|
2002-01-13 Duncan Mak <[email protected]>
|
|
|
|
* ResourceManager.cs: Added more MonoTODOs and cleaned up some
|
|
indenting.
|
|
|
|
2002-01-09 Duncan Mak <[email protected]>
|
|
|
|
* ResourceManager.cs: Fixed the GetSatelliteContractVersion()
|
|
method. It was missing a cast before. Removed MonoTODO
|
|
attribute. ;-) It was tested by John Barnette, so this shouldn't break
|
|
the build.
|
|
|
|
* ResourceManager.cs: Removed MonoTODO attribute on GetString
|
|
(string), as I believe it's correct. However, GetString
|
|
(string, CultureInfo) is definitely broken, so I'm marking it with
|
|
MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().
|
|
|
|
2002-01-06 Duco Fijma <[email protected]>
|
|
* Finalizing IResourceReader and IResourceWriter interfaces:
|
|
Added "new"-modifier to IResourceReader.GetEnumerator
|
|
* Fixed compilation issues in other *.cs, so that the
|
|
System.Resources namespaces can be included in the corlib build.
|
|
|
|
2002-01-05 Ravi Pratap <[email protected]>
|
|
|
|
* ResourceManager.cs : MonoTODO attribute decoration.
|
|
|
|
Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <[email protected]>
|
|
|
|
* *.cs: fixed some of the compilation issues: missing
|
|
using directives, typos.
|
|
|
|
2001-12-11 Duncan Mak <[email protected]>
|
|
|
|
* Checked in to CVS.
|
|
|
|
2001-12-10 Duncan Mak <[email protected]>
|
|
|
|
* ResourceManager.cs (GetNeutralResourcesLanguage):
|
|
(GetSatelliteContractVersion): Implemented.
|
|
|
|
2001-12-09 Duncan Mak <[email protected]>
|
|
|
|
* ResXResourceReader.cs: Initial attempt.
|
|
|
|
* ResXFileRef.cs: Initial attempt.
|
|
|
|
* ResourceWriter.cs: Initial attempt.
|
|
|
|
* ResourceSet.cs (ReadResources): Implemented, with help from Radek Doulik.
|
|
|
|
2001-11-28 Duncan Mak <[email protected]>
|
|
|
|
* ResourceManager.cs: First attempt.
|
|
|
|
2001-11-27 Duncan Mak <[email protected]>
|
|
|
|
* ResourceSet.cs:
|
|
First attempt, can't continue until ResourceReader and ResourceWriter are implemented.
|
|
|
|
* SatelliteContractVersionAttribute.cs: First attempt. The spec is quite amibiguous here.
|
|
|
|
* NeutralResoucesLanguageAttribute.cs: Complete.
|
|
|
|
* MissingManifestResourceException.cs: Complete.
|
|
|
|
* IResourceReader.cs: Complete.
|
|
|
|
* IResourceWriter.cs: Complete.
|