* System.dll.sources: added
System.CodeDom.Compiler/CompilerProviderOption.cs and
System.CodeDom.Compiler/CompilerProviderOptionsCollection.cs
2007-12-15 Marek Habersack <[email protected]>
* CSharpCodeProvider.cs: added support for the 2.0sp1 constructor
which takes a Dictionary <string, string> parameter with compiler
provider options. If any options are present, the
generator/compiler are created using appropriate constructor
overload.
* CSharpCodeGenerator.cs: added support for the 2.0sp1 constructor
which takes a Dictionary <string, string> parameter with compiler
provider options.
* CSharpCodeCompiler.cs: added support for the 2.0sp1 constructor
which takes a Dictionary <string, string> parameter with compiler
provider options. The "CompilerVersion" option is supported, with
possible values "2.0" (currently maps to -langversion:Default) and
"3.5" (currently maps to -langversion:linq).
2007-12-15 Marek Habersack <[email protected]>
* Compiler.cs: added support for the default collection of
<providerOption> child elements and corresponding public
properties (ProviderOptions and ProviderOptionsDictionary).
* CompilerInfo.cs: added ProviderOptions dictionary, to hold
values from the <providerOption> collection of the
system.codeDom/compilers/compiler/ element.
CodeDomProviderType throws an exception if the provider type
cannot be found, as per MSDN.
CreateProvider uses the new provider constructor which takes
provider options dictionary as its parameter, if found in the
provider type.
* CompilerCollection.cs: compiler defaults are initialized using
the provider options dictionary, with one option present -
"CompilerVersion" set to "2.0".
Two dictionaries to map languages and extensions to compiler
information objects added.
* CompilerProviderOption.cs: added - implements the
<providerOption> element.
* CompilerProviderOptionsCollection.cs: added - implements
collection for the 2.0sp1 <providerOption> child element of the
system.codeDom/compilers/compiler element.
svn path=/trunk/mcs/; revision=91337
Fixed ctor (Stream) to allow null argument. In LoadFromUri, first
reset mstream to support resetting Stream to null. Support playing
default sound. Allow Stream to be set to null. Reset AudioData and
WaveData when new stream is loaded.
* Win32SoundPlayer.cs: Wrapper for PlaySound Win32 API.
* System.dll.sources: Added Win32SoundPlayer.cs.
* SoundPlayerTest.cs: Added trivial ctor tests. Added test for
Stream property.
svn path=/trunk/mcs/; revision=89112
2007-10-30 Robert Jordan <[email protected]>
* ProcessTest.cs: Add tests for bug #319829.
In System.Diagnostics:
2007-10-30 Robert Jordan <[email protected]>
* Process.cs: Wrap the redirected streams with a stream
that provides real async Begin/Read|Write operations.
Fixes bug #319829.
In System.IO:
2007-10-30 Robert Jordan <[email protected]>
* MonoSyncFileStream.cs: Add.
svn path=/trunk/mcs/; revision=88491
- Added a field that maps group numbers to group names in Regex for improvement of performance of GroupNameFromNumber method.
svn path=/trunk/mcs/; revision=88065
* CustomizableLocalFileSettingsProvider.cs : contribution for
LocalFileSettingsProvider implementation, by Noriaki Okimoto
([email protected]), modified by myself to fit for System.dll.
Origin of code license assignment at
http://ojk.sppd.ne.jp/ojkblog/?date=20070603#p01.
* LocalFileSettingsProvider.cs : rewriting to use above.
Due to some kind of compiler issue it is not enabled yet.
* System.dll.sources :
added CustomizableLocalFileSettingsProvider.cs.
svn path=/trunk/mcs/; revision=78561
* TraceSourceInfo.cs : new class for storing configuration data.
* TraceSource.cs : TraceEventCache arguments should be null (they are
nullable). Use TraceSourceInfo above.
* DiagnosticsConfigurationHandler.cs : removed hack to store listeners
in named sources, not traceimpl. Create TraceSource objects from
configuration data.
* System.dll.sources : added TraceSourceInfo.cs.
svn path=/trunk/mcs/; revision=77640
* System.dll.sources: Add RBTree.cs.
In System.Collections.Generic:
Make add and remove operations O(log n).
* SortedDictionary.cs: Rewrite to use the red-black tree
implementation from RBTree.cs.
* RBTree.cs: Some more refactoring. Rename Insert() to Intern(),
and modify semantics slightly. Replace Contains() with Lookup().
In Test/System.Collections.Generic:
* SortedDictionaryTest.cs (AddNullKeyNullable): Enable.
svn path=/trunk/mcs/; revision=76537
* System.dll.sources : added XmlWriterTraceListener.cs.
* System_test.dll.sources : added TraceListenerTest.cs and
XmlWriterTraceListenerTest.cs.
* XmlWriterTraceListener.cs : new file, implementated.
* TraceListener.cs : implemented 2.0 members.
* TraceListenerTest.cs : new test.
* XmlWriterTraceListenerTest.cs : new test (but disabled since they
are too instance dependent).
svn path=/trunk/mcs/; revision=75960
* DefaultParameterValueAttribute.cs: Move to System.dll.
In System/System.Runtime.InteropServices:
* StandardOleMarshalObject.cs: New .net2.0 class.
* DefaultParameterValueAttribute.cs: Move here from corlib.
svn path=/trunk/mcs/; revision=74124
* Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile. Stub
out BeginReceiveMessageFrom(), BeginSendFile(),
EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
SendFile().
* IPPacketInformation.cs: New in the 2.0 profile
* SocketFlags.cs: Remove useless (and empty) inline documentation,
and add 2.0 items.
* TcpListener.cs: Mark Server as public in the 2.0 profile.
* UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
profile.
System.Net.Sockets should now be 2.0-complete.
svn path=/trunk/mcs/; revision=71759
* DataObjectFieldAttribute.cs: Add new file.
2007-01-12 Miguel de Icaza <[email protected]>
* Trace.cs: Add a number of 2.0 overloads.
svn path=/trunk/mcs/; revision=70948
2006-12-01 Duncan Mak <[email protected]>
* ArgumentOutOfRangeException.cs (.ctor):
* NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
that takes a string and an inner Exception.
2006-12-01 Duncan Mak <[email protected]>
* AddingNewEventArgs.cs:
* AddingNewEventHandler.cs: Added.
* ListChangedEventArgs.cs (.ctor): Uncomment the bit about
property descriptor now that there's an implementation of it.
(PropertyDescriptor): New 2.0 property.
svn path=/trunk/mcs/; revision=68874
* System.dll.sources: Add System.Net.Mail.SmtpPermission[Attribute] to
the build.
* System_test.dll.sources: Add unit tests for System.Net.Mail
SmtpPermission[Attribute] to the build.
svn path=/trunk/mcs/; revision=67189
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
Obsolete attribute to correct property.
* EventSourceCreationData.cs: Updated copyright. For internal ctor,
set log name to "Application" if value is null or zero-length string.
* EventLogImpl.cs: EventImpl now acts as base class for event log
implemenations.
* NullEventLog.cs: Modified to implement new abstract methods of base
class. Removed factory class.
* EventLog.cs: EventLog implementation that delegates just about
everything to individual eventlog providers. To specify the event log
implementation to use, the MONO_EVENTLOG_TYPE environment variable can
be used. Possible values are:
- win32 : read/write entries using the native win32 eventlog
- local[:path] : read/write entries as files to a local directory
- null : silently ignore all entries
The default is "null" on unix (and versions of Windows before NT,
meaning Windows 98, ...), and "win32" on Windows NT (and higher).
When "the local" implementation is used, the directory in which to
store the event logs, event sources and entries can be specified as
part of MONO_EVENTLOG_TYPE environment variable using the syntax
"local:<path>" (eg. local:/home/myuser/mono/eventlog).
* LocalFileEventLog.cs: Event log implementation which uses a local
file store. The directory to use for persistence can be specified
as part of the MONO_EVENTLOG_TYPE environment variable (see above).
If that directory is not explicitly set, then the following directory
will be used for storing eventlog entries:
- windows : %APPDATA%\mono\eventlog
- unix : /var/lib/mono/eventlog
On unix, the directory permission for individual eventlog log
directories will be set to 777 (with +t bit) allowing everyone to
read and write eventlog entries while only allowing entries to be
deleted by the user(s) that created them.
Format of log files was modified to allow it contain all necessary
information for an event log entry.
* Win32EventLog.cs: Event log implementation for Windows NT and
higher which uses the Win32 native event log for reading/writing
eventlog entries, and which uses the registry to store event log and
event source registration information.
* EventLogEntryCollection.cs: Delegate implementation to event log
implementation. Use lazy init for enumerating entries. Cache current
item in 2.0 profile.
* EventLogTest.cs: Enable tests. On 2.0 profile, set MONO_EVENTLOG_TYPE
environment variable to force local file implementation to be used for
unit tests. This avoids permission issues for the unit tests, and
allows us to clean up the files/directory that are created during the
test run. Skip tests that cannot pass when the null implementation is
active (on 1.0 profile). Added tests for all WriteEntry and WriteEvent
(2.0 only) overloads, Clear, Entries, Exists and LogNameFromSourceName.
svn path=/trunk/mcs/; revision=64088
* System.dll.sources : added LocalFileEventLog.cs and NullEventLog.cs.
* EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs :
some rework to support actual event log implementations.
* NullEventLog.cs, LocalFileEventLog.cs :
new files. The former (default) implementation does nothing for
any event log features. The latter implements local file based
event logs.
svn path=/trunk/mcs/; revision=63705