Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
Add the possibility to bundle also the machine.config file, from
#80305.
* mkbundle.cs: Add option --machine-config. Warn the user that a
bundled machine.config file should be checked that it doesn't
contain sensitive data like private machine keys.
If that option was used, write the contents of the machine.config
file to the asm output file, and write code to call
mono_register_machine_config() with the data to the C output file.
svn path=/trunk/mcs/; revision=70489
* ConfigurationSettings.cs :
Handle <section> inside <section> as expected.
Fixed some ReadSections() consumers that it does _not_ consume
the surrounding EndElement. For now all issues I found are gone.
svn path=/trunk/mcs/; revision=66651
* ConfigurationSettings.cs : another MoveToNextElement() elimination.
When there is another section group after "system.drawing"
section in the existing machine.config, it borked as if there were
no "system.diagnostics" section.
It is still buggy; prepended sectionGroup still causes the above.
svn path=/trunk/mcs/; revision=66644
* ConfigurationSettings.cs : when there is no content in
sectionGroup, all the following contents were incorrectly read
as the empty group's subsection.
svn path=/trunk/mcs/; revision=66642
* ConfigurationSettings.cs: Assert FileIOPermission when loading a
configuration file.
* ConfigXmlDocument.cs: Add an imperative demand for PathDiscovery on
all (many classes) Filename properties. Ensure we're not using the
property (but the member) inside the class itself.
svn path=/trunk/mcs/; revision=63180
* ConfigurationSettings.cs : ok, now I correctly understand the
problem. Since appSettings section handlers are different between
1.x and 2.0 AppSettings property implementation should also be
different. It should really fix bug #78372.
svn path=/trunk/mcs/; revision=60654
* Makefile : add -r:System.Configuration under net_2_0.
* ConfigurationSettings.cs : use ConfigurationManager.GetConfig()
in its GetConfig(). No need to change AppSettings and
Default.GetConfig() behavior here.
* t35.cs, t35.exe.config, t35.exe.expected :
new test, largely from bug #78337.
* ConfigurationManagerTest.cs :
added GetSectionReturnsNativeObject().
* ConfigurationElement.cs,
DefaultSection.cs :
in some cases RawXml was set null string, so skip such cases.
* Configuration.cs : support IConfigurationSectionHandler here.
* ConfigurationManager.cs : GetSection() now returns name value
collection, not a section.
* ConfigurationSection.cs : added SectionHandler for
IConfigurationSectionHandler support, and use its Create() in
GetRuntimeObject().
* ClientConfigurationSystem.cs :
use GetRuntimeObject() in GetSection(). Thus now
ConfigurationManager.GetSection() returns a runtime object.
Fixed bug #78337.
svn path=/trunk/mcs/; revision=60483
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
used by us internally).
Ponder: should we instead move our methods to use new versions of
the Obsoleted ones?
2006-03-11 Miguel de Icaza <[email protected]>
* CodeNamespaceImportCollection.cs: It turns out that a lot of the
errors flagged with "!" were just missing explicit interface
implementations.
Implement.
2006-03-11 Miguel de Icaza <[email protected]>
* CodeDomConfigurationHandler.cs: Comment out unused methods.
* TempFileCollection.cs: Implement explicitly some interface
methods to get rid of the "!" errors on CorCompare.
2006-03-11 Miguel de Icaza <[email protected]>
* Queue.cs: Flag as serializable.
* LinkedList.cs (OnDeserialization): Fix signature.
* SortedList.cs: Implement explicitly a few methods that were
flagged by corcompare.
2006-03-11 Miguel de Icaza <[email protected]>
* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
avoid warning.
2006-03-11 Miguel de Icaza <[email protected]>
* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
internal to avoid warnings. This routine is called from
System.Web with MethodInfo.Invoke.
2006-03-11 Miguel de Icaza <[email protected]>
* DeflateStream.cs: Comment out DllImport that was not being
used.
2006-03-11 Miguel de Icaza <[email protected]>
* y
* SerialPort.cs: Remove unused variable (writeBuffer).
* SerialPortStream.cs (Dispose): override, not new.
2006-03-11 Miguel de Icaza <[email protected]>
* WebClient.cs: Only expose the right methods to avoid warnings.
* FtpDataStream.cs (Dispose): Fix signature.
* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
like we are missing features here).
* IPAddress.cs: Move m_HashCode property to the end, and set
pragmas to disable warnings.
2006-03-11 Miguel de Icaza <[email protected]>
* MailAddress.cs: Comment out unused field to remove warning.
2006-03-11 Miguel de Icaza <[email protected]>
* NetworkChange.cs: Use pragmas to eliminate warnings from events
that we do not trigger yet.
This is a candidate for using Aaron's NetworkManager code. But
would make us depend on d-bus.
* NetworkInformationException.cs: Use error_code for ErrorCode,
instead of NativeErrorCode. Fixes warning.
2006-03-11 Miguel de Icaza <[email protected]>
* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
need to do this everywhere one day).
(Close): actually obey the "leaveInnerStreamOpen" setting from the
constructor.
2006-03-11 Miguel de Icaza <[email protected]>
* NetworkStream.cs (Dispose): Use the right signature depending on
the profile being built.
2006-03-11 Miguel de Icaza <[email protected]>
* X509Chain.cs: Flagged member as internal to avoid unused warning.
* X500DistinguishedName.cs: Comment out unused names and move
temporary unused variables inside the comments that were removed
svn path=/trunk/mcs/; revision=57836
* ConfigurationSettings.cs (AppSettings): move back to a 1.x
strategy in the 2.0 case. That is, don't hardcode the reference
to ConfigurationManager.AppSettings (yet). Eventually we can move
back to this code, once ConfigurationManager supports reading
web.config for settings.
svn path=/trunk/mcs/; revision=55649
* ConfigurationSettings.cs (GetConfig): be nice to people using
old 1.x style section handlers with the new 2.0 config stuff. If
we're about to return null or IgnoreSection, try to load it using
the 1.x api. If that works, return that object.
svn path=/trunk/mcs/; revision=55026
* LocalFileSettingsProvider.cs: use the PrebuiltSystem extern
alias to make sure we use the right type for NameValueCollection.
(Initialize): enable (under the CONFIGURATION_2_0 ifdef).
* ConfigurationSettings.cs: use the PrebuiltSystem extern alias to
make sure we use the right type for NameValueCollection.
(AppSettings): provide an implementation for the NET_2_0 &&
CONFIGURATION_2_0 case.
(GetConfig): same.
(ReadSectionGroup): allow a type attribute in the NET_2_0 &&
CONFIGURATION_2_0 case.
* AppSettingsReader.cs: use the PrebuiltSystem extern alias to
make sure we use the right type for NameValueCollection.
svn path=/trunk/mcs/; revision=54980
* ConfigurationSettings.cs (AppSettings): remove the #if NET_2_0
block breaks this.
(ReadSectionGroup): allow the "type" atrribute so we don't break
when reading a 2.0 config file using the 1.0 stuff.
svn path=/trunk/mcs/; revision=52797
* ConfigurationSettings.cs: don't ask me why, but the .cctor
initialization of 'instance' field does no longer work.
svn path=/trunk/mcs/; revision=27539
* ConfigXmlDocument.cs: removed method that was supposed to be internal.
* ConfigurationSettings.cs: instead of calling the overload that doesn't
exist in MS, use what we have when loading an external file.
svn path=/trunk/mcs/; revision=26793
* ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
sets the file name.
* ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
loading sections.
* NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
attribute doesn't have a directory.
Closes bug #57244.
svn path=/trunk/mcs/; revision=25728
* ConfigurationSettings.cs: initialize config in
ChangeConfigurationSettings if it has not been done yet. Patch by
George Kodinov [email protected]). Fixes bug #51643.
svn path=/trunk/mcs/; revision=20744
* ConfigurationSettings.cs: handle allowdefinition and allowlocation,
added locks, don't reopen the file for every new section to be read,
but keep them as strings and build the section handlers with that.
svn path=/trunk/mcs/; revision=20678
* ConfigurationSettings.cs: make the *Mark objects static
because they need to be comparable across instances.
(ReadSectionGroup): You can add an element to a group declared
in the parent config files (MS.net's QuickStarts do this).
svn path=/trunk/mcs/; revision=20145
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
that improves performance by not reading the file more than once.
svn path=/trunk/mcs/; revision=18534