Compare commits

...
5612 Commits
Author SHA1 Message Date
nobody 4f02ecaa9d This commit was manufactured by cvs2svn to create tag 'MONO_0_13'.
svn path=/tags/MONO_0_13/mono/; revision=6194
2002-07-26 14:15:45 +00:00
Dietmar Maurer 328bafdbf9 emit CEE_RET at the end of end_invoke
svn path=/trunk/mono/; revision=6193
2002-07-26 14:15:45 +00:00
Paolo Molaro 977951a172 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <[email protected]>
* FileStream.cs: patch from [email protected] to add
	Name property support.

svn path=/trunk/mcs/; revision=6192
2002-07-26 13:47:28 +00:00
Martin Baulig 064b31b38d Reverted my switch patch for the moment until we've done the release.
svn path=/trunk/mcs/; revision=6191
2002-07-26 13:27:21 +00:00
Paolo Molaro 30379dc3db Fri Jul 26 11:58:22 CEST 2002 Paolo Molaro <[email protected]>
* object.c: load constant strings.

svn path=/trunk/mono/; revision=6190
2002-07-26 10:00:28 +00:00
Paolo Molaro e979da4d5c Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <[email protected]>
* main.c, dump.h, dump.c: output hash value in File table.
	Add dumper function for DeclSecurity table.

svn path=/trunk/mono/; revision=6189
2002-07-26 09:44:18 +00:00
Paolo Molaro 2c0742e922 Fri Jul 26 11:36:14 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: no magic numbers.
	* tabledefs.h: security action enum.

svn path=/trunk/mono/; revision=6188
2002-07-26 09:40:41 +00:00
Paolo Molaro acf0c77386 Fri Jul 26 11:22:52 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c: fix possible memory corruption.

svn path=/trunk/mono/; revision=6187
2002-07-26 09:24:48 +00:00
Tim Coleman acc5457e89 2002-07-25 Tim Coleman <[email protected]>
* OperationMessageCollection.cs:
                Some implementation of this class after consulting a
                WSDL reference.  Now validates the inputs.

svn path=/trunk/mcs/; revision=6185
2002-07-26 05:55:50 +00:00
Dennis Hayes 6455422343 2002-7-22 DennisHayes <[email protected]>
* DateTimePickerFormat.cs
* Added values.
* The NAMESPACE NOW COMPILES under windows in Visual Studio using the Microsoft version of the classes.
* Verify.exe reports 600 errors.

svn path=/trunk/mcs/; revision=6184
2002-07-26 01:37:28 +00:00
Miguel de Icaza ae5acc0d17 Update man page
svn path=/trunk/mono/; revision=6183
2002-07-26 01:31:26 +00:00
Martin Baulig 8ffe6cc262 2002-07-26 Martin Baulig <[email protected]>
* test-152.cs: New test for bug #24007.

	* makefile: Disabled test-151.cs since it isn't fixed yet.

svn path=/trunk/mcs/; revision=6182
2002-07-25 23:09:05 +00:00
Martin Baulig 95f88c882f 2002-07-26 Martin Baulig <[email protected]>
* cs-parser.jay (CSharpParser): Added `Stack switch_stack'.
	(switch_statement): Push the current_block to the switch_stack and
	pop it again when we're done with the switch.
	(switch_section): The new block is an implicit child of the
	current_block.  Fixes bug #24007, added test-152.cs.

svn path=/trunk/mcs/; revision=6181
2002-07-25 23:06:29 +00:00
Piers Haken 28f14aa361 2002-07-25 Piers Haken <[email protected]>
* DefaultContext.cs: implement XPathFunctionName 'name()' function.

svn path=/trunk/mcs/; revision=6180
2002-07-25 21:32:51 +00:00
Miguel de Icaza 09baafe8f3 2002-07-25 Miguel de Icaza <[email protected]>
* driver.cs: Rename --resource to --linkres, because that is what
	we do currently, we dont support --resource yet.

	* cs-tokenizer.cs: Fix test for reporting endif mismatches.

svn path=/trunk/mcs/; revision=6179
2002-07-25 20:43:13 +00:00
Martin Baulig 7a2ee7403c Ooooops.
svn path=/trunk/mcs/; revision=6178
2002-07-25 20:04:06 +00:00
Martin Baulig 52625a6e8c 2002-07-25 Martin Baulig <[email protected]>
* class.cs (MethodData): New public class.  This is a `method builder'
	class for a method or one accessor of a Property/Indexer/Event.
	(MethodData.GetMethodFlags): Moved here from MemberBase.
	(MethodData.ApplyAttributes): Likewise.
	(MethodData.ApplyObsoleteAttribute): Likewise.
	(MethodData.ApplyConditionalAttribute): Likewise.
	(MethodData.ApplyDllImportAttribute): Likewise.
	(MethodData.CheckAbstractAndExternal): Likewise.
	(MethodData.Define): Formerly knows as MemberBase.DefineMethod().
	(MethodData.Emit): Formerly known as Method.Emit().
	(MemberBase): Moved everything which was specific to a single
	accessor/method to MethodData.
	(Method): Create a new MethodData and call Define() and Emit() on it.
	(Property, Indexer, Event): Create a new MethodData objects for each
	accessor and call Define() and Emit() on them.

svn path=/trunk/mcs/; revision=6177
2002-07-25 19:48:47 +00:00
Gonzalo Paniagua Javier 50b9519a1d 2002-07-25 Gonzalo Paniagua Javier <[email protected]>
* ProcessModelInfo.cs: fixed compilation.

svn path=/trunk/mcs/; revision=6176
2002-07-25 15:44:27 +00:00
Martin Baulig cdbc6f12be 2002-07-25 Martin Baulig <[email protected]>
Made MethodCore derive from MemberBase to reuse the code from there.
	MemberBase now also checks for attributes.

	* class.cs (MethodCore): Derive from MemberBase, not MemberCore.
	(MemberBase.GetMethodFlags): Moved here from class Method and marked
	as virtual.
	(MemberBase.DefineAccessor): Renamed to DefineMethod(), added
	`CallingConventions cc' and `Attributes opt_attrs' arguments.
	(MemberBase.ApplyAttributes): New virtual method; applies the
	attributes to a method or accessor.
	(MemberBase.ApplyObsoleteAttribute): New protected virtual method.
	(MemberBase.ApplyConditionalAttribute): Likewise.
	(MemberBase.ApplyDllImportAttribute): Likewise.
	(MemberBase.CheckAbstractAndExternal): Likewise.
	(MethodCore.ParameterTypes): This is now a property instead of a
	method, it's initialized from DoDefineParameters().
	(MethodCore.ParameterInfo): Removed the set accessor.
	(MethodCore.DoDefineParameters): New protected virtual method to
	initialize ParameterTypes and ParameterInfo.
	(Method.GetReturnType): We can now simply return the MemberType.
	(Method.GetMethodFlags): Override the MemberBase version and add
	the conditional flags.
	(Method.CheckBase): Moved some code from Define() here, call
	DoDefineParameters() here.
	(Method.Define): Use DoDefine() and DefineMethod() from MemberBase
	here to avoid some larger code duplication.
	(Property.Emit, Indexer.Emit): Call CheckAbstractAndExternal() to
	ensure that abstract and external accessors don't declare a body.

	* attribute.cs (Attribute.GetValidPieces): Make this actually work:
	`System.Attribute.GetCustomAttributes (attr.Type)' does a recursive
	lookup in the attribute's parent classes, so we need to abort as soon
	as we found the first match.
	(Attribute.Obsolete_GetObsoleteMessage): Return the empty string if
	the attribute has no arguments.

	* typemanager.cs (TypeManager.AddMethod): Now takes a MemberBase instead
	of a Method.

svn path=/trunk/mcs/; revision=6175
2002-07-25 15:26:15 +00:00
Tim Coleman 1971aebdff 2002-07-25 Tim Coleman <[email protected]>
* ProcessModelInfo.cs:
                New class added
        * HttpParseException.cs:
        * HttpCompileException.cs:
        * HttpUnhandledException.cs:
                Internal constructors added to these

svn path=/trunk/mcs/; revision=6173
2002-07-25 14:09:36 +00:00
Martin Baulig 420916b4af "attribute.cs(571,17): error CS0177: The out parameter 'is_error' must
be assigned to before control leaves the current method."
[FIXME:  Filed as bug #28186: MCS must report this error.]

svn path=/trunk/mcs/; revision=6172
2002-07-25 12:04:32 +00:00
Paolo Molaro d8dfe2603e Thu Jul 25 13:58:38 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: added support for linking resources.
	* verify.c: check we have an updated corlib.

svn path=/trunk/mono/; revision=6171
2002-07-25 12:03:33 +00:00
Paolo Molaro 36bba0f9d4 Thu Jul 25 13:57:46 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: support linking external resources.

svn path=/trunk/mcs/; revision=6170
2002-07-25 12:03:25 +00:00
Paolo Molaro 14a5ade495 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <[email protected]>
* mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
	implementations.

svn path=/trunk/mono/; revision=6169
2002-07-25 12:02:04 +00:00
Dietmar Maurer a240866c42 (mono_marshal_get_managed_wrapper): print warning for arrays (not implemented)
svn path=/trunk/mono/; revision=6168
2002-07-25 11:52:29 +00:00
Paolo Molaro 709ab3e684 Fix build.
svn path=/trunk/mcs/; revision=6166
2002-07-25 11:06:50 +00:00
Dietmar Maurer 9dcb67418f 2002-07-25 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): correctly marshal
	string arrays.
	(mono_marshal_string_array): null terminate unmanaged string arrays.

svn path=/trunk/mono/; revision=6165
2002-07-25 11:01:59 +00:00
Gonzalo Paniagua Javier 5afbcec65b Reverted my previous patch
svn path=/trunk/mcs/; revision=6164
2002-07-25 04:41:47 +00:00
Gonzalo Paniagua Javier 426ed0456f 2002-07-24 Gonzalo Paniagua Javier <[email protected]>
* test-151.cs: New test. See bug #22119.
	* makefile: added new test.

svn path=/trunk/mcs/; revision=6163
2002-07-25 01:54:30 +00:00
Gonzalo Paniagua Javier 5bad792d12 2002-07-24 Gonzalo Paniagua Javier <[email protected]>
* cs-parser.jay: fixed bug #22119.

svn path=/trunk/mcs/; revision=6162
2002-07-25 01:52:28 +00:00
Gonzalo Paniagua Javier f865f8738e 2002-07-24 Gonzalo Paniagua Javier <[email protected]>
* attribute.cs: fixed compilation. The error was:
	"attribute.cs(571,17): error CS0177: The out parameter 'is_error' must
	be assigned to before control leaves the current method."

svn path=/trunk/mcs/; revision=6161
2002-07-25 00:23:29 +00:00
Martin Baulig f7df60a4b0 2002-07-25 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Conditional_GetConditionName): New static
	method to pull the condition name ouf of a Conditional attribute.
	(Attribute.Obsolete_GetObsoleteMessage): New static method to pull
	the obsolete message and error flag out of an Obsolete attribute.

	* class.cs (Method.GetMethodFlags): New public method to get the
	TypeManager.MethodFlags for this method.
	(Method.ApplyConditionalAttribute, Method.ApplyObsoleteAttribute): New
	private methods.
	(Method.Define): Get and apply the Obsolete and Conditional attributes;
	if we're overriding a virtual function, set the new private variable
	`parent_method'; call the new TypeManager.AddMethod().

	* typemanager.cs (TypeManager.AddMethod): New static method.  Stores
	the MethodBuilder and the Method in a PtrHashtable.
	(TypeManager.builder_to_method): Added for this purpose.
	(TypeManager.MethodFlags): Added IsObsoleteError.
	(TypeManager.GetMethodFlags): Added `Location loc' argument.  Lookup
	Obsolete and Conditional arguments in MethodBuilders.  If we discover
	an Obsolete attribute, emit an appropriate warning 618 / error 619 with
	the message from the attribute.

svn path=/trunk/mcs/; revision=6160
2002-07-24 22:56:44 +00:00
Martin Baulig 0c3d9cb573 2002-07-24 Martin Baulig <[email protected]>
* cs-tokenizer.cs: Eat up trailing whitespaces and one-line comments in
	preprocessor directives, ensure that the argument to #define/#undef is
	exactly one identifier and that it's actually an identifier.

	Some weeks ago I did a `#define DEBUG 1' myself and wondered why this
	did not work ....

svn path=/trunk/mcs/; revision=6159
2002-07-24 20:08:31 +00:00
Tim Coleman c7823035ba 2002-07-24 Tim Coleman <[email protected]>
* list.unix:
                Add some more classes to this build list.

svn path=/trunk/mcs/; revision=6158
2002-07-24 19:53:19 +00:00
Tim Coleman 52a614cc31 2002-07-24 Tim Coleman <[email protected]>
* CodeIdentifier.cs:
        * IXmlSerializable.cs:
        * XmlSerializationCollectionFixupCallback.cs:
        * XmlSerializationFixupCallback.cs:
        * XmlSerializationReadCallback.cs:
        * XmlSerializationReader.cs:
        * XmlSerializationWriteCallback.cs:
                Add new classes.
        * XmlSchemas.cs
        * CodeIdentifiers.cs:
                Implement some of these classes
        * XmlCodeExporter.cs:
                Fix return type of a function

svn path=/trunk/mcs/; revision=6157
2002-07-24 19:52:33 +00:00
Martin Baulig e1acf0fa68 2002-07-24 Martin Baulig <[email protected]>
* statement.cs (Foreach.ForeachHelperMethods): Added `Type element_type',
	initialize it to TypeManager.object_type in the constructor.
	(Foreach.GetEnumeratorFilter): Set `hm.element_type' to the return type
	of the `hm.get_current' method if we're using the collection pattern.
	(Foreach.EmitCollectionForeach): Use `hm.element_type' as the source type
	for the explicit conversion to make it work when we're using the collection
	pattern and the `Current' property has a different return type than `object'.
	Fixes #27713.

svn path=/trunk/mcs/; revision=6153
2002-07-24 18:33:34 +00:00
Martin Baulig 170352e665 2002-07-24 Martin Baulig <[email protected]>
* delegate.cs (Delegate.VerifyMethod): Simply return null if the method
	does not match, but don't report any errors.  This method is called in
	order for all methods in a MethodGroupExpr until a matching method is
	found, so we don't want to bail out if the first method doesn't match.
	(NewDelegate.DoResolve): If none of the methods in the MethodGroupExpr
	matches, report the 123.  Fixes #28070.

svn path=/trunk/mcs/; revision=6147
2002-07-24 17:27:48 +00:00
Tim Coleman 1d782cc43d 2002-07-24 Tim Coleman <[email protected]>
* list:
                Added System.Web.Services.Description/SoapProtocolReflector.cs

svn path=/trunk/mcs/; revision=6146
2002-07-24 17:10:23 +00:00
Tim Coleman 79eac60b9a 2002-07-24 Tim Coleman <[email protected]>
* ProtocolImporter.cs:
        * ProtocolReflector.cs:
                Some implementation of these classes.  MonoTODO's begone!
        * SoapProtocolImporter.cs:
                Changed description to literal string "Soap"
        * SoapProtocolReflector.cs:
                Added a new class based on guesswork and conjecture.

svn path=/trunk/mcs/; revision=6145
2002-07-24 17:09:38 +00:00
Tim Coleman a98373c44a 2002-07-24 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Implement Read/Write methods for serialization/
                deserialization.

svn path=/trunk/mcs/; revision=6143
2002-07-24 16:20:46 +00:00
Tim Coleman 03e18229b4 2002-07-22 Tim Coleman <[email protected]>
* list.unix:
                Add System.Xml.Serialization/SoapReflectionImporter.cs to build
                list.

svn path=/trunk/mcs/; revision=6142
2002-07-24 16:19:57 +00:00
Tim Coleman 07c42ad314 2002-07-24 Tim Coleman <[email protected]>
* SoapReflectionImporter.cs:
                New class added to build
                System.Web.Services.Description.ServiceDescription.cs

svn path=/trunk/mcs/; revision=6141
2002-07-24 16:18:50 +00:00
Tim Coleman 32d4003e65 2002-07-24 Tim Coleman <[email protected]>
* list:
                Add System.Web/ProcessInfo.cs
                Add System.Web/HttpCompileException.cs
                Add System.Web/HttpParseException.cs
                Add System.Web/HttpUnhandledException.cs

svn path=/trunk/mcs/; revision=6140
2002-07-24 15:08:08 +00:00
Tim Coleman 304bb3e236 2002-07-24 Tim Coleman <[email protected]>
* ProcessInfo.cs:
                Fix constructor, reference to shutdownreason.

svn path=/trunk/mcs/; revision=6138
2002-07-24 15:05:39 +00:00
Dietmar Maurer 117f910a54 2002-07-24 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): added CEE_TAIL (but it is ignored)

svn path=/trunk/mono/; revision=6134
2002-07-24 13:54:31 +00:00
Tim Coleman 100fb3e831 2002-07-24 Tim Coleman <[email protected]>
* HttpCachePolicy.cs:
                Added stubbs to this class.
        * HttpCacheability.cs:
        * HttpCacheRevalidation.cs:
        * HttpValidationStatus.cs:
        * ProcessShutdownReason.cs:
        * ProcessStatus.cs:
        * TraceMode.cs:
                Reorder the enumerations (and in some cases make
                one-based) in order to agree with the .NET
                implementation, based on the class status page.
        * ProcessInfo.cs:
                Implementation of this class.

svn path=/trunk/mcs/; revision=6133
2002-07-24 13:53:50 +00:00
Dietmar Maurer d31db523cd 2002-07-24 Dietmar Maurer <[email protected]>
* marshal.c: added optimisations for blittable types

	* class.c (mono_array_class_get): do not set blittable attribute on arrays
	(mono_class_setup_mono_type): set blittable attribute for single
	and double.

svn path=/trunk/mono/; revision=6131
2002-07-24 13:19:24 +00:00
Dietmar Maurer 2886ad2c30 disabled a test which crashes gcc 2.96 on Redhat
svn path=/trunk/mono/; revision=6128
2002-07-24 11:38:33 +00:00
Paolo Molaro 69841c8683 Wed Jul 24 13:32:36 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: Type.GetType () can now return also types from the
	calling assembly.

svn path=/trunk/mono/; revision=6127
2002-07-24 11:34:51 +00:00
Paolo Molaro 4056a14ba1 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
* XmlTextReader.cs: rough line/column support.

svn path=/trunk/mcs/; revision=6126
2002-07-24 11:18:06 +00:00
Paolo Molaro 1e52fe68eb Wed Jul 24 13:14:30 CEST 2002 Paolo Molaro <[email protected]>
* Component.cs: don't die if Disposed is null.

svn path=/trunk/mcs/; revision=6125
2002-07-24 11:16:29 +00:00
Paolo Molaro e86e1e35a4 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <[email protected]>
* MethodBase.cs: implemented GetCurrentMethod.
	* Assembly.cs: implemented GetExecutingAssembly and
	GetCallingassembly.

svn path=/trunk/mcs/; revision=6124
2002-07-24 11:11:11 +00:00
Paolo Molaro 4b5364ee75 Wed Jul 24 13:02:50 CEST 2002 Paolo Molaro <[email protected]>
* jit.c, jit.h, exception.c: implemented stack walking function.

svn path=/trunk/mono/; revision=6123
2002-07-24 11:08:17 +00:00
Paolo Molaro 96c135a901 Wed Jul 24 13:02:12 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: implemented stack walking function.

svn path=/trunk/mono/; revision=6122
2002-07-24 11:07:52 +00:00
Paolo Molaro 74544de122 Wed Jul 24 13:04:05 CEST 2002 Paolo Molaro <[email protected]>
* loader.h, loader.c: stack walking support.
	* icall.c: implemented GetCurrentMethod, GetExecutingAssembly,
	GetCallingAssembly.

svn path=/trunk/mono/; revision=6121
2002-07-24 11:07:24 +00:00
Dietmar Maurer 147d31bb90 2002-07-24 Dietmar Maurer <[email protected]>
* x86.brg (ARG_OBJ): removed zero sized object warning

svn path=/trunk/mono/; revision=6120
2002-07-24 10:39:20 +00:00
Dietmar Maurer 33190343e9 2002-07-24 Dietmar Maurer <[email protected]>
* marshal.c (mono_string_utf8_to_builder): impl.
	(mono_string_builder_to_utf8): impl.
	(mono_marshal_get_native_wrapper): impl. StringBuilder marshaling

svn path=/trunk/mono/; revision=6118
2002-07-24 09:52:06 +00:00
Duncan Mak 6f7b1c8fe8 Fix build issues by reindenting? How strange....
svn path=/trunk/mcs/; revision=6117
2002-07-24 07:17:00 +00:00
Duncan Mak 02c38dc645 2002-07-24 Duncan Mak <[email protected]>
* corlib_linux_test.args: Add Cesar's BufferTest to the list.

svn path=/trunk/mcs/; revision=6116
2002-07-24 06:18:27 +00:00
Duncan Mak dc2c6d11ef Remove stupid crud.
svn path=/trunk/mcs/; revision=6115
2002-07-24 05:40:31 +00:00
Duncan Mak 7f5d3e98f5 Committing BufferTest for Cesar Octavio Lopez Nataren <[email protected]>.
2002-07-22  Cesar Octavio Lopez Nataren  <[email protected]>

	* BufferTest.cs: Added this file to test the System.Buffer class
	implementation.

2002-07-24  Duncan Mak  <[email protected]>

	* SynchronizationAttribute.cs: Added missing attributes.

svn path=/trunk/mcs/; revision=6114
2002-07-24 05:32:50 +00:00
Duncan Mak 4286c7eb7a Sigh, more build fixes.
svn path=/trunk/mcs/; revision=6113
2002-07-24 05:05:44 +00:00
Duncan Mak bb62ee58ee More minor tweaks, sigh
svn path=/trunk/mcs/; revision=6112
2002-07-24 05:03:42 +00:00
Duncan Mak b978a0b7a7 Minor tweaks.
svn path=/trunk/mcs/; revision=6111
2002-07-24 05:02:34 +00:00
Duncan Mak d118767491 2002-07-24 Duncan Mak <[email protected]>
* IContextPropertyActivator.cs:
	* IContributeClientContextSink.cs:
	* IContributeDynamicSink.cs:
	* IContributeEnvoySink.cs:
	* IContributeObjectSink.cs:
	* IContributeServerContentSink.cs: Added the missing interfaces.

svn path=/trunk/mcs/; revision=6110
2002-07-24 04:58:38 +00:00
Duncan Mak 44dd238add 2002-07-24 Duncan Mak <[email protected]>
* ProxyAttribute.cs: Revert the last commit.

svn path=/trunk/mcs/; revision=6109
2002-07-24 04:24:35 +00:00
Tim Coleman b023899636 2002-07-23 Tim Coleman <[email protected]>
* SoapException.cs: modified constructors to
                call base class correctly.
        * WebClientAsyncResult: some implementation

svn path=/trunk/mcs/; revision=6108
2002-07-24 04:19:39 +00:00
Duncan Mak eb94895b16 2002-07-24 Duncan Mak <[email protected]>
* unix.args: Added files from Remoting.Lifetime and
	Remoting.Metadata.

	* ChangeLog: Moved entries from System.Runtime.Remoting.Activation
	and System.Runtime.Remoting.Proxy to their own ChangeLog.

	* IsVolatile.cs: change visibility on the constructor.

	* LeaseState.cs: Moved here from System.Runtime.Remoting.

	* ClientSponsor.cs:
	* LifetimeServices.cs: Stubbed out

	* ILease.cs:
	* ISponsor.cs: Added to CVS.

	* OneWayAttribute.cs: Added to CVS.

	* SoapAttribute.cs:
	* SoapFieldAttribute.cs:
	* SoapMethodAttribute.cs:
	* SoapParameterAttribute.cs:
	* SoapTypeAttribute.cs: Stubbed out.

	* SoapOption.cs:
	* XmlFieldOrderOption.cs: Moved here from System.Runtime.Remoting

	* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: This
	implements IContextAttribute.

	* LeaseState.cs: Moved to System.Runtime.Remoting.Lifetime.

	* SoapMethodOption.cs:
	* SoapOption.cs: Removed and merged into System.Runtime.Remoting.Metadata.SoapOption.

svn path=/trunk/mcs/; revision=6107
2002-07-24 04:18:47 +00:00
Dennis Hayes f106899003 *** empty log message ***
svn path=/trunk/mcs/; revision=6106
2002-07-24 02:29:25 +00:00
Dennis Hayes d8abac013f 2002-7-21 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* BaseCollection.cs
* BindingsCollection.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* ComboBox.cs
* ContainerControl.cs
* ContextMenu.cs
* Control.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* DataGrid.cs
* DataGridColumnStyle.cs
* DataObject.cs
* DateTimePicker.cs
* DomainUpDown.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FontDialog.cs
* Form.cs
* GiveFeedbackEventArgs.cs
* GridColumnStylesCollection.cs
* GridItem.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventArgs.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageCollection.cs
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkArea.cs
* LinkClickedEventArgs.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* MainMenu.cs
* MeasureItemEventArgs.cs
* Menu.cs
* MenuItem.cs
* Message.cs
* MessageBox.cs
* MouseEventArgs.cs
* NativeWindow.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewDialog.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventArgs.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanelCollection.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ToolBar.cs
* ToolBarButtonClickEventArgs.cs
* ToolTip.cs
* TrackBar.cs
* TreeNodeCollection.cs
* TreeView.cs
* UserControl.cs
* commented out inherited class that did not need to be stubbed.
* fixed bugs, added values to one enum. Stubbed interfaces.
* The NAMESPACE NOW COMPILES under windows in Visual Studio using the Microsoft version of the classes.
* Verify.exe reports 600 errors.

svn path=/trunk/mcs/; revision=6105
2002-07-24 02:28:42 +00:00
Alp Toker 6134dd17ce Remove the generated y.output file in the clean target.
svn path=/trunk/mcs/; revision=6104
2002-07-24 02:16:34 +00:00
Martin Baulig 63ee28b80b 2002-07-24 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.EmitStoreOpcode): Moved the
	TypeManager.TypeToCoreType() to the top of the method so the
	following equality checks will work.  Fixes #28107.

svn path=/trunk/mcs/; revision=6103
2002-07-24 00:23:25 +00:00
Martin Baulig 72e1c99727 2002-07-24 Martin Baulig <[email protected]>
* cfold.cs (ConstantFold.DoConstantNumericPromotions): "If either
	operand is of type uint, and the other operand is of type sbyte,
	short or int, the operands are converted to type long." -
	Actually do what this comment already told us.  Fixes bug #28106,
	added test-150.cs.

svn path=/trunk/mcs/; revision=6102
2002-07-24 00:07:49 +00:00
Martin Baulig 4b9ece8774 2002-07-24 Martin Baulig <[email protected]>
* class.cs (MethodBase): New abstract class.  This is now a base
	class for Property, Indexer and Event to avoid some code duplication
	in their Define() and DefineMethods() methods.
	(MethodBase.DoDefine, MethodBase.DefineAccessor): Provide virtual
	generic methods for Define() and DefineMethods().
	(FieldBase): Derive from MemberBase, not MemberCore.
	(Property): Derive from MemberBase, not MemberCore.
	(Property.DefineMethod): Moved all the code from this method to the
	new MethodBase.DefineAccessor(), just call it with appropriate
	argumetnts.
	(Property.Define): Call the new Property.DoDefine(), this does some
	sanity checks and we don't need to duplicate the code everywhere.
	(Event): Derive from MemberBase, not MemberCore.
	(Event.Define): Use the new MethodBase.DefineAccessor() to define the
	accessors, this will also make them work with interface events.
	(Indexer): Derive from MemberBase, not MemberCore.
	(Indexer.DefineMethod): Removed, call MethodBase.DefineAccessor() insstead.
	(Indexer.Define): Use the new MethodBase functions.

	* interface.cs (InterfaceEvent.InterfaceEvent): Added `Location loc'
	argument to the constructor.
	(Interface.FindMembers): Added support for interface events.
	(Interface.PopluateEvent): Implemented.

	Added test-149.cs for this.  This also fixes bugs #26067 and #24256.

svn path=/trunk/mcs/; revision=6101
2002-07-24 00:06:59 +00:00
Martin Baulig 6c9f96c11a 2002-07-24 Martin Baulig <[email protected]>
* test-150.cs: New test.

	* test-149.cs: New test.

svn path=/trunk/mcs/; revision=6100
2002-07-24 00:02:27 +00:00
Martin Baulig 08e643d5b7 2002-07-24 Martin Baulig <[email protected]>
Added test-149.cs for this.  This also fixes bugs #26067 and #24256.

svn path=/trunk/mcs/; revision=6099
2002-07-23 23:33:33 +00:00
Martin Baulig a102b00699 2002-07-24 Martin Baulig <[email protected]>
* test-149.cs: New test.

	* test-95.cs: .... and finally, another bug in MCS is fixed and
	the syntax error in this test is caught.

svn path=/trunk/mcs/; revision=6098
2002-07-23 23:30:24 +00:00
Martin Baulig fcf53a4f77 2002-07-24 Martin Baulig <[email protected]>
* class.cs (MethodBase): New abstract class.  This is now a base
	class for Property, Indexer and Event to avoid some code duplication
	in their Define() and DefineMethods() methods.
	(MethodBase.DoDefine, MethodBase.DefineAccessor): Provide virtual
	generic methods for Define() and DefineMethods().
	(FieldBase): Derive from MemberBase, not MemberCore.
	(Property): Derive from MemberBase, not MemberCore.
	(Property.DefineMethod): Moved all the code from this method to the
	new MethodBase.DefineAccessor(), just call it with appropriate
	argumetnts.
	(Property.Define): Call the new Property.DoDefine(), this does some
	sanity checks and we don't need to duplicate the code everywhere.
	(Event): Derive from MemberBase, not MemberCore.
	(Event.Define): Use the new MethodBase.DefineAccessor() to define the
	accessors, this will also make them work with interface events.
	(Indexer): Derive from MemberBase, not MemberCore.
	(Indexer.DefineMethod): Removed, call MethodBase.DefineAccessor() insstead.
	(Indexer.Define): Use the new MethodBase functions.

	* interface.cs (InterfaceEvent.InterfaceEvent): Added `Location loc'
	argument to the constructor.
	(Interface.FindMembers): Added support for interface events.
	(Interface.PopluateEvent): Implemented.

svn path=/trunk/mcs/; revision=6097
2002-07-23 23:28:50 +00:00
Tim Coleman 63964af025 2002-07-23 Tim Coleman <[email protected]>
* HttpGetClientProtocol.cs:
        * HttpPostClientProtocol.cs
                Implemented the GetWebRequest method
        * HttpSimpleClientProtocol:
                Some implementation of the EndInvoke method
        * HttpWebClientProtocol.cs:
                Set the UserAgent string appropriately
                Implemented the GetWebRequest method
                Implemented the GetWebResponse methods
        * SoapHttpClientProtocol.cs:
                Removed unused fields
                Implemented the GetWebRequest method
        * SoapMessage.cs:
                Implemented the EnsureStage method
        * WebClientProtocol.cs:
                Added a static constructor to construct the cache
                Implemented the Abort method
                Implemented the AddToCache, GetFromCache methods
                Implemented the GetWebRequest method
                Implemented the GetWebResponse methods

svn path=/trunk/mcs/; revision=6095
2002-07-23 21:36:08 +00:00
Alp Toker 1de09d9c93 Added a makefile.gnu dist target.
svn path=/trunk/mcs/; revision=6094
2002-07-23 21:31:04 +00:00
Alp Toker 51daeda577 makefile.gnu: Added an install target (which sets permissions and respects
prefix) and fixed a few other makefile issues.

svn path=/trunk/mcs/; revision=6093
2002-07-23 18:27:41 +00:00
Dietmar Maurer 2d8cb5ecc2 2002-07-23 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): impl. byref types
	(mono_marshal_get_managed_wrapper): impl. byref types

svn path=/trunk/mono/; revision=6092
2002-07-23 17:49:23 +00:00
Tim Coleman 4b1c1c1e98 2002-07-23 Tim Coleman <[email protected]>
* WebService.cs:
                Change Description to WebServicesDescription
        * WebServicesDescriptionAttribute.cs:
                Add back constructor as MS build doesn't
                seem to like it missing.  Now calls base()
                with the string.  Also remove the sealed
                modifier and change the attribute targets.

svn path=/trunk/mcs/; revision=6091
2002-07-23 17:43:23 +00:00
Miguel de Icaza 0eb959bca1 Flush compile fixes
svn path=/trunk/mcs/; revision=6090
2002-07-23 17:29:11 +00:00
Duncan Mak 047a4f0d67 2002-07-24 Duncan Mak <[email protected]>
* System.Runtime.Remoting.Activation/UrlAttribute.cs: Add to CVS.

	* System.Runtime.Remoting.Activation/IConstructionCallMessage.cs:
	This implements IMessage, IMethodCallMessage and IMethodMessage.

svn path=/trunk/mcs/; revision=6089
2002-07-23 17:24:51 +00:00
Miguel de Icaza a48ef3f9e4 Fix compile
svn path=/trunk/mcs/; revision=6088
2002-07-23 17:19:09 +00:00
Tim Coleman 598b83e9a4 2002-07-23 Tim Coleman <[email protected]>
* LogicalMethodTypes.cs:
        * SoapHeaderDirection.cs:
        * SoapMessageStage.cs:
        * SoapParameterStyle.cs:
        * SoapServiceRoutingStyle.cs:
                Explicitly define values in enum to match
                .NET.
        * SoapMessage.cs:
                Removed constructor which should not be present.
        * SoapException.cs:
                Made protected fields private as they should
                be.
        * SoapHeaderException.cs:
                Modifications to constructors to propertly
                call base class constructor

svn path=/trunk/mcs/; revision=6087
2002-07-23 17:14:51 +00:00
Miguel de Icaza 93721d720c Flush
svn path=/trunk/mono/; revision=6086
2002-07-23 17:14:15 +00:00
Duncan Mak b1ae1ecaaa 2002-07-24 Duncan Mak <[email protected]>
* AccessedThroughPropertyAttribute.cs:
	* CompilationRelaxationsAttribute.cs:
	* CompilerGlobalScopeAttribute.cs:
	* DateTimeConstantAttribute.cs:
	* DecimalConstantAttribute.cs:
	* IDispatchConstantAttribute.cs:
	* IsVolatile.cs:
	* IUnknownConstantAttribute.cs:
	* RequiredAttributeAttribute.cs: Visibility changes.

svn path=/trunk/mcs/; revision=6085
2002-07-23 17:06:30 +00:00
Tim Coleman 35ee2f5129 2002-07-23 Tim Coleman <[email protected]>
* WebServicesDescriptionAttribute.cs:
                Removed the "guts" because they are defined in
                System.ComponentModel.DescriptionAttribute.
        * WebService.cs:
                Added attributes which were missing based on the
                class status page.  Also added an HttpApplication
                object and modified the properties to use that
                object.

svn path=/trunk/mcs/; revision=6084
2002-07-23 17:03:39 +00:00
Tim Coleman 1d7cfe4792 2002-07-23 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Add XmlIgnore attribute to ServiceDescriptions property
        * OperationFlow.cs:
        * ServiceDescriptionImportWarnings.cs:
                Explicitly set values in enumeration to match
                .NET.

svn path=/trunk/mcs/; revision=6083
2002-07-23 16:49:47 +00:00
Tim Coleman e34ae0b3f0 Forgot to commit ChangeLog on last change.
svn path=/trunk/mcs/; revision=6082
2002-07-23 16:21:41 +00:00
Tim Coleman ee460ab90f 2002-07-23 Tim Coleman <[email protected]>
* HttpCompileException.cs:
        * HttpParseException.cs:
        * HttpUnhandledException.cs:
                New stubbs created.
        * HttpApplication.cs:
        * HttpBrowserCapabilities.cs:
                Added missing methods stubbs and attributes based
                on the class status page.  Also reformatted some
                source for consistency.

svn path=/trunk/mcs/; revision=6081
2002-07-23 16:21:18 +00:00
Tim Coleman 33d2628ee4 2002-07-23 Tim Coleman <[email protected]>
* HttpUtility.cs: Moved entities hashtable into main
                class as a static object, so we don't instantiate
                a new one every time.  Also put the hashtable
                building into a lock block.

svn path=/trunk/mcs/; revision=6080
2002-07-23 13:53:45 +00:00
Dietmar Maurer e93b4c2b1c removed unnecessary files
svn path=/trunk/mono/; revision=6079
2002-07-23 11:13:16 +00:00
Duncan Mak 77220f09e3 Added missing brackets.
svn path=/trunk/mcs/; revision=6078
2002-07-23 10:57:56 +00:00
Duncan Mak e47dababcf 2002-07-23 Duncan Mak <[email protected]>
* SoapFormatter.cs: This implements IFormatter and IRemoteFormatter.

* XmlSchemaException.cs: Partiall implement the ISerializable
methods. It's not clear now SourceSchemaObject should be deserialized.

* XmlConvert.cs: Implement the ToDateTime method. ToDateTime
(string, string []) is particularly strange.

* XmlException.cs: Remember to call the base serialization
constructor.

* XmlNodeReader.cs: Keep a new variable to store the Depth.

svn path=/trunk/mcs/; revision=6077
2002-07-23 10:55:14 +00:00
Dietmar Maurer 248e81d4f1 2002-07-23 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): use arch_get_argument_info to get
	stack layout.

	* jit.c (mono_analyze_stack): use arch_get_argument_info to get
	stack layout.
	(mono_analyze_stack): removed unused code

	* emit-x86.c (arch_allocate_arg): impl.

svn path=/trunk/mono/; revision=6076
2002-07-23 09:34:58 +00:00
Paolo Molaro d236c6feec Fix build.
svn path=/trunk/mcs/; revision=6075
2002-07-23 08:49:29 +00:00
Tim Coleman 00b380f3b6 2002-07-22 Tim Coleman <[email protected]>
* Added System.Configuration.Install to unix build.

svn path=/trunk/mcs/; revision=6074
2002-07-23 05:58:55 +00:00
Tim Coleman 4c77feecda 2002-07-22 Tim Coleman <[email protected]>
* list.unix:
        * makefile.gnu:
                Files added to build this on linux.

svn path=/trunk/mcs/; revision=6073
2002-07-23 05:50:30 +00:00
Tim Coleman 1452dd3966 2002-07-22 Tim Coleman <[email protected]>
* UninstallAction.cs: Changed namespace to
                proper System.Configuration.Install;

svn path=/trunk/mcs/; revision=6072
2002-07-23 05:49:29 +00:00
Tim Coleman 1274ffa3c6 2002-07-22 Tim Coleman <[email protected]>
* Added System.Web and System.Web.Services to linux make.

svn path=/trunk/mcs/; revision=6071
2002-07-23 05:40:11 +00:00
Tim Coleman 00c04a4c51 2002-07-22 Tim Coleman <[email protected]>
* makefile.gnu:
        * list:
                Modifications to make this library buildable on
                linux.

svn path=/trunk/mcs/; revision=6070
2002-07-23 05:38:50 +00:00
Tim Coleman b730da0ddb 2002-07-22 Tim Coleman <[email protected]>
* list.unix: added new classes to build list.

svn path=/trunk/mcs/; revision=6069
2002-07-23 05:37:10 +00:00
Tim Coleman 22b3f2a7f1 2002-07-22 Tim Coleman <[email protected]>
* CodeIdentifiers.cs:
        * SoapCodeExporter.cs:
        * SoapSchemaExporter.cs:
        * XmlCodeExporter.cs:
        * XmlMemberMapping.cs:
        * XmlMembersMapping.cs:
        * XmlReflectionImporter.cs:
        * XmlReflectionMember.cs:
        * XmlSchemaExporter.cs:
        * XmlSchemaImporter.cs:
        * XmlSchemas.cs:
                New stubbs added to aid in the linux build of
                System.Web.Services.

svn path=/trunk/mcs/; revision=6068
2002-07-23 05:35:33 +00:00
Tim Coleman e5114fecb8 2002-07-22 Tim Coleman <[email protected]>
* list.unix: Added new file
                System.ComponentModel.RecommendedAsConfigurableAttribute.cs
                to build on unix.

svn path=/trunk/mcs/; revision=6067
2002-07-23 05:32:24 +00:00
Tim Coleman 37107271e7 2002-07-22 Tim Coleman <[email protected]>
* RecommendedAsConfigurableAttribute.cs: new file added
                for System.Web.Services build

svn path=/trunk/mcs/; revision=6066
2002-07-23 05:31:20 +00:00
Tim Coleman 6bcd063b7c 2002-07-22 Tim Coleman <[email protected]>
* XmlSchema.cs: Removed isCompiled which is defined as internal
                in XmlSchemaObject.

svn path=/trunk/mcs/; revision=6064
2002-07-23 04:35:29 +00:00
Gonzalo Paniagua Javier 6958545441 commented out attribute
svn path=/trunk/mcs/; revision=6063
2002-07-23 04:12:16 +00:00
Tim Coleman 5b14e29c9e 2002-07-22 Tim Coleman <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: Added missing constructor
                which was breaking System.Web build on linux

svn path=/trunk/mcs/; revision=6062
2002-07-23 04:03:11 +00:00
Tim Coleman 6752b58d57 2002-07-22 Tim Coleman <[email protected]>
* ExpandableObjectConverter.cs: Fix error with constructor

svn path=/trunk/mcs/; revision=6061
2002-07-23 03:59:22 +00:00
Duncan Mak 7de3a6b82e 2002-07-23 Duncan Mak <[email protected]>
* list:
* unix.args: Added new Attributes in
System.Runtime.CompilerServices and System.Runtime.Remoting.Messaging.

* HeaderHandler.cs: Added.

svn path=/trunk/mcs/; revision=6060
2002-07-23 03:54:52 +00:00
Tim Coleman e261e042a4 2002-07-22 Tim Coleman <[email protected]>
* TypeConverter.cs: Fixed bad stubb function
	                GetConvertToException ()

svn path=/trunk/mcs/; revision=6059
2002-07-23 03:53:46 +00:00
Duncan Mak 02f9c5d847 Revert patches to ProxyAttribute (oops) and add them to
IRemotingFormatter instead

svn path=/trunk/mcs/; revision=6058
2002-07-23 03:49:01 +00:00
Tim Coleman d18f25741c 2002-07-22 Tim Coleman <[email protected]>
* NameObjectCollectionBase.cs: added iterator stubb to
                NameObjectCollectionBase.KeysCollection

svn path=/trunk/mcs/; revision=6057
2002-07-23 03:47:46 +00:00
Duncan Mak 299b759670 Added missing using statements.
svn path=/trunk/mcs/; revision=6056
2002-07-23 03:45:40 +00:00
Tim Coleman 9455258830 2002-07-22 Tim Coleman <[email protected]>
* ComponentCollection.cs: Added reference to
                ReadOnlyCollectionBase to make sure
                that we inherit the appropriate methods.
                Not sure why the Dispose() method is
                required, but left for now.

svn path=/trunk/mcs/; revision=6055
2002-07-23 03:41:57 +00:00
Duncan Mak 986e9b3d98 2002-07-23 Duncan Mak <[email protected]>
* AccessedThroughPropertyAttribute.cs:
	* CompilationRelaxationsAttribute.cs:
	* CompilerGlobalScopeAttribute.cs:
	* CustomConstantAttribute.cs:
	* DateTimeConstantAttribute.cs:
	* DecimalConstantAttribute.cs:
	* DiscardableAttribute.cs:
	* IDispatchConstantAttribute.cs:
	* IUnknownConstantAttribute.cs:
	* RequiredAttributeAttribute.cs: Added all the missing Attributes

	* IsVolatile.cs: Added to CVS.

	* MethodImplOptions.cs: Added the PreserveSig flag.

	* IRemotingFormatter.cs: Added to CVS.

	* IMethodMessage.cs: IMethodMessage inherits from IMessage.

	* list:
	* unix.args: Added new Attributes in System.Runtim.CompilerServices.

	* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.

svn path=/trunk/mcs/; revision=6054
2002-07-23 03:33:14 +00:00
Tim Coleman 9cfb41535a 2002-07-22 Tim Coleman <[email protected]>
* TypeConverter.cs: Added new stubbs
        * BindableAttribute.cs: Added
        * BindableSupport.cs: Added
        * NotifyParentPropertyAttribute.cs: Added
        * ExpandableObjectConverter.cs: Added

svn path=/trunk/mcs/; revision=6053
2002-07-23 03:20:22 +00:00
Tim Coleman bc6cf205a0 2002-07-22 Tim Coleman <[email protected]>
* list.unix: Added files to the build for linux
                System.ComponentModel.BindableAttribute.cs,
                System.ComponentModel.BindableSupport.cs,
                System.ComponentModel.ExpandableObjectConverter.cs,
                System.ComponentModel.NotifyParentPropertyAttribute.cs,
                System.ComponentModel.ToolboxItemAttribute.cs,

svn path=/trunk/mcs/; revision=6052
2002-07-23 03:18:36 +00:00
Tim Coleman ba0303ace6 2002-07-20 Tim Coleman <[email protected]>
* list.unix: Added System.ComponentModel/DefaultEventAttribute.cs
                and System.ComponentModel.DefaultProperty.cs to build

svn path=/trunk/mcs/; revision=6051
2002-07-23 02:37:40 +00:00
Tim Coleman 98900dedb2 2002-07-22 Tim Coleman <[email protected]>
* list:
        * unix.args:
                Added System.Security.Permission/ReflectionPermission.cs and
                System.Security.Permission/EnvironmentPermission.cs and

svn path=/trunk/mcs/; revision=6050
2002-07-23 02:31:05 +00:00
Tim Coleman 810a1b8d0e 2002-07-22 Tim Coleman <[email protected]>
* ReflectionPermission.cs:
	* EnvironmentPermission.cs:
		bad place for an override keyword :(

svn path=/trunk/mcs/; revision=6049
2002-07-23 02:30:28 +00:00
Tim Coleman 2c0237d667 2002-07-22 Tim Coleman <[email protected]>
* makefile.gnu: added instructions to build System.EnterpriseServices.dll
		on linux

svn path=/trunk/mcs/; revision=6048
2002-07-23 02:22:13 +00:00
Tim Coleman 4ed2a03c40 2002-07-22 Tim Coleman <[email protected]>
* makefile.gnu: added to build on linux

svn path=/trunk/mcs/; revision=6047
2002-07-23 02:20:16 +00:00
Tim Coleman 805ab1a26c 2002-07-22 Tim Coleman <[email protected]>
* list:
                Added System.Security.Permission/ReflectionPermission.cs and
                System.Security.Permission/EnvironmentPermission.cs and

svn path=/trunk/mcs/; revision=6046
2002-07-23 02:04:44 +00:00
Tim Coleman 84be09042c 2002-07-22 Tim Coleman <[email protected]>
* ReflectionPermission.cs:
        * EnvironmentPermission.cs:
                Stubbs added because these are referenced
                in System.Web.

svn path=/trunk/mcs/; revision=6045
2002-07-23 02:03:44 +00:00
Gonzalo Paniagua Javier cd5ed858d9 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: added more page events to invoke automagically if some
	methods are defined.

svn path=/trunk/mcs/; revision=6044
2002-07-23 01:17:39 +00:00
Gonzalo Paniagua Javier fbe3ccaa61 2002-07-23 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(search_method): don't display debug message.

svn path=/trunk/mono/; revision=6043
2002-07-23 01:04:32 +00:00
Tim Coleman 996db3aadf 2002-07-22 Tim Coleman <[email protected]>
* HttpUtility.cs: Cleanup of the code, implementation
		of HtmlDecode/HtmlEncode functions

svn path=/trunk/mcs/; revision=6042
2002-07-23 01:00:50 +00:00
Miguel de Icaza 3997f06226 2002-07-22 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddMethod): Adding methods do not use IsValid,
	but this is required to check for a method name being the same as
	the containing class.

	Handle this now.

svn path=/trunk/mcs/; revision=6040
2002-07-22 23:39:43 +00:00
Gonzalo Paniagua Javier a9d80b3b8f Added a missing ;
svn path=/trunk/mcs/; revision=6039
2002-07-22 23:33:43 +00:00
Gonzalo Paniagua Javier df00d91723 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* interface.cs: initialize variable.

svn path=/trunk/mcs/; revision=6038
2002-07-22 23:31:14 +00:00
Tim Coleman 773b0df19e 2002-07-22 Tim Coleman <[email protected]>
* WebServicesDescriptionAttribute.cs:
		Added for build in System.Web.Services.Protocols

svn path=/trunk/mcs/; revision=6037
2002-07-22 23:22:35 +00:00
Tim Coleman 59258a38f7 2002-07-22 Tim Coleman <[email protected]>
* SoapHeaderException.cs:
		Fixed name error in constructor
	* SoapUnknownHeader.cs:
		Added reference to System.Xml.Serialization

svn path=/trunk/mcs/; revision=6036
2002-07-22 23:19:46 +00:00
Tim Coleman ea1e19acf4 2002-07-22 Tim Coleman <[email protected]>
* SoapHeaderException.cs:
	                New file added

svn path=/trunk/mcs/; revision=6035
2002-07-22 22:53:25 +00:00
Tim Coleman db02562dea 2002-07-22 Tim Coleman <[email protected]>
* AnyReturnReader.cs:
	* HtmlFormParameterReader.cs :
	* HtmlFormParameterWriter.cs :
	* HttpGetClientProtocol.cs :
	* HttpMethodAttribute.cs :
	* HttpPostClientProtocol.cs :
	* HttpSimpleClientProtocol.cs :
	* HttpWebClientProtocol.cs :
	* LogicalMethodInfo.cs :
	* LogicalMethodTypes.cs :
	* MatchAttribute.cs :
	* MimeFormatter.cs :
	* MimeParameterReader.cs :
	* MimeParameterWriter.cs :
	* MimeReturnReader.cs :
	* NopReturnReader.cs :
	* PatternMatcher.cs :
	* SoapClientMessage.cs :
	* SoapDocumentMethodAttribute.cs :
	* SoapDocumentServiceAttribute.cs :
	* SoapException.cs :
	* SoapExtension.cs :
	* SoapExtensionAttribute.cs :
	* SoapHeader.cs :
	* SoapHeaderAttribute.cs :
	* SoapHeaderCollection.cs :
	* SoapHeaderDirection.cs :
	* SoapHttpClientProtocol.cs :
	* SoapMessage.cs :
	* SoapMessageStage.cs :
	* SoapParameterStyle.cs :
	* SoapRpcMethodAttribute.cs :
	* SoapRpcServiceAttribute.cs :
	* SoapServerMessage.cs :
	* SoapServiceRoutingStyle.cs :
	* SoapUnknownHeader.cs :
	* TextReturnReader.cs :
	* UrlEncodedParameterWriter.cs :
	* UrlParameterReader.cs :
	* UrlParameterWriter.cs :
	* ValueCollectionParameterReader.cs :
	* WebClientAsyncResult.cs :
	* WebClientProtocol.cs :
	* WebServiceHandlerFactory.cs :
	* XmlReturnReader.cs :
		Add missing methods and attributes to make as few missing
		things as possible in this namespace.  This is from the
		project status page.

svn path=/trunk/mcs/; revision=6034
2002-07-22 22:52:09 +00:00
Martin Baulig 80412b534e 2002-07-23 Martin Baulig <[email protected]>
Implemented the IndexerName attribute in interfaces.

	* class.cs (TypeContainer.DefineIndexers): Don't set the indexer
	name if this is an explicit interface implementation.
	(Indexer.InterfaceIndexerName): New public variable.  If we're
	implementing an interface indexer, this is the IndexerName in that
	interface.  Otherwise, it's the IndexerName.
	(Indexer.DefineMethod): If we're implementing interface indexer,
	set InterfaceIndexerName.  Use the new Pending.IsInterfaceIndexer
	and Pending.ImplementIndexer methods.
	(Indexer.Define): Also define the PropertyBuilder if we're
	implementing an interface indexer and this is neither an explicit
	interface implementation nor do the IndexerName match the one in
	the interface.

	* pending.cs (TypeAndMethods): Added `MethodInfo [] need_proxy'.
	If a method is defined here, then we always need to create a proxy
	for it.  This is used when implementing interface indexers.
	(Pending.IsInterfaceIndexer): New public method.
	(Pending.ImplementIndexer): New public method.
	(Pending.InterfaceMethod): Added `MethodInfo need_proxy' argument.
	This is used when implementing interface indexers to define a proxy
	if necessary.
	(Pending.VerifyPendingMethods): Look in the `need_proxy' array and
	define a proxy if necessary.

	* interface.cs (Interface.IndexerName): New public variable.
	(Interface.PopulateIndexer): Set the IndexerName.
	(Interface.DefineIndexers): New private method.  Populate all the
	indexers and make sure their IndexerNames match.

	* typemanager.cs (IndexerPropertyName): Added support for interface
	indexers.

svn path=/trunk/mcs/; revision=6033
2002-07-22 22:42:53 +00:00
Martin Baulig d78d8fcf48 2002-07-23 Martin Baulig <[email protected]>
* test-148.cs: New test.

svn path=/trunk/mcs/; revision=6032
2002-07-22 22:40:42 +00:00
Peter Williams efd63e1358 2002-07-22 Peter Williams <[email protected]>
* class/library.make: (clean): Robustify this rule a bit.

svn path=/trunk/mcs/; revision=6031
2002-07-22 22:20:19 +00:00
Peter Williams bdc53da32d 2002-07-22 Peter Williams <[email protected]>
* class/library.make: Oops, the deps weren't right -- touching a .cs
	file didn't cause the libraries to be rebuilt.

svn path=/trunk/mcs/; revision=6029
2002-07-22 21:30:12 +00:00
Dietmar Maurer 0c09746ffa 2002-07-22 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_allocate_var): fix alignment bug

	* x86.brg (X86_CALL_BEGIN): add argument padding before emitting a call

svn path=/trunk/mono/; revision=6027
2002-07-22 19:45:01 +00:00
Dietmar Maurer 714e405b0e * metadata.c (mono_type_stack_size): added temporary fix for new gcc
svn path=/trunk/mono/; revision=6026
2002-07-22 18:43:44 +00:00
Miguel de Icaza 643bb8be95 Link to the spanish mono list
svn path=/trunk/mono/; revision=6025
2002-07-22 17:51:57 +00:00
Tim Coleman 6810cc9ca8 2002-07-22 Tim Coleman <[email protected]>
* Binding.cs:
	* BindingCollection.cs:
	* DocumentableItem.cs:
	* FaultBinding.cs:
	* FaultBindingCollection.cs:
	* HttpAddressBinding.cs:
	* HttpBinding.cs:
	* HttpOperationBinding.cs:
	* HttpUrlEncodedBinding.cs:
	* HttpUrlReplacementBinding.cs:
	* Import.cs:
	* ImportCollection.cs:
	* InputBinding.cs:
	* Message.cs:
	* MessageBinding.cs:
	* MessageCollection.cs:
	* MessagePart.cs:
	* MessagePartCollection.cs:
	* MimeContentBinding.cs:
	* MimeMultipartRelatedBinding.cs:
	* MimePart.cs:
	* MimePartCollection.cs:
	* MimeTextBinding.cs:
	* MimeTextMatch.cs:
	* MimeTextMatchCollection.cs:
	* MimeXmlBinding.cs:
	* Operation.cs:
	* OperationBinding.cs:
	* OperationBindingCollection.cs:
	* OperationCollection.cs:
	* OperationFaultCollection.cs:
	* OperationFlow.cs:
	* OperationMessage.cs:
	* OperationMessageCollection.cs:
	* OutputBinding.cs:
	* Port.cs:
	* PortCollection.cs:
	* PortType.cs:
	* PortTypeCollection.cs:
	* ProtocolImporter.cs:
	* Service.cs:
	* ServiceCollection.cs:
	* ServiceDescription.cs:
	* ServiceDescriptionBaseCollection.cs:
	* ServiceDescriptionCollection.cs:
	* ServiceDescriptionFormatExtension.cs:
	* ServiceDescriptionFormatExtensionCollection.cs:
	* ServiceDescriptionImportWarnings.cs:
	* SoapAddressBinding.cs:
	* SoapBinding.cs:
	* SoapBindingStyle.cs:
	* SoapBindingUse.cs:
	* SoapBodyBinding.cs:
	* SoapExtensionImporter.cs:
	* SoapExtensionReflector.cs:
	* SoapFaultBinding.cs:
	* SoapHeaderBinding.cs:
	* SoapHeaderFaultBinding.cs:
	* SoapOperationBinding.cs:
	* SoapTransportImporter.cs:
	* Types.cs:
		1. Add missing attributes as determined by reflection
		2. Fix protection levels where appropriate
		3. Add missing items where appropriate
		Basically, this was a change to remove all the X's from
		the project status page for this namespace :)

svn path=/trunk/mcs/; revision=6024
2002-07-22 17:42:26 +00:00
Gonzalo Paniagua Javier 5cea83b9b5 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs: fixed bug #28050. May be a MS bug?

svn path=/trunk/mcs/; revision=6023
2002-07-22 17:34:46 +00:00
Dietmar Maurer b55418193b 2002-07-22 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): s/k/k + 1/

svn path=/trunk/mono/; revision=6022
2002-07-22 17:19:13 +00:00
Paolo Molaro a0c3b33f58 Mon Jul 22 18:17:05 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.c: set the missing filename when throwing exception.

svn path=/trunk/mono/; revision=6019
2002-07-22 16:19:38 +00:00
Gonzalo Paniagua Javier c204d07d8c 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(SaveViewState): save state even when control is not visible.
	(SaveViewStateRecursive):
	(LoadViewStateRecursive): made internal.

svn path=/trunk/mcs/; revision=6017
2002-07-22 16:17:06 +00:00
Dietmar Maurer 98be9e0ec5 (mono_type_stack_size): removed some test code
svn path=/trunk/mono/; revision=6016
2002-07-22 15:42:50 +00:00
Dietmar Maurer c7a6d89a3d 2002-07-22 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_size): code cleanup

svn path=/trunk/mono/; revision=6015
2002-07-22 15:36:29 +00:00
Martin Baulig d65a37e55b 2002-07-22 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.HasReturnLabel): New public variable.
	(EmitContext.EmitTopBlock): Always mark the ReturnLabel and emit a
	ret if HasReturnLabel.
	(EmitContext.TryCatchLevel, LoopBeginTryCatchLevel): New public
	variables.

	* statement.cs (Do.Emit, While.Emit, For.Emit, Foreach.Emit): Save
	and set the ec.LoopBeginTryCatchLevel.
	(Try.Emit): Increment the ec.TryCatchLevel while emitting the block.
	(Continue.Emit): If the ec.LoopBeginTryCatchLevel is smaller than
	the current ec.TryCatchLevel, the branch goes out of an exception
	block.  In this case, we need to use Leave and not Br.

svn path=/trunk/mcs/; revision=6014
2002-07-22 13:40:37 +00:00
Martin Baulig f40d8ad329 2002-07-22 Martin Baulig <[email protected]>
* verify-2.cs: New test.

svn path=/trunk/mcs/; revision=6013
2002-07-22 13:36:36 +00:00
Dietmar Maurer de441eb675 2002-07-22 Dietmar Maurer <[email protected]>
* x86.brg (LOCALLOC): align to MONO_FRAME_ALIGNMENT

	* emit-x86.c (arch_get_argument_info): impl.

svn path=/trunk/mono/; revision=6012
2002-07-22 13:35:10 +00:00
Tim Coleman 6cdffc1b0b 2002-07-22 Tim Coleman <[email protected]>
* System.Web.Services.build:
		Added reference to new System.EnterpriseServices.dll
		which is required for System.Web.Services.WebMethodAttribute

svn path=/trunk/mcs/; revision=6011
2002-07-22 13:30:26 +00:00
Tim Coleman c1e85ab0f7 2002-07-22 Tim Coleman <[email protected]>
* WebMethodAttribute.cs:
		Remove comments around TransactionOption bits
		because I added that enum.
	* WebServiceAttribute.cs:
	* WebServiceBindingAttribute.cs:
		Added "sealed" to protection level, which I missed
		before.

svn path=/trunk/mcs/; revision=6010
2002-07-22 13:29:44 +00:00
Tim Coleman bdf615d7bd 2002-07-22 Tim Coleman <[email protected]>
* library.build: Add build for System.EnterpriseServices

svn path=/trunk/mcs/; revision=6009
2002-07-22 13:21:22 +00:00
Tim Coleman 122dd3aa04 2002-07-22 Tim Coleman <[email protected]>
* TransactionOption.cs: New enum added as
		required by System.Web.Services

svn path=/trunk/mcs/; revision=6008
2002-07-22 13:20:21 +00:00
Tim Coleman 21db10cde2 2002-07-22 Tim Coleman <[email protected]>
* System.EnterpriseServices: New namespace created
		to provide enum needed by Web Services
	* System.EnterpriseServices.build: New file
	* list: New file

svn path=/trunk/mcs/; revision=6007
2002-07-22 13:19:26 +00:00
Tim Coleman bb667b39c3 2002-07-22 Tim Coleman <[email protected]>
* list: Added new files from System.Web.Services.Protocols
		and System.Web.Services.Configuration

svn path=/trunk/mcs/; revision=6006
2002-07-22 13:17:20 +00:00
Martin Baulig 0546f18dad 2002-07-22 Martin Baulig <[email protected]>
* verify-1.cs: New test.  The verify-XXX.cs tests must be
	compiled and then verified - either with `pedump --verify code'
	or with PEverify.

svn path=/trunk/mcs/; revision=6005
2002-07-22 12:18:19 +00:00
Martin Baulig f67b013ccf 2002-07-22 Martin Baulig <[email protected]>
* statement.cs (Try.Emit): Emit an explicit ret after the end of the
	block unless the block does not always return or it is contained in
	another try { ... } catch { ... } block.  Fixes bug #26506.
	Added verify-1.cs to the test suite.

svn path=/trunk/mcs/; revision=6004
2002-07-22 12:16:24 +00:00
Miguel de Icaza 9b948b4fbd Flush
svn path=/trunk/mono/; revision=6003
2002-07-22 06:04:06 +00:00
Jeffrey Stedfast 1fb4c37c77 2002-07-21 Jeffrey Stedfast <[email protected]>
* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
	these are needed for sendmsg() and also for struct msghdr (at
	least on Solaris). Solaris still won't build because struct msghdr
	doesn't have msg_flags, msg_control, or msg_controllen members.
	(CMSG_SPACE): Define for systems that don't have it.
	(CMSG_LEN): Same.

svn path=/trunk/mono/; revision=6002
2002-07-22 03:46:51 +00:00
Miguel de Icaza 2a6a6293ed 2002-07-21 Miguel de Icaza <[email protected]>
* appdomain.c (ves_icall_System_Reflection_Assembly_LoadFrom): Use
	mono_get_exception_file_not_found now.

	* exception.c (mono_exception_from_name_two_strings): New version
	that will call a constructor with two string arguments.
	(mono_get_exception_file_not_found): New helper routine, used to
	report file-not-found errors.

2002-07-21  Miguel de Icaza  <[email protected]>

	* exception.c (arch_handle_exception): Memory leak fix.

svn path=/trunk/mono/; revision=6001
2002-07-22 03:31:25 +00:00
Martin Baulig 5263b1b718 Reverted my latest workaround in these files. The corresponding bug in MCS
is now fixed.

svn path=/trunk/mcs/; revision=6000
2002-07-22 01:04:31 +00:00
Martin Baulig 24d3f9a889 2002-07-22 Martin Baulig <[email protected]>
* statement.cs (Switch.TableSwitchEmit): If we don't have a default,
	then we do not always return.  Fixes bug #24985.

svn path=/trunk/mcs/; revision=5999
2002-07-22 01:02:28 +00:00
Gonzalo Paniagua Javier b16f322b92 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: improved event raising to allow client postback for a wider
	variety of actions (clicking an hyperlink, ...).

svn path=/trunk/mcs/; revision=5997
2002-07-22 00:27:51 +00:00
Miguel de Icaza bd03a71ecc More updates asp-net
svn path=/trunk/mono/; revision=5996
2002-07-22 00:13:05 +00:00
Martin Baulig 6d41b97ed4 2002-07-22 Martin Baulig <[email protected]>
* makefile: test-29 now passes.

svn path=/trunk/mcs/; revision=5995
2002-07-22 00:08:28 +00:00
Martin Baulig 7fe845e2e4 2002-07-22 Martin Baulig <[email protected]>
* expression.cs (Invocation.OverloadedResolve): Do the BetterFunction()
	lookup on a per-class level; ie. walk up the class hierarchy until we
	found at least one applicable method, then choose the best among them.
	Fixes bug #24463 and test-29.cs.

svn path=/trunk/mcs/; revision=5994
2002-07-22 00:07:31 +00:00
Martin Baulig b69035dcfc 2002-07-22 Martin Baulig <[email protected]>
* test.147.cs: New test for the `new' modifier.

svn path=/trunk/mcs/; revision=5993
2002-07-21 23:12:02 +00:00
Martin Baulig 42da22f0d5 2002-07-22 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.ArrayContainsMethod): Don't check the
	return types of the methods.  The return type is not part of the
	signature and we must not check it to make the `new' modifier work.
	Fixes bug bug #27999, also added test-147.cs.
	(TypeManager.TypeToCoreType): Added TypeManager.type_type.

	* expression.cs (Invocation.DoResolve): Call TypeManager.TypeToCoreType()
	on the method's return type.

svn path=/trunk/mcs/; revision=5992
2002-07-21 23:10:40 +00:00
Miguel de Icaza 9d5bb24a74 More updates asp-net
svn path=/trunk/mono/; revision=5991
2002-07-21 23:06:40 +00:00
Miguel de Icaza a567b08ca0 sample fix
svn path=/trunk/mono/; revision=5990
2002-07-21 21:50:27 +00:00
Martin Baulig a5cb5e6877 2002-07-21 Martin Baulig <[email protected]>
* test-38.cs: Added a few more test cases to this test.

svn path=/trunk/mcs/; revision=5989
2002-07-21 21:38:35 +00:00
Martin Baulig 08802b5057 2002-07-21 Martin Baulig <[email protected]>
* makefile.gnu: Disable debugging, there's already the mcs-mono2.exe
	target in the makefile for this.  The makefile.gnu is primarily intended
	for end-users who don't want to debug the compiler.

svn path=/trunk/mcs/; revision=5988
2002-07-21 21:37:56 +00:00
Martin Baulig 810da7ea0f 2002-07-21 Martin Baulig <[email protected]>
* assign.cs: Make this work if the rightmost source is a constant and
	we need to do an implicit type conversion.  Also adding a few more tests
	to test-38.cs which should have caught this.

svn path=/trunk/mcs/; revision=5987
2002-07-21 21:37:35 +00:00
Gonzalo Paniagua Javier 082c1aba6e 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
* index: close the anchor for first link in Jul 17th.

svn path=/trunk/mono/; revision=5986
2002-07-21 20:07:10 +00:00
Tim Coleman 6aa22ff553 2002-07-21 Tim Coleman <[email protected]>
* ChangeLog:
	* XmlFormatExtensionAttribute.cs:
	* XmlFormatExtensionPointAttribute.cs:
	* XmlFormatExtensionPrefixAttribute.cs:
		New files added

svn path=/trunk/mcs/; revision=5984
2002-07-21 05:17:56 +00:00
Jeffrey Stedfast 2a42382449 2002-07-21 Jeffrey Stedfast <[email protected]>
* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
	these are needed for sendmsg() and also for struct msghdr (at
	least on Solaris). Solaris still won't build because struct msghdr
	doesn't have msg_flags, msg_control, or msg_controllen members.

svn path=/trunk/mono/; revision=5983
2002-07-21 04:38:33 +00:00
Tim Coleman 18e1abdf7a 2002-07-20 Tim Coleman <[email protected]>
* AnyReturnReader.cs:
	* HtmlFormParameterReader.cs:
	* HtmlFormParameterWriter.cs:
	* HttpGetClientProtocol.cs:
	* HttpMethodAttribute.cs:
	* HttpPostClientProtocol.cs:
	* HttpSimpleClientProtocol.cs:
	* HttpWebClientProtocol.cs:
	* MatchAttribute.cs:
	* MimeFormatter.cs:
	* MimeParameterReader.cs:
	* MimeParameterWriter.cs:
	* MimeReturnReader.cs:
	* NopReturnReader.cs:
	* PatternMatcher.cs:
	* SoapClientMessage.cs:
	* SoapDocumentMethodAttribute.cs:
	* SoapDocumentServiceAttribute.cs:
	* SoapException.cs:
	* SoapExtensionAttribute.cs:
	* SoapExtension.cs:
	* SoapHeaderAttribute.cs:
	* SoapHeaderCollection.cs:
	* SoapHeader.cs:
	* SoapHeaderDirection.cs:
	* SoapHttpClientProtocol.cs:
	* SoapMessage.cs:
	* SoapMessageStage.cs:
	* SoapParameterStyle.cs:
	* SoapRpcMethodAttribute.cs:
	* SoapRpcServiceAttribute.cs:
	* SoapServerMessage.cs:
	* SoapServiceRoutingStyle.cs:
	* SoapUnknownHeader.cs:
	* TextReturnReader.cs:
	* UrlEncodedParameterWriter.cs:
	* UrlParameterReader.cs:
	* UrlParameterWriter.cs:
	* ValueCollectionParameterReader.cs:
	* WebClientAsyncResult.cs:
	* WebClientProtocol.cs:
	* WebServiceHandlerFactory.cs:
	* XmlReturnReader.cs:
		Added new stubbs and some implementation
	* LogicalMethodTypes.cs:
		Added [Serializable] attribute which was missing.

svn path=/trunk/mcs/; revision=5982
2002-07-21 03:47:36 +00:00
Martin Baulig 1914ea8c9e 2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.

svn path=/trunk/mcs/; revision=5981
2002-07-21 01:27:40 +00:00
Martin Baulig 8130298d16 2002-07-20 Martin Baulig <[email protected]>
* test-38.cs: This test now passes with MCS.  Added a few more
	test cases to it.

	* test-52.cs: The order of the elements returned by
	`IDictionary.Keys' is unspecified.

	* makefile: The following tests fail under linux and have been
	moved to TEST_NOPASS: 45, 53, 91, 106, 107, 122, 132, 133.
	(test-compiler-mono): Compile all the TEST_NOPASS tests, but
	don't run them.

svn path=/trunk/mcs/; revision=5980
2002-07-21 01:26:20 +00:00
Martin Baulig d0a3d9441b 2002-07-21 Martin Baulig <[email protected]>
* assign.cs: Improved the Assign class so it can now handle embedded
	assignments (X = Y = Z = something).  As a side-effect this'll now also
	consume less local variables.  test-38.cs now passes with MCS, added
	a few new test cases to that test.

svn path=/trunk/mcs/; revision=5979
2002-07-21 01:24:37 +00:00
Miguel de Icaza 720974da5a Flush, include System.Web.Services
svn path=/trunk/mono/; revision=5978
2002-07-21 01:00:52 +00:00
Gonzalo Paniagua Javier 9a5f21719a 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: implemented Load/SaveViewState.

svn path=/trunk/mcs/; revision=5977
2002-07-21 00:23:52 +00:00
Miguel de Icaza 704c3cddab Update news
svn path=/trunk/mono/; revision=5975
2002-07-20 20:22:14 +00:00
Miguel de Icaza 68086439fd Add useful macros
svn path=/trunk/mcs/; revision=5974
2002-07-20 19:17:58 +00:00
Miguel de Icaza b834e96d83 Inlcude WebSerices in the status display
svn path=/trunk/mono/; revision=5973
2002-07-20 18:52:50 +00:00
Alp Toker 069a20adf7 Web: fixed the tutorial link (but didn't push the site)
svn path=/trunk/mono/; revision=5972
2002-07-20 18:00:21 +00:00
Alp Toker 506cf012db ChangeLog update.
svn path=/trunk/mcs/; revision=5971
2002-07-20 16:28:14 +00:00
Martin Baulig 5e0be35279 2002-07-20 Martin Baulig <[email protected]>
* README.tests: Added (empty) list of all the test cases.
	When you add any test cases, please add them to this file.

	* test-146.cs: Added test for bug #27977 which is now fixed.

svn path=/trunk/mcs/; revision=5969
2002-07-20 15:42:40 +00:00
Martin Baulig ced5f3e543 2002-07-20 Martin Baulig <[email protected]>
* expression.cs (Binary.EmitBranchable): Emit correct unsigned branch
	instructions.  Fixes bug #27977, also added test-146.cs.

svn path=/trunk/mcs/; revision=5968
2002-07-20 15:39:59 +00:00
Dietmar Maurer 9616bcfb63 impl. mono_method_get_last_managed ()
svn path=/trunk/mono/; revision=5966
2002-07-20 14:52:34 +00:00
Martin Baulig f4b68f9978 2002-07-20 Martin Baulig <[email protected]>
* class/makefile.gnu: Added System.Data.

svn path=/trunk/mcs/; revision=5964
2002-07-20 13:55:59 +00:00
Martin Baulig 23e0b4ab27 2002-07-20 Martin Baulig <[email protected]>
* class/library.make: Put $(MONO_PATH_PREFIX) in front of the MONO_PATH.

	* class/*/makefile.gnu: Set MONO_PATH_PREFIX=../lib:

svn path=/trunk/mcs/; revision=5963
2002-07-20 13:41:36 +00:00
Martin Baulig f8dace48e5 *** empty log message ***
svn path=/trunk/mcs/; revision=5962
2002-07-20 13:09:57 +00:00
Dick Porter 1efda2a6a0 2002-07-20 Dick Porter <[email protected]>
* Process.cs: Implement file handle redirection

2002-07-20  Dick Porter  <[email protected]>

	* MonoIO.cs: Added icall to CreatePipe

2002-07-20  Dick Porter  <[email protected]>

	* MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
	can be used from the System assembly but still not be exposed to
	users.

svn path=/trunk/mcs/; revision=5961
2002-07-20 10:30:18 +00:00
Dick Porter b083768ef9 2002-07-20 Dick Porter <[email protected]>
* wapi-private.h:
	* io-private.h:
	* io.h:
	* io.c:
	* handles.c: Implemented pipe handles

	* handles.c:
	* daemon.c: Fixed bug in handle closing.

	* shared.c:
	* daemon.c: Forked processes now close all open file descriptors.

2002-07-20  Dick Porter  <[email protected]>

	* process.h:
	* process.c: Pass file handles to CreateProcess

	* icall.c:
	* file-io.h:
	* file-io.c: Implemented CreatePipe

svn path=/trunk/mono/; revision=5960
2002-07-20 10:19:39 +00:00
Dick Porter c0b41be4f6 Updated ignores for shared lib builds
svn path=/trunk/mono/; revision=5959
2002-07-20 10:10:27 +00:00
Paolo Molaro ba5115eddf Added missing files.
svn path=/trunk/mcs/; revision=5958
2002-07-20 09:01:48 +00:00
Gonzalo Paniagua Javier 05d404e535 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* MemberDescriptor.cs: implemented Attributes and Category.

	* PropertyDescriptor.cs: implemented Converter. Declared GetValue ().

	* PropertyDescriptorCollection.cs: fixed indexers declaration.

	* ReadOnlyAttribute.cs: GetHashCoder (), Equals (), IsDefault () and
	fixed value for Yes.

	* ToolboxItemAttribute.cs: fixed declaration of IsDefaultAttribute.

	* TypeConverter.cs: added SimplePropertyDescriptor class.

svn path=/trunk/mcs/; revision=5957
2002-07-20 08:39:12 +00:00
Gonzalo Paniagua Javier 55c864a5a4 Use Attributes in Style
svn path=/trunk/mcs/; revision=5956
2002-07-20 07:13:03 +00:00
Gonzalo Paniagua Javier 9ee5e0198a 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs:
	(Add): handle 'style' through styleCollection.

	* System.Web.UI/CssStyleCollection.cs:
	(fillStyle): renamed to FillStyle and made it internal.

	* System.Web.UI/Page.cs:
	(GetViewStateString): fixed, broken after other recent changes.
	(ProcessPostData): allow a second try for postback data after OnLoad.
	(ProcessRequest): clear controls collection, removed call to
	UnloadRecursive.

	* System.Web.UI.HtmlControls/HtmlControl.cs: the attributes must use
	ViewState as its StateBag, if not style values are lost between
	postbacks.

	* System.Web.UI.WebControls/TextBox.cs: default for Wrap is true.
	(OnPreRender): don't save Text if there are no listeners on TextChanged.

svn path=/trunk/mcs/; revision=5954
2002-07-20 07:07:39 +00:00
Martin Baulig 105eb255ec 2002-07-19 Martin Baulig <[email protected]>
* test-145.cs: Added test for bug #25318 which is now fixed.

svn path=/trunk/mcs/; revision=5953
2002-07-19 21:26:49 +00:00
Martin Baulig b9a7cc3aac 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu: Added makefile for self-hosting compile on GNU/Linux.
	Don't add this to the top-level makefile.gnu, this must be run after
	everything is compiled.

svn path=/trunk/mcs/; revision=5952
2002-07-19 21:20:14 +00:00
Martin Baulig 6b941ad435 Create mcs first and then use the newly compiled mcs to compile the class libraries.
svn path=/trunk/mcs/; revision=5951
2002-07-19 21:17:26 +00:00
Alp Toker 5147863931 File is obsolete.
svn path=/trunk/mcs/; revision=5950
2002-07-19 19:40:34 +00:00
Alp Toker 49177cef96 It makes more sense to call mcs directly as wrapper shell scripts are soon to
be phased out anyway. NUnitConsole_mono.exe is now part of the build procedure
too. mcs-tool is gone.

svn path=/trunk/mcs/; revision=5949
2002-07-19 19:39:41 +00:00
Dietmar Maurer 211ac56000 2002-07-19 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): avoid recursive inlining

svn path=/trunk/mono/; revision=5948
2002-07-19 19:09:37 +00:00
Miguel de Icaza 0ed3f96021 Update man page
svn path=/trunk/mono/; revision=5947
2002-07-19 19:07:07 +00:00
Gonzalo Paniagua Javier bb699e5ad9 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: uncommented Dispose.

	* System.Web.UI/Page.cs:
	(DeterminePostBackMode): more checkings.
	(GetPostBackClientHyperLink): implemented.
	(GetPostBackEventReference): added some comments with the HTML that MS
	generates for that.
	(ProcessRequest): fixed processing order. The page is unloaded after
	a request and regenerated from view state on subsequents posts.

	* System.Web.UI.WebControls/DropDownList.cs:
	(ToolTip): fixed.

	* System.Web.UI.WebControls/ListItem.cs:
	(LoadViewState): fixed.

	* System.Web.UI.WebControls/ListItemCollection.cs:
	(TrackViewState): use items instead of 'this' in foreach.

	* System.Web.UI.WebControls/Style.cs:
	(LoadViewState): more checking of parameters.

	* System.Web.UI.WebControls/WebControl.cs: implemented LoadViewState
	and SaveViewState.

svn path=/trunk/mcs/; revision=5945
2002-07-19 18:55:14 +00:00
Miguel de Icaza 7966ccd8be Update man page
svn path=/trunk/mono/; revision=5944
2002-07-19 18:47:04 +00:00
Dietmar Maurer b63c5d9b3c *** empty log message ***
svn path=/trunk/mono/; revision=5943
2002-07-19 18:09:51 +00:00
Dietmar Maurer 56315683ed 2002-07-19 Dietmar Maurer <[email protected]>
* metadata.c (mono_get_param_info): set alignment for value types

svn path=/trunk/mono/; revision=5942
2002-07-19 18:06:42 +00:00
Dietmar Maurer aa8827f4aa fix bug from previous commit
svn path=/trunk/mono/; revision=5941
2002-07-19 17:52:24 +00:00
Alp Toker 7cab11d978 Make sure corlib is built _before_ mcs, and don't make unnecessary assumptions
about the C# compiler setup that's to be used.

svn path=/trunk/mcs/; revision=5940
2002-07-19 17:47:10 +00:00
Gonzalo Paniagua Javier 4d70392653 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
* cs-tokenizer.cs: fixed getHex ().

svn path=/trunk/mcs/; revision=5939
2002-07-19 17:36:16 +00:00
Paolo Molaro b51a4fac45 Mono embedding sample.
svn path=/trunk/mono/; revision=5938
2002-07-19 17:24:56 +00:00
Paolo Molaro 7d13d1ccc0 Fri Jul 19 18:38:38 CEST 2002 Paolo Molaro <[email protected]>
* configure.in, Makefile.am, mono.pc.in: add a mono.pc file for use
	with pkg-config.
	* */Makefile.am: makefile overhaul to create a shared libmono library.
	* */*.h: do not include config.h in headers that should be installed.

svn path=/trunk/mono/; revision=5937
2002-07-19 17:08:26 +00:00
Paolo Molaro e33dabf1a1 Fri Jul 19 19:05:19 CEST 2002 Paolo Molaro <[email protected]>
* sockets.h, io-layer.h, critical-sections.h: don't include config.h
	in header files.

svn path=/trunk/mono/; revision=5936
2002-07-19 17:07:42 +00:00
Alp Toker 40e7cd24c0 Directory for compiled libs to go into.
svn path=/trunk/mcs/; revision=5935
2002-07-19 17:07:16 +00:00
Tim Coleman e9a102f00b 2002-07-19 Tim Coleman <[email protected]>
* list: Added

svn path=/trunk/mcs/; revision=5934
2002-07-19 17:06:39 +00:00
Paolo Molaro 63094d36f4 Fri Jul 19 18:58:27 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h, domain.c, threads-types.h: don't include config.h in headers.
	Constify mono_domain_assembly_open().
	* loader.c: handle null namespace in icalls.

svn path=/trunk/mono/; revision=5933
2002-07-19 17:03:40 +00:00
Tim Coleman cc186ea2a8 2002-07-19 Tim Coleman <[email protected]>
* library.build: Added System.Web.Services
		to the build.

svn path=/trunk/mcs/; revision=5932
2002-07-19 17:03:27 +00:00
Paolo Molaro 75a0da9098 Fri Jul 19 18:45:11 CEST 2002 Paolo Molaro <[email protected]>
* emit-x86.c: temporary workaround for gcc bug.
	* jit.h, jit.c, mono.c: move mono_jit_image to jit.c.
	Don't include config.h in headers.

svn path=/trunk/mono/; revision=5931
2002-07-19 17:03:05 +00:00
Tim Coleman f371254896 2002-07-19 Tim Coleman <[email protected]>
* ChangeLog:
	* LogicalMethodInfo.cs:
	* LogicalMethodTypes.cs:
		Add required classes to make System.Web.Services.Description
		buildable.

svn path=/trunk/mcs/; revision=5930
2002-07-19 16:58:22 +00:00
Dietmar Maurer a196b414bc 2002-07-19 Dietmar Maurer <[email protected]>
* x86.brg: correctly align valuetype arguments on the stack

	* jit.c (mono_analyze_stack): do not compute frame size here.

	* x86.brg: use macros to avoid code duplication for CALL opcodes,
	compute frame size in x86.brg

svn path=/trunk/mono/; revision=5929
2002-07-19 16:56:36 +00:00
Tim Coleman d20843d5e5 2002-07-19 Tim Coleman <[email protected]>
* Binding.cs:
	* BindingCollection.cs:
	* ChangeLog:
	* DocumentableItem.cs:
	* FaultBinding.cs:
	* FaultBindingCollection.cs:
	* HttpAddressBinding.cs:
	* HttpBinding.cs:
	* HttpOperationBinding.cs:
	* HttpUrlEncodedBinding.cs:
	* HttpUrlReplacementBinding.cs:
	* Import.cs:
	* ImportCollection.cs:
	* InputBinding.cs:
	* Message.cs:
	* MessageBinding.cs:
	* MessageCollection.cs:
	* MessagePart.cs:
	* MessagePartCollection.cs:
	* MimeContentBinding.cs:
	* MimeMultipartRelatedBinding.cs:
	* MimePart.cs:
	* MimePartCollection.cs:
	* MimeTextBinding.cs:
	* MimeTextMatch.cs:
	* MimeTextMatchCollection.cs:
	* MimeXmlBinding.cs:
	* Operation.cs:
	* OperationBinding.cs:
	* OperationBindingCollection.cs:
	* OperationCollection.cs:
	* OperationFault.cs:
	* OperationFaultCollection.cs:
	* OperationFlow.cs:
	* OperationInput.cs:
	* OperationMessage.cs:
	* OperationMessageCollection.cs:
	* OperationOutput.cs:
	* OutputBinding.cs:
	* Port.cs:
	* PortCollection.cs:
	* PortType.cs:
	* PortTypeCollection.cs:
	* ProtocolImporter.cs:
	* ProtocolReflector.cs:
	* Service.cs:
	* ServiceCollection.cs:
	* ServiceDescription.cs:
	* ServiceDescriptionBaseCollection.cs:
	* ServiceDescriptionCollection.cs:
	* ServiceDescriptionFormatExtension.cs:
	* ServiceDescriptionFormatExtensionCollection.cs:
	* ServiceDescriptionImportStyle.cs:
	* ServiceDescriptionImportWarnings.cs:
	* ServiceDescriptionImporter.cs:
	* ServiceDescriptionReflector.cs:
	* SoapAddressBinding.cs:
	* SoapBinding.cs:
	* SoapBindingStyle.cs:
	* SoapBindingUse.cs:
	* SoapBodyBinding.cs:
	* SoapExtensionImporter.cs:
	* SoapExtensionReflector.cs:
	* SoapFaultBinding.cs:
	* SoapHeaderBinding.cs:
	* SoapHeaderFaultBinding.cs:
	* SoapOperationBinding.cs:
	* SoapProtocolImporter.cs:
	* SoapTransportImporter.cs:
	* Types.cs:
		Initial implementation

svn path=/trunk/mcs/; revision=5928
2002-07-19 16:55:53 +00:00
Tim Coleman d4fea2ad8b 2002-07-19 Tim Coleman <[email protected]>
* ChangeLog:
	* TODOAttribute.cs:
	* WebMethodAttribute.cs:
	* WebService.cs:
	* WebServiceAttribute.cs:
	* WebServiceBindingAttribute.cs:
		Initial implementation

svn path=/trunk/mcs/; revision=5927
2002-07-19 16:53:19 +00:00
Tim Coleman b552627f9b 2002-07-19 Tim Coleman <[email protected]>
* System.Web.Services.build: added
        * System.Web.Services:
        * System.Web.Services.Configuration:
        * System.Web.Services.Description:
        * System.Web.Services.Discovery:
        * System.Web.Services.Protocols:
                New directories added

svn path=/trunk/mcs/; revision=5926
2002-07-19 16:52:05 +00:00
Martin Baulig a85f22295c Same like library.make, but for programs.
svn path=/trunk/mcs/; revision=5925
2002-07-19 16:41:34 +00:00
Martin Baulig 126bde7165 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu, list.unix: Added makefile.gnu for self-hosting
	GNU/Linux build.

	* src/NUnitConsole/makefile.gnu, src/NUnitConsole/list.unix: Likewise.

svn path=/trunk/mcs/; revision=5924
2002-07-19 16:41:10 +00:00
Martin Baulig 5428405525 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu (DIRS): Added nunit.

svn path=/trunk/mcs/; revision=5923
2002-07-19 16:21:38 +00:00
Martin Baulig 96382c69d8 2002-07-19 Martin Baulig <[email protected]>
* makefile.gnu, list.unix: Added makefile.gnu for self-hosting
	GNU/Linux build.

svn path=/trunk/mcs/; revision=5922
2002-07-19 16:21:01 +00:00
Martin Baulig 6e76bb9a06 Updated the makefiles, put all dlls into class/lib/, make them actually work.
svn path=/trunk/mcs/; revision=5921
2002-07-19 16:10:11 +00:00
Martin Baulig eebec713de 2002-07-19 Martin Baulig <[email protected]>
Added the super-cool set of makefiles from Peter Williams which run on
	GNU/Linux without NAnt.  I named them `makefile.gnu' and not `GNUmakefile'
	since this won't break the windows build.

	To compile stuff on GNU/Linux, just do a `make -f makefile.gnu'.

	* mcs-tool, */makefile.gnu, class/library.make: New files.

svn path=/trunk/mcs/; revision=5920
2002-07-19 15:48:49 +00:00
Martin Baulig 980ed6ee33 2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
	`make NANT=/usr/local/bin/NAnt.exe'.

svn path=/trunk/mcs/; revision=5919
2002-07-19 15:20:38 +00:00
Martin Baulig dd424c8fec 2002-07-19 Martin Baulig <[email protected]>
* */makefile (NANT): Use a variable `NANT' so the user can override it with
	`make NANT=/usr/local/bin/NAnt.exe'.

svn path=/trunk/mcs/; revision=5918
2002-07-19 15:08:33 +00:00
Martin Baulig 95027296b9 2002-07-19 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitParams): Use TypeManager.LookupType(),
	not Type.GetType() to lookup the array type.  This is needed when
	we're constructing an array of a user-defined type.
	(ArrayAccess.EmitDynamicInitializers): Only emit the Ldelema for
	single-dimensional arrays, but also for single-dimensial arrays of
	type decimal.

svn path=/trunk/mcs/; revision=5917
2002-07-19 14:28:45 +00:00
Martin Baulig 307cc0c1da 2002-07-19 Martin Baulig <[email protected]>
* expression.cs (New.DoEmit): Create a new LocalTemporary each time
	this function is called, it's not allowed to share LocalBuilders
	among ILGenerators.

svn path=/trunk/mcs/; revision=5916
2002-07-19 13:32:57 +00:00
Dietmar Maurer e9af813033 2002-07-19 Dietmar Maurer <[email protected]>
* marshal.c (emit_ptr_to_str_conv): marshal object as structs
	(emit_str_to_ptr_conv): marshal object as structs

	* metadata.c (mono_type_to_unmanaged): marshal object as structs

svn path=/trunk/mono/; revision=5915
2002-07-19 13:29:27 +00:00
Martin Baulig fa8a352b57 2002-07-19 Martin Baulig <[email protected]>
* ILGenerator.cs (Emit (OpCode, LocalBuilder)): Throw an exception
	when trying to emit a local that was defined in a different ILGenerator.

	* LocalBuilder.cs (LocalBuilder): Added `ILGenetator' argument to
	the constructor.

svn path=/trunk/mcs/; revision=5914
2002-07-19 12:52:28 +00:00
Martin Baulig cf2c79351d 2002-07-19 Martin Baulig <[email protected]>
* threads.c (ExitThread): Call exit() if no threads has been
	created yet.

svn path=/trunk/mono/; revision=5913
2002-07-19 12:50:10 +00:00
Paolo Molaro ad25f24f21 Fri Jul 19 14:23:46 CEST 2002 Paolo Molaro <[email protected]>
* monograph.c: simple stats on opcode size.

svn path=/trunk/mono/; revision=5912
2002-07-19 12:25:53 +00:00
Paolo Molaro 0bcede51f3 Fri Jul 19 14:21:18 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fix float boxing on LE systems.

svn path=/trunk/mono/; revision=5911
2002-07-19 12:23:32 +00:00
Paolo Molaro 6830d9226e Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <[email protected]>
* main.c: handle null parent.

svn path=/trunk/mono/; revision=5910
2002-07-19 12:22:02 +00:00
Paolo Molaro c594e2c263 Fri Jul 19 14:18:36 CEST 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: fix float loads. Simple delegate marshaling fix.

svn path=/trunk/mono/; revision=5909
2002-07-19 12:21:01 +00:00
Dietmar Maurer 25cafac6c0 2002-07-19 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): support value types

svn path=/trunk/mono/; revision=5908
2002-07-19 10:52:43 +00:00
Martin Baulig bfb91b03b7 NO ARGS: System/ArrayTest.cs: (36)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (36)
NO ARGS:  System/ArrayTest.cs: (41)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (41)
NO ARGS:  System/ArrayTest.cs: (46)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (46)
NO ARGS:  System/ArrayTest.cs: (52)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (52)
NO ARGS:  System/ArrayTest.cs: (56)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (56)
NO ARGS:  System/ArrayTest.cs: (60)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (60)
NO ARGS:  System/ArrayTest.cs: (66)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (66)
ARGS: 1  System/ArrayTest.cs: (69)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (69)
ARGS: 2  System/ArrayTest.cs: (72)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (72)
ARGS: 1  System/ArrayTest.cs: (86)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (86)
NO ARGS:  System/ArrayTest.cs: (94)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (94)
NO ARGS:  System/ArrayTest.cs: (101)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (101)
NO ARGS:  System/ArrayTest.cs: (106)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (106)
ARGS: 1  System/ArrayTest.cs: (121)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (121)
NO ARGS:  System/ArrayTest.cs: (129)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (129)
NO ARGS:  System/ArrayTest.cs: (137)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (137)
NO ARGS:  System/ArrayTest.cs: (145)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (145)
NO ARGS:  System/ArrayTest.cs: (153)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (153)
NO ARGS:  System/ArrayTest.cs: (160)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (160)
NO ARGS:  System/ArrayTest.cs: (165)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (165)
NO ARGS:  System/ArrayTest.cs: (182)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (182)
NO ARGS:  System/ArrayTest.cs: (184)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (184)
NO ARGS:  System/ArrayTest.cs: (192)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (192)
NO ARGS:  System/ArrayTest.cs: (200)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (200)
NO ARGS:  System/ArrayTest.cs: (208)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (208)
NO ARGS:  System/ArrayTest.cs: (215)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ArrayTest.cs: (215)
NO ARGS:  System/ArrayTest.cs: (218)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ArrayTest.cs: (218)
NO ARGS:  System/ArrayTest.cs: (226)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (226)
NO ARGS:  System/ArrayTest.cs: (232)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (232)
NO ARGS:  System/ArrayTest.cs: (233)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (233)
NO ARGS:  System/ArrayTest.cs: (234)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (234)
NO ARGS:  System/ArrayTest.cs: (235)
LOOKUP: System.Char[][] System.Char[][] System.Char[][] 1 System.Char[] ||| System/ArrayTest.cs: (235)
NO ARGS:  System/ArrayTest.cs: (249)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ArrayTest.cs: (249)
NO ARGS:  System/ArrayTest.cs: (259)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ArrayTest.cs: (259)
ARGS: 0  System/ArrayTest.cs: (269)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (269)
ARGS: 1  System/ArrayTest.cs: (270)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (270)
ARGS: 0  System/ArrayTest.cs: (280)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (280)
ARGS: 0  System/ArrayTest.cs: (281)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (281)
ARGS: 0  System/ArrayTest.cs: (291)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (291)
ARGS: 0  System/ArrayTest.cs: (292)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (292)
ARGS: 0  System/ArrayTest.cs: (303)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (303)
ARGS: 0  System/ArrayTest.cs: (304)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (304)
ARGS: 0  System/ArrayTest.cs: (314)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (314)
ARGS: 0  System/ArrayTest.cs: (315)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (315)
ARGS: 0  System/ArrayTest.cs: (325)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (325)
ARGS: 0  System/ArrayTest.cs: (326)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (326)
NO ARGS:  System/ArrayTest.cs: (334)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (334)
ARGS: 0  System/ArrayTest.cs: (335)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (335)
ARGS: 0  System/ArrayTest.cs: (356)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (356)
ARGS: 0  System/ArrayTest.cs: (357)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (357)
ARGS: 0  System/ArrayTest.cs: (367)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (367)
ARGS: 0  System/ArrayTest.cs: (368)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (368)
NO ARGS:  System/ArrayTest.cs: (376)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (376)
ARGS: 0  System/ArrayTest.cs: (377)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (377)
ARGS: 0  System/ArrayTest.cs: (396)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (396)
ARGS: 0  System/ArrayTest.cs: (406)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (406)
ARGS: 1  System/ArrayTest.cs: (407)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (407)
ARGS: 1  System/ArrayTest.cs: (417)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (417)
ARGS: 0  System/ArrayTest.cs: (418)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (418)
ARGS: 1  System/ArrayTest.cs: (428)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (428)
ARGS: 0  System/ArrayTest.cs: (429)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (429)
ARGS: 0  System/ArrayTest.cs: (439)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (439)
ARGS: 0  System/ArrayTest.cs: (440)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (440)
ARGS: 0  System/ArrayTest.cs: (450)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (450)
ARGS: 0  System/ArrayTest.cs: (451)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (451)
ARGS: 0  System/ArrayTest.cs: (461)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (461)
ARGS: 0  System/ArrayTest.cs: (462)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (462)
NO ARGS:  System/ArrayTest.cs: (488)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ArrayTest.cs: (488)
ARGS: 0  System/ArrayTest.cs: (489)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (489)
ARGS: 0  System/ArrayTest.cs: (507)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (507)
ARGS: 0  System/ArrayTest.cs: (508)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (508)
ARGS: 0  System/ArrayTest.cs: (557)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (557)
ARGS: 0  System/ArrayTest.cs: (567)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (567)
ARGS: 0  System/ArrayTest.cs: (568)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (568)
NO ARGS:  System/ArrayTest.cs: (586)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (586)
NO ARGS:  System/ArrayTest.cs: (587)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (587)
NO ARGS:  System/ArrayTest.cs: (588)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (588)
NO ARGS:  System/ArrayTest.cs: (604)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (604)
NO ARGS:  System/ArrayTest.cs: (629)
LOOKUP: System.String[,] Mono.CSharp.TypeExpr String[,] 2 System.String ||| System/ArrayTest.cs: (629)
NO ARGS:  System/ArrayTest.cs: (647)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (647)
ARGS: 0  System/ArrayTest.cs: (655)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (655)
ARGS: 0  System/ArrayTest.cs: (656)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (656)
ARGS: 0  System/ArrayTest.cs: (661)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (661)
ARGS: 0  System/ArrayTest.cs: (682)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (682)
ARGS: 0  System/ArrayTest.cs: (683)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (683)
ARGS: 0  System/ArrayTest.cs: (701)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (701)
ARGS: 0  System/ArrayTest.cs: (702)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (702)
ARGS: 0  System/ArrayTest.cs: (720)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (720)
ARGS: 0  System/ArrayTest.cs: (721)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (721)
ARGS: 0  System/ArrayTest.cs: (739)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (739)
ARGS: 0  System/ArrayTest.cs: (740)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (740)
ARGS: 0  System/ArrayTest.cs: (758)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (758)
ARGS: 0  System/ArrayTest.cs: (759)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (759)
ARGS: 0  System/ArrayTest.cs: (768)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (768)
ARGS: 0  System/ArrayTest.cs: (782)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (782)
ARGS: 0  System/ArrayTest.cs: (783)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (783)
ARGS: 0  System/ArrayTest.cs: (792)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (792)
ARGS: 0  System/ArrayTest.cs: (806)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (806)
ARGS: 0  System/ArrayTest.cs: (807)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (807)
NO ARGS:  System/ArrayTest.cs: (817)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (817)
NO ARGS:  System/ArrayTest.cs: (827)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (827)
ARGS: 0  System/ArrayTest.cs: (835)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (835)
ARGS: 1  System/ArrayTest.cs: (839)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (839)
NO ARGS:  System/ArrayTest.cs: (850)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (850)
NO ARGS:  System/ArrayTest.cs: (860)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (860)
ARGS: 0  System/ArrayTest.cs: (868)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (868)
ARGS: 1  System/ArrayTest.cs: (872)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (872)
NO ARGS:  System/ArrayTest.cs: (883)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (883)
NO ARGS:  System/ArrayTest.cs: (893)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (893)
ARGS: 0  System/ArrayTest.cs: (901)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (901)
ARGS: 1  System/ArrayTest.cs: (905)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (905)
ARGS: 1  System/ArrayTest.cs: (916)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (916)
NO ARGS:  System/ArrayTest.cs: (926)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (926)
NO ARGS:  System/ArrayTest.cs: (936)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (936)
NO ARGS:  System/ArrayTest.cs: (944)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (944)
ARGS: 0  System/ArrayTest.cs: (953)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (953)
ARGS: 1  System/ArrayTest.cs: (963)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (963)
ARGS: 1  System/ArrayTest.cs: (973)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (973)
ARGS: 1  System/ArrayTest.cs: (981)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (981)
ARGS: 0  System/ArrayTest.cs: (998)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (998)
ARGS: 2  System/ArrayTest.cs: (1008)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1008)
ARGS: 2  System/ArrayTest.cs: (1018)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1018)
ARGS: 2  System/ArrayTest.cs: (1026)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1026)
ARGS: 0  System/ArrayTest.cs: (1047)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1047)
ARGS: 0  System/ArrayTest.cs: (1057)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1057)
NO ARGS:  System/ArrayTest.cs: (1058)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1058)
ARGS: 1  System/ArrayTest.cs: (1068)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1068)
NO ARGS:  System/ArrayTest.cs: (1069)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1069)
ARGS: 1  System/ArrayTest.cs: (1079)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1079)
NO ARGS:  System/ArrayTest.cs: (1080)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1080)
ARGS: 1  System/ArrayTest.cs: (1088)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1088)
NO ARGS:  System/ArrayTest.cs: (1096)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1096)
ARGS: 1  System/ArrayTest.cs: (1116)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1116)
NO ARGS:  System/ArrayTest.cs: (1124)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1124)
ARGS: 1  System/ArrayTest.cs: (1143)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1143)
ARGS: 0  System/ArrayTest.cs: (1153)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1153)
NO ARGS:  System/ArrayTest.cs: (1161)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1161)
ARGS: 1  System/ArrayTest.cs: (1181)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1181)
ARGS: 0  System/ArrayTest.cs: (1191)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1191)
ARGS: 0  System/ArrayTest.cs: (1201)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1201)
NO ARGS:  System/ArrayTest.cs: (1209)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1209)
ARGS: 1  System/ArrayTest.cs: (1231)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1231)
NO ARGS:  System/ArrayTest.cs: (1239)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1239)
ARGS: 1  System/ArrayTest.cs: (1259)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1259)
ARGS: 0  System/ArrayTest.cs: (1269)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1269)
NO ARGS:  System/ArrayTest.cs: (1277)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1277)
ARGS: 1  System/ArrayTest.cs: (1297)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1297)
ARGS: 0  System/ArrayTest.cs: (1307)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1307)
ARGS: 0  System/ArrayTest.cs: (1317)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1317)
NO ARGS:  System/ArrayTest.cs: (1325)
LOOKUP: System.String[] Mono.CSharp.TypeExpr String[] 1 System.String ||| System/ArrayTest.cs: (1325)
ARGS: 1  System/ArrayTest.cs: (1353)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1353)
NO ARGS:  System/ArrayTest.cs: (1361)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1361)
ARGS: 1  System/ArrayTest.cs: (1380)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1380)
NO ARGS:  System/ArrayTest.cs: (1408)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1408)
ARGS: 1  System/ArrayTest.cs: (1420)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1420)
NO ARGS:  System/ArrayTest.cs: (1430)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1430)
NO ARGS:  System/ArrayTest.cs: (1440)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1440)
NO ARGS:  System/ArrayTest.cs: (1448)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1448)
ARGS: 0  System/ArrayTest.cs: (1449)
LOOKUP: System.Char[] System.Char[] System.Char 1 System.Char ||[]| System/ArrayTest.cs: (1449)
NO ARGS:  System/ArrayTest.cs: (1457)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1457)
ARGS: 0  System/ArrayTest.cs: (1458)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1458)
ARGS: 0  System/ArrayTest.cs: (1466)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1466)
ARGS: 0  System/ArrayTest.cs: (1467)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1467)
ARGS: 0  System/ArrayTest.cs: (1480)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1480)
ARGS: 1  System/ArrayTest.cs: (1490)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1490)
ARGS: 1  System/ArrayTest.cs: (1500)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1500)
ARGS: 1  System/ArrayTest.cs: (1508)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1508)
ARGS: 1  System/ArrayTest.cs: (1509)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1509)
ARGS: 0  System/ArrayTest.cs: (1527)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1527)
ARGS: 2  System/ArrayTest.cs: (1537)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1537)
ARGS: 2  System/ArrayTest.cs: (1547)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1547)
ARGS: 2  System/ArrayTest.cs: (1555)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1555)
ARGS: 2  System/ArrayTest.cs: (1556)
LOOKUP: System.Char[,,] Mono.CSharp.TypeExpr[,,] Char 3 System.Char ||[,,]| System/ArrayTest.cs: (1556)
ARGS: 0  System/ArrayTest.cs: (1578)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1578)
ARGS: 0  System/ArrayTest.cs: (1588)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1588)
NO ARGS:  System/ArrayTest.cs: (1589)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1589)
ARGS: 1  System/ArrayTest.cs: (1599)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1599)
NO ARGS:  System/ArrayTest.cs: (1600)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1600)
ARGS: 1  System/ArrayTest.cs: (1610)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1610)
NO ARGS:  System/ArrayTest.cs: (1611)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1611)
ARGS: 1  System/ArrayTest.cs: (1619)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1619)
ARGS: 1  System/ArrayTest.cs: (1620)
LOOKUP: System.Char[,] Mono.CSharp.TypeExpr[,] Char 2 System.Char ||[,]| System/ArrayTest.cs: (1620)
NO ARGS:  System/ArrayTest.cs: (1625)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1625)
NO ARGS:  System/ArrayTest.cs: (1638)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1638)
ARGS: 0  System/ArrayTest.cs: (1639)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1639)
NO ARGS:  System/ArrayTest.cs: (1650)
LOOKUP: System.Int64[] System.Int64[] System.Int64[] 1 System.Int64 ||| System/ArrayTest.cs: (1650)
ARGS: 0  System/ArrayTest.cs: (1651)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 ||[]| System/ArrayTest.cs: (1651)
NO ARGS:  System/ArrayTest.cs: (1661)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1661)
ARGS: 0  System/ArrayTest.cs: (1662)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1662)
ARGS: 0  System/ArrayTest.cs: (1671)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1671)
ARGS: 0  System/ArrayTest.cs: (1672)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1672)
ARGS: 0  System/ArrayTest.cs: (1682)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr[] Object 1 System.Object ||[]| System/ArrayTest.cs: (1682)
ARGS: 0  System/ArrayTest.cs: (1683)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1683)
NO ARGS:  System/ArrayTest.cs: (1692)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1692)
ARGS: 0  System/ArrayTest.cs: (1693)
LOOKUP: System.String[] System.String[] System.String 1 System.String ||[]| System/ArrayTest.cs: (1693)
NO ARGS:  System/ArrayTest.cs: (1700)
LOOKUP: System.Single[] Mono.CSharp.TypeExpr Single[] 1 System.Single ||| System/ArrayTest.cs: (1700)
ARGS: 0  System/ArrayTest.cs: (1701)
LOOKUP: System.Int64[] System.Int64[] System.Int64 1 System.Int64 ||[]| System/ArrayTest.cs: (1701)
NO ARGS:  System/ArrayTest.cs: (1721)
LOOKUP: System.Type[] Mono.CSharp.TypeExpr Type[] 1 System.Type ||| System/ArrayTest.cs: (1721)
NO ARGS:  System/ArrayTest.cs: (1736)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr Object[] 1 System.Object ||| System/ArrayTest.cs: (1736)
NO ARGS:  System/ArrayTest.cs: (1738)
LOOKUP: System.Object[] Mono.CSharp.TypeExpr Object[] 1 System.Object ||| System/ArrayTest.cs: (1738)
NO ARGS:  System/ArrayTest.cs: (1740)
LOOKUP: System.Object[][] Mono.CSharp.TypeExpr Object[][] 1 System.Object[] ||| System/ArrayTest.cs: (1740)
NO ARGS:  System/ArrayTest.cs: (1755)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1755)
ARGS: 0  System/ArrayTest.cs: (1780)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1780)
ARGS: 0  System/ArrayTest.cs: (1850)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1850)
ARGS: 0  System/ArrayTest.cs: (1866)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/ArrayTest.cs: (1866)
ARGS: 0  System/ArrayTest.cs: (1907)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1907)
ARGS: 0  System/ArrayTest.cs: (1917)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr[] Char 1 System.Char ||[]| System/ArrayTest.cs: (1917)
NO ARGS:  System/ArrayTest.cs: (1926)
LOOKUP: System.Char[] System.Char[] System.Char[] 1 System.Char ||| System/ArrayTest.cs: (1926)
NO ARGS:  System/ArrayTest.cs: (1927)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/ArrayTest.cs: (1927)
NO ARGS:  System/BitConverterTest.cs: (45)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (45)
NO ARGS:  System/BitConverterTest.cs: (87)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (87)
NO ARGS:  System/BitConverterTest.cs: (133)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (133)
NO ARGS:  System/BitConverterTest.cs: (174)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (174)
NO ARGS:  System/BitConverterTest.cs: (219)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (219)
NO ARGS:  System/BitConverterTest.cs: (263)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (263)
NO ARGS:  System/BitConverterTest.cs: (306)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (306)
NO ARGS:  System/BitConverterTest.cs: (350)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (350)
NO ARGS:  System/BitConverterTest.cs: (393)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (393)
NO ARGS:  System/BitConverterTest.cs: (437)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (437)
NO ARGS:  System/BitConverterTest.cs: (481)
LOOKUP: System.Byte[] System.Byte[] System.Byte 1 System.Byte |[]|[]| System/BitConverterTest.cs: (481)
NO ARGS:  System/ByteTest.cs: (24)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (24)
NO ARGS:  System/ByteTest.cs: (25)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (25)
NO ARGS:  System/ByteTest.cs: (28)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (28)
NO ARGS:  System/ByteTest.cs: (31)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (31)
NO ARGS:  System/ByteTest.cs: (34)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (34)
NO ARGS:  System/ByteTest.cs: (37)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (37)
NO ARGS:  System/ByteTest.cs: (24)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (24)
NO ARGS:  System/ByteTest.cs: (25)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (25)
NO ARGS:  System/ByteTest.cs: (28)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (28)
NO ARGS:  System/ByteTest.cs: (31)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (31)
NO ARGS:  System/ByteTest.cs: (34)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (34)
NO ARGS:  System/ByteTest.cs: (37)
LOOKUP: System.String[] System.String[] System.String[] 1 System.String ||| System/ByteTest.cs: (37)
NO ARGS:  System/ConsoleTest.cs: (225)
LOOKUP: System.Boolean[] Mono.CSharp.TypeExpr Boolean[] 1 System.Boolean ||| System/ConsoleTest.cs: (225)
NO ARGS:  System/ConsoleTest.cs: (234)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ConsoleTest.cs: (234)
NO ARGS:  System/ConsoleTest.cs: (267)
LOOKUP: System.Boolean[] Mono.CSharp.TypeExpr Boolean[] 1 System.Boolean ||| System/ConsoleTest.cs: (267)
NO ARGS:  System/ConsoleTest.cs: (276)
LOOKUP: System.Char[] Mono.CSharp.TypeExpr Char[] 1 System.Char ||| System/ConsoleTest.cs: (276)
NO ARGS:  System/DecimalTest.cs: (77)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (77)
NO ARGS:  System/DecimalTest.cs: (78)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (78)
NO ARGS:  System/DecimalTest.cs: (79)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (79)
NO ARGS:  System/DecimalTest.cs: (80)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (80)
NO ARGS:  System/DecimalTest.cs: (81)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (81)
NO ARGS:  System/DecimalTest.cs: (82)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (82)
NO ARGS:  System/DecimalTest.cs: (83)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (83)
NO ARGS:  System/DecimalTest.cs: (84)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (84)
NO ARGS:  System/DecimalTest.cs: (85)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (85)
NO ARGS:  System/DecimalTest.cs: (77)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (77)
NO ARGS:  System/DecimalTest.cs: (78)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (78)
NO ARGS:  System/DecimalTest.cs: (79)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (79)
NO ARGS:  System/DecimalTest.cs: (80)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (80)
NO ARGS:  System/DecimalTest.cs: (81)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (81)
NO ARGS:  System/DecimalTest.cs: (82)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (82)
NO ARGS:  System/DecimalTest.cs: (83)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (83)
NO ARGS:  System/DecimalTest.cs: (84)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (84)
NO ARGS:  System/DecimalTest.cs: (85)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (85)
NO ARGS:  System/DecimalTest.cs: (101)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 |[]|[]| System/DecimalTest.cs: (101)
NO ARGS:  System/DecimalTest.cs: (108)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 |[]|[]| System/DecimalTest.cs: (108)
NO ARGS:  System/DecimalTest.cs: (112)
LOOKUP: System.Int32[] System.Int32[] System.Int32 1 System.Int32 |[]|[]| System/DecimalTest.cs: (112)
NO ARGS:  System/DecimalTest.cs: (206)
LOOKUP: MonoTests.System.ToStringTest[] Mono.CSharp.TypeExpr ToStringTest[] 1 MonoTests.System.ToStringTest ||| System/DecimalTest.cs: (206)
ARGS: 0  System/DecimalTest.cs: (239)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (239)
ARGS: 0  System/DecimalTest.cs: (254)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (254)
ARGS: 0  System/DecimalTest.cs: (273)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (273)
ARGS: 0  System/DecimalTest.cs: (288)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (288)
ARGS: 0  System/DecimalTest.cs: (303)
LOOKUP: System.String[] Mono.CSharp.TypeExpr[] String 1 System.String ||[]| System/DecimalTest.cs: (303)
NO ARGS:  System/DecimalTest.cs: (332)
LOOKUP: MonoTests.System.ParseTest[] Mono.CSharp.TypeExpr ParseTest[] 1 MonoTests.System.ParseTest ||| System/DecimalTest.cs: (332)
NO ARGS:  System/DecimalTest.cs: (401)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (401)
NO ARGS:  System/DecimalTest.cs: (402)
LOOKUP: System.Int32[] System.Int32[] System.Int32[] 1 System.Int32 ||| System/DecimalTest.cs: (402)
NO ARGS:  System/DecimalTest.cs: (432)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (432)
NO ARGS:  System/DecimalTest.cs: (433)
LOOKUP: System.UInt32[] System.UInt32[] System.UInt32[] 1 System.UInt32 ||| System/DecimalTest.cs: (433)
NO ARGS:  System/DecimalTest.cs: (463)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (463)
NO ARGS:  System/DecimalTest.cs: (464)
LOOKUP: System.Int64[] System.Int64[] System.Int64[] 1 System.Int64 ||| System/DecimalTest.cs: (464)
NO ARGS:  System/DecimalTest.cs: (494)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal[] 1 System.Decimal ||| System/DecimalTest.cs: (494)
NO ARGS:  System/DecimalTest.cs: (495)
LOOKUP: System.UInt64[] System.UInt64[] System.UInt64[] 1 System.UInt64 ||| System/DecimalTest.cs: (495)
NO ARGS:  System/DecimalTest.cs: (828)
LOOKUP: System.Decimal[,] System.Decimal[,] System.Decimal[,] 2 System.Decimal ||| System/DecimalTest.cs: (828)
NO ARGS:  System/DecimalTest.cs: (857)
LOOKUP: System.Decimal[,] System.Decimal[,] System.Decimal[,] 2 System.Decimal ||| System/DecimalTest.cs: (857)
NO ARGS:  System/DecimalTest2.cs: (412)
LOOKUP: System.Decimal[] System.Decimal[] System.Decimal 1 System.Decimal |[]|[]| System/DecimalTest2.cs: (412)
NO ARGS:  System/DecimalTest2.cs: (1317)
LOOKUP: MonoTests.System.TestResult[] Mono.CSharp.TypeExpr[] TestResult 1 MonoTests.System.TestResult |[]|[]| System/DecimalTest2.cs: (1317)
NO ARGS:  System/DecimalTest2.cs: (2222)
LOOKUP: MonoTests.System.TestResult[] Mono.CSharp.TypeExpr[] TestResult 1 MonoTests.System.TestResult |[]|[]| System/DecimalTest2.cs: (2222)
NO ARGS:  System/DecimalTest2.cs: (3127)
LOOKUP: MonoTests.System.TestResult[] Mono.CSharp.TypeExpr[] TestResult 1 MonoTests.System.TestResult |[]|[]| System/DecimalTest2.cs: (3127)
ARGS: 0 System.Decimal[] System/DecimalTest2.cs: (412)
LOOKUP: System.Decimal[][] System.Decimal[][] System.Decimal 1 System.Decimal[] |[]|[][]| System/DecimalTest2.cs: (412)
CONVERT: DecimalLiteral (0) System.Decimal[]
System/DecimalTest2.cs(412) error CS0029: Cannot convert implicitly from `decimal' to `decimal[]'

svn path=/trunk/mcs/; revision=5901
2002-07-18 23:17:25 +00:00
Martin Baulig 516d50e56a 2002-07-19 Martin Baulig <[email protected]>
* expression.cs (Argument.Resolve): Report an error 118 when trying
	to pass a type as argument.

svn path=/trunk/mcs/; revision=5900
2002-07-18 23:08:18 +00:00
Martin Baulig c7f8884542 2002-07-18 Martin Baulig <[email protected]>
* ecore.cs (Expression.ImplicitNumericConversion): Don't emit a
	Conv_R_Un for the signed `long' type.

svn path=/trunk/mcs/; revision=5899
2002-07-18 21:55:53 +00:00
Martin Baulig 3c5d8b80ea Committing Miguel's type lookup patch.
2002-07-15  Miguel de Icaza  <[email protected]>

	* expression.cs (MemberAccess.DoResolve): Do not reuse the field
	`expr' for the temporary result, as that will fail if we do
	multiple resolves on the same expression.

2002-07-05  Miguel de Icaza  <[email protected]>

	* ecore.cs (SimpleNameResolve): Use ec.DeclSpace instead of
	ec.TypeContainer for looking up aliases.

	* class.cs (TypeContainer): Remove LookupAlias from here.

	* decl.cs (DeclSpace); Move here.

2002-07-01  Miguel de Icaza  <[email protected]>

	* class.cs (FindMembers): Only call filter if the constructor
	bulider is not null.

	Also handle delegates in `NestedTypes' now.  Now we will perform
	type lookups using the standard resolution process.  This also
	fixes a bug.

	* decl.cs (DeclSpace.ResolveType): New type resolution routine.
	This uses Expressions (the limited kind that can be parsed by the
	tree) instead of strings.

	* expression.cs (ComposedCast.ToString): Implement, used to flag
	errors since now we have to render expressions.

	(ArrayCreation): Kill FormElementType.  Use ComposedCasts in
	FormArrayType.

	* ecore.cs (SimpleName.ToString): ditto.

	* cs-parser.jay: Instead of using strings to assemble types, use
	Expressions to assemble the type (using SimpleName, ComposedCast,
	MemberAccess).  This should fix the type lookups in declarations,
	because we were using a different code path for this.

	* statement.cs (Block.Resolve): Continue processing statements
	even when there is an error.

svn path=/trunk/mcs/; revision=5898
2002-07-18 21:05:22 +00:00
Miguel de Icaza ea2c208d3c 2002-07-17 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Also remove the `remove' method from
	the list of pending items.

svn path=/trunk/mcs/; revision=5896
2002-07-18 17:06:09 +00:00
Dietmar Maurer cf5a8a4e10 2002-07-18 Dietmar Maurer <[email protected]>
* x86.brg (ARG_OBJ): allow zero sized ARG_OBJ

	* marshal.c (mono_marshal_get_native_wrapper): we an now return value types

svn path=/trunk/mono/; revision=5895
2002-07-18 16:34:46 +00:00
Gonzalo Paniagua Javier 9e135ddd49 Added SystemColor.cs
svn path=/trunk/mcs/; revision=5894
2002-07-18 14:17:19 +00:00
Gonzalo Paniagua Javier e01b1ec454 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
* FileInfo.cs: fixes buglet #27940

svn path=/trunk/mcs/; revision=5893
2002-07-18 14:04:36 +00:00
Dietmar Maurer 5043b920a1 2002-07-18 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): removed duplicated code,
	added support for exception filters

	* jit.c (mono_jit_compile_method): support exception filters

	* marshal.c (mono_marshal_get_runtime_invoke): use exception filters

svn path=/trunk/mono/; revision=5891
2002-07-18 13:42:21 +00:00
Paolo Molaro ec0b9b99d8 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: fix IsArrayImpl.

svn path=/trunk/mcs/; revision=5890
2002-07-18 12:48:55 +00:00
Gonzalo Paniagua Javier 560109f1eb 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
* Color.cs: implemented SystemColors and NamedColors properties that
	are used by ColorConverter, removed public constructor, use
	SystemColors, and misc. fixes to make it behave as MS (ToString,
	parsing names, FromKnownColor,...).

	* ColorConverter.cs: use NamedColors and SystemColors from Color when
	trying to get the color from its name.

	* SystemColors.cs: new file.

svn path=/trunk/mcs/; revision=5888
2002-07-18 10:49:54 +00:00
Miguel de Icaza 91d927ad89 2002-07-17 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Also remove the `remove' method from
	the list of pending items.

svn path=/trunk/mcs/; revision=5887
2002-07-18 03:26:52 +00:00
Miguel de Icaza a455c6efef Add these back
svn path=/trunk/mono/; revision=5886
2002-07-17 23:31:21 +00:00
Miguel de Icaza d79b5d964d Setup mono-tutorial, new news
svn path=/trunk/mono/; revision=5885
2002-07-17 23:11:08 +00:00
Miguel de Icaza 6642017c87 removed
svn path=/trunk/mono/; revision=5884
2002-07-17 23:06:09 +00:00
Miguel de Icaza eb8b92b927 Fix build
svn path=/trunk/mcs/; revision=5883
2002-07-17 21:13:41 +00:00
Miguel de Icaza 8b7b3a5005 2002-07-17 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference): Use ldarg.N (0..3) to
	generate more compact code.

svn path=/trunk/mcs/; revision=5882
2002-07-17 21:12:26 +00:00
Miguel de Icaza e000fd45db Update
svn path=/trunk/mono/; revision=5881
2002-07-17 21:11:53 +00:00
Martin Baulig 156a8b4a9b 2002-07-17 Martin Baulig <[email protected]>
* ConvertTest.cs: Commented out line 456 which contains a non-printable
	character which mcs does not like.  See also bug #27655.

svn path=/trunk/mcs/; revision=5880
2002-07-17 18:56:47 +00:00
Martin Baulig b1fa5dc472 2002-07-17 Martin Baulig <[email protected]>
* DecimalTest.cs, DecimanTest2.cs: Removed the `using S = System'.

svn path=/trunk/mcs/; revision=5876
2002-07-17 18:04:16 +00:00
Martin Baulig 5d449f00d7 2002-07-17 Martin Baulig <[email protected]>
* const.cs (Const.LookupConstantValue): Add support for constant
	`unchecked' and `checked' expressions.
	Also adding test case test-140.cs for this.

svn path=/trunk/mcs/; revision=5875
2002-07-17 18:00:05 +00:00
Martin Baulig 0454947a76 2002-07-17 Martin Baulig <[email protected]>
* test-144.cs: Added test for constant `unchecked' and `checked'
	expressions in a constant assignment.

svn path=/trunk/mcs/; revision=5874
2002-07-17 17:58:59 +00:00
Dick Porter 153bca0804 2002-07-17 Dick Porter <[email protected]>
* daemon-messages.c: Freebsd fixes from Andreas Kohn
	<[email protected]>

svn path=/trunk/mono/; revision=5873
2002-07-17 16:56:33 +00:00
Martin Baulig 93d963ac3c 2002-07-17 Martin Baulig <[email protected]>
* statement.cs (Foreach.GetEnumeratorFilter): When compiling corlib,
	check whether mi.ReturnType implements the IEnumerator interface; the
	`==' and the IsAssignableFrom() will fail in this situation.

svn path=/trunk/mcs/; revision=5872
2002-07-17 16:41:26 +00:00
Dietmar Maurer c0a676d97b new DestroyStructure icall
svn path=/trunk/mcs/; revision=5871
2002-07-17 16:38:22 +00:00
Dietmar Maurer 2193e38c1e (ves_icall_System_Runtime_InteropServices_Marshal_DestroyStructure): impl. + bug fixes
svn path=/trunk/mono/; revision=5870
2002-07-17 16:37:49 +00:00
Paolo Molaro 1c63cb23e1 Wed Jul 17 18:21:29 CEST 2002 Paolo Molaro <[email protected]>
* verify.c: more checks implemented.

svn path=/trunk/mono/; revision=5868
2002-07-17 16:23:12 +00:00
Gonzalo Paniagua Javier abc4da1355 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: removed unneeded line from GetExtension.

svn path=/trunk/mcs/; revision=5866
2002-07-17 16:08:50 +00:00
Gonzalo Paniagua Javier 7b1e42aaba 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* ListItem.cs: there was no code to unset the flags!!!

svn path=/trunk/mcs/; revision=5865
2002-07-17 16:08:28 +00:00
Gonzalo Paniagua Javier 2a93e6a46e 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputText.cs:
	* HtmlTextArea.cs: Initialize EventHandlerList indexer.

	* HtmlContainerControl.cs: almost rewritten to use a LiteralControl
	instead of maintaining some flags and strings. Implemented
	LoadViewState.

	* HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.

	* HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
	and Value.

svn path=/trunk/mcs/; revision=5864
2002-07-17 16:08:01 +00:00
Gonzalo Paniagua Javier d2e41bdda3 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed related to ViewState. Added RemovedControl.

	* ControlCollection.cs: notify owner of control removal.

	* CssStyleCollection.cs: almost rewritten to make it render the style
	attribute after changes to it.

	* Page.cs: follow the guidelines in 'Control execution lifecycle'.
	Removed Xml code.

	* StateBag.cs: don't use IDictionary.GetEnumerator on the
	HybridDictionary: it makes the program give an InvalidCastException at
	runtime. Why?

svn path=/trunk/mcs/; revision=5863
2002-07-17 16:07:33 +00:00
Jaime Anguiano Olarra 6474c2d013 Added Beginning
svn path=/trunk/mono/; revision=5861
2002-07-17 16:01:18 +00:00
Jaime Anguiano Olarra a2565a0e01 Added mono-beginning and mono-beginning-xml
svn path=/trunk/mono/; revision=5860
2002-07-17 16:00:43 +00:00
Jaime Anguiano Olarra 09aa966244 Replacement for mono-beginning.xml
svn path=/trunk/mono/; revision=5859
2002-07-17 15:59:29 +00:00
Jaime Anguiano Olarra b931770816 Updated.
svn path=/trunk/mono/; revision=5858
2002-07-17 15:58:44 +00:00
Dietmar Maurer 0c930a3911 (ves_icall_System_Runtime_InteropServices_Marshal_OffsetOf): impl.
(ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi): impl.
	(ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni): impl.

svn path=/trunk/mono/; revision=5851
2002-07-17 13:27:12 +00:00
Dietmar Maurer 93446df5fc added more icalls
svn path=/trunk/mcs/; revision=5850
2002-07-17 13:25:32 +00:00
Piers Haken 2a157572bf 2002-07-17 Piers Haken <[email protected]>
* DefaultContext.cs: implement 'string-length()', 'normalize-space()'
	* Parser.jay: remove redundant production
	* Expression.cs: add switches for debugging under VS.NET

svn path=/trunk/mcs/; revision=5849
2002-07-17 13:02:13 +00:00
Dietmar Maurer d7bacdc21d added more icalls
svn path=/trunk/mcs/; revision=5848
2002-07-17 11:30:19 +00:00
Dietmar Maurer db3d4397bd (ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringXXX):
impl. PtrToStringXXX methods
	(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure_type): impl.

svn path=/trunk/mono/; revision=5847
2002-07-17 11:29:25 +00:00
Piers Haken 060f49d85e 2002-07-17 Piers Haken <[email protected]>
* Expression.cs: implement nodeset/nodeset comparisons (non-optimal)

svn path=/trunk/mcs/; revision=5846
2002-07-17 11:07:20 +00:00
Dietmar Maurer 9ac94efd00 (mono_marshal_get_native_wrapper): allow byref arguments
svn path=/trunk/mono/; revision=5845
2002-07-17 09:51:57 +00:00
Dietmar Maurer bc08e8eb26 fix wrong bug#
svn path=/trunk/mono/; revision=5844
2002-07-17 09:29:35 +00:00
Dietmar Maurer 4d94664ea1 2002-07-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack CEE_DIV): added fix from Zoltan Varga
	(bug #25360)

svn path=/trunk/mono/; revision=5843
2002-07-17 09:28:21 +00:00
Dietmar Maurer 2163f06f1f 2002-07-17 Dietmar Maurer <[email protected]>
* helpers.c (mono_map_ldind_type): added suggested changes from
	Zoltan Varga (support MONO_TYPE_U), variou 64bit fixes

svn path=/trunk/mono/; revision=5842
2002-07-17 09:17:01 +00:00
Dietmar Maurer 634d0f4026 2002-07-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): remove the vtype pointer from the
	stack (fix bug #27420)

svn path=/trunk/mono/; revision=5840
2002-07-17 08:56:16 +00:00
Dietmar Maurer 70f7cce027 2002-07-17 Dietmar Maurer <[email protected]>
* marshal.c (mono_delegate_to_ftnptr): invoke the right method
	(fix bug #27695)

svn path=/trunk/mono/; revision=5839
2002-07-17 08:00:30 +00:00
Nick Drochak 7d9a15ae6d 2002/07/17 Nick Drochak <[email protected]>
* .cvsignore: Ignore dll's and pdb's (yay! a contribution this week)

svn path=/trunk/mcs/; revision=5838
2002-07-17 05:19:31 +00:00
Ravi Pratap M d063864546 2002-07-16 Ravi Pratap <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve) : Apply Gonzalo's fix
	here too.

svn path=/trunk/mcs/; revision=5833
2002-07-16 22:20:48 +00:00
Miguel de Icaza 12f7517dca More
svn path=/trunk/mono/; revision=5832
2002-07-16 21:44:49 +00:00
Gonzalo Paniagua Javier f0283215ad 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Color.cs: changed static properties to use FromArgbNamed. Also
	modified the program included in comments that get the values for
	static properties.

	(FromArgbNamed): build named colors.
	(FromKnownColor): fixed.
	(FromName): use a hash to look up colors by name.
	(FillColorNames): create the hash of colors.
	(Equals): compare values and name.
	(ToString): improved.

	* ColorTranslator.cs: implemented ToHtml.

svn path=/trunk/mcs/; revision=5831
2002-07-16 19:54:02 +00:00
Paolo Molaro 57f1b19866 Tue Jul 16 19:32:08 CEST 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: stack size check fix.

svn path=/trunk/mcs/; revision=5830
2002-07-16 17:34:12 +00:00
Dietmar Maurer 14fe5f0f8f 2002-07-16 Dietmar Maurer <[email protected]>
* x86.brg (CONV_R_UN)  use reg2 instead of reg1 for the negative check /fix bug 27849.

svn path=/trunk/mono/; revision=5829
2002-07-16 17:15:22 +00:00
Paolo Molaro be559f46b3 Tue Jul 16 19:00:57 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix buglet in parsing an assembly name.

svn path=/trunk/mono/; revision=5828
2002-07-16 17:02:46 +00:00
Dietmar Maurer da471d6ef8 2002-07-16 Dietmar Maurer <[email protected]>
* x86.brg (CALL_VOID): fix bug #27751

	* marshal.c (emit_ptr_to_str_conv): first impl.

svn path=/trunk/mono/; revision=5827
2002-07-16 15:27:07 +00:00
Dietmar Maurer 4f47f3101d bug fix
svn path=/trunk/mono/; revision=5826
2002-07-16 15:04:25 +00:00
Paolo Molaro f9fe52232a Tue Jul 16 12:39:33 CEST 2002 Paolo Molaro <[email protected]>
* object.c, class.h: cache the vtable in the class as suggested by
	[email protected] (Zoltan Varga).

svn path=/trunk/mono/; revision=5825
2002-07-16 10:45:35 +00:00
Paolo Molaro c41bfc1720 Tue Jul 16 11:27:57 CEST 2002 Paolo Molaro <[email protected]>
* class.h, loader.c: added mono_field_from_token().
	* verify.c: first cut of type checking code.

svn path=/trunk/mono/; revision=5823
2002-07-16 09:30:10 +00:00
Dietmar Maurer 2d9273260e 2002-07-16 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): support valuetypes

	* jit.c (mono_analyze_stack): adjust valuetype size for pinvoke calls

svn path=/trunk/mono/; revision=5822
2002-07-16 08:18:51 +00:00
Gonzalo Paniagua Javier b9c3c00dbf 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Formatter.cs: added namespace.

svn path=/trunk/mcs/; revision=5821
2002-07-16 06:29:01 +00:00
Gonzalo Paniagua Javier c429415731 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fire Init and Load events for all children.

svn path=/trunk/mcs/; revision=5820
2002-07-16 04:02:01 +00:00
Gonzalo Paniagua Javier 9d2be58f75 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: fixed bug #27811.

svn path=/trunk/mcs/; revision=5818
2002-07-16 02:32:15 +00:00
Piers Haken 426fb68bbd 2002-07-15 Piers Haken <[email protected]>
* Iterator.cs:
		- rename UnionIterator to MergedIterator,
		- create new UnionIterator to implment uniqueness for '|' operator
		- fix position bug in ArrayListIterator.Clone()
	* Expression.cs: use new UnionIterator constructor syntax

svn path=/trunk/mcs/; revision=5817
2002-07-16 00:42:32 +00:00
Dick Porter ae7edc1cf3 2002-07-15 Dick Porter <[email protected]>
* io.c: Removed bogus console_flush() method, that was just cut
	and pasted from file_flush when I separated the two handle types.

svn path=/trunk/mono/; revision=5815
2002-07-15 10:50:55 +00:00
Dick Porter fa40d76398 Fixed spelling
svn path=/trunk/mono/; revision=5814
2002-07-15 10:41:33 +00:00
Dietmar Maurer 939a493691 (mono_marshal_get_delegate_begin_invoke):
(mono_marshal_get_delegate_end_invoke):
	(mono_marshal_get_delegate_invoke): generate a special name for
	those methods (including the signature) and associate them whith
	the delegate class.

svn path=/trunk/mono/; revision=5813
2002-07-15 10:00:15 +00:00
Dietmar Maurer 4682ba8e2f 2002-07-15 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): handle enum types
	(fix bug #27782)
	(mono_marshal_get_remoting_invoke): impl.
	(mono_delegate_begin_invoke): impl.
	(mono_mb_emit_save_args): impl.
	(mono_delegate_end_invoke): impl.

svn path=/trunk/mono/; revision=5812
2002-07-15 09:28:15 +00:00
Jaime Anguiano Olarra 7a972ee68e Removed the mono-common-problems as a new doc (mono-beginning) replaces this.
svn path=/trunk/mono/; revision=5811
2002-07-15 08:09:09 +00:00
Jaime Anguiano Olarra d5c387ca01 Added the mono-beginning.xml document from which you can generate the
Mono Beginning HOWTO.

svn path=/trunk/mono/; revision=5810
2002-07-15 08:08:03 +00:00
Jaime Anguiano Olarra d119e1efbc Added the mono-beginning page.
svn path=/trunk/mono/; revision=5809
2002-07-15 08:07:03 +00:00
Dietmar Maurer e7701e0f67 2002-07-15 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): handle enum types
	(fix bug #27782)

svn path=/trunk/mono/; revision=5808
2002-07-15 06:21:37 +00:00
Jason Diamond 450a73a6d5 Fixed MoveToParent issues with the navigator and attributes.
svn path=/trunk/mcs/; revision=5807
2002-07-15 02:58:29 +00:00
Gonzalo Paniagua Javier 069ced7dc3 Added UserControl.cs
svn path=/trunk/mcs/; revision=5806
2002-07-15 02:43:34 +00:00
Gonzalo Paniagua Javier ee1ec195a3 2002-07-15 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs: New file.
	* System.Configuration.Install/AllTests.cs: New file.
	* System.Configuration.Install/ChangeLog: New file.
	* System.Configuration.Install_test.build: modified randomly until it
	works.

	Fixes 'make test'.

svn path=/trunk/mcs/; revision=5805
2002-07-15 02:30:27 +00:00
Miguel de Icaza a9de0bcd8d Add a MonoTODO
svn path=/trunk/mcs/; revision=5804
2002-07-15 01:03:05 +00:00
Miguel de Icaza 25173e61ec Add new test
svn path=/trunk/mcs/; revision=5803
2002-07-15 00:57:15 +00:00
Gonzalo Paniagua Javier 235993771c Crap, forgot to compile it. Fixed compilation
svn path=/trunk/mcs/; revision=5802
2002-07-15 00:56:02 +00:00
Miguel de Icaza e7ed573c21 2002-07-14 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference.AddressOf): Patch from Paolo
	Molaro: when we are a ref, the value already contains a pointer
	value, do not take the address of it.

svn path=/trunk/mcs/; revision=5801
2002-07-15 00:55:34 +00:00
Gonzalo Paniagua Javier fce3e84773 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: New file.

svn path=/trunk/mcs/; revision=5800
2002-07-15 00:46:35 +00:00
Rafael Teixeira 05dd8db0d9 2002-07-14 Rafael Teixeira <[email protected]>
* merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5798
2002-07-14 14:39:43 +00:00
Rafael Teixeira 0ed717ebac 2002-07-09 Rafael Teixeira <[email protected]>
* merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5797
2002-07-14 14:38:56 +00:00
Rafael Teixeira 72e394aba8 removed mb-parser.jay and mb-tokenizer.cs
svn path=/trunk/mcs/; revision=5796
2002-07-14 14:34:00 +00:00
Gonzalo Paniagua Javier f9993d92ec 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: quick&dirty hack to make redirection work. Should
	be out of there once we have SimpleWorkerRequest.

svn path=/trunk/mcs/; revision=5794
2002-07-14 02:48:38 +00:00
Gonzalo Paniagua Javier beb9a30f4b MonoTODO in LoaderOptimization
svn path=/trunk/mcs/; revision=5791
2002-07-14 01:16:30 +00:00
Gonzalo Paniagua Javier 28ba73f899 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* FontUnit.cs: use a hashtable for mapping size name to value.
	* HyperLink.cs: fixed a bug and a typo.
	* Unit.cs: some fixes to internal constructor.

svn path=/trunk/mcs/; revision=5790
2002-07-14 01:13:50 +00:00
Gonzalo Paniagua Javier d2f0060efc 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: little typo, big headache.

svn path=/trunk/mcs/; revision=5789
2002-07-14 01:10:27 +00:00
Miguel de Icaza 9794ca0af3 Move files here
svn path=/trunk/mcs/; revision=5788
2002-07-14 00:30:50 +00:00
Miguel de Icaza 2171de772f Remove files from here
svn path=/trunk/mcs/; revision=5787
2002-07-14 00:30:15 +00:00
Miguel de Icaza d019ac0e5c More docs
svn path=/trunk/mcs/; revision=5786
2002-07-14 00:28:44 +00:00
Gonzalo Paniagua Javier 6ca2807e53 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed a couple of range checks.
	* WebControl.cs: MS lies! Not all WebControls must be rendered inside
	an HtmlForm (p.e., Label).

svn path=/trunk/mcs/; revision=5785
2002-07-13 23:07:22 +00:00
Gonzalo Paniagua Javier f91038300e Fixed compilation.
svn path=/trunk/mcs/; revision=5784
2002-07-13 22:32:37 +00:00
Gonzalo Paniagua Javier b0f8ebb334 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ToolboxItemAttribute.cs: New file.

svn path=/trunk/mcs/; revision=5783
2002-07-13 22:25:17 +00:00
Jonathan Pryor ad07c77f3e * ResourcePermissionBase.cs: Stubbed out
* ResourcePermissionBaseEntry.cs: Implemented.

svn path=/trunk/mcs/; revision=5781
2002-07-13 19:03:32 +00:00
Gonzalo Paniagua Javier d79b6bdd1f 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* reflection.[ch]:
	(mono_reflection_type_from_name): now it has a MonoImage parameter
	which is used as the default image to search the type in. If the image
	is NULL or getting the type from it fails, it defaults to corlib.

	* icall.c: changed 1 call to mono_reflection_type_from_name to match
	new parameter.

svn path=/trunk/mono/; revision=5780
2002-07-13 19:01:12 +00:00
Jonathan Pryor c35bfc2d86 Added new assembly to build, System.Configurations.Install.dll.
svn path=/trunk/mcs/; revision=5779
2002-07-13 18:59:33 +00:00
Jonathan Pryor 6adde675c7 Added new assembly (System.Configuration.Install.dll).
Currently the only class I've seen that belongs here is
System.Configuration.Install.UninstallAction, but there are sure to be more.

Set up NAnt build files to build System.Configuration.Install.Dll, Test cases.

svn path=/trunk/mcs/; revision=5778
2002-07-13 18:58:23 +00:00
Adam Treat dcdaf39b3d * Implemented Type.GetMethod (string) overload. This is a kludge until GetMethodImpl is working ;-)
svn path=/trunk/mcs/; revision=5777
2002-07-13 18:48:47 +00:00
Adam Treat a37e583ddb * Implemented CreateDelegate and stubbed out some overloads
* Fixed DynamicInvokeImpl

svn path=/trunk/mcs/; revision=5776
2002-07-13 18:47:48 +00:00
Adam Treat 4161e6d1e8 * Added a test case for System.Delegate.CreateDelegate()
svn path=/trunk/mono/; revision=5775
2002-07-13 18:46:16 +00:00
Adam Treat d2a3f49c31 * Created icall ves_delegate_createdelegate using ldftn opcode.
svn path=/trunk/mono/; revision=5774
2002-07-13 18:45:04 +00:00
Adam Treat dc49b8259d * Created icall ves_delegate_createdelegate using the ldftn opcode.
svn path=/trunk/mono/; revision=5773
2002-07-13 18:44:07 +00:00
Jonathan Pryor 432d284e9f * ChangeLog: Updated
* class.xml: Added classes added to System.Diagnostics

svn path=/trunk/mono/; revision=5772
2002-07-13 18:39:23 +00:00
Jonathan Pryor 680d791867 Updates.
svn path=/trunk/mcs/; revision=5771
2002-07-13 18:36:40 +00:00
Jonathan Pryor bce4656698 * CounterCreationData.cs: Implemented
* CounterCreationDataCollection.cs: Implemented
	* CounterSample.cs: Stubbed Out
	* CounterSampleCalculator.cs: Stubbed Out
	* InstanceData.cs: Implemented
	* InstanceDataCollection.cs: Implemented
	* InstanceDataCollectionCollection.cs: Implemented
	* MonitoringDescriptionAttribute.cs: Implemented
	* PerformanceCounter.cs: Stubbed Out
	* PerformanceCounterCategory.cs: Stubbed Out
	* PerformanceCounterInstaller.cs: Stubbed Out
	* PerformanceCounterManager.cs: Stubbed Out
	* PerformanceCounterPermission.cs: Stubbed Out
	* PerformanceCounterPermissionAccess.cs: Implemented
	* PerformanceCounterPermissionAttribute.cs: Stubbed Out
	* PerformanceCounterPermissionEntry.cs: Stubbed Out
	* PerformanceCounterPermissionEntryCollection.cs: Implemented
	* PerformanceCounterType.cs: Implemented

svn path=/trunk/mcs/; revision=5770
2002-07-13 18:36:20 +00:00
Rodrigo Moya c2ba7bd4d7 2002-07-12 Rodrigo Moya <[email protected]>
* list: added System.Data.OleDb files to file list.

svn path=/trunk/mcs/; revision=5769
2002-07-13 18:31:19 +00:00
Gonzalo Paniagua Javier 86c2d39c6a 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilderAttribute.cs: finished implementation.

svn path=/trunk/mcs/; revision=5768
2002-07-13 18:06:04 +00:00
Paolo Molaro 3ed5da593f Sat Jul 13 19:54:56 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: advance ip in conv.r.un.

svn path=/trunk/mono/; revision=5767
2002-07-13 17:56:35 +00:00
Paolo Molaro fa47146625 Sat Jul 13 19:38:03 CEST 2002 Paolo Molaro <[email protected]>
* expression.cs: check against the building corlib void type.

svn path=/trunk/mcs/; revision=5766
2002-07-13 17:39:59 +00:00
Paolo Molaro 8a641a2a5f Sat Jul 13 19:35:58 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: fix for valuetype static readonly fields: when
	initializing them, we need their address, not the address of a copy.

svn path=/trunk/mcs/; revision=5765
2002-07-13 17:38:52 +00:00
Paolo Molaro be141743bb Sat Jul 13 19:32:19 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: update the parameter table index.

svn path=/trunk/mono/; revision=5764
2002-07-13 17:34:10 +00:00
Paolo Molaro 951e9b6e04 Sat Jul 13 17:34:23 CEST 2002 Paolo Molaro <[email protected]>
* domain.c: don't include the mark byte in the string hash.

svn path=/trunk/mono/; revision=5763
2002-07-13 15:36:08 +00:00
Paolo Molaro cff0564126 Sat Jul 13 17:32:53 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: register also enum_type in corlib.

svn path=/trunk/mcs/; revision=5762
2002-07-13 15:34:52 +00:00
Paolo Molaro 5f0c9e94ba Sat Jul 13 17:30:51 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: add also the enum_type for compiling corlib.
	* TypeBuilder.cs: complete IsValueType.

svn path=/trunk/mcs/; revision=5761
2002-07-13 15:32:57 +00:00
Gonzalo Paniagua Javier c77ff1bc2f 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* String.cs: make ToLower (culture) and ToUpper (culture) use the
	default ToLower and ToUpper and don't throw NotImplemented.

svn path=/trunk/mcs/; revision=5760
2002-07-13 14:30:40 +00:00
Paolo Molaro 5f0e13a719 Sat Jul 13 15:59:47 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: allow calling this (but not base) initializers in structs.

svn path=/trunk/mcs/; revision=5759
2002-07-13 14:01:35 +00:00
Gonzalo Paniagua Javier 77373fceff 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* DefaultEventAttribute.cs: new file.

svn path=/trunk/mcs/; revision=5758
2002-07-13 13:39:39 +00:00
Paolo Molaro 3fcf230689 Sat Jul 13 15:12:06 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: make sure we compare against the building base types
	in GetTypeSize ().

svn path=/trunk/mcs/; revision=5757
2002-07-13 13:14:27 +00:00
Paolo Molaro f603229f0e Sat Jul 13 15:10:32 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: fix TypeToCoreType() to handle void and object
	(corlib gets no more typerefs after this change).

svn path=/trunk/mcs/; revision=5756
2002-07-13 13:12:56 +00:00
Paolo Molaro e1766fd6ea Sat Jul 13 15:08:12 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: better IsValueType.


Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <[email protected]>

	* Type.cs: make GettTypeCode an icall. Test implementation of
	GetMember().

svn path=/trunk/mcs/; revision=5755
2002-07-13 13:11:01 +00:00
Paolo Molaro cf5fc14797 Sat Jul 13 15:06:23 CEST 2002 Paolo Molaro <[email protected]>
* icall.cs: icall for Type.GetTypeCode ().
	* verify: a couple of fixes and disabled local initialization checks.

svn path=/trunk/mono/; revision=5754
2002-07-13 13:08:26 +00:00
Gonzalo Paniagua Javier 8772630a90 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* CustomAttributeBuilder.cs: removed compile warning.

svn path=/trunk/mcs/; revision=5753
2002-07-13 02:21:16 +00:00
Gonzalo Paniagua Javier cba87a8845 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: updated comments. MaxCapacity always returns
	Int32.MaxValue.

svn path=/trunk/mcs/; revision=5752
2002-07-13 02:19:31 +00:00
Gonzalo Paniagua Javier 2538b41a96 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: implemented LoaderOptimization.

svn path=/trunk/mcs/; revision=5751
2002-07-13 02:17:04 +00:00
Gonzalo Paniagua Javier 0d04c16030 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: fixlet.

svn path=/trunk/mcs/; revision=5750
2002-07-13 02:13:16 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Miguel de Icaza 3c336087b4 2002-07-12 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.EmitArrayArguments): use
	Conv.Ovf.U4 for unsigned and Conv.Ovf.I4 for signed.

	(ArrayAccess.LoadArrayAndArguments): Use Conv_Ovf_I and
	Conv_Ovf_I_Un for the array arguments.  Even if C# allows longs as
	array indexes, the runtime actually forbids them.

	* ecore.cs (ExpressionToArrayArgument): Move the conversion code
	for array arguments here.

svn path=/trunk/mcs/; revision=5748
2002-07-12 23:05:54 +00:00
Jaime Anguiano Olarra 576e389549 Updated.
svn path=/trunk/mono/; revision=5746
2002-07-12 21:48:06 +00:00
Jaime Anguiano Olarra 27b4255c76 Added the C# Free (GFDL) Spanish tutorial link.
svn path=/trunk/mono/; revision=5745
2002-07-12 21:22:35 +00:00
Jaime Anguiano Olarra 48483fd6e7 Changed "This project would not have been possible with every contribution"
to: "This project would not have been possible without every contribution"

svn path=/trunk/mono/; revision=5744
2002-07-12 20:40:33 +00:00
Gonzalo Paniagua Javier 8f35dc38ed 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: removed some more excludes.

	* System.Web.Hosting/AppDomainFactory.cs:
	* System.Web.Hosting/IAppDomainFactory.cs:
	* System.Web.Hosting/IISAPIRuntime.cs:
	* System.Web.Hosting/ISAPIRuntime.cs: make them compile.

	* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.

	* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
	Hashtable. Added internal .ctor.

	* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
	Equals and GetHashCode.

	* System.Web.UI/DataBoundLiteralControl.cs:
	(LoadViewState):
	(SaveViewState): implemented.

	* System.Web.UI/Page.cs: FileDependencies is not public.

	* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
	(GetHashCode):
	(Equals):
	(IsDefaultAttribute): implemented.

svn path=/trunk/mcs/; revision=5743
2002-07-12 19:19:55 +00:00
Miguel de Icaza 2df5023307 2002-07-12 Miguel de Icaza <[email protected]>
* expression.cs (EmitLoadOpcode): System.Char is a U2, use that
	instead of the default for ValueTypes.

svn path=/trunk/mcs/; revision=5742
2002-07-12 19:12:09 +00:00
Miguel de Icaza dcb96ccd2f 2002-07-12 Miguel de Icaza <[email protected]>
* expression.cs (New.DoEmit): Use IsValueType instead of
	IsSubclassOf (value_type)
	(New.DoResolve): ditto.
	(Invocation.EmitCall): ditto.

	* assign.cs (Assign): ditto.

svn path=/trunk/mcs/; revision=5741
2002-07-12 18:52:29 +00:00
Dick Porter 2252cddec6 2002-07-12 Dick Porter <[email protected]>
* io.c (convert_from_flags): Fixed misunderstanding wrt fcntl
	flags.  Fixes bug 27633.

svn path=/trunk/mono/; revision=5739
2002-07-12 17:10:33 +00:00
Miguel de Icaza 0a21bbb563 2002-07-12 Miguel de Icaza <[email protected]>
* statement.cs (Unsafe): Ok, so I got the semantics wrong.
	Statements *are* currently doing part of their resolution during
	Emit.

	Expressions do always resolve during resolve, but statements are

svn path=/trunk/mcs/; revision=5738
2002-07-12 17:02:11 +00:00
Piers Haken 643a033d4c 2002-07-12 Piers Haken <[email protected]
* SelectNodesTests.cs: Added TestUnion (bug #27548)

svn path=/trunk/mcs/; revision=5735
2002-07-12 16:11:42 +00:00
Jason Diamond d666dfcf57 Ensure that an element's prefix and namespaceURI are String.Empty and not null.
svn path=/trunk/mcs/; revision=5734
2002-07-12 16:06:55 +00:00
Gonzalo Paniagua Javier 38c4946f7a 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs:
	(.ctor): call MonoIO.GetException with the file name.

svn path=/trunk/mcs/; revision=5733
2002-07-12 15:58:59 +00:00
Dick Porter c596c8cb79 2002-07-12 Dick Porter <[email protected]>
* acconfig.h:
	* configure.in: Check the size of sockaddr_un.sun_path

2002-07-12  Dick Porter  <[email protected]>

	* wapi-private.h:
	* handles.c:
	* daemon.c: Use size of sockaddr_un.sun_path from config.h

svn path=/trunk/mono/; revision=5732
2002-07-12 14:53:31 +00:00
Dick Porter 3116694545 2002-07-12 Dick Porter <[email protected]>
* processes.c (CreateProcess): Send stdin, stdout and stderr
	handles if the startup info doesnt specify new ones

	* io.c (GetStdHandle): Return the same handle when the same
	standard handle is requested

	* handles.c: Pass file descriptors when forking

	* daemon.c: Use supplied file descriptors when forking a new
	process

	* daemon-messages.h:
	* daemon-messages.c: Pass stdin, stdout and stderr file
	descriptors to the daemon (used when forking)

svn path=/trunk/mono/; revision=5731
2002-07-12 13:49:56 +00:00
Jaime Anguiano Olarra 9e8a448d5e Updated the link to the mono-contribution-howto. Changed from
"mono-contribution-howto" to "mono-contribution-howto.html".

svn path=/trunk/mono/; revision=5730
2002-07-12 13:07:55 +00:00
Dietmar Maurer 505167be91 2002-07-12 Dietmar Maurer <[email protected]>
* marshal.c: better debugging support (DEBUG_RUNTIME_CODE)

svn path=/trunk/mono/; revision=5729
2002-07-12 12:30:38 +00:00
Dietmar Maurer f67c4ab138 small fix
svn path=/trunk/mono/; revision=5728
2002-07-12 12:00:48 +00:00
Dietmar Maurer c69bc9a00d better hash func (mono_signature_hash)
svn path=/trunk/mono/; revision=5727
2002-07-12 11:59:57 +00:00
Dietmar Maurer 3449714eb0 2002-07-12 Dietmar Maurer <[email protected]>
* debug-helpers.c (mono_method_full_name): print the type of the
	runtime wrapper

	* metadata.c (mono_signature_hash): better hash algorithm

svn path=/trunk/mono/; revision=5726
2002-07-12 11:52:24 +00:00
Jaime Anguiano Olarra ac32365a5c HTML-fied and nicely indented so it looks pretty in the web.
svn path=/trunk/mono/; revision=5725
2002-07-12 11:27:00 +00:00
Dietmar Maurer bc2f120c80 2002-07-12 Dietmar Maurer <[email protected]>
* metadata.c (mono_signature_hash): a hash function for signatures

	* marshal.c (mono_marshal_get_delegate_invoke): cache methods by signature

svn path=/trunk/mono/; revision=5724
2002-07-12 11:04:33 +00:00
Piers Haken ce5805bcb5 2002-07-12 Piers Haken <[email protected]>
* Iterator.cs: PredicateIterator: handle numeric predicates
	* Parser.jay: add some debugging support: yyparseDebug
	* Tokenizer.cs: cleanup, include '-' chars in identifier tokens

svn path=/trunk/mcs/; revision=5723
2002-07-12 10:52:30 +00:00
Piers Haken c004fb1899 2002-07-12 Piers Haken <[email protected]>
* XmlAttributeCollection.cs: implement some ItemOf indexers
	* XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
	* XmlNode.cs: SelectNodes: return empty XmlNodeList, not null

svn path=/trunk/mcs/; revision=5722
2002-07-12 10:52:08 +00:00
Dietmar Maurer a8815fd72c 2002-07-12 Dietmar Maurer <[email protected]>
* debug-helpers.c (mono_method_full_name): this can now generate
	method names with signatures

	* marshal.c (mono_marshal_get_managed_wrapper): bug fix: unmanaged
	method dont have this pointers.

svn path=/trunk/mono/; revision=5721
2002-07-12 10:23:37 +00:00
Paolo Molaro c592579716 Fri Jul 12 11:34:58 CEST 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: fixup typebuilder tokens as well.

svn path=/trunk/mcs/; revision=5720
2002-07-12 09:40:05 +00:00
Paolo Molaro 54d990bf33 Fri Jul 12 11:35:48 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fixup typebuilder tokens.
	* image.c: fix buglet.
	* marshal.h: remove whitespace.
	* metadata.h, metadata.c: reinstate code that was removed.
	* verify.c: handle catch directives and fix another couple of bugs.

svn path=/trunk/mono/; revision=5719
2002-07-12 09:39:51 +00:00
Jason Diamond c8ff860619 Added some tests for the SelectNodes method.
svn path=/trunk/mcs/; revision=5717
2002-07-12 04:07:15 +00:00
Miguel de Icaza 2f7666c877 Oops, fix
svn path=/trunk/mcs/; revision=5716
2002-07-12 02:48:30 +00:00
Miguel de Icaza 56e76064cc Also support CSC -options
svn path=/trunk/mcs/; revision=5715
2002-07-12 02:05:21 +00:00
Miguel de Icaza 7891aebda6 2002-07-11 Miguel de Icaza <[email protected]>
* driver.cs (CSCParseOption): Finish the /r: and /lib: support.

	(LoadAssembly): Do not add the dll if it is already specified

svn path=/trunk/mcs/; revision=5714
2002-07-12 01:56:52 +00:00
Miguel de Icaza baafc32ae7 2002-07-11 Miguel de Icaza <[email protected]>
* daemon.c (_wapi_daemon_main): Use sizeof
	(main_socket_address.sun_path) instead of hardcoded 108 value.

	* handles.c (shared_init): Use sizeof

svn path=/trunk/mono/; revision=5713
2002-07-12 01:49:04 +00:00
Miguel de Icaza 8eac101672 2002-07-11 Miguel de Icaza <[email protected]>
* driver.cs: Add the System directory to the link path at the end,
	after all the other -L arguments.

svn path=/trunk/mcs/; revision=5712
2002-07-11 23:50:12 +00:00
Miguel de Icaza 386240aa6d 2002-07-11 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess.EmitLoadOpcode): I was using the
	wrong opcode for loading bytes and bools (ldelem.i1 instead of
	ldelem.u1) and using the opposite for sbytes.

	This fixes Digger, and we can finally run it.

svn path=/trunk/mcs/; revision=5711
2002-07-11 22:29:43 +00:00
Miguel de Icaza eaa9787b0a update
svn path=/trunk/mono/; revision=5709
2002-07-11 18:54:29 +00:00
Rodrigo Moya c4c9cf94bc 2002-07-11 Rodrigo Moya <[email protected]>
* libgda.cs: added new libgda functions and some enumerations.

	* OleDbParameter.cs (IsNullable): removed explicit implementation
	of the set method for this property.

	* OleDbDataAdapter.cs (MissingMappingAction): implemented.
	(MissingSchemaAction): implemented.

svn path=/trunk/mcs/; revision=5707
2002-07-11 17:25:36 +00:00
Dietmar Maurer 22fb9b54a9 (mono_marshal_get_managed_wrapper): support more types
svn path=/trunk/mono/; revision=5706
2002-07-11 16:21:39 +00:00
Dietmar Maurer 06103462da 2002-07-11 Dietmar Maurer <[email protected]>
* x86.brg (freg): new rule freg: CALL_R8 (this, reg)

svn path=/trunk/mono/; revision=5705
2002-07-11 16:18:12 +00:00
Dietmar Maurer 38f676f703 (mono_marshal_get_native_wrapper): support boolean
svn path=/trunk/mono/; revision=5704
2002-07-11 16:04:18 +00:00
Dietmar Maurer f070fbdef8 (mono_marshal_get_native_wrapper): make it comp. with the old code
svn path=/trunk/mono/; revision=5703
2002-07-11 15:51:42 +00:00
Dietmar Maurer 6f469bb11f Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): support BOOLEAN

svn path=/trunk/mono/; revision=5702
2002-07-11 15:31:35 +00:00
Dietmar Maurer f58fc38d66 architecture independent marshaling code
svn path=/trunk/mono/; revision=5701
2002-07-11 14:41:42 +00:00
Dietmar Maurer 89101f692e added StructureToPtr/SizeOf/PtrToStructure internal calls
svn path=/trunk/mcs/; revision=5700
2002-07-11 14:31:42 +00:00
Piers Haken 1d00f5da17 2002-07-11 Piers Haken <[email protected]>
* XmlElementTests.cs: added TestCreateElement3WithNullNamespace

svn path=/trunk/mcs/; revision=5698
2002-07-11 13:16:28 +00:00
Nick Drochak 45f7296e07 2002-07-11 Nick Drochak <[email protected]>
* .cvsignore: Ignore temp files too.

svn path=/trunk/mcs/; revision=5697
2002-07-11 12:23:45 +00:00
Nick Drochak 24bec8ebf9 2002-07-11 Nick Drochak <[email protected]>
* ArrayTest.cs: Disable a test for now.  Bugzilla'd this one.
	* ConvertTest.cs: Make message unique for this mistaken duplicate.

svn path=/trunk/mcs/; revision=5696
2002-07-11 11:19:06 +00:00
Nick Drochak d7c79ad16d 2002-07-11 Nick Drochak <[email protected]>
* TestSuite.cs: Make sure fName is not null.

svn path=/trunk/mcs/; revision=5695
2002-07-11 11:06:54 +00:00
Miguel de Icaza bf1f26b4f6 2002-07-11 Miguel de Icaza <[email protected]>
* driver.cs (UnixParseOption): Move the option parsing here.
	(CSCParseOption): Implement CSC-like parsing of options.

	We now support both modes of operation, the old Unix way, and the
	new CSC-like way.  This should help those who wanted to make cross
	platform makefiles.

	The only thing broken is that /r:, /reference: and /lib: are not
	implemented, because I want to make those have the same semantics
	as the CSC compiler has, and kill once and for all the confussion
	around this.   Will be doing this tomorrow.

svn path=/trunk/mcs/; revision=5694
2002-07-11 05:47:03 +00:00
Miguel de Icaza 09c10aa0ab 2002-07-11 Miguel de Icaza <[email protected]>
* statement.cs (Unsafe.Resolve): The state is checked during
	resolve, not emit, so we have to set the flags for IsUnsfe here.

svn path=/trunk/mcs/; revision=5693
2002-07-11 04:51:24 +00:00
Gonzalo Paniagua Javier 29fe45e402 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
* HttpRuntime.cs: don't throw NotImplemented in a couple of methods.

svn path=/trunk/mcs/; revision=5692
2002-07-11 01:31:24 +00:00
Miguel de Icaza 2f3d823bbc 2002-07-10 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): Since we can
	not catch the Error_ObjectRefRequired in SimpleName (as it is
	possible to have a class/instance variable name that later gets
	deambiguated), we have to check this here.

svn path=/trunk/mcs/; revision=5690
2002-07-11 00:01:50 +00:00
Alp Toker 68da854a76 mktemp() is deprecated with gcc 3.1.1, use mkstemp() instead
svn path=/trunk/mcs/; revision=5689
2002-07-10 23:07:41 +00:00
Ravi Pratap M 27be51880c REmove debugging statements
svn path=/trunk/mcs/; revision=5688
2002-07-10 22:23:40 +00:00
Ravi Pratap M af101b7583 2002-07-10 Ravi Pratap <[email protected]>
* class.cs (TypeContainer.GetFieldFromEvent): Move away from here,
	make static and put into Expression.

	(Event.Define): Register the private field of the event with the
	TypeManager so that GetFieldFromEvent can get at it.

	(TypeManager.RegisterPrivateFieldOfEvent): Implement to
	keep track of the private field associated with an event which
	has no accessors.

	(TypeManager.GetPrivateFieldOfEvent): Implement to get at the
	private field.

	* ecore.cs (GetFieldFromEvent): RE-write to use the above methods.

svn path=/trunk/mcs/; revision=5687
2002-07-10 22:12:06 +00:00
Ravi Pratap M f040abf67c 2002-07-10 Ravi Pratap <[email protected]>
* test-142.cs : Add. This ensures events can be accessed
	correctly from subclasses etc.

svn path=/trunk/mcs/; revision=5686
2002-07-10 22:11:01 +00:00
Gonzalo Paniagua Javier 512c903f94 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: some more intermediate results checking in
	in CreateInstance and CreateInstanceFrom and use GetConstructor and
	Invoke only with Type [] until the other overloaded versions work.

svn path=/trunk/mcs/; revision=5685
2002-07-10 19:40:05 +00:00
Gonzalo Paniagua Javier 9affd0c1ed 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
* list:
	* unix.args: added IObjectHandle.cs.

svn path=/trunk/mcs/; revision=5684
2002-07-10 18:33:47 +00:00
Dick Porter 8341073202 2002-07-10 Dennis Haney <[email protected]>
* shared.c:
	* handles.c:
	* daemon.c: Lots of documentation, some added error checking, and
	code readability improvements.

	* daemon-messages.h: Add the Error request type to improve error
	checking.

	* daemon-messages.c: Do a bit more error checking on send() and
	recv(), and log errors with a higher severity level.

svn path=/trunk/mono/; revision=5683
2002-07-10 12:50:12 +00:00
Nick Drochak 1d331d1b3c 2002/07/10 Nick Drochak <[email protected]>
* WindowsAccountType.cs:
	* WindowsBuiltInRole.cs:
		Make these enums public instead of internal.

svn path=/trunk/mcs/; revision=5682
2002-07-10 12:17:57 +00:00
Miguel de Icaza 85685fcd1b 2002-07-10 Miguel de Icaza <[email protected]>
* expression.cs (Binary.EmitBranchable): this routine emits the
	Binary expression in a branchable context.  This basically means:
	we need to branch somewhere, not just get the value on the stack.

	This works together with Statement.EmitBoolExpression.

	* statement.cs (Statement.EmitBoolExpression): Use
	EmitBranchable.

svn path=/trunk/mcs/; revision=5681
2002-07-10 06:25:57 +00:00
Miguel de Icaza 314c04002c 2002-07-09 Miguel de Icaza <[email protected]>
* statement.cs (For): Reduce the number of jumps in loops.

svn path=/trunk/mcs/; revision=5680
2002-07-10 05:45:18 +00:00
Tim Coleman 1150f04cdd 2002-07-10 Tim Coleman <[email protected]>
* OleDbCommandBuilder.cs: Added new methods, properties
        * OleDbConnection.cs: Modified constructor
        * OleDbError.cs: Added stubbs
        * OleDbException.cs: Added stubbs
        * OleDbInfoMessageEventArgs.cs: Added stubbs
        * OleDbInfoMessageEventHandler.cs: style change
        * OleDbParameter.cs: Added conversion from type to OleDbType
        * OleDbPermission.cs: Added stubbs
        * OleDbSchemaGuid.cs: Added stubbs
        * OleDbTransaction.cs: New constructors, changes to methods to
                support transaction nesting
        * libgda.cs: Added my name to this file

svn path=/trunk/mcs/; revision=5679
2002-07-10 05:24:00 +00:00
Gonzalo Paniagua Javier 93c52652df 2002-07-09 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: reformatted. Implemented CreateInstance* methods
	that return ObjectHandle.

	* AppDomain.cs: implemented CreateInstance*AndUnwrap methods.

svn path=/trunk/mcs/; revision=5677
2002-07-10 01:37:47 +00:00
Gonzalo Paniagua Javier 6072d5f746 2002-07-09 Gonzalo Paniagua Javier <[email protected]>
* IObjectHandle.cs: New file.
	* ObjectHandle.cs: implemented constructor and Unwrap.

svn path=/trunk/mcs/; revision=5676
2002-07-09 23:36:02 +00:00
Miguel de Icaza 1f78d9aba9 2002-07-09 Miguel de Icaza <[email protected]>
* statement.cs (For): Implement loop inversion for the For
	statement.

svn path=/trunk/mcs/; revision=5675
2002-07-09 23:10:26 +00:00
Rafael Teixeira a50498ce86 2002-07-09 Rafael Teixeira <[email protected]>
* merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5674
2002-07-09 21:04:02 +00:00
Jaime Anguiano Olarra d25d8611f9 Added some more Q/A pairs and updated some others.
svn path=/trunk/mono/; revision=5673
2002-07-09 20:28:40 +00:00
Miguel de Icaza 99693d4f42 2002-07-09 Miguel de Icaza <[email protected]>
* statement.cs (Break): We can be breaking out of a Try/Catch
	controlled section (foreach might have an implicit try/catch
	clause), so we need to use Leave instead of Br.

svn path=/trunk/mcs/; revision=5672
2002-07-09 19:32:33 +00:00
Miguel de Icaza 98fc563c16 Bug 27549
2002-07-09  Miguel de Icaza  <[email protected]>

	* ecore.cs (FieldExpr.AddressOf): Fix for test-139 (augmented
	now).  If the instace expression supports IMemoryLocation, we use
	the AddressOf method from the IMemoryLocation to extract the
	address instead of emitting the instance.

	This showed up with `This', as we were emitting the instance
	always (Emit) instead of the Address of This.  Particularly
	interesting when This is a value type, as we dont want the Emit
	effect (which was to load the object).

svn path=/trunk/mcs/; revision=5671
2002-07-09 19:15:26 +00:00
Paolo Molaro ccd53a8268 Tue Jul 9 19:03:03 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: special case SerializarionAttribute.
	Tweaks to get correct code in corlib.

svn path=/trunk/mcs/; revision=5670
2002-07-09 17:05:19 +00:00
Tim Coleman 0d42476786 2002-07-09 Tim Coleman <[email protected]>
* System.Data.build: remove restriction on System.Data.OleDb build

svn path=/trunk/mcs/; revision=5669
2002-07-09 13:48:32 +00:00
Tim Coleman c95e199818 2002-07-09 Tim Coleman <[email protected]>
* OleDbCommand.cs: Style changes, added new methods
       * OleDbConnection.cs: Style changes, added new methods
       * OleDbDataAdapter.cs: Implementation
       * OleDbDataReader.cs: Added stubbs
       * OleDbErrorCollection.cs: Added stubbs, some implementation
       * OleDbParameter.cs: Style changes, added new methods
       * OleDbParameterCollection.cs: Style changes, added new methods
       * OleDbPermissionAttribute.cs: Style changes, added new methods
       * OleDbRowUpdatedEventArgs.cs: Added stubbs
       * OleDbRowUpdatingEventArgs.cs: Added stubbs
       * OleDbTransaction.cs: Style changes, added new methods
       * OleDbType.cs: Fixed two typos
       * libgda.cs: Style changes, added new methods

svn path=/trunk/mcs/; revision=5668
2002-07-09 13:47:54 +00:00
Dick Porter 59c39d5d4e 2002-07-09 Dick Porter <[email protected]>
* threads.c: Make the thread cleaning up cope with threads that
	call ExitThread()

svn path=/trunk/mono/; revision=5667
2002-07-09 11:40:53 +00:00
Miguel de Icaza c3992d30ac Update
svn path=/trunk/mono/; revision=5666
2002-07-09 06:07:40 +00:00
Gonzalo Paniagua Javier 86ef51272a 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs: a couple of fiex and added attributes.
	* DataGrid.cs: little fixes.

svn path=/trunk/mcs/; revision=5664
2002-07-09 01:10:48 +00:00
Miguel de Icaza 0dcfa3fd3c 2002-07-08 Miguel de Icaza <[email protected]>
* attribute.cs: Pass the entry point to the DefinePInvokeMethod

svn path=/trunk/mcs/; revision=5663
2002-07-09 01:04:04 +00:00
Miguel de Icaza e5d585c676 2002-07-08 Miguel de Icaza <[email protected]>
* statement.cs (Checked): Set the CheckedState during the resolve
	process too, as the ConvCast operations track the checked state on
	the resolve process, and not emit.

	* cs-parser.jay (namespace_member_declaration): Flag that we have
	found a declaration when we do.  This is used to flag error 1529

svn path=/trunk/mcs/; revision=5662
2002-07-08 23:08:27 +00:00
Miguel de Icaza 721193d535 Add another test
svn path=/trunk/mcs/; revision=5661
2002-07-08 23:07:41 +00:00
Miguel de Icaza a5082af075 news
svn path=/trunk/mono/; revision=5660
2002-07-08 21:57:51 +00:00
Miguel de Icaza ffca691388 news
svn path=/trunk/mono/; revision=5659
2002-07-08 21:39:12 +00:00
Miguel de Icaza fab85bd5bb 2002-07-08 Miguel de Icaza <[email protected]>
* driver.cs: Report ok when we display the help only.

svn path=/trunk/mcs/; revision=5658
2002-07-08 21:35:47 +00:00
Radek Doulik 6bb9d638b7 updated
svn path=/trunk/mono/; revision=5657
2002-07-08 20:54:59 +00:00
Radek Doulik f049550861 2002-07-08 Radek Doulik <[email protected]>
* reflection.c (method_encode_code): use non-translated values to
	compute finally_start, this fixes exception handling on ppc, yay!

svn path=/trunk/mono/; revision=5656
2002-07-08 19:58:27 +00:00
Rachel Hestilow ac89b6cb01 Add Phonic news item.
-- Rachel

svn path=/trunk/mono/; revision=5655
2002-07-08 19:04:45 +00:00
Gonzalo Paniagua Javier d2b127ebfa 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed Visible property.
	* Page.cs: fixed GetViewStateString.

svn path=/trunk/mcs/; revision=5653
2002-07-08 18:02:45 +00:00
Radek Doulik 85637006de 2002-07-08 Radek Doulik <[email protected]>
* decimal.h (struct signscale): fix endianess

svn path=/trunk/mono/; revision=5652
2002-07-08 16:35:09 +00:00
Radek Doulik a1a710d7b6 2002-07-07 Radek Doulik <[email protected]>
* reflection.c: swap box_val and not val

svn path=/trunk/mono/; revision=5651
2002-07-08 16:14:44 +00:00
Radek Doulik 8ac9a466a0 2002-07-08 Radek Doulik <[email protected]>
* ppc/tramp.c: marshaling for SZARRAY

svn path=/trunk/mono/; revision=5650
2002-07-08 16:13:36 +00:00
Paolo Molaro e69a9c1252 Mon Jul 8 15:18:59 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: handle full assembly info in type name.
	Handle Type arguments when loading custom attributes.
	* icall.c: updated to use new mono_reflection_type_from_name () method.

svn path=/trunk/mono/; revision=5648
2002-07-08 13:24:08 +00:00
Dennis Hayes 3019c87e04 2002-7-7 DennisHayes <[email protected]>
* ToolBarButtonClickEventArgs.cs 
* UpDownEventArgs.cs 
* KeyPressEventHandler.cs
* Added new files.

svn path=/trunk/mcs/; revision=5647
2002-07-08 02:53:25 +00:00
Dennis Hayes d849171943 *** empty log message ***
svn path=/trunk/mcs/; revision=5646
2002-07-08 02:50:00 +00:00
Dennis Hayes 495dcdb047 *** empty log message ***
svn path=/trunk/mcs/; revision=5645
2002-07-08 02:44:47 +00:00
Dennis Hayes 59294fa3a7 2002-7-6 DennisHayes <[email protected]>
* AccessibleEvents.cs
* AccessibleNavigation.cs
* AccessibleObject.cs
* AccessibleRole.cs
* AccessibleSelection.cs
* AccessibleStates.cs
* AmbientProperties.cs
* AnchorStyles.cs
* Appearance.cs
* Application.cs
* ApplicationContext.cs
* ArrangeDirection.cs
* ArrangeStartingPosition.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* BootMode.cs
* Border3DSide.cs
* Border3DStyle.cs
* BorderStyle.cs
* BoundsSpecified.cs
* Button.cs
* ButtonBase.cs
* ButtonBorderStyle.cs
* ButtonState.cs
* CaptionButton.cs
* CharacterCasing.cs
* CheckBox.cs
* CheckedListBox.cs
* CheckState.cs
* Clipboard.cs
* ColorDepth.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ColumnHeaderStyle.cs
* ComboBox.cs
* ComboBoxStyle.cs
* CommonDialog.cs
* ComVisible.cs
* ContainerControl.cs
* ContentsResizedEventArgs.cs
* ContentsResizedEventHandler.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlEventHandler.cs
* ControlPaint.cs
* ControlStyles.cs
* ConvertEventArgs.cs
* ConvertEventHandler.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridCell.cs
* DataGridColumnStyle.cs
* DataGridLineStyle.cs
* DataGridParentRowsLabelStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateRangeEventHandler.cs
* DateTimePicker.cs
* DateTimePickerFormat.cs
* day.cs
* DialogResult.cs
* DockStyle.cs
* DomainUpDown.cs
* DragAction.cs
* DragDropEffects.cs
* DragEventArgs.cs
* DragEventHandler.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* DrawItemState.cs
* DrawMode.cs
* ErrorBlinkStyle.cs
* ErrorIconAlignment.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FlatStyle.cs
* FontDialog.cs
* Form.cs
* FormBorderStyle.cs
* FormStartPosition.cs
* FormWindowState.cs
* FrameStyle.cs
* Getopt.cs
* GiveFeedbackEventArgs.cs
* GiveFeedbackEventHandler.cs
* GridColumnStylesCollection.cs
* GridItem.cs
* GridItemCollection.cs
* GridItemType.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventArgs.cs
* HelpEventHandler.cs
* HelpNavigator.cs
* HelpProvider.cs
* HorizontalAlignment.cs
* HScrollBar.cs
* IButtonControl.cs
* ICommandExecutor.cs
* IComponentEditorPageSite.cs
* IContainerControl.cs
* IDataGridColumnStyleEditingNotificationService.cs
* IDataGridEditingService.cs
* IDataObject.cs
* IFeatureSupport.cs
* IFileReaderService.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* ImeMode.cs
* IMessageFilter.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageChangingEventHandler.cs
* InputLanguageCollection.cs
* InvalidateEventArgs.cs
* InvalidateEventHandler.cs
* ItemActivation.cs
* ItemBoundsPortion.cs
* ItemChangedEventArgs.cs
* ItemChangedEventHandler.cs
* ItemCheckEventArgs.cs
* ItemCheckEventHandler.cs
* ItemDragEventArgs.cs
* ItemDragEventHandler.cs
* IWin32Window.cs
* IWindowTarget.cs
* KeyEventArgs.cs
* KeyEventHandler.cs
* KeyPressEventArgs.cs
* KeyPressEventHandler.cs
* Keys.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventArgs.cs
* LabelEditEventHandler.cs
* LayoutEventArgs.cs
* LayoutEventHandler.cs
* LeftRightAlignment.cs
* LinkArea.cs
* LinkBehavior.cs
* LinkClickedEventArgs.cs
* LinkClickedEventHandler.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* LinkState.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewAlignment.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* MainMenu.cs
* MdiLayout.cs
* MeasureItemEventArgs.cs
* MeasureItemEventHandler.cs
* Menu.cs
* MenuGlyph.cs
* MenuItem.cs
* MenuMerge.cs
* Message.cs
* MessageBox.cs
* MessageBoxButtons.cs
* MessageBoxDefaultButton.cs
* MessageBoxIcon.cs
* MessageBoxOptions.cs
* MethodInvoker.cs
* MonthCalendar.cs
* MouseButtons.cs
* MouseEventArgs.cs
* MouseEventHandler.cs
* NativeWindow.cs
* NavigateEventArgs.cs
* NavigateEventHandler.cs
* NodeLabelEditEventArgs.cs
* NodeLabelEditEventHandler.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* Orientation.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* PaintEventHandler.cs
* Panel.cs
* PictureBoxSizeMode.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertySort.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventArgs.cs
* PropertyValueChangedEventHandler.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryAccessibilityHelpEventHandler.cs
* QueryContinueDragEventArgs.cs
* QueryContinueDragEventHandler.cs
* RadioButton.cs
* RichTextBox.cs
* RichTextBoxFinds.cs
* RichTextBoxScrollBars.cs
* RichTextBoxSelectionAttribute.cs
* RichTextBoxSelectionTypes.cs
* RichTextBoxStreamType.cs
* RichTextBoxWordPunctuations.cs
* RightToLeft.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollBars.cs
* ScrollButton.cs
* ScrollEventArgs.cs
* ScrollEventHandler.cs
* ScrollEventType.cs
* SecurityIDType.cs
* SelectedGridItemChangedEventArgs.cs
* SelectedGridItemChangedEventHandler.cs
* SelectionMode.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Shortcut.cs
* SizeGripStyle.cs
* SortOrder.cs
* Splitter.cs
* SplitterEventArgs.cs
* SplitterEventHandler.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarDrawItemEventHandler.cs
* StatusBarPanel.cs
* StatusBarPanelAutoSize.cs
* StatusBarPanelBorderStyle.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelClickEventHandler.cs
* StatusBarPanelCollection.cs
* StatusBarPanelStyle.cs
* StructFormat.cs
* SystemInformation.cs
* TabAlignment.cs
* TabAppearance.cs
* TabControl.cs
* TabDrawMode.cs
* TabPage.cs
* TabSizeMode.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* TickStyle.cs
* Timer.cs
* ToolBar.cs
* ToolBarAppearance.cs
* ToolBarButton.cs
* ToolBarButtonClickEventArgs.cs
* ToolBarButtonClickEventHandler.cs
* ToolBarButtonStyle.cs
* ToolBarTextAlign.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewAction.cs
* TreeViewCancelEventArgs.cs
* TreeViewCancelEventHandler.cs
* TreeViewEventArgs.cs
* TreeViewEventHandler.cs
* TreeViewImageIndexConverter.cs
* UICues.cs
* UICuesEventArgs.cs
* UICuesEventHandler.cs
* UpDownBase.cs
* UpDownEventArgs.cs
* UpDownEventHandler.cs
* UserControl.cs
* View.cs
* VScrollBar.cs
* Monostyled everything!

svn path=/trunk/mcs/; revision=5644
2002-07-08 02:41:08 +00:00
Dennis Hayes 939343634c 2002-7-7 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* ChangeLog
* CheckBox.cs
* CheckedListBox.cs
* ColorDialog.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContextMenu.cs
* ControlEventArgs.cs
* CurrencyManager.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridColumnStyle.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DateTimePickerFormat.cs
* ErrorProvider.cs
* FileDialog.cs
* FontDialog.cs
* Form.cs
* GroupBox.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageList.cs
* KeyPressEventHandler.cs
* Label.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* logfile.txt
* MainMenu.cs
* Menu.cs
* MenuItem.cs
* MonthCalendar.cs
* NotifyIcon.cs
* OpenFileDialog.cs
* PageSetupDialog.cs
* Panel.cs
* PrintDialog.cs
* PropertyManager.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* ScrollableControl.cs
* ScrollBar.cs
* Splitter.cs
* StatusBar.cs
* StatusBarPanel.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* TrackBar.cs
* TreeView.cs
* UpDownBase.cs
* VScrollBar.cs
* Uncommented stuff, re-commented stuff, adding usings, fixed minor syntax errors.

svn path=/trunk/mcs/; revision=5643
2002-07-08 02:38:08 +00:00
Gonzalo Paniagua Javier 91e5108757 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: forgot to add using System.ComponentModel.

	* BaseValidator.cs: use explicitly
	System.ComponentModel.AttributeCollection as there is another class
	with the same name under System.Web.UI.

svn path=/trunk/mcs/; revision=5642
2002-07-08 00:01:33 +00:00
Gonzalo Paniagua Javier ab86d24ae8 forgot...
svn path=/trunk/mcs/; revision=5641
2002-07-07 23:49:19 +00:00
Gonzalo Paniagua Javier 69860427af 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
	* BaseValidator.cs:
	* Button.cs:
	* Calendar.cs:
	* CheckBox.cs:
	* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* HyperLink.cs:
	* Image.cs:
	* ImageButton.cs:
	* Label.cs:
	* LinkButton.cs:
	* ListBox.cs:
	* Panel.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* Table.cs:
	* TableRow.cs:
	* TextBox.cs:
	* WebControl.cs:
	* Xml.cs: added/fixed all attributes used by xsp.

svn path=/trunk/mcs/; revision=5640
2002-07-07 23:46:38 +00:00
Gonzalo Paniagua Javier f9426746f8 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: finished implementation.
	* TypeDescriptor.cs: implemented GetAttributes (object).

svn path=/trunk/mcs/; revision=5639
2002-07-07 01:36:46 +00:00
Dennis Hayes 76d8160307 2002-7-6 DennisHayes <[email protected]>
* DragEventArgs.cs
* PropertyValueChangedEventArgs.cs
* InputLanguageChangedEventArgs.cs
* added files

svn path=/trunk/mcs/; revision=5638
2002-07-07 01:30:35 +00:00
Rafael Teixeira 180568d092 2002-07-06 Rafael Teixeira <[email protected]>
* merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
	  modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
	* changed driver.cs to follow mcs lead on error/warning counting and reporting

svn path=/trunk/mcs/; revision=5637
2002-07-07 01:20:37 +00:00
Dennis Hayes b6928ae42a 2002-7-6 DennisHayes <[email protected]>
* InputLanguageChangeEventArgs.cs
* moved to InputLanguageChange"d"EventArgs.cs

svn path=/trunk/mcs/; revision=5636
2002-07-07 01:14:44 +00:00
Dennis Hayes 58f9cb65cf 2002-7-6 DennisHayes <[email protected]>
* Form.ControlCollection.cs
* ImageList.ImageCollection.cs
* LinkArea.LinkAreaConverter.cs
* deleted files. contents now in main class files

svn path=/trunk/mcs/; revision=5635
2002-07-07 01:07:53 +00:00
Gonzalo Paniagua Javier f148bf7d75 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* loader.c:
	(method_from_memberref): also print assembly name when method not found.

svn path=/trunk/mono/; revision=5634
2002-07-07 00:49:00 +00:00
Gonzalo Paniagua Javier 99751f953a 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: initialize member variables.

	* RefreshEventArgs.cs: implemented.
	* RefreshEventHandler.cs: New file.

	* TypeDescriptor.cs: fully stubbed out the remaining method.

svn path=/trunk/mcs/; revision=5633
2002-07-07 00:33:39 +00:00
Dennis Hayes 16fb5655cb *** empty log message ***
svn path=/trunk/mcs/; revision=5632
2002-07-07 00:13:38 +00:00
Dennis Hayes a7358e9dfc 2002-7-6 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingsCollection.cs
* CaptionButton.cs
* Clipboard.cs
* ColumnHeader.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlPaint.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateTimePicker.cs
* DomainUpDown.cs
* FeatureSupport.cs
* FontDialog.cs
* Form.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* Help.cs
* IButtonControl.cs
* IFileReaderService.cs
* ImageIndexConverter.cs
* ImageListStreamer.cs
* IMessageFilter.cs
* InputLanguage.cs
* InputLanguageChangeEventArgs.cs
* InputLanguageCollection.cs
* ItemChangedEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* KeysConverter.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* logfile.txt
* MessageBox.cs
* NativeWindow.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OSFeature.cs
* PaintEventArgs.cs
* PrintControllerWithStatusDialog.cs
* PropertyGrid.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventArgs.cs
* Screen.cs
* ScrollEventArgs.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* SplitterEventArgs.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* ToolBarButtonClickEventArgs.cs
* ToolTip.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeViewCancelEventArgs.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UpDownBase.cs
* UpDownEventArgs.cs
* UserControl.cs
* Added usings, corrected minor syntax errors, uncommented some stuff to flush out compile errors.

svn path=/trunk/mcs/; revision=5631
2002-07-07 00:09:07 +00:00
Gonzalo Paniagua Javier 00c13ec297 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(ves_icall_TypeGetProperties): fixed bug #27473.

svn path=/trunk/mono/; revision=5630
2002-07-06 22:43:07 +00:00
Gonzalo Paniagua Javier 5d6b27ccd8 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: display image name and token when cannot find the
	.ctor for an attribute.

svn path=/trunk/mono/; revision=5628
2002-07-06 18:04:08 +00:00
Gonzalo Paniagua Javier 21c3934525 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* DefaultPropertyAttribute.cs: New file.

svn path=/trunk/mcs/; revision=5627
2002-07-06 17:52:51 +00:00
Gonzalo Paniagua Javier 9bee803913 2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* Table.cs:
	(AddAttributesToRender): correctly default to border=1.

svn path=/trunk/mcs/; revision=5625
2002-07-06 16:17:05 +00:00
Andrew Birkett 90c336dfc4 2002-07-06 Andrew Birkett <[email protected]>
* cs-tokenizer.cs (xtoken): Improve handling of string literals.

svn path=/trunk/mcs/; revision=5622
2002-07-06 16:08:53 +00:00
Andrew Birkett 33302f9038 2002-07-06 Andrew Birkett <[email protected]>
* test-74.cs: Added test for \n in verbatim string.

svn path=/trunk/mcs/; revision=5621
2002-07-06 16:06:24 +00:00
Andrew Birkett 0b889c3460 2002-07-06 Andrew Birkett <[email protected]>
* cs1039.cs, cs1033.cs, cs1010.cs: New tests.

svn path=/trunk/mcs/; revision=5620
2002-07-06 16:05:07 +00:00
Andrew Birkett 749d56effa 2002-07-06 Andrew Birkett <[email protected]>
* cs-tokenizer.cs (xtoken): Improve handling of string literals.

svn path=/trunk/mcs/; revision=5619
2002-07-06 16:03:26 +00:00
Ajay kumar Dwivedi f0372f89b0 2002-07-06 Ajay kumar Dwivedi <[email protected]>
* XmlTextWriter: Fixed Indentation. IndentationOverridden should
		not be set when inside a attribute.

svn path=/trunk/mcs/; revision=5618
2002-07-06 14:08:09 +00:00
Ajay kumar Dwivedi df14556dc1 2002-07-06 Ajay kumar Dwivedi <[email protected]>
* XmlTextWriter: In WriteStartElement, if namespace is null and
		prefix is null|empty do not write out xmlns=""

	* XmlWriter: WriteStartElement calls the virtual method with null
		argument instead of empty string.

svn path=/trunk/mcs/; revision=5617
2002-07-06 13:01:54 +00:00
Miguel de Icaza 813918c45f 2002-07-06 Miguel de Icaza <[email protected]>
* ILGenerator.cs (ILGenerator.Emit): For doubles and floats, swap
	the bytes on big endian systems.

svn path=/trunk/mcs/; revision=5615
2002-07-06 04:44:26 +00:00
Radek Doulik aa30ea4e09 2002-07-05 Radek Doulik <[email protected]>
* ppc/tramp.c: removed magic hack

svn path=/trunk/mono/; revision=5614
2002-07-06 01:41:14 +00:00
Martin Baulig adb7f5532c 2002-07-05 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): Fix a bug in the `begin_scope' and
	`end_scope' calculations when linear scan register allocation is disabled.

svn path=/trunk/mono/; revision=5612
2002-07-05 20:44:55 +00:00
Martin Baulig 91b781c221 2002-07-05 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

svn path=/trunk/mono/; revision=5611
2002-07-05 20:43:27 +00:00
Martin Baulig a523b72ad8 2002-07-05 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Added support for types in referenced assemblies.

svn path=/trunk/mcs/; revision=5610
2002-07-05 20:43:06 +00:00
Sergey Chaban 6fd3c16bb4 SortedList entry.
svn path=/trunk/mcs/; revision=5608
2002-07-05 20:11:49 +00:00
Sergey Chaban 74d6e778f9 * SortedList: added thread-safe wrapper.
svn path=/trunk/mcs/; revision=5607
2002-07-05 20:09:29 +00:00
Gonzalo Paniagua Javier 7ea0661a5b slightly changed view_state generation to allow multiple calls getting the same value.
svn path=/trunk/mcs/; revision=5606
2002-07-05 18:47:38 +00:00
Gonzalo Paniagua Javier 11d553ce61 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(GetViewStateString): new function to give the server access to the
	generated view state string.
	(Validate): d'oh!

svn path=/trunk/mcs/; revision=5604
2002-07-05 18:12:14 +00:00
Gonzalo Paniagua Javier ba81961a6c 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* list: updated. Currently mcs cannot compile System.Web because it
	cannot find NameObjectCollectionBase.KeysCollection.

	* System.Web.build: don't display unused event nor always default value
	warnings by now.

	* System.Web.UI/Control.cs:
	(SaveViewstateRecursive): implemented.
	(SaveViewState): fixed.
	(IParserAccessor.AddParsedSubObject): don't use 'this'.

	* System.Web.UI/Page.cs: added code to save view state to an xml file.
	It's not being used right now.

	* System.Web.UI.WebControls/AdRotator.cs:
	(LoadAdFile): make the dictionary null after every iteration.

	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListControl.cs:
	* System.Web.UI.WebControls/ListItem.cs: fixed warnings.

svn path=/trunk/mcs/; revision=5603
2002-07-05 14:35:29 +00:00
Martin Baulig e7d4f4c441 2002-07-05 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

svn path=/trunk/mono/; revision=5602
2002-07-05 14:06:39 +00:00
Martin Baulig 8c48501f63 2002-07-05 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Added support for arrays.

	* gdb-csharp-support.patch: Updated.

svn path=/trunk/mcs/; revision=5601
2002-07-05 14:05:15 +00:00
Gonzalo Paniagua Javier 86709d74f2 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: implemented .ctor (Stream).

svn path=/trunk/mcs/; revision=5600
2002-07-05 14:00:34 +00:00
Gonzalo Paniagua Javier 05add8da92 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: don't render action attribute.

svn path=/trunk/mcs/; revision=5599
2002-07-05 13:13:37 +00:00
Gonzalo Paniagua Javier 6b0bd13fed 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* HybridDictionary.cs:
	(Remove): fixed. The value is either in the list or in the hash.

svn path=/trunk/mcs/; revision=5598
2002-07-05 11:44:23 +00:00
Miguel de Icaza 99ae181aae Flush
svn path=/trunk/mcs/; revision=5596
2002-07-04 20:48:42 +00:00
Gonzalo Paniagua Javier 87ea4f635d 2002-07-04 Gonzalo Paniagua Javier <[email protected]>
* HtmlContainerControl.cs:
	(CreateControlCollection): added. All containers must have a non-empty
	control collection.

svn path=/trunk/mcs/; revision=5595
2002-07-04 20:29:22 +00:00
Miguel de Icaza face270c06 Flush
svn path=/trunk/mono/; revision=5594
2002-07-04 20:28:02 +00:00
Miguel de Icaza f714f60559 2002-06-24 Andrew Birkett <[email protected]>
* BitVector32.cs: Implemented 'set' section indexer.  Check for
	overly large sections.	Factored out some helper methods.

svn path=/trunk/mcs/; revision=5593
2002-07-04 20:27:32 +00:00
Miguel de Icaza 9e8c02ef95 Update
svn path=/trunk/mono/; revision=5591
2002-07-04 19:21:56 +00:00
Dick Porter 15e22fd534 2002-07-04 Dick Porter <[email protected]>
* daemon.c (process_process_fork): Fix argument handling, due to
	buggy understanding of g_strsplit() behaviour.

svn path=/trunk/mono/; revision=5590
2002-07-04 19:04:20 +00:00
Ajay kumar Dwivedi b0102fd031 2002-07-05 Ajay kumar Dwivedi <[email protected]>
* XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.

	* XmlSerializerNamespaces: Reverted to use of a single Hashtable.

svn path=/trunk/mcs/; revision=5589
2002-07-04 18:46:35 +00:00
Miguel de Icaza edac290a6f 2002-07-04 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (define): We also have to track locally the
	defines.  AllDefines is just used for the Conditional Attribute,
	but we also need the local defines for the current source code.

svn path=/trunk/mcs/; revision=5588
2002-07-04 18:20:10 +00:00
Ajay kumar Dwivedi ed0070bf88 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
* XmlSchema: Started work on Validate methods

svn path=/trunk/mcs/; revision=5587
2002-07-04 17:40:38 +00:00
Dick Porter 7a9d30fd31 2002-07-04 Dick Porter <[email protected]>
* threads.c (mono_thread_cleanup): Nasty kludge to get this to
	compile on mingw.  This will cause mingw builds to not wait for
	subthreads to terminate after the main thread does.  I've lodged a
	bug with the mingw developers for them to wrap OpenThread().

svn path=/trunk/mono/; revision=5586
2002-07-04 16:01:52 +00:00
Nick Drochak 08a758fcb1 2002-07-04 Nick Drochak <[email protected]>
* DateTimeTest.cs: Made tests pass on ms.net.  Well, they pass in
	timezone JST.  Need to test in others.  Maybe I'll fly over to GMT
	and see how they work.  Supposed to be eaiser there.

svn path=/trunk/mcs/; revision=5585
2002-07-04 14:58:33 +00:00
Dennis Hayes b38f74748a 2002-7-3 DennisHayes <[email protected]>
* AccessibleObject.cs
* Application.cs
* AxHost.cs
* Button.cs
* Control.cs
* Form.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* ImageIndexConverter.cs
* ImageListStreamer.cs
* InputLanguageChangingEventArgs.cs
* KeysConverter.cs
* Label.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* ListBox.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* Menu.cs
* NumericUpDown.cs
* ScrollableControl.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelCollection.cs
* TabControl.cs
* TrackBar.cs
* TreeNodeCollection.cs
* added usings, minor syntax corrections.

svn path=/trunk/mcs/; revision=5584
2002-07-03 22:03:56 +00:00
Miguel de Icaza e29849f38f 2002-07-03 Miguel de Icaza <[email protected]>
* statement.cs (While, For, Do): These loops can exit through a
	Break statement, use this information to tell whether the
	statement is the last piece of code.

	(Break): Flag that we break.

	* codegen.cs (EmitContexts): New `Breaks' state variable.

svn path=/trunk/mcs/; revision=5583
2002-07-03 21:47:08 +00:00
Miguel de Icaza 2ec4ad4ed7 Add new test
svn path=/trunk/mcs/; revision=5582
2002-07-03 21:46:25 +00:00
Dennis Hayes 844f8cc5ad 2002-7-3 DennisHayes <[email protected]>
* checked in for Jaak Simm ([email protected])
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertyTabChangedEventArgs.cs
* new files added

svn path=/trunk/mcs/; revision=5581
2002-07-03 21:30:26 +00:00
Dick Porter 4425617dca 2002-07-03 Dick Porter <[email protected]>
* threads.c: Store thread IDs instead of handles, because
	GetCurrentThread() returns a pseudohandle and therefore stores
	useless values.  mono_thread_cleanup() continues checking the
	array of threads until it is empty, to cope with subthreads
	spawning new threads after the main thread has finished.

	* profiler.h:
	* profiler.c:
	* profiler-private.h: Pass the thread ID to thread profiler
	functions, instead of a handle

2002-07-03  Dick Porter  <[email protected]>

	* threads.h:
	* threads.c: Implement OpenThread().  Define access-control values
	for thread handles.

	* wapi.h:
	* processes.h:
	* access.h:
	* Makefile.am: Added access.h, to hold shared access-control
	definitions

svn path=/trunk/mono/; revision=5578
2002-07-03 18:11:44 +00:00
Paolo Molaro 68043132f6 Wed Jul 3 17:43:52 CEST 2002 Paolo Molaro <[email protected]>
* verify.c: fixes to make it more usable.
	* pedump.c: added --verify code to verify IL code in an assembly.

svn path=/trunk/mono/; revision=5577
2002-07-03 15:49:46 +00:00
Nick Drochak a0f1a87a2b 2002-07-04 Nick Drochak <[email protected]>
* ConvertTest.cs: Make the test generate the overflow exceptions on
	mono on Linux.
	* DecimalTest2.cs: Report exception thrown during subtraction.

svn path=/trunk/mcs/; revision=5576
2002-07-03 15:21:02 +00:00
Nick Drochak e9489e0a57 2002-07-03 Nick Drochak <[email protected]>
* Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
	the divisor is not) and avoid the icall, which seems to have a bug.

svn path=/trunk/mcs/; revision=5575
2002-07-03 15:00:23 +00:00
Adam Treat 8c947a8708 * Added a link to qt#
svn path=/trunk/mono/; revision=5574
2002-07-03 14:42:35 +00:00
Martin Baulig 07fd75b332 2002-07-03 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (corlib_object_type, corlib_value_type): Moved
	these fields up after the last entry in MonoReflectionAssemblyBuilder
	in reflection.h.

	* TypeBuilder.cs (IsValueTypeImpl): Use the AssemblyBuilder's
	`corlib_value_type' instead of `typeof (System.ValueType)'.
	(DefineNestedType): Use the AssemblyBuilder's `corlib_object_type'
	instead of `typeof (object)'.

svn path=/trunk/mcs/; revision=5573
2002-07-03 12:22:22 +00:00
Nick Drochak 2ef31f05b0 2002-07-03 Nick Drochak <[email protected]>
* Double.cs (CompareTo): Correctly handle the case where the instance
	is NaN. Also return 0 if the values are equal.

svn path=/trunk/mcs/; revision=5572
2002-07-03 11:51:46 +00:00
Nick Drochak 98e291f28a 2002-07-03 Nick Drochak <[email protected]>
* DoubleTest.cs: Fix some Assert/AssertEquals usage.

svn path=/trunk/mcs/; revision=5571
2002-07-03 11:49:37 +00:00
Martin Baulig c002b81e10 2002-07-03 Martin Baulig <[email protected]>
* class.cs (TypeContainer.MethodModifiersValid): Allow override
	modifiers in method declarations in structs.  Otherwise, you won't
	be able to override things like Object.Equals().

svn path=/trunk/mcs/; revision=5570
2002-07-03 11:47:38 +00:00
Nick Drochak 946a332518 2002/07/03 Nick Drochak <[email protected]>
* MissingMethodException: Add missing Message property
	* MissingMemberException: Add missing Message property

svn path=/trunk/mcs/; revision=5569
2002-07-03 04:00:05 +00:00
Dennis Hayes 5be830f1de 2002-7-2 DennisHayes <[email protected]>
* Application.cs
* ControlEventArgs.cs
* Form.cs
* merged changes made by miguel and hestilow in gkt# to system.windows.forms

svn path=/trunk/mcs/; revision=5568
2002-07-03 02:36:43 +00:00
Miguel de Icaza 9c811142a1 Flush:
svn path=/trunk/mono/; revision=5567
2002-07-03 02:28:42 +00:00
Dennis Hayes 74b584ab28 2002-7-2 DennisHayes <[email protected]>
* Button.cs
* ButtonBase.cs
* ContainerControl.cs
* Label.cs
* ScrollableControl.cs
* Copied changes made by miguel and hestilow in gkt# to system.windows.forms

svn path=/trunk/mcs/; revision=5566
2002-07-03 02:10:26 +00:00
Dennis Hayes 96c06b2de1 2002-7-2 DennisHayes <[email protected]>
*  Checked in for Richard Baumann ([email protected])
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateTimePicker.cs
* DomainUpDown.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* added new files

svn path=/trunk/mcs/; revision=5565
2002-07-03 01:37:04 +00:00
Miguel de Icaza ef94557498 2002-07-02 Miguel de Icaza <[email protected]>
* class.cs (Method, Property, Indexer): Do not allow the public
	modifier to be used in explicit interface implementations.

	(TypeContainer.MethodModifiersValid): Catch virtual, abstract and
	override modifiers in method declarations in structs

2002-07-02   Andrew Birkett <[email protected]>

	* cs-tokenizer.cs (adjust_int, adjust_real): Do not abort on
	integer or real overflow, report an error

svn path=/trunk/mcs/; revision=5564
2002-07-03 01:31:33 +00:00
Miguel de Icaza ce71f4631c Add new tests from Andrew
svn path=/trunk/mcs/; revision=5563
2002-07-03 01:30:48 +00:00
Dennis Hayes 4e59f39f00 2002-7-1 DennisHayes <[email protected]>
* checked in for Jaak Simm ([email protected])
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridColumnStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* new classes added

svn path=/trunk/mcs/; revision=5562
2002-07-03 01:23:58 +00:00
Dennis Hayes 602f764a59 2002-7-1 DennisHayes <[email protected]>
*  Checked in for Richard Baumann ([email protected])
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* SystemInformation.cs
* Minor changes by Rich B

svn path=/trunk/mcs/; revision=5561
2002-07-03 01:17:33 +00:00
Mike Kestner a1282a284c 2002-07-02 Mike Kestner <[email protected]>
* StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.

svn path=/trunk/mcs/; revision=5560
2002-07-03 00:45:41 +00:00
Mike Kestner b6e95be946 2002-07-02 Mike Kestner <[email protected]>
* StreamReader.cs: Revert the last Peek change and fix the ReadLine
	end of line detection code instead.

svn path=/trunk/mcs/; revision=5559
2002-07-03 00:18:22 +00:00
Miguel de Icaza 66e3276ea1 Add new error
svn path=/trunk/mcs/; revision=5558
2002-07-02 21:15:19 +00:00
Miguel de Icaza d8429897e1 2002-07-02 Miguel de Icaza <[email protected]>
* class.cs (Method, Property, Indexer): Do not allow the public
	modifier to be used in explicit interface implementations.

svn path=/trunk/mcs/; revision=5557
2002-07-02 21:14:19 +00:00
Martin Baulig d92c9ee9ef 2002-07-02 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.InitCoreTypes): When compiling
	corlib, dynamically call AssemblyBuilder.SetCorlibTypeBuilders()
	to tell the runtime about our newly created System.Object and
	System.ValueType types.

svn path=/trunk/mcs/; revision=5556
2002-07-02 20:04:28 +00:00
Martin Baulig db84a073b2 2002-07-02 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (corlib_object_type, corlib_value_type): New
	internal fields.  When compiling corlib, they point to the newly
	created System.Object and System.ValueType types.
	(SetCorlibTypeBuilders): New public function.  This will be
	dynamically called from MCS when compiling corlib.

	* TypeBuilder.cs (DefineInitializedData): Use the AssemblyBuilder's
	`corlib_value_type' as parent type instead of `typeof (System.ValueType)'
	to make it work when compiling corlib.

	* ModuleBuilder.cs (assemblyb): Made this field internal, not private.

svn path=/trunk/mcs/; revision=5555
2002-07-02 20:02:47 +00:00
Miguel de Icaza ce8ced4e55 Add new test
svn path=/trunk/mcs/; revision=5554
2002-07-02 19:28:50 +00:00
Martin Baulig 2bee64eb49 2002-07-02 Martin Baulig <[email protected]>
* expression.cs (Indirection.Indirection): Call
	TypeManager.TypeToCoreType() on `expr.Type.GetElementType ()'.

svn path=/trunk/mcs/; revision=5553
2002-07-02 18:56:42 +00:00
Miguel de Icaza 9d67011b3b 2002-07-02 Miguel de Icaza <[email protected]>
* expression.cs (This): Use Stobj/Ldobj when we are a member of a
	struct instead of Ldarg/Starg.

svn path=/trunk/mcs/; revision=5552
2002-07-02 18:47:30 +00:00
Martin Baulig b341bce1c9 2002-07-02 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.EmitStoreOpcode): If the type is a
	ValueType, call TypeManager.TypeToCoreType() on it.
	(Invocations.EmitParams): Call TypeManager.TypeToCoreType() on
	the OpCodes.Newarr argument.

svn path=/trunk/mcs/; revision=5551
2002-07-02 18:44:54 +00:00
Paolo Molaro 5ad57cb453 Tue Jul 2 20:40:56 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: turn errors into warnings to allow compiling corlib.

svn path=/trunk/mono/; revision=5550
2002-07-02 18:42:24 +00:00
Gonzalo Paniagua Javier 9cd689ad52 2002-07-02 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs:
	(Peek): no need to have seek capabilitites.

svn path=/trunk/mcs/; revision=5549
2002-07-02 18:17:53 +00:00
Martin Baulig 2327b43b50 2002-07-02 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): When compiling corlib,
	replace all calls to the system's System.Array type to calls to
	the newly created one.

	* typemanager.cs (TypeManager.InitCodeHelpers): Added a few more
	System.Array methods.
	(TypeManager.InitCoreTypes): When compiling corlib, get the methods
	from the system's System.Array type which must be replaced.

svn path=/trunk/mcs/; revision=5548
2002-07-02 18:17:48 +00:00
Paolo Molaro fb88fb24f7 Tue Jul 2 19:33:20 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: add special cases to compile corlib.

svn path=/trunk/mono/; revision=5547
2002-07-02 17:35:33 +00:00
Martin Baulig 4f8542e16b 2002-07-02 Martin Baulig <[email protected]>
* get.c (dis_stringify_object_with_class): New static function to
	stringify an object when we already have its class.
	(dis_stringify_object): Get the class and call dis_stringify_object().
	(get_method): Call dis_stringify_object_with_class() since we already
	have the object's class.

svn path=/trunk/mono/; revision=5546
2002-07-02 17:34:48 +00:00
Paolo Molaro 9f5d5cc3b2 Tue Jul 2 19:05:05 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: load unverifiable_code_ctor so we can build
	corlib using the correct type. Avoid using GetTypeCode() with
	TypeBuilders.
	* rootcontext.cs: uses TypeManager.unverifiable_code_ctor and
	TypeManager.object_type to allow building corlib.

svn path=/trunk/mcs/; revision=5545
2002-07-02 17:11:57 +00:00
Paolo Molaro c1cc550c39 Tue Jul 2 19:03:19 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: handle System.Enum separately in LoadFromPtr().

svn path=/trunk/mcs/; revision=5544
2002-07-02 17:05:18 +00:00
Paolo Molaro 58202fd3f7 Tue Jul 2 18:34:49 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: implemented AssemblyQualifiedName.
	* MethodBuilder.cs, ConstructorBuilder.cs: special case custom attr.

svn path=/trunk/mcs/; revision=5543
2002-07-02 16:36:33 +00:00
Gonzalo Paniagua Javier 75d5b5a7bc 2002-07-02 Gonzalo Paniagua Javier <[email protected]>
* mono.c: removed the "RESULT: X" message.

svn path=/trunk/mono/; revision=5541
2002-07-02 15:50:35 +00:00
Nick Drochak 766d740733 2002-07-03 Nick Drochak <[email protected]>
* ArrayTest.cs: Re-enable some tests.  Let's see what's broken still.

svn path=/trunk/mcs/; revision=5540
2002-07-02 15:28:58 +00:00
Ajay kumar Dwivedi 011f05764f 2002-07-02 Ajay kumar Dwivedi <[email protected]>
* XmlSeriailizer: Updated Serialize() method.

svn path=/trunk/mcs/; revision=5539
2002-07-02 15:11:48 +00:00
Nick Drochak d364765903 2002-07-02 Nick Drochak <[email protected]>
* SortedList.cs: Constructors should use the capacity given regardless
	how small. After a Clear() the Capacit should be 16. Since a Dictionary
	might be used in the constructor, make sure we trap exceptions thrown
	by the Comparer, like in Add().

svn path=/trunk/mcs/; revision=5538
2002-07-02 14:51:34 +00:00
Nick Drochak 767c1b9056 2002-07-02 Nick Drochak <[email protected]>
* SortedListTest.cs: Fix some expected/actual value parameters for
	AssertEquals().

svn path=/trunk/mcs/; revision=5537
2002-07-02 14:50:15 +00:00
Dick Porter 5c59f7431f 2002-07-02 Dick Porter <[email protected]>
* wapi-private.h (_WAPI_HANDLE_VERSION): New protocol version

svn path=/trunk/mono/; revision=5536
2002-07-02 14:34:44 +00:00
Dick Porter 63753a2486 2002-07-02 Dick Porter <[email protected]>
* handles.c (shared_init): Make a second attempt to contact the
	daemon if the shared memory attach succeeds, but the connect()
	fails. (This copes with the daemon crashing without cleaning up
	the shared memory.)

	* Makefile.am:
	* daemon-private.h:
	* daemon.c:
	* shared.c (_wapi_shm_attach): Don't exec() anything when we fork
	the daemon, it's now built into the library.

svn path=/trunk/mono/; revision=5535
2002-07-02 14:32:54 +00:00
Miguel de Icaza 3b9d8a10cf Further updates to the makefile
svn path=/trunk/mcs/; revision=5534
2002-07-02 03:56:07 +00:00
Miguel de Icaza 65b228757e flush
svn path=/trunk/mcs/; revision=5532
2002-07-02 02:02:15 +00:00
Miguel de Icaza 91a1ece6f3 Put my tests back, this is used by the compiler people in their day to
day work.

svn path=/trunk/mcs/; revision=5531
2002-07-02 01:58:09 +00:00
Dennis Hayes c42bab05ef 2002-7-1 DennisHayes <[email protected]>
* changelog
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventArgs.cs
* TreeViewEventArgs.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UserControl.cs
* VScrollBar.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5529
2002-07-01 18:51:35 +00:00
Dennis Hayes 659f675bb5 2002-7-1 DennisHayes <[email protected]>
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventArgs.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5528
2002-07-01 18:51:09 +00:00
Dennis Hayes 89e43e95b6 2002-7-1 DennisHayes <[email protected]>
* MeasureItemEventArgs.cs
* Menu.cs MenuItem.cs
* Message.cs
* MessageBox.cs
* MonthCalendar.cs
* MouseEventArgs.cs
* NativeWindow.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* RadioButton.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5527
2002-07-01 18:50:38 +00:00
Dennis Hayes 5e999f7a52 2002-7-1 DennisHayes <[email protected]>
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* IWin32Window.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventArgs.cs
* LabelEditEventHandler.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* MainMenu.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5526
2002-07-01 18:50:17 +00:00
Dennis Hayes 0043912f16 2002-7-1 DennisHayes <[email protected]>
* ErrorProvider.cs 
* FeatureSupport.cs
* FileDialog.cs
* Form.cs
* GiveFeedbackEventArgs.cs
* GridColumnStylesCollection.cs
* GridItem.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs 
* HelpEventArgs.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageCollection.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5525
2002-07-01 18:48:36 +00:00
Dennis Hayes 4186e01125 2002-7-1 DennisHayes <[email protected]>
* ContentsResizedEventArgs.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5524
2002-07-01 18:47:46 +00:00
Dennis Hayes 7d16379857 2002-7-1 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* ArrangeDirection.cs
* AxHost.cs BaseCollection.cs
* Binding.cs BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ComVisible.cs
* ContainerControl.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

svn path=/trunk/mcs/; revision=5523
2002-07-01 18:47:14 +00:00
Dennis Hayes 1ceef4a7d7 2002-7-1 DennisHayes <[email protected]>
* changelog
* reversed order, putting most recent entries at the top

svn path=/trunk/mcs/; revision=5522
2002-07-01 18:40:27 +00:00
Paolo Molaro bc7e3329e1 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <[email protected]>
* MonoProperty.cs: handle properties with only a set method.

svn path=/trunk/mcs/; revision=5521
2002-07-01 16:02:45 +00:00
Paolo Molaro 0c016b6a26 Mon Jul 1 18:00:40 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: handle properties with only a set method.

svn path=/trunk/mono/; revision=5520
2002-07-01 16:02:12 +00:00
Martin Baulig 6a2ef23967 2002-07-01 Martin Baulig <[email protected]>
* class.cs: Make the last change actually work, we need to check
	whether `ifaces != null' to avoid a crash.

svn path=/trunk/mcs/; revision=5519
2002-07-01 15:23:44 +00:00
Paolo Molaro 9c4dfe1423 Mon Jul 1 17:11:11 CEST 2002 Paolo Molaro <[email protected]>
* opcodes.h: add enum with opcodes in opval order.

svn path=/trunk/mono/; revision=5518
2002-07-01 15:12:34 +00:00
Paolo Molaro f72dc52e7c New test.
svn path=/trunk/mcs/; revision=5517
2002-07-01 14:56:16 +00:00
Paolo Molaro 23a705be7e Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <[email protected]>
* Style.cs, TableRow.cs, DataListItem.cs: fix compilation.

svn path=/trunk/mcs/; revision=5516
2002-07-01 14:34:26 +00:00
Paolo Molaro 9c3768154d Mon Jul 1 16:17:29 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: implemented AddInterfaceImplementation().

svn path=/trunk/mcs/; revision=5515
2002-07-01 14:18:33 +00:00
Paolo Molaro d87a46d631 Mon Jul 1 16:15:03 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: when we build structs without fields that implement
	interfaces, we need to add the interfaces separately, since there is
	no API to both set the size and add the interfaces at type creation
	time.

svn path=/trunk/mcs/; revision=5514
2002-07-01 14:17:33 +00:00
Dietmar Maurer 8901557819 2002-07-01 Dietmar Maurer <[email protected]>
* exception.c (arch_get_call_finally): restore caller saved
	register used by global reg. allocation when calling finally
	handlers (fixes bug #24943).

svn path=/trunk/mono/; revision=5513
2002-07-01 13:22:41 +00:00
Paolo Molaro 033eb60626 Mon Jul 1 14:50:47 CEST 2002 Paolo Molaro <[email protected]>
* expression.cs: the dimension arguments to the array constructors
	need to be converted if they are a long.

svn path=/trunk/mcs/; revision=5512
2002-07-01 13:00:42 +00:00
Dick Porter 145df12aef 2002-07-01 Dick Porter <[email protected]>
* object.h:
	* object.c (mono_runtime_run_main): Removed unneeded argument

2002-07-01  Dick Porter  <[email protected]>

	* interp.c (ves_exec): Removed unneeded argument to
	mono_runtime_run_main()

2002-07-01  Dick Porter  <[email protected]>

	* jit.c (mono_jit_exec): Removed unneeded argument to
	mono_runtime_run_main()

svn path=/trunk/mono/; revision=5511
2002-07-01 12:11:06 +00:00
Dietmar Maurer e018440fe8 remove useless init code
svn path=/trunk/mono/; revision=5510
2002-07-01 11:45:50 +00:00
Paolo Molaro ed81b1c29f Mon Jul 1 12:26:12 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: don't emit ldarg.0 if there is no parent constructor
	(fixes showstopper for corlib).

svn path=/trunk/mcs/; revision=5509
2002-07-01 10:28:40 +00:00
Gonzalo Paniagua Javier 47418d0455 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs:
	* DataGridPagerStyle.cs:
	* DataList.cs:
	* DataListItem.cs:
	* Image.cs:
	* LinkButton.cs:
	* ListControl.cs:
	* ListItem.cs:
	* ListItemCollection.cs:
	* Repeater.cs:
	* ServerValidateEventArgs.cs:
	* Style.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: more class status page based changes.

svn path=/trunk/mcs/; revision=5508
2002-06-30 23:24:53 +00:00
Rachel Hestilow a6875fd9d3 2002-06-30 Rachel Hestilow <[email protected]>
* Button.cs, ButtonBase.cs, ControlEventArgs.cs,
	ControlEventHandler.cs, DialogResult.cs,
	IButtonControl.cs, IContainerControl.cs:
	Copied over from stubs directory. Preliminary implementation.

	* Control.cs: Implement ControlCollection, TextChanged,
	Controls, CreateControlsInstance, ControlAdded, ControlRemoved,
	ControlLocationChanged, OnControlAdded, OnControlRemoved,
	Location, LocationChanged, OnLocationChanged, Click, OnClick,
	and Anchor.
	(Show): s/EmitShow/Show
	(CreateWidget): Create a Gtk.Layout.
	(Text): Call OnTextChanged.

	* Form.cs (CreateWidget): Add base class contents to window.
	(Text): Remove, move to OnTextChanged where it's supposed to be.
	(OnTextChanged): Added.

	* demo.cs: Test new features (Button, Label).

svn path=/trunk/mcs/; revision=5507
2002-06-30 21:21:55 +00:00
Gonzalo Paniagua Javier 129ad6efaa 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponse.cs:
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.UI/LiteralControl.cs:
	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	* System.Web.UI.HtmlControls/HtmlButton.cs:
	* System.Web.UI.HtmlControls/HtmlControl.cs:
	* System.Web.UI.HtmlControls/HtmlForm.cs:
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
	* System.Web.UI.HtmlControls/HtmlInputControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputFile.cs:
	* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
	* System.Web.UI.HtmlControls/HtmlInputImage.cs:
	* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputText.cs:
	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	* System.Web.UI.HtmlControls/HtmlTable.cs:
	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	* System.Web.UI.HtmlControls/HtmlTextArea.cs:

	Fixes based on class status page:

		- Add attributes (DefaultEvent, ParseChildren).
		- Fix declarations.
		- Explicitly implement some interfaces (IPostBackDataHandler
		and IPostBackEventHandler).
		- Implemented some missing methods.

svn path=/trunk/mcs/; revision=5506
2002-06-30 20:44:49 +00:00
Nick Drochak 246dc289a8 2002-06-30 Nick Drochak <[email protected]>
* SortedListTest.cs: Fix some expected/actual value parameters in the
	Assert()'s. Disable a part of test until the class is finished.

svn path=/trunk/mcs/; revision=5505
2002-06-30 14:36:34 +00:00
Nick Drochak 6a57e507f5 2002-06-30 Nick Drochak <[email protected]>
* SortedList.cs: Many fixed. A lot of checking for null and throwing
	exceptions.  A few logic bugs fixed as well

svn path=/trunk/mcs/; revision=5504
2002-06-30 14:35:57 +00:00
Nick Drochak f9c4b2ce49 2002-06-30 Nick Drochak <[email protected]>
* Double.cs (CompareTo): Just see which is bigger.  Don't use the
	subtraction trick, it doesn't work when the values have a diference of
	less than one.

	* Single.cs (CompareTo): same

svn path=/trunk/mcs/; revision=5503
2002-06-30 14:35:21 +00:00
Piers Haken b795373f90 2002-06-29 Piers Haken <[email protected]>
* Expression.cs:
		- remove dead code
		- NodeTest uses XPathResultType instead of internal NodeTestTypes enum
		- remove NodeTestTypes enum
		- remove NodeTestTypeAny (functionality provided by base now)
		- fix ExprStep to handle wildcard QNames

	* Parser.jay:
		- moved to Mono.Xml.XPath namespace
		- use XPathResultType
		- handle wildcard QNames

	* Tokenizer.cs: moved to Mono.Xml.XPath namespace

	* XPathNavigator.cs: implement
		- IsDescendant
		- SelectAncestors
		- SelectDescendants
		- SelectChildren

	* XPathResultType.cs: fix enum values

svn path=/trunk/mcs/; revision=5502
2002-06-29 20:21:13 +00:00
Martin Baulig 5ada643516 2002-06-29 Martin Baulig <[email protected]>
MCS now compiles corlib on GNU/Linux :-)

	* attribute.cs (Attribute.ApplyAttributes): Treat Accessors like Method,
	ie. check for MethodImplOptions.InternalCall.

	* class.cs (TypeContainer.DefineType): When compiling corlib, both parent
	and TypeManager.attribute_type are null, so we must explicitly check
	whether parent is not null to find out whether it's an attribute type.
	(Property.Emit): Always call Attribute.ApplyAttributes() on the GetBuilder
	and SetBuilder, not only if the property is neither abstract nor external.
	This is necessary to set the MethodImplOptions on the accessor methods.
	(Indexer.Emit): Call Attribute.ApplyAttributes() on the GetBuilder and
	SetBuilder, see Property.Emit().

	* rootcontext.cs (RootContext.PopulateTypes): When compiling corlib, don't
	populate "System.Object", "System.ValueType" and "System.Attribute" since
	they've already been populated from BootCorlib_PopulateCoreTypes().

svn path=/trunk/mcs/; revision=5501
2002-06-29 18:17:32 +00:00
Gonzalo Paniagua Javier a524bd67b5 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs:
	(Session): return null instead of throwing an exception.

	* System.Web/HttpRequest.cs:
	(HttpMethod): return RequestType if not set.
	(GetRawContent): return QueryString if we don't have a
	HttpWorkerRequest.

	* System.Web/HttpUtility.cs: fixed Decode and Encode.

	* System.Web.UI/Control.cs: reimplemented FindControls.

	* System.Web.UI/Page.cs:
	(.ctor): set the page for this control.
	(IsPostBack): return valid value.
	(DeterminePostBackMode): finished.
	(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
	(ProcessPostData): implemented. Raises change and postback events.
	(ProcessRequest): changed to support reuse of the instance.
	(RegisterRequiresPostBack): implemented.

	* System.Web.UI/ValidatorCollection.cs: implemented all methods.

	* System.Web.UI.WebControls/Button.cs:
	(.ctor): fixed to render the correct tag.
	(IPostBAckEventHandler.RaisePostBackEvent): fixed.

svn path=/trunk/mcs/; revision=5499
2002-06-29 16:27:54 +00:00
Martin Baulig fb53523db8 2002-06-29 Martin Baulig <[email protected]>
* AsymmetricAlgorithm.cs: Removed a duplicate semicolon to make it compile.

	* *.cs (Create (string)): Don't call the non-args version of Create(),
	duplicate their contents here.  [FIXME: I was too lazy to hunt this bug down
	in mcs and it was the last one which prevented us from compiling corlib.]

svn path=/trunk/mcs/; revision=5498
2002-06-29 03:36:15 +00:00
Martin Baulig 6a2255bf98 2002-06-29 Martin Baulig <[email protected]>
* ecore.cs (Expression.ImplicitReferenceConversionExists): If expr
	is the NullLiteral, we also need to make sure that target_type is not
	an enum type.

svn path=/trunk/mcs/; revision=5497
2002-06-29 03:21:05 +00:00
Martin Baulig a0ad09563a 2002-06-29 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.ResolveCore): We must initialize
	`TypeManager.multicast_delegate_type' and `TypeManager.delegate_type'
	before calling BootstrapCorlib_ResolveDelegate ().

svn path=/trunk/mcs/; revision=5496
2002-06-29 02:14:07 +00:00
Dennis Hayes 622f22afea 2002-6-28 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* Tooltip.cs
* new class

svn path=/trunk/mcs/; revision=5495
2002-06-29 02:01:29 +00:00
Martin Baulig 9a1c4f7293 2002-06-29 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs (DieInheritance): Make this actually work.

svn path=/trunk/mcs/; revision=5494
2002-06-29 01:00:23 +00:00
Martin Baulig 24dab91082 2002-06-29 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs, MonoSymbolWriter.cs: Put all TAG_subprogram's into their
	corresponding struct/class declarations.

svn path=/trunk/mcs/; revision=5493
2002-06-28 23:41:35 +00:00
Martin Baulig 496a632391 2002-06-28 Martin Baulig <[email protected]>
* debug.c (debug_generate_method_lines, mono_debug_add_method): Make methods
	start on the nop instruction to make single-stepping into an already-JITed
	method work.

svn path=/trunk/mono/; revision=5492
2002-06-28 21:15:16 +00:00
Martin Baulig d35f565566 2002-06-28 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

svn path=/trunk/mono/; revision=5491
2002-06-28 21:13:38 +00:00
Martin Baulig 93ba208e13 2002-06-28 Martin Baulig <[email protected]>
* gdb-csharp-support.patch: Updated.

svn path=/trunk/mcs/; revision=5490
2002-06-28 21:12:35 +00:00
Martin Baulig b52669cb34 2002-06-28 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Use a TAG_string_type when we're using GNU extensions.
	Make static struct/class fields actually work.  Provide a TAG_typedef for struct's
	and classes.

svn path=/trunk/mcs/; revision=5489
2002-06-28 21:07:49 +00:00
Martin Baulig a105777207 2002-06-28 Martin Baulig <[email protected]>
* MethodBuilder.cs (GetParameters): Return all parameters, not all
	but the last one.

svn path=/trunk/mcs/; revision=5488
2002-06-28 21:05:32 +00:00
Gonzalo Paniagua Javier f91cca27ba Removed backup file. Thanks Juli!
svn path=/trunk/mcs/; revision=5487
2002-06-28 16:27:23 +00:00
Dietmar Maurer 8c699e48b3 marshal tests
svn path=/trunk/mono/; revision=5486
2002-06-28 08:24:15 +00:00
Gonzalo Paniagua Javier 3d2b54f23f 2002-06-27 Gonzalo Paniagua Javier <[email protected]>
* statement.cs: fixed build-breaker. All tests passed ok.

svn path=/trunk/mcs/; revision=5485
2002-06-27 19:46:13 +00:00
Duncan Mak afd74cae6e Merged in patches from Jesus Suarez ([email protected]).
svn path=/trunk/mcs/; revision=5484
2002-06-27 19:21:51 +00:00
Martin Baulig 49de146404 2002-06-27 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.VerifyUnManaged): Added explicit check
	for System.Decimal when compiling corlib.

svn path=/trunk/mcs/; revision=5483
2002-06-27 18:14:19 +00:00
Martin Baulig 76ee2a7363 2002-06-27 Martin Baulig <[email protected]>
* statement.cs (Switch.TableSwitchEmit): Make this work with empty
	switch blocks which contain nothing but a default clause.

svn path=/trunk/mcs/; revision=5482
2002-06-27 18:07:30 +00:00
Martin Baulig 944b0cdf48 2002-06-27 Martin Baulig <[email protected]>
* ConstructorBuilder.cs (GetParameters): Implemented.

svn path=/trunk/mcs/; revision=5481
2002-06-27 17:14:16 +00:00
Ravi Pratap M 6d4a4bbcb5 Apply patches from Andrew
svn path=/trunk/mcs/; revision=5480
2002-06-27 16:37:52 +00:00
Dick Porter 9deb8e37ab 2002-06-27 Dick Porter <[email protected]>
* threads.c: Store the handle in both the parent thread and in the
	subthread, to minimise the time between starting a new thread and
	storing its ID.

svn path=/trunk/mono/; revision=5479
2002-06-27 16:04:34 +00:00
Ajay kumar Dwivedi 3a5acc4f4c 2002-06-27 Ajay kumar Dwivedi <[email protected]>
* XmlSerializer: Serialize() method Partially Implemented.

svn path=/trunk/mcs/; revision=5478
2002-06-27 10:36:28 +00:00
John Barnette 70c85b729e Further adventures in XML serialization. W00t!
svn path=/trunk/mcs/; revision=5477
2002-06-27 01:08:04 +00:00
Martin Baulig 3775fc8d49 2002-06-27 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.PropertyExpr): Call
	TypeManager.TypeToCoreType() on the `pi.PropertyType'.

	* typemanager.cs (TypeManager.TypeToCoreType): Return if the type
	is already a TypeBuilder.

svn path=/trunk/mcs/; revision=5476
2002-06-26 20:26:38 +00:00
Martin Baulig bca8446bb4 2002-06-27 Martin Baulig <[email protected]>
* makefile (test-compiler-mono): New target to compile and run
	the tests with mcs and the mono jit.

svn path=/trunk/mcs/; revision=5475
2002-06-26 20:22:12 +00:00
Martin Baulig abb6fdf310 2002-06-27 Martin Baulig <[email protected]>
* UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
	constructor argument.  [FIXME: The implicit conversion to an
	unsigned integer doesn't work with mcs.]

svn path=/trunk/mcs/; revision=5474
2002-06-26 20:20:05 +00:00
Martin Baulig 92caceea59 2002-06-27 Martin Baulig <[email protected]>
* ecore.cs (Expression.SimpleNameResolve): If the expression is a
	non-static PropertyExpr, set its InstanceExpression.  This makes
	the `ICollection.Count' property work in System/Array.cs.

svn path=/trunk/mcs/; revision=5473
2002-06-26 18:56:27 +00:00
Martin Baulig 07e1deb86b 2002-06-27 Martin Baulig <[email protected]>
* ecore.cs (Expression.SimpleNameResolve): If the expression is a
	non-static PropertyExpr, set its InstanceExpression.  This makes
	the `ICollection.Count' property work in System/Array.cs.

svn path=/trunk/mcs/; revision=5472
2002-06-26 18:26:00 +00:00
Dick Porter d1cd1a27bf 2002-06-26 Dick Porter <[email protected]>
* appdomain.c (mono_runtime_cleanup): Close the socket library
	after all the threads have finished, not before

svn path=/trunk/mono/; revision=5471
2002-06-26 18:23:56 +00:00
Martin Baulig 2ce998e2e1 Ooops, forgot a NULL check in my last commit.
svn path=/trunk/mono/; revision=5470
2002-06-26 17:46:19 +00:00
Martin Baulig 8818022ee4 2002-06-26 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): Added
	`guint32 *line_number' argument.  If it's not NULL, store the line number
	there and return the file name without the line number.

	* exception.c (ves_icall_get_trace): Fill in `sf->filename' and `sf->line'.
	(ves_icall_get_frame_info): Likewise.

svn path=/trunk/mono/; revision=5469
2002-06-26 17:37:39 +00:00
Martin Baulig e2cb193ef2 2002-06-26 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_find_source_location): Added
	`guint32 *line_number' argument.  If it's not NULL, store the line number
	there and return the file name without the line number.

svn path=/trunk/mono/; revision=5468
2002-06-26 17:36:46 +00:00
Martin Baulig 87d5584af0 2002-06-26 Martin Baulig <[email protected]>
* DecimalFormatter.cs: Removed MSTEST stuff, use `System',
	not `S = System'.  This file now compiles with mcs.

	* String.cs: Removed the already ifdef-outed __arglist Concat function
	to make it compile with mcs.

svn path=/trunk/mcs/; revision=5466
2002-06-26 13:20:14 +00:00
Miguel de Icaza 49a60e2633 Add manual page for mono configuration
svn path=/trunk/mono/; revision=5464
2002-06-26 12:20:55 +00:00
Miguel de Icaza fc7aec7bc0 Updated
svn path=/trunk/mono/; revision=5463
2002-06-26 12:20:41 +00:00
Duncan Mak 55906fa7f2 2002-06-26 Duncan Mak <[email protected]>
* XmlNodeReader.cs: Implementation of most of the properties, and
	some of the related methods.

svn path=/trunk/mcs/; revision=5460
2002-06-26 01:13:05 +00:00
John Barnette 74b7235182 The raw beginnings of XML serialization of Monodoc XML.
svn path=/trunk/mcs/; revision=5457
2002-06-25 22:37:15 +00:00
Gonzalo Paniagua Javier 0b02144e55 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs:
	* System.Web/HttpContext.cs: added System.Web.SessionState namespace.

	* System.Web/HttpSessionState.cs: removed. It is under
	System.Web.SessionState.

	* System.Web.UI/Control.cs:
	* System.Web.UI/Page.cs: first attemp to save view state.

	* System.Web.UI.HtmlControls/HtmlForm.cs: don't render Action.

svn path=/trunk/mcs/; revision=5455
2002-06-25 20:54:16 +00:00
Ravi Pratap M 36175eaadb Apply patch from Andrew
svn path=/trunk/mcs/; revision=5453
2002-06-25 19:23:48 +00:00
Ravi Pratap M c8264f5263 Apply patches from Andrew
svn path=/trunk/mcs/; revision=5452
2002-06-25 19:23:14 +00:00
Dick Porter cf615313b4 2002-06-25 Dick Porter <[email protected]>
* Process.cs: Process forking and waiting, and some support functions

	* ProcessStartInfo.cs: Implemented the bits needed for basic
	Process forking

	* ProcessModule.cs: Implemented

	* ProcessModuleCollection.cs: Mostly implemented

	* FileVersionInfo.cs: Implemented

svn path=/trunk/mcs/; revision=5451
2002-06-25 13:00:25 +00:00
Dick Porter 1e130c53fa 2002-06-25 Dick Porter <[email protected]>
* handles.c:
	* handles-private.h:
	* daemon-messages.h:
	* daemon.c: Process forking and handle data management

	* processes.h:
	* process-private.h:
	* processes.c: Process forking and other support functions

2002-06-25  Dick Porter  <[email protected]>

	* icall.c:
	* process.h:
	* process.c: Process forking and other support functions

svn path=/trunk/mono/; revision=5450
2002-06-25 12:39:19 +00:00
Dick Porter d7961b8491 2002-06-25 Dick Porter <[email protected]>
* versioninfo.h: PE resource decoding

	* unicode.c (_wapi_unicode_to_utf8): g_utf16_to_utf8 doesnt need
	to be told the string length

	* io.c: Removed the ACTUALLY_DO_UNICODE option.  Fixed some leaks.
	Moved _wapi_time_t_to_filetime and the WapiFileTime typedef to
	timefuncs.c

2002-06-25  Dick Porter  <[email protected]>

	* image.c (do_mono_image_open): Set ref_count to 1, so that bad
	things dont happen when the image is closed.
	(mono_image_lookup_resource): Walk the resource section looking
	for a particular entry

	* cil-coff.h: PE resource section decoding

svn path=/trunk/mono/; revision=5449
2002-06-25 12:29:33 +00:00
Dick Porter 0493a81527 *** empty log message ***
svn path=/trunk/mono/; revision=5448
2002-06-25 12:28:50 +00:00
Jaime Anguiano Olarra 59e0005065 Added several questions/answers and a new "Mono and ASP.NET" section.
svn path=/trunk/mono/; revision=5447
2002-06-25 12:10:23 +00:00
Dick Porter cf2b756d65 2002-06-25 Dick Porter <[email protected]>
* assembly.h:
	* assembly.c:
	(mono_assembly_foreach): Accessor functions to walk the list of
	loaded assemblies
	(mono_assembly_set_main):
	(mono_assembly_get_main): Process methods need to know which
	assembly is the "main" one

	* object.c (mono_runtime_run_main): Record the main assembly

	* debug-helpers.c: Fix typo

2002-06-25  Dick Porter  <[email protected]>

	* interp.c (ves_exec): Pass the assembly to mono_runtime_run_main

2002-06-25  Dick Porter  <[email protected]>

	* jit.c (mono_jit_exec): Pass the assembly to mono_runtime_run_main

svn path=/trunk/mono/; revision=5446
2002-06-25 12:09:31 +00:00
Nick Drochak 22182b99a1 2002-06-25 Nick Drochak <[email protected]>
* QueueTest.cs: Trap some unexpected exceptions and add a bit of
	verbosity to some assert messages.

svn path=/trunk/mcs/; revision=5445
2002-06-25 10:54:34 +00:00
Nick Drochak 5eea95dbf3 2002-06-25 Nick Drochak <[email protected]>
* Queue.cs (CopyTo): Fix logic for copying the circular array.
	(Enqueue): Use actual length of array to determine when to grow
	(QueueEnumerator) Fixed Current to use array length, not capacity, and
	fixed off-by-one errror in MoveNext().

svn path=/trunk/mcs/; revision=5444
2002-06-25 10:52:25 +00:00
Duncan Mak 157371eced Add news item for gtk# sample apps.
svn path=/trunk/mono/; revision=5441
2002-06-24 23:47:50 +00:00
Jason Diamond c4eb1e7e02 Removed my incomplete XPathScanner code.
svn path=/trunk/mcs/; revision=5439
2002-06-24 22:52:29 +00:00
Dennis Hayes c94a7d0a2b 2002-6-24 DennisHayes <[email protected]>
* BindingMemberInfo.cs
* CaptionButton.cs
* DataGridCell.cs
* Message.cs
* MessageBox.cs
* Fixed bugs preventing compile

svn path=/trunk/mcs/; revision=5436
2002-06-24 21:54:00 +00:00
Dennis Hayes 9d746fa1be 2002-6-18 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes

svn path=/trunk/mcs/; revision=5435
2002-06-24 21:50:07 +00:00
Gonzalo Paniagua Javier 75426b4397 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: implemented more properties using information
	we already have in Context.
	(OnFormRender):
	(OnFormPostRender):
	(VerifyRenderingInServerForm): implemented.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderChildren): use OnFormRender and OnFormPostRender.

	* System.Web.UI.WebControls/WebControl.cs:
	(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
	WebControl derived classes should be rendered inside a HtmlForm.

svn path=/trunk/mcs/; revision=5434
2002-06-24 20:59:53 +00:00
Gonzalo Paniagua Javier beef1d0ec1 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* IntegerFormatter.cs:
	(FormatParse.FormatNumber): fixed custom format for negative numbers.

svn path=/trunk/mcs/; revision=5432
2002-06-24 15:14:30 +00:00
Dietmar Maurer a6687be669 2002-06-24 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged): impl.
	(ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged): impl.

svn path=/trunk/mono/; revision=5431
2002-06-24 12:47:06 +00:00
Dietmar Maurer 7c7b330925 * Marshal.cs: impl. Copy()
svn path=/trunk/mcs/; revision=5430
2002-06-24 12:42:22 +00:00
Gonzalo Paniagua Javier 5d82fee5c1 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs: New file to make 'make test' work.
	* ChangeLog: New file.

svn path=/trunk/mcs/; revision=5429
2002-06-24 11:34:14 +00:00
Dick Porter 4aed3ef820 2002-06-24 Dick Porter <[email protected]>
* XmlCaseOrder.cs: Fix namespace

svn path=/trunk/mcs/; revision=5428
2002-06-24 10:55:37 +00:00
Dick Porter 8fca1a368c 2002-06-24 Dick Porter <[email protected]>
* Socket.cs: Make SetSocketOption cope with boolean values (they
	are passed as objects, not the ints the runtime was expecting)

svn path=/trunk/mcs/; revision=5427
2002-06-24 09:41:09 +00:00
Piers Haken 2dfdf317d6 2002-06-23 Piers Haken <[email protected]>
* DefaultContext.cs: implemented XPathFUnctionId
	* Iterator.cs: new ArrayListIterator for id() support

svn path=/trunk/mcs/; revision=5426
2002-06-24 01:26:23 +00:00
Gonzalo Paniagua Javier cc3b68b94f 2002-06-23 Gonzalo Paniagua Javier <[email protected]>
* TypeConverter.cs: flushed local changes.

svn path=/trunk/mcs/; revision=5425
2002-06-23 21:23:25 +00:00
Gonzalo Paniagua Javier 90f90287e0 2002-06-23 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: implemented more methods/properties.
	* SessionDictionary.cs: New file.

svn path=/trunk/mcs/; revision=5424
2002-06-23 20:58:48 +00:00
Rafael Teixeira c93b0ddf64 2002-06-23 Rafael Teixeira <[email protected]>
* merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
	* makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)

svn path=/trunk/mcs/; revision=5422
2002-06-23 18:41:23 +00:00
Piers Haken 8d73a2306c 2002-06-23 Piers Haken <[email protected]>
System.Xml:

    * XmlDocumentNavigator.cs: implement Clone()
    * XmlElement.cs: remove bogus unimplemented override of InnerText
    * XmlNode.cs: implment SelectNodes/SelectSingleNode
    * XmlNodeArrayList.cs: new support class for SelectNodes

System.Xml.Xsl:

    * XsltContext.cs: added 'PreserveWhitespace' abstract method

System.Xml.XPath:

    * XPathNavigator.cs: implement:
        - Compile
        - Evaluate
        - Clone
        - Select
        - ToString
        - some forwarding methods

    * XPathNodeIterator: implement caching Count

    * Tokenizer.cs: new XPath tokenizer
    * Parser.jay: new XPath grammar
    * Parser.cs: new precompiled XPath grammar
    * Expression.cs: new XPath expression objects
    * Iterator.cs: new XPath result/context objects
    * DefaultContext.cs: new XPath function binding context

svn path=/trunk/mcs/; revision=5421
2002-06-23 16:52:58 +00:00
Miguel de Icaza 7ec8739ed0 Another test
svn path=/trunk/mcs/; revision=5419
2002-06-22 23:13:55 +00:00
Miguel de Icaza 9434ec9537 Remove debugging value
svn path=/trunk/mcs/; revision=5417
2002-06-22 19:47:13 +00:00
Miguel de Icaza 09635f1cea 2002-06-22 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddMethod, TypeContainer.AddIndexer,
	TypeContainer.AddOperator): At the front of the list put the
	explicit implementations, so they get resolved/defined first.

svn path=/trunk/mcs/; revision=5416
2002-06-22 19:36:33 +00:00
Miguel de Icaza 144ff83b56 New test
svn path=/trunk/mcs/; revision=5415
2002-06-22 19:35:29 +00:00
Gonzalo Paniagua Javier 33e2f0ce33 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: changed InvokeEventMethod to use a GetMethod that works with
	out runtime. Renamed Page_Init and Page_Load.

	After this, we can load a dll and render HTML in linux.

svn path=/trunk/mcs/; revision=5414
2002-06-22 15:06:08 +00:00
Chris J. Breisch bfa9ef2538 Added DateAndTime tests
svn path=/trunk/mcs/; revision=5412
2002-06-22 10:15:34 +00:00
Chris J. Breisch 7f0c79e2e3 First real version
svn path=/trunk/mcs/; revision=5411
2002-06-22 10:13:20 +00:00
Paolo Molaro ecf8151c07 Test for bug#26264.
svn path=/trunk/mcs/; revision=5410
2002-06-22 06:14:13 +00:00
Paolo Molaro 007bd31a0c Comment out debug message.
svn path=/trunk/mcs/; revision=5409
2002-06-22 05:55:44 +00:00
Paolo Molaro 4ac33ce211 Sat Jun 22 11:37:25 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: fix off-by-one in Assembly.GetTypes() reported by [email protected].

svn path=/trunk/mono/; revision=5408
2002-06-22 05:52:41 +00:00
Miguel de Icaza 04ba7b39e2 2002-06-21 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.VerifyImplements): Verifies that a given
	interface type is implemented by this TypeContainer.  Used during
	explicit interface implementation.

	(Property.Define, Indexer.Define, Method.Define): Validate that
	the given interface in the explicit implementation is one of the
	base classes for the containing type.

	Also if we are explicitly implementing an interface, but there is
	no match in the pending implementation table, report an error.

svn path=/trunk/mcs/; revision=5407
2002-06-22 01:22:09 +00:00
Gonzalo Paniagua Javier 38e1afcf1a Fixed typo.
svn path=/trunk/mcs/; revision=5406
2002-06-21 22:42:12 +00:00
Miguel de Icaza 58aa2caa03 New errors handled
svn path=/trunk/mcs/; revision=5405
2002-06-21 21:41:42 +00:00
Miguel de Icaza 9cb1c53fa7 2002-06-21 Miguel de Icaza <[email protected]>
* class.cs (Property.Define): Only define the property if we are
	not explicitly implementing a property from an interface.  Use the
	correct name also for those properties (the same CSC uses,
	although that is really not needed).

	(Property.Emit): Do not emit attributes for explicitly implemented
	properties, as there is no TypeBuilder.

	(Indexer.Emit): ditto.

	Hiding then means that we do not really *implement* a pending
	implementation, which makes code fail.

svn path=/trunk/mcs/; revision=5403
2002-06-21 20:57:57 +00:00
Miguel de Icaza 52857cd1bd 2002-06-21 Miguel de Icaza <[email protected]>
* image.c (do_mono_image_open): Initialize reference count,
	otherwise we leak the MonoImage.

svn path=/trunk/mono/; revision=5399
2002-06-21 19:48:04 +00:00
Martin Baulig 33c1c4edd1 2002-06-22 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): Small fix, an
	unsigned number can never be smaller than zero, make that check
	actually work.

svn path=/trunk/mono/; revision=5398
2002-06-21 19:01:14 +00:00
Martin Baulig dcb457b8b3 2002-06-22 Martin Baulig <[email protected]>
* ecore.cs (Expression.Constantify): Call TypeManager.TypeToCoreType() on
	the return value of Object.GetType().  [FIXME: we need to do this whenever
	we get a type back from the reflection library].

svn path=/trunk/mcs/; revision=5397
2002-06-21 19:00:28 +00:00
Martin Baulig 038c2af66b 2002-06-21 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.EnumToUnderlying): It's now safe to call this function
	on System.Enum.

svn path=/trunk/mcs/; revision=5396
2002-06-21 18:59:56 +00:00
Miguel de Icaza 3db47ebad9 Implement set for the BitVector
svn path=/trunk/mcs/; revision=5395
2002-06-21 18:12:03 +00:00
Paolo Molaro 6a2bf97827 Fri Jun 21 19:16:47 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: small tweak to handle self-hosting.

svn path=/trunk/mono/; revision=5393
2002-06-21 13:31:17 +00:00
Ajay kumar Dwivedi 21689da521 2002-06-21 Ajay kumar Dwivedi <[email protected]>
* XmlQualifiedName: Name and Namespaces are never null. If null is passed
		to the constructor, set them to empty strings.
		Fixed the Operators.

svn path=/trunk/mcs/; revision=5392
2002-06-21 12:58:58 +00:00
Paolo Molaro f4d6e1c034 Added System.Xml.Serialization/*.
svn path=/trunk/mcs/; revision=5390
2002-06-21 11:04:59 +00:00
Paolo Molaro 66556f3a2d Added TypeConverterattribute.cs.
svn path=/trunk/mcs/; revision=5389
2002-06-21 11:03:26 +00:00
Gonzalo Paniagua Javier d999271e76 2002-06-21 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: implemented AppendFormat methods using
	String.Format. Thanks Paolo!

	This makes xsp generate correct C# output in linux :-). I still need
	to do more testing, though.

svn path=/trunk/mcs/; revision=5388
2002-06-21 10:02:24 +00:00
Paolo Molaro 2f54278dba Response file to use with mcs.
svn path=/trunk/mcs/; revision=5387
2002-06-21 08:37:00 +00:00
Paolo Molaro 8b1195be51 Fri Jun 21 13:37:57 CEST 2002 Paolo Molaro <[email protected]>
* typemanager.cs: make ExpandInterfaces() slip duplicated interfaces.

svn path=/trunk/mcs/; revision=5386
2002-06-21 07:53:27 +00:00
Rafael Teixeira b2855011eb 2002-06-21 Rafael Teixeira <[email protected]>
* merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
	  modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
	* added pending.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=5384
2002-06-21 00:09:31 +00:00
Miguel de Icaza afa59c411b 2002-06-20 Miguel de Icaza <[email protected]>
* attribute.cs: Return null if we can not look up the type.

svn path=/trunk/mcs/; revision=5383
2002-06-20 21:00:54 +00:00
Miguel de Icaza 2240650e61 Add new test
svn path=/trunk/mcs/; revision=5382
2002-06-20 20:56:34 +00:00
Miguel de Icaza cfa2f984ce 2002-06-20 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): Use ExpandInterfaces on
	the interface types found.

	* interface.cs (Interface.GetInterfaceBases): Use ExpandInterfaces on the
	interface types found.

	* typemanager.cs (GetInterfaces): Make this routine returns alll
	the interfaces and work around the lame differences between
	System.Type and System.Reflection.Emit.TypeBuilder in the results
	result for GetInterfaces.

	(ExpandInterfaces): Given an array of interface types, expand and
	eliminate repeated ocurrences of an interface.  This expands in
	context like: IA; IB : IA; IC : IA, IB; the interface "IC" to
	be IA, IB, IC.

svn path=/trunk/mcs/; revision=5381
2002-06-20 20:56:24 +00:00
Martin Baulig 74fa5d8a7e Ooops, I forgot TypeCode.String in my last commit.
svn path=/trunk/mcs/; revision=5380
2002-06-20 19:15:42 +00:00
Martin Baulig 8aadeefd7a 2002-06-21 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.TypeToCoreType): New function.  When compiling corlib
	and called with one of the core types, return the corresponding typebuilder for
	that type.

	* expression.cs (ArrayAccess.DoResolve): Call TypeManager.TypeToCoreType() on the
	element type.

svn path=/trunk/mcs/; revision=5379
2002-06-20 19:10:52 +00:00
Martin Baulig 9e9755854e 2002-06-21 Martin Baulig <[email protected]>
* Double.cs: Replace the private `enum State' with constants since this
	will avoid some bigger headaches in mcs.

svn path=/trunk/mcs/; revision=5378
2002-06-20 18:51:00 +00:00
Martin Baulig 3f05d20dd8 2002-06-21 Martin Baulig <[email protected]>
* ecore.cs (Expression.ExplicitReferenceConversionExists): Use
	`target_type.IsArray' instead of `target_type.IsSubclassOf (TypeManager.array_type)'.
	(Expression.ConvertReferenceExplicit): Likewise.

	* expression.cs (ElementAccess.DoResolve): Likewise.
	(ElementAccess.DoResolveLValue): Likewise.

svn path=/trunk/mcs/; revision=5377
2002-06-20 18:50:01 +00:00
Paolo Molaro 1733c72b50 Thu Jun 20 23:28:13 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix type name parse code.

svn path=/trunk/mono/; revision=5376
2002-06-20 17:49:28 +00:00
Gonzalo Paniagua Javier 1168140dd3 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* StringConverter.cs: stubbed out.
	* TypeConverter.cs: stubbed the rest out and added some implementation.

	Five errors left when compiling System.Web in linux.

svn path=/trunk/mcs/; revision=5375
2002-06-20 16:04:05 +00:00
Gonzalo Paniagua Javier 76eaa0eddd 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* list: updated and reformatted.

svn path=/trunk/mcs/; revision=5374
2002-06-20 16:01:23 +00:00
Martin Baulig d6673cd4b0 2002-06-20 Martin Baulig <[email protected]>
* unix.args: New file.  This is a mcs response file to compile
	corlib on GNU/Linux (which doesn't work yet).

svn path=/trunk/mcs/; revision=5373
2002-06-20 15:46:40 +00:00
Martin Baulig 69d29e6632 2002-06-10 Martin Baulig <[email protected]>
* interface.cs (Interface.PopulateIndexer): When creating the setter, we need to
	add the "value" parameter to the parameter list.

	* statement.cs (Fixed.Emit): Pass the return value of the child block's Emit()
	to our caller.

svn path=/trunk/mcs/; revision=5372
2002-06-20 15:45:20 +00:00
Gonzalo Paniagua Javier 5fc47ced57 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System/System.build: removed System.Drawing.dll dependency.

	* System/System.ComponentModel/TypeConverterAttribute.cs: attribute
	sued by TypeDescriptor.Getconverter ().

	* System/System.ComponentModel/TypeDescriptor.cs:  implemented
	GetConverter in the right way.

	* System.Drawing/ChangeLog: new file.

	* System.Drawing/System.Drawing.build: added System.dll dependency

	* System.Drawing/System.Drawing/Color.cs: added TypeConverter attribute.

	* System.Drawing/System.Drawing/ColorConverter.cs: added constructor.

svn path=/trunk/mcs/; revision=5371
2002-06-20 14:32:08 +00:00
Paolo Molaro f96fffb0ae Thu Jun 20 19:24:32 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: break out of the loop.
	* image.c: special case corlib.

svn path=/trunk/mono/; revision=5370
2002-06-20 13:41:50 +00:00
Miguel de Icaza 713147a86d Flush
svn path=/trunk/mono/; revision=5369
2002-06-20 13:27:42 +00:00
Miguel de Icaza 2e9861aa99 Flush
svn path=/trunk/mono/; revision=5368
2002-06-20 13:10:26 +00:00
Johannes Roith ccacdeb031 cosmetically change - name prints out the path before "mono" on windows
svn path=/trunk/mono/; revision=5367
2002-06-20 13:05:03 +00:00
Miguel de Icaza ee61e83428 2002-06-19 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.ExpressionToArrayArgument): Convert
	the argument to an int, uint, long or ulong, per the spec.  Also
	catch negative constants in array creation.

svn path=/trunk/mcs/; revision=5366
2002-06-20 12:21:43 +00:00
Paolo Molaro 6e9c549290 Test error case.
svn path=/trunk/mcs/; revision=5365
2002-06-20 12:12:07 +00:00
Paolo Molaro 78abb8b217 Thu Jun 20 17:56:48 CEST 2002 Paolo Molaro <[email protected]>
* class.cs: do not allow the same interface to appear twice in
	the definition list.

svn path=/trunk/mcs/; revision=5364
2002-06-20 12:11:30 +00:00
Ajay kumar Dwivedi fec80ebd01 2002-06-20 Ajay kumar Dwivedi <[email protected]>
* System.Xml.Serialization: Added to build target

2002-05-24  Miguel de Icaza  <[email protected]>

svn path=/trunk/mcs/; revision=5363
2002-06-20 12:11:11 +00:00
Paolo Molaro 5a388a0c80 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <[email protected]>
* TimeSpan.cs: do not pollute the namespace with the
	System.Parser name.

svn path=/trunk/mcs/; revision=5362
2002-06-20 12:06:21 +00:00
Paolo Molaro 6d3bf1d327 Thu Jun 20 16:43:29 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: add all the custom attrs at the end to ensure the
	ctors have been properly initialized when the attributes are defined
	in the current assembly.

svn path=/trunk/mono/; revision=5361
2002-06-20 10:58:29 +00:00
Nick Drochak 14be91b1ff 2002-06-20 Nick Drochak <[email protected]>
* All changes: Make tests pass against ms.net.

svn path=/trunk/mcs/; revision=5360
2002-06-20 09:32:27 +00:00
Paolo Molaro 363f96c804 Thu Jun 20 13:46:40 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: handle correctly multiple-nested types.

svn path=/trunk/mono/; revision=5358
2002-06-20 08:01:08 +00:00
Gonzalo Paniagua Javier 087e90c0ff 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs:
	(AddedControl): new function that is called whenever a control is
	added to a collection of controls in a container. It sets the defaults
	except for Page.

	* System.Web.UI/ControlCollection.cs: call AddedControl in Add/AddAt.

	* System.Web.UI/DataBoundLiteralControl.cs: implemented constructor,
	Text, Render, SetStaticString and SetDataBoundString.

	* System.Web.UI/Page.cs: removed SetDefaults.

	* System.Web.UI.WebControls/Repeater.cs: implemented
	CreateControlHierarchy. Fixed some event processing methods.

svn path=/trunk/mcs/; revision=5357
2002-06-20 07:59:53 +00:00
Ajay kumar Dwivedi 55785e37e3 2002-06-20 Ajay kumar Dwivedi <[email protected]>
* Soap & XmlOverrides: Implemented using TypeMember as key with
	  suggestions from Rafael.

svn path=/trunk/mcs/; revision=5356
2002-06-20 06:26:07 +00:00
Paolo Molaro f8d285d4a1 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <[email protected]>
* main.c, dump.c, dump.h: code to dump the MethodImpl table.

svn path=/trunk/mono/; revision=5355
2002-06-20 06:05:39 +00:00
Paolo Molaro 6e12f242b3 Thu Jun 20 11:49:00 CEST 2002 Paolo Molaro <[email protected]>
* row-indexes.h: fix typos.
	* reflection.c: adjust for typos and fix method_def_or_ref
	encoding in MethodImpl table.

svn path=/trunk/mono/; revision=5354
2002-06-20 06:04:02 +00:00
Miguel de Icaza 1d67b1196d New error
svn path=/trunk/mcs/; revision=5353
2002-06-20 02:11:59 +00:00
Miguel de Icaza c2624707b3 update readme
svn path=/trunk/mcs/; revision=5352
2002-06-20 02:11:27 +00:00
Paolo Molaro 53cf66292e Wed Jun 19 22:33:37 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: don't use ldlen with System.Array.

svn path=/trunk/mcs/; revision=5349
2002-06-19 16:49:41 +00:00
Paolo Molaro 0368d06b2c Wed Jun 19 21:57:30 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix entry point patching (thanks Serge!).

svn path=/trunk/mono/; revision=5348
2002-06-19 16:18:14 +00:00
Paolo Molaro ffb26065d2 Test for indirect stores on structs and enums.
svn path=/trunk/mcs/; revision=5347
2002-06-19 15:18:05 +00:00
Paolo Molaro 505b1f422a Wed Jun 19 20:57:40 CEST 2002 Paolo Molaro <[email protected]>
* ecore.cs: stobj requires a type argument. Handle indirect stores on enums.

svn path=/trunk/mcs/; revision=5346
2002-06-19 15:16:55 +00:00
Gonzalo Paniagua Javier 865ba07b1a 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/CompiledTemplateBuilder.cs: new file. Used in the
	code generated by xsp.

	* System.Web.UI/Control.cs:
	(BindingContainer): implemented.
	(EnsureChildControls): avoid stack overflow.

	* System.Web.UI/DataBinder.cs: implemented Eval and PropertyValue.

	* System.Web.UI.WebControls/Repeater.cs:
	(Controls):
	(OnDataBinding): fixed stack overflow.

	Still need more work in Repeater.cs to make it render.

svn path=/trunk/mcs/; revision=5345
2002-06-19 14:49:12 +00:00
Paolo Molaro 033f081926 Test for protected internal fields.
svn path=/trunk/mcs/; revision=5344
2002-06-19 14:43:18 +00:00
Duncan Mak 438957ee66 Add frontpage links to various download sites with Mono packages.
svn path=/trunk/mono/; revision=5343
2002-06-19 14:41:56 +00:00
Paolo Molaro 4017f80f36 Wed Jun 19 20:17:59 CEST 2002 Paolo Molaro <[email protected]>
* modifiers.cs: produce correct field attributes for protected
	internal. Easy fix so miguel can work on ther harder stuff:-)

svn path=/trunk/mcs/; revision=5342
2002-06-19 14:41:33 +00:00
Paolo Molaro 527780089d Wed Jun 19 17:01:37 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: un-broke after stack trace changes.

svn path=/trunk/mono/; revision=5341
2002-06-19 11:19:38 +00:00
Paolo Molaro 208e6b7e72 Files to build with the mono runtime.
svn path=/trunk/mcs/; revision=5340
2002-06-19 08:32:53 +00:00
Paolo Molaro 6ce92d2c45 Files to build the assembly with the mono runtime.
svn path=/trunk/mcs/; revision=5339
2002-06-19 08:31:36 +00:00
Dietmar Maurer 94faa65b9f 2002-06-19 Dietmar Maurer <[email protected]>
* StackTrace.cs: impl. remaining constructors.

svn path=/trunk/mcs/; revision=5338
2002-06-19 03:46:56 +00:00
Dietmar Maurer f4d7567369 2002-06-18 Dietmar Maurer <[email protected]>
* verify.c: add check for System.Exception

	* exception.c (ves_icall_get_trace): new method to get the stack
	trace from a Exception.

	* jit.c (check_inlining): do not inline functions containing
	calls to stack query functions

svn path=/trunk/mono/; revision=5337
2002-06-19 03:15:55 +00:00
Dietmar Maurer 381d9e954b 2002-06-18 Dietmar Maurer <[email protected]>
* StackTrace.cs: use new internal call for constructors, use MS like
	trace format.

svn path=/trunk/mcs/; revision=5336
2002-06-19 03:11:40 +00:00
Gonzalo Paniagua Javier 0ece19ea9f 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
	* RepeatInfo.cs: implemented DoHorizontalRendering.

svn path=/trunk/mcs/; revision=5334
2002-06-19 01:46:50 +00:00
Dennis Hayes 7c82d5960d 2002-6-18 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes

svn path=/trunk/mcs/; revision=5333
2002-06-18 22:22:35 +00:00
Dennis Hayes b14347a941 2002-6-18 DennisHayes <[email protected]>
* checked in  for Stefan Warnke ([email protected])
* UICuesEventArgs.cs
* UpDownBase.cs
* Better comments and formatting

svn path=/trunk/mcs/; revision=5332
2002-06-18 22:01:06 +00:00
Miguel de Icaza 22624653ff 2002-06-18 Miguel de Icaza <[email protected]>
* pending.cs: New file.  Move the code from class.cs here.
	Support clearning the pending flag for all methods (when not doing
	explicit interface implementation).

svn path=/trunk/mcs/; revision=5331
2002-06-18 17:22:00 +00:00
Gonzalo Paniagua Javier 14dcbdc7a4 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs:
	(CopyBaseAttributes): copy Attributes and don't throw exception.

svn path=/trunk/mcs/; revision=5329
2002-06-18 17:14:34 +00:00
Ajay kumar Dwivedi 64b053b6aa 2002-06-18 Ajay kumar Dwivedi <[email protected]>
* XmlTextReader.cs: HasLineInfo returns false instead of throwing an
	Exception.

2002-06-14  Duncan Mak  <[email protected]>

svn path=/trunk/mcs/; revision=5328
2002-06-18 12:22:41 +00:00
Nick Drochak df0519e526 2002-06-19 Nick Drochak <[email protected]>
* Added in a bunch of missing tests.  Need to fix some of these
	since we get more failures against ms.net. But let's not be shy.

svn path=/trunk/mcs/; revision=5327
2002-06-18 11:47:17 +00:00
Gonzalo Paniagua Javier 57907c2dce 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/HtmlTextWriter.cs: fixed style attributes rendering
	(almost the same bug as in regular attributes).

	* System.Web.UI.WebControls/ListBox.cs: mono-stylized.
	(AddAttributesToRender): also call parent class method.

svn path=/trunk/mcs/; revision=5326
2002-06-18 11:44:39 +00:00
Nick Drochak 1cb8f7a815 2002-06-18 Nick Drochak <[email protected]>
* Ignore dll's

svn path=/trunk/mcs/; revision=5324
2002-06-18 10:56:25 +00:00
Nick Drochak cba7f27939 2002-06-18 Nick Drochak <[email protected]>
* ArgumentException.cs: Use the message given in the constructor when
	accessing the Message property.  Thanks to Dietmar for the help with
	"base".

svn path=/trunk/mcs/; revision=5323
2002-06-18 10:50:37 +00:00
Ajay kumar Dwivedi b0729d1659 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
* XmlSchema: The Read and Write methods are no more [MonoTODO] :)

	* XmlSchemaAppInfo: Xml Markup is now being read.

	* XmlSchemaDocumentation: Xml Markup is now being read.

	* All: Unhandled attributes are being handled properly.

	* All: Reordered the properties in all cs files to match with MS
	       Implementation. This was required since the order is importatnt
	       for the XmlSerializer.

svn path=/trunk/mcs/; revision=5322
2002-06-18 10:47:40 +00:00
Nick Drochak 158afc3031 2002-06-18 Nick Drochak <[email protected]>
* FileIOPermissionTest.cs: Use Unix paths if it looks like we are not
	running the tests on Windows. Need to expand this when we run the
	tests on Mac OS's (and others I suppose).  Also consolidated some
	redundant code.

svn path=/trunk/mcs/; revision=5321
2002-06-18 10:46:34 +00:00
Dietmar Maurer 53e04f2833 small fix
svn path=/trunk/mono/; revision=5320
2002-06-18 08:00:40 +00:00
Dietmar Maurer eca19bb8db 2002-06-18 Dietmar Maurer <[email protected]>
* exception.c (ves_icall_get_frame_info): impl.

svn path=/trunk/mono/; revision=5319
2002-06-18 07:50:06 +00:00
Dietmar Maurer 6eb220837c 2002-06-18 Dietmar Maurer <[email protected]>
* StackFrame.cs: impl. constructors using a new internal call.

svn path=/trunk/mcs/; revision=5318
2002-06-18 07:46:15 +00:00
Paolo Molaro 8364ba2a62 Tue Jun 18 10:36:22 CEST 2002 Paolo Molaro <[email protected]>
* rootcontext.cs: added a couple more types needed to bootstrap.

svn path=/trunk/mcs/; revision=5317
2002-06-18 04:50:46 +00:00
Paolo Molaro 63f68b5ab6 Tue Jun 18 10:21:56 CEST 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: marshal simple arrays correctly.

svn path=/trunk/mono/; revision=5316
2002-06-18 04:38:23 +00:00
Paolo Molaro 8340208b0a Tue Jun 18 10:21:19 CEST 2002 Paolo Molaro <[email protected]>
* invoke.c: marshal simple arrays correctly.

svn path=/trunk/mono/; revision=5315
2002-06-18 04:36:29 +00:00
Miguel de Icaza cd998c1ed7 2002-06-17 Miguel de Icaza <[email protected]>
* typemanager.cs (GetConstructor): Use DeclaredOnly to look the
	constructor in the type, instead of any constructor in the type
	hierarchy.  Thanks to Paolo for finding this bug (it showed up as
	a bug in the Mono runtime when applying the params attribute).

svn path=/trunk/mcs/; revision=5314
2002-06-17 17:39:25 +00:00
Paolo Molaro 1f381788f0 Mon Jun 17 20:23:23 CEST 2002 Paolo Molaro <[email protected]>
* image.c, class.c: minifix for code just c&p'ed.
	* reflection.c: warning fix.
	* object.h, loader.h, domain.c: load also StringBuilder.

svn path=/trunk/mono/; revision=5313
2002-06-17 14:42:45 +00:00
Dietmar Maurer cdf8985448 2002-06-17 Dietmar Maurer <[email protected]>
* x86.brg: added inlined versions of Math.Sin, Math.Cos, Math.Sqrt

svn path=/trunk/mono/; revision=5312
2002-06-17 13:54:05 +00:00
Dietmar Maurer 787f9a9131 2002-06-17 Dietmar Maurer <[email protected]>
* Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)

svn path=/trunk/mcs/; revision=5311
2002-06-17 12:36:07 +00:00
Paolo Molaro 71525e41c5 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <[email protected]>
* get.h, get.c: get_marshal_info() to get a marshal descriptor.
	* main.c, dump.h, dump.c: added code to dump the FieldMarshl table.

svn path=/trunk/mono/; revision=5310
2002-06-17 11:46:31 +00:00
Paolo Molaro 5e47407100 Mon Jun 17 17:29:40 CEST 2002 Paolo Molaro <[email protected]>
* marshal.h, marshal.c: some support code to handle complex marshaling.

svn path=/trunk/mono/; revision=5309
2002-06-17 11:44:35 +00:00
Gonzalo Paniagua Javier 0e138b26f1 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented PreventAutoID.

	* System.Web.UI/Page.cs:
	(SetDefaults): don't set ID automatically if Control.PreventAutoID has
	been called.

	* System.Web.UI.WebControls/Style.cs: fixed IsEmpty and Width.

	* System.Web.UI.WebControls/Table.cs: mono-stylized.
	(TableRowControlCollection.AddAt): fixed.
	(AddAttributesToRender): fixed.

	* System.Web.UI.WebControls/TableCell.cs: mono-stylized.
	(.ctor): use PreventAutoID.
	(AddAttributesToRender): fixed.
	(AddParsedSubObject): fixed.

	* System.Web.UI.WebControls/TableRow.cs: mono-stylized. Added
	ParseChildren attribute.

	* System.Web.UI.WebControls/TableStyle.cs:
	(get_GridLine): fixed.

svn path=/trunk/mcs/; revision=5307
2002-06-17 11:10:08 +00:00
Paolo Molaro 11c7eafb36 Forgot to commit this fix a while ago...
Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <[email protected]>

	* strtod.c: make __bsd_dtoa() always return malloc()ed memory.

svn path=/trunk/mono/; revision=5306
2002-06-17 10:50:11 +00:00
Paolo Molaro dcbc8a6d65 Mon Jun 17 16:32:56 CEST 2002 Paolo Molaro <[email protected]>
* class.h, class.c, reflection.c: handle ignorecase in GetType ().
	Better signatures with vtable error dump.

svn path=/trunk/mono/; revision=5305
2002-06-17 10:48:49 +00:00
Paolo Molaro d3d45ab398 Mon Jun 17 16:13:35 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, reflection.h, icall.c: fixes for multiple-nested types.

svn path=/trunk/mono/; revision=5304
2002-06-17 10:28:10 +00:00
Paolo Molaro 5d7c02e3b6 2002-06-17 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_Type_GetField): impl.

svn path=/trunk/mono/; revision=5303
2002-06-17 10:25:55 +00:00
Dietmar Maurer 17da073664 2002-06-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. STARG
	(mono_analyze_stack): impl. LDARGA

	* icall.c (ves_icall_Type_GetField): impl.

svn path=/trunk/mono/; revision=5302
2002-06-17 10:17:24 +00:00
Dietmar Maurer 28fb0468eb 2002-06-17 Dietmar Maurer <[email protected]>
* MonoType.cs: GetField is now a InternalCall

	* File.cs (Delete): only call Directory.Exists() if DirName != ""

svn path=/trunk/mcs/; revision=5301
2002-06-17 10:13:49 +00:00
Paolo Molaro 485937847f Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <[email protected]>
* Uri.cs: workaround for mcs bug.

svn path=/trunk/mcs/; revision=5300
2002-06-17 09:19:26 +00:00
Paolo Molaro bb6602320a Mon Jun 17 14:55:43 CEST 2002 Paolo Molaro <[email protected]>
* ModuleBuilder.cs, TypeBuilder.cs: fixes for nested types handling.

svn path=/trunk/mcs/; revision=5299
2002-06-17 09:14:37 +00:00
Paolo Molaro c14614cac2 Mon Jun 17 14:57:03 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: change order of nested type emission
	to avoid table corruption. The NestedTypes table is sorted.
	* icall.c: change order of GetConstructor results to workaround mcs bug.

svn path=/trunk/mono/; revision=5298
2002-06-17 09:14:36 +00:00
Dietmar Maurer 60d22a098f 2002-06-17 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. STARG

svn path=/trunk/mono/; revision=5297
2002-06-17 08:55:21 +00:00
Jonathan Pryor 0fc6ef8177 * TraceTest.cs: Added additional test cases.
svn path=/trunk/mcs/; revision=5296
2002-06-17 06:52:13 +00:00
Dietmar Maurer 659263171d 2002-06-17 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): correctly restore register
	values when unwinding the stack (fixes bug 25698)

svn path=/trunk/mono/; revision=5295
2002-06-17 06:01:04 +00:00
Gonzalo Paniagua Javier 4e0798e081 2002-06-16 Gonzalo Paniagua Javier <[email protected]>
* Panel.cs: fixed stack overflow.
	* Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
	and SingleConverter.

svn path=/trunk/mcs/; revision=5293
2002-06-16 21:29:48 +00:00
Jonathan Pryor 55032cd142 D'oh! I forgot to save `ChangeLog' before committing it....
svn path=/trunk/mcs/; revision=5292
2002-06-16 19:51:16 +00:00
Jonathan Pryor 609c2de3e6 * ICollectData.cs: Implemented
* TraceImpl.cs: Setting IndentLevel, IndentSize should change the
    corresponding properties on all current TraceListeners.
    Also, to answer the FIXME message: Yes, the properties in TraceListener
    need to be [ThreadStatic] as well.
  * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
    should have its properties set to the current TraceImpl property values.
  * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].

svn path=/trunk/mcs/; revision=5291
2002-06-16 19:49:45 +00:00
Rafael Teixeira 9a16ca4210 Very start. Sorry no NANT or make support yet
svn path=/trunk/mcs/; revision=5290
2002-06-16 15:27:20 +00:00
Jaime Anguiano Olarra 54732b0e03 A first version of mono-common-problems added.
svn path=/trunk/mono/; revision=5289
2002-06-16 14:57:33 +00:00
Rafael Teixeira 09512c973e 2002-06-16 Rafael Teixeira <[email protected]>
* changed namespace.cs to use "GenericParser.error(...)" instead of "CSharpParser.error(...)"

svn path=/trunk/mcs/; revision=5288
2002-06-15 23:35:04 +00:00
Rafael Teixeira d751e5f1a5 2002-06-15 Rafael Teixeira <[email protected]>
* merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
	* namespace.cs needed some fixing, because CSharpParser isn�t available

svn path=/trunk/mcs/; revision=5287
2002-06-15 23:27:15 +00:00
Rafael Teixeira e832fd5066 2002-06-15 Rafael Teixeira <[email protected]>
* merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues

svn path=/trunk/mcs/; revision=5286
2002-06-15 23:15:14 +00:00
Rafael Teixeira 1917a90329 2002-06-15 Rafael Teixeira <[email protected]>
* oops merged expression.cs from mcs/mcs is breaking my make
	* driver.cs, assemblyinfo.cs wasn�t ready for prime time (offending lines were commented out)

svn path=/trunk/mcs/; revision=5285
2002-06-15 22:56:17 +00:00
Rafael Teixeira bfb0019ffe 2002-06-15 Rafael Teixeira <[email protected]>
* merged expression.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5284
2002-06-15 22:48:08 +00:00
Gonzalo Paniagua Javier fcb27dc3cd 2002-06-15 Gonzalo Paniagua Javier <[email protected]>
* System/System.build: referenced System.Drawing.dll.

	* System/System.ComponentModel/TypeConverter.cs:
	* System/System.ComponentModel/ITypeDescriptorContext.cs:
	* System/System.ComponentModel/TypeDescriptor.cs:
	* System.Drawing/System.Drawing/ColorConverter.cs: implemented minimal
	set of features needed by xsp, which uses ColorConverter.

svn path=/trunk/mcs/; revision=5283
2002-06-15 14:04:59 +00:00
Rachel Hestilow af4f8e83e3 2002-06-14 Rachel Hestilow <[email protected]>
* expression.cs (Unary.ResolveOperator): Use TypeManager
	to resolve the type.

svn path=/trunk/mcs/; revision=5282
2002-06-15 13:37:31 +00:00
Ajay kumar Dwivedi d22745d614 2002-06-14 Dwivedi, Ajay kumar <[email protected]>
* General: Fixed a few more Bugs

svn path=/trunk/mcs/; revision=5280
2002-06-14 10:42:02 +00:00
Paolo Molaro e5dc7ce3d3 Fri Jun 14 16:24:30 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: handle field and param marshal
	information.

svn path=/trunk/mono/; revision=5279
2002-06-14 10:39:25 +00:00
Paolo Molaro a8d9b96cc5 Fri Jun 14 16:21:54 CEST 2002 Paolo Molaro <[email protected]>
* CustomAttributeBuilder.cs: added custom attribute related internal
	helper methods.
	* FieldBuilder.cs, ParameterBuilder.cs: handle MarshalAs attribute.
	* UnmanagedMarshal.cs: implemented.

svn path=/trunk/mcs/; revision=5278
2002-06-14 10:39:20 +00:00
Paolo Molaro 252cd7405c Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <[email protected]>
* UnmanagedType.cs, Marshal.cs: minor fixes.

svn path=/trunk/mcs/; revision=5277
2002-06-14 10:34:33 +00:00
Rafael Teixeira 4f29936e53 Housekeeping
svn path=/trunk/mcs/; revision=5276
2002-06-14 10:12:11 +00:00
Duncan Mak 0aeb35899e 2002-06-14 Duncan Mak <[email protected]>
* XmlConvert.cs: Added CLSCompliant attributes to methods.

svn path=/trunk/mcs/; revision=5275
2002-06-14 02:37:52 +00:00
Nick Drochak fbd0afaee0 2002/06/14 Nick Drochak <[email protected]>
* AllTests.cs: Disable ResourceReaderTest for now.  The class is not
	ready yet.

svn path=/trunk/mcs/; revision=5274
2002-06-13 22:05:33 +00:00
Nick Drochak c3523f8a26 2002/06/14 Nick Drochak <[email protected]>
* Int64Test.cs: Make currency symbol test more culturally sensitive.

svn path=/trunk/mcs/; revision=5273
2002-06-13 21:32:10 +00:00
Miguel de Icaza 70e6d336f9 Typo fix
svn path=/trunk/mono/; revision=5272
2002-06-13 15:23:21 +00:00
Ravi Pratap M 41df831c14 2002-06-13 Ravi Pratap <[email protected]>
* cs-parser.jay (enum_member_declaration): Pass in the attributes
	attached.

	* enum.cs (AddEnumMember): Add support to store the attributes associated
	with each member too.

	* attribute.cs (CheckAttribute, ApplyAttributes): Update to handle
	field builders too - this takes care of the enum member case.

svn path=/trunk/mcs/; revision=5271
2002-06-13 13:09:18 +00:00
Ravi Pratap M b027e6cc76 2002-06-13 Ravi Pratap <[email protected]>
* test-131.cs : Add to test enum member attribute application.

svn path=/trunk/mcs/; revision=5270
2002-06-13 13:07:53 +00:00
Nick Drochak af6b5f0897 2002-06-14 Nick Drochak <[email protected]>
* DateTimeTest.cs: Make some of the tests a bit more timezone neutral.

svn path=/trunk/mcs/; revision=5269
2002-06-13 11:22:17 +00:00
Nick Drochak a071050037 2002-06-13 Nick Drochak <[email protected]>
* DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
	sortable format(s), e.g. "2002-02-25"

svn path=/trunk/mcs/; revision=5268
2002-06-13 09:57:48 +00:00
Piers Haken a06c445e69 fix index.rss dependancy
svn path=/trunk/mono/; revision=5267
2002-06-13 01:04:08 +00:00
Miguel de Icaza 097da90e62 Ooops. No wonder people complained I never fixed this, I never flushed
this patch in the first place ;-)

	* typemanager.cs (MethodFlags): returns the method flags
	(Obsolete/ShouldIgnore) that control warning emission and whether
	the invocation should be made, or ignored.

	* expression.cs (Invocation.Emit): Remove previous hack, we should
	not do this on matching a base type, we should do this based on an attribute

	Only emit calls to System.Diagnostics.Debug and
	System.Diagnostics.Trace if the TRACE and DEBUG defines are passed
	on the command line.

svn path=/trunk/mcs/; revision=5266
2002-06-13 00:16:03 +00:00
Miguel de Icaza ad520aa2cc Add new test
svn path=/trunk/mcs/; revision=5265
2002-06-12 23:44:34 +00:00
Gonzalo Paniagua Javier 5624c5cc9a 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* RadioButton.cs: mono-stylized and some little fixes.

	* TextBox.cs: mono-stylized.
	(MaxLength): fixed typo.

	(AddAttributesToRender): don't render the text between the tags for
	SingleLine, use value attribute for it. Don't render the text for
	Password.

	(OnPreRender): don't throw exception and call base.OnPreRender.

	(Render): for MultiLine, render the text between the opening and
	closing tags encoded as HTML.

svn path=/trunk/mcs/; revision=5263
2002-06-12 20:59:37 +00:00
Rafael Teixeira a3624eb536 2002-06-12 Rafael Teixeira <[email protected]>
* corrected Module.TypeAttr property getter in module.cs

svn path=/trunk/mcs/; revision=5262
2002-06-12 20:31:50 +00:00
Miguel de Icaza 6ce4757a28 Doc updates
svn path=/trunk/mono/; revision=5261
2002-06-12 20:21:16 +00:00
Gonzalo Paniagua Javier f201bc89ed 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* ImageButton.cs:
	(AddAttributesToRender): fixer another stack overflow.

	* WebControl.cs:
	(TagName): modified to use TagKey instead of tagKey as the property
	can be overriden.

svn path=/trunk/mcs/; revision=5258
2002-06-12 16:34:14 +00:00
Gonzalo Paniagua Javier 54758e896f 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(Validators): if the collection is null, create one.
	(GetPostBackEventReference 2): don't throw exception.
	(GetPostBackClientEvent): return a string with containing the method
	name, the control name and the argument.

	* System.Web.UI.WebControls/LinkButton.cs: mono-stylized.
	(AddParsedSubObject):
	(RenderControls): little fixes.

	* System.Web.UI.WebControls/WebControl.cs:
	(AddAttributesToRender): fixed usage of IEnumerator.

svn path=/trunk/mcs/; revision=5256
2002-06-12 15:45:07 +00:00
Dick Porter dd5d1f32a7 2002-06-12 Dick Porter <[email protected]>
* daemon.c:
	* daemon-messages.c: Handle SIGPIPE in a non-stupid way in the
	daemon, if MSG_NOSIGNAL isn't available.  Thanks to Jaroslaw
	Kowalski <[email protected]> for pointing out the bogosity.

svn path=/trunk/mono/; revision=5255
2002-06-12 15:25:18 +00:00
Rafael Teixeira a8498989b9 2002-06-12 Rafael Teixeira <[email protected]>
* merged typemanager.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5254
2002-06-12 13:41:45 +00:00
Gonzalo Paniagua Javier 04a9b1a6d3 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: SetPage is now called SetDefaults and also
	sets a default ID for controls that don't have one yet.

	* System.Web.UI.WebControls/Literal.cs: beautified.

svn path=/trunk/mcs/; revision=5252
2002-06-12 13:02:52 +00:00
Dick Porter 94bdb39d78 2002-06-10 Jaroslaw Kowalski <[email protected]>
* configure.in: added checks for MSG_NOSIGNAL


2002-06-10  Jaroslaw Kowalski <[email protected]>

	* sockets.c, daemon-messages.c: Prevent SIGPIPE from being raised
	when writing to a closed socket.

svn path=/trunk/mono/; revision=5251
2002-06-12 12:29:57 +00:00
Gonzalo Paniagua Javier 1c20689cf8 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Label.cs: beautified and fixed a couple of 'classic' bugs.

	* WebControl.cs: use Span as default tag when no other provided in
	constructor. That is what MS renders.

svn path=/trunk/mcs/; revision=5249
2002-06-12 12:10:40 +00:00
Nick Drochak fc5fb587b1 2002-06-12 Nick Drochak <[email protected]>
* ConvertTest.cs: Punt bug in DateTime.Parse() over to that test.
	* DateTimeTest.cs: Add test for date format of yyyy-mm-dd which mono
	doesn't handle automagically like ms.net does.  This smells like a
	LAMESPEC, however.

svn path=/trunk/mcs/; revision=5248
2002-06-12 11:05:59 +00:00
Nick Drochak 731d82c5e0 2002-06-12 Nick Drochak <[email protected]>
* DateTimeFormatInfo.cs: Reformat.

svn path=/trunk/mcs/; revision=5247
2002-06-12 11:02:53 +00:00
Paolo Molaro 84df8ceac9 Missing file from previous commit.
svn path=/trunk/mcs/; revision=5246
2002-06-12 10:49:21 +00:00
Paolo Molaro 125c6d2728 Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <[email protected]>
* Marshal.c: stubbed out all the methods and filled in some
	implementation.
	* BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
	EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
	UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.

svn path=/trunk/mcs/; revision=5245
2002-06-12 10:48:30 +00:00
Paolo Molaro 87ba68cda1 Wed Jun 12 16:30:57 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, marshal.c marshal.h: more Marshal class implementation.

svn path=/trunk/mono/; revision=5244
2002-06-12 10:48:27 +00:00
Johannes Roith 532264c602 change version number from 0.11 to 0.12
svn path=/trunk/mono/; revision=5243
2002-06-12 10:48:14 +00:00
Duncan Mak fe337d9e1d 2002-06-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs (Value): Throw an ArgumentException in the
	set block if the node is read-only.

svn path=/trunk/mcs/; revision=5242
2002-06-12 01:37:47 +00:00
Duncan Mak f107fa2fca 2002-06-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs (Value): Throw an ArgumentException if the
	node is read-only.

svn path=/trunk/mcs/; revision=5241
2002-06-12 01:26:40 +00:00
Gonzalo Paniagua Javier 1c82e6f86f 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(GetPostBackClient):
	(RegisterRequiresPostBack): don't throw NotImplementedException to
	keep going.
	(ProcessRequest): set the current page as the Page property for *all*
	the controls, not just the direct children of the page.

	* System.Web.UI.WebControls/Button.cs:
	(AddAttributesToRender): fixed (classic) stack overflow.

	* System.Web.UI.WebControls/CheckBox.cs: mono-stylized.
	(AutoPostBack): fixed stack overflow.
	(Render): fixed alignment issues. Also set the For attribute always
	for the label.

svn path=/trunk/mcs/; revision=5239
2002-06-12 00:17:16 +00:00
Nick Drochak fcd0c91b8d 2002/06/12 Nick Drochak <[email protected]>
* Random.cs (Next): Fix math error.  Return a number within the range.

svn path=/trunk/mcs/; revision=5238
2002-06-11 22:21:49 +00:00
Nick Drochak 3da2ad1f54 2002/06/12 Nick Drochak <[email protected]>
* RandomTest.cs: Exercise Next(min,max) a little more, especially
	boundary conditions.

svn path=/trunk/mcs/; revision=5237
2002-06-11 22:19:51 +00:00
Dennis Hayes 2137a27d63 2002-6-5 DennisHayes <[email protected]>
* Checked in for Jackson Harper ([email protected])
* ToolBar.cs
* ToolBarButton.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventArgs.cs
* TreeViewEventArgs.cs
* TreeViewImageIndexConverter.cs
* Just stubbs
* New files added, work in progress cleanup and mono style needed.

svn path=/trunk/mcs/; revision=5236
2002-06-11 21:58:54 +00:00
Dennis Hayes 649e909cdc 2002-6-5 DennisHayes <[email protected]>
* checked in  for Stefan Warnke ([email protected])
* UICuesEventArgs.cs
* UpDownBase.cs
* Just stubbs
* New files, work in progress, needs cleanup and mono style

svn path=/trunk/mcs/; revision=5235
2002-06-11 21:57:12 +00:00
Gonzalo Paniagua Javier c8102b6740 Updated to reflect current status, roadmap and how to help
svn path=/trunk/mono/; revision=5234
2002-06-11 21:50:37 +00:00
Gonzalo Paniagua Javier 2ac80bf156 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: fixed bug #26133 and also test if the directory exist
	before performing the search.

svn path=/trunk/mcs/; revision=5233
2002-06-11 20:51:32 +00:00
Gonzalo Paniagua Javier b79e2220a3 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Caching/CacheDependency.cs: fixed a couple of typos and
	don't throw NotImplementedException in constructors.

	* System.Web.UI/Control.cs:
	(MapPathSecure): until security is implemented, return the same path
	received as argument.
	(RenderControl): call OnPreRender before rendering the control. So
	AdRotator can read its configuration file.Is there any other place
	where this should be done?

	* System.Web.UI/HtmlTextWriter.cs:
	(AddAttribute): fixed. Now it really stores attributes.
	(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).

	* System.Web.UI.WebControls/AdRotator.cs: GetData does not work as it
	should, but now it returns useful data (only the first ad in the file).
	Set the NavigateUrl property in the hyperlink if available.

	* System.Web.UI.WebControls/HyperLink.cs: fixed constructor and a
	couple of stack overflows.

	* System.Web.UI.WebControls/Image.cs: added an attribute and fixed
	stack overflow.

	* System.Web.UI.WebControls/WebControl.cs:
	(RenderBeginTag): fixed.
	(TagName): don't call Enum.IsDefined twice.

svn path=/trunk/mcs/; revision=5230
2002-06-11 19:37:03 +00:00
Rachel Hestilow aaf683011a 2002-06-10 Rachel Hestilow <[email protected]>
* typemanager.cs (TypeManager.VerifyUnManaged): Allow
	address-of operator on both value types and pointers.

svn path=/trunk/mcs/; revision=5229
2002-06-11 15:54:23 +00:00
Paolo Molaro 8ab529cfb7 Tue Jun 11 17:29:19 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix call convention.

svn path=/trunk/mono/; revision=5228
2002-06-11 11:44:17 +00:00
Nick Drochak 65195def7e 2002-06-12 Nick Drochak <[email protected]>
* StringReaderTest.cs: Regression test for a bug that we had were
	ReadLine() was not returning null when the string ended with newline.

svn path=/trunk/mcs/; revision=5227
2002-06-11 11:25:44 +00:00
Nick Drochak d4a0f20e0c 2002-06-11 Nick Drochak <[email protected]>
* StringTest.cs: Check for "end of string" conditions for IndexOf() and
	Substring().

svn path=/trunk/mcs/; revision=5226
2002-06-11 11:23:36 +00:00
Nick Drochak 146e148140 2002-06-12 Nick Drochak <[email protected]>
* StringReader.cs (ReadLine): Return null when we get to end of the
	string.

svn path=/trunk/mcs/; revision=5225
2002-06-11 11:20:03 +00:00
Nick Drochak df96be0c46 2002-06-12 Nick Drochak <[email protected]>
* String.cs (IndexOf): Return -1 if start index is equal to string
	length.

svn path=/trunk/mcs/; revision=5224
2002-06-11 11:18:21 +00:00
Paolo Molaro 8cbac22975 Tue Jun 11 16:52:19 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: mono_image_get_memberref_token()
	takes a type instead of a class, now. Added
	mono_image_get_array_token() to create tokens for the special
	multi-dim array methods.

svn path=/trunk/mono/; revision=5223
2002-06-11 11:07:34 +00:00
Nick Drochak 62a844421e 2002-06-11 Nick Drochak <[email protected]>
* DoubleTest.cs: Add some more detail to failure message.
	* Int64Test.cs: Add some details, and fix a copy-paste error.
	* UInt32Test.cs: Fix currency symbol/culture issues
	* UInt64Test.cs: Fix currency symbol/culture issues

svn path=/trunk/mcs/; revision=5222
2002-06-11 10:17:43 +00:00
Paolo Molaro f06c868227 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <[email protected]>
* get.c: handle modulerefs.
	* main.c: fix --mscorlib argument handling.

svn path=/trunk/mono/; revision=5221
2002-06-11 08:25:42 +00:00
Paolo Molaro 9d030e7795 Tue Jun 11 13:21:51 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c: handle modules (no assembly table). Split
	loading references in its own function.
	* class.c: handle moduleref resolution scope.
	* image.c, image.h: cache module name in image.

svn path=/trunk/mono/; revision=5220
2002-06-11 08:24:16 +00:00
Duncan Mak 76d541d96c 2002-06-10 Duncan Mak <[email protected]>
* HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.

svn path=/trunk/mcs/; revision=5219
2002-06-11 00:38:28 +00:00
Nick Drochak decf8f6863 2002/06/11 Nick Drochak <[email protected]>
* DateTimeTest.cs: Remove RunTest override and put culture manipulation
	in SetUp and TearDown like the other tests.
	* TimeZoneTest.cs: Same.

svn path=/trunk/mcs/; revision=5218
2002-06-10 22:10:32 +00:00
Duncan Mak ef301af15f 2002-06-10 Duncan Mak <[email protected]>
* IMembershipCondition.cs (Equals): Add missing methods.

svn path=/trunk/mcs/; revision=5217
2002-06-10 21:45:23 +00:00
Duncan Mak 80fe0ee47e 2002-06-10 Duncan Mak <[email protected]>
* IEvidenceFactory.cs (Evidence): Added missing method.

svn path=/trunk/mcs/; revision=5216
2002-06-10 21:30:43 +00:00
Duncan Mak f7f2941b90 2002-06-10 Duncan Mak <[email protected]>
* IEvidenceFactory.cs (Evidence): Added missing method.

	* SuppressUnmanagedCodeSecurityAttribute.cs:
	* UnverifiableCodeAttribute.cs: Added missing
	AttributeUsage attribute.

svn path=/trunk/mcs/; revision=5215
2002-06-10 21:24:40 +00:00
Dennis Hayes 55f8036a34 2002-6-5 DennisHayes <[email protected]>
* removed, code moved to main class files, Form.cs, ImageList.cs, LinkLabel.cs,
*   ListBox.cs, ListView.cs, ListViewItem.cs, Menu.cs, MonthCalendar.cs, ScrollableControl.cs
* Form.ControlCollectison.cs
* ImageList.ImageCollection.c
* LinkLabel.LinkCollection.cs
* ListBox.ObjectCollection.cs
* ListBox.SelectedIndexCollection.cs
* ListBox.SelectedObjectCollection.cs
* ListView.CheckedListViewItemCollection.cs
* ListView.CheckedIndexCollection.cs
* ListView.ColumnHeaderCollection.cs
* ListView.ListViewItemCollection.cs
* ListView.SelectedIndexCollection.cs
* ListView.SelectedListViewItemCollection.cs
* ListViewItem.ListViewSubItem.cs
* ListViewItem.ListViewSubItemCollection.cs
* Menu.MenuItemCollection.cs
* MonthCalendar.HitTestInfo.cs
* ScrollableControl.DockPaddingEdges.cs

svn path=/trunk/mcs/; revision=5214
2002-06-10 21:24:07 +00:00
Duncan Mak 7b1fcee0d0 2002-06-10 Duncan Mak <[email protected]>
* Formatter.cs: Addd to CVS.

	* FormatterConverter.cs: Added to CVS.

	* SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.

svn path=/trunk/mcs/; revision=5213
2002-06-10 19:30:48 +00:00
Rodrigo Moya affd31b140 Some fixes, thanks to duncan
svn path=/trunk/mcs/; revision=5212
2002-06-10 19:21:12 +00:00
Duncan Mak 39572df113 2002-06-10 Duncan Mak <[email protected]>
* Convert.cs (ToType): Added null field in conversionTable to avoid
	IndexOutOfRangeException. Changed what exceptions we throw to match
	the spec.

svn path=/trunk/mcs/; revision=5211
2002-06-10 15:53:12 +00:00
Rafael Teixeira 0b4bebdd28 2002-06-10 Rafael Teixeira <[email protected]>
* merged expression.cs and interface.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5210
2002-06-10 14:40:43 +00:00
Duncan Mak fb8a34995d 2002-06-10 Duncan Mak <[email protected]>
* Convert.cs (ToDouble): Remove rounding in ToDouble (float).

svn path=/trunk/mcs/; revision=5209
2002-06-10 13:20:06 +00:00
Paolo Molaro 1dcfeae373 Mon Jun 10 18:58:18 CEST 2002 Paolo Molaro <[email protected]>
* PropertyBuilder.cs: implemented ReflectedType and DeclaringType
	properties.

svn path=/trunk/mcs/; revision=5208
2002-06-10 13:12:50 +00:00
Nick Drochak a30606066e 2002-06-11 Nick Drochak <[email protected]>
* Int64.cs (Parse): Added unique strings to the messages where we throw
	a FormatException. Needed these to debug, so just left them in since
	they might be useful later. Fixed Currency parsing where we weren't
	looking at CurrencyDecimalSeparator, etc.

svn path=/trunk/mcs/; revision=5204
2002-06-10 12:32:35 +00:00
Nick Drochak 524dcdbc17 2002-06-11 Nick Drochak <[email protected]>
* SecurityElementTest.cs: Catch and report unexpected exceptions.

svn path=/trunk/mcs/; revision=5203
2002-06-10 11:35:18 +00:00
Nick Drochak 912c5f728d 2002-06-11 Nick Drochak <[email protected]>
* Int64Test.cs: Set the culture to en-US for testing.
	* MathTest.cs: mono is more precise in Log2, so change test to compare
	values within a slightly larger margin of error.

svn path=/trunk/mcs/; revision=5202
2002-06-10 11:34:07 +00:00
Nick Drochak 82882d2bc1 2002-06-11 Nick Drochak <[email protected]>
* NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor

svn path=/trunk/mcs/; revision=5201
2002-06-10 11:28:58 +00:00
Ajay kumar Dwivedi 74f114a665 2002-06-10 Dwivedi, Ajay kumar <[email protected]>
* XmlSchemaReader: A Wrapper class around XmlReader with customized
	  methods to suit reading a schema.
	* General: Implemented Read() method for the schema. There are only
	  a few minor bugs remaining.

svn path=/trunk/mcs/; revision=5200
2002-06-10 08:36:16 +00:00
Martin Baulig 20d450c94a 2002-06-10 Martin Baulig <[email protected]>
* interface.cs (Interface.PopulateIndexer): Add the indexer's
	PropertyBuilder to the `property_builders' list.

	* expression.cs (Indexers.GetIndexersForTypeOrInterface): New private method.
	(Indexers.GetIndexersForType): Call GetIndexersForTypeOrInterface() on the
	`lookup_type' and all its interfaces.  Unfortunately, Type.FindMembers() won't
	find any indexers which are inherited from an interface.

svn path=/trunk/mcs/; revision=5199
2002-06-10 08:34:32 +00:00
Ajay kumar Dwivedi 93040683dc 2002-06-10 Ajay kumar Dwivedi <[email protected]>
* XmlConstruct.cs : New Internal class with Helper methods for
	Checking XmlConstructs
	* XmlConvert.cs: Implemented most of the methods

svn path=/trunk/mcs/; revision=5198
2002-06-10 02:20:46 +00:00
Nick Drochak 2d3defb2b4 2002/06/10 Nick Drochak <[email protected]>
* DecimalTest.cs: More culture indepenence. Fixes the problems we were
	having with tests failing against MS.NET.
	* Int64Test.cs: Same plus some formatting fixes.
	* RandomTest.cs: Split Assert into two to figure out which one part is
	failing.

svn path=/trunk/mcs/; revision=5197
2002-06-10 01:39:21 +00:00
Rafael Teixeira e8cbbc809a 2002-06-07 Rafael Teixeira <[email protected]>
* merged const.cs, enum.cs, expression.cs and  typemanager.cs from mcs/mcs
      * comments on module.cs

svn path=/trunk/mcs/; revision=5195
2002-06-09 19:46:29 +00:00
Gonzalo Paniagua Javier 343b0a1d2b 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/ControlCollection.cs:
	(AddAt): if index is -1 behave as a plain Add.

	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	(RenderAttributes): new -> override and fixes stack overflow.
	(RenderChildren): only 1 option can be selected at any given time
	except when Multiple property is true.
	(Multiple): the attribute value is either "true" or "false", not
	"multiple".

	* System.Web.UI.HtmlControls/HtmlTable.cs:
	(Add):
	(AddAt): allow HtmlTableRow as children, not HtmlTableCell.

	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	(RenderEndTag): new -> override.

	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	(RenderChildren): fixed another stack overflow.
	(RenderEndTag): new -> override.

	* System.Web.UI.HtmlControls/HtmlTextArea.cs:
	(RenderAttributes): new -> override.

svn path=/trunk/mcs/; revision=5193
2002-06-09 19:28:27 +00:00
Jonathan Pryor 856ab374d0 * class.xml: Added entries for the following classes from System.Diagnostics:
- EntryWrittenEventArgs
    - EntryWrittenEventHandler
    - EventLog
    - EventLogEntryCollection
    - EventLogEntry
    - EventLogEntryType
    - EventLogInstaller
    - EventLogPermissionAccess
    - EventLogPermissionAttribute
    - EventLogPermission
    - EventLogPermissionEntryCollection
    - EventLogPermissionEntry
    - EventLogTraceListener

svn path=/trunk/mono/; revision=5192
2002-06-09 18:11:16 +00:00
Jonathan Pryor f7a8fc051b * EntryWrittenEventArgs.cs: Implemented
* EntryWrittenEventHandler.cs: Implemented
  * EventLog.cs: Stubbed out
  * EventLogEntry.cs: Stubbed out
  * EventLogEntryCOllection.cs: Implemented.
  * EventLogEntryType.cs: Implemented
  * EventLogInstaller.cs: Stubbed out
  * EventLogPermission.cs: Stubbed out
  * EventLogPermissionAccess.cs: Implemented
  * EventLogPermissionAttribute.cs: Stubbed out
  * EventLogPermissionEntry.cs: Stubbed out
  * EventLogPermissionEntryCollection.cs: Stubbed out
  * EventLogTraceListener.cs: Stubbed out

svn path=/trunk/mcs/; revision=5191
2002-06-09 18:06:07 +00:00
Martin Baulig d505910c8d 2002-06-09 Martin Baulig <[email protected]>
* debug.c (mono_debug_open_image): For MONO_DEBUG_FORMAT_DWARF2_PLUS,
	the `%s-debug.s' file is in the same directory than its assembly.

svn path=/trunk/mono/; revision=5190
2002-06-09 15:55:51 +00:00
Martin Baulig 76fa33b7ea 2002-06-09 Martin Baulig <[email protected]>
* const.cs (Const.LookupConstantValue): Convert `Expr' to a literal of
	the same type as the constant if necessary.  There's also a test-130.cs
	for this.

	* enum.cs (Enum.ChangeEnumType): Moved to typemanager.cs and made public.

	* typemanager.cs (TypeManager.ChangeType): Previously known as
	Enum.ChangeEnumType().

svn path=/trunk/mcs/; revision=5189
2002-06-09 15:17:57 +00:00
Martin Baulig cca67ab78c 2002-06-09 Martin Baulig <[email protected]>
* test-130.cs: New test for constants and casts.

svn path=/trunk/mcs/; revision=5188
2002-06-09 15:14:34 +00:00
Martin Baulig 6415ca79e7 2002-06-09 Martin Baulig <[email protected]>
* expression.cs (Cast.TryReduce): Added support for consts.

svn path=/trunk/mcs/; revision=5185
2002-06-09 12:32:06 +00:00
Martin Baulig 7d7dc18170 2002-06-09 Martin Baulig <[email protected]>
* test-129.cs: New test for unary minus.

svn path=/trunk/mcs/; revision=5184
2002-06-09 10:31:54 +00:00
Lawrence Pit 9e3d332ce7 * DateTime.cs: fixes to pass tests M0 to M6:
if yy pattern then year values >= 30 are in 20th century
		rfc1123 pattern is always in GMT, therefor useutc must be false
	made GetNow() internal static so it can be called from TimeZone.

svn path=/trunk/mcs/; revision=5183
2002-06-09 08:03:04 +00:00
Lawrence Pit 1d17fc59ce * TimeZone.cs: removed dependency on year 2002 from initialization of
current timezone.
	* DateTimeTest.cs: Making tests culture independent

svn path=/trunk/mcs/; revision=5182
2002-06-09 05:54:24 +00:00
Duncan Mak e7980ea978 2002-06-09 Duncan Mak <[email protected]>
* Convert.cs (ToType): Rearranged what Exceptions we throw to
	match MS behavior.

svn path=/trunk/mcs/; revision=5181
2002-06-09 03:50:49 +00:00
Duncan Mak 2e22dca527 2002-06-08 Duncan Mak <[email protected]>
* XmlDocument.cs (Load):
	Added bits to Load (string) for BaseURI support.

	* XmlAttribute.cs (BaseURI):
	* XmlDocument.cs (BaseURI):
	* XmlEntity.cs (BaseURI):
	* XmlNode.cs (BaseURI): Implemented.

svn path=/trunk/mcs/; revision=5180
2002-06-08 21:52:08 +00:00
Duncan Mak b6e129d491 2002-06-08 Duncan Mak <[email protected]>
* Decimal.cs: Added support for the IConvertible interface.

svn path=/trunk/mcs/; revision=5179
2002-06-08 20:58:48 +00:00
Rafael Teixeira d531d0ba28 2002-06-07 Rafael Teixeira <[email protected]>
* merged class.cs, attribute.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5178
2002-06-08 18:57:58 +00:00
Jeffrey Stedfast 12e84038d6 2002-06-08 Jeffrey Stedfast <[email protected]>
* mono-mutex.c (mono_once): New convenience function for my
	previous fix.

	* handles.c:
	* error.c:
	* critical-sections.c:
	* threads.c:
	* sockets.c:
	* semaphores.c:
	* processes.c:
	* mutexes.c:
	* io.c:
	* events.c:
	* atomic.c: Use mono_once() rather than pthread_once().

2002-06-06  Jeffrey Stedfast  <[email protected]>

	* handles.c (_wapi_handle_new): pthread_once() is not atomic, so
	if multiple threads all try to call _wapi_handle_new() before the
	shared data has been initialized, it is possible that we could get
	into a condition where shared_init() is being executed and later
	threads will pass by pthread_once() due to the fact that it has
	already been called and so therefor will attempt to use the shared
	data before it has been completely initialized. If we instead use
	a standard mutex locking mechanism around shared_init(), we can
	avoid the situation entirely. By wrapping the mutex locking in a
	check to see if we've already initialized the data, we can even
	avoid wasting resources by having to lock/unlock the mutex in any
	later calls (the only time we'd have to worry about
	locking/unlocking is the initial race to call shared_init() at
	startup).

svn path=/trunk/mono/; revision=5177
2002-06-08 17:57:49 +00:00
Ravi Pratap M 81cd691acb 2002-06-08 Ravi Pratap <[email protected]>
* class.cs (Accessor): Hold attributes information so we can pass
	it along.

	* cs-parser.jay (get_accessor_declaration, set_accessor_declaration):
	Modify to pass in attributes attached to the methods.

	(add_accessor_declaration, remove_accessor_declaration): Ditto.

	* attribute.cs (ApplyAttributes, CheckAttribute): Update accordingly
	to handle the Accessor kind :-)

	* class.cs (Property.Emit, Event.Emit): Apply attributes to the accessors

svn path=/trunk/mcs/; revision=5176
2002-06-08 17:29:47 +00:00
Ravi Pratap M dfc1d386fa 2002-06-08 Ravi Pratap <[email protected]>
* test-128.cs : Add. This ensures we apply attributes to accessors
	of events and properties.

svn path=/trunk/mcs/; revision=5175
2002-06-08 17:27:07 +00:00
Rafael Teixeira 6f0b3df4fe 2002-06-07 Rafael Teixeira <[email protected]>
* merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
	* added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
	* added System.XML and Microsoft.VisualBasic to the default config (driver.cs)

svn path=/trunk/mcs/; revision=5174
2002-06-08 15:34:46 +00:00
Martin Baulig 816bc04604 2002-06-08 Martin Baulig <[email protected]>
* expression.cs (Unary.TryReduceNegative): Added support for
	ULongConstants.

svn path=/trunk/mcs/; revision=5173
2002-06-08 13:39:30 +00:00
Martin Baulig d4da4eae70 2002-06-08 Martin Baulig <[email protected]>
* enum.cs (Enum.LookupEnumValue): Don't report an error if the
	name can't be found in the `defined_names' - the caller will do a
	MemberLookup in this case and thus find methods in System.Enum
	such as Enum.IsDefined().

svn path=/trunk/mcs/; revision=5172
2002-06-08 13:37:53 +00:00
Martin Baulig c8c967a789 2002-06-08 Martin Baulig <[email protected]>
* test-127.cs: New test for Enum.IsDefined().

svn path=/trunk/mcs/; revision=5171
2002-06-08 12:47:02 +00:00
Martin Baulig b90e18b9b5 2002-06-08 Martin Baulig <[email protected]>
* Enum.cs (IsDefined): `value' may be of the enum's type itself, it
	doesn't necessarily need to be of the enum's underlying type.

svn path=/trunk/mcs/; revision=5170
2002-06-08 12:41:54 +00:00
Martin Baulig 58ad4da00a 2002-06-08 Martin Baulig <[email protected]>
* enum.cs (Enum.ChangeEnumType): This is a custom version of
	Convert.ChangeType() which works with TypeBuilder created types.
	(Enum.LookupEnumValue, Enum.Define): Use it here.

	* class.cs (TypeContainer.RegisterRequiredImplementations): Added
	`TypeBuilder.BaseType != null' check.
	(TypeContainer.FindMembers): Only lookup parent members if we
	actually have a parent.
	(Method.EmitDestructor): Added `ec.ContainerType.BaseType != null' check.
	(ConstructorInitializer.Resolve): Likewise.

	* interface.cs (Interface.FindMembers): Added
	`TypeBuilder.BaseType != null' check.

	* rootcontext.cs (RootContext.ResolveCore): Added
	"System.Runtime.CompilerServices.IndexerNameAttribute" to
	classes_second_stage.

	* typemanager.cs (TypeManager.InitCoreTypes): Don't initialize
	debug_type and trace_type when compiling with --nostdlib.

svn path=/trunk/mcs/; revision=5169
2002-06-08 11:55:32 +00:00
Adam Treat 77766f3b35 * MoveToAttribute should stop on the requested attribute and return true,
otherwise return false.

svn path=/trunk/mcs/; revision=5168
2002-06-08 02:00:46 +00:00
Gonzalo Paniagua Javier 83eb4b25df Fixed link to CVS browsing
svn path=/trunk/mono/; revision=5167
2002-06-07 21:30:18 +00:00
Rafael Teixeira 406c29267f 2002-06-07 Rafael Teixeira <[email protected]>
* merged class.cs and ecore.cs from mcs/mcs

svn path=/trunk/mcs/; revision=5166
2002-06-07 20:47:29 +00:00
Dennis Hayes 2e1224f82b 2002-6-5 DennisHayes <[email protected]>
* StatusBarDrawItemEventArgs.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* added new files for Richard Baumann ([email protected])

svn path=/trunk/mcs/; revision=5165
2002-06-07 20:41:12 +00:00
Dennis Hayes ee6c568cc4 2002-6-5 DennisHayes <[email protected]>
* ErrorProvider.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* added new files for paul

svn path=/trunk/mcs/; revision=5164
2002-06-07 20:38:02 +00:00
Dennis Hayes 7d03b6edea 2002-6-5 DennisHayes <[email protected]>
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* added new files for Jackson Harper ([email protected])

svn path=/trunk/mcs/; revision=5163
2002-06-07 20:35:11 +00:00
Martin Baulig faa67aa078 2002-06-07 Martin Baulig <[email protected]>
* class.cs (TypeContainer): Added `have_nonstatic_fields' field.
	(AddField): Set it to true when adding a non-static field.
	(DefineType): Use `have_nonstatic_fields' to find out whether we
	have non-static fields, not `Fields != null'.

svn path=/trunk/mcs/; revision=5162
2002-06-07 16:58:59 +00:00
Martin Baulig 893decafb7 2002-06-07 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_type_info): Only add a class layout entry
	if we actually have a `tb->class_size' (ie. it's not UnspecifiedTypeSize).

svn path=/trunk/mono/; revision=5161
2002-06-07 16:53:09 +00:00
Martin Baulig fac61b26e5 2002-06-07 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder): Added `PackingSize packing_size' and
	`int type_size' fields to the constructor.
	(DefineNestedType): Pass packing_size and type_size to the constructor.

	* ModuleBuilder.cs (DefineType): Pass the packing_size and type_size
	fields to the TypeBuilder's constructor.

svn path=/trunk/mcs/; revision=5160
2002-06-07 16:50:36 +00:00
Paolo Molaro efff5abbcb Fri Jun 7 22:07:25 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: more signature fixes that used uint instead of int.

svn path=/trunk/mono/; revision=5159
2002-06-07 16:23:23 +00:00
Martin Baulig e9a8c5cf45 2002-06-07 Martin Baulig <[email protected]>
* TypeBuilder.cs (DefineNestedType): There is no overload for this
	method which takes 5 args in the specs, removed it.

svn path=/trunk/mcs/; revision=5158
2002-06-07 15:41:42 +00:00
Miguel de Icaza 93986018bd 2002-06-02 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleNameResolve): Removed simple bug (we were
	dereferencing a null on the static-field code path)

svn path=/trunk/mcs/; revision=5157
2002-06-07 15:29:38 +00:00
Gonzalo Paniagua Javier 422b632e91 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputHidden.cs: fixed constructor.

	* HtmlInputRadioButton.cs:
	(RenderAttributes): fixed stack overflow.

	(Name):
	(RenderedName): new -> override.

	(Value): new property.

	* HtmlInputText.cs:
	(RenderAttributes): fixed the same kind of stack overflow and make
	string comparison case insensitive.

svn path=/trunk/mcs/; revision=5155
2002-06-07 15:24:00 +00:00
Paolo Molaro 93be482083 Fri Jun 7 20:41:56 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fixed signature of field refs.

svn path=/trunk/mono/; revision=5154
2002-06-07 14:56:05 +00:00
Paolo Molaro 2bf92f9d86 Fri Jun 7 19:41:14 CEST 2002 Paolo Molaro <[email protected]>
* class.c, reflection.c: handle typerefs of nested types
	(both on read and when writing files).

svn path=/trunk/mono/; revision=5153
2002-06-07 13:55:50 +00:00
Paolo Molaro 4d9a2706bf Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <[email protected]>
* get.c: handle typerefs of nested types. Don't print "."
	with an empty namespace.

svn path=/trunk/mono/; revision=5152
2002-06-07 13:54:04 +00:00
Paolo Molaro 5cafd082c5 Fri Jun 7 17:46:50 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: fix method signatures that tried to workaround the previous
	typo, d'oh!

svn path=/trunk/mono/; revision=5151
2002-06-07 12:01:08 +00:00
Paolo Molaro ac53fa35d7 Fri Jun 7 17:36:33 CEST 2002 Paolo Molaro <[email protected]>
* debug-helpers.c: fix typo.

svn path=/trunk/mono/; revision=5150
2002-06-07 11:50:27 +00:00
Paolo Molaro e84fc77c09 Fri Jun 7 17:04:06 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: updates for PE/COFF rewrite.

svn path=/trunk/mcs/; revision=5149
2002-06-07 11:18:06 +00:00
Paolo Molaro ac91f362d1 Fri Jun 7 17:00:04 CEST 2002 Paolo Molaro <[email protected]>
* cil-coff.h, icall.c, image.c, reflection.c, reflection.h:
	rewrote the PE/COFF writing code (our programs are understood by the
	ms runtime, now).

svn path=/trunk/mono/; revision=5148
2002-06-07 11:18:05 +00:00
Gonzalo Paniagua Javier ba2f475939 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: fixed name of Enctype property and render enctype
	enctype attribute.

	* HtmlInputControl.cs: tag type is "input", not "type".

svn path=/trunk/mcs/; revision=5145
2002-06-06 23:38:26 +00:00
Nick Drochak 4472b85353 2002/06/07 Nick Drochak <[email protected]>
* String.cs: Add [Serializable] to class
	* SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads

svn path=/trunk/mcs/; revision=5141
2002-06-06 22:30:58 +00:00
Nick Drochak 70ea1389b1 2002-06-07 Nick Drochak <[email protected]>
* DecimalTest.cs: Catch unexpected exception and report it.

svn path=/trunk/mcs/; revision=5140
2002-06-06 18:26:02 +00:00
Nick Drochak b6567ed194 2002-06-07 Nick Drochak <[email protected]>
* NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1

svn path=/trunk/mcs/; revision=5139
2002-06-06 18:24:10 +00:00
Jeffrey Stedfast b34ac0edb0 made some spelling corrections
svn path=/trunk/mono/; revision=5138
2002-06-06 17:55:06 +00:00
Gonzalo Paniagua Javier 99f37626e5 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: for each child control to render, assign
	Control.Page. Probably also needed in HtmlContainerControl derived
	classes.

	* System.Web.UI.HtmlControls/HtmlControl.cs: Render contents moved to
	new RenderBeginTag method, defined in MS docs.

	* System.Web.UI.HtmlControls/HtmlForm.cs: Render output when no IE
	browser.

	* System.Web.UI.HtmlControls/HtmlInputButton.cs: added constructor
	without arguments. Xsp used it, though now it always use the other
	.ctor.

	* System.Web.UI.HtmlControls/HtmlInputControl.cs: cosmetic changes and
	implemented set_Name.

svn path=/trunk/mcs/; revision=5135
2002-06-06 11:38:30 +00:00
Rodrigo Moya edd9d283a8 2002-06-06 Rodrigo Moya <[email protected]>
* list: added missing PostgresTypes.cs file.

svn path=/trunk/mcs/; revision=5134
2002-06-06 08:53:57 +00:00
Gonzalo Paniagua Javier 62aeab6dc1 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs: don't need a Hastable. StateBag
	now works fine and takes care of the details.

	* System.Web.UI/Control.cs: added HasChildren property.

	* System.Web.UI/StateBag.cs: fixed a couple of nasty bugs.

	* System.Web.UI.HtmlControls/HtmlButton.cs: RenderAttributes is an
	override, not new.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: use the new
	Render method in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlControl.cs: added Render method to
	render the tag and its attributes. Works for container and
	non-containers.

	* System.Web.UI.HtmlControls/HtmlImage.cs: RenderAttributes don't need
	to be new. Implemented Height property.

svn path=/trunk/mcs/; revision=5130
2002-06-05 15:58:32 +00:00
Gonzalo Paniagua Javier a6e91ebb09 Changed May 31st news
svn path=/trunk/mono/; revision=5129
2002-06-05 12:46:56 +00:00
Miguel de Icaza 03846e09c1 push index
svn path=/trunk/mono/; revision=5128
2002-06-05 12:41:24 +00:00
Gonzalo Paniagua Javier 3165dc992d 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added /debug flag. I wanna see line numbers in
	exceptions thrown.

	* System.Web.UI/Page.cs: run OnInit, OnLoad y PreRender before
	rendering the page. Invoke Page_Init and/or Page_Load if the user
	supplied them (though this should depend on AutoEventWireUp attribute
	of Page directive)

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: some formatting
	and use HttpUtility.Encode instead of Page.Server to encode InnerText.

svn path=/trunk/mcs/; revision=5126
2002-06-04 23:09:33 +00:00
Dennis Hayes 8a0c20c884 2002-5-31 DennisHayes <[email protected]>
* ItemChangedEventHandler.cs
* InvalidateEventHandler.cs
* ItemChangedEventHandler.cs
* added new files

svn path=/trunk/mcs/; revision=5125
2002-06-04 22:27:47 +00:00
Dennis Hayes 7422644621 2002-5-31 DennisHayes <[email protected]>
* ColumnClickEventArgs.cs
* Fully implmented.

svn path=/trunk/mcs/; revision=5124
2002-06-04 22:19:54 +00:00
Dennis Hayes 60704133df 2002-6-4 DennisHayes <[email protected]>
* minor formating fixes in many files.

svn path=/trunk/mcs/; revision=5123
2002-06-04 22:08:50 +00:00
Dennis Hayes 313141a5e5 2002-6-4 DennisHayes <[email protected]>
* minor formating fixes in many files.

svn path=/trunk/mcs/; revision=5122
2002-06-04 21:57:43 +00:00
Jonathan Pryor aa99ca9b2c Update `class.xml' to include all of the classes currently in
`/mcs/class/System/System.Diagnostics'.

I didn't know all the information for all the classes (e.g. % complete,
current maintainer), so this list isn't complete, but it should be easier to
update this information now that it's present.

svn path=/trunk/mono/; revision=5121
2002-06-04 21:48:53 +00:00
Dennis Hayes be14205f25 2002-6-4 DennisHayes <[email protected]>
* minor formating fixes in many files.

svn path=/trunk/mcs/; revision=5120
2002-06-04 21:42:10 +00:00
Rafael Teixeira cbac8fe826 2002-06-02 Rafael Teixeira <[email protected]>
* copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
	  where they are inherited by mb-parser.jay/cs
	* put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
	  if I jump over the entry-point check code, while debugging

svn path=/trunk/mcs/; revision=5119
2002-06-04 21:15:14 +00:00
Gonzalo Paniagua Javier f1b29831f9 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: don't throw exception in ControlID. By now,
	it returns ID.

	* System.Web.UI/Page.cs:
	(ProcessRequest): implemented.

	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	(RenderAttributes): new -> override and fixed little bug that made
	it cause an stack overflow.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: reformatted and
	added tag and its attributes rendering.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: removed TagName,
	which is already in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlTable.cs:
	(RenderEndTag): new -> override.

svn path=/trunk/mcs/; revision=5117
2002-06-04 16:49:33 +00:00
Gonzalo Paniagua Javier 22f23b9995 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: implemented Browser property.

	* System.Web.UI/Page.cs: finished stubbing out. Implemented some
	methods.

	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.SessionState/SessionStateModule.cs: new files with some
	implementation and the rest stubbed.

svn path=/trunk/mcs/; revision=5116
2002-06-04 13:27:21 +00:00
Paolo Molaro 54c4d92f83 Fixed make distcheck.
svn path=/trunk/mono/; revision=5115
2002-06-04 13:03:39 +00:00
Paolo Molaro cc42dbca88 Tue Jun 4 18:10:47 CEST 2002 Paolo Molaro <[email protected]>
* gc.c, gc.h, icall.c: weakreference support.

svn path=/trunk/mono/; revision=5114
2002-06-04 12:24:55 +00:00
Paolo Molaro 54572e3d18 Tue Jun 4 18:05:30 CEST 2002 Paolo Molaro <[email protected]>
* GCHandle.cs: changed to fit spec and implementation needs.

svn path=/trunk/mcs/; revision=5113
2002-06-04 12:24:45 +00:00
Paolo Molaro 024b221868 Forgot in the last commit.
svn path=/trunk/mono/; revision=5112
2002-06-04 11:42:50 +00:00
Nick Drochak 76b6102010 2002-06-05 Nick Drochak <[email protected]>
* SecurityElement.cs: Fixed couple of hard to spot typos which were
	causing valid names and keys to be rejected.

svn path=/trunk/mcs/; revision=5111
2002-06-04 11:32:53 +00:00
Rodrigo Moya 72d4627833 2002-06-03 Rodrigo Moya <[email protected]>
* OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
	IsSynchronized): implemented.

svn path=/trunk/mcs/; revision=5110
2002-06-04 11:14:51 +00:00
Nick Drochak e5a96922fe 2002-06-04 Nick Drochak <[email protected]>
* Double.cs (Parse): Recognize the group separator string, but still we
	don't check the format for the proper number of digits between
	separators. Also throw OverflowException when we get Pos or Neg
	Infinity from runtime.

svn path=/trunk/mcs/; revision=5109
2002-06-04 11:01:09 +00:00
Paolo Molaro e02101a1e6 Tue Jun 4 16:06:19 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am, mono-config.c: use $(sysconfdir).

svn path=/trunk/mono/; revision=5108
2002-06-04 10:20:34 +00:00
Paolo Molaro 6916f6ce1f Tue Jun 4 13:08:43 CEST 2002 Paolo Molaro <[email protected]>
* ArrayList.cs: fixed RemoveAt() implementation.

svn path=/trunk/mcs/; revision=5107
2002-06-04 07:23:21 +00:00
Duncan Mak aa93bef4fb 2002-06-03 Duncan Mak <[email protected]>
* Convert.cs (ToDouble): Fixed ToDouble (byte value).

svn path=/trunk/mcs/; revision=5106
2002-06-03 23:57:25 +00:00
Nick Drochak 0fd0c1bdbb 2002/06/04 Nick Drochak <[email protected]>
* ByteTest.cs: Fix currency constant that we use for the expected
	value.  Try to be more culture-diverse.

svn path=/trunk/mcs/; revision=5105
2002-06-03 23:21:16 +00:00
Gonzalo Paniagua Javier b90100aed8 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: stubbed out.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.

	* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.

	* System.Web.SessionState/IReadOnlySessionState.cs: New file.

	* System.Web.SessionState/IRequiresSessionState.cs: New file.

	* System.Web.SessionState/SessionStateMode.cs: New file.

	* System.Web.UI/Page.cs:
	(FileDependencies): now is public public.
	(EnableViewStateMAC): uncommented and made protected.
	(GetTypeHashCode): added method.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderAttributes): changed new by override.
	(Name): allow setting the property.

	* System.Web.UI.WebControls/WebControl.cs: added attributes
	PersistChildrenAttribute and ParseChildrenAttribute.

	* System.Web.Configuration/ChangeLog:
	* System.Web.Configuration/HttpCapabilitiesBase.cs:
	* System.Web.Security/ChangeLog:
	* System.Web.Security/DefaultAuthenticationEventArgs.cs:
	* System.Web.SessionState/ChangeLog:
	* System.Web.SessionState/IReadOnlySessionState.cs:
	* System.Web.SessionState/IRequiresSessionState.cs:
	* System.Web.SessionState/SessionStateMode.cs: new files.

	Now we are able to compile some files generated by xsp with our
	System.Web classes.

svn path=/trunk/mcs/; revision=5102
2002-06-03 20:41:49 +00:00
Paolo Molaro f6c317aa34 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c, monobitset.h: documentation and fixes from
	Dennis Haney.

svn path=/trunk/mono/; revision=5099
2002-06-03 09:56:48 +00:00
Paolo Molaro 44d7d4c876 Mon Jun 3 13:13:32 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: changed default precision of Double.ToString() to 15.
	Fixed memory leak. Unified with Single.ToString.

svn path=/trunk/mono/; revision=5098
2002-06-03 07:29:10 +00:00
Paolo Molaro af3d63bd05 Mon Jun 3 12:58:40 CEST 2002 Paolo Molaro <[email protected]>
* ASCIIEncoding.cs: fixed handling of 0 bytecount.

svn path=/trunk/mcs/; revision=5097
2002-06-03 07:12:26 +00:00
Paolo Molaro 8cd9141e16 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <[email protected]>
* Type.cs: fixed GetTypeCode.

svn path=/trunk/mcs/; revision=5096
2002-06-03 06:32:01 +00:00
Nick Drochak 46440f3ba2 2002/06/03 Nick Drochak <[email protected]>
* DecimalTest.cs: Fix some errors that were showing up when run against
	ms.net.

svn path=/trunk/mcs/; revision=5093
2002-06-02 23:45:30 +00:00
Rodrigo Moya 595f3b7a5c 2002-06-02 Francisco Jr. <[email protected]>
* System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
	methods.

svn path=/trunk/mcs/; revision=5092
2002-06-02 14:46:11 +00:00
Rodrigo Moya 4856bf9df7 2002-06-02 Rodrigo Moya <[email protected]>
* OleDbTransaction.cs (Dispose): added missing method.

	* OleDbCommand.cs (Clone): added missing methods.
	(Parameters, Transaction, Connection): made these overload
	IDbCommand's ones.

	* OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
	call m_list methods, not own ones.

	* OleDbParameter.cs: more implementation.

svn path=/trunk/mcs/; revision=5091
2002-06-02 14:41:11 +00:00
Rodrigo Moya 1f103f507d 2002-06-02 Rodrigo Moya <[email protected]>
* OleDbTransaction.cs (Connection, IsolationLevel, Begin,
	Commit, Rollback): implemented.
	(GdaConnection): added new internal property.

	* OleDbParameter.cs:
	* OleDbParameterCollection.cs: implemented some methods and
	properties.

	* libgda.cs: added yet more libgda API functions.

svn path=/trunk/mcs/; revision=5090
2002-06-02 13:47:04 +00:00
Duncan Mak ca648cef4b 2002-06-02 Duncan Mak <[email protected]>
* Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
	cast from an int so that we throw OverFlowException correctly.

	(ToInt64): Use a new 64bit version of ConvertToBase.

	(ConvertToBase): Add checks for overflow (checks Int32.MinValue
	and Int32.MaxValue).

	(ConvertFromBase64): New 64-bit version of ConvertFromBase.

svn path=/trunk/mcs/; revision=5089
2002-06-02 12:10:47 +00:00
Nick Drochak f7e327ff65 More try-catch blocks to find the bugs.
svn path=/trunk/mcs/; revision=5088
2002-06-02 10:24:04 +00:00
Nick Drochak 219b8d1bd5 2002-06-02 Nick Drochak <[email protected]>
* Convert.cs (ToSByte): Check for special value.
	* Single.cs (Parse):
	* UInt16.cs (Parse):
	* UInt32.cs (Parse): Throw OverflowException if negative

svn path=/trunk/mcs/; revision=5087
2002-06-02 10:20:16 +00:00
Duncan Mak 35a5f9cbb7 2002-06-02 Duncan Mak <[email protected]>
* Convert.cs (DBNull): Point it to DBNull.Value.
	(IsDBNull): Instead of checking typecodes, just check to see if
	it's the same as the DBNull field.

svn path=/trunk/mcs/; revision=5086
2002-06-02 01:58:04 +00:00
Nick Drochak 299ac9b95f 2002-06-02 Nick Drochak <[email protected]>
* ConvertTest.cs: Use en-US culture since that's all we support in our
	corlib right now. Change constants accordingly.  Also added a bunch of
	try-catch blocks to show which Assert is failing.

svn path=/trunk/mcs/; revision=5085
2002-06-02 01:09:56 +00:00
Nick Drochak 42f2cacb3d 2002-06-02 Nick Drochak <[email protected]>
* Convert.cs (ConvertFromBase): Detect bad digits correctly.

svn path=/trunk/mcs/; revision=5084
2002-06-02 01:03:58 +00:00
Duncan Mak 449a2f4dd9 2002-06-02 Duncan Mak <[email protected]>
Char.cs (Parse): Simplify the Exception handling.

	* Convert.cs (ToDecimal): Remove call to Math.Round () when
	converting from a float.

svn path=/trunk/mcs/; revision=5083
2002-06-02 00:55:12 +00:00
Duncan Mak 58b1fcc78d 2002-06-02 Duncan Mak <[email protected]>
* ConvertTest.cs (TestToDecimal): Fixed typo in case #H11.

svn path=/trunk/mcs/; revision=5082
2002-06-02 00:38:05 +00:00
Rodrigo Moya 63f8641786 2002-06-01 Rodrigo Moya <[email protected]>
* libgda.cs: added new libgda API functions.

	* OleDbConnection.cs (Provider): implemented.
	(BeginTransaction): made it overload IDbConnection methods.
	(ChangeDatabase): new stub, needs some work on libgda for being
	implemented.
	(Clone): new stub.
	(Close): implemented.
	(CreateCommand): implemented.
	(GetOleDbSchemaTable): new stub, until I understand what to do here.
	(Open): implemented basic stuff, which is just supporting connection
	strings that represent a GDA data source name. More to come.
	(InfoMessage, StateChange): added events.

	* TestOleDb.cs: test program for System.Data.OleDb.

svn path=/trunk/mcs/; revision=5081
2002-06-01 21:32:56 +00:00
Nick Drochak d28c74540f 2002-06-01 Nick Drochak <[email protected]>
* corlib_test.build: Change the order of the builds.  Just makes it a
	bit faster for my testing since I need the linux dll.

svn path=/trunk/mcs/; revision=5080
2002-06-01 10:11:28 +00:00
Nick Drochak a53297eaac 2002-06-01 Nick Drochak <[email protected]>
* BugTest.cs: Remove, bug fixed.  Yay!
	* AllTests.cs: Remove BugTest from suite.

svn path=/trunk/mcs/; revision=5079
2002-06-01 10:03:08 +00:00
Paolo Molaro 0fd0e0119a Sat Jun 1 14:26:45 CEST 2002 Paolo Molaro <[email protected]>
* sysmath.c: workaround systems missing NAN and/or HUGE_VAL.

svn path=/trunk/mono/; revision=5078
2002-06-01 08:40:37 +00:00
Paolo Molaro dca15b9b6c Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c: fix my screwup pointed out by Lawrence Pit
	([email protected]).

svn path=/trunk/mono/; revision=5077
2002-06-01 08:27:27 +00:00
Paolo Molaro 5d86f61161 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <[email protected]>
* main.c: print byte values correctly.

svn path=/trunk/mono/; revision=5076
2002-06-01 08:12:22 +00:00
Paolo Molaro 3476e11bf5 Kill warning.
svn path=/trunk/mono/; revision=5075
2002-06-01 08:08:34 +00:00
Paolo Molaro df8c1750d6 Sat Jun 1 13:54:29 CEST 2002 Paolo Molaro <[email protected]>
* shmdel.c: use return instead of exit in main().

svn path=/trunk/mono/; revision=5074
2002-06-01 08:08:03 +00:00
Paolo Molaro cdfef7f3bd Sat Jun 1 13:46:54 CEST 2002 Paolo Molaro <[email protected]>
* pedump.c, appdomain.c, appdomain.h, assembly.c, domain.c,
	gc.c, icall.c, image.c, mono-config.c, reflection.c: killed
	warnings and compilation fixes from Dennis Haney ([email protected])
	and myself.

svn path=/trunk/mono/; revision=5073
2002-06-01 08:04:04 +00:00
Paolo Molaro 0158bd45eb Sat Jun 1 13:27:11 CEST 2002 Paolo Molaro <[email protected]>
* atomic.h: inline asm fixes from Dennis Haney ([email protected]).

svn path=/trunk/mono/; revision=5072
2002-06-01 07:41:08 +00:00
Paolo Molaro e3b8826af4 Sat Jun 1 13:24:01 CEST 2002 Paolo Molaro <[email protected]>
* message.c, emit-x86.c: kill warnings.

svn path=/trunk/mono/; revision=5071
2002-06-01 07:37:43 +00:00
Miguel de Icaza 2ca084f263 Fix NullRef
svn path=/trunk/mcs/; revision=5070
2002-05-31 21:20:11 +00:00
Dennis Hayes e5e0a26282 2002-5-31 DennisHayes <[email protected]>
* ColumnClickEventArgs.cs
* Fully implmented.

svn path=/trunk/mcs/; revision=5069
2002-05-31 21:02:11 +00:00
Dennis Hayes f54bc90deb 2002-5-31 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* MonthCalendar.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Removed trash byte

svn path=/trunk/mcs/; revision=5068
2002-05-31 20:58:10 +00:00
Dennis Hayes 50d440e7fd 2002-5-27 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* Panel.cs
* New class, Stubbed and commented out

svn path=/trunk/mcs/; revision=5067
2002-05-31 20:52:45 +00:00
Miguel de Icaza 4021f29562 Report line where the new fails
svn path=/trunk/mcs/; revision=5066
2002-05-31 20:38:49 +00:00
Rafael Teixeira 19b44d0cb6 2002-05-31 Rafael Teixeira <[email protected]>
* class Mono.MonoBASIC.Tokenizer now handles
		- all valid line-terminators (CR, LF, CRLF, LS and PS)
		- escaped identifiers (like [Integer])
		- old-fashioned comments syntax (REM Blah-Blah)

svn path=/trunk/mcs/; revision=5065
2002-05-31 17:10:44 +00:00
Miguel de Icaza f0f8ba8135 Flush
svn path=/trunk/mcs/; revision=5064
2002-05-31 16:39:31 +00:00
Rafael Teixeira 19df4ca570 housekeeping
svn path=/trunk/mcs/; revision=5063
2002-05-31 14:42:09 +00:00
Rafael Teixeira 694e99f55c head -n2 mbas\changelog
svn path=/trunk/mcs/; revision=5062
2002-05-31 14:02:54 +00:00
Rafael Teixeira 20585302ab housekeeping
svn path=/trunk/mcs/; revision=5058
2002-05-31 11:37:25 +00:00
Rafael Teixeira 40996f0943 2002-05-31 Rafael Teixeira <[email protected]>
* squashed some reduce/reduce conflicts out of mb-parser.jay

svn path=/trunk/mcs/; revision=5057
2002-05-31 11:30:34 +00:00
Paolo Molaro 6c1a3ad677 Fri May 31 16:58:36 CEST 2002 Paolo Molaro <[email protected]>
* debug-symfile.c, sysmath.c: yet more compilation fixes.

svn path=/trunk/mono/; revision=5056
2002-05-31 11:12:38 +00:00
Dietmar Maurer 2e91e9bfdf 2002-05-31 Dietmar Maurer <[email protected]>
* x86.brg: buf fix in REMOTE_STIND_OBJ
	(mono_ldvirtftn): impl.
	(mono_ldintftn): impl.
	(mono_ldftn): impl.

svn path=/trunk/mono/; revision=5055
2002-05-31 10:58:19 +00:00
Paolo Molaro 0640ef5baf Compilation fixes.
svn path=/trunk/mono/; revision=5054
2002-05-31 10:55:37 +00:00
Paolo Molaro 60c303cb94 Fri May 31 16:35:56 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, socket-io.c: more compilation fixes.

svn path=/trunk/mono/; revision=5053
2002-05-31 10:49:42 +00:00
Paolo Molaro c510839b72 Fri May 31 16:21:54 CEST 2002 Paolo Molaro <[email protected]>
* daemon.c, handles.c: rename "sun" local var since it's apparently
	a #define on Solaris.

svn path=/trunk/mono/; revision=5052
2002-05-31 10:41:30 +00:00
Rafael Teixeira 2981c34046 2002-05-31 Rafael Teixeira <[email protected]>
* merged codegen.cs from mcs
	* altered Driver.cs to work with new codegen.cs

svn path=/trunk/mcs/; revision=5051
2002-05-31 10:34:58 +00:00
Paolo Molaro a3c5142745 Fri May 31 16:17:20 CEST 2002 Paolo Molaro <[email protected]>
* interp.c, hacks.h: compiler compatibility fixes.

svn path=/trunk/mono/; revision=5050
2002-05-31 10:31:09 +00:00
Paolo Molaro a097d74abf Fri May 31 15:58:22 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.c, class.c, class.h, debug-symfile.c, decimal.c,
	domain.c, loader.c, object.c, object.h, reflection.c, string-icalls.h,
	unicode.c: warning and compiler compatibility fixes.

svn path=/trunk/mono/; revision=5049
2002-05-31 10:14:31 +00:00
Paolo Molaro 297165ce3f Fri May 31 15:40:14 CEST 2002 Paolo Molaro <[email protected]>
* daemon-messages.c: work-around MSG_NOSIGNAL missing on some
	platforms.

svn path=/trunk/mono/; revision=5048
2002-05-31 09:54:14 +00:00
Paolo Molaro 4c15b890d3 Fri May 31 15:36:53 CEST 2002 Paolo Molaro <[email protected]>
* class.h, metadata.c: fixed warnings/compilation errors.

svn path=/trunk/mono/; revision=5047
2002-05-31 09:50:46 +00:00
Paolo Molaro 9ef566e7af Fri May 31 15:34:18 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().

svn path=/trunk/mono/; revision=5046
2002-05-31 09:47:59 +00:00
Paolo Molaro a4263194ee Add dll-mapping config file.
svn path=/trunk/mono/; revision=5045
2002-05-31 07:51:40 +00:00
Paolo Molaro 4cb3b28858 Fri May 31 13:26:56 CEST 2002 Paolo Molaro <[email protected]>
* mono.c: added --config command line option.

svn path=/trunk/mono/; revision=5044
2002-05-31 07:42:01 +00:00
Paolo Molaro 60b557313a Fri May 31 13:25:57 CEST 2002 Paolo Molaro <[email protected]>
* interp.c, mint.1: added --config command line option.

svn path=/trunk/mono/; revision=5043
2002-05-31 07:39:32 +00:00
Paolo Molaro fb3ec5455b Fri May 31 13:08:25 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am, mono-config.c, mono-config.h: configuration file
	support routines.
	* loader.c, loader.h: make Dll mapping configurable at runtime in the
	config file. Export methods to insert and lookup mappings.

svn path=/trunk/mono/; revision=5042
2002-05-31 07:24:33 +00:00
Paolo Molaro 8e4e65ed5b Fri May 31 12:45:38 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: handle types and boxed objects in custom attr
	constructors.

svn path=/trunk/mono/; revision=5041
2002-05-31 06:59:27 +00:00
Paolo Molaro 0b75693b74 Fri May 31 12:34:52 CEST 2002 Paolo Molaro <[email protected]>
* jit.c, jit.h: collect statistics about the number of basic blocks.

svn path=/trunk/mono/; revision=5040
2002-05-31 06:48:48 +00:00
Martin Baulig 6ea9bedfe2 2002-05-31 Martin Baulig <[email protected]>
* debug.c (mono_debug_address_from_il_offset): New public function.
	(mono_debug_add_method): Improved local variable info: correctly handle
	variables in registers and their start/end scopes.

svn path=/trunk/mono/; revision=5039
2002-05-30 19:54:57 +00:00
Martin Baulig b3f93cae17 Correctly handle structs.
svn path=/trunk/mcs/; revision=5038
2002-05-30 19:52:50 +00:00
Martin Baulig a5963ebb2f 2002-05-30 Martin Baulig <[email protected]>
* codegen.cs (InitMonoSymbolWriter): Added `string[] args' argument
	to take command line arguments.  Use reflection to call the new
	custom `Initialize' function on the symbol writer and pass it the
	command line arguments.

	* driver.cs (--debug-args): New command line argument to pass command
	line arguments to the symbol writer.

svn path=/trunk/mcs/; revision=5037
2002-05-30 17:45:24 +00:00
Martin Baulig e0f1f8754b 2002-05-30 Martin Baulig <[email protected]>
* IMonoSymbolWriter (IMonoSymbolWriter): Added custom `Initialize' method.

	* MonoSymbolWriter.cs (Initialize): The ISymbolWriter's `Initialize' method
	is no longer supported and throws an exception.
	(Initialize (string, string[])): New custom initialization function.

	* MonoDwarfFileWriter.cs (DwarfFileWriter): Added `string[] args' argument
	to the constructor to pass command line arguments.

	* gdb-csharp-support.patch: Updated for GDB 5.2.

svn path=/trunk/mcs/; revision=5036
2002-05-30 17:42:50 +00:00
Martin Baulig 5a792ec683 Oooops ...
svn path=/trunk/mcs/; revision=5035
2002-05-30 17:39:58 +00:00
Martin Baulig d7c013969b 2002-05-30 Martin Baulig <[email protected]>
* MonoType.cs (GetInterface): Implemented.

svn path=/trunk/mcs/; revision=5034
2002-05-30 17:38:33 +00:00
Martin Baulig 987e8d8fe8 Reverted this, no longer needed:
2002-05-22  Martin Baulig  <[email protected]>

	* reflection.h (MonoArrayList): New typedef.
	(MonoReflectionAssemblyBuilder): Added `table_indexes' and `methods'.

svn path=/trunk/mono/; revision=5033
2002-05-30 15:19:49 +00:00
Martin Baulig 063bfcc4e9 2002-05-30 Martin Baulig <[email protected]>
* debug-symfile.c
	(ves_icall_Debugger_MonoSymbolWriter_method_builder_from_token): Removed.

svn path=/trunk/mono/; revision=5032
2002-05-30 15:19:04 +00:00
Martin Baulig fc2a2b027f 2002-05-30 Martin Baulig <[email protected]>
* ModuleBuilder.cs (ModuleBuilder): The constructor now get's the AssemblyBuilder's
	`methods' array as third argument.
	(OpenMethod): Use this array to get the method builder rather than using an
	interncall for it.
	(get_method_builder): Removed this interncall.

svn path=/trunk/mcs/; revision=5031
2002-05-30 15:15:25 +00:00
Martin Baulig 39b7e0e8af 2002-05-30 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (methods): Made this internal and don't
	initialize it.  It will be initialized by the ModuleBuilder's
	GetSymbolWriter() method.
	(get_next_table_index): Only store the method in the `methods'
	array if it's not null.

	* ModuleBuilder.cs (GetSymbolWriter): Initialize the AssemblyBuilder's
	`methods' field if necessary and pass it as third argument to the
	symbol writer's constructor.

svn path=/trunk/mcs/; revision=5030
2002-05-30 15:14:00 +00:00
Martin Baulig 044029a805 2002-05-30 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_string): Use "0x%lx" as fprintf() format,
	not "%p" which seems to be broken on Windows/mingw32.

svn path=/trunk/mono/; revision=5029
2002-05-30 14:30:13 +00:00
Rafael Teixeira 3d7b99fb49 syncing
svn path=/trunk/mcs/; revision=5028
2002-05-30 13:28:05 +00:00
Nick Drochak bf28b61220 2002-05-31 Nick Drochak <[email protected]>
* BugTest.cs: Small file to show NullReferenceException bug
	* AllTests.cs: Include BugTest.cs in the suite.

svn path=/trunk/mcs/; revision=5027
2002-05-30 12:45:30 +00:00
Dietmar Maurer 1908739baf s/MonoValueKind/MonoVarType/
svn path=/trunk/mono/; revision=5026
2002-05-30 11:25:03 +00:00
Dietmar Maurer d2207e1ac1 2002-05-30 Dietmar Maurer <[email protected]>
* x86.brg (reg): bug fix in LOCALLOC

	* mono.c (main): new switch --nointrinsic to disable memcpy opt.

	* x86.brg: added block copy/init optimizations from
	Serge ([email protected])

svn path=/trunk/mono/; revision=5025
2002-05-30 11:04:53 +00:00
Daniel Morgan cf36a515ee 2002-05-30 Daniel Morgan <[email protected]>
* doc/ado-net: update the ado-net web page on go-mono.com
	input parameters support, beginnings of Mono.Data.MySQL
	and System.Data.OleDb, updated the sample source code,
	and output from a PostgresTest

svn path=/trunk/mono/; revision=5024
2002-05-30 10:16:22 +00:00
Daniel Morgan 8ac0b7fe99 2002-05-30 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlConnection.cs: modifed -
	start to implement the interfaces properly and
	properly doing a Close(), Dispose(), and
	releasing resources

	* Test/SqlSharpCli.cs: modified -
	add support for MySQL in Mono.Data.MySql
	and OleDb support in System.Data.OleDb.  However,
	the OleDb support is commented right now.
	When the program starts up, a shorter help menu should
	display the most important commands: help and quit

svn path=/trunk/mcs/; revision=5023
2002-05-30 09:07:01 +00:00
Daniel Morgan 71ec6bd646 2002-05-30 Daniel Morgan <[email protected]>
* Mono.Data.MySql.build: modified
	need to copy Mono.Data.MySql.dll to mcs/class/System.Data/Test
	so the SqlSharpCli test program can use MySql too

svn path=/trunk/mcs/; revision=5022
2002-05-30 08:40:35 +00:00
Jaime Anguiano Olarra 3bfcde28db Added some questions and answers. Sent a file to Miguel containing those.
svn path=/trunk/mono/; revision=5021
2002-05-30 08:37:18 +00:00
Paolo Molaro 8666e4d2f9 Thu May 30 14:13:12 CEST 2002 Paolo Molaro <[email protected]>
* invoke.cs: lookup P/Invoke method address only when needed.


Thu May 30 14:14:16 CEST 2002 Paolo Molaro <[email protected]>

	* interp.c: lookup P/Invoke method addr only when needed.


Thu May 30 14:15:02 CEST 2002 Paolo Molaro <[email protected]>

	* metadata.c, metadata.h: added mono_metadata_implmap_from_method()
	to lookup the implmap row for a P/Invoke method.
	* loader.c: added mono_lookup_pinvoke_call(): we only lookup a
	P/Invoke method from the runtime on an as needed basis.

svn path=/trunk/mono/; revision=5020
2002-05-30 08:33:27 +00:00
Daniel Morgan 5fbdeba178 *** empty log message ***
svn path=/trunk/mcs/; revision=5019
2002-05-30 08:01:11 +00:00
Daniel Morgan be273e55e2 2002-05-30 Daniel Morgan <[email protected]>
* Test/TestMySqlInsert.cs: added test
	to do an SQL INSERT to insert a row into table.
	Works on cygwin compiled using mcs and mono and
	runs on mint, but it fails running on mono.

	* Mono.Data.MySql/MySqlCommand.cs
	* Mono.Data.MySql/TODOAttribute.cs
	* Mono.Data.MySql/MySqlConnection.cs: added

	* list: added
	so can build with mcs/mono on linux
	I only tested it on Cygwin though.
	To work on linux, the library name in the pinvokes
	in MySql.cs will need to be changed.

	* Mono.Data.MySql.build: modified
	exclude files from build.  also copy Mono.Data.MySql.dll
	to Mono.Data.MySql so you can build and run Test.cs

	* Mono.Data.MySql/MySql.cs: modified
	tweaks to compile under mcs/mono and run under mint or mono.
	Runs under mint, but not mono. Had to comment out
	mysql_thread_begin/mysql_thread_end functions because they refused
	to load in mono.  Until this is fixed, a memory leak will occur.
	Can not retrieve field data from MySQL because the PtrToStructure()
	needs to be implemented in System.Runtime.InteropServices.Marshal class.
	However, this will be very complicated to do.  So, we connect to
	MySQL and execute SQL Commands,	but we can not do Queries yet.

	* Mono.Data.MySql/Test.cs: modified
	tweaks to test C# bindings with compiling mcs/mono and
	running on mint and mono.  Runs on mint, but not mono.

svn path=/trunk/mcs/; revision=5018
2002-05-30 07:57:20 +00:00
Dietmar Maurer 4bc9162736 s/+=/=/
svn path=/trunk/mono/; revision=5015
2002-05-30 01:43:17 +00:00
Miguel de Icaza 3f124b1881 back out the indexer change until I can figure it out
svn path=/trunk/mcs/; revision=5014
2002-05-29 23:37:57 +00:00
Jonathan Pryor bbdee53089 Add documentation regarding MONO_TRACE.
svn path=/trunk/mcs/; revision=5013
2002-05-29 21:00:42 +00:00
Jonathan Pryor 1512ac4a82 Implement MONO_TRACE support.
svn path=/trunk/mcs/; revision=5012
2002-05-29 20:59:48 +00:00
Rodrigo Moya cca4ebf9d3 2002-05-29 Rodrigo Moya <[email protected]>
* libgda.cs: added static constructor.
	(GdaClient): new static property to get the underlying GdaClient
	object.

	* OleDbConnection.cs: removed GDA initialization, which belongs to
	the static 'libgda' class.

svn path=/trunk/mcs/; revision=5011
2002-05-29 18:48:37 +00:00
Rodrigo Moya e5e0b1250c 2002-05-29 Rodrigo Moya <[email protected]>
* libgda.cs: static class for libgda API calls.

	* OleDbConnection.cs: implemented constructors.
	(ConnectionString, Connectiontimeout, Database, State):
	implemented class properties.
	(BeginTransaction): implemented.

	* OleDbTransaction.cs: implemented protected constructors.

	* TestGDA.cs: simple test for libgda API.

svn path=/trunk/mcs/; revision=5010
2002-05-29 17:46:32 +00:00
Miguel de Icaza e006f81d42 updated docs
svn path=/trunk/mcs/; revision=5009
2002-05-29 12:38:16 +00:00
Miguel de Icaza bef36abde6 TODO
svn path=/trunk/mcs/; revision=5008
2002-05-29 12:37:43 +00:00
Miguel de Icaza fe6fdbfddb 2002-05-28 Miguel de Icaza <[email protected]>
* assign.cs (DoResolve): Forgot to do the implicit conversion to
	the target type for indexers and properties.  Thanks to Joe for
	catching this.

svn path=/trunk/mcs/; revision=5007
2002-05-29 12:23:45 +00:00
Dietmar Maurer 08e8c0a7d9 *** empty log message ***
svn path=/trunk/mono/; revision=5006
2002-05-29 11:50:49 +00:00
Dietmar Maurer 3fa8e0c422 2002-05-29 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in REMOTE_STIND_OBJ

svn path=/trunk/mono/; revision=5005
2002-05-29 11:49:57 +00:00
Nick Drochak eaffbf1376 2002-05-29 Nick Drochak <[email protected]>
* DecimalTest.cs: Use AssertEquals to get nice error report, and mark
	each one with a unique message string so we know which one failed.

svn path=/trunk/mcs/; revision=5003
2002-05-29 10:21:11 +00:00
Dietmar Maurer 0419251d33 2002-05-29 Dietmar Maurer <[email protected]>
* invoke.c (arch_create_native_wrapper): handle pointers to value types

svn path=/trunk/mono/; revision=5002
2002-05-29 09:53:30 +00:00
Dietmar Maurer 8c567ea4ad 2002-05-29 Dietmar Maurer <[email protected]>
* helpers.h: use mono_ prefix for all functions

svn path=/trunk/mono/; revision=5000
2002-05-29 07:12:57 +00:00
Dietmar Maurer d888f55b42 2002-05-29 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): fixed SIZEOF

	* x86.brg: impl. LOCALLOC, INITBLK

svn path=/trunk/mono/; revision=4999
2002-05-29 07:08:01 +00:00
Dennis Hayes 56903331e8 2002-5-27 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* Menu.cs
* Menu.MenuItemCollection.cs
* MenuItem.cs
* MessageBox.cs
* MonthCalendar.cs
* Stubbed and commented out
* MonthCalendar.cs has bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.
* Menu.MenuItemCollection.cs needs to be incorporated into Menu.cs.

svn path=/trunk/mcs/; revision=4997
2002-05-28 20:31:16 +00:00
Dennis Hayes 79a8365d9f 2002-5-27 DennisHayes <[email protected]>
Check in for Paul Osman <[email protected]>
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Stubbed and commented out
* NativeWindow.cs, MonthCalendar.HitTestInfo.cs, MouseEventArgs.cs,
* have bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.

svn path=/trunk/mcs/; revision=4996
2002-05-28 19:55:35 +00:00
Dennis Hayes 776e874d6e DennisHayes <[email protected]>
2002-5-27
Added delegates. All delegates in System.Windows.Forms done
* ColumnClickEventHandler.cs
* ContentsResizedEventHandler.cs
* ControlEventHandler.cs
* ConvertEventHandler.cs
* DateRangeEventHandler.cs
* DragEventHandler.cs
* DrawItemEventHandler.cs
* GiveFeedbackEventHandler.cs
* HelpEventHandler.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InvalidateEventHandler.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkClickedEventHandler.cs
* LinkLabelLinkClickedEventHandler.cs

svn path=/trunk/mcs/; revision=4995
2002-05-28 19:31:49 +00:00
Dennis Hayes 4c17551fcc DennisHayes <[email protected]>
2002-5-27
Added structs. All structs in System.Windows.Forms done
* BindingMemberInfo.cs
* DataGridCell.cs
* LinkArea.cs
* Message.cs
* Complete execpt for Message.cs GetLParam
* and
* BindingMemberInfo needs constructor.
* All need verification of hashcodes.

svn path=/trunk/mcs/; revision=4994
2002-05-28 19:20:26 +00:00
Rodrigo Moya 3b7256d489 2002-05-27 Rodrigo Moya <[email protected]>
Started System.Data.OleDb provider, based on libgda.

svn path=/trunk/mcs/; revision=4993
2002-05-28 19:13:30 +00:00
Rodrigo Moya e0dec94406 2002-05-28 Rodrigo Moya <[email protected]>
* System.Data.build: exclude System.Data.OleDb files.

svn path=/trunk/mcs/; revision=4992
2002-05-28 19:12:41 +00:00
Lawrence Pit 1cd6571dc2 * DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
passing typeof this class as arg in property Suite.

svn path=/trunk/mcs/; revision=4991
2002-05-28 19:04:23 +00:00
Lawrence Pit ff8a89dcca * MonoHttpDate.cs: added
* HttpWebRequest.cs: using MonoHttpDate
	* HttpWebResponse.cs: using MonoHttpDate
	* DnsPermission.cs: correct XML output
	* SocketPermission.cs: correct XML output

svn path=/trunk/mcs/; revision=4990
2002-05-28 18:36:53 +00:00
Dietmar Maurer 1429163389 2002-05-28 Dietmar Maurer <[email protected]>
* x86.brg: impl. CKFINITE

svn path=/trunk/mono/; revision=4988
2002-05-28 12:23:00 +00:00
Paolo Molaro e88df4658a Tue May 28 16:10:49 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fixed SIZEOF to work with typedef/typeref.

svn path=/trunk/mono/; revision=4987
2002-05-28 10:24:55 +00:00
Paolo Molaro f60252470d Updates and a test for structs with the .pack directive.
svn path=/trunk/mono/; revision=4986
2002-05-28 10:23:29 +00:00
Paolo Molaro e30bcd40f0 Tue May 28 16:02:29 CEST 2002 Paolo Molaro <[email protected]>
* class.c: handle .pack directive.

svn path=/trunk/mono/; revision=4985
2002-05-28 10:16:33 +00:00
Dietmar Maurer b07fa5d649 added new test from Sergey
svn path=/trunk/mono/; revision=4984
2002-05-28 10:15:28 +00:00
Daniel Morgan 186196f4ff 2002-05-28 Daniel Morgan <[email protected]>
* Mono.Data.MySql
	* Mono.Data.MySql/Mono.Data.MySql: add directories
	for the Mono.Data.MySql assembly and namespace.  This
	will contain the MySql .NET Data Provider which will use
	C# bindings to libMySQL

	* Mono.Data.MySql/Test.cs: added file to
	test the C# bindings to MySQL

	* Mono.Data.MySql/MySql.cs
	* Mono.Data.MySql/Field.cs: added files
	for the beginnings of C# bindings to MySQL

	* Mono.Data.MySql/makefile: added file
	to build the MySQL C# bindings on csc/Microsoft.NET

	These C# bindings to the MySQL libMySQL.dll were created by
	Brad Merrill <[email protected]>
	and can be downloaded from
	http://www.cybercom.net/~zbrad/DotNet/MySql/
	and put into the Mono Class Library under the X11/MIT License
	with Brad Merril's permission.

svn path=/trunk/mcs/; revision=4983
2002-05-28 10:07:13 +00:00
Dietmar Maurer 9d3b764c69 2002-05-28 Dietmar Maurer <[email protected]>
* metadata.c (mono_metadata_parse_signature): impl.

	* jit.c (mono_analyze_stack): impl. CEE_CALLI

svn path=/trunk/mono/; revision=4982
2002-05-28 08:54:55 +00:00
Daniel Stodden b939abff48 made Version return an empty version for now.
users should not have to expect a nullref.

svn path=/trunk/mcs/; revision=4981
2002-05-28 07:05:14 +00:00
Daniel Stodden 1b4e294c54 big patch:
- System.CodeDom: lotsa corrections
	- System.CodeDom.Compiler: CodeGenerator about 80% complete
	- Microsoft.CSharp: CSharpCodegenerator intro

svn path=/trunk/mcs/; revision=4980
2002-05-28 06:59:57 +00:00
Dietmar Maurer 34dff677c3 2002-05-28 Dietmar Maurer <[email protected]>
* x86.brg (JMP): impl. JMP opcode

svn path=/trunk/mono/; revision=4979
2002-05-28 06:17:18 +00:00
Paolo Molaro 9472af00ed Tue May 28 11:04:46 CEST 2002 Paolo Molaro <[email protected]>
* object.c: initialize static fields with RVA data.

svn path=/trunk/mono/; revision=4978
2002-05-28 05:18:41 +00:00
Miguel de Icaza bc084bd564 new items; Updated the FAQ to reflect reality; Fixes to the Mono-RSS program
svn path=/trunk/mono/; revision=4977
2002-05-27 23:00:15 +00:00
Daniel Stodden 3e7a1b19fd added top_srcdir to includes.
fixes vpath-builds wrt inclusion of mono/os/util.h

svn path=/trunk/mono/; revision=4976
2002-05-27 22:56:20 +00:00
Miguel de Icaza 49d1b04fb9 Updated copyright headers to the standard template
svn path=/trunk/mono/; revision=4975
2002-05-27 22:56:15 +00:00
Jonathan Pryor d3e0f61969 Moved public API documentation from the source files into the
/mcs/docs/apidocs/xml/en/System.Diagnostics/<class>.xml files.

svn path=/trunk/mcs/; revision=4974
2002-05-27 22:00:30 +00:00
Jonathan Pryor 1aa11c252d Moved public API documentation from source code into the appropriate XML
files.

svn path=/trunk/mcs/; revision=4973
2002-05-27 21:57:03 +00:00
Jason Diamond a71db778e8 When will I ever remember to add my new files before committing?
svn path=/trunk/mcs/; revision=4972
2002-05-27 19:18:16 +00:00
Jason Diamond 4d82c52aeb In System.Xml:
* XmlDocumentNavigator.cs: Added file to directory.

* XmlNode.cs (CreateNavigator): Implemented.
(InnerText): Implemented.

* XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
throwing exception.
(Load(XmlReader)): Allow for namespace qualified attributes.

* XmlElement.cs: Implemented GetAttribute(string, string) and both
GetAttributeNode overloads.
(SetAttributeNode(XmlAttribute)): Implemented.

* XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
and RemoveNamedItem(string, string).

* XmlLinkedNode.cs (PreviousSibling): Implemented.

* XmlTextReader.cs: Added code to maintain the order of attributes as
they're parsed. XML doesn't require this but Microsoft's parser does it and
matching them makes testing easier so now we have it, too.

In Test:

* XPathNavigatorTests.cs: Added file to directory.

* AllTests.cs: Added XPathNavigatorTests to suite.

* XmlTextReaderTests.cs: Added test to make sure attributes are ordered
like Microsoft's parser does it.

svn path=/trunk/mcs/; revision=4971
2002-05-27 19:17:13 +00:00
Lawrence Pit 3c712f2b0c * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
* Uri.cs: Fixed bug in internal method GetSchemeDelimiter

svn path=/trunk/mcs/; revision=4970
2002-05-27 18:40:54 +00:00
Johannes Roith 4aff5abc74 add something after windows link
svn path=/trunk/mono/; revision=4969
2002-05-27 17:08:36 +00:00
Johannes Roith d521732b6d add some windows bits to faq.
svn path=/trunk/mono/; revision=4968
2002-05-27 17:06:57 +00:00
Miguel de Icaza 95b2a7b6df 2002-05-27 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.Emit): Only emit calls to
	System.Diagnostics.Debug and System.Diagnostics.Trace if the
	TRACE and DEBUG defines are passed on the command line.

	* rootcontext.cs: Global settings for tracing and debugging.

	* cs-tokenizer.cs (define): New utility function to track
	defines.   Set the global settings for TRACE and DEBUG if found.

svn path=/trunk/mcs/; revision=4966
2002-05-27 15:24:27 +00:00
Miguel de Icaza 4b4535883d Update web page
svn path=/trunk/mono/; revision=4965
2002-05-27 15:21:24 +00:00
Dietmar Maurer fdeeca53db 2002-05-27 Dietmar Maurer <[email protected]>
* jit.c (mono_cfg_new): reserve additional space to store ESP when
	calling finally handlers.

	* exception.c (arch_get_call_finally): save ESP before calling
	finally handler.

svn path=/trunk/mono/; revision=4964
2002-05-27 13:05:10 +00:00
Nick Drochak 08303b8289 2002-05-27 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestLastIndexOf): Add try-catch block to report
	where we are throwing.

svn path=/trunk/mcs/; revision=4963
2002-05-27 10:59:00 +00:00
Nick Drochak a51b230eb9 2002-05-27 Nick Drochak <[email protected]>
* ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
	fix check of parameters sent to make sure we don't search beyond the
	beginning of the list.
	(ListWrapper): Throw exception if called with null.
	We now pass all unit tests.

svn path=/trunk/mcs/; revision=4962
2002-05-27 10:56:56 +00:00
Daniel Morgan 51b401fe0f 2002-05-27 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: typo
	should be CommandBehavior.KeyInfo

	* Test/SqlSharpCli.cs: refactored and added a few more
	features.

svn path=/trunk/mcs/; revision=4961
2002-05-27 10:00:28 +00:00
Dietmar Maurer f324a9ffad 2002-05-27 Dietmar Maurer <[email protected]>
* helpers.c (map_arg_type): move some generic helper function into
	this file.

	* mono.c (usage): new option --breakonex

	* exception.c (arch_exc_is_caught): only return FALSE if really
	unhandled.

	* jit.c (mono_thread_abort): free jit_tls

svn path=/trunk/mono/; revision=4960
2002-05-27 06:33:10 +00:00
Rafael Teixeira 8834e705e7 just an small icon
svn path=/trunk/mcs/; revision=4959
2002-05-27 01:45:07 +00:00
Rafael Teixeira f7b7ca4112 Merged latest mcs files
svn path=/trunk/mcs/; revision=4958
2002-05-27 01:40:40 +00:00
Miguel de Icaza 853a5d5181 Few updates
svn path=/trunk/mono/; revision=4957
2002-05-26 23:25:58 +00:00
Tim Coleman 5b765afd1c 2002-05-27 Tim Coleman <[email protected]>
* list: update to compile properly (add missing
        files and switch path delimiter from '\' to '/').

svn path=/trunk/mcs/; revision=4956
2002-05-26 23:14:10 +00:00
Tim Coleman c409e38390 2002-05-27 Tim Coleman <[email protected]>
* TestSqlDataAdapter.cs: remove explicit opening of connection.
        This should occur implicitly now.

svn path=/trunk/mcs/; revision=4955
2002-05-26 23:08:20 +00:00
Miguel de Icaza 40f6f5043d Add new files to maintain the RSS feed
svn path=/trunk/mono/; revision=4954
2002-05-26 23:00:19 +00:00
Miguel de Icaza 96676faf85 update fixes
svn path=/trunk/mono/; revision=4953
2002-05-26 22:43:31 +00:00
Ravi Pratap M fbec56d59e Fix up makefile to exclude test-124 as it requires a -r System.Drawing to work correctly
svn path=/trunk/mcs/; revision=4952
2002-05-26 18:28:33 +00:00
Ravi Pratap M d61f34267b Remove conflict marker
svn path=/trunk/mcs/; revision=4951
2002-05-26 18:21:36 +00:00
Ravi Pratap M aeb5452455 2002-05-25 Ravi Pratap <[email protected]>
* interface.cs (Populate*): Pass in the TypeContainer as well as
	the DeclSpace as parameters so that we can create EmitContexts and
	then use that to apply attributes etc.

	(PopulateMethod, PopulateEvent, PopulateProperty)
	(PopulateIndexer): Apply attributes everywhere.

	* attribute.cs (CheckAttribute): Include InterfaceMethod, InterfaceEvent
	etc.

	(ApplyAttributes): Update accordingly.

	We now apply interface attributes for all members too.

svn path=/trunk/mcs/; revision=4950
2002-05-26 18:20:25 +00:00
Ravi Pratap M 077ec2f92d Flush changes
svn path=/trunk/mcs/; revision=4949
2002-05-26 18:19:34 +00:00
Daniel Morgan 0653fa94c0 2002-05-26 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs
	* System.Data.Common/DbDataAdapter.cs: fix to
	get Test/TestSqlDataAdapter.cs to work again

	* Test/TestSqlDataAdapter.cs: removed comment
	about SqlDataReader:NextResult() not being implemented; it
	bas been implemented

svn path=/trunk/mcs/; revision=4947
2002-05-26 12:21:18 +00:00
Daniel Morgan d0f2df2b41 2002-05-26 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs: modified
	support setting of DBNull.Value
	using the Item indexer this[DataColumn]

	* System.Data.SqlClient/SqlCommand.cs: modified
	tweaks to show TODO's for other CommandBehavior.
	Set AllowDBNull column to true for IsKey row
	in schema DataTable.

	* System.Data.SqlClient/SqlConnection.cs: modified
	if transaction is in progress when a Close() is called,
	do a transaction Rollback.

svn path=/trunk/mcs/; revision=4946
2002-05-26 11:57:30 +00:00
Rafael Teixeira db695357c9 Housekeeping!!!
svn path=/trunk/mcs/; revision=4945
2002-05-26 10:29:03 +00:00
Daniel Morgan da59dd4d7f 2002-05-26 Daniel Morgan <[email protected]>
* Test/SqlSharpCli.cs: added file
	My new toy.  SQL# is a command-line tool to enter
	SQL	commands and queries using Mono System.Data.
	It also serves as a test for Mono System.Data.

	* System.Data.SqlClient/SqlCommand.cs: modified
	- ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
	should handle the results from SQL Commands and Queries.
	- Internal class SqlResult should not create schema Table
	for the result from a SQL Command.  Also, set the RecordsRetrieved
	property for SqlDataReader.
	- Closing the SqlDataReader should Close() the SqlConnection for
	a CommandBehavior.CloseConnection.
	- Set defaults for SqlResult

	* System.Data.SqlClient/SqlConnection.cs: modified -
	when SqlDataReader is Close()
	should Close() the SqlConnection for
	a CommandBehavior.CloseConnection.  Changed internal Property
	from OpenReader get/set to IsReaderOpen get and created
	internal methods OpenReader()/CloseReader() for SqlCommand to call.
	SqlConnection needs to be prevented from doing while SqlDataReader
	is being used.

	* System.Data.SqlClient/SqlDataReader.cs: modified -
	call SqlCommand's OpenReader() internal method.  get
	RecordsRetrieved from SqlResult.  set/reset default
	values for SqlDataReader.

	* Test/PostgresTest.cs
	* Test/TestExecuteScalar.cs
	* Test/TestSqlDataReader.cs: modified
	for the Execute...() methods in SqlCommand
	to test SQL Queries and Commands

	* Test/System.Data_test.build: modified
	exclude new file Test/SqlSharpCli.cs from
	test build

svn path=/trunk/mcs/; revision=4944
2002-05-26 07:26:52 +00:00
Miguel de Icaza 5a8fa59a54 Updated list
svn path=/trunk/mcs/; revision=4943
2002-05-26 03:01:24 +00:00
Miguel de Icaza 9e1a32a8ff Add small stub to allow for the assembly to compile
svn path=/trunk/mcs/; revision=4942
2002-05-26 03:01:15 +00:00
Miguel de Icaza d2ce94f075 Major fixes. We can now compile the System.Web assembly with MCS!
Wooooohooo!

2002-05-26  Miguel de Icaza  <[email protected]>

	* class.cs (Indexer.Define); Correctly check if we are explicit
	implementation (instead of checking the Name for a ".", we
	directly look up if the InterfaceType was specified).

	Delay the creation of the PropertyBuilder.

	Only create the PropertyBuilder if we are not an explicit
	interface implementation.   This means that explicit interface
	implementation members do not participate in regular function
	lookups, and hence fixes another major ambiguity problem in
	overload resolution (that was the visible effect).

	(DefineMethod): Return whether we are doing an interface
	implementation.

svn path=/trunk/mcs/; revision=4941
2002-05-26 02:57:16 +00:00
Miguel de Icaza 6640d43fcc 2002-05-26 Miguel de Icaza <[email protected]>
* typemanager.cs: Temporary hack until we get attributes in
	interfaces (Ravi is working on that) and we get IndexerName
	support in interfaces.

	* interface.cs: Register the indexers as properties.

svn path=/trunk/mcs/; revision=4940
2002-05-26 02:15:52 +00:00
Miguel de Icaza e4a0c81e0a Document error
svn path=/trunk/mcs/; revision=4939
2002-05-26 01:48:01 +00:00
Miguel de Icaza 1e8cb3adb0 2002-05-26 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Catch the error, and emit a
	warning, I have verified that this is a bug in the .NET runtime
	(JavaScript suffers of the same problem).

svn path=/trunk/mcs/; revision=4938
2002-05-26 01:47:55 +00:00
Miguel de Icaza ec22163684 2002-05-26 Miguel de Icaza <[email protected]>
* typemanager.cs (MemberLookup): When looking up members for
	interfaces, the parent of an interface is the implicit
	System.Object (so we succeed in searches of Object methods in an
	interface method invocation.  Example:  IEnumerable x;  x.ToString
	())

svn path=/trunk/mcs/; revision=4937
2002-05-26 00:55:25 +00:00
Miguel de Icaza d4c48e6e62 Add new test
svn path=/trunk/mcs/; revision=4936
2002-05-26 00:47:45 +00:00
Miguel de Icaza aaa4e5c7c4 2002-05-26 Miguel de Icaza <[email protected]>
* XmlDocument.cs: Implement the Save methods.

svn path=/trunk/mcs/; revision=4935
2002-05-26 00:40:13 +00:00
Miguel de Icaza 4b3f9ddba3 Added list for MCS debugging purposes
svn path=/trunk/mcs/; revision=4934
2002-05-25 18:30:51 +00:00
Miguel de Icaza 7f9bd2b60e 2002-05-25 Miguel de Icaza <[email protected]>
* class.cs (Event): Events should also register if they do
	implement the methods that an interface requires.

svn path=/trunk/mcs/; revision=4933
2002-05-25 18:29:58 +00:00
Miguel de Icaza 9bdc624804 2002-05-25 Miguel de Icaza <[email protected]>
* typemanager.cs (MemberLookup); use the new GetInterfaces
	method.

	(GetInterfaces): The code used to lookup interfaces for a type is
	used in more than one place, factor it here.

svn path=/trunk/mcs/; revision=4932
2002-05-25 18:23:06 +00:00
Miguel de Icaza 4b646f253a 2002-05-25 Miguel de Icaza <[email protected]>
* driver.cs: Track the errors at the bottom of the file, we kept
	on going.

svn path=/trunk/mcs/; revision=4931
2002-05-25 17:07:20 +00:00
Miguel de Icaza 70229a5792 2002-05-25 Miguel de Icaza <[email protected]>
* delegate.cs (NewDelegate.Emit): We have to emit a null as the
	instance if the method we are calling is static!

svn path=/trunk/mcs/; revision=4930
2002-05-25 16:59:17 +00:00
Miguel de Icaza 741c0087f4 2002-05-24 Miguel de Icaza <[email protected]>
* attribute.cs (ApplyAttributes): Make this function filter out
	the IndexerName attribute (as that attribute in reality is never
	applied) and return the string constant for the IndexerName

svn path=/trunk/mcs/; revision=4927
2002-05-25 00:49:17 +00:00
Ajay kumar Dwivedi ac520c1140 2002-05-25 Dwivedi, Ajay kumar <[email protected]>
* BUGS.txt: New file to keep track of bugs

	* ALL: All classes are initialized exactly as in .NET except
	       1. inclusion of language attribute in schema
	       2. ComplexContent's Particle is initialized to null whereas .NET
	          to some internal implementation. IMO Null is more appropriate

	* ALL: Changed the Compile methods to return the count of errors.

	* ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
	       This number should shoot up if we write a parser to read the
	       Schema instead of using reflection (which is slower too)

svn path=/trunk/mcs/; revision=4926
2002-05-25 00:02:55 +00:00
Martin Baulig 99692418f9 2002-05-25 Martin Baulig <[email protected]>
* debug-symfile.c
	(ves_icall_Debugger_DwarfFileWriter_get_type_token): Removed.

svn path=/trunk/mono/; revision=4925
2002-05-24 21:59:22 +00:00
Martin Baulig 84e9ca40ab 2002-05-25 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeToken): Implemented.

svn path=/trunk/mcs/; revision=4924
2002-05-24 21:58:11 +00:00
Martin Baulig a9de7ce317 2002-05-25 Martin Baulig <[email protected]>
* DwarfFileWriter.cs: Finished the type rewrite, put back strings and arrays.

svn path=/trunk/mcs/; revision=4923
2002-05-24 21:55:00 +00:00
Miguel de Icaza accf672c09 New error test
svn path=/trunk/mcs/; revision=4922
2002-05-24 21:43:18 +00:00
Miguel de Icaza 909588ec48 Lots of work to compiler System.Xml; A lot of bugs uncovered in IndexerName
handling.  Now we should support it (modulo interfaces, which are being
worked on now by Ravi).

2002-05-24  Miguel de Icaza  <[email protected]>

	* attribute.cs (ApplyAttributes): Make this function filter out
	the IndexerName attribute (as that attribute in reality is never
	applied) and return the string constant for the IndexerName
	attribute.

	* class.cs (TypeContainer.Emit): Validate that all the indexers
	have the same IndexerName attribute, and if so, set the
	DefaultName attribute on the class.

	* typemanager.cs: The return value might contain other stuff (not
	only methods).  For instance, consider a method with an "Item"
	property and an Item method.

	* class.cs: If there is a problem with the parameter types,
	return.

svn path=/trunk/mcs/; revision=4921
2002-05-24 21:43:01 +00:00
Miguel de Icaza 068059daf8 Improve test
svn path=/trunk/mcs/; revision=4918
2002-05-24 20:55:29 +00:00
Duncan Mak dd23d136e9 2002-05-24 Duncan Mak <[email protected]>
* DataGridItem.cs (SetItemType): Changed function signature to
	match 1.0 spec.

svn path=/trunk/mcs/; revision=4916
2002-05-24 20:34:04 +00:00
Duncan Mak 727a100466 2002-05-24 Duncan Mak <[email protected]>
* ListItemCollection.cs (this): Changes the visibility level of
	the indexer.

	* TemplateControl.cs (SetStringResourcePointer): Fixed typo.

svn path=/trunk/mcs/; revision=4915
2002-05-24 20:27:24 +00:00
Duncan Mak 1c3bd71d78 2002-05-24 Duncan Mak <[email protected]>
* Repeater.cs (OnItemCommand):
	(OnItemCreated):
	(OnItemDataBound): Added necessary casts.

	* StateBag.cs (Item): Changed the visibility level of the this
	[object] indexer.

svn path=/trunk/mcs/; revision=4914
2002-05-24 19:46:06 +00:00
Ravi Pratap M 5326c2952f 2002-05-24 Ravi Pratap <[email protected]>
* test-124.cs, test-125.cs : Add.

	* makefile : update.

svn path=/trunk/mcs/; revision=4913
2002-05-24 19:29:33 +00:00
Ravi Pratap M 596c4a8b00 2002-05-24 Ravi Pratap <[email protected]>
* ecore.cs (ImplicitConversionExists): Wrapper function which also
	looks at user defined conversion after making a call to
	StandardConversionExists - we need this for overload resolution.

	* expression.cs : Update accordingly the various method calls.

	This fixes 2 bugs filed against implicit user defined conversions

svn path=/trunk/mcs/; revision=4912
2002-05-24 19:17:52 +00:00
Ravi Pratap M e5a516e7b4 Update makefile
svn path=/trunk/mcs/; revision=4911
2002-05-24 19:16:43 +00:00
Ravi Pratap M 8d39d0829f Add.
svn path=/trunk/mcs/; revision=4910
2002-05-24 19:15:44 +00:00
Duncan Mak dec1cff0e6 2002-05-24 Duncan Mak <[email protected]>
* DataBinder.cs (Eval)
	(GetIndexedPropertyValue)
	(GetPropertyValue): Fixed return types.

svn path=/trunk/mcs/; revision=4909
2002-05-24 18:28:50 +00:00
Tim Coleman df2142c86f 2002-05-24 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
        for get accessors.  These should be implemented in derived classes.  See
        SqlDataAdapter for clues.
        * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
        * System.Data.Common/DataAdapter.cs:
        * System.Data.Common/DataTableMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataColumnMapping.cs:
        Properly (I hope!) implement all of the appropriate interfaces
        for these classes.

svn path=/trunk/mcs/; revision=4908
2002-05-24 17:42:12 +00:00
Miguel de Icaza 58f4951fba Add new files
svn path=/trunk/mcs/; revision=4907
2002-05-24 16:29:58 +00:00
Miguel de Icaza 929d1b8cef Get this bad boy to compile standalone
svn path=/trunk/mcs/; revision=4906
2002-05-24 16:29:31 +00:00
Martin Baulig 31fb70a871 2002-05-24 Martin Baulig <[email protected]>
* debug-symfile.c
	(ves_icall_Debugger_MonoSymbolWriter_get_local_type_from_sig): Removed.
	(ves_icall_Debugger_MonoSymbolWriter_method_from_token): Renamed to
	`ves_icall_Debugger_MonoSymbolWriter_method_builder_from_token'.

svn path=/trunk/mono/; revision=4903
2002-05-24 13:23:55 +00:00
Martin Baulig eadbbf3bf0 2002-05-24 Martin Baulig <[email protected]>
* ModuleBuilder.cs (symwriter_define_local): New private variable.
	(GetSymbolWriter): Look for a custom version of "DefineLocalVariable"
	and store it in `symwriter_define_local'.
	(SymWriter_DefineLocalVariable): New internal method to call the
	symbol writer's custom DefineLocalVariable() method.  It is safe to
	call this method if there's no symbol writer.

	* LocalBuilder.cs (SetLocalSymInfo): Use the MethodBuilder'snew
	SymWriter_DefineLocalVariable().

	* MethodBuilder.cs (GetParameters): Implemented.

svn path=/trunk/mcs/; revision=4902
2002-05-24 13:20:52 +00:00
Martin Baulig 86de22cd79 2002-05-24 Martin Baulig <[email protected]>
* ParameterInfo.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=4901
2002-05-24 13:15:48 +00:00
Martin Baulig ac52705ab6 2002-05-24 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceMethod): Added `FullName' and `Parameters'.
	(ITypeHandle): New interface.

	* DwarfFileWriter.cs: Largely reorganized the type writing code.  Types are
	now represented by ITypeHandle objects which are stored in a per-dwarf-writer
	hash table.  At the moment, all types still need to be in one compile unit due
	to lacking support in gdb - but this new type code here already supports this.

	* MonoSymbolWriter.cs: Moved all the subclasses to the top-level and made them
	public, cleaned up the code, put everything into one compile unit.
	(DefineLocalVariable): Added a version of this function which takes useful args.

svn path=/trunk/mcs/; revision=4900
2002-05-24 13:14:31 +00:00
Dietmar Maurer 7c7faa2e60 2002-05-24 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): moved const. folding from x86.brg

svn path=/trunk/mono/; revision=4899
2002-05-24 10:18:16 +00:00
Paolo Molaro 18f770063a Fri May 24 15:33:50 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: added partial async delegate and remoting support.

svn path=/trunk/mono/; revision=4898
2002-05-24 09:47:13 +00:00
Dietmar Maurer 43436c7118 fixed typo pointed out by Richard Torkar
svn path=/trunk/mono/; revision=4897
2002-05-24 07:20:02 +00:00
Dietmar Maurer ef61afecf7 2002-05-24 Dietmar Maurer <[email protected]>
* x86.brg: CPBLK impl.

	* emit-x86.c (tree_emit): modified to support 3 nonterminals per
	rule (used for CPBLK).

svn path=/trunk/mono/; revision=4896
2002-05-24 07:05:59 +00:00
Tim Coleman 31df872b2e 2002-05-23 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: include
        the BaseColumnName in the schema table.  Was missed before.
        * System.Data.Common/DbDataAdapter.cs: Use DataTable
        mappings so that the DataSet and DataTable are more closely tied.
        Get schema information from the DataTable using GetSchemaTable ()
        Various other little fixes
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataTableMappingCollection.cs: Some
        implementation, enough to be used by DbDataAdapter.

svn path=/trunk/mcs/; revision=4891
2002-05-23 21:04:04 +00:00
Duncan Mak 73056e4ddd 2002-05-23 Duncan Mak <[email protected]>
* ArrayList.cs (Wrapper): Preliminary implementation of
	ArrayList.Wrapper (IList).

svn path=/trunk/mcs/; revision=4890
2002-05-23 20:22:24 +00:00
Daniel Morgan 1ac42ec6b1 2002-05-23 Daniel Morgan <[email protected]>
* TestSqlParameters.cs: read and display the schema columns
	correctly

svn path=/trunk/mcs/; revision=4889
2002-05-23 17:21:03 +00:00
Paolo Molaro 32db0b439d Some small updates and a new test for CreateInstance().
svn path=/trunk/mono/; revision=4886
2002-05-23 13:03:04 +00:00
Paolo Molaro 540b477b3a Thu May 23 18:43:07 CEST 2002 Paolo Molaro <[email protected]>
* mono.c: remove generated code from hash when benchmarking/testing
	method compilation.
	* invoke.cs: special case string ctors.

svn path=/trunk/mono/; revision=4885
2002-05-23 13:01:32 +00:00
Paolo Molaro c2d4b948b1 Thu May 23 18:45:38 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: special case string ctors in invoke.
	Handle null object in throw. Misc integer type mismatch fixes.

svn path=/trunk/mono/; revision=4884
2002-05-23 13:00:46 +00:00
Paolo Molaro 114e35ec25 Thu May 23 18:44:37 CEST 2002 Paolo Molaro <[email protected]>
* object.c: special case string ctros in invoke.
	* gc.c: silly whitespace changes.

svn path=/trunk/mono/; revision=4883
2002-05-23 13:00:19 +00:00
Dietmar Maurer 747b710cff 2002-05-23 Dietmar Maurer <[email protected]>
* *.c: code cleanups - tried to separate architecture dependent things.

svn path=/trunk/mono/; revision=4882
2002-05-23 11:52:23 +00:00
Paolo Molaro 9bb0277ad8 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implemented CreateInstance ().

svn path=/trunk/mcs/; revision=4881
2002-05-23 11:32:05 +00:00
Paolo Molaro 61a7a7d984 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <[email protected]>
* Activator.cs: implemented CreateInstance ().

svn path=/trunk/mcs/; revision=4880
2002-05-23 11:31:05 +00:00
Martin Baulig 1fe0c746f5 Commented out debugging message.
svn path=/trunk/mono/; revision=4879
2002-05-23 08:53:26 +00:00
Dietmar Maurer 037b1efe1a code cleanups
svn path=/trunk/mono/; revision=4878
2002-05-23 08:52:44 +00:00
Martin Baulig f29b752a58 2002-05-23 Martin Baulig <[email protected]>
* debug.c (mono_debug_open): Don't call mono_debug_add_image().
	(mono_debug_write_symbols): Only recreate the symbol file if
	necessary.

	* debug-private.h (MonoDebugHandle): Added `dirty' flag.

	* mono.c (main): Call mono_debug_add_image() here.

	* jit.c (mono_thread_abort): If we have debugging support, call
	mono_debug_make_symbols() and G_BREAKPOINT().

svn path=/trunk/mono/; revision=4877
2002-05-23 08:52:06 +00:00
Martin Baulig 8d1c1c43e1 2002-05-23 Martin Baulig <[email protected]>
* exception.c (arch_handle_exception): Don't G_BREAKPOINT() if we get
	an unhandled exception.

	* jit.c (mono_thread_abort): G_BREAKPOINT() immediately before the
	ExitThread().

svn path=/trunk/mono/; revision=4876
2002-05-23 08:33:09 +00:00
Dietmar Maurer 72276abcdc 2002-05-23 Dietmar Maurer <[email protected]>
* delegate.c: move the thread pool to metadata/threadpool.c, code
	cleanup.

	* threadpool.[ch]: impl. a threadpool that can
	be used by mint and mono.

svn path=/trunk/mono/; revision=4875
2002-05-23 07:44:00 +00:00
Johannes Roith ee9d976c3a make path handling better for windows
svn path=/trunk/mono/; revision=4874
2002-05-23 06:48:23 +00:00
Daniel Morgan e4d7494b38 2002-05-23 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: set
	the "ProviderType" to the PostgreSQL type oid

	* System.Data.SqlClient/SqlDataReader.cs: fix
	for various properties and methods that
	return meta data: Item indexers this[name] and this[index],
	GetFieldType, GetName, and GetOrdinal.  SqlDataAdapter
	should work again.

svn path=/trunk/mcs/; revision=4873
2002-05-23 00:28:02 +00:00
Duncan Mak 8a9843105f 2002-05-22 Duncan Mak <[email protected]>
* Convert.cs (ConvertFromBase): Added additional test for
	checking if the digits are valid. Thanks to Miguel for coming
	up with this test.

	This fixes bug 25071.

svn path=/trunk/mcs/; revision=4872
2002-05-23 00:12:56 +00:00
Duncan Mak 9778d776ac 2002-05-22 Duncan Mak <[email protected]>
* Convert.cs (ConvertToBase): Add new 64bit version.
	(BuildConvertedString64): New 64bit version of
	BuildConvertedString.

	This fixes bug 25068.

svn path=/trunk/mcs/; revision=4870
2002-05-22 22:29:26 +00:00
Duncan Mak 0fb1f8332a 2002-05-21 Duncan Mak <[email protected]>
* Convert.cs (ToType): Rearranged to fit the new layout of
	conversionTable.

	(conversionTable): Rearranged to fit the layout of the
	System.TypeCode enum.

	This should fix bug 25075.

svn path=/trunk/mcs/; revision=4867
2002-05-22 19:59:35 +00:00
Miguel de Icaza 024c15cf8a 2002-05-22 Miguel de Icaza <[email protected]>
* statement.cs: Track the result of the assignment.

svn path=/trunk/mcs/; revision=4865
2002-05-22 19:33:52 +00:00
Lawrence Pit 22a9393416 * Uri.cs: implemented MakeRelative, improved GetLeftPart
* UriBuilder.cs: removed Serializable attribute
	* UriHostNameType.cs: added Basic

svn path=/trunk/mcs/; revision=4864
2002-05-22 18:57:49 +00:00
Daniel Morgan 133032ff33 2002-05-22 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs: change suggested
	by tim: in Item indexer, do an EndEdit()

	* System.Data.SqlClient/SqlCommand.cs: more
	fixes to SqlResult.  After setting each item in
	the DataRow, do an AcceptChanges() to commit
	the changes in the DataRow.  For DataType, use a Type
	of System.String since System.Type nor System.Object
	seems to work.

	* Test/TestSqlDataReader.cs
	* Test/PostgresTest.cs: updated to to be on
	the way schema table is suppose to work

svn path=/trunk/mcs/; revision=4863
2002-05-22 17:59:12 +00:00
Martin Baulig b0619088e7 Reflected latest symbol writer changes.
svn path=/trunk/mono/; revision=4862
2002-05-22 17:09:21 +00:00
Martin Baulig 45440da2b8 2002-05-22 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (IMonoSymbolWriter): Added `Sources' and `Methods'
	properties.

	* MonoDwarfFileWriter.cs (WriteSymbolTable): New public method.  Moved the
	code that writes the "mono_line_numbers" section here from the LineNumberEngine.

svn path=/trunk/mcs/; revision=4861
2002-05-22 17:07:10 +00:00
Martin Baulig 33d8672ec1 2002-05-22 Martin Baulig <[email protected]>
* reflection.h (MonoArrayList): New typedef.
	(MonoReflectionAssemblyBuilder): Added `table_indexes' and `methods'.

	* debug-symfile.c (ves_icall_Debugger_MonoSymbolWriter_method_from_token):
	The first argument is now a `MonoReflectionModuleBuilder *', the return
	value is a `MonoReflectionModuleBuilder *'.  Use the AssemblyBuilder's
	`methods' field to get the method builder.  The `token' argument is the
	unfixed token.

	* unicode.c (iconv_get_length, iconv_convert): Silently ignore all
	invalid characters instead of g_assert_not_reached()ing.  This seems
	to be the behaviour of mscorlib.

svn path=/trunk/mono/; revision=4860
2002-05-22 16:28:18 +00:00
Martin Baulig 63214ac593 2002-05-22 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (IVariable): Replaced Token with `ISourceMethod Method'.

	* MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now has an additional
	ModuleBuilder argument.
	(OpenMethod): Immediately call the `get_method' interncall to get the MethodBase
	from the token, then store the MethodBase instead of the token.  The token may
	still change during the metadata library's fixup process.
	(DoFixups): When the image has been written to disk, call the GetToken () method
	on all MethodBuilders and all ConstructorBuilders to get the final metadata tokens.

svn path=/trunk/mcs/; revision=4859
2002-05-22 16:22:43 +00:00
Martin Baulig 3b2a080199 2002-05-22 Martin Baulig <[email protected]>
* ModuleBuilder.cs (GetSymbolWriter): Pass the this pointer to the
	symbol writer's constructor.

svn path=/trunk/mcs/; revision=4858
2002-05-22 16:17:11 +00:00
Martin Baulig 9170ad3e11 2002-05-22 Martin Baulig <[email protected]>
* MethodBase.cs (get_next_table_index): Added `object obj' argument.

svn path=/trunk/mcs/; revision=4857
2002-05-22 16:12:39 +00:00
Martin Baulig 3639a53bf3 2002-05-22 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (methods): New field.
	(get_next_table_index): Record all methods and constructors
	(table 0x06) in the `methods' array.  This is read by the
	Mono.CSharp.Debugger.MonoSymbolWriter::get_method interncall to
	get the MethodBuilder / ConstructorBuilder back from the token.

	* *Builder.cs (get_next_table_index): Added `object obj' argument.
	(<constructors>): pass the this pointer to get_next_table_index ().

svn path=/trunk/mcs/; revision=4856
2002-05-22 16:10:10 +00:00
Martin Baulig 6224130d0f 2002-05-22 Martin Baulig <[email protected]>
* ArrayList.cs: Made count, capacity and dataArray the first three
	fields in the class.  They're read by the reflection library.

svn path=/trunk/mcs/; revision=4855
2002-05-22 16:05:09 +00:00
Dietmar Maurer 9007b86c37 create debugging symbols
svn path=/trunk/mono/; revision=4854
2002-05-22 10:33:13 +00:00
Dietmar Maurer ccd1d4ade8 2002-05-22 Dietmar Maurer <[email protected]>
* exception.c (arch_exc_is_catched): impl. MS like exception
	handling (added a check for unhandled exceptions)

svn path=/trunk/mono/; revision=4853
2002-05-22 08:50:11 +00:00
Martin Baulig 7a5d810d75 2002-05-22 Martin Baulig <[email protected]>
* debug-dwarf2-plus.c (mono_debug_open_assembly_dwarf2_plus): Only run
	the assembler if necessary, ie. the assembler file is newer than the
	symbol file or the symbol file does not exist.

	* debug.c: Added "update_on_exit" argument to recreate the symbol file
	when the JIT exists.

svn path=/trunk/mono/; revision=4852
2002-05-22 08:23:36 +00:00
Martin Baulig 9b6181fd86 2002-05-22 Martin Baulig <[email protected]>
* AssemblerWriterI386.cs: Don't use GNU extensions and produce assembler
	output which is free of comments and extra whitespaces so that it's suitable
	for `as -f'.

svn path=/trunk/mcs/; revision=4851
2002-05-22 08:09:03 +00:00
Martin Baulig 1fe92bf868 2002-05-22 Martin Baulig <[email protected]>
* debug-dwarf2.c: Produce assembler code which is free of comments and
	extra whitespaces so that it's suitable for `as -f'.

svn path=/trunk/mono/; revision=4850
2002-05-22 07:58:04 +00:00
Martin Baulig afd91808f3 2002-05-22 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_section_end): Removed.  This is not needed
	and not supported by all assemblers.
	(dwarf2_write_2byte): Use ".word" instead of ".2byte" since ".2byte" is a
	GNU extension.

	* mono.c (--debug): Small fix in the argument parsing.

svn path=/trunk/mono/; revision=4849
2002-05-22 07:49:07 +00:00
Paolo Molaro f1e0d2e6c5 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
	Add more tests. mono_bitset_find_first (set, -1) will work correctly
	now.

svn path=/trunk/mono/; revision=4848
2002-05-22 07:00:25 +00:00
Paolo Molaro 4b21608b9d Wed May 22 12:31:40 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: fixed finally handling. In trace mode show
	exception handling operations and the contents of the stack in the same
	line as the executing instruction.

svn path=/trunk/mono/; revision=4847
2002-05-22 06:45:53 +00:00
Dietmar Maurer 3d686ea9de 2002-05-22 Dietmar Maurer <[email protected]>
* object.c (mono_runtime_invoke_array): applied patch from Rachel
	Hestilow to fix bug #25104

svn path=/trunk/mono/; revision=4846
2002-05-22 05:11:55 +00:00
Daniel Morgan be51edc929 2002-05-22 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: more work on
	building the schema table

svn path=/trunk/mcs/; revision=4845
2002-05-22 02:27:20 +00:00
Tim Coleman fa28461d2b 2002-05-22 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: preliminary work
        on getting the schema table correctly built.

svn path=/trunk/mcs/; revision=4844
2002-05-22 00:34:14 +00:00
Miguel de Icaza 77e3adb29c 2002-05-21 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess): Improved error reporting for
	inaccessible members.

svn path=/trunk/mcs/; revision=4843
2002-05-21 23:32:29 +00:00
Miguel de Icaza 23323d42b5 Add another error test case
svn path=/trunk/mcs/; revision=4842
2002-05-21 23:31:38 +00:00
Duncan Mak f49a845ad0 2002-05-21 Duncan Mak <[email protected]>
* Convert.cs (ToByte)
	(ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
	that we won't confuse FormatException with OverflowException.

svn path=/trunk/mcs/; revision=4841
2002-05-21 20:57:33 +00:00
Lawrence Pit 649fe79f27 Implemented StackTrace, returning MachineName in UserDomainName
instead of null

svn path=/trunk/mcs/; revision=4840
2002-05-21 19:27:33 +00:00
Martin Baulig 1f737df7c1 2002-05-22 Martin Baulig <[email protected]>
* makefile (mcs-mono2.exe): New target.  This is mcs compiled with
	itself with debugging support.

svn path=/trunk/mcs/; revision=4839
2002-05-21 19:03:59 +00:00
Martin Baulig 7c4c8ff3ef 2002-05-22 Martin Baulig <[email protected]>
* typemanager.cs ("System.Runtime.InteropServices.StructLayoutAttribute"):
	Removed, this isn't needed anymore.

svn path=/trunk/mcs/; revision=4838
2002-05-21 19:00:24 +00:00
Duncan Mak 47411d7dbf 2002-05-21 Duncan Mak <[email protected]>
* Convert.cs (ToString): Fixed the ToString methods. Previously I had
	mixed up the two code paths, one for converting to a specific base
	(this case), another from converting from a foreign base to base10
	(used by ToInt16|32|64 (string, int)).

svn path=/trunk/mcs/; revision=4837
2002-05-21 18:58:16 +00:00
Martin Baulig df9ed1ca50 Updated (--debug=[FORMAT]).
svn path=/trunk/mono/; revision=4836
2002-05-21 18:56:18 +00:00
Martin Baulig 07052baf8b 2002-05-22 Martin Baulig <[email protected]>
* debug.c: Added "dont_assemble" and "dont_precompile" argument for dwarf-plus.

	* mono.c: Applied patch from Miguel:
	(--debug): This is now a `--debug=[FORMAT]' argument where FORMAT defaults
	to dwarf-plus.

svn path=/trunk/mono/; revision=4835
2002-05-21 18:55:20 +00:00
Martin Baulig b2c636cb8c 2002-05-22 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceMethod): Replaced `MethodInfo MethodInfo' with
	`MethodBase MethodBase' and added `Type ReturnType'.  We're now correctly
	dealing with constructors and not crashing anymore.

svn path=/trunk/mcs/; revision=4834
2002-05-21 18:34:32 +00:00
Lawrence Pit c30b367504 * Environment.cs: CommandLine missed spaces between arguments
svn path=/trunk/mcs/; revision=4833
2002-05-21 18:30:17 +00:00
Lawrence Pit 14b8d3b786 * StreamWriter.cs: added ability to write null value
* ConsoleTest.cs: added test writing null

svn path=/trunk/mcs/; revision=4832
2002-05-21 18:17:22 +00:00
Miguel de Icaza 6681194ab2 2002-05-21 Miguel de Icaza <[email protected]>
* HtmlTextWriter.cs: Use this to change the member instances.

svn path=/trunk/mcs/; revision=4831
2002-05-21 16:45:48 +00:00
Martin Baulig 99a15c5ee5 2002-05-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): Added support for the
	dwarf2-plus format.

svn path=/trunk/mono/; revision=4830
2002-05-21 16:10:10 +00:00
Martin Baulig 4e3d014ba6 2002-05-21 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_find_source_location): New function.
	Looks up an IL offset in the line number table and returns the source
	location as a string.

svn path=/trunk/mono/; revision=4829
2002-05-21 16:07:51 +00:00
Martin Baulig 01003e2ae5 2002-05-21 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Write a special line number table which can be read
	in by the metadata library to get line number information in backtraces.

svn path=/trunk/mcs/; revision=4828
2002-05-21 16:04:49 +00:00
Lawrence Pit 7ba9248113 * WebProxy.cs: more rigorous testing, fixed bug + had to change
internal representation of bypasslist to ArrayList, different
        implementation of checking regex's.

svn path=/trunk/mcs/; revision=4827
2002-05-21 15:56:21 +00:00
Lawrence Pit fd0e3ec62b * ArrayList.cs: Fixed bug where a capacity of 0 could be reached,
thereby causing problems when trying to add elements.

svn path=/trunk/mcs/; revision=4826
2002-05-21 14:35:07 +00:00
Dietmar Maurer ac44756289 2002-05-21 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): LDARG uses 16bit argument (fix bug
	#25058)

svn path=/trunk/mono/; revision=4825
2002-05-21 12:39:30 +00:00
Martin Baulig ce0f001d8e 2002-05-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_source_location_from_address): New function.
	(mono_debug_il_offset_from_address): New function.

	* exception.c (arch_handle_exception): If we have debugging support, include
	information about the source location and IL offset in the stack trace.

svn path=/trunk/mono/; revision=4824
2002-05-21 11:52:37 +00:00
Paolo Molaro 949331335f Tue May 21 17:25:49 CEST 2002 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: handle inherit argument.

svn path=/trunk/mcs/; revision=4823
2002-05-21 11:39:20 +00:00
Nick Drochak 7f1ba5396a 2002-05-22 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Fix path name to resource files (again).

svn path=/trunk/mcs/; revision=4822
2002-05-21 11:30:08 +00:00
Nick Drochak d5ca292c96 Moved files to Test/resources
svn path=/trunk/mcs/; revision=4821
2002-05-21 11:19:26 +00:00
Nick Drochak 819ce4ae3a Moved files here.
svn path=/trunk/mcs/; revision=4820
2002-05-21 11:18:44 +00:00
Dietmar Maurer c3077d993c 2002-05-21 Dietmar Maurer <[email protected]>
* x86.brg (stmt): removed unnecessary assertion

svn path=/trunk/mono/; revision=4819
2002-05-21 11:15:58 +00:00
Gonzalo Paniagua Javier 784c32b8b6 2002-05-21 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(mono_double_ToStringImpl): changed %f by %g until we have something
	better.

svn path=/trunk/mono/; revision=4818
2002-05-21 10:57:10 +00:00
Nick Drochak f850b5723a 2002-05-21 Nick Drochak <[email protected]>
* MathTest.cs:
		(TestPow): Add try-catch to determine where we are throwing.
		(TestLog): Re-enable failing test
		(TestLog2): same although this test still fails on mono. Not
		sure what the proper value to use here. It works on MS.NET

svn path=/trunk/mcs/; revision=4817
2002-05-21 10:56:53 +00:00
Nick Drochak 0be676e3d3 2002-05-21 Nick Drochak <[email protected]>
* Math.cs (Pow): Change icall method name and insert parameter
	checks in for infinities and NaN.

svn path=/trunk/mcs/; revision=4816
2002-05-21 10:55:30 +00:00
Nick Drochak 102f687990 2002-05-21 Nick Drochak <[email protected]>
* icall.c : Use different name for Math.Pow's icall.  Needed to check
	parameters first in C#.

svn path=/trunk/mono/; revision=4815
2002-05-21 10:54:44 +00:00
Dietmar Maurer 12f733d76e 2002-05-21 Dietmar Maurer <[email protected]>
* jit.c (check_inlining):  we cant inline throw instructions
	(because it breaks some basic block requirements)

svn path=/trunk/mono/; revision=4814
2002-05-21 10:46:18 +00:00
Paolo Molaro 12389754e8 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <[email protected]>
* EventInfo.cs: more implementation.

svn path=/trunk/mcs/; revision=4813
2002-05-21 10:40:54 +00:00
Martin Baulig 2c7b39fade 2002-05-21 Martin Baulig <[email protected]>
* mono.1: Documented the "--debug-args" debugging arguments.

svn path=/trunk/mono/; revision=4812
2002-05-21 10:17:50 +00:00
Martin Baulig edb0d7b3c7 2002-05-21 Martin Baulig <[email protected]>
* debug-private.h (MonoDebugFlags): New enum typedef.

	* debug.c (mono_debug_open): Added a few useful arguments.  See the manpage
	for details.

svn path=/trunk/mono/; revision=4811
2002-05-21 10:17:11 +00:00
Martin Baulig cad6c7094c Ooops.
svn path=/trunk/mono/; revision=4810
2002-05-21 09:43:52 +00:00
Martin Baulig 2da823de34 2002-05-21 Martin Baulig <[email protected]>
* mono.1: Updated to reflect my latest changes and beautified this a bit.
	(FIXME: There are still command line argument which aren't documented here.)

svn path=/trunk/mono/; revision=4809
2002-05-21 09:21:41 +00:00
Martin Baulig 0023ea27d5 2002-05-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_open_file): Renamed to mono_debug_open(), now takes
	a `MonoAssembly *' argument instead of a `char *filename' one.  Also added
	`const char **args' argument.

	* mono.c (mono_jit_assembly): Renamed to mono_jit_compile_image(), added
	`int verbose' argument and made it public.
	(mono_jit_compile_class): New public function,  moved the code to compile
	all methods in a class here from main().
	(--compile): The argument can now also be an image (in `@imagename' format).
	Updated documentation for this command line argument.
	(--precompile): New command line argument to precompile an image/class/method
	before executing the main app.  This argument can be given multiple times.
	(--break): Renamed the "--debug" command line argument to "--break".
	(--debug): New command line argument to specify the debugging format.
	(--stabs, --dwarf, --dwarf-plus): Removed, obsoleted by "--debug".
	(--debug-args): New command line argument.  This is a comma-separated list of
	additional arguments for the symbol writer.
	(usage): Beautified the help text a bit.

	* debug-dwarf2-plus.c (mono_debug_open_assembly_dwarf2_plus): Use the new
	public mono_jit_compile_image() function rather than duplication this
	functionality here.

svn path=/trunk/mono/; revision=4808
2002-05-21 09:20:45 +00:00
Lawrence Pit 11fdd62665 * WebClient.cs: stubbed
* WebProxy.cs: fixed bug

	* WebProxyTest.cs: added more ctor tests

svn path=/trunk/mcs/; revision=4806
2002-05-21 03:07:21 +00:00
Daniel Morgan 6d551e483a 2002-05-21 Daniel Morgan <[email protected]>
* System.Data.SqlClient/ParmUtil.cs: added file - to
	provide utility for conversion of input parameters

	* System.Data.SqlClient/PostgresTypes.cs: added file -
	moved the PostgreHelper class to here.  May eventually
	move the internal class PostgresTypes that's inside the
	SqlConnection to here as well.
	Handling of PostgreSQL <-> .NET types need to be though
	out more. Also, the PostgreHelper has a method to convert
	from .NET types to a string which can be put into used in
	an SQL statement to execute against a PostgreSQL database.
	This is the beginnings of parameters support.  It currently
	only supports input parameters.  Still need to do output,
	input/output, and return parameters.

	* Test/TestSqlParameters.cs: new test to test the input
	parameters in System.Data.SqlClient against a
	PostgreSQL db.

	* System.Data.SqlClient/PostgresLibrary.cs: moved
	PostgresHelper class to file PostgresTypes.cs.  Also
	moved struct PostgresType there too.

	* System.Data.SqlClient/SqlCommand.cs: added input
	parameters support

	* System.Data.SqlClient/SqlParameter.cs: got
	SqlParameter to work

	* System.Data.SqlClient/SqlParameterCollection.cs: got
	SqlParameterCollection to work

	* Test/System.Data_test.build: added files to exclude
	from test build

	* System.Data.SqlClient/SqlConnection.cs: release resources
	no longer used

svn path=/trunk/mcs/; revision=4805
2002-05-21 01:29:30 +00:00
Martin Baulig ac8e64cb2a 2002-05-21 Martin Baulig <[email protected]>
* debug-dwarf2-plus.c: This is now working again :-)

	* debug.c (mono_debug_open_file): When using MONO_DEBUG_FORMAT_DWARF2_PLUS,
	we create two MonoDebugHandles: one for MONO_DEBUG_FORMAT_DWARF2_PLUS and
	one for the fallback MONO_DEBUG_FORMAT_DWARF2.

svn path=/trunk/mono/; revision=4802
2002-05-20 23:37:05 +00:00
Miguel de Icaza f705afff5b Updates
svn path=/trunk/mono/; revision=4801
2002-05-20 23:14:55 +00:00
Martin Baulig c9ff4463e1 2002-05-21 Martin Baulig <[email protected]>
* jit.c (mono_debug_handle): Removed this global variable.

	* debug.c (mono_debug_close): Removed.
	(mono_debug_cleanup): New global function.
	(mono_debug_add_image): New global function.
	(mono_debug_handle_from_class): New global function.
	(mono_debug_write_symbols): New global function.
	(mono_debug_add_type): Removed `MonoDebugHandle *' argument.
	(mono_debug_add_method): Likewise.

svn path=/trunk/mono/; revision=4800
2002-05-20 23:05:53 +00:00
Miguel de Icaza febc4d8ae9 Flush ChangeLog
svn path=/trunk/mcs/; revision=4799
2002-05-20 22:44:08 +00:00
Miguel de Icaza 4dad12b24f Flush changes to ChangeLog
svn path=/trunk/mcs/; revision=4798
2002-05-20 22:43:38 +00:00
Miguel de Icaza c895bd2a13 Another attempt
svn path=/trunk/mono/; revision=4797
2002-05-20 22:34:32 +00:00
Martin Baulig 6d1170b3e1 2002-05-21 Martin Baulig <[email protected]>
Work around a hard-to-fix bug in GDB and create a single dwarf/stabs
	file for all assemblies.  Currently, the JIT doesn't put all methods
	from a single assembly into a continuous region of memory.  We were
	previously creating valid DWARF 2 files for this, but unfortunately
	GDB's symbol tables get messed up when it reads more than one such file.

	* debug-private.h (AssemblyDebugInfo): Moved `f', `producer_name',
	`next_idx', `methods', `type_hash', `source_files' and `format'
	into the MonoDebugHandle.

	* debug.c (mono_debug_get_type): This now operates on the MonoDebugHandle,
	not on the AssemblyDebugInfo.
	(mono_debug_open_file): Moved some stuff here from mono_debug_open_assembly().

	* debug-dwarf2.c (mono_debug_write_assembly_dwarf2): Renamed into
	mono_debug_write_dwarf2().
	(mono_debug_open_assembly_dwarf2): Removed.
	(mono_debug_close_assembly_dwarf2): Removed.

	* debug-stabs.c (mono_debug_write_assembly_stabs): Renamed into
	mono_debug_write_stabs().
	(mono_debug_open_assembly_stabs): Removed.
	(mono_debug_close_assembly_stabs).

	* debug-dwarf2-plus.c: This is currently broken. :-(

svn path=/trunk/mono/; revision=4796
2002-05-20 21:45:11 +00:00
Lawrence Pit ca9e7e591a System:
* AllTests.cs: added call to System.Net.Sockets.AllTests.cs

System.Net:
	* ServicePointTest.cs: added
	* ServicePointManagerTest.cs: added
	* WebProxyTest.cs: added
	* AllTests.cs: added the above tests
	* WebHeaderCollection.cs: added TestIndexers.

System.Net.Sockets:
	* AllTests.cs: added

svn path=/trunk/mcs/; revision=4794
2002-05-20 18:49:03 +00:00
Lawrence Pit afc721a8ae * WebProxy.cs: added, implemented
* ServicePoint.cs: implemented most
	* ServicePointManager.cs: implemented
	* HttpWebRequest.cs: started implementation
	* HttpWebResponse.cs: improved disposable routines
	* FileWebRequest.cs: slight improvement of Close method

svn path=/trunk/mcs/; revision=4793
2002-05-20 18:40:55 +00:00
Martin Baulig bb4ab39920 2002-05-20 Martin Baulig <[email protected]>
* debug.h (mono_debug_format): New global variable.
	(MonoDebugFormat): Added MONO_DEBUG_FORMAT_NONE.

	* debug-private.h (MonoDebugHandle): Added `objfiles' field which is
	a whitespace separated list of symbol files.
	(AssemblyDebugInfo): Added `objfile' filed which is the name of the
	symbol file.

	* mono.c (main): Pass the assembly file name to mono_debug_open_file().

	* debug.c (mono_debug_make_symbols): Link all symbol files into a big
	`<assemblyname>.o' symbol file.

svn path=/trunk/mono/; revision=4792
2002-05-20 16:28:08 +00:00
Martin Baulig 294d279628 2002-05-20 Martin Baulig <[email protected]>
* debug.c (debug_load_method_lines): Check whether the assembly file
	is newer than the IL file and recreate the IL file if necessary.

svn path=/trunk/mono/; revision=4791
2002-05-20 15:36:50 +00:00
Martin Baulig e9d7805348 2002-05-20 Martin Baulig <[email protected]>
* main.c: Added `--output=FILENAME' command line option.

	* monodis.1: Documented it here.

svn path=/trunk/mono/; revision=4790
2002-05-20 15:19:19 +00:00
Miguel de Icaza 4b7197215c 2002-05-20 Miguel de Icaza <[email protected]>
* typemanager.cs (InitEnumUnderlyingTypes): New helper function
	that splits out the loading of just the core types.

	* rootcontext.cs (ResolveCore): Split the struct resolution in
	two, so we can load the enumeration underlying types before any
	enums are used.

svn path=/trunk/mcs/; revision=4789
2002-05-20 14:47:12 +00:00
Miguel de Icaza b7b001bf8c This is so embarassing
svn path=/trunk/mono/; revision=4788
2002-05-20 14:28:15 +00:00
Miguel de Icaza ab29ea7a87 2002-05-20 Miguel de Icaza <[email protected]>
* mono.c Updated copyright years.

2002-05-20  Miguel de Icaza  <[email protected]>

	* interp.c: Updated help display.

svn path=/trunk/mono/; revision=4787
2002-05-20 14:25:10 +00:00
Radek Doulik fc01dc5bbe (mono_value_box): don't use memcpy for small sizes on
architectures with unaligned access

svn path=/trunk/mono/; revision=4786
2002-05-20 13:42:08 +00:00
Radek Doulik cb9d526994 (ves_exec_method): use stackval_to_data as pointed out by lupus
svn path=/trunk/mono/; revision=4785
2002-05-20 13:40:35 +00:00
Johannes Roith 45c6e2d096 add missing .cvsignore file
svn path=/trunk/mono/; revision=4784
2002-05-20 12:44:27 +00:00
Nick Drochak 0f456cc896 2002-05-21 Nick Drochak <[email protected]>
* Math.cs
		(Ceiling): Check for "special" values
		(Floor): Check for "special" values
		(Round): Fix off-by-one error on decimal shifting

svn path=/trunk/mcs/; revision=4783
2002-05-20 12:42:32 +00:00
Nick Drochak 328ca6540b 2002-05-21 Nick Drochak <[email protected]>
* MathTest.cs: Better reporting of failures
	* Int64Test.cs: Add try-catch to determine where we are throwing.

svn path=/trunk/mcs/; revision=4782
2002-05-20 12:39:20 +00:00
Miguel de Icaza 60b42de4db Fix build for Windows people
svn path=/trunk/mono/; revision=4781
2002-05-20 12:15:06 +00:00
Lawrence Pit edfd81efca * DateTime.cs: ToString () using "G" format specifier
svn path=/trunk/mcs/; revision=4780
2002-05-20 12:03:35 +00:00
Paolo Molaro 4955e75473 Mon May 20 17:36:36 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, reflection.h: added icall to get info about an event.

svn path=/trunk/mono/; revision=4778
2002-05-20 11:51:37 +00:00
Paolo Molaro 2ab3ad06b4 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <[email protected]>
* MonoEvent.cs: fill-in the implementation.

svn path=/trunk/mcs/; revision=4777
2002-05-20 11:50:55 +00:00
Radek Doulik 43e63cc526 2002-05-20 Radek Doulik <[email protected]>
* object.c (mono_value_box): don't use memcpy for boxing on BIG
	endian

svn path=/trunk/mono/; revision=4776
2002-05-20 11:40:17 +00:00
Radek Doulik 809f2c8d8b 2002-05-20 Radek Doulik <[email protected]>
* interp.c (dump_stack): print boxed values for --noptr

svn path=/trunk/mono/; revision=4775
2002-05-20 11:38:56 +00:00
Miguel de Icaza 74e60205bd 2002-05-20 Miguel de Icaza <[email protected]>
* expression.cs (Is): Bandaid until we fix properly Switch (see
	bug #24985 for details).

	* typemanager.cs (ImplementsInterface): The hashtable will contain
	a null if there are no interfaces implemented.

2002-05-18  Miguel de Icaza  <[email protected]>

	* cs-parser.jay (indexer_declarator): It is fine to have array
	parameters

svn path=/trunk/mcs/; revision=4774
2002-05-20 11:08:16 +00:00
Miguel de Icaza 45412d30e7 Remove old files, as they are now elsewhere
svn path=/trunk/mcs/; revision=4773
2002-05-20 10:38:34 +00:00
Nick Drochak a638fb5ea2 2002-05-20 Nick Drochak <[email protected]>
* AttributeTest.cs (TestGetCustomAttribute): Add try-catch to find out
	which assert is failing.

svn path=/trunk/mcs/; revision=4772
2002-05-20 10:35:15 +00:00
Daniel Morgan 1feb526a8e 2002-05-19 Daniel Morgan <[email protected]>
* doc/ado-net: updated page to include C# code snippets using
	System.Data.  Update status: handle reading NULL values, DataSet/DataAdapter
	works, executing/reading multiple results, and stored procedures.
	And other tweaks about the providers.

svn path=/trunk/mono/; revision=4771
2002-05-19 22:33:55 +00:00
Martin Baulig f944e2592a 2002-05-20 Martin Baulig <[email protected]>
* TypeBuilder.cs (DefineField): Call the new `create_internal_class'
	interncall after adding the first field.  This is used when creating
	enum types to set `klass->enum_basetype'.

svn path=/trunk/mcs/; revision=4769
2002-05-19 19:59:28 +00:00
Martin Baulig b8e5e458a9 2002-05-20 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): Don't crash
	if `tb->parent == NULL'.
	(mono_reflection_create_internal_class): New function.  This is
	called from TypeBuilder.CreateType() and sets `klass->enum_basetype'
	for enum types.

	* icall.c ("System.Reflection.Emit.TypeBuilder::create_internal_class"):
	New interncall.

svn path=/trunk/mono/; revision=4768
2002-05-19 19:55:22 +00:00
Lawrence Pit b89e81df04 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
prevent endless loops.

svn path=/trunk/mcs/; revision=4767
2002-05-19 16:46:48 +00:00
Lawrence Pit 9eaae02b12 * FileWebRequestTest.cs: all the async methods tests to behave the same
as in ms.net

svn path=/trunk/mcs/; revision=4766
2002-05-19 15:47:37 +00:00
Lawrence Pit cf155c00a2 * FileWebRequest.cs: finished implementation of async methods.
* FileWebResponse.cs: improved disposable routines.

svn path=/trunk/mcs/; revision=4765
2002-05-19 15:45:57 +00:00
Miguel de Icaza 621a13042d Sorry about that
svn path=/trunk/mono/; revision=4764
2002-05-19 15:03:12 +00:00
Miguel de Icaza 5bbe679ec3 Updates to ASP.NET
svn path=/trunk/mono/; revision=4763
2002-05-19 14:59:43 +00:00
Martin Baulig 0442a5fa45 2002-05-19 Martin Baulig <[email protected]>
* Convert.cs (FromBase64CharArray): Do correct exception handling.

svn path=/trunk/mcs/; revision=4762
2002-05-19 12:28:30 +00:00
Martin Baulig 89dc4ec342 2002-05-19 Martin Baulig <[email protected]>
* Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
	Added exception handling.

	* Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
	Added exception handling.

svn path=/trunk/mcs/; revision=4761
2002-05-19 12:27:15 +00:00
Martin Baulig dca14bea40 2002-05-19 Martin Baulig <[email protected]>
* Added System.Security.Cryptography.FromBase64TransformTest.cs.

svn path=/trunk/mcs/; revision=4760
2002-05-19 12:06:47 +00:00
Chris J. Breisch 342c6c1d45 Dummy version so the build will complete.
svn path=/trunk/mono/; revision=4759
2002-05-19 11:47:02 +00:00
Martin Baulig 46688a0ec9 2002-05-19 Martin Baulig <[email protected]>
* TheTests.cs: Removed.

svn path=/trunk/mcs/; revision=4758
2002-05-19 11:40:09 +00:00
Martin Baulig ba7de23a4a Ooooops, sorry for being stupid ....
svn path=/trunk/mcs/; revision=4757
2002-05-19 11:38:07 +00:00
Martin Baulig bb1cc41a90 2002-05-19 Martin Baulig <[email protected]>
* corlib_test.build: Don't create Runtest.corlib.exe anymore.

	* MartinTests.cs: Removed.

svn path=/trunk/mcs/; revision=4756
2002-05-19 09:00:43 +00:00
Martin Baulig ed4e02daa7 2002-05-19 Martin Baulig <[email protected]>
* MartinTests.cs: Removed.

svn path=/trunk/mcs/; revision=4755
2002-05-19 08:58:57 +00:00
Daniel Morgan 0ad0d8d73d 2002-05-18 Daniel Morgan <[email protected]>
* System.Xml: added directory for classes with namespace
	System.Xml to go into the System.Data.dll assembly

	* System.Xml/XmlDataDocument: added file
	for stubbed concrete class XmlDataDocument which
	inherits from XmlDocument.  Its purpose is to provide
	a W3C XML DOM Document for relational data and interacting
	with a DataSet

svn path=/trunk/mcs/; revision=4754
2002-05-19 00:00:13 +00:00
Lawrence Pit b4060bcb7b * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
byte ordering of address was backwards.

svn path=/trunk/mcs/; revision=4753
2002-05-18 22:10:39 +00:00
Martin Baulig 18743eab12 2002-05-19 Martin Baulig <[email protected]>
* FromBase64Transform.cs (TransformFinalBlock): The return value of
	`DoTransform' tells us the number of bytes actually written - if it's
	smaller than `res', copy it to a smaller array.

svn path=/trunk/mcs/; revision=4752
2002-05-18 20:30:19 +00:00
Martin Baulig 915c658177 2002-05-19 Martin Baulig <[email protected]>
* unicode.c (ves_icall_iconv_get_bytes): Actually use the `charCount'
	argument to get the length, don't default to the array length.

svn path=/trunk/mono/; revision=4751
2002-05-18 20:27:08 +00:00
Martin Baulig a1c91fdd5d 2002-05-19 Martin Baulig <[email protected]>
* Convert.cs (FromBase64CharArray): Convert the char array using
	System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
	a byte array.

svn path=/trunk/mcs/; revision=4750
2002-05-18 20:25:09 +00:00
Martin Baulig bd84a768b7 2002-05-19 Martin Baulig <[email protected]>
* mono/Makefile.am (SUBDIRS): Added `os', it's referenced by
	interpreter/Makefile.am.

svn path=/trunk/mono/; revision=4749
2002-05-18 19:53:15 +00:00
Miguel de Icaza c49ad0fb65 2002-05-18 Miguel de Icaza <[email protected]>
* HttpRuntime.cs: Reformat file.

svn path=/trunk/mcs/; revision=4748
2002-05-18 19:08:45 +00:00
Miguel de Icaza f8e5d72756 Flush
svn path=/trunk/mono/; revision=4747
2002-05-18 18:27:50 +00:00
Miguel de Icaza 94cf10c811 Complete the deployment of the `os' directory. SOrry about the previous
commit, it was only supposed to add the directories, but I got everything
commited instead.

svn path=/trunk/mono/; revision=4746
2002-05-18 17:41:44 +00:00
Miguel de Icaza 9a9c5bf386 Add new mono/os directory
svn path=/trunk/mono/; revision=4744
2002-05-18 17:32:36 +00:00
Daniel Morgan ec6e751eb5 2002-05-18 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
	Text, TableDirect, and StoredProcedure

	* Test/PostgresTest.cs: changed call to version()
	stored procedure to use the CommandType of StoredProcedure

	* Test/TestSqlDataReader.cs: test all the CommandTypes

svn path=/trunk/mcs/; revision=4743
2002-05-18 15:17:15 +00:00
Daniel Morgan aafe0b2af2 2002-05-18 Daniel Morgan <[email protected]>
* System.Data.build: took out all excluded
	files except the ones in the Test directory
	because all files compile now.  It does not
	mean they all work or have implementations
	though.

	* System.Data/DataRelationCollection.cs
	* System.Data/DataTableRelationCollection.cs
	* System.Data/InternalDataCollectionBase.cs
	* System.Data.Common/DbDataPermission.cs
	* System.Data.SqlClient/SqlInfoMessageEventArgs.cs
	* System.Data.SqlClient/SqlClientPermission.cs
	* System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
	to get all System.Data* files to compile.

	* System.Data.SqlClient/SqlCommand.cs: started coding
	to prevent SqlConnection and SqlCommand from doing
	anyting while fetching data using SqlDataReader.  Also,
	started coding to undo this prevention once the
	SqlDataReader is closed.

	* System.Data.SqlClient/SqlConnection.cs: get database server
	version.  Started coding to prevent connection from
	doing anything while fetching data and undo once the reader
	is closed.  Include events SqlInfoMessage and StateChange.

	* System.Data.SqlClient/SqlDataReader.cs: start coding to
	prevent connection and command from doing anything while
	fetching data, and undo when closed.

	* Test/PostgresTest.cs: added test to get ServerVersion
	property from SqlConnection

svn path=/trunk/mcs/; revision=4742
2002-05-18 13:20:24 +00:00
Tim Coleman 9bb6726506 2002-05-18 Tim Coleman <[email protected]>
* System.Data/DataRow.cs: More implementation,
        as well as boundary checks and small semantic
        repairs

svn path=/trunk/mcs/; revision=4741
2002-05-18 11:08:38 +00:00
Chris J. Breisch b0d99d2acf Modified per Dan Lewis' instructions
svn path=/trunk/mcs/; revision=4740
2002-05-18 08:46:37 +00:00
Chris J. Breisch 0af03999e7 Updated as I should've been doing all along
svn path=/trunk/mcs/; revision=4739
2002-05-18 08:27:53 +00:00
Chris J. Breisch 2a18719f4f Clean-up of System.dll when finished.
svn path=/trunk/mcs/; revision=4738
2002-05-18 07:18:59 +00:00
Chris J. Breisch 844e59cc9b Fixed to copy System.dll into Test directory so that tests will run properly.
svn path=/trunk/mcs/; revision=4737
2002-05-18 07:18:25 +00:00
Tim Coleman 58847a4f3d 2002-05-18 Tim Coleman <[email protected]>
* System.Data/DataRow.cs: Try to reduce memory
        usage by only creating the original and proposed
        arrays as required in BeginEdit, and then destroying
        proposed during EndEdit, and original during AcceptChanges.
        * System.Data.Common/DbDataAdapter.cs: Make the
        startRecord and maxRecords parameters work correctly.

svn path=/trunk/mcs/; revision=4736
2002-05-18 02:35:17 +00:00
Nick Drochak 5148e5f25f 2002-05-18 Nick Drochak <[email protected]>
* DataRow.cs: Fix typo.

svn path=/trunk/mcs/; revision=4735
2002-05-18 02:06:19 +00:00
Tim Coleman 9f162e5467 2002-05-18 Tim Coleman <[email protected]>
* System.Data/DataRow.cs: Move the null check in
        ItemArray set to above the Invalid Cast check, so
        that we don't get null reference exceptions.

svn path=/trunk/mcs/; revision=4734
2002-05-18 00:50:13 +00:00
Daniel Morgan 264414caad 2002-05-17 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: handle
	data value from database being NULL

	* System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
	allow multiple result sets.  Added new internal class
	SqlResult to pass result set data from SqlCommand
	to SqlDataReader.

	* System.Data.SqlClient/SqlDataReader.cs: allow
	multiple result sets.

	* System.Data.SqlClient/SqlConnection.cs: moved
	things around.  Implement IDisposable.

	* Test/TestSqlDataReader.cs: test for execution
	of multiple result sets and display the results
	of these multiple results sets

	* Test/TestSqlDataAdapter.cs: tweaks

svn path=/trunk/mcs/; revision=4733
2002-05-17 22:14:57 +00:00
Chris J. Breisch 8e8463db22 Added ConversionTest for testing Conversion class
svn path=/trunk/mcs/; revision=4732
2002-05-17 22:06:16 +00:00
Chris J. Breisch 38320842e1 Fixed so that 'test' is run in 'test' and not 'all'
svn path=/trunk/mcs/; revision=4731
2002-05-17 22:05:06 +00:00
Chris J. Breisch 458e6d7f7d First 'real' version
svn path=/trunk/mcs/; revision=4730
2002-05-17 22:04:00 +00:00
Miguel de Icaza 60fd8bc92a Update list
svn path=/trunk/mcs/; revision=4728
2002-05-17 21:50:51 +00:00
Miguel de Icaza 9b0d14acef Ok, at least MCS does not crash anymore when compiling the System assembly.
It still fails to compile it though

2002-05-17  Miguel de Icaza  <[email protected]>

	* typemanager.cs: (RegisterBuilder): New function used to register
	TypeBuilders that implement interfaces.  Since
	TypeBuilder.GetInterfaces (as usual) does not work with lame
	Reflection.Emit.
	(AddUserType): register interfaces.

	(ImplementsInterface): Use the builder_to_ifaces hash if we are
	dealing with TypeBuilder.  Also, arrays are showing up as
	SymbolTypes, which are not TypeBuilders, but whose GetInterfaces
	methods can not be invoked on them!

svn path=/trunk/mcs/; revision=4727
2002-05-17 21:50:13 +00:00
Duncan Mak b3976280ad 2002-05-17 Duncan Mak <[email protected]>
* System.Web.build: Added new arguments: "/noconfig",
	"/r:System.Drawing.dll" and "/r:System.Xml.dll".

	* AttributeCollection.cs:
	* ControlCollection.cs:
	* CssStyleCollection.cs:
	* DataBindingCollection.cs:
	* EmptyControlCollection.cs: Added missing Collection classes.

	* BaseParser.cs:
	* TemplateParser.cs:  Implemented. BaseParser is weird because
	there is no documentation on what it does.

	* ControlBuilder.cs:

	* DataBinder.cs:
	* DataBinding.cs: Added.

	* DataBoundLiteralControl.cs:
	* Triplet.cs: Added.

	* RenderMethod.cs: Added this delegate for Control.cs

svn path=/trunk/mcs/; revision=4726
2002-05-17 20:54:14 +00:00
Miguel de Icaza cfc4b4b32a Add more tests
svn path=/trunk/mcs/; revision=4725
2002-05-17 20:25:15 +00:00
Miguel de Icaza 3cd86625e7 2002-05-17 Miguel de Icaza <[email protected]>
* ecore.cs (ExplicitReferenceConversionExists): Made public.
	(ImplicitReferenceConversionExists): Split out from
	StandardConversionExists.

	* expression.cs (As): We were only implementing one of the three
	cases for the as operator.  We now implement them all.
	(Is): Implement the various other cases for Is as well.

	* typemanager.cs (CACHE): New define used to control if we want or
	not the FindMembers cache.  Seems to have a negative impact on
	performance currently

	(MemberLookup): Nested types have full acess to
	enclosing type members

	Remove code that coped with instance/static returns for events, we
	now catch this in RealFindMembers.

	(RealFindMembers): only perform static lookup if the instance
	lookup did not return a type or an event.

svn path=/trunk/mcs/; revision=4724
2002-05-17 20:13:44 +00:00
Radek Doulik 6e3ae7ed4a 2002-05-17 Radek Doulik <[email protected]>
* interp.c (dump_stack): if --noptr then print content of strings
	in form [str:<printed string>]

svn path=/trunk/mono/; revision=4723
2002-05-17 18:40:59 +00:00
Tim Coleman 4a45db8615 2002-05-17 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                - More implementation of Fill methods
                - Get rid of isDirty flag, because we can just check
                        if the table exists
                - Do *not* remove DataTables before Filling them
                - Implicitly open the connection before doing a Fill
                        if it does not exist.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                - Minor fixup
        * System.Data/DataTableCollection.cs:
                - Add DataSet to internal, undocumented constructor
                - When a table is created, set its DataSet property
                - Default table name for creation is "Table1" (see .NET)
                - Inherit the ArrayList list from InternalDataCollecitonBase
                        and maintain a hashtable between table names and
                        DataTables
        * System.Data/DataTable.cs:
                - Add internal dataSet field.  This is used by
                        DataTableCollection when the DataTable is constructed.
        * System.Data/DataSet.cs:
                - Pass a reference to the DataSet when constructing the
                        DataTableCollection.

svn path=/trunk/mcs/; revision=4722
2002-05-17 16:38:00 +00:00
Lawrence Pit b43bd5c9a0 * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
* NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
	routines, added	checks for disposed state.

svn path=/trunk/mcs/; revision=4721
2002-05-17 15:53:05 +00:00
Miguel de Icaza 9577ba40ef 2002-05-17 Miguel de Icaza <[email protected]>
* typemanager.cs (CACHE): New define used to control if we want or
	not the FindMembers cache.  Seems to have a negative impact on
	performance currently

svn path=/trunk/mcs/; revision=4720
2002-05-17 15:49:33 +00:00
Miguel de Icaza 090fe75c19 2002-05-17 Miguel de Icaza <[email protected]>
* MonoType.cs: Style changes.

svn path=/trunk/mcs/; revision=4719
2002-05-17 15:01:04 +00:00
Miguel de Icaza b90a50112b 2002-05-17 Miguel de Icaza <[email protected]>
* Type.cs: Style changes.

svn path=/trunk/mcs/; revision=4718
2002-05-17 14:56:14 +00:00
Paolo Molaro 3daa5d717a Fri May 17 20:39:53 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: ValueType_GetHashCode() initialize local var.

svn path=/trunk/mono/; revision=4717
2002-05-17 14:53:17 +00:00
Miguel de Icaza a731712720 Add new test
svn path=/trunk/mcs/; revision=4716
2002-05-17 10:58:08 +00:00
Dietmar Maurer 36ddd20647 2002-05-17 Dietmar Maurer <[email protected]>
* x86.brg (reg): fixed array bound check

svn path=/trunk/mono/; revision=4715
2002-05-17 07:45:24 +00:00
Dan Lewis f41742752e 2002-05-17 Dan Lewis <[email protected]>
* FileStream.cs: Enforce lower bound on buffer size.

svn path=/trunk/mcs/; revision=4714
2002-05-17 07:35:54 +00:00
Dietmar Maurer b3dc392490 new test
svn path=/trunk/mono/; revision=4713
2002-05-17 07:30:43 +00:00
Dietmar Maurer 1f614411eb 2002-05-17 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): print method signature

	* exception.c (arch_handle_exception): set trace info before we
	call handlers.

svn path=/trunk/mono/; revision=4712
2002-05-17 06:22:30 +00:00
Lawrence Pit 3037f164e7 2002-05-17 Lawrence Pit <[email protected]>
* UdpClient.cs and TcpClient.cs: modified disposable routines, added
	checks for disposed state.
	* UdpClient.cs: commented out GetHashCode and Equals as it's not
	overriden in ms.net implementation.

2002-05-17  Jaroslaw Kowalski <[email protected]>
	* TcpClient.cs: fixed SetTcpClient so that
	TcpListener.AcceptTcpClient works and allows
	you to call GetStream() on its result

svn path=/trunk/mcs/; revision=4711
2002-05-17 03:54:41 +00:00
Miguel de Icaza 4270a24e5a 2002-05-17 Miguel de Icaza <[email protected]>
* assign.cs (CompoundAssign): We pass more semantic information
	now to Compound Assignments than we did before: now we have all
	the information at hand, and now we resolve the target *before* we
	do the expression expansion, which allows the "CacheValue" method
	to have the effect we intended (before, a [x] += 1 would generate
	two differen ArrayAccess expressions from the ElementAccess,
	during the resolution process).

	(CompoundAssign.DoResolve): Resolve target and original_source here.

svn path=/trunk/mcs/; revision=4710
2002-05-17 02:02:21 +00:00
Miguel de Icaza 61049409be 2002-05-16 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess): dropped debugging information.

	* typemanager.cs: Small bug fix: I was always returning i_members,
	instead of one of i_members or s_members (depending on which had
	the content).

svn path=/trunk/mcs/; revision=4709
2002-05-16 23:51:31 +00:00
Tim Coleman fe48a78739 I made a boo-boo on the last check in.
svn path=/trunk/mcs/; revision=4708
2002-05-16 23:41:32 +00:00
Tim Coleman 96c8130fc1 2002-05-16 Tim Coleman <[email protected]>
* TestSqlDataAdapter.cs: Added the foreach loop to iterate through
        all of the DataRows in the DataSet table "Table", as the
        GetEnumerator method of InternalDataCollectionBase has now been
        implemented.

svn path=/trunk/mcs/; revision=4707
2002-05-16 23:36:34 +00:00
Tim Coleman 56c4b39c25 2002-05-16 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Use table.Rows.Add (itemArray) instead of
                table.Rows.Add (thisRow) to provide better
                abstraction.
        * System.Data/DataRowCollection.cs:
                Some implementation of this class.
        * System.Data/InternalDataCollectionBase.cs:
                Some implementation.  Most notably, this now
                has an enumerator so we can use foreach (DataRow row in table.Rows)
                in the test classes.
        * System.Data/DataTable.cs:
                Since DataRowCollection now accepts a DataTable in
                its internal constructor, we must pass one in.

svn path=/trunk/mcs/; revision=4706
2002-05-16 23:29:13 +00:00
Nick Drochak aa4ba96f13 2002/05/17 Nick Drochak <[email protected]>
* System.Data_test.build: Remove RunTests from the default build. We
	can add this later, but it keeps the build from breaking for now.

	* TestSqlDataAdapter.cs: Fix build breaker.

svn path=/trunk/mcs/; revision=4705
2002-05-16 22:39:33 +00:00
Miguel de Icaza 55a3530e27 2002-05-16 Miguel de Icaza <[email protected]>
* assign.cs (IAssignMethod.CacheTemporaries): New method.  This
	method is invoked before any code generation takes place, and it
	is a mechanism to inform that the expression will be invoked more
	than once, and that the method should use temporary values to
	avoid having side effects

	(Assign.Emit): Call CacheTemporaries in the IAssignMethod.

	* ecore.cs (Expression.CacheTemporaries): Provide empty default
	implementation.

	* expression.cs (Indirection, ArrayAccess): Add support for
	CacheTemporaries in these two bad boys.

svn path=/trunk/mcs/; revision=4702
2002-05-16 20:53:48 +00:00
Daniel Morgan 6f79842050 2002-05-16 Daniel Morgan <[email protected]>
* Test/TestSqlDataAdapter.cs: added new test
	for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
	DataRowCollection, and DataRow.  It tests retrieving data
	based on a SQL SELECT query.  This test is based on Tim Coleman's
	test he sent to me.

svn path=/trunk/mcs/; revision=4701
2002-05-16 19:55:15 +00:00
Miguel de Icaza d36f49c491 Update compiler docs
svn path=/trunk/mcs/; revision=4700
2002-05-16 19:21:27 +00:00
Miguel de Icaza a356bf05f3 2002-05-16 Miguel de Icaza <[email protected]>
* ecore.cs (LoadFromPtr): figure out on our own if we need to use
	ldobj or ldind_ref.
	(StoreFromPtr): Handle stobj as well.

	* expression.cs (UnaryMutator): Share more code.

svn path=/trunk/mcs/; revision=4699
2002-05-16 18:56:07 +00:00
Miguel de Icaza fd769fa50f 2002-05-16 Miguel de Icaza <[email protected]>
* typemanager.cs (FindMembers): Thanks to Paolo for tracking this
	down: I was not tracking the Filter function as well, which
	was affecting the results of the cache.

svn path=/trunk/mcs/; revision=4698
2002-05-16 17:19:15 +00:00
Tim Coleman 9e470e8354 2002-05-15 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Use table.Rows.Add (thisRow) instead of
                table.ImportRow (thisRow)
        * System.Data/DataRowCollection.cs:
                Construct the ArrayList before using it

svn path=/trunk/mcs/; revision=4697
2002-05-16 17:12:43 +00:00
Miguel de Icaza 262a67edb9 From:
// Krister Hansson ([email protected])
// Andreas Jonsson ([email protected])

ConverTest regression test suite.

Excellent!

svn path=/trunk/mcs/; revision=4696
2002-05-16 16:27:00 +00:00
Miguel de Icaza 932312e171 Jaroslaw Kowalski <[email protected]>: Report EADDRINUSE error
svn path=/trunk/mono/; revision=4695
2002-05-16 16:15:28 +00:00
Miguel de Icaza d19679d12c Jaroslaw Kowalski <[email protected]>: Update w32 error descriptions
svn path=/trunk/mcs/; revision=4694
2002-05-16 16:14:50 +00:00
Tim Coleman b5b359c58f 2002-05-16 Tim Coleman <[email protected]>
* System.Data/DataTable.cs:
                Construct the DataRowCollection in the DataTable
                constructor.  Otherwise, it's a null reference.

svn path=/trunk/mcs/; revision=4692
2002-05-16 14:25:35 +00:00
Radek Doulik 5209f40866 2002-05-16 Radek Doulik <[email protected]>
* interp.c (ves_exec_method): use data.i instead of data.l in i32
	case
	(ves_exec_method): set type in I64 <--> I32 conversions

svn path=/trunk/mono/; revision=4691
2002-05-16 14:19:27 +00:00
Piers Haken 9ce542217c * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
svn path=/trunk/mcs/; revision=4690
2002-05-16 13:44:04 +00:00
Piers Haken bac030aede * UInt64.cs: fix declaration of IConvertible.To* overrides.
svn path=/trunk/mcs/; revision=4689
2002-05-16 13:37:22 +00:00
Nick Drochak 8edd2d855a 2002-05-17 Nick Drochak <[email protected]>
* StreamWriter.cs: Implement buffering.  Also implemented dispose
	pattern as recommended by the MS docs.  Must call Close() now
	to ensure the buffer is flushed.

svn path=/trunk/mcs/; revision=4687
2002-05-16 12:03:38 +00:00
Nick Drochak d583ec88bc 2002-05-16 Nick Drochak <[email protected]>
* Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
	now that StreamWriter uses buffering

svn path=/trunk/mcs/; revision=4686
2002-05-16 12:00:52 +00:00
Paolo Molaro 8b0eea6c1b Thu May 16 17:21:07 CEST 2002 Paolo Molaro <[email protected]>
* main.c, dump,c, get.h, get.c: diassemble custom attributes.

svn path=/trunk/mono/; revision=4685
2002-05-16 11:34:30 +00:00
Paolo Molaro 82713f791b Thu May 16 17:20:22 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: sort custom attributes table.

svn path=/trunk/mono/; revision=4684
2002-05-16 11:33:28 +00:00
Paolo Molaro bcadaf072f Thu May 16 16:09:51 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: complete special acse support for CharSet, Size and
	Pack named args in StructLayout attribute.

svn path=/trunk/mcs/; revision=4683
2002-05-16 10:23:13 +00:00
Paolo Molaro 433e0e0e47 Thu May 16 16:08:01 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: support named args in custom attributes (write support).

svn path=/trunk/mono/; revision=4682
2002-05-16 10:21:54 +00:00
Nick Drochak 55d687d992 2002-05-16 Nick Drochak <[email protected]>
* BitConverter.cs (ToString): Add parameter check for invalid start
	index.

svn path=/trunk/mcs/; revision=4681
2002-05-16 09:42:37 +00:00
Paolo Molaro deb7bf24f3 Thu May 16 13:04:59 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix finally position calculation.

svn path=/trunk/mono/; revision=4680
2002-05-16 07:18:12 +00:00
Dietmar Maurer f9d41e04c5 removed #include <mono/io-layer/threads.h>
CVS ----------------------------------------------------------------------

svn path=/trunk/mono/; revision=4679
2002-05-16 07:01:30 +00:00
Dietmar Maurer 7441975a45 2002-05-16 Dietmar Maurer <[email protected]>
* jit.c (mono_find_final_block): make it work with mcs

svn path=/trunk/mono/; revision=4678
2002-05-16 06:49:16 +00:00
Dietmar Maurer 0057b356ac another test
svn path=/trunk/mono/; revision=4677
2002-05-16 05:06:02 +00:00
Dietmar Maurer 616842f7ed exception fixes - unfortunately this does not work with mcs compiled binaries
svn path=/trunk/mono/; revision=4676
2002-05-16 04:40:21 +00:00
Radek Doulik 8a9b5f9a0b 2002-05-16 Radek Doulik <[email protected]>
* interp.c (ves_exec_method): use data.i instead of data.l in i32
	case

svn path=/trunk/mono/; revision=4675
2002-05-16 03:05:26 +00:00
Tim Coleman a2896d3391 2002-05-16 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlDataReader.cs:
                Modify GetValues to use Array.Copy() to copy
                the results from fields to values, rather than
                an assignment, which results in loss of data.

svn path=/trunk/mcs/; revision=4674
2002-05-16 02:34:45 +00:00
Tim Coleman 463964346f 2002-05-16 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
                More implementation and documentation.  It should
                work more like expected, although there is no way
                to demonstrate this well yet.  DataTable requires
                more work.

svn path=/trunk/mcs/; revision=4673
2002-05-16 01:52:07 +00:00
Miguel de Icaza 66534c61c0 Remove test 120 from the MIcrosoft build
svn path=/trunk/mcs/; revision=4671
2002-05-15 21:18:31 +00:00
Miguel de Icaza 9d04e84eb2 2002-05-15 Miguel de Icaza <[email protected]>
* attribute.cs: Remove the hack to handle the CharSet property on
	StructLayouts.

svn path=/trunk/mcs/; revision=4670
2002-05-15 21:18:04 +00:00
Radek Doulik 98960296c1 ops, unsaved entry
svn path=/trunk/mono/; revision=4667
2002-05-15 17:24:15 +00:00
Tim Coleman 1aaa37badb 2002-05-15 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
                Minor tweaks as I determine exactly how to
                implement this class.

svn path=/trunk/mcs/; revision=4666
2002-05-15 16:01:51 +00:00
Radek Doulik 207c4d4287 added note about running mcs
svn path=/trunk/mono/; revision=4665
2002-05-15 14:23:37 +00:00
Radek Doulik 55c45ece0a 2002-05-15 Radek Doulik <[email protected]>
* reflection.c: fixed endianess at many places

	* icall.c (ves_icall_InitializeArray): comment out debug msg

svn path=/trunk/mono/; revision=4664
2002-05-15 14:22:06 +00:00
Radek Doulik 94821b03d2 2002-05-15 Radek Doulik <[email protected]>
* interp.c (ves_runtime_method): moved stackval_from_data call
	inside #else branch, consulted on irc with lupus

svn path=/trunk/mono/; revision=4663
2002-05-15 14:19:57 +00:00
Radek Doulik 065f687aed fixed delegates return values
svn path=/trunk/mono/; revision=4662
2002-05-15 14:19:24 +00:00
Dan Lewis 29ee4e1580 Tidied up copyrights.
svn path=/trunk/mono/; revision=4661
2002-05-15 13:31:49 +00:00
Dietmar Maurer ad9e8ba76a added original copyright notice
svn path=/trunk/mono/; revision=4660
2002-05-15 13:17:11 +00:00
Dietmar Maurer b9db0ccd14 (mono_runtime_delegate_invoke): impl.
svn path=/trunk/mono/; revision=4659
2002-05-15 12:58:41 +00:00
Dietmar Maurer 1f2d254cd6 removed exception9.cs because that test have to fail
svn path=/trunk/mono/; revision=4658
2002-05-15 12:30:39 +00:00
Dietmar Maurer ce9497acae 2002-05-15 Dietmar Maurer <[email protected]>
* object.c (mono_unhandled_exception): new function to handle
	unhandled exceptions.
	(mono_unhandled_exception): call the UnhandledException event.

i	* interp.c (ves_exec_method): use new mono_unhandled_exception()

svn path=/trunk/mono/; revision=4657
2002-05-15 12:23:20 +00:00
Dietmar Maurer a3869b884d another test
svn path=/trunk/mono/; revision=4656
2002-05-15 11:11:17 +00:00
Gonzalo Paniagua Javier e498eb1d31 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
* ValidationPropertyAttribute.cs: a couple of fixes to make it compile.

svn path=/trunk/mcs/; revision=4655
2002-05-15 11:07:06 +00:00
Dietmar Maurer c680c5953d 2002-05-15 Dietmar Maurer <[email protected]>
* delegate.c: simplified the
	code using new runtime_invoke feature.

svn path=/trunk/mono/; revision=4654
2002-05-15 10:21:31 +00:00
Paolo Molaro e36908481a Wed May 15 16:02:56 CEST 2002 Paolo Molaro <[email protected]>
* main.c: output field RVA data.

svn path=/trunk/mono/; revision=4653
2002-05-15 10:16:21 +00:00
Paolo Molaro 3e9da1058b Wed May 15 15:59:55 CEST 2002 Paolo Molaro <[email protected]>
* metadata.h, metadata.c, class.c: mono_metadata_field_info ()
	returns the RVA, not the direct pointer to the data. Handle the case
	when the class size is fixed.

svn path=/trunk/mono/; revision=4652
2002-05-15 10:14:56 +00:00
Dick Porter b288485ea5 2002-05-15 Dick Porter <[email protected]>
* wait.c: Fix a deadlock in WaitForMultipleObjects

svn path=/trunk/mono/; revision=4651
2002-05-15 09:53:28 +00:00
Dietmar Maurer c59abc6b40 better comment
svn path=/trunk/mono/; revision=4650
2002-05-15 08:50:38 +00:00
Dietmar Maurer 087a3ce0fc 2002-05-15 Dietmar Maurer <[email protected]>
* delegate.c (arch_end_invoke): fix bug #24653

svn path=/trunk/mono/; revision=4649
2002-05-15 08:25:15 +00:00
Duncan Mak adfcff5184 Adding references to Delta-Forth to the language page.
svn path=/trunk/mono/; revision=4648
2002-05-15 07:25:31 +00:00
Dietmar Maurer d85735e32b another test
svn path=/trunk/mono/; revision=4647
2002-05-15 07:00:07 +00:00
Dietmar Maurer 84ca426660 (mono_thread_start_cb): set end_of_stack
svn path=/trunk/mono/; revision=4646
2002-05-15 06:58:13 +00:00
Paolo Molaro 14eb67673a Wed May 15 12:22:09 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: search for pthread functions also in libc_r (patch
	from Garrett Rooney <[email protected]>).

svn path=/trunk/mono/; revision=4645
2002-05-15 06:37:02 +00:00
Dietmar Maurer 5683e6188b 2002-05-15 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_flow): try blocks are followed by handler
	blocks, so we need to add all handler blocks as succesors.

	* exception.c (arch_handle_exception): correctly save/restore caller
	saved regs.

	* emit-x86.c (arch_emit_prologue): correctly save/restore caller
	saved regs.

	* jit.c (mono_cfg_new): allocate space for caller saved registers.

svn path=/trunk/mono/; revision=4644
2002-05-15 06:16:23 +00:00
Duncan Mak 183b00d9fe 2002-05-14 Duncan Mak <[email protected]>
* ValidationPropertyAttribute.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4643
2002-05-14 20:52:02 +00:00
Radek Doulik eea3c64dbb added --noptr option
svn path=/trunk/mono/; revision=4640
2002-05-14 18:35:41 +00:00
Duncan Mak 210699d521 2002-05-14 Duncan Mak <[email protected]>
* System.Data/DataTable.cs (NewRow): Added missing paren to fix build.

svn path=/trunk/mcs/; revision=4639
2002-05-14 18:16:59 +00:00
Miguel de Icaza 1314011e0e Add README file
svn path=/trunk/mcs/; revision=4638
2002-05-14 18:03:48 +00:00
Miguel de Icaza e8de62d687 Add System.Runtime.Serialization.Formatters.Soap from Jesus
svn path=/trunk/mcs/; revision=4637
2002-05-14 18:02:26 +00:00
Tim Coleman 022feb8e7c 2002-05-14 Tim Coleman
* System.Data/DataRow.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataTable.cs:
                More implementation of these classes.  DataRow
                can now (possibly) do some useful things.
                Still not sure what DataRowBuilder is all about,
                other than passing a DataTable in.

svn path=/trunk/mcs/; revision=4636
2002-05-14 17:45:13 +00:00
Radek Doulik 0b88012cff recognize NULL when --noptr
svn path=/trunk/mono/; revision=4635
2002-05-14 16:14:09 +00:00
Radek Doulik 8f3bcf4898 added --noptr to help
svn path=/trunk/mono/; revision=4634
2002-05-14 16:03:31 +00:00
Radek Doulik c5ea71cc7f add braces
svn path=/trunk/mono/; revision=4633
2002-05-14 15:53:51 +00:00
Radek Doulik beca9222f6 2002-05-14 Radek Doulik <[email protected]>
* interp.c: introduced new --noptr option to suppres pointer
	address printing. I find this useful for comparing trace outputs
	while porting to ppc

svn path=/trunk/mono/; revision=4632
2002-05-14 15:51:15 +00:00
Miguel de Icaza d7e9f25270 2002-05-14 Miguel de Icaza <[email protected]>
* Double.cs: Oops.  Also handle exponents without finding a dot.

svn path=/trunk/mcs/; revision=4631
2002-05-14 15:45:52 +00:00
Paolo Molaro f75ef6b199 Tue May 14 16:59:44 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: fix some endianess issues.

svn path=/trunk/mono/; revision=4629
2002-05-14 14:07:47 +00:00
Tim Coleman 981a308bc5 2002-05-14 Tim Coleman
* System.Data/DataRowBuilder.cs:
                Add stubb for this internal class.

svn path=/trunk/mcs/; revision=4628
2002-05-14 12:08:55 +00:00
Nick Drochak 94205af0d6 2002-05-15 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs:
	Make sure invalid file name has invalid characters in it.  These are
	platform dependant.

svn path=/trunk/mcs/; revision=4627
2002-05-14 11:49:25 +00:00
Nick Drochak eda2a59d10 2002-05-15 Nick Drochak <[email protected]>
* Path.cs (GetDirectoryName): Return String.Empty if there is no
	directory

	* StreamReader.cs: Add some parameter checking on file names.

	* StreamWriter.cs: Add some parameter checking on file names.

svn path=/trunk/mcs/; revision=4626
2002-05-14 11:46:20 +00:00
Paolo Molaro 5cac36d0df Tue May 14 17:13:48 CEST 2002 Paolo Molaro <[email protected]>
* MethodBuilder.cs: revert change in accessibility of
	GetILGenerator(int).

svn path=/trunk/mcs/; revision=4625
2002-05-14 11:27:15 +00:00
Paolo Molaro 5a00c7f977 Tue May 14 16:37:55 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: some finally handling fixes and compilation fixes for
	changes in the runtime lib.

svn path=/trunk/mono/; revision=4623
2002-05-14 11:08:13 +00:00
Paolo Molaro 385da20d95 Tue May 14 16:35:13 CEST 2002 Paolo Molaro <[email protected]>
* CharSet.cs: added missing None enum item.

svn path=/trunk/mcs/; revision=4622
2002-05-14 10:48:17 +00:00
Nick Drochak 5374cbe27d 2002-05-14 Nick Drochak <[email protected]>
* File.cs: Add parameter checks to most methods. Not completely done,
	but all current unit tests pass.

	* Path.cs: Implement GetTempFileName().

svn path=/trunk/mcs/; revision=4621
2002-05-14 10:40:23 +00:00
Nick Drochak 0e79d51e7b 2002-05-14 Nick Drochak <[email protected]>
* StringTest.cs: A couple more tests

svn path=/trunk/mcs/; revision=4620
2002-05-14 10:32:13 +00:00
Nick Drochak 790ca7edd4 2002-05-14 Nick Drochak <[email protected]>
* FileTest.cs: Delete temporary files after each test method; Catch
	unexpected exceptions and report them; Make some Assert messages
	unique; Make sure temp files exist before trying Move and Delete, etc.

svn path=/trunk/mcs/; revision=4619
2002-05-14 10:31:33 +00:00
Dietmar Maurer 7cb732d788 2002-05-14 Dietmar Maurer <[email protected]>
* object.c (mono_runtime_invoke): is now able to catch exceptions.

svn path=/trunk/mono/; revision=4618
2002-05-14 10:08:21 +00:00
Paolo Molaro 1367fc7b85 Tue May 14 13:31:17 CEST 2002 Paolo Molaro <[email protected]>
* FieldBuilder.cs, ParameterBuilder.cs: more special-casing of
	attributes.

svn path=/trunk/mcs/; revision=4617
2002-05-14 07:51:38 +00:00
Dietmar Maurer ed93954e76 2002-05-14 Dietmar Maurer <[email protected]>
* jit.c: only use one TLS slot to store jit data

	* exception.c (arch_handle_exception): print function signature,
	use thread relative end_of_stack

svn path=/trunk/mono/; revision=4616
2002-05-14 07:05:12 +00:00
Dan Lewis 4a7868f5ba 2002-05-14 Dan Lewis <[email protected]>
* icall.c: make GetHashCode return non-negative values.

svn path=/trunk/mono/; revision=4615
2002-05-14 06:25:42 +00:00
Dan Lewis a92a1cb94e 2002-05-14 Dan Lewis <[email protected]>
* object.c, icall.c, gc.c: revert to address-based hashcode.

svn path=/trunk/mono/; revision=4614
2002-05-14 05:55:25 +00:00
Miguel de Icaza 3fe950172c Remove the false
svn path=/trunk/mcs/; revision=4613
2002-05-14 03:41:55 +00:00
Miguel de Icaza d3f71bab8a 2002-05-14 Miguel de Icaza <[email protected]>
* attribute.cs (DoResolve): More uglyness, we now only try to
	resolve the attribute partially, to extract the CharSet
	information (only if we are a StructLayout attribute).  Otherwise

	(GetExtraTypeInfo): Add some code to conditionally kill in the
	future this.   I am more and more convinced that the .NET
	framework has special code to handle the attribute setting on
	certain elements.

	* expression.cs (IsParamsMethodApplicable): Revert my previous
	foreach change here, it was wrong.

svn path=/trunk/mcs/; revision=4612
2002-05-14 03:38:49 +00:00
Miguel de Icaza bad840fd07 Add FreeBSD strtod
svn path=/trunk/mono/; revision=4611
2002-05-13 22:43:03 +00:00
Miguel de Icaza 90a9857102 Add another float test
svn path=/trunk/mcs/; revision=4610
2002-05-13 22:34:51 +00:00
Miguel de Icaza c8d0765032 2002-05-13 Miguel de Icaza <[email protected]>
* Double.cs (Parse): Reimplement by cleaning up the string first,
	and then passing to strtof in the mono runtime.

	* Single.cs (Parse): Use the Double implementation and cast to
	float.

svn path=/trunk/mcs/; revision=4609
2002-05-13 22:33:37 +00:00
Miguel de Icaza 1ebe2ee1a3 2002-05-13 Miguel de Icaza <[email protected]>
* icall.c (mono_double_ParseImpl): Added ParseImpl method.

svn path=/trunk/mono/; revision=4608
2002-05-13 22:32:46 +00:00
Gonzalo Paniagua Javier 9924c56e84 2002-05-14 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog: removed empty entry at the top of the file.

	* Int32.cs: made static functions used by Parse internal.

	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs: removed static fucntions used by Parse and use the ones
	in Int32.cs

svn path=/trunk/mcs/; revision=4607
2002-05-13 22:13:58 +00:00
Lawrence Pit 543a620ce4 * Dnstest.cs: added test for asynchronous methods
svn path=/trunk/mcs/; revision=4605
2002-05-13 20:04:19 +00:00
Lawrence Pit 9660a4c88b * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
relying on standard asynchronous delegate features. Added checks for
	null strings.
	* HttpWebResponse.cs: implemented properties
	* FileWebResponse.cs: improved the way resources are disposed.
	* FileWebRequest.cs: started implementation of asynchronous methods
	* ServicePointManager.cs: implemented properties

svn path=/trunk/mcs/; revision=4604
2002-05-13 19:59:05 +00:00
Dick Porter 6e7e39bd36 2002-05-14 Dick Porter <[email protected]>
* io.c: Fix a cut&paste error, found by
	Jaroslaw Kowalski <[email protected]>

svn path=/trunk/mono/; revision=4603
2002-05-13 19:30:47 +00:00
Mike Gray f13cac4c18 *** empty log message ***
svn path=/trunk/mcs/; revision=4602
2002-05-13 19:07:52 +00:00
Radek Doulik cb091406bf 2002-05-13 Radek Doulik <[email protected]>
* ppc/tramp.c (emit_save_parameters): fix I8 parameters

svn path=/trunk/mono/; revision=4601
2002-05-13 19:00:42 +00:00
Radek Doulik 0c2e0ce4f4 introduced DEBUG, disabled by default
svn path=/trunk/mono/; revision=4599
2002-05-13 17:24:04 +00:00
Miguel de Icaza 0d877c52e7 2002-05-13 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: (pp_primary): Eat the ')' at the end.
	(pp_expr): do not abort on unknown input, just return.
	(eval): abort if there are pending chars.

svn path=/trunk/mcs/; revision=4598
2002-05-13 17:17:46 +00:00
Miguel de Icaza 9ecc235d33 Improve test
svn path=/trunk/mcs/; revision=4597
2002-05-13 17:17:20 +00:00
Miguel de Icaza 0b418c229f 2002-05-13 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Positional parameters are
	optional.  Deal with that case.

svn path=/trunk/mcs/; revision=4596
2002-05-13 17:07:39 +00:00
Miguel de Icaza 423bf2960e 2002-05-13 Miguel de Icaza <[email protected]>
* class.cs (DefineType): Call Attribute.GetExtraTypeInfo to fetch
	the Ansi/Unicode/Auto information for the type.

	(TypeContainer.DefineType): instantiate the EmitContext here, as
	we will be using it during the type definition (to resolve
	attributes) and during the emit phase.

	* attribute.cs (Attribute.GetExtraTypeInfo): This routine is used
	to pull type information out of the attributes

	(Attribute.Resolve): track the constructor builder, and allow for
	multiple invocations (structs and classes will use this).

svn path=/trunk/mcs/; revision=4594
2002-05-13 16:54:57 +00:00
Miguel de Icaza 06403015c7 Add new tests
svn path=/trunk/mcs/; revision=4593
2002-05-13 16:53:57 +00:00
Tim Coleman 761d9d80bb 2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
                The maxRecords check was not correct.

svn path=/trunk/mcs/; revision=4590
2002-05-13 15:00:09 +00:00
Paolo Molaro c21209f2c9 Documented MONO_PATH (partially from Magnus Runesson <[email protected]>).
svn path=/trunk/mono/; revision=4589
2002-05-13 14:53:18 +00:00
Tim Coleman f594cc033d 2002-05-13 Tim Coleman
* System.Data/DataTableCollection.cs:
                Fix an issue when adding a DataTable and size == 0.
                Now explicitly checks if size > 0 before doing Array.Copy ()
        * System.Data.Common/DbDataAdapter.cs:
                Move closer to a working implementation.
                Make the IDbCommand fields protected so that they can
                be inherited.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                This should inherit the IDbCommands instead of having its
                own.  An explicit cast is used to force conversion between
                IDbCommand and SqlCommand

svn path=/trunk/mcs/; revision=4588
2002-05-13 14:30:06 +00:00
Tim Coleman 5da5786484 2002-05-13 Tim Coleman
* System.Data.Common/DataTableMappingCollection.cs:
                Some implementation to allow progress with DbDataAdapter

svn path=/trunk/mcs/; revision=4586
2002-05-13 12:27:32 +00:00
Paolo Molaro f8263fca0c Mon May 13 16:40:30 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, class.c: special case <Module>.

svn path=/trunk/mono/; revision=4585
2002-05-13 10:53:32 +00:00
Tim Coleman d227c7b3ab 2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
                Modify to not break compile.

svn path=/trunk/mcs/; revision=4584
2002-05-13 10:46:38 +00:00
Tim Coleman 04e4f5f468 2002-05-13 Tim Coleman
* System.Data.build:
                include SqlDataAdapter, SqlRowUpdatedEventArgs,
                SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
                SqlRowUpdatingEventHandler in the build.

svn path=/trunk/mcs/; revision=4583
2002-05-13 10:35:21 +00:00
Dietmar Maurer 4bf8af29ee 2002-05-13 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): we need to generate a temporary var for
	SHL/SHR because the tree allocator can fail otherwise

svn path=/trunk/mono/; revision=4582
2002-05-13 09:24:39 +00:00
Dietmar Maurer c8dce7bc39 disable OPT_BOOL
svn path=/trunk/mono/; revision=4581
2002-05-13 08:32:06 +00:00
Dietmar Maurer d6a57257da 2002-05-13 Dietmar Maurer <[email protected]>
* jit.c (OPT_BOOL): new. opt. for boolean variables - we simply
	store them as 32 bit integers.

svn path=/trunk/mono/; revision=4580
2002-05-13 05:38:17 +00:00
Dan Lewis 63415b24cc 2002-05-13 Dan Lewis <[email protected]>
* icall.c: fix bug in GetNow().

svn path=/trunk/mono/; revision=4579
2002-05-13 04:12:55 +00:00
Dietmar Maurer 65b526fceb 2002-05-13 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): EIP now points to the call
	instruction, not to the instruction after the call. This fixes the
	bug reported by Linus Upson (tests/exception8.cs)

svn path=/trunk/mono/; revision=4578
2002-05-13 03:58:36 +00:00
Miguel de Icaza b2febae24c 2002-05-13 Miguel de Icaza <[email protected]>
* ecore.cs (MemberLookupFinal): new version with all the
	parameters customizable.

	* expression.cs (New.DoResolve): Use MemberLookupFinal to locate
	constructors.  Return if the result value is null (as the error
	would have been flagged already by MemberLookupFinal)

	Do not allow instances of abstract classes or interfaces to be
	created.


	(Method.Emit): If the method is marked abstract and has a body,
	emit an error.

svn path=/trunk/mcs/; revision=4577
2002-05-13 02:38:02 +00:00
Miguel de Icaza 188fc21c21 2002-05-13 Miguel de Icaza <[email protected]>
* class.cs: (MethodSignature.InheritableMemberSignatureCompare):
	We have to compare the assembly property here when dealing with
	FamANDAssem and Assembly access modifiers, because we might be
	creating an assembly from *modules* (that means that we are not
	getting TypeBuilders for types defined in other modules that are
	part of this assembly).

	(TypeContainer.DefineMembers): If both the defined member and the
	parent name match are methods, then do not emit any warnings: let
	the Method.Define routine take care of flagging warnings.  But if
	there is a mismatch (method overrides something else, or method is
	overriwritten by something, then emit warning).

	(MethodSignature.MemberSignatureCompare): If the sig.ret_type is
	set to null, this means `do not check for the return type on the
	signature'.

	(Method.Define): set the return type for the method signature to
	null, so that we get methods with the same name and parameters and
	different return types.  This is used to flag warning 114 (you are
	hiding a method, and you probably want to use the new/override
	keywords instead).

	* typemanager.cs (MemberLookup): Implemented proper access
	control, closing a long standing set of bug reports.  The problem
	was that the Framework only has two bits: Public and NonPublic,
	and NonPublic includes private and protected methods, but we need
	to enforce the FamANDAssem, FamOrAssem and Family.

svn path=/trunk/mcs/; revision=4576
2002-05-13 02:16:40 +00:00
Tim Coleman eb4038076d 2002-05-13 Tim Coleman
* System.Data.Common/DbDataAdapter.cs:
                More implementation.
        * System.Data.Common/DataAdapter.cs:
                Correction of some of the stubbing, as well as a
                little bit more implementation

svn path=/trunk/mcs/; revision=4575
2002-05-13 01:49:15 +00:00
Miguel de Icaza e1aa7e1e11 More
svn path=/trunk/mcs/; revision=4574
2002-05-13 00:20:41 +00:00
Miguel de Icaza ed9ad4a434 Small fixes, remove Gtk implicit reference
svn path=/trunk/mcs/; revision=4573
2002-05-13 00:19:32 +00:00
Mike Gray 9640a06565 *** empty log message ***
svn path=/trunk/mcs/; revision=4572
2002-05-12 19:32:34 +00:00
Chris J. Breisch cec9ecc6c6 Added Microsoft.VisualBasic
svn path=/trunk/mcs/; revision=4571
2002-05-12 17:38:21 +00:00
Chris J. Breisch 11edc56824 Should build Microsoft.VisualBasic and Test properly now.
svn path=/trunk/mcs/; revision=4570
2002-05-12 17:24:07 +00:00
Chris J. Breisch 9c7a6a15d9 Test case suite for Collection class
svn path=/trunk/mcs/; revision=4569
2002-05-12 17:22:38 +00:00
Chris J. Breisch ef3d378047 Shouldn't have been in this directory.
svn path=/trunk/mcs/; revision=4568
2002-05-12 17:20:54 +00:00
Chris J. Breisch 5054cc5982 Changed to conform to Mono standards for incomplete functionality.
svn path=/trunk/mcs/; revision=4567
2002-05-12 17:18:57 +00:00
Chris J. Breisch 7ceca15dc7 Fixed to conform to Mono standards for incomplete functionality.
svn path=/trunk/mcs/; revision=4566
2002-05-12 17:16:37 +00:00
Chris J. Breisch 5fa1783cc5 Removed erroneous StructLayoutKindAttribute
svn path=/trunk/mcs/; revision=4565
2002-05-12 17:15:42 +00:00
Chris J. Breisch 38b12be376 Removed erroneous StructLayoutKindAttribute.
svn path=/trunk/mcs/; revision=4564
2002-05-12 17:11:03 +00:00
Chris J. Breisch 64992fdb58 This namespace needs it too.
svn path=/trunk/mcs/; revision=4563
2002-05-12 17:07:47 +00:00
Chris J. Breisch c2c418d316 Fixed Namespace
svn path=/trunk/mcs/; revision=4562
2002-05-12 17:06:47 +00:00
Chris J. Breisch 4c623f5230 Removed erroneous StructLayoutKindAttribute
svn path=/trunk/mcs/; revision=4561
2002-05-12 16:53:50 +00:00
Chris J. Breisch 0ee0a8e548 Fixed to conform to Mono standards for incomplete functionality.
svn path=/trunk/mcs/; revision=4560
2002-05-12 16:50:02 +00:00
Chris J. Breisch e5d3ae0b5c Fixed to conform to Mono standards for incomplete functionality
svn path=/trunk/mcs/; revision=4559
2002-05-12 16:47:43 +00:00
Chris J. Breisch b803e9ff34 Removed erroneous StructLayoutAttribute
svn path=/trunk/mcs/; revision=4558
2002-05-12 16:40:26 +00:00
Chris J. Breisch 063bff7c7c First real version
svn path=/trunk/mcs/; revision=4557
2002-05-12 16:35:52 +00:00
Chris J. Breisch 3914a7d0d0 Needed for Microsoft.VisualBasic.Collection
svn path=/trunk/mcs/; revision=4556
2002-05-12 16:30:30 +00:00
Miguel de Icaza d003d85179 Flush local tree changes
svn path=/trunk/mcs/; revision=4555
2002-05-12 14:56:58 +00:00
Rafael Teixeira 833653fc77 2002-05-12 Rafael Teixeira <[email protected]>
svn path=/trunk/mcs/; revision=4554
2002-05-12 10:18:15 +00:00
Lawrence Pit a0fa972a36 * HttpWebRequest.cs: properties implemented
* HttpWebResponse.cs: added
	* GlobalProxySelection.cs: implemented

svn path=/trunk/mcs/; revision=4553
2002-05-12 09:09:10 +00:00
Dan Lewis b55a75bfa7 2002-05-13 Dan Lewis <[email protected]>
* regex.cs: Fixed bug in split.

svn path=/trunk/mcs/; revision=4552
2002-05-12 08:35:05 +00:00
Lawrence Pit ef931215dd * System.Security.Cryptography.X509Certificates: directory added
svn path=/trunk/mcs/; revision=4551
2002-05-12 08:31:07 +00:00
Lawrence Pit 889afab1de * X509CertificateCollection.cs: implemented
svn path=/trunk/mcs/; revision=4550
2002-05-12 08:30:38 +00:00
Dietmar Maurer 1073470bc9 s/mono_find_var/mono_copy_used_var/
svn path=/trunk/mono/; revision=4549
2002-05-12 05:50:26 +00:00
Nick Drochak 45fe4db70e 2002-05-12 Nick Drochak <[email protected]>
* StringTest.cs: Add a couple more tests.
	* PathTest.cs: Make tests work a bit better on W32 and Linux.

svn path=/trunk/mcs/; revision=4548
2002-05-12 05:33:12 +00:00
Daniel Morgan 76ddf67ebf 2002-05-12 Daniel Morgan <[email protected]>
* IServiceProvider.cs: added using System

svn path=/trunk/mcs/; revision=4547
2002-05-12 03:17:18 +00:00
Daniel Morgan 4914509db5 2002-05-12 Daniel Morgan <[email protected]>
* IComponent.cs
	* ISite.cs: added using System

	* MarshalByValueComponent.cs: changed all throwing of Not ImplementedException
	to // TODOs and added using System.  The throwing of the exceptions prevented
	System.Data from running.

svn path=/trunk/mcs/; revision=4546
2002-05-12 03:15:56 +00:00
Tim Coleman 4d74e0f9fc 2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.Common/DbDataAdapter.cs:
                Moved methods that weren't supposed to
                be in SqlDataAdapter out.  They should be implemented
                in DbDataAdapter.

svn path=/trunk/mcs/; revision=4545
2002-05-11 23:21:09 +00:00
Tim Coleman 726481ec5a 2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
                some implementation of this class.  Note
                that none of the functionality has been
                tested yet, but I felt it should be checked
                in at this point as it compiles.
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
                Modified so that they will compile properly.
                Needed to include SqlDataAdapter in the build.

svn path=/trunk/mcs/; revision=4544
2002-05-11 22:38:12 +00:00
Tim Coleman 21b8422b9a 2002-05-11 Tim Coleman
* System.Data.SqlClient/SqlDataAdapter.cs:
                some implementation of this class.  Note
                that none of the functionality has been
                tested yet, but I felt it should be checked
                in at this point as it compiles.
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
                Modified so that they will compile properly.
                Needed to include SqlDataAdapter in the build.
        * System.Data.build:
                Add SqlDataAdapter, SqlRowUpdatingEventArgs,
                SqlRowUpdatedEventArgs, SqlRowUpdatingEventHandler,
                SqlRowUpdatedEventHandler to the build.

svn path=/trunk/mcs/; revision=4543
2002-05-11 22:31:29 +00:00
Rafael Teixeira 7f042a0a40 Ooops! forgot to add a source file
svn path=/trunk/mcs/; revision=4542
2002-05-11 22:26:07 +00:00
Rafael Teixeira ff3a7cc6b9 Still not all of Martin code, but now compiles Microsoft.VisualBasic.DLL
svn path=/trunk/mcs/; revision=4541
2002-05-11 22:24:07 +00:00
Lawrence Pit 0f316137a0 * FileWebResponse.cs: added
* FileWebRequest.cs: some methods implemented

svn path=/trunk/mcs/; revision=4540
2002-05-11 21:31:35 +00:00
Lawrence Pit 67784058ca * NameValueCollection.AsStringArray: fixed ArgumentNullException bug.
svn path=/trunk/mcs/; revision=4539
2002-05-11 21:26:46 +00:00
Lawrence Pit be9f1f1a9f another w32 path fix
svn path=/trunk/mcs/; revision=4538
2002-05-11 21:23:09 +00:00
Miguel de Icaza 17e71ee49d Remove references to GNU/Linux, and leave only Unix
svn path=/trunk/mono/; revision=4537
2002-05-11 21:15:33 +00:00
Rafael Teixeira 3ff22f9631 cleaning some wrong comments
svn path=/trunk/mcs/; revision=4536
2002-05-11 20:57:04 +00:00
Lawrence Pit 30fbcceff6 * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32
and *nix filepaths

svn path=/trunk/mcs/; revision=4535
2002-05-11 20:18:50 +00:00
Rodrigo Moya 5957b40b3b 2002-05-11 Rodrigo Moya <[email protected]>
* System.Data/DataTable.cs (Clear): implemented.
	(DataTable): removed repeated code in constructors, and call the
	basic constructor from the others.

	* System.Data/DataColumn.cs: some tweaks.

	* System.Data/DataRow.cs (RowState): implemented.
	(CancelEdit): set rowState property back to Unchanged.
	(RejectChanges): call CancelEdit.
	(Delete): set rowState to Deleted.

svn path=/trunk/mcs/; revision=4534
2002-05-11 19:31:30 +00:00
Daniel Morgan 3ea6c41dd3 2002-05-11 Daniel Morgan <[email protected]>
* System.Data.build: added copy of System.Data.dll to Test directory
	for easy testing.  Also, added clean for it too.

	* System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean

svn path=/trunk/mcs/; revision=4533
2002-05-11 15:44:44 +00:00
Daniel Stodden d89628eae5 - System.CodeDom review, ns more or less complete now
svn path=/trunk/mcs/; revision=4532
2002-05-11 15:44:41 +00:00
Lawrence Pit 21897fd452 WebHeaderCollection implemented
svn path=/trunk/mcs/; revision=4531
2002-05-11 15:30:44 +00:00
Rafael Teixeira 8226602c55 Moving various files as pointed by Chris
svn path=/trunk/mcs/; revision=4530
2002-05-11 14:25:57 +00:00
Daniel Morgan 9f2f9dfac0 2002-05-11 Daniel Morgan <[email protected]>
* System.Data.build: added copy of System.Data.dll to Test directory
	for easy testing.  Also, added clean for it too.

	* System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
	from PostgreSQL data type to .NET type.

	* System.Data.SqlClient/SqlDataReader.cs: beginnings
	handling of a NULL value from the database

	* Test/PostgresTest.cs: added tests for NULL values retrieved
	from the database

	* Test/ReadPostgresData.cs
	* Test/TestExecuteScalar.cs
	* Test/TestSqlDataReader.cs
	* Test/TestSqlException.cs
	* Test/TestSqlIsolationLevel.cs: updated tests to use databas user
	"postgres".  These tests may eventually be removed since they
	are not flexible.

svn path=/trunk/mcs/; revision=4529
2002-05-11 12:58:32 +00:00
Daniel Morgan 8a46818d19 2002-05-11 Daniel Morgan <[email protected]>
* AllTests.cs: needed a using for System.Data and System.Data.SqlClient,
	changed SqlTypes.AllTests.Suite to System.Data.SqlTypes.AllTests.Suite

	* System.Data/DataColumnTest.cs: changed typeof to DataColumnTest

svn path=/trunk/mcs/; revision=4528
2002-05-11 11:32:55 +00:00
Dietmar Maurer b3dcd9c9b2 added initlocals.exe test
svn path=/trunk/mono/; revision=4527
2002-05-11 11:32:23 +00:00
Dietmar Maurer fcafc32fbc *** empty log message ***
svn path=/trunk/mono/; revision=4526
2002-05-11 10:50:44 +00:00
Dietmar Maurer ae1a57084f Dietmar Maurer <[email protected]>
mono_stack_duplicate_used_var): impl.
	(mono_copy_used_var): impl.

svn path=/trunk/mono/; revision=4525
2002-05-11 10:43:14 +00:00
Lawrence Pit 3576832989 finished WebRequest.cs
svn path=/trunk/mcs/; revision=4524
2002-05-11 09:33:16 +00:00
Dietmar Maurer 1e3f06d989 fixed my last commit
svn path=/trunk/mono/; revision=4523
2002-05-11 06:45:55 +00:00
Dietmar Maurer 2ab39a5f8f 2002-05-11 Dietmar Maurer <[email protected]>
* object.c (mono_runtime_class_init): make sure that we call all
	static class constructors.

svn path=/trunk/mono/; revision=4522
2002-05-11 06:31:13 +00:00
Dietmar Maurer 4ee685daa3 2002-05-11 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_flow): always allocate the forest array

svn path=/trunk/mono/; revision=4521
2002-05-11 06:02:47 +00:00
Dan Lewis a5196e86e3 Added zero-initialise benchmark.
svn path=/trunk/mono/; revision=4520
2002-05-11 05:45:55 +00:00
Daniel Morgan 848fe56dde 2002-05-11 Daniel Morgan <[email protected]>
* doc/ado-net: added instructions for installing PostgreSQL on Linux
	and for using nant to re-compile just the System.Data.dll assembly
	on Windows.

svn path=/trunk/mono/; revision=4519
2002-05-11 05:38:17 +00:00
Dietmar Maurer 9c4653049a 2002-05-11 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in SHR/SHL

svn path=/trunk/mono/; revision=4518
2002-05-11 05:16:04 +00:00
Dietmar Maurer cc5deacb84 2002-05-11 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_prologue): check if live_in_set != NULL

svn path=/trunk/mono/; revision=4517
2002-05-11 04:25:13 +00:00
Miguel de Icaza aa0d586b18 2002-05-11 Miguel de Icaza <[email protected]>
* test-49.cs: Improve test.

svn path=/trunk/mcs/; revision=4516
2002-05-11 01:17:52 +00:00
Miguel de Icaza d4acecfc06 2002-05-11 Miguel de Icaza <[email protected]>
* statement.cs (GotoCase): Return true: Ammounts to giving up
	knowledge on whether we return or not, and letting the other case
	be responsible for it.

svn path=/trunk/mcs/; revision=4515
2002-05-11 01:11:26 +00:00
Miguel de Icaza 61ae76c604 2002-05-10 Miguel de Icaza <[email protected]>
* driver.cs: Do not load directories for each file processed, only
	do it if there is a pattern.

svn path=/trunk/mcs/; revision=4514
2002-05-11 00:06:47 +00:00
Dennis Hayes 9fdee9fbee 2002-5-10 Dennis Hayes
* added IMessageFilter
* Interfaces complete

svn path=/trunk/mcs/; revision=4513
2002-05-10 21:32:40 +00:00
Miguel de Icaza 1a6ce86c25 Sigh, back out
svn path=/trunk/mcs/; revision=4512
2002-05-10 20:55:44 +00:00
Sergey Chaban 2b303534b7 * Environment.cs: implement TickCount with internal call;
svn path=/trunk/mcs/; revision=4511
2002-05-10 20:53:46 +00:00
Sergey Chaban 1141f94409 * icall.c: implement Environment.TickCount;
svn path=/trunk/mono/; revision=4510
2002-05-10 20:51:19 +00:00
Miguel de Icaza 4cb6eb3854 2002-05-10 Miguel de Icaza <[email protected]>
* ecore.cs: Report readonly assigns here as well, as we might have
	been resolved only by MemberAccess.

	(SimpleName.SimpleNameResolve): Also be useful for LValue
	resolution.   We need this to propagate assign to local readonly variables

svn path=/trunk/mcs/; revision=4509
2002-05-10 20:50:19 +00:00
Miguel de Icaza f5ab137807 2002-05-10 Miguel de Icaza <[email protected]>
* ecore.cs: Report readonly assigns here as well, as we might have
	been resolved only by MemberAccess.

svn path=/trunk/mcs/; revision=4508
2002-05-10 20:22:17 +00:00
Miguel de Icaza 74084a8ed4 New tests
svn path=/trunk/mcs/; revision=4507
2002-05-10 20:21:34 +00:00
Rodrigo Moya 5f8029d2ff 2002-05-10 Rodrigo Moya <[email protected]>
* doc/ado-net: added instructions for compiling System.Data.dll
	(a subset of) on Linux.

svn path=/trunk/mono/; revision=4506
2002-05-10 20:02:03 +00:00
Sergey Chaban a11775fb49 * mono.c, jit.c, jit.h, x86.brg: implemented new --fast-iconv option;
svn path=/trunk/mono/; revision=4505
2002-05-10 19:53:51 +00:00
Miguel de Icaza a7d67773b4 2002-05-10 Miguel de Icaza <[email protected]>
* typemanager.cs: Use a ptrhashtable for the criteria, because we
	do not want to reuse potential criteria memory.

	* class.cs (MyEventBuilder): Set reflected_type;

	* ecore.cs (Constantify): Added support for constifying bools.

	(RootContext.LookupType): Added a cache for values looked up in
	the declaration space.

svn path=/trunk/mcs/; revision=4504
2002-05-10 19:47:26 +00:00
Rodrigo Moya e0882a0d2e 2002-05-10 Rodrigo Moya <[email protected]>
* System.Data.build: removed reference to non-existant
	TestDataColumn.cs file.

	* System.Data/DataSet.cs: added some implementation.

svn path=/trunk/mcs/; revision=4503
2002-05-10 19:39:43 +00:00
Rodrigo Moya fc2b501894 2002-05-10 Rodrigo Moya <[email protected]>
* TestDataColumn.cs: removed.

	* System.Data_test.build: removed reference to TestDataColumn.

	* TheTests.cs: added RunDataColumnTest class.
	(RunAllTests.AddAllTests): added test for RunDataColumnTest.

        * System.Data/AllTests.cs: test suite for System.Data.

svn path=/trunk/mcs/; revision=4502
2002-05-10 19:38:49 +00:00
Rodrigo Moya ee7724ddfb 2002-05-09 Rodrigo Moya <[email protected]>
* System.build: don't exclude anymore excluded files in
	System.ComponentModel. They compile on Linux, so they might also
	on Windows.

svn path=/trunk/mcs/; revision=4501
2002-05-10 19:27:32 +00:00
Sergey Chaban b8bad058ef * x86-codegen.h: renamed FP int macro for consistency (its arg is really a membase, not mem);
svn path=/trunk/mono/; revision=4500
2002-05-10 19:25:15 +00:00
Rodrigo Moya 35911a46b2 2002-05-10 Rodrigo Moya <[email protected]>
* EventDescriptorCollection.cs (this[index]): call eventList[index],
	not this[index], which issues an 'ambigous call' error on Linux.

svn path=/trunk/mcs/; revision=4499
2002-05-10 19:23:35 +00:00
Duncan Mak aba2324a17 2002-05-10 Duncan Mak <[email protected]>
* ConstructorNeedsTagAttribute.cs:
	* ControlBuilderAttribute.cs:
	* ImageClickEventArgs.cs:
	* ParseChildrenAttribute.cs:
	* PartialCachingAttribute.cs:
	* PersistChildrenAttribute.cs:
	* PersistenceModeAttribute.cs:
	* TemplateContainerAttribute.cs: Added to CVS.

	* PersistanceMode.cs: Removed, fixed typo.
	* PersistenceMode.cs: Replacing above.

	* StateBag.cs (this): Fixed indexer, it takes a string as the
	index, not an object.

svn path=/trunk/mcs/; revision=4498
2002-05-10 18:51:24 +00:00
Dan Lewis a76c2aeafc 2002-05-10 Dan Lewis <[email protected]>
* io.c:	Nasty typo.

svn path=/trunk/mono/; revision=4497
2002-05-10 18:02:50 +00:00
Radek Doulik 3d5589c4e5 add <BR>
svn path=/trunk/mono/; revision=4496
2002-05-10 17:47:10 +00:00
Radek Doulik c46ad51888 added ppc
svn path=/trunk/mono/; revision=4495
2002-05-10 17:43:10 +00:00
Radek Doulik f2584f1b83 added ppc port info
svn path=/trunk/mono/; revision=4494
2002-05-10 17:43:01 +00:00
Miguel de Icaza 2737794b45 2002-05-10 Miguel de Icaza <[email protected]>
* typemanager.cs (FindMembers): Now is a front-end to
	RealFindMembers, and provides a two-level hashtable-based cache to
	the request.

	15% performance improvement: from 22.5 to 19.2 seconds.

svn path=/trunk/mcs/; revision=4493
2002-05-10 17:33:28 +00:00
Duncan Mak b82629004d 2002-05-10 Duncan Mak <[email protected]>
* ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.

	* Page.cs (Validators): return type should be ValidatorCollection,
	not ValidatedCollection.

svn path=/trunk/mcs/; revision=4492
2002-05-10 17:26:48 +00:00
Duncan Mak 47f3a806b1 2002-05-10 Duncan Mak <[email protected]>
* HtmlTableCellCollection.cs (this): Updated the indexer to return
	the right type, HtmlTableCell instead of HtmlTableRow.

	* TagPrefixAttribute.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4491
2002-05-10 17:22:55 +00:00
Paolo Molaro 1c42a68366 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <[email protected]>
* main.c: print field offset info if needed.

svn path=/trunk/mono/; revision=4490
2002-05-10 15:13:37 +00:00
Paolo Molaro da5670a148 Fri May 10 20:57:27 CEST 2002 Paolo Molaro <[email protected]>
* CustomAttributeBuilder.cs: expose internal data for use in
	reflection.
	* FieldBuilder.cs, TypeBuilder.cs: special case FieldOffset and
	StructLayout attributes.

svn path=/trunk/mcs/; revision=4489
2002-05-10 15:12:29 +00:00
Duncan Mak bab5fdb7f4 2002-05-10 Duncan Mak <[email protected]>
* System.Web.build: Include the System.Web.UI.HtmlControls namespace.

	* Page.cs:
	* ValidatorCollection.cs: Stubs to make things compile for
	now. Added one dummy method (RegisterClientScriptFile) that's used
	in the existing codebase,  but not in MS docs.

	* HtmlInputImage.cs (OnServerClick): Commented out parts that
	won't compile.

	* HtmlForm.cs (RenderAttributes):
	(RenderChildren): Commented out code that doesn't compile.

svn path=/trunk/mcs/; revision=4488
2002-05-10 15:02:22 +00:00
Duncan Mak 4ba1736061 2002-05-07 Duncan Mak <[email protected]>
* Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.

svn path=/trunk/mcs/; revision=4487
2002-05-10 14:12:41 +00:00
Duncan Mak e6f6cf1776 2002-05-07 Duncan Mak <[email protected]>
* Button.cs (AddAttributesToRender):
	* ImageButton.cs (AddAttributesToRender): Added a missing argument to the
	GetClientValidatedEvent method.

svn path=/trunk/mcs/; revision=4486
2002-05-10 14:11:57 +00:00
Duncan Mak 9c19cc267c 2002-05-07 Duncan Mak <[email protected]>
* HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
	clashing with the method defined in the parent class.
	(OnDataBinding): Added missing casts.

	* HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
	'this' to IAttributeAccessor before calling interface method.
	Also renamed some calls to reflect changes in the API.

	* HtmlControl.cs (WriteOnClickAttribute): Made it not static and
	fixed a typo.

svn path=/trunk/mcs/; revision=4485
2002-05-10 14:11:22 +00:00
Radek Doulik ac393b8e4a updated for new strings
svn path=/trunk/mono/; revision=4484
2002-05-10 13:39:09 +00:00
Paolo Molaro ad88cac800 Fri May 10 18:14:51 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: sort methodsemantics table.

svn path=/trunk/mono/; revision=4483
2002-05-10 12:27:33 +00:00
Dan Lewis 4181fa9323 2002-05-10 Dan Lewis <[email protected]>
* emit-x86.c: simple definite assignment analysis optimization for
	uninitialized locals.

svn path=/trunk/mono/; revision=4482
2002-05-10 12:08:39 +00:00
Paolo Molaro 706661ed4c Fri May 10 16:31:49 CEST 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: honour init locals setting.

svn path=/trunk/mono/; revision=4481
2002-05-10 10:44:41 +00:00
Paolo Molaro 84d5f63138 Fri May 10 16:30:57 CEST 2002 Paolo Molaro <[email protected]>
* MethodBuilder.cs, ConstructorBuilder.cs: implemented InitLocals
	property.

svn path=/trunk/mcs/; revision=4480
2002-05-10 10:44:33 +00:00
Nick Drochak cc3463e338 2002-05-10 Nick Drochak <[email protected]>
* StreamWriter.cs (Flush): Throw proper exception if internal stream
	has already been closed when we try to flush.

svn path=/trunk/mcs/; revision=4479
2002-05-10 10:19:22 +00:00
Paolo Molaro 96221a7de3 Fri May 10 15:43:53 CEST 2002 Paolo Molaro <[email protected]>
* x86.brg, emit-x86.c: patch the branch targets with x86_patch().

svn path=/trunk/mono/; revision=4478
2002-05-10 10:06:06 +00:00
Paolo Molaro 231b440c44 Fri May 10 15:43:53 CEST 2002 Paolo Molaro <[email protected]>
* x86.brg, emit-x86.c: patch the branch targets with x86_patch().

svn path=/trunk/mono/; revision=4477
2002-05-10 09:57:33 +00:00
Dietmar Maurer 6ce667d328 2002-05-10 Dietmar Maurer <[email protected]>
* linear-scan.c (mono_update_gen_set): improvement/bug fix

svn path=/trunk/mono/; revision=4476
2002-05-10 09:10:54 +00:00
Dietmar Maurer e97c9c62aa 2002-05-10 Dietmar Maurer <[email protected]>
* x86.brg: added additional rules to handle global allocated registers

svn path=/trunk/mono/; revision=4475
2002-05-10 08:15:33 +00:00
Daniel Morgan 5e3bced3b0 2002-05-10 Daniel Morgan <[email protected]>
* doc/ado-net: added links

svn path=/trunk/mono/; revision=4474
2002-05-10 07:45:33 +00:00
Paolo Molaro 52926c0e91 Fix checks in x86_patch().
svn path=/trunk/mono/; revision=4473
2002-05-10 07:24:08 +00:00
Dietmar Maurer 2fe1026336 2002-05-10 Dietmar Maurer <[email protected]>
* mono.c (usage): the option is called --nols, and it dissables
	linear scan.

	* x86.brg: better LDIND_R4, LDIND_R8, STIND_R4, STIND_R8

svn path=/trunk/mono/; revision=4472
2002-05-10 04:28:58 +00:00
Nick Drochak e64e1fda3a 2002/05/10 Nick Drochak <[email protected]>
* StreamWriterTest.cs: Use "resources" directory and use OS friendly
	directory separator characters.  This makes the tests run correctly
	against MS.NET, but not yet in mono on Linux.

svn path=/trunk/mcs/; revision=4471
2002-05-10 03:39:58 +00:00
Nick Drochak d54a5d843a 2002/05/10 Nick Drochak <[email protected]>
* FileNotFoundException.cs (ToString): Don't try to use the inner
	exception, because it might be null.  Use the message instead.

svn path=/trunk/mcs/; revision=4470
2002-05-10 01:35:26 +00:00
Miguel de Icaza 1e2698fd0d 2002-05-10 Miguel de Icaza <[email protected]>
* expression.cs (IsParamsMethodApplicable): use foreach.
	(Invocation.DoResolve): ditto.
	(New.DoResolve): ditto.
	(ArrayCreation.DoResolve): ditto.

	* ecore.cs (FindMostEncompassingType): use foreach.

	* delegate.cs (NewDelegate.DoResolve): Use foreach

	* ecore.cs (Expression.FindMostSpecificSource): Use foreach.
	(RemoveMethods): use foreach.

	* expression.cs (Invocation.MakeUnionSet): Optimization: Use two
	nested foreach statements instead of for, and also break out of
	the inner loop once a match is found.

	(Invocation.OverloadResolve): Use foreach, simplify the code.

svn path=/trunk/mcs/; revision=4469
2002-05-10 01:29:12 +00:00
Rafael Teixeira 4faa05ee90 kick off
svn path=/trunk/mcs/; revision=4468
2002-05-10 00:16:21 +00:00
Rafael Teixeira fe3ce035e4 *** empty log message ***
svn path=/trunk/mcs/; revision=4467
2002-05-10 00:06:34 +00:00
Rafael Teixeira 291013ba79 *** empty log message ***
svn path=/trunk/mcs/; revision=4466
2002-05-09 23:22:32 +00:00
Rafael Teixeira d6bd640e12 *** empty log message ***
svn path=/trunk/mcs/; revision=4465
2002-05-09 23:05:01 +00:00
Rafael Teixeira 74a2e7d005 Uneeded
svn path=/trunk/mcs/; revision=4464
2002-05-09 22:56:07 +00:00
Rafael Teixeira bb5e5ed90b Small makefile correction
svn path=/trunk/mcs/; revision=4463
2002-05-09 22:54:46 +00:00
Miguel de Icaza e18fb6bd01 Improve test
svn path=/trunk/mcs/; revision=4462
2002-05-09 22:46:18 +00:00
Miguel de Icaza d69ea42021 News update
svn path=/trunk/mono/; revision=4461
2002-05-09 22:45:54 +00:00
Dennis Hayes aeb21b49f7 2002-5-9 Dennis Hayes
* Check in for John Rebbeck
* added new ViewScrollbar class

svn path=/trunk/mcs/; revision=4460
2002-05-09 21:42:30 +00:00
Lawrence Pit 9c8c84fb61 * Modified signature of method ListDictionary.GetEnumerator
svn path=/trunk/mcs/; revision=4459
2002-05-09 20:06:06 +00:00
Lawrence Pit f31d7f7c44 * HybridDictionary.cs: implemented
* CollectionsUtil.cs: implemented
	* BitVector32.cs: implemeneted
	* Modified signature of method ListDictionary.GetEnumerator

svn path=/trunk/mcs/; revision=4458
2002-05-09 20:05:33 +00:00
Daniel Morgan 608ee73d25 2002-05-09 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: got
	PostgreSQL data types time, date, timestamp (DateTime like)
	mapped to .NET System.DateTime working based
	on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
	Also mapped pg type boolean to .net Boolean

	* SqlClient/SqlConnection.cs: run SQL command to set
	Date style to ISO

	* Test/PostgresTest.cs: added test for an UPDATE SQL command,
	added tests for aggregates min(), max(), sum(), count().  could
	not get avg() to work due to some formatting error; someone claimed
	that it was my locale settings.  added tests for SELECT of columns
	of type boolean, float, double, date, time, and timestamp.  They
	have not been fully tested, but its a start.

svn path=/trunk/mcs/; revision=4457
2002-05-09 19:59:29 +00:00
Daniel Morgan ebeb0a852f 2002-05-09 Daniel Morgan <[email protected]>
* Single.cs: copied ToString() and Parse() methods from
	Double to Single and modified a tiny bit for Single.
	There is still a FIXME for Double and Single about
	passing the format and provider info to the icall too.

svn path=/trunk/mcs/; revision=4456
2002-05-09 19:12:00 +00:00
Daniel Morgan 7c64dd69d2 Thu May 9 18:50:00 EDT 2002 Daniel Morgan <[email protected]>
* icall.c: copied Double ToStringImpl for Single ToStringImpl

svn path=/trunk/mono/; revision=4455
2002-05-09 19:04:11 +00:00
Daniel Morgan 4edc618bd2 2002-05-09 Daniel Morgan <[email protected]>
* AUTHORS: add me to class libraries list

svn path=/trunk/mcs/; revision=4454
2002-05-09 18:48:44 +00:00
Ravi Pratap M 29b59dfa94 These tests run fine but were excluded from the suite. So we fix that ;-)
svn path=/trunk/mcs/; revision=4453
2002-05-09 18:08:10 +00:00
Miguel de Icaza 1ca0e35ccf 2002-05-09 Dietmar Maurer <[email protected]>
* linear-scan.c: linear scan reg. allocation and data flow analysis
	use Paolo's great bitset implementation.

svn path=/trunk/mono/; revision=4452
2002-05-09 18:05:22 +00:00
Ravi Pratap M e964ea2671 Add myself ;-)
svn path=/trunk/mcs/; revision=4451
2002-05-09 17:54:26 +00:00
Dick Porter 14e2ef8e0a Made message fit in 80 cols without wrapping, fixed typo too.
svn path=/trunk/mono/; revision=4450
2002-05-09 16:51:28 +00:00
Dick Porter aedc931dce Put network includes in sockets.h
svn path=/trunk/mono/; revision=4449
2002-05-09 16:18:45 +00:00
Dick Porter 626757c848 2002-05-09 Dick Porter <[email protected]>
* configure.in: Set CPPFLAGS not CFLAGS (bug 23767)

2002-05-09  Dick Porter  <[email protected]>

	* threads.c:
	* semaphores.c:
	* processes.c:
	* mutexes.c:
	* handles-private.h:
	* events.c:
	* Makefile.am: Remove now-unused file wait-private.h

svn path=/trunk/mono/; revision=4448
2002-05-09 15:34:00 +00:00
Lawrence Pit c6fe2fd7f7 modified AllTests.cs
svn path=/trunk/mcs/; revision=4447
2002-05-09 13:48:36 +00:00
Lawrence Pit fb4b1464ad Files moved to separate dir
svn path=/trunk/mcs/; revision=4446
2002-05-09 13:37:46 +00:00
Lawrence Pit b04cb804fe Moved StringCollectionTest.cs and NameValueCollectionTest to this dir
svn path=/trunk/mcs/; revision=4445
2002-05-09 13:28:33 +00:00
Dietmar Maurer 15dc646053 use Paolo's great bitset implementation.
svn path=/trunk/mono/; revision=4444
2002-05-09 13:18:50 +00:00
Dick Porter a4bb9199bf Boilerplate comments
svn path=/trunk/mono/; revision=4443
2002-05-09 13:10:19 +00:00
Daniel Morgan 37c13defd6 2002-05-09 Daniel Morgan <[email protected]>
* System.Data_test.build: exclude file TestDataColumn.cs
	test.build files have two places where a file needs to
	be excluded

svn path=/trunk/mcs/; revision=4442
2002-05-09 13:03:45 +00:00
Paolo Molaro 4a38370baa Thu May 9 17:23:17 CEST 2002 Paolo Molaro <[email protected]>
* monobitset.c, monibitset.h: bit set data structure.
	Not included in the build yet because the jit has some symbol clashes
	with it.

svn path=/trunk/mono/; revision=4441
2002-05-09 11:36:41 +00:00
Dietmar Maurer e47057878b added linear scan to mono (use --ls to enable it)
svn path=/trunk/mono/; revision=4440
2002-05-09 11:16:20 +00:00
Lawrence Pit 386573a380 * Rewrote IPAddress.Parse method, passing all unit tests
svn path=/trunk/mcs/; revision=4439
2002-05-09 10:43:34 +00:00
Lawrence Pit 599885c104 added call to System.AllTests
svn path=/trunk/mcs/; revision=4438
2002-05-09 09:06:27 +00:00
Lawrence Pit 13666c9f85 * Added tests to IPAddressTest.cs
* Fixed tests in CookieTest.cs, SocketPermissionsTest.cs, IPEndPointTest.cs

svn path=/trunk/mcs/; revision=4437
2002-05-09 09:04:02 +00:00
Lawrence Pit c55ce9b7f8 fix for Uri.GetLeftPart
svn path=/trunk/mcs/; revision=4436
2002-05-09 08:57:13 +00:00
Lawrence Pit 786a3bc57b 2002-05-09 Lawrence Pit <[email protected]>
* fixed bug in IPEndPoint.Equals method
	* fixed bug in IPAddress.Parse method
	* fixed bug in IPAddress.SwapLong method
	* fixed several bugs in Cookie.cs

svn path=/trunk/mcs/; revision=4435
2002-05-09 07:53:17 +00:00
Tim Coleman c533ddb7d5 2002-05-09 Tim Coleman <[email protected]>
* System.Data.SqlTypes/SqlDecimal.cs: Implementations of
        addition, subtraction, and multiplication for the
        SqlDecimal type, as well as modification of some other
        operations.  More to come on this one.

svn path=/trunk/mcs/; revision=4434
2002-05-09 02:30:28 +00:00
Dennis Hayes 04b4d3a9e6 2002-5-8 Dennis Hayes <[email protected]>
Dennis Hayes <[email protected]>
Checking in new System.Windows.forms classe for Paul Osman <[email protected]>

* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
Stubbed and commented out

svn path=/trunk/mcs/; revision=4433
2002-05-09 00:33:27 +00:00
Dennis Hayes 63212c9484 2002-5-8 Dennis Hayes <[email protected]>
Dennis Hayes <[email protected]>
Checking in new System.Windows.forms classe for John Rebbeck <[email protected]>

* UserControl.cs
Stubbed and commented out

svn path=/trunk/mcs/; revision=4432
2002-05-09 00:25:16 +00:00
Dennis Hayes 6bc41d1e4e 2002-5-8 Dennis Hayes <[email protected]>
Dennis Hayes <[email protected]>
Checking in new System.Windows.forms classes (a* to c*) for 
Jaak Simm <[email protected]>
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContentsResizedEventArgs.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* Classes stubbed and commented out.

svn path=/trunk/mcs/; revision=4431
2002-05-08 23:58:51 +00:00
Dennis Hayes a3a652ad58 2002-5-8 Dennis Hayes <[email protected]>
* RichTextBoxFinds.cs
* RichTextBoxScrollBars.cs
* RichTextBoxSelectionAttribute.cs
* RichTextBoxSelectionTypes.cs
* RichTextBoxStreamType.cs
* RichTextBoxWordPunctuations.cs
* RightToLeft.cs
* ScrollBars.cs
* ScrollButton.cs
* ScrollEventType.cs
* SecurityIDType.cs
* SelectionMode.cs
* Shortcut.cs
* SizeGripStyle.cs
* SortOrder.cs
* StatusBarPanelAutoSize.cs
* StatusBarPanelBorderStyle.cs
* StatusBarPanelStyle.cs
* StructFormat.cs
* TabAlignment.cs
* TabAppearance.cs
* TabDrawMode.cs
* TabSizeMode.cs
* TickStyle.cs
* ToolBarAppearance.cs
* ToolBarButtonStyle.cs
* ToolBarTextAlign.cs
* TreeViewAction.cs
* UICues.cs
* View.cs
* Added enums.
* All System.Windows.Forms enums complete with correct values.

svn path=/trunk/mcs/; revision=4428
2002-05-08 22:10:19 +00:00
Miguel de Icaza 63155ebc1e 2002-05-08 Miguel de Icaza <[email protected]>
* cfold.cs (BinaryFold): During an enumeration evaluation context,
	we actually unwrap the expression to allow for extra information
	to be extracted.

svn path=/trunk/mcs/; revision=4427
2002-05-08 21:24:02 +00:00
Miguel de Icaza 2f160086eb 2002-05-08 Miguel de Icaza <[email protected]>
* expression.cs: Use Shr_Un on unsigned operations.

svn path=/trunk/mcs/; revision=4426
2002-05-08 19:59:16 +00:00
Mike Kestner 67cccc9430 2002-05-08 Mike Kestner <[email protected]>
* XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.

svn path=/trunk/mcs/; revision=4425
2002-05-08 19:31:22 +00:00
Daniel Carrera 31b5b392a2 Added stubbs from Scroll* to StatusBar.cs
svn path=/trunk/mcs/; revision=4423
2002-05-08 14:58:07 +00:00
Miguel de Icaza e01fb0781c Added new files from Martin Adoue <[email protected]>
svn path=/trunk/mcs/; revision=4422
2002-05-08 14:51:40 +00:00
Paolo Molaro d3940b62b6 Revert broken changes.
svn path=/trunk/mcs/; revision=4420
2002-05-08 14:01:29 +00:00
Dick Porter 40e2ffd555 *** empty log message ***
svn path=/trunk/mono/; revision=4419
2002-05-08 13:42:57 +00:00
Ravi Pratap M 65934811e2 2002-05-08 Ravi Pratap <[email protected]>
* ecore.cs (FindMostEncompass*): Fix trivial bug where the set of
	applicable operators was not being considered correctly. This closes
	the bug Miguel reported.

svn path=/trunk/mcs/; revision=4418
2002-05-08 13:26:30 +00:00
Ravi Pratap M 4d9c0295d3 Add.
svn path=/trunk/mcs/; revision=4417
2002-05-08 13:25:57 +00:00
Piers Haken 9e63489461 Miscellaneous minor compliancy fixes:
* System/System/UriBuilder.cs: use visible EscapeString
	* corlib/System.Reflection/ManifestResourceInfo.cs: constructor access, define fields
	* corlib/System/Convert.cs: remove erroneous CLSCompliant attributes
	* corlib/System/Math.cs: remove erroneous CLSCompliant attribute

	Fix enum values:
	* System/System.CodeDom/CodeBinaryOperatorType.cs
	* System/System.Net.Sockets/ProtocolFamily.cs
	* corlib/System.Globalization/CultureTypes.cs
	* corlib/System.Reflection/FieldAttributes.cs
	* corlib/System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
	* corlib/System.Security.Cryptography/CipherMode.cs
	* corlib/System.Security.Cryptography/CspProviderFlags.cs
	* corlib/System.Security.Cryptography/PaddingMode.cs
	* corlib/System.Security.Permissions/IsolatedStorageContainment.cs
	* corlib/System.Security.Permissions/ReflectionPermissionFlag.cs
	* corlib/System.Security.Permissions/SecurityPermissionFlag.cs
	* corlib/System.Security/PolicyLevelType.cs
	* corlib/System.Security/SecurityZone.cs
	* corlib/System/AttributeTargets.cs
	* corlib/System/Environment.cs

	Remove redundant overrides:
	* corlib/System.Reflection.Emit/EnumBuilder.cs
	* corlib/System.Reflection.Emit/TypeBuilder.cs
	* corlib/System/MissingFieldException.cs
	* corlib/System/MissingMemberException.cs
	* corlib/System/MissingMethodException.cs

	Fix visibility and access modifiers:
	* System/System.CodeDom.Compiler/CodeGenerator.cs
	* System/System.Collections.Specialized/NameObjectCollectionBase.cs
	* System/System.Collections.Specialized/NameValueCollection.cs
	* System/System.ComponentModel/EventDescriptor.cs
	* System/System.ComponentModel/EventDescriptorCollection.cs
	* System/System.Diagnostics/ProcessStartInfo.cs
	* System/System.Net/DnsPermission.cs
	* System/System.Net/SocketPermission.cs
	* System/System/Uri.cs
	* corlib/System.IO/StreamReader.cs
	* corlib/System.IO/StringReader.cs
	* corlib/System.IO/StringWriter.cs
	* corlib/System.IO/TextWriter.cs
	* corlib/System.Reflection.Emit/ConstructorBuilder.cs
	* corlib/System.Reflection.Emit/MethodBuilder.cs
	* corlib/System.Reflection.Emit/OpCodes.cs
	* corlib/System.Reflection/Assembly.cs
	* corlib/System.Runtime.Remoting.Messaging/ReturnMessage.cs
	* corlib/System.Runtime.Serialization/SerializationException.cs
	* corlib/System/Activator.cs
	* corlib/System/Array.cs
	* corlib/System/Boolean.cs
	* corlib/System/Byte.cs
	* corlib/System/Char.cs
	* corlib/System/DateTime.cs
	* corlib/System/DivideByZeroException.cs
	* corlib/System/Double.cs
	* corlib/System/Int16.cs
	* corlib/System/Int32.cs
	* corlib/System/Int64.cs
	* corlib/System/SByte.cs
	* corlib/System/Single.cs
	* corlib/System/Type.cs
	* corlib/System/UInt16.cs
	* corlib/System/UInt32.cs
	* corlib/System/UInt64.cs

	Fix IDisposable, Dispose() mess
	* corlib/System.IO/BinaryWriter.cs
	* corlib/System.IO/BufferedStream.cs
	* corlib/System.IO/FileStream.cs
	* corlib/System.IO/MemoryStream.cs
	* corlib/System.IO/Stream.cs

svn path=/trunk/mcs/; revision=4416
2002-05-08 13:21:13 +00:00
Dan Lewis 7a7c18e47c 2002-05-08 Dan Lewis <[email protected]>
* interpreter.cs: Moved to an array-based stack representation
	for faster captures.

	* match.cs, collections.cs: Decoupled capture representation from
	interpreter internals.

	* cache.cs: Changed Key type from struct to class for speed.

svn path=/trunk/mcs/; revision=4415
2002-05-08 12:42:49 +00:00
Nick Drochak 10a3af7b9e 2002-05-09 Nick Drochak <[email protected]>
* File.cs (Delete): Do not throw an exception if the file does not
	exist.

svn path=/trunk/mcs/; revision=4413
2002-05-08 11:45:42 +00:00
Rodrigo Moya 1a18b14e7c 2002-05-08 Rodrigo Moya <[email protected]>
* Test/System.Data_test.build: excluded TestDataColumn, which
	should be replaced with a nunit test.

svn path=/trunk/mcs/; revision=4412
2002-05-08 11:20:36 +00:00
Rodrigo Moya b331559d9c 2002-05-08 Rodrigo Moya <[email protected]>
* Test/TestDataColumn.cs: added basic test for DataColumn.cs.

svn path=/trunk/mcs/; revision=4411
2002-05-08 11:17:45 +00:00
Paolo Molaro 7895adabfd Wed May 8 16:48:11 CEST 2002 Paolo Molaro <[email protected]>
* test-118.cs: test alternate type lookup for attributes.

svn path=/trunk/mcs/; revision=4410
2002-05-08 11:00:54 +00:00
Paolo Molaro 79917125f4 Wed May 8 16:40:50 CEST 2002 Paolo Molaro <[email protected]>
* attribute.cs: check that the type derives from System.Attribute
	and report the correct error in that case (moved the duplicate code to
	its own method, too).

svn path=/trunk/mcs/; revision=4409
2002-05-08 10:54:55 +00:00
Paolo Molaro b18a0242f8 Test case for the use of attributes that don'r derive from System.Attribute.
svn path=/trunk/mcs/; revision=4408
2002-05-08 10:52:10 +00:00
Mike Gray f479b60806 2002-05-08 Mike Gray <[email protected]>
* File.cs: According to ECMA spec and MS docs Copy(src, dest)
        should not overwrite dest by default.

svn path=/trunk/mcs/; revision=4407
2002-05-08 08:12:55 +00:00
Paolo Molaro 8900e157d2 Wed May 8 12:28:28 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: support ContructorBuilders in attribute blob creation.

svn path=/trunk/mono/; revision=4406
2002-05-08 06:42:38 +00:00
Paolo Molaro df4e9ca284 Wed May 8 12:06:14 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: some changes to build a binary that can be run
	directly in windows.

svn path=/trunk/mono/; revision=4405
2002-05-08 06:19:14 +00:00
Paolo Molaro 2b4f18ddab Wed May 8 11:50:31 CEST 2002 Paolo Molaro <[email protected]>
* attribute.cs: lookup attribute type name as the spec says: first the
	bare attribute name and then name + "Attribute" (nant compiles with
	mcs after this fix).

svn path=/trunk/mcs/; revision=4404
2002-05-08 06:04:30 +00:00
Nick Drochak a613a4d1e8 2002/05/08 Nick Drochak <[email protected]>
* FileTest.cs: Use "resources" directory and use OS friendly
	directory separator characters.  This makes the tests run correctly
	against MS.NET, but not yet in mono on Linux.

svn path=/trunk/mcs/; revision=4403
2002-05-08 03:41:14 +00:00
Tim Coleman 723cea72b7 2002-05-08 Tim Coleman <[email protected]>
* XPathDocument.cs:
        * XPathException.cs: New stub files added.

svn path=/trunk/mcs/; revision=4402
2002-05-08 00:50:45 +00:00
Rafael Teixeira a8ef2806b4 Old code
svn path=/trunk/mcs/; revision=4399
2002-05-08 00:18:48 +00:00
Duncan Mak 383fa11b27 2002-05-07 Duncan Mak <[email protected]>
* HttpBrowserCapabilities.cs: Added, replacing
	HttpBrowserCapabilites because of typo.

	* HttpBrowserCapabilites.cs: Removed, replaced by above.

	* HttpRequest.cs (Browser): Fixed typo.

svn path=/trunk/mcs/; revision=4398
2002-05-08 00:03:56 +00:00
Dennis Hayes 48a3bee4ab * 5-6-2002 Dennis Hayes <[email protected]>
* LeftRightAlignment.cs
* LinkBehavior.cs
* LinkState.cs
* ListViewAlignment.cs
* MdiLayout.cs
* MenuGlyph.cs
* MenuMerge.cs
* MessageBoxButtons.cs
* MessageBoxDefaultButton.cs
* MessageBoxIcon.cs
* MessageBoxOptions.cs
* MouseButtons.cs
* Orientation.cs
* PictureBoxSizeMode.cs
* PropertySort.cs
* Added some more enums. All have correct values.

svn path=/trunk/mcs/; revision=4397
2002-05-07 22:41:49 +00:00
Dennis Hayes b07d17a9dc * Dennis hayes <[email protected]>
* Added duplicate values
* System.Windows.Forms.Keys.cs

svn path=/trunk/mcs/; revision=4396
2002-05-07 22:33:51 +00:00
Tim Coleman d816531d63 2002-05-07 Tim Coleman <[email protected]>
* SqlBinary.cs:
        * SqlBoolean.cs:
        * SqlByte.cs:
        * SqlDateTime.cs:
        * SqlDecimal.cs:
        * SqlDouble.cs:
        * SqlGuid.cs:
        * SqlInt16.cs:
        * SqlInt32.cs:
        * SqlInt64.cs:
        * SqlMoney.cs:
        * SqlSingle.cs:
        * SqlString.cs:
                Fix the broken build I made before.  Bad
                me.

svn path=/trunk/mcs/; revision=4395
2002-05-07 21:33:14 +00:00
Tim Coleman 9a70ba0658 2002-05-07 Tim Coleman <[email protected]>
* SqlString.cs:
                Fix a symantic error I made in SqlString
                Equals where I copied and pasted wrongly

svn path=/trunk/mcs/; revision=4393
2002-05-07 20:42:03 +00:00
Miguel de Icaza a7377a391f 2002-05-07 Miguel de Icaza <[email protected]>
* handles.c (shared_init): Disable SHM for now, people have too
	many problems with this, and the diagnostics are not helping.

svn path=/trunk/mono/; revision=4389
2002-05-07 20:11:19 +00:00
Rodrigo Moya 8d9414032f 2002-05-07 Rodrigo Moya <[email protected]>
* EventDescriptor.cs: added missing constructors.

	* EventDescriptorCollection.cs: fixed interface methods implementation

	* IDataErrorInfo.cs:
	* IEditableObject.cs: new interfaces.

svn path=/trunk/mcs/; revision=4388
2002-05-07 20:03:16 +00:00
Tim Coleman 8bf57a3aee 2002-05-07 Tim Coleman <[email protected]>
* INullable.cs:
        * SqlBinary.cs:
        * SqlBoolean.cs:
        * SqlByte.cs:
        * SqlCompareOptions.cs:
        * SqlDateTime.cs:
        * SqlDecimal.cs:
        * SqlDouble.cs:
        * SqlGuid.cs:
        * SqlInt16.cs:
        * SqlInt32.cs:
        * SqlInt64.cs:
        * SqlMoney.cs:
        * SqlSingle.cs:
        * SqlString.cs:
                Implement CompareTo, Equals, and String conversions
                for many types

svn path=/trunk/mcs/; revision=4387
2002-05-07 19:47:55 +00:00
Rodrigo Moya 032e6cb39e 2002-05-07 Rodrigo Moya <[email protected]>
* CompareInfo.cs: new basic stub (compiles on Linux, so I assume
	it does not break the build on windows. Sorry if it does).

svn path=/trunk/mcs/; revision=4386
2002-05-07 19:15:10 +00:00
Miguel de Icaza 72431d420a Fixety fix
svn path=/trunk/mono/; revision=4384
2002-05-07 17:37:37 +00:00
Miguel de Icaza b0adbd3886 Use $@ instead of $*
svn path=/trunk/mono/; revision=4383
2002-05-07 17:30:38 +00:00
Ravi Pratap M 654712a265 2002-05-07 Ravi Pratap <[email protected]>
* parameter.cs (ParameterType): Make it a property for now although the
	purpose really isn't anything immediate.

	* expression.cs (Is*Applicable): Do better checking on the parameter type
	of a ref/out parameter. The ones from the system assemblies are already
	marked with the correct type so we don't need to do any correction.

	* ecore.cs (StandardConversionExists): Conversion from Interface types to
	the object type is standard too so include that.

svn path=/trunk/mcs/; revision=4382
2002-05-07 17:09:32 +00:00
Ravi Pratap M 0fa4e6869e 2002-05-07 Ravi Pratap <[email protected]>
* test-117.cs : Add.

svn path=/trunk/mcs/; revision=4381
2002-05-07 17:07:36 +00:00
Dick Porter 8bfc0bfb2a Fix windows build
svn path=/trunk/mono/; revision=4380
2002-05-07 16:32:32 +00:00
Miguel de Icaza 64edc946e6 2002-05-07 Miguel de Icaza <[email protected]>
* expression.cs (Unary.TryReduceNegative): Ah!  Tricky!  Tricky!
	Because of the way we parse things, we should try to see if a
	UIntConstant can fit in an integer.

svn path=/trunk/mcs/; revision=4379
2002-05-07 15:36:17 +00:00
Ravi Pratap M 141d1209c9 2002-05-07 Ravi Pratap <[email protected]>
(ConvertReferenceExplicit): When converting from Iface type S to Class
	T make sure the rules are implemented as an OR.

svn path=/trunk/mcs/; revision=4378
2002-05-07 14:30:13 +00:00
Daniel Carrera 97c29314fc *** empty log message ***
svn path=/trunk/mcs/; revision=4377
2002-05-07 14:22:05 +00:00
Ravi Pratap M 34eb6a295d Remove debug messages
svn path=/trunk/mcs/; revision=4376
2002-05-07 13:51:22 +00:00
Miguel de Icaza f6a011fa26 Add copyright headers
svn path=/trunk/mcs/; revision=4375
2002-05-07 13:50:04 +00:00
Ravi Pratap M a47a8e03b2 2002-05-07 Ravi Pratap <[email protected]>
* ecore.cs (GetConversionOperators): Do not pick up op_True operators
	when we are in an explicit context.

svn path=/trunk/mcs/; revision=4374
2002-05-07 13:49:53 +00:00
Daniel Carrera fcea18896e Added new classes.
svn path=/trunk/mcs/; revision=4373
2002-05-07 13:24:44 +00:00
Daniel Carrera 14816143a3 Fixed "extra byte" problem (see ChangeLong)
svn path=/trunk/mcs/; revision=4372
2002-05-07 13:23:16 +00:00
Daniel Carrera f787afe422 Fixed "extra byte" problem (see ChangeLong)
svn path=/trunk/mcs/; revision=4371
2002-05-07 13:17:05 +00:00
Nick Drochak 55bc7b1656 2002-05-08 Nick Drochak <[email protected]>
* StreamWriter.cs: Wrap a try-catch around block of code to find out
	what exception is being thrown when it shouldn't.

svn path=/trunk/mcs/; revision=4370
2002-05-07 12:58:23 +00:00
Nick Drochak b229128329 2002-05-08 Nick Drochak <[email protected]>
* StreamWriter.cs: Add paramter check to constructors and throw
	exceptions where appropriate.

svn path=/trunk/mcs/; revision=4369
2002-05-07 12:56:36 +00:00
Miguel de Icaza 2678c86ecb Fix bug
svn path=/trunk/mcs/; revision=4368
2002-05-07 11:20:33 +00:00
Nick Drochak f107875880 2002-05-07 Nick Drochak <[email protected]>
* FileTest.cs: Added TestOpen() from Mike Gray.
	* AllTests.cs: Added missing FileTest.Suite as pointed out by Mike
	as well.

svn path=/trunk/mcs/; revision=4367
2002-05-07 10:27:53 +00:00
Nick Drochak 95f86fe4ae 2002-05-07 Nick Drochak <[email protected]>
* ExceptionTest.cs: New File. Provided by Linus Upson.

svn path=/trunk/mcs/; revision=4366
2002-05-07 10:03:15 +00:00
Paolo Molaro a6d32b8b18 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <[email protected]>
* StreamReader.cs: return the number of chars read even if we diddn't
	fill the whole buffer (makes Sergey's ilasm work with mono).

svn path=/trunk/mcs/; revision=4365
2002-05-07 06:01:18 +00:00
Nick Drochak ae3eab60c2 2002/05/07 Nick Drochak <[email protected]>
* AllTests.cs: Do not run the System.Net tests from here, they belong
	in the System assembly tests.

svn path=/trunk/mcs/; revision=4364
2002-05-07 04:09:05 +00:00
Nick Drochak 9e227554a3 2002/05/07 Nick Drochak <[email protected]>
* AllTests.cs: Run the System.Net tests from here.

svn path=/trunk/mcs/; revision=4363
2002-05-07 04:07:58 +00:00
Miguel de Icaza 6cb101bf06 Small update
svn path=/trunk/mcs/; revision=4362
2002-05-07 02:33:03 +00:00
Miguel de Icaza 0ef37b24a1 Improve docs, links, menu
svn path=/trunk/mono/; revision=4361
2002-05-07 02:17:05 +00:00
Miguel de Icaza a28c21bf81 Get rid of the old status page
svn path=/trunk/mono/; revision=4360
2002-05-07 02:12:22 +00:00
Miguel de Icaza 15f57c735d An attempt at making the howto look passable
svn path=/trunk/mono/; revision=4359
2002-05-07 01:59:05 +00:00
Miguel de Icaza d2f2f1ea10 remove System.Net test directory from corlib
svn path=/trunk/mcs/; revision=4358
2002-05-07 01:49:03 +00:00
Miguel de Icaza 8257cbf6f0 Fix the mono howto mess once and for all
svn path=/trunk/mono/; revision=4357
2002-05-07 01:48:25 +00:00
Miguel de Icaza 4e9b084e2d 2002-05-07 Mike Gray <[email protected]>
* FileInfo.cs (Create): Implement missing method.

svn path=/trunk/mcs/; revision=4356
2002-05-07 01:41:03 +00:00
Miguel de Icaza 1aaef71410 2002-05-07 Mike Gray <[email protected]>
* File.cs: Implemented CreateText method, and fixed dst compares
	to compare against "" instead of null twice.

svn path=/trunk/mcs/; revision=4355
2002-05-07 01:39:48 +00:00
Miguel de Icaza 0f4faac095 2002-05-06 Miguel de Icaza <[email protected]>
* ecore.cs (StandardConversionExists): Augment with missing code:
	deal with IntConstant, LongConstants and Enumerations.

svn path=/trunk/mcs/; revision=4353
2002-05-06 22:53:24 +00:00
Miguel de Icaza eb3fb67074 2002-05-06 Miguel de Icaza <[email protected]>
* assign.cs: Report the error, instead of failing silently

svn path=/trunk/mcs/; revision=4352
2002-05-06 22:38:32 +00:00
Dennis Hayes 7af2cda1d7 * Dennis Hayes <[email protected]>
* Added enums
* 	GridItemType.cs
* 	HelpNavigator.cs
* 	HorizontalAlignment.cs
* 	ImeMode.cs
* 	ItemActivation.cs
* 	ItemBoundsPortion.cs
* 	Keys.cs
* All correct execpt for Keys.cs which is missing a half dozen
* duplicate entries that need correcting.

svn path=/trunk/mcs/; revision=4351
2002-05-06 22:22:16 +00:00
Miguel de Icaza a1697c9d30 2002-05-06 Miguel de Icaza <[email protected]>
* rootcontext.cs (AddGlobalAttributes): Track attributes on the
	typecontainer that they are declared, because the
	typecontainer/namespace will have the list of using clauses that
	need to be applied.

	Assembly Attributes were escaping the normal registration
	mechanism.

	(EmitCode): Apply attributes within an EmitContext that represents
	the container they were declared on.

svn path=/trunk/mcs/; revision=4350
2002-05-06 22:06:43 +00:00
Ravi Pratap M 2bf57d84b5 2002-05-06 Ravi Pratap <[email protected]>
* ecore.cs (FindMostEncompassingType, FindMostEncompassedType):
	Revamp completely - make much cleaner as we now operate only
	on a set of Types.

	(FindMostSpecificSource, FindMostSpecificTarget): New methods
	to implement the logic detailed in the spec more correctly.

	(UserDefinedConversion): Update accordingly.

svn path=/trunk/mcs/; revision=4349
2002-05-06 20:34:59 +00:00
Rodrigo Moya e226bfeb65 Changed step 3, since we need to be compatible with MS .NET
svn path=/trunk/mono/; revision=4348
2002-05-06 19:18:53 +00:00
Duncan Mak 1a3ba07454 2002-05-06 Duncan Mak <[email protected]>
* Queue.cs (TrimToSize): Implemented.

svn path=/trunk/mcs/; revision=4347
2002-05-06 19:17:41 +00:00
Miguel de Icaza 72cc4a0ad5 2002-05-06 Miguel de Icaza <[email protected]>
* statement.cs: Return flow analysis information up.

svn path=/trunk/mcs/; revision=4346
2002-05-06 19:06:23 +00:00
Miguel de Icaza d22ac5d2d9 Fix
svn path=/trunk/mono/; revision=4345
2002-05-06 16:46:46 +00:00
Sergey Chaban 983cbb58b2 Logged changes to x86-codegen.h
svn path=/trunk/mono/; revision=4344
2002-05-06 16:39:01 +00:00
Sergey Chaban d9e69f18b2 * x86-codegen.h: added missing shifts;
8-bit ALU operations;
   FPU ops with integer operand;
   FIST (without pop);

svn path=/trunk/mono/; revision=4343
2002-05-06 16:33:54 +00:00
Johannes Roith ac36029dde added windows binaries
svn path=/trunk/mono/; revision=4342
2002-05-06 16:32:25 +00:00
Sergey Chaban ba8912d89b DIV_UN: fixed typo - increment EAX, not tree->reg1;
svn path=/trunk/mono/; revision=4341
2002-05-06 15:22:56 +00:00
Johannes Roith 290a4161fc *** empty log message ***
svn path=/trunk/mono/; revision=4340
2002-05-06 15:15:05 +00:00
Miguel de Icaza c6ae70e97d Add more tests
svn path=/trunk/mcs/; revision=4339
2002-05-06 15:12:43 +00:00
Miguel de Icaza 64e6e41d74 2002-05-06 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (adjust_real): Share code between LITERAL_DOUBLE
	and the default.

	(token): Do not consume an extra character before calling
	decimal_digits.

svn path=/trunk/mcs/; revision=4338
2002-05-06 15:12:27 +00:00
Piers Haken 1e3301cda3 * cs-parser.jay: add 'override' attribute to System.Object.Finalize
svn path=/trunk/mcs/; revision=4337
2002-05-06 13:55:19 +00:00
Piers Haken 4a3e440e17 Piers Haken <[email protected]>
* cs-parser.jay: add 'override' attribute to System.Object.Finalize

svn path=/trunk/mcs/; revision=4336
2002-05-06 13:54:32 +00:00
Martin Baulig 08945c53eb 2002-05-06 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs (MonoSymbolWriter.Close): Use Assembly.LoadFrom (), not
	AppDomain.Load () to load the assembly.

svn path=/trunk/mcs/; revision=4334
2002-05-06 13:40:54 +00:00
Paolo Molaro 11a8f0efb1 Mon May 6 15:38:15 CEST 2002 Paolo Molaro <[email protected]>
* jit.h, jit.c, emit-x86.c: x86 cpu detection code from Sergey.

svn path=/trunk/mono/; revision=4333
2002-05-06 09:52:03 +00:00
Dan Lewis 0a66828c4f 2002-05-06 Dan Lewis <[email protected]>
* io.c: CreateFile sets win32 last error.

svn path=/trunk/mono/; revision=4332
2002-05-06 08:37:39 +00:00
Paolo Molaro bc8876bffa Mon May 6 13:10:34 CEST 2002 Paolo Molaro <[email protected]>
* loader.c: print a big message when an icall can't be found.

svn path=/trunk/mono/; revision=4331
2002-05-06 07:23:27 +00:00
Daniel Morgan 4576467ca3 2002-05-06 Daniel Morgan <[email protected]>
* System.Data.SqlTypes.SqlInt32Test.cs: missing
	declaration for SqlInt32 z which was a test build blocker

	* PostgresTest.cs: got rid of warning about missing e

	* Test/PostgresTest.cs: exclude PostgresTest.cs
	from test build

svn path=/trunk/mcs/; revision=4330
2002-05-06 04:52:33 +00:00
Miguel de Icaza 4c91fcc7dd Add another error test
svn path=/trunk/mcs/; revision=4329
2002-05-06 02:03:09 +00:00
Miguel de Icaza 01a0a9126a 2002-05-06 Miguel de Icaza <[email protected]>
* class.cs (Constructor.Emit): Set the IsStatic flag in the
	EmitContext during the instance constructor initializer
	resolution, to stop access to instance variables.

	This is mandated by the spec, last paragraph of the `constructor
	initializers' section.

svn path=/trunk/mcs/; revision=4328
2002-05-06 02:03:03 +00:00
Daniel Morgan 7f4ea42c7f 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: correct formatting
	* doc/index: added credit i forgot to add

svn path=/trunk/mono/; revision=4327
2002-05-06 01:44:00 +00:00
Daniel Morgan 09356a1940 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: i did not format it correctly earlier, i
	tried added various tags where appropriate.

	* doc/index: added news item for May 5, 2002 - ado.net able
	to retrieve data now

svn path=/trunk/mono/; revision=4326
2002-05-06 00:37:42 +00:00
Miguel de Icaza 591a66be92 More work, demo works
svn path=/trunk/mcs/; revision=4325
2002-05-06 00:05:13 +00:00
Daniel Morgan 506ccff8d5 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated the current status which
	I kept forgetting to do.

svn path=/trunk/mono/; revision=4324
2002-05-05 23:23:48 +00:00
Miguel de Icaza 258e58513e Some sample code
svn path=/trunk/mcs/; revision=4323
2002-05-05 23:21:02 +00:00
Daniel Morgan 6138d6a7bc 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to includes an example for
	running ipc-daemon as a	Windows service.  Thanks
	to gonzalo.

svn path=/trunk/mono/; revision=4322
2002-05-05 23:14:03 +00:00
Daniel Morgan a783bffaa9 2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to include installation of
	PostgreSQL DBMS under cygwin.  It is a TODO for Linux though.
	Also included notes on running the System.Data/Test/PostgresTest.cs
	that should work on a lot of Mono installations that have
	PostgreSQL installed.  If not please let me, rodrigo, or gonzalo
	know.

svn path=/trunk/mono/; revision=4321
2002-05-05 22:40:31 +00:00
Daniel Morgan c3458f3b46 2002-05-05 Daniel Morgan <[email protected]>
* Test/PostgresTest.cs: modified to run completely.  There
	are many TODOs in System.Data, so not all data types are
	included in the SELECT SQL query.  Also, I made it to where
	it would connect
	using "host=localhost;dbname=test;user=postgres"
	instead of my userid and password.  When more types are included,
	update this test.

svn path=/trunk/mcs/; revision=4320
2002-05-05 22:35:07 +00:00
Gonzalo Paniagua Javier ef143d81df 2002-05-06 Gonzalo Paniagua Javier <[email protected]>
* string-icalls.c: fix bug 24248.

svn path=/trunk/mono/; revision=4319
2002-05-05 22:10:45 +00:00
Miguel de Icaza ed7e20af58 2002-05-05 Miguel de Icaza <[email protected]>
* test-28.cs: Improved test: before we were failing on abstract
	indexers invoked in the same class (as the accessor would have no
	body).

svn path=/trunk/mcs/; revision=4318
2002-05-05 20:32:41 +00:00
Miguel de Icaza 5daabf5309 2002-05-05 Miguel de Icaza <[email protected]>
* cs-parser.jay, class.cs (Accessor): new class used to represent
	an accessor (get or set).  In the past we used `null' to represent
	a missing accessor.  But this is ambiguous because there was no
	way to tell in abstract indexers/properties if one of them was
	specified.

	Now there is a way of addressing that.

	* expression.cs (Indexers.GetIndexersForType): Use TypeManager.MemberLookup
	instead of FindMembers.

svn path=/trunk/mcs/; revision=4317
2002-05-05 20:31:12 +00:00
Tim Coleman 49df1c210f 2002-05-05 Tim Coleman <[email protected]>
* TheTests.cs:
        * System.Data.SqlTypes/SqlInt32Test.cs:
                More test cases for System.Data.SqlTypes.SqlInt32

svn path=/trunk/mcs/; revision=4316
2002-05-05 18:38:41 +00:00
Lawrence Pit c24932898e 2002-05-06 Lawrence Pit <[email protected]>
* WebRequest.cs: added
	* WebResponse.cs: implemented
	* WebException.cs: implemented
	* WebHeaderCollection.cs: added
	* HttpVersion.cs: implemented
	* HttpContinueDelegate.cs: added
	* IWebProxy.cs: added
	* IWebRequestCreate.cs: added
	* ICertificatePolicy.cs: added
	* ServicePoint.cs: stubbed
	* ServicePointManager.cs: stubbed
	* CookieContainer.cs: added
	* Authorization.cs: implemented

svn path=/trunk/mcs/; revision=4315
2002-05-05 18:37:57 +00:00
Tim Coleman 6bed1c06a4 2002-05-05 Tim Coleman <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlTypes/SqlBoolean.cs:
        * System.Data.SqlTypes/SqlByte.cs:
        * System.Data.SqlTypes/SqlDateTime.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
        * System.Data.SqlTypes/SqlDouble.cs:
        * System.Data.SqlTypes/SqlGuid.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlInt32.cs:
        * System.Data.SqlTypes/SqlInt64.cs:
        * System.Data.SqlTypes/SqlMoney.cs:
        * System.Data.SqlTypes/SqlSingle.cs:
        * System.Data.SqlTypes/SqlString.cs:
                More implementation, and code clean-up for consistency.
                Also, I had implemented many conversions as explicit
                that should have been implicit.  This should remove
                many of the red X's and green pluses from the
                System.Data.SqlTypes namespace.

svn path=/trunk/mcs/; revision=4314
2002-05-05 17:33:11 +00:00
Miguel de Icaza a06fece049 2002-05-05 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.EmitFieldInitializer): Do not typecast
	the result of Assign.Resolve as Assign, but rather as ExpressionStatement.

	* attribute.cs: Treat indexers and properties as the same in terms
	of applying attributes

svn path=/trunk/mcs/; revision=4313
2002-05-05 17:17:00 +00:00
Miguel de Icaza 7b496983e1 Update list to compile with mcs
svn path=/trunk/mcs/; revision=4312
2002-05-05 17:08:44 +00:00
Miguel de Icaza 607182b48e Flush ChangeLog
svn path=/trunk/mcs/; revision=4311
2002-05-05 17:08:13 +00:00
Miguel de Icaza 6a0487612e This commit does not break the existing code base, as these files are
excluded from the current build

2002-05-05  Miguel de Icaza  <[email protected]>

	* System.Data/DataSet.cs: Remove [Serializable] attributes from
	methods, those only apply to structs or classes.

	Stub out ISerializable, ISupportInitialize, and IListSource methods

	* System.Data/DataRowView.cs: Stub out interface methods for
	IEditableObject, ICustomTypeDescriptor and IDataErrorInfo

	* System.Data/DataView.cs: Comment out non-implemented
	interfaces.

	* System.Data/DataViewSettingsCollection.cs: Type cast variables
	to the correct type to make it compile.

	* System.Data/DataViewSettings.cs: remove reference to
	non-existance type ApplyDefaultSort, it is a boolean.

svn path=/trunk/mcs/; revision=4310
2002-05-05 17:08:00 +00:00
Miguel de Icaza f3681bcbda It is safe to commit this code, because it is still excluded by the
build file above.

2002-05-05  Miguel de Icaza  <[email protected]>

	* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
	interfaces we do not implement yet.

	* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
	we do not implement yet.

	* DbDataPermissionAttribute.cs: call base constructor.

svn path=/trunk/mcs/; revision=4309
2002-05-05 17:03:08 +00:00
Miguel de Icaza cb2dbaaed6 few updates to the web site
svn path=/trunk/mono/; revision=4307
2002-05-05 14:20:12 +00:00
Dick Porter a4df47fdd4 2002-05-05 Dick Porter <[email protected]>
* wapi-private.h:
	* handles-private.h:
	* io.c:
	* io-private.h:
	* mutexes.c:
	* mutex-private.h:
	* processes.c:
	* process-private.h:
	* semaphores.c:
	* semaphore-private.h:
	* sockets.c:
	* socket-private.h:
	* events.c:
	* event-private.h: Simplify the WapiHandleOps struct: take out all
	the file-specific entries, leaving just the items that operate on
	handles themselves.  Split the close operation into shared and
	private parts: shared close is called by the daemon.

	* handles.c: As above, but also pass handle allocation, ref and
	unref operations to the daemon.  Populate the handle_ops array at
	compile time, because the daemon needs to call ops on handles too.
	Don't bother to track open handle counts any more, the daemon does
	that.

	* threads.c:
	* thread-private.h: As above, but also make the thread data
	handle-private.

	* shared.c: Fork a handle daemon if the calling process created
	the shared memory segment.

	* daemon.c:
	* daemon-messages.c:
	* daemon-messages.h:
	* Makefile.am: Build a daemon to manage handle allocation and
	destruction without needing to lock the shared memory

svn path=/trunk/mono/; revision=4306
2002-05-05 13:45:35 +00:00
Daniel Morgan 8634321c6a 2002-05-05 Daniel Morgan <[email protected]>
* Test/PostgresTest.cs: added - ported
	libgda postgres-test.c originally by
	Gonzalo Paniagua Javier <[email protected]>
	to C#.

svn path=/trunk/mcs/; revision=4305
2002-05-05 11:47:26 +00:00
Nick Drochak e2afc88ef7 Flush
svn path=/trunk/mcs/; revision=4304
2002-05-05 11:32:13 +00:00
Nick Drochak c66ba0877d 2002-05-05 Nick Drochak <[email protected]>
* ArrayListTest.cs: Test for RankException when constructing from a
	multi-dimensional array. Confirmed behavior from MS.NET

svn path=/trunk/mcs/; revision=4303
2002-05-05 11:24:45 +00:00
Nick Drochak ab7805a46f 2002-05-05 Nick Drochak <[email protected]>
* ArrayList.cs: Throw RankException when constructing from a
	multi-dimensional array. Confirmed behavior from MS.NET

svn path=/trunk/mcs/; revision=4302
2002-05-05 11:24:06 +00:00
Nick Drochak be04917ea5 2002-05-05 Nick Drochak <[email protected]>
* ChangeLog: Update build file to run correct class in the test dll.

svn path=/trunk/mcs/; revision=4301
2002-05-05 10:47:59 +00:00
Nick Drochak 47c04565a3 2002-05-05 Nick Drochak <[email protected]>
* AllTests.cs
	* NameTableTests.cs
	* TheTests.cs
	* XPathScannerTests.cs
	* XmlAttributeTests.cs
	* XmlCDataSectionTests.cs
	* XmlCommentTests.cs
	* XmlDeclarationTests.cs
	* XmlDocumentTests.cs
	* XmlDocumentTypeTests.cs
	* XmlElementTests.cs
	* XmlNamespaceManagerTests.cs
	* XmlNodeListTests.cs
	* XmlProcessingInstructionTests.cs
	* XmlSignificantWhitespaceTests.cs
	* XmlTextReaderTests.cs
	* XmlTextTests.cs
	* XmlTextWriterTests.cs
	* XmlWhiteSpaceTests.cs: Use same namespace style as corlib tests.
	Changed Ximian.Mono.Tests to MonoTests.System.Xml

svn path=/trunk/mcs/; revision=4300
2002-05-05 10:31:13 +00:00
Nick Drochak 4a7a062712 2002-05-05 Nick Drochak <[email protected]>
* AllTests.cs:
	* BasicOperationsTest.cs:
	* DnsTest.cs:
	* NameValueCollectionTest.cs:
	* StringCollectionTest.cs:
	* TheTests.cs:
	* System.Text.RegularExpressions/AllTests.cs:
	* System.Text.RegularExpressions/PerlTest.cs:
	* System.Text.RegularExpressions/PerlTrials.cs:
	* System.Text.RegularExpressions/RegexTrial.cs: Fix Namespace
	inconsistancies.  Use MonoTests instead of Ximian.Mono.Tests

svn path=/trunk/mcs/; revision=4299
2002-05-05 10:14:38 +00:00
Lawrence Pit b1c39c1f4d added implementation of CredentialCache
svn path=/trunk/mcs/; revision=4298
2002-05-05 08:44:48 +00:00
Lawrence Pit e7737ea97f added test to replacement function to show bug
svn path=/trunk/mcs/; revision=4297
2002-05-05 07:52:15 +00:00
Lawrence Pit 09eec67e24 * IPAddress.cs: fixed IsLoopback, address was already in host order
svn path=/trunk/mcs/; revision=4296
2002-05-05 07:44:02 +00:00
Lawrence Pit 3973749697 Extensive unit tests for Uri and UriBuilder classes (shows a lot of errors in the ms.net implementation ;-)
svn path=/trunk/mcs/; revision=4295
2002-05-05 07:01:41 +00:00
Lawrence Pit e47b4da7cc Complete new reimplementation of Uri.cs, fully supporting IPv6 addresses.
svn path=/trunk/mcs/; revision=4294
2002-05-05 06:59:12 +00:00
Lawrence Pit 82a7391cd8 not defined in .net spec, needed for Uri.cs though
svn path=/trunk/mcs/; revision=4293
2002-05-05 06:51:38 +00:00
Lawrence Pit f739d6b635 added test for is loopback address
svn path=/trunk/mcs/; revision=4292
2002-05-05 06:32:33 +00:00
Miguel de Icaza 84c2aa9e52 Cleaning user defined conversions a bit, in preparation to fix the real
bug:

2002-05-05  Miguel de Icaza  <[email protected]>

	* ecore.cs (FindMostEncompassedType): Use statically initialized
	EmptyExpressions()s like we do elsewhere to avoid creating useless
	objects (and we take this out of the tight loop).

	(GetConversionOperators): Move the code to extract the actual
	operators to a separate routine to clean things up.

svn path=/trunk/mcs/; revision=4291
2002-05-05 02:37:58 +00:00
Tim Coleman e1bd3c8f8e 2002-05-05 Tim Coleman <[email protected]>
ChangeLog: updates for last fixes.

svn path=/trunk/mcs/; revision=4290
2002-05-05 00:34:08 +00:00
Tim Coleman d3ddaefa29 2002-05-05 Tim Coleman <[email protected]>
SqlInt32.cs: Fix my accidentally stomping Dan Morgan's last patch
	(sorry).

svn path=/trunk/mcs/; revision=4289
2002-05-05 00:33:22 +00:00
Tim Coleman c0c73c7053 2002-05-05 Tim Coleman <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlTypes/SqlBoolean.cs:
        * System.Data.SqlTypes/SqlByte.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
        * System.Data.SqlTypes/SqlDouble.cs:
        * System.Data.SqlTypes/SqlGuid.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlInt32.cs:
        * System.Data.SqlTypes/SqlInt64.cs:
        * System.Data.SqlTypes/SqlMoney.cs:
        * System.Data.SqlTypes/SqlSingle.cs:
        * System.Data.SqlTypes/SqlString.cs:
                Various fixes, including adding the SqlNullValueException
                when trying to retrieve the value of a null SqlType,
                and when casting values, a Null of type A converts to a
                Null of type B.

svn path=/trunk/mcs/; revision=4288
2002-05-05 00:28:55 +00:00
Miguel de Icaza 2fc165dfab 2002-05-04 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr): Remove un-needed tests for null, since now
	events are always registered FieldBuilders.

	* class.cs (FieldBase): New class shared by Fields

svn path=/trunk/mcs/; revision=4287
2002-05-04 22:40:40 +00:00
Gonzalo Paniagua Javier 3952877b84 Added target 'clean' so as make clean in the parent directory does not fail.
svn path=/trunk/mcs/; revision=4286
2002-05-04 21:58:20 +00:00
Miguel de Icaza b077c740a6 Update
svn path=/trunk/mono/; revision=4285
2002-05-04 21:54:19 +00:00
Miguel de Icaza 11a0a81125 Removed /r:corlib.dll and /nostdlib switches, does anything break?
This fixes the corcompare issue

svn path=/trunk/mcs/; revision=4284
2002-05-04 21:53:52 +00:00
Gonzalo Paniagua Javier 64b78bcb89 2002-05-05 Gonzalo Paniagua Javier <[email protected]>
* System.build: excluded EventDescriptor.cs,
	EventDescriptorCollection.cs and ICustomTypeDescriptor.cs.

	* System.ComponentModel/AttributeCollection.cs: added a cast to make it
	compile

svn path=/trunk/mcs/; revision=4283
2002-05-04 21:41:25 +00:00
Rodrigo Moya 5fcd11f1df 2002-05-03 Rodrigo Moya <[email protected]>
* AttributeCollection.cs:
	* EventDescriptor.cs:
	* EventDescriptorCollection.cs:
	* ICustomTypeDescriptor.cs: new files.

svn path=/trunk/mcs/; revision=4282
2002-05-04 20:56:53 +00:00
Daniel Morgan 0410d300b8 2002-05-04 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs
	* System.Data.SqlClient/SqlCommand.cs
	* System.Data.SqlClient/SqlConnection.cs
	* System.Data.SqlClient/SqlDataReader.cs
	oid should not be hard coded because they
	can change from one version of PostgreSQL
	to the next.  Use the typname's instead.
	The PostgreSQL type data retrieves
	at database connection time.  Any unimplemented
	types just default to string.  These were things
	suggested by Gonzalo.

	* Test/ReadPostgresData.cs - stuff
	* Test/TestSqlDataReader.cs - stuff

	* System.Data.SqlTypes/SqlInt32.cs - added a using

svn path=/trunk/mcs/; revision=4281
2002-05-04 20:23:29 +00:00
Miguel de Icaza c9f460fe9d Remove stale debugging message
svn path=/trunk/mcs/; revision=4280
2002-05-04 18:12:21 +00:00
Miguel de Icaza b66c61c3df 2002-05-04 Miguel de Icaza <[email protected]>
* delegate.cs: If we are a toplevel delegate, use our full name.
	If we are a nested delegate, then only use our tail name.

svn path=/trunk/mcs/; revision=4279
2002-05-04 18:04:40 +00:00
Miguel de Icaza 8fdad479bc Improve test to check for toplevel namespaced delegates
svn path=/trunk/mcs/; revision=4278
2002-05-04 17:49:40 +00:00
Miguel de Icaza abd850053f Get the build to go
svn path=/trunk/mcs/; revision=4277
2002-05-04 16:10:59 +00:00
Ajay kumar Dwivedi 45b3c65317 2002-05-04 Dwivedi, Ajay kumar <[email protected]>
* XmlSchemaUtil.cs: New file added.

	* Parser.cs: New file Added. Unused at the moment.

	* XmlSchemaObjectCollection: Fixed GetEnumerator

	* General: Preprocessing for Attributes and SimpleTypes completed.

svn path=/trunk/mcs/; revision=4276
2002-05-04 14:13:51 +00:00
Tim Coleman c9950ac9cf 2002-05-03 Tim Coleman <[email protected]>
* System.Data.build: Fix the build so that test depends on build

svn path=/trunk/mcs/; revision=4275
2002-05-04 11:36:10 +00:00
Nick Drochak e1df4b00fd 2002-05-05 Nick Drochak <[email protected]>
* StreamReaderTest.cs: Change location of sample file. Use memory
	stream instead of file stream to eliminate reliance on file io
	for now.  That area is still a bit immature.

	* resources: New directory to hold files open/read, etc. by unit
	tests.

svn path=/trunk/mcs/; revision=4274
2002-05-04 11:32:12 +00:00
Nick Drochak 4debd2009d 2002-05-05 Nick Drochak <[email protected]>
* StreamReader.cs: Throw exceptions where needed. Changed Null field to
	use new internal class since null cannot be passed to constructor
	anymore. Also, fix a coule of small bugs.

svn path=/trunk/mcs/; revision=4273
2002-05-04 11:18:51 +00:00
Nick Drochak 011baa1b77 Ignore dll's and pdb's
svn path=/trunk/mcs/; revision=4272
2002-05-04 11:13:40 +00:00
Paolo Molaro db1661751f Doh!
svn path=/trunk/mono/; revision=4271
2002-05-04 11:00:56 +00:00
Paolo Molaro 2e04cd587c Updates for changes in mono_assembly_open () interface.
svn path=/trunk/mono/; revision=4269
2002-05-04 09:15:44 +00:00
Paolo Molaro 059e3fa88a Sat May 4 15:00:39 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs, AssemblyName.cs: updates and fixes.

svn path=/trunk/mcs/; revision=4268
2002-05-04 09:14:56 +00:00
Paolo Molaro 8332005064 Sat May 4 14:03:21 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.c, appdomain.h, assembly.c, assembly.h, image.h,
	icall.c, reflection.h: separate assembly loading by pathname and by
	assembly name. Use the MONO_PATH env var to search for assemblies.

svn path=/trunk/mono/; revision=4267
2002-05-04 09:14:52 +00:00
Tim Coleman 2cd9036a6f 2002-05-03 Tim Coleman <[email protected]>
library.build: Add "test" target for System.Data

svn path=/trunk/mcs/; revision=4266
2002-05-04 01:28:41 +00:00
Tim Coleman a425e94490 Add "test" build target.
svn path=/trunk/mcs/; revision=4265
2002-05-04 01:25:39 +00:00
Tim Coleman 47837d652c New files to begin the System.Data.SqlTypes test structure.
svn path=/trunk/mcs/; revision=4264
2002-05-04 01:17:50 +00:00
Tim Coleman b8070bd6fc New source and build information to allow "make test" to work with
System.Data.  This uses the NUnit.Framework now.  Also added a
ChangeLog to track Test changes.

svn path=/trunk/mcs/; revision=4263
2002-05-04 01:16:46 +00:00
Tim Coleman d7d6bcce80 Modify the ChangeLog to reflect recent changes. Also, added
System.Data.SqlTypes to the build because it isn't so broken
anymore.

svn path=/trunk/mcs/; revision=4262
2002-05-03 23:04:55 +00:00
Tim Coleman 37a1087ecb This fixes the updates last made by Rodrigo. Somehow the patch I sent
him only included four of the changed files.  This touches the rest of
the System.Data.SqlTypes.  This directory should actually compile (!)
now.

svn path=/trunk/mcs/; revision=4261
2002-05-03 22:51:43 +00:00
Daniel Morgan bf85f10d6b 2002-05-03 Daniel Morgan <[email protected]>
* System.Data.build: removed comments

	* System.Data.SqlClient/PostgresLibrary.cs: changed
	the hard-coded PostgreSQL oid type int's to using an
	enum.  Also, added PostgreSQL bpchar (character) type.

	* Test/TestSqlDataReader.cs: updated test
	to include new bpchar PostgreSQL type

svn path=/trunk/mcs/; revision=4260
2002-05-03 22:02:07 +00:00
Dennis Hayes 25286e9e95 * removed enums.cs. These enums have been put in seperate files, and moved to System.Windows.Forms\System.Windows.Forms, as they should have been to begin with.
svn path=/trunk/mcs/; revision=4259
2002-05-03 21:14:40 +00:00
Dennis Hayes 75a9dbfb31 * Corrected some enum values.
* Minor formatting.

svn path=/trunk/mcs/; revision=4258
2002-05-03 21:06:18 +00:00
Dennis Hayes 1b5a61dfec * added BorderStyle.cs, it got left out in the last commit
svn path=/trunk/mcs/; revision=4257
2002-05-03 20:50:10 +00:00
Dennis Hayes 4afb8ad60b * Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
* Moved then to System.Windows.Forms\System.Windows.Forms\*.cs.
* Bursted them out, puting each enums in its own file.
* used ennumcheck to set correct values.
* Ran Monostyle on them.
* ArrangeDirection.cs enum does not have values for left and right.

svn path=/trunk/mcs/; revision=4256
2002-05-03 20:44:23 +00:00
Rodrigo Moya 0962187d6e 2002-05-03 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlString.cs: more implementation, by
	Tim Coleman <[email protected]>.

svn path=/trunk/mcs/; revision=4255
2002-05-03 19:40:49 +00:00
Mike Kestner bcaddc00a8 Reactivate System.Drawing build. Bugfixes and stubbing of non-trivial
build breakers.

from System.Drawing/ChangeLog

2002-05-03  Mike Kestner <[email protected]>

	* Bitmap.cs : using System.IO
	* ColorTranslator.cs : Stubbed off build breakers.
	* Image.cs : Stub off IDisposable and ICloneable.

from System.Drawing.Imaging/ChangeLog

2002-05-03  Mike Kestner  <[email protected]>

	* Metafile.cs : Use System.IO. Fix exception typos.

svn path=/trunk/mcs/; revision=4254
2002-05-03 17:47:11 +00:00
Paolo Molaro 8c993f32c2 Added some missing FP opcodes and made x86_patch() handle also the call opcode.
svn path=/trunk/mono/; revision=4252
2002-05-03 12:52:19 +00:00
Sergey Chaban e2d9273906 * divun.cs: microbenchmark for DIV.UN opt.
svn path=/trunk/mono/; revision=4251
2002-05-03 12:22:45 +00:00
Sergey Chaban 058b1e7372 * x86.brg: coni4 optimizations for MUL and DIV_UN;
svn path=/trunk/mono/; revision=4250
2002-05-03 12:20:27 +00:00
Dietmar Maurer 60c9579fd6 2002-05-03 Dietmar Maurer <[email protected]>
* x86.brg: use VAROFFSET macro

	* emit-x86.c (tree_emit): allocate space for spilled regs in
	activation frame instead of pushing them to the stack.

svn path=/trunk/mono/; revision=4249
2002-05-03 08:07:37 +00:00
Dietmar Maurer f6a42d35bf 2002-05-03 Dietmar Maurer <[email protected]>
* x86.brg: replace BXX with CBRANCH/COMPARE
	replaced CXX CSET/COMPARE

svn path=/trunk/mono/; revision=4248
2002-05-03 06:01:21 +00:00
Daniel Morgan 26625e0d8f 2002-05-03 Daniel Morgan <[email protected]>
* Test/TestExecuteScalar.cs: added test for
	method ExecuteScalar in class SqlCommand.

	* System.Data/DataColumnCollection.cs - it should
	inherit properties from base InternalDataCollectionBase
	and use them instead of overriding them, such as, List.

	* System.Data/DataColumn.cs
	* System.Data/DataTable.cs: tweaks to retrieve
	meta data from the database

	* System.Data.SqlClient/PostgresLibrary.cs -
	added method OidToType to convert PostgreSQL oid type
	to System.Type.  Renamed method OidTypeToSystem
	to ConvertPgTypeToSystem for converting the data value
	from a PostgreSQL type to a .NET System type.

	* System.Data.SqlClient/SqlCommand.cs: implemented
	method ExecuteReader which returns a SqlDataReader
	for a light forward only read only result set.
	It works on types int4 ==> Int32 and
	varchar ==> String.  Other types
	will come later.

	* System.Data.SqlClient/SqlConnection.cs: added comment

	* System.Data.SqlClient/SqlDataReader.cs: implemented
	class.  It works, but still lots to do.

	* Test/ReadPostgresData.cs: stuff

	* Test/TestSqlDataReader.cs: updated test for SqlDataReader
	to display meta data and the data

svn path=/trunk/mcs/; revision=4247
2002-05-03 05:16:20 +00:00
Dietmar Maurer a1d803430d 2002-05-03 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_allocate_regs): improved register allocation

svn path=/trunk/mono/; revision=4246
2002-05-03 02:58:04 +00:00
Miguel de Icaza eb43494667 remove more un-needed code
svn path=/trunk/mcs/; revision=4245
2002-05-03 01:15:28 +00:00
Miguel de Icaza a2a9460e1d Flush
svn path=/trunk/mono/; revision=4244
2002-05-03 01:13:42 +00:00
Miguel de Icaza 524729f80f Flush
svn path=/trunk/mono/; revision=4242
2002-05-03 00:49:22 +00:00
Miguel de Icaza 04f0f7d512 Get the build going again
svn path=/trunk/mcs/; revision=4241
2002-05-03 00:33:34 +00:00
Duncan Mak 1f393bae97 Added a missing line to enable Locale.GetText.
svn path=/trunk/mcs/; revision=4240
2002-05-03 00:28:22 +00:00
Miguel de Icaza 674dee3554 Temporary hack, as we still use MS libs for now
svn path=/trunk/mcs/; revision=4239
2002-05-03 00:24:47 +00:00
Duncan Mak 41f2834116 2002-05-03 Duncan Mak <[email protected]>
* TODO: Took out all the Exceptions. They should be all done now.

	* System.Data/ConstraintException.cs:
	* System.Data/DBConcurrencyException.cs:
	* System.Data/DataException.cs:
	* System.Data/DeletedRowInaccessibleException.cs:
	* System.Data/DuplicateNameException.cs:
	* System.Data/EvaluateException.cs:
	* System.Data/InRowChangingEventException.cs:
	* System.Data/InvalidConstraintException.cs:
	* System.Data/InvalidExpressionException.cs:
	* System.Data/MissingPrimaryKeyException.cs:
	* System.Data/NoNullAllowedException.cs:
	* System.Data/ReadOnlyException.cs:
	* System.Data/RowNotInTableException.cs:
	* System.Data/StrongTypingException.cs:
	* System.Data/SyntaxErrorException.cs:
	* System.Data/TypeDataSetGeneratorException.cs:
	* System.Data/VersionNotFoundException.cs: Added to CVS.

	* System.Data.SqlTypes/SqlNullValueException.cs:
	* System.Data.SqlTypes/SqlTruncateException.cs:
	* System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4238
2002-05-03 00:15:44 +00:00
Rodrigo Moya 0b5baf20b5 Updated TODO
svn path=/trunk/mcs/; revision=4235
2002-05-02 19:51:50 +00:00
Rodrigo Moya fe4fef67b0 2002-05-02 Rodrigo Moya <[email protected]>
* System.Data/DataViewSettingCollection.cs: implemented.

	* System.Data/DataRowView.cs: new stubs.

	* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlDateTime.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlGuid.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt64.cs:
	* System.Data.SqlTypes/SqlMoney.cs:
	* System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
	by Tim Coleman <[email protected]>

	* System.Data.build: excluded newly-added files.

svn path=/trunk/mcs/; revision=4234
2002-05-02 19:34:25 +00:00
Ravi Pratap M d002da5b74 2002-05-02 Ravi Pratap <[email protected]>
* delegate.cs : Handle the case when we have more than one applicable
	method. Flag an error only when we finish checking all.

svn path=/trunk/mcs/; revision=4233
2002-05-02 16:21:28 +00:00
Ravi Pratap M 38cf091dd3 2002-05-02 Ravi Pratap <[email protected]>
* test-114.cs : Add.

svn path=/trunk/mcs/; revision=4232
2002-05-02 16:19:29 +00:00
Ravi Pratap M cb95c0c2d6 2002-05-02 Ravi Pratap <[email protected]>
* expression.cs (IsApplicable): Ensure that we add the "&" to
	ref/out types before comparing it with the type of the argument.

	(IsParamsMethodApplicable): Ditto.

	(Argument.Type): Use TypeManager.LookupType instead of Type.GetType -
	silly me ;-)

svn path=/trunk/mcs/; revision=4231
2002-05-02 15:47:21 +00:00
Ravi Pratap M b806eae607 2002-05-02 Ravi Pratap <[email protected]>
* test-113.cs : Another test for overload resolution ;-)

svn path=/trunk/mcs/; revision=4230
2002-05-02 15:44:42 +00:00
Daniel Carrera 47036162d5 PCL-CVS
svn path=/trunk/mcs/; revision=4229
2002-05-02 15:19:16 +00:00
Daniel Carrera 08232fa8b3 *** empty log message ***
svn path=/trunk/mcs/; revision=4228
2002-05-02 15:15:37 +00:00
Daniel Carrera 03512fe05f PCL-CVS
svn path=/trunk/mcs/; revision=4227
2002-05-02 15:12:53 +00:00
Daniel Carrera 504d8dcacf Minor update to FeatureSupport.cs.
svn path=/trunk/mcs/; revision=4226
2002-05-02 14:17:59 +00:00
Gonzalo Paniagua Javier 38ae913454 2002-05-02 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs (Parse): don't use a delegate to test for valid digits.

svn path=/trunk/mcs/; revision=4225
2002-05-02 13:51:41 +00:00
Miguel de Icaza f2414da5c2 2002-05-02 Miguel de Icaza <[email protected]>
* expression.cs: Add support for boolean static initializers.

svn path=/trunk/mcs/; revision=4224
2002-05-02 13:19:39 +00:00
Nick Drochak 5a19c6539a 2002-05-03 Nick Drochak <[email protected]>
* MemoryStream.cs: Refrain from allocating array until the space is
	really needed. This fixes a bug in the Length property when the
	constructor without the byte array is used.

svn path=/trunk/mcs/; revision=4223
2002-05-02 12:32:37 +00:00
Paolo Molaro f1dfe191da Test for Char.IsNumber.
svn path=/trunk/mono/; revision=4222
2002-05-02 12:13:19 +00:00
Paolo Molaro 1ea7f0707c Thu May 2 17:56:52 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c, image.h: add some support for assemblies
	with multiple modules.
	* class.c, class.h: export mono_class_from_typeref().
	* loader.c: remove duplicated code and use mono_class_from_typeref(),
	instead.

svn path=/trunk/mono/; revision=4221
2002-05-02 12:12:50 +00:00
Gonzalo Paniagua Javier 2f01d742cf 2002-05-02 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* Int64.cs:
	* UInt32.cs:
	* UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.

svn path=/trunk/mcs/; revision=4220
2002-05-02 10:29:03 +00:00
Paolo Molaro 4cda244b0a Thu May 2 15:51:11 CEST 2002 Paolo Molaro <[email protected]>
* unicode.c: Char.IsNumber doesn't include hex digits as the ms
	documentation says (the ECMA one is correct).

svn path=/trunk/mono/; revision=4219
2002-05-02 10:04:07 +00:00
Paolo Molaro 3b5066f534 Thu May 2 15:18:11 CEST 2002 Paolo Molaro <[email protected]>
* ArrayList.cs: make mcs compile again: it's allowed to
	call arraylist.CopyTo(array, 0) when the length of the array
	is also 0.

svn path=/trunk/mcs/; revision=4218
2002-05-02 09:31:16 +00:00
Daniel Morgan 1fee921ab8 2002-05-02 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: included new
	internal class that will be a helper class in using
	PostgreSQL.  PostgresLibrary is used for the
	pinvoke methods to the PostgreSQL Client
	native C library libpq while the class PostgresHelper
	is used for	wrapper or helper methods.  It currently only
	has one static method OidTypeToSystem in converting
	PostgreSQL types to .NET System.<type>s, such as,
	a PostgreSQL int8 becomes a .NET System.Int64.
	Only a few types have been added, such as, int2,
	int4, int8, varchar, text, bool, and char.  Other types
	will come later.

	* System.Data.SqlClient/SqlCommand.cs: implemented
	method ExecuteScalar which allows us to do aggregate
	functions, such as, count, avg, min, max, and sum.  We
	also are able to retrieve the result, convert it to the .NET type
	as an object.  The user of the returned object must explicitly cast.

	* Test/ReadPostgresData.cs: updated sample
	to help us learn to retrieve data in System.Data.SqlClient
	classes

svn path=/trunk/mcs/; revision=4217
2002-05-02 07:23:41 +00:00
Dick Porter 614477fa7c 2002-05-02 Dick Porter <[email protected]>
* threads.c: Use GC_debug_register_finalizer with GC_debug_malloc.
	Don't name the synchronisation mutex.

svn path=/trunk/mono/; revision=4216
2002-05-02 06:49:41 +00:00
Dietmar Maurer ada9d4a3d1 2002-05-02 Dietmar Maurer <[email protected]>
* delegate.c (mono_delegate_cleanup): signal semaphore in order to
	exit threads.

svn path=/trunk/mono/; revision=4215
2002-05-02 05:03:43 +00:00
Daniel Morgan a95d80e6f5 2002-05-01 Daniel Morgan <[email protected]>
* System.Data.build: added /nowarn: nnnn arguments
	so you will not get a ton of warnings.  The warnings
	being excluded are: 1595, 0067, 0109, 0169, and	0649

svn path=/trunk/mcs/; revision=4214
2002-05-01 23:20:22 +00:00
Daniel Morgan 9492fca4df 2002-05-01 Daniel Morgan <[email protected]>
* System.Data.build: modified to exclude more
	files from the build

svn path=/trunk/mcs/; revision=4213
2002-05-01 22:33:23 +00:00
Duncan Mak 2243a28b34 2002-05-01 Duncan Mak <[email protected]>
* ListChangedType.cs:
	    * ListChangedEventHandler.cs:
	    * ListChangedEventArgs.cs: Added to fix build.

svn path=/trunk/mcs/; revision=4212
2002-05-01 21:42:29 +00:00
Miguel de Icaza 002040ac20 Add small list
svn path=/trunk/mcs/; revision=4210
2002-05-01 21:08:42 +00:00
Miguel de Icaza 41285d379d 2002-05-01 Miguel de Icaza <[email protected]>
* PropertyDescriptorCollection.cs: Added the IList explicit
	implementation methods.

	lots of bug fixes to get the build to compile again.

svn path=/trunk/mcs/; revision=4209
2002-05-01 21:04:37 +00:00
Miguel de Icaza 8dd8694eb5 More corlib and System.Data compilation bugs:
2002-05-01  Miguel de Icaza  <[email protected]>

	* attribute.cs: Use proper cast for Events, since we use a MyEventBuilder.

	* parameter.cs (ComputeParameterTypes,
	ComputeAndDefineParameterTypes): Better error handling: now we
	clear the `types' cache if we fail during any of the type lookups.
	We also return the status code correctly to our caller

	* delegate.cs: If we fail to define a delegate, abort the extra
	steps.

svn path=/trunk/mcs/; revision=4208
2002-05-01 21:02:36 +00:00
Miguel de Icaza 54dd50fdc4 Small changes to get things to compile with MCS. It compiles now,
but there are too many missing classes that need to be stubbed out.

svn path=/trunk/mcs/; revision=4207
2002-05-01 20:29:29 +00:00
Miguel de Icaza 7320eb5c15 Miggy version
svn path=/trunk/mcs/; revision=4206
2002-05-01 20:15:43 +00:00
Miguel de Icaza 2becf838ae Miggy version
svn path=/trunk/mcs/; revision=4205
2002-05-01 20:11:34 +00:00
Miguel de Icaza e9f50210de New file
svn path=/trunk/mcs/; revision=4204
2002-05-01 20:10:28 +00:00
Rodrigo Moya 0f282cde1b 2002-05-01 Rodrigo Moya <[email protected]>
* doc/ado-net: updated a little bit.

svn path=/trunk/mono/; revision=4203
2002-05-01 19:26:06 +00:00
Miguel de Icaza 5f2d5d48b4 Flush
svn path=/trunk/mono/; revision=4202
2002-05-01 19:22:06 +00:00
Duncan Mak b61723e1d5 2002-05-01 Duncan Mak <[email protected]>
* ListSortDirection.cs: EnumChecked.

svn path=/trunk/mcs/; revision=4201
2002-05-01 18:06:51 +00:00
Rodrigo Moya c4cb862aab 2002-05-01 Rodrigo Moya <[email protected]>
* ListSortDirection.cs: new enumeration. Please, somebody run
	EnumCheck on it, as I don't have a windows machine.

	* PropertyDescriptorCollection.cs: new class.

	* ITypedList.cs:
	* IBindingList.cs: new interfaces.

svn path=/trunk/mcs/; revision=4200
2002-05-01 17:58:24 +00:00
Miguel de Icaza bba10f11b9 (ArrayAccess.DoResolve): Array Access can operate on
non-variables.

svn path=/trunk/mcs/; revision=4199
2002-05-01 17:49:55 +00:00
Rodrigo Moya 2574cb7ae8 2002-05-01 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlClientPermission.cs: added missing
	'using's.

	* System.Data/MergeFailedEventArgs.cs: new class, contributed
	by John Dugaw <[email protected]>.

	* System.Data.build: excluded new files from build.

svn path=/trunk/mcs/; revision=4198
2002-05-01 17:49:21 +00:00
Miguel de Icaza 333250ae8a more tests
svn path=/trunk/mcs/; revision=4197
2002-05-01 17:35:57 +00:00
Miguel de Icaza 2e935223ba 2002-05-01 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): for
	operator==(object,object) and operator !=(object, object) we also
	have to verify that there is an implicit conversion from one to
	the other.

svn path=/trunk/mcs/; revision=4196
2002-05-01 17:33:01 +00:00
Duncan Mak 5932767a1f Serialization constructors should be protected.
svn path=/trunk/mcs/; revision=4195
2002-05-01 14:09:49 +00:00
Paolo Molaro 7f85f99c35 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <[email protected]>
* dump.c, dump.h, main.c: dump ExportedTypes table.
	* get.c: fix get_module (), remove magic numbers.
	* monodis.1: update manpage (hi miguel!:)

svn path=/trunk/mono/; revision=4194
2002-05-01 11:22:43 +00:00
Paolo Molaro 2a1883a7ec Wed May 1 17:05:40 CEST 2002 Paolo Molaro <[email protected]>
* SortedList.cs: fix RemoveAt () to use the correct length in
	Array.Copy.

svn path=/trunk/mcs/; revision=4193
2002-05-01 11:18:09 +00:00
Nick Drochak d5c25179ff 2002-05-01 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: Catch and display exception info where it wasn't
	being caught before.

svn path=/trunk/mcs/; revision=4192
2002-05-01 11:05:31 +00:00
Dick Porter c356e2c07c Use the cygwin stable autotools, code from Serge.
svn path=/trunk/mono/; revision=4191
2002-05-01 10:50:54 +00:00
Nick Drochak 52b3d45d86 2002-05-01 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestBinarySearch) : accomodate possible bug in
	.NET runtime.

svn path=/trunk/mcs/; revision=4190
2002-05-01 10:31:43 +00:00
Nick Drochak 7a335d40dd 2002-05-01 Nick Drochak <[email protected]>
* ArrayList.cs (Add & AddRange) : Throw exceptions where needed.

svn path=/trunk/mcs/; revision=4189
2002-05-01 10:28:01 +00:00
Nick Drochak 40fca7f7be 2002/05/01 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestCopyTo) : Make assert messages unique and
	avoid possible MS.NET bug when test is run on .NET.

svn path=/trunk/mcs/; revision=4188
2002-05-01 06:36:09 +00:00
Nick Drochak 9368e5c975 2002/05/01 Nick Drochak <[email protected]>
* ArrayList.cs (CopyTo) : Check parameters and throw exceptions
	where needed.

svn path=/trunk/mcs/; revision=4187
2002-05-01 06:34:30 +00:00
Lawrence Pit 3ed3cfcf7e not yet used by Dns itself
svn path=/trunk/mcs/; revision=4186
2002-05-01 02:59:06 +00:00
Duncan Mak 515cb9600d 2002-05-01 Duncan Mak <[email protected]>
* DebuggableAttribute.cs: Added missing AttributeUsage attribute.

	* Convert.cs:
	* Math.cs: Added missing CLSCompliant attributes where necessary.

svn path=/trunk/mcs/; revision=4185
2002-05-01 01:43:51 +00:00
Duncan Mak 0a53f898e3 2002-05-01 Duncan Mak <[email protected]>
* DirectoryNotFoundException.cs (constructor): Added missing
	serialization constructor.

svn path=/trunk/mcs/; revision=4184
2002-05-01 01:26:24 +00:00
Duncan Mak cfacf6bed3 Fix typos.
svn path=/trunk/mcs/; revision=4183
2002-05-01 00:19:06 +00:00
Duncan Mak 6164d8a0ce 2002-04-30 Duncan Mak <[email protected]>
* FileLoadException.cs (constructors): Added missing (string,
	string) ctor, as well as (string, string, Exception) ctor.

	(Message): Added more info to the error message

	(ToString): Added. We'll need to add the StackTrace stuff when
	that works.

	* FileShare.cs: Add a missing field, Inheritable.

	* TextReader.cs: Renamed Synchronised method to Synchronized.

	* TextWriter.cs: Renamed Synchronised method to Synchronized.
	Renamed protected member coreNewLine to CoreNewLine.

svn path=/trunk/mcs/; revision=4182
2002-05-01 00:13:08 +00:00
Duncan Mak f8a8e9b1a7 2002-04-30 Duncan Mak <[email protected]>
* ArgumentException.cs (Message):
	* ArgumentOutOfRangeException.cs (Message): Added.

svn path=/trunk/mcs/; revision=4181
2002-04-30 23:13:38 +00:00
Jason Diamond cc50b5e36c Style updates from Tim Coleman.
svn path=/trunk/mcs/; revision=4180
2002-04-30 22:56:21 +00:00
Miguel de Icaza e19cb4f11d 2002-04-30 Miguel de Icaza <[email protected]>
* assign.cs (CompoundAssign): A new class used as a "flag" that
	the assignment actually is happening as part of a compound
	assignment operator.

	During compound assignment, a few new rules exist to enable things
	like:

	byte b |= 1 + 2

	From the spec:

	x op= y can be evaluated as x = (T) (x op y) (ie, an explicit cast
	to the type of x) if y is implicitly convertible to the type of x,
	and the operator is a builtin operator and the return type of the
	operator is explicitly convertible to the type of x.

	* rootcontext.cs: Reset warning level to 2.  4 catches various
	"interesting" features in mcs, we must clean this up at some
	point, but currently am trying to kill other bugs ;-)

svn path=/trunk/mcs/; revision=4179
2002-04-30 21:57:42 +00:00
Jeffrey Stedfast 81326b5efb 2002-04-30 Jeffrey Stedfast <[email protected]>
* rand.c
	(ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetBytes):
	Make the prototypes match.
	(ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetNonZeroBytes):
	Same.

svn path=/trunk/mono/; revision=4178
2002-04-30 19:35:31 +00:00
Jeffrey Stedfast b0ce6f6750 2002-04-30 Jeffrey Stedfast <[email protected]>
* configure.in: Added checks for timezone stuff.

svn path=/trunk/mono/; revision=4177
2002-04-30 19:30:06 +00:00
Jeffrey Stedfast 109be198e8 2002-04-30 Jeffrey Stedfast <[email protected]>
* icall.c
	(ves_icall_System_CurrentTimeZone_GetTimeZoneData): Fixed for
	systems that use 'timezone' rather than tm.tm_gmtoff. Also, not
	all systems have tm.tm_zone, so use strftime() with %Z to print
	the timezone abreviation into a temp string.

	* object.c (mono_ldstr): Fixed to use mono_string_chars() macro
	rather than mono_array_addr() on a MonoString on Big Endian
	machines.

svn path=/trunk/mono/; revision=4176
2002-04-30 19:29:33 +00:00
Daniel Stodden 411cc3ae5d - wrong date in changelog
- backed out accidental commit in Test/AllTests.cs
- better going to sleep now, sorry

svn path=/trunk/mcs/; revision=4175
2002-04-30 19:27:41 +00:00
Daniel Stodden 95fef23511 added delegate tests and changelog entries
svn path=/trunk/mcs/; revision=4174
2002-04-30 19:19:04 +00:00
Daniel Stodden 52883ef766 - Fast RemoveImpl() for delegates, with test cases
svn path=/trunk/mcs/; revision=4173
2002-04-30 19:08:08 +00:00
Daniel Stodden 5f7b1439cf simple testcase for multicastdelegates::combine and ::remove
svn path=/trunk/mcs/; revision=4172
2002-04-30 18:47:33 +00:00
Dick Porter e2f05b5541 2002-04-30 Dick Porter <[email protected]>
* Thread.cs: If LocalDataStoreSlot already has data set, remove it
	before adding a new one.

	Use the Thread object destructor to tell the runtime to close the
	thread handle.

svn path=/trunk/mcs/; revision=4171
2002-04-30 18:40:32 +00:00
Jeffrey Stedfast 8d428930e2 2002-04-30 Jeffrey Stedfast <[email protected]>
* atomic.c: Changed to use a normal mutex rather than a spinlock
	since a lot of platforms seem to not have them :\

svn path=/trunk/mono/; revision=4170
2002-04-30 18:32:21 +00:00
Miguel de Icaza 786c970f59 2002-04-30 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Perform member lookups
	in container classes as well.

	* expression.cs (Binary.ResolveOperator): Handle string case
	before anything else (as operator overloading does emit an error
	before doing anything else).

	This code could go away when we move to a table driven model, but
	i could not come up with a good plan last night.

svn path=/trunk/mcs/; revision=4169
2002-04-30 17:09:00 +00:00
Sergey Chaban fc3048b245 * BinaryReader.cs: internal buffer fix. Little-endian conversions.
* BinaryWriter.cs: little-endian conversions.

svn path=/trunk/mcs/; revision=4168
2002-04-30 14:32:21 +00:00
Dietmar Maurer 206fe12e23 2002-04-30 Dietmar Maurer <[email protected]>
* string-icalls.c (ves_icall_System_String_InternalReplace_Str):
	fix bug 24041

svn path=/trunk/mono/; revision=4167
2002-04-30 13:07:29 +00:00
Dick Porter 94ddc5e3cc 2002-04-30 Dick Porter <[email protected]>
* Completely rewrote the handle waiting code: removed the helper
	thread and its attendant complexity.  All handle waiting is now
	abstracted into the WaitForSingleObject() and
	WaitForMultipleObjects() functions.

	* Implemented inter-process sharing of handles using sysv shared
	memory.  This makes handles even more opaque, with a handle now
	just an index into an array.

2002-04-30  Dick Porter  <[email protected]>

	* socket-io.c: Cope with SOCKET being an integer rather than a
	pointer now.

	* threads.c: Added Thread_free_internal, to deal with thread
	handle cleanup.  Moved calls to handle_store() and handle_remove()
	to start_wrapper(), so each can only be called once.  Allocate
	synchronisation blocks with GC_malloc(), and use GC finalisation
	to close the handles.

	* icall.c: added System.Threading.Thread::Thread_free_internal

2002-04-30  Dick Porter  <[email protected]>

	* acconfig.h:
	* configure.in: Added option to disable using shared memory for
	handles

2002-04-30  Dick Porter  <[email protected]>

	* shmdel.c:
	* scratch.c:
	* hps.c:
	* Makefile.am: Some tools to help debug shared memory handles:
	'hps' shows handle status, 'scratch' displays info about scratch
	data (such as handle names), 'shmdel' deletes the shared memory
	segment.

2002-04-30  Dick Porter  <[email protected]>

	* interp.c: Tell glib to not abort when g_log() etc print
	recursively

2002-04-30  Dick Porter  <[email protected]>

	* mono.c (main): Tell glib to not abort when g_log() etc print
	recursively

svn path=/trunk/mono/; revision=4166
2002-04-30 12:17:27 +00:00
Lawrence Pit 0916c59d8f CSharpName using regex, warninglevel set to 4 (= default), added null check for fields in Emit
svn path=/trunk/mcs/; revision=4165
2002-04-30 12:05:23 +00:00
Paolo Molaro dd782fdf52 Fix thinko pointed out by rxdan.
svn path=/trunk/mono/; revision=4164
2002-04-30 10:34:00 +00:00
Dietmar Maurer ef69e7d572 (MUL) use shift when possible.
(DIV) use shift when possible.
	impl. various opt. with coni4

svn path=/trunk/mono/; revision=4163
2002-04-30 05:17:47 +00:00
Nick Drochak 137b484647 2002/04/30 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestInsertRange) : Make assert messages unique.

svn path=/trunk/mcs/; revision=4162
2002-04-30 03:51:49 +00:00
Nick Drochak 81ac2b6a08 2002/04/30 Nick Drochak <[email protected]>
* ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
		(InsertRange) : Implement.
		(SetRange) : Implement.

svn path=/trunk/mcs/; revision=4161
2002-04-30 03:44:17 +00:00
Dietmar Maurer 57397f5c1a 2002-04-30 Dietmar Maurer <[email protected]>
* x86.brg: opt. LDELEMA impl.

svn path=/trunk/mono/; revision=4160
2002-04-30 03:18:46 +00:00
Dietmar Maurer f42cbb4150 2002-04-30 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): use ctx->SC_EBP in
	end_of_stack check as suggested by Linus Upson <[email protected]>

svn path=/trunk/mono/; revision=4159
2002-04-30 02:09:11 +00:00
Miguel de Icaza 89cdcb87ca 2002-04-29 Miguel de Icaza <[email protected]>
* typemanager.cs (CSharpName): reimplemented with Lupus
	suggestion.

2002-04-28  Miguel de Icaza  <[email protected]>

	* statement.cs (If): correclty implement Resolve, because we were
	not catching sem errors in there.  The same process is needed
	everywhere else.
	(Return, StatementExpression, For, While, Do, Throw, Lock): Implement Resolve


	(Statement.Warning_DeadCodeFound): Factorize code.
	(While): Report dead code here too.

	(Statement): Added Resolve virtual method to allow
	for resolution split from the emit code.

svn path=/trunk/mcs/; revision=4158
2002-04-29 23:17:45 +00:00
Jason Diamond 1fab6ad48b Added System.Xml.Xsl stubs courtesy of Tim Coleman <[email protected]>.
svn path=/trunk/mcs/; revision=4157
2002-04-29 21:55:36 +00:00
Nick Drochak d7f01f7cc2 2002-04-30 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestTrimToSize): Change test so that it doesn't
	rely on the specific timing of a capacity change.  Our corlib doubles
	capacity sooner than the reference system does.

svn path=/trunk/mcs/; revision=4156
2002-04-29 12:57:45 +00:00
Nick Drochak fc21b062ad 2002-04-30 Nick Drochak <[email protected]>
* ArrayList.cs (TrimToSize) : Implement.

svn path=/trunk/mcs/; revision=4155
2002-04-29 12:50:58 +00:00
Nick Drochak 0b876e346b 2002-04-30 Nick Drochak <[email protected]>
* MonoType.cs: Remove unused variable and eliminate a compiler warning.

svn path=/trunk/mcs/; revision=4154
2002-04-29 12:19:35 +00:00
Miguel de Icaza c2cf5191d4 Update man page
svn path=/trunk/mono/; revision=4153
2002-04-29 12:18:06 +00:00
Paolo Molaro 1d8601ac07 Recognise more arm system names.
svn path=/trunk/mono/; revision=4152
2002-04-29 12:16:51 +00:00
Paolo Molaro fac9d66fab Removed mono_string_new_wrapper().
svn path=/trunk/mono/; revision=4151
2002-04-29 12:14:39 +00:00
Nick Drochak 518c749b9a 2002-04-30 Nick Drochak <[email protected]>
* UInt32Test.cs: More verbose on unexepected exception to eliminate
	compiler warning.

svn path=/trunk/mcs/; revision=4150
2002-04-29 11:51:30 +00:00
Nick Drochak c9c5b7c891 2002-04-30 Nick Drochak <[email protected]>
* ArrayListTest.cs: Catch unexpected exception typs and report as
	failures.

svn path=/trunk/mcs/; revision=4149
2002-04-29 11:49:50 +00:00
Nick Drochak f40a0fb347 2002-04-30 Nick Drochak <[email protected]>
* IPAddressTest.cs: Remove unused code to eliminate compiler warnings.

svn path=/trunk/mcs/; revision=4148
2002-04-29 11:48:07 +00:00
Dietmar Maurer d33c4536fe * x86.brg (LDLEN, UNBOX): removed unnecessary NULL check.
svn path=/trunk/mono/; revision=4147
2002-04-29 10:56:09 +00:00
Dietmar Maurer ccef356f89 2002-04-29 Dietmar Maurer <[email protected]>
* exception.c: included the Freebsd patch from Sandro Tolaini
	<[email protected]>

svn path=/trunk/mono/; revision=4146
2002-04-29 10:19:16 +00:00
Paolo Molaro 2dbf2c6470 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <[email protected]>
* Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().

svn path=/trunk/mcs/; revision=4145
2002-04-29 09:45:51 +00:00
Paolo Molaro 76efaf5f74 Mon Apr 29 15:33:27 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: support Environment.Exit, CommandLineArgs().

svn path=/trunk/mono/; revision=4144
2002-04-29 09:45:44 +00:00
Paolo Molaro be3c095f22 Mon Apr 29 15:18:00 CEST 2002 Paolo Molaro <[email protected]>
* mono.c, jit.c: use mono_runtime_run_main ().

svn path=/trunk/mono/; revision=4143
2002-04-29 09:30:04 +00:00
Paolo Molaro 8152edf8cb Mon Apr 29 15:15:57 CEST 2002 Paolo Molaro <[email protected]>
* object.c, object.h: added mono_runtime_run_main () and
	mono_runtime_get_main_args () for use in System.Environment.

svn path=/trunk/mono/; revision=4142
2002-04-29 09:28:49 +00:00
Paolo Molaro f3a5243312 Fix sample code so that it has a chance of running.
svn path=/trunk/mono/; revision=4141
2002-04-29 09:26:30 +00:00
Dietmar Maurer 35c50b17f1 * jit.c (mono_analyze_stack): dont call methods on Object with
METHOD_ATTRIBUTE_FINAL directly because it breaks remoting.

svn path=/trunk/mono/; revision=4140
2002-04-29 09:03:04 +00:00
Dietmar Maurer 5d5d2cd714 x86.brg: added more CONV_U rules
svn path=/trunk/mono/; revision=4138
2002-04-29 08:12:43 +00:00
Paolo Molaro e1764e9f27 Mon Apr 29 13:45:11 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: fix thinko, enable actual finalization since the jit is now
	fixed.

svn path=/trunk/mono/; revision=4137
2002-04-29 07:57:22 +00:00
Dietmar Maurer dbdc09ac51 (mono_analyze_stack): emit right CONV_UX opcodes: fixes bug 23547
svn path=/trunk/mono/; revision=4136
2002-04-29 07:55:08 +00:00
Paolo Molaro 17cd2d2f47 Small test updates.
svn path=/trunk/mono/; revision=4135
2002-04-29 07:00:47 +00:00
Paolo Molaro dc494c191c Mon Apr 29 12:47:36 CEST 2002 Paolo Molaro <[email protected]>
* gc.c, object.c: take into account that an object may be offset wrt the address
	returned by GC_malloc().

svn path=/trunk/mono/; revision=4134
2002-04-29 07:00:19 +00:00
Dietmar Maurer 94d8366b5a 2002-04-29 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): avoid recursive call of virtual
	methods: fixes Bug #23778

svn path=/trunk/mono/; revision=4133
2002-04-29 06:27:31 +00:00
Paolo Molaro 999ccf6b67 Mon Apr 29 12:14:39 CEST 2002 Paolo Molaro <[email protected]>
* image.c: handle files without entries in the assembly table (modules).

svn path=/trunk/mono/; revision=4132
2002-04-29 06:27:09 +00:00
Paolo Molaro c8e776dbda Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <[email protected]>
* dump.c, dump.h, main.c: support for dumping the manifest resource table.

svn path=/trunk/mono/; revision=4131
2002-04-29 06:25:28 +00:00
Dietmar Maurer 1b2446e122 2002-04-29 Dietmar Maurer <[email protected]>
* exception.c (arch_handle_exception): only g_assert(cleanup) if
	we really need it.

svn path=/trunk/mono/; revision=4130
2002-04-29 05:57:50 +00:00
Daniel Morgan fd1141aa7d 2002-04-29 Daniel Morgan <[email protected]>
* Test/ReadPostgresData.cs: added - Uses the
	PostgresLibrary to retrieve a recordset.
	This is not meant to be used in Production, but as a
	learning aid in coding
	class System.Data.SqlClient.SqlDataReader.
	This sample does work.

	* Test/TestSqlDataReader.cs: added - used
	to test SqlDataReader (does not work yet)
	Forgot to add to ChangeLog on last commit.

svn path=/trunk/mcs/; revision=4129
2002-04-29 03:31:13 +00:00
Daniel Morgan aa76c85def *** empty log message ***
svn path=/trunk/mcs/; revision=4128
2002-04-28 21:45:51 +00:00
Duncan Mak 22861e550e 2002-04-28 Duncan Mak <[email protected]>
* ArrayList.cs (InsertRange):
	(SetRange):
	(Remove):
	(TrimToSize): Throw exceptions where needed.

	* DivideByZeroException.cs: Added missing serialization constructor.

svn path=/trunk/mcs/; revision=4127
2002-04-28 21:41:21 +00:00
Nick Drochak 6b34c855ea 2002-04-29 Nick Drochak <[email protected]>
* ArrayListTest.cs (TestBinarySearch): Catch the correct exception here.

svn path=/trunk/mcs/; revision=4126
2002-04-28 21:27:54 +00:00
Nick Drochak faa2c8e923 2002-04-29 Nick Drochak <[email protected]>
* ArrayListTest.cs (): Remove test on unsorted array.  Behavior is
	undefined according to docs. Re-added test that was commented out.

svn path=/trunk/mcs/; revision=4125
2002-04-28 20:13:57 +00:00
Duncan Mak 2db87b0f11 2002-04-28 Duncan Mak <[email protected]>
ArrayList.cs (InsertRange): Throw exceptions where needed.

svn path=/trunk/mcs/; revision=4124
2002-04-28 19:50:58 +00:00
Nick Drochak 44e1a334c6 2002-04-29 Nick Drochak <[email protected]>
* Hashtable.cs (CopyTo): Throw exceptions where needed.

svn path=/trunk/mcs/; revision=4123
2002-04-28 19:42:42 +00:00
Duncan Mak ed2ab56732 2002-04-28 Duncan Mak <[email protected]>;
* XmlSignificantWhitespace.cs (Value):
	* XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
	block. Added new private method, IsValidWhitespaceChar, for
	checking.

svn path=/trunk/mcs/; revision=4122
2002-04-28 19:38:48 +00:00
Miguel de Icaza 03ef5b2096 Commit TODO
svn path=/trunk/mcs/; revision=4121
2002-04-28 17:28:09 +00:00
Miguel de Icaza 03238b4beb 2002-04-28 Miguel de Icaza <[email protected]>
* test-108.cs: Improve test

svn path=/trunk/mcs/; revision=4120
2002-04-28 15:55:06 +00:00
Miguel de Icaza 11431ce842 2002-04-28 Miguel de Icaza <[email protected]>
* statement.cs (Statement.Warning_DeadCodeFound): Factorize code.
	(While): Report dead code here too.

svn path=/trunk/mcs/; revision=4119
2002-04-28 15:54:18 +00:00
Miguel de Icaza 68efdb29e9 Add new test for dead code elimination
svn path=/trunk/mcs/; revision=4118
2002-04-28 15:51:31 +00:00
Gonzalo Paniagua Javier f6f45462de 2002-04-28 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fix for conditional "THREADS_PTHREAD" was never
	defined problem under cygwin with latest version of automake and
	autoconf. Patch from Jeroen Janssen <[email protected]>.

svn path=/trunk/mono/; revision=4117
2002-04-28 15:51:25 +00:00
Miguel de Icaza 89474459e3 Implement Loop inversion for While statements and dead code elimination.
2002-04-28  Miguel de Icaza  <[email protected]>

	* statement.cs (Statement): Added Resolve virtual method to allow
	for resolution split from the emit code.

2002-04-26  Miguel de Icaza  <[email protected]>

	* statement.cs (EmitBoolExpression): No longer try to resolve the
	expression here.
	(MakeBoolean): New utility function that resolve, implicitly
	converts to boolean and tags the expression.


	(If, Do): Implement dead code elimination.
	(While): Implement loop inversion

	(Do, While, For, If): Resolve the expression prior to calling our
	code generation.

svn path=/trunk/mcs/; revision=4116
2002-04-28 15:49:04 +00:00
Duncan Mak c829c8c09a (FixedSize): Fixed typo.
svn path=/trunk/mcs/; revision=4115
2002-04-28 15:37:12 +00:00
Duncan Mak 3833f4ccda 2002-04-28 Duncan Mak <[email protected]>
* CollectionChangeAction.cs: Changed enum layout to fit the MS
	implementation. Please use EnumCheck!

	* UnauthorizedAccessException.cs: Added the missing
          Serializable attribute.

svn path=/trunk/mcs/; revision=4114
2002-04-28 15:34:40 +00:00
Rodrigo Moya b1cdb1f775 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataViewSetting.cs: new class.

svn path=/trunk/mcs/; revision=4113
2002-04-28 15:31:30 +00:00
Duncan Mak a355c9c1f8 2002-04-28 Duncan Mak <[email protected]>
* ArrayList.cs (ReadOnly):
	(IList.ReadOnly): Implemented.

	(Synchronized):
	(IList.Synchronized): Implemented.

	(ixedSize):
	(IList.FixedSize): Implemented.

svn path=/trunk/mcs/; revision=4112
2002-04-28 15:29:07 +00:00
Rodrigo Moya f8df49915e Excluded files
svn path=/trunk/mcs/; revision=4111
2002-04-28 15:23:23 +00:00
Rodrigo Moya 103a05ea37 Excluded files
svn path=/trunk/mcs/; revision=4110
2002-04-28 15:22:14 +00:00
Rodrigo Moya d34894849b 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataViewManager.cs: new class.

	* System.Data.SqlTypes/INullable.cs: properties for interfaces
	don't have implementation.

	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlString.cs:
	* System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
	these are strctures.

	* System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
	missing 'using's.

svn path=/trunk/mcs/; revision=4109
2002-04-28 15:02:31 +00:00
Rodrigo Moya 547a6d31df 2002-04-28 Rodrigo Moya <[email protected]>
* CollectionChangeAction.cs: new enumeration.

	* CategoryAttribute.cs: moved the 'return' keyword to the
	end of the method, to avoid compilation errors on Linux for
	all CategoryAttribute properties.

svn path=/trunk/mcs/; revision=4107
2002-04-28 13:31:38 +00:00
Rodrigo Moya 9e6ca819a3 2002-04-28 Rodrigo Moya <[email protected]>
* IListSource.cs:
	* ISupportInitialize.cs:
	* MarshalByValueComponent.cs: new stubs, needed for System.Data
	compilation.

	* PropertyChangedEventArgs.cs:
	* CollectionChangeEventHandler.cs:
	* CollectionChangeEventArgs.cs: implemented.

svn path=/trunk/mcs/; revision=4106
2002-04-28 13:11:25 +00:00
Rodrigo Moya 7853193bc3 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataTableRelationCollection.cs: use 'new' keyword
	for correctly hiding parent class' members.
	(AddRange): use 'override' keyword on overriden method.
	(Clear): likewise.
	(Contains): likewise.
	(IndexOf): likewise.
	(OnCollectionChanged): likewise.
	(OnCollectionChanging): likewise.
	(RemoveCore): likewise.

	* System.Data/DataColumnCollection.cs: use 'new' keyword.

	* System.Data/DataSet.cs: added missing 'using's.

svn path=/trunk/mcs/; revision=4105
2002-04-28 13:07:55 +00:00
Rodrigo Moya e509f318eb 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataSet.cs:
	* System.Data/DataTableCollection.cs:
	* System.Data/DataView.cs: compilation fixes on Linux.

svn path=/trunk/mcs/; revision=4104
2002-04-28 12:12:06 +00:00
Patrik Torstensson 929749fee5 2002-04-28 Patrik Torstensson <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): remove g_assert_not_reached() to allow
	mcs selfhosting	again (build breaker) and did move the check to class instead. parent is
	allowed to be null when it's System.Object class setup.

svn path=/trunk/mono/; revision=4102
2002-04-28 11:34:51 +00:00
Lawrence Pit eed54e475f Socket permission stuff, not yet used by Socket itself.
svn path=/trunk/mcs/; revision=4101
2002-04-28 09:12:58 +00:00
Nick Drochak b04682edc3 2002-04-28 Nick Drochak <[email protected]>
* makefile: Make NAnt.exe dependant on all the *.cs in src and each sub
	dir.  Since we don't remove it on a 'make clean' it doesn't get rebuilt
	when a new file is added or an existing one changed.

svn path=/trunk/mcs/; revision=4100
2002-04-28 08:55:13 +00:00
Nick Drochak abf5c798b8 2002-04-28 Nick Drochak <[email protected]>
* StringTest.cs: Mark Assert() messages with unique identifiers.
	* DecimalTest.cs: Write out more info in the Report method.  Need this
	to determine why op_Subtraction() is failing in the next line.
	* MathTest.cs:
	* DoubleTest.cs:
	* UInt32Test.cs: Add try-catch blocks to find out where the test is
	failing.

svn path=/trunk/mcs/; revision=4099
2002-04-28 08:45:26 +00:00
Daniel Morgan 2744f2972e 2002-04-28 Daniel Morgan <[email protected]>
* System.Data/DataRelation.cs
	* System.Data/ForeignKeyConstraint.cs
	* System.Data/UniqueConstraint.cs: added more stubs

	* System.Data/DataTableRelationCollection.cs: added back to cvs
	and modified for compile errors.  DataRelationCollection is an
	abstract class and there must be a class that implements for
	DataTable/DataSet.  DataTableRelationCollection was changed
	to an internal class.

	* System.Data.build: modified - new files added
	also wanted to include files/classes in the build
	so we can get a compilable forward read only result set.
	It compiles now using csc/nant with warnings, but this
	is a start for adding functionality for the result set.
	Classes associated with/and DataSet are still excluded.

	* TODO: modified - updated to do list for System.Data

	* System.Data/Constraint.cs
	* System.Data/ConstraintCollection.cs
	* System.Data/DataRelationCollection.cs
	* System.Data/DataRow.cs
	* System.Data/DataRowChangeEventArgs.cs
	* System.Data/DataRowCollection.cs
	* System.Data/DataTable.cs
	* System.Data/DataTableCollection.cs
	* System.Data/InternalDataCollectionBase.cs
	* System.Data/PropertyCollection.cs: modified -
	changes to compile SqlDataReader/DataTable and
	dependencies

	* System.Data/IDbCommand.cs
	* System.Data.SqlClient/SqlCommand.cs: modified -
	un-commented overloaded methods ExecuteReader
	which returns a SqlDataReader

svn path=/trunk/mcs/; revision=4098
2002-04-28 03:59:01 +00:00
Gonzalo Paniagua Javier c853e1750f 2002-04-28 Gonzalo Paniagua Javier <[email protected]>
* Math.cs: fix Floor () and Round (). Closes #23960.

svn path=/trunk/mcs/; revision=4097
2002-04-27 21:40:43 +00:00
Patrik Torstensson ff0e766f9c 2002-04-27 Patrik Torstensson <[email protected]>
* x86.brg: fixed bug in CONV_I8 (invalid stack correction)

svn path=/trunk/mono/; revision=4096
2002-04-27 19:42:40 +00:00
Lawrence Pit 41ebe002d2 added error code for Dns.c
svn path=/trunk/mcs/; revision=4095
2002-04-27 18:52:58 +00:00
Martin Baulig 23960afc5d 2002-04-27 Martin Baulig <[email protected]>
* jit.h (MonoFlowGrap): Renamed `epilogue_begin' to `epilogue_end',
	there's already `epilog' so we don't need `epilogue_begin'.

	* debug.c (mono_debug_add_method): Use `cfg->epilogue_end' to get the
	size of the method's code.

svn path=/trunk/mono/; revision=4094
2002-04-27 17:02:35 +00:00
Martin Baulig 58b198e7d8 2002-04-27 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_setup_internal_class): g_assert_not_reached()
	if `tb->parent == NULL' rather than crashing.

svn path=/trunk/mono/; revision=4092
2002-04-27 12:45:34 +00:00
Nick Drochak d725fa7561 2002-04-28 Nick Drochak <[email protected]>
* sysmath.c (ves_icall_System_Math_Asin): Fix copy-paste error.  Was
	calling acos() where asin() should have been called.

svn path=/trunk/mono/; revision=4091
2002-04-27 11:43:06 +00:00
Nick Drochak de8c096821 2002-04-28 Nick Drochak <[email protected]>
* ArrayTest.cs (TestIList_IndexOf): Display exception details if we get
	an unexpected one.

svn path=/trunk/mcs/; revision=4090
2002-04-27 11:26:08 +00:00
Martin Baulig d343b8162d 2002-04-27 Martin Baulig <[email protected]>
* corlib.build: Added new "mcs-build" target to compile corlib
	with mcs. This doesn't work yet - it's just to test mcs to find
	and fix the remaining bugs.

svn path=/trunk/mcs/; revision=4089
2002-04-27 11:23:36 +00:00
Nick Drochak a18efee8fe Flush
svn path=/trunk/mcs/; revision=4088
2002-04-27 11:18:30 +00:00
Nick Drochak 1f251293b0 2002-04-27 Nick Drochak <[email protected]>
* Array.cs (IList.Contains): Should throw a RankException if this is
	called on a Rank > 1 array. Not in the docs, but this is what the
	MS.NET does.

svn path=/trunk/mcs/; revision=4087
2002-04-27 11:12:10 +00:00
Lawrence Pit 6b6aeee0b8 removed CookieContainerTest
svn path=/trunk/mcs/; revision=4086
2002-04-27 11:10:06 +00:00
Lawrence Pit 04dac1507b SecurityElement fixed and several methods implemented, added test unit
svn path=/trunk/mcs/; revision=4085
2002-04-27 10:49:32 +00:00
Rodrigo Moya ecafe67718 2002-04-28 Rodrigo Moya <[email protected]>
* System.Data/DataTableCollection.cs: more implementation.
	(Count): added 'override' keyword, as pointer out by Martin.

	* System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
	only call Array.Copy when there is really stuff to be copied.
	(CopyTo): don't create the temporary array, it's not needed.

	* System.Data.build: excluded newly added file from build.

svn path=/trunk/mcs/; revision=4084
2002-04-27 10:14:23 +00:00
Rodrigo Moya dce0505870 Exclude newly added file from build
svn path=/trunk/mcs/; revision=4083
2002-04-27 09:55:13 +00:00
Rodrigo Moya f6618bf3cf 2002-04-27 Rodrigo Moya <[email protected]>
* System.Data/DataTableRelationCollection.cs: removed, it's not
	on MS SDK documentation.

	* System.Data/DataTableCollection.cs: new class.

svn path=/trunk/mcs/; revision=4082
2002-04-27 08:47:16 +00:00
Christian Meyer fa24e15012 Ximian is new copyright holder now.
svn path=/trunk/mcs/; revision=4081
2002-04-27 07:43:53 +00:00
Christian Meyer 744f90d9d5 Ximian is new copyright holder now.
svn path=/trunk/mcs/; revision=4080
2002-04-27 07:34:21 +00:00
Daniel Morgan bcaf8e4bba 2002-04-27 Daniel Morgan <[email protected]>
* System.Data/DataRowChangeEventArgs.cs
	* System.Data/DataRowCollection.cs
	* System.Data/DataView.cs
	* System.Data/PropertyCollection.cs: added new stubs

	* System.Data.build: modified - added new files to exclude
	from build

	* TODO: modified - removed files from TODO list
	that were stubbed above

	* System.Data/DataColumn.cs
	* System.Data/DataRow.cs: modified - various tweaks
	and added internal method SetTable to set the reference
	to a DataTable

	* System.Data/DataSet.cs: modified - class was not
	completely stubbed.

	* System.Data/DataTable.cs: modified - temporarily commented
	DataSet and DataView references - trying to compile a SqlDataReader,
	DataTable, and dependencies for a forward read-only result set.
	SqlDataAdapter, DataSet, and DataView will come later once we can get
	a forward read only result set working.

	* System.Data/IDataRecord.cs: modified - source code lines should
	not be > 80

	* System.Data/InternalDataCollectionBase.cs: modified - started
	implementing this base class for collection of data rows,
	columns, tables, relations, and constraints

	* System.Data.SqlClient/SqlException.cs: modified -
	call base(message) so a unhandled exception displays
	the message of a SQL error instead of the
	default SystemException message

	* Test/TestSqlException.cs: modified -
	handle the rollback properly for a SqlException on a
	failure to connect

svn path=/trunk/mcs/; revision=4079
2002-04-27 05:23:49 +00:00
Duncan Mak 6f28d17354 Flush
svn path=/trunk/mcs/; revision=4078
2002-04-26 22:30:17 +00:00
Duncan Mak 14e0bb8011 2002-04-26 Duncan Mak <[email protected]>
* MissingMemberException.cs: Made the message variable 'protected'
	instead of 'private', so that we can see it in
	MissingMethodException and MissingFieldException.

	* MissingFieldException.cs:
	* MissingMethodException.cs: Added missing (string, string)
	constructor, and also the Message property.

svn path=/trunk/mcs/; revision=4077
2002-04-26 22:19:18 +00:00
Miguel de Icaza 35f81a9ad2 Patch from Lawrence to catch correct entry points:
2002-04-22  Lawrence Pit <[email protected]>

	* class.cs:
	  - added method Report28 (warning: program has more than one entry point)
	  - added method IsEntryPoint, implements paragraph 10.1 of the spec
	  - modified method Method.Define, the part at the end of the method

	* rootcontext.cs: added static public Location EntryPointLocation;

	* ../errors/cs0028.cs : Add test case for the above warning.

	* typemanager.cs:
	  - modified method CSharpName to allow arrays of primitive type to
	    be printed nicely (e.g. instead of System.Int32[][] it now prints
	    int[][])
	  - added method CSharpSignature: returns the signature of a method
	    in string format to be used in reporting errors, warnings, etc.

	* support.cs: InternalParameters.ParameterDesc variable tmp initialized
	with String.Empty.

svn path=/trunk/mcs/; revision=4076
2002-04-26 22:00:13 +00:00
Duncan Mak e3d5655992 2002-04-26 Duncan Mak <[email protected]>
* ValidationHandler.cs: New file.

	* XmlSchemaInfo.cs: New file.

	* *.cs: More updates from Ajay.

svn path=/trunk/mcs/; revision=4075
2002-04-26 21:39:13 +00:00
Lawrence Pit d75e0b9d00 Cookie test units
svn path=/trunk/mcs/; revision=4074
2002-04-26 20:40:08 +00:00
Lawrence Pit 3a3ec990f9 Cookie support
svn path=/trunk/mcs/; revision=4073
2002-04-26 20:30:25 +00:00
Ravi Pratap M 7b198a23c7 2002-04-26 Ravi Pratap <[email protected]>
* delegate.cs (Define): Fix extremely silly bug where I was
	setting the type of the 'object' parameter of the BeginInvoke
	method to System.IAsyncResult instead of System.Object ;-)

svn path=/trunk/mcs/; revision=4072
2002-04-26 20:22:54 +00:00
Ravi Pratap M df9ce58485 2002-04-26 Ravi Pratap <[email protected]>
* test-105.cs, test-106.cs, test-107.cs : Add.

svn path=/trunk/mcs/; revision=4071
2002-04-26 20:21:26 +00:00
Miguel de Icaza 663bbf0c49 2002-04-26 Miguel de Icaza <[email protected]>
* class.cs (ConstructorInitializer.Resolve): Also use DeclaredOnly
	here.

	(Constructor.Emit): return if we fail to initialize the
	constructor.  Another door closed!

	* expression.cs (New.DoResolve): Improve error message (from -6 to
	1501).  Use DeclaredOnly lookup to find the exact constructor.

	* typemanager.cs (MemberLookup): If DeclaredOnly is set, do not
	loop.  This is useful.

svn path=/trunk/mcs/; revision=4070
2002-04-26 19:33:52 +00:00
Miguel de Icaza 7fe683fc46 Add more test cases
svn path=/trunk/mcs/; revision=4069
2002-04-26 19:33:03 +00:00
Miguel de Icaza 5b47db1106 2002-04-26 Miguel de Icaza <[email protected]>
* cs-parser.jay: Adjust the default parameters so that destructors
	have the proper signature.

svn path=/trunk/mcs/; revision=4068
2002-04-26 18:54:15 +00:00
Martin Baulig 7bf9738f4a 2002-04-26 Martin Baulig <[email protected]>
* driver.cs (LoadAssembly): If `assembly' contains any characters
	which are only valid in path names and not in assembly names
	(currently slash, backslash and point), use Assembly.LoadFrom ()
	instead of Assembly.Load () on the `assembly' (before iteration
	over the link_paths).

svn path=/trunk/mcs/; revision=4067
2002-04-26 17:41:04 +00:00
Martin Baulig 0dba388fd2 2002-04-26 Martin Baulig <[email protected]>
* cs-tokenizer.cs (is_hex): Correctly handle lowercase chars.

svn path=/trunk/mcs/; revision=4066
2002-04-26 16:33:35 +00:00
Joe Shaw 700e54469e 2002-04-26 Joe Shaw <[email protected]>
* Marshal.cs (StructureToPtr): stub this out.

svn path=/trunk/mcs/; revision=4065
2002-04-26 16:11:53 +00:00
Martin Baulig a580c3b9fc 2002-04-26 Martin Baulig <[email protected]>
* CompilerBase.cs (WriteOption): New virtual method.  The default
	implementation writes CSC-style command line options, but it can
	be overridden in derived class to write mcs-style command line
	arguments.
	(ExecuteTask): Use the new virtual `WriteOption' method to write
	options.

	* CscTask.cs (WriteOptions): Use the new `WriteOption' method.

	* McsTask.cs: New file.

svn path=/trunk/mcs/; revision=4064
2002-04-26 15:51:09 +00:00
Lawrence Pit cbfe3aa7d3 Mail interfaces, not yet sending out mails though
svn path=/trunk/mcs/; revision=4063
2002-04-26 15:02:02 +00:00
Jaime Anguiano Olarra 563562e3c7 Added mono-contributing-howto
svn path=/trunk/mono/; revision=4062
2002-04-26 15:01:05 +00:00
Jaime Anguiano Olarra d7d711c99d Added a link to the mono-doc-contributing-howto
svn path=/trunk/mono/; revision=4061
2002-04-26 14:52:44 +00:00
Martin Baulig eb430961c9 2002-04-26 Martin Baulig <[email protected]>
* assembly.c (default_assembly_name_resolver): Use G_FILE_TEST_IS_REGULAR
	instead of G_FILE_TEST_EXISTS - if you're in mcs/class/corlib/System/Test,
	there's a subdirectory called `System', but we don't want to read that
	subdirectory as an assembly.

svn path=/trunk/mono/; revision=4060
2002-04-26 13:49:51 +00:00
Martin Baulig 68a9520f1f 2002-04-26 Martin Baulig <[email protected]>
* gdb-csharp-support.patch: A patch for GDB (against the latest CVS version)
	to implement C# support.

	* csharp-lang.c, csharp-lang.h, csharp-mono-lang.c: Copy these into your GDB
	source directory after applying the patch.

svn path=/trunk/mcs/; revision=4059
2002-04-26 13:47:27 +00:00
Martin Baulig 411f07fa9b 2002-04-26 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs (DieInternalString): Removed.

svn path=/trunk/mcs/; revision=4058
2002-04-26 13:46:04 +00:00
Martin Baulig 5f286085c2 2002-04-26 Martin Baulig <[email protected]>
* ModuleBuilder.cs (DefineDocument): Implemented.

svn path=/trunk/mcs/; revision=4057
2002-04-26 13:42:35 +00:00
Martin Baulig 7bdd9aed56 2002-04-26 Martin Baulig <[email protected]>
* Enum.cs: Implemented the IConvertible methods.

svn path=/trunk/mcs/; revision=4056
2002-04-26 13:40:00 +00:00
Miguel de Icaza 4599995602 Add links to binary packages
svn path=/trunk/mono/; revision=4055
2002-04-26 12:18:36 +00:00
Miguel de Icaza a095778111 Couple of fixes
svn path=/trunk/mono/; revision=4054
2002-04-26 12:16:03 +00:00
Miguel de Icaza da1e630fce 2002-04-25 Miguel de Icaza <[email protected]>
* class.cs (Property): use the new typemanager.MemberLookup

	(TypeContainer.MemberLookup): Implement using the
	TypeManager.MemberLookup now.

	* typemanager.cs: Make MemberLookup a function of the TypeManager,
	and return MemberInfos, so that these can be used without an
	EmitContext (what we had before).

svn path=/trunk/mcs/; revision=4052
2002-04-25 17:55:39 +00:00
Martin Baulig 3c2d36e4ba 2002-04-25 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_string_type): Reflect latest MonoString
	changes.

svn path=/trunk/mono/; revision=4051
2002-04-25 15:43:29 +00:00
Martin Baulig 7f131f0faa 2002-04-25 Martin Baulig <[email protected]>
* debug-symfile.c: Reflect latest MonoString changes.

svn path=/trunk/mono/; revision=4050
2002-04-25 15:34:47 +00:00
Martin Baulig 82735a1afa 2002-04-25 Martin Baulig <[email protected]>
* MonoDwarfFileWriterCs: Reflect latest MonoString changes.

svn path=/trunk/mcs/; revision=4049
2002-04-25 15:33:57 +00:00
Gonzalo Paniagua Javier e06def126d 2002-04-25 Gonzalo Paniagua Javier <[email protected]>
* SByte.cs: little change in Parse (string) to avoid incorrect
	OverflowException thrown (reported by nickd).

svn path=/trunk/mcs/; revision=4048
2002-04-25 12:24:36 +00:00
Jaime Anguiano Olarra 34c66300cf Added reference to the mono-contribution-howto
svn path=/trunk/mono/; revision=4047
2002-04-25 11:01:55 +00:00
Jaime Anguiano Olarra 346f102b31 Added the mono-contribution-howto.
svn path=/trunk/mono/; revision=4046
2002-04-25 11:01:03 +00:00
Paolo Molaro 6ceb00ce4c Thu Apr 25 16:38:01 CEST 2002 Paolo Molaro <[email protected]>
* rand.c, rand.h: instance method icalls need to have an explicit
	this pointer as first argument in the C implementation.

svn path=/trunk/mono/; revision=4045
2002-04-25 10:53:43 +00:00
Nick Drochak cb8e16ccd7 2002-04-25 Nick Drochak <[email protected]>
* icall.c: Fix typo in map for GetNonZeroBytes

svn path=/trunk/mono/; revision=4044
2002-04-25 10:35:04 +00:00
Dietmar Maurer 6b5671eba5 new test
svn path=/trunk/mono/; revision=4043
2002-04-25 09:45:31 +00:00
Dan Lewis 1502eaa623 2002-04-25 Dan Lewis <[email protected]>
* io.c: unitialized pointer in GetCurrentDirectory.

svn path=/trunk/mono/; revision=4041
2002-04-25 06:54:04 +00:00
Dietmar Maurer 3d0fca8266 2002-04-25 Dietmar Maurer <[email protected]>
* x86.brg: enable stmt: STIND_I4 (addr, coni4) again,
	added CONV_OVF_I4 (fix bug #23808)

svn path=/trunk/mono/; revision=4040
2002-04-25 04:21:07 +00:00
Miguel de Icaza 063ef32785 Updated docs
svn path=/trunk/mono/; revision=4036
2002-04-24 22:37:08 +00:00
Miguel de Icaza cf4ead42cf Prepare for 0.11 release, fix makefile
svn path=/trunk/mono/; revision=4035
2002-04-24 22:27:11 +00:00
Miguel de Icaza a87aabc7d3 Update ChangeLog
svn path=/trunk/mcs/; revision=4033
2002-04-24 22:18:01 +00:00
Miguel de Icaza f3f15ab21a Improve test
svn path=/trunk/mcs/; revision=4032
2002-04-24 22:17:23 +00:00
Miguel de Icaza 25223cfb6f Flush
svn path=/trunk/mono/; revision=4031
2002-04-24 22:16:41 +00:00
Miguel de Icaza 280531a9fc 2002-04-24 Miguel de Icaza <[email protected]>
* expression.cs: Fix the case where the argument to params if the
	type of the params.  I omitted handling this before.   Fixed

svn path=/trunk/mcs/; revision=4030
2002-04-24 22:02:15 +00:00
Patrik Torstensson e5016b784a 2002-04-24 Patrik Torstensson <[email protected]>
* string-icalls.c : String does now passes unit tests without any
	errors, the following changes has been made:

	Implemented replace methods.
	Renaming of methods to (try) follow the standard.
	Fixed compare ordinal
	Made all memory allocated directly to function instead of via icall function.
	Small performance fix in is_in_array function

 (2002-04-23) Changes from Duncan Mak <[email protected]>

	c (mono_string_Internal_ctor_charp_int_int):
	(mono_string_Internal_ctor_sbytep_int_int):  Removed check for
	sindex < 0, throw ArgumentOutOfRangeException instead of
	ArgumentNullException.

	Added new check for length == 0, however
	I need to make it return String.Empty from the C code.

	(mono_string_Internal_ctor_sbytep): Use mono_string_new, and let
	that calculate the length for us here.

	(mono_string_Internal_ctor_sbytep_int_int): Replaced
	mono_string_new_utf16 with mono_string_new, since value is utf8.

svn path=/trunk/mono/; revision=4029
2002-04-24 19:20:29 +00:00
Patrik Torstensson b999b9c67c 2002-04-24 Patrik Torstensson <[email protected]>
* AppDomain.cs (GetValue): usage of the correct icall (bug)

svn path=/trunk/mcs/; revision=4028
2002-04-24 17:36:50 +00:00
Paolo Molaro faa5b3692a Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <[email protected]>
* GC.cs: implement most of the methods as icalls.

svn path=/trunk/mcs/; revision=4027
2002-04-24 15:27:21 +00:00
Paolo Molaro 36461d0ab0 Wed Apr 24 18:43:29 CEST 2002 Paolo Molaro <[email protected]>
* object.c: register the object for finalization if needed.
	Allocate one more char in the string for the terminating 0 char.

svn path=/trunk/mono/; revision=4026
2002-04-24 12:57:25 +00:00
Paolo Molaro 8252333926 Forgot file.
svn path=/trunk/mono/; revision=4025
2002-04-24 12:40:42 +00:00
Paolo Molaro 099a67d228 Wed Apr 24 18:22:27 CEST 2002 Paolo Molaro <[email protected]>
* class.c, class.h, image.c: check if a type implemenst a destructor.
	Use the proper key for array class lookups.
	* icall.c: register the icalls in the System.GC class.
	* gc.c, gc.h: GC-related functions and icalls.

svn path=/trunk/mono/; revision=4024
2002-04-24 12:38:43 +00:00
Gonzalo Paniagua Javier 43c5c6b1ac One-liner in the comments of decimal2string ()
svn path=/trunk/mono/; revision=4023
2002-04-24 11:20:29 +00:00
Gonzalo Paniagua Javier 9597512c71 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
* DecimalFormatter.cs (ToString): return correct value when the
	decimal number is 0.

svn path=/trunk/mcs/; revision=4022
2002-04-24 11:17:34 +00:00
Gonzalo Paniagua Javier 73e0b719d5 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	* socket-io.c:
	* unicode.c: free some strings gotten from mono_string_to_utf8 and
	changed a couple of free () by g_free ().

svn path=/trunk/mono/; revision=4021
2002-04-24 10:30:12 +00:00
Rodrigo Moya c61c1b8de1 Removed stuff I'm working on
svn path=/trunk/mcs/; revision=4020
2002-04-24 10:22:15 +00:00
Dick Porter 592a5f901c 2002-04-24 Dick Porter <[email protected]>
* Socket.cs (Poll): Give correct argument to Select(), as spotted
	by Jaroslaw Kowalski <[email protected]>

svn path=/trunk/mcs/; revision=4019
2002-04-24 08:39:24 +00:00
Nick Drochak a6190d8168 2002-04-24 Nick Drochak <[email protected]>
* IPAddressTest.cs: Make test conform to MS behavior. Also, if wrong
	exception is thrown, let eveyone know which one.

svn path=/trunk/mcs/; revision=4018
2002-04-24 08:39:05 +00:00
Nick Drochak 4cae49d0d9 2002/04/24 Nick Drochak <[email protected]>
* IntegerFormatterTest.cs: Remove Console.WriteLines and use
	AssertEquals() instead.

svn path=/trunk/mcs/; revision=4016
2002-04-24 01:39:48 +00:00
Dennis Hayes f372a49b3e *** empty log message ***
svn path=/trunk/mcs/; revision=4015
2002-04-23 23:42:39 +00:00
Dennis Hayes 51ce3b1892 * Added all classes from F to H. Stubbed and commented out. *
svn path=/trunk/mcs/; revision=4014
2002-04-23 23:40:56 +00:00
Dennis Hayes 9c50665d6f * Added enums delagtes interfaces and stubbed out classes. *
* Most of the enums have correct values. *
*At least one enum has incorrect valuesI Will correct all by 5/1/2002. *

svn path=/trunk/mcs/; revision=4013
2002-04-23 23:31:03 +00:00
Dennis Hayes 9e37d3b01a * added [Flags} attribute that I mistakenly removed before the first commit. *
svn path=/trunk/mcs/; revision=4012
2002-04-23 22:58:31 +00:00
Dennis Hayes 6cae23ae31 * Corrected Enum Values. *
svn path=/trunk/mcs/; revision=4011
2002-04-23 22:18:36 +00:00
Daniel Morgan 457dd7cee7 2002-04-23 Daniel Morgan <[email protected]>
* System.Data.build: modified - added new
	files to exclude from build

	* System.Data/Constraint.cs
	* System.Data/ConstraintCollection.cs
	* System.Data/InternalDataCollectionBase.cs: added -
	stubs which are needed to build DataTable.cs

	* TODO: modified - added more classes TODO and
	added more stuff TODO, such as, create script
	to create test database monotestdb for testing
	classes in System.Data

svn path=/trunk/mcs/; revision=4010
2002-04-23 22:15:16 +00:00
Dennis Hayes a9415cb366 * Corrected Enum Values. *
svn path=/trunk/mcs/; revision=4009
2002-04-23 22:12:09 +00:00
Dennis Hayes 5be324df23 * Corrected Enum Values. *
svn path=/trunk/mcs/; revision=4008
2002-04-23 22:03:54 +00:00
Dennis Hayes a1a353b511 * Minor changes to copyright block. added date, .cs to file name comment, corrected case in email address. *
svn path=/trunk/mcs/; revision=4007
2002-04-23 21:58:08 +00:00
Gaurav Vaish fe4c24cb25 2002-24-04 Gaurav Vaish <[email protected]>
* java: Updating information about the new website for the project jilc.

svn path=/trunk/mono/; revision=4006
2002-04-23 21:55:40 +00:00
Dennis Hayes f8501dbee9 * Minor changes to copyright block. added date, .cs to file name comment, corrected case in email address. *
svn path=/trunk/mcs/; revision=4005
2002-04-23 21:48:35 +00:00
Gonzalo Paniagua Javier 4c65b83dbd 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs: initialize the read only fields with Parse().

svn path=/trunk/mcs/; revision=4004
2002-04-23 21:10:02 +00:00
Gonzalo Paniagua Javier c95f392f8b 2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* IPAddressTest.cs: use BitConverter to set localhost, catch
	OverflowException in TestParseWrong() and changed some constants.

svn path=/trunk/mcs/; revision=4003
2002-04-23 21:07:56 +00:00
Patrik Torstensson 44841d2f44 2002-04-24 Patrik Torstensson <[email protected]>
* object.c (mono_runtime_invoke_array) : Bug because of my incompetence.

svn path=/trunk/mono/; revision=4002
2002-04-23 19:44:36 +00:00
Patrik Torstensson cade7da1b9 2002-04-24 Patrik Torstensson <[email protected]>
* MonoProperty.cs (GetValue) : basic implementation to support nunit
	* PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null

svn path=/trunk/mcs/; revision=4001
2002-04-23 19:37:33 +00:00
Patrik Torstensson cc71790043 2002-04-24 Patrik Torstensson <[email protected]>
* Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
	* MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)

svn path=/trunk/mcs/; revision=4000
2002-04-23 19:35:59 +00:00
Patrik Torstensson 66f7c6884d 2002-04-24 Patrik Torstensson <[email protected]>
* reflection.c (mono_reflection_get_custom_attrs) : fixed image bug (crash)
	* object.c (mono_runtime_invoke_array) : handle null in params

svn path=/trunk/mono/; revision=3999
2002-04-23 19:34:11 +00:00
Gonzalo Paniagua Javier 1ea8796f32 Forgot ChangeLog
svn path=/trunk/mcs/; revision=3998
2002-04-23 19:10:23 +00:00
Rodrigo Moya c430d562ae 2002-04-23 Rodrigo Moya <[email protected]>
* System.Data.Common/DataAdapter.cs:
	* System.Data.Common/DataColumnMappingCollection.cs:
	* System.Data.Common/DataTableMappingCollection.cs:
	* System.Data.Common/DbDataPermission.cs:
	* System.Data.Common/DbDataPermissionAttribute.cs: some
	compilation errors fixed.

svn path=/trunk/mcs/; revision=3997
2002-04-23 18:43:30 +00:00
Daniel Morgan 4f2a5ccc1a 2002-04-23 Daniel Morgan <[email protected]>
* TODO: modified - added classes TODO, and
	a poor attempt at System.Data plan

svn path=/trunk/mcs/; revision=3996
2002-04-23 18:24:12 +00:00
Rodrigo Moya 5c878a092c Added TODO file
svn path=/trunk/mcs/; revision=3995
2002-04-23 17:35:28 +00:00
Joe Shaw 66041020ec 2002-04-23 Joe Shaw <[email protected]>
* Marshal.cs: Stub out a few functions to get gtk# to build.

svn path=/trunk/mcs/; revision=3994
2002-04-23 16:13:15 +00:00
Daniel Morgan ae9689e23b 2002-04-23 Daniel Morgan <[email protected]>
* ChangeLog: modified - put tabs where they belong

	* System.Data.SqlClient/SqlDataReader.cs
	* System.Data/DataColumn.cs: modified - compile errors
	trying to compile SqlDataAdapter and dependencies

svn path=/trunk/mcs/; revision=3993
2002-04-23 16:10:38 +00:00
Nick Drochak b9d124d6ec 2002-04-24 Nick Drochak <[email protected]>
* Double.cs (Parse): Handle case where there are no digits before the
	decimal point, such as ".1".

svn path=/trunk/mcs/; revision=3992
2002-04-23 11:55:02 +00:00
Patrik Torstensson 57abfde175 2002-04-23 Patrik Torstensson <[email protected]>
* string-icalls.c: fixed bug in split (one off bug)

svn path=/trunk/mono/; revision=3991
2002-04-23 11:16:51 +00:00
Patrik Torstensson 0748c2b8d0 2002-04-23 Patrik Torstensson <[email protected]>
* String.cs (Split): fixed invalid split of count 0 and 1.

svn path=/trunk/mcs/; revision=3990
2002-04-23 11:10:10 +00:00
Gonzalo Paniagua Javier 218b7b7e4f Ooops
svn path=/trunk/mono/; revision=3989
2002-04-23 10:15:38 +00:00
Gonzalo Paniagua Javier eeab2e055c 2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* configure.in: removed -Wshadow from CFLAGS.

2002-04-12  Rodrigo Moya <[email protected]>

	* status/maintainers.xml: added danmorg and myself for System.Data.*
	classes.

	* status/class.xml: added System.Data.* classes.

2002-04-08  Dick Porter  <[email protected]>

	* configure.in: Set -mno-cygwin here rather than in the build script

2002-04-05  Dietmar Maurer  <[email protected]>

	* mono/tests/remoting2.cs: new test for async invoke of proxy calls

2002-03-29  Martin Baulig  <[email protected]>

	* doc/jit-debug, docs/jit-debug-sample, docs/jit-debug-sample2:
	New files, added documentation for the debugging code.

	* doc/web/commands: Added the debugging pages.

	* docs/jit-debug: Removed, this is now on the web site.

2002-03-24  Martin Baulig  <[email protected]>

	* man/mcs.1: Documented the new --debug option and added a section
	about debugging support.

	* man/mono.1: Documented the new --dwarf and --dwarf-plus options.

2002-03-21  Martin Baulig  <[email protected]>

	* configure.in: Added check for <elf.h>.

2002-03-18  Dick Porter  <[email protected]>

	* configure.in: Only look for libgc on the system.  Default to not
	using GC at all, because it doesn't work with the jit.

2002-03-17  Miguel de Icaza  <[email protected]>

	* configure.in: Add support for building the included boehm GC.

Thu Mar 7 17:19:44 CET 2002 Paolo Molaro <[email protected]>

	* configure.in: detect Boehm GC libs and add --with-gc switch.
	Boehm GC needs to be explicitly enabled since the JIT currently fails
	in some cases with it.

2002-02-27  Dietmar Maurer  <[email protected]>

	* mono/tests/fib.cs: it is now possible to pass a repeat count as
	command line argument, for example fib.exe 20 runs the test 20
	times.

2002-02-25  Sergey Chaban  <[email protected]>
	* configure.in: added support for ARM target arch.
	Uncommented and modified arm-*-linux* target,
	added mono/arch/arm/Makefile to AC_OUTPUT list.

2002-02-21  Mark Crichton  <[email protected]>

	* status/class.xml: Added contact info for RNGCryptoServiceProvider
	class and Rijndael classes.
	* status/maintainers.xml: Added contact info to maintainers list.

2002-02-21  Mark Crichton  <[email protected]>

        * configure.in: Add checks for a system-provided entropy device
        * acconfig.h: Added HAVE_CRYPT_RNG and NAME_DEV_RANDOM

2002-02-20  Dick Porter  <[email protected]>

	* acconfig.h:
	* configure.in: Always build without cygwin support on windows

2002-02-19  Radek Doulik  <[email protected]>

	* mono/tests/pinvoke.cs: use more pinvoke test methods

2002-02-19  Radek Doulik  <[email protected]>

	* mono/tests/libtest.c (mono_test_many_short_arguments): new test
	method
	(mono_test_many_byte_arguments): ditto

2002-02-18  Radek Doulik  <[email protected]>

	* mono/tests/Makefile.am: added small test library for pinvoke
	testing

	* mono/tests/libtest.c (mono_test_many_int_arguments): new file,
	new function to test pinvoke

	* mono/tests/pinvoke.cs (Test): added pinvoked method with 10 int
	arguments

	* mono/tests/Makefile.am: display # of passing tests too
	added simple shared library libtest with testing function for
	pinvoke

2002-02-17  Radek Doulik  <[email protected]>

	* mono/tests/Makefile.am (test): display # of failed tests

2002-02-16  Jeffrey Stedfast  <[email protected]>

	* configure.in: Add checks for SOL_IP, SOL_TCP, and
	IP_PKTINFO. Also check for struct ip_mreqn.

2002-02-14  Jeffrey Stedfast  <[email protected]>

	* configure.in: Add checks to see if we need to link to libsocket,
	libnsl, and/or librt. Also check for inet_pton and inet_aton.

2002-02-13  Jeffrey Stedfast  <[email protected]>

	* acconfig.h: #undef USE_MONO_MUTEX

	* configure.in: If the system pthread implementation is lacking,
	default to using mono-mutex.

2002-02-05  Dietmar Maurer  <[email protected]>

	* mono/tests/enum2.cs: new file with more enum tests.

2002-02-01  Dietmar Maurer  <[email protected]>

	* mono/tests/jit-long.cs: added some SHL/SHR tests

Fri Feb 1 15:32:36 CET 2002 Paolo Molaro <[email protected]>

	* configure.in: allow PKG_CONFIG_PATH for the build-platform
	pkg-config invocation.

Fri Feb 1 15:13:25 CET 2002 Paolo Molaro <[email protected]>

	* configure.in: add some support/fixes for cross-compilation.

2002-01-14  Dietmar Maurer  <[email protected]>

	* mono/tests/exception6.cs: new tests for ADD_OVF, MUL_OVF
	added tests for SUB_OVF, SUB_OVF_UN

2001-12-21  Dietmar Maurer  <[email protected]>

	* mono/tests/Makefile.am (TESTSRC): disabled stream-writer test

2001-12-21  Aaron Weber  <[email protected]>

	* doc/faq (A): added a linebreak that was missing and was causing
	a heading to appear badly.

2001-12-20  Aaron Weber  <[email protected]>

	* doc/faq: added <a name=""> nav links, and moved all MSFT-related
	questions into a single section.

2001-12-17  Aaron Weber  <[email protected]>

	* doc/faq (Q): Question-by-question, line-by-line revision.

2001-12-17  Dietmar Maurer  <[email protected]>

	* mono/tests/time.cs: new test

2001-11-30  Radek Doulik  <[email protected]>

	* configure.in: remove ACCESS_UNALIGNED="no" from ppc

2001-11-29  Radek Doulik  <[email protected]>

	* configure.in (ACCESS_UNALIGNED): uncommented and modified
	powerpc-*-linux*
	generate mono/arch/ppc/Makefile

2001-11-26  Dietmar Maurer  <[email protected]>

	* mono/tests/exception3.cs: modified the test to show a bug in the
	current exception handling implementation.

2001-11-13  Dick Porter  <[email protected]>

	* configure.in: Some more tests for pthread features
	(specifically, glibc 2.1 doesnt define pthread_mutex_timedlock but
	still needs _GNU_SOURCE for PTHREAD_MUTEX_RECURSIVE)

2001-11-09  Dick Porter  <[email protected]>

	* configure.in: Try and get large file support, but it's not fatal
	if it's not there (the io-layer just ignores the high word in that
	case.)

	Check for windows builds, and only bother to look for pthreads and
	large files if we're not building for cygwin or native win32.  Not
	having pthread support on Posix systems is now a fatal error.

	* autogen.sh: Fix ACLOCAL_FLAGS - it wasn't being passed to
	aclocal

2001-10-15  Dietmar Maurer  <[email protected]>

	* mono/tests/Makefile.am: removed JITTESTS, simply run all tests for
	target testjit.

2001-10-11  Dietmar Maurer  <[email protected]>

	* docs/object-layout: more documentation

Mon Oct 8 20:27:50 CEST 2001 Paolo Molaro <[email protected]>

	* configure.in: define NO_UNALIGNED_ACCESS for platforms that
	can't read on unaligned boundaries

2001-10-04  Dick Porter  <[email protected]>

	* configure.in: Do some deeper checks on pthreads for some of the
	more interesting functions

2001-09-24  Dietmar Maurer  <[email protected]>

	* mono/tests/Makefile.am (testjit): a new target to test the JITer

	* mono/tests/jit-*: added some test for the JITer

2001-09-23  Dick Porter  <[email protected]>

	* configure.in: Arrange to compile dummy thread support routines
	if pthread isnt available

2001-09-23  Dick Porter  <[email protected]>

	* configure.in: Check for pthread.h, so that we can check for the
	HAVE_PTHREAD_H define in config.h

2001-09-21  Dick Porter  <[email protected]>

	* configure.in: Check for libpthread

2001-09-19  Dietmar Maurer  <[email protected]>

	* mono/tests/test-ops.cs: added more tests

Mon Sep 10 20:19:00 CEST 2001 Paolo Molaro <[email protected]>

	* configure.in: check for sizeof(void*) and for the architecture.

2001-09-05  Dick Porter  <[email protected]>

	* autogen.sh: Fixed the section that adds $ACLOCAL_FLAGS to the
	aclocal invocation, so putting aclocal files in /usr/local works

2001-08-30  Dietmar Maurer  <[email protected]>

	* *: removed the libffi dependency, mono now compiles on cygwin

	* mono/wrapper/build-dll: new file.

2001-08-28  Dietmar Maurer  <[email protected]>

	* mono/tests/console.cs: impl.

	* mono/tests/box.cs: impl.

	* mono/tests/stream-writer.cs: impl.

Mon Aug 27 20:24:26 CEST 2001 Paolo Molaro <[email protected]>

	* mono/tests/*: New test cases, mostly for virtual method dispatch.
	Use make testb for the slow benchmarking programs,
	make test for the usual regression test checks.

2001-08-22  Rodrigo Moya <[email protected]>

	* mono/cil/Makefile.am:
	* mono/wrapper/Makefile.am: use correct variables for installation
	directories

Tue Aug 21 18:54:06 CEST 2001 Paolo Molaro <[email protected]>

	* mono/tests/exceptions*: enhanced and added more tests for
	exceptions.

2001-08-20  Miguel de Icaza  <[email protected]>

	* mono/Makefile.am (SUBDIRS): Remove `test' from here to allow us
	to pass make distcheck

	* mono/wrapper/Makefile.am (EXTRA_DIST): Include genwrapper.pl

	* configure.in, Makefile.am, runtime/Makefile.am (dist-hook,
	install-data-hook): Added mechanism to distribute and install the
	dll files.

2001-08-20  Dietmar Maurer  <[email protected]>

	* mono/tests/stream.cs: new tests for the Stream class

	* configure.in: I really need LIBTOOL for libmonowrapper.so, so I
	added it again.

2001-08-16  Alex Graveley  <[email protected]>

	* configure.in: Replace AM_PROG_LIBTOOL with AC_PROG_RANLIB. This
	removes libtool dependency on all of Mono.

2001-08-10  Dietmar Maurer  <[email protected]>

	* mono/tests/array.cs: more array tests

2001-08-09  Dietmar Maurer  <[email protected]>

	* mono/tests/array.cs: more array tests

2001-08-06  Dietmar Maurer  <[email protected]>

	* mono/tests/pinvoke.cs: we can now print strings ;-)

	* mono/tests/array.cs: new test for arrays

2001-08-02  Alex Graveley  <[email protected]>

        * libffi/*: Import libffi CVS version, with minor changes to make it
          compile.

        * mono/interpreter/Makefile.am: Link against
          ../../libffi/.libs/libffi.a.

        * Makefile.am: Add libffi

        * autogen.sh: Replace with adapted gnome autogen.sh

        * configure.in: Add AC_CONFIG_SUBDIRS(libffi).

2001-08-02  Dietmar Maurer  <[email protected]>

	* mono/tests/pinvoke.cs: impl.

Wed Aug 1 22:34:52 CEST 2001 Paolo Molaro <[email protected]>

	* configure.in, mono/tests: added some tests for the interpreter.

2001-07-15  Sean MacIsaac  <[email protected]>

	* doc/download: added instructions for cygwin

	* doc/c-sharp: removed bit about compiling

	* status/compare-assembly.cs: basedir should be there if
	parameters are provided.

	* status/makefile: made targets to dump info.

2001-07-15  Joe Shaw  <[email protected]>

	* configure.in: Don't create doc/Makefile as there's nothing there
	to make.

	* Makefile.am: Don't build the doc directory because there's no
	Makefile.am there.

	* autogen.sh: Call aclocal with the $ACLOCAL_FLAGS env var.

2001-07-15  Miguel de Icaza  <[email protected]>

	* doc/class-library (A): Updated FAQ with question on error 1595.

2001-07-14  Miguel de Icaza  <[email protected]>

	* doc/index:

Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>

	* status/*: scripts and data to create statistics about the
	class library status.

2001-07-09  Alex Graveley  <[email protected]>

	* doc/makefile (clean): Add clean target.
	* doc/web/makefile (clean): Ditto.

2001-07-09  Alex Graveley  <[email protected]>

	* doc/makefile (all-docs): Fix typo.

2001-05-30  Miguel de Icaza  <[email protected]>

	* NEWS:

svn path=/trunk/mono/; revision=3988
2002-04-23 10:08:19 +00:00
Patrik Torstensson ef1c63f5a8 2002-04-23 Patrik Torstensson <[email protected]>
* String.cs (LastIndexOf): fixed argument checking.
	* String.cs (Equals): made internal for performace.

svn path=/trunk/mcs/; revision=3987
2002-04-23 10:01:22 +00:00
Patrik Torstensson 6395095ed3 2002-04-23 Patrik Torstensson <[email protected]>
* string-icalls.c: fixed bug in remove and lastindexofany, add equals icall.
	* icalls.c: added String::Equals as internal method

svn path=/trunk/mono/; revision=3986
2002-04-23 09:56:11 +00:00
Gonzalo Paniagua Javier caea1b6e73 2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* UInt32.cs:
	* Int64.cs:
	* UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).

svn path=/trunk/mcs/; revision=3985
2002-04-23 09:46:02 +00:00
Patrik Torstensson d884bcb3bb 2002-04-23 Patrik Torstensson <[email protected]>
* threads.c: fixed bug in the double interlocked functions

svn path=/trunk/mono/; revision=3984
2002-04-23 09:12:25 +00:00
Dietmar Maurer c87105386b 2002-04-23 Dietmar Maurer <[email protected]>
* x86.brg: code cleanup - use x86_patch ()

svn path=/trunk/mono/; revision=3983
2002-04-23 08:45:17 +00:00
Paolo Molaro 55f995e669 FreeBSD has giconv.h instead of iconv.h.
svn path=/trunk/mono/; revision=3982
2002-04-23 05:08:42 +00:00
Paolo Molaro 176de7b07f FreeBSD compatibility fixes from Sandro Tolaini <[email protected]>.
svn path=/trunk/mono/; revision=3981
2002-04-23 04:49:39 +00:00
Dietmar Maurer 2d9994d5a0 (mono_analyze_stack): don't store constants in temp. variables for CEE_DUP
svn path=/trunk/mono/; revision=3980
2002-04-23 03:19:17 +00:00
Dietmar Maurer 904af520af 2002-04-23 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): only use MB_TERM_CHECKTHIS when necessary

	* x86.brg (stmt): removed stmt: STIND_I4 (addr, coni4) rule
	because it slows down performance.

svn path=/trunk/mono/; revision=3979
2002-04-23 02:01:12 +00:00
Daniel Morgan cf9e881c47 2002-04-23 Daniel Morgan <[email protected]>
* System.Data.SqlTypes/SqlBoolean.cs
* System.Data.SqlTypes/SqlCompareOptions.cs
* System.Data.SqlTypes/SqlInt32.cs
* System.Data.SqlTypes/SqlString.cs: added - new stubs

* System.Data/DataTable.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlError.cs
* System.Data.SqlClient/SqlTransaction.cs: modified -
misc. tweaks

* System.Data.SqlClient/SqlException.cs: modified -
missing Message on indexer for Message property

svn path=/trunk/mcs/; revision=3978
2002-04-23 01:34:29 +00:00
Miguel de Icaza 204ed499c5 Commit message so I can continue at home
svn path=/trunk/mcs/; revision=3977
2002-04-22 23:25:00 +00:00
Duncan Mak 11b93b6cd9 2002-04-22 Duncan Mak <[email protected]>
* ImporterEventKind.cs:
	* TypeLibFuncFlags.cs:
	* TypeLibTypeFlags.cs:
	* TypeLibVarFlags.cs: Fixed various typos and added missing elements.

svn path=/trunk/mcs/; revision=3976
2002-04-22 23:16:08 +00:00
Duncan Mak 9fc341b934 Flush.
svn path=/trunk/mcs/; revision=3975
2002-04-22 23:09:04 +00:00
Duncan Mak ce51de08fb 2002-04-22 Duncan Mak <[email protected]>
* ComConventionLossAttribute.cs: Removed, there's a typo.
	* ComConversionLossAttribute.cs: Same attribute, slight change
	of name.

	* PreserveSigAttribute.cs:
	* ImportedFromTypeLibAttribute.cs: Added missing AttributeUsage
	attribute.

	* TypeLibFuncAttribute.cs:
	* TypeLibTypeAttribute.cs:
	* TypeLibVarAttribute.cs: Added missing constructors.

svn path=/trunk/mcs/; revision=3974
2002-04-22 23:06:20 +00:00
Miguel de Icaza 9f7ec86a98 2002-04-22 Miguel de Icaza <[email protected]>
* interface.cs: Temporary hack: try/catch around the
	CustomAttributeBuilder, because I am getting an exception that I
	do not understand.

	* rootcontext.cs (BootCorlib_PopulateCoreType): Populate some
	types whose definitions are required to be there (attributes are
	defined before standard types).

	Compute definitions as we boot the various types, as they are used
	immediately (value_type class will need object_type, but if we do
	not initialize object_type, we will pass a null, which will let
	the runtime pick the System.Object from the existing corlib, which
	is not what we want).

	* class.cs (Property.CheckBase): Check for properties only, not
	for all members.

	* driver.cs: Call BootCorlib_PopulateCoreType

2002-04-22  Miguel de Icaza  <[email protected]>

	* ValueType.cs: Add Serializable attribute.

	* String.cs: ifdef-out out the __arglist Concat function until I
	add support for that to mcs.

svn path=/trunk/mcs/; revision=3973
2002-04-22 23:02:57 +00:00
Gonzalo Paniagua Javier 58816ece55 2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* NumberFormatInfo.cs: always set the values for the invariant culture
	until there are more cultures supported.

svn path=/trunk/mcs/; revision=3972
2002-04-22 22:58:53 +00:00
Duncan Mak c36c8dd2b1 2002-04-22 Duncan Mak <[email protected]>
* AutomationProxyAttribute.cs:
	* CoClassAttribute.cs:
	* ComAliasNameAttribute.cs:
	* ComConventionLossAttribute.cs:
	* ComEventInterfaceAttribute.cs:
	* ComImportAttribute.cs:
	* ComRegisterFunctionAttribute.cs:
	* ComUnregisterFunctionAttribute.cs:
	* DispIdAttribute.cs:
	* ImportedFromTypeLibAttribute.cs:
	* LCIDConversionAttribute.cs:
	* PreserveSigAttribute.cs:
	* PrimaryInteropAssemblyAttribute.cs:
	* ProgIdAttribute.cs:
	* TypeLibFuncAttribute.cs:
	* TypeLibFuncFlags.cs:
	* TypeLibTypeAttribute.cs:
	* TypeLibTypeFlags.cs:
	* TypeLibVarAttribute.cs:
	* TypeLibVarFlags.cs:  Added to CVS.

svn path=/trunk/mcs/; revision=3971
2002-04-22 22:46:36 +00:00
Patrik Torstensson b7de47b0cf 2002-04-22 Patrik Torstensson <[email protected]>
* cs-tokenizer.cs: fixed a number of trim() issues.

svn path=/trunk/mcs/; revision=3970
2002-04-22 19:03:12 +00:00
Patrik Torstensson fae545d00c 2002-04-14 Patrik Torstensson <[email protected]>
* Interlocked.cs: made all methods icalls.

svn path=/trunk/mcs/; revision=3969
2002-04-22 18:44:21 +00:00
Patrik Torstensson 1d0ac15ee2 2002-04-17 Patrik Torstensson <[email protected]>
* threads.c: implemented all of the new interlocked icalls.
	* string-icalls.c: fix a bug in insert.
	* icalls.c: added the icalls for interlocked, removed old string functions.

svn path=/trunk/mono/; revision=3968
2002-04-22 18:43:38 +00:00
Ravi Pratap M 105322ae9f 2002-04-22 Ravi Pratap <[email protected]>
* expression.cs (Argument.Type): Ensure that we return the correct
	type when we have out or ref parameters [in which case we
	append a "&"].

svn path=/trunk/mcs/; revision=3967
2002-04-22 14:32:49 +00:00
Ravi Pratap M 6d29503b13 2002-04-22 Ravi Pratap <[email protected]>
* test-104.cs : Another overload resolution test !

svn path=/trunk/mcs/; revision=3966
2002-04-22 14:31:32 +00:00
Miguel de Icaza b9552b75f0 Flush
svn path=/trunk/mono/; revision=3965
2002-04-22 14:00:21 +00:00
Paolo Molaro 8b547d3826 Mon Apr 22 19:44:16 CEST 2002 Paolo Molaro <[email protected]>
* loader.c: fix off-by-one error when reading argument names.

svn path=/trunk/mono/; revision=3964
2002-04-22 13:57:40 +00:00
Paolo Molaro 8e9965bda4 Mon Apr 22 19:28:14 CEST 2002 Paolo Molaro <[email protected]>
* profiler.c: win32 counter implementation (untested).
	* icall.cs: win32 GetNow() and GetTimeZoneData() implementations
	(the latter needs testing and more complete impl. from win32 folks).

svn path=/trunk/mono/; revision=3963
2002-04-22 13:41:10 +00:00
Dan Lewis a3e9b0340e forgot to check for null lower bounds array.
svn path=/trunk/mono/; revision=3962
2002-04-22 12:29:11 +00:00
Dan Lewis c3a1f679c7 2002-04-21 Dan Lewis <[email protected]>
* object.c: mono_array_new_full workaround mono_array_class_get
	problem.

svn path=/trunk/mono/; revision=3961
2002-04-22 12:00:26 +00:00
Nick Drochak 5abd707fd3 2002-04-23 Nick Drochak <[email protected]>
* String.cs (Join): check argument and throw exception if needed

svn path=/trunk/mcs/; revision=3960
2002-04-22 11:46:46 +00:00
Nick Drochak 721de0a91e 2002-04-23 Nick Drochak <[email protected]>
* String.cs (StartsWith): check argument and throw exception if needed

svn path=/trunk/mcs/; revision=3959
2002-04-22 11:22:09 +00:00
Dan Lewis ed57e41044 2002-04-21 Dan Lewis <[email protected]>
* emit-x86.c: enter_method handles 8-byte aligned parameters.

svn path=/trunk/mono/; revision=3958
2002-04-22 11:08:21 +00:00
Nick Drochak a8f3f98e8a 2002-04-22 Nick Drochak <[email protected]>
* StringTest.cs: Add unique markers to Assert messages.

svn path=/trunk/mcs/; revision=3957
2002-04-22 11:04:23 +00:00
Paolo Molaro 8a58de90bf Mon Apr 22 16:52:03 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: handle muslticast delegates. Implement a couple more
	convert opcodes. Pretend we spend some time jitting...

svn path=/trunk/mono/; revision=3956
2002-04-22 11:04:12 +00:00
Nick Drochak 4d915a4471 2002-04-22 Nick Drochak <[email protected]>
* NumberStyles.cs: Add [Serializable].

svn path=/trunk/mcs/; revision=3955
2002-04-22 10:49:21 +00:00
Patrik Torstensson e6daa55141 2002-04-17 Patrik Torstensson <[email protected]>
* string-icalls.c (mono_string_InternalRemove): Fixed overwrite bug.
	* object.h (mono_string_chars): Changed casting type.

svn path=/trunk/mono/; revision=3954
2002-04-22 10:30:36 +00:00
Nick Drochak d329f3b8b0 2002-04-22 Nick Drochak <[email protected]>
* String.cs (IndexOfAny): check arguments and throw exceptions as
	neccessary.  Also removed some debug WriteLines.

svn path=/trunk/mcs/; revision=3953
2002-04-22 09:41:48 +00:00
Miguel de Icaza 8a83208ae3 2002-04-22 Miguel de Icaza <[email protected]>
* class.cs (Property, Indexer): Allow extern modifier in there.

	* typemanager.cs (InitBaseTypes): Initializes object_type and
	value_type, since those will be used early on during the bootstrap
	process to compile corlib.

	(InitCoreTypes): Move code from here to InitBaseTypes.

svn path=/trunk/mcs/; revision=3952
2002-04-22 09:29:07 +00:00
Patrik Torstensson 33ef37ebdd 2002-04-17 Patrik Torstensson <[email protected]>
* string-icalls.c: Fixed trim method, added the constructors done by Duncan, fixed
			   method signatures to use gunichar2 instead of gint16.

svn path=/trunk/mono/; revision=3951
2002-04-22 09:28:53 +00:00
Paolo Molaro feb0530f59 Mon Apr 22 12:57:31 CEST 2002 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: added loop instructions and made x86_patch fully
	useful.

svn path=/trunk/mono/; revision=3950
2002-04-22 07:32:11 +00:00
Gaurav Vaish 1ebe41f9bf 2002-22-04 Gaurav Vaish <[email protected]>
* maintainers.xml: changed my email address. Moving out of the institute ;)

svn path=/trunk/mono/; revision=3949
2002-04-22 06:18:36 +00:00
Miguel de Icaza d7bfce6071 Flush
svn path=/trunk/mono/; revision=3944
2002-04-21 20:34:17 +00:00
Miguel de Icaza dc666c66f2 Sync work code
svn path=/trunk/mono/; revision=3943
2002-04-21 18:15:23 +00:00
Dan Lewis be071f5035 2002-04-21 Dan Lewis <[email protected]>
* papers: added bacon thin lock papers.

svn path=/trunk/mono/; revision=3942
2002-04-21 14:48:04 +00:00
Dan Lewis 5b20b51d28 2002-04-22 Dan Lewis <[email protected]>
* papers: fixed citeseer links.

svn path=/trunk/mono/; revision=3941
2002-04-21 13:22:19 +00:00
Dan Lewis 28f833aee1 removed extra space.
svn path=/trunk/mono/; revision=3940
2002-04-21 12:55:56 +00:00
Dan Lewis 5ec5689b67 2002-04-21 Dan Lewis <[email protected]>
* papers: added bacon overview of loop transforms.

svn path=/trunk/mono/; revision=3939
2002-04-21 12:37:39 +00:00
Daniel Morgan a459b5d2cc 2002-04-21 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlCommand.cs: modified - to
compile using mcs.  This problem is
returning a stronger type in csc vs. msc

* System.Data.SqlClient/SqlConnection.cs: modified - msc
can not do a using PGconn = IntPtr; and then declare
with PGconn pgConn = IntPtr.Zero;
Thiw works under csc though.  Had to comment using and
changed declaration to IntPtr pgConn = IntPtr.Zero;
Also, got rid of compile warnings for hostaddr and port.

* System.Data.SqlClient/SqlErrorCollection.cs: modified - got
rid of compile warnings.  Commented MonoTODO attribute because mcs
doesn't seem to work with C# array property indexer (Item)
this[int index]

* System.Data.SqlClient/SqlParameterCollection.cs: modified -
commented MonoTODO attribute for indexer for mcs compiling

* Test/TestSqlIsolationLevel.cs:
* Test/TestSqlInsert.cs:
* Test/TestSqlException.cs: modified -
removed extra ExecuteNonQuery which caused two inserted rows

svn path=/trunk/mcs/; revision=3938
2002-04-21 12:18:20 +00:00
Miguel de Icaza ce6e85b863 2002-04-21 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr): Optimize calls to Array::get_Length on
	single-dimension arrays as using the ldlen opcode.

	Daniel Lewis discovered this optimization.

	* typemanager.cs: Add signature for System.Array::get_Length

svn path=/trunk/mcs/; revision=3937
2002-04-21 11:26:55 +00:00
Paolo Molaro 8a901852d6 Added string stress-test from the parrot folks.
svn path=/trunk/mono/; revision=3936
2002-04-21 07:42:51 +00:00
Daniel Morgan 0c4000d461 *** empty log message ***
svn path=/trunk/mcs/; revision=3935
2002-04-20 22:21:51 +00:00
Miguel de Icaza 3bf8e3a8d0 More updates
svn path=/trunk/mono/; revision=3934
2002-04-20 21:34:45 +00:00
Daniel Morgan a9c683d500 2002-04-20 Daniel Morgan <[email protected]>
* System.Data.OleDb: added directory - for OleDb database
provider classes

* System.Data.SqlClient/SqlClientPermission.cs
* System.Data.SqlClient/SqlClientPermissionAttribute.cs
* System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data.SqlClient/SqlInfoMessageEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
* Test/TestSqlException.cs
* Test/TestSqlIsolationLevel.cs: added - more tests

* System.Data.build: modified - added new files - excludes these too

* System.Data.SqlClient/PostgresLibrary.cs - modified - comment

* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlTransaction.cs
* System.Data.SqlClient/SqlException.cs
* System.Data.SqlClient/SqlErrorCollection.cs
* System.Data.SqlClient/SqlError.cs: modified - transaction and
  exception/error handling. SqlConnection(connectionString)
  constructor should not automatically connect.

* System.Data.SqlClient/SqlDataReader.cs
* System.Data.SqlClient/SqlDataAdapter.cs
* System.Data.SqlClient/SqlParameter.cs
* System.Data.SqlClient/SqlParameterCollection.cs: modified -
added using System.ComponentModel;

* Test/TestSqlInsert.cs: modified - to use transaction

svn path=/trunk/mcs/; revision=3933
2002-04-20 20:58:45 +00:00
Dan Lewis c965455def 2002-04-20 Dan Lewis <[email protected]>
* object.h, object.c: domain-specific versions of mono_object_new and
	mono_array_new.

	* jit,h, jit.c, x86.brg: NEWOBJ_SPEC and NEWARR_SPEC terminals for
	non-shared code.

svn path=/trunk/mono/; revision=3932
2002-04-20 16:58:37 +00:00
Dietmar Maurer 31516a8b07 2002-04-20 Dietmar Maurer <[email protected]>
* jit.c (check_inlining): added statistics about inlineing

svn path=/trunk/mono/; revision=3931
2002-04-20 16:05:14 +00:00
Miguel de Icaza d2c3d332d3 Update man page
svn path=/trunk/mono/; revision=3930
2002-04-20 15:57:11 +00:00
Dietmar Maurer 884c6dd14c 2002-04-20 Dietmar Maurer <[email protected]>
* mono.c (usage): new switch --noinline to disable inlining

svn path=/trunk/mono/; revision=3929
2002-04-20 15:53:28 +00:00
Dan Lewis b5e5581acc 2000-04-20 Dan Lewis <[email protected]>
* papers: added briggs ssa paper, gupta bounds checking paper,
	wilson gc intro, two hudson papers.

svn path=/trunk/mono/; revision=3928
2002-04-20 15:29:51 +00:00
Dietmar Maurer 713d547133 bug fix in Concat
svn path=/trunk/mcs/; revision=3927
2002-04-20 14:52:38 +00:00
Gonzalo Paniagua Javier 9121098b78 2002-04-20 Gonzalo Paniagua Javier <[email protected]>
* statement.cs: report the error when the foreach does not apply to an
	array nor a collection.

svn path=/trunk/mcs/; revision=3926
2002-04-20 14:34:32 +00:00
Dietmar Maurer bfb8da8feb 2002-04-20 Dietmar Maurer <[email protected]>
* interp.c (ves_exec_method): support internalcall String constructors

svn path=/trunk/mono/; revision=3925
2002-04-20 14:32:46 +00:00
Miguel de Icaza 07a7b6d3d7 Update news
svn path=/trunk/mono/; revision=3924
2002-04-20 14:08:48 +00:00
Miguel de Icaza 702b0dc1f4 Update news
svn path=/trunk/mono/; revision=3923
2002-04-20 14:07:18 +00:00
Dietmar Maurer 05940b0361 2002-04-20 Dietmar Maurer <[email protected]>
* object.c: changed String layout

	* string-icalls.c (mono_string_Internal_ctor_chara): added
	internal string constructors.

svn path=/trunk/mono/; revision=3922
2002-04-20 13:49:34 +00:00
Dietmar Maurer 7d7a54d1a6 use internal call constructors
svn path=/trunk/mcs/; revision=3921
2002-04-20 13:48:35 +00:00
Dietmar Maurer d32a8c7698 2002-04-20 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): added a check for (this!=NULL) if we
	inline methods (to keep semantics)

svn path=/trunk/mono/; revision=3920
2002-04-20 09:28:46 +00:00
Dietmar Maurer 06d12ddfa2 *** empty log message ***
svn path=/trunk/mono/; revision=3919
2002-04-20 09:07:16 +00:00
Dietmar Maurer 49469336fc 2002-04-20 Dietmar Maurer <[email protected]>
* x86.brg: added constant folding for inegers

	* emit-x86.c (tree_allocate_regs): handle the special case when
	chain rules need a register.

	* monoburg.y (yylex): bug fix in number parsing

svn path=/trunk/mono/; revision=3918
2002-04-20 07:55:08 +00:00
Paolo Molaro ee226edae5 Sat Apr 20 13:37:39 CEST 2002 Paolo Molaro <[email protected]>
* threads.c: destroy the mutex at thread destruction
	(if/when thread destruction code will be actually called).
	When protecting a tls data pointer from the gc, use also the
	thread id in the key.

svn path=/trunk/mono/; revision=3917
2002-04-20 07:53:07 +00:00
Paolo Molaro 6b12556453 Sat Apr 20 13:33:07 CEST 2002 Paolo Molaro <[email protected]>
* threads.c: pass 'this' to the thread start routine.

svn path=/trunk/mono/; revision=3916
2002-04-20 07:47:51 +00:00
Gonzalo Paniagua Javier 6a48219059 2002-04-20 Gonzalo Paniagua Javier <[email protected]>
* string-icalls.c: fix IndexOf and LastIndexOf. Now
	InternalCompareStr don't call twice mono_string_cmp_char for the last
	character. Improved performance in mono_string_cmp_char.

svn path=/trunk/mono/; revision=3915
2002-04-20 07:12:53 +00:00
Miguel de Icaza 9e1a8c821b 2002-04-19 Miguel de Icaza <[email protected]>
* expression.cs: Add implicit conversions to the operator ~.

svn path=/trunk/mcs/; revision=3914
2002-04-19 17:13:08 +00:00
Miguel de Icaza 6e00350ed4 2002-04-19 Miguel de Icaza <[email protected]>
* constant.cs (DecimalConstant.Emit): Emit decimal value.

	* typemanager.cs: Locate the decimal constructor.

svn path=/trunk/mcs/; revision=3912
2002-04-19 15:36:46 +00:00
Paolo Molaro 918c707e2b Fri Apr 19 19:26:28 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am, appdomain.c, class.c, object.c: split runtime-depended
	code into its own library: libmonoruntime.

svn path=/trunk/mono/; revision=3911
2002-04-19 13:58:02 +00:00
Paolo Molaro cb93a753bb Martin removed jit-debug from here: fix make distcheck.
svn path=/trunk/mono/; revision=3910
2002-04-19 13:36:45 +00:00
Dietmar Maurer 2684e9be50 2002-04-19 Dietmar Maurer <[email protected]>
* invoke.c (arch_create_native_wrapper): do not save LMF for Strings

	* jit.c (check_inlining): better inlining support

svn path=/trunk/mono/; revision=3909
2002-04-19 12:48:14 +00:00
Dan Lewis faa2607d9b 2002-04-19 Dan Lewis <[email protected]>
* object.h, object.c: changed array format so that szarrays do not
	require a bounds structure.
	* icall.c, appdomain.c, interp.c, jit.c: support for new szarray format
	* x86.brg: LDLEN uses max_length instead of bounds[0]

svn path=/trunk/mono/; revision=3908
2002-04-19 12:33:58 +00:00
Paolo Molaro 7281c280d2 Fri Apr 19 18:04:34 CEST 2002 Paolo Molaro <[email protected]>
* metadata.c: compare also the retuns type when comparing signatures:
	we didn't do this as an optimization since really overloaded methods
	must differ also in the arguments, but this doesn't work with
	low-level IL code (or when using explicit conversion operators: see
	bug#23498 for an example).

svn path=/trunk/mono/; revision=3907
2002-04-19 12:17:40 +00:00
Paolo Molaro 8670070b0a Fri Apr 19 16:14:52 CEST 2002 Paolo Molaro <[email protected]>
* loader.c: SZARRAY types can be saved as TYPESPEC, too.

svn path=/trunk/mono/; revision=3906
2002-04-19 10:26:26 +00:00
Miguel de Icaza e06d966d36 Flush TODO and makefile
svn path=/trunk/mcs/; revision=3905
2002-04-19 10:09:03 +00:00
Miguel de Icaza 3ac4eba228 Add Eclipse C# link
svn path=/trunk/mono/; revision=3904
2002-04-19 10:08:15 +00:00
Gonzalo Paniagua Javier c303807db2 2002-04-19 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs: added IPEndPointTest.
	* IPEndPointTest.cs: added file (author: Lawrence Pit).
	* IPAdressTest.cs: use Fail is expected exception are not raised.

svn path=/trunk/mcs/; revision=3903
2002-04-19 10:03:21 +00:00
Gonzalo Paniagua Javier df2229db90 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs: little changes to behave as MS.

svn path=/trunk/mcs/; revision=3901
2002-04-18 18:27:26 +00:00
Paolo Molaro f7393432ff Fixed IndexOf() count.
svn path=/trunk/mcs/; revision=3900
2002-04-18 12:40:54 +00:00
Dietmar Maurer d4ee3cf56b 2002-04-18 Dietmar Maurer <[email protected]>
* jit.c (check_inlining): added inlining support

svn path=/trunk/mono/; revision=3899
2002-04-18 11:49:42 +00:00
Paolo Molaro a8838f0465 Thu Apr 18 17:15:09 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: make MonoType::GetElementType its own icall.

svn path=/trunk/mono/; revision=3898
2002-04-18 11:27:43 +00:00
Paolo Molaro e6f2a4c040 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: make GetElementType its own icall.

svn path=/trunk/mcs/; revision=3897
2002-04-18 11:27:36 +00:00
Paolo Molaro 821a951761 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <[email protected]>
* MonoMethod.c: cache the method name.

svn path=/trunk/mcs/; revision=3896
2002-04-18 10:54:09 +00:00
Paolo Molaro 3f2b1cf8a5 Thu Apr 18 16:41:30 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: remove MonoMethod_get_Name().
	* reflection.c, reflection.h, verify: cache the method name in the MonoMethod
	object.

svn path=/trunk/mono/; revision=3895
2002-04-18 10:54:09 +00:00
Nick Drochak a8356f29a7 2002-04-18 Nick Drochak <[email protected]>
* String.cs: Modified file. Re-add methods needed by the unit tests.

svn path=/trunk/mcs/; revision=3894
2002-04-18 10:29:39 +00:00
Patrik Torstensson 8a7cc6547c 2002-04-17 Patrik Torstensson <[email protected]>
* string-icalls.c: optimized a few methods.

svn path=/trunk/mono/; revision=3893
2002-04-18 09:43:58 +00:00
Gonzalo Paniagua Javier 8f9445d3f9 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs (Resolve): behave as MS. Agreed with Mads.

svn path=/trunk/mcs/; revision=3892
2002-04-18 09:17:45 +00:00
Miguel de Icaza 91fce8c5dd Add more tests
svn path=/trunk/mcs/; revision=3891
2002-04-18 07:26:43 +00:00
Miguel de Icaza 902ec11fb6 Flush pending changes
svn path=/trunk/mono/; revision=3890
2002-04-18 07:26:19 +00:00
Paolo Molaro c1210d9556 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <[email protected]>
* String.cs: some code speedups and restored GetTypeCode().

svn path=/trunk/mcs/; revision=3889
2002-04-18 06:49:57 +00:00
Dietmar Maurer 3725a55729 added a comment howto avoid saving LMF
svn path=/trunk/mono/; revision=3888
2002-04-18 06:12:05 +00:00
Gonzalo Paniagua Javier 6749d6fa98 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
* attribute.cs: use the new property of TypeOf.
	* expression.cs: added 'get' property around typearg.

	These changes fix a build breaker reported by NickD. Is this the
	correct way to fix?  If not, please, revert my changes and make it
	work :-).

svn path=/trunk/mcs/; revision=3887
2002-04-17 22:41:45 +00:00
Rodrigo Moya ca2049ad71 excluded new files from build
svn path=/trunk/mcs/; revision=3886
2002-04-17 22:23:49 +00:00
Rodrigo Moya 7fe84924f8 2002-04-17 Rodrigo Moya <[email protected]>
* System.Data/DataRow.cs: new skeletons.

	* System.Data.Common/DataAdapter.cs:
	* System.Data.Common/DataColumnMapping.cs:
	* System.Data.Common/DataColumnMappingCollection.cs:
	* System.Data.Common/DataTableMapping.cs:
	* System.Data.Common/DataTableMappingCollection.cs:
	* System.Data.Common/DbDataAdapter.cs:
	* System.Data.Common/RowUpdatedEventArgs.cs:
	* System.Data.SqlClient/SqlDataAdapter.cs:
	* System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
	fixes for Linux.

	* System.Data.Common/DbDataRecord.cs:
	* System.Data.Common/DbEnumerator.cs: removed MS implementation
	internal classes.

svn path=/trunk/mcs/; revision=3885
2002-04-17 22:20:22 +00:00
Miguel de Icaza e257fc9520 2002-04-17 Miguel de Icaza <[email protected]>
* attribute.cs: Add support for typeof in attribute invocations.
	I am not sure that this is right though.

svn path=/trunk/mcs/; revision=3884
2002-04-17 20:01:39 +00:00
Duncan Mak ded31b58b4 Test case for triggering CS0020, Division by constant zero.
svn path=/trunk/mcs/; revision=3883
2002-04-17 17:28:50 +00:00
Paolo Molaro acf85ec4d4 Fixed compilation.
svn path=/trunk/mono/; revision=3882
2002-04-17 17:23:58 +00:00
Patrik Torstensson 3352fde99f 2002-04-17 Patrik Torstensson <[email protected]>
* String.cs: New implementation using internal calls.

svn path=/trunk/mcs/; revision=3881
2002-04-17 17:04:41 +00:00
Patrik Torstensson 67e70bfd9b 2002-04-17 Patrik Torstensson <[email protected]>
* icall.c: added all new string internal calls
	* string-icalls.c: added, new string internal call implementation.
	* object.c: added mono_string_new_size for allocating a string a size

svn path=/trunk/mono/; revision=3880
2002-04-17 16:55:18 +00:00
Dietmar Maurer 98da7cd0a5 2002-04-17 Dietmar Maurer <[email protected]>
* x86.brg: optimized version of castclass and isinst

svn path=/trunk/mono/; revision=3879
2002-04-17 13:52:04 +00:00
Dietmar Maurer 29061b64f7 added a new field to TransparentProxy
svn path=/trunk/mcs/; revision=3878
2002-04-17 13:46:30 +00:00
Jaime Anguiano Olarra 671d153de7 Added two new questions and aswers. One is related to CORBA and ORBit. The second one is about if Ximian is going to offer certifications on Mono. There is also a little fix changing one AP(I for API.
svn path=/trunk/mono/; revision=3877
2002-04-17 12:55:02 +00:00
Paolo Molaro aa1e79f210 Wed Apr 17 18:36:27 CEST 2002 Paolo Molaro <[email protected]>
* timed-thread.c: avoid race condition when setting the thread to
	detached.

svn path=/trunk/mono/; revision=3876
2002-04-17 12:48:36 +00:00
Dick Porter a73a4ea6c2 Build libgc with threading support. This stops it going into a recursive
meltdown.

svn path=/trunk/mono/; revision=3875
2002-04-17 11:35:13 +00:00
Daniel Morgan 890650fbb5 2002-04-17 Daniel Morgan <[email protected]>
* Test/TestSqlInsert.cs: modified - do
	  a SQL DELETE before SQL INSERT of row so you can use this
	  test over and over.

	* System.Data.SqlClient/SqlTransaction.cs: modified - default
	  IsolationLevel for PostgreSQL is ReadCommitted.  However,
	  PostgreSQL allows Serializable as well.
      (Thanks to Gonzalo for that!)

	* System.Data.SqlClient/SqlConnection.cs: modified
	* System.Data.SqlClient/SqlCommand.cs: modified
	* System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
	  working; however, we still need to implement SQL errors
	  and exceptions to properly handle transactions.  Also, added
	  status and error message support from the PostgreSQL database.
	  Currently, this does a Console.WriteLine() to display the
	  status and error messages, but this is a TODO
	  for SQL errors and exceptions.

	* System.Data/TODOAttribute.cs: added - needed MonoTODO
      attribute for System.Data.dll assembly

	* System.Data/IDbCommand.cs: modified - commented
	  overloaded method ExecuteReader
	  so System.Data.SqlClient.SqlCommand can compile

	* System.Data/IDbCommand.cs: modified
	* System.Data/IDbConnection.cs: modified - added using System;
	* System.Data/IDataParameter.cs

	* System.Data.build: modified - build classes
	  in System.Data.SqlClient and exclude others in System.Data

	* System.Data.SqlClient/PostgresLibrary.cs: modified - change
	  parameter data type from IntPtr to enum ExecStatusType

	* ChangeLog: modified - corrected previous entries in log

svn path=/trunk/mcs/; revision=3874
2002-04-17 10:57:14 +00:00
Rodrigo Moya e0f6a9c96b 2002-04-16 Rodrigo Moya <[email protected]>
* System.Data.Common/DataColumnMappingCollection.cs: added basic
	implementation. Still missing some stuff.

svn path=/trunk/mcs/; revision=3873
2002-04-17 09:15:46 +00:00
Paolo Molaro 2d41a134bf Wed Apr 17 14:14:36 CEST 2002 Paolo Molaro <[email protected]>
* profiler.c: TSC-based timer code (faster and more accurate).
	Not hooked up in configure, yet (set USE_X86TSC to 1).

svn path=/trunk/mono/; revision=3872
2002-04-17 08:27:02 +00:00
Paolo Molaro 667838351b Update with --profile option.
svn path=/trunk/mono/; revision=3871
2002-04-17 06:49:56 +00:00
Paolo Molaro b79e0f0173 Wed Apr 17 12:34:56 CEST 2002 Paolo Molaro <[email protected]>
* emit-x86.c, invoke.c: track time spent compiling.

svn path=/trunk/mono/; revision=3870
2002-04-17 06:49:29 +00:00
Paolo Molaro 1db7a86515 Wed Apr 17 12:33:10 CEST 2002 Paolo Molaro <[email protected]>
* profiler.c, profiler.h: track time spent compiling methods.
	* threads.c: track thread creation/destruction.

svn path=/trunk/mono/; revision=3869
2002-04-17 06:45:11 +00:00
Paolo Molaro 90631efc8d Wed Apr 17 10:58:37 CEST 2002 Paolo Molaro <[email protected]>
* emit-x86.c, invoke.c: call profile callbacks if needed.
	* jit.c, jit.h, mono.c: add --profile command line option.

svn path=/trunk/mono/; revision=3868
2002-04-17 05:15:02 +00:00
Gonzalo Paniagua Javier d696caf330 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs: the icalls for sockets are endianness-aware. So I
	changed a few things. Also included a workaround for bug #23547.

svn path=/trunk/mcs/; revision=3867
2002-04-16 23:07:29 +00:00
Duncan Mak e230186787 2002-04-16 Duncan Mak <[email protected]>
* XmlParserContext.cs (NameTable): Fixed a typo in the set block.

svn path=/trunk/mcs/; revision=3866
2002-04-16 18:32:20 +00:00
Gonzalo Paniagua Javier ee9a8b4768 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
* jit.h: included mono/io-layer/io-layer.h to avoid breaking
	compilation under windows when upgrading mingw and w32api to
	version	1.3 (thanks Dick!).

svn path=/trunk/mono/; revision=3865
2002-04-16 15:04:34 +00:00
Gonzalo Paniagua Javier 6e61b7db1b 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
* jit.h: to more #include lines to avoid breaking compilation
	under windows when upgrading mingw and w32api to version
	1.3 (thanks Dick!).

svn path=/trunk/mono/; revision=3864
2002-04-16 15:03:47 +00:00
Paolo Molaro a33feb0292 Tue Apr 16 20:12:58 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: removed profiling code (moved to common library).
	Implemented inlining for some special methods.

svn path=/trunk/mono/; revision=3863
2002-04-16 14:25:07 +00:00
Paolo Molaro 4bbb7a1bc4 Tue Apr 16 20:08:43 CEST 2002 Paolo Molaro <[email protected]>
* profiler.c, profiler.h, profiler-private.h: profiling interface
	and sample implementation. Moved here so that it can be used also by
	the jit.

svn path=/trunk/mono/; revision=3862
2002-04-16 14:20:50 +00:00
Daniel Morgan 7086a2a4c9 2002-04-16 Daniel Morgan <[email protected]>
* System.Data/SqlConnection.cs: modified - got to compile,
	  run, and connect to PostgreSQL database
	* System.Data/SqlCommand.cs: modified - got to compile,
	  run, and execute a SQL INSERT command which successfully
	  inserted a row into the PostgreSQL database

	* System.Data/SqlTransaction.cs: modified
	* System.Data/SqlParameter.cs: modified
	* System.Data/SqlParameterCollection.cs: modified
	* System.Data/SqlError.cs: modified
	* System.Data/SqlErrorCollection.cs: modified
	* System.Data/SqlException.cs: modified
	* System.Data/PostgresLibrary.cs: modified - to compile

	* System.Data/SqlAdapter: modified
	* System.Data/SqlReader: modified - add more stubs

svn path=/trunk/mcs/; revision=3861
2002-04-16 13:24:34 +00:00
Daniel Morgan c1446e2b8d 2002-04-16 Daniel Morgan <[email protected]>
svn path=/trunk/mcs/; revision=3860
2002-04-16 13:02:57 +00:00
Patrik Torstensson 57161eddba 2002-04-15 Patrik Torstensson <[email protected]>
* loader.c : Fixed bug introduced by me in last checkin (corrupt memory)

svn path=/trunk/mono/; revision=3859
2002-04-16 11:39:46 +00:00
Paolo Molaro 6d173d8b43 Added char.
svn path=/trunk/mono/; revision=3858
2002-04-16 11:28:11 +00:00
Paolo Molaro 5e83411e64 Some info for runtime hackers that need to implement internal calls.
svn path=/trunk/mono/; revision=3857
2002-04-16 11:26:33 +00:00
Patrik Torstensson 254e878e48 2002-04-15 Patrik Torstensson <[email protected]>
* interp.c: changed the array icalls to use full names

svn path=/trunk/mono/; revision=3856
2002-04-16 11:10:56 +00:00
Patrik Torstensson 6cf9cfcc82 missed commit
svn path=/trunk/mono/; revision=3855
2002-04-16 11:08:10 +00:00
Patrik Torstensson 3657301773 2002-04-15 Patrik Torstensson <[email protected]>
* jit.c: changed the array icalls to use full names

svn path=/trunk/mono/; revision=3854
2002-04-16 11:07:11 +00:00
Patrik Torstensson ed3cf0ac44 2002-04-15 Patrik Torstensson <[email protected]>
* loader.c/h : added support for icall method overloading (signature checking)

svn path=/trunk/mono/; revision=3853
2002-04-16 11:05:59 +00:00
Nick Drochak 4ee648a9c8 2002-04-16 Nick Drochak <[email protected]>
* DecimalFormatter.cs: Trim off excess null characters from the string
	that decimal2string gives back.

svn path=/trunk/mcs/; revision=3852
2002-04-16 11:00:48 +00:00
Gonzalo Paniagua Javier 9e84501293 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
* maintainers.xml: added myself.
	* class.xml: added System.Net.Sockets.UdpClient and updated
	System.Net.IPAddress and IPEndPoint.

svn path=/trunk/mono/; revision=3851
2002-04-16 09:25:33 +00:00
Dietmar Maurer a07d6cb904 added another paper
svn path=/trunk/mono/; revision=3850
2002-04-16 09:04:08 +00:00
Paolo Molaro e1b4034b26 Tue Apr 16 12:58:12 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: keep types and other handles separate in
	the hash tables for referred tokens. Add guid for modules.

svn path=/trunk/mono/; revision=3849
2002-04-16 07:15:06 +00:00
Paolo Molaro 7d3a3ac779 Tue Apr 16 13:02:28 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: pad output file to file alignment.
	* FieldBuilder.cs: ReflectedType.
	* ModuleBuilder.cs: added guid generation and array method creation.
	* MonoArrayMethod.cs: array method support code.

svn path=/trunk/mcs/; revision=3848
2002-04-16 07:15:06 +00:00
Dick Porter cf81343402 2002-04-16 Dick Porter <[email protected]>
* atomic.h: Explanatory comment about lack of 80386 support

svn path=/trunk/mono/; revision=3847
2002-04-16 07:00:58 +00:00
Nick Drochak 09515e2520 2002-04-16 Nick Drochak <[email protected]>
* String.cs (SubString): revert my change.  I can't reproduce the
	problem anymore.

svn path=/trunk/mcs/; revision=3846
2002-04-16 06:23:02 +00:00
Dietmar Maurer 5440214ad7 new test
svn path=/trunk/mono/; revision=3845
2002-04-16 03:26:54 +00:00
Gaurav Vaish 3d445fe381 2002-04-16 Gaurav Vaish <[email protected]>
* java: Added information about JILC - Java to IL Compiler

svn path=/trunk/mono/; revision=3844
2002-04-16 00:05:57 +00:00
Gonzalo Paniagua Javier f8067570ba 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: implemented.

svn path=/trunk/mcs/; revision=3843
2002-04-15 23:57:45 +00:00
Daniel Morgan 222fb82852 *** empty log message ***
svn path=/trunk/mono/; revision=3842
2002-04-15 23:41:10 +00:00
Daniel Morgan 4c23dee643 *** empty log message ***
svn path=/trunk/mcs/; revision=3841
2002-04-15 23:07:23 +00:00
Daniel Morgan 14b4926a06 does
svn path=/trunk/mcs/; revision=3840
2002-04-15 22:58:50 +00:00
Christopher Podurgiel 633dba140b * System.Data.IDbDataParameter: Added Interface to IDataParameter.
* System.Data.IDbTransaction: Added Interface to IDisposable.
* System.Data.IDbCommand: Fixed Capitalization of class name.
* System.Data.IDbConnection: Fixed Capitalization of class name.

svn path=/trunk/mcs/; revision=3839
2002-04-15 21:58:27 +00:00
Rodrigo Moya e601a40811 Some fixes as I read the C# book
svn path=/trunk/mcs/; revision=3838
2002-04-15 20:53:01 +00:00
Rodrigo Moya c063ed29d2 2002-04-15 Rodrigo Moya <[email protected]>
* System.Data.Common/DbDataPermissionAttribute.cs:
	* System.Data.Common/DataAdapter.cs:
	* System.Data.Common/DataColumnMapping.cs:
	* System.Data.Common/DbDataPermission.cs: added some implementation.

svn path=/trunk/mcs/; revision=3837
2002-04-15 20:37:13 +00:00
Dan Lewis 8c4d5cae72 2002-04-15 Dan Lewis <[email protected]>
* MethodImplAttribute.cs: added constructor usage.

svn path=/trunk/mcs/; revision=3836
2002-04-15 19:05:14 +00:00
Rodrigo Moya 246f9d81c1 2002-04-15 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
	syntax, as pointed out by Levent Camlibel.

svn path=/trunk/mcs/; revision=3835
2002-04-15 16:30:06 +00:00
Gonzalo Paniagua Javier b8e938a053 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
	by Paolo) instead of guessing the endianness.

	* SocketAddress.cs: implemented Equals() and GetHashcode().

svn path=/trunk/mcs/; revision=3834
2002-04-15 16:20:04 +00:00
Gonzalo Paniagua Javier ff29f7f165 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
* IPAddressTest.cs: use System.BitConverter.IsLittleEndian (suggested
	by Paolo) instead of guessing the endianness.

svn path=/trunk/mcs/; revision=3833
2002-04-15 16:07:13 +00:00
Dietmar Maurer 7cae473f2c 2002-04-15 Dietmar Maurer <[email protected]>
* x86.brg: check the this pointer before calling
	non-virtual functions

svn path=/trunk/mono/; revision=3832
2002-04-15 15:11:44 +00:00
Dietmar Maurer c6be154e47 2002-04-15 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_prologue): initialize local vars.

	* x86.brg: removed incredible clumsy code

svn path=/trunk/mono/; revision=3831
2002-04-15 13:51:56 +00:00
Miguel de Icaza 51a5efcee3 Update for ASP.NET
svn path=/trunk/mono/; revision=3830
2002-04-15 13:05:56 +00:00
Dick Porter 9b5e22eb76 2002-04-15 Dick Porter <[email protected]>
* atomic.h: use xaddl for InterlockedIncrement() and
	InterlockedDecrement().  Use cmpxchgl in a loop for
	InterlockedExchange() and InterlockedExchangePointer().

svn path=/trunk/mono/; revision=3829
2002-04-15 13:05:04 +00:00
Miguel de Icaza 4bc54249e3 Add new files
svn path=/trunk/mono/; revision=3828
2002-04-15 12:21:21 +00:00
Gonzalo Paniagua Javier f3cd574ac3 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
* IPEndPoint.cs: modifications to constructors according to the
	specifications (suggested by Lawrence Pit).

svn path=/trunk/mcs/; revision=3827
2002-04-15 11:22:03 +00:00
Paolo Molaro f686661f5f Mon Apr 15 13:31:22 CEST 2002 Paolo Molaro <[email protected]>
* unicode.c: fix unicode_len() to not access uninitialized memory
	(and updated to conform to mono code style).

svn path=/trunk/mono/; revision=3826
2002-04-15 07:43:10 +00:00
Miguel de Icaza 779415f523 Remove debugging message
svn path=/trunk/mcs/; revision=3825
2002-04-15 06:51:10 +00:00
Paolo Molaro 2aefc13cc2 Document --module and fix formatting.
svn path=/trunk/mono/; revision=3824
2002-04-15 06:03:04 +00:00
Paolo Molaro 9f84f7ffec Mon Apr 15 11:37:33 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c: fix bugs found with valgrind.
	* metadata.h, metadata.c: added mono_metadata_guid_heap().

svn path=/trunk/mono/; revision=3823
2002-04-15 05:49:21 +00:00
Paolo Molaro 5ef5e8e65b Mon Apr 15 11:35:05 CEST 2002 Paolo Molaro <[email protected]>
* dump.c, dump.h, get.c, get.h, main.c: support for dumping the
	module table and guid values.

svn path=/trunk/mono/; revision=3822
2002-04-15 05:46:56 +00:00
Patrik Torstensson 3d6450fc0f 2002-04-15 Patrik Torstensson
* Test for AppDomain support in thread

svn path=/trunk/mono/; revision=3821
2002-04-15 05:21:13 +00:00
Patrik Torstensson 6bc5cec8f2 2002-04-14 Patrik Torstensson <[email protected]>
* threads: added icall support for getting current domain for
	           the thread.

svn path=/trunk/mono/; revision=3820
2002-04-15 05:05:18 +00:00
Patrik Torstensson e2c8a27eca 2002-04-15 Patrik Torstensson <[email protected]>
* IPEndPoint.cs: Fixed build breaker.

svn path=/trunk/mcs/; revision=3819
2002-04-15 04:16:32 +00:00
Gonzalo Paniagua Javier 833935a07f 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
* IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
	complete.

svn path=/trunk/mcs/; revision=3818
2002-04-15 01:03:28 +00:00
Gonzalo Paniagua Javier 3731330ebb Some changes to behave as MS does.
svn path=/trunk/mcs/; revision=3817
2002-04-15 00:47:14 +00:00
Gonzalo Paniagua Javier 7ad05ce959 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs: finished all MonoTODO's. Use network order to store 
	the address. Check for max and min values in Address:set. IsLoopback()
	returns now true for all 127.x.y.z. Some more checks in Parse ().

svn path=/trunk/mcs/; revision=3816
2002-04-14 23:47:37 +00:00
Duncan Mak b1e70ba3f1 Woohoo, I got a line of code into the compiler!
2002-04-14  Duncan Mak  <[email protected]>

	* cfold.cs (BinaryFold): Catch DivideByZeroException in the
	Binary.Operator.Division case.

svn path=/trunk/mcs/; revision=3815
2002-04-14 21:38:25 +00:00
Adam Treat 1503838060 * Implemented ctor (string xmlFragment).
svn path=/trunk/mcs/; revision=3814
2002-04-14 21:20:16 +00:00
John Barnette 6dd7c6bdeb Added "FooDoc(string name)" constructors in all relevant places.
svn path=/trunk/mcs/; revision=3813
2002-04-14 21:14:47 +00:00
John Barnette 6768166551 Redundant; replaced with StringDictionary in EnumDoc.cs. Remove.
svn path=/trunk/mcs/; revision=3812
2002-04-14 21:10:53 +00:00
Adam Treat eb67401dcb * Implemented ReadInnerXml and ReadOuterXml. We still need to validate for
'well-formed' xml though.  I'll wait for Validating reader before adding that
bit ;-)

svn path=/trunk/mcs/; revision=3811
2002-04-14 20:46:49 +00:00
Gonzalo Paniagua Javier 7d54a1b2bf 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
* System.Net/: added directory.
	* AllTests.cs: added System.Net suite.

In System.Net/

	* ChangeLog:
	* AllTests.cs:
	* IPAddressTest.cs: added files.

svn path=/trunk/mcs/; revision=3810
2002-04-14 20:25:12 +00:00
Rodrigo Moya 6e7bbf106d 2002-04-14 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/INullable.cs: new skeletons.

svn path=/trunk/mcs/; revision=3809
2002-04-14 18:06:00 +00:00
Gonzalo Paniagua Javier 4ab3c2c2e3 2002-04-14 Gonzalo Paniagua Javier <[email protected]>
* IOCompletionCallback.cs: added attributes to the delegate
	(CLSCompliant(false) and Serializable).

svn path=/trunk/mcs/; revision=3808
2002-04-14 13:54:03 +00:00
Christian Meyer f6b0eaa121 Added ChangeLog file.
svn path=/trunk/mcs/; revision=3807
2002-04-14 13:21:47 +00:00
Christian Meyer bb15492dc5 Added Metafile.cs. No impl. Not finished, just stubs. 50% of ctors are done.
svn path=/trunk/mcs/; revision=3806
2002-04-14 13:14:57 +00:00
Patrik Torstensson 555a2727f3 2002-04-14 Patrik Torstensson <[email protected]>
* Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending
				 the threadstate enum.
	* ThreadPool.cs: Now using the internal Isthreadpoolthread property
	* ThreadState.cs: removed non-standard enum (ThreadPoolThread)

svn path=/trunk/mcs/; revision=3805
2002-04-14 12:13:01 +00:00
Rodrigo Moya 011da1207d 2002-04-14 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
	contains all calls the the PostgreSQL client library, to be used
	everywhere in System.Data.SqlClient.

svn path=/trunk/mcs/; revision=3804
2002-04-14 12:12:45 +00:00
Patrik Torstensson d50c0dc184 2002-04-14 Patrik Torstensson <[email protected]>
* ThreadState.cs: Added enum for threadpool thread
	* Thread.cs: changed the set/clr_state to be internal (used from threadpool)
	* Thread.cs: Added IsThreadPoolThread
	* ThreadPool.cs: Implementation of QueueUserWorkItem

svn path=/trunk/mcs/; revision=3803
2002-04-14 08:44:28 +00:00
Ravi Pratap M 53e4d01105 2002-04-13 Ravi Pratap <[email protected]>
* class.cs (DefineType): Ensure that we do a proper check on
	attribute types and also register it with the TypeManager.

	(TypeContainer.Targets): The default for attribute types is
	AttributeTargets.All.

	* attribute.cs (ApplyAttributes): Registering the attribute type
	is done elsewhere, not when we discover we have a Usage attribute.

svn path=/trunk/mcs/; revision=3802
2002-04-13 19:57:00 +00:00
Martin Baulig 3bf1341d60 2002-04-13 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceBlock): Added `Blocks' property and `AddBlock'
	method to support nested blocks.

	* MonoSymbolWriter.cs: Correctly handle nested blocks.

	* MonoDwarfFileWriter.cs (DieMember): Provide info for all fields, not just for
	public ones; also added DW_AT_accessibility.
	(DieVariable): Reflected latest debug-symfile.c changes.

svn path=/trunk/mcs/; revision=3801
2002-04-13 16:34:42 +00:00
Martin Baulig baee4c3636 2002-04-13 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_variable_location): New static func to write
	the location of a variable.
	(dwarf2_write_variable, dwarf2_write_parameter): Take a MonoDebugVarInfo
	instead of a stack offset and use dwarf2_write_variable_location() to write
	the location.

svn path=/trunk/mono/; revision=3800
2002-04-13 16:26:10 +00:00
Martin Baulig 35c5000510 2002-04-13 Martin Baulig <[email protected]>
* debug.c, debug-stabs.c, debug-dwarf2.c: Reflect latest debug-symfile.h
	API changes.

svn path=/trunk/mono/; revision=3799
2002-04-13 16:14:29 +00:00
Martin Baulig 072bd181e0 2002-04-13 Martin Baulig <[email protected]>
* debug-symfile.h (MonoDebugLocalInfo): Renamed to MonoDebugVarInfo.
	(MonoDebugVarInfo): Added `index' field for register based addresses.
	(MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 9.
	(MonoDebugMethodInfo): Replaced `guint32 *param_offsets' with
	`MonoDebugVarInfo *params' and `guint32 this_offset' with
	`MonoDebugVarInfo *this_var'.

	* debug-symfile.c (relocate_variable): New static function to write
	a location description for a local variable or method parameter.

svn path=/trunk/mono/; revision=3798
2002-04-13 16:13:51 +00:00
Gonzalo Paniagua Javier 796b57ef91 2002-04-12 Gonzalo Paniagua Javier <[email protected]>
* monoburg/monoburg.c: added option -s to specify the c source file for output.
	* jit/Makefile.am: use the new option.

svn path=/trunk/mono/; revision=3797
2002-04-13 07:46:16 +00:00
Gonzalo Paniagua Javier 5a53082386 2002-04-13 Gonzalo Paniagua Javier <[email protected]>
* Attribute.cs: added GetHashCode and Equals.

svn path=/trunk/mcs/; revision=3796
2002-04-13 07:27:24 +00:00
John Barnette ea198bcf76 Tweaks.
svn path=/trunk/mcs/; revision=3795
2002-04-13 02:56:11 +00:00
John Barnette a0f9a11220 Updated to use ValueConstrainedArrayList.
ParameterDoc removed, as it was useless.

svn path=/trunk/mcs/; revision=3794
2002-04-13 02:55:33 +00:00
Duncan Mak 532d9eb391 2002-04-12 Duncan Mak <[email protected]>
* XmlAttribute.cs (Prefix): Added preliminary code for set block,
	added comment on work that needs to be done here. A new MonoTODO item.

	* XmlDocument.cs (ctor): Corrected constructor signature, changed
	parameter from 'NameTable' to 'XmlNameTable'.

	* XmlDocumentFragment.cs (InnerXml): Added missing set block.

svn path=/trunk/mcs/; revision=3793
2002-04-12 21:15:43 +00:00
Adam Treat 4e70b38a95 * Replace with the replacement string not the pattern ;-)
svn path=/trunk/mcs/; revision=3792
2002-04-12 20:45:53 +00:00
Ravi Pratap M 2d9439b962 2002-04-12 Ravi Pratap <[email protected]>
* expression.cs (VerifyArgumentsCompat): Implement Miguel's suggestion
	and get rid of is_delegate parameter.

	* everywhere : update.

svn path=/trunk/mcs/; revision=3791
2002-04-12 18:54:11 +00:00
Ravi Pratap M 691fe53a0b 2002-04-12 Ravi Pratap <[email protected]>
* cs-parser.jay (compilation_unit): Revamp completely to use
	some new ideas that I got from Rhys' grammar to solve the problems
	with assembly level attributes.

	(outer_declaration): New grammar production.

	(attribute_sections): Add.

	(opt_attributes): Base on attribute_sections

	(namespace_declaration): Allow opt_attributes to tackle the case
	when we have assembly level attributes - we are clever in this
	regard now ;-)

	* attribute.cs (ApplyAttributes): Do not worry about assembly
	attributes in the non-global context.

	* rootcontext.cs (AddGlobalAttributes): Go back to using this
	instead of SetGlobalAttributes.

	* class.cs, rootcontext.cs : Ensure we define and generate
	attribute types before anything else.

	* attribute.cs (CheckAttribute and GetValidPlaces): Handle the exception
	and flag the new error -20 for the case when the attribute type
	does not have valid targets specified. csc does not catch this.

	* ../errors/errors.txt : update for error # -20

2002-04-11  Ravi Pratap  <[email protected]>

	* support.cs (InternalParameters.ParameterModifier): Do some null
	checking and return sane values.

	* class.cs (Method.Define): If we are a PInvoke method, ensure
	that we are static and extern. Report error # 601

	* ../errors/cs0601.cs : Add test case for the above error.

2002-04-07  Ravi Pratap  <[email protected]>

	* rootcontext.cs (attribute_types): We need to keep type of
	all attribute types separately and emit code for them first.

	(RegisterAttribute) : Implement.

	* class.cs (DefineType): Check if the current Type is a custom
	attribute type and register it accordingly.

	* rootcontext.cs (AddGlobalAttributes): Fix silly bug where we were
	adding the first attribute twice and rename to

	(SetGlobalAttributes): this.

	* rootcontext.cs (NamespaceLookup): Run through the aliases too and perform
	lookups.

	* attribute.cs (ApplyAttributes): Take an additional argument telling us
	if we are processing global arguments. Hmm, I am unsure of this.

svn path=/trunk/mcs/; revision=3790
2002-04-12 18:51:32 +00:00
Ravi Pratap M a11971b3ed 2002-04-05 Ravi Pratap <[email protected]>
* test-101.cs : Add test from Paolo.

	* test-102.cs : Another test for attribute emission.

svn path=/trunk/mcs/; revision=3789
2002-04-12 18:50:22 +00:00
Ravi Pratap M 8ea6a01db9 Add
svn path=/trunk/mcs/; revision=3788
2002-04-12 18:25:13 +00:00
Duncan Mak dcce243fc2 2002-04-12 Duncan Mak <[email protected]>
* SerializationException.cs: Added missing constructor for serialization.

svn path=/trunk/mcs/; revision=3787
2002-04-12 16:48:45 +00:00
John Barnette 08f7886841 Initial revision.
svn path=/trunk/mcs/; revision=3786
2002-04-12 16:40:28 +00:00
Duncan Mak 0fda2aa47a 2002-04-12 Duncan Mak <[email protected]>
XmlCaseOrder.cs: Moved to here from System.Xml.

svn path=/trunk/mcs/; revision=3785
2002-04-12 16:38:27 +00:00
Duncan Mak 09c1bfec7e 2002-04-12 Duncan Mak <[email protected]>
XmlCaseOrder.cs: Moved to System.Xml.XPath.

svn path=/trunk/mcs/; revision=3784
2002-04-12 16:37:44 +00:00
Duncan Mak 3ceba8cddc This is a ValueType, return 0 instead of null.
svn path=/trunk/mcs/; revision=3783
2002-04-12 16:22:10 +00:00
Duncan Mak 9f5d8e9657 2002-04-12 Duncan Mak <[email protected]>
* AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
	property.

	* AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
	attribute.

	* AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
	Version.

	* BindingFlags.cs: Added missing value "PutRefDispProperty".

	* FieldAttributes.cs: Removed value "HasSecurity".

	* ManifestResourceInfo.cs: Added missing properties FileName,
	ReferencedAssembly and ResourceLocation.

svn path=/trunk/mcs/; revision=3782
2002-04-12 16:19:30 +00:00
Martin Baulig 888824eae1 2002-04-12 Martin Baulig <[email protected]>
* gdb-variable-scopes.patch: A patch for GDB (against the latest CVS version)
	to implement variable lifetimes.

svn path=/trunk/mcs/; revision=3781
2002-04-12 16:03:06 +00:00
Martin Baulig bd763beb78 Write DW_AT.AT_begin_scope and DW_AT.AT_end_scope as addresses, not as offsets.
svn path=/trunk/mcs/; revision=3780
2002-04-12 15:55:44 +00:00
Martin Baulig 43d5d26901 2002-04-12 Martin Baulig <[email protected]>
* debug-dwarf2.c (dwarf2_write_variable): Emit info about the variable's
	lifetime.

svn path=/trunk/mono/; revision=3779
2002-04-12 15:54:51 +00:00
Martin Baulig 18f1af4e29 Ooops, it's an address, not an offset.
svn path=/trunk/mono/; revision=3778
2002-04-12 15:53:15 +00:00
Duncan Mak aeba4e6224 Forgot about this
svn path=/trunk/mcs/; revision=3777
2002-04-12 15:46:05 +00:00
Duncan Mak e78b3daf64 2002-04-12 Duncan Mak <[email protected]>
* TargetInvocationException.cs: Added the missing constructors.

svn path=/trunk/mcs/; revision=3776
2002-04-12 15:40:36 +00:00
Martin Baulig 609231fe4d 2002-04-12 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs (DieVariable): Provide info about the variable's
	lifetime using DW_AT_begin_scope and a new baulig extension DW_AT_end_scope.

svn path=/trunk/mcs/; revision=3775
2002-04-12 15:30:55 +00:00
Martin Baulig b67e5196e8 2002-04-12 Martin Baulig <[email protected]>
* debug-symfile.h (MonoDebugLocalInfo): New type. This contains the
	stack offset and begin/end scope address of a local variable.
	(MonoDebugMethodInfo): Replaced `guint32 *local_offsets' with
	'MonoDebugLocalInfo *locals', added `prologue_end' and `epilogue_begin'.
	(MONO_DEBUG_SYMBOL_FILE_VERSION): Increase to 8.

	* debug-symfile.c (MRT_variable_start_scope, MRT_variable_end_scope):
	Added new relocation types for start/end scope of a local variable.

svn path=/trunk/mono/; revision=3774
2002-04-12 15:27:29 +00:00
Miguel de Icaza 45e6ca7564 Add new test
svn path=/trunk/mcs/; revision=3773
2002-04-12 13:58:39 +00:00
Paolo Molaro 50bb223ddb Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <[email protected]>
* MonoMethod.cs: make Name property an icall.

svn path=/trunk/mcs/; revision=3772
2002-04-12 12:43:39 +00:00
Paolo Molaro adf453481a Fri Apr 12 18:30:29 CEST 2002 Paolo Molaro <[email protected]>
* object.h: add mono_object_domain() macro.
	* reflection.c: handle typespecs.
	* icall.c: MonoMethod::get_Name() implementation.

svn path=/trunk/mono/; revision=3771
2002-04-12 12:43:39 +00:00
Paolo Molaro 70e4152290 Get rid of debug print.
svn path=/trunk/mcs/; revision=3770
2002-04-12 12:39:04 +00:00
Rodrigo Moya dd76baee9d 2002-04-12 Rodrigo Moya <[email protected]>
* status/maintainers.xml: added danmorg and myself for System.Data.*
	classes.

	* status/class.xml: added System.Data.* classes.

svn path=/trunk/mono/; revision=3769
2002-04-12 11:07:36 +00:00
John Sohn caf12171ff added NotifyCollectionHandler class and INotifyCollection
interface to reduce duplicated code

svn path=/trunk/mcs/; revision=3768
2002-04-12 01:13:22 +00:00
Gonzalo Paniagua Javier 192a53bd73 2002-04-12 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: little improvements to Format ().

svn path=/trunk/mcs/; revision=3767
2002-04-12 00:20:41 +00:00
Gonzalo Paniagua Javier bb45294580 2002-04-12 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: added static array of strings to avoid calling
	Enum.ToString () for Operator in Binary. Significant recover of
	performance.

svn path=/trunk/mcs/; revision=3766
2002-04-12 00:16:02 +00:00
Patrik Torstensson 875e58acae 2002-04-12 Patrik Torstensson <[email protected]>
* HttpApplication.cs: Minor updates
	* HttpApplicationState.cs: Ready.
	* HttpClientCertificate.cs: Signature updates
	* HttpValueCollection.cs: ready
	* HttpStaticObjectsCollection.cs: ready
	* HttpResponseHeader.cs: made internal only
	* HttpResponse.cs: Signature updates
	* HttpPostedFile.cs: ready
	* HttpCacheVaryByHeaders.cs: ready (except communication to policy)
	* HttpCacheVaryByParams.cs: ready (except communication to policy)

	System.Web is now over 60% ready..

svn path=/trunk/mcs/; revision=3765
2002-04-11 19:03:18 +00:00
Ravi Pratap M 08ddd40331 Add
svn path=/trunk/mcs/; revision=3764
2002-04-11 17:51:39 +00:00
Patrik Torstensson a896c8c81c 2002-04-11 Patrik Torstensson
* Forgot to add new files (again...)

svn path=/trunk/mcs/; revision=3763
2002-04-11 14:01:36 +00:00
Patrik Torstensson 90f4845f6f 2002-04-11 Patrik Torstensson <[email protected]>
* HttpException.cs: 95% ready, only windows dependent code left
	* HttpFileCollection.cs: Finished.
	* HttpRequest.cs: Minor fixes and fixed signature problems
	* HttpResponse.cs: Implementation of missing methods and signature problems
	* HttpResponseHeader.cs: Fixed signature problems
	* HttpRuntime.cs: Fixed signature problems
	* HttpServerUtility.cs: Added support for HttpApplication
	* HttpSessionState.cs: Fixed signature issues
	* HttpUtility.cs: fixed signature issues
	* HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
	* HttpWorkerRequest.cs: Fixed small signature issue
	* HttpWriter.cs: Fixed signature issue
	* HttpApplication.cs: Basic implementation
	* HttpApplicationState.cs: Small fixes to support major change comming up
	* HttpBrowserCapabilities.cs: Added Type method
	* HttpClientCertificate.cs: Almost ready, needs to parse certificate.
	* HttpContext.cs: Fixed signature issues and added last methods.
	* HttpCookie.cs: Full implementation
	* HttpCookieCollection.cs: Full implementation
	* TraceContext.cs: Methods implemented.
	* HttpPostedFile.cs: Placeholder
	* HttpStaticObjectsCollection.cs: Placeholder
	* HttpModuleCollection.cs: Ready, will be used during the major revamp.

	* Fixed a number of other small signature problems also (class status page)

svn path=/trunk/mcs/; revision=3762
2002-04-11 13:59:28 +00:00
Miguel de Icaza 36fdbe42d6 Add new links
svn path=/trunk/mono/; revision=3761
2002-04-11 08:03:48 +00:00
Piers Haken 6c048296bb added support for comparing values of static-literal fields
svn path=/trunk/mcs/; revision=3760
2002-04-11 07:04:05 +00:00
Paolo Molaro b6155c9093 Thu Apr 11 12:29:14 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: String::GetHashCode() icall implementation.

svn path=/trunk/mono/; revision=3759
2002-04-11 06:40:17 +00:00
Paolo Molaro eac9e5725a Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <[email protected]>
* String.cs: internalcall GetHashCode().
	* Array.cS: optimize access to elements.

svn path=/trunk/mcs/; revision=3758
2002-04-11 06:40:15 +00:00
Miguel de Icaza e59897a70c 2002-04-10 Miguel de Icaza <[email protected]>
* class.cs (FindMembers): Allow the Builders of the various
	members to be null.  If they are skip them.  This only happens
	during the PInvoke declaration.

svn path=/trunk/mcs/; revision=3757
2002-04-11 05:26:38 +00:00
John Barnette 7f0c3d7471 This is a useless class, and is better represented with a
Hashtable.  In a related news item, I'm an idiot.

svn path=/trunk/mcs/; revision=3756
2002-04-11 01:55:26 +00:00
Duncan Mak 50f650319a 2002-04-10 Duncan Mak <[email protected]>
* XmlNodeReader.cs: Initial stubs for the class.

svn path=/trunk/mcs/; revision=3755
2002-04-10 23:29:51 +00:00
Duncan Mak 6682b3d792 2002-04-10 Duncan Mak <[email protected]>
* CaptionButton.cs:
	* CharacterCasing.cs:
	* CheckState.cs:
	* DataGridParentRowsLabelStyle.cs:
	* DialogResult.cs:
	* DockStyle.cs:
	* DragAction.cs:
	* DragDropEffects.cs:
	* DrawItemState.cs:
	* DrawMode.cs:
	* ErrorBlinkStyle.cs:
	* ErrorIconAlignment.cs:
	* FlatStyle.cs:
	* FormBorderStyle.cs:
	* FormStartPosition.cs:
	* FormWindowState.cs:
	* FrameStyle.cs: Fixed enum layouts with EnumCheck.

svn path=/trunk/mcs/; revision=3754
2002-04-10 23:28:18 +00:00
Dennis Hayes 02f270f821 * Initial checkin for all delegates *
svn path=/trunk/mcs/; revision=3753
2002-04-10 22:19:55 +00:00
Dennis Hayes 3ba96aed2b * Initial checkin for a number of enums *
svn path=/trunk/mcs/; revision=3752
2002-04-10 21:43:31 +00:00
John Sohn c4220565f9 Call notification event if changes occur during begin/end update
svn path=/trunk/mcs/; revision=3751
2002-04-10 20:49:04 +00:00
Jonathan Pryor 52a4bf6ba2 * TraceListenerCollection.cs: Corrected indexer property to provide the
correct return value and implement the IList indexer property correctly.

svn path=/trunk/mcs/; revision=3750
2002-04-10 20:43:52 +00:00
Gonzalo Paniagua Javier 461e962acf 2002-04-11 Gonzalo Paniagua Javier <[email protected]>
* monoburg.c: added a default handler for warning messages that just
	output the messages to stderr instead of stdout.

svn path=/trunk/mono/; revision=3749
2002-04-10 20:12:48 +00:00
John Sohn a72d48ebd5 implementation of ArrayList and Hashtable class which enables notification
when the contents are changed by an event

svn path=/trunk/mcs/; revision=3748
2002-04-10 16:15:48 +00:00
Sergey Chaban 1cbb1e03bd Do not include signal/syscall header for Win32 build.
svn path=/trunk/mono/; revision=3747
2002-04-10 16:00:17 +00:00
Sergey Chaban 331f8c02c5 Makefile.am: don't exclude JIT from Win32 builds;
svn path=/trunk/mono/; revision=3746
2002-04-10 15:32:08 +00:00
Paolo Molaro bfc71aa9fe Wed Apr 10 21:16:56 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: String::IndexOfAny icall.
	* object.c, object.h: make array->max_length more useful.
	Intrduced mono_object_class() and mono_string_length() macros.

svn path=/trunk/mono/; revision=3745
2002-04-10 15:31:11 +00:00
Paolo Molaro e864162f0c Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <[email protected]>
* String.cs: make IndexOfAny() use an internalcall.

svn path=/trunk/mcs/; revision=3744
2002-04-10 15:31:05 +00:00
Sergey Chaban 3e6037ec96 Changes to support Win32 SEH, see ChangeLog for details.
svn path=/trunk/mono/; revision=3743
2002-04-10 15:30:00 +00:00
Gonzalo Paniagua Javier 4120b86ba4 2002-04-10 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* UInt32.cs:
	* Int64.cs: 
	* UInt64.cs: fixed error when testing for validity of flags.

svn path=/trunk/mcs/; revision=3742
2002-04-10 13:13:45 +00:00
Gonzalo Paniagua Javier c22020112b 2002-04-10 Gonzalo Paniagua Javier <[email protected]>
* unicode.c (ves_icall_System_Char_IsNumber): use g_unichar_isxdigit
	instead of g_unichar_isdigit.

svn path=/trunk/mono/; revision=3741
2002-04-10 13:00:08 +00:00
Paolo Molaro f21dafd7f9 Forgot to commit.
svn path=/trunk/mono/; revision=3740
2002-04-10 12:34:16 +00:00
Nick Drochak fa2f54345a 2002-04-11 Nick Drochak <[email protected]>
* Double.cs: Use an internal call for ToString(). This is just a simple
	implementation to get away from throwing a NotImplementedException.

svn path=/trunk/mcs/; revision=3739
2002-04-10 11:29:57 +00:00
Nick Drochak 7f58e71351 2002-04-11 Nick Drochak <[email protected]>
* icall.c: Implement a simple Double.ToString().

svn path=/trunk/mono/; revision=3738
2002-04-10 11:27:22 +00:00
Gonzalo Paniagua Javier 8f3156d08d 2002-04-10 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	* UInt32.cs:
	* Int64.cs: 
	* UInt64.cs: changed Type.GetType () by typeof (), as suggested by
	lupus.

	* Int32.cs:
	* Int64.cs: throw an OverFlowException when parsing a string 
	containing a dot followed by any non '0' number.

svn path=/trunk/mcs/; revision=3737
2002-04-10 11:11:31 +00:00
Patrik Torstensson 199e79205d 2002-04-10 Patrik Torstensson <[email protected]>
* Added System.Web.Hosting in the build

svn path=/trunk/mcs/; revision=3736
2002-04-10 10:57:51 +00:00
Paolo Molaro 0c3ef2d951 Wed Apr 10 16:07:23 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: quick implementation for opcodes needed by the new parse
	routines in corlib.

svn path=/trunk/mono/; revision=3735
2002-04-10 10:19:00 +00:00
Patrik Torstensson cf29b2436a 2002-04-10 Patrik Torstensson
* Updated to reflect the new runtime

svn path=/trunk/mcs/; revision=3734
2002-04-10 09:11:49 +00:00
Patrik Torstensson 44f6e8a331 2002-04-10 Patrik Torstensson <[email protected]>
* ApplicationHost.cs: Test implementation to support testing.
        * SimpleWorkerRequest.cs: Rewrite and a almost full implementation.

svn path=/trunk/mcs/; revision=3733
2002-04-10 08:42:30 +00:00
Patrik Torstensson e79159ff2d 2002-04-10 Patrik Torstensson <[email protected]>
* HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
    * Checkin of all new files (noted in last changenote)

svn path=/trunk/mcs/; revision=3732
2002-04-10 08:41:20 +00:00
Patrik Torstensson 826f39a57a 2002-04-10 Patrik Torstensson <[email protected]>
* HttpContext.cs: First implementation (basic support, few methods left to impl)
    * HttpException.cs: Partial implementation (basic support)
    * HttpHelper.cs: Header parse helper, used by runtime (non public)
    * HttpRequest.cs: Implementation (all methods there, not all fully impl)
    * HttpRequestStream.cs: Full implementation
    * HttpResponse.cs: Partial implementation(almost all methods)
    * HttpResponseHeader.cs: Header helper
    * HttpResponseStream.cs: Full implementation - Response stream support
    * HttpResponseStreamProxy.cs: Implementation - filter support
    * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
	* HttpServerUtility.cs: Implemented usage of HttpContext for methods
	                        and moved encoding functions to HttpUtility.

    * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
                      added the Attribute encoding functions.

    * HttpValueCollection.cs: Implementation.
    * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
    * HttpWriter.cs: Implementation (with filter support)

    * HttpFileCollection: Added dummy class (placeholder)
    * HttpApplication.cs: Added dummy class (placeholder)
    * HttpApplicationState.cs: Added dummy class (placeholder)
    * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
    * HtttpCachePolicy.cs: Added dummy class (placeholder)
    * HttpClientCertificate.cs: Added dummy class (placeholder)
    * HttpSessionState.cs: Added dummy class (placeholder)
    * TraceContext.cs: Added dummy class (placeholder)

svn path=/trunk/mcs/; revision=3731
2002-04-10 08:35:39 +00:00
Patrik Torstensson 16ea1221e1 2002-04-10 Patrik Torstensson <[email protected]>
* Changed build file to reflect the runtime changes


svn path=/trunk/mcs/; revision=3730
2002-04-10 08:34:39 +00:00
Patrik Torstensson 8a7fd125b2 2002-04-10 Patrik Torstensson <[email protected]>
* System.Web -- Assembly build.

	  The basic runtime support is now working, we can now start working
	  on the runtime flow system (thread pool etc) and also start testing
	  the parser and control framework. (224 files are compiled)

svn path=/trunk/mcs/; revision=3729
2002-04-10 08:33:36 +00:00
Gonzalo Paniagua Javier 681fa8ab77 2002-04-10 Gonzalo Paniagua Javier <[email protected]>
* Byte.cs:
	* UInt16.cs:
	* UInt32.cs:
	* UInt64.cs: added complex Parse ().

svn path=/trunk/mcs/; revision=3728
2002-04-10 07:42:36 +00:00
Paolo Molaro c15ce613b2 Wed Apr 10 12:57:31 CEST 2002 Paolo Molaro <[email protected]>
* ILGenerator,cs: use a stack to keep track of exception blocks.

svn path=/trunk/mcs/; revision=3727
2002-04-10 07:08:22 +00:00
Patrik Torstensson efb4b9d40b 2002-04-10 Patrik Torstensson
* Added myself as Author

svn path=/trunk/mcs/; revision=3726
2002-04-10 03:49:06 +00:00
Dennis Hayes 3c067f2d2f * Initial checkin for all interfaces *
svn path=/trunk/mcs/; revision=3725
2002-04-09 23:13:49 +00:00
Nick Drochak 9b981c9930 2002/04/10 Nick Drochak <[email protected]>
* HttpServerUtility.cs: Fix build breaker.

svn path=/trunk/mcs/; revision=3724
2002-04-09 22:17:48 +00:00
Miguel de Icaza d8fec8c6ef 2002-04-09 Miguel de Icaza <[email protected]>
* parameter.cs (Parameters.ComputeParameterTypes): Flag the
	failure, so we do not keep going afterwards.

svn path=/trunk/mcs/; revision=3720
2002-04-09 15:46:13 +00:00
Paolo Molaro 5f2fa34563 Tue Apr 9 21:31:16 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h: only io-layer.h is supposed to be included.
	* icall.c: explicitly import environ. Fix warning.

svn path=/trunk/mono/; revision=3719
2002-04-09 15:42:40 +00:00
John Barnette 6b954cb144 Added paragraphs on plagarism requested by Miguel.
svn path=/trunk/mono/; revision=3718
2002-04-09 13:52:16 +00:00
Patrik Torstensson ca9621ec3d Added constructor that takes a HttpContext
svn path=/trunk/mcs/; revision=3717
2002-04-09 13:23:04 +00:00
Miguel de Icaza 4faef40090 Remove conflict
svn path=/trunk/mcs/; revision=3716
2002-04-09 12:10:36 +00:00
Miguel de Icaza 2f0d7080c4 2002-04-09 Miguel de Icaza <[email protected]>
* expression.cs: (Invocation.OverloadResolve): I believe Ravi
	wanted to pass `false' as the `is_delegate' argument.  If this is
	the case, why not use delegate_type == null to mean `is_delegate =
	false' and anything else as is_delegate = true.

svn path=/trunk/mcs/; revision=3715
2002-04-09 12:08:43 +00:00
Nick Drochak 5ac7db9a34 2002-04-10 Nick Drochak <[email protected]>
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData) :
		return true even if it's not Daylight Savings time.
		Only return false for the case where the function isn't
		implemented for a plaform (read Windows).

svn path=/trunk/mono/; revision=3714
2002-04-09 11:34:50 +00:00
Nick Drochak 131611dd1f 2002-04-09 Nick Drochak <[email protected]>
* ArrayTest.cs: Remove BinarySearch test on unsorted arrays. The
	behavior is undefined if the array isn't sorted.

svn path=/trunk/mcs/; revision=3713
2002-04-09 09:52:37 +00:00
Nick Drochak c57fa0c083 2002-04-09 Nick Drochak <[email protected]>
* Array.cs (BinarySearch): Add checks on paramters before using them
	and throw exceptions as needed.

	* Enum.cs (Format): Check if [Flags] is applied to enum and convert
	"G" format to "F" if so.

svn path=/trunk/mcs/; revision=3712
2002-04-09 09:50:21 +00:00
Piers Haken 33295fe50e Tue Apr 9 05:40:12 2002 Piers Haken <[email protected]>
* statement.cs: fixed SimpleSwitchEmit to make 'goto case' goto the
	code for the section, not the beginning of the tests.

svn path=/trunk/mcs/; revision=3711
2002-04-09 08:43:36 +00:00
Paolo Molaro ca925e0c9b Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: return arrays of type Attribute[]
	instead of object[].

svn path=/trunk/mcs/; revision=3710
2002-04-09 07:22:59 +00:00
Paolo Molaro 5b1cd866c7 Tue Apr 9 13:08:26 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: make the interp thread-safe wrt the metadata lib.

svn path=/trunk/mono/; revision=3709
2002-04-09 07:19:31 +00:00
Paolo Molaro dc4ef55c74 Tue Apr 9 13:05:56 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h, appdomain.c, class.c, object.c: protect MonoDomain
	data with a mutex.

svn path=/trunk/mono/; revision=3708
2002-04-09 07:17:41 +00:00
Nick Drochak b67840cb0c 2002/04/09 Nick Drochak <[email protected]>
* DecimalTest.cs: Use AssertEquals() for better diagnostic message.

svn path=/trunk/mcs/; revision=3707
2002-04-09 06:37:25 +00:00
Dietmar Maurer ed50d5a07d 2002-04-09 Dietmar Maurer <[email protected]>
* mempool.c (mono_mempool_alloc): only use g_malloc when
	absolutely necessary.

svn path=/trunk/mono/; revision=3706
2002-04-09 06:35:10 +00:00
Dietmar Maurer 2f6d98af2b 2002-04-09 Dietmar Maurer <[email protected]>
* delegate.c (arch_end_invoke): restore output arguments

svn path=/trunk/mono/; revision=3705
2002-04-09 05:41:09 +00:00
Kral Ferch 420c7f042a InnerXml, OuterXml, WriteContentTo, and WriteTo for most XmlNode derivatives.
svn path=/trunk/mcs/; revision=3704
2002-04-09 01:38:59 +00:00
Kral Ferch 3100718d55 Initial check-in.
svn path=/trunk/mcs/; revision=3703
2002-04-09 01:37:48 +00:00
Nick Drochak 179e84ae4b 2002/04/09 Nick Drochak <[email protected]>
* String.cs (Substring): Copy only non-null characters to the new
	string.

svn path=/trunk/mcs/; revision=3702
2002-04-09 01:15:37 +00:00
Jonathan Pryor b11ca16998 Debugger.cs: Added [MonoTODO] attribute to methods; modified IsLogging()
and Log() so that System.Diagnostics.DefaultTraceListener could use them
without having NotImplementedException's thrown, as the functionality
DefaultTraceListener is using is non-critical.

The DefaultTraceListener simply checks to see if a debugger is attached, and
if so, invokes Log().  Since we don't currently support a debugger, we can
have IsLogging() simply return false, allowing DefaultTraceListener to
continue on its merry way.

The benefit of this is that when the Debugger class is fully functional, we
won't have to worry about correcting the DefaultTraceListener.  It should
"Just Work".  (Famous last words, I know...)

svn path=/trunk/mcs/; revision=3701
2002-04-08 22:25:20 +00:00
Nick Drochak 5312b20d47 2002-04-09 Nick Drochak <[email protected]>
* Activator.cs: Small header copy-paste error fix.

svn path=/trunk/mcs/; revision=3700
2002-04-08 22:14:10 +00:00
Jonathan Pryor 3afeebb47e The 'Debugger' class (1) already exists (in the corlib assembly), and
(2) is supposed to be in the corlib assembly.  Two strikes against me for
not reading the @#$% docs closely enough to figure this out.

Remove the files I added, as they're unnecessary.

svn path=/trunk/mcs/; revision=3699
2002-04-08 22:13:22 +00:00
Jonathan Pryor 59fb8f92c8 Added 'Debugger.cs', which is used by 'DefaultTraceListener'.
It's just stubbed out for now.

svn path=/trunk/mcs/; revision=3698
2002-04-08 22:02:43 +00:00
John Donagher 3fea99a8b0 Fix ASCIIEncoding.GetString(bytes[],index,count); it was misbehaving when index=0 and count=bytes.length
svn path=/trunk/mcs/; revision=3697
2002-04-08 21:51:50 +00:00
Gonzalo Paniagua Javier 2f1f356cdb 2002-04-09 Gonzalo Paniagua Javier <[email protected]>
* SByte.cs:
	* Int16.cs:
	* Int32.cs:
	* Int64.cs: added complex Parse ().

svn path=/trunk/mcs/; revision=3696
2002-04-08 20:26:36 +00:00
Dietmar Maurer 94f9ad33da alignment fixes
svn path=/trunk/mono/; revision=3695
2002-04-08 13:06:49 +00:00
Dietmar Maurer bd39d65369 2002-04-08 Dietmar Maurer <[email protected]>
* class.c (mono_class_vtable): use domain mempool to allocate vtable
	(mono_class_proxy_vtable): use domain mempool

svn path=/trunk/mono/; revision=3694
2002-04-08 12:17:43 +00:00
Dietmar Maurer 961ab9bf45 (mono_class_vtable): use g_malloc instead of GC_malloc when possible
svn path=/trunk/mono/; revision=3693
2002-04-08 12:00:47 +00:00
Nick Drochak 94fbe6e6b5 2002-04-09 Nick Drochak <[email protected]>
* ByteTest.cs: Use AssertEquals() for better diagnostic message.

svn path=/trunk/mcs/; revision=3692
2002-04-08 12:00:29 +00:00
Nick Drochak c201413221 2002-04-09 Nick Drochak <[email protected]>
* IntegerFormatter.cs: Don't use a format character to indicate a
	custom format was passed in. It was using 'z' to indicate a custom
	format, but really it should throw a format exception if the user
	tries to use "z" as the format string. Now it does.

	* Activator.cs: New File.

svn path=/trunk/mcs/; revision=3691
2002-04-08 11:57:09 +00:00
Paolo Molaro 6ced6f2717 Mon Apr 8 17:15:48 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: display return value with --trace.
	Call mono_runtime_init ().

svn path=/trunk/mono/; revision=3690
2002-04-08 11:28:54 +00:00
Paolo Molaro 8220d9ee8c Mon Apr 8 17:16:40 CEST 2002 Paolo Molaro <[email protected]>
* jit.c: call mono_runtime_init ().

svn path=/trunk/mono/; revision=3689
2002-04-08 11:28:49 +00:00
Paolo Molaro bf9d468ece Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <[email protected]>
* main.c: removed unneeded runtime invoke support.

svn path=/trunk/mono/; revision=3688
2002-04-08 11:28:28 +00:00
Paolo Molaro cffd93ba3c Mon Apr 8 17:17:04 CEST 2002 Paolo Molaro <[email protected]>
* appdomain.h, appdomain.c: split initialization that requires the
	execution engine support into mono_runtime_init().

svn path=/trunk/mono/; revision=3687
2002-04-08 11:28:27 +00:00
Nick Drochak ed6b45e2ca 2002-04-08 Nick Drochak <[email protected]>
* System.build: Build System.dll with mono's corlib.dll and
	System.Xml.dll.

svn path=/trunk/mcs/; revision=3686
2002-04-08 11:10:30 +00:00
Nick Drochak b7a0b10655 2002-04-08 Nick Drochak <[email protected]>
* DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
	struct and interface.

svn path=/trunk/mcs/; revision=3685
2002-04-08 11:06:59 +00:00
Nick Drochak 334f22a227 2002-04-08 Nick Drochak <[email protected]>
* Marshal.cs: Make class public.
	* ComVisible.cs: New File.

svn path=/trunk/mcs/; revision=3684
2002-04-08 11:03:34 +00:00
Nick Drochak 145e2d5015 2002-04-08 Nick Drochak <[email protected]>
* UnicodeCategory.cs: Fix typos in enum names.

svn path=/trunk/mcs/; revision=3683
2002-04-08 11:00:33 +00:00
Nick Drochak 67d1842855 2002-04-08 Nick Drochak <[email protected]>
* ConditionalAttribute.cs: Add AttributeUsage attribute for methods.

svn path=/trunk/mcs/; revision=3682
2002-04-08 10:58:19 +00:00
Dietmar Maurer 5bb6e2d69b 2002-04-08 Dietmar Maurer <[email protected]>
* class.c (mono_class_init): don't include vtable inside MonoClass
	to save some memory, gather some statistics.

svn path=/trunk/mono/; revision=3681
2002-04-08 10:25:53 +00:00
Nick Drochak 403cbd3a59 2002-04-08 Nick Drochak <[email protected]>
* Enum.cs (ToString): Big ugly fix for the case where [Flags] is
	applied to an enum. Need to handle the different possible integer
	types of an enum somehow.  Can anyone say generics?

svn path=/trunk/mcs/; revision=3680
2002-04-08 09:51:33 +00:00
Nick Drochak 4d42600b20 2002-04-08 Nick Drochak <[email protected]>
* EnumTest.cs: Add a few tests for differently underlying types and
	the [Flags] attribute to test ToString().

svn path=/trunk/mcs/; revision=3679
2002-04-08 09:43:18 +00:00
Piers Haken bf7d08cb1e *** empty log message ***
svn path=/trunk/mcs/; revision=3678
2002-04-08 09:24:11 +00:00
Dick Porter 695883428d 2002-04-08 Dick Porter <[email protected]>
* configure.in: Set -mno-cygwin here rather than in the build script

svn path=/trunk/mono/; revision=3677
2002-04-08 08:34:29 +00:00
Miguel de Icaza 37f334d38b Add new tests
svn path=/trunk/mcs/; revision=3676
2002-04-08 08:29:31 +00:00
Miguel de Icaza 4fd9b07b9d 2002-04-08 Miguel de Icaza <[email protected]>
* cfold.cs: Handle operator + (Enum x, Underlying x)

	* expression.cs (Binary): same.  Warn about errors where we have
	Enum/Enum in operator + as well.

svn path=/trunk/mcs/; revision=3675
2002-04-08 08:29:02 +00:00
Piers Haken 2941639e8f - added support for switch(bool)
- optimize loading of I8/U8 constants (ldc.i4, iconv_i8)
- add TableSwitchEmit() to handle table-based switch statements

svn path=/trunk/mcs/; revision=3674
2002-04-08 07:19:34 +00:00
Piers Haken 0839c9a2d8 added LabelField.label_base to allow for arbitrary offsets (for switch statement)
svn path=/trunk/mcs/; revision=3673
2002-04-08 07:04:29 +00:00
Piers Haken ed886d0e8d switched the To*(object) methods to use IConvertible directly instead of calling ChangeType
svn path=/trunk/mcs/; revision=3672
2002-04-08 07:02:12 +00:00
Dietmar Maurer 2d67968060 2002-04-08 Dietmar Maurer <[email protected]>
* invoke.c (arch_create_native_wrapper): special case EndInvoke -
	we need to pass the MonoMethod pointer as first argument.

	* delegate.c (mono_async_invoke): notify all listeners, not only a
	single one.
	(arch_end_invoke): we now pass a MonoMethod as first parameter and
	use arch_method_call_message_new() to access the stack.
	(arch_end_invoke): wait until we really finished processing
	(async_invoke_abort): notify all listeners, not only a
	single one.

svn path=/trunk/mono/; revision=3671
2002-04-08 05:50:04 +00:00
Dietmar Maurer a5531ea1e3 install dummy runtime_invoke()
svn path=/trunk/mono/; revision=3670
2002-04-08 03:47:01 +00:00
Piers Haken c45a0f9ce1 make_room() now always makes enough room!
svn path=/trunk/mcs/; revision=3669
2002-04-08 02:09:40 +00:00
Piers Haken 6a694a35f1 fixed/optimized qsort()
svn path=/trunk/mcs/; revision=3668
2002-04-08 02:06:41 +00:00
Jonathan Pryor 4a71109852 Updated status of some System.Diagnostics classes.
svn path=/trunk/mono/; revision=3667
2002-04-07 23:08:36 +00:00
Jonathan Pryor cc778456b7 Added myself to list of maintainers.
svn path=/trunk/mono/; revision=3666
2002-04-07 23:08:08 +00:00
Jonathan Pryor 221ba52d5c Added System.Diagnostics tests, as they work now.
svn path=/trunk/mcs/; revision=3665
2002-04-07 23:03:43 +00:00
Jonathan Pryor 29a19186ab Recent updates.
svn path=/trunk/mcs/; revision=3664
2002-04-07 23:01:40 +00:00
Jonathan Pryor 6e420ec4b7 Removed extraneous output; it only existed to help with debugging the Stack
Overflow Exception in Trace.

Fixed name of test case so that NUnit could find it.

svn path=/trunk/mcs/; revision=3663
2002-04-07 22:58:41 +00:00
Jonathan Pryor acc8032424 Recent Changes.
svn path=/trunk/mcs/; revision=3662
2002-04-07 22:56:48 +00:00
Jonathan Pryor 18d54ce582 Implement log file support.
svn path=/trunk/mcs/; revision=3661
2002-04-07 22:56:20 +00:00
Jonathan Pryor 266afa517b Fixed stupid stack overflow bug. My bad.
The problem was that 'WriteIndent' uses 'Write' to write the indentation.
However, 'Write' uses 'WriteIndent' if 'NeedIndent' is true.  Since the
original version of 'WriteIndent' didn't set 'NeedIndent' to false until after
it wrote the indentation...'NeedIndent' would never be set to false, resulting
in repeated calls of 'Write' -> 'WriteIndent' -> 'Write' ... <stack overflow>.

Simple fix: set 'NeedIndent' to false before writing the indent.

svn path=/trunk/mcs/; revision=3660
2002-04-07 22:55:53 +00:00
Nick Drochak 35f1dc476f 2002-04-08 Nick Drochak <[email protected]>
* EnumTest.cs: Add test for ToString for the case where the enum
	has [Flags] on it, and a mask value is used.

svn path=/trunk/mcs/; revision=3659
2002-04-07 18:07:23 +00:00
Miguel de Icaza f69f711c03 Add new files
svn path=/trunk/mono/; revision=3658
2002-04-07 15:15:26 +00:00
Paolo Molaro bac2d63428 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <[email protected]>
* ValueType.cs: make Equals() an internalcall.

svn path=/trunk/mcs/; revision=3657
2002-04-06 14:19:48 +00:00
Paolo Molaro 77b6145f09 Sat Apr 6 20:07:48 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: internalcall implementation for ValueType.Equals().

svn path=/trunk/mono/; revision=3656
2002-04-06 14:19:44 +00:00
Dan Lewis fd9e0a786d 2002-04-06 Dan Lewis <[email protected]>
* cache.cs: Object methods should be overridden with "override".

svn path=/trunk/mcs/; revision=3655
2002-04-06 13:29:01 +00:00
Dietmar Maurer 2d2883a117 *** empty log message ***
svn path=/trunk/mono/; revision=3654
2002-04-06 12:35:46 +00:00
Dietmar Maurer d09d585f3e 2002-04-06 Dietmar Maurer <[email protected]>
(mono_runtime_class_init): new arch. independent impl.
	(mono_runtime_object_init): new arch. independent impl.

svn path=/trunk/mono/; revision=3653
2002-04-06 12:35:14 +00:00
Paolo Molaro 7d54aa2885 Sat Apr 6 16:29:40 CEST 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: fix advancement od argument position on the stack.

svn path=/trunk/mono/; revision=3652
2002-04-06 10:40:58 +00:00
Dietmar Maurer 419560a636 2002-04-06 Dietmar Maurer <[email protected]>
* message.c (arch_return_value): impl.
	(arch_method_return_message_restore): consider delegate BeginInvoke

	* jit.c: removed jit_exec_main()

	* delegate.c (arch_begin_invoke): use the message builder to make
	it architecture independent - still needs more cleanup.

	* object.c (mono_message_init): moved
	(mono_runtime_exec_main): new arch. independent impl.
	(mono_runtime_invoke_array): new method - like
	mono_runtime_invoke, but you can pass an array of objects.
	(mono_remoting_invoke): new arch. independent impl.
	(mono_message_invoke): new arch. independent impl.

svn path=/trunk/mono/; revision=3651
2002-04-06 08:27:13 +00:00
Kral Ferch c8e7937354 Implementation of XmlDocument.CreateNode()
svn path=/trunk/mcs/; revision=3650
2002-04-06 04:19:40 +00:00
Dietmar Maurer 76cfd86852 added a note about Ingo's book
svn path=/trunk/mono/; revision=3649
2002-04-06 03:54:18 +00:00
Ravi Pratap M ab204bc70d 2002-04-05 Ravi Pratap <[email protected]>
* expression.cs (Invocation.OverloadResolve): Factor out code which
	does parameter compatibility checking with arguments so that we can
	re-use the code even from Delegate.VerifyApplicability

	(VerifyArgumentsCompat): Move above code here.

	* delegate.cs (VerifyApplicability): Get rid of duplicate code
	and instead make a call to the above method.

svn path=/trunk/mcs/; revision=3648
2002-04-05 18:58:30 +00:00
Ravi Pratap M 99321f8ddd 2002-04-05 Ravi Pratap <[email protected]>
* test-98.cs : Supply a missing Main.

svn path=/trunk/mcs/; revision=3647
2002-04-05 18:57:58 +00:00
Ravi Pratap M f61f3a1d8b 2002-04-05 Ravi Pratap <[email protected]>
* test-96.cs : Here too !

svn path=/trunk/mcs/; revision=3646
2002-04-05 18:56:16 +00:00
Ravi Pratap M 9c8b9cf356 2002-04-05 Ravi Pratap <[email protected]>
* test-90.cs : Fix bug where we had no class !

All tests pass again

svn path=/trunk/mcs/; revision=3645
2002-04-05 18:51:25 +00:00
Paolo Molaro f357f86d5a Sync for corlib change.
svn path=/trunk/mono/; revision=3644
2002-04-05 13:48:23 +00:00
Paolo Molaro c857a38d59 Update to handle the stupid reflection interface that separates
the directory name from the file name.

svn path=/trunk/mcs/; revision=3643
2002-04-05 13:48:21 +00:00
Piers Haken 042b6ba652 major cleanup
svn path=/trunk/mcs/; revision=3642
2002-04-05 12:41:07 +00:00
Paolo Molaro c4a9e0c68b Fri Apr 5 18:29:14 CEST 2002 Paolo Molaro <[email protected]>
* metadata.c, object.c, reflection.c: documented the exported
	functions.

svn path=/trunk/mono/; revision=3641
2002-04-05 12:40:44 +00:00
Miguel de Icaza bb6c546f17 Flush
svn path=/trunk/mono/; revision=3640
2002-04-05 11:16:54 +00:00
Piers Haken ab2e998bc7 Copy: handle overlapped copies
svn path=/trunk/mcs/; revision=3639
2002-04-05 10:59:26 +00:00
Piers Haken 3c9de1d04d FastCopy: use memmove instead of memcpy (for overlapped copies)
svn path=/trunk/mono/; revision=3638
2002-04-05 10:49:24 +00:00
Christian Meyer fd52458085 Uppercased several files.
svn path=/trunk/mcs/; revision=3637
2002-04-05 10:11:42 +00:00
Paolo Molaro 4730dddd5e Fri Apr 5 15:41:19 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: simpler protocol wih the runtime to
	get the assembly data.

svn path=/trunk/mcs/; revision=3636
2002-04-05 09:55:45 +00:00
Paolo Molaro f2e9910894 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <[email protected]>
* MonoEvent.cs: remove unused code.
	* MonoProperty: implement ToString().

svn path=/trunk/mcs/; revision=3635
2002-04-05 09:55:19 +00:00
Paolo Molaro b6aa7b667f Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <[email protected]>
* Type.cs: also look for nested types in FindMembers.
	* MonoType.cs: make GetNestedTypes() an internalcall.

svn path=/trunk/mcs/; revision=3634
2002-04-05 09:54:39 +00:00
Paolo Molaro 819af8b70d Fri Apr 5 15:42:31 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: simpler code to pass the assembly builder data to corlib.
	Implement GetNestedTypes() internalcall.

svn path=/trunk/mono/; revision=3633
2002-04-05 09:54:37 +00:00
Piers Haken b81bdae191 implement BinarySearch, cleanup
svn path=/trunk/mcs/; revision=3632
2002-04-05 09:08:48 +00:00
Dietmar Maurer 8737daabdb 2002-04-05 Dietmar Maurer <[email protected]>
* delegate.c (mono_delegate_ctor): support for transparent proxy

	* mono/tests/remoting2.cs: new test for async invoke of proxy calls

svn path=/trunk/mono/; revision=3631
2002-04-05 08:41:24 +00:00
Miguel de Icaza 259ff05432 remove PrinciplePermissionAttribute and rename it
svn path=/trunk/mcs/; revision=3630
2002-04-05 07:04:33 +00:00
John Barnette f22360a967 * MainForm.cs: Changed DEBUG|Display Generic Form to set Tag property for MdiToolBar
* MdiToolBar.cs:
	- proper behavior when selected buttons are clicked
	- event cleanup
	- determine image index from mdi child form tag if possible

svn path=/trunk/mcs/; revision=3629
2002-04-05 06:35:07 +00:00
Christian Meyer d31d4f5679 Fixed typo.
svn path=/trunk/mcs/; revision=3628
2002-04-05 05:54:18 +00:00
Dietmar Maurer a4ff9168d0 documentation
svn path=/trunk/mono/; revision=3627
2002-04-05 05:32:56 +00:00
John Donagher a89b7e613b Temporarily disable Serialization namespace building
svn path=/trunk/mcs/; revision=3626
2002-04-05 04:51:05 +00:00
John Donagher f6ae3d98b1 - Initial commit of System.Xml.Serialization namespace (don't get too excited, the Serializer itself has yet to be imp'd)
svn path=/trunk/mcs/; revision=3625
2002-04-05 04:46:53 +00:00
John Barnette 024afea086 Added an MdiToolBar instance to the GUI.
svn path=/trunk/mcs/; revision=3624
2002-04-05 03:56:25 +00:00
John Barnette 46766e76f5 Interfaces can have events. Duh. The project/assembly tree now reflects
this obvious fact.

svn path=/trunk/mcs/; revision=3623
2002-04-05 03:55:53 +00:00
John Barnette d291bd31b5 * MdiToolBar.cs: Initial revision.
* Gui.csproj: Added MdiToolBar to project.

svn path=/trunk/mcs/; revision=3622
2002-04-05 03:54:52 +00:00
Dietmar Maurer f1392f6064 2002-04-05 Dietmar Maurer <[email protected]>
* x86.brg (freg): bug fix in CONV_R* opcodes

svn path=/trunk/mono/; revision=3621
2002-04-05 03:25:08 +00:00
Adam Treat c07e5769bb MoveToAttribute* Fix 'if' brackets.
svn path=/trunk/mcs/; revision=3620
2002-04-05 03:13:38 +00:00
Adam Treat f582bf684b * Make sure we begin the search with the first attribute.
svn path=/trunk/mcs/; revision=3619
2002-04-05 01:11:09 +00:00
Adam Treat 09c6c9c962 * Implement MoveToAttribute(string name) method.
svn path=/trunk/mcs/; revision=3618
2002-04-05 01:06:36 +00:00
Adam Treat a421e3f8dd * Added 'XmlTextReader (string url)' constructor
svn path=/trunk/mcs/; revision=3617
2002-04-04 21:28:09 +00:00
Piers Haken 89493d1a27 field types, nested types, cleanup
svn path=/trunk/mcs/; revision=3616
2002-04-04 19:39:07 +00:00
Paolo Molaro 619b6e0762 Thu Apr 4 21:46:48 CEST 2002 Paolo Molaro <[email protected]>
* class.c: warn if a type can't be loaded.

svn path=/trunk/mono/; revision=3614
2002-04-04 15:58:03 +00:00
Nick Drochak 0be9af0b30 2002-04-05 Nick Drochak <[email protected]>
* Enum.cs (Parse): Handle different underlying types.

svn path=/trunk/mcs/; revision=3613
2002-04-04 12:06:12 +00:00
Dietmar Maurer b9b3c19014 some docu
svn path=/trunk/mono/; revision=3612
2002-04-04 09:04:24 +00:00
Dietmar Maurer 1a2b9660f9 2002-04-04 Dietmar Maurer <[email protected]>
* image.h: typedef MonoImageOpenStatus
	* types.h: removed unused file

svn path=/trunk/mono/; revision=3611
2002-04-04 08:17:45 +00:00
Dan Lewis 621f470057 2002-04-04 Dan Lewis <[email protected]>
* RegexRunner.cs, RegexRunnerFactory.cs: MS support classes. Stubs
	added for completeness.

	* regex.cs, match.cs, collections.cs: Serializable attribute.

svn path=/trunk/mcs/; revision=3610
2002-04-04 07:49:51 +00:00
Paolo Molaro 4bb8a1cf81 Thu Apr 4 13:13:20 CEST 2002 Paolo Molaro <[email protected]>
* IMethodReturnMessage.cs: added IMethodMessage, IMessage interfaces.
	* ReturnMessage.cs: stubbed out Properties property.

svn path=/trunk/mcs/; revision=3609
2002-04-04 07:24:01 +00:00
Dan Lewis 0841808b7a 2002-04-04 Dan Lewis <[email protected]>
* regex.cs: Added static Matches and IsMatch methods.

svn path=/trunk/mcs/; revision=3608
2002-04-04 07:17:24 +00:00
Miguel de Icaza ec53373289 Flush tests
svn path=/trunk/mcs/; revision=3607
2002-04-04 07:09:49 +00:00
Piers Haken 2b3b645d5e should be internal
svn path=/trunk/mcs/; revision=3606
2002-04-04 06:49:25 +00:00
Dick Porter 7e3b1b7b4c 2002-04-04 Dick Porter <[email protected]>
* ISynchronizeInvoke.cs: Needed by Process

2002-04-04  Dick Porter  <[email protected]>

	* ThreadWaitReason.cs:
	* ThreadState.cs:
	* ThreadPriorityLevel.cs:
	* ProcessWindowStyle.cs:
	* ProcessThreadCollection.cs
	* ProcessThread.cs:
	* ProcessStartInfo.cs:
	* ProcessModuleCollection.cs: Stub out more classes needed for Process

svn path=/trunk/mcs/; revision=3605
2002-04-04 06:45:59 +00:00
Piers Haken 226c940556 fix typo in class name
svn path=/trunk/mcs/; revision=3604
2002-04-04 06:40:57 +00:00
Dan Lewis 4b25f97a2f 2002-04-04 Dan Lewis <[email protected]>
* icall.c: Enum_ToObject accepts enum value arguments.

svn path=/trunk/mono/; revision=3603
2002-04-04 06:32:32 +00:00
Piers Haken 9d70fd98cd added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3602
2002-04-04 06:17:02 +00:00
Piers Haken 1b357c7803 Assembly.cs: LoadWithPartialName
FieldInfo.cs: finished properties

svn path=/trunk/mcs/; revision=3601
2002-04-04 06:15:48 +00:00
Nick Drochak 4a90b18680 2002-04-04 Nick Drochak <[email protected]>
* EnumTest.cs: Change one Assert() message string so the two are
	unique. And clean up exception catching logic.

svn path=/trunk/mcs/; revision=3600
2002-04-04 06:02:41 +00:00
Nick Drochak 4a0081c54f 2002/04/04 Nick Drochak <[email protected]>
* Enum.cs (IsDefined): Throw exception when type of value to look for
	is not the correct one.  Attempt to have it work with string values
	too, but not sure if the unit tests are getting that far yet.

svn path=/trunk/mcs/; revision=3599
2002-04-04 05:53:47 +00:00
Paolo Molaro 7b02014f58 Thu Apr 4 11:36:52 CEST 2002 Paolo Molaro <[email protected]>
* interp.c: don't try to get an IL opcode for runtime and internal
	call methods.

svn path=/trunk/mono/; revision=3598
2002-04-04 05:47:59 +00:00
Paolo Molaro 724614b919 Thu Apr 4 11:35:37 CEST 2002 Paolo Molaro <[email protected]>
* class.c: move initialization of properties, events and nested
	classes, so that they happen for interfaces, too.

svn path=/trunk/mono/; revision=3597
2002-04-04 05:46:22 +00:00
Nick Drochak 4cab9c05b6 2002/04/04 Nick Drochak <[email protected]>
* corlib_test.build: Again; disable running of NUnit tests against mono
	corlib.  There are so many icalls now, that these tests need
	to be run inside mint and mono.  Will change this soon to run
	the tests using both.  It still runs the tests against the mscorlib
	to validate the tests themselves.

svn path=/trunk/mcs/; revision=3596
2002-04-04 05:28:20 +00:00
Paolo Molaro b2941eeff0 Remove useless comments in rules.
svn path=/trunk/mono/; revision=3595
2002-04-04 04:42:46 +00:00
Miguel de Icaza 0a63809400 Add new tests
svn path=/trunk/mcs/; revision=3594
2002-04-03 20:58:19 +00:00
Miguel de Icaza c996d93999 2002-04-02 Miguel de Icaza <[email protected]>
* delegate.cs (Delegate.Define): Correctly define the types in the
	presence of fixed and array parameters.

	* class.cs (TypeContainers.FindMembers): Use NonPublic flag while
	doing FindMembers.

	* ecore.cs (Expression.MemberLookup): Reset binding flags to not
	include NonPublic after the first iteration.

	* class.cs (Indexer.CheckBase): Only check if both parents are
	non-null.

	* cs-parser.jay (accessor_body): If empty, set to null.

	* ecore.cs (SimpleName.SimpleNameResolve): We did not have the
	same code path here to resolve constants names that we did have in
	MemberAccess.DoResolve.  There is too much code duplicated here.

svn path=/trunk/mcs/; revision=3593
2002-04-03 20:58:00 +00:00
Piers Haken a7249768a2 faster Equals
svn path=/trunk/mcs/; revision=3592
2002-04-03 18:56:02 +00:00
Nick Drochak 864710833e 2002-04-04 Nick Drochak <[email protected]>
* EnumTest.cs: Change one Assert() message string so the two are
	unique.

svn path=/trunk/mcs/; revision=3591
2002-04-03 18:46:46 +00:00
Nick Drochak 34043730d8 2002-04-04 Nick Drochak <[email protected]>
* Decimal.cs: Fix a couple of typos.

svn path=/trunk/mcs/; revision=3590
2002-04-03 18:43:42 +00:00
John Barnette a94b7891a4 Significant work on the assembly tree browser.
svn path=/trunk/mcs/; revision=3589
2002-04-03 17:13:55 +00:00
John Barnette de3ffcfaea Initial import.
svn path=/trunk/mcs/; revision=3588
2002-04-03 17:12:33 +00:00
Dennis Hayes 4fbe8b6385 * A stake in the ground *
* enums from A to C *
* System.Windows.Forms is open for development *

svn path=/trunk/mcs/; revision=3587
2002-04-03 15:17:57 +00:00
Paolo Molaro 7d3e1582a8 Wed Apr 3 20:03:32 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: cleanup some ugly casts in Array_SetValue*.

svn path=/trunk/mono/; revision=3586
2002-04-03 14:13:56 +00:00
Paolo Molaro d6cde81ff0 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <[email protected]>
* Enum.cs: the values array is of the enum and not of the underlying
	type. Updates and some bug fixes.
	* MonoType.cs: make the internalcall return FullName instead of the
	assembly qualified name.
	* Type.cs: make ToString () simply return FullName.

svn path=/trunk/mcs/; revision=3585
2002-04-03 14:01:51 +00:00
Paolo Molaro c661316bf6 Wed Apr 3 19:49:53 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: the values array fro enums is of the correct type, now.
	Implement (correctly) getFullName instead of assQualifiedName for
	MonoType.
	* reflection.h, reflection.c: added mono_type_get_name ().

svn path=/trunk/mono/; revision=3584
2002-04-03 14:01:48 +00:00
Paolo Molaro 137168ed73 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implement GetTypes() and GetExportedTypes().

svn path=/trunk/mcs/; revision=3583
2002-04-03 12:09:37 +00:00
Paolo Molaro f564019f97 Wed Apr 3 17:56:22 CEST 2002 Paolo Molaro <[email protected]>
* assembly.c, image.h: for each MonoImage, record from wich assembly
	it was loaded.
	* reflection.h, icall.c: added System_Reflection_Assembly_GetTypes().
	Make Type.Assembly work.

svn path=/trunk/mono/; revision=3582
2002-04-03 12:08:28 +00:00
Dietmar Maurer e911016c17 fixed broken build
svn path=/trunk/mono/; revision=3581
2002-04-03 11:22:52 +00:00
Dietmar Maurer ff3c98350d * debug-symfile.h: use char* instead of gpointer to avoid
unnecessary casts.

svn path=/trunk/mono/; revision=3580
2002-04-03 11:03:44 +00:00
Dietmar Maurer 6a08adf608 * appdomain.c (mono_jit_info_table_find): use char* instead of gpointer
svn path=/trunk/mono/; revision=3579
2002-04-03 10:56:42 +00:00
Piers Haken 60f595496d finished most of the easy implemented stuff
svn path=/trunk/mcs/; revision=3578
2002-04-03 10:33:45 +00:00
Dietmar Maurer d27ef3146c (ves_icall_System_Array_SetValueImpl): removed strange MonoArray cast
svn path=/trunk/mono/; revision=3577
2002-04-03 10:19:31 +00:00
Nick Drochak 4d43669a3f 2002-04-03 Nick Drochak <[email protected]>
* Type.cs (GetTypeCode): provide some of the implementation for this
		method.  It's still too simplistic to be considered complete.

svn path=/trunk/mcs/; revision=3576
2002-04-03 10:05:15 +00:00
Dietmar Maurer 9e626483d0 compiler warning fixes
svn path=/trunk/mono/; revision=3575
2002-04-03 09:54:29 +00:00
Dietmar Maurer c1784b4eb2 fixed more compiler warnings
svn path=/trunk/mono/; revision=3574
2002-04-03 09:34:29 +00:00
Dietmar Maurer 6049d3d2e7 fixed compiler warnings
svn path=/trunk/mono/; revision=3573
2002-04-03 08:54:53 +00:00
Dan Lewis 83b1351de3 2002-04-03 Dan Lewis <[email protected]>
* ChangeLog: Added changelog.

	* cache.cs: Fixed bug in MRUList.Evict.

svn path=/trunk/mcs/; revision=3572
2002-04-03 07:39:20 +00:00
Piers Haken fafcc6846b field/property type warnings
tidy up

svn path=/trunk/mcs/; revision=3571
2002-04-03 07:38:04 +00:00
Piers Haken 8f94011aa6 fix toggling when flags are on expandable nodes
svn path=/trunk/mono/; revision=3570
2002-04-03 07:37:10 +00:00
Dietmar Maurer b4f71a37fc 2002-04-03 Dietmar Maurer <[email protected]>
* mono.c (main): use --trace instead of --trace-calls

	* x86.brg: impl. REMOTE_STIND_XX

	* message.c (mono_store_remote_field): impl.

	* icall.c (ves_icall_InternalExecute): impl. FielSetter

svn path=/trunk/mono/; revision=3569
2002-04-03 06:59:08 +00:00
Piers Haken cc63806f23 minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Piers Haken 2bb9bc0295 correct interfaces & base
svn path=/trunk/mcs/; revision=3567
2002-04-03 06:27:40 +00:00
Piers Haken 0e31b1c7b7 not sure what the original was based on, but this is much closer, eg: it actually implements the right methods, etc...
svn path=/trunk/mcs/; revision=3566
2002-04-03 06:26:02 +00:00
John Barnette b41ef921e8 Initial commit; additional documentation stub files.
svn path=/trunk/mcs/; revision=3565
2002-04-03 03:45:52 +00:00
John Barnette b1424a629b Initial documentation stub commit for corlib and System.Xml assemblies.
svn path=/trunk/mcs/; revision=3564
2002-04-03 03:43:20 +00:00
John Barnette 50e768fe27 Stub flush, mostly encoding="" attribute adds in XML declarations.
svn path=/trunk/mcs/; revision=3563
2002-04-03 03:25:33 +00:00
John Barnette 7b1231d6f8 Initial import. Thanks to John Sohn ([email protected]) for this code!
svn path=/trunk/mcs/; revision=3562
2002-04-03 03:01:11 +00:00
Piers Haken c3d67407c9 needed for SynchronizationAttribute
svn path=/trunk/mcs/; revision=3561
2002-04-03 00:42:13 +00:00
John Barnette 02e730dba9 GPL license header flush.
svn path=/trunk/mcs/; revision=3560
2002-04-02 22:57:30 +00:00
John Barnette 59b74e2c53 * src/Gui/DirectorySelectorForm.cs: Initial import
* Everything else: Project load/save/options flush

svn path=/trunk/mcs/; revision=3559
2002-04-02 21:39:37 +00:00
Piers Haken 4c6ef57917 minor fixups:
visibility changes
	remove obsolete (& unimplemented) methods

svn path=/trunk/mcs/; revision=3558
2002-04-02 19:24:40 +00:00
Piers Haken bdc9b17dc1 hide warning 0679 (internal may be overriden by other languages)
svn path=/trunk/mcs/; revision=3557
2002-04-02 19:21:19 +00:00
Piers Haken af3c6ea8c3 more errors/attributes
better handling of properties/events

svn path=/trunk/mcs/; revision=3556
2002-04-02 19:14:02 +00:00
Piers Haken f5700b29d8 various fixups
svn path=/trunk/mono/; revision=3555
2002-04-02 19:12:32 +00:00
Nick Drochak 5605e38fe8 2002/04/02 Nick Drochak <[email protected]>
* StringBuilder.cs (Append): Removed obsolete overload.

svn path=/trunk/mcs/; revision=3554
2002-04-02 06:32:01 +00:00
Dick Porter 471f5cb78b 2002-04-02 Dick Porter <[email protected]>
* TcpListener.cs: in Start(), set the socket listen backlog value
	to a sane value (noticed by Jonathan Stowe <[email protected]>)

svn path=/trunk/mcs/; revision=3553
2002-04-02 06:15:02 +00:00
Dietmar Maurer b15faf8f87 2002-04-02 Dietmar Maurer <[email protected]>
* Object.cs: fixed FieldGetter/FieldSetter signature

svn path=/trunk/mcs/; revision=3552
2002-04-02 05:13:11 +00:00
Piers Haken 2be106aaae remove obsolete IsReadOnly
svn path=/trunk/mcs/; revision=3551
2002-04-02 04:49:37 +00:00
Piers Haken 78b493b9b7 remove IsReadOnly
svn path=/trunk/mcs/; revision=3550
2002-04-02 04:48:13 +00:00
Piers Haken 24e720488d fix OnSet*, access
svn path=/trunk/mcs/; revision=3549
2002-04-02 04:42:01 +00:00
Piers Haken 96b77bc494 fix negative case & optimize
svn path=/trunk/mcs/; revision=3548
2002-04-02 04:35:11 +00:00
Piers Haken f409a4273b added missing [Flags] attribute
svn path=/trunk/mcs/; revision=3547
2002-04-02 03:44:35 +00:00
Kral Ferch c9c678a115 XmlTextWriter impls for WriteEndDocument and WriteFullEndElement.
svn path=/trunk/mcs/; revision=3546
2002-04-02 02:59:42 +00:00
Dennis Hayes 6f4821f77b fixed bugs with isknowncolor, compiles now
svn path=/trunk/mcs/; revision=3545
2002-04-01 23:38:25 +00:00
Dennis Hayes b5cb34092b * All system.Drawing.Printing enums complete *
* Inital and final? checkin *

svn path=/trunk/mcs/; revision=3544
2002-04-01 23:36:27 +00:00
Dennis Hayes 954c939197 * All system.Drawing.Text enums complete *
* Inital and final? checkin *

svn path=/trunk/mcs/; revision=3543
2002-04-01 23:34:12 +00:00
Dennis Hayes 44d1c7129a * inital and final checkin *
svn path=/trunk/mcs/; revision=3542
2002-04-01 23:27:46 +00:00
Dennis Hayes 82557db819 * All system.Drawing.Imaging enums complete *
* Inital and final? checkin *

svn path=/trunk/mcs/; revision=3541
2002-04-01 22:57:25 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Piers Haken 91ad44d53e serializable
svn path=/trunk/mcs/; revision=3539
2002-04-01 19:14:43 +00:00
Piers Haken 1f9ba1d2f3 fix access
svn path=/trunk/mcs/; revision=3538
2002-04-01 19:07:39 +00:00
Piers Haken 0291fdff08 fix typos, access
svn path=/trunk/mcs/; revision=3537
2002-04-01 19:05:51 +00:00
Piers Haken 719292eee9 fix typos
svn path=/trunk/mcs/; revision=3536
2002-04-01 18:54:20 +00:00
Nick Drochak 2d786fab8c 2002-04-02 Nick Drochak <[email protected]>
* Environment.cs: add MonoTODO's on parts that should have it.

svn path=/trunk/mcs/; revision=3535
2002-04-01 18:18:44 +00:00
John Barnette 647fcfc14a Flush.
svn path=/trunk/mcs/; revision=3534
2002-04-01 16:08:08 +00:00
Miguel de Icaza 3b436bcbb5 2002-04-01 Miguel de Icaza <[email protected]>
* statement.cs, makefile: Drop Statementcollection and just use ArrayLists

	* ecore.cs: Optimize UserDefinedConversion by minimizing the calls
	to MakeUnionSet.

	* cs-tokenizer.cs: Reuse a single StringBuilder for assembling
	tokens, numbers and strings.

	* ecore.cs (MethodGroupExpr): Make Emit warn about missing
	parenthesis.

	* delegate.cs: Use ComputeAndDefineParameterTypes for both the
	asyncronous parameters and the regular parameters.

	* codegen.cs (CodeGen.Init): Use the constructor that allows us to
	specify the target directory.

	* expression.cs: (This.DoResolve): Simplify
	(As.Emit): Optimize, do not generate IsInst if the expression is
	always of the given type.

	(Is.DoResolve): Bug fix, we were reporting both always/never for
	the is expression.

	* (Invocation.MakeUnionSet): Simplify vastly and optimize, we were
	creating too many unnecessary arrays.

2002-03-31  Miguel de Icaza  <[email protected]>

	* class.cs (EmitFieldInitializer): Use Assign expression to assign
	fields instead of rolling our own initializer.   Takes care of all
	implicit conversions, and drops unnecessary static checks/argument.

svn path=/trunk/mcs/; revision=3533
2002-04-01 10:52:44 +00:00
Piers Haken 7c1ac4e3a9 fixed base classes (and typos)
svn path=/trunk/mcs/; revision=3532
2002-04-01 08:10:13 +00:00
Piers Haken 84187bf9a6 fixed member accessibility to match MS (corcompare).
svn path=/trunk/mcs/; revision=3531
2002-04-01 06:07:43 +00:00
John Barnette 5fd40ea80b * Additions for project save/load/edit
* AssemblyTreeLoader refactoring
* For debug purposes, VS.NET project builds with console window

svn path=/trunk/mcs/; revision=3530
2002-04-01 05:07:52 +00:00
Piers Haken 961a97ae75 constructor, GetRank should be private
svn path=/trunk/mcs/; revision=3529
2002-04-01 03:25:29 +00:00
Piers Haken f86a6635e6 member should be private
svn path=/trunk/mcs/; revision=3528
2002-04-01 03:23:35 +00:00
Kral Ferch cbe4a80d16 XmlTextWriter impls for LookupPrefix, WriteBase64, and WriteCharEntity.
svn path=/trunk/mcs/; revision=3527
2002-03-31 20:11:56 +00:00
Nick Drochak 30bcf7dc11 2002-04-01 Nick Drochak <[email protected]>
* Enum.cs: added reality checks (check parameters to most methods that
		need them).

svn path=/trunk/mcs/; revision=3526
2002-03-31 18:56:26 +00:00
Kral Ferch 4f5ed6b2da touchups on XmlTextWriter attribute writing.
svn path=/trunk/mcs/; revision=3525
2002-03-31 17:35:36 +00:00
Gonzalo Paniagua Javier ae313095a8 2002-03-31 Gonzalo Paniagua Javier <[email protected]>
* corlib_test.build: don't exclude IntegerFormatterTest.

	* System/AllTests.cs: added IntegerFormatterTest suite.

	* System/IntegerFormatterTest.cs: totally reworked to use NUnit. Right
	now it fails cause I haven't implemented Parse () methods yet. With
	corlib_reference.dll runs ok.

svn path=/trunk/mcs/; revision=3524
2002-03-31 16:01:09 +00:00
Dick Porter 2c30bec578 2002-03-31 Dick Porter <[email protected]>
* Process.cs:
	* ProcessPriorityClass.cs:
	* ProcessModule.cs:
	* FileVersionInfo.cs: Stub out classes needed for Process

svn path=/trunk/mcs/; revision=3523
2002-03-31 12:25:21 +00:00
Dick Porter b4fb31a53c 2002-03-31 Dick Porter <[email protected]>
* Directory.cs: Strip out "." and ".." from returned list

	* FileAttributes.cs: Get the right enum values

svn path=/trunk/mcs/; revision=3522
2002-03-31 12:24:56 +00:00
Dick Porter 3d18bf1c58 2002-03-31 Dick Porter <[email protected]>
* driver.cs: use the GetDirectories() return values properly, and
	use "/" as path separator.

svn path=/trunk/mcs/; revision=3521
2002-03-31 12:23:45 +00:00
Adam Treat bee7f53b67 * Fixed corlib_cmp and System.Xml problems. Exclude problem types from Type[].
svn path=/trunk/mcs/; revision=3520
2002-03-31 03:56:42 +00:00
Miguel de Icaza 39a56780eb Share more code between class/interface/delegate and enum.
Simplify the recursive toplevel definition process.
Initial steps to fix the toplevel delegate type reference declarations.

2002-03-30  Miguel de Icaza  <[email protected]>

	* expression.cs (Unary): Optimize - - expr into expr.
	(Binary): Optimize a + (-b) into a -b.

	* codegen.cs (CodeGen): Made all methods static.

2002-03-29  Miguel de Icaza  <[email protected]>

	* rootcontext.cs:

	* decl.cs: Rename `definition' into `TypeBuilder' and drop the
	TypeBuilder property.

	* cs-parser.jay: Drop the use of RecordXXX and use RecordDecl
	instead.

	* tree.cs: Removed the various RecordXXXX, and replaced with a
	single RecordDecl.  Removed all the accessor methods, and just
	left a single access point Type

	* enum.cs: Rename DefineEnum to DefineType.

	* decl.cs: New abstract method `DefineType' used to unify the
	Defines for Enumerations, Interfaces, TypeContainers and
	Delegates.

	(FindType): Moved LookupInterfaceOrClass here.  Moved the
	LookupBaseClasses method that used to live in class.cs and
	interface.cs here, and renamed to FindType.

	* delegate.cs: Implement DefineType.  Take advantage of the
	refactored pattern for locating the parent builder without taking
	the parent_builder argument (which we know does not work if we are
	nested, and triggering a toplevel definition).

svn path=/trunk/mcs/; revision=3519
2002-03-31 02:46:48 +00:00
John Barnette ce1d390da6 X11 license header flush.
svn path=/trunk/mcs/; revision=3518
2002-03-30 17:33:55 +00:00
Dietmar Maurer dd0b1ec579 2002-03-30 Dietmar Maurer <[email protected]>
* x86.brg: impl. REMOTE_FIELD (load fields of remote objects)

	* message.c (mono_load_remote_field): impl.

	* icall.c (mono_message_init): impl. (code cleanup)
	(ves_icall_InternalExecute): impl. FieldGetter

svn path=/trunk/mono/; revision=3517
2002-03-30 16:56:30 +00:00
Dietmar Maurer 87b59db253 2002-03-30 Dietmar Maurer <[email protected]>
* Object.cs: added FieldGetter/FieldSetter

svn path=/trunk/mcs/; revision=3516
2002-03-30 16:47:02 +00:00
Dietmar Maurer 79dcae0b0f *** empty log message ***
svn path=/trunk/mono/; revision=3515
2002-03-30 11:21:55 +00:00
Dietmar Maurer 9c60fdbcbf fixed compiler warnings
svn path=/trunk/mono/; revision=3514
2002-03-30 11:19:26 +00:00
Dietmar Maurer 62b06ec721 2002-03-30 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): only call marshalbyref methods
	through the vtable.

svn path=/trunk/mono/; revision=3513
2002-03-30 09:51:30 +00:00
Dietmar Maurer b27a661fc6 2002-03-30 Dietmar Maurer <[email protected]>
* class.c (mono_class_init): added exerimental EXT_VTABLE_HACK, if
	defined we call all (non-static)methods through the vtable.

svn path=/trunk/mono/; revision=3512
2002-03-30 06:53:32 +00:00
Dietmar Maurer d7de82d61d 2002-03-28 Dietmar Maurer <[email protected]>
* TextWriter.cs (write): added check for null

svn path=/trunk/mcs/; revision=3511
2002-03-30 06:52:09 +00:00
John Barnette f53d9edfe9 AbstractDoc.cs: Added 'Language' attribute
MonodocException.cs: Initial import
Core.csproj: Added entry for MonodocException.cs

svn path=/trunk/mcs/; revision=3510
2002-03-30 06:28:57 +00:00
John Barnette e6065f02e1 Initial import.
svn path=/trunk/mcs/; revision=3509
2002-03-30 06:24:10 +00:00
Kral Ferch 97a1576096 XmlLang and XmlSpace for XmlTextWriter.
svn path=/trunk/mcs/; revision=3508
2002-03-30 03:42:19 +00:00
Kral Ferch 7816a48c12 Working on Attribute methods for XmlTextWriter.
svn path=/trunk/mcs/; revision=3507
2002-03-30 01:18:09 +00:00
Kral Ferch f30d9fd73d new proj file for vs.net users.
svn path=/trunk/mcs/; revision=3506
2002-03-30 01:17:19 +00:00
Rodrigo Moya 8c09df93af 2002-03-29 Rodrigo Moya <[email protected]>
* System.Data.Common/DbDataRecord.cs:
	* System.Data.Common/DbEnumerator.cs:
	* System.Data.Common/RowUpdatedEventArgs.cs:
	* System.Data.Common/RowUpdatingEventArgs.cs:
	* System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.

svn path=/trunk/mcs/; revision=3504
2002-03-29 20:08:44 +00:00
Rodrigo Moya bf354de47e 2002-03-29 Rodrigo Moya <[email protected]>
* System.Data.Common/DbDataRecord.cs:
	* System.Data.Common/DbEnumerator.cs:
	* System.Data.Common/RowUpdatedEventArgs.cs:
	* System.Data.Common/RowUpdatingEventArgs.cs:
	* System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.

svn path=/trunk/mcs/; revision=3503
2002-03-29 19:51:45 +00:00
John Barnette 3415459861 Whoops; missed this one. Initial revision.
svn path=/trunk/mcs/; revision=3502
2002-03-29 19:37:41 +00:00
Dennis Hayes 8f3e08958b * init and final checkin for a bunch of enum classes in System.Drawing *
svn path=/trunk/mcs/; revision=3500
2002-03-29 14:59:16 +00:00
John Barnette f5138e22de Initial import: Monodoc documentation data model.
svn path=/trunk/mcs/; revision=3499
2002-03-29 14:59:08 +00:00
Paolo Molaro dc18f68b07 Fri Mar 29 18:09:08 CET 2002 Paolo Molaro <[email protected]>
* class.c: it seems GC_debug_malloc() makes the Boehm GC call the
	finalizer even though the memory is still referenced (and the chunk of
	memory is not freed).

svn path=/trunk/mono/; revision=3498
2002-03-29 13:21:50 +00:00
Paolo Molaro d62b0f7fa8 Fri Mar 29 17:43:04 CET 2002 Paolo Molaro <[email protected]>
* assembly.c: fix brokeness.

svn path=/trunk/mono/; revision=3497
2002-03-29 12:54:28 +00:00
Paolo Molaro bf59d3bcb1 Fri Mar 29 17:15:11 CET 2002 Paolo Molaro <[email protected]>
* io.c: EEXISTS is ignored for directory creation.
	* mono-mutex.h: remove silly "pragma }" that emacs users insert
	because they use a broken editor:-)

svn path=/trunk/mono/; revision=3496
2002-03-29 12:27:08 +00:00
Paolo Molaro fa2b79271c Fri Mar 29 16:09:54 CET 2002 Paolo Molaro <[email protected]>
* class.c: kill some warnings. Check explicit interface method
	implementation also without considering the namespace.
	Load also literal strings in static class data.

svn path=/trunk/mono/; revision=3495
2002-03-29 11:21:18 +00:00
Paolo Molaro 1a76bfdb15 Fri Mar 29 16:00:27 CET 2002 Paolo Molaro <[email protected]>
* x86.brg: kill pointer arithmetric.

svn path=/trunk/mono/; revision=3494
2002-03-29 11:10:30 +00:00
Martin Baulig e09cc97a75 2002-03-29 Martin Baulig <[email protected]>
* doc/jit-debug, docs/jit-debug-sample, docs/jit-debug-sample2:
	New files, added documentation for the debugging code.

	* doc/web/commands: Added the debugging pages.

	* docs/jit-debug: Removed, this is now on the web site.

svn path=/trunk/mono/; revision=3493
2002-03-29 09:56:40 +00:00
Paolo Molaro b1a7c0e3f7 Added the docs dir to the dist (with a new doc on GC issues).
Removed defunct wrapper dir.
Fixed make distcheck in jit.
Really build monoburg if needed.

svn path=/trunk/mono/; revision=3492
2002-03-29 08:18:03 +00:00
Dietmar Maurer b2136d6dec *** empty log message ***
svn path=/trunk/mono/; revision=3491
2002-03-29 06:37:55 +00:00
John Barnette 2a32ff20e0 Initial import of stub XML document for System.Data, System.Web and System, in the correct
directory this time.  DEFINITELY no cookie for me.

svn path=/trunk/mcs/; revision=3490
2002-03-29 05:32:53 +00:00
John Barnette a45933a1db Like an idiot, I added these in the wrong place. No cookie for me.
svn path=/trunk/mcs/; revision=3489
2002-03-29 04:23:35 +00:00
John Barnette 7a6bd5beb2 Initial documentation stub import for assemblies:
* System.Data
	* System.Web
	* System

svn path=/trunk/mcs/; revision=3488
2002-03-29 03:35:22 +00:00
Adam Treat d0e6e3fdb8 * scratch that. go-mono.org instead ;-)
svn path=/trunk/mcs/; revision=3487
2002-03-29 03:09:08 +00:00
Adam Treat 53d4bd2e45 * Changed the <!DOCTYPE to point to http://www.go-mono.com/monodoc.dtd
svn path=/trunk/mcs/; revision=3486
2002-03-29 03:07:24 +00:00
John Barnette 6c82dc3c99 Added targets for docval.
svn path=/trunk/mcs/; revision=3485
2002-03-29 02:59:53 +00:00
Miguel de Icaza 1258a0daf1 Flush
svn path=/trunk/mono/; revision=3484
2002-03-29 02:31:27 +00:00
Miguel de Icaza 037a2e2f43 2002-03-29 Miguel de Icaza <[email protected]>
* assembly.c (default_assembly_name_resolver): Kill memory leak.
	(default_assembly_name_resolver): Make the resolver take the
	"base" directory where the assembly was originally defined, so we
	can load DLLs that are in the same directory as the assembly that
	is being referenced.

svn path=/trunk/mono/; revision=3483
2002-03-29 02:20:36 +00:00
Martin Baulig 747e1aa628 Don't crash if klass->fields is NULL.
svn path=/trunk/mono/; revision=3482
2002-03-29 01:08:51 +00:00
Martin Baulig cc5b7ae7d3 2002-03-29 Martin Baulig <[email protected]>
* AssemblerWriterI386.cs: Rewrote most of the string output function, do the
	number->string conversion manually. It's now taking about 15 seconds to write
	a symbol file for MCS, no longer more than a minute.

	* MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
	a few bugs.

svn path=/trunk/mcs/; revision=3481
2002-03-29 01:07:37 +00:00
John Barnette 23f4754f19 Initial imports / build modifications.
svn path=/trunk/mcs/; revision=3480
2002-03-29 00:39:16 +00:00
John Barnette 76a8378a53 Initial import.
svn path=/trunk/mcs/; revision=3479
2002-03-29 00:36:11 +00:00
John Barnette 08d43ec3be Initial revision.
svn path=/trunk/mcs/; revision=3478
2002-03-29 00:34:54 +00:00
Adam Treat e906a57fb3 * Initial checkin. docval is a validation tool for monodoc xml.
svn path=/trunk/mcs/; revision=3477
2002-03-29 00:24:49 +00:00
Miguel de Icaza 6f4231ef8b flush
svn path=/trunk/mcs/; revision=3476
2002-03-29 00:23:21 +00:00
Adam Treat b9583cd87f * Used monostyle to update the formatting.
* Do not generate xml for private methods/types.
* Add a <!DOCTYPE tag to stubbed xml.

svn path=/trunk/mcs/; revision=3475
2002-03-29 00:23:14 +00:00
Miguel de Icaza add513886e 2002-03-28 Miguel de Icaza <[email protected]>
* decl.cs (MemberCore.CheckMethodAgainstBase): Test if the
	accessibility of a member has changed during override and report
	an error if so.

	* class.cs (Method.Define, Property.Define): Only complain on
	overrides if the method is private, any other accessibility is
	fine (and since we just checked the permission is the same, we are
	good to go).

	* cs-tokenizer.cs: only line, region, endregion, if, endif, else
	and elif are processed always.  The other pre-processing
	directives are only processed if we are "taking" the path

svn path=/trunk/mcs/; revision=3474
2002-03-28 22:24:28 +00:00
John Barnette 0caac90f3c Moved docstub.cs to mcs/doctools/src/Console/docstub.cs
svn path=/trunk/mcs/; revision=3473
2002-03-28 21:52:52 +00:00
Dennis Hayes 9cbe932215 * included stuff left out of initial check in *
* Done? execpt for part of ToKnownColor *

svn path=/trunk/mcs/; revision=3472
2002-03-28 21:24:12 +00:00
Martin Baulig 9771101e76 Oooops ....
svn path=/trunk/mcs/; revision=3471
2002-03-28 21:23:30 +00:00
Dennis Hayes 323a570906 * Initial file check in. *
* Mostly done, will finish in the next few days. *

svn path=/trunk/mcs/; revision=3470
2002-03-28 21:21:57 +00:00
Martin Baulig b4f76a5890 2002-03-29 Martin Baulig <[email protected]>
* class.cs (Method.Emit): Only emit symbolic debugging info if the
	current location is not Null.

	* codegen.cs (CodeGen.SaveSymbols): Split out symbol writing code into
	a separate method so we can profile it.

	* driver.cs (ShowTime): We need to use `(int) span.TotalSeconds' since
	`span.Seconds' are just seconds, but no minutes or hours.
	(MainDriver): Profile the CodeGen.SaveSymbols calls.

svn path=/trunk/mcs/; revision=3469
2002-03-28 21:17:12 +00:00
Duncan Mak 66461e7b7a 2002-03-28 Duncan Mak <[email protected]>
* XmlDocument.cs (CreateWhitespace):
	(CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
	method.

	* XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.

	* XmlDeclarationTests.cs (TestConstructor):
	* XmlDocumentTypeTests.cs (TestAppendChild):
	* XmlSignificantWhitespaceTests.cs (TestXmlWhitespaceConstructor):
	* XmlWhiteSpaceTests.cs (TestXmlWhitespaceConstructor): Fixed the
	test for catching Exceptions.

svn path=/trunk/mcs/; revision=3467
2002-03-28 20:20:01 +00:00
Miguel de Icaza 34b2b26e3e FLush updates
svn path=/trunk/mono/; revision=3466
2002-03-28 20:11:49 +00:00
John Barnette 89b8edcfc9 Moved from mcs/doctools/docstub.cs
svn path=/trunk/mcs/; revision=3465
2002-03-28 20:10:51 +00:00
Ulrich Kunitz 1e55fd531a added my tests for the calendars
svn path=/trunk/mcs/; revision=3464
2002-03-28 20:07:42 +00:00
Ulrich Kunitz 96281c1ef5 helper class for calendars; based on the "Calendrical Calculations" books
svn path=/trunk/mcs/; revision=3463
2002-03-28 20:02:57 +00:00
Ulrich Kunitz a5a1c1d334 *Calendar classes
svn path=/trunk/mcs/; revision=3462
2002-03-28 20:00:29 +00:00
Rodrigo Moya d11d2324e5 2002-03-28 Rodrigo Moya <[email protected]>
* System.Data.Common/DataTableMappingCollection.cs:
	* System.Data.Common/DbDataAdapter.cs:
	* System.Data.Common/DbDataPermission.cs:
	* System.Data.Common/DataTableMapping.cs: new skeletons.

	* System.Data.SqlClient/SqlDataAdapter.cs:
	* System.Data.SqlClient/SqlDataReader.cs:
	* System.Data.SqlClient/SqlErrors.cs:
	* System.Data.SqlClient/SqlError.cs:
	* System.Data.SqlClient/SqlException.cs:
	* System.Data.SqlClient/SqlParameter.cs:
	* System.Data.SqlClient/SqlParameterCollection.cs:
	* System.Data.SqlClient/SqlTransaction.cs:
	* System.Data.SqlClient/SqlCommand.cs: fixed skeletons.

svn path=/trunk/mcs/; revision=3461
2002-03-28 19:55:41 +00:00
John Barnette 79977cbc61 Initial revision.
svn path=/trunk/mcs/; revision=3460
2002-03-28 19:53:16 +00:00
Miguel de Icaza e3fef3523b 2002-03-28 Miguel de Icaza <[email protected]>
* class.cs (Method.Define), (Property.Define), (Indexer.Define):
	Remove the gratuitous set of Final:

				// If an interface implementation, then we can set Final.
				if (((flags & MethodAttributes.Abstract) == 0) &&
				    implementing.DeclaringType.IsInterface)
					flags |= MethodAttributes.Final;

        I do not know what I was smoking when I used that.


	* cs-parser.jay, delegate.cs: Make Delegate be a DeclSpace, first
	step into fixing the name resolution issues for delegates and
	unifying the toplevel name resolution.

svn path=/trunk/mcs/; revision=3459
2002-03-28 19:50:33 +00:00
John Barnette c6b4c87e77 Remove /doctools from the build for the moment.
svn path=/trunk/mcs/; revision=3458
2002-03-28 19:38:44 +00:00
Martin Baulig a13eef80a8 2002-03-28 Martin Baulig <[email protected]>
* class.cs (Method.Emit): If we have a symbol writer, call its
	OpenMethod(), CloseMethod() and SetMethodSourceRange() methods to
	tell it about the current method.

	* codegen.cs (EmitContext.Mark): New public method. Tell the symbol
	writer that we're going to emit the first byte of IL code for a new
	statement (a new source line).
	(EmitContext.EmitTopBlock): If we have a symbol writer, call
	EmitContext.Mark() before emitting any code.

	* location.cs (SymbolDocument): Return null when we're Null.

	* statement.cs (Statement): Moved the `Location loc' variable here.
	(Statement.EmitBoolExpression): If we have a symbol writer, call
	ec.Mark() before emitting any code to tell it that we're at the
	beginning of a new statement.
	(StatementExpression): Added `Location' argument to the constructor.
	(Block): Added public readonly variable `StartLocation' and public
	variable `EndLocation'.  The latter is to be set using SetEndLocation().
	(Block): Added constructor which takes a start and end location.
	(Block.SetEndLocation): New method. This sets the end location.
	(Block.EmitMeta): If we have a symbol writer, tell it the names of the
	local variables we create.
	(Block.Emit): If we have a symbol writer, call ec.Mark() before emitting
	each statement and do also mark the begin and end of the block.

	* cs-parser.jay (block : OPEN_BRACE): Use the new `Block' constructor to
	tell it the current lexer.Location, use Location.Null for the end of the
	block.
	(block : OPEN_BRACE opt_statement_list CLOSE_BRACE): When closing the
	current block, set its end location using SetEndLocation().
	(statement_expression): StatementExpression constructor now takes the
	lexer.Location as additional argument.
	(for_statement, declare_local_variables): Likewise.
	(declare_local_variables): When creating a new implicit block, use the
	new Block constructor and pass it the lexer.Location.

svn path=/trunk/mcs/; revision=3457
2002-03-28 16:51:04 +00:00
Martin Baulig ad28fa550b 2002-03-28 Martin Baulig <[email protected]>
* jit.c (mono_debug_insert_breakpoint): New global variable.
	(mono_debug_last_breakpoint_address): New global variable.

	* emit-x86.c (arch_compile_method): If `mono_debug_insert_breakpoint' is
	non-zero, insert a breakpoint; if it's positive, decrement it when done.
	Set `mono_debug_last_breakpoint_address' to the address of the last inserted
	breakpoint.

	* debug.h: Provide external declaration of `mono_debug_insert_breakpoint' and
	`mono_debug_last_breakpoint_address', also documented them here.

svn path=/trunk/mono/; revision=3456
2002-03-28 16:25:40 +00:00
John Barnette a6dd976775 More spring-cleaning.
svn path=/trunk/mcs/; revision=3455
2002-03-28 16:20:20 +00:00
Martin Baulig 1b4b00015a 2002-03-28 Martin Baulig <[email protected]>
* debug-private.h (MonoDebugHandle): Renamed `format' to `default_format'.
	(AssemblyDebugInfo): Added `format'.

	* debug.c: Use the AssemblyDebugInfo's `format' field to determine the format,
	this allows us choose the format on a per-assembly basis.
	(mono_debug_open_assembly): When using MONO_DEBUG_FORMAT_DWARF2_PLUS, fall back
	to MONO_DEBUG_FORMAT_DWARF2 if the symbol file does not exist, but the IL file
	exists.
	(debug_generate_method_lines): Generate correct IL offsets.

svn path=/trunk/mono/; revision=3454
2002-03-28 15:43:18 +00:00
Miguel de Icaza 6b6571f701 2002-03-28 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.MemberLookup): On interfaces, lookup
	members also on the parent interfaces recursively.

svn path=/trunk/mcs/; revision=3453
2002-03-28 14:59:45 +00:00
Dick Porter cad03a5f27 2002-03-28 Dick Porter <[email protected]>
* sockets.h:
	* sockets.c:
	* io.c:
	* handles.h:
	* handles.c: Warning cleanups

2002-03-28  Dick Porter  <[email protected]>

	* file-io.h:
	* file-io.c:
	* socket-io.c:
	* unicode.h:
	* unicode.c: Warning cleanups

svn path=/trunk/mono/; revision=3452
2002-03-28 13:58:02 +00:00
Paolo Molaro 477d1ecfd3 Thu Mar 28 18:06:14 CET 2002 Paolo Molaro <[email protected]>
* object.h, reflection.h: use the correct type instead of MonoObject.

svn path=/trunk/mono/; revision=3451
2002-03-28 13:17:56 +00:00
Martin Baulig 9ddfe94a31 2002-03-28 Martin Baulig <[email protected]>
* jit.h (MonoFlowGraph): Added `prologue_end' and `epilogue_start' fields.

	* emit-x86.c (arch_compile_method): Set prologue_end and epilogue_start.

	* debug-private.h (DebugMethodInfo): Renamed `frame_start_offset' to
	`prologue_end_offset', added `epilogue_begin_offset' and `last_line'.

	* debug.c (debug_generate_method_lines): Don't return if we don't have line
	numbers, we still need to generate the IL offsets here. Emit line numbers
	for `prologue_end_offset' (the first line of actual code) and
	`epilogue_begin_offset' (the line of the method's closing brace).
	Don't crash if cfg->bblocks [i].forest is NULL.
	(mono_debug_add_method): Don't crash if we don't have line numbers.
	Initialize the newly added fields.

	* debug-stabs.c: Record first and last line, emit filename info at the
	beginning of the stab file, gdb ignores the types otherwise.

	* debug-dwarf2.c: Use the new prologue_end_offset instead of guessing it;
	emit line number info for the first and last line.

svn path=/trunk/mono/; revision=3450
2002-03-28 12:20:43 +00:00
Gonzalo Paniagua Javier e22a6faa99 2002-03-28 Gonzalo Paniagua Javier <[email protected]>
* IntegerFormatter.cs: fixed initialization error in static
	constructor.

svn path=/trunk/mcs/; revision=3449
2002-03-28 12:20:33 +00:00
Martin Baulig a9637d4aa4 2002-03-28 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_class_get): Don't look in referenced assemblies.
	(mono_debug_update_symbol_file): Initialize classes if necessary.

svn path=/trunk/mono/; revision=3448
2002-03-28 12:10:45 +00:00
Paolo Molaro ef213acf92 Thu Mar 28 16:54:51 CET 2002 Paolo Molaro <[email protected]>
* interp.c: spring warning cleanup.

svn path=/trunk/mono/; revision=3447
2002-03-28 12:04:44 +00:00
Paolo Molaro c0e1442d78 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <[email protected]>
* dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.

svn path=/trunk/mono/; revision=3446
2002-03-28 12:02:38 +00:00
Paolo Molaro f0eba74556 Thu Mar 28 15:58:43 CET 2002 Paolo Molaro <[email protected]>
* assembly.c, debug-helpers.c, image.c, image.h, metadata.c, pedump.c,
	rawbuffer.c, reflection.c, verify.c: mare warning cleanups.

svn path=/trunk/mono/; revision=3445
2002-03-28 11:10:56 +00:00
Paolo Molaro 116532a44c Thu Mar 28 15:20:39 CET 2002 Paolo Molaro <[email protected]>
* assembly.h: fix function prototype.
	* metadata.h, metadata.c, object.h, private.h: get rid of warnings.
	* mono-endian.h: use const cast.

svn path=/trunk/mono/; revision=3444
2002-03-28 10:41:59 +00:00
Paolo Molaro fc7f4dcc18 Thu Mar 28 15:18:50 CET 2002 Paolo Molaro <[email protected]>
* monograph.c: some warning cleanups.

svn path=/trunk/mono/; revision=3443
2002-03-28 10:28:38 +00:00
Paolo Molaro 88b4664a73 Enable lots of warning from GCC.
Make --with-gc=none work.

svn path=/trunk/mono/; revision=3442
2002-03-28 10:18:39 +00:00
Wictor Wilén fc2025c1b9 2002-03-28 Wictor Wiln <[email protected]>
* HttpServerUtils.cs : Added some more functionality

svn path=/trunk/mcs/; revision=3441
2002-03-28 09:01:49 +00:00
Wictor Wilén cc9a32769d Wictor Wil�n <[email protected]>
* HttpServerUtils.cs : Added some more functionality

svn path=/trunk/mcs/; revision=3440
2002-03-28 09:00:50 +00:00
Dietmar Maurer eee99754da 2002-03-28 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_MonoMethodMessage_InitMessage): moved from message.c

svn path=/trunk/mono/; revision=3439
2002-03-28 08:18:48 +00:00
Paolo Molaro fce93f9a03 Thu Mar 28 12:32:00 CET 2002 Paolo Molaro <[email protected]>
* loader.c: don't assert when a typeref can't be loaded, give
	a chance to the runtime to trow an exception instead.
	* loader.h: fix warning.

svn path=/trunk/mono/; revision=3438
2002-03-28 07:42:58 +00:00
Dietmar Maurer d2edbae9f0 etmar Maurer <[email protected]>
* invoke.c (arch_create_delegate_trampoline): impl.

svn path=/trunk/mono/; revision=3437
2002-03-28 07:18:59 +00:00
Paolo Molaro c624cde011 Thu Mar 28 12:03:28 CET 2002 Paolo Molaro <[email protected]>
* interp.c: check obj address in stfld.

svn path=/trunk/mono/; revision=3436
2002-03-28 07:13:37 +00:00
Paolo Molaro 724b11d303 Thu Mar 28 11:58:53 CET 2002 Paolo Molaro <[email protected]>
* Makefile.am, mono.c, jit.h, jit.c: build the libmono library
	with the jit runtime to easy embedding. main() is moved to mono.c, now.
	* jit.c: use opcode names from libmetadata.
	* debug.h, debug.c: constify char* argument.

svn path=/trunk/mono/; revision=3435
2002-03-28 07:11:04 +00:00
Dan Lewis a827553ae1 2002-03-28 Dan Lewis <[email protected]>
* Directory.cs: Throws DirectoryNotFoundException.
	* MonoIO.cs: Fixed to work around enum problem.

svn path=/trunk/mcs/; revision=3434
2002-03-28 07:07:57 +00:00
Dietmar Maurer debc96c5a3 2002-03-28 Dietmar Maurer <[email protected]>
* Delegate.cs: added new field to store a trampoline function

svn path=/trunk/mcs/; revision=3433
2002-03-28 07:04:13 +00:00
Paolo Molaro 8cb994c635 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <[email protected]>
* util.c: when an invalid flags combination is seen,
	return the string "invalid-flags", so disassembly can continue.

svn path=/trunk/mono/; revision=3432
2002-03-28 06:40:42 +00:00
Martin Baulig b9cdf86567 2002-03-28 Martin Baulig <[email protected]>
* HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
	char to a string, use ToString() instead.

svn path=/trunk/mcs/; revision=3431
2002-03-28 06:32:55 +00:00
Martin Baulig d8f281fe04 It's called NAnt', not Nant'.
svn path=/trunk/mcs/; revision=3430
2002-03-28 06:24:45 +00:00
Martin Baulig 0d800904d8 Removed CVS conflict marker.
svn path=/trunk/mcs/; revision=3429
2002-03-28 06:18:41 +00:00
Wictor Wilén ca93d0ee75 Started Implementation of this class
svn path=/trunk/mcs/; revision=3428
2002-03-28 04:50:30 +00:00
Dietmar Maurer d2590d863c added proxy support
svn path=/trunk/mono/; revision=3427
2002-03-28 04:28:28 +00:00
Dietmar Maurer 3d465d1a05 started proxy support
svn path=/trunk/mcs/; revision=3426
2002-03-28 04:07:31 +00:00
Miguel de Icaza c553abaf29 More updates to the man page
svn path=/trunk/mono/; revision=3425
2002-03-28 03:16:19 +00:00
Adam Treat 721daabc59 * Add monostyle.1 to Makefile.am
svn path=/trunk/mono/; revision=3424
2002-03-28 02:53:00 +00:00
Adam Treat f1050560c1 * monostyle.1: A man page for the monostyle tool.
svn path=/trunk/mono/; revision=3423
2002-03-28 02:52:22 +00:00
Adam Treat 915a3107fe * add monostyle.exe as a build target
svn path=/trunk/mcs/; revision=3422
2002-03-28 02:51:15 +00:00
Adam Treat af2bec2215 * monostyle: a csharp code beautifier.
svn path=/trunk/mcs/; revision=3421
2002-03-28 02:50:26 +00:00
Nick Drochak 7c4cb1a886 2002/03/28 Nick Drochak <[email protected]>
* corlib_test.build: Re-exclude it in a couple of places where it was
	breaking the build.  This test is not an NUnit test.  So, it doesn't
	belong in these dll's until it's made a proper NUnit test.

svn path=/trunk/mcs/; revision=3420
2002-03-28 01:31:26 +00:00
Gonzalo Paniagua Javier f3fd694b7b * IntegerFormatter.cs: added workaround for bug #22668. First patch to
make custom format strings work (not fully functional yet).


	* corlib_test.build: remove two more lines that excluded
	IntegerFormatterTest.

svn path=/trunk/mcs/; revision=3419
2002-03-28 00:47:09 +00:00
Nick Drochak 4081b12c44 2002/03/28 Nick Drochak <[email protected]>
* corlib_test.build: Don't exclude IntegerFormatterTest any more.

svn path=/trunk/mcs/; revision=3418
2002-03-27 23:43:17 +00:00
Miguel de Icaza 82314f5282 2002-03-27 Miguel de Icaza <[email protected]>
* report.cs: Use new formats, since Gonzalo finished the missing
	bits.

svn path=/trunk/mcs/; revision=3417
2002-03-27 23:42:51 +00:00
Nick Drochak bd2f530949 2002/03/28 Nick Drochak <[email protected]>
* IntegerFormatter.cs: Change class from internal to public.  Add
	necessary [CLSCompliant(false)] attributes.

svn path=/trunk/mcs/; revision=3416
2002-03-27 23:41:17 +00:00
Nick Drochak f367733871 2002/03/28 Nick Drochak <[email protected]>
* IntegerFormatterTest.cs: Eliminate warnings about unused exception
	variables.

svn path=/trunk/mcs/; revision=3415
2002-03-27 23:36:35 +00:00
Miguel de Icaza 5f47281301 More bug fixages:
2002-03-27  Miguel de Icaza  <[email protected]>

	* expression.cs (Binary.ResolveOperator): added missing operator|
	operator& and operator^ for bool/bool.

	* cs-parser.jay: CheckDef now takes a Location argument that is
	used to report errors more precisly (instead of reporting the end
	of a definition, we try to track something which is a lot closer
	to the source of the problem).

svn path=/trunk/mcs/; revision=3414
2002-03-27 23:07:49 +00:00
Miguel de Icaza 927f64a784 2002-03-27 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Track global token use, so we can properly flag
	the use of #define/#undef after the first token has been seen.

	Also, rename the reportXXXX to Error_DescriptiveName

svn path=/trunk/mcs/; revision=3413
2002-03-27 22:32:00 +00:00
Miguel de Icaza 02bb2f6885 Add new error test case
svn path=/trunk/mcs/; revision=3412
2002-03-27 22:30:47 +00:00
Miguel de Icaza ea5728d2b0 2002-03-27 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.IsTopLevel): Move property here from
	TypeContainer, so that Enum and Interface can use this too.

	* class.cs (TypeContainer.LookupInterfaceOrClass,
	GetInterfaceOrClass, GetClassBases, DefineType): Drop the
	`builder' argument.  Typically this was used to pass the parent
	builder (a ModuleBuilder or a TypeBuilder from whoever triggered
	the definition).

	The problem is that a nested class could trigger the definition of
	a toplevel class, and the builder would be obviously wrong in that
	case.

	So we drop this argument, and we compute dynamically the
	TypeBuilder/ModuleBuilder (the correct information was available
	to us anyways from DeclSpace.Parent)

	* interface.cs (Interface.DefineInterface): Drop builder
	parameter cleanup like class.cs

	* enum.cs (Enum.DefineEnum): Drop builder parameter.  Clean up
	like class.cs

svn path=/trunk/mcs/; revision=3411
2002-03-27 22:25:15 +00:00
Miguel de Icaza 8f18cb9acc New test
svn path=/trunk/mcs/; revision=3410
2002-03-27 22:24:41 +00:00
Miguel de Icaza f411b9c5d7 2002-03-27 Miguel de Icaza <[email protected]>
* test-18.cs: Augment test with the multi-flow try/catch.

svn path=/trunk/mcs/; revision=3409
2002-03-27 21:34:42 +00:00
Miguel de Icaza 9b47a633f4 2002-03-27 Miguel de Icaza <[email protected]>
* statement.cs (Switch.EmitObjectInteger): Emit short/ushort
	values.

	(Try.Emit): Propagate the returns value from the statement.

	(Return.Emit): Even if we are leavning

	* driver.cs: Catch IOExpcetion for Directory.GetFiles as well.

	* modifiers.cs: Fix the computation of MethodAttributes flags.

svn path=/trunk/mcs/; revision=3408
2002-03-27 21:30:03 +00:00
Rodrigo Moya 7db99d9dba 2002-03-27 Rodrigo Moya <[email protected]>
* System.Data.Common/DataColumnMapping.cs:
	* System.Data.Common/DataColumnMappingCollection.cs:
	* System.Data.Common/DataAdapter.cs: created skeletons.

	* System.Data.build: exclude new directories from build.

svn path=/trunk/mcs/; revision=3407
2002-03-27 21:10:03 +00:00
Miguel de Icaza 0addbdbb46 Add test-91
svn path=/trunk/mcs/; revision=3406
2002-03-27 20:31:52 +00:00
John Barnette c5cea324c3 Initial revision.
svn path=/trunk/mcs/; revision=3405
2002-03-27 18:56:32 +00:00
John Barnette 8c9ef8feab Interim graphical resources for the Monodoc GUI.
svn path=/trunk/mcs/; revision=3404
2002-03-27 18:51:22 +00:00
Duncan Mak 338bb215df Reverting changes to the makefile
svn path=/trunk/mcs/; revision=3403
2002-03-27 18:17:14 +00:00
John Barnette 21c4c6de8f More spring cleaning.
svn path=/trunk/mcs/; revision=3402
2002-03-27 18:15:18 +00:00
John Barnette c71704b06d Removing old cruft. It's spring-cleaning time in the land of doctools!
svn path=/trunk/mcs/; revision=3401
2002-03-27 18:11:33 +00:00
Christian Meyer 801d17c60b Cleaned up the code a little bit...
svn path=/trunk/mcs/; revision=3400
2002-03-27 17:28:27 +00:00
Duco Fijma 9f33267466 AppDomain.GetDate also renamed to GetData
svn path=/trunk/mcs/; revision=3399
2002-03-27 16:58:11 +00:00
Duco Fijma 662e17093b Corrected typo in System._AppDomain
svn path=/trunk/mcs/; revision=3398
2002-03-27 16:27:57 +00:00
Rodrigo Moya 71a5a1158b 2002-03-27 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlTransaction.cs: started implementation.

	* System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
	implemented (2 methods).

svn path=/trunk/mcs/; revision=3397
2002-03-27 14:51:07 +00:00
Mike Kestner 55a217cd66 2002-03-27 Mike Kestner <[email protected]>
* delegate.c (arch_get_delegate_invoke): malloc a bigger area

svn path=/trunk/mono/; revision=3396
2002-03-27 13:11:21 +00:00
Dan Lewis 6de415adc3 2002-03-27 Dan Lewis <[email protected]>
* StreamReader.cs: Implemented ReadLine() and ReadEnd().

svn path=/trunk/mcs/; revision=3395
2002-03-27 12:36:47 +00:00
Nick Drochak 120b7227d3 2002-03-28 Nick Drochak <[email protected]>
* EnumTest.cs(TestFormat): Use Fail() instead of AssertEquals() in
        try-catch blocks. Add test to check if correct exception is being
        thrown.

svn path=/trunk/mcs/; revision=3394
2002-03-27 11:45:28 +00:00
Nick Drochak 6d7ce0f075 2002-03-28 Nick Drochak <[email protected]>
* Type.cs: Added MonoTODO tags on members that have FIXME, etc.

svn path=/trunk/mcs/; revision=3393
2002-03-27 11:35:22 +00:00
Sergey Chaban 9188402fc4 * resources: Assembly language manuals/tutorials and Win32 SEH internals;
svn path=/trunk/mono/; revision=3392
2002-03-27 10:23:29 +00:00
Paolo Molaro 31d3af16dc Forgot to commit this file, sorry.
svn path=/trunk/mono/; revision=3391
2002-03-27 05:46:35 +00:00
Gaurav Vaish dae3fc6fcb 2002-03-27 Gaurav Vaish <[email protected]>
* More error corrections....

svn path=/trunk/mcs/; revision=3390
2002-03-27 03:27:27 +00:00
Miguel de Icaza 1f3b3e0a2f More last minute fixes
svn path=/trunk/mcs/; revision=3389
2002-03-27 02:58:45 +00:00
Miguel de Icaza 9ddbab85b0 Flush
svn path=/trunk/mcs/; revision=3388
2002-03-27 02:52:02 +00:00
Miguel de Icaza 38fe4572d3 Add a ChangeLog
svn path=/trunk/mono/; revision=3386
2002-03-27 02:26:21 +00:00
Miguel de Icaza 14c7a6c543 Flush
svn path=/trunk/mono/; revision=3385
2002-03-27 02:23:01 +00:00
Duncan Mak bbca9ecade 2002-03-27 Duncan Mak <[email protected]>
* *.cs: Updates from Ajay Dwivedi <[email protected]>.

svn path=/trunk/mcs/; revision=3383
2002-03-27 02:06:09 +00:00
Miguel de Icaza 5c12547e7e revert to 10
svn path=/trunk/mono/; revision=3382
2002-03-27 01:38:20 +00:00
Jason Diamond 77113b64a0 Removed XPathScannerTests from the project since VS.NET wasn't happy with it. Added the tests separately to the .build file so that I can still work.
svn path=/trunk/mcs/; revision=3380
2002-03-27 01:09:45 +00:00
Dan Lewis d6e7b06471 2002-03-27 Dan Lewis <[email protected]>
corlib/

	* corlib.build: removed seperate windows/linux builds. excluded
	wrapper and PAL classes from all builds.

corlib/System/

	* Console.cs: Modified to get std handles from MonoIO.
	* Environment.cs: removed PAL dependencies.

corlib/System.IO/

	* Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
	DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
	wrapper and PAL classes.

	* MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.

svn path=/trunk/mcs/; revision=3379
2002-03-27 00:51:39 +00:00
Duncan Mak 58a9a7d2d6 2002-03-26 Duncan Mak <[email protected]>
* XmlDocument.cs (CreateDocumentType): Implemented.

	* XmlNode.cs (Value): Implemented.

	* AllTests.cs:
	* Microsoft.Test.csproj:
	* Mono.Test.csproj: Updated to include new test,
	XmlDocumentTypeTests.

	* XmlDocumentTypeTests.cs: New testsuite for XmlDocumentType class.

svn path=/trunk/mcs/; revision=3378
2002-03-27 00:49:24 +00:00
Dan Lewis 3b0014f723 2002-03-27 Dan Lewis <[email protected]>
* Makefile.am: wrapper no longer built

io-layer/

	* unicode.h, unicode.c: changed to gunichar2
	* io.h, io.c: changed strings to gunichar2*, added
	SetFileAttributes(), GetCurrentDirectory(), SetCurrentDirectory(),
	some fixes to FindFirstFile() and friends.

metadata/

	* icall.c: removed last of PAL calls, added System.Environment
	* file-io.h, file-io.c: MonoIO implementation
	* object.h, object.c: mono_string_to_utf16() now returns gunichar2*

svn path=/trunk/mono/; revision=3377
2002-03-27 00:39:13 +00:00
Miguel de Icaza 8ef0756ec7 Flush
svn path=/trunk/mono/; revision=3376
2002-03-26 21:06:38 +00:00
Miguel de Icaza 06aa1daad7 Flush
svn path=/trunk/mono/; revision=3375
2002-03-26 21:04:45 +00:00
Miguel de Icaza 0ec37d4c9e Update
svn path=/trunk/mono/; revision=3374
2002-03-26 20:20:57 +00:00
Miguel de Icaza c47a50c75c Flush a few of my changes
svn path=/trunk/mono/; revision=3373
2002-03-26 19:52:46 +00:00
Miguel de Icaza 5150a2c3b4 Update man page
svn path=/trunk/mono/; revision=3372
2002-03-26 19:46:41 +00:00
Paolo Molaro f03f2115d5 Update version number to 0.11 and enable GC by default if libgc is found.
svn path=/trunk/mono/; revision=3371
2002-03-26 19:44:51 +00:00
Paolo Molaro 92c13be9ea Use mono to run the compiler.
svn path=/trunk/mono/; revision=3370
2002-03-26 19:37:02 +00:00
Duncan Mak 25cb0550ad 2002-03-26 Duncan Mak <[email protected]>
* XmlProcessingInstruction.cs (InnerText): Implemented. It works just
	like XmlCharacterData.

	* XmlCommentTests.cs (TestXmlNodeBaseProperties): Move the
	XmlNode.Value test in here.

svn path=/trunk/mcs/; revision=3369
2002-03-26 19:22:24 +00:00
Gaurav Vaish 2c920489cc 2002-03-27 Gaurav Vaish <[email protected]>
* :: Adding attributes.... Work in progress, but I am damn too tired..

svn path=/trunk/mcs/; revision=3368
2002-03-26 19:09:44 +00:00
Gaurav Vaish 50378fcdd2 2002-03-26 Gaurav Vaish <[email protected]>
* Web/*.cs  -- Added attribute definitions.
* Web/ChangeLog -- Notification

* Web.UI.WebControls/*.cs -- Patches, to make build get going..

svn path=/trunk/mcs/; revision=3367
2002-03-26 17:49:40 +00:00
Gaurav Vaish bcfb2d503d 2002-03-26 Gaurav Vaish <[email protected]>
* library.build: System.Web was excluded from build on Linux. Including it.

svn path=/trunk/mcs/; revision=3366
2002-03-26 16:52:13 +00:00
Paolo Molaro 678326d719 Tue Mar 26 21:14:36 CET 2002 Paolo Molaro <[email protected]>
* driver.cs: allow compilation of files that start with '/'.
	Add a default case when checking the argument of --target.

svn path=/trunk/mcs/; revision=3365
2002-03-26 16:26:05 +00:00
Duncan Mak 2ebeb2f673 2002-03-26 Duncan Mak <[email protected]>
* XmlDeclaration.cs (CloneNode):
	* XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
	arguments.

	* XmlCharacterData.cs (Substring): Fixed typo.

svn path=/trunk/mcs/; revision=3364
2002-03-26 16:02:02 +00:00
Paolo Molaro f425d6cc41 Fixed make distcheck.
svn path=/trunk/mono/; revision=3363
2002-03-26 15:45:26 +00:00
Paolo Molaro 8384bb8c36 Tue Mar 26 20:10:24 CET 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: use FileMode.Create.
	* ILGenerator.cs: optimize localbuilder related opcodes.
	Track parameters to adjust maxstack.
	* LocalBuilder.cS: use unsigned for position.

svn path=/trunk/mcs/; revision=3362
2002-03-26 15:23:49 +00:00
Paolo Molaro 627d6c4af7 Tue Mar 26 20:09:10 CET 2002 Paolo Molaro <[email protected]>
* interp.c: set frame->ip before dumping the stack trace.

svn path=/trunk/mono/; revision=3361
2002-03-26 15:19:09 +00:00
Paolo Molaro b03dc4c1ad Tue Mar 26 19:56:10 CET 2002 Paolo Molaro <[email protected]>
* appdomain.c: do not use the byte marker in ldstr table lookup.
	* debug-helpers.c: allow two ':' to separate class and method name.
	* object.c: allocate arrays bounds with the GC, too.
	* verify: add a few more checks.

svn path=/trunk/mono/; revision=3360
2002-03-26 15:11:06 +00:00
Paolo Molaro b45c005a18 Tue Mar 26 19:54:45 CET 2002 Paolo Molaro <[email protected]>
* jit.c: remove glib mem vtable code.


Tue Mar 26 19:54:45 CET 2002 Paolo Molaro <[email protected]>

	* interp.c: remove glib mem vtable code.

svn path=/trunk/mono/; revision=3359
2002-03-26 15:05:12 +00:00
Duncan Mak 46c432f451 2002-03-26 Duncan Mak <[email protected]>
* XmlCharacterData.cs (InnerText): Implemented. Funny that the
	docs say it is the "The concatenated values of the node and all
	the children of the node.". I wrote some test programs and
	couldn't get any of the derived nodes to AppendChild. For now,
	InnerText == Data == Value.

	* XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.

svn path=/trunk/mcs/; revision=3358
2002-03-26 15:03:40 +00:00
Paolo Molaro c58206b2f7 Tue Mar 26 18:45:46 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: output also literal strings. Allocate parameter data
	with GC_malloc() (thanks, Martin, for catching this!).

svn path=/trunk/mono/; revision=3357
2002-03-26 13:56:34 +00:00
Dick Porter 222833b636 2002-03-26 Dick Porter <[email protected]>
* makefile (linux): Abandon the build if any of the subdir makes fail

svn path=/trunk/mcs/; revision=3356
2002-03-26 13:48:37 +00:00
Dick Porter 5000d84786 2002-03-26 Dick Porter <[email protected]>
* interp.c: Show thread ID's in trace output.

	New option "--traceclassinit" to put debug output around
	runtime_class_init().

	Make sure all options are displayed in usage().

svn path=/trunk/mono/; revision=3355
2002-03-26 13:41:44 +00:00
Dick Porter 220542b3e4 2002-03-26 Dick Porter <[email protected]>
* types.h: Implement the large integer struct

	* timefuncs.h:
	* timefuncs.c: Dummy functions that don't yet implement
	QueryPerformanceCounter() and QueryPerformanceFrequency()

	* threads.h:
	* threads.c: Implement SleepEx()

	* system.h:
	* system.c: Beginnings of GetSystemInfo()

	* mono-mutex.c (pthread_mutex_timedlock): Fix a ms/ns conversion
	thinko

	* context.h:
	* context.c: Dummy function that doesnt yet implement
	GetThreadContext()

	* atomic.h:
	* atomic.c: Interlocked functions

svn path=/trunk/mono/; revision=3354
2002-03-26 13:20:28 +00:00
Gaurav Vaish 01a228a8e9 2002-03-26 Gaurav Vaish <[email protected]>
* UI/*.cs  -- Added a few attributes.
* WebControls/*.cs  -- Applied the attributes

* ChangeLog -- Notification

svn path=/trunk/mcs/; revision=3353
2002-03-26 12:48:02 +00:00
Paolo Molaro 5159923cae Tue Mar 26 17:03:14 CET 2002 Paolo Molaro <[email protected]>
* interp.c: support fieldrefs when accessing instance fields.

svn path=/trunk/mono/; revision=3352
2002-03-26 12:13:31 +00:00
Jason Diamond e953522577 Can now scan most location paths (without predicates).
svn path=/trunk/mcs/; revision=3351
2002-03-26 11:44:46 +00:00
Duncan Mak 7ae088c8ca 2002-03-26 Duncan Mak <[email protected]>
XmlImplementation.cs (CreateDocument): Implemented.

svn path=/trunk/mcs/; revision=3350
2002-03-26 11:42:28 +00:00
Martin Baulig 8d7a07c676 2002-03-26 Martin Baulig <[email protected]>
* debug-dwarf2.c (write_method_lines_dwarf2): Don't generate method
	lines if we don't have line number information.
	(write_method_dwarf2): Use `minfo->method_info.this_offset' instead
	of hardcoding 8.

	* debug-stabs.c (write_method_stabs): Don't generate method lines if
	we don't have line number information. Use `minfo->method_info.this_offset'
	instead of hardcoding 8.

	* debug.c (debug_generate_method_lines): Don't crash if we don't have
	line number information.
	(mono_debug_open_assembly): Don't generate line numbers for
	MONO_DEBUG_FORMAT_DWARF2_PLUS.
	(mono_debug_add_method): Don't store the 'this' offset in `param_offsets',
	but it in the new `this_offset' field.

svn path=/trunk/mono/; revision=3349
2002-03-26 11:09:41 +00:00
Martin Baulig 7d251b1e18 2002-03-26 Martin Baulig <[email protected]>
* debug-symfile.h (MonoDebugMethodInfo): Added `this_offset', don't
	include the `this' offset in the `param_offsets'.

svn path=/trunk/mono/; revision=3348
2002-03-26 11:03:24 +00:00
Martin Baulig 8de45feb68 2002-03-26 Martin Baulig <[email protected]>
* debug.c (debug_generate_method_lines): Use correct addresses for
	record_il_offset().

svn path=/trunk/mono/; revision=3347
2002-03-26 08:38:56 +00:00
Piers Haken 078becbd9f missing/extra images
svn path=/trunk/mono/; revision=3346
2002-03-26 04:17:37 +00:00
Piers Haken 5374dbef6b more class status updates:
Errors
	Extra
	More attributes
	More accurate counts

svn path=/trunk/mono/; revision=3345
2002-03-26 02:45:40 +00:00
Piers Haken 64670b8525 more class status updates:
Errors
	Extra
	More attributes
	More accurate counts

svn path=/trunk/mcs/; revision=3345
2002-03-26 02:45:40 +00:00
Gaurav Vaish e75c7f69d2 2002-03-26 Gaurav Vaish <[email protected]>
* ChangeLog: Informing about removal of System.Web.Security

svn path=/trunk/mcs/; revision=3344
2002-03-26 02:43:06 +00:00
Gaurav Vaish 2d27a32071 2002-03-26 Gaurav Vaish <[email protected]>
* Removed all the files. Making place for someone other to contribute.
  I am not in a position, right now, to look after this. It's screwing
  me up...

svn path=/trunk/mcs/; revision=3343
2002-03-26 02:38:49 +00:00
Jason Diamond d55811ef09 Added XPathScanner and Tests.
svn path=/trunk/mcs/; revision=3342
2002-03-26 02:36:02 +00:00
Dennis Hayes b28e3a0ec6 ** Removed orignial stub code that would break build if included**
** added functionality for basic functionality. **
** Only suports 32 bit color bitmaps, no compression. **
** Untested **
* Dennis Hayes**

svn path=/trunk/mcs/; revision=3340
2002-03-25 23:40:10 +00:00
Dennis Hayes d268be767d ** Inital File checkin **
* Dennis Hayes**

svn path=/trunk/mcs/; revision=3339
2002-03-25 23:36:55 +00:00
Duncan Mak a412fd0bee 2002-03-25 Duncan Mak <[email protected]>
* XmlDeclaration.cs: Rewrote the class, fixed formatting, added
	missing properties (InnerText, Value).

	* XmlDocument.cs (CreateXmlDeclaration): Implemented.

	* AllTests.cs:
	* Microsoft.Test.csproj:
	* Mono.Test.csproj: Updated to include new test,
	XmlDeclarationTests.

	* XmlDeclarationTests.cs: Added new test for XmlDeclaration class.

svn path=/trunk/mcs/; revision=3338
2002-03-25 22:28:15 +00:00
Miguel de Icaza b8c9444706 Compile fix
svn path=/trunk/mcs/; revision=3337
2002-03-25 22:25:30 +00:00
Miguel de Icaza 9b6f728efe Compile fix
svn path=/trunk/mcs/; revision=3336
2002-03-25 22:24:12 +00:00
Miguel de Icaza fb55f6cfdf 2002-03-25 Miguel de Icaza <[email protected]>
* IntPtr.cs: Temporary work-around until I fix the assembly
	attributes bug.

	* String.cs (System): Removed enumeration, because it is pretty
	hard to support enumerations in /nostdlib mode for the core types.

2002-03-25  Miguel de Icaza  <[email protected]>

	* interface.cs: Implement the same search algorithm for types in
	the interface code.

	* delegate.cs: Do not allow multiple definition.

svn path=/trunk/mcs/; revision=3335
2002-03-25 22:17:41 +00:00
Miguel de Icaza ad93add1b3 2002-03-25 Miguel de Icaza <[email protected]>
* Recovered ChangeLog that got accidentally amputated

svn path=/trunk/mcs/; revision=3334
2002-03-25 21:32:30 +00:00
Miguel de Icaza b7f5ae92d6 Fix
svn path=/trunk/mcs/; revision=3333
2002-03-25 21:26:52 +00:00
Miguel de Icaza 281f8cd272 2002-03-25 Miguel de Icaza <[email protected]>
* interface.cs (Interface.DefineInterface): Prevent from double definitions.

	* rootcontext.cs: Load manually enum to allow core classes to
	contain enumerations.

	* enum.cs, ecore.cs, driver.cs, attribute.cs, class.cs, expression.cs:
	Update to new static methods in TypeManager.

	* typemanager.cs (GetMethod, GetConstructor): Use our
	implementation of FindMembers to find the members, since during
	corlib compilation, the types are TypeBuilders and GetMethod and
	GetConstructor do not work.

	Make all methods in TypeManager static.

svn path=/trunk/mcs/; revision=3332
2002-03-25 21:26:18 +00:00
Martin Baulig 6c8a6c2231 The array is already sorted, reverted my last change. Thanks to Paolo for
pointing this out.

svn path=/trunk/mcs/; revision=3331
2002-03-25 20:20:11 +00:00
Martin Baulig 20a553b0f7 2002-03-25 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_update_symbol_file): Use a new
	mono_debug_get_class() function to get the classes. Added new
	relocation types for arrays and strings.
	(mono_debug_get_class): New static function to search in all
	referenced assemblies for a metadata token.

	* debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 7.

svn path=/trunk/mono/; revision=3330
2002-03-25 18:33:26 +00:00
Martin Baulig d24066cf28 2002-03-25 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
	(RegisterType): Add the type to the type hash before creating dependency types
	so we don't get recursion loops.
	(RegisterPointerType): New func to register a "pointer to type" type.
	(DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
	types; added support for strings, arrays and basic support for classes.

svn path=/trunk/mcs/; revision=3329
2002-03-25 18:32:10 +00:00
Paolo Molaro b748abe8b4 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <[email protected]>
* MonoEvent.cs: added the needed fields.

svn path=/trunk/mcs/; revision=3328
2002-03-25 14:04:47 +00:00
Mike Kestner cf66be23aa 2002-03-25 Mike Kestner <[email protected]>
* MemoryStream.cs (Read): Fixed bug in exception throw.

svn path=/trunk/mcs/; revision=3327
2002-03-25 12:28:57 +00:00
Paolo Molaro 7634b71032 Mon Mar 25 13:08:18 CET 2002 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: use a gc-safe hash for hash tables that
	hold gc-allocated objects. Make the string heap a stream like the
	others. Removed duplicated code when writing stream info.
	Added asserts to catch possible buffer overflows. Set the sorted map
	for tables that need sorting. Added some documentation.

svn path=/trunk/mono/; revision=3326
2002-03-25 08:21:49 +00:00
Paolo Molaro 039ac49deb Mon Mar 25 13:04:56 CET 2002 Paolo Molaro <[email protected]>
* appdomain.h, appdomain.c, class.c, object.c: use a GC-safe hash table
	for interned strings and vtables.

svn path=/trunk/mono/; revision=3325
2002-03-25 08:17:30 +00:00
Paolo Molaro a21c6af60b Mon Mar 25 13:01:40 CET 2002 Paolo Molaro <[email protected]>
* threads.c: use a gc-safe hash table to store tls pointers.

svn path=/trunk/mono/; revision=3324
2002-03-25 08:16:31 +00:00
Paolo Molaro d1c3f7aef5 Mon Mar 25 13:03:35 CET 2002 Paolo Molaro <[email protected]>
* jit.c: do not set the glib mem vtable anymore.
	* Makefile.am: link to libmonoutils.

svn path=/trunk/mono/; revision=3323
2002-03-25 08:13:59 +00:00
Paolo Molaro 5279385395 Mon Mar 25 12:59:52 CET 2002 Paolo Molaro <[email protected]>
* interp.c: allow tracing to be done on a per-method basis.
	Fix interp_mono_runtime_invoke() to deal correcttly with the return
	value. Disable glib mem vtable setting.

svn path=/trunk/mono/; revision=3322
2002-03-25 08:12:40 +00:00
Paolo Molaro ca36a8e3e8 Build libmonoutils and link it to the binaries that need it.
svn path=/trunk/mono/; revision=3321
2002-03-25 08:08:28 +00:00
Paolo Molaro 1eba0cf18d Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <[email protected]>
* First checkin: libmonoutils is meant to hold some utility
	data structures and bits that are usefult to the rest of the project
	and don't require metadata/runtime support.
	mono-hash is a GC-safe hash table: i.e. you can store GC-allocated
	data in it.

svn path=/trunk/mono/; revision=3320
2002-03-25 08:02:17 +00:00
Miguel de Icaza ce9115323c Updated errors
svn path=/trunk/mcs/; revision=3319
2002-03-25 03:04:43 +00:00
Miguel de Icaza 6239d29995 This is the first pass at making the compiler work in --nostdlib mode,
I am very close!

2002-03-25  Miguel de Icaza  <[email protected]>

	* typemanager.cs (InitCodeHelpers): Split the functionality from
	the InitCodeTypes function.

	* driver.cs: Call InitCodeHelpers after we have populated the
	types.

	* cs-parser.jay (delegate_declaration): we did not used to compute
	the delegate name correctly for void delegates.

2002-03-24  Miguel de Icaza  <[email protected]>

	* rootcontext.cs (RootContext): Init the interface_resolve_order
	and type_container_resolve_order always.

	(ResolveCore, BootstrapCorlib_ResolveClass,
	BootstrapCorlib_ResolveStruct): New functions to bootstrap the
	compiler when compiling with --nostdlib

	* class.cs (TypeContainer.DefineType): Check that our parent is
	not null.  This test is most important when we are bootstraping
	the core types.

	* codegen.cs: Split out the symbol writing code.

svn path=/trunk/mcs/; revision=3318
2002-03-25 02:40:44 +00:00
Miguel de Icaza 20452e27d9 Touchups
svn path=/trunk/mono/; revision=3317
2002-03-24 22:42:33 +00:00
Miguel de Icaza 915691b43b 2002-03-24 Miguel de Icaza <[email protected]>
* codegen.cs: Split out the symbol writing code.

svn path=/trunk/mcs/; revision=3316
2002-03-24 22:41:08 +00:00
Miguel de Icaza b37ca6a564 2002-03-24 Miguel de Icaza <[email protected]>
* codegen.cs: Split out the symbol writing code.

svn path=/trunk/mcs/; revision=3315
2002-03-24 22:38:47 +00:00
Duncan Mak 07ffd98f20 2002-03-24 Duncan Mak <[email protected]>
* System.Data.build: Excluded System.Data.SqlClient from the build.
	The stubs are incomplete and they are stopping the build.

	* System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.

	* SortedList.cs (Synchronized): Stubbed out a missing method
	pointed out by Jakk Simm's test suite.

	* SortedListTest.cs: Committed to CVS for Jaak Simm <[email protected]>.

svn path=/trunk/mcs/; revision=3314
2002-03-24 21:45:29 +00:00
Martin Baulig f6d6b35c5c 2002-03-25 Martin Baulig <[email protected]>
* driver.cs (-g): Made -g an alias for --debug.

svn path=/trunk/mcs/; revision=3313
2002-03-24 19:17:30 +00:00
Martin Baulig 4285912319 2002-03-25 Martin Baulig <[email protected]>
* debug.h (mono_debug_make_symbols): Documented this function.

svn path=/trunk/mono/; revision=3312
2002-03-24 19:14:19 +00:00
Martin Baulig ccff247d6d 2002-03-24 Martin Baulig <[email protected]>
* man/mcs.1: Documented the new --debug option and added a section
	about debugging support.

	* man/mono.1: Documented the new --dwarf and --dwarf-plus options.

svn path=/trunk/mono/; revision=3311
2002-03-24 19:12:57 +00:00
Martin Baulig 5418836a7e 2002-03-24 Martin Baulig <[email protected]>
* codegen.cs (SymbolWriter): New public variable. Returns the
	current symbol writer.
	(CodeGen): Added `bool want_debugging_support' argument to the
	 constructor. If true, tell the ModuleBuild that we want debugging
	support and ask it for the ISymbolWriter.
	(Save): If we have a symbol writer, call it's Close() method after
	saving the assembly.

	* driver.c (--debug): New command line argument to create a
	debugger information file.

	* location.cs (SymbolDocument): New public property. Returns an
	ISymbolDocumentWriter object for the current source file or null
	if we don't have a symbol writer.

svn path=/trunk/mcs/; revision=3310
2002-03-24 18:43:36 +00:00
Miguel de Icaza c83e8154db 2002-03-23 Miguel de Icaza <[email protected]>
* LocalBuilder.cs: Drop the symbol_writer as LocalBuilder fields.
	Do this lazily in SetLocalSymInfo.

svn path=/trunk/mcs/; revision=3309
2002-03-24 18:15:56 +00:00
Miguel de Icaza 7807e50618 Update man page
svn path=/trunk/mono/; revision=3307
2002-03-24 16:23:10 +00:00
Martin Baulig 29ef78e5b1 2002-03-24 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.

	* MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
	argument which is the full pathname of the assembly - you must call Close()
	after the assembly has been written to disk since the symbol writer needs to
	load the finished assembly to get its metadata.

	* MonoDwarfFileWriter.cs: Added support for enums and structs.

svn path=/trunk/mcs/; revision=3306
2002-03-24 14:28:53 +00:00
Martin Baulig f9e7e3fb7b 2002-03-24 Martin Baulig <[email protected]>
* ModuleBuilder.cs (GetSymbolWriter): The MonoSymbolWriter's constructor
	now takes a `string assembly_filename' argument, pass it our fully
	qualified assembly name.

svn path=/trunk/mcs/; revision=3305
2002-03-24 14:25:01 +00:00
Martin Baulig 8c8f88bf5d 2002-03-24 Martin Baulig <[email protected]>
* Enum.cs (GetValues): According to the docu this is sorted after
	values, not names.

svn path=/trunk/mcs/; revision=3304
2002-03-24 14:22:23 +00:00
Martin Baulig 8f3c6410a3 2002-03-24 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): Include the `this' offset in
	the `minfo->method_info.param_offsets' array.

svn path=/trunk/mono/; revision=3303
2002-03-24 14:16:11 +00:00
Martin Baulig 3773f2e71e 2002-03-24 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetFields): Reverse the list before storing
	it in the array since it was created with g_slist_prepend().

2002-03-24  Martin Baulig  <[email protected]>

	* debug-symfile.c (mono_debug_local_type_from_signature): Renamed
	to ves_icall_Debugger_MonoSymbolWriter_get_local_type_from_sig().
	(mono_debug_method_from_token): Renamed to
	ves_icall_Debugger_MonoSymbolWriter_method_from_token().
	(ves_icall_Debugger_DwarfFileWriter_get_type_token): New interncall.

	* debug-symfile.c (MRT_type_sizeof, MRT_type_field_offset): New
	relocation types.

	* debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 6.

svn path=/trunk/mono/; revision=3302
2002-03-24 14:15:02 +00:00
Mike Kestner aadd814550 2002-03-24 Mike Kestner <[email protected]>
* StreamReader.cs (ReadBuffer): Fix buffer merging bugs.

svn path=/trunk/mcs/; revision=3301
2002-03-24 13:40:26 +00:00
Rodrigo Moya 9e54799ed6 2002-03-24 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/*: added skeletons for the SQL managed
	provider for ADO.Net, to be based initially in PostgreSQL.

svn path=/trunk/mcs/; revision=3300
2002-03-24 13:39:41 +00:00
Martin Baulig 1c162a52f6 2002-03-24 Martin Baulig <[email protected]>
* MonoDwarfFileWriter.cs: Added support for method parameters.

svn path=/trunk/mcs/; revision=3299
2002-03-24 10:54:00 +00:00
Martin Baulig 437b984d5f 2002-03-24 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
	we're now using the ISymbolWriter's method.
	(IVariable): Added `byte[] Signature' property.

	* MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
	Close(); the assembly parameter is the already-written assembly, ie. it must
	contain the full metadata.
	(OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
	(SetMethodSourceRange): You must call this function to tell the symbol writer
	in which source file the method is defined.
	(DefineLocal): Store the signature in the local.
	(DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
	and the LocalVariable's Type field.

svn path=/trunk/mcs/; revision=3298
2002-03-23 23:26:51 +00:00
Martin Baulig 0c0c2afb67 2002-03-24 Martin Baulig <[email protected]>
* debug-symfile.c (mono_debug_local_type_from_signature): New func.
	(mono_debug_method_from_token): New func.

	* icall.c (Mono.CSharp.Debugger.MonoSymbolWriter::get_local_type_from_sig):
	New interncall, calls mono_debug_local_type_from_signature().
	(Mono.CSharp.Debugger.MonoSymbolWriter::get_method): New interncall,
	calls mono_debug_method_from_token().

svn path=/trunk/mono/; revision=3297
2002-03-23 23:17:43 +00:00
Adam Treat 1cea193cd2 * Fixed missing ')' character.
svn path=/trunk/mcs/; revision=3296
2002-03-23 22:35:02 +00:00
Kral Ferch 29e35dc0f0 XmlTextWriter work on BaseStream, WriteState, and Namespaces.
svn path=/trunk/mcs/; revision=3295
2002-03-23 20:46:11 +00:00
Nick Drochak a7a9b89556 2002-03-24 Nick Drochak <[email protected]>
* ILGenerator.cs: Use #if-#endif instead of if(false){} to disable
	code.  This way there is no compiler warning.

	* TypeBuilder.cs: Removed the returns that came after the throws.
	This removes a few more compiler warnings. Also marked with MonoTODO
	all places where we throw NotImplemented exceptions.

svn path=/trunk/mcs/; revision=3294
2002-03-23 20:21:21 +00:00
Nick Drochak 8ef7876a77 2002-03-24 Nick Drochak <[email protected]>
* ClassInterfaceAttribute.cs:
	* ClassInterfaceType.cs: New Files.

svn path=/trunk/mcs/; revision=3293
2002-03-23 19:56:41 +00:00
Martin Baulig accaa23d0b Ooops, typo. Call the public function, not the internal one.
svn path=/trunk/mcs/; revision=3292
2002-03-23 18:46:04 +00:00
Martin Baulig c0ba15fb73 2002-03-23 Martin Baulig <[email protected]>
* SignatureHelper.cs (GetFieldSignatureHelper, GetLocalSignatureHelper):
	Implemented.

	* LocalBuilder.cs (LocalBuilder): This internal constructor now takes
	a ModuleBuilder argument instead of a ISymbolWriter one.
	(SetLocalSymInfo): Create and pass type signature to DefineLocalVariable.

svn path=/trunk/mcs/; revision=3291
2002-03-23 18:04:04 +00:00
Martin Baulig cb72b6c9cc 2002-03-23 Martin Baulig <[email protected]>
* reflection.h (MonoReflectionSigHelper): New type.

	* reflection.c (mono_reflection_sighelper_get_signature_local),
	(mono_reflection_sighelper_get_signature_local): New functions.

	* icall.c ("System.Reflection.Emit.SignatureHelper::get_signature_local"),
	("System.Reflection.Emit.SignatureHelper::get_signature_field"): New
	interncalls.

svn path=/trunk/mono/; revision=3290
2002-03-23 17:59:35 +00:00
Martin Baulig 552bb40a61 2002-03-23 Martin Baulig <[email protected]>
* StreamReader.cs: Always do buffered reading, use 4k blocks.
	(Read (char[], int, int)): Implemented.
	(DiscardBufferedData): Implemented.

svn path=/trunk/mcs/; revision=3289
2002-03-23 17:02:45 +00:00
Martin Baulig dc7da70f06 2002-03-23 Martin Baulig <[email protected]>
* unicode.c (ves_icall_iconv_get_char_count): The `count' argument
	specifies the number of bytes to be converted, not the array size.
	Return the number of chars, not the number of bytes.
	(ves_icall_iconv_get_chars): The `byteCount' argument
	specifies the number of bytes to be converted, not the array size.

svn path=/trunk/mono/; revision=3288
2002-03-23 16:59:17 +00:00
John Barnette 163d992b61 Small cosmetic and bugfix changes:
* Fixed hanging fileHandle
* Removed <seeAlso> stubs; unnecessary
* changed <returnType> to <returns> to conform with the DTD.

svn path=/trunk/mcs/; revision=3287
2002-03-23 15:47:16 +00:00
Martin Baulig 8a4393ce63 2002-03-23 Martin Baulig <[email protected]>
* x86.brg (lreg: CONV_I8 (reg)): X86_XOR modifies the flags, so we need
	to do it before the X86_CMP.
	(reg: CLT (lreg, lreg)): Use correct x86_branch8() targets.
	(reg: CLT (lreg, lreg)): Likewise.
	(reg: CLT_UN (lreg, lreg)): Likewise.
	(reg: CLT_UN (lreg, lreg)): Likewise.
	(reg: CGT (lreg, lreg)): Likewise.
	(reg: CGT (lreg, lreg)): Likewise.
	(reg: CGT_UN (lreg, lreg)): Likewise.
	(reg: CGT_UN (lreg, lreg)): Likewise.

svn path=/trunk/mono/; revision=3286
2002-03-23 15:20:09 +00:00
Miguel de Icaza e4bd805052 Update docs, add target
svn path=/trunk/mcs/; revision=3285
2002-03-23 14:01:01 +00:00
Martin Baulig 50d8e946c9 2002-03-23 Martin Baulig <[email protected]>
* ILGenerator.cs (BeginScope, EndScope): Implemented.

svn path=/trunk/mcs/; revision=3284
2002-03-23 11:01:23 +00:00
Martin Baulig 2e93646c2f 2002-03-23 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceBlock): New interface.
	(ILocalVariable): Renamed this interface to IVariable.
	(IVariable): Added Line, Type, Token.
	(ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
	(ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
	changed their type to ISourceLine. Removed CodeSize.
	(ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.

	* MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
	(MonoDwarfFileWriter.DieMethodVariable): New class.

	* MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
	Reflected latest IMonoSymbolWriter interface changes.

svn path=/trunk/mcs/; revision=3283
2002-03-23 10:54:41 +00:00
Martin Baulig ba18ab5fb4 A few minor bug fixes.
svn path=/trunk/mcs/; revision=3282
2002-03-23 10:49:31 +00:00
Martin Baulig 4943efe78f 2002-03-23 Martin Baulig <[email protected]>
* debug-private.h (AssemblyDebugInfo): Added `_priv'.

	* debug-dwarf2-plus.c
	(mono_debug_open_assembly_dwarf2_plus): Open the symbol file here.
	(mono_debug_close_assembly_dwarf2_plus): Close the symbol file here.
	(mono_debug_write_assembly_dwarf2_plus): Only call
	mono_debug_update_symbol_file() here.

svn path=/trunk/mono/; revision=3281
2002-03-23 10:45:35 +00:00
Martin Baulig fd1363f8a0 2002-03-23 Martin Baulig <[email protected]>
* rawbuffer.c (mono_raw_buffer_load_mmap): Use MAP_SHARED when
	is_writeable is set.
	(mono_raw_buffer_update): New function to write the modified map
	back to disk.

	* debug-symfile.h (MonoDebugSymbolFile): Added `raw_contents_size'.

	* debug-symfile.c (mono_debug_update_symbol_file): Call
	mono_raw_buffer_update() when done writing.

svn path=/trunk/mono/; revision=3280
2002-03-23 10:42:54 +00:00
Martin Baulig 1ba7a6be2b 2002-03-23 Martin Baulig <[email protected]>
* debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 5.

	* debug-symfile.c: Added support for arguments and local variables.

svn path=/trunk/mono/; revision=3279
2002-03-23 10:15:36 +00:00
Dick Porter 54d391706b 2002-03-23 Dick Porter <[email protected]>
* debug-symfile.c: Remove extraneous 'include <elf.h>' that wasn't
	protected by ifdefs, hence breaking the w32 build.

svn path=/trunk/mono/; revision=3278
2002-03-23 07:12:23 +00:00
Kral Ferch abf853b6ca XmlTextWriter formatting, indenting, xml declaration stuff.
svn path=/trunk/mcs/; revision=3277
2002-03-23 04:38:35 +00:00
Kral Ferch 2044abcc02 initial checkin. XmlTextWriter uses these objects in a stack to maintain state.
svn path=/trunk/mcs/; revision=3276
2002-03-23 04:37:32 +00:00
Adam Treat 16b1a26479 docstub.cs: Changed <constructor name=""> to use short form for ctor name.
svn path=/trunk/mcs/; revision=3275
2002-03-22 23:21:40 +00:00
Adam Treat 725d3ca9d9 docstub.cs: Removed extraneous tags. Changed default to 'TODO' from 'description'.
svn path=/trunk/mcs/; revision=3274
2002-03-22 22:06:15 +00:00
Mike Kestner c99917bebc 2002-03-22 Mike Kestner <[email protected]>
* XmlElement.cs: impl HasAttribute(string name).

svn path=/trunk/mcs/; revision=3273
2002-03-22 19:04:05 +00:00
Dick Porter e7a6faceb0 2002-03-22 Dick Porter <[email protected]>
* threads.c: Fix a race condition where a thread can start and
	exit before the handle has been properly initialised (no reason
	why the handle couldn't be initialised beforehand, so do so)

	Fix a ms to ns conversion magnitude thinko.

svn path=/trunk/mono/; revision=3272
2002-03-22 10:31:46 +00:00
Adam Treat 51f04e1de3 docstub.cs: Complete revamp according to John's DTD. You can generate your docs now. Enjoy!
svn path=/trunk/mcs/; revision=3271
2002-03-22 05:49:57 +00:00
Dietmar Maurer dca8ab2d40 added GetTransparentProxy stub
svn path=/trunk/mcs/; revision=3270
2002-03-22 05:13:50 +00:00
Dietmar Maurer c2227b2f2d new remoting classes
svn path=/trunk/mcs/; revision=3269
2002-03-22 05:04:11 +00:00
Duncan Mak cc397dd95d 2002-03-22 Duncan Mak <[email protected]>
* XmlDocument.cs (CreateSignificantWhitespace): Implemented.

	* AllTests.cs:
	* Microsoft.Test.csproj:
	* Mono.Test.csproj: Updated to include new files.

	* XmlSignificantWhitespaceTests.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3268
2002-03-22 03:23:26 +00:00
Duncan Mak b9e2f23ea5 2002-03-22 Duncan Mak <[email protected]>
* XmlElement.cs: Reformatted.
	(CloneNode) Corrected.

	* XmlDocument.cs (CreateWhitespace): Implemented.

	* XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
	true, because Attributes have ChildNodes.

2002-03-22  Duncan Mak  <[email protected]>

	* AllTests.cs:
	* Microsoft.Test.csproj:
	* Mono.Test.csproj: Updated to include new files.

	* XmlCDataSectionTests.cs: Added to CVS.

	* XmlCommentTests.cs: Added to CVS. hanks to Kral for helping me
	setup a testing environment on VS.NET.

	* XmlElementTests.cs: Reformatted.
	(TestCloneNode): Added.

	* XmlWhiteSpaceTests.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3267
2002-03-22 02:38:08 +00:00
Mike Kestner 556f0d7b34 2002-03-21 Mike Kestner <[email protected]>
* ASCIIEncoding.cs : Fix off by one error in Get(Char|Byte)Count.

2002-03-21  Mike Kestner <[email protected]>

	* StreamReader.cs : Fill out, add buffering, and use encoding.

svn path=/trunk/mcs/; revision=3266
2002-03-22 02:09:36 +00:00
Miguel de Icaza fde55b4673 Add section on patents
svn path=/trunk/mono/; revision=3265
2002-03-21 22:57:52 +00:00
Paolo Molaro 00315964fd Thu Mar 21 18:08:37 CET 2002 Paolo Molaro <[email protected]>
* interp.c: set stack trace info when throwing an exception.

svn path=/trunk/mono/; revision=3264
2002-03-21 13:18:40 +00:00
Paolo Molaro 1eb02adcaf Thu Mar 21 17:38:19 CET 2002 Paolo Molaro <[email protected]>
* StringBuilder.cs: no need to intern the string returned by ToString().

svn path=/trunk/mcs/; revision=3263
2002-03-21 12:48:14 +00:00
Paolo Molaro 55e1496904 Thu Mar 21 17:35:48 CET 2002 Paolo Molaro <[email protected]>
* jit.c: inter strings before executing a method.
	Do not intern command line arguments anymore.


Thu Mar 21 17:32:46 CET 2002 Paolo Molaro <[email protected]>

	* interp.c: intern strings before executing a method (and don't
	intern command line arguments anymore). Add sanity checks in alloca
	use.

svn path=/trunk/mono/; revision=3262
2002-03-21 12:47:02 +00:00
Paolo Molaro b9b01dd4eb Thu Mar 21 17:35:01 CET 2002 Paolo Molaro <[email protected]>
* object.c: implement is_interned() the right way.

svn path=/trunk/mono/; revision=3261
2002-03-21 12:46:24 +00:00
Martin Baulig 0349439df7 2002-03-21 Martin Baulig <[email protected]>
* debug.h (MonoDebugFormat): Added MONO_DEBUG_FORMAT_DWARF2_PLUS.

	* debug-dwarf2-plus.c: This debugging format reads a symbol file which has
	been created by MCS and fills in all machine dependent stuff.

	* debug-private.h (DebugMethodInfo): Added `MonoDebugMethodInfo method_info',
	removed everything which is already in MonoDebugMethodInfo.

	* debug.c (debug_generate_method_lines): Generate the MonoILOffsetInfo array.
	(mono_debug_make_symbols): Don't open the file or call as, this is done in the
	backend code.

	* jit.c (main): Added "--dwarf-plus" command line option to use the new
	MONO_DEBUG_FORMAT_DWARF2_PLUS debugging format.

svn path=/trunk/mono/; revision=3260
2002-03-21 11:05:08 +00:00
Dietmar Maurer 579f146c9d avoid cyclic dependency in CEE_LDFTN
svn path=/trunk/mono/; revision=3259
2002-03-21 10:58:26 +00:00
Dietmar Maurer 2115ca92ac 2002-03-21 Dietmar Maurer <[email protected]>
* AsyncResult.cs: impl.

svn path=/trunk/mcs/; revision=3258
2002-03-21 10:54:50 +00:00
Dick Porter 0e7a3aabca 2002-03-21 Dick Porter <[email protected]>
* semaphores.c: Fix a problem when waiting for one or more
	semaphores, and another semaphore is Released (all waiting
	semaphores assumed they were signalled)

svn path=/trunk/mono/; revision=3257
2002-03-21 10:33:49 +00:00
Dietmar Maurer 5ae7829679 remove mono_jit_abort
svn path=/trunk/mono/; revision=3256
2002-03-21 10:16:49 +00:00
John Barnette e68b56cca5 Initial revision.
svn path=/trunk/mcs/; revision=3255
2002-03-21 09:56:06 +00:00
Dietmar Maurer 4e59f1aec4 *** empty log message ***
svn path=/trunk/mono/; revision=3254
2002-03-21 09:00:57 +00:00
Martin Baulig 6406e10e85 2002-03-21 Martin Baulig <[email protected]>
* debug-symfile.[ch]: New files to handle debugging information
	files. There's also support to dynamically update these symbol
	files to include machine dependent information.

svn path=/trunk/mono/; revision=3253
2002-03-21 08:51:47 +00:00
Martin Baulig 70b785b756 2002-03-21 Martin Baulig <[email protected]>
* configure.in: Added check for <elf.h>.

svn path=/trunk/mono/; revision=3252
2002-03-21 08:47:16 +00:00
Dietmar Maurer 05e21e3d13 2002-03-21 Dietmar Maurer <[email protected]>
* jit.c (usage): new option to specify maximum number of worker threads
	* delegate.c (arch_get_async_invoke): notify listeners before we call the
	asynchronous callback

svn path=/trunk/mono/; revision=3251
2002-03-21 08:45:24 +00:00
Dietmar Maurer 4676fca8f1 2002-03-21 Dietmar Maurer <[email protected]>
* delegate.c (async_invoke_abort): added support for asynchronous exceptions

svn path=/trunk/mono/; revision=3250
2002-03-21 07:40:08 +00:00
Kral Ferch 8443490912 xmltextwriter writestartdocument and writeendelement.
svn path=/trunk/mcs/; revision=3249
2002-03-21 04:28:19 +00:00
Miguel de Icaza 45e02d03bb 2002-03-21 Miguel de Icaza <[email protected]>
* test-49.cs: Improved test to excerise the coverage.

2002-03-21  Miguel de Icaza  <[email protected]>

	* driver.cs (LoadAssembly): Correctly return when all the paths
	have been tried and not before.

	* statement.cs (Switch.Emit): return the actual coverage for this
	statement (returns/not-returns)

	(Switch.SimpleSwitchEmit): Do not generate jumps to the end of the
	switch of the statement if we are the last switch section.  That
	kills two problems: try/catch problems (we used to emit an empty
	nop at the end) and switch statements where all branches would
	return.

svn path=/trunk/mcs/; revision=3248
2002-03-21 03:51:14 +00:00
Miguel de Icaza c5fc717693 Fix driver.cs bug
svn path=/trunk/mcs/; revision=3247
2002-03-21 01:35:01 +00:00
Duncan Mak 652cc3421a 2002-03-20 Duncan Mak <[email protected]>
* XmlEntityReference.cs (CloneNode): Implemented.

svn path=/trunk/mcs/; revision=3246
2002-03-20 23:01:25 +00:00
Duncan Mak 1afc7ead96 2002-03-20 Duncan Mak <[email protected]>
* XmlException.cs (Message): Implemented. We need to cache the
	message string because SystemException doesn't expose 'message'
	from Exception.

	* XmlText.cs (Value): Added in missing the Value property.

2002-03-20  Duncan Mak  <[email protected]>

	* XmlAttribute.cs (CloneNode): Implemented.

	* XmlDocumentFragment.cs (CloneNode): Implemented.

	* XmlElement.cs (CloneNode): Implemented.

svn path=/trunk/mcs/; revision=3245
2002-03-20 22:51:09 +00:00
Dietmar Maurer 6f7db8dfa6 2002-03-20 Dietmar Maurer <[email protected]>
* threads.c (mono_thread_create): new function to create thread
	from C

svn path=/trunk/mono/; revision=3244
2002-03-20 15:07:11 +00:00
Martin Baulig 8276591ced 2002-03-20 Martin Baulig <[email protected]>
* IAssemblerWriter.cs: New interface.

	* AssemblerWriterI386.cs: New class.

	* MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
	platform and assembler independent.

svn path=/trunk/mcs/; revision=3243
2002-03-20 14:50:06 +00:00
Dietmar Maurer 46ee13f26d 2002-03-20 Dietmar Maurer <[email protected]>
* delegate.c (async_invoke_thread): support for domains
	(async_invoke_thread): create workers only when needed

svn path=/trunk/mono/; revision=3242
2002-03-20 14:28:10 +00:00
Martin Baulig d85511324c 2002-03-20 Martin Baulig <[email protected]>
* README.relocation-table: Updated documentation.

	* MonoDwarfFileWriter.cs: Improved line number output.

svn path=/trunk/mcs/; revision=3241
2002-03-20 13:48:50 +00:00
Martin Baulig b6f171bb8d 2002-03-20 Martin Baulig <[email protected]>
* SymbolToken.cs (GetToken): Implemented.

svn path=/trunk/mcs/; revision=3240
2002-03-20 13:44:35 +00:00
Martin Baulig e1d2c32adf 2002-03-20 Martin Baulig <[email protected]>
* ModuleBuilder.cs (GetSymbolWriter): New internal function. Dynamically
	loads the default symbol writer, catch all possible exceptions and return
	null on failure.
	(ModuleBuilder): Added `bool emitSymbolInfo' argument to this internal
	constructor; if set, call GetSymbolWriter ().
	(GetSymWriter): Implemented.

	* LocalBuilder.cs (LocalBuilder): Added ISymbolWriter argument to this
	internal method.
	(SetLocalSymInfo): Implemented, call ISymbolWriter.DefineLocalVariable ()
	if the symbol writer is not null.

	* ILGenerator.cs (ILGenerator): Call ModuleBuilder.GetSymWriter () to get
	and store the symbol writer.
	(DeclareLocal): Pass the symbol writer to LocalBuilder's constructor.
	(MarkSequencePoint): Implemented, call ISymbolWriter.DefineSequencePoints ()
	if the symbol writer is not null.

	* AssemblyBuilder.cs (DefineDynamicModule): Pass the `bool emitSymbolInfo'
	to ModuleBuilder's constructor.

svn path=/trunk/mcs/; revision=3239
2002-03-20 13:42:21 +00:00
Martin Baulig 4f30aa5593 2002-03-20 Martin Baulig <[email protected]>
* ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.

	* MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.

svn path=/trunk/mcs/; revision=3238
2002-03-20 13:23:58 +00:00
Martin Baulig 35a9135704 2002-03-20 Martin Baulig <[email protected]>
* icall.c (ves_icall_InternalInvoke): Create a new object if the
	method is a constructor.
	(icall_map): Added "System.Reflection.MonoCMethod::InternalInvoke",
	points to ves_icall_InternalInvoke().

svn path=/trunk/mono/; revision=3237
2002-03-20 13:13:46 +00:00
Dietmar Maurer 9e2794c21c added some papers
svn path=/trunk/mono/; revision=3236
2002-03-20 12:18:31 +00:00
Dan Lewis 2bc30b5b20 2002-03-29 Dan Lewis <[email protected]>
* io.h, io.c, uglify.h: added MoveFile, CopyFile, CreateDirectory,
	RemoveDirectory, GetFileAttributes, GetFileAttributesEx

svn path=/trunk/mono/; revision=3235
2002-03-20 12:07:20 +00:00
Dietmar Maurer f75d8012bd added a list of books and papers
svn path=/trunk/mono/; revision=3234
2002-03-20 11:39:05 +00:00
Dietmar Maurer 5bbce0457d impl. MonoAsyncResult
svn path=/trunk/mcs/; revision=3233
2002-03-20 11:08:05 +00:00
Dietmar Maurer c8baa169a6 support for BeginInvoke/EndInvoke
svn path=/trunk/mono/; revision=3232
2002-03-20 08:30:06 +00:00
Dan Lewis 5b91c756f1 2002-03-20 Dan Lewis <[email protected]>
* file-io.c: Flush shouldn't throw exceptions.

svn path=/trunk/mono/; revision=3231
2002-03-20 06:32:25 +00:00
Duncan Mak ccf2b200ff 2002-03-19 Duncan Mak <[email protected]>
* XmlNotation.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3230
2002-03-19 22:39:03 +00:00
Duncan Mak 38ef701a8f 2002-03-19 Duncan Mak <[email protected]>
* XmlAttribute.cs (CloneNode): First crack at the CloneNode method.

	* XmlCDataSection.cs (CloneNode): Implemented.

	* XmlDocumentFragment.cs: Reformatted and added the missing properties
	(InnerXml, OwnerDocument, ParentNode).  (CloneNode): Implemented.

	* XmlSignificantWhitespace.cs (CloneNode): Implemented.
	(Value) Implemented the 'get' property.

	* XmlWhitespace.cs (Module): implemented.

svn path=/trunk/mcs/; revision=3229
2002-03-19 22:20:31 +00:00
Martin Baulig 834bf18499 2002-03-20 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
	Token properties.

	* MonoDwarfFileWriter.cs: Implemented line number support.

svn path=/trunk/mcs/; revision=3228
2002-03-19 21:17:51 +00:00
Miguel de Icaza 3de783bafc Update man page
svn path=/trunk/mono/; revision=3227
2002-03-19 21:03:15 +00:00
Miguel de Icaza 7cb4179b27 2002-03-19 Miguel de Icaza <[email protected]>
* driver.cs: Add default assemblies (the equivalent to the
	Microsoft CSC.RSP file)

svn path=/trunk/mcs/; revision=3226
2002-03-19 20:42:16 +00:00
Dick Porter 63b7ca26df 2002-03-19 Dick Porter <[email protected]>
* doc/mono-build.sh:
	* doc/mono-build-w32.sh: Updated to get libgc

svn path=/trunk/mono/; revision=3224
2002-03-19 19:29:43 +00:00
Martin Baulig 034fc0046a *** empty log message ***
svn path=/trunk/mcs/; revision=3223
2002-03-19 18:49:27 +00:00
Martin Baulig 922159309f 2002-03-19 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
	New interfaces.

svn path=/trunk/mcs/; revision=3222
2002-03-19 18:49:14 +00:00
Miguel de Icaza 7bd93b89f4 Updated
svn path=/trunk/mono/; revision=3221
2002-03-19 16:31:49 +00:00
Gaurav Vaish 759e675ace 2002-03-19 Gaurav Vaish <[email protected]>
* Some bug-fixes. Thanks to the class-status been put up. Great tool.

svn path=/trunk/mcs/; revision=3220
2002-03-19 16:19:10 +00:00
Miguel de Icaza c323bcf41d Touchups
svn path=/trunk/mono/; revision=3219
2002-03-19 16:13:03 +00:00
Dan Lewis f753d2119f 2002-03-19 Dan Lewis <[email protected]>
* file-io.c: FileStream flush support; FileSetLength now
	restores file pointer.

svn path=/trunk/mono/; revision=3218
2002-03-19 16:09:03 +00:00
Miguel de Icaza 6b6eb50b15 Update site
svn path=/trunk/mono/; revision=3217
2002-03-19 15:59:13 +00:00
Miguel de Icaza aa2c54ee1f Add System.Xml.Schema from Ajay
svn path=/trunk/mcs/; revision=3216
2002-03-19 15:27:27 +00:00
Paolo Molaro 8e5332365a Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <[email protected]>
* Array.cs: move error handling in the catch block.
	* MulticastDelegate.cs: remove == and != operators that were
	removed with the delegate changes (when you add stuff, please do not
	remove existing functionality!).
	* Type.cs: if a property is not found in a type, search for it
	in the parent types, too.

svn path=/trunk/mcs/; revision=3215
2002-03-19 13:31:30 +00:00
Paolo Molaro 40946dd7d6 Tue Mar 19 18:17:21 CET 2002 Paolo Molaro <[email protected]>
* class.c: set image for pointer classes.

svn path=/trunk/mono/; revision=3214
2002-03-19 13:27:09 +00:00
Paolo Molaro e0ae7ea880 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <[email protected]>
* dis-cil.c: use unsigned for variables.

svn path=/trunk/mono/; revision=3213
2002-03-19 13:25:59 +00:00
Dan Lewis 543604f8f9 2002-03-19 Dan Lewis <[email protected]>
* io.h, io.c, events.c, mutexes.c, semaphores.c, sockets.c,
	threads.c, io.c: added flush method to handles.

	* io.c: FlushFileBuffers() and FindFirstFile() functions.

svn path=/trunk/mono/; revision=3212
2002-03-19 12:51:56 +00:00
Martin Baulig 519ba72b7e 2002-03-19 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
	a string.

svn path=/trunk/mcs/; revision=3211
2002-03-19 12:39:39 +00:00
Jason Diamond 9926a1f825 Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
svn path=/trunk/mcs/; revision=3210
2002-03-19 12:00:58 +00:00
Jason Diamond f2731147a6 Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
svn path=/trunk/mcs/; revision=3209
2002-03-19 11:59:07 +00:00
Martin Baulig ed8dbf6f66 More work here ....
svn path=/trunk/mcs/; revision=3208
2002-03-19 11:55:07 +00:00
Martin Baulig f7d11a6dc6 2002-03-19 Martin Baulig <[email protected]>
* StreamWriter.cs (StreamWriter (string)): The default is to override
	the file, not to append to it.
	(StreamWriter (string path, bool append)): When appending, seek to the
	end of the file, otherwise truncate the file to zero length.
	(Dispose (bool)): Close the internalStream.
	(Flush): Flush the interalStream.
	(Write (char[], int, int)): Flush the internalStream in auto-flush-mode.

svn path=/trunk/mcs/; revision=3207
2002-03-19 11:54:26 +00:00
Nick Drochak 519d9b7ec3 2002-03-20 Nick Drochak <[email protected]>
* corlib_test.build: On 'clean' remove all the dll's and pdb's

svn path=/trunk/mcs/; revision=3206
2002-03-19 11:40:16 +00:00
Dan Lewis ac905b63b5 2002-03-19 Dan Lewis <[email protected]>
* FileStream.cs: Flush buffer before FileSetLength.

svn path=/trunk/mcs/; revision=3205
2002-03-19 09:22:57 +00:00
Nick Drochak 9f0e2e43ef 2002/03/19 Nick Drochak <[email protected]>
* sysmath.c: Forgot one.

svn path=/trunk/mono/; revision=3204
2002-03-19 04:43:52 +00:00
Nick Drochak f8b7e978d3 2002/03/19 Nick Drochak <[email protected]>
* corlib_test.build: Re-include tests into the build.

svn path=/trunk/mcs/; revision=3203
2002-03-19 03:34:54 +00:00
Miguel de Icaza c366fe8d9d 2002-03-19 Miguel de Icaza <[email protected]>
* driver.cs: Implement --recurse for Mike.

svn path=/trunk/mcs/; revision=3202
2002-03-19 03:30:12 +00:00
Miguel de Icaza 9fca53343e Update man page with --recurse docs
svn path=/trunk/mono/; revision=3201
2002-03-19 03:27:36 +00:00
Miguel de Icaza 9d23c69fb0 2002-03-19 Miguel de Icaza <[email protected]>
* driver.cs (SplitPathAndPattern): Small bug fix, I was not
	correctly splitting out the paths.

svn path=/trunk/mcs/; revision=3200
2002-03-19 02:45:35 +00:00
Miguel de Icaza 455e6c8710 2002-03-18 Miguel de Icaza <[email protected]>
* sysmath.c: Avoid redefining existing names.

svn path=/trunk/mono/; revision=3199
2002-03-19 02:31:44 +00:00
Miguel de Icaza 897e60e311 Add new tests
svn path=/trunk/mcs/; revision=3198
2002-03-19 00:23:14 +00:00
Miguel de Icaza b7fbd5e9c8 2002-03-18 Miguel de Icaza <[email protected]>
* interface.cs (Interface.PopulateProperty): Instead of using
	`parent' as the declaration space for the set parameters, use
	`this'

	* support.cs (InternalParameters): InternalParameters constructor
	takes a DeclSpace instead of a TypeContainer.

	* expression.cs (ArrayCreation.EmitDynamicInitializers): If value
	types are being initialized, load the address of it before calling
	the function.

	(New): Provide a mechanism to disable the generation of local
	value type temporaries when the caller will be providing us with
	an address to store it.

	(ArrayCreation.EmitDynamicInitializers): Use it.

Fixes two bugs reported on Bugzilla

svn path=/trunk/mcs/; revision=3197
2002-03-19 00:21:56 +00:00
Jason Diamond 4a4d210198 MoveToElement after reading attributes instead of restoring the element properties early.
svn path=/trunk/mcs/; revision=3196
2002-03-18 23:59:30 +00:00
Kral Ferch d7645f64a5 namespace and prefix support in XmlTextWriter
svn path=/trunk/mcs/; revision=3195
2002-03-18 22:42:13 +00:00
Kral Ferch f1be9d4e45 fix for Mike Kestner.
svn path=/trunk/mcs/; revision=3194
2002-03-18 21:47:37 +00:00
Martin Baulig 82b6dfc00a 2002-03-19 Martin Baulig <[email protected]>
This is an implementation of the System.Diagnostics.SymbolStore.SymbolWriter
	interface. It's still work in progress and not yet used anywhere.

	There is some preliminary documentation in the source files and some more
	docu in the README and README.relocation-table files.

	* IMonoSymbolWriter.cs: New file.
	* MonoDwarfFileWriter.cs: New file.
	* MonoSymbolDocumentWriter.cs: New file.
	* MonoSymbolWriter.cs: New file.

	* README, README.relocation-table: Documentation.

svn path=/trunk/mcs/; revision=3193
2002-03-18 20:11:28 +00:00
Dan Lewis 0000e6f6a0 2002-03-18 Dan Lewis <[email protected]>
* Math.cs, Linux.cs: changed to use icall instead of PAL.

svn path=/trunk/mcs/; revision=3192
2002-03-18 16:55:15 +00:00
Dan Lewis 8cb25721d0 2002-03-18 Dan Lewis <[email protected]>
* sysmath.c, sysmath.h, icall.c, Makefile.am: math routines now
	handled by runtime as icall rather than dllimport from libm.so
	* file-io.c, file-io.h: fixed handle argument type.

svn path=/trunk/mono/; revision=3191
2002-03-18 16:49:45 +00:00
Dick Porter 48d00935c8 2002-03-18 Dick Porter <[email protected]>
* configure.in: Only look for libgc on the system.  Default to not
	using GC at all, because it doesn't work with the jit.

2002-03-18  Dick Porter  <[email protected]>

	* reflection.c (mono_image_get_type_info): rename interface to
	iface, because of "#define interface struct" on windows.

svn path=/trunk/mono/; revision=3190
2002-03-18 15:17:45 +00:00
Dietmar Maurer a43974513a new test for async invoke
svn path=/trunk/mono/; revision=3189
2002-03-18 13:27:25 +00:00
Dietmar Maurer 3a8f238773 new tests for NaN
svn path=/trunk/mono/; revision=3188
2002-03-18 13:25:36 +00:00
Dietmar Maurer 02551211b1 2002-03-18 Dietmar Maurer <[email protected]>
* Double.cs: added check for NaN (Bug [22082])

svn path=/trunk/mcs/; revision=3187
2002-03-18 13:17:26 +00:00
Nick Drochak 23a6fa3b80 2002-03-19 Nick Drochak <[email protected]>
* Enum.cs (Equals): check for null and throw if it is.
	* Enum.cs (Format): check for null parameters and throw if necessary.
	This method still needs more argument checking.

svn path=/trunk/mcs/; revision=3186
2002-03-18 11:47:15 +00:00
Nick Drochak f4278ce52d Flush
svn path=/trunk/mcs/; revision=3185
2002-03-18 09:30:13 +00:00
Nick Drochak dbfd772c47 2002-03-18 Nick Drochak <[email protected]>
* corlib_test.build: build RunTests.corlib.exe with only mono class
	libs. This tells what we are missing to run the tests.

svn path=/trunk/mcs/; revision=3184
2002-03-18 09:19:29 +00:00
John Barnette ecfc6585b6 Fixed extremely trivial typo. It was bugging me.
svn path=/trunk/mono/; revision=3183
2002-03-18 09:06:44 +00:00
Dietmar Maurer f464d6580a impl. more opcodes
svn path=/trunk/mono/; revision=3182
2002-03-18 08:03:01 +00:00
Nick Drochak 69e3305398 2002/03/18 Nick Drochak <[email protected]>
* ByteTest.cs:
	* Int64Test.cs:
	* SByteTest.cs: Do not hard code the "$" as the currency symbol to
	use for Parse tests. This isn not really the fix we need. These
	number formats vary wildly depending on the culture the system
	runs with.  We need a much better strategy here for testing this.
	* Int32Test.cs: Use #if NOTYET-#endif to disable a test.  This removes
	an annoying compile warning.

svn path=/trunk/mcs/; revision=3181
2002-03-18 05:30:10 +00:00
Dietmar Maurer 54eeaf603a bug fix in Enum::Equals
svn path=/trunk/mcs/; revision=3180
2002-03-18 05:27:19 +00:00
Nick Drochak 12d812573c 2002/03/18 Nick Drochak <[email protected]>
* corlib_test.build: disable running of NUnit tests against mono
	corlib.  There are so many icalls now, that these tests need
	to be run inside mint and mono.  Will change this soon to run
	the tests using both.  It still runs the tests against the mscorlib
	to validate the tests themselves.

svn path=/trunk/mcs/; revision=3179
2002-03-18 05:25:48 +00:00
Dietmar Maurer f927068345 new test for enum equals
svn path=/trunk/mono/; revision=3178
2002-03-18 05:25:09 +00:00
Dietmar Maurer ee1efbccbd *** empty log message ***
svn path=/trunk/mono/; revision=3177
2002-03-18 04:48:12 +00:00
Kral Ferch 7472ae9d5d More XmlTextWriter and node WriteTo.
svn path=/trunk/mcs/; revision=3176
2002-03-18 03:11:17 +00:00
Kral Ferch 5b7629fbf3 Work on XmlDocument and XmlTextWriter
svn path=/trunk/mcs/; revision=3175
2002-03-17 20:36:20 +00:00
Miguel de Icaza d120a5e8db Disable my new code
svn path=/trunk/mono/; revision=3174
2002-03-17 17:40:34 +00:00
Miguel de Icaza 7c1dc0f233 For 0.10, use mint instead of mono
svn path=/trunk/mono/; revision=3173
2002-03-17 17:22:29 +00:00
Miguel de Icaza 147f363081 Update error listing
svn path=/trunk/mcs/; revision=3172
2002-03-17 17:17:38 +00:00
Miguel de Icaza 145454d626 2002-03-17 Miguel de Icaza <[email protected]>
* configure.in: Add support for building the included boehm GC.

svn path=/trunk/mono/; revision=3171
2002-03-17 17:16:16 +00:00
Mike Kestner 4b498e63e4 2002-03-17 Mike Kestner <[email protected]>
* ASCIIEncodingTest.cs : New suite for ASCIIEncoding.
	* AllTests.cs : Add the new suite.

2002-03-17  Mike Kestner  <[email protected]>

	* ASCIIEncoding.cs: Implement all the overridden methods. No longer
	  dependent on iconv icalls.
	* Encoding.cs: Fix count bugs in GetBytes and GetChars. Add virtual
	  to GetBytes.

svn path=/trunk/mcs/; revision=3170
2002-03-17 16:44:37 +00:00
Miguel de Icaza 048cb31b3a Flush
svn path=/trunk/mono/; revision=3169
2002-03-17 15:25:46 +00:00
Miguel de Icaza a1c22487e1 2002-03-17 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitArguments): Only probe for array
	property if there is more than one argument.  Sorry about that.

svn path=/trunk/mcs/; revision=3168
2002-03-17 13:48:12 +00:00
Miguel de Icaza 6d1dbb2602 Small changes
svn path=/trunk/mcs/; revision=3167
2002-03-17 12:48:15 +00:00
Miguel de Icaza de994bf91b Expand test
svn path=/trunk/mcs/; revision=3166
2002-03-17 12:47:41 +00:00
Nick Drochak aca9c8bcbd 2002-03-18 Nick Drochak <[email protected]>
* DoubleTest.cs:
	* EnumTest.cs: Add unique identifier to Assert()'s. Needed to find
	which one was faling on Linux.

svn path=/trunk/mcs/; revision=3165
2002-03-17 12:23:40 +00:00
Nick Drochak 3edb1dd10a 2002-03-18 Nick Drochak <[email protected]>
* Double.cs: Explicitly handle comparisons in CompareTo() for
	Positive/Negative Infinity and NaN. Unit Test now passes on Linux.

	* Enum.cs(CompareTo): Check types of values before trying to compare.
	Throw exceptions if types are invalid or don't match.

svn path=/trunk/mcs/; revision=3164
2002-03-17 12:20:28 +00:00
Nick Drochak e878633410 2002-03-18 Nick Drochak <[email protected]>
* Double.cs: Explicitly handle comparisons in CompareTo() for
	Positive/Negative Infinity and NaN. Unit Test now passes on Linux.

svn path=/trunk/mcs/; revision=3163
2002-03-17 11:38:17 +00:00
Nick Drochak 7c79aebc0b 2002-03-18 Nick Drochak <[email protected]>
* DoubleTest.cs: Add unique identifier to Assert()'s. Needed to find
	which one was faling on Linux.

svn path=/trunk/mcs/; revision=3162
2002-03-17 11:35:41 +00:00
Nick Drochak cad03e8f21 2002-03-17 Nick Drochak <[email protected]>
* makefile: Do not remove the NAnt.exe on a 'make clean'.  This would
	prevent other cleans from happening that need nant.

svn path=/trunk/mcs/; revision=3161
2002-03-17 11:07:49 +00:00
Nick Drochak da2e69c942 2002-03-17 Nick Drochak <[email protected]>
* class.xml: Added class I stubbed out:
	ApplicationDirectoryMembershipCondition

svn path=/trunk/mono/; revision=3160
2002-03-17 09:54:50 +00:00
Nick Drochak 2f77b8c11a 2002-03-17 Nick Drochak <[email protected]>
* ApplicationDirectoryMembershipCondition.cs: New file (stub)

svn path=/trunk/mcs/; revision=3159
2002-03-17 09:50:21 +00:00
Martin Baulig 0c2f71dab7 A few minor fixes.
svn path=/trunk/mono/; revision=3158
2002-03-17 07:33:31 +00:00
Gaurav Vaish 222c976c74 2002-03-17 Gaurav Vaish <[email protected]>
* library.build: Uncommented System.Web tag

* System.Web.build: Did the same. Now does not exclude System.Web.UI.WebControls.


GOOD NEWS! N-JOY!

svn path=/trunk/mcs/; revision=3157
2002-03-17 04:47:45 +00:00
Gaurav Vaish ea05be005d 2002-03-17 Gaurav Vaish <[email protected]>
* Yups! Another milestone reached. System.Web assembly build successfully.

svn path=/trunk/mcs/; revision=3156
2002-03-17 04:44:47 +00:00
Miguel de Icaza ec954abb02 2002-03-17 Miguel de Icaza <[email protected]>
* class.cs (Invocation.EmitArguments): Fix to emit arguments for
	empty param arrays.

	* class.cs (Method.LabelParameters): Fix incorrect code path that
	prevented the `ParamArrayAttribute' from being applied to the
	params attribute.

svn path=/trunk/mcs/; revision=3155
2002-03-17 02:57:01 +00:00
Martin Baulig 78969f713b 2002-03-17 Martin Baulig <[email protected]>
* debug.c (mono_debug_open_assembly): Call mono_debug_get_type() on all
	base types.

	* debug-dwarf2.c: Added support for strings and arrays.

svn path=/trunk/mono/; revision=3154
2002-03-16 22:52:03 +00:00
Martin Baulig 0a7cdcd9bf 2002-03-17 Martin Baulig <[email protected]>
* debug.c (mono_debug_get_type): Recursively call this for all function members
	of a class type.
	(mono_debug_add_method): Don't mangle function names, this must be done by the
	debugger backend if the debugging format needs mangled names.

	* debug-dwarf2.c: Improved support for classes, added member functions.

svn path=/trunk/mono/; revision=3153
2002-03-16 19:19:35 +00:00
Miguel de Icaza 52b9620524 Add new test
svn path=/trunk/mcs/; revision=3152
2002-03-16 17:39:05 +00:00
Miguel de Icaza 401615dae0 2002-03-16 Miguel de Icaza <[email protected]>
* typemanager.cs: Make the assemblies array always be non-null
	(empty, but non-null)

	* tree.cs (RecordDecl): New function that abstracts the recording
	of names.  This reports error 101, and provides a pointer to the
	previous declaration.  Fixes a crash in the compiler.

svn path=/trunk/mcs/; revision=3151
2002-03-16 16:22:43 +00:00
Martin Baulig 294e6e92aa 2002-03-16 Martin Baulig <[email protected]>
* debug.c (mono_debug_get_type): Recursively call this for all members and
	parent classes of a class type.

	* debug-dwarf2.c: Added basic support for classes. Set source language to C++
	since GDB doesn't like Java very much.

svn path=/trunk/mono/; revision=3150
2002-03-16 15:12:37 +00:00
Miguel de Icaza 0657e1f324 2002-03-16 Miguel de Icaza <[email protected]>
* cs-parser.jay (constructor_declaration): Update to new grammar,
	and provide a constructor_body that can be empty.

svn path=/trunk/mcs/; revision=3149
2002-03-16 15:03:22 +00:00
Paolo Molaro a0a3ecd4f7 Use $(srcdir) in check.
svn path=/trunk/mono/; revision=3148
2002-03-16 14:58:17 +00:00
Miguel de Icaza cc2a3182a4 Flush a set of pending changes:
2002-02-28  Miguel de Icaza  <[email protected]>

	* Stream.cs (NullStream): Do not track position, this beast does
	nothing in practice.

2002-03-14  Miguel de Icaza  <[email protected]>

	* Array.cs: Add some extra debugging information.

svn path=/trunk/mcs/; revision=3147
2002-03-16 14:50:53 +00:00
Miguel de Icaza b2e8911e2b web site updates
svn path=/trunk/mono/; revision=3146
2002-03-16 14:49:05 +00:00
Paolo Molaro 678ca86b52 Sat Mar 16 19:18:38 CET 2002 Paolo Molaro <[email protected]>
* class.c, class.h: rename and export mono_ptr_class_get().
	* metadata.c: support MONO_TYPE_ARRAY in MonoType compare.
	* reflection.c, reflection.h, icall.c: better/saner type name
	parsing and MonoType creation. Handle MONO_TYPE_ARRAY in
	method signatures.

svn path=/trunk/mono/; revision=3145
2002-03-16 14:39:43 +00:00
Paolo Molaro 227d5b2ad8 Sat Mar 16 19:11:47 CET 2002 Paolo Molaro <[email protected]>
* ModuleBuilder.cs: handle modified types correctly.

svn path=/trunk/mcs/; revision=3144
2002-03-16 14:39:43 +00:00
Paolo Molaro f60af6facf Sat Mar 16 19:12:57 CET 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: increase default allocated size for trampolines
	and assert on overflow.

svn path=/trunk/mono/; revision=3143
2002-03-16 14:37:28 +00:00
Paolo Molaro 6fedeee028 Sat Mar 16 19:15:18 CET 2002 Paolo Molaro <[email protected]>
* interp.c: restore frame on return from unmanaged calls.
	Add support for continuing execution up to x IL insn.
	Fix exception handling when an exception is raised in the catch
	handler of the same method that issued the first one.

svn path=/trunk/mono/; revision=3142
2002-03-16 14:32:32 +00:00
Paolo Molaro c1cc5bd006 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <[email protected]>
* dump.c: handle TypeSpec token in memberref table dump.

svn path=/trunk/mono/; revision=3141
2002-03-16 14:32:13 +00:00
Martin Baulig a55c4dd0cc 2002-03-16 Martin Baulig <[email protected]>
* debug-dwarf2.c: Added support for enums.

svn path=/trunk/mono/; revision=3140
2002-03-16 09:07:45 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish d92109771d 2002-03-16 Gaurav Vaish <[email protected]>
* ChangeLog: Informed about HttpRuntime::FormatResourceString(...) stubs.

svn path=/trunk/mcs/; revision=3138
2002-03-16 00:36:22 +00:00
Gaurav Vaish c65072d258 2002-03-16 Gaurav Vaish <[email protected]>
* Stubbed some methods: FormatResourceString(...) in compliance with
    several forms of String.Format(...) available.

svn path=/trunk/mcs/; revision=3137
2002-03-16 00:33:53 +00:00
Christopher Podurgiel 144f4a2df4 Changed the Namespace on some Enums from mono.System.Data to System.Data
svn path=/trunk/mcs/; revision=3136
2002-03-15 23:50:19 +00:00
Miguel de Icaza 87d103649a 2002-03-15 Miguel de Icaza <[email protected]>
* driver.cs: Add support for --resources.

	* expression.cs: (FetchGetMethod, FetchAddressMethod, EmitAssign):
	Make all types for the various array helper methods be integer.

	* ecore.cs (Expression.ConvertNumericExplicit): Pass the
	CheckState to ConvCast.

	(ConvCast): Now it takes a `checked' state argument, to avoid
	depending on the emit context for the conversion, and just using
	the resolve time setting.

	* expression.cs (ArrayCreation.EmitArrayArguments): New function,
	instead of Invocation.EmitArguments.  We do not emit the original
	arguments, instead we emit those which have been converted to
	unsigned int expressions.

svn path=/trunk/mcs/; revision=3135
2002-03-15 19:30:03 +00:00
Duncan Mak b1b4a4b438 2002-03-15 Duncan Mak <[email protected]>
* XmlEntity.cs: Added to CVS. Need to implement BaseURI and
	InnerText once I know what they do.


	* XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
	that we can properly chain constructors.
	(CloneNode): implemented.
	(WriteContentTo): Removed MonoTODO attribute as this method has no
	effect in this class.

svn path=/trunk/mcs/; revision=3134
2002-03-15 19:29:58 +00:00
Miguel de Icaza 1b2cc7767c Document --resource
svn path=/trunk/mono/; revision=3133
2002-03-15 19:24:19 +00:00
Duncan Mak 9d8e6b51e9 2002-03-15 Duncan Mak <[email protected]>
* XmlProcessingInstruction.cs (Value): Added the missing Set
	block.
	(InnerText): Added in, but not implemented.

svn path=/trunk/mcs/; revision=3132
2002-03-15 18:48:31 +00:00
Martin Baulig 47d250d12c 2002-03-15 Martin Baulig <[email protected]>
* debug.c (mono_debug_get_type): Recursively call this for all members
	of a struct type.

	* debug-dwarf.c: Added support for structs.

svn path=/trunk/mono/; revision=3131
2002-03-15 18:44:07 +00:00
Miguel de Icaza c1d0ae8f1b nice bug fixes.
2002-03-15  Miguel de Icaza  <[email protected]>

	* statement.cs (Block.EmitMeta): Drop tracking of indexes.

	* codegen.cs: ditto.

	* expression.cs (LocalVariableReference): Drop the use of the
	Store function that depended on the variable index.

	* statement.cs (VariableInfo): Drop the `Idx' property from this
	class, as this is not taking into account the indexes for
	temporaries tat we generate during the execution, getting the
	indexes wrong.

	* class.cs: First emit class initializers, then call the parent
	constructor.

svn path=/trunk/mcs/; revision=3130
2002-03-15 18:12:48 +00:00
John Barnette c4bb541576 Initial release.
svn path=/trunk/mono/; revision=3129
2002-03-15 15:20:40 +00:00
Dan Lewis 73010d4dcd Moved glob code into the corlib.
svn path=/trunk/mcs/; revision=3128
2002-03-15 15:07:33 +00:00
Nick Drochak 7ed16fff73 2002-03-15 Nick Drochak <[email protected]>
* Array.cs: Added IList and IEnumerable.

svn path=/trunk/mcs/; revision=3127
2002-03-15 09:38:32 +00:00
Dietmar Maurer 04bbd9582f documentation updates
svn path=/trunk/mono/; revision=3126
2002-03-15 08:23:34 +00:00
Dietmar Maurer f1a186b656 2002-03-15 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_create_jit_trampoline): adapt save/restore LMF
	to new MonoLMF layout

svn path=/trunk/mono/; revision=3125
2002-03-15 06:17:36 +00:00
Dietmar Maurer a339ff15f8 fixed section numbers
svn path=/trunk/mono/; revision=3124
2002-03-15 04:09:44 +00:00
Kral Ferch 857e4d7b40 Implemented WriteCData and WriteComment.
svn path=/trunk/mcs/; revision=3123
2002-03-15 03:21:50 +00:00
Miguel de Icaza c987b196d9 2002-03-15 Miguel de Icaza <[email protected]>
* expression.cs (Binary): Fix opcode emision.
	(UnaryMutator.EmitCode): Support checked code generation

svn path=/trunk/mcs/; revision=3122
2002-03-15 02:33:41 +00:00
Miguel de Icaza 860f0d89ed 2002-03-15 Miguel de Icaza <[email protected]>
* ecore.cs (MemberLookup): TypeManager.FindMembers will return
	matches for events for both the Static and Instance scans,
	pointing to the same element.   Fix that.

svn path=/trunk/mcs/; revision=3121
2002-03-15 01:53:28 +00:00
Kral Ferch cab7abeb74 initial checkin.
svn path=/trunk/mcs/; revision=3120
2002-03-15 01:48:10 +00:00
Kral Ferch 7da5591989 keeping solution up to date.
svn path=/trunk/mcs/; revision=3119
2002-03-15 01:47:10 +00:00
Nick Drochak ab056d8061 2002/03/15 Nick Drochak <[email protected]>
* DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
	This code seemed to be copied from somewhere, and it was close,
	but didn't match the docs.  This was the last bit needed to get
	NAnt to compile with our class libs.

svn path=/trunk/mcs/; revision=3118
2002-03-15 01:46:29 +00:00
Nick Drochak a82471d035 2002/03/15 Nick Drochak <[email protected]>
* makefile: Compile a version of NAnt with Mono's libs.  It only does
	this if you 'make NAnt_mono.exe'. Of course, right now the resulting
	exe probably is not going to work yet becuase of the immature class
	libs.

svn path=/trunk/mcs/; revision=3117
2002-03-15 01:43:33 +00:00
Kral Ferch 83dd3960d0 initial checkin.
svn path=/trunk/mcs/; revision=3116
2002-03-15 01:41:17 +00:00
Miguel de Icaza aca81ed521 2002-03-14 Miguel de Icaza <[email protected]>
* rootcontext.cs (ResolveTree): Always set the
	interface_resolve_order, because nested interfaces will be calling
	into us.

	* class.cs (GetInterfaceOrClass): Track the same resolution
	process used by TypeManager.LookupType.  This fixes the nested
	type lookups in class declarations (separate path from
	LookupType).

	(TypeContainer.DefineType): Also define nested interfaces.
	(TypeContainer.RegisterOrder): New public function used to
	register the order in which child interfaces need to be closed.

	Nested interfaces need to be closed after their parents have been
	created.

	* interface.cs (InterfaceAttr): Put all the logic for computing
	the interface attribute here.

	(DefineInterface): Register our interface order with the
	RootContext or with the TypeContainer depending on the case.


New test as well.

svn path=/trunk/mcs/; revision=3115
2002-03-15 01:19:55 +00:00
Miguel de Icaza 07fc29e038 Remove dead code
svn path=/trunk/mono/; revision=3114
2002-03-14 22:59:03 +00:00
Duncan Mak 1de3b33621 2002-03-14 Duncan Mak <[email protected]>
* XmlDocument.cs: Moved the NodeChanged EventHandler to its own
	file, and updated the callbacks to reflect the change.
	(XmlDocument): Added the NameTable constructor.
	(NameTable): Also the NameTable property.

svn path=/trunk/mcs/; revision=3113
2002-03-14 17:03:07 +00:00
Duncan Mak e34b4528d4 2002-03-14 Duncan Mak <[email protected]>
* XmlDocument.cs: Moved the NodeChanged EventHandler to its own
	file, and updated the callbacks to reflect the change.

	* XmlNodeChangedEventHandler.cs: Added, replacing the version that
	was in XmlDocument.cs. It has two arguments now (object,
	EventArgs) , instead of one (object).

svn path=/trunk/mcs/; revision=3112
2002-03-14 16:55:21 +00:00
Miguel de Icaza 2850a7a4a6 2002-03-14 Miguel de Icaza <[email protected]>
* UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
	NonCLSCompliant.

svn path=/trunk/mcs/; revision=3111
2002-03-14 16:53:24 +00:00
Duncan Mak b9882a83e4 2002-03-14 Duncan Mak <[email protected]>
* Validation.cs: Removed, replaced by ValidationType.cs.

svn path=/trunk/mcs/; revision=3110
2002-03-14 16:35:20 +00:00
Dietmar Maurer 8347ec0268 more docu
svn path=/trunk/mono/; revision=3109
2002-03-14 14:47:29 +00:00
Dietmar Maurer dadff5c4f0 made mono_jit_info_table domain dependent
svn path=/trunk/mono/; revision=3108
2002-03-14 13:33:26 +00:00
Dietmar Maurer 41eaaf4868 * class.c (mono_class_init): removed hardcoded GHC_SLOT
svn path=/trunk/mono/; revision=3107
2002-03-14 12:04:02 +00:00
Dietmar Maurer cc78a476d4 remove wrong assertion
svn path=/trunk/mono/; revision=3106
2002-03-14 11:45:41 +00:00
Dietmar Maurer 0443f7979e * emit-x86.c: (arch_create_native_wrapper): free allocated strings, bug fixes
svn path=/trunk/mono/; revision=3105
2002-03-14 11:37:10 +00:00
Nick Drochak f8d2c1b749 2002-03-14 Nick Drochak <[email protected]>
* ArrayList.cs (FixedSize(ArrayList)): should return an ArrayList. The
	other FixedSize() methods returns an IList.

svn path=/trunk/mcs/; revision=3104
2002-03-14 10:44:31 +00:00
Dietmar Maurer 7a8a86c3b9 2002-03-14 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_create_native_wrapper): new code to generate
	wrappers for calling native functions.

	* icall.c (ves_icall_InternalInvoke): impl.

svn path=/trunk/mono/; revision=3103
2002-03-14 09:52:53 +00:00
Dietmar Maurer d4b18d1e82 2002-03-14 Dietmar Maurer <[email protected]>
* Delegate.cs (Equals): also compare method_ptr
	(GetHashCode): returm method_ptr as hash

	* MonoMethod.cs (Invoke): call InternalInvoke

	* MethodBase.cs (Invoke): call virtual invoke function

svn path=/trunk/mcs/; revision=3102
2002-03-14 09:45:12 +00:00
Kral Ferch 909f666062 start of XmlTextWriter
svn path=/trunk/mcs/; revision=3101
2002-03-14 04:59:29 +00:00
Duncan Mak cfe054f7d0 2002-03-14 Duncan Mak <[email protected]>
* Validation.cs: Removed, replaced by ValidationType.cs.

svn path=/trunk/mcs/; revision=3100
2002-03-14 04:38:07 +00:00
Duncan Mak f3ad50c287 2002-03-14 Duncan Mak <[email protected]>
* Validation.cs: Removed, replaced by ValidationType.cs.

	* ValidationType.cs: Added.

svn path=/trunk/mcs/; revision=3099
2002-03-14 02:46:48 +00:00
Duncan Mak 83dbcb0e9a 2002-03-14 Duncan Mak <[email protected]>
* XmlNodeChangedEventHandler.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3098
2002-03-14 01:53:43 +00:00
Duncan Mak f3473f27bc 2002-03-13 Duncan Mak <[email protected]>
* XmlException.cs: Made it [Serializable], implemented good ol'
	GetObjectData, and the serialization constructor.

svn path=/trunk/mcs/; revision=3097
2002-03-14 00:40:00 +00:00
Duncan Mak 6f0ee2a2bc 2002-03-13 Duncan Mak <[email protected]>
* XmlNamedNodeMap.cs (SetNamedItem): Reverted (added back in)
	the patch with the ReadOnly checks. "Don't doubt yourself, my
	son... you were right!"

svn path=/trunk/mcs/; revision=3096
2002-03-14 00:01:09 +00:00
Duncan Mak f3ca9709a0 2002-03-13 Duncan Mak <[email protected]>
* XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.

svn path=/trunk/mcs/; revision=3095
2002-03-13 23:26:40 +00:00
Duncan Mak f61a6104de I mis-read the docs and implemented the method the wrong way.. ;-(
2002-03-13  Duncan Mak  <[email protected]>

	* XmlNamedNodeMap.cs (SetNamedItem): implemented.

svn path=/trunk/mcs/; revision=3094
2002-03-13 22:55:01 +00:00
Duncan Mak d915a756c0 2002-03-13 Duncan Mak <[email protected]>
* XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
	(GetNamedItem (string, string)): implemented.
	(RemoveNamedItem): implemented.
	(SetNamedItem): Added check for ReadOnly and matching OwnerDocuments.

svn path=/trunk/mcs/; revision=3093
2002-03-13 22:31:55 +00:00
Duncan Mak 115d9a3da1 2002-03-13 Duncan Mak <[email protected]>
* ArrayList.cs (FixedSize): Changed the return type to IList if
	the argument is an IList.
	(Synchronized): Ditto here.

svn path=/trunk/mcs/; revision=3092
2002-03-13 20:20:21 +00:00
Martin Baulig 77ca896936 Added a few words about DWARF 2.
svn path=/trunk/mono/; revision=3091
2002-03-13 19:43:08 +00:00
Martin Baulig 54c971af13 2002-03-14 Martin Baulig <[email protected]>
* debug.c (MonoDebugFormat): New public enums specifying which debugging
	format to use.
	(mono_debug_open_file): Added MonoDebugFormat argument.
	(mono_debug_make_symbols): Don't take an argument to make it easier to call
	this function from GDB. It's now safe to call this function multiple times;
	it'll always write a complete debugging file.

	* debug.c: Splitted this file into a general part which remains in this file
	and the debugging format specific parts debug-stabs.c and debug-dwarf2.c.
	All public functions now call a corresponding format specific function.

	* debug.c: The following changes are private to debug.c:
	(AssemblyDebugInfo, MonoDebugHandle): Moved declarations to debug-private.h.
	(record_line_number, debug_generate_method_lines): New private functions.
	(mono_debug_open_ass): Renamed to mono_debug_open_assembly; this function now
	calls a debugging-format-specific function (mono_debug_open_assembly_stabs or
	mono_debug_open_assembly_dwarf2).
	(mono_debug_make_symbols): Calls mono_debug_write_assembly_stabs/dwarf2(). It's
	now safe to call this function multiple times.
	(mono_debug_get_type): New public function. This takes a `MonoClass *' and
	returns an unique index for this type. It's used to ensure that we only write
	each class once to the debugging file.
	(mono_debug_add_method, mono_debug_add_type): Store all the data in an internal
	data structure, but don't directly write to the debugging file. This is done
	later from mono_debug_write_assembly().

	* jit.c (main): Added "--dwarf" command line argument to generate DWARF 2
	debugging output. Call mono_debug_close() on cleanup if necessary.

svn path=/trunk/mono/; revision=3090
2002-03-13 19:35:46 +00:00
Martin Baulig 34e6de38f7 2002-03-14 Martin Baulig <[email protected]>
* debug-private.h: New private header file.

	* debug-stabs.c: Added the stabs type generation stuff which was
	previously in debug.c.

	* debug-dwarf.c: Started to implement type support. We're currently
	only writing this most basic types to the dwarf file, but this will
	change soon.

svn path=/trunk/mono/; revision=3089
2002-03-13 19:19:50 +00:00
Ravi Pratap M 15f7dffd38 Update test-86 some more
svn path=/trunk/mcs/; revision=3088
2002-03-13 17:36:11 +00:00
Ravi Pratap M bc1bba5399 2002-03-13 Ravi Pratap <[email protected]>
* ecore.cs (StandardConversionExists): Modify to take an Expression
	as the first parameter. Ensure we do null -> reference type conversion
	checking.

	* Everywhere : update calls accordingly, making use of MyEmptyExpr to store
	temporary Expression objects.

svn path=/trunk/mcs/; revision=3087
2002-03-13 17:30:04 +00:00
Ravi Pratap M fea968a603 2002-03-13 Ravi Pratap <[email protected]>
* test-86.cs : Add. This is to check for correct overload resolution
	with a null literal.

svn path=/trunk/mcs/; revision=3086
2002-03-13 17:29:10 +00:00
Paolo Molaro 00c2cd7044 Wed Mar 13 12:32:40 CET 2002 Paolo Molaro <[email protected]>
* interface.cs: workaround bug in method overloading resolution
	(there is already a bugzilla bug for it).

svn path=/trunk/mcs/; revision=3085
2002-03-13 07:44:38 +00:00
Paolo Molaro 0e552f3b23 Fix mispelling in --with-gc help.
svn path=/trunk/mono/; revision=3084
2002-03-13 07:32:21 +00:00
Duco Fijma ac0a52318f Removed custom format strings from System.TimeSpan, as these are not supported
by the current implementation of IntegerFormatter

svn path=/trunk/mcs/; revision=3083
2002-03-13 06:32:29 +00:00
Kral Ferch bd8a9e1008 Finished XmlNodeListChildren
svn path=/trunk/mcs/; revision=3082
2002-03-13 01:02:58 +00:00
Duncan Mak c6fbc77fe6 2002-03-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs: Reformatted the properties for better readability.

	* XmlLinkedNode.cs: Removed the awful boxy comments.

	* XmlNamedNodeMap.cs (Count):
	(Item): Implemented. Tests will be coming.

	* XmlEntityReference.cs:
	* XmlSignificantWhitespace.cs: Implemented these classes except for
	the Clone, WriteContentTo and WriteTo methods. Will have to
	investigate into these later.

svn path=/trunk/mcs/; revision=3081
2002-03-13 00:04:40 +00:00
Paolo Molaro adfebdc214 Wed Mar 13 00:26:29 CET 2002 Paolo Molaro <[email protected]>
* StringBuilder.cs: make ToString() return a interned string, this
	seems to be required to make switch on string work.

svn path=/trunk/mcs/; revision=3079
2002-03-12 19:38:39 +00:00
Paolo Molaro 5fa6ae7a10 Wed Mar 13 00:27:30 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: output the interface map table, too.

svn path=/trunk/mono/; revision=3078
2002-03-12 19:37:30 +00:00
Martin Baulig aaf7d7720c 2002-03-13 Martin Baulig <[email protected]>
* debug-stabs.c, debug-dwarf2.c: New files containing my new
	debugging code. They're now in CVS, but not yet used anywhere.

svn path=/trunk/mono/; revision=3077
2002-03-12 19:36:06 +00:00
Duncan Mak dda793d7ae 2002-03-12 Duncan Mak <[email protected]>
* EndOfStreamException.cs:
	* FileLoadException.cs:
	* FileNotFoundException.cs:
	* PathTooLongException.cs: Changed the base classes to IOException
	instead of SystemException.

	* IOException.cs: Added missing constructors.

	* MissingManifestResourceException.cs: This should inherit from
	SystemException, not Exception.

	* SiteIdentityPermissionAttribute.cs:
	* UIPermissionAttribute.cs: These should inherit from
	CodeAccessSecurityAttribute, not IsolatedStoragePermissionAttribute.

	* SecurityException.cs: Inherit from SystemException, not Exception.

	* FieldAccessException.cs:
	* MethodAccessException.cs:
	* PlatformNotSupportedException.cs: Inherit from
	MemberAccessException, not SystemException.

svn path=/trunk/mcs/; revision=3076
2002-03-12 19:25:34 +00:00
Miguel de Icaza 55cebe19cf 2002-03-12 Miguel de Icaza <[email protected]>
We could also solve this problem by having a separate path for
	performing type lookups, instead of DoResolve, we could have a
	ResolveType entry point, and only participating pieces of the
	production (simplename, deref, array) would implement this.

	* codegen.cs (EmitContext): New field OnlyLookupTypes used to
	signal SimpleName to only resolve type names and not attempt to
	resolve anything else.

	* expression.cs (Cast): Set the flag.

	* ecore.cs (SimpleName): Use the OnlyLookupTypes flag

	* Everywhere: Use ec.DeclSpace on calls to LookupType, as this
	makes the use more obvious of the DeclSpace.  The
	ec.TypeContainer.TypeBuilder is now only used to pull the
	TypeBuilder for it.

	My theory is that I can get rid of the TypeBuilder completely from
	the EmitContext, and have typecasts where it is used (from
	DeclSpace to where it matters).

	The only pending problem is that the code that implements Aliases
	is on TypeContainer, and probably should go in DeclSpace.

svn path=/trunk/mcs/; revision=3075
2002-03-12 18:48:19 +00:00
Duncan Mak 9f5d876ed9 2002-03-12 Duncan Mak <[email protected]>
* IFormatter.cs: Fix the return type of the Serialize method.

	* ObsoleteAttribute.cs: Made Message and IsError properties
	instead of fields.

svn path=/trunk/mcs/; revision=3074
2002-03-12 18:48:12 +00:00
Paolo Molaro 3408e01d72 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <[email protected]>
* GC.cs: make SuppressFinalize() a nop.
	* Delegate.cs: fix == operator.

svn path=/trunk/mcs/; revision=3073
2002-03-12 14:33:59 +00:00
Paolo Molaro d135635262 *** empty log message ***
svn path=/trunk/mcs/; revision=3072
2002-03-12 14:32:13 +00:00
Dan Lewis 59a8c18582 Dispose() tweaks.
svn path=/trunk/mcs/; revision=3071
2002-03-12 14:28:39 +00:00
Dan Lewis b380c14021 Added disposal/finalization code. Stream now flushes upon closure.
svn path=/trunk/mcs/; revision=3070
2002-03-12 14:13:22 +00:00
Dietmar Maurer 014b960c2d added more documentation
svn path=/trunk/mono/; revision=3069
2002-03-12 12:57:19 +00:00
Nick Drochak e7869160c7 2002-03-13 Nick Drochak <[email protected]>
* Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
	runtime that goes with this patch.

svn path=/trunk/mcs/; revision=3068
2002-03-12 12:42:16 +00:00
Dietmar Maurer 26d3158442 2002-03-12 Dietmar Maurer <[email protected]>
* class.c (class_compute_field_layout): separate computation of
	static field layout

svn path=/trunk/mono/; revision=3067
2002-03-12 12:40:51 +00:00
Dan Lewis 25e83fc271 Removed unsafe modifiers from methods.
svn path=/trunk/mcs/; revision=3066
2002-03-12 11:02:21 +00:00
Nick Drochak beeddca581 2002-03-12 Nick Drochak <[email protected]>
* ArrayTest.cs: Add tests for IList methods and for enumerator on
	an array with non-zero lower bounds.

svn path=/trunk/mcs/; revision=3065
2002-03-12 10:56:56 +00:00
Dan Lewis 5e0d970478 Cleaned up buffer implementation.
svn path=/trunk/mono/; revision=3064
2002-03-12 09:51:41 +00:00
Dan Lewis 57b297fa92 Implmented System.Buffer. Added buffering to System.IO.FileStream.
svn path=/trunk/mcs/; revision=3063
2002-03-12 09:36:05 +00:00
Dan Lewis f6b6057dc6 Added System.Buffer support. Moved file io calls to FileStream.
svn path=/trunk/mono/; revision=3062
2002-03-12 09:34:32 +00:00
Dietmar Maurer f1ff1a7857 added obj_address again
svn path=/trunk/mono/; revision=3061
2002-03-12 05:51:01 +00:00
Dietmar Maurer 9b065789da added obj_address again
svn path=/trunk/mcs/; revision=3061
2002-03-12 05:51:01 +00:00
Dietmar Maurer 84d0f82b5f imported delegate patches from Daniel, new GetHashCode icalls
svn path=/trunk/mono/; revision=3060
2002-03-12 05:35:29 +00:00
Dietmar Maurer 7fd884ca1d imported delegate patches from Daniel, new GetHashCode icalls
svn path=/trunk/mcs/; revision=3060
2002-03-12 05:35:29 +00:00
Miguel de Icaza 5558fee0ba 2002-03-12 Miguel de Icaza <[email protected]>
* class.cs: Only report 108 if there is no `new' modifier.

	* cs-parser.jay: rework foreach statement to work with the new
	changes to the policy on SimpleNames.

	* report.cs: support Stacktrace on warnings as well.

	* makefile: drop --unsafe and /unsafe from the compile.

2002-03-11  Miguel de Icaza  <[email protected]>

	* ecore.cs (SimpleName.SimpleNameResolve): Perform local variable
	lookups here, instead of doing that at parse time.  This means
	that our grammar will not introduce `LocalVariableReferences' as
	expressions at this point.  That solves the problem of code like
	this:

	class X {
	   static void Main ()
	   { int X = 1;
	    { X x = null }}}

	This is only half the fix.  The full fix requires parameters to
	also be handled in this way.

Added test for the above new scenario, updated our foreach tests to try
the new changes.

svn path=/trunk/mcs/; revision=3059
2002-03-12 02:41:25 +00:00
Miguel de Icaza 77a0495a32 2002-03-11 Miguel de Icaza <[email protected]>
* class.cs (Property.DefineMethod): When implementing an interface
	method, set newslot, when implementing an abstract method, do not
	set the flag (before we tried never setting it, or always setting
	it, which is the difference).
	(Indexer.DefineMethod): same.
	(Method.DefineMethod): same.

svn path=/trunk/mcs/; revision=3057
2002-03-11 17:41:59 +00:00
Miguel de Icaza c2f21c1549 Add new test
svn path=/trunk/mcs/; revision=3056
2002-03-11 17:28:36 +00:00
Miguel de Icaza c8a44c49d0 2002-03-11 Miguel de Icaza <[email protected]>
* ecore.cs: Only set the status used flag if we get back a Field.

svn path=/trunk/mcs/; revision=3055
2002-03-11 17:26:40 +00:00
Miguel de Icaza 888b59ba34 Updates to doc
svn path=/trunk/mcs/; revision=3054
2002-03-11 16:59:35 +00:00
Miguel de Icaza 7673cd270d Update Authors
svn path=/trunk/mcs/; revision=3053
2002-03-11 14:39:34 +00:00
Miguel de Icaza 9536e5ef26 2002-03-11 Miguel de Icaza <[email protected]>
* attribute.cs: Temporary hack, so Paolo can keep working.

svn path=/trunk/mcs/; revision=3052
2002-03-11 13:24:46 +00:00
Paolo Molaro c97185b730 Mon Mar 11 16:14:29 CET 2002 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: addex x86_clear_reg() and changed
	x86_mov_reg_imm() to not check for imm == 0.

svn path=/trunk/mono/; revision=3051
2002-03-11 11:24:33 +00:00
Paolo Molaro fe1c36f292 Sigh, forgot to commit this file.
svn path=/trunk/mcs/; revision=3050
2002-03-11 10:57:37 +00:00
Paolo Molaro d4d26028ec Mon Mar 11 14:47:21 CET 2002 Paolo Molaro <[email protected]>
* jit.c: verify that corlib and runtime are in sync.

svn path=/trunk/mono/; revision=3049
2002-03-11 09:58:01 +00:00
Paolo Molaro c13ae81ee2 Mon Mar 11 14:48:07 CET 2002 Paolo Molaro <[email protected]>
* interp.c: corlib consistency checls moved to libmetadata.

svn path=/trunk/mono/; revision=3048
2002-03-11 09:57:42 +00:00
Paolo Molaro 5b401988aa Mon Mar 11 14:45:42 CET 2002 Paolo Molaro <[email protected]>
* verify.c, verify.h: moved here the corlib/runtime consistency checks.

svn path=/trunk/mono/; revision=3047
2002-03-11 09:55:32 +00:00
Paolo Molaro 4e8e00bf67 Mon Mar 11 11:58:27 CET 2002 Paolo Molaro <[email protected]>
* monograph.c: update --help output, Make error messages less
	intimidating and more informative.

svn path=/trunk/mono/; revision=3046
2002-03-11 07:08:33 +00:00
Paolo Molaro f651cdfbdc Mon Mar 11 11:30:56 CET 2002 Paolo Molaro <[email protected]>
* emit-x86.c, jit.c: use the debug-helpers facilities to
	describe and match a method when debugging.

svn path=/trunk/mono/; revision=3045
2002-03-11 06:41:08 +00:00
Paolo Molaro bded80df0f Mon Mar 11 11:27:27 CET 2002 Paolo Molaro <[email protected]>
* interp.c: use the new facilities in debug-helpers to
	disassemble CIL code and match method names to MonoMethods.

svn path=/trunk/mono/; revision=3044
2002-03-11 06:38:26 +00:00
Paolo Molaro 6d0e942545 Mon Mar 11 11:16:53 CET 2002 Paolo Molaro <[email protected]>
* monograph.c: removed method signature and searching helpers
	that are now provided in libmetadata. Added --control-flow option to
	create a control flow graph of a method, with basic blocks etc.

svn path=/trunk/mono/; revision=3043
2002-03-11 06:31:10 +00:00
Paolo Molaro 59868fbf3a Mon Mar 11 11:12:23 CET 2002 Paolo Molaro <[email protected]>
* debug-helpers.{c,h}: moved here from monograph some useful functions
	to locate a method by name/signature in a class or image. Included
	also a small and flexible IL disassembler.

svn path=/trunk/mono/; revision=3042
2002-03-11 06:25:18 +00:00
Duncan Mak 2877b78c42 2002-03-11 Duncan Mak <[email protected]>
* IHasXmlNode.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3041
2002-03-11 04:04:36 +00:00
Jonathan Pryor 7416dbbd0f Add NUnit test case for System.Diagnostics.Trace support
svn path=/trunk/mcs/; revision=3039
2002-03-10 21:07:06 +00:00
Jonathan Pryor b83ce684ef *** empty log message ***
svn path=/trunk/mcs/; revision=3036
2002-03-10 14:38:00 +00:00
Ravi Pratap M a4c4e548cc 2002-03-08 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.UnmanagedType): This is to keep track of
	the unmanaged type in the case we have a MarshalAs attribute.

	(Resolve): Handle the case when we are parsing the special MarshalAs
	attribute [we need to store the unmanaged type to use later]

	* typemanager.cs (marshal_as_attr_type): Built in type for the
	MarshalAs Attribute.

	* attribute.cs (ApplyAttributes): Recognize the MarshalAs attribute
	on parameters and accordingly set the marshalling info.

svn path=/trunk/mcs/; revision=3035
2002-03-10 12:41:42 +00:00
Martin Baulig cf5019e18c 2002-03-10 Martin Baulig <[email protected]>
* Int32.cs (Parse): Correctly parse negative numbers.

svn path=/trunk/mcs/; revision=3034
2002-03-10 09:35:02 +00:00
Martin Baulig 38bd502464 2002-03-10 Martin Baulig <[email protected]>
* emit-x86.c (arch_compile_method): When emitting stabs debugging
	output, put a nop instruction at the start of all functions so that
	the adresses won't change when using --debug.

	* debug.c (mono_debug_add_method): `tree->cli_addr' is an offset into
	the bytecode area, stabs needs a line number in the .il file. Use the
	new info->moffsets to get the line number.
	(AssemblyDebugInfo): Added `total_lines' and `moffsets' fields.
	`moffsets' is an array of `total_lines' fields (total number of lines
	in the .il file); for each line in the .il field, this array contains
	the bytecode offset if it's an "IL_xxxx" line, -1 if it's the last line
	of a method and 0 otherwise.
	(debug_load_method_lines): Read the whole .il file and initialize the
	info->moffsets field.

svn path=/trunk/mono/; revision=3033
2002-03-10 09:00:20 +00:00
Martin Baulig bff4ee6365 2002-03-09 Martin Baulig <[email protected]>
* x86.brg (DIV_UN): Clear EDX before performing the division and remove
	the unnecessary CDQ instruction.

svn path=/trunk/mono/; revision=3032
2002-03-10 08:56:27 +00:00
Miguel de Icaza 6aba8ff9bc 2002-03-09 Miguel de Icaza <[email protected]>
* class.cs: Optimizing slightly by removing redundant code after
	we switched to the `NoTypes' return value.
	(Property.DefineMethod): use NoTypes here too.

	This fixes the bug I introduced in my last batch of changes.

svn path=/trunk/mcs/; revision=3029
2002-03-09 18:11:22 +00:00
Jason Diamond f9bb1602bd Added missing members to XmlParserContext and started using it from XmlTextReader.
svn path=/trunk/mcs/; revision=3023
2002-03-09 15:36:08 +00:00
Piers Haken 0435f7c1a3 new text describint features & where to find the assemblies (in the menu)
svn path=/trunk/mono/; revision=3022
2002-03-09 09:12:22 +00:00
Piers Haken 06a18019fd added rules for building assembly pages
now uses 'pull' dependancies instead of shell scripts

svn path=/trunk/mono/; revision=3021
2002-03-09 09:08:55 +00:00
Piers Haken 5d09c96580 support for arbitrary nesting in menu
svn path=/trunk/mono/; revision=3020
2002-03-09 09:07:35 +00:00
Piers Haken dde58069a4 added new rules for assemblies. support for sub-sub-items
svn path=/trunk/mono/; revision=3019
2002-03-09 09:06:35 +00:00
Piers Haken 9030d6048d use web/makefile to build class-status, etc...
svn path=/trunk/mono/; revision=3018
2002-03-09 09:03:20 +00:00
Piers Haken e13817a86b added support for CVS browsing (CTRL-click)
svn path=/trunk/mono/; revision=3017
2002-03-09 08:55:32 +00:00
Piers Haken 8b942daebd switch back to HTML output method
svn path=/trunk/mcs/; revision=3016
2002-03-09 08:51:54 +00:00
Piers Haken 2cb5df0095 handle weird type exception in System.dll
svn path=/trunk/mcs/; revision=3015
2002-03-09 08:49:15 +00:00
Piers Haken 761dd60b06 fix loading of arbitrary reference types
svn path=/trunk/mcs/; revision=3014
2002-03-09 08:48:44 +00:00
Piers Haken 2df30d57f9 handle case of duplicate attributes in type info
svn path=/trunk/mcs/; revision=3013
2002-03-09 08:47:11 +00:00
Piers Haken 72ceb13a8e can now omit '-x' flag for default output file
svn path=/trunk/mcs/; revision=3012
2002-03-09 08:46:39 +00:00
Piers Haken 2a660e67e6 add dummy rule for CorCompare.exe
don't build XML here anymore (it's now done in the /mono/doc/web directory)

svn path=/trunk/mcs/; revision=3011
2002-03-09 08:45:36 +00:00
Jason Diamond 7a842df3c6 Implemented MoveToElement and MoveToFirstAttribute.
svn path=/trunk/mcs/; revision=3010
2002-03-09 00:14:13 +00:00
Mike Kestner 6edf2f01b9 2002-03-08 Mike Kestner <[email protected]>
* XmlNode.cs (Item): Implemented both indexers.

svn path=/trunk/mcs/; revision=3009
2002-03-08 23:43:05 +00:00
Martin Baulig b391cfe986 Ooops, another bug. Correctly initialize Results1 and Results2.
svn path=/trunk/mcs/; revision=3007
2002-03-08 21:51:59 +00:00
Nick Drochak d841fec0cb 2002-03-09 Nick Drochak <[email protected]>
* ArrayTest.cs: Enable the enumerator test and include test for
	Multi-dimensional array enumerator.  Also include test for
	mutation _not_ invalidating the enumerator.

svn path=/trunk/mcs/; revision=3006
2002-03-08 21:23:04 +00:00
Martin Baulig a88ab44759 2002-03-09 Martin Baulig <[email protected]>
* Int16Test.cs, Int32Tests.cs, UInt16Tests.cs: Use "en-US" culture and
	don't let the user override.

	* Int32Tests.cs: Cleanup. Use unique names in Assert()s, use AssertEquals()
	where appropriate etc.

svn path=/trunk/mcs/; revision=3005
2002-03-08 20:34:20 +00:00
Martin Baulig 19037ab6d9 2002-03-09 Martin Baulig <[email protected]>
* DumpCultureInfo.cs: New tool to dump culture info. Incomplete,
	we need to get unicode support working before we can use this.

svn path=/trunk/mcs/; revision=3004
2002-03-08 20:30:53 +00:00
Duncan Mak a29d1d89de 2002-03-08 Duncan Mak <[email protected]>
* XPathNamespaceScope.cs:
	* XPathNodeType.cs:
	* XPathResultType.cs:
	* XmlDataType.cs:
	* XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
	implementation. XPathResultType is interesting as EnumCheck does
	not show the Navigator element, but shows the String element twice.

svn path=/trunk/mcs/; revision=3003
2002-03-08 19:23:05 +00:00
Martin Baulig 2e529f92df 2002-03-08 Martin Baulig <[email protected]>
* StringTest.cs: More String.Split tests.

svn path=/trunk/mcs/; revision=3002
2002-03-08 15:48:21 +00:00
Martin Baulig 8098236f7c 2002-03-08 Martin Baulig <[email protected]>
* String.cs (Split): Really fix it this time. Also adding several new
	testcase to the testsuite.

svn path=/trunk/mcs/; revision=3001
2002-03-08 15:45:42 +00:00
Martin Baulig 60531c3b67 2002-03-08 Martin Baulig <[email protected]>
* Array.cs (Copy): Optimized: removed duplicate null check, removed
	two duplicate GetLowerBound() calls and one duplicate IsValueType.

svn path=/trunk/mcs/; revision=3000
2002-03-08 15:40:29 +00:00
Sergey Chaban 4e71fda724 * Hashtable.cs: Fixed ToPrime (). Removed ALLOC_GRAIN. Removed unused code. Changed GetObjectData () to use modificationCount as Version.
svn path=/trunk/mcs/; revision=2999
2002-03-08 14:57:15 +00:00
Jason Diamond a1cd780140 Removed some enumerations that might have been in Beta2 but aren't visible anymore. Moved some enumerations from the System.Xml namespace to System.Xml.XPath because that's where they belong (now?).
svn path=/trunk/mcs/; revision=2998
2002-03-08 14:34:13 +00:00
Martin Baulig 9e4eeb2c51 2002-03-08 Martin Baulig <[email protected]>
* Array.cs (Copy): Optimized: removed duplicate null check, removed
	two duplicate GetLowerBound() calls and one duplicate IsValueType.

svn path=/trunk/mcs/; revision=2997
2002-03-08 14:30:18 +00:00
Paolo Molaro 160be2b477 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <[email protected]>
* Object.cs: commit my hacked GetHashCode(): it's good enough for now.
	* String.cs: use the dumb code for IndexOf(string): this is worth
	15-20 % speedup in mcs compile with mint.

svn path=/trunk/mcs/; revision=2996
2002-03-08 14:00:40 +00:00
Paolo Molaro 317418d3e3 Fri Mar 8 17:29:58 CET 2002 Paolo Molaro <[email protected]>
* StringBuilder.cs: make Append(char) do the smart thing.

svn path=/trunk/mcs/; revision=2995
2002-03-08 12:39:39 +00:00
Paolo Molaro 1f34947b59 Really commit the file this time.
Fri Mar 8 16:29:29 CET 2002 Paolo Molaro <[email protected]>

	* reflection.c: fixup tokens in methods with small header size, too.

svn path=/trunk/mono/; revision=2994
2002-03-08 11:40:14 +00:00
Paolo Molaro 90833cf1c8 *** empty log message ***
svn path=/trunk/mono/; revision=2993
2002-03-08 11:39:01 +00:00
Nick Drochak 96c70450de 2002-03-08 Nick Drochak <[email protected]>
* monodis.1: Add info about new parameter
        * main.c: Add flag to remember if user wants to us mscorlib for
        non-corilb assembly names
        * get.c(get_typedef): use mscorlib for assembly name only
        if user specifies it with a command line parameter. Default
        behavior is now to use actual assembly name.

svn path=/trunk/mono/; revision=2992
2002-03-08 09:13:02 +00:00
Paolo Molaro 8902e86d73 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <[email protected]>
* String.cs: revert change to Split() that broke the compiler (hi martin!:-).

svn path=/trunk/mcs/; revision=2991
2002-03-08 07:56:09 +00:00
Dietmar Maurer 9203323faf 2002-03-08 Dietmar Maurer <[email protected]>
* object.c (mono_string_to_utf8): remove assert(!error), instead
	print a warning.

svn path=/trunk/mono/; revision=2990
2002-03-08 07:02:28 +00:00
Dietmar Maurer af61dcc6c6 etmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): only load addresses of value types
	on the runtime stack.

svn path=/trunk/mono/; revision=2989
2002-03-08 06:08:46 +00:00
Jason Diamond 686b51d1a6 Updated XmlAttribute so that it can have child nodes and refactored some of the child node code in XmlDocument and XmlElement into XmlNode.
svn path=/trunk/mcs/; revision=2988
2002-03-08 06:06:22 +00:00
Kral Ferch 8054460332 XmlNodeListChildren implements XmlNodeList for XmlNode.ChildNodes
svn path=/trunk/mcs/; revision=2987
2002-03-08 04:45:30 +00:00
Jason Diamond a6954ab4d4 Stubbed out XPathExpression and XPathNavigator and everything else needed to get it to compile.
svn path=/trunk/mcs/; revision=2986
2002-03-08 02:35:52 +00:00
Nick Drochak 61c36fe9be 2002/03/08 Nick Drochak <[email protected]>
* System.XML_test.build: Don't build test dll by default.  Only build
	it when 'make test' is specified.

svn path=/trunk/mcs/; revision=2985
2002-03-08 01:39:18 +00:00
Nick Drochak becdc7653d 2002/03/08 Nick Drochak <[email protected]>
* System_test.build: Don't build test dll by default.  Only build
	it when 'make test' is specified.

svn path=/trunk/mcs/; revision=2984
2002-03-08 01:37:43 +00:00
Ravi Pratap M 6b651c4b08 2002-03-05 Ravi Pratap <[email protected]>
* tree.cs (RecordEnum): Add. We now keep track of enums too.

	* class.cs (LookupInterfaceOrClass): Check against the list of recorded
	Enums since those are types too.

	* cs-parser.jay (enum_declaration): Record enums as we parse them.

	* enum.cs (DefineEnum): Return if the TypeBuilder has already been defined
	thanks to a call during the lookup process.

svn path=/trunk/mcs/; revision=2983
2002-03-07 23:56:25 +00:00
Ravi Pratap M e95a7b5e5e 2002-03-07 Ravi Pratap <[email protected]>
* test-82.cs : Add.

svn path=/trunk/mcs/; revision=2982
2002-03-07 23:55:32 +00:00
Miguel de Icaza c64db63e31 Removed stale comments from Object.cs
Lots of bug fixes today, including a major bugfix/upgrade to `foreach'.

2002-03-07  Miguel de Icaza  <[email protected]>

	* statement.cs (Foreach): Lots of work to accomodate a particular
	kind of foreach statement that I had not kept in mind.  It is
	possible to have foreachs on classes that provide a GetEnumerator
	method that return objects that implement the "pattern" for using
	a foreach, there is no need to support GetEnumerator
	specifically.

	This is needed to compile nant.

	* decl.cs: Only report 114 if the member is not `Finalize' and if
	the warning level is at least 2.

	* class.cs: Moved the compare function from Method to
	MethodSignature.

	(MethodSignature.InheritableMemberSignatureCompare): Add new
	filter function that is used to extract inheritable methods from a
	class.

	(Method.Define): Use the new `inheritable_method_signature_filter'
	delegate

	* cs-tokenizer.cs (get_cmd_arg): Do not add white space to the
	command.

svn path=/trunk/mcs/; revision=2981
2002-03-07 22:59:52 +00:00
Duncan Mak 5ce65b8c3a 2002-03-07 Duncan Mak <[email protected]>
* Makefile.am: A small patch fixing errors in vpath-based builds (make clean
	failing to rerun monoburg due to BUILT_SOURCES usage), committed
	for Daniel Stodden <[email protected]>.

svn path=/trunk/mono/; revision=2980
2002-03-07 19:08:11 +00:00
Miguel de Icaza 5ff473606b Flush
svn path=/trunk/mono/; revision=2979
2002-03-07 16:31:45 +00:00
Martin Baulig 7bdc0e1b55 2002-03-07 Martin Baulig <[email protected]>
* StringTest.cs: Added a few more tests for the bug fixes I just
	committed to String.cs.

svn path=/trunk/mcs/; revision=2978
2002-03-07 14:45:27 +00:00
Martin Baulig 2f7a4256dc 2002-03-07 Martin Baulig <[email protected]>
* String.cs (Join): Throw an ArgumentNullException.
	(LastIndexOf (string,int,int)): This method does a backwards search,
	so startIndex points to the end of value, not to its beginning. Don't
	throw an exception if startIndex equals this.Length. Always return -1
	if startIndex is smaller than the length of value.
	(Replace (string,string)): Replace all occurences of oldValue.
	If newValue is null, all occurences of oldValue are to be removed.
	(Split (char[],int)): Return an empty array if maxCount is zero, throw
	an ArgumentOutOfRangeException if it's less than zero. Return maxValue
	elements, not maxValue+1.

svn path=/trunk/mcs/; revision=2977
2002-03-07 14:44:09 +00:00
Paolo Molaro 17c5c61469 Thu Mar 7 18:55:15 CET 2002 Paolo Molaro <[email protected]>
* icall.c: update to the new mono_Array_class_get interface.

svn path=/trunk/mono/; revision=2976
2002-03-07 14:04:48 +00:00
Miguel de Icaza 132a85430b Small patch of love to MIS
svn path=/trunk/mono/; revision=2975
2002-03-07 13:53:20 +00:00
Paolo Molaro 98f24ea68b Test for method overloading resolution.
svn path=/trunk/mono/; revision=2973
2002-03-07 13:00:46 +00:00
Paolo Molaro 664de75962 Thu Mar 7 17:19:44 CET 2002 Paolo Molaro <[email protected]>
* configure.in: detect Boehm GC libs and add --with-gc switch.
	Boehm GC needs to be explicitly enabled since the JIT currently fails
	in some cases with it.

svn path=/trunk/mono/; revision=2972
2002-03-07 12:43:10 +00:00
Paolo Molaro 8127131557 Thu Mar 7 17:22:52 CET 2002 Paolo Molaro <[email protected]>
* jit.c: Boehm-GC enable.

svn path=/trunk/mono/; revision=2971
2002-03-07 12:42:25 +00:00
Paolo Molaro df2c27a68d Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <[email protected]>
* MonoType.cs: make GetEvents() an internal call.
	* MulticastDelegate.cs: copy the passed in array.

svn path=/trunk/mcs/; revision=2970
2002-03-07 12:42:17 +00:00
Paolo Molaro 14913adbb5 Thu Mar 7 17:23:26 CET 2002 Paolo Molaro <[email protected]>
* appdomain.c, object.c: Boehm-GC enable.
	* icall.c: make get_data_chunk() support split data requests.
	Ensure a class is initialized in more cases. Return only the first
	property found in GetProperties() or the compiler gets confused.
	Implemented GetEvents(). Temporary fix to GetType(), needs rewriting.
	* reflection.h, reflection.c: add fixup mechanism for field and method
	tokens. Initialize assembly->typeref in a single place. Output
	properties after events. Support custom attributes for events, too.
	Typo fix for paramter custom attrs.

svn path=/trunk/mono/; revision=2969
2002-03-07 12:41:42 +00:00
Paolo Molaro f92a7ba0f1 Thu Mar 7 17:10:42 CET 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: allow saving bigger assemblies.
	* ILGenerator.cs: add fixup table for fields and methods, since
	at the end of the compile they may end up with a different table
	index.
	* ModuleBuilder.cs: add cache for type names to speed up the type
	lookups from the compiler.
	* TypeBuilder.cs: GetInterfaces () returns only interfaces in the
	current type, not in parents (the docs are wrong).

svn path=/trunk/mcs/; revision=2968
2002-03-07 12:41:37 +00:00
Paolo Molaro 1c5c08ea87 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <[email protected]>
* EventInfo.cs: add compiler needed methods.
	* MonoMethod.cs: make ToString() return the return type name, too.

svn path=/trunk/mcs/; revision=2967
2002-03-07 12:40:45 +00:00
Paolo Molaro 86618878c2 Thu Mar 7 17:20:59 CET 2002 Paolo Molaro <[email protected]>
* interp.c: Boehm-GC enable. Fix some overflow opcodes.


Thu Mar 7 17:21:52 CET 2002 Paolo Molaro <[email protected]>

	* threads.c, timed-thread.c, wait.c: Boehm-GC anable.

svn path=/trunk/mono/; revision=2966
2002-03-07 12:40:24 +00:00
Nick Drochak 7b48046bd4 2002-03-08 Nick Drochak <[email protected]>
* nunit.build: exclude all the obsolete stuff, and prevent csc from
	linking any ms stuff to the dll and exe we are testing on Linux.

svn path=/trunk/mcs/; revision=2965
2002-03-07 12:40:11 +00:00
Dietmar Maurer c263c5f72c 2002-03-07 Dietmar Maurer <[email protected]>
* x86.brg (SAVE_LFM): bug fix: patch the saved IP because we
	realloc that code sometimes!

	* emit-x86.c (mono_compute_branches): support several types of
	jump infos

svn path=/trunk/mono/; revision=2964
2002-03-07 12:20:53 +00:00
Dick Porter f31ab6478c Some doc fixes by Christophe
Update the Linux build script to cope when pkg-config is missing but glib-2
is already installed

svn path=/trunk/mono/; revision=2963
2002-03-07 12:04:28 +00:00
Martin Baulig ba6b55072e Updated.
svn path=/trunk/mcs/; revision=2962
2002-03-07 09:24:59 +00:00
Martin Baulig 25ab40f605 2002-03-07 Martin Baulig <[email protected]>
* ArrayTest.cs: Fixed the FIXME in test #E05.

svn path=/trunk/mcs/; revision=2961
2002-03-07 09:24:24 +00:00
Martin Baulig bda4dc05b2 2002-03-06 Martin Baulig <[email protected]>
* Array.cs (Copy): Use FastCopy when appropriate and do correct
	exception handling.

svn path=/trunk/mcs/; revision=2960
2002-03-07 09:19:29 +00:00
Martin Baulig e4c2012001 2002-03-07 Martin Baulig <[email protected]>
* icall.c (ves_icall_System_Array_FastCopy): Small fix.

svn path=/trunk/mono/; revision=2959
2002-03-07 09:07:26 +00:00
Dietmar Maurer c9911b78b3 2002-03-07 Dietmar Maurer <[email protected]>
* class.c (mono_array_class_get): fix. for multi. dim. arrays

svn path=/trunk/mono/; revision=2958
2002-03-07 06:39:57 +00:00
Nick Drochak ca777c6bc4 2002/03/07 Nick Drochak <[email protected]>
* StreamingContextStates.cs: Add missing value (CrossAppDomain) and
	adjust All value accordingly.

svn path=/trunk/mcs/; revision=2957
2002-03-07 03:31:29 +00:00
Jason Diamond c3b0039b20 Removed redundant code.
svn path=/trunk/mcs/; revision=2956
2002-03-07 03:06:52 +00:00
Jason Diamond 1b38dd7d9d Disable warning CS0679.
svn path=/trunk/mcs/; revision=2955
2002-03-07 02:42:29 +00:00
Kral Ferch 3ecbf47486 rewrote XmlNode with touchups to XmlDocument, XmlElement, and XmlLinkedNode
svn path=/trunk/mcs/; revision=2954
2002-03-07 02:32:39 +00:00
Nick Drochak e41a92be8a 2002/03/07 Nick Drochak <[email protected]>
* corlib_test.build: resolve chicken and egg problem. Only build and
	execute test assemblies when 'make test' is specified. Need to do a
	'make' first now before 'make test'.

svn path=/trunk/mcs/; revision=2953
2002-03-06 21:42:58 +00:00
Miguel de Icaza 396e7334e6 Small bug fix
svn path=/trunk/mcs/; revision=2952
2002-03-06 20:37:25 +00:00
Duco Fijma 124c8ec4ac CharEnumerator: stronger test, new failures, fixed them
svn path=/trunk/mcs/; revision=2951
2002-03-06 16:09:59 +00:00
Miguel de Icaza 1cd5ab0061 2002-03-06 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add opt_semicolon to the interface declaration.

	* expression.cs: Pass location information to
	ConvertImplicitStandard.

	* class.cs: Added debugging code to track return values from
	interfaces.

svn path=/trunk/mcs/; revision=2950
2002-03-06 15:58:25 +00:00
Dietmar Maurer 4c23678709 * x86.brg: impl. MUL_OVF_UN (reg, reg)
svn path=/trunk/mono/; revision=2949
2002-03-06 13:38:45 +00:00
Dietmar Maurer 0c631ca69f 2002-03-06 Dietmar Maurer <[email protected]>
* Int64.cs (Parse): bug fix for max. negative value.

svn path=/trunk/mcs/; revision=2948
2002-03-06 13:21:22 +00:00
Nick Drochak 9b0fad373f 2002-03-07 Nick Drochak <[email protected]>
* makefile: Change order of build so corlib is built before nunit since
	Nunit needs corlib now.

svn path=/trunk/mcs/; revision=2947
2002-03-06 11:59:16 +00:00
Nick Drochak 704f49d080 2002-03-07 Nick Drochak <[email protected]>
* .cvsignore: ignore *.pdb files
	* nunit.build: Build a version of NUnitCore.dll and NUnitConsole.exe
	using mono's corlib. Use this to test on Linux under mint and mono.

svn path=/trunk/mcs/; revision=2946
2002-03-06 11:54:46 +00:00
Nick Drochak ae677e2402 2002-03-07 Nick Drochak <[email protected]>
* RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
	I need to understand what the difference between the attribute and
	the interface is.

svn path=/trunk/mcs/; revision=2945
2002-03-06 11:43:16 +00:00
Nick Drochak 7ad97dc6eb 2002-03-07 Nick Drochak <[email protected]>
* FileMode.cs: Docs don't say this should be explicitly derived from
	int, so just make it a normal Enum.

svn path=/trunk/mcs/; revision=2944
2002-03-06 11:38:54 +00:00
Nick Drochak a41171ffda 2002-03-07 Nick Drochak <[email protected]>
* BindingFlags.cs: Add missing enum values.  Thanks CorCompare.

svn path=/trunk/mcs/; revision=2943
2002-03-06 11:20:46 +00:00
Martin Baulig e3362dc56a 2002-03-06 Martin Baulig <[email protected]>
* ArrayTest.cs (TestSetValue4): Added testcases #M94-#M96 for Array.Copy.

svn path=/trunk/mcs/; revision=2942
2002-03-06 10:41:24 +00:00
Martin Baulig 472c0b4df2 2002-03-06 Martin Baulig <[email protected]>
* Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
	an InvalidCastException if the widening conversion failed. See
	testcases #M94-#M96.

svn path=/trunk/mcs/; revision=2941
2002-03-06 10:40:05 +00:00
Martin Baulig 5948cdd5a3 2002-03-06 Martin Baulig <[email protected]>
* ArrayTest.cs (TestCopyTo): Added testcases #F10-#F13 for arrays with
	non-zero lower bounds.

svn path=/trunk/mcs/; revision=2940
2002-03-06 10:24:46 +00:00
Martin Baulig 26d7035834 2002-03-06 Martin Baulig <[email protected]>
* icall.c (ves_icall_System_Array_CreateInstanceImpl): Make this work with
	non-zero lower bounds. See testcases #F10-#F13.

svn path=/trunk/mono/; revision=2939
2002-03-06 10:23:33 +00:00
Martin Baulig cc7da26ff0 2002-03-06 Martin Baulig <[email protected]>
* Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
	arrays with non-zero lower bounds. Also adding testcases #F10-#F13
	for this.

svn path=/trunk/mcs/; revision=2938
2002-03-06 10:22:16 +00:00
Martin Baulig 9a6a97296a 2002-03-06 Martin Baulig <[email protected]>
* ArrayTest.cs (TestCopyTo): Added test for copying an empty array
	to an empty array.

svn path=/trunk/mcs/; revision=2937
2002-03-06 09:56:42 +00:00
Martin Baulig 2e70ec4340 2002-03-06 Martin Baulig <[email protected]>
* Array.cs (CopyTo): Reverted my last change, it was incorrect.
	(Copy): Actually allow copying multi-dimensional arrays.

svn path=/trunk/mcs/; revision=2936
2002-03-06 09:55:42 +00:00
Nick Drochak 44836f7103 2002-03-06 Nick Drochak <[email protected]>
* nunit.build: Exclude obsolete class from build. Probably should
	remove from cvs.

svn path=/trunk/mcs/; revision=2935
2002-03-06 09:42:20 +00:00
Dietmar Maurer ae40e53502 jit.c (mono_find_final_block): find correct finally handler.
svn path=/trunk/mono/; revision=2934
2002-03-06 08:55:39 +00:00
Dietmar Maurer c58920b619 2002-03-06 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_create_jit_trampoline): bug fix: preserve
	caller saved registers.

svn path=/trunk/mono/; revision=2933
2002-03-06 07:32:23 +00:00
Ravi Pratap M 045ff9d50c 2002-03-05 Ravi Pratap <[email protected]>
* test-81.cs : Add.

	* makefile : Update accordingly as this test passes.

svn path=/trunk/mcs/; revision=2932
2002-03-05 22:42:24 +00:00
Duncan Mak 2b7e1e8539 Fixed the build. Stupid typos.
svn path=/trunk/mcs/; revision=2931
2002-03-05 22:11:23 +00:00
Miguel de Icaza 575b7f5202 2002-03-05 Miguel de Icaza <[email protected]>
* expression.cs (Is.DoResolve): If either side of the `is' is an
	interface, do not flag the warning.

	* ecore.cs (ImplicitReferenceConversion): We need a separate test
	for interfaces

svn path=/trunk/mcs/; revision=2930
2002-03-05 21:36:41 +00:00
Miguel de Icaza 620746bb06 Bug fixes and a couple of optimizations (used a nice profiler to find
a few easy to fix hot spots):

2002-03-05  Miguel de Icaza  <[email protected]>

	* typemanager.cs (NoTypes): Move the definition for the empty Type
	array here.

	* class.cs (TypeContainer.FindMembers): Also look for methods defined by
	properties.
	(TypeContainer.DefineProxy): New function used to proxy to parent
	implementations when implementing interfaces.
	(TypeContainer.ParentImplements): used to lookup if our parent
	implements a public function that is required by an interface.
	(TypeContainer.VerifyPendingMethods): Hook this up.

	* typemanager.cs (TypeManager, AddModule, AddAssembly): Make the
	`modules' and `assemblies' arraylists into arrays.  We only grow
	these are the very early start up of the program, so this improves
	the speedof LookupType (nicely measured).

svn path=/trunk/mcs/; revision=2929
2002-03-05 21:28:50 +00:00
Duncan Mak cbe6d62e7e 2002-03-05 Duncan Mak <[email protected]>
* Convert.cs:
	(DBNull) Added the missing field.
	(IsDBNull) Fixed typo.
	(ToByte (string, int)) Implemented.
	(ToString (byte, int)) Implemented.
	(ConvertToBase)
	(BuildConvertedString) internal functions used for converting values to
	a specific base.

svn path=/trunk/mcs/; revision=2928
2002-03-05 21:21:15 +00:00
Duncan Mak b861235365 2002-03-05 Duncan Mak <[email protected]>
* Int16.cs:
	* Int32.cs:
	* Int64.cs:
	* Single.cs:
	* UInt16.cs:
	* UInt32.cs: Implement the IConvertible interface.

svn path=/trunk/mcs/; revision=2927
2002-03-05 20:11:00 +00:00
Duncan Mak ac5e927cfa 2002-03-05 Duncan Mak <[email protected]>
* CharEnumerator.cs: Renamed to variables to be clearer and
	changed some of the tests to conform to the 1.0 spec.

svn path=/trunk/mcs/; revision=2926
2002-03-05 19:30:53 +00:00
Martin Baulig cae7f7ed5f 2002-03-06 Martin Baulig <[email protected]>
* ArrayTest.cs: Use unique labels for all the tests.
	(TestSetValue4): A big new testcase.

svn path=/trunk/mcs/; revision=2925
2002-03-05 19:18:53 +00:00
Martin Baulig 663081d01e 2002-03-06 Martin Baulig <[email protected]>
* Array.cs (Copy): Calculate absolute array position here and use
	GetValueImpl() and SetValueImpl() with that position. We can now
	copy multi-dimensional arrays.
	(CopyTo): Small bug fix.

svn path=/trunk/mcs/; revision=2924
2002-03-05 19:14:24 +00:00
Martin Baulig 5c5b208475 2002-03-05 Martin Baulig <[email protected]>
* exception.c (mono_get_exception_argument_out_of_range): New exception.

	* icall.c (ves_icall_System_Array_GetValue): Moved actual implementation to
	ves_icall_System_Array_GetValue(), only calculate the absolute array position
	here.
	(ves_icall_System_Array_SetValue): Likewise.
	(ves_icall_System_Array_GetValueImpl): New interncall. Takes an array position
	as argument and does the actual work. This function is used when copying a
	multi-dimensional array.
	(ves_icall_System_Array_SetValueImpl): Almost completely rewrote this. It can
	now do all the widening conversions of value types.
	(ves_icall_System_Array_CreateInstanceImpl): Implemented.

svn path=/trunk/mono/; revision=2923
2002-03-05 19:00:35 +00:00
Duco Fijma 537c77ca76 Fixes for System.CharEnumerator and System.Version
svn path=/trunk/mcs/; revision=2922
2002-03-05 18:20:41 +00:00
Paolo Molaro 4a6df99033 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <[email protected]>
* TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.

svn path=/trunk/mcs/; revision=2921
2002-03-05 16:44:57 +00:00
Miguel de Icaza 4ae738e4e2 Update news
svn path=/trunk/mono/; revision=2920
2002-03-05 16:08:47 +00:00
Miguel de Icaza d5c624636f Update index
svn path=/trunk/mono/; revision=2919
2002-03-05 16:06:08 +00:00
Miguel de Icaza c7e790a56f Sorry about that, differing times in machines made me commit this bug
svn path=/trunk/mcs/; revision=2918
2002-03-05 14:40:08 +00:00
Miguel de Icaza 84672f9174 Class-status is an autogenerated file, remove
svn path=/trunk/mono/; revision=2917
2002-03-05 14:38:05 +00:00
Miguel de Icaza b4d613a63a 2002-03-05 Miguel de Icaza <[email protected]>
* expression.cs (MakeByteBlob): Replaced unsafe code with
	BitConverter, as suggested by Paolo.

svn path=/trunk/mcs/; revision=2916
2002-03-05 14:31:42 +00:00
Miguel de Icaza 841c0bd71a 2002-03-05 Miguel de Icaza <[email protected]>
* cfold.cs (ConstantFold.Binary): Special case: perform constant
	folding of string concatenation, but if either side is a string,
	and the other is not, then return null, and let the runtime use
	the concatenation on the string plus the object (using
	`Object.ToString').

svn path=/trunk/mcs/; revision=2915
2002-03-05 14:22:05 +00:00
Miguel de Icaza 8b40345678 Add new documentation file on the compiler
svn path=/trunk/mcs/; revision=2914
2002-03-05 13:58:13 +00:00
Miguel de Icaza e2f7f11f80 Remove another confusing file
svn path=/trunk/mcs/; revision=2913
2002-03-05 13:54:05 +00:00
Miguel de Icaza 871084af9f Remove this file, it was confusing
svn path=/trunk/mcs/; revision=2912
2002-03-05 13:52:39 +00:00
Miguel de Icaza 88860adf56 Flush
svn path=/trunk/mono/; revision=2911
2002-03-05 13:29:21 +00:00
Paolo Molaro 6016f1db0c Tue Mar 5 18:12:40 CET 2002 Paolo Molaro <[email protected]>
* interp.c: fix non-debug build and some more opcode work.


Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <[email protected]>

	* dump.c: print index of the methodsemantics table.
	* main.cs: print event information.


Tue Mar 5 18:14:01 CET 2002 Paolo Molaro <[email protected]>

	* class.c: remove some magic numbers and use the smbolic names,
	instead. Added init_events() to load event info at class init time.
	* metadata.h, metadata.c: added mono_metadata_events_from_typedef()
	and mono_metadata_methods_from_event().
	* reflection.h, reflection.c: added support for writing out the evnets
	related information.

svn path=/trunk/mono/; revision=2910
2002-03-05 13:27:52 +00:00
Paolo Molaro ce2ebac87c Tue Mar 5 18:09:34 CET 2002 Paolo Molaro <[email protected]>
* EventBuilder.cs: implemented.
	* TypeBuilder.cs: implemented DefineEvent() method and UnderlyingSystemType
	property.

svn path=/trunk/mcs/; revision=2909
2002-03-05 13:27:51 +00:00
Paolo Molaro c62dcdfb3b Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <[email protected]>
* SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
	to do this dirty work, but someone has to do it (and I need it to pass
	the "200 sample tests compiled on linux" mark).

svn path=/trunk/mcs/; revision=2908
2002-03-05 12:45:42 +00:00
Nick Drochak 8bc0ba2139 2002-03-06 Nick Drochak <[email protected]>
* VersionTest.cs: Fix for mscorlib behavior vs. docs. CompareTo(null)
	is legal.

svn path=/trunk/mcs/; revision=2907
2002-03-05 12:44:03 +00:00
Nick Drochak 6b0ded0e7b 2002-03-06 Nick Drochak <[email protected]>
* Attribute.cs
	* DecimalFormatter.cs
	* Delegate.cs
	* Double.cs
	* GC.cs
	* Int16.cs
	* Int32.cs
	* MonoType.cs
	* RuntimeMethodHandle.cs
	* RuntimeTypeHandle.cs
	* String.cs
	* Type.cs:
		Add [MonoTODO]'s to places where we currently throw a
		NotImplementedException.

svn path=/trunk/mcs/; revision=2906
2002-03-05 12:08:17 +00:00
Nick Drochak fa7b8c190c 2002-03-06 Nick Drochak <[email protected]>
* UInt16Test.cs:
	* UInt32Test.cs:
	* UInt64Test.cs: Use NumberFormatInfo.InvariantInfo.CurrencySymbol
	where "$" was used. Should help suppress false negatives on systems
	where "$" is not the currency symbol.

svn path=/trunk/mcs/; revision=2905
2002-03-05 12:00:34 +00:00
Gaurav Vaish ccede98fee 2002-03-05 Gaurav Vaish <[email protected]>
* ChangeLog:  My frustration appears here.

------------------------------------------------------------------
------------------------------------------------------------------
I AM TOTALLY SCREWED UP. NO GUESSES WHATSOEVER ON WHAT TO DO NOW!!
------------------------------------------------------------------
------------------------------------------------------------------

svn path=/trunk/mcs/; revision=2904
2002-03-05 11:48:06 +00:00
Gaurav Vaish 640cca0055 2002-03-05 Gaurav Vaish <[email protected]>
* I am screwed up. I will now go back and read some theory and develop
  some architecture before I proceed on.

svn path=/trunk/mcs/; revision=2903
2002-03-05 11:46:49 +00:00
Miguel de Icaza 506b93ee63 Fix compilation, I did not finish upgrading a piece of the code
svn path=/trunk/mcs/; revision=2902
2002-03-05 11:31:02 +00:00
Gaurav Vaish 80ef2d6cb2 2002-03-05 Gaurav Vaish <[email protected]>
* System.Web.build -- Keep Web.Security stuff away from build for the
   time being.

svn path=/trunk/mcs/; revision=2901
2002-03-05 11:21:09 +00:00
Gaurav Vaish 3e6b661ec5 2002-03-05 Gaurav Vaish <[email protected]>
* *.cs -- *EventHandler.cs - Minor Corrections.

* Others -- Either complete, or first draft.

* ChangeLog, TODO -- Updated in accordance.

svn path=/trunk/mcs/; revision=2900
2002-03-05 11:17:46 +00:00
Dietmar Maurer e17138c0de x86.brg: use x86_widen_reg for CONV opcodes
svn path=/trunk/mono/; revision=2899
2002-03-05 07:51:05 +00:00
Dietmar Maurer 56484fd7dc 2002-03-05 Dietmar Maurer <[email protected]>
* Int16.cs (Parse): do not overflow on max negative value

	* Int32.cs (Parse): do not overflow on max negative value

svn path=/trunk/mcs/; revision=2898
2002-03-05 05:59:56 +00:00
Miguel de Icaza 3faa34c59c Add Constant Folder
svn path=/trunk/mcs/; revision=2897
2002-03-05 03:07:35 +00:00
Miguel de Icaza f25c26bf3d 2002-03-04 Miguel de Icaza <[email protected]>
Constant Folding has been implemented now.

	* expression.cs (Unary.Reduce): Do not throw an exception, catch
	the error instead on types that are not supported in one's
	complement.

	* constant.cs (Constant and all children): New set of functions to
	perform implict and explicit conversions.

	* ecore.cs (EnumConstant): Implement the new functions to perform
	conversion by proxying to the child expression.

	* codegen.cs: (ConstantCheckState): Constant evaluation has its
	own separate setting that can not be turned off from the command
	line using --unchecked or --checked and is only controlled using
	the checked/unchecked statements and expressions.  This setting is
	used by the constant folder to flag errors.

	* expression.cs (CheckedExpr, UncheckedExpr): Set the
	ConstantCheckState as well.

	During Resolve, they also have to flag the state, because the
	constant folder runs completely in the Resolve phase.

	* statement.cs (Checked, Unchecked): Set the ConstantCheckState as
	well.

2002-03-01  Miguel de Icaza  <[email protected]>

	* cfold.cs: New file, this file contains the constant folder.

	* ecore.cs (IMemoryLocation.AddressOf): Now takes an extra
	argument to track whether we are using the resulting address to
	load or store a value and provide better error messages.

	(FieldExpr.Emit, FieldExpr.EmitAssign, FieldExpr.AddressOf): Use
	new AddressOf arguments.

	* statement.cs (Foreach.EmitCollectionForeach): Update

	* expression.cs (Argument.Emit): Call AddressOf with proper
	arguments to track usage.

	(New.DoEmit): Call AddressOf with new arguments.

	(Unary.Emit): Adjust AddressOf call.

svn path=/trunk/mcs/; revision=2896
2002-03-05 02:09:36 +00:00
Gaurav Vaish 65630682e7 2002-03-05 Gaurav Vaish <[email protected]>
* ChangeLog: What I am upto. READ THIS.

svn path=/trunk/mcs/; revision=2895
2002-03-05 01:59:20 +00:00
Gaurav Vaish c66f71f312 2002-03-05 Gaurav Vaish <[email protected]>
* Don't bother much right now. I am busy making a build. Hopefully, I will
  succeed..

svn path=/trunk/mcs/; revision=2894
2002-03-05 01:57:41 +00:00
Duncan Mak 83db189205 2002-03-05 Duncan Mak <[email protected]>
* ISymbolWriter.cs:
	(DefineParameter) corrected typo in argument type.
	(SetMethodSourceRange): Fixed typo in method name.

	* ISymbolDocument.cs:
	(CheckSumAlgorithmId) Fixed typo.

	* ISymbolNamespace.cs:
	(GetVariable) Added missing method.

svn path=/trunk/mcs/; revision=2893
2002-03-05 01:55:36 +00:00
Gaurav Vaish 0582dd0ad5 2002-03-05 Gaurav Vaish <[email protected]>
* *.cs: First work, of delegates.

* ChangeLog, TODO: Details about the namespace.

svn path=/trunk/mcs/; revision=2892
2002-03-05 01:22:53 +00:00
Gaurav Vaish 97736681ba 2002-03-05 Gaurav Vaish <[email protected]>
* GenerateDelegate.cs -- Generate delegates at your whim. Quite useful tool.

* ChangeLog -- SHOULD NOT MISS IT. has description about the tool.

* makefile -- Makes it.

svn path=/trunk/mcs/; revision=2891
2002-03-05 01:07:40 +00:00
Gaurav Vaish 15ebf3ba57 2002-03-05 Gaurav Vaish <[email protected]>
* .cvsignore: Obviously, the first file to go into commit.

svn path=/trunk/mcs/; revision=2890
2002-03-05 00:44:49 +00:00
Gaurav Vaish 0a567bff55 2002-03-05 Gaurav Vaish <[email protected]>
* ChangeLog: Added System.Web.Security

svn path=/trunk/mcs/; revision=2889
2002-03-04 23:58:44 +00:00
Piers Haken eed65dd458 remove 'ghost' types from tree
svn path=/trunk/mcs/; revision=2888
2002-03-04 16:23:32 +00:00
Paolo Molaro 661e798069 Mon Mar 4 20:34:52 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: make enough room in the byte array for string
	tokens.
	* TypeBuilder.cs: fixed GetInterfaces().

svn path=/trunk/mcs/; revision=2887
2002-03-04 15:48:18 +00:00
Paolo Molaro 484aab8b96 Mon Mar 4 20:32:43 CET 2002 Paolo Molaro <[email protected]>
* reflection.h, icall.c: use a different method (GetInterfaces)
	to gather interface info and add isbyref, isprimitive and
	ispointer to the ves_icall_get_type_info() return value.

svn path=/trunk/mono/; revision=2886
2002-03-04 15:47:41 +00:00
Paolo Molaro 62561911d0 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <[email protected]>
* Type.cs: fixed IsClass.
	* MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
	IsByRefImpl. Added GetInterfaces().
	* IServiceProvider.cs: compilation fix.

svn path=/trunk/mcs/; revision=2885
2002-03-04 15:47:37 +00:00
Gaurav Vaish 3f49b7b255 2002-03-04 Gaurav Vaish <[email protected]>
* Repeater.cs -- 90% done.

* ChangeLog -- DON'T MISS THIS UPDATE. This reveals a lot about what is done,
 is being done and what is left out.

************************************************************
THIS COMPLETES MY TASK IN WebControls for the time being.
************************************************************

svn path=/trunk/mcs/; revision=2884
2002-03-04 15:06:29 +00:00
Gaurav Vaish 52feafc321 2002-03-04 Gaurav Vaish <[email protected]>
* class.xml: Updation about the last class: Repeater

svn path=/trunk/mono/; revision=2883
2002-03-04 15:05:13 +00:00
Paolo Molaro 55f64e2de4 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <[email protected]>
* Array.cs: allow copying an empty array to an empty array.

svn path=/trunk/mcs/; revision=2882
2002-03-04 13:46:25 +00:00
Paolo Molaro 30d5cc23f6 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <[email protected]>
* String.cs: fixed LastIndexOf (string) to do a bit of argument
	checking.

svn path=/trunk/mcs/; revision=2881
2002-03-04 13:08:55 +00:00
Nick Drochak 43cb299071 We don't need the sample anymore. We've got the real thing.
svn path=/trunk/mcs/; revision=2880
2002-03-04 12:40:09 +00:00
Duco Fijma 1183d772b2 Created tests for System.Version and fixed the bugs they revealed
svn path=/trunk/mcs/; revision=2879
2002-03-04 11:59:36 +00:00
Nick Drochak 4c7d435dc2 2002-03-04 Nick Drochak <[email protected]>
* IServiceProvider.cs: Add missing attribute: ComVisible(false)
	* Attribute.cs: Add missing attributes: Serializable and
	AttributeUsage(AttributeTargets.All)

svn path=/trunk/mcs/; revision=2878
2002-03-04 10:15:30 +00:00
Paolo Molaro 6681fac01e Mon Mar 4 11:30:40 CET 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: implemented GetConstructors(), GetFields(),
	GetMethods(), GetProperties().

svn path=/trunk/mcs/; revision=2877
2002-03-04 06:41:24 +00:00
Paolo Molaro 00f81ac4d1 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <[email protected]>
* MonoType.cs: implemented GetConstructors(), GetFields(),
	GetMethods(), GetProperties().
	* Object.cs: added debugging icall obj_address().
	* Type.cs: fixed the binding flags for some Get* methods.
	Implemented FindMembers() as calls to the specific GetMember
	methods.

svn path=/trunk/mcs/; revision=2876
2002-03-04 06:41:02 +00:00
Paolo Molaro 7e9f95ac29 Mon Mar 4 11:21:44 CET 2002 Paolo Molaro <[email protected]>
* interp.c: print the address of 'this' in tracing mode.


Mon Mar 4 11:22:26 CET 2002 Paolo Molaro <[email protected]>

	* class.h: stared adding support for events.
	* icall.c: split find_members implementation. Added debug icall to get
	the address of an object.
	* reflection.c: handle TypeBuilders in mono_type_get_object().

svn path=/trunk/mono/; revision=2875
2002-03-04 06:41:00 +00:00
Gaurav Vaish 774050382b 2002-03-04 Gaurav Vaish <[email protected]>
* class.xml: Latest updates about WebControls universe...

svn path=/trunk/mono/; revision=2874
2002-03-04 06:03:56 +00:00
Gaurav Vaish 049c099cdf *** empty log message ***
svn path=/trunk/mcs/; revision=2873
2002-03-04 05:57:33 +00:00
Gaurav Vaish f3502c7a85 *** empty log message ***
svn path=/trunk/mcs/; revision=2872
2002-03-04 05:50:39 +00:00
Gaurav Vaish df4ac2ba92 2002-03-04 Gaurav Vaish <[email protected]>
* *EventArgs.cs  -- Damn! I marked them "*" and forgot to even write them.

* ChangeLog -- Updated

* TODO -- I guess, nothing to do with this.

svn path=/trunk/mcs/; revision=2871
2002-03-04 05:43:49 +00:00
Gaurav Vaish f414ffd111 2002-03-03 Gaurav Vaish <[email protected]>
* Repeater.cs  -- File added to CVS. Will work on it sometime later. Feeling
 sleepy - at 2:30 in the afternoon. ;-)

svn path=/trunk/mcs/; revision=2870
2002-03-04 05:05:37 +00:00
Nick Drochak 8374a9e0c6 2002/03/04 Nick Drochak <[email protected]>
* Header.cs: Change properties into fields where they should be.

svn path=/trunk/mcs/; revision=2869
2002-03-04 04:58:57 +00:00
Gaurav Vaish d93009d810 2002-03-04 Gaurav Vaish <[email protected]>
* BaseValidator.cs -- Rejuvination.

* **.cs (Added)  -- Completed ones (I guess)

* ChangeLog -- DON'T MISS THIS

* TODO -- Updated in accordance..


NOW I HAVE ONLY ONE CLASS THAT REMAINS 0% implemented and that is Repeater.

I will start work on it soon.

svn path=/trunk/mcs/; revision=2868
2002-03-04 04:57:26 +00:00
Nick Drochak 1bd811bccd 2002-03-04 Nick Drochak <[email protected]>
* JulianCalendar.cs: JulianEra should be field, not a property.
	Thanks CorCompare (and Piers).

svn path=/trunk/mcs/; revision=2867
2002-03-03 19:17:02 +00:00
Jason Diamond 5c5921fbf6 Fixes for XmlComment, XmlProcessingInstruction, and XmlDocument courtesy of Kral Ferch <[email protected]>.
svn path=/trunk/mcs/; revision=2866
2002-03-03 17:23:46 +00:00
Duco Fijma d59e601a7d Completed cases in CharEnumeratorTest.cs
svn path=/trunk/mcs/; revision=2865
2002-03-03 17:10:57 +00:00
Piers Haken 2f83fb2608 base class for tree elements
svn path=/trunk/mcs/; revision=2864
2002-03-03 15:50:54 +00:00
Piers Haken 3c592236c7 aesthetic changes
svn path=/trunk/mono/; revision=2863
2002-03-03 15:48:53 +00:00
Piers Haken 6e3e7d7c9a updated CorCompare.exe switches to reflect arbitrary assembly support
svn path=/trunk/mcs/; revision=2862
2002-03-03 15:44:34 +00:00
Piers Haken d11169ca02 added support for:
property accessors
	hiding of property methods
	attributes
	arbitrary assemblies
fixed visibility

svn path=/trunk/mcs/; revision=2861
2002-03-03 15:43:42 +00:00
Piers Haken ebec6203a6 support for accessors, attributes.
help fixes.

svn path=/trunk/mono/; revision=2860
2002-03-03 14:41:17 +00:00
Piers Haken 8d93637bcf image for attRibutes
svn path=/trunk/mono/; revision=2859
2002-03-03 14:39:55 +00:00
Jason Diamond 13b4caeaa4 Forgot to check this in. Sorry.
svn path=/trunk/mcs/; revision=2858
2002-03-03 14:32:54 +00:00
Gaurav Vaish 12d2e9c03c 2002-03-03 Gaurav Vaish <[email protected]>
* **.cs: Some completed, some left.

* ChangeLog, TODO: The best places to see what I do. Highly verbose.

svn path=/trunk/mcs/; revision=2857
2002-03-03 13:44:50 +00:00
Nick Drochak 77058fc812 2002-03-03 Nick Drochak <[email protected]>
* corlib.build: Exclude a bunch of interfaces from corlib_res.dll
	that were preventing the tests from running on Windows.

svn path=/trunk/mcs/; revision=2856
2002-03-03 10:50:52 +00:00
Nick Drochak c41110e777 2002-03-03 Nick Drochak <[email protected]>
* corlib_test.build: Turn on debug flag for complier so that...well...
	debugging is easier.

svn path=/trunk/mcs/; revision=2855
2002-03-03 10:48:05 +00:00
Nick Drochak 07a19518b9 2002-03-03 Nick Drochak <[email protected]>
* DateTimeTest.cs: make static member non-static -- wouldn't work on
	Windows if it was static. Doesn't _need_ to be static anyway.

svn path=/trunk/mcs/; revision=2854
2002-03-03 10:43:43 +00:00
Piers Haken 57114a8df1 new event image
svn path=/trunk/mono/; revision=2853
2002-03-03 08:52:56 +00:00
Gaurav Vaish 413ac0dcfe 2002-03-03 Gaurav Vaish <[email protected]>
* *Collection.cs -- Added, completed.

svn path=/trunk/mcs/; revision=2852
2002-03-03 04:36:17 +00:00
Gaurav Vaish dd613c656b 2002-03-03 Gaurav Vaish <[email protected]>
* RangeValidator.cs      -- Status tag in the comments, to mark it 100%

svn path=/trunk/mcs/; revision=2851
2002-03-03 04:34:14 +00:00
Gaurav Vaish bd450fca84 2002-03-03 Gaurav Vaish <[email protected]>
* *.cs: Completed.

* ChangeLog, TODO: Updated with latest status.

svn path=/trunk/mcs/; revision=2850
2002-03-03 04:33:21 +00:00
Jason Diamond 2207a5d906 Implemented all of the CreateElement and CreateAttribute methods.
svn path=/trunk/mcs/; revision=2849
2002-03-03 03:06:50 +00:00
Jason Diamond b85325090c Got attributes and text nodes working while loading a document.
svn path=/trunk/mcs/; revision=2848
2002-03-03 00:35:09 +00:00
Mike Kestner 7745d16d5d In Test:
2002-03-02  Mike Kestner <[email protected]>

	* XmlAttributeTests.cs : New test suite for attrs.
	* AllTests.cs : Add the attr suite.

In System.Xml:
2002-03-02  Mike Kestner <[email protected]>

	* XmlAttribute.cs : Using fix.
	* XmlDocument.cs (CreateAttribute(String)): Implement.

svn path=/trunk/mcs/; revision=2847
2002-03-02 23:05:24 +00:00
Duco Fijma 91103232ec Created new tests for System.Attribute and System.CharEnumerator
svn path=/trunk/mcs/; revision=2844
2002-03-02 19:16:11 +00:00
Jason Diamond 25e510f3fe Fixed off by one error in StringReader.Peek() and Read().
svn path=/trunk/mcs/; revision=2843
2002-03-02 19:08:03 +00:00
Jason Diamond 624da35d1a XmlNamespaceManager now adds prefixes and namespaces to its name table.
svn path=/trunk/mcs/; revision=2841
2002-03-02 17:52:27 +00:00
Ravi Pratap M c9ffdc25cf 2002-03-01 Ravi Pratap <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Perform a check on ec.TypeContainer.TypeBuilder
	not being null.

	* codegen.cs (EmitContext): The constructor now takes in an extra argument specifying the
	DeclSpace as the distinction is important. We provide sane defaults as usually the TypeContainer
	is the DeclSpace.

	* Update code everywhere accordingly.

	* ecore.cs : Change references to ec.TypeContainer to ec.DeclSpace where appropriate.

	* cs-parser.jay (enum_declaration): Set the current namespace of the enum.

svn path=/trunk/mcs/; revision=2838
2002-03-02 04:28:31 +00:00
Piers Haken 8c6d5d62b9 help links for interfaces
svn path=/trunk/mono/; revision=2837
2002-03-02 01:30:16 +00:00
Martin Baulig 136b529506 We only need one such file, let's keep it in class/doc/ ....
svn path=/trunk/mcs/; revision=2836
2002-03-01 21:23:41 +00:00
Ravi Pratap M c2658b89d7 2002-03-01 Ravi Pratap <[email protected]>
* cs-parser.jay (member_access): Change the case for pre-defined types
	to use a MemberAccess instead of a SimpleName. Thanks to Felix again for
	this suggestion.

	* class.cs (Operator::Emit): If we are abstract or extern, we don't have
	a method body.

	* attribute.cs (CheckAttribute, ApplyAttribute): Ensure that treat operators
	essentially like methods and apply attributes like MethodImplOptions.

svn path=/trunk/mcs/; revision=2835
2002-03-01 21:20:00 +00:00
Christopher Podurgiel 554dd673c8 2002-03-01 Christopher Podurgiel <[email protected]>
* DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
		default name if the ColumnName is null.
	* DataSet.cs : Added
	* DataTable.cs : Added
	* DataRelationCollection.cs : Added
	* DataTableRelationCollection.cs : Added
	* DataColumn : Added

svn path=/trunk/mcs/; revision=2834
2002-03-01 20:57:10 +00:00
Duco Fijma ea99e780e1 Fix bug in BitConverter.ToString
svn path=/trunk/mcs/; revision=2833
2002-03-01 18:13:33 +00:00
Martin Baulig 83b4939223 Updated.
svn path=/trunk/mcs/; revision=2832
2002-03-01 17:59:11 +00:00
Martin Baulig 784e859b5f Disable ByteTest:TestParse.
svn path=/trunk/mcs/; revision=2831
2002-03-01 17:58:23 +00:00
Martin Baulig 979684a119 Comment out TestGetEnumerator.
svn path=/trunk/mcs/; revision=2830
2002-03-01 17:57:04 +00:00
Martin Baulig c409969f3c 2002-03-01 Martin Baulig <[email protected]>
* Array.cs: More argument checking and bug fixing.

svn path=/trunk/mcs/; revision=2829
2002-03-01 17:53:39 +00:00
Martin Baulig 2042c2954f 2002-03-01 Martin Baulig <[email protected]>
* icall.c (ves_icall_System_Array_GetLength): This must throw an
	ArgumentOutOfRangeException(), not an ArgumentException().
	(ves_icall_System_Array_GetLowerBound): Likewise.
	(ves_icall_System_Array_GetValue): Improved argument checking.
	(ves_icall_System_Array_SetValue): Improved argument checking.

svn path=/trunk/mono/; revision=2828
2002-03-01 17:47:56 +00:00
Miguel de Icaza 6fab3638c3 Flush
svn path=/trunk/mono/; revision=2827
2002-03-01 14:55:19 +00:00
Miguel de Icaza 05e6703528 Replace scp for rsync, updating the web page was getting slow
svn path=/trunk/mono/; revision=2826
2002-03-01 14:52:52 +00:00
Miguel de Icaza e3764a50bd Flush
svn path=/trunk/mono/; revision=2825
2002-03-01 14:46:20 +00:00
Miguel de Icaza 05f4a34784 2002-03-01 Miguel de Icaza <[email protected]>
* BitConverter.cs: Indentation match

	* AppDomain.cs: Added MonoTODOs to this too.

	* Buffer.cs: Added MonoTODOs to this.

svn path=/trunk/mcs/; revision=2824
2002-03-01 14:41:46 +00:00
Martin Baulig 88db00b247 Updated.
Tests Run: 23, Failures: 7, Errors: 11

svn path=/trunk/mcs/; revision=2823
2002-03-01 14:32:15 +00:00
Martin Baulig 84ef096347 Updated.
svn path=/trunk/mcs/; revision=2822
2002-03-01 14:18:21 +00:00
Martin Baulig 8a953e30cb 2002-03-01 Martin Baulig <[email protected]>
* ArrayTest.cs: Commented out a few bits which are not yet implemented and
	marked them with FIXME's.

	* DecimalTest.cs, DecimalTest2.cs: Added zero-arg constructors.

	* MartinTests.cs: Enabled ArrayTests.cs.

svn path=/trunk/mcs/; revision=2821
2002-03-01 14:14:19 +00:00
Martin Baulig c699835107 2002-03-01 Martin Baulig <[email protected]>
* Array.cs: Added argument checking to all methods where it was missing.

svn path=/trunk/mcs/; revision=2820
2002-03-01 14:06:13 +00:00
Martin Baulig 38ee2c2186 2002-03-01 Martin Baulig <[email protected]>
* icall.c (ves_icall_System_Array_GetValue): Raise an exception when
	called with invalid arguments rather than just dying with g_assert().
	(ves_icall_System_Array_SetValue): Likewise.
	(ves_icall_System_Array_CreateInstanceImpl): Don't g_assert_not_reached(),
	raise a NotImplementedException instead.
	(ves_icall_System_Array_GetLength): Added argument checking.
	(ves_icall_System_Array_GetLowerBound): Added argument checking.

svn path=/trunk/mono/; revision=2819
2002-03-01 14:01:17 +00:00
Dietmar Maurer b5ce045d91 object.h (MONO_CHECK_ARG_NULL): check if argument name exists
svn path=/trunk/mono/; revision=2818
2002-03-01 13:47:14 +00:00
Dietmar Maurer 7b8385b353 * jit.c (MAKE_SPILLED_BI_ALU): remove unnecessary assertions
svn path=/trunk/mono/; revision=2817
2002-03-01 13:30:45 +00:00
Miguel de Icaza 5cc8b22b9f Updated coding style guidelines
svn path=/trunk/mcs/; revision=2816
2002-03-01 12:13:29 +00:00
Duco Fijma 77b6f5f34d Completed BitConverterTest, fixed bugs found in BitConverter.ToString methods
svn path=/trunk/mcs/; revision=2815
2002-03-01 12:02:03 +00:00
Ravi Pratap M 9de764427a 2002-02-28 Ravi Pratap <[email protected]>
* rootcontext.cs (LookupType): As we cycle through the chain of namespaces
	try performing lookups against those instead of jumping straight into using
	the 'using' clauses.

	(ImplicitParent): Add. Thanks to Felix Arrese-Igor for this idea.

	(LookupType): Perform lookups in implicit parents too.

	* class.cs (GetInterfaceOrClass): Modify to perform the exact same lookup
	sequence as RootContext.LookupType.

	* rootcontext.cs (NamespaceLookup): Split out code from LookupType which tries
	the various cases of namespace lookups into this method.

svn path=/trunk/mcs/; revision=2814
2002-03-01 11:58:37 +00:00
Miguel de Icaza 99e83d9804 Use mono instead of mint in script
svn path=/trunk/mono/; revision=2813
2002-03-01 11:52:13 +00:00
Dietmar Maurer 38edd862f2 reduce allocated code size with better estimation
svn path=/trunk/mono/; revision=2812
2002-03-01 11:02:46 +00:00
Piers Haken bbee4ba0ae base class for class members
svn path=/trunk/mcs/; revision=2811
2002-03-01 10:29:25 +00:00
Paolo Molaro 5e58d678d6 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <[email protected]>
* MulticastDelegate.cs: implement operators so mcs3 can be used on linux.

svn path=/trunk/mcs/; revision=2810
2002-03-01 10:29:24 +00:00
Piers Haken 4dbb6eae36 added support for struct, interfaces, delegates & enums
svn path=/trunk/mcs/; revision=2809
2002-03-01 10:10:30 +00:00
Dietmar Maurer e7b00a294a s/WapiCriticalSection/CRITICAL_SECTION/
svn path=/trunk/mono/; revision=2808
2002-03-01 09:46:52 +00:00
Nick Drochak 8b8c6ca40c 2002-03-01 Nick Drochak <[email protected]>
* BitConverter.cs: Throw ArgumentException like mscorlib, instead of
	ArgumentOutOfRangeException like the docs say.

svn path=/trunk/mcs/; revision=2807
2002-03-01 09:45:45 +00:00
Nick Drochak a185020b6c 2002-03-01 Nick Drochak <[email protected]>
* API-docs.txt: add note about BitConverter.To*() methods

svn path=/trunk/mcs/; revision=2806
2002-03-01 09:38:54 +00:00
Piers Haken 24136805a8 fix up dependancies
svn path=/trunk/mcs/; revision=2805
2002-03-01 09:29:05 +00:00
Piers Haken 45f16466e9 fix dependancies (depends on *.cs)
svn path=/trunk/mcs/; revision=2804
2002-03-01 09:27:50 +00:00
Piers Haken 761d993280 added support for structs, interfaces, delegates & enums
svn path=/trunk/mono/; revision=2803
2002-03-01 09:24:10 +00:00
Piers Haken 2d45410238 added support for structs, interfaces, delegates & enums
svn path=/trunk/mcs/; revision=2803
2002-03-01 09:24:10 +00:00
Dietmar Maurer 60185e5573 (x86_magic_trampoline): moved lock/unlock to x86_magic_trampoline
to avoid need of recursive mutexes

svn path=/trunk/mono/; revision=2802
2002-03-01 09:20:17 +00:00
Dietmar Maurer 8bbc3c0640 (arch_compile_method): make the jit thread save
svn path=/trunk/mono/; revision=2801
2002-03-01 08:51:15 +00:00
Martin Baulig b3502a95c9 2002-03-01 Martin Baulig <[email protected]>
* scan-tests.pl: Catch exceptions when running the tests so that we
	always run all the tests in a test suite even if some of them fail.

svn path=/trunk/mcs/; revision=2800
2002-03-01 08:49:21 +00:00
Dietmar Maurer 56e53c34dc 2002-03-01 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_handle_exception): big fix - dont use
	uninitialized next_bp

svn path=/trunk/mono/; revision=2799
2002-03-01 07:27:53 +00:00
Duco Fijma 24fb777de7 Documented confusion on two System.Guid methods
svn path=/trunk/mcs/; revision=2798
2002-03-01 07:15:45 +00:00
Dietmar Maurer 5bdab26d35 removed unnecessary assertion from last commit
svn path=/trunk/mono/; revision=2797
2002-03-01 06:47:14 +00:00
Duncan Mak c2b64e29b6 2002-03-01 Duncan Mak <[email protected]>
* ObjectIDGenerator.cs: Implemented.

	* System.Runtime.Serialization/ObjectIDGeneratorTests.cs: Added
	test for System.Runtime.Serialization.ObjectIDGenerator.

svn path=/trunk/mcs/; revision=2796
2002-03-01 05:47:39 +00:00
Dietmar Maurer 0b4437c8d9 2002-03-01 Dietmar Maurer <[email protected]>
* x86.brg: use new mono_assert macros

	* emit-x86.c (arch_create_jit_trampoline): save/restore LMF before
	calling into unmanaged code (arch_compile_method).

	* object.h (mono_assert): new macros mono_assert and
	mono_assert_not_reached

svn path=/trunk/mono/; revision=2795
2002-03-01 05:39:35 +00:00
Miguel de Icaza f00566a71f Updated guildeines
svn path=/trunk/mcs/; revision=2794
2002-03-01 05:24:34 +00:00
Jason Diamond 2c72e51635 Initial implementation of XmlDocument.LoadXml courtesy of Kral Ferch <[email protected]>.
svn path=/trunk/mcs/; revision=2793
2002-03-01 05:03:55 +00:00
Jason Diamond 9bf0b7aae5 Ignore generated files and directories for those of us using VS.NET.
svn path=/trunk/mcs/; revision=2792
2002-03-01 03:41:05 +00:00
Jason Diamond d3942f4a7c More reformatting to Mono standards. Added MonoTODO attributes. XmlTextReader now throws XmlException instead of System.Exception.
svn path=/trunk/mcs/; revision=2791
2002-03-01 03:34:58 +00:00
Piers Haken e763e13d2f updated description
svn path=/trunk/mono/; revision=2790
2002-03-01 03:07:28 +00:00
Piers Haken fb0bf56083 remote old (long named) files.
svn path=/trunk/mono/; revision=2789
2002-03-01 02:59:46 +00:00
Piers Haken 1152f78c34 removed old (long named) files.
svn path=/trunk/mono/; revision=2788
2002-03-01 02:58:22 +00:00
Piers Haken 96cac8c1c8 update for removed class sub-elemtent grouping DIVs
svn path=/trunk/mono/; revision=2787
2002-03-01 02:55:31 +00:00
Piers Haken b82f5a7a68 list constructors first, remove class sub-element grouping DIVs
svn path=/trunk/mcs/; revision=2786
2002-03-01 02:54:03 +00:00
Piers Haken 7fabe7d294 add constructor parameters
svn path=/trunk/mcs/; revision=2785
2002-03-01 02:52:42 +00:00
Piers Haken 45c4a1013a fix dependancies
svn path=/trunk/mcs/; revision=2784
2002-03-01 02:50:39 +00:00
Miguel de Icaza f3e53054e7 Revert bit that break test suite
svn path=/trunk/mcs/; revision=2783
2002-03-01 02:50:15 +00:00
Miguel de Icaza 86db477542 Make mcs parse the corlib library. It is still failing to compile it
as the are some repeats, that I need to handle gracefully.

2002-03-01  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Add support for [Attribute ()] (empty arguments
	in positional arguments)

	* class.cs (Operator): Update the AllowedModifiers to contain
	extern.

	* cs-parser.jay: Update operator declaration to allow for the
	operator body to be empty.

	* cs-tokenizer.cs: Added '\u' unicode support in strings and hex
	values.

svn path=/trunk/mcs/; revision=2782
2002-03-01 02:47:10 +00:00
Miguel de Icaza 117d2fc15c Temporary file, to compile the class libs
svn path=/trunk/mcs/; revision=2781
2002-03-01 02:05:11 +00:00
Martin Baulig 4e9e5dfc99 2002-03-01 Martin Baulig <[email protected]>
* MartinTests.cs: 15 tests currently work on Linux, call them all and
	provide comments for the non-working tests.

svn path=/trunk/mcs/; revision=2780
2002-02-28 20:08:48 +00:00
Martin Baulig 41516c52b1 2002-03-01 Martin Baulig <[email protected]>
* Enum.cs (CompareTo): Correctly override this method from IComparable.

svn path=/trunk/mcs/; revision=2779
2002-02-28 20:06:27 +00:00
Martin Baulig 6314de1b66 2002-03-01 Martin Baulig <[email protected]>
* Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.

svn path=/trunk/mcs/; revision=2778
2002-02-28 20:05:00 +00:00
Duncan Mak dcd6b601e5 2002-02-28 Duncan Mak <[email protected]>
* MathTest.cs: Committed for Jon Guymon <[email protected]>.

svn path=/trunk/mcs/; revision=2777
2002-02-28 19:46:56 +00:00
Martin Baulig 848ca892fd As Miguel suggested, added a list of things which are unclear/wrong in
the documentation.

svn path=/trunk/mcs/; revision=2776
2002-02-28 18:27:12 +00:00
Martin Baulig 5fed263136 2002-02-28 Martin Baulig <[email protected]>
* String.cs: This file now passes the testsuite on Linux :-)

	* String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
	make them private and provide C# wrappers which do proper argument checking.

svn path=/trunk/mcs/; revision=2775
2002-02-28 18:19:41 +00:00
Martin Baulig 3bd1286dfb 2002-02-28 Martin Baulig <[email protected]>
* icall.c: Rename "System::String::Intern" to "System::String::_Intern"
	and "System::String::IsInterned" to "System::String::_IsInterned".

svn path=/trunk/mono/; revision=2774
2002-02-28 18:17:11 +00:00
Miguel de Icaza 6bb9199099 Updated coding conventions, and started a file to record API discrepancies
svn path=/trunk/mcs/; revision=2773
2002-02-28 16:33:24 +00:00
Martin Baulig 1835d6c421 2002-02-28 Martin Baulig <[email protected]>
* String.cs (Format): Correctly handle escaped brackets.

svn path=/trunk/mcs/; revision=2772
2002-02-28 14:57:20 +00:00
Paolo Molaro 496c154466 Thu Feb 28 19:18:59 CET 2002 Paolo Molaro <[email protected]>
* interp.c: add checks for more binary consistency.


Thu Feb 28 19:19:35 CET 2002 Paolo Molaro <[email protected]>

	* icall.c: remove hacks for typebuilder. Added icall to create a
	modified type from a tybebuilder.
	* reflection.c: removed hacks for TypeBuilder. Create also a MonoImage
	in mono_image_basic_init (). Added mono_reflection_setup_internal_class ()
	to create a backing MonoClass for a TypeBuilder.

svn path=/trunk/mono/; revision=2771
2002-02-28 14:39:52 +00:00
Paolo Molaro 02af74bbd1 Thu Feb 28 19:15:10 CET 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: call into the runtime to init some basic
	assembly stuff. Reserve slot 1 of typedef table for .<Module>.
	* ModuleBuilder.cs: call into the runtime if we need to create a
	modief type, such as arrays, byref etc.
	* TypeBuilder.cs: call into the runtime to create the MonoClass
	representation for the type. Throw exceptions with not implemented
	stuff.

svn path=/trunk/mcs/; revision=2770
2002-02-28 14:39:44 +00:00
Martin Baulig b81f348e28 Ooops, in AssertEquals(), the expected value comes first ....
svn path=/trunk/mcs/; revision=2769
2002-02-28 14:32:13 +00:00
Martin Baulig 9bb262beac 2002-02-28 Martin Baulig <[email protected]>
* String.cs (TestCompare): Added a few tests.
	(TestFormat): Please don't compare two strings with Assert (... == ...),
	use AssertEquals instead - this gives you a better idea what went wrong
	if the test fails.

svn path=/trunk/mcs/; revision=2768
2002-02-28 14:23:29 +00:00
Martin Baulig 26143f1e13 2002-02-28 Martin Baulig <[email protected]>
* String.cs (_CompareChar): New internal function which compares two chars.
	(_Compare): Provide an internal compare method which can do all sorts of
	comparision and call it from all the Compare() methods. Also fixed a lot of
	bugs here, this code now actually passes the testsuite.

svn path=/trunk/mcs/; revision=2767
2002-02-28 14:20:27 +00:00
Duncan Mak a62ed40659 2002-02-28 Duncan Mak <[email protected]>
* Convert.cs:
	(ISDBNull): Implemented.
	(GetTypeCode): Implemented.

svn path=/trunk/mcs/; revision=2766
2002-02-28 12:17:51 +00:00
Duncan Mak a7c26fa496 2002-02-28 Duncan Mak <[email protected]>
* Convert.cs: Added the missing methods. The new class status page
	kicks ass, it even found my typos! Woohoo!
	(ConvertFromBase): Moved the Exception throwing in here and
	removed the other occurances so it's all centralized now.

svn path=/trunk/mcs/; revision=2765
2002-02-28 12:00:01 +00:00
Dietmar Maurer 183caf984a bug fix im REM_UN
svn path=/trunk/mono/; revision=2764
2002-02-28 10:51:35 +00:00
Paolo Molaro 38c506bcfa Thu Feb 28 15:35:51 CET 2002 Paolo Molaro <[email protected]>
* class.c, class.h: more refactoring of class init.
	Export mono_class_setup_mono_type() and mono_class_setup_parent().

svn path=/trunk/mono/; revision=2763
2002-02-28 10:45:44 +00:00
Nick Drochak 6599fc9a98 2002-02-28 Nick Drochak <[email protected]>
* BitConverterTest.cs: Test was trying to catch the wrong Exception.
	The MSDN docs clearly say ArgumentOutOfRangeException, but that's
	not what get's thrown.

	* DoubleTest.cs: Get working against mscorlib reference.

svn path=/trunk/mcs/; revision=2762
2002-02-28 09:55:11 +00:00
Dietmar Maurer d0fca2e86e impl. more CONV opcodes
svn path=/trunk/mono/; revision=2761
2002-02-28 09:35:29 +00:00
Nick Drochak 8e752fd5a5 2002-02-28 Nick Drochak <[email protected]>
* BitConverterTest.cs: Test was trying to catch the wrong Exception.
	The MSDN docs clearly say ArgumentOutOfRangeException, but that's
	not what get's thrown.

svn path=/trunk/mcs/; revision=2760
2002-02-28 09:24:59 +00:00
Paolo Molaro 459aa39b12 Thu Feb 28 12:34:21 CET 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: start handling of more complex marshaling stuff.


Thu Feb 28 12:33:41 CET 2002 Paolo Molaro <[email protected]>

	* marshal.c, marshal.h: start of marshaling interface.

svn path=/trunk/mono/; revision=2759
2002-02-28 07:43:49 +00:00
Dietmar Maurer cbc63a65e0 impl CALL_I8(INTF_ADDR)
svn path=/trunk/mono/; revision=2758
2002-02-28 06:36:25 +00:00
Dietmar Maurer b85991e096 2002-02-28 Dietmar Maurer <[email protected]>
* x86.brg: impl. CONV_I4 (freg) with correct rounding

svn path=/trunk/mono/; revision=2757
2002-02-28 05:48:26 +00:00
Piers Haken 517473c973 removed xml generation, it's done in the parent makefile
svn path=/trunk/mcs/; revision=2756
2002-02-28 04:53:07 +00:00
Jason Diamond e0eb4eb7fd Reformatted, added missing members, and MonoTODO attributes.
svn path=/trunk/mcs/; revision=2755
2002-02-28 03:23:24 +00:00
Jason Diamond 4e459e2a5f Solution and project files to help debug System.XML.
svn path=/trunk/mcs/; revision=2754
2002-02-28 02:42:51 +00:00
Duncan Mak 8b1b2664e5 2002-02-27 Duncan Mak <[email protected]>
* ExporterEventKind.cs:
	* ITypeLibConverter.cs:
	* ITypeLibImporterNotifySink.cs: Added to CVS for Kevin Winchester <[email protected]>.

svn path=/trunk/mcs/; revision=2753
2002-02-28 00:50:07 +00:00
Bob Doan c1e98e3d8c DoubleTest.cs: Added parse tests to Double test suite, removed GetHashCodeTests
svn path=/trunk/mcs/; revision=2752
2002-02-28 00:13:11 +00:00
Piers Haken 3a4f8c97ba fixed help links, .ctor indenting
svn path=/trunk/mono/; revision=2751
2002-02-27 20:55:49 +00:00
Piers Haken da2eb71a3c truncate attributes
svn path=/trunk/mcs/; revision=2750
2002-02-27 19:10:39 +00:00
Piers Haken 27a9507f20 added dependancies for update rule
svn path=/trunk/mcs/; revision=2749
2002-02-27 19:09:34 +00:00
Piers Haken 6d67ffe26e truncated filenames
svn path=/trunk/mono/; revision=2748
2002-02-27 19:01:08 +00:00
Duco Fijma ebe21dc96f Minor changes to System.Guid and System.TimeSpan
svn path=/trunk/mcs/; revision=2747
2002-02-27 18:27:44 +00:00
Miguel de Icaza 618128fbe1 2002-02-27 Miguel de Icaza <[email protected]>
* class.cs (Method.Emit): Label parameters.

svn path=/trunk/mcs/; revision=2746
2002-02-27 17:50:40 +00:00
Paolo Molaro 36c2b1e824 Wed Feb 27 22:15:17 CET 2002 Paolo Molaro <[email protected]>
* icall.c: fix order in assembly qualified name icall.

svn path=/trunk/mono/; revision=2745
2002-02-27 17:24:51 +00:00
Miguel de Icaza 01363bbe16 Adapt makefile
svn path=/trunk/mcs/; revision=2744
2002-02-27 16:41:17 +00:00
Miguel de Icaza 3ab46f0035 Flush
svn path=/trunk/mono/; revision=2743
2002-02-27 16:41:14 +00:00
Miguel de Icaza 766a06ec20 Add .cvsignores
svn path=/trunk/mono/; revision=2742
2002-02-27 16:39:01 +00:00
Piers Haken a7bd5d8a34 fix erroneous 'Completed' label in legend.
svn path=/trunk/mcs/; revision=2741
2002-02-27 16:33:59 +00:00
Miguel de Icaza 488f8d8884 Bug fix
svn path=/trunk/mono/; revision=2740
2002-02-27 16:27:22 +00:00
Miguel de Icaza 0f62777edb Activate Piers class status
svn path=/trunk/mono/; revision=2739
2002-02-27 16:16:48 +00:00
Miguel de Icaza 69360d2028 Flush
svn path=/trunk/mono/; revision=2738
2002-02-27 15:53:38 +00:00
Martin Baulig fcdfb25079 Added.
svn path=/trunk/mcs/; revision=2737
2002-02-27 15:21:09 +00:00
Martin Baulig e8d95867bd 2002-02-27 Martin Baulig <[email protected]>
* System.Text.RegularExpressions/*.cs: Put everything into namespace
	Ximian.Mono.Tests.System.Text.RegularExpressions.

svn path=/trunk/mcs/; revision=2736
2002-02-27 15:16:34 +00:00
Martin Baulig f55df6ab6a Added using System.Collections.Specialized;
svn path=/trunk/mcs/; revision=2735
2002-02-27 15:12:52 +00:00
Piers Haken 1410d4be82 *** empty log message ***
svn path=/trunk/mono/; revision=2734
2002-02-27 15:09:51 +00:00
Piers Haken d6b3ea04ea *** empty log message ***
svn path=/trunk/mcs/; revision=2734
2002-02-27 15:09:51 +00:00
Martin Baulig e9f35aa44b 2002-02-27 Martin Baulig <[email protected]>
* System.XML_test.build: Build new executable RunTests.System.XML.exe
	which you can use to run the tests on Linux.

svn path=/trunk/mcs/; revision=2733
2002-02-27 15:06:43 +00:00
Martin Baulig b5189359b3 2002-02-27 Martin Baulig <[email protected]>
* System_test.build: Build new executable RunTests.System.exe which you can
	use to run the tests on Linux.

	* NameValueCollectionTest.cs: Split out BasicOperationTest into
	BasicOperationTest.cs.

	* AllTests.cs: Use namespace Ximian.Mono.Tests.System instead of
	Ximian.Mono.Tests.

	* DnsTest.cs: Put this into namespace Ximian.Mono.Tests.Systeam.
	* NameValueCollectionTest.cs: Likewise.
	* StringCollectionTest.cs: Likewise.

svn path=/trunk/mcs/; revision=2732
2002-02-27 15:00:14 +00:00
Martin Baulig 2891956d2d Updated.
svn path=/trunk/mcs/; revision=2731
2002-02-27 14:49:56 +00:00
Paolo Molaro a43aa6abe8 Wed Feb 27 18:48:47 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: fix nested exception blocks.

svn path=/trunk/mcs/; revision=2730
2002-02-27 14:16:42 +00:00
Paolo Molaro df332517e6 Wed Feb 27 18:45:03 CET 2002 Paolo Molaro <[email protected]>
* class.c: do not free str, since we store it in the hash table.
	* reflection.h: add label field to MonoILExceptionInfo.
	* reflection.c: handle references to more than one assembly. Handle
	case when there isn't a module created in the assembly.

svn path=/trunk/mono/; revision=2729
2002-02-27 13:56:44 +00:00
Miguel de Icaza 59b5a46ff2 2002-02-27 Miguel de Icaza <[email protected]>
* driver.cs: Return 1 or 0 as the program exit code.

svn path=/trunk/mcs/; revision=2728
2002-02-27 13:28:53 +00:00
Miguel de Icaza 09463ffbc3 Update web site
svn path=/trunk/mono/; revision=2727
2002-02-27 13:08:58 +00:00
Nick Drochak f4a9f41299 2002-02-28 Nick Drochak <[email protected]>
* MemoryStreamTest.cs
	* StreamWriterTest.cs
	* StringReaderTest.cs: Fix test bugs found by running against mscorlib.
	AssertEquals() requires the expected and atual values to be the same
	type if they are to be considered equal.

svn path=/trunk/mcs/; revision=2726
2002-02-27 12:47:07 +00:00
Dietmar Maurer 60b36447e6 2002-02-27 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_runtime_invoke): impl. runtime invoke for the jit.

svn path=/trunk/mono/; revision=2725
2002-02-27 12:23:00 +00:00
Nick Drochak beb6908202 2002-02-28 Nick Drochak <[email protected]>
* HashtableTest.cs: make the second test class public.  The was showing
	as an error whe run against the mscorlib.  Might be because of the
	new NUnit that was just checked in.

svn path=/trunk/mcs/; revision=2724
2002-02-27 11:46:27 +00:00
Martin Baulig 777a45966f 2002-02-27 Martin Baulig <[email protected]>
* RunTests.cs: Removed. This is now in the nant directory.

svn path=/trunk/mcs/; revision=2723
2002-02-27 10:21:37 +00:00
Martin Baulig 767d0e4632 Added linux' and windows' targets.
svn path=/trunk/mcs/; revision=2722
2002-02-27 10:20:59 +00:00
Martin Baulig 3fbd4aab53 2002-02-27 Martin Baulig <[email protected]>
* corlib_test.build: Don't link TheTests.cs into the dlls, renamed
	RunTests.exe to RunTests.corlib.exe and link it against NUnitBase.dll.

svn path=/trunk/mcs/; revision=2721
2002-02-27 09:59:37 +00:00
Martin Baulig 7f5d6c4db8 Updated.
svn path=/trunk/mcs/; revision=2720
2002-02-27 09:57:11 +00:00
Martin Baulig 7e16486f31 2002-02-27 Martin Baulig <[email protected]>
* scan-tests.pl: Moved this script here from ../class/corlib/Test.

svn path=/trunk/mcs/; revision=2719
2002-02-27 09:56:15 +00:00
Martin Baulig ce74339f91 2002-02-27 Martin Baulig <[email protected]>
* scan-tests.pl: Moved to ../../../tools/.

svn path=/trunk/mcs/; revision=2718
2002-02-27 09:55:34 +00:00
Martin Baulig 9faa903828 2002-02-27 Martin Baulig <[email protected]>
* RunTests.cs: This is a simple test runner which is used when we
	run the tests on Linux. It is linked into UNitBase.dll.

svn path=/trunk/mcs/; revision=2717
2002-02-27 09:49:56 +00:00
Martin Baulig c3d9543977 2002-02-27 Martin Baulig <[email protected]>
Imported NUnit 1.11.

	* nunit.build: Added NAnt build file for NUnit. In addition to
	NUnitConsole.exe and NUnitCore.dll, we also create a small
	NUnitBase.dll which just contains the source files which are needed
	to run the tests on Linux.

	* makefile: Just call NAnt here.

	* NUnitGUI.exe, NUnitTests.dll: Removed binaries.

svn path=/trunk/mcs/; revision=2716
2002-02-27 09:48:09 +00:00
Martin Baulig f2184dcb45 NUnit 1.11.
svn path=/trunk/mcs/; revision=2715
2002-02-27 09:43:34 +00:00
Martin Baulig 5755971d00 Initial revision
svn path=/trunk/mcs/; revision=2711
2002-02-27 09:38:18 +00:00
Sergey Chaban e0e69047e9 * Makefile.am: removed SCRIPT_SOURCES to fix automake issues.
svn path=/trunk/mono/; revision=2710
2002-02-27 09:12:27 +00:00
Paolo Molaro d32212d8ec Wed Feb 27 12:35:10 CET 2002 Paolo Molaro <[email protected]>
* class.c: Fix typo. Start refactoring of class init code.

svn path=/trunk/mono/; revision=2709
2002-02-27 07:44:47 +00:00
Paolo Molaro 340ce50eea Wed Feb 27 12:23:00 CET 2002 Paolo Molaro <[email protected]>
* appdomain.c: exit with 1 on error.
	* class.c: we already have the name in MonoClassField.
	* image.c, image.h, metadata.c, pedump.c: use directly a pointer in
	MonoStreamHeader instead of an offset of image->raw_metadata.

svn path=/trunk/mono/; revision=2708
2002-02-27 07:34:09 +00:00
Paolo Molaro 25d6cb3c58 Fix href attribute quoting.
svn path=/trunk/mono/; revision=2707
2002-02-27 06:49:35 +00:00
Duncan Mak ac7e1b1ce1 2002-02-26 Duncan Mak <[email protected]>
* ComInterfaceType.cs: Added to CVS.

svn path=/trunk/mcs/; revision=2705
2002-02-26 23:36:05 +00:00
Duncan Mak d9a2691750 2002-02-26 Duncan Mak <[email protected]>
* AssemblyRegistrationFlags.cs:
	* GuidAttribute.cs:
	* ICustomAdapter.cs:
	* ICustomFactory.cs:
	* ICustomMarshaler.cs:
	* IRegistrationServices.cs:
	* ITypeLibExporterNameProvider.cs:
	* ITypeLibImporterNotifySink.cs:
	* InterfaceTypeAttribute.cs:
	* TypeLibExporterFlags.cs: Committed for Kevin Winchester <[email protected]>.

svn path=/trunk/mcs/; revision=2704
2002-02-26 23:30:37 +00:00
Duncan Mak a40a4777b3 2002-02-26 Duncan Mak <[email protected]>
* StrongNameKeyPair.cs: Committed for Kevin Winchester ([email protected]>.

svn path=/trunk/mcs/; revision=2703
2002-02-26 23:29:19 +00:00
Miguel de Icaza 6505431310 Include test in build
svn path=/trunk/mcs/; revision=2702
2002-02-26 22:08:04 +00:00
Miguel de Icaza dfb1822644 2002-02-26 Miguel de Icaza <[email protected]>
* expression.cs: Special case the `null' object when trying to
	auto-compute the type, as anything can be explicitly converted to
	that.

Added test

svn path=/trunk/mcs/; revision=2701
2002-02-26 22:07:49 +00:00
Martin Baulig 7443ac0f26 Removed reference to System.Windows.Forms.
svn path=/trunk/mcs/; revision=2700
2002-02-26 22:07:01 +00:00
Duncan Mak 461d8356b6 * XmlCDataSection.cs: Initial implementation.
* NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
it out. This should (hopefully) be correct.

svn path=/trunk/mcs/; revision=2699
2002-02-26 22:04:02 +00:00
Duncan Mak dc8d9c91a7 Test for System.Xml.NameTable.
svn path=/trunk/mcs/; revision=2698
2002-02-26 22:02:59 +00:00
Miguel de Icaza 5f04ac2db9 update
svn path=/trunk/mono/; revision=2697
2002-02-26 21:38:20 +00:00
Miguel de Icaza 961f0c0a1c Add new bug file to check; New test to excercise the enum bug that I just
fixed, plus:

2002-02-26  Miguel de Icaza  <[email protected]>

	* ecore.cs (Expression.ConvertExplicit): Bug fix, thanks for
	spotting this Paolo.

	(Expression.ImplicitNumericConversion): Perform comparissions of
	the type using the underlying type in the case of an enumeration
	rather than using the enumeration type for the compare.

	Cope with the underlying == type case, which is not possible to
	catch before.

	(Expression.ConvertNumericExplicit): Perform comparissions of
	the type using the underlying type in the case of an enumeration
	rather than using the enumeration type for the compare.

svn path=/trunk/mcs/; revision=2696
2002-02-26 21:12:07 +00:00
Martin Baulig 2839c67ec6 2002-02-26 Martin Baulig <[email protected]>
* MartinTests.cs: New file. This contains all the tests which already
	work on Linux.

	* RunTests.cs: A small custom testrunner to run the tests on Linux.

	* scan-tests.pl: Call this perl script with either MartinTests.cs or
	AllTests.cs as argument and redirect the output the TheTests.cs - it'll
	create a file which calls all the tests.

	* TheTests.cs: This is automatically generated from scan-tests.pl but
	needs some manual editing, so it's in CVS.

	* corlib_test.build: In addition to the libraries, create an executable
	called RunTests.exe which contains all the tests and the custom test
	runner. You can run this executable on Windows to test things with
	mscorlib or on Linux using the mono runtime.

svn path=/trunk/mcs/; revision=2695
2002-02-26 21:09:43 +00:00
Martin Baulig e86f638677 2002-02-26 Martin Baulig <[email protected]>
* MartinTests.cs: New file. This contains all the test which already
	work on Linux.

svn path=/trunk/mcs/; revision=2694
2002-02-26 21:05:39 +00:00
Martin Baulig d4af82ec24 2002-02-26 Martin Baulig <[email protected]>
* */*.cs: added zero-args constructors for all the test classes.

svn path=/trunk/mcs/; revision=2693
2002-02-26 20:54:32 +00:00
Duncan Mak 007a9435c2 Committed for Ajay Kumar Dwivedi.
svn path=/trunk/mcs/; revision=2692
2002-02-26 20:30:39 +00:00
Duncan Mak d17eac0fd8 2002-02-26 Duncan Mak <[email protected]>
* GCHandle.cs: Added to CVS. Patch from Ajay kumar Dwivedi.

	* GCHandleType.cs: Committed patch from Ajay.

svn path=/trunk/mcs/; revision=2691
2002-02-26 20:28:10 +00:00
Miguel de Icaza fecdd6ec20 2002-02-26 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ConvertExplicit): Bug fix, thanks for
	spotting this Paolo.

svn path=/trunk/mcs/; revision=2690
2002-02-26 20:21:01 +00:00
Christian Meyer 9afbda4acc Added method headers (Bitmap.cs).
svn path=/trunk/mcs/; revision=2689
2002-02-26 19:14:33 +00:00
Duncan Mak 295b6f7ba2 Forgot about this....
svn path=/trunk/mcs/; revision=2688
2002-02-26 19:07:48 +00:00
Duncan Mak 34697ba0fb 2002-02-26 Duncan Mak <[email protected]>
* NameTable.cs: Fix the Add (string) method.

svn path=/trunk/mcs/; revision=2687
2002-02-26 18:49:43 +00:00
Martin Baulig 4c78321b31 2002-02-26 Martin Baulig <[email protected]>
* TimeZone.cs: Use an internal enum rather than magic numbers to access the
	fields of the interncall GetTimeZoneData.

svn path=/trunk/mcs/; revision=2686
2002-02-26 17:25:59 +00:00
Miguel de Icaza f07aee4d79 2002-02-26 Miguel de Icaza <[email protected]>
* driver.cs: If the user does not supply an extension, assume .exe

svn path=/trunk/mcs/; revision=2685
2002-02-26 17:18:29 +00:00
Miguel de Icaza 7484df02a7 2002-02-26 Miguel de Icaza <[email protected]>
* cs-parser.jay (if_statement): Rewrote so that we can track the
	location for the if statement.

	* expression.cs (Binary.ConstantFold): Only concat strings when
	the operation is "+", not everything ;-)

	* statement.cs (Statement.EmitBoolExpression): Take a location
	argument.
	(If, While, Do): Track location.

	* expression.cs (Binary.ResolveOperator): In the object + string
	case, I was missing a call to ConvertImplicit

svn path=/trunk/mcs/; revision=2684
2002-02-26 17:11:14 +00:00
Martin Baulig 9fa4a26551 More tests ....
svn path=/trunk/mcs/; revision=2683
2002-02-26 16:57:48 +00:00
Martin Baulig 394aff6627 2002-02-26 Martin Baulig <[email protected]>
* String.cs: Added two testcases to TestTrim(), TestTrimStart() and
	TestTrimEnd().

svn path=/trunk/mcs/; revision=2682
2002-02-26 16:57:16 +00:00
Martin Baulig 1e792d24d0 2002-02-26 Martin Baulig <[email protected]>
* DateTime.cs: ParseExact is now fully functional.

	* String.cs (TrimEnd): Small fix.

svn path=/trunk/mcs/; revision=2681
2002-02-26 16:53:05 +00:00
Miguel de Icaza 8f0e8e978a 2002-02-26 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): In the object + string
	case, I was missing a call to ConvertImplicit

svn path=/trunk/mcs/; revision=2680
2002-02-26 16:34:48 +00:00
Martin Baulig fc6becfd62 2002-02-26 Martin Baulig <[email protected]>
* DateTime.cs: ParseExact is now fully functional.

	* String.cs (TrimEnd): Small fix.

svn path=/trunk/mcs/; revision=2679
2002-02-26 15:14:59 +00:00
Miguel de Icaza 7b4bb6f3c8 2002-02-26 Miguel de Icaza <[email protected]>
* appdomain.c (mono_init): Be even more descriptive about the error.

svn path=/trunk/mono/; revision=2678
2002-02-26 14:45:06 +00:00
Miguel de Icaza 8c53bf28dd Document --profile
svn path=/trunk/mono/; revision=2677
2002-02-26 14:34:49 +00:00
Miguel de Icaza 53e8379b3f Add reference to the .NET redist package.
Update news.

svn path=/trunk/mono/; revision=2676
2002-02-26 14:28:32 +00:00
Paolo Molaro 8feebe41dd Hopefully make lazy people not complain and keep distcheck useful.
svn path=/trunk/mono/; revision=2675
2002-02-26 14:25:04 +00:00
Dietmar Maurer a035ce85d8 2002-02-26 Dietmar Maurer <[email protected]>
* x86.brg: replaced x86_call_reg with x86_call_code

svn path=/trunk/mono/; revision=2674
2002-02-26 13:17:10 +00:00
Martin Baulig ef77cccab7 2002-02-26 Martin Baulig <[email protected]>
* DateTimeTest.cs: Added testcases for the parsers. Use the invariant
	culture to run this test suite.

	* TimeZoneTest.cs: Use the invariant culture to run this test suite.

svn path=/trunk/mcs/; revision=2673
2002-02-26 12:34:56 +00:00
Martin Baulig 598c1c4b43 A bunch of bug-fixes now that we have a test-suite for this.
svn path=/trunk/mcs/; revision=2672
2002-02-26 12:29:14 +00:00
Paolo Molaro 1adc1a9a6b Automake fu to automatically check for the needed assemblies
and CLR programs on make distcheck and install them in a generic way.

svn path=/trunk/mono/; revision=2671
2002-02-26 11:55:15 +00:00
Duco Fijma 322ccefd22 Implemented System.TimeSpan.FromMilliseconds
svn path=/trunk/mcs/; revision=2670
2002-02-26 11:44:26 +00:00
Dietmar Maurer 155dac38d1 2002-02-26 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in CLT(lreg,lreg)
	(reg): bug fix in CONV_OVF_I4(lreg)

svn path=/trunk/mono/; revision=2669
2002-02-26 11:28:11 +00:00
Paolo Molaro e24a733e74 Tue Feb 26 16:18:07 CET 2002 Paolo Molaro <[email protected]>
* appdomain.c: give the user an informative message when corlib can't
	be loaded.

svn path=/trunk/mono/; revision=2668
2002-02-26 11:27:33 +00:00
Nick Drochak 1b71ccd168 2002-02-27 Nick Drochak <[email protected]>
* index: point to new location of mailing lists
	* resources: fix bug (add missing </a>).
	Thanks to Andreas Jellinghaus for pointing these out.

svn path=/trunk/mono/; revision=2667
2002-02-26 11:24:31 +00:00
Paolo Molaro d15c7ba633 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <[email protected]>
* UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.

svn path=/trunk/mcs/; revision=2666
2002-02-26 09:30:47 +00:00
Dietmar Maurer c5b9ce1509 removed unnecessary assertion
svn path=/trunk/mono/; revision=2665
2002-02-26 09:15:18 +00:00
Dietmar Maurer f5205cd474 2002-02-26 Dietmar Maurer <[email protected]>
* emit-x86.c (mono_add_jump_info): impl.
	(mono_compute_branches): patch real jump address (instead of
	emitting code twice)

svn path=/trunk/mono/; revision=2664
2002-02-26 09:11:09 +00:00
Paolo Molaro ae072a0f93 Tue Feb 26 11:56:03 CET 2002 Paolo Molaro <[email protected]>
* x86.brg: optimize cmp reg,0 -> test reg.

svn path=/trunk/mono/; revision=2663
2002-02-26 07:05:29 +00:00
Paolo Molaro 7eff8c833e Tue Feb 26 11:43:34 CET 2002 Paolo Molaro <[email protected]>
* interp.c: added profiling for object creation.

svn path=/trunk/mono/; revision=2662
2002-02-26 06:52:50 +00:00
Jason Diamond 6808258fa8 Namespace declarations are now treated like attributes. Fixed bug in XmlNamespaceManager.HasNamespace. All tests now pass for both Mono and Microsoft.
svn path=/trunk/mcs/; revision=2661
2002-02-26 03:56:17 +00:00
Duncan Mak d53d26f8b7 2002-02-26 Duncan Mak <[email protected]>
* XmlDocumentType.cs: Added a few hacks here and there to
	temporarily fix the "I broke the build issue".

svn path=/trunk/mcs/; revision=2660
2002-02-26 01:48:08 +00:00
Duncan Mak 147ae24839 2002-02-26 Duncan Mak <[email protected]>
* ImporterEventKind.cs: Added to CVS.

svn path=/trunk/mcs/; revision=2659
2002-02-26 01:31:14 +00:00
Ravi Pratap M 7d264ba7cc 2002-02-25 Ravi Pratap <[email protected]>
* parameter.cs (Parameter.ExternalType): Take in extra DeclSpace and
	Location arguments. Ensure we use RootContext.LookupType to do our work
	and not try to do a direct Type.GetType and ModuleBuilder.GetType

	* interface.cs (PopulateMethod): Handle the type of the parameter being
	null gracefully.

	* expression.cs (Invocation.BetterFunction): Handle the case when we
	have a params method with no fixed arguments and a call is made with no
	arguments.

	* More tomorrow - have to go home now and study :-)

svn path=/trunk/mcs/; revision=2658
2002-02-26 00:37:40 +00:00
Martin Baulig 93085cb16e 2002-02-26 Martin Baulig <[email protected]>
* DateTimeTest.cs: New test.

svn path=/trunk/mcs/; revision=2657
2002-02-25 23:08:13 +00:00
Martin Baulig 136ae56e6a Ooops, Miguel added this to the wrong directory.
svn path=/trunk/mcs/; revision=2656
2002-02-25 23:06:44 +00:00
Martin Baulig 071fdd99ce Removed a debugging statement and added myself to the authors list.
svn path=/trunk/mcs/; revision=2655
2002-02-25 23:04:44 +00:00
Martin Baulig ac1d8ea355 2002-02-26 Martin Baulig <[email protected]>
* DateTime.cs: Miguel already committed this, but there was still a
	ChangeLog entry for this missing ....
	We're now reusing functionality from TimeSpan, printing dates is
	fully implemented, currently working on parsing.

svn path=/trunk/mcs/; revision=2654
2002-02-25 23:04:20 +00:00
Martin Baulig 24e5c5c949 2002-02-26 Martin Baulig <[email protected]>
* TimeZoneTest.cs: New test.

svn path=/trunk/mcs/; revision=2653
2002-02-25 22:51:13 +00:00
Martin Baulig 4c31acff4a 2002-02-26 Martin Baulig <[email protected]>
* TimeZone.cs: Fully implemented this. There's a new InternCall in the
	runtime for this.

svn path=/trunk/mcs/; revision=2652
2002-02-25 22:45:49 +00:00
Martin Baulig 6dd35c899c 2002-02-26 Martin Baulig <[email protected]>
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
	New icall to get the time zone data.

svn path=/trunk/mono/; revision=2651
2002-02-25 21:49:17 +00:00
Duncan Mak 722d2983b5 2002-02-25 Duncan Mak <[email protected]>
* NameTable.cs: Implemented.

	* XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.

svn path=/trunk/mcs/; revision=2650
2002-02-25 21:29:11 +00:00
Jason Diamond f0499ad934 Added simple test for XmlDocument. Made many fixes to existing code to get the test to pass.
svn path=/trunk/mcs/; revision=2649
2002-02-25 21:21:08 +00:00
Miguel de Icaza 21ec26b3c0 Small bug fix
svn path=/trunk/mcs/; revision=2648
2002-02-25 21:15:55 +00:00
Duncan Mak 1124c3ca3a 2002-02-25 Duncan Mak <[email protected]>
* NameTable.cs: Implemented.

svn path=/trunk/mcs/; revision=2647
2002-02-25 21:10:55 +00:00
Miguel de Icaza 34fc508519 Add AllMembershipCondition from Ajay
svn path=/trunk/mcs/; revision=2646
2002-02-25 20:53:08 +00:00
Miguel de Icaza 9a185b7525 Improve tokenizer test
svn path=/trunk/mcs/; revision=2645
2002-02-25 20:17:00 +00:00
Miguel de Icaza 6a587b32c2 2002-02-25 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Add support for the quote-escape-sequence in
	the verbatim-string-literal

svn path=/trunk/mcs/; revision=2644
2002-02-25 20:16:48 +00:00
Miguel de Icaza a3aa0169aa Add DateTime test from Martin
svn path=/trunk/mcs/; revision=2643
2002-02-25 20:03:37 +00:00
Miguel de Icaza 08a23c411c Further updates from Martin
svn path=/trunk/mcs/; revision=2642
2002-02-25 20:02:48 +00:00
Christian Meyer c43efbc1b0 Added Bitmap.cs.
svn path=/trunk/mcs/; revision=2641
2002-02-25 19:30:41 +00:00
Duco Fijma 2d686b96f3 Completed GuidTest.cs, created BitConverterTest.cs
svn path=/trunk/mcs/; revision=2640
2002-02-25 17:15:28 +00:00
Miguel de Icaza be8c5315fd Add new test
svn path=/trunk/mcs/; revision=2639
2002-02-25 16:06:01 +00:00
Miguel de Icaza 449e77bbc3 2002-02-25 Miguel de Icaza <[email protected]>
* support.cs (InternalParameters.ParameterModifier): handle null
	fixed parameters.
	(InternalParameters.ParameterType): ditto.

	* parameter.cs (VerifyArgs): Also check if the fixed parameter is
	duplicating the name of the variable parameter.
	(GetParameterByName): Fix bug where we were not looking up array
	paramters if they were the only present (thanks Paolo!).
	(GetParameterInfo): We only have an empty set of types if both
	fixed and array are set to null.
	(GetParameterInfo-idx): Handle FixedParameter == null

svn path=/trunk/mcs/; revision=2638
2002-02-25 16:01:41 +00:00
Miguel de Icaza d3397190d5 Bug fixes and more implementation from Martin Baulig
svn path=/trunk/mcs/; revision=2637
2002-02-25 15:28:10 +00:00
Miguel de Icaza 4c895bc61d 2002-02-25 Miguel de Icaza <[email protected]>
* cs-parser.jay: Handle the case where there is no catch
	statements (missing null test).

svn path=/trunk/mcs/; revision=2636
2002-02-25 14:46:43 +00:00
Paolo Molaro b17b5122df Mon Feb 25 17:37:07 CET 2002 Paolo Molaro <[email protected]>
* interp.c: use correct value for guint64 max.

svn path=/trunk/mono/; revision=2635
2002-02-25 12:46:27 +00:00
Nick Drochak be6dbefead 2002-02-25 Nick Drochak <[email protected]>
* One more note.

svn path=/trunk/mcs/; revision=2634
2002-02-25 11:23:03 +00:00
Paolo Molaro c3c13c8408 Mon Feb 25 15:51:51 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: set virtual and raw size of section correctly.
	* threads.c: transfer domain information to newly created threads.

svn path=/trunk/mono/; revision=2633
2002-02-25 11:01:46 +00:00
Nick Drochak 8886304929 2002-02-25 Nick Drochak <[email protected]>
* TODO: added file.  Notes on what to do next.

svn path=/trunk/mcs/; revision=2632
2002-02-25 10:38:38 +00:00
Nick Drochak 3cde7d6f33 2002-02-25 Nick Drochak <[email protected]>
* ToDoAssembly.cs: remove unused code
	* ToDoNamespace.cs: using BindingFlags for GetMembers
	* ToDoType.cs: throw exception if we encounter a member type
	that we didn't expect. Also remove unused property.

svn path=/trunk/mcs/; revision=2631
2002-02-25 10:30:37 +00:00
Nick Drochak 4f3cd6ce26 2002-02-25 Nick Drochak <[email protected]>
* CorCompare.cs: remove old file.  Files are now in their own
	sub directory.

svn path=/trunk/mcs/; revision=2630
2002-02-25 10:07:45 +00:00
Sergey Chaban 43c48de477 * ARM-related changes.
svn path=/trunk/mono/; revision=2629
2002-02-25 09:18:58 +00:00
Sergey Chaban 7db171767b * ChangeLog: ARM-related log entry.
svn path=/trunk/mono/; revision=2628
2002-02-25 08:58:43 +00:00
Sergey Chaban a39f74458a * Makefile.am: added arm to DIST_SUBDIRS.
svn path=/trunk/mono/; revision=2627
2002-02-25 08:56:57 +00:00
Mark Crichton 8f5ad60ca1 Some changes for Rijndael.
Hopefully I did the Properties correctly (see the Rijndael constructor for
more info).

svn path=/trunk/mcs/; revision=2623
2002-02-25 01:49:43 +00:00
Duncan Mak edff44185c 2002-02-25 Duncan Mak <[email protected]>
* XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.

svn path=/trunk/mcs/; revision=2622
2002-02-25 01:27:59 +00:00
Duncan Mak d334bf4514 2002-02-24 Duncan Mak <[email protected]>
* XmlNodeOrder.cs: Added to CVS.

svn path=/trunk/mcs/; revision=2621
2002-02-25 01:24:51 +00:00
Bob Doan 6294a3289f * BooleanTest.cs: Use correct argument order in AssertEquals
* AllTests.cs: Added new Double test to suite.
* DoubleTest.cs: Add new test suite

svn path=/trunk/mcs/; revision=2620
2002-02-24 22:30:10 +00:00
Duncan Mak ed0e45d9ae 2002-02-24 Duncan Mak <[email protected]>
* XmlQualifiedName.cs: Fixed a warning from Equals ().

svn path=/trunk/mcs/; revision=2619
2002-02-24 21:05:59 +00:00
Radek Doulik 0c47abc5bd (mono_create_method_pointer): implements delegates with parameters
and return value

svn path=/trunk/mono/; revision=2618
2002-02-24 20:46:13 +00:00
Duncan Mak ce2078254b 2002-02-24 Duncan Mak <[email protected]>
* ICredentialLookup.cs: Added the GetCredential method to the
      interface. The interface is named "ICredentials", should this file
      be renamed?

    * NetworkCredential.cs: Added to CVS. Need to investigate on how
      GetCredential() works

svn path=/trunk/mcs/; revision=2617
2002-02-24 19:03:05 +00:00
Duncan Mak 3e0bd7c691 2002-02-24 Duncan Mak <[email protected]>
* XmlTokenizedType.cs: Added to CVS.

	* XmlUrlResolver.cs: Added to CVS with one TODO task.

2002-02-23  Duncan Mak  <[email protected]>

	* XmlQualifiedName.cs: Fixed ToString () and added the
	operators (== and !=).

svn path=/trunk/mcs/; revision=2616
2002-02-24 18:50:34 +00:00
Sergey Chaban 4f349c6201 * ARM support sources, initial check-in;
svn path=/trunk/mono/; revision=2615
2002-02-24 17:44:55 +00:00
Paolo Molaro 85bc910a14 Sun Feb 24 13:58:34 CET 2002 Paolo Molaro <[email protected]>
* jit.h, jit.c, emit-x86.c: Added a few statistics counters
	and the --stats command line option to print them.
	Fixed memory leak in arch_compile_method () when a method's code is
	found in the cache. Fix magic trampoline to deal with static calls.

svn path=/trunk/mono/; revision=2614
2002-02-24 09:11:40 +00:00
Nick Drochak c33905e7a1 2002-02-24 Nick Drochak <[email protected]>
* Added other member types, refactored, and cleaned up a bit.
	I think it's pretty much done.

svn path=/trunk/mcs/; revision=2613
2002-02-24 05:03:11 +00:00
Nick Drochak 043716d4bf 2002-02-24 Nick Drochak <[email protected]>
* AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!

svn path=/trunk/mcs/; revision=2612
2002-02-24 02:41:34 +00:00
Radek Doulik 996110a198 2002-02-24 Radek Doulik <[email protected]>
* ppc/tramp.c (mono_create_method_pointer): basic delegates
	implementation, it works for simple delegates now and I am already
	pretty close to have it working for every delegates, but I am
	going to sleep and finish it tomorrow?

svn path=/trunk/mono/; revision=2611
2002-02-24 01:40:17 +00:00
Jason Diamond 71434b89d0 Added support for namespaces on attributes.
svn path=/trunk/mcs/; revision=2610
2002-02-23 19:32:22 +00:00
Jason Diamond bd18d5985e Initial implementation of XmlNamespaceManager. Added support for NamespaceURI property to XmlTextReader for elements.
svn path=/trunk/mcs/; revision=2609
2002-02-23 15:14:14 +00:00
Nick Drochak 454b84aeed 2002-02-24 Nick Drochak <[email protected]>
* Now it makes a decent looking status XML.  It only has methods
	and properties, but they seem to be correct.  Not sure how
	to handle the properties get_* set_* methods that show up. I'd
	like to fold those into the properties, and remove them from
	the methods. Next up is the rest of the Member Types.

svn path=/trunk/mcs/; revision=2608
2002-02-23 12:45:01 +00:00
Nick Drochak 3242867064 2002-02-24 Nick Drochak <[email protected]>
* makefile: have 'clean' target remove the build directory

svn path=/trunk/mcs/; revision=2607
2002-02-23 12:41:29 +00:00
Nick Drochak 2a5f0a204f 2002-02-23 Nick Drochak <[email protected]>
* System.XML.build: Change dll name to System.Xml.dll from
	System.XML.dll (not easy to notice, btw)

svn path=/trunk/mcs/; revision=2606
2002-02-23 10:24:14 +00:00
Nick Drochak 252adc883c 2002-02-23 Nick Drochak <[email protected]>
* TODOAttribute.cs: Added

svn path=/trunk/mcs/; revision=2605
2002-02-23 10:20:55 +00:00
Nick Drochak 5b03b8ce20 2002-02-23 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
	MonoTODO's

svn path=/trunk/mcs/; revision=2604
2002-02-23 10:20:08 +00:00
Duncan Mak bb9dd14220 2002-02-22 Duncan Mak <[email protected]>
* System.Xml/XmlQualifiedName.cs: Implemented, but WTF is the
	      Empty field? LameSpec?

svn path=/trunk/mcs/; revision=2603
2002-02-22 21:56:35 +00:00
Jeffrey Stedfast 254a7898fb 2002-02-22 Jeffrey Stedfast <[email protected]>
* sparc/tramp.c (mono_create_trampoline): Much tinkering to get
	the opcodes more correct. Still needs a lot of work.

svn path=/trunk/mono/; revision=2602
2002-02-22 19:43:09 +00:00
Miguel de Icaza c124b3f093 Update web site for 0.9
svn path=/trunk/mono/; revision=2601
2002-02-22 18:14:39 +00:00
Radek Doulik c854df618a 2002-02-22 Radek Doulik <[email protected]>
* interp.c: s/gulong/guint64 as it differs on ppc

svn path=/trunk/mono/; revision=2600
2002-02-22 17:57:55 +00:00
Miguel de Icaza 4999188eff Remove System.Web and System.Drawing assemblies from the build
svn path=/trunk/mcs/; revision=2598
2002-02-22 17:29:39 +00:00
Miguel de Icaza de55764311 Prepare for 0.9
svn path=/trunk/mono/; revision=2597
2002-02-22 17:22:17 +00:00
Paolo Molaro 88931ed526 Removed debugging message.
svn path=/trunk/mono/; revision=2596
2002-02-22 16:16:09 +00:00
Miguel de Icaza c1ebedc50c 2002-02-22 Miguel de Icaza <[email protected]>
* driver.cs (MainDriver):
	Catch DirectoryNotFoundException when calling GetFiles.

	(SplitPathAndPattern): Used to split the input specification into
	a path and a pattern that we can feed to Directory.GetFiles.

svn path=/trunk/mcs/; revision=2595
2002-02-22 15:07:18 +00:00
Miguel de Icaza 8d5f382a3e 2002-02-22 Miguel de Icaza <[email protected]>
* driver.cs: Be conservative on our command line handling.

svn path=/trunk/mcs/; revision=2594
2002-02-22 14:43:41 +00:00
David Brandt 00a045ca67 Introducing ObjectTest.
svn path=/trunk/mcs/; revision=2593
2002-02-22 14:19:48 +00:00
Paolo Molaro 1dc913e9a7 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <[email protected]>
* MonoField.cs: implement GetValue as an internalcall.
	Implemented ToString().

svn path=/trunk/mcs/; revision=2592
2002-02-22 14:11:44 +00:00
Paolo Molaro f9527db954 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <[email protected]>
* MonoType.cs: disable constructor.
	* Object.cs: make GetType() an internalcall.
	* Type.cs: added correct bindingflags to GetMethods ().
	All such calls should be reviewed to use the correct flags.

svn path=/trunk/mcs/; revision=2591
2002-02-22 14:11:17 +00:00
Paolo Molaro 0d39b89052 Fri Feb 22 18:55:57 CET 2002 Paolo Molaro <[email protected]>
* class.c: when instancing a class in a domain, load the default
	vaules for static fields from the constant table. Fix System.Enum to
	not be an enum.
	* icall.c: implement Object::GetType() internalcall. Implemented
	MonoField::GetValue() internalcall. Avoid SEGV in search_method().
	Fixed checking of binding flags in find_members().
	* metadata.c, metadata.h: introduce mono_metadata_type_hash().
	* reflection.c: handle enumerations when writing to the constant
	table. Use a different object cache for types.

svn path=/trunk/mono/; revision=2590
2002-02-22 14:11:16 +00:00
David Brandt 379c42fd75 1. Added EnumTest to AllTests
2. Cleaned up ConsoleTest, so it wasn't so greedy with stdout, etc.

svn path=/trunk/mcs/; revision=2589
2002-02-22 13:43:59 +00:00
David Brandt 4704f2f904 Introducing EnumTest.
svn path=/trunk/mcs/; revision=2588
2002-02-22 13:43:00 +00:00
Nick Drochak 2a125bbade 2002-02-23 Nick Drochak <[email protected]>
* Now shows some of the missing methods from the classes. It's
	only showing one, so must be bug there somewhere. Need to
	do other member types as well.

svn path=/trunk/mcs/; revision=2587
2002-02-22 12:26:53 +00:00
Nick Drochak a68afdcff9 2002-02-23 Nick Drochak <[email protected]>
* SecurityElement.cs: fixed typo.  CorCompare helped me find this one
		:)

svn path=/trunk/mcs/; revision=2586
2002-02-22 12:19:36 +00:00
Paolo Molaro 3045c04f15 Fri Feb 22 15:36:19 CET 2002 Paolo Molaro <[email protected]>
* RuntimeHelpers.cs: added OffsetToStringData() property.

svn path=/trunk/mcs/; revision=2585
2002-02-22 10:45:18 +00:00
Dietmar Maurer a1dfe5d744 test for vararg support
svn path=/trunk/mono/; revision=2584
2002-02-22 09:57:30 +00:00
Dietmar Maurer 584a28a7b2 2002-02-22 Dietmar Maurer <[email protected]>
* object.c (mono_object_isinst): fix for arrays

	* icall.c (ves_icall_type_is_subtype_of): fix for 2 interfaces

svn path=/trunk/mono/; revision=2583
2002-02-22 09:33:44 +00:00
Paolo Molaro 651f6714db Dum de dum, forgot to commit.
svn path=/trunk/mono/; revision=2582
2002-02-22 06:52:20 +00:00
Mark Crichton 089e423415 Fixed stupid typo. Test should now work.
svn path=/trunk/mcs/; revision=2581
2002-02-22 00:25:29 +00:00
Miguel de Icaza 3d366cc1b3 2002-02-21 Miguel de Icaza <[email protected]>
* statement.cs (Fixed): Implement the last case of the Fixed
	statement (string handling).

	* expression.cs (StringPtr): New class used to return a char * to
	a string;  Used by the Fixed statement.

	* typemanager.cs: Add char_ptr_type.  Add get_OffsetToStringData method.

svn path=/trunk/mcs/; revision=2580
2002-02-21 21:17:26 +00:00
Miguel de Icaza 058103a484 2002-02-21 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Remove redundant
	MemberLookup pn parent type.
	Optimize union call, we do not need a union if the types are the same.
	(Unary.ResolveOperator): REmove redundant MemberLookup on parent
	type.

	Specialize the use of MemberLookup everywhere, instead of using
	the default settings.

	(StackAlloc): Implement stackalloc keyword.

	* cs-parser.jay: Add rule to parse stackalloc.

	* driver.cs: Handle /h, /help, /?

Added two more tests, added an error test.

svn path=/trunk/mcs/; revision=2579
2002-02-21 18:58:38 +00:00
Mark Crichton d293482219 Test for the RNGCryptoServiceProvider class. Hopefully it is correct...
svn path=/trunk/mcs/; revision=2578
2002-02-21 18:52:44 +00:00
Mark Crichton b952f09ba2 Added contact info.
svn path=/trunk/mono/; revision=2577
2002-02-21 17:06:28 +00:00
Mark Crichton c9d8731813 Finish support for the System.Security.Cryptography.RNGCryptoServiceProvider
class.  Tests forthcoming.

svn path=/trunk/mcs/; revision=2576
2002-02-21 17:00:35 +00:00
Paolo Molaro fb6fdffe23 Thu Feb 21 21:00:13 CET 2002 Paolo Molaro <[email protected]>
* object.c: don't use mprotect ()  and fix intern pool hash table
	lookup for big endian systems.

svn path=/trunk/mono/; revision=2575
2002-02-21 16:09:57 +00:00
David Brandt d0d6013fc0 Adding ConsoleTest to AllTests
svn path=/trunk/mcs/; revision=2574
2002-02-21 15:29:54 +00:00
David Brandt 126862ab48 Adding tests for System.Console. Write (and WriteLine) are not exhautively tested.
svn path=/trunk/mcs/; revision=2573
2002-02-21 15:29:30 +00:00
Paolo Molaro c588058e3b Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <[email protected]>
* Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
	argument.

svn path=/trunk/mcs/; revision=2572
2002-02-21 14:39:58 +00:00
Paolo Molaro 5773594cda Thu Feb 21 19:30:29 CET 2002 Paolo Molaro <[email protected]>
* icall.c: change type_is_subtype_of () signature.

svn path=/trunk/mono/; revision=2571
2002-02-21 14:39:54 +00:00
Dietmar Maurer a3c83bb221 added files from chris
svn path=/trunk/mcs/; revision=2570
2002-02-21 14:32:45 +00:00
Paolo Molaro c4bcf1fd6a Little IsInterned test.
svn path=/trunk/mono/; revision=2569
2002-02-21 14:24:30 +00:00
Mark Crichton 7cbb1d091b One of these days I'll remember how to use CVS. I swear.
svn path=/trunk/mono/; revision=2568
2002-02-21 13:35:02 +00:00
Mark Crichton e9a6fd8e9b Code for System.Security.Cryptography.RNGCryptoServiceProvider support.
svn path=/trunk/mono/; revision=2567
2002-02-21 12:15:28 +00:00
Paolo Molaro 58c5abdb44 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <[email protected]>
* Type.cs: implemented IsAssignableFrom.

svn path=/trunk/mcs/; revision=2566
2002-02-21 12:05:49 +00:00
Paolo Molaro 64dfa0936b Thu Feb 21 16:45:34 CET 2002 Paolo Molaro <[email protected]>
* class.c, icall.c, metadata.c: better support for pointer types.
	Create a class for them as suggested by dietmar. Fix TYPE_ARRAY class.
	* reflection.c: Add support for getting custom attrs for properties
	and simplify some code.

svn path=/trunk/mono/; revision=2565
2002-02-21 11:57:34 +00:00
Nick Drochak d5062d4cec 2002-02-22 Nick Drochak <[email protected]>
.cvsignore: new file.  ignore *.pdb and *.exe

svn path=/trunk/mcs/; revision=2564
2002-02-21 11:35:41 +00:00
Nick Drochak 356506f93e 2002-02-22 Nick Drochak <[email protected]>
* makefile: move corcompare to it's own directory to hold multiple
	class files.  still makes old corcompare for now.  will remove that
	soon.

svn path=/trunk/mcs/; revision=2563
2002-02-21 11:31:58 +00:00
Nick Drochak 33cb792905 2002-02-22 Nick Drochak <[email protected]>
* New corcompare directory. Split program into separate class
	files and a driver. Creates XML file with missing and todo
	classes.  Not quite done with all member types, and also
	there's a bug where it adds a todo class more than once.
	This is a disaster recovery checkin.

svn path=/trunk/mcs/; revision=2562
2002-02-21 11:28:02 +00:00
Paolo Molaro 03948a83ea Missing test.
svn path=/trunk/mono/; revision=2561
2002-02-21 10:40:20 +00:00
Bob Doan 8200b02aaa Added Boolean Test Suite
svn path=/trunk/mcs/; revision=2560
2002-02-21 09:38:28 +00:00
Dietmar Maurer a23a2ab678 2002-02-21 Dietmar Maurer <[email protected]>
* x86.brg: impl. SHR_UN for lreg, added new test, bug fix for BNE_UN

svn path=/trunk/mono/; revision=2559
2002-02-21 09:10:17 +00:00
Duco Fijma 7f0868da27 Fixed Guid.Guid(string)
svn path=/trunk/mcs/; revision=2558
2002-02-21 08:35:07 +00:00
Daniel Stodden 76baf9fa4e - CultureInfo implements IFormatProvider
- DateTime/NumberformatInfo _FomatInfo ecma-lamespec corrections
- integer type cleanup accordingly

svn path=/trunk/mcs/; revision=2557
2002-02-21 06:56:17 +00:00
Miguel de Icaza d2a621210e Mention mono-bugs, and link to the bugzilla query for Mono bugs
svn path=/trunk/mono/; revision=2556
2002-02-21 02:45:10 +00:00
Miguel de Icaza 62faf0883f Run all tests, not only the safe tests
svn path=/trunk/mcs/; revision=2555
2002-02-21 02:37:14 +00:00
Miguel de Icaza 6601ea4dee Allow this to use the LGPL
svn path=/trunk/mono/; revision=2554
2002-02-21 02:37:01 +00:00
Miguel de Icaza 3cb2123426 2002-02-21 Miguel de Icaza <[email protected]>
* expression.cs (MakeByteBlob): Removed the hacks we had in place
	before we supported unsafe code.

	* makefile: add --unsafe to the self compilation of mcs.

2002-02-20  Miguel de Icaza  <[email protected]>

	* expression.cs (PointerArithmetic): New class that is used to
	perform pointer arithmetic.
	(Binary.Resolve): Handle pointer arithmetic
	Handle pointer comparission.
	(ArrayPtr): Utility expression class that is used to take the
	address of an array.

	(ElementAccess): Implement array access for pointers

	* statement.cs (Fixed): Implement fixed statement for arrays, we
	are missing one more case before we are done.

svn path=/trunk/mcs/; revision=2553
2002-02-21 02:35:01 +00:00
Miguel de Icaza 40ef50485e Update manual
svn path=/trunk/mono/; revision=2552
2002-02-21 02:34:18 +00:00
Gaurav Vaish 3c1a728057 2002-02-21 Gaurav Vaish <[email protected]>
* DataGrid.cs: Almost done. See ChangeLog

* DataGridItem.cs -- Dummy Implementation

* DataGridItemCollection.cs  -- Completed

* ChangeLog, TODO -- Updated with updates

svn path=/trunk/mcs/; revision=2551
2002-02-21 00:47:18 +00:00
Gaurav Vaish bf03536ac2 2002-02-21 Gaurav Vaish <[email protected]>
* class.xml -- Updates for the latest in WebControls...

svn path=/trunk/mono/; revision=2550
2002-02-21 00:23:42 +00:00
Miguel de Icaza a992519b96 Add indirection support, it was missing.
2002-02-20  Miguel de Icaza  <[email protected]>

	* expression.cs (Indirection): Implement EmitAssign and set the
	ExprClass to Variable.  This allows pointer dereferences to be
	treated as variables, and to have values assigned to them.

	* ecore.cs (Expression.StoreFromPtr): New utility function to
	store values dereferencing.

2002-02-20  Miguel de Icaza  <[email protected]>

	* unsafe-1.cs: Extend test.

svn path=/trunk/mcs/; revision=2549
2002-02-21 00:10:13 +00:00
Ravi Pratap M 63e51b23fb 2002-02-20 Ravi Pratap <[email protected]>
* decl.cs (CheckMethodAgainstBase): Do not allow overriding if
	the parent implementation is sealed.

	* ../errors/cs0239.cs : Add.

	* attribute.cs (ApplyAttributes): Handle Modulebuilders too.

	* typemanager.cs (unverifiable_code_type): Corresponds to
	System.Security.UnverifiableCodeAttribute. We need to emit this for modules
	which have unsafe code in them.

	* rootcontext.cs (EmitCode): Emit the above attribute when we are in an
	unsafe context.

svn path=/trunk/mcs/; revision=2548
2002-02-20 23:03:57 +00:00
Ravi Pratap M fddbeaf8cd Add
svn path=/trunk/mcs/; revision=2547
2002-02-20 22:27:36 +00:00
Ravi Pratap M da2396bbf4 2002-02-20 Ravi Pratap <[email protected]>
* expression.cs (Binary.ResolveOperator): Ensure that we are

svn path=/trunk/mcs/; revision=2546
2002-02-20 21:43:10 +00:00
Miguel de Icaza 06ef43e48c Updated news
svn path=/trunk/mono/; revision=2545
2002-02-20 19:19:57 +00:00
Paolo Molaro af53eeba05 More tests.
svn path=/trunk/mono/; revision=2544
2002-02-20 17:45:22 +00:00
Paolo Molaro 5476034a3b Wed Feb 20 22:30:49 CET 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: upped compiled assembly size limit.
	Implemented SetCustomAttribute () methods.
	* CustomAttributeBuilder.cs: implemented the needed constructor
	stuff.
	* Cosntructorbuilder.cs, EnumBuilder.cs, FieldBuilder.cs,
	MethodBuilder.cs, ModuleBuilder.cs, ParameterBuilder.cs,
	PropertyBuilder.cs, TypeBuilder.cs: Implemented SetCustomAttribute () methods.

svn path=/trunk/mcs/; revision=2543
2002-02-20 17:44:02 +00:00
Paolo Molaro 71663381e7 Wed Feb 20 22:20:29 CET 2002 Paolo Molaro <[email protected]>
* icall.c: change getToken () and add custom attribute GetBlob()helper
	method.
	* reflection.h: add custom attrs array to the reflection builder structures.
	* reflection.c: encode and emit custom attributes for all the relevant
	reflection objects. Cache fieldref and methodref tokens. Change
	mono_image_create_token() interface to take a MonoDynamicAssembly.
	More complete custom attributes decoder. Load custom attributes for
	Assembly, Field, Method and Constructor objects, too. Make the
	returned array an Attribute[] one, not object[]. Added
	mono_reflection_get_custom_attrs_blob() to encode the arguments of a
	custom attribute constructor.


Wed Feb 20 22:18:40 CET 2002 Paolo Molaro <[email protected]>

	* interp.c: more complete runtime_invoke () implementation.
	Fixed castclass/isinst to work correctly with arrays.

svn path=/trunk/mono/; revision=2542
2002-02-20 17:44:02 +00:00
Paolo Molaro 481d0cc141 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <[email protected]>
* dump.c: fix the fix and more complete custom attribute decoder.

svn path=/trunk/mono/; revision=2541
2002-02-20 17:26:40 +00:00
David Brandt e2abc43c80 Fleshing out Hashtable tests. Testing exceptions.
svn path=/trunk/mcs/; revision=2540
2002-02-20 17:19:47 +00:00
Dick Porter 5fc5c5a0df Use go-mono.com instead of go-mono.org, default CVSROOT
to anoncvs.go-mono.com

svn path=/trunk/mono/; revision=2539
2002-02-20 16:16:47 +00:00
Dick Porter eb4fe4d252 Updated build instructions, and convenience scripts for Linux and Windows.
svn path=/trunk/mono/; revision=2538
2002-02-20 16:02:26 +00:00
Paolo Molaro 4ee67e765f Wed Feb 20 17:53:59 CET 2002 Paolo Molaro <[email protected]>
* monograph.c: added -i option to create a graph of the types
	implementing an interface.

svn path=/trunk/mono/; revision=2537
2002-02-20 13:03:21 +00:00
Dick Porter 8a2edc69e2 2002-02-20 Dick Porter <[email protected]>
* acconfig.h:
        * configure.in: Always build without cygwin support on windows

2002-02-20  Dick Porter  <[email protected]>

        * io-layer.h: Always build without cygwin support on windows

2002-02-20  Dick Porter  <[email protected]>

        * icall.c:
        * rawbuffer.c:
        * socket-io.c: Windows portability fixes (sometimes just ifdeffing
        problem code out for now).

2002-02-20  Dick Porter  <[email protected]>

        * Makefile.am:
        * wrapper.c: Windows portability fixes (sometimes just ifdeffing
        problem code out for now).

svn path=/trunk/mono/; revision=2536
2002-02-20 12:04:17 +00:00
Paolo Molaro a14e5c9408 Wed Feb 20 14:54:01 CET 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: add SetCustomAttribute () to keep the compiler
	going.

svn path=/trunk/mcs/; revision=2535
2002-02-20 10:03:21 +00:00
Dietmar Maurer 3a3cebc884 new option to print the vtable --print-vtable
svn path=/trunk/mono/; revision=2534
2002-02-20 06:29:54 +00:00
Dietmar Maurer b204b67474 fixed testjit target (set LD_LIBRARY_PATH)
svn path=/trunk/mono/; revision=2533
2002-02-20 05:33:16 +00:00
Miguel de Icaza 5ccfaf2e40 2002-02-19 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Add support for @"litreal strings"

svn path=/trunk/mcs/; revision=2532
2002-02-20 01:09:21 +00:00
Miguel de Icaza 088786997d Add a new test for the tokenizer bugs
svn path=/trunk/mcs/; revision=2531
2002-02-20 01:00:05 +00:00
Miguel de Icaza 6d73a098f2 2002-02-19 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Make tokenizer accept pre-processor directives
	on any column (remove the old C-like limitation).

	* rootcontext.cs (EmitCode): Emit any global attributes.
	(AddGlobalAttributes): Used to keep track of assembly attributes.

	* attribute.cs (ApplyAttributes): Support AssemblyAttributes.

	* cs-parser.jay: Add support for global attributes.

svn path=/trunk/mcs/; revision=2530
2002-02-20 00:52:52 +00:00
Nick Drochak 6333e8f56c 2002-02-20 Nick Drochak <[email protected]>
* contributing: Add link to the testing page for getting
	started.

svn path=/trunk/mono/; revision=2529
2002-02-19 22:03:58 +00:00
Radek Doulik 2a253c7bf7 2002-02-19 Radek Doulik <[email protected]>
* object.c (mono_ldstr): use hash table to avoid multiple swapping

svn path=/trunk/mono/; revision=2528
2002-02-19 21:34:40 +00:00
Duncan Mak aea51ce47d Add missing MonoTODO attribute
svn path=/trunk/mcs/; revision=2527
2002-02-19 21:27:24 +00:00
Radek Doulik 214c1e48a9 ops, fix return value passing
svn path=/trunk/mono/; revision=2526
2002-02-19 20:57:29 +00:00
Radek Doulik 875af536b1 added more pinvoke test methods
svn path=/trunk/mono/; revision=2525
2002-02-19 20:53:40 +00:00
Radek Doulik 21d2218cae 2002-02-19 Radek Doulik <[email protected]>
* mono/tests/libtest.c (mono_test_many_short_arguments): new test
	method
	(mono_test_many_byte_arguments): ditto

svn path=/trunk/mono/; revision=2524
2002-02-19 20:51:37 +00:00
Radek Doulik 0ce8200da6 added stack saving for most arguments
svn path=/trunk/mono/; revision=2523
2002-02-19 20:50:13 +00:00
Miguel de Icaza e0524b82f8 Ugh, I had the GPL here, its the LGPL
svn path=/trunk/mono/; revision=2522
2002-02-19 20:47:47 +00:00
Duncan Mak 1cd81fcf15 fixed a typo.
svn path=/trunk/mcs/; revision=2521
2002-02-19 20:23:57 +00:00
Duncan Mak 166b65fc32 2002-02-19 Duncan Mak <[email protected]>
* SurrogateSelector.cs: Implemented.

svn path=/trunk/mcs/; revision=2520
2002-02-19 20:19:39 +00:00
Radek Doulik 3e5a8d774f 2002-02-19 Radek Doulik <[email protected]>
* ppc/tramp.c (emit_save_parameters): don't start saving 64bit
values to
	even registers

svn path=/trunk/mono/; revision=2519
2002-02-19 19:49:10 +00:00
Miguel de Icaza d43407f421 2002-02-17 Miguel de Icaza <[email protected]>
* expression.cs (Indirection): New helper class.  Unary will
	create Indirection classes to be able to implement the
	IMemoryLocation interface on it.

2002-02-16  Miguel de Icaza  <[email protected]>

	* cs-parser.jay (fixed_statement): reference the right statement.

	* statement.cs (Fixed.Emit): Finish implementing the fixed
	statement for the &x case.

svn path=/trunk/mcs/; revision=2517
2002-02-19 17:14:03 +00:00
Paolo Molaro d10f5cc8b5 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <[email protected]>
* Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
	MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
	related methods.

svn path=/trunk/mcs/; revision=2516
2002-02-19 15:46:58 +00:00
Paolo Molaro d1b9ed1de7 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: hooks to get the custom attributes from the
	runtime.
	* MonoType.cs: Implemented custom attributes methods.

svn path=/trunk/mcs/; revision=2515
2002-02-19 15:46:31 +00:00
Paolo Molaro 4479530b9e Tue Feb 19 20:23:11 CET 2002 Paolo Molaro <[email protected]>
* icall.c: register the GetCustomAttributes method.
	* object.c, object.h: add mono_string_new_len ().
	* reflection.h, reflection.c: added mono_runtime_invoke(),
	mono_install_runtime_invoke(). Added
	mono_reflection_get_custom_attrs () to load custom attributes and
	create the attribute objects.


Tue Feb 19 20:21:14 CET 2002 Paolo Molaro <[email protected]>

	* interp.c: implement the runtime_invoke function.

svn path=/trunk/mono/; revision=2514
2002-02-19 15:41:30 +00:00
Paolo Molaro 12baa90827 Tue Feb 19 20:19:38 CET 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: avoid pointer arthmetric (pointed out by Serge).


Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <[email protected]>

	* dump.c: the prolog is before each arg in the custom attribute blob.

svn path=/trunk/mono/; revision=2513
2002-02-19 15:40:57 +00:00
Miguel de Icaza 6ac55c6f18 Add link to Lupus hack
svn path=/trunk/mono/; revision=2512
2002-02-19 15:27:36 +00:00
Miguel de Icaza 467877d8fb :Update AnonCVS requirements
svn path=/trunk/mono/; revision=2511
2002-02-19 14:13:11 +00:00
Dietmar Maurer 07a962aba4 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
svn path=/trunk/mcs/; revision=2510
2002-02-19 14:09:56 +00:00
Duncan Mak 26d9468923 2002-02-19 Duncan Mak <[email protected]>
* Convert.cs: Finished up the missing methods in Convert.
	    Added a new private method ConvertFromBase.

svn path=/trunk/mcs/; revision=2509
2002-02-19 12:28:23 +00:00
Dick Porter e30616700a Updated cvsignores
svn path=/trunk/mono/; revision=2508
2002-02-19 12:19:20 +00:00
Dick Porter 7b7d741cd4 2002-02-19 Dick Porter <[email protected]>
* threads-dummy-types.c:
	* threads-dummy-types.h:
	* threads-dummy.c:
	* threads-dummy.h:
	* threads-pthread-types.c:
	* threads-pthread-types.h:
	* threads-pthread.c:
	* threads-pthread.h:  Deleted obsolete files

svn path=/trunk/mono/; revision=2507
2002-02-19 12:17:06 +00:00
Nick Drochak 19cd6f2cb7 2002-02-20 Nick Drochak <[email protected]>
* .cvsignore: Ignore files generated by CorCompare

svn path=/trunk/mcs/; revision=2506
2002-02-19 11:42:16 +00:00
Dietmar Maurer 64e112154f (arch_create_jit_trampoline): cache trampoline code
svn path=/trunk/mono/; revision=2505
2002-02-19 11:39:45 +00:00
Nick Drochak 8485c8e81e 2002-02-20 Nick Drochak <[email protected]>
* .cvsignore: Ignore the file generated by CorCompare

svn path=/trunk/mono/; revision=2504
2002-02-19 11:37:26 +00:00
Nick Drochak 610cd87150 2002-02-20 Nick Drochak <[email protected]>
* ArrayList.cs: Add MonoTODO's where necessary. Fix bugs discovered
	by Bucky's tests. Implement a couple of things that were left undone.

svn path=/trunk/mcs/; revision=2503
2002-02-19 11:31:39 +00:00
Nick Drochak 50e4dda4d0 2002-02-20 Nick Drochak <[email protected]>
* Int64Test.cs: One array was giving us trouble.  Not sure why, but
	it's related to the number of elements in an Array.  For short Arrays
	the compiler doesn't use the PrivateImplmentationDetails struct,
	but for longer ones it does.  That's when our corlib fails. I paired
	down the array for now.

svn path=/trunk/mcs/; revision=2502
2002-02-19 11:30:54 +00:00
Nick Drochak 6a5e1428bc 2002-02-20 Nick Drochak <[email protected]>
* ArrayListTest.cs: Add a small assert for a bug that I found and fixed
	in ArrayList.  Make sure it doesn't come up again.

svn path=/trunk/mcs/; revision=2501
2002-02-19 11:25:39 +00:00
Dietmar Maurer a2aa79ef5c 2002-02-19 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_compile_method): add shared code to mono_root_domain

	* class.c (mono_class_vtable): runtime init the class when we
	allocate static class data.

svn path=/trunk/mono/; revision=2500
2002-02-19 10:03:37 +00:00
Dietmar Maurer 45fe7d3d91 2002-02-19 Dietmar Maurer <[email protected]>
* String.cs: impl. IConvertible interface

svn path=/trunk/mcs/; revision=2499
2002-02-19 08:56:42 +00:00
Dietmar Maurer 07ceb67bb1 * icall.c (ves_icall_System_Array_SetValue): check for null values.
svn path=/trunk/mono/; revision=2498
2002-02-19 08:33:42 +00:00
Paolo Molaro 7680406984 Tue Feb 19 12:24:15 CET 2002 Paolo Molaro <[email protected]>
* monograph.c: fix typo. Update for changes in mono_init ().

svn path=/trunk/mono/; revision=2497
2002-02-19 07:33:10 +00:00
Paolo Molaro 1ab9ed93f6 Mon Feb 18 14:37:17 CET 2002 Paolo Molaro <[email protected]>
* monograph.c: First commit: program to generate call graphs
	or type hierarchies from CIL programs.

svn path=/trunk/mono/; revision=2496
2002-02-19 06:36:01 +00:00
Dietmar Maurer 07dcbcd50e (mono_init): set the domain name in a ms compatible way
svn path=/trunk/mono/; revision=2495
2002-02-19 06:20:24 +00:00
Dietmar Maurer 08d43c51a7 2002-02-19 Dietmar Maurer <[email protected]>
* appdomain.c (mono_domain_transfer_object): impl. hack for Arrays
	and String - but we will need generic marshalling support in the
	future.

	* object.c (mono_string_new_utf16): bug fix: use char[] instead of
	String[].

svn path=/trunk/mono/; revision=2494
2002-02-19 06:01:21 +00:00
Duncan Mak 88c9c7874e 2002-02-19 Duncan Mak <[email protected]>
* SerializationInfoEnumerator.cs: oh, and simplified the Current
	      property too.

svn path=/trunk/mcs/; revision=2493
2002-02-19 04:03:21 +00:00
Duncan Mak e0b9e2730a 2002-02-19 Duncan Mak <[email protected]>
* SerializationInfo.cs: Forgot to finish up GetEnumerator ().

svn path=/trunk/mcs/; revision=2492
2002-02-19 04:00:22 +00:00
Miguel de Icaza 09be5dfc6e Add to the Makefile
svn path=/trunk/mono/; revision=2490
2002-02-19 01:44:16 +00:00
Duncan Mak b2ec928a27 2002-02-18 Duncan Mak <[email protected]>
* SerializationInfo.cs: Converted Type.GetType calls to the faster
        typeof operator.

svn path=/trunk/mcs/; revision=2489
2002-02-19 00:32:09 +00:00
Duncan Mak 3187be79de 2002-02-18 Duncan Mak <[email protected]>
* serialize.cs: When appropriate, changed Type.GetType calls to
        the faster typeof operator.

svn path=/trunk/mcs/; revision=2488
2002-02-19 00:30:42 +00:00
Adam Treat 422c69963a Initial Checkin of the DocTools: docconv, docgen, docstub and xsl/DTD
svn path=/trunk/mcs/; revision=2487
2002-02-19 00:05:25 +00:00
Radek Doulik 1fe17aceb8 2002-02-18 Radek Doulik <[email protected]>
* mono/tests/Makefile.am: added small test library for pinvoke
	testing

	* mono/tests/libtest.c (mono_test_many_int_arguments): new file,
	new function to test pinvoke

svn path=/trunk/mono/; revision=2486
2002-02-18 22:57:38 +00:00
Radek Doulik 436aa086a8 ops
svn path=/trunk/mono/; revision=2485
2002-02-18 22:55:16 +00:00
Radek Doulik 89da80f5bf added pinvoked method with 10 int arguments
svn path=/trunk/mono/; revision=2484
2002-02-18 22:53:53 +00:00
Radek Doulik 7cdedaaca7 2002-02-18 Radek Doulik <[email protected]>
* mono/tests/Makefile.am: display # of passing tests too

svn path=/trunk/mono/; revision=2483
2002-02-18 20:11:32 +00:00
Duco Fijma cce8f5e861 Implementation for Guid.Guid(string) (including test cases)
svn path=/trunk/mcs/; revision=2481
2002-02-18 18:50:47 +00:00
Duncan Mak d947ccdb58 2002-02-18 Duncan Mak <[email protected]>
* Convert.cs: Changed from using Type.GetType (string) to just
        typeof (). Probably will speed things up a bit?

svn path=/trunk/mcs/; revision=2480
2002-02-18 16:00:03 +00:00
Dan Lewis ee5772c973 Removed System.Exception from cmp and res builds. Was causing NUnit troubles.
svn path=/trunk/mcs/; revision=2479
2002-02-18 15:49:36 +00:00
Dietmar Maurer 25e27c3f93 new test
svn path=/trunk/mono/; revision=2478
2002-02-18 14:47:41 +00:00
Dietmar Maurer 0186b657cf *** empty log message ***
svn path=/trunk/mono/; revision=2477
2002-02-18 12:57:06 +00:00
Dietmar Maurer 7fce8a9334 2002-02-18 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): optimize LDSFLD/STSFLD for domain
	specific code.
	(mono_analyze_stack): use MB_TERM_LDELEMA to perform bound check

svn path=/trunk/mono/; revision=2476
2002-02-18 12:52:32 +00:00
Dietmar Maurer d03e7de66c 2002-02-18 Dietmar Maurer <[email protected]>
* x86.brg: do not encode exception objects into the instruction
	stream, because they are domain dependend. Use
	arch_get_throw_exception_by_name() instead;
	* jit.c (mono_analyze_stack): imp. LDSTR for shared code

svn path=/trunk/mono/; revision=2475
2002-02-18 12:18:59 +00:00
Nick Drochak 591252dbbd 2002-02-19 Nick Drochak <[email protected]>
* corcompare.cs: Reorganized into collaberating classes to analyze
	and generate reports.  Still needs to find the MonoTODO's, and
	has a little more prototype code in there, but it's almost done.

	* makefile: output XML file in the tools directory for now.

svn path=/trunk/mcs/; revision=2474
2002-02-18 11:58:10 +00:00
Paolo Molaro 405fc78b65 Mon Feb 18 15:50:59 CET 2002 Paolo Molaro <[email protected]>
* sockets.c: #undef DEBUG.

svn path=/trunk/mono/; revision=2473
2002-02-18 11:03:30 +00:00
Paolo Molaro 05175b738a Mon Feb 18 15:49:20 CET 2002 Paolo Molaro <[email protected]>
* interp.c: fix alignment code. Make sure to init classes
	in more cases. Command-line arguments are interned.

svn path=/trunk/mono/; revision=2472
2002-02-18 11:03:16 +00:00
Paolo Molaro bf38bb2915 Mon Feb 18 15:51:40 CET 2002 Paolo Molaro <[email protected]>
* jit.c: intern command line arguments.

svn path=/trunk/mono/; revision=2471
2002-02-18 11:02:59 +00:00
Paolo Molaro 44d1dbcd2c Mon Feb 18 15:52:20 CET 2002 Paolo Molaro <[email protected]>
* appdomain.c, object.c: fix intern pool implementation.
	* class.c: fix alignment code.

svn path=/trunk/mono/; revision=2470
2002-02-18 11:02:37 +00:00
Paolo Molaro ec6f462697 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <[email protected]>
* get.c: include last param.

svn path=/trunk/mono/; revision=2469
2002-02-18 11:02:20 +00:00
Paolo Molaro 4a27df1739 Mon Feb 18 14:28:10 CET 2002 Paolo Molaro <[email protected]>
* Makefile.am: fix compatibility problem with automake 1.4.

svn path=/trunk/mono/; revision=2468
2002-02-18 09:37:09 +00:00
Dietmar Maurer b87eef5aa0 committed patch from Ajay
svn path=/trunk/mcs/; revision=2467
2002-02-18 09:36:18 +00:00
Dietmar Maurer 0eb8b6e3fe dont compile methods more than once gives better performance ;-)
svn path=/trunk/mono/; revision=2466
2002-02-18 08:54:46 +00:00
Duncan Mak 46b35e6e71 2002-02-17 Duncan Mak <[email protected]>
* TimeZone.cs:	Applied the rest of Ajay's patch for
        IsDaylightSavingTime. Thanks a lot for the nice explanation of how
        it works!

svn path=/trunk/mcs/; revision=2465
2002-02-17 22:26:54 +00:00
Radek Doulik 5bbb919c76 2002-02-17 Radek Doulik <[email protected]>
* mono/tests/Makefile.am (test): display # of failed tests

svn path=/trunk/mono/; revision=2464
2002-02-17 21:46:58 +00:00
Radek Doulik ff5a1e0521 la la la, ChangeLog entries
svn path=/trunk/mono/; revision=2463
2002-02-17 21:10:29 +00:00
Radek Doulik c781707da9 (mono_string_new_wrapper): new helper function, cut&pasted from
x86, modified to check for NULL text to avoid branching in
	generated code
	(calculate_sizes): updated for string retval changes
	(emit_call_and_store_retval): updated for string retval

svn path=/trunk/mono/; revision=2461
2002-02-17 20:02:39 +00:00
Radek Doulik fbf3e1b28f 2002-02-17 Radek Doulik <[email protected]>
* ppc/tramp.c: fixed minimal stack size, fixed string parameters,
	fix byte and half word parameters

	* ppc/ppc-codegen.h (ppc_mr): added lhz, lbz, sth

svn path=/trunk/mono/; revision=2460
2002-02-17 19:41:12 +00:00
Nick Drochak 77ded54ae5 2002-02-18 Nick Drochak <[email protected]>
* GuidTest.cs: Fix compile error.  Needed to cast the null in the call to
	constructor to avoid ambiguity.

svn path=/trunk/mcs/; revision=2459
2002-02-17 18:40:22 +00:00
Duco Fijma a4a6d07654 Created first test for System.Guid
svn path=/trunk/mcs/; revision=2458
2002-02-17 12:10:54 +00:00
Duncan Mak 6300f49659 2002-02-17 Duncan Mak <[email protected]>
* FileDialogPermissionAccess.cs: Add in namespace declaration, so
      that this one little unique enum wouldn't show up in the System
      namespace when we ildasm corlib.dll ;-) Oops, my bad.

svn path=/trunk/mcs/; revision=2457
2002-02-17 02:31:25 +00:00
Duncan Mak e753c43cd9 2002-02-17 Duncan Mak <[email protected]>
* Convert.cs: Near-complete implementation of Convert.cs

      Added all the To* methods taking (object) and
      (object, IFormatProvider) as parameters.

      Added [CLSCompliant (false)] attributes to methods dealing with
      unsigned types.

      Added the missing section on converting to and from DateTime. Only
      6 missing methods, all marked with MonoTODOs. Will tackle them later.

svn path=/trunk/mcs/; revision=2456
2002-02-17 02:17:50 +00:00
Radek Doulik 6a9de36a15 (ves_icall_System_Enum_ToObject): and likewise for s1 > s2
svn path=/trunk/mono/; revision=2455
2002-02-17 00:27:24 +00:00
Radek Doulik 727316d1ba 2002-02-16 Radek Doulik <[email protected]>
* icall.c (ves_icall_System_Enum_ToObject): in case of big endian
	and s2 > s1, just copy lower bytes to be compatible with little
	endian (i.e. 64bit value & 0xffffffff --> 32bit value)

svn path=/trunk/mono/; revision=2454
2002-02-17 00:23:33 +00:00
Jeffrey Stedfast 5676cdfe3f 2002-02-16 Jeffrey Stedfast <[email protected]>
* wrapper.c (mono_wrapper_fstat): The MonoWrapperStat namespace is
	mst_ now, so update this code. Also fix a copy/paste-o that
	assigned st.st_ctime to buf->mst_mtime.
	(mono_wrapper_stat): Same here.

	* genwrapper.pl: Solaris does some nasty macro hadckery action for
	st_[a,c,m]time and so lets namespace our wrapper members as
	mst_[a,c,m]time to avoid namespace problems.

svn path=/trunk/mono/; revision=2453
2002-02-16 21:01:20 +00:00
Duncan Mak 766798fd5f Forgot to change this too.
svn path=/trunk/mcs/; revision=2452
2002-02-16 20:38:50 +00:00
Duncan Mak 95085eda0f 2002-02-16 Duncan Mak <[email protected]>
* TimeZone.cs: patch from Ajay Kumar Dwivedi ([email protected]) to
	make IsDaylightSavingTime (DateTime) call
	IsDaylightSavingTime (DateTime, DaylightTime).

	Added internal class CurrentTimeZone from Ajay. It needs more work
	to fill in the appropriate internal calls.

svn path=/trunk/mcs/; revision=2451
2002-02-16 20:34:15 +00:00
Jeffrey Stedfast 76e737b18a remove checks for IP_ADD/DROP_MEMBERSHIP
svn path=/trunk/mono/; revision=2450
2002-02-16 19:44:06 +00:00
Jeffrey Stedfast fef5f1beb0 don't bother wrapping IP_[ADD,DROP]_MEMBERSHIP with ifdefs since
solaris does have these afterall.

svn path=/trunk/mono/; revision=2449
2002-02-16 19:42:48 +00:00
Radek Doulik a8c1e8e593 2002-02-16 Radek Doulik <[email protected]>
* unicode.c (ves_icall_iconv_new_encoder): decide on big_endian,
	force big_endian to be 1 for big endian machines
	(ves_icall_iconv_new_decoder): ditto

svn path=/trunk/mono/; revision=2448
2002-02-16 19:39:35 +00:00
Jeffrey Stedfast e4cdfa72bb 2002-02-16 Jeffrey Stedfast <[email protected]>
* configure.in: Add checks for SOL_IP, SOL_TCP, IP_PKTINFO,
	IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. Also check for struct
	ip_mreqn.

svn path=/trunk/mono/; revision=2447
2002-02-16 19:37:58 +00:00
Jeffrey Stedfast 0668621066 2002-02-16 Jeffrey Stedfast <[email protected]>
* socket-io.c (convert_sockopt_level_and_name): If the system
	doesn't define SOL_IP or SOL_TCP, get them by hand using
	getprotobyname() and caching the values (because this could be a
	slow operation).
	(ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal):
	Don't attempt to add or drop memberships unless the system
	supports it. Also use the appropriate struct when the system does
	support it. Ie, not all systems have struct ip_mreqn so use struct
	ip_mreq when appropriate.

svn path=/trunk/mono/; revision=2446
2002-02-16 19:22:40 +00:00
Jeffrey Stedfast dc67d5fea9 2002-02-16 Jeffrey Stedfast <[email protected]>
* socket-io.c (convert_sockopt_level_and_name): If the system
	doesn't define SOL_IP or SOL_TCP, get them by hand using
	getprotobyname() and caching the values (because this could be a
	slow operation).
	(ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal):
	Don't attempt to add or drop memberships unless the system
	supports it.

svn path=/trunk/mono/; revision=2445
2002-02-16 18:48:14 +00:00
Jeffrey Stedfast ad35083d69 2002-02-16 Jeffrey Stedfast <[email protected]>
* configure.in: Add checks for SOL_IP, SOL_TCP, IP_PKTINFO,
	IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.

svn path=/trunk/mono/; revision=2444
2002-02-16 18:47:38 +00:00
Radek Doulik 4ff60e15f0 2002-02-16 Radek Doulik <[email protected]>
* interp.c (ves_exec_method): test type of sp [-1] instead of sp
	[0], because sp [-1] is the value going to be shifted, fixed in
	CEE_SHL, CEE_SHR, CEE_UN opcodes)

svn path=/trunk/mono/; revision=2443
2002-02-16 18:21:33 +00:00
Miguel de Icaza 4ba0edf330 Add missing makefile
svn path=/trunk/mcs/; revision=2442
2002-02-16 12:13:28 +00:00
Paolo Molaro 0027e49fc1 Sat Feb 16 16:27:42 CET 2002 Paolo Molaro <[email protected]>
* emit-x86.c: handle unreachable code. Eliminate some unneeded
	malloc() calls.
	* jit.c: handle unreachable code. Move setting of mono_end_of_stack to
	main(). Add --compile classname and --ncompile num command line
	options to do performance evaluation of the jitter (and help
	debugging).

svn path=/trunk/mono/; revision=2441
2002-02-16 11:41:15 +00:00
Paolo Molaro dc2998b232 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <[email protected]>
* Type.cs: fix IsClass.

svn path=/trunk/mcs/; revision=2440
2002-02-16 07:50:34 +00:00
Paolo Molaro 5b84edd266 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <[email protected]>
* String.cs: fix Trim().

svn path=/trunk/mcs/; revision=2439
2002-02-16 07:10:54 +00:00
Paolo Molaro 1a2e8f64ec Sat Feb 16 12:00:24 CET 2002 Paolo Molaro <[email protected]>
* interp.c: fixed cut&paste error for ldind.r4 and ldind.r8.

svn path=/trunk/mono/; revision=2438
2002-02-16 07:09:22 +00:00
Duncan Mak 3dbc80852d 2002-02-16 Duncan Mak <[email protected]>
* SurrogateSelector.cs: Stubbed out. Gonna be working on this
      tomorrow.

svn path=/trunk/mcs/; revision=2437
2002-02-16 01:19:32 +00:00
Duncan Mak 832e3630e9 2002-02-15 Duncan Mak <[email protected]>
* SerializationEntry.cs: Added internal constructor bits for
	      SerializationInfoEnumerator.
	    * SerializationInfo.cs: Completed.
	    * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
	      Hashtable's GetEnumerator method.

svn path=/trunk/mcs/; revision=2436
2002-02-15 23:16:55 +00:00
Miguel de Icaza 6c82594dde Add new sample error case, from Dan
svn path=/trunk/mcs/; revision=2435
2002-02-15 21:28:18 +00:00
David Brandt 1786cb611e Added StreamWriterTest to AllTests
svn path=/trunk/mcs/; revision=2434
2002-02-15 18:55:45 +00:00
David Brandt caeccb6350 Adding 'StreamWriterTest.cs' - mostly finished.
svn path=/trunk/mcs/; revision=2433
2002-02-15 18:55:00 +00:00
David Brandt 7e34896962 Fixing small incorrectness in test.
svn path=/trunk/mcs/; revision=2432
2002-02-15 18:50:40 +00:00
Paolo Molaro 485efc7264 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <[email protected]>
* String.cs: fix more off by one errors.

svn path=/trunk/mcs/; revision=2431
2002-02-15 16:11:35 +00:00
David Brandt 72fc17cd1a Adding StreamReaderTest to AllTests
svn path=/trunk/mcs/; revision=2430
2002-02-15 16:06:45 +00:00
David Brandt 2d3115739c Adding System.IO.StreamReaderTest. Only non-inherited methods are tested.
svn path=/trunk/mcs/; revision=2429
2002-02-15 16:06:22 +00:00
Paolo Molaro 96efe58392 Fri Feb 15 18:15:04 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: finally block support and fixes.

svn path=/trunk/mcs/; revision=2428
2002-02-15 13:24:40 +00:00
Paolo Molaro d60177a8de Fri Feb 15 18:15:44 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: handle finally clauses.

svn path=/trunk/mono/; revision=2427
2002-02-15 13:24:35 +00:00
Paolo Molaro cb61501ca2 Fri Feb 15 15:07:27 CET 2002 Paolo Molaro <[email protected]>
* interp.c: use strrchr instead of rindex. use _isnan and _finite on
	win32 systems.


Fri Feb 15 15:06:33 CET 2002 Paolo Molaro <[email protected]>

	* socket-io.c: use g_snprintf() instead of snprintf.

svn path=/trunk/mono/; revision=2424
2002-02-15 10:16:57 +00:00
Paolo Molaro a52aeaacc6 Fix make distcheck.
svn path=/trunk/mono/; revision=2423
2002-02-15 10:12:19 +00:00
Paolo Molaro 4c77b6f692 Fri Feb 15 14:20:30 CET 2002 Paolo Molaro <[email protected]>
* Makefile.am: avoid automake for build on host stuff.

svn path=/trunk/mono/; revision=2422
2002-02-15 09:29:30 +00:00
Dietmar Maurer 590b2cab79 bug fix in static delegate invoke
svn path=/trunk/mono/; revision=2421
2002-02-15 04:54:34 +00:00
Jeffrey Stedfast b8db55f044 2002-02-14 Jeffrey Stedfast <[email protected]>
* interp.c (ves_exec_method): replace
	'g_assert (sp->type = VAL_VALUETA)' with
	'g_assert (sp->type == VAL_VALUETA)' otherwise
	the assert always passes. FIXME: should the test have been !=?

svn path=/trunk/mono/; revision=2418
2002-02-14 22:58:04 +00:00
Jeffrey Stedfast d37c178e86 2002-02-14 Jeffrey Stedfast <[email protected]>
* reflection.c (mono_param_get_objects): Cast second argument to
	mono_method_get_param_names to a const char** to silence the
	compiler warning.

	* appdomain.c (mono_domain_assembly_open): Put parens around the
	truth statement in the for-loop.

	* unicode.c (iconv_convert): Got rid of a compiler warning about
	int i being unused when the system has a new iconv.
	(iconv_get_length): Same.

svn path=/trunk/mono/; revision=2417
2002-02-14 22:23:12 +00:00
Jeffrey Stedfast 43af1503ee 2002-02-14 Jeffrey Stedfast <[email protected]>
* image.c (load_class_names): Cast the second argument to
	g_hash_table_insert() to char* to hush compiler warnings about the
	arg being a const.
	(mono_image_open): Same here.

svn path=/trunk/mono/; revision=2416
2002-02-14 22:06:13 +00:00
Jeffrey Stedfast 22a8c46a75 2002-02-14 Jeffrey Stedfast <[email protected]>
* socket-io.c: Don't conditionally include sys/filio.h or
	sys/sockio.h here anymore since we now get them from
	io-layer/io-layer.h
	(inet_pton): If the system doesn't support inet_aton, implement
	using inet_addr and also #define INADDR_NONE if it isn't defined
	by the system.

svn path=/trunk/mono/; revision=2415
2002-02-14 21:22:40 +00:00
Jeffrey Stedfast a4e8c7de31 2002-02-14 Jeffrey Stedfast <[email protected]>
* io-layer.h: conditionally include sys/filio.h and sys/sockio.h
	for FIONBIO, FIONREAD, and SIOCATMARK.

svn path=/trunk/mono/; revision=2414
2002-02-14 21:22:18 +00:00
David Brandt c8b715b70c touching up TODO
svn path=/trunk/mcs/; revision=2413
2002-02-14 18:44:12 +00:00
David Brandt 6e66e8c7d4 Adding ArrayListTest to AllTests
svn path=/trunk/mcs/; revision=2412
2002-02-14 18:41:46 +00:00
David Brandt 4ca17ec8da Introducing ArrayListTest
svn path=/trunk/mcs/; revision=2411
2002-02-14 18:39:18 +00:00
Paolo Molaro ec2728d5a6 Thu Feb 14 18:55:52 CET 2002 Paolo Molaro <[email protected]>
* FieldBuilder.cs: Add SetRVAData().
	* ILGenerator.cs: speed up code array growth.
	* TypeBuilder.cs: fix IsValueTypeImpl(). Add class_size member.
	Implement DefineInitializedData().

svn path=/trunk/mcs/; revision=2410
2002-02-14 14:18:02 +00:00
Paolo Molaro 44eecf371a Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <[email protected]>
* TypeAttributes.cs: update to latest spec.

svn path=/trunk/mcs/; revision=2409
2002-02-14 14:17:41 +00:00
Paolo Molaro 1f5c20bfe8 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <[email protected]>
* MonoType.cs: fix IsValueTypeImpl.
	* Type.cs: fix IsEnum. Implement Equals methods.

svn path=/trunk/mcs/; revision=2408
2002-02-14 14:17:14 +00:00
Paolo Molaro 0beca40f47 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <[email protected]>
* main.c: output pack and size info if needed.

svn path=/trunk/mono/; revision=2407
2002-02-14 14:16:43 +00:00
Paolo Molaro 195d22172c Thu Feb 14 19:01:06 CET 2002 Paolo Molaro <[email protected]>
* metadata.c, metadata.h: added function to get packing and size info
	of a typedef.
	* reflection.h, reflection.c: handle field RVA data. Save info about
	the table layout if needed. Assign typedef indexes to all the types
	before dumping the info about them to avoid forward reference problems.

svn path=/trunk/mono/; revision=2406
2002-02-14 14:16:20 +00:00
Miguel de Icaza fa7d633b09 2002-02-14 Miguel de Icaza <[email protected]>
* class.cs (Property.Define, Method.Define): Remove newslot when
	`implementing'.

svn path=/trunk/mcs/; revision=2405
2002-02-14 13:25:40 +00:00
Miguel de Icaza 36c97be734 2002-02-14 Miguel de Icaza <[email protected]>
* driver.cs (GetSystemDir): Use CodeBase instead of FullName for
	locating our system dir.  Sorry about this.

svn path=/trunk/mcs/; revision=2404
2002-02-14 13:03:41 +00:00
Miguel de Icaza 171fbeb98b Flush changes from my NT partition
svn path=/trunk/mono/; revision=2403
2002-02-14 13:02:45 +00:00
Nick Drochak 619287d730 2002-02-15 Nick Drochak <[email protected]>
* corcompare.cs: Adding stuff to collect all the missing and todo
	information need to generate nice looking HTML pages.  Not quite
	done and needs some re-org, but Duncan can take a look.

	* sample.xml: an example of how the XML will look that corcompare
	will generate.  Can be used to start working on the XSLT.

svn path=/trunk/mcs/; revision=2402
2002-02-14 12:08:11 +00:00
Nick Drochak 2f1c78033a 2002-02-14 Nick Drochak <[email protected]>
* makefile: Build mcs/doctools too when one does 'make'

svn path=/trunk/mcs/; revision=2401
2002-02-14 10:15:32 +00:00
Nick Drochak fad221fe3c �2-02-14 Nick Drochak <[email protected]>
* doctools.build: Fix build script so doctools will compile
	(doesn't run yet though)

svn path=/trunk/mcs/; revision=2400
2002-02-14 10:13:58 +00:00
Nick Drochak 705725070a 2002-02-14 Nick Drochak <[email protected]>
* FileCodeGroup.cs: Finish Equals()

svn path=/trunk/mcs/; revision=2399
2002-02-14 07:59:40 +00:00
Dietmar Maurer bdd70970f6 fixed NEWOBJ and SIZEOF bugs
svn path=/trunk/mono/; revision=2398
2002-02-14 07:31:11 +00:00
Paolo Molaro b978a0b803 Thu Feb 14 11:49:30 CET 2002 Paolo Molaro <[email protected]>
* opcode.c: use stddef.h to get NULL.

svn path=/trunk/mono/; revision=2397
2002-02-14 06:58:06 +00:00
Miguel de Icaza 8eb16a5242 Add sparc to the configure
svn path=/trunk/mono/; revision=2396
2002-02-14 01:17:20 +00:00
Jeffrey Stedfast adada26ae2 2002-02-14 Jeffrey Stedfast <[email protected]>
* socket-io.c: conditionally include sys/filio.h and sys/sockio.h
	for FIONBIO, FIONREAD and SIOCATMARK.
	(ves_icall_System_Net_Dns_GetHostByAddr_internal): SunOS doesn't
	define INADDR_NONE and besides, inet_addr() is deprecated and
	should not be used. Use inet_pton() instead - it also has the
	added bonus that it can easily handle IPv6 addresses as well.
	(inet_pton): Implement using inet_aton() ifndef HAVE_INET_PTON.

svn path=/trunk/mono/; revision=2395
2002-02-14 01:06:46 +00:00
Jeffrey Stedfast a90ce13b8c 2002-02-14 Jeffrey Stedfast <[email protected]>
* sockets.c: conditionally include sys/filio.h and sys/sockio.h
	for FIONBIO, FIONREAD, and SIOCATMARK.

svn path=/trunk/mono/; revision=2394
2002-02-14 01:05:24 +00:00
Jeffrey Stedfast cb22a00528 2002-02-14 Jeffrey Stedfast <[email protected]>
* configure.in: Add checks to see if we need to link to libsocket,
	libnsl, and/or librt. Also check for inet_pton and inet_aton.

svn path=/trunk/mono/; revision=2393
2002-02-14 01:04:34 +00:00
Miguel de Icaza aefe6a0b33 2002-02-13 Miguel de Icaza <[email protected]>
* driver.cs (GetSystemDir): Compute correctly the location of our
	system assemblies.  I was using the compiler directory instead of
	the library directory.

svn path=/trunk/mcs/; revision=2392
2002-02-13 23:28:34 +00:00
Dan Lewis 19b91de662 Internal call tool, first revision. (mucho experimental)
svn path=/trunk/mcs/; revision=2391
2002-02-13 22:40:49 +00:00
Ravi Pratap M 655c722662 2002-02-13 Ravi Pratap <[email protected]>
* expression.cs (BetterFunction): Put back in what Miguel commented out
	since it is the correct fix. The problem is elsewhere ;-)

	(IsParamsMethodApplicable): Fix bug where we were not checking that the fixed
	parameters of the parms method are themselves compatible or not !

	(StandardConversionExists): Fix very dangerous bug where we were forgetting
	to check that a class implements an interface before saying that an implicit
	conversion was allowed. Use ImplementsInterface to do the checking.

svn path=/trunk/mcs/; revision=2390
2002-02-13 20:06:03 +00:00
Miguel de Icaza 77298082ac Fix the abstract bug that Paolo reported for running MCS under the JITer.
The problem was with my understanding of the .override keyword.

2002-02-13  Miguel de Icaza  <[email protected]>

	* class.cs (Method.Define): Track whether we are an explicit
	implementation or not.  And only call DefineMethodOverride if we
	are an explicit implementation.

	(Property.DefineMethod): Ditto.
	(IndexerAccess.DefineMethod): ditto.

svn path=/trunk/mcs/; revision=2389
2002-02-13 19:52:25 +00:00
Dan Lewis cb96e363a7 Removed Enum.cs from _cmp and _res builds. Fixes problem with reflection.
svn path=/trunk/mcs/; revision=2388
2002-02-13 19:24:35 +00:00
Paolo Molaro d89f61a239 Wed Feb 13 23:00:21 CET 2002 Paolo Molaro <[email protected]>
* decimal.c: remove _MSC_VER conditional.

svn path=/trunk/mono/; revision=2387
2002-02-13 18:11:02 +00:00
David Brandt bd6b95c4aa Adding ArrayTest to AllTests
svn path=/trunk/mcs/; revision=2386
2002-02-13 18:09:05 +00:00
David Brandt 86598fc315 Introducing ArrayTest
svn path=/trunk/mcs/; revision=2385
2002-02-13 18:08:31 +00:00
Miguel de Icaza 75cfd6427d Update
svn path=/trunk/mono/; revision=2384
2002-02-13 17:13:56 +00:00
Dick Porter 9a5e16ca6a 2002-02-13 Dick Porter <[email protected]>
* socket-io.c:
	* icall.c: Internal calls for Blocking, Select, Shutdown,
	GetSocketOption and SetSocketOption

2002-02-13  Dick Porter  <[email protected]>

	* sockets.c: Implement shutdown and select

svn path=/trunk/mono/; revision=2383
2002-02-13 17:01:21 +00:00
Paolo Molaro 03a3dab0f1 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <[email protected]>
* Int32.cs: implement IConvertible interface.

svn path=/trunk/mcs/; revision=2382
2002-02-13 17:01:13 +00:00
Paolo Molaro efae364c08 Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <[email protected]>
* Thread.cs: implement CurrentCulture property needed by
	Convert.ChangeType() (used when compiling enums).

svn path=/trunk/mcs/; revision=2381
2002-02-13 17:00:45 +00:00
Dick Porter 493c36b7f8 2002-02-13 Dick Porter <[email protected]>
* Socket.cs: Implemenent Select, Blocking, Connected,
	GetSocketOption, Poll, SetSocketOption and Shutdown

	* MulticastOption.cs:
	* LingerOption.cs: Delete override methods that don't need to be
	implemented

svn path=/trunk/mcs/; revision=2380
2002-02-13 17:00:10 +00:00
Dan Lewis e0e9356649 Modified and added stubs to allow corlib to compile without referencing mscorlib
or MS assemblies. (check the corlib.dll assembly metadata :)

svn path=/trunk/mcs/; revision=2379
2002-02-13 16:24:18 +00:00
Jeffrey Stedfast d91ba93071 s/pthread_mutex_t/mono_mutex_t in some header files too
svn path=/trunk/mono/; revision=2378
2002-02-13 15:33:44 +00:00
Jeffrey Stedfast 3408f54a0e * pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]
svn path=/trunk/mono/; revision=2377
2002-02-13 15:23:42 +00:00
Jeffrey Stedfast 40d0390444 2002-02-13 Jeffrey Stedfast <[email protected]>
* mono-mutex.[c,h]: New source files that thinly wrap all pthread
	functions that take pthread_mutex_t and/or pthread_mutexattr_t
	arguments for the sake of portability. Implements recursive
	mutexes and pthread_mutex_timedlock.

	* critical-sections.c:
	* events.c:
	* handles.c:
	* mutexes.c:
	* semaphores.c:
	* threads.c:
	* timed-thread.c:
	* wait.c: Use the mono-mutex wrapper portability functions/macros.

	* pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]

svn path=/trunk/mono/; revision=2376
2002-02-13 15:22:35 +00:00
Jeffrey Stedfast 59551c0c1f 2002-02-13 Jeffrey Stedfast <[email protected]>
* acconfig.h: #undef USE_MONO_MUTEX

	* configure.in: If the system pthread implementation is lacking,
	default to using mono-mutex.

svn path=/trunk/mono/; revision=2375
2002-02-13 15:21:33 +00:00
Paolo Molaro 155b6bc52e Wed Feb 13 19:20:01 CET 2002 Paolo Molaro <[email protected]>
* assembly.cs: better resolver: use it instead of some kludgy code.

svn path=/trunk/mono/; revision=2374
2002-02-13 14:29:01 +00:00
Paolo Molaro b6db291c68 Wed Feb 13 18:25:55 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: the best way to speed-up the compiler is to avoid
	infinite loops.

svn path=/trunk/mono/; revision=2373
2002-02-13 13:35:52 +00:00
Dietmar Maurer 8dec071267 added some docu
svn path=/trunk/mono/; revision=2372
2002-02-13 12:22:52 +00:00
Miguel de Icaza 0866af587c 2002-02-13 Miguel de Icaza <[email protected]>
* jit.c (arch_allocate_var): Only assert that the alignment is
	at least 32-bits aligned, not always 32-bits aligned (for I8 for example).

svn path=/trunk/mono/; revision=2371
2002-02-13 11:55:19 +00:00
Paolo Molaro 07bcac85e1 Wed Feb 13 16:17:38 CET 2002 Paolo Molaro <[email protected]>
* interp.c: fixed newobj implementation for valuetypes bug found by
	dietmar. sub.ovf dummy code.

svn path=/trunk/mono/; revision=2370
2002-02-13 11:28:47 +00:00
Paolo Molaro 2539b42868 More tests.
svn path=/trunk/mono/; revision=2369
2002-02-13 11:25:24 +00:00
Dietmar Maurer 85dbd7fcdb revert last change
svn path=/trunk/mono/; revision=2368
2002-02-13 09:45:11 +00:00
Dietmar Maurer 6d78f5079e bug fix in newobj
svn path=/trunk/mono/; revision=2367
2002-02-13 09:39:52 +00:00
Nick Drochak 5cd0f19332 �2-02-13 Nick Drochak <[email protected]>
* makefile: 'clean' target now removes file generated by CorCompare

svn path=/trunk/mcs/; revision=2366
2002-02-13 08:49:48 +00:00
Dietmar Maurer 945a08003c pass the domain to mono_string_new
svn path=/trunk/mono/; revision=2365
2002-02-13 08:29:02 +00:00
Nick Drochak ed997e51bc 2002-02-13 Nick Drochak <[email protected]>
* pending-classes.in: this is generated by corcompare.

svn path=/trunk/mono/; revision=2364
2002-02-13 08:16:37 +00:00
Dietmar Maurer eae711d5a0 update
svn path=/trunk/mono/; revision=2363
2002-02-13 07:55:01 +00:00
Dietmar Maurer 1cb538d091 object layout change
svn path=/trunk/mono/; revision=2362
2002-02-13 07:44:59 +00:00
Duncan Mak 54829e3eed 2002-02-12 Duncan Mak <[email protected]>
* SerializationBinder.cs: Implemented.
	    * SerializationEntry.cs: Implemented.
	    * SerializationInfo.cs: Fixed the get portion of the AssemblyName
	    property. Implemented the FullTypename property.

svn path=/trunk/mcs/; revision=2361
2002-02-12 22:47:31 +00:00
Miguel de Icaza c1a370c8c2 Add test that fails
svn path=/trunk/mcs/; revision=2360
2002-02-12 22:40:32 +00:00
Miguel de Icaza feaa2f229f Revert Ravi's patch, as it breaks the build
svn path=/trunk/mcs/; revision=2359
2002-02-12 22:04:09 +00:00
Duncan Mak 1570af80c3 Fixed a typo.
svn path=/trunk/mcs/; revision=2358
2002-02-12 21:50:51 +00:00
Duncan Mak a0a191cca0 2002-02-12 Duncan Mak <[email protected]>
* CultureInfo.cs: Added the Calendar property to make the TimeZone
      class build. It's marked as MonoTODO.

2002-02-12  Duncan Mak  <[email protected]>

    * TimeZone.cs: Implemented and added to CVS.

svn path=/trunk/mcs/; revision=2357
2002-02-12 21:48:08 +00:00
Miguel de Icaza 4f43b0ca4c New download page
svn path=/trunk/mono/; revision=2356
2002-02-12 20:21:08 +00:00
Dick Porter e383305479 Added a comment
svn path=/trunk/mcs/; revision=2355
2002-02-12 18:07:33 +00:00
David Brandt b1dd0f011d Beefing up StringTest
svn path=/trunk/mcs/; revision=2354
2002-02-12 17:32:38 +00:00
Paolo Molaro 84e3cf129c Tue Feb 12 20:06:01 CET 2002 Paolo Molaro <[email protected]>
* assembly.c: look for assemblies in the assembly dir, too.

svn path=/trunk/mono/; revision=2353
2002-02-12 15:14:55 +00:00
Miguel de Icaza 2d20d89a31 Add Dietmar to Authors
svn path=/trunk/mono/; revision=2352
2002-02-12 13:09:32 +00:00
Nick Drochak c0c49cbbd6 2002-02-12 Nick Drochak <[email protected]>
* PathTooLongException.cs: put it in the correct namespace
	* EndOfStreamException.cs: put it in the correct namespace

svn path=/trunk/mcs/; revision=2351
2002-02-12 10:50:58 +00:00
Nick Drochak 2455d23ba1 2002-02-12 Nick Drochak <[email protected]>
* PathTooLongException.cs: put it in the correct namespace

svn path=/trunk/mcs/; revision=2350
2002-02-12 10:44:20 +00:00
Paolo Molaro fff141d22b Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <[email protected]>
* dump.c: make all the indexes printed starting from 1.

svn path=/trunk/mono/; revision=2349
2002-02-12 09:42:49 +00:00
Paolo Molaro 470cdb42fa Tue Feb 12 14:08:47 CET 2002 Paolo Molaro <[email protected]>
* hacks.h: check against redefining preprocessor symbol.
	* interp.c: fix profile info to return more sensible results.


Tue Feb 12 14:03:42 CET 2002 Paolo Molaro <[email protected]>

	* class.c: fix thinko in mono_class_from_type().

svn path=/trunk/mono/; revision=2348
2002-02-12 09:20:53 +00:00
Miguel de Icaza 873b3525c5 Last changes to the web site, promised
svn path=/trunk/mono/; revision=2347
2002-02-11 23:31:16 +00:00
Miguel de Icaza 3d41c6a024 Move mailing lists information
svn path=/trunk/mono/; revision=2346
2002-02-11 23:00:57 +00:00
Miguel de Icaza 012b94b077 Flush
svn path=/trunk/mcs/; revision=2344
2002-02-11 22:51:46 +00:00
Miguel de Icaza 2afd2692aa Add cvsignores
svn path=/trunk/mono/; revision=2342
2002-02-11 22:49:14 +00:00
Miguel de Icaza 8427cfb2ce More
svn path=/trunk/mono/; revision=2341
2002-02-11 22:48:46 +00:00
Miguel de Icaza d4afe1e1bf Flush pending changes for 0.8
svn path=/trunk/mono/; revision=2340
2002-02-11 22:47:45 +00:00
Dan Lewis 09fbbe01d7 added custom format string test.
svn path=/trunk/mcs/; revision=2339
2002-02-11 22:26:30 +00:00
Miguel de Icaza a6126c15ea Add mcs man page here, mcs script
svn path=/trunk/mono/; revision=2338
2002-02-11 22:18:46 +00:00
Miguel de Icaza c579526a71 Until we get Custom Number Format Strings in our corlib, get this out
svn path=/trunk/mcs/; revision=2337
2002-02-11 22:17:12 +00:00
Christopher Podurgiel b2340c921b * DataColumnChangeEventArgs.cs : Added
* DataColumnChangeEventHandler.cs : Added

svn path=/trunk/mcs/; revision=2336
2002-02-11 21:50:47 +00:00
Duncan Mak 381389ed22 2002-02-11 Duncan Mak <[email protected]>
* Convert.cs: Implemented the ChangeType () methods.

svn path=/trunk/mcs/; revision=2335
2002-02-11 21:35:41 +00:00
Miguel de Icaza b48dc8c50b More resources
svn path=/trunk/mono/; revision=2334
2002-02-11 21:20:20 +00:00
Jason Diamond daa65c9207 Fixed build to test our XML classes and not Microsoft's. Added initial namespace support.
svn path=/trunk/mcs/; revision=2333
2002-02-11 21:08:55 +00:00
Miguel de Icaza e3084fbe32 Flush small changes
svn path=/trunk/mcs/; revision=2332
2002-02-11 20:04:03 +00:00
Ravi Pratap M ac7829137e 2002-02-11 Ravi Pratap <[email protected]>
* expression.cs (BetterFunction): Catch hideous bug which was
	 preventing us from detecting ambiguous calls due to implicit casts i.e
	cs0121.

svn path=/trunk/mcs/; revision=2331
2002-02-11 19:43:18 +00:00
Nick Drochak 672c72cf6b 2002-02-12 Nick Drochak <[email protected]>
* UnicodeCategory.cs: Fix typo.

svn path=/trunk/mcs/; revision=2330
2002-02-11 19:29:10 +00:00
Duncan Mak 315b23a18c 2002-02-11 Duncan Mak <[email protected]>
* AllTests.cs: Removed entry for IPHostEntryTest.cs because Mads
      removed it and included it in the new DnsTest.cs. This fixes
      the build.

svn path=/trunk/mcs/; revision=2329
2002-02-11 19:11:31 +00:00
Miguel de Icaza 99296f592a remove man page from here
svn path=/trunk/mcs/; revision=2328
2002-02-11 19:07:04 +00:00
David Brandt 8ee5929fd9 Adding CharTest to AllTests
svn path=/trunk/mcs/; revision=2327
2002-02-11 18:45:55 +00:00
David Brandt 62bdaf5d11 Adding some tests for Char
svn path=/trunk/mcs/; revision=2326
2002-02-11 18:45:29 +00:00
Miguel de Icaza 8e27930703 More news
svn path=/trunk/mono/; revision=2325
2002-02-11 18:45:06 +00:00
Miguel de Icaza 4e36979eb3 Update news on Mono.
svn path=/trunk/mono/; revision=2324
2002-02-11 18:11:05 +00:00
Dan Lewis f7cf2cf894 }} escape String.Format
svn path=/trunk/mcs/; revision=2323
2002-02-11 17:39:08 +00:00
Dan Lewis 2fb02f01ee }} escape for String.Format
svn path=/trunk/mcs/; revision=2322
2002-02-11 17:38:28 +00:00
Dan Lewis 70b7cd6b1e {{ escape test for String.Format
svn path=/trunk/mcs/; revision=2321
2002-02-11 17:25:26 +00:00
Dan Lewis e53d050c6e added {{ escape to String.Format
svn path=/trunk/mcs/; revision=2320
2002-02-11 17:24:34 +00:00
Paolo Molaro ac9930427b Clone() for arrays test.
svn path=/trunk/mono/; revision=2319
2002-02-11 15:02:37 +00:00
Paolo Molaro 678a8d7343 Mon Feb 11 19:43:51 CET 2002 Paolo Molaro <[email protected]>
* exception.h, exception.c: added TypeLoadException.
	* object.h, object.c: added mono_array_clone ().
	* icall.c: handle throwOnError in AssemblyGetType().
	Added Array.Clone().
	* opcode.h, opcode.c: use a single value for the opcode val.
	Compile fix for non-gcc compilers.

svn path=/trunk/mono/; revision=2318
2002-02-11 15:00:25 +00:00
Paolo Molaro 483b711062 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <[email protected]>
* Assembly.cs: handle throwOnError in GetType() call.

svn path=/trunk/mcs/; revision=2317
2002-02-11 15:00:06 +00:00
Paolo Molaro 946536dd9a Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <[email protected]>
* Array.cs: make Clone() an internal call.


Mon Feb 11 19:49:25 CET 2002 Paolo Molaro <[email protected]>

	* ArrayList.cs: Dick's fix to contructor.

svn path=/trunk/mcs/; revision=2316
2002-02-11 14:59:45 +00:00
Paolo Molaro 7128da7343 Mon Feb 11 18:40:04 CET 2002 Paolo Molaro <[email protected]>
* sparc/*: sparc codegen header and some untested trampoline code.

svn path=/trunk/mono/; revision=2315
2002-02-11 13:49:06 +00:00
Miguel de Icaza 7097e6dc0e Update docs
svn path=/trunk/mono/; revision=2314
2002-02-11 13:26:14 +00:00
Mads Pultz f5659e1a32 Test removed, test of IPHostEntry included in DnsTest.cs
svn path=/trunk/mcs/; revision=2313
2002-02-11 10:26:12 +00:00
Mads Pultz 9697aaf9e1 Added implementation for System.Net.Dns.BeginResolve() and System.Net.Dns.EndResolve(). Test also included.
svn path=/trunk/mono/; revision=2312
2002-02-11 10:12:25 +00:00
Mads Pultz bde18438b4 Added implementation for System.Net.Dns.BeginResolve() and System.Net.Dns.EndResolve(). Test also included.
svn path=/trunk/mcs/; revision=2312
2002-02-11 10:12:25 +00:00
Paolo Molaro e5eeeb067b Mon Feb 11 13:26:17 CET 2002 Paolo Molaro <[email protected]>
* X509Certificates: dummy class.

svn path=/trunk/mcs/; revision=2311
2002-02-11 08:36:05 +00:00
Paolo Molaro f5211aaa74 Mon Feb 11 13:05:29 CET 2002 Paolo Molaro <[email protected]>
* interp.c: added "die on exception" command line argument.
	When we segfault, set the message in the exception to "Segmentation
	fault" so people can recognise what's going on.

svn path=/trunk/mono/; revision=2310
2002-02-11 08:15:20 +00:00
Paolo Molaro d8e23630ca Test for multiple marshalled strings.
svn path=/trunk/mono/; revision=2309
2002-02-11 07:43:11 +00:00
Paolo Molaro 95f448bcff Mon Feb 11 12:32:35 CET 2002 Paolo Molaro <[email protected]>
* x86/tramp.c: fix handling of multiple marshaleed strings.
	* x86/x86-codegen.h: some code to patch branch displacements.

svn path=/trunk/mono/; revision=2308
2002-02-11 07:42:10 +00:00
Paolo Molaro 50732e092b Missing test.
svn path=/trunk/mono/; revision=2307
2002-02-11 06:58:36 +00:00
Paolo Molaro 7d0961233a Mon Feb 11 11:20:57 CET 2002 Paolo Molaro <[email protected]>
* x86.brg: fix invalid cast check in unbox. Pack MBTree structure.

svn path=/trunk/mono/; revision=2306
2002-02-11 06:30:11 +00:00
Nick Drochak 3f21e1b65e 2002-02-11 Nick Drochak <[email protected]>
* Int64Test.cs: Various fixes to make tests work against the ms corlib.
	Currency Symbol tests seem to be system dependant.  Not sure if this
	will work on other systems, so please test it if you can. The most
	disturbing one is negative numbers.  Should they be (n) or -n ?

svn path=/trunk/mcs/; revision=2305
2002-02-11 04:42:23 +00:00
Nick Drochak 3f80373ad2 2002-02-11 Nick Drochak <[email protected]>
* c-sharp: remove reference to time travel

svn path=/trunk/mono/; revision=2303
2002-02-10 20:31:22 +00:00
Christopher Podurgiel 31330c4bab UnCommented System.Data as it now builds correctly.
svn path=/trunk/mcs/; revision=2302
2002-02-10 19:08:34 +00:00
Christopher Podurgiel 639a997982 * Updated all Enums, Interfaces, and Delegates in System.Data
* IDbDataParameter.cs : Added -- New class in .NET 1.0

svn path=/trunk/mcs/; revision=2301
2002-02-10 19:06:03 +00:00
Christopher Podurgiel a77709aad5 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
* System.Data.build : fixed so it will build properly.

svn path=/trunk/mcs/; revision=2300
2002-02-10 19:04:10 +00:00
Duco Fijma 1fe2f0fa34 Change implementation of Guid.NewGuid
svn path=/trunk/mcs/; revision=2299
2002-02-10 18:17:53 +00:00
Duco Fijma 9227150b21 Created RandomNumberGenerator.cs
svn path=/trunk/mcs/; revision=2298
2002-02-10 18:11:17 +00:00
Miguel de Icaza 1046f9d468 +2002-02-10 Miguel de Icaza <[email protected]>
+
+	* interp.c (ves_exec_method): Compare the element_class type token
+	in the class we got as well, instead of the element class vs the
+	toplevel class.
+
+	This fixes the invalid cast exceptions during unboxing

svn path=/trunk/mono/; revision=2297
2002-02-10 15:31:12 +00:00
Paolo Molaro bac662313a A few more tests.
svn path=/trunk/mono/; revision=2296
2002-02-10 12:25:23 +00:00
Paolo Molaro 16c7b244bb *** empty log message ***
svn path=/trunk/mono/; revision=2295
2002-02-10 09:30:33 +00:00
Nick Drochak aedf5bd08e 2002-02-10 Nick Drochak <[email protected]>
* corlib_test.build: Remove duplicate excludes for
	* AllTests.cs: Add System.Security.Policy tests.  However, commented
	this out because NUnit is throwing an exception.  Need to figure
	that out first.

svn path=/trunk/mcs/; revision=2294
2002-02-10 08:47:57 +00:00
Nick Drochak 2b8e5e3485 2002-02-10 Nick Drochak <[email protected]>
* AllTests.cs: Add Int64Test to the Suite
	* Int64Test.cs: Change static member to instance member. This was
	causing NUnitConsole some grief.  Should be instance member anyway.

svn path=/trunk/mcs/; revision=2293
2002-02-10 08:46:15 +00:00
Nick Drochak 704be94efc 2002-02-10 Nick Drochak <[email protected]>
* QueueTest.cs: Put in correct namespace.

svn path=/trunk/mcs/; revision=2292
2002-02-10 08:45:14 +00:00
Nick Drochak 0e0004cda2 2002-02-10 Nick Drochak <[email protected]>
* DebugTest.cs: Put in correct namespace.
	* TextWriterTraceListenerTest.cs: Put in correct namespace.

svn path=/trunk/mcs/; revision=2291
2002-02-10 08:44:40 +00:00
Nick Drochak 4c3ce093b0 2002-02-10 Nick Drochak <[email protected]>
* AllTests.cs: Add new file.

svn path=/trunk/mcs/; revision=2290
2002-02-10 08:43:57 +00:00
Nick Drochak eb96dd2c57 2002-02-10 Nick Drochak <[email protected]>
* AllTests.cs: Remove StringBuilderTest suite.  There's a major failure
	when it's included and the test errors aren't displayed.

svn path=/trunk/mcs/; revision=2289
2002-02-10 08:43:12 +00:00
Paolo Molaro 3b3505a608 Sun Feb 10 12:54:05 CET 2002 Paolo Molaro <[email protected]>
* emit-x86.c: make x86_magic_trampoline() handle call instructions
	with an imm8 displacement. x86.brg not yet changed to take advantage
	of it.

svn path=/trunk/mono/; revision=2288
2002-02-10 08:03:55 +00:00
Paolo Molaro 833e35e266 Sun Feb 10 11:47:30 CET 2002 Paolo Molaro <[email protected]>
* jit.c: use opcode info from libmetadata to do flow analysis
	and simplify code.

svn path=/trunk/mono/; revision=2287
2002-02-10 07:01:10 +00:00
Miguel de Icaza dfba7e30fb Fix memory leak
svn path=/trunk/mono/; revision=2286
2002-02-10 03:47:53 +00:00
Miguel de Icaza dbc5683917 Work towards getting `fixed' to work. We are going to need a custom
hack for this to fully work.

2002-01-29  Miguel de Icaza  <[email protected]>

	* support.cs (Pair): Remove un-needed method.  I figured why I was
	getting the error in cs-parser.jay, the variable in a foreach loop
	is readonly, and the compiler does not really treat this as a variable.

	* cs-parser.jay (fixed_statement): Fix grammar.  Use ASSIGN
	instead of EQUALS in grammar.

	* typemanager.cs (VerifyUnmanaged): Report correct error (208)

	* expression.cs (Unary.DoResolve): Check whether the argument is
	managed or not.

svn path=/trunk/mcs/; revision=2285
2002-02-10 01:32:42 +00:00
Miguel de Icaza 4c2ad5c231 Add Getting Started section from Nick
svn path=/trunk/mono/; revision=2284
2002-02-10 01:18:22 +00:00
Duncan Mak 0d69e304e9 Added a link to a paper on .NET security
svn path=/trunk/mono/; revision=2283
2002-02-09 19:01:48 +00:00
Duncan Mak 65abaeb0b4 Reverting patch to not break the build. Sorry.
svn path=/trunk/mcs/; revision=2282
2002-02-09 16:42:22 +00:00
Duco Fijma aae58b894b Implemented Guid.NewGuid
svn path=/trunk/mcs/; revision=2281
2002-02-09 16:07:56 +00:00
Nick Drochak 6c4cbb676f 2002-02-09 Nick Drochak <[email protected]>
* StringBuilderTest.cs: Fixed tests that were failing against mscorlib.

svn path=/trunk/mcs/; revision=2279
2002-02-09 09:53:12 +00:00
Nick Drochak cafc58df08 2002-02-09 Nick Drochak <[email protected]>
* ByteTest.cs:
	* Int16Test.cs:
	* Int32Test.cs:
	* SByteTest.cs:
	* UInt16Test.cs:
	* UInt32Test.cs:
	* UInt64Test.cs: Fixed tests where a "$" was hard coded.  Change it to
	use NumberFormatInfo.CurrentInfo.CurrencySymbol.  Also used
	NumberFormatInfo.InvariantInfo.CurrencySymbol where appropriate. These
	tests all pass now with mscorlib.

svn path=/trunk/mcs/; revision=2278
2002-02-09 09:43:47 +00:00
Duncan Mak dc072eb885 2002-02-08 Duncan Mak <[email protected]>
* RuntimeArgumentHandle.cs: Added to CVS.

2002-02-08  Duncan Mak  <[email protected]>

	    * UriFormatException.cs: Removed TODO attribute, the docs are
	      probably wrong here. In any case, this code compiles and should work.

2002-02-08  Duncan Mak  <[email protected]>

	    * IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
	      abstract class. Oh, that's what it means! Removed unnesscessary
    	      MonoTODO attributes.

svn path=/trunk/mcs/; revision=2276
2002-02-08 23:11:38 +00:00
Nick Drochak 78d9376ec4 2002-02-09 Nick Drochak <[email protected]>
* corlib_test.build: compile with mscorlib to test the tests.  This
	will be our "reference" check to make sure the tests work.

svn path=/trunk/mcs/; revision=2275
2002-02-08 21:28:30 +00:00
Nick Drochak 41902a9e5d 2002-02-09 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Fix path name to resource files

svn path=/trunk/mcs/; revision=2274
2002-02-08 21:25:31 +00:00
Nick Drochak 5995401dfd 2002-02-09 Nick Drochak <[email protected]>
* FileIOPermissionTest.cs: Remove intersect test where it was trying
	to intersect a permission with itself.  This throws an exception
	with mscorlib.

svn path=/trunk/mcs/; revision=2273
2002-02-08 21:24:52 +00:00
Nick Drochak 1d6b3a001c 2002-02-09 Nick Drochak <[email protected]>
* StackTest.cs: Removed test for IsReadonly.  Doesn't exist in .NET 1.0

svn path=/trunk/mcs/; revision=2272
2002-02-08 20:53:10 +00:00
Nick Drochak b2dd660e03 2002-02-09 Nick Drochak <[email protected]>
* FileCodeGroup.cs: New file. All done except for GetHashCode and
	Resolve.
	* CodeGroup.cs: Fix small bug in ToXml()
	* Evidence.cs: Added method stub needed by FileCodeGroup.cs.  Added
	MonoTODO's too.

svn path=/trunk/mcs/; revision=2271
2002-02-08 20:01:53 +00:00
Paolo Molaro d48d197a17 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <[email protected]>
* get.c: don't abort if a methodref is not found, usa alternative way
	to get the method name.

svn path=/trunk/mono/; revision=2270
2002-02-08 14:42:03 +00:00
Paolo Molaro 7794030718 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <[email protected]>
* CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
	UnhandledExceptionEventHandler.cs: added delegates.

svn path=/trunk/mcs/; revision=2269
2002-02-08 14:24:39 +00:00
Paolo Molaro cfaf6beea2 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <[email protected]>
* MarshalByRefObject.cs: add ToString () method
	(apparently needed by nunit).
	* _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
	by it in the runtime.

svn path=/trunk/mcs/; revision=2268
2002-02-08 13:16:35 +00:00
Paolo Molaro 93416474bd Fri Feb 8 18:02:50 CET 2002 Paolo Molaro <[email protected]>
* NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
	it compile and provide the constructor needed by nunitcore.

svn path=/trunk/mcs/; revision=2267
2002-02-08 13:11:39 +00:00
Paolo Molaro 74b8f5fe2b Fri Feb 8 13:01:03 CET 2002 Paolo Molaro <[email protected]>
* interp.c: use opcode information from libmetadata.

svn path=/trunk/mono/; revision=2266
2002-02-08 08:09:50 +00:00
Paolo Molaro 5ee7b1b884 Fri Feb 8 12:31:40 CET 2002 Paolo Molaro <[email protected]>
* monoburg.c: make generated arrays const, so that they are shared.

svn path=/trunk/mono/; revision=2265
2002-02-08 07:40:52 +00:00
Paolo Molaro 3da04d8fee Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <[email protected]>
* Makefile.am: correct linking order.
	* dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.

svn path=/trunk/mono/; revision=2264
2002-02-08 07:39:10 +00:00
Paolo Molaro 632a6e8d0e Fri Feb 8 12:26:37 CET 2002 Paolo Molaro <[email protected]>
* opcodes.c, opcodes.h: export interesting info about opcodes.

svn path=/trunk/mono/; revision=2263
2002-02-08 07:37:22 +00:00
Dan Lewis 4a26dbc3ec String.Format() tests.
svn path=/trunk/mcs/; revision=2262
2002-02-07 20:22:37 +00:00
Dan Lewis b61f84a302 String.Format() implementation.
svn path=/trunk/mcs/; revision=2261
2002-02-07 20:21:58 +00:00
Duncan Mak cb07814f2f 2002-02-07 Duncan Mak <[email protected]>
* IsolatedStorage.cs: Added to CVS, stubbed out the API.
	* IsolatedStorageException.cs: Implemented.

svn path=/trunk/mcs/; revision=2260
2002-02-07 19:39:47 +00:00
Duncan Mak 01beb5e5b9 Serialization bits for System.Collection.Hashtable, System.Reflection.AssemblyName and System.Security.SecurityException
svn path=/trunk/mcs/; revision=2259
2002-02-07 17:33:39 +00:00
Dan Lewis 6776fcd105 copy System.dll into Test directory.
svn path=/trunk/mcs/; revision=2258
2002-02-07 15:04:31 +00:00
Gaurav Vaish 686cdfbad0 2002-02-07 Gaurav Vaish <[email protected]>
* RequiredFieldValidator.cs  -- Oops! Forgot to add in previous commit.

* ChangeLog -- Needed to be updated for this.

svn path=/trunk/mcs/; revision=2257
2002-02-07 13:34:06 +00:00
Gaurav Vaish 1aa785f819 2002-02-07 Gaurav Vaish <[email protected]>
* ListBox.cs  -- Implemented the last unfinished method.

* ChangeLog, TODO -- Updated in accordance.

svn path=/trunk/mcs/; revision=2256
2002-02-07 13:32:09 +00:00
Duncan Mak e88cd06985 2002-02-07 Duncan Mak <[email protected]>
* DuplicateWaitObjectException:
	* InvalidCastException:
	* NotImplementedException:
	* NotSupportedException:
	* NullReferenceException:
	* OutOfMemoryException:
	* OverflowException:
	* RankException:
	* StackOverflowException.cs:
	* UnauthorizedAccessException: Added missing constructor used
	  for serialization.

svn path=/trunk/mcs/; revision=2255
2002-02-07 13:15:40 +00:00
Dietmar Maurer 0688f447e2 bug fix in String::Compare
svn path=/trunk/mcs/; revision=2254
2002-02-07 11:08:16 +00:00
Nick Drochak 22b9fa09e3 2002-02-07 Nick Drochak <[email protected]>
* CodeGroupTest.cs: Tests everything except the (To|From)Xml methods.

svn path=/trunk/mcs/; revision=2252
2002-02-06 12:13:52 +00:00
Nick Drochak 0131de2944 2002-02-07 Nick Drochak <[email protected]>
* CodeGroup.cs: Went as far as I can for now.  Need to look at
	the (To|From)XML methods when I understand PolicyLevels better.

svn path=/trunk/mcs/; revision=2251
2002-02-06 12:11:54 +00:00
Dietmar Maurer bab65ef983 fixed most compiler warnings, code cleanup
svn path=/trunk/mono/; revision=2250
2002-02-06 12:07:53 +00:00
Radek Doulik 7b1c8de33a added translation CultureInfo id --> RegionInfo id
svn path=/trunk/mcs/; revision=2249
2002-02-06 11:44:34 +00:00
Dietmar Maurer 93ea568c08 added array bound checking
svn path=/trunk/mono/; revision=2248
2002-02-06 08:40:05 +00:00
Dietmar Maurer 8907609a12 impl. Enum.Parse
svn path=/trunk/mcs/; revision=2247
2002-02-06 06:13:57 +00:00
Dietmar Maurer 8c26ebbec4 more tests
svn path=/trunk/mono/; revision=2246
2002-02-06 06:07:08 +00:00
Gaurav Vaish 33774cc7d4 2002-02-06 Gaurav Vaish <[email protected]>
Back from a small vacation due to the exams...

* ListItem.cs, ListItemCollection.cs:  Completed
* WebControl.cs  -- Minor changes.

* TableStyle.cs, TargetConverter, TemplateColumn  -- Fully implemented

* ListBox.cs  -- Partial Implementation (See ChangeLog for details)

* ChangeLog  -- Verbose details of the work done

* TODO -- Updated list for completed classes.

svn path=/trunk/mcs/; revision=2245
2002-02-06 02:44:18 +00:00
Duncan Mak 50669eaef9 2002-02-05 Duncan Mak <[email protected]>
* DBNull.cs: This is my first crack at the DBNull class. I think I
      actually got most of the IConvertible methods right, but I haven't
      done the research to test whether or not this is the correct
      behavior. IConvertible.ToType () is the most iffy of all, IMHO.

svn path=/trunk/mcs/; revision=2244
2002-02-06 00:13:57 +00:00
Dan Lewis 34112f9810 added ecma character categories to parser.
svn path=/trunk/mcs/; revision=2243
2002-02-05 20:48:52 +00:00
Duncan Mak 9eec5fc74f 2002-02-05 Duncan Mak <[email protected]>
* FileTest.cs: Added to CVS. However, this portion of the code
	can't be tested right now.

svn path=/trunk/mcs/; revision=2242
2002-02-05 20:48:09 +00:00
Duncan Mak 3feca74a5f 2002-02-05 Duncan Mak <[email protected]>
* DllNotFoundException.cs: Inherits from TypeLoadException, not
	      SystemException.

2002-02-05  Duncan Mak  <[email protected]>

	    * SymDocumentType.cs:
	    * SymLanguageType.cs:
	    * SymLanguageVendor.cs: Added to CVS.

2002-02-05  Duncan Mak  <[email protected]>

    	   * Missing.cs:
	   * TargetException.cs: Added in CVS.

svn path=/trunk/mcs/; revision=2241
2002-02-05 18:39:13 +00:00
Miguel de Icaza 8759686214 revert my patch
svn path=/trunk/mono/; revision=2240
2002-02-05 16:48:39 +00:00
Miguel de Icaza 5fd436c92b Update web page directory
svn path=/trunk/mono/; revision=2239
2002-02-05 16:46:54 +00:00
Dietmar Maurer 030524bea0 2002-02-05 Dietmar Maurer <[email protected]>
* Enum.cs: added more functionality (GetName, ToObject, Equals)

svn path=/trunk/mcs/; revision=2238
2002-02-05 13:21:45 +00:00
Dietmar Maurer df114a9d2f 2002-02-05 Dietmar Maurer <[email protected]>
* interp.c (ves_exec_method): CEE_UNBOX: use element_class for
	type check.
	* x86.brg: use element_class for type check
	* object.h (MONO_CHECK_ARG, MONO_CHECK_ARG_NULL): new macro for
	icalls.

	* class.c (class_compute_field_layout): set element_class for enums
	(mono_class_create_from_typedef): set element_class for normal classes

	* icall.c (ves_icall_System_Enum_get_value): impl.

	* class.c (mono_class_create_from_typedef): do not set valuetype
	flag for System.ValueType and System.Enum

svn path=/trunk/mono/; revision=2237
2002-02-05 13:18:43 +00:00
Dietmar Maurer 12068a5cf2 impl. Array_Address icall, TOSTRING for pinvoke String return values
svn path=/trunk/mono/; revision=2236
2002-02-04 11:11:01 +00:00
Dietmar Maurer 9925df49e6 fix endian problem with old libiconv
svn path=/trunk/mono/; revision=2235
2002-02-04 08:22:38 +00:00
Duncan Mak 9437729e38 Stupid ChangeLog commit
svn path=/trunk/mcs/; revision=2234
2002-02-03 14:33:26 +00:00
Duncan Mak 7ad7162474 Added Mono namespace block
svn path=/trunk/mcs/; revision=2233
2002-02-03 14:32:27 +00:00
Nick Drochak fcfb9958fd 2002-02-01 Nick Drochak <[email protected]>
* CodeGroupTest.cs: Still not done, checking in now just in case

svn path=/trunk/mcs/; revision=2231
2002-02-01 20:39:18 +00:00
Nick Drochak d6c86057bc 2002-02-02 Nick Drochak <[email protected]>
* CodeGroup.cs: Not done, but checking in now just in case

svn path=/trunk/mcs/; revision=2230
2002-02-01 20:33:50 +00:00
Radek Doulik 440865cf1b more RegionInfo work
svn path=/trunk/mcs/; revision=2229
2002-02-01 16:55:01 +00:00
Duncan Mak 727bcef189 2002-2-1 Duncan Mak <[email protected]>
* serialize.cs: Added a new tool for serializing objects. It
	  can create new types dynamically, but can only handle
	  arguments that are of primitive types.

svn path=/trunk/mcs/; revision=2228
2002-02-01 16:47:11 +00:00
Radek Doulik e255fb1179 ops, it should build again, I am sorry
svn path=/trunk/mcs/; revision=2227
2002-02-01 15:17:16 +00:00
Radek Doulik ad3a544314 implemented RegionInfo (string) constructor
svn path=/trunk/mcs/; revision=2226
2002-02-01 15:09:15 +00:00
Radek Doulik a4fcdffd7d 2002-02-01 Radek Doulik <[email protected]>
svn path=/trunk/mcs/; revision=2225
2002-02-01 14:40:37 +00:00
Dietmar Maurer 7a638319b4 SHR/SHL impl.
svn path=/trunk/mono/; revision=2224
2002-02-01 12:04:34 +00:00
Paolo Molaro 4163d85e95 Fri Feb 1 16:03:53 CET 2002 Paolo Molaro <[email protected]>
* interp.c: exception fixes. Use mono_method_pointer_get ()
	to easy porting to other archs. Some support for overflow detection.

Fri Feb 1 16:03:00 CET 2002 Paolo Molaro <[email protected]>

	* x86/tramp.c, ppc/tramp.c: implement mono_method_pointer_get ().


Fri Feb 1 16:13:20 CET 2002 Paolo Molaro <[email protected]>

	* class.c: add asserts if we are ever going to scribble over memory.
	* socket-io.c: not all systems have AF_IRDA defined.

svn path=/trunk/mono/; revision=2223
2002-02-01 11:22:35 +00:00
Paolo Molaro 15ded645a5 Fixety fix.
svn path=/trunk/mono/; revision=2222
2002-02-01 10:55:00 +00:00
Paolo Molaro aafccb438e Fri Feb 1 15:32:36 CET 2002 Paolo Molaro <[email protected]>
* configure.in: allow PKG_CONFIG_PATH for the build-platform
	pkg-config invocation.

svn path=/trunk/mono/; revision=2221
2002-02-01 10:41:25 +00:00
Paolo Molaro 6af8ce6dd8 Fri Feb 1 15:13:25 CET 2002 Paolo Molaro <[email protected]>
* configure.in: add some support/fixes for cross-compilation.


Fri Feb 1 15:14:16 CET 2002 Paolo Molaro <[email protected]>

	* Makefile.am: support cross-compilation.

svn path=/trunk/mono/; revision=2220
2002-02-01 10:22:51 +00:00
Gaurav Vaish 22690d7f33 2002-02-01 Gaurav Vaish <[email protected]>
* DataList.cs   -- Done a hell lot of work today. I am tired now and will
 go to library to study for the exams on Monday.
 See ChangeLog for details of what I did today.

* ChangeLog  -- Updated in accordance.

svn path=/trunk/mcs/; revision=2219
2002-02-01 10:09:51 +00:00
Gaurav Vaish e09c86703b 2002-02-01 Gaurav Vaish <[email protected]>
* TODO: Do I really need destructors? I have added a small description.
 I don't think I need them. I am nowhere using any unmanaged code.

svn path=/trunk/mcs/; revision=2218
2002-01-31 22:50:37 +00:00
Dan Lewis 450b1b38af Was part of PerlTest.cs: modified to use result description instead of checksum.
svn path=/trunk/mcs/; revision=2217
2002-01-31 21:56:10 +00:00
Dan Lewis b862e0ee3b Removed /nowarn:1595, added /noconfig flag to build file (CSC was using the
Microsoft assemblies in preference.)

Removed checksum from Perl regex trial descriptions. Now using a descriptive
string.

svn path=/trunk/mcs/; revision=2216
2002-01-31 21:47:17 +00:00
Dan Lewis a25f3cbe52 Branch bug was affecting FastRepeat: a(?:b|c|d)*(.) threw a stack overflow.
Added note about (?(X)...) capture/expression disambiguation.

svn path=/trunk/mcs/; revision=2215
2002-01-31 18:15:22 +00:00
Dietmar Maurer afe66c297f removed the hack
svn path=/trunk/mono/; revision=2214
2002-01-31 15:14:24 +00:00
Paolo Molaro d2c86f31ce Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <[email protected]>
* dis-cil.c: reverse order when outputting start try blocks.

svn path=/trunk/mono/; revision=2213
2002-01-31 13:29:29 +00:00
Paolo Molaro 383522ba45 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <[email protected]>
* Directory.cs: handle opendir() return NULL and absolute filenames.

svn path=/trunk/mcs/; revision=2212
2002-01-31 12:41:09 +00:00
Duncan Mak a7867a2e45 Added more stuff to various Exceptions to make them serializable
svn path=/trunk/mcs/; revision=2211
2002-01-31 12:32:31 +00:00
Dietmar Maurer 98e0748c4c fix the bug in the previous bug fix
svn path=/trunk/mono/; revision=2210
2002-01-31 12:28:26 +00:00
Dietmar Maurer 26b7f826c6 mono_wrapper_readdir: add check for null pointer
svn path=/trunk/mono/; revision=2209
2002-01-31 12:02:14 +00:00
Dietmar Maurer 3891fac608 impl. CEQ for lreg, more bug fixes
svn path=/trunk/mono/; revision=2208
2002-01-31 11:32:00 +00:00
Dietmar Maurer 4b15ad68c4 impl. LDFTN, more bug fixes
svn path=/trunk/mono/; revision=2207
2002-01-31 09:51:27 +00:00
Dan Lewis 2173a53119 added System.Text.RegularExpressions suite.
svn path=/trunk/mcs/; revision=2206
2002-01-31 09:01:06 +00:00
Dan Lewis ad375c8180 Regex classes, initial revision.
svn path=/trunk/mcs/; revision=2205
2002-01-31 08:00:16 +00:00
Dan Lewis 0fb35e7d51 Regex tests. Initial revision - just the Perl trials.
svn path=/trunk/mcs/; revision=2204
2002-01-31 07:58:48 +00:00
Duncan Mak b3d0d99606 2002-01-31 Duncan Mak <[email protected]>
* AppDomainUnloadedException.cs:
	    * ApplicationException.cs:
	    * ArgumentOutOfRangeException.cs:
	    * ArithmeticException.cs:
	    * ArrayTypeMismatchException:
	    * BadImageFormatException.cs:
	    * Exception.cs:
	    * MissingMemberException.cs:
	    * TypeLoadException.cs: Added missing bits for serialization.

	    * FileLoadException.cs:
	    * FileNotFoundException: Added missing bits for serialization.

svn path=/trunk/mcs/; revision=2203
2002-01-31 03:20:31 +00:00
Gaurav Vaish 0044a5d22e 2002-01-31 Gaurav Vaish <[email protected]>
* WebColorConverter.cs  -- Oops! Should have added yesterday itself.
 :: Initial Implementation. Lots of MonoTODO's

svn path=/trunk/mcs/; revision=2202
2002-01-31 01:55:13 +00:00
Gaurav Vaish 31d545941c 2002-01-31 Gaurav vaish <[email protected]>
* RepeatInfo.cs  -- Almost done. See ChangeLog for details.

* ChangeLog  -- About what's status of RepeatInfo. Vertical direction rendering
 is left.

* TODO -- "&" mark for RepeatInfo class.

svn path=/trunk/mcs/; revision=2201
2002-01-31 01:52:55 +00:00
Radek Doulik bcbd03aff4 ops, removed junk
svn path=/trunk/mono/; revision=2200
2002-01-30 16:28:47 +00:00
Dietmar Maurer 990f224044 vtable bug fix
svn path=/trunk/mono/; revision=2199
2002-01-30 12:22:46 +00:00
Gaurav Vaish 27ddbc930c 2002-01-30 Gaurav Vaish <[email protected]>
* UnitConverter.cs -- Completed

* ValidatedControlConverter.cs -- Looks complete. Doubtful though!! :((

* ValidationSummary.cs -- Initial Implementation

* ChangeLog  -- Details of what happened today

* TODO  -- Marks updated

svn path=/trunk/mcs/; revision=2198
2002-01-30 11:50:39 +00:00
Gaurav Vaish add4be5b34 2002-01-30 Gaurav Vaish <[email protected]>
** class.xml: Today's updates... All in WebControls namespace
 See System.Web.UI.WebControls/ChangeLog for details.

svn path=/trunk/mono/; revision=2197
2002-01-30 11:48:59 +00:00
Gaurav Vaish 8a3d1efc94 2002-01-30 Gaurav Vaish <[email protected]>
* PlaceHolder.cs  -- The simplest class one can have!
* PlaceHolderControlBuilder.cs  -- Not less simple.

* ChageLog, TODO -- Updates for these files.

svn path=/trunk/mcs/; revision=2196
2002-01-30 09:02:42 +00:00
Gaurav Vaish 259a4970f2 2002-02-30 Gaurav Vqaish <[email protected]>
* RadioButtonList.cs   -- Almost done. One method left. See ChangeLog for details

* ChangeLog  -- What's been done / left in RadioButton.cs

* TODO -- Marked RadioButtonList with an "&".

svn path=/trunk/mcs/; revision=2195
2002-01-30 07:52:16 +00:00
Gaurav Vaish 15ae7bf033 2002-01-30 Gaurav Vaish <[email protected]>
* DropDownList.cs  -- Completed

* ListItemCollection.cs -- Add method FindByValueInternal to assist derived
 classes. Found a bug in FindByValue(...). Corrected

* ChangeLog, TODO  -- Properly Updated

svn path=/trunk/mcs/; revision=2194
2002-01-30 03:58:31 +00:00
Duco Fijma 844ef5b603 Finished Guid.cs except for Guid.NewGuid
svn path=/trunk/mcs/; revision=2193
2002-01-29 18:46:24 +00:00
Miguel de Icaza 72b64055ef Update with news coverage
svn path=/trunk/mono/; revision=2192
2002-01-29 18:34:23 +00:00
Paolo Molaro 484a3a25d3 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <[email protected]>
* _AppDomain.cs: remove ToString() method: it doesn't seem right
	to have it in this interface and it screws up the method vtable setup.

svn path=/trunk/mcs/; revision=2191
2002-01-29 17:41:30 +00:00
Nick Drochak d8306a109a 2002-01-30 Nick Drochak <[email protected]>
* CodeGroupTest.cs: New File.  Not done, but checking in now just in case

svn path=/trunk/mcs/; revision=2190
2002-01-29 13:36:48 +00:00
Nick Drochak fbaf4fd847 2002-01-30 Nick Drochak <[email protected]>
* CodeGroup.cs: New file.  Not nearly done with this, but saving it
	in cvs just in case.
	* PolicyLevel.cs: Sarted just a bit on this then relized i need CodeGroup
	first (among others).  Checking in for disaster recovery.

2002-01-29  Nick Drochak  <[email protected]>

	* PolicyStatementAttribute.cs: New file.
	* PolicyException.cs: Use correct namespace
	* PolicyLevel.cs: Add [Serializable] to class

svn path=/trunk/mcs/; revision=2189
2002-01-29 13:33:52 +00:00
Nick Drochak b2cb03d782 * index: fix link to X11 license
svn path=/trunk/mono/; revision=2188
2002-01-29 12:48:12 +00:00
Miguel de Icaza cc29e417c2 Flush changes
svn path=/trunk/mcs/; revision=2187
2002-01-29 01:53:34 +00:00
Andrei Zmievski 9859088e73 2002-01-28 Andrei Zmievski <[email protected]>
* Double.cs: implemented IConvertible interface.

svn path=/trunk/mcs/; revision=2186
2002-01-29 01:04:04 +00:00
Miguel de Icaza efd232f9c9 2002-01-28 Miguel de Icaza <[email protected]>
* ArgumentException.cs: Implement serialization constructor.
	(GetObjectData): Implement serializer.

	* ArgumentNullException.cs: Implement serialization constructor.

	* Exception.cs: Implement serialization constructor.
	(GetObjectData): Implement serializer.

svn path=/trunk/mcs/; revision=2185
2002-01-28 20:32:42 +00:00
Miguel de Icaza cc44d36495 Update c-sharp file with thoughts on the CIL optimizer; Fix the MIT license
link.

svn path=/trunk/mono/; revision=2184
2002-01-28 14:04:10 +00:00
Miguel de Icaza 51c3b0cb84 2002-01-28 Miguel de Icaza <[email protected]>
* support.cs: Api for Pair to set a value.  Despite the fact that
	the variables are public the MS C# compiler refuses to compile
	code that accesses the field if the variable is part of a foreach
	statement.

	* statement.cs (Fixed): Begin implementation of the fixed
	statement.

	(Block.AddVariable): Return the VariableInfo on success and null
	on failure instead of true/false.

	* cs-parser.jay (foreach): Catch errors on variables already
	defined (we were ignoring this value before) and properly unwind
	the block hierarchy

	(fixed_statement): grammar for the fixed statement.

svn path=/trunk/mcs/; revision=2183
2002-01-28 14:03:27 +00:00
Nick Drochak d9fd81429b 2002-01-29 Nick Drochak <[email protected]>
* PolicyStatementAttribute.cs: New file.

svn path=/trunk/mcs/; revision=2182
2002-01-28 13:04:37 +00:00
Gaurav Vaish 194805948e 2002-01-28 Gaurav vaish <[email protected]>
* FontNamesConverter.cs, ListItemControlBuilder.cs  -- Completed

* FontUnitConverter.cs       -- Initial Implementation

* ChangeLog, TODO  -- Updated in accordance.

svn path=/trunk/mcs/; revision=2181
2002-01-28 12:24:13 +00:00
Miguel de Icaza 7e78ae40c5 update docs to include x11 license
svn path=/trunk/mono/; revision=2180
2002-01-28 01:34:08 +00:00
Gaurav Vaish 8318d3cc83 2002-01-27 Gaurav Vaish <[email protected]>
* TODO   -- Updated

 I counted.. and get that out of total 132 implementations, I am done
 with 91 (100% status). 132 count includes, enumerations, interfaces,
 classes and structs and so does 91 include.

 IT'S ABOUT 2/3rd of TOTAL WORK IN WEBCONTROLS!

svn path=/trunk/mcs/; revision=2179
2002-01-27 13:10:52 +00:00
Gaurav Vaish 5c4077f91d 2002-01-27 Gaurav Vaish <[email protected]>
* class.xml   -- Latest report for WebControls universe (?)

svn path=/trunk/mono/; revision=2178
2002-01-27 12:55:03 +00:00
Gaurav Vaish 4712799fb5 2002-01-27 Gaurav Vaish <[email protected]>
* TextBoxControlBuilder.cs      -- Completed
* TextBox.cs                    -- Almost done
* Xml.cs             -- Initial Implementation

* ChangeLog, TODO  -- Updated accordingly

svn path=/trunk/mcs/; revision=2177
2002-01-27 12:51:31 +00:00
Gaurav Vaish d71b6fc5a9 2002-01-27 Gaurav Vaish <[email protected]>
* RadioButton.cs  -- Completed
* TextBox.cs      -- Initial Implementation

svn path=/trunk/mcs/; revision=2176
2002-01-27 00:31:43 +00:00
Gaurav Vaish 1c8e806025 2002-01-27 Gaurav Vaish <[email protected]>
* ChangeLog: EnumCheck updates describing the new tool.

svn path=/trunk/mcs/; revision=2175
2002-01-26 21:25:57 +00:00
Nick Drochak 99d7b46c8b * update pointer to version 1.0 of .NET SDK.
svn path=/trunk/mono/; revision=2174
2002-01-26 20:23:08 +00:00
Gaurav Vaish dc81c9a2d0 2002-01-26 Gaurav Vaish <[email protected]>
* TextBox.cs   -- Started off.
* ChangeLog, TODO  -- Updated properly

svn path=/trunk/mcs/; revision=2173
2002-01-26 13:27:18 +00:00
Gaurav Vaish 8bb4d051e2 2002-01-26 Gaurav Vaish <[email protected]>
* RadioButton.cs   -- Completed

* ChangeLog, TODO  -- Updated

I've dropped the idea of going for another build. Too many dependencies
 on other namespaces. I don't want to get involved right now. ;-)

svn path=/trunk/mcs/; revision=2172
2002-01-26 10:21:32 +00:00
Gaurav Vaish 26a23da758 2002-01-26 Gaurav Vaish <[email protected]>
* EnumCheckAssemblyCollection.cs, assemblies.xml   -- Files related to EnumCheck tool

* EnumCheck.cs   -- updated
* makefile      -- build EnumCheck

 Hey Nick, now you can use this tool very beautifully. Just modify the assemblies.xml file.

svn path=/trunk/mcs/; revision=2171
2002-01-26 08:37:21 +00:00
Miguel de Icaza 88da8d5759 Update with links from Gaurav
svn path=/trunk/mono/; revision=2170
2002-01-25 23:55:51 +00:00
Gaurav Vaish 04916c5251 2002-01-26 Gaurav Vaish <[email protected]>
* EnumCheck.cs   -- Please feel free to use it. I've done with it. Yahoo!!

svn path=/trunk/mcs/; revision=2169
2002-01-25 23:37:45 +00:00
Gaurav Vaish beee9bdde4 2002-01-26 Gaurav Vaish <[email protected]>
* EnumCheck.cs  -- Did some modifications. At least not giving an exception, but
  still fails to load or whatever be the problem. I'll try to debug it today.

svn path=/trunk/mcs/; revision=2168
2002-01-25 23:19:17 +00:00
Miguel de Icaza adfbc58629 Commit
svn path=/trunk/mcs/; revision=2167
2002-01-25 21:48:37 +00:00
Miguel de Icaza ab939010df Wooohoo! Unsafe code, here I come!
A couple of things are missing, but I will get to that tomorrow.

2002-01-25  Miguel de Icaza  <[email protected]>

	* expression.cs (UnaryMutator.IsIncrementableNumber): Allow also
	pointer types to be incretemented.

	(SizeOf): Implement.

	* cs-parser.jay (pointer_member_access): Implement
	expr->IDENTIFIER production.

	* expression.cs (IndexerAccess.DoResolve, ArrayAccess.DoResolve,
	MemberAccess.DoResolve, Invocation.DoResolve): Check for pointers
	on safe contexts.

	(Unary): Implement indirection.

	* ecore.cs (Expression.UnsafeError): Reports error 214 (pointer
	use in non-unsafe context).

	(SimpleName.DoResolve): Check for pointers in field access on safe
	contexts.

	(Expression.LoadFromPtr): Factor the load-indirect code in this
	function.  This was duplicated in UnboxCast and ParameterReference

svn path=/trunk/mcs/; revision=2166
2002-01-25 21:48:12 +00:00
Gaurav Vaish 91ffc8cbed 2002-01-26 Gaurav Vaish <[email protected]>
* TableItemStyle.cs, Panel.cs   -- Completed. :))

* ChangeLog, TODO   -- Updated

 Now I'd try to go for another build including these files. Hope I succeed soon.

svn path=/trunk/mcs/; revision=2165
2002-01-25 16:15:08 +00:00
Nick Drochak 23d2b7ffb8 * ResourceReaderTest.cs: eliminate some compiler warnings
svn path=/trunk/mcs/; revision=2164
2002-01-25 11:49:59 +00:00
Nick Drochak fb24ffdb4d 2002-01-25 Nick Drochak <[email protected]>
* AllTests.cs: Add System.Resources.AllTests.Suite

svn path=/trunk/mcs/; revision=2163
2002-01-25 11:47:24 +00:00
Nick Drochak e0da9e6d82 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.

svn path=/trunk/mcs/; revision=2162
2002-01-25 11:45:54 +00:00
Dietmar Maurer ac6b5abd86 bug fix
svn path=/trunk/mono/; revision=2161
2002-01-25 11:19:37 +00:00
Nick Drochak a21d08a5e5 2002-01-25 Nick Drochak <[email protected]>
* AllTests.cs:
	* Empty.resources:
	* MyResources.resources: Added files
	* ResourceReaderTest.cs: Test the enumerator

svn path=/trunk/mcs/; revision=2160
2002-01-25 10:57:34 +00:00
Nick Drochak 84a4b85375 .cvsignore: *ignore* them, i said
svn path=/trunk/mcs/; revision=2159
2002-01-25 10:45:47 +00:00
Nick Drochak 36de1441c7 .cvsignore: ignore .dll files in this directory.
svn path=/trunk/mcs/; revision=2158
2002-01-25 10:37:59 +00:00
Dietmar Maurer afeb89dc22 more appdomain update
svn path=/trunk/mono/; revision=2157
2002-01-25 10:35:35 +00:00
Dietmar Maurer bdbde07bc8 more AppDomain updates
svn path=/trunk/mcs/; revision=2156
2002-01-25 10:27:49 +00:00
Nick Drochak 7c86c50523 2002-01-25 Nick Drochak <[email protected]>
* .cvsignore: ignore .dll files now since we build NUnitCore.dll ourselves

svn path=/trunk/mcs/; revision=2155
2002-01-25 04:09:55 +00:00
Miguel de Icaza 0aae20a580 2002-01-24 Miguel de Icaza <[email protected]>
* expression.cs (ComposedCast): report an error if a pointer cast
	is used in a safe region.

	* ecore.cs (Expression.ConvertExplicit): Add rules for implicit
	pointer type casts in unsafe context.

	* codegen.cs (EmitContext): Set up IsUnsafe.

	* cs-parser.jay (non_expression_type): Add productions for pointer
	casts.

svn path=/trunk/mcs/; revision=2154
2002-01-24 17:28:18 +00:00
Miguel de Icaza fad5ddaa23 2002-01-24 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): Remove chunk of buggy
	code.  We should not use force into static mode if the method is
	not virtual.  Fixes bug in MIS

svn path=/trunk/mcs/; revision=2153
2002-01-24 15:55:41 +00:00
Miguel de Icaza 0653e868af 2002-01-24 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): Remove chunk of buggy
	code.  We should not use force into static mode if the method is
	not virtual.  Fixes bug in MIS

svn path=/trunk/mcs/; revision=2152
2002-01-24 15:54:43 +00:00
Miguel de Icaza 5211a94918 2002-01-24 Miguel de Icaza <[email protected]>
* statement.cs (Do.Emit, While.Emit, For.Emit,
	Statement.EmitBoolExpression): Add support to Do and While to
	propagate infinite loop as `I do return' semantics.

	Improve the For case to also test for boolean constants.

	* attribute.cs (Attribute.ApplyAttributes): Add ParameterBuilder
	to the list of attributes we can add.

	Remove `EmitContext' argument.

	* class.cs (Method.Define): Apply parameter attributes.
	(Constructor.Define): Apply parameter attributes.
	(MethodCore.LabelParameters): Move here the core of labeling
	parameters.

	* support.cs (ReflectionParameters.ParameterModifier,
	InternalParameters.ParameterModifier): Use IsByRef on the type and
	only return the OUT bit for these parameters instead of in/out/ref
	flags.

	This is because I miss-understood things.  The ParameterInfo.IsIn
	and IsOut represent whether the parameter has the [In] and [Out]
	attributes set.

svn path=/trunk/mcs/; revision=2151
2002-01-24 15:06:39 +00:00
Duncan Mak 34b48c6668 Flush, mostly indent differences
svn path=/trunk/mcs/; revision=2150
2002-01-24 13:32:24 +00:00
Dietmar Maurer 6df3d58acf more appdomain work
svn path=/trunk/mono/; revision=2149
2002-01-24 13:16:30 +00:00
Paolo Molaro 1263a4d126 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <[email protected]>
* Directory.cs: allow directories in GetFiles() mask.

svn path=/trunk/mcs/; revision=2148
2002-01-24 12:51:20 +00:00
Paolo Molaro 9dcb104c59 Thu Jan 24 17:41:06 CET 2002 Paolo Molaro <[email protected]>
* glob.c: fix typo.

svn path=/trunk/mono/; revision=2147
2002-01-24 12:49:03 +00:00
Miguel de Icaza fcceb7f0c4 2002-01-24 Miguel de Icaza <[email protected]>
* StructLayoutAttribute.cs: Flag attribute as targetting structs
	or classes.

	* InAttribute.cs: Flag attribute as targettting a paramter

	* OutAttribute.cs: ditto.

	* DllImportAttribute.cs: Flag attribute as targetting methods.

	* MarshalAsAttribute.cs: Flag attribute as targetting fields,
	parameters and returnvalues.

svn path=/trunk/mcs/; revision=2146
2002-01-24 11:13:26 +00:00
Paolo Molaro 4a00f3ca6d Thu Jan 24 12:59:23 CET 2002 Paolo Molaro <[email protected]>
* icall.c: ignore "file://" prefix when loading an assembly.

svn path=/trunk/mono/; revision=2145
2002-01-24 08:07:34 +00:00
Gaurav Vaish 5df765641d 2002-01-24 Gaurav Vaish <[email protected]>
* .cvsignore -- Ignore *.exe

svn path=/trunk/mcs/; revision=2143
2002-01-24 07:15:15 +00:00
Gaurav Vaish b259284dc2 2002-24-02 Gaurav Vaish <[email protected]>
* *.cs -- Updates from Leen Toelen ([email protected])

svn path=/trunk/mcs/; revision=2142
2002-01-24 04:14:05 +00:00
Miguel de Icaza e0971fd9f4 Add --root command line
svn path=/trunk/mono/; revision=2141
2002-01-24 01:20:56 +00:00
Miguel de Icaza bd17db489b 2002-01-23 Miguel de Icaza <[email protected]>
* glob.c (mono_glob_compile): Make the glob expression contain ^
	and $ at the beginning and end respectively.

svn path=/trunk/mono/; revision=2140
2002-01-24 01:07:06 +00:00
Miguel de Icaza 4ca705b72f 2002-01-23 Miguel de Icaza <[email protected]>
* x86/tramp.c (mono_create_trampoline): Do not try to create a
	mono_string_new if the return value from the PInvoke code is
	NULL.

2002-01-23  Miguel de Icaza  <[email protected]>

	* genwrapper.pl: Added wrappers for the mono_glob functions.

	* glob.c: New file, with globing functions used by the Directory
	code.

svn path=/trunk/mono/; revision=2139
2002-01-24 01:00:53 +00:00
Miguel de Icaza 99a1e34e98 2002-01-23 Miguel de Icaza <[email protected]>
* Unix/Errno.cs: Added

	* Unix/Wrapper.cs: Updated to new Wrapper

2002-01-23  Miguel de Icaza  <[email protected]>

	* FileInfo.c (CopyTo, MoveTo): Implement.

	* FileStream.cs: Add argument checking to the constructor.

	* File.cs: Rewrote most of the file.  Implement Copy, Open, Create,
	OpenText, OpenWrite, Move.  Made pending methods flagged as MonoTODO.

	* Directory.cs (Delete): reimplement without using DirectoryInfo.
	(Delete): Implement the recursive version.
	(GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
	(Move): Reimplement.
	(getNames): dead code removal.

	* Path.cs: define an internal DirectorySeparatorStr that we use in
	a few spots.

	* Wrapper.cs: Updated to new version.

	* DirectoryInfo (Delete): Implement using the Directory API.

2002-01-23  Miguel de Icaza  <[email protected]>

	* DateTime.cs (UnixEpoch): The Begining of the Unix epoch.

svn path=/trunk/mcs/; revision=2138
2002-01-24 00:59:13 +00:00
Duncan Mak e543d4c316 2002-01-23 Duncan Mak <[email protected]>
* DebuggerStepThroughAttribute.cs:
    * DebuggerHiddenAttribte.cs: Add to CVS.

svn path=/trunk/mcs/; revision=2137
2002-01-24 00:58:39 +00:00
Duncan Mak 9318774f00 2002-01-23 Duncan Mak <[email protected]>
* AssemblyAlgorithmIdAttribute.cs:
    * AssemblyCompanyAttribute.cs:
    * AssemblyConfigurationAttribute.cs:
    * AssemblyCopyrightAttribute.cs:
    * AssemblyCultureAttribute.cs:
    * AssemblyDefaultAliasAttribute.cs:
    * AssemblyDelaySignAttribute.cs:
    * AssemblyDescriptionAttribute.cs:
    * AssemblyFileVersionAttribute.cs:
    * AssemblyFlagsAttribute.cs:
    * AssemblyInformationalVersionAttribute.cs:
    * AssemblyKeyFileAttribute.cs:
    * AssemblyKeyNameAttribute.cs:
    * AssemblyNameProxy.cs:
    * AssemblyProductAttribute.cs:
    * AssemblyTitleAttribute.cs:
    * AssemblyTradeMarkAttribute.cs:
    * AssemblyVersionAttribute.cs:
    * CustomAttributeFormatException.cs:
    * InvalidFilterCriteriaException.cs:
    * TargetParameterCountException.cs: Added.

2002-01-23  Duncan Mak  <[email protected]>

    * FileDialogPermissionAccess.cs: Add to CVS.

    2002-01-23  Duncan Mak  <[email protected]>

    * EntryPointNotFoundException.cs:
    * FormatException: Added missing constructor and related bits.

    * TypeLoadException: Added missing constructor, methods and
      properties.

svn path=/trunk/mcs/; revision=2136
2002-01-24 00:57:12 +00:00
Miguel de Icaza e4edbe1b3d Add utime
svn path=/trunk/mono/; revision=2135
2002-01-23 22:20:46 +00:00
Miguel de Icaza 9b49d95a68 2002-01-23 Miguel de Icaza <[email protected]>
* wrapper.c: Changed things so that we can propagate ERRNO back.

	Include stdio.h and unistd.h to remove a couple of warnings.

svn path=/trunk/mono/; revision=2134
2002-01-23 21:33:02 +00:00
Miguel de Icaza 3f7687ddd4 2002-01-23 Miguel de Icaza <[email protected]>
* NetworkStream.cs: Implement class.

svn path=/trunk/mcs/; revision=2133
2002-01-23 21:10:25 +00:00
Miguel de Icaza 96b7ca21ac 2002-01-23 Miguel de Icaza <[email protected]>
* DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
	Delete, Create, Parent, Exists, MoveTo): Implement.

	* Directory.cs (GetListing): implement new utility function.
	(GetDirectories): Implement.
	(GetFileSystemEntries): Implement.
	(GetFiles): Implement.

	* CheckArgument.cs (Path): Do not allow null by default.

2002-01-23  Miguel de Icaza  <[email protected]>

	* Unix/Wrapper.cs: Updated to new Wrapper

svn path=/trunk/mcs/; revision=2132
2002-01-23 20:05:45 +00:00
Miguel de Icaza c7c4eb0e94 2002-01-23 Miguel de Icaza <[email protected]>
* genwrapper.pl: Added support for flagging non-CLS compliant
	classes and structs with CLSCompliant(false).

	Added mkdir, rmdir and rename wrappers.

svn path=/trunk/mono/; revision=2131
2002-01-23 20:04:33 +00:00
Nick Drochak a764729de3 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.

svn path=/trunk/mcs/; revision=2130
2002-01-23 19:36:47 +00:00
Nick Drochak 213ad095f6 2002-01-24 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Add new file. This test is not done yet.
        Wanted to save it in cvs for 'disaster recovery' purposes.
        Just in case.

svn path=/trunk/mcs/; revision=2129
2002-01-23 19:31:48 +00:00
Dick Porter 2489932c9e Added the MIS web server
svn path=/trunk/mono/; revision=2128
2002-01-23 19:27:53 +00:00
Dick Porter 734a34aa23 2002-01-23 Dick Porter <[email protected]>
* System.build: Start build System.Net.Sockets.Socket.cs,
	TcpClient.cs and TcpListener.cs

2002-01-23  Dick Porter  <[email protected]>

	* SocketException.cs: Implemented

	* Socket.cs: Implemented most methods

	* LingerOption.cs: Made compile

	* AddressFamily.cs: Removed empty auto-generated comments

2002-01-23  Dick Porter  <[email protected]>

	* SocketAddress.cs: Implemented.

	* IPEndPoint.cs: Turned 'Address' field into a real property.
	Implemented Create() and Serialize() methods.

	* IPAddress.cs: Fixed class constructor, turned 'Address' field
	into a real property. Removed undocumented "public
	IPAddress(string)" constructor.

	* EndPoint.cs: Implemented.  All methods return
	NotSupportedException to enforce subclass overriding.

	* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
	P/Invokes with portable internal calls.

2002-01-23  Dick Porter  <[email protected]>

	* Win32Exception.cs: implement, with support for looking up
	runtime errors.

2002-01-23  Dick Porter  <[email protected]>

	* Marshal.cs: Added GetLastWin32Error()

	* ExternalException.cs: Implemented

2002-01-23  Dick Porter  <[email protected]>

	* System.Xml/XmlNode.cs: Fixed IndexerName attribute so it
	compiles under .net 1.0

2002-01-23  Dick Porter  <[email protected]>

	* Linux.cs: GetFileTime and SetFileTime need to be static

2002-01-23  Dick Porter  <[email protected]>

	* ManualResetEvent.cs:
	* AutoResetEvent.cs: Fixed DOS line endings

svn path=/trunk/mcs/; revision=2127
2002-01-23 19:19:34 +00:00
Dick Porter bc0b175b40 2002-01-23 Dick Porter <[email protected]>
* socket-io.c:
	* icall.c:
	* Makefile.am: Added socket support

2002-01-23  Dick Porter  <[email protected]>

	* sockets.c: Networking support, mostly wrapping BSD socket APIs
	with handle code, and translating errno into w32 error codes.

	* macros.h: Some w32 macros used with the socket support

	* error.c: Implemented GetLastError() and SetLastError()

	* Makefile.am: Added sockets, with kludge to override some symbols

2002-01-23  Dick Porter  <[email protected]>

	* interp.c: Added some kludges to cope with CONV_OVF_I2,
	CONV_OVF_I4 and ADD_OVF so that number formatting works.  Also
	initialise and cleanup the network support.

svn path=/trunk/mono/; revision=2126
2002-01-23 19:17:33 +00:00
Miguel de Icaza 08edfc501e 2002-01-23 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_appdomain_get_default_assemblies): put this
	code back.  This should return the assemblies that are loaded by
	the runtime on behalf of an application domain.

	The current implementation is still broken, it just returns every
	assembly loaded, but until we get real applications domain this
	will do.

svn path=/trunk/mono/; revision=2125
2002-01-23 18:02:41 +00:00
Miguel de Icaza 32d4648a81 2002-01-23 Miguel de Icaza <[email protected]>
* AppDomain.cs (GetAssemblies): Use foreach construct instead of
	manually getting the enumerator.

	(AppDomain.AppDomain): Prime the loaded assemblies with the
	assemblies loaded by the runtime in our behalf.

	* AppDomainSetup.cs: Remove private keyword, that is the default.
	Add a new property DisallowPublisherPolicy.

2002-01-23  Miguel de Icaza  <[email protected]>

	* Assembly.cs (Assembly.CodeBase): Implement.
	(Assembly.FullName): simplistic and broken implementation.  Gets
	us where we were yesterday.

	Code style fix.

svn path=/trunk/mcs/; revision=2124
2002-01-23 17:59:32 +00:00
Dietmar Maurer da7a178730 more bug fixes
svn path=/trunk/mono/; revision=2123
2002-01-23 09:51:00 +00:00
Dietmar Maurer 3805a7d69e added some AppDomain methods
svn path=/trunk/mcs/; revision=2122
2002-01-23 09:49:10 +00:00
Miguel de Icaza 39d2884da7 2002-01-23 Miguel de Icaza <[email protected]>
* AppDomain.cs (AppDomain.GetAssemblies): Implement.

2002-01-23  Miguel de Icaza  <[email protected]>

	* Assembly.cs (Assembly.CodeBase): Implement.

svn path=/trunk/mcs/; revision=2121
2002-01-23 03:28:31 +00:00
Miguel de Icaza 5b8087c990 2002-01-23 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_appdomain_get_cur_domain): Cache the value of
	the mono_class_from_name lookup.
	(ves_icall_get_parameter_info): ditto.
	(ves_icall_appdomain_get_assemblies, add_assembly): Implement new internal
	method.
	(ves_icall_System_Reflection_Assembly_get_code_base): Another new call.

svn path=/trunk/mono/; revision=2120
2002-01-23 03:27:05 +00:00
Miguel de Icaza b09bc24814 Fix build
svn path=/trunk/mcs/; revision=2118
2002-01-23 02:28:05 +00:00
Miguel de Icaza 3d37932fef Update resources
svn path=/trunk/mono/; revision=2117
2002-01-23 02:14:03 +00:00
Miguel de Icaza 7fa0813b5d Update web site
svn path=/trunk/mono/; revision=2116
2002-01-23 02:10:15 +00:00
Miguel de Icaza 2ebb961d35 Try Gaurav's
svn path=/trunk/mono/; revision=2114
2002-01-23 02:02:29 +00:00
Miguel de Icaza 352ad6c139 testing the scripts
svn path=/trunk/mono/; revision=2111
2002-01-23 01:52:37 +00:00
Miguel de Icaza 3b9b273b4a testing the scripts
svn path=/trunk/mono/; revision=2110
2002-01-23 01:50:50 +00:00
Miguel de Icaza 955289a36e testing the scripts
svn path=/trunk/mono/; revision=2109
2002-01-23 01:48:54 +00:00
Miguel de Icaza d7f8d22f26 testing the scripts
svn path=/trunk/mono/; revision=2108
2002-01-23 01:47:37 +00:00
Miguel de Icaza 0a7abca765 testing the scripts
svn path=/trunk/mono/; revision=2107
2002-01-23 01:46:52 +00:00
Miguel de Icaza 429b3769eb testing the scripts
svn path=/trunk/mono/; revision=2106
2002-01-23 01:44:34 +00:00
Miguel de Icaza fde0ddbbae testing the scripts
svn path=/trunk/mono/; revision=2105
2002-01-23 01:43:49 +00:00
Miguel de Icaza ab21c06d47 testing the scripts
svn path=/trunk/mono/; revision=2104
2002-01-23 01:43:31 +00:00
Miguel de Icaza 875eae459a testing the scripts
svn path=/trunk/mono/; revision=2103
2002-01-23 01:42:11 +00:00
Miguel de Icaza 78655617ae testing the scripts
svn path=/trunk/mono/; revision=2102
2002-01-23 01:40:32 +00:00
Miguel de Icaza c8516f58aa testing the scripts
svn path=/trunk/mono/; revision=2100
2002-01-23 01:35:27 +00:00
Miguel de Icaza 9939f7a909 testing the scripts
svn path=/trunk/mono/; revision=2099
2002-01-23 01:33:55 +00:00
Miguel de Icaza 41f5b90854 testing the scripts
svn path=/trunk/mono/; revision=2098
2002-01-23 01:32:51 +00:00
Miguel de Icaza 2b751433fe 2002-01-22 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.Emit): Release temporaries.

	* assign.cs (LocalTemporary.Release): new function.

	* codegen.cs (EmitContext.GetTemporaryStorage,
	EmitContext.FreeTemporaryStorage): Rework the way we deal with
	temporary storage.  Now we can "put back" localbuilders when we
	are done with them

svn path=/trunk/mcs/; revision=2096
2002-01-22 19:52:13 +00:00
Paolo Molaro 68cb0d715e Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <[email protected]>
* IReflect.cs: corrected GetMember() return type.
	* InterfaceMapping.cs, TypeDelegator.cs: implemented.


Tue Jan 22 23:01:11 CET 2002 Paolo Molaro <[email protected]>

	* EnumBuilder.cs, TypeBuilder.cs: updates for changes in Type.cs.
	* ModuleBuilder.cs: fix lookup of nested types.


Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <[email protected]>

	* DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
	assembly in corlib.


Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <[email protected]>

	* MonoType.cs, Type.cs: many updates, corrected implementation,
	completed stubs.


Tue Jan 22 22:50:29 CET 2002 Paolo Molaro <[email protected]>

	* Linux.cs: comment out call to Debug.Assert(): stuff from the System
	assembly cannot be used in corlib.

svn path=/trunk/mcs/; revision=2095
2002-01-22 18:09:47 +00:00
Paolo Molaro 8cad5e83ae Tue Jan 22 22:43:47 CET 2002 Paolo Molaro <[email protected]>
* class.c: load also nested classes on class init.
	System.ValueType instance methods gets passed boxed
	values, unless methods in derived classed that get a pointer to the
	data.
	* icall.c: use better name parsing code in GetType().
	* image.c, image.h: add mono_image_loaded ().
	* metadata.c, metadata.h: add mono_metadata_nesting_typedef ().
	* reflection.c, reflection.h: added mono_reflection_parse_type().

svn path=/trunk/mono/; revision=2094
2002-01-22 18:09:44 +00:00
Aaron Weber 4b5634d553 2002-01-22 Aaron Weber <[email protected]>
* doc/testing: typo.

svn path=/trunk/mono/; revision=2093
2002-01-22 14:29:10 +00:00
Gaurav Vaish 3f926ea6cd 2002-22-01 Gaurav Vaish <[email protected]>
* class.xml   --- Update.

svn path=/trunk/mono/; revision=2092
2002-01-22 00:10:47 +00:00
Veronica De Santis f945db3bdf 2002-01-22 Veronica De Santis <[email protected]>
in mono/mono/metadata/
        * icall.c : Added mapping of internal calls for Manual and Auto reset events
        * threads.c : Added the implementation of internal calls for events
        * threads.h : Added prototypes of internal calls for events

	in mcs/class/corlib/System.Threading/
        * NativeEventCalls : Class that contains internal calls shared by Auto
                             and Manual Reset Events
        * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
        * ManualResetEvents.cs : Added class ManualResetEvents and its implementation

	also added 2 tests in mono/mono/tests/
	* autoresetevents.cs
	* manualresetevents.cs

svn path=/trunk/mono/; revision=2091
2002-01-21 22:50:33 +00:00
Veronica De Santis 3cc87e2203 2002-01-22 Veronica De Santis <[email protected]>
in mono/mono/metadata/
        * icall.c : Added mapping of internal calls for Manual and Auto reset events
        * threads.c : Added the implementation of internal calls for events
        * threads.h : Added prototypes of internal calls for events

	in mcs/class/corlib/System.Threading/
        * NativeEventCalls : Class that contains internal calls shared by Auto
                             and Manual Reset Events
        * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
        * ManualResetEvents.cs : Added class ManualResetEvents and its implementation

	also added 2 tests in mono/mono/tests/
	* autoresetevents.cs
	* manualresetevents.cs

svn path=/trunk/mcs/; revision=2091
2002-01-21 22:50:33 +00:00
Radek Doulik 63807547a8 ppc changes
svn path=/trunk/mono/; revision=2090
2002-01-21 20:06:20 +00:00
David Dawkins 252249354b New files (IFieldInfo.cs,ISoapMessage.cs,ChangeLog)
svn path=/trunk/mcs/; revision=2089
2002-01-21 17:55:28 +00:00
Dietmar Maurer ffa32d6205 status updates for System.IO
svn path=/trunk/mono/; revision=2088
2002-01-21 14:09:31 +00:00
Dietmar Maurer 999a364f5d updates for System.Text namespace
svn path=/trunk/mono/; revision=2087
2002-01-21 13:22:36 +00:00
Dietmar Maurer 3bdee8e499 fix various alignment problems
svn path=/trunk/mono/; revision=2086
2002-01-21 10:05:51 +00:00
Miguel de Icaza 3e4bccee85 2002-01-21 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.Emit): Handle initonly fields specially: we
	need to make a copy of the variable to generate verifiable code.

svn path=/trunk/mcs/; revision=2085
2002-01-21 08:33:16 +00:00
Miguel de Icaza d510fa1c22 Update TODO
svn path=/trunk/mcs/; revision=2084
2002-01-21 08:18:03 +00:00
Dick Porter 527c3f5f60 Fix a typo
svn path=/trunk/mcs/; revision=2083
2002-01-20 20:52:50 +00:00
Duncan Mak 998c5edb7a another typo. i'm feeling embarrassed now.
svn path=/trunk/mcs/; revision=2082
2002-01-20 20:48:46 +00:00
Duncan Mak f384b348d7 This is gonna be painful, fixing typos i just introduced ;-(
svn path=/trunk/mcs/; revision=2081
2002-01-20 20:47:41 +00:00
Duncan Mak 5d272cf42c Beh, typo
svn path=/trunk/mcs/; revision=2080
2002-01-20 20:27:04 +00:00
Duncan Mak 9de450d5c1 2002-01-20 Duncan Mak <[email protected]>
* *Attribute.cs: Implemented all the MonoTODOs in the attributes.

svn path=/trunk/mcs/; revision=2079
2002-01-20 20:26:26 +00:00
Andrei Zmievski 56bc08c1e3 12-01-20 Andrei Zmievski <[email protected]>
* Byte.cs:
    * Char.cs: implemented IConvertible interface.

    * Boolean.cs: use our own ToString() method directly.

svn path=/trunk/mcs/; revision=2078
2002-01-20 19:57:20 +00:00
Duncan Mak 1f356938bb Huge indentation fix. Don't worry, I tested so no typos were introduced. ;-)
svn path=/trunk/mcs/; revision=2077
2002-01-20 13:58:36 +00:00
Nick Drochak ea2a79e85d 2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
	and running tests

svn path=/trunk/mcs/; revision=2076
2002-01-20 04:05:46 +00:00
Nick Drochak 909acdbb50 2002-01-20 Nick Drochak <[email protected]>
* BitArrayTest.cs: wrapped try-catch blocks around several of the tests.
	NUnit doesn't properly catch exception here anymore.  Must be something
	to do with upgrading to .NET.1.0.

svn path=/trunk/mcs/; revision=2075
2002-01-20 03:39:28 +00:00
Nick Drochak a574fbda55 2002-01-20 Nick Drochak <[email protected]>
* AllTests.cs: removed duplicate MemoryStream test
	* MemoryStreamTest.cs: wrapped try-catch blocks around read/write/seek
	tests. These were throwing exceptions that NUnit wasn't catching.  I
	don't think it used to behave this way before .NET.1.0.

svn path=/trunk/mcs/; revision=2074
2002-01-20 03:15:56 +00:00
Nick Drochak 711c8318be 2002-01-20 Nick Drochak <[email protected]>
* SeekOrigin.cs: Added Serializable attribute.

svn path=/trunk/mcs/; revision=2073
2002-01-20 02:03:29 +00:00
Nick Drochak bd688f95bd 2002-01-20 Nick Drochak <[email protected]>
* SerializableAttribute.cs: this attrib can be used on enums, structs,
	and delegates too. Added the appropriate usage flags.

svn path=/trunk/mcs/; revision=2072
2002-01-20 02:02:02 +00:00
Miguel de Icaza 944c953c61 Added.
svn path=/trunk/mcs/; revision=2071
2002-01-19 21:39:07 +00:00
Nick Drochak 2c96cb4f25 * removed binaries that get built
svn path=/trunk/mcs/; revision=2070
2002-01-19 20:43:00 +00:00
Miguel de Icaza 0f0c5150f9 2002-01-19 Miguel de Icaza <[email protected]>
* driver.cs: Compute dynamically the system directory.

svn path=/trunk/mcs/; revision=2069
2002-01-19 20:42:53 +00:00
Dick Porter 7862430d9a 2002-01-20 Dick Porter <[email protected]>
* threads.h:
	* threads.c: Replaced all instances of WapiHandle * with HANDLE,
	so it compiles on w32.

svn path=/trunk/mono/; revision=2068
2002-01-19 20:18:40 +00:00
Nick Drochak 825011fce5 2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in

svn path=/trunk/mcs/; revision=2067
2002-01-19 19:57:56 +00:00
Nick Drochak b3a9502b96 * Added sources and makefile for NUnit
svn path=/trunk/mcs/; revision=2066
2002-01-19 19:55:23 +00:00
Miguel de Icaza aa634bb041 2002-01-19 Miguel de Icaza <[email protected]>
* ecore.cs (CopyNewMethods): reworked, exposed, made public.
	Slower, but more generally useful.  Used by the abstract
	registering implementation.

	* expression.cs (ResolveMemberAccess): Reorder the way we evaluate
	the rules for the special rule on Type/instances.  First check if
	we have the same name, and if so, try that special static path
	rather than the instance path.

2002-01-18  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Emit 642 (warning: possible empty statement) for
	for, while and if.

	* class.cs (TypeBuilder.DefineType): Do not allow inheritance from
	Enum, ValueType, Delegate or Array for non-corlib compiles.

	* cs-tokenizer.cs: Catch long identifiers (645)

	* typemanager.cs (IndexerPropetyName): Ravi never tested this
	piece of code.

	* class.cs (TypeContainer.RegisterRequiredImplementations): Bug
	fix, we were returning too early, so we were not registering
	pending methods from abstract classes.

	Do not register pending methods if the class is abstract.

	* expression.cs (Conditional.DoResolve): Report circular implicit
	conversions when we neecd to compute it for conditional
	expressions.

	(Is.DoResolve): If the expression is always of the provided type,
	flag warning 183.  If the expression can not ever be of the
	provided type flag warning 184.

	* class.cs: Catch 169 as well.

	* ecore.cs (FieldExpr): For now in AddressOf mark as assigned and
	read.

Also add more error test cases.

svn path=/trunk/mcs/; revision=2065
2002-01-19 04:27:34 +00:00
Duncan Mak 280963b185 Stupid tabs
svn path=/trunk/mcs/; revision=2064
2002-01-19 02:37:28 +00:00
Duncan Mak 7359ab5f28 Reset should set it to -1, not 0
svn path=/trunk/mcs/; revision=2063
2002-01-19 02:34:47 +00:00
Duncan Mak af3a970428 Reset should set it to -1, not 0
svn path=/trunk/mcs/; revision=2062
2002-01-19 02:02:11 +00:00
Duncan Mak 83e508f297 Added missing Exceptions in System.IO and System.Security.Policy
svn path=/trunk/mcs/; revision=2061
2002-01-19 01:27:37 +00:00
Duncan Mak d53eb237d4 * CharEnumerator.cs: Implemented.
* String.cs (System): Fixed the GetEnumerator () method(s).

svn path=/trunk/mcs/; revision=2060
2002-01-19 01:08:10 +00:00
Duncan Mak 2df69f3785 2002-01-18 Duncan Mak <[email protected]>
* ObsoleteAttribute.cs:
	    * STAThreadAttribute.cs:
	    * MTAThreadAttribute.cs:
	    * ThreadStaticAttribute.cs:
	    * LoaderOptimizationAttribute.cs:
	    * PlatformNotSupportedException.cs:
	    * LoaderOptimization.cs: Added to CVS.

svn path=/trunk/mcs/; revision=2059
2002-01-18 22:49:16 +00:00
Duncan Mak 1b00f1c04c * ContextStaticAttribute.cs: Added [Serializable] attribute and
put in the missing constructor.

svn path=/trunk/mcs/; revision=2058
2002-01-18 22:40:27 +00:00
Duncan Mak 488a6b9b50 Killed a stray semicolon.
svn path=/trunk/mcs/; revision=2057
2002-01-18 22:38:22 +00:00
Duncan Mak df606238de Fix e-mail address in ChangeLog
svn path=/trunk/mcs/; revision=2056
2002-01-18 22:06:52 +00:00
Duncan Mak 2747409103 2002-1-18 Duncan Mak <[email protected]>
* EnumCheck.cs: A checkin for Miguel to make EnumCheck not hardcode
	     path to corlib.dll.

svn path=/trunk/mcs/; revision=2055
2002-01-18 22:06:26 +00:00
Duncan Mak b675c77a68 Forgot about DllNotFoundException
svn path=/trunk/mcs/; revision=2054
2002-01-18 21:29:35 +00:00
Duncan Mak 4747b57129 Remove one more exception from the list
svn path=/trunk/mono/; revision=2053
2002-01-18 21:25:00 +00:00
Nick Drochak e4cdfddd1a 2002-01-19 Nick Drochak <[email protected]>
* corlib.build: exclude Delegate from corlib_cmp.

svn path=/trunk/mcs/; revision=2052
2002-01-18 21:23:01 +00:00
Nick Drochak 461bb5e3e9 2002-01-19 Nick Drochak <[email protected]>
* makefile: corcompare works again now, so make xml of missing types
	* CorCompare.cs: use exception that .NET v1 throws to get types in mono corlib

svn path=/trunk/mcs/; revision=2051
2002-01-18 21:19:38 +00:00
Duncan Mak aeb1edd979 Updated pending-classes.in, removing classes that I commited in the last few days
svn path=/trunk/mono/; revision=2050
2002-01-18 20:52:43 +00:00
Duncan Mak e11e0dfc70 Forgot to cvs add
svn path=/trunk/mcs/; revision=2049
2002-01-18 20:37:38 +00:00
Duncan Mak c94343d383 2002-01-18 Duncan Mak <[email protected]>
* AppDomainUnloadedException.cs:
	    * MethodAccessException.cs:
	    * ContextMarshalException.cs:
   	    * CannotUnloadAppDomainException.cs:
	    * EntryPointNotFoundException.cs:
            * FieldAccessException.cs:
            * TypeUnloadedException.cs:
�    	    * MissingFieldException.cs: Added to CVS.

	    * ApplicationException.cs:
	    * MemberAccessException.cs:
	    * MissingMemberException.cs
	    * MissingMethodException.cs:
	    * SystemException.cs: Added [Serializable] attribute.

            * Exception.cs: Added [Serializable] attribute, made properties
	    'Message', 'Source' and 'StackTrace' virtual methods, per 1.0 spec.

svn path=/trunk/mcs/; revision=2048
2002-01-18 20:36:58 +00:00
Miguel de Icaza ab7465ea46 Updates to the web site, documentation
svn path=/trunk/mono/; revision=2047
2002-01-18 16:26:47 +00:00
Gaurav Vaish 382b1f3628 2002-01-18 Gaurav Vaish <[email protected]>
* TableCellCollection.cs, TableRowCollection.cs,
  TableHeaderCell.cs, TableRow.cs    -- Completed

* TODO  -- Updated. Added a note on "Attributes" to be added to the classes.

svn path=/trunk/mcs/; revision=2046
2002-01-18 13:41:58 +00:00
Nick Drochak cc6e0e8a5d don't generate xml from corcompare for now. it throws an error on v1.0 of .NET
svn path=/trunk/mcs/; revision=2045
2002-01-18 10:55:56 +00:00
Nick Drochak bffc0cd4d9 2002-01-18 Nick Drochak <[email protected]>
* makefile: remove path to beta2 csc.exe.  path to csc.exe must be in PATH instead.

svn path=/trunk/mcs/; revision=2044
2002-01-18 10:53:10 +00:00
Miguel de Icaza 7cab9c0106 Flush
svn path=/trunk/mcs/; revision=2043
2002-01-18 02:27:23 +00:00
Miguel de Icaza 161b9caec4 2002-01-17 Miguel de Icaza <[email protected]>
* interface.cs (Interface.GetInterfaceTypeByName): Only lookup the
	hashtable if there are classes or structs defined.

	* expression.cs (LocalVariableReference.DoResolve): Simplify this
	code, as the constant resolution moved.

	* statement.cs (Block.EmitMeta): Resolve all constants as we emit
	the metadata, so we can flag error 133.

svn path=/trunk/mcs/; revision=2042
2002-01-18 02:17:45 +00:00
Miguel de Icaza 9071a1fd56 Add new error
svn path=/trunk/mcs/; revision=2041
2002-01-18 02:10:10 +00:00
Miguel de Icaza 1510c979dc Improved tests
svn path=/trunk/mcs/; revision=2040
2002-01-18 02:09:53 +00:00
Duncan Mak 4b54b3f463 2002-01-18 Duncan Mak <[email protected]>
* EnvironmentPermissionAttribute.cs:
    * FileDialogPermissionAttribute.cs:
    * FileIOPermissionAttribute.cs:
    * IsolatedStorageAttribute.cs:
    * IsolatedStorageFilePermissionAttribute.cs:
    * PermissionSetAttribute.cs:
    * PrinciplePermissionAttribute.cs:
    * ReflectionPermissionAttribute.cs:
    * RegistryPermissionAttribute.cs:
    * SiteIdentityPermissionAttribute.cs:
    * StrongNamePermissionAttribute.cs:
    * UIPermissionAttribute.cs:
    * UrlIdentityPermissionAttribute.cs:
    * ZoneIdentityPermissionAttribute.cs: New files. Stubbed out with MonoTODOs

    * Note: These are all the Attributes in the System.Security.Permissions
    namespace. The only missing one is PublishIdentityPermissionAttribute.cs because
    we don't have anything for the X509Certificate class.

svn path=/trunk/mcs/; revision=2039
2002-01-18 01:44:30 +00:00
Duncan Mak 10fd24c272 2002-1-18 Duncan Mak <[email protected]>
* Environment.cs: Commented out references to
	     EnvironmentPermissionAttribute, because they're just
	     stubbed out right now and has no implementation.

svn path=/trunk/mcs/; revision=2038
2002-01-18 01:34:44 +00:00
Andrei Zmievski b171dbb1d9 Forgot to commit ChangeLog.
svn path=/trunk/mcs/; revision=2037
2002-01-18 01:01:06 +00:00
Duncan Mak 37b2d59da6 Some more minor fixes
svn path=/trunk/mcs/; revision=2036
2002-01-18 00:57:49 +00:00
Duncan Mak 152841a79f Minor fixes
svn path=/trunk/mcs/; revision=2035
2002-01-18 00:43:18 +00:00
Miguel de Icaza af5735d115 Fix errors, so the compiler can focus on reporting the right error
svn path=/trunk/mcs/; revision=2034
2002-01-18 00:31:21 +00:00
Duncan Mak 7ef49ff877 indentation fix
svn path=/trunk/mcs/; revision=2033
2002-01-18 00:17:59 +00:00
Duncan Mak 28ff4b98fc 2002-1-17 Duncan Mak <duncan@[email protected]>
* *.cs: convert to Miguel's brace style.

svn path=/trunk/mcs/; revision=2032
2002-01-18 00:17:08 +00:00
Miguel de Icaza cdb4d61b83 This file tracks the bugs in the compiler with regard to the bugs in
this `errors' directory.

svn path=/trunk/mcs/; revision=2031
2002-01-18 00:11:32 +00:00
Duncan Mak fd1d18a15a 2002-1-17 Duncan Mak <[email protected]>
* ResourceSet.cs: Implemented GetObject (string, bool) and GetString
	     (string, bool). ResourceSet has no more MonoTODOs! Also added in the
	     Serializable attribute.

svn path=/trunk/mcs/; revision=2029
2002-01-17 22:56:28 +00:00
Miguel de Icaza f02ec2891f Fix
svn path=/trunk/mcs/; revision=2028
2002-01-17 21:15:47 +00:00
Miguel de Icaza 504b883cc6 Small fixes to report 117
svn path=/trunk/mcs/; revision=2027
2002-01-17 21:15:03 +00:00
Miguel de Icaza ecdf3155e8 Add missing file
svn path=/trunk/mcs/; revision=2026
2002-01-17 19:55:07 +00:00
Miguel de Icaza 7984b8181b Improve error reporting
svn path=/trunk/mcs/; revision=2025
2002-01-17 19:54:27 +00:00
Duncan Mak 07df008a5e 2002-01-17 Duncan Mak <[email protected]>
* ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
	      new attributes documented in 1.0 SDK.

svn path=/trunk/mcs/; revision=2024
2002-01-17 18:51:34 +00:00
Miguel de Icaza db1bb4f4eb Mostly changes to get System.dll compiling again. Removes a bunch
of excludes, and now we actually build things.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Win32Exception.cs: Add.

2002-01-17  Miguel de Icaza  <[email protected]>

	* TraceListenerCollection.cs: Remove Warnings.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Dns.cs: Updated to API changes.

	* IPAddress.cs: Updated API.  Much left to implement.

	* Dns.cs: Remove IPToString method

2002-01-17  Miguel de Icaza  <[email protected]>

	* SocketException.cs: Reimplemented.

svn path=/trunk/mcs/; revision=2023
2002-01-17 18:51:01 +00:00
Duncan Mak a22d5c780c 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

svn path=/trunk/mcs/; revision=2022
2002-01-17 18:46:09 +00:00
Miguel de Icaza a3864a3fc3 oops
svn path=/trunk/mcs/; revision=2021
2002-01-17 17:06:17 +00:00
Miguel de Icaza 4f87e6769e Add .cvsignore
svn path=/trunk/mcs/; revision=2020
2002-01-17 17:03:29 +00:00
Miguel de Icaza b3a4c2c901 Flush
svn path=/trunk/mcs/; revision=2019
2002-01-17 17:03:09 +00:00
Miguel de Icaza dd79275dc1 Add documentatin from Nant
svn path=/trunk/mcs/; revision=2018
2002-01-17 16:47:20 +00:00
Miguel de Icaza a88f8fd7de Integrate Nant sources into the mcs code base to simplify the build.
Also, make Resources compile.

svn path=/trunk/mcs/; revision=2017
2002-01-17 16:45:39 +00:00
Miguel de Icaza f9e754668c Flush
svn path=/trunk/mono/; revision=2016
2002-01-17 14:10:45 +00:00
Dietmar Maurer a4ccf0cb35 2002-01-17 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_stack_size): impl.

	* class.c (mono_class_get_field): impl. memberref token

	* jit.c (mono_analyze_stack): use LDIND_REF/STIND_REF

	* jit.c (main): install the trampoline before we start to create
	objects.

svn path=/trunk/mono/; revision=2015
2002-01-17 10:08:43 +00:00
Miguel de Icaza 1f2b306c4e 2002-01-17 Miguel de Icaza <[email protected]>
* const.cs: Allow `unsafe'

	* interface.cs: (PopulateMethod): Check for pointers being defined
	only if the unsafe context is active.
	(PopulateProperty): ditto.
	(PopulateIndexer): ditto.

	* class.cs (Method, Method.Define): Allow `unsafe' modifier to be
	specified.  If pointers are present, make sure that they are
	present in an unsafe context.
	(Constructor, Constructor.Define): ditto.
	(Field, Field.Define): ditto.
	(Property, Property.Define): ditto.
	(Event, Event.Define): ditto.

	* decl.cs (MemberCore.UnsafeOK): New function to test that a
	pointer is being declared in an unsafe context.

2002-01-16  Miguel de Icaza  <[email protected]>

	* modifiers.cs (Modifiers.Check): Require a Location argument.
	Report error 227 for Unsafe use.

	* typemanager.cs: Remove IsPointerType, we should be using Type.IsPointer

svn path=/trunk/mcs/; revision=2014
2002-01-17 02:22:50 +00:00
Andrei Zmievski 8cb07d42eb * Boolean.cs: implemented IConvertible interface
svn path=/trunk/mcs/; revision=2013
2002-01-17 00:28:40 +00:00
Miguel de Icaza 177e4fbfaa 2002-01-16 Miguel de Icaza <[email protected]>
* statement.cs (For.Emit): If the test is null, then report that
	we do `return', as we wont reach anything afterwards.

	(Switch.SwitchGoverningType): Track the expression that matched
	the conversion.

	* driver.cs: Allow negative numbers as an error code to flag.

svn path=/trunk/mcs/; revision=2011
2002-01-16 22:26:59 +00:00
Veronica De Santis 1222ab1b5c 2002-01-16 Veronica De Santis <veron78@@interfree.it>
* icall.h : Added the internal calls mapping for CreateMutex_internal
	  	    and ReleaseMutex_internal.

	* threads.h : Added the prototype of mutexes internal calls.

	* threads.c : Added the implementations of mutexes internal calls.

	* WaitHandle.cs : Renamed handle to os_handle and make it protected
	                  instead of private.
        * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
              	     and the ReleaseMutex)

svn path=/trunk/mono/; revision=2010
2002-01-16 21:08:04 +00:00
Veronica De Santis 169190f49b 2002-01-16 Veronica De Santis <veron78@@interfree.it>
* icall.h : Added the internal calls mapping for CreateMutex_internal
	  	    and ReleaseMutex_internal.

	* threads.h : Added the prototype of mutexes internal calls.

	* threads.c : Added the implementations of mutexes internal calls.

	* WaitHandle.cs : Renamed handle to os_handle and make it protected
	                  instead of private.
        * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
              	     and the ReleaseMutex)

svn path=/trunk/mcs/; revision=2010
2002-01-16 21:08:04 +00:00
Miguel de Icaza 13a04d9f60 Small fixes for Duncan
svn path=/trunk/mcs/; revision=2009
2002-01-16 20:57:28 +00:00
Miguel de Icaza 71f28a14ae Flush
svn path=/trunk/mono/; revision=2008
2002-01-16 20:15:56 +00:00
Duncan Mak 69423ab0b6 2002-01-16 Duncan Mak <[email protected]>
* ResourceManager.cs: Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
      because Miguel just implemented the whole class, including the constructor that
      I needed (CultureInfo (string)).

svn path=/trunk/mcs/; revision=2007
2002-01-16 20:11:32 +00:00
Miguel de Icaza d76053ec49 2002-01-16 Miguel de Icaza <[email protected]>
* CultureInfo.cs: Completed the tables.   Now we need to actually
	fill it in.

svn path=/trunk/mcs/; revision=2006
2002-01-16 20:08:35 +00:00
Duncan Mak 3c2865bb5e 2002-01-16 Duncan Mak <[email protected]>
* ResourceManager.cs: After reading the tutorial from the SDK,
      finished all the ResourceManager constructors and removed those
      MonoTODO tags. 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.

svn path=/trunk/mcs/; revision=2005
2002-01-16 19:18:45 +00:00
Miguel de Icaza a0d9e27a2b 2002-01-16 Miguel de Icaza <[email protected]>
* driver.cs: Allow negative numbers as an error code to flag.

	* cs-parser.jay: Handle 1551.

	* namespace.cs: Add 1537 checking (repeated using alias namespaces).

2002-01-15  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Report 1518 (type declaration can only contain
	class, struct, interface, enum or delegate)

	(switch_label): Report 1523 (keywords `case' or `default' must
	preced code)

	(opt_switch_sections): Report 1522 (empty switch)

	* driver.cs: Report 1515 (response file specified multiple times)
	Report 1516 (Source file specified multiple times).

	* expression.cs (Argument.Resolve): Signal 1510

	(BaseAccess.Resolve, BaseIndexer.Resolve): Signal 1511 (base
	access not allowed in static code)

svn path=/trunk/mcs/; revision=2004
2002-01-16 18:53:16 +00:00
Miguel de Icaza 41b32e7b76 add new bug
svn path=/trunk/mcs/; revision=2003
2002-01-16 18:52:44 +00:00
Gaurav Vaish 06a058d20f 2002-01-17 Gaurav Vaish <[email protected]>
* Button.cs  -- Bug fix for CommandName { set; } , thanks to Alex.

svn path=/trunk/mcs/; revision=2002
2002-01-16 17:13:32 +00:00
Nick Drochak cc365d3b8e Build new tool for linux target too.
svn path=/trunk/mcs/; revision=2001
2002-01-16 12:18:14 +00:00
Nick Drochak f09fa522dd 2002-01-17 Nick Drochak <[email protected]>
* IFaceDisco.cs, XMLUtil.cs: Added new files for interface discovery tool.
	* makefile: added target for IFaceDisco.exe and added to clean target for same

svn path=/trunk/mcs/; revision=2000
2002-01-16 12:16:07 +00:00
Dietmar Maurer 9449dcb53e 2002-01-16 Dietmar Maurer <[email protected]>
* jit.c (main): install the trampoline before we start to create
	objects.

	* x86.brg: impl. CLT_UN, CGT_UN

	* emit-x86.c (leave_method): added check for null object
	(enter_method): consider byref arguments

svn path=/trunk/mono/; revision=1999
2002-01-16 09:05:25 +00:00
Ravi Pratap M 0ff55eb2fe 2002-01-11 Ravi Pratap <[email protected]>
* typemanager.cs (IsPointerType): Utility method which we are going
	to need a lot.

	* ecore.cs (ImplicitReferenceConversion): A pointer type cannot be cast to
	the object type, so we take care of that.

	* expression.cs (FullMethodDesc): Also include the return type in descriptions.

	* support.cs (ParameterDesc): Fix minor bug which was causing params tags to be
	added to non-params parameters :-)

	* typemanager.cs (CSharpName): Include 'void' type too.

	(void_ptr_type): Include in the set of core types.

	* ecore.cs (ConvertImplicit): Make use of ConvertImplicitStandard instead of
	duplicating code.

	(ConvertImplicitStandard): Handle standard implicit pointer conversions when we have
	an unsafe context.

	* cs-parser.jay (local_variable_pointer_type): Add support for 'void *' as I had
	completely forgotten about it.

2002-01-10  Ravi Pratap  <[email protected]>

	* cs-parser.jay (pointer_type): Add. This begins our implementation
	of parsing rules for unsafe code.

	(unsafe_statement): Implement.

	(embedded_statement): Modify to include the above.

	* statement.cs (Unsafe): Implement new class for unsafe blocks.

	* codegen.cs (EmitContext.InUnsafe): Add. This determines
	if the current context is an unsafe one.

	* cs-parser.jay (local_variable_pointer_type): Since local variable types
	are handled differently, we need separate rules for them.

	(local_variable_declaration): Update to use local_variable_pointer_type
	to allow variable declarations of unmanaged pointer types.

	* expression.cs (Unary.ResolveOperator): Ensure that the '&' operator is used only
	in unsafe contexts.

	* ../errors/cs0214.cs : Add.

svn path=/trunk/mcs/; revision=1998
2002-01-16 02:30:46 +00:00
Miguel de Icaza 9bc926dcd1 Add more errors that we handle now
svn path=/trunk/mcs/; revision=1997
2002-01-16 01:38:39 +00:00
Nick Drochak 20bce169fa 2002-01-16 Nick Drochak <[email protected]>
* makefile: remove 'response' file when cleaning.

svn path=/trunk/mcs/; revision=1996
2002-01-16 00:43:43 +00:00
Duncan Mak 7d9531aef0 2002-01-15 Duncan Mak <[email protected]>
* CultureInfo.cs: Convert it to unix text.

svn path=/trunk/mcs/; revision=1995
2002-01-15 18:35:28 +00:00
Miguel de Icaza 72e915a7c6 2002-01-15 Miguel de Icaza <[email protected]>
* cs-parser.jay: Report 1524.

2002-01-14  Miguel de Icaza  <[email protected]>

	* typemanager.cs (RegisterMethod): drop checking if we have

svn path=/trunk/mcs/; revision=1994
2002-01-15 18:06:08 +00:00
Paolo Molaro d3a1e73320 Tue Jan 15 22:47:57 CET 2002 Paolo Molaro <[email protected]>
* metaparse.h: removed unused file.
	* reflection.c, reflection.h: added stream_data_align () function
	to align data in streams and keep stream aligned. Add support for
	exception support in method headers.

svn path=/trunk/mono/; revision=1993
2002-01-15 18:03:25 +00:00
Paolo Molaro 156be4ff5d Tue Jan 15 22:46:21 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: implement some of the exception support methods.

svn path=/trunk/mcs/; revision=1992
2002-01-15 18:03:21 +00:00
Paolo Molaro 2c5514e8ac Tue Jan 15 19:42:50 CET 2002 Paolo Molaro <[email protected]>
* unicode.c: make iconv_convert () return the number of bytess written
	in the output buffer.

svn path=/trunk/mono/; revision=1991
2002-01-15 14:54:08 +00:00
Dick Porter 5f6d81eebc 2002-01-15 Dick Porter <[email protected]>
* WaitHandle.cs:
	* Thread.cs: Make the runtime's idea of infinite timeouts coincide
	with the class library's

svn path=/trunk/mcs/; revision=1990
2002-01-15 13:28:41 +00:00
Dick Porter c84db0d097 2002-01-15 Dick Porter <[email protected]>
* threads.c: Make the runtime's idea of infinite timeouts coincide
	with the class library's

	Fix a particularly egregious bug in mono_thread_cleanup(). That
	code was so utterly bogus it must have been written on a Monday.

svn path=/trunk/mono/; revision=1989
2002-01-15 13:26:57 +00:00
Nick Drochak a32084cdb7 2002-01-15 Nick Drochak <[email protected]>
* ResolveEventArgs.cs: class should derive from EventArgs.

svn path=/trunk/mcs/; revision=1988
2002-01-15 11:17:54 +00:00
John Barnette ae1b7a251a Added initial build file, which is most likely broken.
svn path=/trunk/mcs/; revision=1987
2002-01-15 00:15:55 +00:00
John Barnette 75aa2eec1c Broke status XML generation into a functional class and a driver.
svn path=/trunk/mcs/; revision=1986
2002-01-15 00:04:19 +00:00
John Barnette d13c6d016f Useless enum removed.
svn path=/trunk/mcs/; revision=1985
2002-01-15 00:00:55 +00:00
John Barnette 5ee8e7e523 Removed useless enum.
svn path=/trunk/mcs/; revision=1984
2002-01-14 23:59:55 +00:00
Miguel de Icaza 8109c1d0f2 Back out my change
svn path=/trunk/mcs/; revision=1983
2002-01-14 18:57:56 +00:00
Miguel de Icaza 4b599d3731 Flush csproj
svn path=/trunk/mcs/; revision=1982
2002-01-14 14:45:38 +00:00
Miguel de Icaza ae44d6d211 fix build
svn path=/trunk/mcs/; revision=1981
2002-01-14 14:40:29 +00:00
Miguel de Icaza e359929108 2002-01-14 Miguel de Icaza <[email protected]>
* String.cs (System): Use DefaultMemberName for the String class.

svn path=/trunk/mcs/; revision=1980
2002-01-14 13:58:48 +00:00
Paolo Molaro 2d47deb984 Make each test return a different error code.
svn path=/trunk/mono/; revision=1979
2002-01-14 12:24:34 +00:00
Paolo Molaro 9f904c061c Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <[email protected]>
* dump.c: more info in method table dump.


Mon Jan 14 17:01:03 CET 2002 Paolo Molaro <[email protected]>

	* reflection.h: add subtypes field to TypeBuilder.
	* reflection.c: encode constants for literal fields.
	Handle subtypes. Fix user string token (and add a zero byte)
	at the end.

svn path=/trunk/mono/; revision=1978
2002-01-14 12:19:11 +00:00
Paolo Molaro 7da3a4450f Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <[email protected]>
* String.cs: use IndexerName in index char accessor.


Mon Jan 14 17:07:32 CET 2002 Paolo Molaro <[email protected]>

	* ModulerBuilder.cs: search also for subtypes in GetTypes().
	* TypeBuilder.cs: bugfix in FullName. Implemented DefineNestedType().

svn path=/trunk/mcs/; revision=1977
2002-01-14 12:19:11 +00:00
Dietmar Maurer 1fa5b3d109 * x86.brg (EMIT_COND_EXCEPTION): added signed flag, impl. more _OVF opcodes
svn path=/trunk/mono/; revision=1976
2002-01-14 11:33:27 +00:00
Dietmar Maurer 35e4412f79 * mono/tests/exception6.cs: added tests for SUB_OVF, SUB_OVF_UN
* x86.brg: impl. ADD_OVF_UN, SUB_OVF, SUB_OVF_UN

svn path=/trunk/mono/; revision=1975
2002-01-14 10:06:05 +00:00
Dietmar Maurer 96ea6977a5 added exception6.cs
svn path=/trunk/mono/; revision=1974
2002-01-14 09:11:45 +00:00
Dietmar Maurer 21be9b7c10 2002-01-14 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in CONV_OVF_I1_UN
	impl. ADD_OVF, MUL_OVF

svn path=/trunk/mono/; revision=1973
2002-01-14 09:10:09 +00:00
Nick Drochak 4bc50075e7 2002-01-14 Nick Drochak <[email protected]>
* class.xml: Added classes I implemented.

svn path=/trunk/mono/; revision=1972
2002-01-14 08:32:43 +00:00
Nick Drochak 9767943a21 2002-01-14 Nick Drochak <[email protected]>
* FileIOPermission.cs: New file.  Implemented.

svn path=/trunk/mcs/; revision=1971
2002-01-14 08:29:09 +00:00
Nick Drochak 39abcace16 2002-01-14 Nick Drochak <[email protected]>
* FileIOPermissionTest.cs: New File.
	* AllTests.cs: New File.

svn path=/trunk/mcs/; revision=1970
2002-01-14 08:27:34 +00:00
Nick Drochak ebdf17add8 2002-01-14 Nick Drochak <[email protected]>
* AllTests.cs: Add System.Security.Permissions.AllTests.Suite

svn path=/trunk/mcs/; revision=1969
2002-01-14 08:26:19 +00:00
Paolo Molaro e173aacf0f Mon Jan 14 11:50:16 CET 2002 Paolo Molaro <[email protected]>
* x86/x86-codegen.c: added overflow condition code and some aliases
	for the other ccs.

svn path=/trunk/mono/; revision=1968
2002-01-14 07:00:24 +00:00
Dietmar Maurer a14e48d308 2002-01-14 Dietmar Maurer <[email protected]>
* class.c (mono_class_init): bug fix: assign slot numbers for
	abstract methods.

svn path=/trunk/mono/; revision=1967
2002-01-14 05:48:45 +00:00
Ravi Pratap M 27af357425 Revert last patch
svn path=/trunk/mcs/; revision=1966
2002-01-13 01:22:48 +00:00
Ravi Pratap M 9302614718 2002-01-11 Ravi Pratap <[email protected]>
* typemanager.cs (IsPointerType): Utility method which we are going
	to need a lot.

	* ecore.cs (ImplicitReferenceConversion): A pointer type cannot be cast to
	the object type, so we take care of that.

	* expression.cs (FullMethodDesc): Also include the return type in descriptions.

	* support.cs (ParameterDesc): Fix minor bug which was causing params tags to be
	added to non-params parameters :-)

	* typemanager.cs (CSharpName): Include 'void' type too.

	(void_ptr_type): Include in the set of core types.

	* ecore.cs (ConvertImplicit): Make use of ConvertImplicitStandard instead of
	duplicating code.

	(ConvertImplicitStandard): Handle standard implicit pointer conversions when we have
	an unsafe context.

	* cs-parser.jay (local_variable_pointer_type): Add support for 'void *' as I had
	completely forgotten about it.

2002-01-10  Ravi Pratap  <[email protected]>

	* cs-parser.jay (pointer_type): Add. This begins our implementation
	of parsing rules for unsafe code.

	(unsafe_statement): Implement.

	(embedded_statement): Modify to include the above.

	* statement.cs (Unsafe): Implement new class for unsafe blocks.

	* codegen.cs (EmitContext.InUnsafe): Add. This determines
	if the current context is an unsafe one.

	* cs-parser.jay (local_variable_pointer_type): Since local variable types
	are handled differently, we need separate rules for them.

	(local_variable_declaration): Update to use local_variable_pointer_type
	to allow variable declarations of unmanaged pointer types.

	* expression.cs (Unary.ResolveOperator): Ensure that the '&' operator is used only
	in unsafe contexts.

	* ../errors/cs0214.cs : Add.

svn path=/trunk/mcs/; revision=1965
2002-01-13 01:19:10 +00:00
Ravi Pratap M eaca86c141 2002-01-13 Ravi Pratap <[email protected]>
* test-58.cs : Since it was a duplicate, replace with unsafe
	code testing.

svn path=/trunk/mcs/; revision=1964
2002-01-13 01:16:51 +00:00
Miguel de Icaza 112d17c4f6 Add error
svn path=/trunk/mcs/; revision=1963
2002-01-13 00:35:59 +00:00
Miguel de Icaza fda294c428 2002-01-12 Miguel de Icaza <[email protected]>
* class.cs (Method.EmitDestructor): Implement calling our base
	destructor.

	* statement.cs (Try.Emit): Fix to reset the InFinally to the old
	value of InFinally.

	* codegen.cs (EmitContext.EmitTopBlock): Destructors will call
	this routine and will wrap the call in a try/catch block.  Deal
	with the case.

svn path=/trunk/mcs/; revision=1962
2002-01-12 14:40:31 +00:00
Paolo Molaro 767fe45d04 Renamed TESTS var so make distcheck works with the new automake.
svn path=/trunk/mono/; revision=1961
2002-01-12 11:05:29 +00:00
Miguel de Icaza a78026dbf4 2002-01-11 Miguel de Icaza <[email protected]>
(FieldExpr): Added partial support for volatile fields.  This does
	not work for volatile fields exposed from assemblies, as I can not
	figure out how to extract the modreq from it.

	Updated all the source files to use this.

svn path=/trunk/mcs/; revision=1959
2002-01-11 18:57:07 +00:00
Paolo Molaro a6a584eec5 Fri Jan 11 20:06:22 CET 2002 Paolo Molaro <[email protected]>
* jit.c: implement stloc, ldloc, ldloca.

svn path=/trunk/mono/; revision=1958
2002-01-11 15:16:31 +00:00
Paolo Molaro 4f5ea3d7f9 Fri Jan 11 18:54:42 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: don't try to output a code RVA for abstract methods.
	Small fixes for method header format. Output parameter info to the
	ParamDef table. Save method overriding info to MethodImpl table.
	Fix property support. Allow typedef.extends to be a type in the
	building assembly.
	* verify.c: fix off-by-one error.

svn path=/trunk/mono/; revision=1957
2002-01-11 14:13:13 +00:00
Paolo Molaro d6b7c8747b Fri Jan 11 19:00:29 CET 2002 Paolo Molaro <[email protected]>
* MethodBuilder.cs, ConstructorBuilder.cs: save parameter info.

svn path=/trunk/mcs/; revision=1956
2002-01-11 14:12:54 +00:00
Dietmar Maurer da145dd9ae 2002-01-11 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): fixed calculation of last_instr

	* x86.brg
	(RET, RET_VOID, RET_OBJ, ...): fixed jump to epilog

svn path=/trunk/mono/; revision=1955
2002-01-11 10:19:48 +00:00
Dietmar Maurer 566002b03d 2002-01-11 Dietmar Maurer <[email protected]>
* x86.brg (LDLEN): emit null_reference exception
	(BLE_UN): bug fix.

svn path=/trunk/mono/; revision=1954
2002-01-11 07:22:53 +00:00
Ravi Pratap M c29e3c62c6 Add.
svn path=/trunk/mcs/; revision=1953
2002-01-11 02:37:24 +00:00
Miguel de Icaza 8d8a05805d 2002-01-11 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.MemberLookup): instead of taking a
	parameter `same_type' that was used to tell whether we could
	access private members we compute our containing type from the
	EmitContext.

	Updated all the source files to use this.

	* codegen.cs (EmitContext): Compute ContainerType ahead of time,
	because it is referenced by MemberLookup very often.

svn path=/trunk/mcs/; revision=1952
2002-01-11 02:29:59 +00:00
Paolo Molaro 51065915f8 Thu Jan 10 21:07:54 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: handle type tokens (used for box opcode).


Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <[email protected]>

	* MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
	* String.c: eliminate 64k+ method calls in search.
	* Type.cs: handle byref and array types in ToString ().

svn path=/trunk/mcs/; revision=1951
2002-01-10 16:17:53 +00:00
Paolo Molaro 0670f6b573 Thu Jan 10 19:36:27 CET 2002 Paolo Molaro <[email protected]>
* class.c: fix mono_class_from_mono_type () for szarray types.
	Remove unused cache check in mono_class_from_type_spec().
	* icall.c: *type_from_name () functions handle simple arrays and byref.
	* reflection.c: handle byref and szarray types. Handle methods without
	body (gets P/Invoke compilation working). Handle types and fields in
	get_token ().
	* reflection.h: add rank to MonoTypeInfo.


Thu Jan 10 20:59:59 CET 2002 Paolo Molaro <[email protected]>

	* interp.c, interp.h: add a flag to mono_create_trampoline ()
	to handle runtime methods.


Thu Jan 10 21:01:08 CET 2002 Paolo Molaro <[email protected]>

	* x86/tramp.c: mono_create_trampoline (): the runtime argument is
	needed to handle correctly delegates, the previous change in handling
	the string return type broke them.

svn path=/trunk/mono/; revision=1950
2002-01-10 16:13:26 +00:00
Matt Kimball 5a31aac95d Thu Jan 10 12:06:46 MST 2002 Matt Kimball <[email protected]>
* BufferedStream.cs: Initial implemenation.  The synchronous
	methods for both reading and writing are implemented.  I'll do the
	asynchronous methods in a bit.

svn path=/trunk/mcs/; revision=1949
2002-01-10 15:16:17 +00:00
Aaron Weber 6ccc997c53 2002-01-10 Aaron Weber <[email protected]>
* doc/rationale: corrected linkrot: new link to bonobo whitepaper
	at developer.ximian.com

svn path=/trunk/mono/; revision=1947
2002-01-10 14:02:40 +00:00
Gaurav Vaish f3ceded673 2002-01-10 Gaurav Vaish <[email protected]>
* HyperLinkControlBuilder.cs, Table.cs, TableCell.cs, TableCellControlBuilder.cs, TableRowCollection.cs, TableCellCollection.cs --- Completed all except one. Don't recall which one. See TODO for details.

* HyperLinkColumn.cs, ButtonColumn.cs -- *Columns and *ControlBuilder are proving to be rather simple classes to be implemented. :))

* TODO  -- Updated

* ChangeLog -- Oops! Not here.. Will update it :(

svn path=/trunk/mcs/; revision=1946
2002-01-10 13:41:08 +00:00
Dick Porter e32e8c40c8 Fix memory leak
svn path=/trunk/mono/; revision=1945
2002-01-10 11:03:10 +00:00
Dick Porter b77a491b90 2002-01-10 Dick Porter <[email protected]>
* threads.c: Implemented WaitAll(), WaitAny() and WaitOne()
	internal calls

svn path=/trunk/mono/; revision=1944
2002-01-10 11:00:19 +00:00
Dick Porter a4f1ad32eb 2002-01-10 Dick Porter <[email protected]>
* WaitHandle.cs: Added checks for too many handles and null
	handles in WaitAll() and WaitAny

svn path=/trunk/mcs/; revision=1943
2002-01-10 10:59:44 +00:00
Dietmar Maurer ef68d5241a *** empty log message ***
svn path=/trunk/mono/; revision=1942
2002-01-10 09:21:21 +00:00
Dietmar Maurer 142dfbad25 2002-01-04 Dietmar Maurer <[email protected]>
* x86.brg: bug fix in CASTCLASS

svn path=/trunk/mono/; revision=1941
2002-01-10 09:20:09 +00:00
Dietmar Maurer a4d07c90b0 small bug fix
svn path=/trunk/mcs/; revision=1940
2002-01-10 08:51:48 +00:00
Ravi Pratap M ee3ef8b3ae 2002-01-09 Ravi Pratap <[email protected]>
* typemanager.cs (IndexerPropertyName): If we have a TypeBuilder, use
	TypeBuilder.GetCustomAttributes to retrieve what we need.

	Get rid of redundant default_member_attr_type as this is the same as
	default_member_type which already exists.

	* interface.cs, attribute.cs : Update accordingly.

svn path=/trunk/mcs/; revision=1939
2002-01-10 03:27:51 +00:00
Miguel de Icaza 8733940a45 Update errors
svn path=/trunk/mcs/; revision=1938
2002-01-09 21:50:06 +00:00
Miguel de Icaza 89148686e3 Update
svn path=/trunk/mono/; revision=1937
2002-01-09 21:46:22 +00:00
Duncan Mak 9a8f8a4c5b Added MonoTODO to InternalGetResourceSet(). I forgot to save before my last
commit.

svn path=/trunk/mcs/; revision=1936
2002-01-09 20:18:10 +00:00
Duncan Mak 7476295ab7 * 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().

svn path=/trunk/mcs/; revision=1935
2002-01-09 20:16:23 +00:00
Duncan Mak 4bee68895b 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 Barn, so this shouldn't
	      break the build.

svn path=/trunk/mcs/; revision=1934
2002-01-09 20:02:45 +00:00
Matt Kimball 7ab49e1517 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <[email protected]>
* BinaryWriter.cs: Initial implementation.  And it's all there.

	* BinaryReader.cs: The constructor now uses the passed in encoding,
	not UTF8 always.

svn path=/trunk/mcs/; revision=1933
2002-01-09 19:13:42 +00:00
Duco Fijma a7957766d3 Created Guid.cs
svn path=/trunk/mcs/; revision=1932
2002-01-09 19:02:59 +00:00
Matt Kimball 863ff578c7 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <[email protected]>
* BinaryReader.cs: Initial implementation.  I think it's complete.

svn path=/trunk/mcs/; revision=1931
2002-01-09 17:03:08 +00:00
Paolo Molaro 6f85f7c68d Wed Jan 9 19:37:55 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: emit float and doubles.
	* ModuleBuilder.cs: off-by-one error fix and GetType()
	implementations.
	* TypeBuilder.cs: AttributesImpl added.
	* UnmanagedMarshal.cs: stubbed out class.


Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <[email protected]>

	* MonoMethod.cs: ToString () implementation.


Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <[email protected]>

	* MulticastDelegate.cs: add == and != operator stubs.
	* String.cs: check for null in == operator.
	* Type.cs: use a virtual method to get TypeAttributes.

svn path=/trunk/mcs/; revision=1930
2002-01-09 14:49:44 +00:00
Paolo Molaro d669fb632f Wed Jan 9 19:27:13 CET 2002 Paolo Molaro <[email protected]>
* icall.c: initialize class in type_from_handle ().
	Loop also in parent classes for get_method ().
	* reflection.c: properly encode class and valuetype types.
	Start on encoding TypeBuilder types. Handle fieldrefs.
	Use correct length when registering a user string.
	Handle ConstructorBuilder and MonoMethod in get_token ().
	Make mono_type_get_object () aware of cached types.
	* object.c: back out change to mono_string_new ().

svn path=/trunk/mono/; revision=1929
2002-01-09 14:41:59 +00:00
John Barnette f24324368d Initial import.
svn path=/trunk/mcs/; revision=1928
2002-01-09 08:36:37 +00:00
John Barnette 2015497b39 Minor error message change.
svn path=/trunk/mcs/; revision=1927
2002-01-09 08:34:46 +00:00
Matt Kimball 41c1d3689b Tue Jan 8 23:30:19 EST 2002 Matt Kimball <[email protected]>
* String.cs: Fixed several off-by-one errors in LastIndexOf* methods

svn path=/trunk/mcs/; revision=1926
2002-01-09 02:39:30 +00:00
Miguel de Icaza f90b77d835 Remove old fixmes that were fixed
svn path=/trunk/mcs/; revision=1925
2002-01-09 02:27:11 +00:00
Matt Kimball 7a7fcdedff Tue Jan 8 22:47:44 EST 2002 Matt Kimball <[email protected]>
* object.c: mono_string_new should return a NULL when the string
	passed in is NULL -- not try to deference it.

svn path=/trunk/mono/; revision=1924
2002-01-09 01:56:59 +00:00
Matt Kimball 4ec774cf86 Tue Jan 8 22:38:41 MST 2002 Matt Kimball <[email protected]>
* x86/tramp.c: handle strings returned from functions in external
	libraries by converting to a Mono string object after the pinvoke'd
	function returns

svn path=/trunk/mono/; revision=1923
2002-01-09 01:49:12 +00:00
Miguel de Icaza 45ca1c1baf Flush
svn path=/trunk/mcs/; revision=1922
2002-01-08 22:12:51 +00:00
Miguel de Icaza 0977f89da9 2002-01-08 Miguel de Icaza <[email protected]>
* typemanager.cs: Enable IndexerPropertyName again.  It does not
	work for TYpeBuilders though.  Ravi, can you please fix this?

	* cs-tokenizer.cs: Accept _ as a name in pp-expressions.

svn path=/trunk/mcs/; revision=1921
2002-01-08 21:54:24 +00:00
Miguel de Icaza bdd4bdabd5 2002-01-08 Miguel de Icaza <[email protected]>
* expression.cs (Argument.Emit): Handle the case of ref objects
	being passed to ref functions;

	(ParameterReference.EmitLoad): Loads the content of the pointer
	without dereferencing.

2002-01-07  Miguel de Icaza  <[email protected]>

	* cs-tokenizer.cs: Implemented the pre-processing expressions.

This also includes Matt Kimball's patch for LookupType.

svn path=/trunk/mcs/; revision=1918
2002-01-08 19:52:32 +00:00
Miguel de Icaza fc0208a072 Add BitConverter from Matt Kimball
svn path=/trunk/mcs/; revision=1917
2002-01-08 16:07:03 +00:00
Miguel de Icaza 233b4847ec Revert patch
svn path=/trunk/mcs/; revision=1916
2002-01-08 15:48:29 +00:00
John Barnette ac0d73d5fe ADD: Initial import for some of the utility classes shared by all the
documentation generators.

svn path=/trunk/mcs/; revision=1915
2002-01-08 15:28:01 +00:00
John Barnette 3a27270ea5 Already obsoleted, and should have never been added to CVS in the first
place.  Mea culpa.

svn path=/trunk/mono/; revision=1914
2002-01-08 15:19:25 +00:00
Miguel de Icaza 4014485491 Updated email address
svn path=/trunk/mono/; revision=1913
2002-01-08 15:15:40 +00:00
John Barnette dd0e5a554a Removed the todo utility, as it is being obsoleted by tools in ../docutils
svn path=/trunk/mcs/; revision=1912
2002-01-08 14:57:18 +00:00
Ravi Pratap M 0548f4d106 2002-01-08 Ravi Pratap <[email protected]>
* class.cs (Indexer.DefineMethod): Incorporate the interface
	type in the name of the method if we are doing explicit interface
	implementation.

	* expression.cs (ConversionExists): Remove as it is completely obsolete.

	(BetterConversion): Fix extremely trivial bug where we were referring to
	ConversionExists instead of StandardConversionExists ! Hooray, things are fine
	again !

	* ../errors/bug16.cs : Add although we have fixed it.

svn path=/trunk/mcs/; revision=1911
2002-01-08 14:08:57 +00:00
Ravi Pratap M 80b3679465 Add although we have just fixed it :-)
svn path=/trunk/mcs/; revision=1910
2002-01-08 13:15:33 +00:00
Nick Drochak cc4284b6cf 2002-01-08 Nick Drochak <[email protected]>
* CodeAccessSecurityAttribute.cs, SecurityAttribute.cs,
	SecurityPermissionAttribute.cs: New Files

	* SecurityPermissionFlag.cs: Add missing enum values

svn path=/trunk/mcs/; revision=1909
2002-01-08 11:33:32 +00:00
Nick Drochak 597e9c93ab 2002-01-09 Nick Drochak <[email protected]>
* corlib.build: Exclude Security Attribute classes that need mcs
	magic to get them to compile.

svn path=/trunk/mcs/; revision=1908
2002-01-08 11:31:24 +00:00
Nick Drochak 3cc1ef8741 2002-01-09 Nick Drochak <[email protected]>
* Environment.cs: Comment out Security attribute and put a MonoTODO
	there as a reminder.  We need mcs magic to handle security attributes in
	corlib.

svn path=/trunk/mcs/; revision=1907
2002-01-08 11:28:14 +00:00
Miguel de Icaza bd38f645f0 Compilation Patch from Matt Kimball
svn path=/trunk/mcs/; revision=1906
2002-01-08 01:49:35 +00:00
Miguel de Icaza cb5a67cf66 Add new tests
svn path=/trunk/mcs/; revision=1905
2002-01-08 01:43:56 +00:00
Miguel de Icaza be53236264 2002-01-07 Miguel de Icaza <[email protected]>
* expression.cs (BaseIndexer): Begin implementation.

	* class.cs (TypeContainer.IsInterfaceMethod): Bug fix.

	* cs-parser.jay (indexer_declarator): Use qualified_identifier
	production directly to remove a shift/reduce, and implement
	explicit interface implementation.

	* cs-tokenizer.cs: Fix tokenizer, it was consuming one extra char
	after a floating point suffix.

	* expression.cs (DoNumericPromotions): Improved the conversion for
	uint/uint.  If we have a constant, we avoid doing a typecast to a
	larger type.

	* class.cs (Indexer): Implement explicit interface implementation
	for indexers.

svn path=/trunk/mcs/; revision=1903
2002-01-07 22:47:03 +00:00
Duco Fijma e69cd3906c Added some MonoTODO attributes
svn path=/trunk/mcs/; revision=1902
2002-01-07 18:28:58 +00:00
Duco Fijma 894a74d809 Created INormalizeForIsolatedStorage
svn path=/trunk/mcs/; revision=1901
2002-01-07 17:59:34 +00:00
Duco Fijma 2400cea85f Finalized SymAddressKind
svn path=/trunk/mcs/; revision=1900
2002-01-07 17:57:00 +00:00
Duco Fijma 7eed5797fe Created IAppDomainSetup
svn path=/trunk/mcs/; revision=1899
2002-01-07 17:54:06 +00:00
Gaurav Vaish e873b8c05f 2002-01-07 Gaurav Vaish <[email protected]>
* Button.cs, ButtonColumn.cs, CheckBoxList.cs   -- Completed. Uh!

* HyperLinkColumn.cs -- Started off. But feeling sleepy. Will do it
   tomorrow. ;-)

* TODO, ChangeLog  -- Properly Updated.

svn path=/trunk/mcs/; revision=1898
2002-01-07 12:51:56 +00:00
Dick Porter 218dd5c9d8 Fix MonoTODO attribute name
svn path=/trunk/mcs/; revision=1897
2002-01-07 11:06:41 +00:00
Gaurav Vaish d4dc02b037 2002-01-07 Gaurav Vaish <[email protected]>
* ChangeLog  -- Updated for information about TODO decoration

svn path=/trunk/mcs/; revision=1896
2002-01-07 09:44:55 +00:00
Gaurav Vaish c7e24c29b7 2002-01-07 Gaurav Vaish <[email protected]>
* TODOAttribute.cs   -- TODOAttribute Class for System.Web Assembly

svn path=/trunk/mcs/; revision=1895
2002-01-07 09:42:30 +00:00
Gaurav Vaish 34c16913ef 2002-01-07 Gaurav Vaish <[email protected]>
* type-maintainers.xml  -- Hey, hey! My name is "Vaish" not "Vanish".
:))

svn path=/trunk/mono/; revision=1894
2002-01-07 08:11:17 +00:00
John Barnette 485005fd2f Added todo, a tool for generating TODO lists and optional missing types
for an assembly.  Also minor makefile cleanup.

svn path=/trunk/mcs/; revision=1893
2002-01-07 07:29:18 +00:00
John Barnette a353a40bc8 Remove file added for Miguel.
svn path=/trunk/mcs/; revision=1892
2002-01-07 07:13:41 +00:00
John Barnette 1ca2165fb1 Update.
svn path=/trunk/mono/; revision=1891
2002-01-07 07:11:56 +00:00
John Barnette 4a5c431faa New combined format XML for maintainers and the classes they love.
Will likely obsolete maintainers.xml and class.xml when the TODO and
status generation stuff is done.

svn path=/trunk/mono/; revision=1890
2002-01-07 07:09:42 +00:00
Gaurav Vaish c6f870eb2b 2002-01-07 Gaurav Vaish <[email protected]>
* EnumCheck.cs  -- A very important tool added. Can list the actual
   values of an enumeration. do "EnumCheck.exe --help" for details.

* ChangeLog, makefile  -- updated

svn path=/trunk/mcs/; revision=1889
2002-01-07 04:38:56 +00:00
John Barnette 783b3d1093 Minor spelling, punctuation, and grammar edits.
svn path=/trunk/mcs/; revision=1888
2002-01-07 02:41:45 +00:00
Gaurav Vaish d88fdc72e5 2002-01-07 Gaurav Vaish <[email protected]>
* <All>.cs  -- A lot of decoration. Gosh! saved, not too many..

svn path=/trunk/mcs/; revision=1887
2002-01-07 02:37:35 +00:00
Miguel de Icaza 9ff309e79f Add man page
svn path=/trunk/mcs/; revision=1886
2002-01-07 02:01:27 +00:00
John Barnette b60da18876 Pre-initial ;-) commit for Miguel to look at.
svn path=/trunk/mcs/; revision=1885
2002-01-07 01:38:25 +00:00
Ravi Pratap M 4c4a64200a Add this here too. I am quite sure this is incorrect so somebody
please tell me the right way of referencing the file inside :

mcs/class/corlib/System/TODOAttribute.cs

svn path=/trunk/mcs/; revision=1884
2002-01-07 00:34:40 +00:00
Ravi Pratap M 5be8859a8d Updates for TODOAttribute.cs
svn path=/trunk/mcs/; revision=1883
2002-01-07 00:31:18 +00:00
Duco Fijma 6817af623d Created all System.Diagnostics.SymbolWriter interfaces
svn path=/trunk/mcs/; revision=1881
2002-01-06 19:25:44 +00:00
Duco Fijma cf04fd122a REALLY removed System.Resources from <excludes>
svn path=/trunk/mcs/; revision=1880
2002-01-06 19:24:01 +00:00
David Dawkins ee11d4f1c1 New file (ISurrogateSelector.cs)
svn path=/trunk/mcs/; revision=1879
2002-01-06 19:08:04 +00:00
Nick Drochak a88542478f 2002-01-07 Nick Drochak <[email protected]>
* PrincipalPolicy.cs: made enum public like it should be to get _AppDomain to compile.

svn path=/trunk/mcs/; revision=1878
2002-01-06 18:50:38 +00:00
David Dawkins 3820f7e459 New file (ISerializationSurrogate.cs)
svn path=/trunk/mcs/; revision=1877
2002-01-06 18:48:11 +00:00
Duco Fijma 8257317300 Created _AppDomain.cs
svn path=/trunk/mcs/; revision=1876
2002-01-06 18:30:58 +00:00
David Dawkins a5724e86ed New file (IFormatter.cs)
svn path=/trunk/mcs/; revision=1875
2002-01-06 18:19:52 +00:00
Duco Fijma e1e14b1a5c Removed <excludes> for System.Resources from corlib.build
svn path=/trunk/mcs/; revision=1874
2002-01-06 17:51:20 +00:00
Duco Fijma 31f5fff339 Finalized IResourceReader and IResourceWriter. Made other files compileable
svn path=/trunk/mcs/; revision=1873
2002-01-06 17:49:47 +00:00
Miguel de Icaza 53f1e86636 Update with the link to the approved ECMA specs
svn path=/trunk/mono/; revision=1872
2002-01-06 16:32:07 +00:00
Ravi Pratap M 92cd22d0c3 2002-01-06 Ravi Pratap <[email protected]>
* ChangeLog : Add.

	* Matrix.cs : MonoTODO everywhere.

	* TODOAttribute.cs : Add here too.

svn path=/trunk/mcs/; revision=1870
2002-01-06 11:10:59 +00:00
Ravi Pratap M 1528500419 2002-01-06 Ravi Pratap <[email protected]>
* ChangeLog : Add to this directory.

	* SocketException.cs, TcpClient.cs, TcpListener.cs : MonoTODO
	attribute decoration.

svn path=/trunk/mcs/; revision=1869
2002-01-06 10:58:38 +00:00
Ravi Pratap M 7aec7b985f 2002-01-06 Ravi Pratap <[email protected]>
* Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
	attribute insertion.

svn path=/trunk/mcs/; revision=1868
2002-01-06 10:52:58 +00:00
Ravi Pratap M 87576192c0 2002-01-06 Ravi Pratap <[email protected]>
* Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
	with the MonoTODO attribute.

svn path=/trunk/mcs/; revision=1867
2002-01-06 10:48:33 +00:00
Ravi Pratap M c861ffea80 2002-01-06 Ravi Pratap <[email protected]>
* ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration

	* SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
	NameValueSectionHandler.cs : Ditto.

svn path=/trunk/mcs/; revision=1866
2002-01-06 10:26:35 +00:00
Nick Drochak 0dea891973 2002-01-06 Nick Drochak <[email protected]>
* corcompare.cs: Catch the FileNotFoundException and handle it nicely.

svn path=/trunk/mcs/; revision=1865
2002-01-06 04:54:08 +00:00
Nick Drochak 15c2244730 2002-01-06 Nick Drochak <[email protected]>
* ResolveEventArgsTest.cs: New test.
	* AllTests.cs: Added new test to suite.

svn path=/trunk/mcs/; revision=1864
2002-01-05 23:43:10 +00:00
Nick Drochak dc810d5869 2002-01-06 Nick Drochak <[email protected]>
* ResolveEventArgs.cs: New File, completely implemented! ;)

svn path=/trunk/mcs/; revision=1863
2002-01-05 23:29:35 +00:00
Dick Porter 4f9df5634a Fix the case of the CorCompare file name
svn path=/trunk/mcs/; revision=1862
2002-01-05 14:35:43 +00:00
Ravi Pratap M 80081d895e 2002-01-05 Ravi Pratap <[email protected]>
* CategoryAttribute.cs, Component.cs, ComponentCollection.cs: MonoTODO.

	* Container.cs, MemberDescriptor.cs, PropertyDescriptor.cs : Ditto.

svn path=/trunk/mcs/; revision=1861
2002-01-05 13:38:01 +00:00
Ravi Pratap M d65de221e9 2002-01-05 Ravi Pratap <[email protected]>
* BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!

	* NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.

svn path=/trunk/mcs/; revision=1859
2002-01-05 13:23:03 +00:00
Ravi Pratap M 26122b0661 Add here too. I am not sure if this is really right so somebody
who knows better can please holler :-)

svn path=/trunk/mcs/; revision=1858
2002-01-05 13:20:46 +00:00
Ravi Pratap M 1af668b2fc 2002-01-05 Ravi Pratap <[email protected]>
* CodeGenerator.cs : Mark bits with MonoTODO.

svn path=/trunk/mcs/; revision=1857
2002-01-05 13:07:37 +00:00
Ravi Pratap M 9344adbb44 2002-01-05 Ravi Pratap <[email protected]>
* ChangeLog : Add to this directory.

	* Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.

svn path=/trunk/mcs/; revision=1856
2002-01-05 13:03:48 +00:00
Ravi Pratap M e98d6d047f Trivial makefile fixes
svn path=/trunk/mcs/; revision=1854
2002-01-05 12:43:09 +00:00
Paolo Molaro 0ba54e9fa1 Sat Jan 5 16:08:23 CET 2002 Paolo Molaro <[email protected]>
* class.cs: make the default instance constructor public and hidebysig.

svn path=/trunk/mcs/; revision=1853
2002-01-05 11:18:57 +00:00
Paolo Molaro 2c7d6526e5 Sat Jan 5 15:48:04 CET 2002 Paolo Molaro <[email protected]>
* icall.c: hack to make IsSubType work for TypeBuilders.
	* reflection.c: emit constructors before methods.
	Retrieve param names in mono_param_get_objects().


Sat Jan 5 15:45:14 CET 2002 Paolo Molaro <[email protected]>

	* interp.c: allow classname:method name in --debug argument.
	Fix box opcode for valuetypes. Fix a few opcode to take a 16 bit
	index instead of 32 (stloc, ldloc, starg, etc.).


Sat Jan 5 15:51:06 CET 2002 Paolo Molaro <[email protected]>

	* x86/tramp.c: handle short integer return types.

svn path=/trunk/mono/; revision=1852
2002-01-05 11:15:42 +00:00
Paolo Molaro a88a62cce1 Sat Jan 5 15:56:54 CET 2002 Paolo Molaro <[email protected]>
* Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.


Sat Jan 5 15:59:05 CET 2002 Paolo Molaro <[email protected]>

	* ILGenerator.cs: fix emission of two-bytes opcodes.
	Missing slot for locals array. Throw exceptions on unimplemented
	methods.
	* OpCode.cs: add a comment: the Value property is useless.
	* OpCodes.cs: fix name of tail opcode (Tail -> Tailcall).


Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <[email protected]>

	* Enum.cs: dummy ToString impl.
	* String.cs: dummy format implementations to get compiler errors
	somewhat working.
	* Type.cs: implemented filter delegates. FindMembers runs the filter, now.

svn path=/trunk/mcs/; revision=1851
2002-01-05 11:12:22 +00:00
Ravi Pratap M 0f04441d63 002-01-05 Ravi Pratap <[email protected]>
* AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
	decoration.

	* Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
	Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.

svn path=/trunk/mcs/; revision=1850
2002-01-05 06:26:59 +00:00
Ravi Pratap M 9cffbe82ab 2002-01-05 Ravi Pratap <[email protected]>
* ASCIIEncoding.cs, Encoding.cs, UTF7Encoding.cs,
	UnicodeEncoding.cs: MonoTODO attribute marking.

	* StringBuilder.cs : Ditto.

svn path=/trunk/mcs/; revision=1849
2002-01-05 06:11:42 +00:00
Ravi Pratap M 76218d8771 2002-01-05 Ravi Pratap <[email protected]>
* CryptoAPITransform.cs, DESCryptoProvider.cs : MonoTODO attribute
	decoration.

	* HashAlgorithm.cs, MD5.cs, SHA1.cs, SHA256.cs, SHA384.cs : Ditto.

	* SHA512.cs, SymmetricAlgorithm.cs, ToBase64Transform.cs,
	AsymmetricAlgorithm.cs, CryptoStream.cs, DSA.cs, DSASignatureDeformatter.cs,
	DSASignatureFormatter.cs, SignatureDescription.cs : Ditto.

svn path=/trunk/mcs/; revision=1848
2002-01-05 06:10:24 +00:00
Ravi Pratap M ae13c94258 2002-01-05 Ravi Pratap <[email protected]>
* SecurityElement.cs : Insert MonoTODO attribute.

svn path=/trunk/mcs/; revision=1847
2002-01-05 06:08:57 +00:00
Ravi Pratap M e5c8c0b4dc 2002-05-01 Ravi Pratap <[email protected]>
* SerializationInfo.cs : Insert MonoTODO attribute.

svn path=/trunk/mcs/; revision=1846
2002-01-05 05:22:24 +00:00
Ravi Pratap M df59c46b8b 2002-01-05 Ravi Pratap <[email protected]>
* ObjRef.cs : Strew the MonoTODO attribute.

svn path=/trunk/mcs/; revision=1845
2002-01-05 04:43:46 +00:00
Ravi Pratap M 53d5988bbb 2002-01-05 Ravi Pratap <[email protected]>
* OutAttribute.cs : Decorate with MonoTODO.

svn path=/trunk/mcs/; revision=1844
2002-01-05 04:42:37 +00:00
Ravi Pratap M f038570894 2002-01-05 Ravi Pratap <[email protected]>
* ResourceManager.cs : MonoTODO attribute decoration.

svn path=/trunk/mcs/; revision=1843
2002-01-05 04:27:25 +00:00
Ravi Pratap M ff1e232462 2002-01-05 Ravi Pratap <[email protected]>
* ConstructorBuilder.cs : Use the MonoTODO attribute.

	* ILGenerator.cs, Label.cs, MethodBuilder.cs, ModuleBuilder.cs,
	ParameterBuilder.cs, TypeBuilder.cs : Ditto.

svn path=/trunk/mcs/; revision=1842
2002-01-05 04:23:44 +00:00
Ravi Pratap M 3d0d29caf8 2002-01-05 Ravi Pratap <[email protected]>
* TODOAttribute.cs : Augment some more; provide two constructors
	with support for a comment too.

svn path=/trunk/mcs/; revision=1841
2002-01-05 04:23:00 +00:00
Nick Drochak 877d09b4e9 2002-01-05 Nick Drochak <[email protected]>
* corlib.build: Have the clean target remove any .pdb files that
	might be around if we compiled with debug on.

svn path=/trunk/mcs/; revision=1840
2002-01-04 21:10:15 +00:00
Nick Drochak 36ec79e310 2002-01-05 Nick Drochak <[email protected]>
* .cvsignore: ignore the debug files *.pdb

svn path=/trunk/mcs/; revision=1839
2002-01-04 19:53:06 +00:00
Nick Drochak 09c5d15645 2002-01-05 Nick Drochak <[email protected]>
* Uncommented those MonoTODO's now that Ravi's got
	the class in there

svn path=/trunk/mcs/; revision=1838
2002-01-04 19:48:22 +00:00
Duco Fijma 6a0cde529b Created
svn path=/trunk/mcs/; revision=1837
2002-01-04 19:22:52 +00:00
Duco Fijma 645d3281a8 Added TimeSpanTest
svn path=/trunk/mcs/; revision=1836
2002-01-04 19:22:29 +00:00
Miguel de Icaza 8425084ed9 Link to Alex's binary packages
svn path=/trunk/mono/; revision=1835
2002-01-04 18:49:43 +00:00
Miguel de Icaza 7ccf69fa78 Flush
svn path=/trunk/mono/; revision=1834
2002-01-04 16:38:40 +00:00
Ravi Pratap M e8d42158da 2002-01-04 Ravi Pratap <[email protected]>
* Assembly.cs : Decorate missing bits with the MonoTODO
	attribute.

	* ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
	ReflectionTypeLoadException.cs : Ditto.

	* FieldInfo.cs : Ditto.

svn path=/trunk/mcs/; revision=1833
2002-01-04 16:06:55 +00:00
Ravi Pratap M de8d750995 2002-01-04 Ravi Pratap <[email protected]>
* CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
	attribute decorations.

	* DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
	Path.cs, TextReader.cs, TextWriter.cs : Ditto.

	* FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
	Ditto.

svn path=/trunk/mcs/; revision=1832
2002-01-04 15:46:38 +00:00
Miguel de Icaza 34ea288e82 Small fix
svn path=/trunk/mcs/; revision=1831
2002-01-04 15:44:32 +00:00
Ravi Pratap M 06e878a3a1 2002-01-04 Ravi Pratap <[email protected]>
* GreogrianCalendar.cs : The same old MonoTODO attribute.

svn path=/trunk/mcs/; revision=1830
2002-01-04 15:17:49 +00:00
Ravi Pratap M 7c68e9e58f 2002-01-04 Ravi Pratap <[email protected]>
* StackFrame.cs : Use the MonoTODO attribute to mark
	incomplete code.

	StackTrace.cs : Ditto.

svn path=/trunk/mcs/; revision=1829
2002-01-04 15:06:52 +00:00
John R. Hicks 4749da52c1 Added DebugTest to System.Diagnostics tests.
svn path=/trunk/mcs/; revision=1828
2002-01-04 14:57:20 +00:00
Ravi Pratap M 78c146066d Trivial fix
svn path=/trunk/mcs/; revision=1827
2002-01-04 14:56:58 +00:00
John R. Hicks 4a1c610664 Added DebugTest.cs to the test build.
svn path=/trunk/mcs/; revision=1826
2002-01-04 14:55:34 +00:00
John R. Hicks d45a898bce Added Debug.cs to the build.
svn path=/trunk/mcs/; revision=1825
2002-01-04 14:54:44 +00:00
Ravi Pratap M b669cc583d 2002-01-04 Ravi Pratap <[email protected]>
* Correct name to MonoTODO everywhere.

svn path=/trunk/mcs/; revision=1824
2002-01-04 14:54:38 +00:00
Ravi Pratap M bae9d9e381 2001-01-04 Ravi Pratap <[email protected]>
* TODOAttribute.cs : Actually add this time ;-)

	Change name to MonoTODO.

svn path=/trunk/mcs/; revision=1823
2002-01-04 14:51:43 +00:00
Ravi Pratap M 604444cf9c Add ;-)
svn path=/trunk/mcs/; revision=1822
2002-01-04 14:40:45 +00:00
Ravi Pratap M 79fc3429c7 2002-01-04 Ravi Pratap <[email protected]>
* ArrayList.cs : Setting an index does not implicitly
	extend the arraylist : remove FIXME.

	Decorate incomplete elements with the TODO attribute.

	* BitArray.cs : Insert TODO attributes where appropriate.

	* CaseInsensitiveHashcodeProvider.cs: Ditto.

	* Hashtable.cs, SortedList.cs : Ditto.

svn path=/trunk/mcs/; revision=1821
2002-01-04 14:37:37 +00:00
Nick Drochak 26e46dc9fe 2002-01-05 Nick Drochak <[email protected]>
* makefile: build corcompare
	* corcompare.cs: add new file.  compares an assembly with mscorlib

svn path=/trunk/mcs/; revision=1820
2002-01-04 14:11:38 +00:00
Nick Drochak ac64e34341 2002-01-05 Nick Drochak <[email protected]>
* corlib.build: Make new build of corlib_cmp.dll.  This is the same
	as corlib.dll without Object and ValueType.  It is used by
	/mcs/tools/corcompare.exe to compare with mscorlib.

svn path=/trunk/mcs/; revision=1819
2002-01-04 14:08:35 +00:00
Nick Drochak d4171c978f 2002-01-05 Nick Drochak <[email protected]>
* .cvsignore: ignore cormissing file which is generated by
	/mcs/tools/corcompare.exe

svn path=/trunk/mono/; revision=1818
2002-01-04 14:05:37 +00:00
Jeffrey Stedfast f88aba5611 2002-01-04 Jeffrey Stedfast <[email protected]>
* String.cs (Trim): Fixed a few logic bugs in the code that
	calculated how much to trim off the end of the string.

svn path=/trunk/mcs/; revision=1817
2002-01-04 13:59:52 +00:00
Nick Drochak d245ec3d58 2002/01/05 Nick Drochak <[email protected]>
* Makefile.am: fix list of headers and sources so automake 1.5
	doesn't complain. Removed \# at end of list.

svn path=/trunk/mono/; revision=1816
2002-01-04 13:58:26 +00:00
Daniel Weber 8ce48cac1b Check in latest build versions
svn path=/trunk/mcs/; revision=1815
2002-01-04 13:08:49 +00:00
Daniel Weber e59091843f Check in latest version to fix build errors
svn path=/trunk/mcs/; revision=1814
2002-01-04 13:07:29 +00:00
John R. Hicks 3980b949ab Added preliminary TraceListenerCollection.cs to the build.
svn path=/trunk/mcs/; revision=1813
2002-01-04 12:56:51 +00:00
John R. Hicks 53f754f2ab Added TraceListener.cs, TextWriterTraceListener.cs, and TraceListener.cs to the build, and moved them into the proper assembly.
svn path=/trunk/mcs/; revision=1812
2002-01-04 11:38:43 +00:00
John R. Hicks 0c9931a0ae Moved files to System assembly.
svn path=/trunk/mcs/; revision=1811
2002-01-04 11:34:11 +00:00
John R. Hicks 8b06fe39dc Added DiagnosticsConfigurationHandler.cs to the build.
svn path=/trunk/mcs/; revision=1810
2002-01-04 11:30:03 +00:00
John R. Hicks fc7276e440 Added TextWriterTraceListenerTest to the build.
svn path=/trunk/mcs/; revision=1809
2002-01-04 11:03:17 +00:00
John R. Hicks 0174aea715 Added TraceListener.cs, TextWriterTraceListener.cs, and DefaultTraceListener.cs to the build.
svn path=/trunk/mcs/; revision=1808
2002-01-04 11:01:28 +00:00
John R. Hicks 146c07fa75 Added stubbed Debugger.cs to the build.
svn path=/trunk/mcs/; revision=1807
2002-01-04 10:57:15 +00:00
Nick Drochak b547682659 2001-01-04 Nick Drochak <[email protected]>
* Commented out the [TODO] attributes for now.  We don't have the
	class written.  Also changed it to [MonoTODO]

svn path=/trunk/mcs/; revision=1806
2002-01-04 09:47:24 +00:00
Ravi Pratap M 807cabaff1 2002-01-04 Ravi Pratap <[email protected]>
* Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.

	* Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
	UInt16.cs, UInt32.cs, ValueType.cs: Ditto.

svn path=/trunk/mcs/; revision=1805
2002-01-04 08:37:35 +00:00
Ravi Pratap M cf1559d02f 2002-01-04 Ravi Pratap <[email protected]>
* TODOAttribute.cs : Add. We use this attribute to tag all bits
	in our class libraries that are incomplete.

	* Array.cs : Apply attribute wherever we find a FIXME which says we need
	something to be implemented there.

	* Int32.cs : Ditto.

	* MulticastDelegate.cs : Ditto.

	* RuntimeFieldHandler.cs, RuntimeMethodHandle.cs, RuntimeTypeHandle.cs : Ditto.

	* String.cs : Ditto.

	* Type.cs : Ditto.

svn path=/trunk/mcs/; revision=1804
2002-01-04 07:51:16 +00:00
Dietmar Maurer c518c9c895 *** empty log message ***
svn path=/trunk/mono/; revision=1803
2002-01-04 07:04:20 +00:00
Dietmar Maurer 35867e86d6 switched to glib2.0, unicode support, bug fixes
svn path=/trunk/mono/; revision=1802
2002-01-04 06:34:42 +00:00
Dietmar Maurer 12d3d0ce8c unicode support (using iconv)
svn path=/trunk/mcs/; revision=1801
2002-01-04 06:32:08 +00:00
Ravi Pratap M 98f9c97329 2001-01-03 Ravi Pratap <[email protected]>
* interface.cs (EmitDefaultMemberAttr): Make this helper method static
	so we can call it from elsewhere.

	* class.cs (TypeContainer.Emit): Emit the attribute here too. The rule is that
	we emit it internally if the class has a defined indexer; otherwise the user
	emits it by decorating the class definition with the DefaultMemberAttribute.

	* attribute.cs (ApplyAttributes): Perform checks to see that the DefaultMember
	attribute is not used on a type which defines an indexer.

	* cs-tokenizer.cs (get_cmd_arg): Ensure we trim whitespace and also include the tab
	character when we skip whitespace.

	* ../errors/cs0646.cs : Add.

svn path=/trunk/mcs/; revision=1800
2002-01-04 04:42:46 +00:00
Ravi Pratap M b46795af4a Add.
svn path=/trunk/mcs/; revision=1799
2002-01-04 04:39:01 +00:00
Miguel de Icaza 6337caea64 Add pending classes
svn path=/trunk/mono/; revision=1798
2002-01-04 03:55:08 +00:00
Miguel de Icaza 7b169e2d14 2002-01-03 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.ResolveSimpleName): Report error 120
	again.

	* makefile: Add practical target `mcs3.exe' which builds the third
	generation compiler.

	* expression.cs (New): Fix structures constructor calling.

svn path=/trunk/mcs/; revision=1796
2002-01-03 20:51:02 +00:00
Miguel de Icaza cbe2c16c52 Fix build for new automakes, seems to work
svn path=/trunk/mono/; revision=1795
2002-01-03 20:13:47 +00:00
Paolo Molaro 123d93da37 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <[email protected]>
* Delegate.cs: add Remove() stub.
	* Enum.cs: add ToObject().
	* Type.cs: add IsEnum property.


Thu Jan 3 23:26:15 CET 2002 Paolo Molaro <[email protected]>

	* ILGenerator.cs: typo fix.


Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <[email protected]>

	* Assembly.cs: trow unimplemented exceptions.

svn path=/trunk/mcs/; revision=1794
2002-01-03 18:35:59 +00:00
Paolo Molaro e6c6cadfd6 Thu Jan 3 23:19:27 CET 2002 Paolo Molaro <[email protected]>
* interp.c: temporary mul.ovf, mul.ovf.un, add.ovf.un implementations
	to get the compiler going.


Thu Jan 3 23:17:17 CET 2002 Paolo Molaro <[email protected]>

	* reflection.c: get token for a method ref. Set return type of
	constructor to void.
	* loader.c: debug message.
	* class.c: typo fix.

svn path=/trunk/mono/; revision=1793
2002-01-03 18:30:48 +00:00
Miguel de Icaza 7a6a32bfa2 2002-01-03 Miguel de Icaza <[email protected]>
* expression.cs (New): Fix structures constructor calling.

svn path=/trunk/mcs/; revision=1792
2002-01-03 17:00:27 +00:00
Gaurav Vaish 7d21b02eab 2002-01-03 Gaurav Vaish <[email protected]>
* .cvsignore  -- ignores files.

Will start coding from next week (hopefully).

svn path=/trunk/mcs/; revision=1791
2002-01-03 11:11:46 +00:00
Miguel de Icaza a1df5e44c8 2002-01-03 Miguel de Icaza <[email protected]>
* class.cs (Property, Method, Indexer): Emit Final flag on the
	method if we are an interface implementation and we are not
	abstract.

	* ecore.cs (PropertyExpr): New public field `IsBase', tells
	whether this property is referencing a `base' method.

	* expression.cs (Invocation.EmitCall): take an extra argument:
	is_base, this is used to determine whether the `call' or
	`callvirt' opcode should be used.


	* delegate.cs: update EmitCall.

	* class.cs (Method.Define): Set NewSlot for the cases where we are
	not implementing an interface method.

	(Property.Define): ditto.

svn path=/trunk/mcs/; revision=1790
2002-01-03 04:56:30 +00:00
Nick Drochak 52b5e60e68 2002-01-03 Nick Drochak <[email protected]>
* .cvsignore: ignore corlib.pdb for times when it's built with debug on.

svn path=/trunk/mcs/; revision=1789
2002-01-03 04:11:59 +00:00
Nick Drochak d6cae27ae5 2002-01-02 Nick Drochak <[email protected]>
* corlib.build: Put the linux target at the top.  I keep changing the
	build for windows 'cause it's at the top.  Then when I do make, nothing
	changes.  It seems like it always takes me half a day to remember
	that the linux target comes second.  Old age I guess.

svn path=/trunk/mcs/; revision=1788
2002-01-03 04:09:54 +00:00
Miguel de Icaza 1fe8b9ee41 Heh, fix the test
svn path=/trunk/mcs/; revision=1787
2002-01-03 02:00:10 +00:00
Miguel de Icaza eaee6ee321 2002-01-03 Kristian Rietveld <[email protected]>
* Convert.cs: add non-CLS-compliant ToBoolean methods for char,
        DateTime and object.

svn path=/trunk/mcs/; revision=1786
2002-01-03 01:59:26 +00:00
Miguel de Icaza 5d388d9d68 Add new test
svn path=/trunk/mcs/; revision=1785
2002-01-03 01:58:48 +00:00
Miguel de Icaza ed02390400 Integrate class lib docs
svn path=/trunk/mono/; revision=1784
2002-01-03 01:22:31 +00:00
John Barnette 0d446f192a Initial commit of XML doc roadmap.
svn path=/trunk/mono/; revision=1783
2002-01-02 22:48:10 +00:00
Miguel de Icaza 1c337bbc27 2002-01-02 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: (Tokenizer.escape): Escape '\r' as '\r' not as
	'r'.  Allows mcs to parse itself fully.

svn path=/trunk/mcs/; revision=1782
2002-01-02 16:20:37 +00:00
Paolo Molaro 7fa63fd7eb Build fixes.
svn path=/trunk/mcs/; revision=1781
2002-01-02 14:40:57 +00:00
Nick Drochak 441b83b286 Added new System.Security.Policy interfaces I just comitted
svn path=/trunk/mono/; revision=1780
2002-01-02 12:23:29 +00:00
Nick Drochak 89eee5d64c 2002-01-03 Nick Drochak <[email protected]>
* IIdentityPermissionFactory.cs: New File
	* IMembershipCondition: New File

svn path=/trunk/mcs/; revision=1779
2002-01-02 12:20:42 +00:00
Nick Drochak 68d92708a4 2002-01-03 Nick Drochak <[email protected]>
* HttpRuntime.cs: remove uneeded exception variable from catch and
	initialize remaining instance members to avoid compile warnings

	* DesignTimeParseData.cs: initialze static member to avoid compile
	error
	* PropertyConverter.cs: remove uneeded exception variables from
	catch blocks.

	* FileChangesMonitor.cs: remove redundant using statement; use int
	for MAXLEN; capitalize correctly 'WebHashCodeProvider';
	fix typo rsLock -> rwLock; Change IsRooted to IsPathRooted;
	set out parameter value where needed
	* FilePathParser.cs: qualify method GetPathRoot() with 'Path.'
	* IISVersionInfo.cs: initialize static member to avoid compile error.
	* WebEqualComparer.cs: static member defC shouldn't be readonly;
	the string comparer had some typos (fixed)
	* WebHashCodeProvider.cs: needed System.Globalization; static member
	defHcp shouldn't be readonly; remove double equal typo.

	* System.Web.build: don't exclude System.Web.UI anymore

svn path=/trunk/mcs/; revision=1778
2002-01-02 11:25:07 +00:00
Nick Drochak fc396a784a 2002-01-02 Nick Drochak <[email protected]>
* FileAction.cs: Use 0x7FFFFFFF as enum value for error.  0xFFFFFFFF
	is too big for Int32.
	* FileChangeEventHandler.cs: put missing 'void' return type on delegate
	FileChangeEventHandler()
	* FileChangedEventArgs.cs: ditto for FileChangedEvent()
	* NativeFileChangeEventHandler.cs: ditto for NativeFileChangeEventHandler()
	* FileChangesMonitor.cs: add needed namespaces and comment out imcomplete
	code.

svn path=/trunk/mcs/; revision=1777
2002-01-02 10:37:08 +00:00
Ravi Pratap M 5913bd3fc9 2002-01-02 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation.num_automatic_initializers): Keep track
	of the number of initializers that require the InitializeArray method.

	(CheckIndices): Store the Expression in all cases - not the plain value. Also
	update the above field where necessary.

	(MakeByteBlob): Update accordingly.

	(DoEmit): Call EmitStaticInitializers only if the number of initializers is
	greater than 2.

	(EmitDynamicInitializers): Update in accordance with the new optimization.

	(ArrayAccess.EmitStoreOpcode): Include char type along with short and ushort - the
	same OpCode applies.

	* cs-parser.jay : Fix some glaring errors I introduced.

svn path=/trunk/mcs/; revision=1776
2002-01-02 06:23:54 +00:00
Ravi Pratap M 1632717afb 2002-01-02 Ravi Pratap <[email protected]>
* test-45.cs : Augment to exercise support for array initialization
	for various other types.

svn path=/trunk/mcs/; revision=1775
2002-01-02 06:20:29 +00:00
Nick Drochak 1fa76a845c 2002-01-02 Nick Drochak <[email protected]>
* DesignTimeParseData.cs: fix header to show correct class name

svn path=/trunk/mcs/; revision=1774
2002-01-02 05:05:29 +00:00
Nick Drochak 7a2ec1188f 2002-01-02 Nick Drochak <[email protected]>
* HttpRuntime.cs: fix spelling error/variable name change.

svn path=/trunk/mcs/; revision=1773
2002-01-02 05:01:26 +00:00
Ravi Pratap M e35b9f6b1b 2002-01-01 Ravi Pratap <[email protected]>
* parameters.cs (AddVariable, AddConstant): Pass in current_local_parameters
	so that we can check for name clashes there too.

	* typemanager.cs (default_member_attr_type): The attribute that we need to emit
	for interface indexers.

	* interfaces.cs (Define): Emit the default member attribute.

	* expression.cs (MakeByteBlob): Fix extremely trivial bug where the wrong
	variable was being referred to while setting the value ;-)

svn path=/trunk/mcs/; revision=1772
2002-01-02 01:09:38 +00:00
Miguel de Icaza 8059b33472 2002-01-01 Miguel de Icaza <[email protected]>
* expression.cs (MakeByteBlob): Optimize: we do not need to fill
	byte-by-byte information when we know the data is zero.

	Make the block always a multiple of 4, because
	DefineInitializedData has a bug.

svn path=/trunk/mcs/; revision=1771
2002-01-02 00:54:10 +00:00
Nick Drochak 709ffdcbe8 2002-01-02 Nick Drochak <[email protected]>
* IUnrestrictedPermission.cs: Added missing interface class

svn path=/trunk/mcs/; revision=1770
2002-01-01 19:33:28 +00:00
Miguel de Icaza b638e43f8a Improve tests
svn path=/trunk/mcs/; revision=1769
2002-01-01 19:06:23 +00:00
Miguel de Icaza 2f9e142a1b 2002-01-01 Miguel de Icaza <[email protected]>
* assign.cs: Fix, we should assign from the temporary, not from
	the source.

	* expression.cs (MakeByteBlob): Fix my incorrect code.

svn path=/trunk/mcs/; revision=1768
2002-01-01 18:53:21 +00:00
Nick Drochak a5f9977862 Added entry for new interface I added today: System.Security.Permissions.IUnrestrictedPermission
svn path=/trunk/mono/; revision=1767
2002-01-01 12:57:14 +00:00
Nick Drochak c387f3e670 2002-01-02 Nick Drochak <[email protected]>
* corlib.build: Removed "exclude CodeAccessPermission.cs"
	* CodeAccessPermission.cs: Fix syntax error hidden by exclusion in .build file

svn path=/trunk/mcs/; revision=1766
2002-01-01 12:10:24 +00:00
Nick Drochak 8c8717363b 2002-01-01 Nick Drochak <[email protected]>
* class.xml: corrected IHashCodeProvider entry.  "I" was missing.

svn path=/trunk/mono/; revision=1765
2002-01-01 01:10:30 +00:00
Miguel de Icaza 7986ed58a3 2001-12-31 Miguel de Icaza <[email protected]>
* typemanager.cs (EnumToUnderlying): This function is used to get
	the underlying type from an enumeration, because it does not
	always work.

	* constant.cs: Use the I4_S form for values between -128 and 127.

	* statement.cs (Block.LookupLabel): Looks up a label.
	(Block): Drop support for labeled blocks.

	(LabeledStatement): New kind of statement that represents a label
	only.

	(Goto): Finally implement this bad boy.

	* cs-parser.jay: Update to reflect new mechanism to implement
	labels.

svn path=/trunk/mcs/; revision=1764
2001-12-31 19:28:45 +00:00
Nick Drochak 201454f3c1 Updated with classes I added last night.
svn path=/trunk/mono/; revision=1762
2001-12-30 18:54:57 +00:00
Miguel de Icaza e3a1a4cd14 2001-12-30 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext.This): a codegen property that keeps the
	a single instance of this instead of creating many different this
	instances.

	* delegate.cs (Delegate.DoResolve): Update to use the property;

	* ecore.cs (SimpleName.SimpleNameResolve): Ditto

	* expression.cs (BaseAccess.DoResolve): Ditto.

svn path=/trunk/mcs/; revision=1761
2001-12-30 16:38:50 +00:00
Miguel de Icaza 82fa948924 Flush
svn path=/trunk/mcs/; revision=1760
2001-12-30 16:31:13 +00:00
Ravi Pratap M 4b318d2f7e Add.
svn path=/trunk/mcs/; revision=1759
2001-12-30 14:56:46 +00:00
Ravi Pratap M f0a7e4a042 2001-12-29 Ravi Pratap <[email protected]>
* typemanager.cs (methodimpl_attr_type): Add to hold the type
	corresponding to System.Runtime.CompilerServices.MethodImplAttribute.

	(InitCoreTypes): Update accordingly.

	* attribute.cs (Resolve): Remember if the attribute is a MethodImplAttribute
	so we can quickly store the state.

	(ApplyAttributes): Set the current implementation flags
	for InternalCall methods.

svn path=/trunk/mcs/; revision=1758
2001-12-30 14:46:12 +00:00
Ravi Pratap M 85144f9f7a 2001-12-29 Ravi Pratap <[email protected]>
* test-69.cs : Add. This tests support for methods which are
	internal calls.

svn path=/trunk/mcs/; revision=1757
2001-12-30 14:40:17 +00:00
Nick Drochak 32517a5c4f Forgot to save this before comitting. oops.
svn path=/trunk/mcs/; revision=1756
2001-12-30 11:04:13 +00:00
Nick Drochak 0a758352be 2001-12-30 Nick Drochak <[email protected]>
* Byte.cs (Parse): Add comments to aid in testing.

svn path=/trunk/mcs/; revision=1755
2001-12-30 11:01:17 +00:00
Nick Drochak 0c6aa47bd1 2001-12-30 Nick Drochak <[email protected]>
* PermissionSet.cs SecurityManager.cs: New Files
	* CodeAccessPermission.cs: Add Skeleton code
	* IPermission.cs: Make public and inherit from ISecurityEncodable
	* ISecurityEncodable.cs: Make interface public
	* ISecurityPolicyEncodable.cs: Ditto
	* IStackWalk.cs: Ditto

svn path=/trunk/mcs/; revision=1754
2001-12-30 10:54:46 +00:00
Nick Drochak 829976c78e 2001-08-24 Nick Drochak <[email protected]>
* IDeserializationCallback.cs: New File

svn path=/trunk/mcs/; revision=1753
2001-12-30 10:46:45 +00:00
Miguel de Icaza 6e5e0cc3fd Added bug15
svn path=/trunk/mcs/; revision=1752
2001-12-29 20:26:01 +00:00
Miguel de Icaza 8e7ed4ad67 2001-12-29 Miguel de Icaza <[email protected]>
* expression.cs (EmitCall): if a method is not virtual, then do
	not use callvirt on it.

	(ArrayAccess.EmitAssign): storing non-builtin value types (ie,
	user defined stuff) requires the use of stobj, which takes an
	address on the stack instead of an array and an index.  So emit
	the Ldelema operation for it.

	(EmitStoreOpcode): Use stobj for valuetypes.

	(UnaryMutator.EmitCode): Use the right 1 value depending on
	whether we are dealing with int64/uint64, float or doubles.

	* class.cs (TypeContainer.AddConstructor): Fix the logic to define
	constructors that I implemented last night.

	(Constructor.IsDefault): Fix to work properly for static
	constructors.

	* cs-parser.jay (CheckDef): report method signature errors.
	Update error number 103 to be 132.

	* decl.cs: New AdditionResult enumeration value: MethodExists.
	Although we do this check for methods later on in the semantic
	analysis, catching repeated default constructors is so easy that
	we catch these here.

svn path=/trunk/mcs/; revision=1751
2001-12-29 20:25:56 +00:00
Gaurav Vaish 37910d0f63 2001-12-28 Gaurav Vaish <[email protected]>
* Unit.cs --- Completed. A little final touch was required. The problem
   of IsEmpty solved.

svn path=/trunk/mcs/; revision=1750
2001-12-29 13:04:50 +00:00
Nick Drochak ba7879b5a9 2001-12-29 Nick Drochak <[email protected]>
* ISecurityPolicyEncodable.cs, PolicyLevelType.cs,
	SecurityZone.cs, SecurityException.cs, UnverifiableCodeAttribute.cs,
	SuppressUnmanagedCodeSecurityAttribute.cs,
	VerificationException.cs, XmlSyntaxException.cs: New files

svn path=/trunk/mcs/; revision=1749
2001-12-29 12:07:33 +00:00
Nick Drochak 1b84ffbb52 2001-12-29 Nick Drochak <[email protected]>
* Added System.Security and System.Security.Policy classes
	that I comitted

svn path=/trunk/mono/; revision=1748
2001-12-29 12:03:33 +00:00
Nick Drochak 304021fe86 2001-12-29 Nick Drochak <[email protected]>
* ChangeLog: New file

svn path=/trunk/mcs/; revision=1747
2001-12-29 11:59:28 +00:00
Nick Drochak 804504f50c 2001-12-29 Nick Drochak <[email protected]>
* PolicyLevel.cs: New file

svn path=/trunk/mcs/; revision=1746
2001-12-29 11:57:58 +00:00
Miguel de Icaza 64ea18ece5 2001-12-29 Miguel de Icaza <[email protected]>
* expression.cs (Binary.DoNumericPromotions): Fix the uint64 type
	promotions code.

svn path=/trunk/mcs/; revision=1745
2001-12-29 05:22:30 +00:00
Miguel de Icaza 7b9cab443d 2001-12-29 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference.EmitAssign, Emit): handle
	bools as bytes.

	(ArrayAccess.EmitLoadOpcode): Handle bool type here.
	(ArrayAccess.EmitStoreOpcode): ditto.

	* cs-tokenizer.cs (is_punct): Eliminated empty computation.

	* expression.cs (MakeByteBlob): Complete all the missing types
	(uint, short, ushort, byte, sbyte)

	* class.cs: Only init instance field initializers on instance
	constructors.

	Rename `constructors' to instance_constructors.

	(TypeContainer.AddConstructor): Only add constructors to the list
	if it is not static.

	Make sure that we handle default_static_constructor independently
	everywhere where we handle instance_constructors

svn path=/trunk/mcs/; revision=1744
2001-12-29 05:02:18 +00:00
Miguel de Icaza 8d1912017a Updated FAQ; News items
svn path=/trunk/mono/; revision=1743
2001-12-29 03:34:28 +00:00
Daniel Weber 1a2861d8c7 First cut at Xml Parser
svn path=/trunk/mcs/; revision=1742
2001-12-28 22:54:13 +00:00
Miguel de Icaza 17a434e856 2001-12-28 Miguel de Icaza <[email protected]>
* class.cs: Do not lookup or create a base initializer for a
	static constructor.

	(ConstructorInitializer.Resolve): use the proper type to lookup
	for constructors.

	* cs-parser.jay: Report error 1585 (modifiers between type and name).

	* enum.cs, interface.cs: Remove CloseType, this is taken care by
	in DeclSpace.

	* decl.cs: CloseType is now an virtual method, the default
	implementation just closes this type.

svn path=/trunk/mcs/; revision=1741
2001-12-28 20:53:11 +00:00
Ravi Pratap M a09977bc3e 2001-12-28 Ravi Pratap <[email protected]>
* attribute.cs (DefinePInvokeMethod): Set the implementation flags
	to PreserveSig by default. Also emit HideBySig on such methods.

	Basically, set the defaults to standard values.

	* expression.cs (Invocation.BetterFunction): We need to make sure that for each
	argument, if candidate is better, it can't be worse than the best !

	(Invocation): Re-write bits to differentiate between methods being
	applicable in their expanded form and their normal form - for params
	methods of course.

	Get rid of use_standard everywhere as only standard conversions are allowed
	in overload resolution.

	More spec conformance.

svn path=/trunk/mcs/; revision=1740
2001-12-28 15:26:06 +00:00
Ravi Pratap M 912389db8b 2001-12-28 Ravi Pratap <[email protected]>
* test-34.cs : UPdate to exercise the new overload resolution
	code.

svn path=/trunk/mcs/; revision=1739
2001-12-28 15:21:34 +00:00
Gaurav Vaish 5e666d525a 2001-12-28 Gaurav Vaish <[email protected]>
* TODO, ChangeLog   -- Today's update.

svn path=/trunk/mcs/; revision=1738
2001-12-28 14:01:35 +00:00
Gaurav Vaish 51d4fa17e6 2001-12-28 Gaurav Vaish <[email protected]>
* Unit.cs   -- Almost done. Don't know how to implement IsEquality.
   What criterion to use?

svn path=/trunk/mcs/; revision=1737
2001-12-28 14:00:42 +00:00
Gaurav Vaish 6420027e92 2001-12-28 Gaurav Vaish <[email protected]>
* FontUnit.cs   -- GetTypeFromString <--- Function name changed from
    IndexOf, which looked ugly. The function name is self-explanatory

svn path=/trunk/mcs/; revision=1736
2001-12-28 13:21:14 +00:00
Gaurav Vaish 938c7a188f 2001-12-28 Gaurav Vaish <[email protected]>
* FontUnit.cs   -- Completed

svn path=/trunk/mcs/; revision=1735
2001-12-28 12:25:20 +00:00
Gaurav Vaish 5aa7c29edc 2001-12-28 Gaurav Vaish <[email protected]>
* DataGridPageChangedEventHandler.cs,
* DataGridSortCommandEventHandler.cs,
* DataListCommandEventHandler.cs,
* DataListItemEventHandler.cs
* MonthChangedEventHandler.cs,
* RepeaterCommandEventHandler.cs,
* RepeaterItemEventHandler.cs,
* ServerValidateEventHandler.cs    -- Added delegates


* TODO   -- Updated to reveal the latest
* ChangeLog  -- Updated to reveal the latest updates

svn path=/trunk/mcs/; revision=1734
2001-12-28 07:07:45 +00:00
Gaurav Vaish c2a5898040 2001-12-28 Gaurav Vaish <[email protected]>
* Literal.cs, LiteralControlBuilder.cs  -- Completed

svn path=/trunk/mcs/; revision=1733
2001-12-28 05:19:16 +00:00
Gaurav Vaish 4196ad6b44 2001-12-28 Gaurav Vaish <[email protected]>
* ImageButton.cs, Label.cs  -- Minor corrections with LoadViewState's

* LinkButton.cs, LinkButtonControlBuilder.cs  -- Completed

svn path=/trunk/mcs/; revision=1732
2001-12-28 01:43:57 +00:00
Gaurav Vaish 53cade753c 2001-12-28 Gaurav Vaish <[email protected]>
* Utils.cs  -- Added functions GetClientValidatedEvent, GetClientValidatedPostBack

svn path=/trunk/mcs/; revision=1731
2001-12-28 00:41:50 +00:00
Gaurav Vaish 6aea03e323 2001-12-28 Gaurav Vaish <[email protected]>
* ImageButton.cs  -- Status flag changed (comments)

* Label.cs, LabelControlBuilder.cs  -- Completed

svn path=/trunk/mcs/; revision=1730
2001-12-28 00:12:22 +00:00
Gaurav Vaish 6aef124a1f 2001-12-28 Gaurav Vaish <[email protected]>
* Image.cs -- Missed the "using" directives

* ImageButton.cs -- Completed

svn path=/trunk/mcs/; revision=1729
2001-12-27 22:57:42 +00:00
Miguel de Icaza d504f1c4a2 2001-12-27 Miguel de Icaza <[email protected]>
* driver.cs: Add --timestamp, to see where the compiler spends
	most of its time.

	* ecore.cs (SimpleName.DoResolve): Do not create an implicit
	`this' in static code.

	(SimpleName.DoResolve): Implement in terms of a helper function
	that allows static-references to be passed upstream to
	MemberAccess.

	(Expression.ResolveWithSimpleName): Resolve specially simple
	names when called by MemberAccess to implement the special
	semantics.

	(Expression.ImplicitReferenceConversion): Handle conversions from
	Null to reference types before others, as Null's type is
	System.Object.

svn path=/trunk/mcs/; revision=1728
2001-12-27 20:09:40 +00:00
Miguel de Icaza 419a2ce9f7 2001-12-27 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): Handle the special case of
	calling methods declared on a reference type from a ValueType
	(Base classes System.Object and System.Enum)

	(MemberAccess.Resolve): Only perform lookups on Enumerations if
	the left hand side is a TypeExpr, not on every enumeration.

	(Binary.Resolve): If types are reference types, then do a cast to
	object on operators != and == of both arguments.

	* typemanager.cs (FindMembers): Extract instance and static
	members if requested.

	* interface.cs (PopulateProperty): Use void_type instead of null
	as the return type for the setter method.

	(PopulateIndexer): ditto.

svn path=/trunk/mcs/; revision=1727
2001-12-27 16:54:10 +00:00
Ravi Pratap M 2db597d2a1 2001-12-27 Ravi Pratap <[email protected]>
* support.cs (ReflectionParameters): Fix minor bug where we
	were examining the wrong parameter for the ParamArray attribute.

	Cope with requests for the type of the parameter at position
	greater than the params parameter's. We now return the element
	type of the params array as that makes more sense.

	* expression.cs (Invocation.IsParamsMethodApplicable): Update
	accordingly as we no longer have to extract the element type
	ourselves.

	(Invocation.OverloadResolve): Update.

svn path=/trunk/mcs/; revision=1726
2001-12-27 16:05:00 +00:00
Miguel de Icaza 2017ea26b3 Add new test
svn path=/trunk/mcs/; revision=1725
2001-12-27 16:01:08 +00:00
Gaurav Vaish e090f3f2d4 2001-12-27 Gaurav Vaish <[email protected]>
* Image.cs  -- Completed

svn path=/trunk/mcs/; revision=1724
2001-12-27 13:38:24 +00:00
Gaurav Vaish 365834436d 2001-12-27 Gaurav Vaish <[email protected]>
* HyperLink.cs  -- Completed.

svn path=/trunk/mcs/; revision=1723
2001-12-27 12:42:45 +00:00
Gaurav Vaish 6aa42f4bc1 2001-12-27 Gaurav Vaish <[email protected]>
* Calendar.cs  -- Done Rendering part. Just one function left.

* ChangeLog  -- Updated

svn path=/trunk/mcs/; revision=1722
2001-12-27 10:05:12 +00:00
Miguel de Icaza e2ca9686dd Add new bug
svn path=/trunk/mcs/; revision=1721
2001-12-27 04:21:49 +00:00
Miguel de Icaza ffe4df2dfa 2001-12-27 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.GetEnumeratorFilter): Do not compare
	against IEnumerator, test whether the return value is a descendant
	of the IEnumerator interface.

	* class.cs (Indexer.Define): Use an auxiliary method to implement
	the other bits of the method definition.  Begin support for
	explicit interface implementation.

	(Property.DefineMethod): Use TypeManager.void_type instead of null
	for an empty return value.

svn path=/trunk/mcs/; revision=1720
2001-12-27 04:17:22 +00:00
Ravi Pratap M 8394a2d4a9 2001-12-26 Ravi Pratap <[email protected]>
* class.cs (Event.Define): Define the private field only if there
	are no accessors defined.

	* expression.cs (ResolveMemberAccess): If there is no associated
	field with the event, that means we have an event defined with its
	own accessors and we should flag error cs0070 since transforming
	ourselves into a field is not valid in that case.

	* ecore.cs (SimpleName.DoResolve): Same as above.

	* attribute.cs (DefinePInvokeMethod): Set the default calling convention
	and charset to sane values.

svn path=/trunk/mcs/; revision=1719
2001-12-27 03:27:09 +00:00
Ravi Pratap M d7b9c98c42 2001-12-26 Ravi Pratap <[email protected]>
* test-67.cs : Add. These are tests for explicit layout
	of structs and classes.

	* makefile : Update accordingly.

svn path=/trunk/mcs/; revision=1718
2001-12-27 03:23:47 +00:00
Nick Drochak 6b9dbc0572 2001-12-27 Nick Drochak <[email protected]>
* UInt32Test.cs: Added messages to Asserts()'s to find out which one was failing.

svn path=/trunk/mcs/; revision=1717
2001-12-26 19:07:47 +00:00
Gaurav Vaish cdd88a9c51 2001-12-27 Gaurav Vaish <[email protected]>
* class.xml   -- Weekly update for class.xml. Missed one on 22nd :)

svn path=/trunk/mono/; revision=1716
2001-12-26 14:54:08 +00:00
Gaurav Vaish 7f6d7bd300 2001-12-27 Gaurav Vaish <[email protected]>
* test6.aspx  --- Test in connection with Calendar

* Calendar.cs  -- ViewStates (Track/Save/View), RaisePostBackEvent

svn path=/trunk/mcs/; revision=1715
2001-12-26 14:43:45 +00:00
Ravi Pratap M 22233f865a 2001-12-25 Ravi Pratap <[email protected]>
* assign.cs (DoResolve): Perform check on events only if they
	are being accessed outside the declaring type.

	* cs-parser.jay (event_declarations): Update rules to correctly
	set the type of the implicit parameter etc.

	(add_accessor, remove_accessor): Set current local parameters.

	* expression.cs (Binary): For delegate addition and subtraction,
	cast the return value from the method into the appropriate delegate
	type.

svn path=/trunk/mcs/; revision=1714
2001-12-25 14:35:18 +00:00
Ravi Pratap M c5d8ebb1df 2001-12-25 Ravi Pratap <[email protected]>
* test-57.cs : Update to exercise more of the code base for
	events.

svn path=/trunk/mcs/; revision=1713
2001-12-25 14:29:45 +00:00
Ravi Pratap M 3b1343dc02 2001-12-24 Ravi Pratap <[email protected]>
* attribute.cs (ApplyAttributes): New method to take care of common tasks
	of attaching attributes instead of duplicating code everywhere.

	* everywhere : Update code to do attribute emission using the above method.

svn path=/trunk/mcs/; revision=1712
2001-12-24 15:42:55 +00:00
Paolo Molaro a0fc68e616 Mon Dec 24 17:23:45 CET 2001 Paolo Molaro <[email protected]>
* interp.c: fix ldc.i8.


Mon Dec 24 17:18:10 CET 2001 Paolo Molaro <[email protected]>

	* icall.c: fix array init with rank > 1. FindMembers
	loops in parent class as well.
	* image.c: do not insert nested types in name cache.
	* reflection.c: warning fix.
	* reflection.h: add override method (for interface impl).

svn path=/trunk/mono/; revision=1711
2001-12-24 12:32:03 +00:00
Paolo Molaro 4215875548 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <[email protected]>
* main.c, dump.h, dump.c: add dump_table_nestedclass().
	* dis-cil.c: output int64 as hex.

svn path=/trunk/mono/; revision=1710
2001-12-24 12:31:26 +00:00
Paolo Molaro b4e6650a93 Mon Dec 24 17:21:30 CET 2001 Paolo Molaro <[email protected]>
* TypeBuilder.cs: added DefineMethodOverride().
	* MethodBuilder.cs: add override_method member and setter.

svn path=/trunk/mcs/; revision=1709
2001-12-24 12:28:59 +00:00
Paolo Molaro 9b89039e6a Mon Dec 24 16:16:56 CET 2001 Paolo Molaro <[email protected]>
* metadata.c: fix customattr decoding.

svn path=/trunk/mono/; revision=1708
2001-12-24 11:23:30 +00:00
Ravi Pratap M f947f0161b 2001-12-24 Ravi Pratap <[email protected]>
* typemanager.cs (RegisterDelegateData, GetDelegateData): Get rid
	of these as the workaround is unnecessary.

	* delegate.cs (NewDelegate.DoResolve): Get rid of bits which registered
	delegate data - none of that is needed at all.

	Re-write bits to extract the instance expression and the delegate method
	correctly.

	* expression.cs (Binary.ResolveOperator): Handle the '-' binary operator
	on delegates too.

svn path=/trunk/mcs/; revision=1707
2001-12-24 06:46:22 +00:00
Ravi Pratap M fa55a93ba5 2001-12-24 Ravi Pratap <[email protected]>
* test-19.cs : Augment to exercise tests on delegates
	defined in mscorlib.

	* test-57.cs : Update to exercise the -= operator
	as well.

svn path=/trunk/mcs/; revision=1706
2001-12-24 06:34:03 +00:00
Miguel de Icaza c72c27994e 2001-12-23 Miguel de Icaza <[email protected]>
* expression.cs (IsParamsMethodApplicable): if there are not
	parameters, return immediately.

	* ecore.cs: The 0 literal can be implicity converted to an enum
	type.

	(SimpleName.DoResolve): First lookup the type, then lookup the
	members.

	(FieldExpr.Emit): If the InstanceExpression is a ValueType, we

svn path=/trunk/mcs/; revision=1705
2001-12-24 02:17:19 +00:00
Miguel de Icaza 1baf009cdd More bugs
svn path=/trunk/mcs/; revision=1704
2001-12-24 01:05:39 +00:00
Miguel de Icaza 094c8f790b Add
svn path=/trunk/mcs/; revision=1703
2001-12-24 01:03:13 +00:00
Miguel de Icaza 8a2886f7d0 Update tests
svn path=/trunk/mcs/; revision=1702
2001-12-24 00:59:36 +00:00
Miguel de Icaza ae9b5fed30 2001-12-23 Miguel de Icaza <[email protected]>
* expression.cs (IsParamsMethodApplicable): if there are not
	parameters, return immediately.

	* ecore.cs: The 0 literal can be implicity converted to an enum
	type.

	(SimpleName.DoResolve): First lookup the type, then lookup the
	members.

	(FieldExpr.Emit): If the InstanceExpression is a ValueType, we
	want to get its address.  If the InstanceExpression is not
	addressable, store the result in a temporary variable, then get
	the address of it.

	* codegen.cs: Only display 219 errors on warning level or above.

	* expression.cs (ArrayAccess): Make it implement the
	IMemoryLocation interface.

	(Binary.DoResolve): handle the operator == (object a, object b)
	and operator != (object a, object b) without incurring into a
	BoxedCast (because 5 != o should never be performed).

	Handle binary enumerator operators.

	(EmitLoadOpcode): Use Ldelema if the object we are loading is a
	value type, otherwise use Ldelem_ref.

	Use precomputed names;

	(AddressOf): Implement address of

	* cs-parser.jay (labeled_statement): Fix recursive block
	addition by reworking the production.

	* expression.cs (New.DoEmit): New has a special case:

		 If we are dealing with a ValueType, we have a few
		 situations to deal with:

		    * The target of New is a ValueType variable, that is
		      easy, we just pass this as the variable reference

		    * The target of New is being passed as an argument,
		      to a boxing operation or a function that takes a
		      ValueType.

		      In this case, we need to create a temporary variable
		      that is the argument of New.

svn path=/trunk/mcs/; revision=1701
2001-12-24 00:57:29 +00:00
Miguel de Icaza 94f6dc255b Add another bug
svn path=/trunk/mcs/; revision=1700
2001-12-24 00:22:45 +00:00
Nick Drochak 0c356f107a 2001-12-23 Nick Drochak <[email protected]>
* ChangeLog: Flush old edit to this file.

svn path=/trunk/mcs/; revision=1699
2001-12-23 20:22:31 +00:00
Miguel de Icaza 3e2bf7b586 Test 62
svn path=/trunk/mcs/; revision=1698
2001-12-23 15:29:57 +00:00
Miguel de Icaza 5ba87d96fe Add test-65, and include 63 and 64 on the build
svn path=/trunk/mcs/; revision=1697
2001-12-23 15:29:15 +00:00
Ravi Pratap M f28c04a4e3 Committing again just to be sure ;-)
svn path=/trunk/mcs/; revision=1696
2001-12-23 14:53:22 +00:00
Ravi Pratap M 9888ed1367 2001-12-23 Ravi Pratap <[email protected]>
* typemanager.cs : Use PtrHashtable for Delegate data hashtable etc.

	* assign.cs : Get rid of EventIsLocal everywhere.

svn path=/trunk/mcs/; revision=1695
2001-12-23 14:44:12 +00:00
Ravi Pratap M 600f75358b 2001-12-23 Ravi Pratap <[email protected]>
* rootcontext.cs (LookupType): Check that current_type is not null before
	going about looking at nested types.

	* ecore.cs (EventExpr.EmitAddOrRemove): Rename from EmitAssign as we do
	not implement the IAssignMethod interface any more.

	* expression.cs (MemberAccess.ResolveMemberAccess): Handle EventExprs specially
	where we tranform them into FieldExprs if they are being resolved from within
	the declaring type.

	* ecore.cs (SimpleName.DoResolve): Do the same here.

	* assign.cs (DoResolve, Emit): Clean up code considerably.

	* ../errors/bug10.cs : Add.

	* ../errors/cs0070.cs : Add.

svn path=/trunk/mcs/; revision=1694
2001-12-23 14:08:58 +00:00
Ravi Pratap M 6ec0525dcc 2001-12-23 Ravi Pratap <[email protected]>
* test-57.cs : Update.

	* makefile : Update to include the above as it passes nicely.

svn path=/trunk/mcs/; revision=1693
2001-12-23 14:04:11 +00:00
Ravi Pratap M ce8a364511 Add
svn path=/trunk/mcs/; revision=1692
2001-12-23 14:01:44 +00:00
Miguel de Icaza f8272ef9f3 2001-12-23 Miguel de Icaza <[email protected]>
* typemanager.cs (GetAccessors): Make the return value consistent
	(ie, 0 is always get, 1 is always set)

	* ecore.cs (ConvertIntLiteral): finished the implementation.

	* statement.cs (SwitchLabel): Convert the value we are using as a
	key before looking up the table.

svn path=/trunk/mcs/; revision=1691
2001-12-23 04:48:10 +00:00
Miguel de Icaza df52c90d7b 2001-12-22 Miguel de Icaza <[email protected]>
* codegen.cs (EmitTopBlock): Require a Location argument now.

	* cs-parser.jay (constructor_declarator): We need to setup
	current_local_parameters before we parse the
	opt_constructor_initializer, to allow the variables to be bound
	to the constructor arguments.

	* rootcontext.cs (LookupType): First lookup nested classes in our
	class and our parents before we go looking outside our class.

	* expression.cs (ConstantFold): Extract/debox the values at the
	beginnning.

	* rootcontext.cs (EmitCode): Resolve the constants first before we
	resolve the types.  This is not really needed, but it helps debugging.

svn path=/trunk/mcs/; revision=1690
2001-12-22 23:42:12 +00:00
Miguel de Icaza 0661f1afea Added new test
svn path=/trunk/mcs/; revision=1689
2001-12-22 22:45:37 +00:00
Miguel de Icaza c1d95ca518 Update
svn path=/trunk/mono/; revision=1688
2001-12-22 15:45:43 +00:00
Miguel de Icaza 441fb6c311 2001-12-22 Miguel de Icaza <[email protected]>
* statement.cs: report location.

	* cs-parser.jay: pass location to throw statement.

	* driver.cs: Small bug fix.

	* report.cs: Updated format to be 4-zero filled digits.

svn path=/trunk/mcs/; revision=1687
2001-12-22 15:29:09 +00:00
Ravi Pratap M 453c9ba7a2 2001-12-22 Ravi Pratap <[email protected]>
* expression.cs (CheckIndices): Fix minor bug where the wrong
	variable was being referred to ;-)

	(DoEmit): Do not call EmitStaticInitializers when the
	underlying type is System.Object.

svn path=/trunk/mcs/; revision=1686
2001-12-22 14:04:13 +00:00
Ravi Pratap M eb41a60d0e 2001-12-21 Ravi Pratap <[email protected]>
* test-19.cs : Augment to exercise code which fixed the bug
	where we were not generating a This for the delegate's
	instance expression - for the non-static methods ie.

svn path=/trunk/mcs/; revision=1685
2001-12-22 10:50:10 +00:00
Ravi Pratap M 404eb5f79b 2001-12-21 Ravi Pratap <[email protected]>
* ecore.cs (EventExpr.Resolve): Implement to correctly set the type
	and do the usual workaround for SRE.

	* class.cs (MyEventBuilder.EventType): New member to get at the type
	of the event, quickly.

	* expression.cs (Binary.ResolveOperator): Handle delegate addition.

	* assign.cs (Assign.DoResolve): Handle the case when the target
	is an EventExpr and perform the necessary checks.

	* ecore.cs (EventExpr.EmitAssign): Implement the IAssignMethod
	interface.

	(SimpleName.MemberStaticCheck): Include check for EventExpr.

	(EventExpr): Set the type in the constructor itself since we
	are meant to be born fully resolved.

	(EventExpr.Define): Revert code I wrote earlier.

	* delegate.cs (NewDelegate.Resolve): Handle the case when the MethodGroup's
	instance expression is null. The instance expression is a This in that case
	or a null, depending on whether it is a static method or not.

	Also flag an error if the reference to a method is ambiguous i.e the MethodGroupExpr
	refers to more than one method.

	* assign.cs (DoResolve): Check whether the event belongs to the same Type container
	and accordingly flag errors.

svn path=/trunk/mcs/; revision=1684
2001-12-22 10:47:10 +00:00
Miguel de Icaza e2f6341f2e New build file
svn path=/trunk/mcs/; revision=1683
2001-12-22 04:28:21 +00:00
Miguel de Icaza b5615e0cd8 2001-12-21 Miguel de Icaza <[email protected]>
* SecurityElement.cs, CodeAccessPermission.cs IPermission.cs
	IStackWalk.cs SecurityElement.cs ISecurityEncodable.cs: New files.

svn path=/trunk/mcs/; revision=1682
2001-12-22 04:28:02 +00:00
Miguel de Icaza bc8229d6a4 2001-12-21 Miguel de Icaza <[email protected]>
* Char.cs (Parse): Implement.

	* Byte.cs (Parse): Implement a fast parser.

	* SByte.cs (Parse): Implement a fast parser.

	* UInt16.cs (Parse): Implement a fast parser.

	* Int16.cs (Parse): Implement a fast parser.

	* UInt32.cs (Parse): Implement a fast parser.

	* Int32.cs (Parse): Implement a fast parser.

svn path=/trunk/mcs/; revision=1681
2001-12-22 03:46:42 +00:00
Miguel de Icaza 0925d5f1c3 2001-12-21 Miguel de Icaza <[email protected]>
* statement.cs (Throw.Emit): Add support for re-throwing exceptions.

svn path=/trunk/mcs/; revision=1680
2001-12-22 02:39:31 +00:00
Miguel de Icaza e8cda7bcc4 Add new error
svn path=/trunk/mcs/; revision=1679
2001-12-22 01:14:10 +00:00
Miguel de Icaza f463753a5c 2001-12-22 Miguel de Icaza <[email protected]>
* location.cs (ToString): Provide useful rutine.

2001-12-21  Miguel de Icaza  <[email protected]>

	* ecore.cs (Expression.ConvertIntLiteral): Do not return Constant
	objects, return the actual integral boxed.

	* statement.cs (SwitchLabel): define an ILLabel for each
	SwitchLabel.

	(Switch.CheckSwitch): If the value is a Literal, extract
	the underlying literal.

	Also in the unused hashtable we had, add the SwitchLabel so we can
	quickly look this value up.

	* constant.cs: Implement a bunch of new constants.  Rewrite
	Literal based on this.  Made changes everywhere to adapt to this.

	* expression.cs (Expression.MakeByteBlob): Optimize routine by
	dereferencing array only once, and also copes with enumrations.

	bytes are two bytes wide, not one.

	(Cast): Perform constant conversions.

	* ecore.cs (TryImplicitIntConversion): Return literals instead of
	wrappers to the literals here.

	* expression.cs (DoNumericPromotions): long literals can converted
	to ulong implicity (this is taken care of elsewhere, but I was
	missing this spot).

	* ecore.cs (Expression.Literalize): Make the return type Literal,
	to improve type checking.

	* rootcontext.cs: Lookup for nested classes in our class hierarchy.

svn path=/trunk/mcs/; revision=1678
2001-12-22 01:12:03 +00:00
Miguel de Icaza 83597f36b8 Update
svn path=/trunk/mcs/; revision=1677
2001-12-22 00:35:28 +00:00
Miguel de Icaza 8481d49f6f Update
svn path=/trunk/mcs/; revision=1676
2001-12-22 00:30:57 +00:00
Miguel de Icaza c6e6dc2a45 Flush
svn path=/trunk/mcs/; revision=1675
2001-12-22 00:28:37 +00:00
Miguel de Icaza f2a60c1776 2001-12-21 Miguel de Icaza <[email protected]>
* rawbuffer.cs: Added native Win32 implementation, avoids using
	mmap on Cygwin.  This patch is from Dan Lewis ([email protected])

svn path=/trunk/mono/; revision=1674
2001-12-21 21:03:29 +00:00
Gaurav Vaish e080b0ce07 2001-12-22 Gaurav Vaish <[email protected]>
* HttpRuntime -- updated comments

* FileChangesMonitor.cs, IISVersionInfo.cs -- updated comments

* UrlUtils.cs -- Added IsRooted function

* FilePathParser -- Another intensive class needed

* WebEqualComparer.cs, WebHashCodeProvider.cs  -- IComparer, IHashCodeProvider

svn path=/trunk/mcs/; revision=1673
2001-12-21 19:51:42 +00:00
Aaron Weber 9ef758eaa5 2001-12-21 Aaron Weber <[email protected]>
* doc/faq (A): added a linebreak that was missing and was causing
	a heading to appear badly.

svn path=/trunk/mono/; revision=1672
2001-12-21 17:43:31 +00:00
Aaron Weber 2f41a875fe 2001-12-20 Aaron Weber <[email protected]>
* doc/faq: added <a name=""> nav links, and moved all MSFT-related
	questions into a single section.

svn path=/trunk/mono/; revision=1671
2001-12-21 17:18:49 +00:00
Miguel de Icaza 3672a69604 Small beautification patch
svn path=/trunk/mono/; revision=1670
2001-12-21 16:00:10 +00:00
Paolo Molaro 6273060d6c Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <[email protected]>
* Array.cs: fix null ref in sort code.
	* UInt64.cs: add bare-bones parse.

svn path=/trunk/mcs/; revision=1669
2001-12-21 10:21:37 +00:00
Paolo Molaro 781d019170 More tests.
svn path=/trunk/mono/; revision=1668
2001-12-21 10:17:00 +00:00
Gaurav Vaish 4d23bb6aa0 2001-12-21 Gaurav Vaish <[email protected]>
* ChangeLog   -- Updated.

svn path=/trunk/mcs/; revision=1667
2001-12-21 09:18:56 +00:00
Gaurav Vaish 01172da4be 2001-12-21 Gaurav Vaish <[email protected]>
* System.Web/*.cs
* System.Web.Caching/*.cs
* System.Web.UI/*.cs
* System.Web.Utils/*.cs
* System.Web.UI.WebControls/*.cs

  -- The ISP was down yesterday and today morning. So many files. See changelog for more details.

svn path=/trunk/mcs/; revision=1666
2001-12-21 08:42:28 +00:00
Gaurav Vaish 8babf1205b 2001-12-21 Gaurav Vaish <[email protected]>
* .cvsignore   -- ??

svn path=/trunk/mcs/; revision=1665
2001-12-21 08:26:46 +00:00
Miguel de Icaza 66d2485cef rethrow test
svn path=/trunk/mcs/; revision=1664
2001-12-21 01:27:30 +00:00
Miguel de Icaza 9d8d7064cb Add bug9
svn path=/trunk/mcs/; revision=1663
2001-12-21 00:51:53 +00:00
Miguel de Icaza e4e598f379 2001-12-20 Miguel de Icaza <[email protected]>
* literal.cs: Revert code from ravi that checked the bounds.  The
	bounds are sane by the definition of the type itself.

	* typemanager.cs: Fix implementation of ImplementsInterface.  We
	need to actually look up in our parent hierarchy for interfaces
	implemented.

svn path=/trunk/mcs/; revision=1662
2001-12-21 00:51:29 +00:00
Miguel de Icaza c3ab5e0fc7 Flush
svn path=/trunk/mcs/; revision=1661
2001-12-20 21:29:11 +00:00
Miguel de Icaza 428530724b Flush
svn path=/trunk/mcs/; revision=1660
2001-12-20 16:15:37 +00:00
Paolo Molaro e4d5990369 Update to demonstrate problem with static/instance methods.
svn path=/trunk/mono/; revision=1659
2001-12-20 15:22:08 +00:00
Paolo Molaro 960024e53e Thu Dec 20 20:11:26 CET 2001 Paolo Molaro <[email protected]>
* class.c: make the low-level routines handle the cache.

svn path=/trunk/mono/; revision=1658
2001-12-20 15:21:23 +00:00
Paolo Molaro bee1627a81 Thu Dec 20 20:09:48 CET 2001 Paolo Molaro <[email protected]>
* interp.c: fix delegate method invocation to handle both
	static and instance methods.

svn path=/trunk/mono/; revision=1657
2001-12-20 15:21:02 +00:00
Paolo Molaro 717e891450 Thu Dec 20 20:13:07 CET 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: fix create_method_pointer() to pass the arguments
	correctly and add check for overflow.

svn path=/trunk/mono/; revision=1656
2001-12-20 15:20:42 +00:00
Miguel de Icaza 1b485a304d 2001-12-20 Miguel de Icaza <[email protected]>
* delegate.cs: Compute the basename for the delegate creation,
	that should fix the delegate test case, and restore the correct
	Type Lookup semantics in rootcontext

	* rootcontext.cs: Revert Ravi's last patch.  The correct way of
	referencing a nested type with the Reflection API is using the "+"
	sign.

svn path=/trunk/mcs/; revision=1655
2001-12-20 14:07:30 +00:00
Ravi Pratap M 61abea9003 2001-12-20 Ravi Pratap <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): Add support for
	the case when the member is an EventExpr.

	* ecore.cs (EventExpr.InstanceExpression): Every event which is not
	static has an associated instance expression.

	* typemanager.cs (RegisterEvent): The usual workaround, now for events.

	(GetAddMethod, GetRemoveMethod): Workarounds, as usual.

	* class.cs (Event.Define): Register event and perform appropriate checks
	for error #111.

 	We define the Add and Remove methods even if the use provides none because
	in that case, we provide default implementations ourselves.

	Define a private field of the type of the event. This is done by the CSC compiler
	and we should be doing it too ;-)

	* typemanager.cs (delegate_combine_delegate_delegate, delegate_remove_delegate_delegate):
	More methods we use in code we generate.

	(multicast_delegate_type, delegate_type): Two separate types since the distinction
	is important.

	(InitCoreTypes): Update accordingly for the above.

	* class.cs (Event.Emit): Generate code for default accessors that we provide

	(EmitDefaultMethod): Do the job in the above.

	* delegate.cs (DefineDelegate): Use TypeManager.multicast_delegate_type in the
	appropriate place.

svn path=/trunk/mcs/; revision=1654
2001-12-20 13:52:12 +00:00
Miguel de Icaza d94b08f6a5 2001-12-20 Miguel de Icaza <[email protected]>
* cs-parser.jay: Do not require EOF token at the end.

svn path=/trunk/mcs/; revision=1653
2001-12-20 11:55:30 +00:00
Paolo Molaro a7cc8c5b3d Thu Dec 20 15:46:31 CET 2001 Paolo Molaro <[email protected]>
* FieldOffsetAttribute.cs, InAttribute.cs, MarshalAsAttribute.cs,
	OptionalAttribute.cs, StructLayoutAttribute.cs, VarEnum.cs:
	more stuff needed by the compiler.

svn path=/trunk/mcs/; revision=1652
2001-12-20 10:53:07 +00:00
Paolo Molaro c8b44b005e Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <[email protected]>
* Byte.cs: removed use of Regexes.

svn path=/trunk/mcs/; revision=1651
2001-12-20 10:36:18 +00:00
Paolo Molaro 72d2f79fa6 Thu Dec 20 15:20:35 CET 2001 Paolo Molaro <[email protected]>
* image.c: fopen (file, "rb") ("David Dawkins" <[email protected]>).

svn path=/trunk/mono/; revision=1650
2001-12-20 10:27:40 +00:00
Ravi Pratap M b5c658b32a 2001-12-20 Ravi Pratap <[email protected]>
* rootcontext.cs (LookupType): Concatenate type names with
	a '.' instead of a '+' The test suite passes again.

	* enum.cs (Enum.DefineEnum): Set RTSpecialName on the 'value__'
	field of the enumeration.

svn path=/trunk/mcs/; revision=1649
2001-12-20 07:08:56 +00:00
Miguel de Icaza a6e92a8cb3 2001-12-20 Miguel de Icaza <[email protected]>
* class.cs (Indexer.Define): Fix bug, we were setting both Get/Set
	builders even if we were missing one.

	* interface.cs, class.cs, enum.cs: When calling DefineNestedType
	pass the Basename as our class name instead of the Name.  The
	basename will be correctly composed for us.

	* parameter.cs (Paramters): Now takes a Location argument.

	* decl.cs (DeclSpace.LookupType): Removed convenience function and
	make all the code call directly LookupType in RootContext and take
	this chance to pass the Location information everywhere.

	* Everywhere: pass Location information.

2001-12-19  Miguel de Icaza  <[email protected]>

	* class.cs (Constructor.Define): Updated way of detecting the
	length of the parameters.

	(TypeContainer.DefineType): Use basename as the type name for
	nested types.

	(TypeContainer.Define): Do not recursively define types here, as
	definition is taken care in order by the RootContext.

svn path=/trunk/mcs/; revision=1648
2001-12-20 02:09:30 +00:00
Miguel de Icaza b031f30ade Flush
svn path=/trunk/mcs/; revision=1647
2001-12-20 01:45:27 +00:00
Miguel de Icaza 8e683bb35d Add new bug and new error
svn path=/trunk/mcs/; revision=1646
2001-12-20 01:28:06 +00:00
Miguel de Icaza 0471bf47e4 2001-12-19 Miguel de Icaza <[email protected]>
* tree.cs: Keep track of namespaces in a per-file basis.

	* parameter.cs (Parameter.ComputeSignature): Update to use
	DeclSpace.

	(Parameters.GetSignature): ditto.

	* interface.cs (InterfaceMethod.GetSignature): Take a DeclSpace
	instead of a TypeContainer.

	(Interface.SemanticAnalysis): Use `this' instead of our parent to
	resolve names.  Because we need to be resolve in our context, not
	our parents.

	* driver.cs: Implement response files.

	* class.cs (TypeContainer.DefineType): If we are defined, do not
	redefine ourselves.

	(Event.Emit): Emit the code for add/remove handlers.
	(Event.Define): Save the MethodBuilders for add/remove.

	* typemanager.cs: Use pair here too.

	* cs-parser.jay: Replaced use of DictionaryEntry for Pair because
	DictionaryEntry requires the first argument to be non-null.

	(enum_declaration): Compute full name for registering the
	enumeration.

	(delegate_declaration): Instead of using
	formal_parameter_list, use opt_formal_parameter_list as the list
	can be empty.

	* cs-tokenizer.cs (PropertyParsing): renamed from `properties'
	(EventParsing): New property that controls whether `add' and
	`remove' are returned as tokens or identifiers (for events);

svn path=/trunk/mcs/; revision=1645
2001-12-19 20:09:13 +00:00
Miguel de Icaza 1c448ef397 Add parsing test
svn path=/trunk/mcs/; revision=1644
2001-12-19 17:51:33 +00:00
Gaurav Vaish 25642c7ef3 2001-12-20 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs
   -- on the way. FontInfo completed

svn path=/trunk/mcs/; revision=1643
2001-12-19 17:34:12 +00:00
Ravi Pratap M d42981dba9 2001-12-19 Ravi Pratap <[email protected]>
* class.cs (Event.Define): Revamp use of EventBuilder completely. We now
	use MyEventBuilder only and let it wrap the real builder for us.

	(MyEventBuilder): Revamp constructor etc.

	Implement all operations that we perform on EventBuilder in precisely the same
	way here too.

	(FindMembers): Update to use the EventBuilder member.

	(Event.Emit): Update accordingly.

2001-12-18  Ravi Pratap  <[email protected]>

	* class.cs (MyEventBuilder.Set*): Chain to the underlying builder
	by calling the appropriate methods.

	(GetCustomAttributes): Make stubs as they cannot possibly do anything
	useful.

	(Event.Emit): Use MyEventBuilder everywhere - even to set attributes.

2001-12-17  Ravi Pratap  <[email protected]>

	* delegate.cs (Delegate.Populate): Check that the return type
	and various parameters types are indeed accessible.

	* class.cs (Constructor.Define): Same here.

	(Field.Define): Ditto.

	(Event.Define): Ditto.

	(Operator.Define): Check that the underlying Method defined itself
	correctly - so it's MethodBuilder should not be null.

	* delegate.cs (DelegateInvocation.DoResolve): Bale out if the type of the Instance
	expression happens to be null.

	* class.cs (MyEventBuilder): Workaround for SRE lameness. Implement various abstract
	members but as of now we don't seem to be able to do anything really useful with it.

	(FindMembers): Handle events separately by returning the MyEventBuilder of the event,
	not the EventBuilder.

svn path=/trunk/mcs/; revision=1642
2001-12-19 13:17:20 +00:00
Gaurav Vaish 5cdecdb151 2001-12-19 Gaurav Vaish <[email protected]>
* AUTHORS: Ha ha, having fun time.

* ListItem.cs  -- needed because of visibility issues(?)

svn path=/trunk/mcs/; revision=1641
2001-12-19 12:04:23 +00:00
Gaurav Vaish a25836b7b2 2001-12-19 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs

 --> Got over 100 erros, 50+ warning (with /nowarn:1595). Trying to remove them for first build. Completing uncompleted. Creating new ones.

svn path=/trunk/mcs/; revision=1640
2001-12-19 10:35:06 +00:00
Miguel de Icaza 34f8b5f28a remove debugging messages, fix buglette
svn path=/trunk/mcs/; revision=1639
2001-12-19 00:30:31 +00:00
Miguel de Icaza 2a0325c29f 2001-12-18 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Add support for defines.
	Add support for #if, #elif, #else, #endif

	(eval_var): evaluates a variable.
	(eval): stubbed for evaluating functions.

	* cs-parser.jay: Pass the defines information

	* driver.cs: Add --define command line option.

svn path=/trunk/mcs/; revision=1638
2001-12-19 00:23:39 +00:00
Miguel de Icaza b539ebfe54 Add test 60
svn path=/trunk/mcs/; revision=1637
2001-12-19 00:23:19 +00:00
Miguel de Icaza 6ae3f3630a 2001-12-18 Miguel de Icaza <[email protected]>
* decl.cs: Move MemberCore here.

	Make it the base class for DeclSpace.  This allows us to catch and
	report 108 and 109 for everything now.

	* class.cs (TypeContainer.Define): Extract all the members
	before populating and emit the warning 108 (new keyword required
	to override) instead of having each member implement this.

	(MemberCore.Define): New abstract method, we will be using this in
	the warning reporting engine in Populate.

svn path=/trunk/mcs/; revision=1636
2001-12-18 21:32:56 +00:00
Gaurav Vaish 67a987aeab 2001-12-19 Gaurav Vaish <[email protected]>
* UI/*.cs
* WebControls/*.cs

 -- Oops forgot to add these files in previous commit

svn path=/trunk/mcs/; revision=1635
2001-12-18 20:33:29 +00:00
Gaurav Vaish 9857157773 2001-12-19 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls/*.cs

  ---      Still working hard to make build succesfull. Lots of errors. Really, lots and lots. Not it's 6:00AM and I need to sleep :))

svn path=/trunk/mcs/; revision=1634
2001-12-18 20:29:05 +00:00
Miguel de Icaza 613137c6d5 Flush
svn path=/trunk/mono/; revision=1633
2001-12-18 18:54:17 +00:00
Miguel de Icaza 351c01c26e flush
svn path=/trunk/mono/; revision=1632
2001-12-18 18:42:30 +00:00
Miguel de Icaza da2e491a33 2001-12-18 Miguel de Icaza <[email protected]>
* class.cs (Method.Define): Allow the entry point to be in a
	specific class.

	* driver.cs: Rewrite the argument handler to clean it up a bit.

	* rootcontext.cs: Made it just an auxiliary namespace feature by
	making everything static.

	* driver.cs: Adapt code to use RootContext type name instead of
	instance variable.

	* delegate.cs: Remove RootContext argument.

	* class.cs: (Struct, TypeContainer, Class): Remove RootContext
	argument.

	* class.cs (Event.Define): The lookup can fail.


	* cs-tokenizer.cs: Begin implementation of pre-procesor.

	* expression.cs: Resolve the this instance before invoking the code.

svn path=/trunk/mcs/; revision=1631
2001-12-18 18:23:14 +00:00
Gaurav Vaish 9e4aedf6f3 2001-12-19 Gaurav Vaish <[email protected]>
* ChangeLog ---          changes for 2001-12-18

svn path=/trunk/mcs/; revision=1630
2001-12-18 16:15:40 +00:00
Gaurav Vaish 810ebf9a88 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls.cs  -- trying to make build. A nightmare!!

svn path=/trunk/mcs/; revision=1629
2001-12-18 15:34:40 +00:00
Paolo Molaro 413c75df07 Interface needed by the compiler.
svn path=/trunk/mcs/; revision=1628
2001-12-18 14:26:49 +00:00
Gaurav Vaish 7679c319e1 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web/*.cs      -- Looks like I need to take control of this now. Build is otherwise failing

svn path=/trunk/mcs/; revision=1627
2001-12-18 14:11:11 +00:00
Paolo Molaro c6ac579c5f Tue Dec 18 18:50:00 CET 2001 Paolo Molaro <[email protected]>
* class.c: fix mono_array_element_size() for objects.
	* class.h, class.c: add properties to MonoClass and load them
	at init time.
	* icall.c: check with isinst() when assigning a value to an array
	instead of requiring the classes to match exactly.
	Implemented icall for System.Type::GetType().
	Implemented icalls to get ParameterInfo, ProprtyInfo and info about
	enums. Handle bindingflags when looking for methods and fields.
	* metadata.h, metadata.c: implemented mono_metadata_properties_from_typedef()
	and mono_metadata_methods_from_property().
	* reflection.h, reflection.c: added structures for propreties,
	parameters and enums. Implemented mono_property_get_object() and
	mono_param_get_objects().


Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <[email protected]>

	* main.c: use mono_metadata_methods_from_property() and
	mono_metadata_properties_from_typedef() from metadata instead of
	custom code.


Tue Dec 18 18:48:50 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: make segv_handler static, handle runtime methods in stack
	trace.

svn path=/trunk/mono/; revision=1626
2001-12-18 14:06:49 +00:00
Paolo Molaro 371eeef7c0 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <[email protected]>
* MonoMethod.cs: implemented GetParameters().
	* MonoProperty.cs: PropertyInfo implementation.
	* ParameterInfo.cs: implemented.
	* PropertyInfo.cs: fixes.


Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <[email protected]>

	* Enum.cs: implemented GetValues(), GetNames(), GetName(),
	IsDefined(), GetUnderlyingType().
	* String.cs: fix one instance of Compare().
	* Type.cs: implemented GetProperties(), GetProperty().

svn path=/trunk/mcs/; revision=1625
2001-12-18 14:05:35 +00:00
Gaurav Vaish 5a7aa77e7e 2001-12-18 Gaurav Vaish <[email protected]>
* HttpRuntime.cs, DesignTimeParseData.cs -- Initial implementation. Can now build without any problem

svn path=/trunk/mcs/; revision=1624
2001-12-18 13:05:43 +00:00
Gaurav Vaish 735be5f733 2001-12-18 Gaurav Vaish <[email protected]>
::   Looks like I can build now... Yes!

svn path=/trunk/mcs/; revision=1623
2001-12-18 12:55:30 +00:00
Dick Porter a0ae1ea3e2 2001-12-18 Dick Porter <[email protected]>
* file-io.c: Use mono_string_to_utf16() instead of
	mono_string_chars()

	* object.c: Added mono_string_to_utf16(), which copies the non
	NULL-terminated MonoString into a new double-null-terminated
	buffer.

svn path=/trunk/mono/; revision=1622
2001-12-18 11:25:56 +00:00
Gaurav Vaish c6f16b7603 2001-12-18 Gaurav Vaish <[email protected]>
* HttpRuntime.cs      --- Initial Implementation. Only those that caused build failing for System.Web.UI.WebControls

svn path=/trunk/mcs/; revision=1621
2001-12-18 11:08:22 +00:00
Gaurav Vaish 8e7184eb07 2001-12-18 Gaurav Vaish <[email protected]>
* DayRenderEventArgs.cs   --- Done for DayRenderEventHandler in Calendar.cs

svn path=/trunk/mcs/; revision=1620
2001-12-18 09:30:40 +00:00
Dietmar Maurer 01fb3e5f74 new abstract classes
svn path=/trunk/mcs/; revision=1619
2001-12-18 09:15:00 +00:00
Paolo Molaro 6b79777d40 Tue Dec 18 13:18:32 CET 2001 Paolo Molaro <[email protected]>
* *.cs: fixed some of the compilation issues: missing
	using directives, typos.

svn path=/trunk/mcs/; revision=1618
2001-12-18 08:25:22 +00:00
Miguel de Icaza c5111b2ceb 2001-12-18 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Begin implementation of pre-procesor.

	* expression.cs: Resolve the this instance before invoking the code.

svn path=/trunk/mcs/; revision=1617
2001-12-18 04:04:55 +00:00
Miguel de Icaza c09ef08436 Make test-51 part of the default tests
svn path=/trunk/mcs/; revision=1616
2001-12-18 02:27:47 +00:00
Miguel de Icaza f3ba3ed51e Add test-56 and improve description of test
svn path=/trunk/mcs/; revision=1615
2001-12-18 00:22:00 +00:00
Miguel de Icaza 2de2ebe172 Small fix
svn path=/trunk/mcs/; revision=1614
2001-12-18 00:19:48 +00:00
Miguel de Icaza 5dc1e96389 2001-12-17 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add a production in element_access that allows
	the thing to become a "type" reference.  This way we can parse
	things like "(string [])" as a type.

	Note that this still does not handle the more complex rules of
	casts.

svn path=/trunk/mcs/; revision=1613
2001-12-17 20:21:10 +00:00
Gaurav Vaish d6cce0b82a 200-112-18 Gaurav Vaish <[email protected]>
* BaseDataList    --- Another class completed

svn path=/trunk/mcs/; revision=1612
2001-12-17 18:34:15 +00:00
Aaron Weber 2e9a549a33 001-12-17 Aaron Weber <[email protected]>
* doc/faq (Q): Question-by-question, line-by-line revision.

svn path=/trunk/mono/; revision=1611
2001-12-17 18:12:43 +00:00
Gaurav Vaish 4380b1b625 2001-12-17 Gaurav Vaish <[email protected]>
* TODO:  Properly made and added

svn path=/trunk/mcs/; revision=1610
2001-12-17 15:03:05 +00:00
Gaurav Vaish b1f21c4ee2 2001-12-17 Gaurav Vaish <[email protected]>
* UrlUtils.cs    -- Added IsRelativeUrl(...)
* AdRotator.cs   -- Completed

svn path=/trunk/mcs/; revision=1609
2001-12-17 15:02:06 +00:00
Miguel de Icaza 78710e506f 2001-12-16 Miguel de Icaza <[email protected]>
* x86.brg, jit.c: Split up the nodes that we used to share on
	CONV_OVF.  They were sharing the nodes because they are the same
	on 32-bit machines, but on 64-bit machines you need different
	code for them.

svn path=/trunk/mono/; revision=1608
2001-12-17 14:52:20 +00:00
Dietmar Maurer 6c34056d2b 2001-12-17 Dietmar Maurer <[email protected]>
* x86.brg: removed prerequisite that (tree->left->reg1 <
	tree->right->reg1) to make register allocation easier.

svn path=/trunk/mono/; revision=1607
2001-12-17 13:02:43 +00:00
Dietmar Maurer 43dd8fa3b2 (_wapi_unicode_to_utf8): only swap bytes on LE systems, remove bug
from previous commit.

svn path=/trunk/mono/; revision=1606
2001-12-17 12:50:15 +00:00
Gaurav Vaish 25fe8e6452 2001-12-17 Gaurav Vaish <[email protected]>
* UrlUtils    --- Implemented functions Combine and Reduce. Huh! What a relief
* ChangeLog   --- Informed others

svn path=/trunk/mcs/; revision=1605
2001-12-17 12:26:27 +00:00
Dietmar Maurer d989eddb44 2001-12-17 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_System_DateTime_GetNow): added EPOCH adjustment

svn path=/trunk/mono/; revision=1604
2001-12-17 10:43:07 +00:00
Dietmar Maurer 8b89461702 2001-12-16 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_handle_exception): new code to handle
	exceptions inside unmanaged code.

	* x86.brg: impl. SAVE_LMF, RESTORE_LMF, pass implizit valuetype
	address as first argument.

	* x86.brg: pass exceptions on the stack

	* jit.h (ISSTRUCT): new macro to check for real value types
	(return false for enum types).

	* unicode.c (_wapi_unicode_to_utf8): byteswap UTF16 strings before
	passing them to iconv

	* file-io.c: raise exceptions if handle is invalid.

svn path=/trunk/mono/; revision=1603
2001-12-17 06:50:02 +00:00
Miguel de Icaza 339c9e4864 2001-12-17 Miguel de Icaza <[email protected]>
* delegate.cs (Delegate.Populate): Register the delegage constructor builder here.

	* ecore.cs: (CopyNewMethods): new utility function used to
	assemble the list of methods from running FindMembers.

	(MemberLookup): Rework FindMembers so that

svn path=/trunk/mcs/; revision=1602
2001-12-17 05:08:30 +00:00
Gaurav Vaish 4626ddbcb8 2001-12-17 Gaurav Vaish <[email protected]>
* PropertyConverter   -- Made compilable. Minor errors corrected
* Utils               -- Minor error

svn path=/trunk/mcs/; revision=1601
2001-12-17 03:48:03 +00:00
Gaurav Vaish d4bc986e75 2001-12-17 Gaurav Vaish <[email protected]>
* UrlUtils   --- Removed ugly Console.WriteLine(...) used for debugging.

svn path=/trunk/mcs/; revision=1600
2001-12-17 03:20:09 +00:00
Gaurav Vaish 12bf315721 2001-12-17 Gaurav Vaish <[email protected]>
* BaseCompareValidator           ---  Completed. Finally!
* ChangeLog                      ---  Informed.

svn path=/trunk/mcs/; revision=1599
2001-12-17 03:13:19 +00:00
Miguel de Icaza a6d1f04409 2001-12-16 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer): Remove Delegates who fail to be
	defined.

	* delegate.cs (Populate): Verify that we dont get null return
	values.   TODO: Check for AsAccessible.

	* cs-parser.jay: Use basename to emit error 574 (destructor should
	have the same name as container class), not the full name.

svn path=/trunk/mcs/; revision=1598
2001-12-16 19:27:42 +00:00
Miguel de Icaza e1da975cc5 Add test for integer suffixes
svn path=/trunk/mcs/; revision=1597
2001-12-16 19:12:16 +00:00
Gaurav Vaish c94c62d896 2001-12-17 Gaurav Vaish <[email protected]>
* class.xml        ---- This week's update from my side.

svn path=/trunk/mono/; revision=1596
2001-12-16 18:42:42 +00:00
Gaurav Vaish b0cb454c4c 2001-12-17 Gaurav Vaish <[email protected]>
* DataList, IRepeatInfoUser, RepeaterCommandEventArgs, ValidationCompareOperator               ---- Corrected SILLY mistakes

* BaseCompareValidator    --- Almost done. Just left with AddAttributesToRender(...)

svn path=/trunk/mcs/; revision=1595
2001-12-16 18:26:37 +00:00
Gaurav Vaish 785acfc3e8 2001-12-17 Gaurav Vaish <[email protected]>
* ChangeLog    --- Informed about generated classes.

svn path=/trunk/mcs/; revision=1594
2001-12-16 18:20:32 +00:00
Gaurav Vaish ef8bc3930f 2001-12-17 Gaurav Vaish <[email protected]>
* PropertyConverter   -- I needed it. Completed
* Utils               -- Also needed this. Initial implementation

svn path=/trunk/mcs/; revision=1593
2001-12-16 18:17:35 +00:00
Miguel de Icaza 15b98547ac 2001-12-16 Miguel de Icaza <[email protected]>
* DataSourceHelper.cs, UrlUtils.cs: Set the correct namespace.

svn path=/trunk/mcs/; revision=1592
2001-12-16 16:35:23 +00:00
Gaurav Vaish 65596a386e 2001-12-17 Gaurav Vaish <[email protected]>
* RepeaterItem  --- Initial DUMMY implementation

* AdRotator - Minor

* BaseCompareValidator -- Large part done
* ListControl -- Minor error

* RepeaterCommandEventArgs -- Modified

svn path=/trunk/mcs/; revision=1591
2001-12-16 15:28:23 +00:00
Gaurav Vaish cf7861fac4 2001-12-16 Gaurav Vaish <[email protected]>
* CommandEventHandler, DataGridCommandEventHandler, DataGridItemEventHandler

          --- Added some delegates.

svn path=/trunk/mcs/; revision=1590
2001-12-16 09:44:18 +00:00
Miguel de Icaza 75b15060b9 2001-12-15 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.DoResolve): We need to do the
	argument resolution *always*.

	* decl.cs: Make this hold the namespace.  Hold the root context as
	well.
	(LookupType): Move here.

	* enum.cs, class.cs, interface.cs: Adapt to new hierarchy.

	* location.cs (Row, Name): Fixed the code, it was always returning
	references to the first file.

	* interface.cs: Register properties defined through interfaces.

	* driver.cs: Add support for globbing on the command line

	* class.cs (Field): Make it derive from MemberCore as well.
	(Event): ditto.

svn path=/trunk/mcs/; revision=1589
2001-12-16 00:33:35 +00:00
Miguel de Icaza a84ad4c896 Flush
svn path=/trunk/mcs/; revision=1588
2001-12-16 00:28:14 +00:00
Miguel de Icaza aa505e3ab6 update tests
svn path=/trunk/mcs/; revision=1587
2001-12-16 00:28:03 +00:00
Ravi Pratap M f8f8910083 2001-12-15 Ravi Pratap <[email protected]>
* class.cs (Event::Define): Check that the type of the event is a delegate
	type else flag error #66.

	Also, re-use TypeContainer.MethodModifiersValid here too as the rules are the
	same.

	* attribute.cs (DefinePInvokeMethod): Handle named arguments and process
	values of EntryPoint, CharSet etc etc.

	Pass in the values to TypeBuilder.DefinePInvokeMethod; determine Type etc neatly.

	* class.cs (FindMembers): If a method is in transit, its MethodBuilder will
	be null and we should ignore this. I am not sure if this is really clean. Apparently,
	there's no way of avoiding hitting this because the call is coming from SimpleName.DoResolve,
	which needs this to do its work.

	* ../errors/cs0066.cs : Add.

svn path=/trunk/mcs/; revision=1586
2001-12-16 00:27:44 +00:00
Ravi Pratap M 3d91144ae3 Add as we now catch this error.
svn path=/trunk/mcs/; revision=1585
2001-12-16 00:14:23 +00:00
Ravi Pratap M 3fa3e1f909 2001-12-15 Ravi Pratap <[email protected]>
* makefile : Include test-52.cs in the suite, it works fine!

	(NO_PASS): It's test-51 which doesn't seem to pass.

	* test-50.cs : Augment some more to set named arguments on
	the DllImport attribute.

	* test-57.cs : Add. This tests support for Events and does not
	pass yet.

svn path=/trunk/mcs/; revision=1584
2001-12-16 00:13:28 +00:00
Mike Kestner 39b93c7858 Some class status updates.
svn path=/trunk/mono/; revision=1583
2001-12-15 19:59:08 +00:00
Mike Kestner 75f9d29d89 2001-12-15 Mike Kestner <[email protected]>
* Rectangle.cs : Add a doc comment.
	* RectangleF.cs : New struct implementation.

svn path=/trunk/mcs/; revision=1582
2001-12-15 19:54:11 +00:00
Mike Kestner 6f66b71a03 2001-12-15 Mike Kestner <[email protected]>
Updated <c> statements
	* Rectangle.cs : New struct implementation.

svn path=/trunk/mcs/; revision=1581
2001-12-15 18:40:04 +00:00
Gaurav Vaish 3fb669e97d 2001-12-15 Gaurav Vaish <[email protected]>
* DataListCommandEventArgs  -- Completed
* CompareValidator          -- Partial Implemetation

* ChangeLog                 -- Updated

svn path=/trunk/mcs/; revision=1580
2001-12-15 13:52:11 +00:00
Gaurav Vaish 6ea7425d71 2001-12-15 Gaurav Vaish <[email protected]>
* AdCreatedEventArgs.cs   - Comments

* BaseCompareValidator.cs - Some undocumented methods
* CheckBoxList.cs         - Comments
* CommandEventArgs, DataGridCommandEventArgs, RepeaterCommandEventArgs -- Completed


* ChangeLog - Updated

svn path=/trunk/mcs/; revision=1579
2001-12-15 13:49:31 +00:00
Miguel de Icaza 8369df8451 More refactoring work
svn path=/trunk/mcs/; revision=1578
2001-12-15 04:32:39 +00:00
Miguel de Icaza 6855196d82 improve slightly test-31
svn path=/trunk/mcs/; revision=1577
2001-12-14 21:05:53 +00:00
Miguel de Icaza c226a661e2 2001-12-14 Miguel de Icaza <[email protected]>
* typemanager.cs: (GetPropertyGetter, GetPropertyGetter): New
	helper functions.

	* class.cs: (MethodSignature.MethodSignature): Removed hack that
	clears out the parameters field.
	(MemberSignatureCompare): Cleanup

	(MemberCore): New base class used to share code between MethodCore
	and Property.

	(RegisterRequiredImplementations) BindingFlags.Public requires
	either BindingFlags.Instace or Static.  Use instance here.

	* parameter.cs (GetParameterInfo): Return an empty array instead
	of null on error.

svn path=/trunk/mcs/; revision=1576
2001-12-14 21:05:22 +00:00
Miguel de Icaza ddc3492448 Flush changes from work, minimal
svn path=/trunk/mcs/; revision=1575
2001-12-14 14:25:07 +00:00
Ravi Pratap M ce7cc5ef8a ArrayCreation::MakeByteBlob): Handle floats and doubles.
* makefile: Pass in /unsafe.

svn path=/trunk/mcs/; revision=1574
2001-12-14 13:59:46 +00:00
Ravi Pratap M a850c623e2 * test-45.cs : Update for float and double initialization.
svn path=/trunk/mcs/; revision=1573
2001-12-14 13:52:49 +00:00
Miguel de Icaza dccd7f6565 2001-12-14 Miguel de Icaza <[email protected]>
* parameter.cs (GetParameterInfo): return a zero-sized array.

	* class.cs (TypeContainer.MethodModifiersValid): Move all the
	method modifier validation to the typecontainer so we can reuse
	this on properties.

	(MethodCore.ParameterTypes): return an empty sized array of types.

	(Property.Define): Test property modifier validity.

	Add tests for sealed/override too.

	(Method.Emit): abstract or extern methods have no bodies.

svn path=/trunk/mcs/; revision=1572
2001-12-14 13:19:55 +00:00
Ravi Pratap M 737cdf452a avi Pratap <[email protected]>
* class.cs (Method.IsPInvoke): Get rid of it as it is an expensive
	thing.

	(Method::Define, ::Emit): Modify accordingly.

	* expression.cs (Invocation::OverloadResolve): Handle error # 121.

svn path=/trunk/mcs/; revision=1571
2001-12-14 12:36:18 +00:00
Miguel de Icaza 8fb7e2d7d5 2001-12-13 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.Define): Correctly define explicit
	method implementations (they require the full interface name plus
	the method name).

	* typemanager.cs: Deply the PtrHashtable here and stop using the
	lame keys.  Things work so much better.

svn path=/trunk/mcs/; revision=1570
2001-12-13 23:37:01 +00:00
Miguel de Icaza 3729931a23 3 more tests pass now
svn path=/trunk/mcs/; revision=1569
2001-12-13 23:32:13 +00:00
Miguel de Icaza 83582dc377 2001-12-13 Miguel de Icaza <[email protected]>
* support.cs (PtrHashtable): A hashtable that avoid comparing with
	the object stupid Equals method (because, that like fails all over
	the place).  We still do not use it.

	* class.cs (TypeContainer.SetRequiredInterface,
	TypeContainer.RequireMethods): Killed these two routines and moved
	all the functionality to RegisterRequiredImplementations.

	(TypeContainer.RegisterRequiredImplementations): This routine now
	registers all the implementations required in an array for the
	interfaces and abstract methods.  We use an array of structures
	which can be computed ahead of time to reduce memory usage and we
	also assume that lookups are cheap as most classes will not
	implement too many interfaces.

	We also avoid creating too many MethodSignatures.

	(TypeContainer.IsInterfaceMethod): Update and optionally does not
	clear the "pending" bit if we find that there are problems with
	the declaration.

	(TypeContainer.VerifyPendingMethods): Update to report errors of
	methods that look like implementations but are not.

	(TypeContainer.Define): Add support for explicit interface method
	implementation.

svn path=/trunk/mcs/; revision=1568
2001-12-13 23:10:24 +00:00
Paolo Molaro 5a50d5ab47 Thu Dec 13 20:27:08 CET 2001 Paolo Molaro <[email protected]>
* assembly.c: yet another check for mscorlib.
	* class.c, class.h: load nesting info for classes.
	* icall.c: many new functions to support the Reflection classes.
	* metadata.c, metadata.h: mono_metadata_nested_in_typedef() added.
	* reflection.h, reflection.c: mono_image_create_token(),
	mono_assembly_get_object(), mono_type_get_object(),
	mono_method_get_object(), mono_field_get_object(): methods to return
	objects that parallel the C representation of assemblies, types,
	methods, fields.


Thu Dec 13 20:24:28 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: correctly handle exceptions generated in C code.
	Install an handler for SIGSEGV. Bare-bones profiler and hook for the
	verifier.

svn path=/trunk/mono/; revision=1567
2001-12-13 15:57:58 +00:00
Paolo Molaro 6236225a86 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <[email protected]>
* Array.cs: implement CopyTo ().
	* Char.cs: implement ToString ().
	* Exception.cs: bugfix.
	* Int32.cs: bare-bones Parse ().
	* MonoType.cs: query the needed info with an internalcall.
	* String.cs: speedups, bugfixes, reduced copies.
	* Type.cs: added missing fields. Implemented many of the Is*
	properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
	GetFields(), FindMembers(), ToString().

Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: implemented AddRange(), CopyTo().


Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <[email protected]>

	* FieldInfo.cs: implemented some Is* propeties.
	* MethodBase.cs: fixed attribute accessors.
	* MonoField.cs: runtime object to represent a field.
	* MonoMethod.cs: runtime object to represent a method.
	* AssemblyBuilder.cs: GetToken() methods to get tokens for
	strings, fields, methods...
	* ILGenerator.cs: handle tokens for methods.

Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <[email protected]>

	* DllImportAttribute.cs: added.
	* MethodImplOptions.cs: removed: this is already in CompilerServices.

svn path=/trunk/mcs/; revision=1566
2001-12-13 15:57:22 +00:00
Paolo Molaro e1acbe9636 Thu Dec 13 15:56:53 CET 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: x86_mov_memindex_imm() added.

svn path=/trunk/mono/; revision=1565
2001-12-13 11:03:21 +00:00
Miguel de Icaza 462587a1b5 2001-12-12 Miguel de Icaza <[email protected]>
* typemanager.cs: Keep track of the parameters here instead of
	being a feature of the TypeContainer.

	* class.cs: Drop the registration of parameters here, as
	InterfaceMethods are also interface declarations.

	* delegate.cs: Register methods with the TypeManager not only with
	the TypeContainer.  This code was buggy.

	* interface.cs: Full registation here.

svn path=/trunk/mcs/; revision=1564
2001-12-12 23:53:12 +00:00
Miguel de Icaza 77ab22144d More bugs
svn path=/trunk/mcs/; revision=1563
2001-12-12 23:21:15 +00:00
Miguel de Icaza 1311821095 Add error cs0121
svn path=/trunk/mcs/; revision=1562
2001-12-12 23:20:55 +00:00
Dick Porter 5caa0bd00f Fixed 32 bit -> 64 bit arithmetic problem found by Paolo
svn path=/trunk/mono/; revision=1561
2001-12-12 13:50:07 +00:00
Miguel de Icaza 1fe21e7cee Small bug fix introduced in previous commit
svn path=/trunk/mcs/; revision=1560
2001-12-12 00:53:25 +00:00
Miguel de Icaza 666ddd999b Flush going home, nothing important
svn path=/trunk/mcs/; revision=1558
2001-12-11 22:20:20 +00:00
Dick Porter d5c948c036 2001-12-11 Dick Porter <[email protected]>
* Linux.cs: IO implemented with file handles with internal calls,
	rather than casting file descriptors for C library p/invokes.
	Implemented Get/Set Creation/LastAccess/LastWrite TimeFile
	functions.

2001-12-11  Dick Porter  <[email protected]>

	* FileStream.cs: Use handles rather than casting file descriptors.
	Added Handle property.

2001-12-11  Dick Porter  <[email protected]>

	* DateTime.cs: Implemented FromFileTime() and ToFileTime()

	* Console.cs: Use handles rather than casting file descriptors

2001-12-11  Dick Porter  <[email protected]>

	* WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
	internal calls.

svn path=/trunk/mcs/; revision=1557
2001-12-11 16:59:43 +00:00
Dick Porter a942f681db 2001-12-11 Dick Porter <[email protected]>
* icall.c:
	* file-io.c: Internal calls for file IO.

2001-12-11  Dick Porter  <[email protected]>

	* io.c: Implement DeleteFile(), GetFileTime(), SetFileTime() and
	FileTimeToSystemTime().

	* unicode.c (unicode_len): Nasty way of finding length of unicode
	string with embedded NULLs (counts until two NULLs together).

svn path=/trunk/mono/; revision=1556
2001-12-11 16:31:34 +00:00
Duncan Mak 45f88374bc 2001-12-11 Duncan Mak <[email protected]>
* ChangeLog: Added "System.Resources" to the exclude list.

svn path=/trunk/mcs/; revision=1555
2001-12-11 15:05:37 +00:00
Duncan Mak 4277468058 2001-12-11 Duncan Mak <[email protected]>
* Checked in to CVS.

svn path=/trunk/mcs/; revision=1554
2001-12-11 15:04:20 +00:00
Dietmar Maurer 7aa62f1087 etmar Maurer <[email protected]>
* x86.brg: use position indepentent code if possible.

	* x86.brg (EMIT_COND_EXCEPTION): new macro.

	* emit-x86.c (mono_emit_cfg): impl. variable code buffer size

	* jit.c (mono_analyze_flow): use g_malloc0 o allocate large bcinfo
	blocks.
	(mono_analyze_flow): use g_malloc0 o allocate large bblocks array.

svn path=/trunk/mono/; revision=1553
2001-12-11 11:16:20 +00:00
Miguel de Icaza f60217decb Add bug
svn path=/trunk/mcs/; revision=1552
2001-12-11 00:17:09 +00:00
Dietmar Maurer 467708b7f3 added a new test that fails with mint
svn path=/trunk/mono/; revision=1551
2001-12-10 11:57:47 +00:00
Dietmar Maurer 882366af0d 2001-12-10 Dietmar Maurer <[email protected]>
* x86.brg (stmt): added opt. for STIND_R4/STIND_R8

svn path=/trunk/mono/; revision=1550
2001-12-10 09:11:55 +00:00
Miguel de Icaza 5ba31c7e3a More errors that we catch
svn path=/trunk/mcs/; revision=1549
2001-12-10 01:25:29 +00:00
Miguel de Icaza a22d7c9dfb 2001-12-09 Miguel de Icaza <[email protected]>
* statement.cs (Return.Emit): Report error 157 if the user
	attempts to return from a finally block.

	(Return.Emit): Instead of emitting a return, jump to the end of
	the function.

	* codegen.cs (EmitContext): ReturnValue, ReturnLabel: new
	LocalBuilder to store the result of the function.  ReturnLabel is
	the target where we jump.

svn path=/trunk/mcs/; revision=1548
2001-12-10 01:24:16 +00:00
Radek Doulik c8f0f220a9 2001-12-09 Radek Doulik <[email protected]>
* makefile (TEST_SOURCES): added test-55 for using alias directive

svn path=/trunk/mcs/; revision=1547
2001-12-09 15:29:27 +00:00
Radek Doulik 6a10ea4531 2001-12-09 Radek Doulik <[email protected]>
* cs-parser.jay: remember alias in current namespace

	* ecore.cs (SimpleName::DoResolve): use aliases for types or
	namespaces

	* class.cs (LookupAlias): lookup alias in my_namespace

	* namespace.cs (UsingAlias): add alias, namespace_or_type pair to
	aliases hashtable
	(LookupAlias): lookup alias in this and if needed in parent
	namespaces

svn path=/trunk/mcs/; revision=1546
2001-12-09 15:28:19 +00:00
Miguel de Icaza 96c5fedf11 Add more tests, update test-53
svn path=/trunk/mcs/; revision=1545
2001-12-08 22:48:43 +00:00
Miguel de Icaza 0b0e2fa27c 2001-12-08 Miguel de Icaza <[email protected]>
* support.cs:

	* rootcontext.cs: (ModuleBuilder) Made static, first step into
	making things static.  I need this to avoid passing the
	TypeContainer when calling ParameterType.

	* support.cs (InternalParameters.ParameterType): Remove ugly hack
	that did string manipulation to compute the type and then call
	GetType.  Use Parameter.ParameterType instead.

	* cs-tokenizer.cs: Consume the suffix for floating values.

	* expression.cs (ParameterReference): figure out whether this is a
	reference parameter or not.  Kill an extra variable by computing
	the arg_idx during emission.

	* parameter.cs (Parameters.GetParameterInfo): New overloaded
	function that returns whether a parameter is an out/ref value or not.

	(Parameter.ParameterType): The type of the parameter (base,
	without ref/out applied).

	(Parameter.Resolve): Perform resolution here.
	(Parameter.ExternalType): The full type (with ref/out applied).

	* statement.cs (Using.Emit, Using.EmitExpression): Implement
	support for expressions on the using statement.

2001-12-07  Miguel de Icaza  <[email protected]>

	* statement.cs (Using.EmitLocalVariableDecls): Split the
	localvariable handling of the using statement.

	(Block.EmitMeta): Keep track of variable count across blocks.  We
	were reusing slots on separate branches of blocks.

	(Try.Emit): Emit the general code block, we were not emitting it.

	Check the type of the declaration to be an IDisposable or
	something that can be implicity converted to it.

	Emit conversions if required.

	* ecore.cs (EmptyExpression): New utility class.
	(Expression.ImplicitConversionExists): New utility function.

svn path=/trunk/mcs/; revision=1544
2001-12-08 22:45:22 +00:00
Sergey Chaban 69993dfb8f * Ignoring <PrivateImplementationDetails>;
* Checking for more attributes when comparing types;

svn path=/trunk/mcs/; revision=1543
2001-12-08 15:21:31 +00:00
Dietmar Maurer 65f223f0f5 use x86_inc/x86_dec, bug fix in getNow()
svn path=/trunk/mono/; revision=1542
2001-12-08 05:06:06 +00:00
Dietmar Maurer e47167267a *** empty log message ***
svn path=/trunk/mono/; revision=1540
2001-12-07 13:01:36 +00:00
Dietmar Maurer adfb49408e etmar Maurer <[email protected]>
* jit.c (mono_allocate_intvar): bug fix.

	* emit-x86.c (get_unbox_trampoline): impl.

	* jit.c (mono_analyze_stack): impl STOBJ, LEAVE

	* x86.brg: raise more exceptions.

svn path=/trunk/mono/; revision=1539
2001-12-07 12:09:30 +00:00
Nick Drochak 9e8d3ee5bb 2001-12-08 Nick Drochak <[email protected]>
* Byte.cs (Parse): Start implementation. Parse(string) works, but
	now we need to handle other formats

svn path=/trunk/mcs/; revision=1538
2001-12-07 12:05:28 +00:00
Nick Drochak 762b6d3a7c 2001-12-08 Nick Drochak <[email protected]>
* ByteTest.cs: Added messages to Assert()'s to find out which one was failing.

svn path=/trunk/mcs/; revision=1537
2001-12-07 11:51:37 +00:00
Nick Drochak 59e880f69b 2001-12-07 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* System.XML.build: Add dependancy on linux target to test target.
	Need to have the dll before we can test it, right?  Plus it encourages
	others to try 'make test'.

svn path=/trunk/mcs/; revision=1536
2001-12-07 10:53:20 +00:00
Nick Drochak 1807f5ce13 2001-12-07 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* System.build: Add dependancy on linux target to test target. Need to
	have the dll before we can test it, right?  Plus it encourages others
	to try 'make test'.

svn path=/trunk/mcs/; revision=1535
2001-12-07 10:50:26 +00:00
Nick Drochak 07438478f1 2001-12-05 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* corlib.build: Add dependancy on linux target to test target. Need to have the dll before we can test it, right?  Plus it encourages others to try 'make test'.

svn path=/trunk/mcs/; revision=1534
2001-12-07 10:42:03 +00:00
Miguel de Icaza 5d7a32dd97 Extra tests
svn path=/trunk/mcs/; revision=1533
2001-12-07 04:56:12 +00:00
Miguel de Icaza a835fd65bb 2001-12-06 Miguel de Icaza <[email protected]>
* statement.cs (Using): Implement.

	* expression.cs (LocalVariableReference): Support read only variables.

	* statement.cs: Remove the explicit emit for the Leave opcode.
	(VariableInfo): Add a readonly field.

svn path=/trunk/mcs/; revision=1532
2001-12-07 04:52:18 +00:00
Miguel de Icaza d8c00f792a 2001-12-06 Miguel de Icaza <[email protected]>
* statement.cs: Remove the explicit emit for the Leave opcode.

svn path=/trunk/mcs/; revision=1531
2001-12-06 14:06:50 +00:00
Paolo Molaro 088a2311f2 Thu Dec 6 16:21:30 CET 2001 Paolo Molaro <[email protected]>
* tabledefs.h: missing FileAttributes.
	* verify.h, verify.c: use is_valid_string () to simplify and check for
	valid strings more correctly. Fix warnings and speeling.
	Check more tables: Filed, File, ModuleRef, StandAloneSig.
	Check code: branches, maxstack, method calls.

svn path=/trunk/mono/; revision=1530
2001-12-06 11:32:32 +00:00
Dietmar Maurer 9d5692b50a 2001-12-06 Dietmar Maurer <[email protected]>
* makefile: added new target test-jit

	* Double.cs: added the parse method from Bob Smith

	* DateTime.cs: added an icall to GetNow()

svn path=/trunk/mcs/; revision=1529
2001-12-06 05:00:39 +00:00
Miguel de Icaza efa05b473a 2001-12-06 Miguel de Icaza <[email protected]>
* jit.c (mono_analyze_stack), x86.brg: Implement CONV.OVF.I1,
	CONV.OVF.I4, CONV.OVF.I1.UN, CONV.OVF.U1, CONV.OVF.U1.UN,
	CONV.OVF.I2.UN, CONV.OVF.I8.UN

svn path=/trunk/mono/; revision=1528
2001-12-06 04:02:50 +00:00
Miguel de Icaza 125f9844ac 2001-12-05 Miguel de Icaza <[email protected]>
* ecore.cs (ConvCast): new class used to encapsulate the various
	explicit integer conversions that works in both checked and
	unchecked contexts.

	(Expression.ConvertNumericExplicit): Use new ConvCast class to
	properly generate the overflow opcodes.

2001-12-04  Miguel de Icaza  <[email protected]>

	* statement.cs: The correct type for the EmptyExpression is the

svn path=/trunk/mcs/; revision=1527
2001-12-05 13:11:27 +00:00
Ravi Pratap M 1f4766e7da 2001-12-04 Ravi Pratap <[email protected]>
* class.cs (Method::Define): Handle PInvoke methods specially
	by using DefinePInvokeMethod instead of the usual one.

	* attribute.cs (DefinePInvokeMethod): Implement as this is what is called
	above to do the task of extracting information and defining the method.

svn path=/trunk/mcs/; revision=1525
2001-12-04 17:33:03 +00:00
Ravi Pratap M 341b4aee9d 2001-12-04 Ravi Pratap <[email protected]>
* makefile : Update to include test 50 as it now passes.

svn path=/trunk/mcs/; revision=1524
2001-12-04 17:31:15 +00:00
Dietmar Maurer 730d592d39 2001-12-04 Dietmar Maurer <[email protected]>
* x86.brg: impl. UNBOX, NEWSTRUCT, removed VTYPE, bug fixes,
	removed the locaddr nonterminal, reimplemented value types

	* jit.c: reimplemented value type support, better support for
	enumeration types.

	* object.c (mono_object_allocate): removed static, so that the jit
	can allocate value types.

	* icall.c (ves_icall_System_DateTime_GetNow): impl.

svn path=/trunk/mono/; revision=1523
2001-12-04 15:59:27 +00:00
Ravi Pratap M cbf8773b48 2001-12-04 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::EmitStaticInitializers): Get rid
	of the condition for string type.

	(Emit): Move that here.

	(ArrayCreation::CheckIndices): Keep string literals in their expression
	form.

	(EmitDynamicInitializers): Handle strings appropriately.

svn path=/trunk/mcs/; revision=1522
2001-12-04 14:52:10 +00:00
Ravi Pratap M 45f721076e 2001-12-04 Ravi Pratap <[email protected]>
* test-45.cs : Update for string initialization tests.

svn path=/trunk/mcs/; revision=1521
2001-12-04 14:43:21 +00:00
Miguel de Icaza b2a7604a92 Fix mail server url
svn path=/trunk/mono/; revision=1520
2001-12-04 14:31:59 +00:00
Miguel de Icaza 8b64444135 2001-12-03 Miguel de Icaza <[email protected]>
* x86.brg, jit.c: Implement conv.ovf.u4, conv.ovf.u2, conv.ovf.i2,
	conv.ovf.u8

svn path=/trunk/mono/; revision=1519
2001-12-04 07:31:31 +00:00
Miguel de Icaza 9134ba5446 2001-12-04 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext): Replace multiple variables with a
	single pointer to the current Switch statement.

	* statement.cs (GotoDefault, Switch): Adjust to cleaned up
	EmitContext.

svn path=/trunk/mcs/; revision=1518
2001-12-04 02:32:08 +00:00
Miguel de Icaza fda35b19ad New error test files
svn path=/trunk/mcs/; revision=1517
2001-12-04 00:55:13 +00:00
Miguel de Icaza 9b240f5e20 Add new tests
svn path=/trunk/mcs/; revision=1516
2001-12-04 00:54:29 +00:00
Miguel de Icaza c736b252ac 2001-12-03 Miguel de Icaza <[email protected]>
* statement.cs

	* statement.cs (GotoDefault), cs-parser.jay: Implement `goto
	default'.

	(Foreach.Emit): Foreach on arrays was not setting
	up the loop variables (for break/continue).

	(GotoCase): Semi-implented.

svn path=/trunk/mcs/; revision=1515
2001-12-04 00:28:32 +00:00
Ravi Pratap M 8744bcae99 2001-12-03 Ravi Pratap <[email protected]>
* attribute.cs (CheckAttribute): Handle system attributes by using
	Attribute.GetAttributes to examine information we need.

	(GetValidPlaces): Same here.

	* class.cs (Method::Define): Catch invalid use of extern and abstract together.

	* typemanager.cs (dllimport_type): Core type for System.DllImportAttribute.

	* class.cs (Method.IsPinvoke): Used to determine if we are a PInvoke method.

	(Method::Define): Set appropriate flags if we have a DllImport attribute.

	(Method::Emit): Handle the case when we are a PInvoke method.

svn path=/trunk/mcs/; revision=1514
2001-12-03 17:47:44 +00:00
Ravi Pratap M 536c633fb8 2001-12-03 Ravi Pratap <[email protected]>
* test-50.cs : Add. This does not pass yet.

svn path=/trunk/mcs/; revision=1513
2001-12-03 17:42:48 +00:00
Miguel de Icaza c1ccc6e6a7 update
svn path=/trunk/mono/; revision=1512
2001-12-03 14:37:34 +00:00
Miguel de Icaza 35f1ec6c8c 2001-12-03 Miguel de Icaza <[email protected]>
* expression.cs: Use ResolveWithSimpleName on compound names.

svn path=/trunk/mcs/; revision=1511
2001-12-03 14:02:25 +00:00
Paolo Molaro a5d359c2eb Dum de dum, missing files for previous commit.
svn path=/trunk/mono/; revision=1510
2001-12-03 12:30:59 +00:00
Paolo Molaro c30bdea6d6 Mon Dec 3 17:02:01 CET 2001 Paolo Molaro <[email protected]>
* class.c: init enum types right away and register the
	token->MonoClass map in mono_class_create_from_typedef ().
	* verify.h, verify.c: first cut of the verifier.
	* pedump.c: add --verify switch to verify metadata tables.
	* tabledefs.h: add some missing enums.


Mon Dec 3 17:16:36 CET 2001 Paolo Molaro <[email protected]>

	* jit.c: call mono_init() after registering internal calls.


Mon Dec 3 17:15:44 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: call mono_init() after registering internal calls.

svn path=/trunk/mono/; revision=1509
2001-12-03 12:23:29 +00:00
Gaurav Vaish f41ee8dda3 2001-12-02 Gaurav Vaish <[email protected]>
* ChangeLog  --- Updated for CheckBoxList

svn path=/trunk/mcs/; revision=1508
2001-12-02 17:16:42 +00:00
Gaurav Vaish e4baacc8ba 2001-12-02 Gaurav Vaish <[email protected]>
* Minor changes in comments

svn path=/trunk/mcs/; revision=1507
2001-12-02 17:14:11 +00:00
Gaurav Vaish 6ef8607b21 2001-12-02 Gaurav Vaish <[email protected]>
* ListControl.cs     --- Done

svn path=/trunk/mcs/; revision=1506
2001-12-02 17:13:20 +00:00
Gaurav Vaish 5291ad4823 2001-12-02 Gaurav Vaish <[email protected]>
* CheckBoxList.cs   --- Almost done. Except for Render-ing

svn path=/trunk/mcs/; revision=1505
2001-12-02 17:12:40 +00:00
Ravi Pratap M 9035db0b68 2001-12-02 Ravi Pratap <[email protected]>
* constant.cs (EmitConstant): Make sure we resolve the associated expression
	before trying to reduce it.

	* typemanager.cs (RegisterConstant, LookupConstant): Implement.

	* constant.cs (LookupConstantValue): Implement.

	(EmitConstant): Use the above in emitting the constant.

	* expression.cs (MemberAccess::ResolveMemberAccess): Handle constants
	that are user-defined by doing a LookupConstantValue on them.

	(SimpleName::DoResolve): When we have a FieldExpr, cope with constants
	too, like above.

svn path=/trunk/mcs/; revision=1504
2001-12-02 10:07:06 +00:00
Ravi Pratap M a4295440e1 2001-12-02 Ravi Pratap <[email protected]>
* test-40.cs : Update to now test recursive definitions with
	constants hooked up.

svn path=/trunk/mcs/; revision=1503
2001-12-02 10:04:15 +00:00
Miguel de Icaza dfff35163c Add AnonCVS
svn path=/trunk/mono/; revision=1502
2001-12-01 21:50:32 +00:00
Ravi Pratap M b8c04460bc Make the recursive definitions more roundabout
svn path=/trunk/mcs/; revision=1501
2001-12-01 17:47:53 +00:00
Miguel de Icaza b53421229b 2001-11-29 Miguel de Icaza <[email protected]>
* expression.cs (BaseAccess, BaseIndexer): Also split this out.

	(BaseAccess.DoResolve): Implement.

	(MemberAccess.DoResolve): Split this routine into a
	ResolveMemberAccess routine that can be used independently

2001-11-28  Miguel de Icaza  <[email protected]>

	* expression.cs (Probe, Is, As): Split Probe in two classes Is and
	As that share bits of the implementation.  Is returns a boolean,
	while As returns the Type that is being probbed.

svn path=/trunk/mcs/; revision=1500
2001-12-01 16:25:08 +00:00
Ravi Pratap M e2fdf31a2a 2001-12-01 Ravi Pratap <[email protected]>
* enum.cs (LookupEnumValue): Re-write various bits, return an object value
	instead of a Literal - much easier.

	(EnumInTransit): Remove - utterly useless :-)

	(Populate): Re-write bits - remove duplicate code etc. The code is much neater now.

	* expression.cs (MemberLookup): Cope with user-defined enums when they are in transit.

	* enum.cs (LookupEnumValue): Auto-compute next values by going down the dependency
	chain when we have no associated expression.

2001-11-30  Ravi Pratap  <[email protected]>

	* constant.cs (Define): Use Location while reporting the errror.

	Also emit a warning when 'new' is used and there is no inherited
	member to hide.

	* enum.cs (EnumInTransit): Used to tell if an enum type is in the process of being
	populated.

	(LookupEnumValue): Implement to lookup an enum member's value and define it
	if necessary.

	(Populate): Re-write accordingly to use the above routine.

svn path=/trunk/mcs/; revision=1498
2001-12-01 13:55:44 +00:00
Ravi Pratap M fcc0569e6a 2001-12-01 Ravi Pratap <[email protected]>
* test-40.cs : Update to do recursive enumeration definition.

svn path=/trunk/mcs/; revision=1497
2001-12-01 13:53:53 +00:00
Gaurav Vaish 02473cec3d 2001-12-01 Gaurav Vaish <[email protected]>
* ListControl.cs       --- Finished it. And also understood what DataBinding is all about. :)))

svn path=/trunk/mcs/; revision=1496
2001-12-01 05:15:43 +00:00
Gaurav Vaish dee208d59f 2001-12-01 Gaurav Vaish <[email protected]>
* ChangeLog -- ListControl Finished man!

svn path=/trunk/mcs/; revision=1495
2001-12-01 05:14:58 +00:00
Gaurav Vaish 5d79c2e260 2001-12-01 Gaurav Vaish <[email protected]>
* ListControl.cs  --- Pretty descent. Looks complete.

svn path=/trunk/mcs/; revision=1494
2001-12-01 04:56:03 +00:00
Dietmar Maurer f035056087 2001-11-30 Dietmar Maurer <[email protected]>
* emit-x86.c (tree_preallocate_regs): improved register allocation

	* x86.brg: impl. ISINST, CASTCLASS

	* class.c (mono_install_runtime_class_init): impl.
	(mono_class_init): renamed mono_class_metadata_init to
	mono_class_init, also removed the metadata_inited flag

	* object.c (mono_object_isinst): use faster algorithm

svn path=/trunk/mono/; revision=1493
2001-11-30 12:39:30 +00:00
Radek Doulik 28517f3513 2001-11-30 Radek Doulik <[email protected]>
* configure.in: remove ACCESS_UNALIGNED="no" from ppc

svn path=/trunk/mono/; revision=1492
2001-11-30 11:17:31 +00:00
Radek Doulik 5324a1c3f0 reverted my last changes, fixed unaligned access to make it work
2001-11-30  Radek Doulik  <[email protected]>

	* mono-endian.h: reverted last change
	added function prototypes

	* Makefile.am (libmetadata_a_SOURCES): reverted my last change and
	add mono-endian.c back

	* mono-endian.c: returned back, as Paolo pointed out, it's needed
	for unaligned access, I've mistaked it with endianess. I am
	sorry.
	(mono_read16): fix reverted endianess
	(mono_read64): ditto
	(mono_read32): ditto

svn path=/trunk/mono/; revision=1491
2001-11-30 11:09:16 +00:00
Dick Porter a91ce9928d 2001-11-30 Dick Porter <[email protected]>
* exception.c: Implement mono_exception_from_name()

2001-11-30  Dick Porter  <[email protected]>

	* interp.c: Replace get_named_exception() with
	mono_exception_from_name()

svn path=/trunk/mono/; revision=1490
2001-11-30 09:11:56 +00:00
Gaurav Vaish 5b2cde78d0 2001-11-30 Gaurav Vaish <[email protected]>
* class.xml   --- Current status for System.Web.UI.WebControls namespace

svn path=/trunk/mono/; revision=1489
2001-11-30 07:26:11 +00:00
Paolo Molaro 68dbe0e301 Fri Nov 30 12:01:02 CET 2001 Paolo Molaro <[email protected]>
* metadata.h, metadata.c: remove params_size and locals_size and their
	calculation from the metadata code: they are only usefult to the
	interp.


Fri Nov 30 12:02:24 CET 2001 Paolo Molaro <[email protected]>

	* x86.brg: rearrange fields to reduce struct size.
	* jit.c: use signature->param_count, not signature->params_size.
	* debug.c: off-by-one error fix.


Fri Nov 30 12:05:21 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: calculate locals and args offsets only once
	per method call. Cache trampoline code as well.

svn path=/trunk/mono/; revision=1488
2001-11-30 07:20:41 +00:00
Gaurav Vaish b34e676fa4 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs, UrlUtils.cs  -- Moved to proper places

* ChangeLog's  --- Properly updated

svn path=/trunk/mcs/; revision=1487
2001-11-30 03:47:01 +00:00
Gaurav Vaish c11b52a917 2001-11-30 Gaurav Vaish <[email protected]>
Important changes:

 * System.Web.WebUtils removed... renamed to System.Web.Utils based on some hacking done.

 * AdRotator.cs      --- Updated to use Utils
 * BaseDataList.cs   --- Removing rubbishness
 * CheckBox.cs       --- Working
 * CheckBoxList.cs   --- Finalized?
 * ListControl.cs    --- Initital Implementation

svn path=/trunk/mcs/; revision=1486
2001-11-30 03:43:45 +00:00
Gaurav Vaish 6e81d4a36b 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceHelper   --- Corrected the function name to GetResolvedDataSource(...)

svn path=/trunk/mcs/; revision=1485
2001-11-30 02:07:03 +00:00
Gaurav Vaish c6b36d8c44 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs --- Renamed the class DataSourceUtils to DataSourceHelper (an internal class)

* ChangeLog           --- Properly updated

svn path=/trunk/mcs/; revision=1484
2001-11-30 01:58:12 +00:00
Gaurav Vaish 35f3133887 2001-11-30 Gaurav Vaish <[email protected]>
* DataSourceUtils.cs   -- Internal class. Does the job of resolving data from the source based on a member element.

----- This function is required during the OnDataBinding(EventArgs) method in several of the UI.*, UI.WebControtrols.* classes

svn path=/trunk/mcs/; revision=1483
2001-11-30 01:53:33 +00:00
Radek Doulik e49235fff3 2001-11-29 Radek Doulik <[email protected]>
* ppc/tramp.c: use r12 which is volatile instead of non-volatile
	r14 to avoid saving

svn path=/trunk/mono/; revision=1482
2001-11-29 21:23:53 +00:00
Radek Doulik 1a893190ea 2001-11-29 Radek Doulik <[email protected]>
* configure.in (ACCESS_UNALIGNED): uncommented and modified
	powerpc-*-linux*
	generate mono/arch/ppc/Makefile

svn path=/trunk/mono/; revision=1481
2001-11-29 20:20:45 +00:00
Radek Doulik ce1167716f 2001-11-29 Radek Doulik <[email protected]>
* object.c (mono_ldstr): swap bytes here, it's probably not the
	best place, but works for me now, I'll redo it once I know mono
	better, also note that I add PROT_WRITE and don't reset back, also
	note that it's only affects big endians, so x86 should be OK

	* mono-endian.h (read16): use just glib macros for both endians

	* mono-endian.c: removed as glib macros are used in in
	mono-endian.h so we don't need to care about endianess for read
	macros as glib does that for us already

svn path=/trunk/mono/; revision=1480
2001-11-29 20:20:18 +00:00
Radek Doulik b472575e81 2001-11-29 Radek Doulik <[email protected]>
* Makefile.am: build mono only for X86 architecture, compilation
	fails for ppc now because of accessing registers in sigcontext
	structure

svn path=/trunk/mono/; revision=1479
2001-11-29 20:19:32 +00:00
Radek Doulik 47d3543260 2001-11-29 Radek Doulik <[email protected]>
* Makefile.am (libmonoarch_la_LIBADD): added ppc to DIST_SUBDIRS
	generate libmonoarch for ppc

svn path=/trunk/mono/; revision=1478
2001-11-29 20:19:00 +00:00
Radek Doulik d4c1ec89a5 added test
svn path=/trunk/mono/; revision=1477
2001-11-29 19:32:48 +00:00
Radek Doulik 0546117131 added files for initial ppc support
svn path=/trunk/mono/; revision=1476
2001-11-29 19:32:19 +00:00
Gaurav Vaish 5feaa3ea7a 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBoxList.cs     --- Wanted to go for this class.

* ListControl.cs      --- But ended up taking up this one.

svn path=/trunk/mcs/; revision=1475
2001-11-29 18:11:51 +00:00
Gaurav Vaish 64b22c6476 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs         --- Initial Implementation

* ChangeLog           --- Updated with latest information. I think so, at least.

svn path=/trunk/mcs/; revision=1474
2001-11-29 18:09:44 +00:00
Gaurav Vaish c0a6c6e3e3 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs      --- Oops! I forgot OnPreRender. The last method left, well, still supposedly. Looks pretty fine now.

svn path=/trunk/mcs/; revision=1473
2001-11-29 15:48:48 +00:00
Paolo Molaro cde1e28f3a Reformat to reduce line length.
svn path=/trunk/mono/; revision=1472
2001-11-29 15:31:08 +00:00
Gaurav Vaish d8bd6b652d 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs   -- Huh! Completed another class. Looks to be at least. :))

* ChangeLog     -- Notified others

svn path=/trunk/mcs/; revision=1471
2001-11-29 14:38:12 +00:00
Gaurav Vaish 01f2946ddf 2001-11-29 Gaurav Vaish <[email protected]>
* CheckBox.cs     -- Can now do Render-ing and LoadPostData-ing.

* ChangeLog       -- Made proper updates

svn path=/trunk/mcs/; revision=1470
2001-11-29 14:32:17 +00:00
Paolo Molaro 9195559f70 Thu Nov 29 18:20:58 CET 2001 Paolo Molaro <[email protected]>
* class.h, class.h: take minimum alignment into consideration so
	that the fields of a class remain aligned also when in an array.

svn path=/trunk/mono/; revision=1469
2001-11-29 13:39:08 +00:00
Gaurav Vaish c382325931 2001-11-29 Gaurav Vaish <[email protected]>
*  ChangeLog  -- When did I add System.Web.WebUtils?

svn path=/trunk/mcs/; revision=1468
2001-11-29 13:27:07 +00:00
Daniel Weber f856b27cc4 * XmlAttribute.cs re-arrange source file to put attributes first. Implement
value, modify constructor

* XmlAttributeCollection.cs - Fix bug on owner document check, add TODO - Make
insert operations match XmlNode insertion on null pointer refNode.

* XmlDeclaration.cs - Add copyright info to top of file

* XmlDocument.cs - implement localName, Name

* XmlDocumentFragment.cs : first cut at implementation.  Implement name,
localName

* XmlElement.cs - implement value, modify constructor

* XmlNames_1_0.cs - add IsXmlName function, fix bug in IsXmlChar()

* XmlNode.cs - implement BaseURI and value, add more comments

* XmlWriter.cs - begin stubbing out methods

* Added XmlUtil.cs - Internal class. Contains static utility methods that are non-Xml version
specific, mostly character encoding conversions

* Added XmlInputSource.cs - internal class to handle streaming Xml input.

* Added DomEncodingType.cs - internal enueration class to detail supported encodings
(ISO-8859-n, UTF-8/UTF-16, eg)

svn path=/trunk/mcs/; revision=1467
2001-11-29 10:49:39 +00:00
Dietmar Maurer 049f4ad9a1 bug fixes, code cleanup
svn path=/trunk/mono/; revision=1466
2001-11-29 10:46:40 +00:00
Paolo Molaro d8cd797099 Thu Nov 29 12:32:01 CET 2001 Paolo Molaro <[email protected]>
* debug.c: fix type handling. Position function position at start of
	IL code. Output more fine-grained stepping information.

svn path=/trunk/mono/; revision=1465
2001-11-29 07:42:04 +00:00
Dietmar Maurer 7b52efd545 documentation
svn path=/trunk/mono/; revision=1464
2001-11-29 05:51:04 +00:00
Miguel de Icaza beb87dd65d 2001-11-28 Miguel de Icaza <[email protected]>
* UInt64.cs: ditto.

	* UInt32.cs: ditto.

	* Int32.cs (Int32.CompareTo): Fix because we can not just
	substract the values.

	Return possitive value if the object is null.

	* Boolean.cs: (Boolean.CompareTo): ditto.

	* Int16.cs (Int16.CompareTo): ditto.

	* Byte.cs (Byte.CompareTo): ditto.

	* SByte.cs (SByte.CompareTo): ditto.

	* Char.cs (Char.CompareTo): ditto.

	* Decimal.cs (Decimal.CompareTo): ditto.

	* Int64.cs (Int64.CompareTo): ditto.

	* Single.cs: Ditto.

	* UInt16.cs: Ditto.

svn path=/trunk/mcs/; revision=1463
2001-11-28 18:18:32 +00:00
Miguel de Icaza 01f5ed5569 Add more error tests
svn path=/trunk/mcs/; revision=1462
2001-11-28 18:15:16 +00:00
Miguel de Icaza 7dc4f845cd Add test for switch
svn path=/trunk/mcs/; revision=1461
2001-11-28 18:14:13 +00:00
Miguel de Icaza dc7963a2ac 2001-11-27 Miguel de Icaza <[email protected]>
* expression.cs (This): Fix prototype for DoResolveLValue to
	override the base class DoResolveLValue.

	* cs-parser.cs: Report errors cs574 and cs575 (destructor
	declarations)

	* ecore.cs (FieldExpr.EmitAssign): Handle value types specially
	(we need to load the address of the field here).  This fixes
	test-22.

	(FieldExpr.DoResolveLValue): Call the DoResolve
	function to initialize the Instance expression.

	* statement.cs (Foreach.Emit): Fix the bug where we did not invoke
	correctly the GetEnumerator operation on a value type.

	* cs-parser.jay: Add more simple parsing error catches.

	* statement.cs (Switch): Add support for string switches.
	Handle null specially.

	* literal.cs (NullLiteral): Make NullLiteral objects singletons.

svn path=/trunk/mcs/; revision=1460
2001-11-28 17:51:00 +00:00
Miguel de Icaza 17dac60520 Updates
svn path=/trunk/mono/; revision=1459
2001-11-28 17:26:34 +00:00
Ravi Pratap M 2fd60063de 2001-11-28 Ravi Pratap <[email protected]>
* cs-parser.jay (local_constant_declaration): Use declare_local_constant.

	(declare_local_constant): New helper function.

	* statement.cs (AddConstant): Keep a separate record of constants

	(IsConstant): Implement to determine if a variable is a constant.

	(GetConstantExpression): Implement.

	* expression.cs (LocalVariableReference): Handle the case when it is a constant.

	* statement.cs (IsVariableDefined): Re-write.

2001-11-27  Ravi Pratap  <[email protected]>

	* class.cs (TypeContainer::FindMembers): Look for constants
	in the case when we are looking for MemberTypes.Field

	* expression.cs (MemberAccess::DoResolve): Check that in the
	case we are a FieldExpr and a Literal, we are not being accessed
	by an instance reference.

	* cs-parser.jay (local_constant_declaration): Implement.

	(declaration_statement): Implement for constant declarations.

svn path=/trunk/mcs/; revision=1458
2001-11-28 17:16:40 +00:00
Ravi Pratap M db7248bb54 2001-11-28 Ravi Pratap <[email protected]>
* test-48.cs : Add for constant emission tests.

	* makefile : Update for the above as it passes nicely :-)

svn path=/trunk/mcs/; revision=1457
2001-11-28 17:12:19 +00:00
Dietmar Maurer b6e1585a30 2001-11-28 Dietmar Maurer <[email protected]>
* x86.brg (LDIND_I1, LDIND_I2): use x86_widen_ instead of x86_mov_

	* jit.c (sigsegv_signal_handler): translate sigsegv into "Internal error"
	exception.

svn path=/trunk/mono/; revision=1456
2001-11-28 14:14:56 +00:00
Nick Drochak a42ec3b1b9 2001-11-28 Nick Drochak <[email protected]>
* Byte.cs: Throw NotImplementedException for Parse.

svn path=/trunk/mcs/; revision=1455
2001-11-28 09:18:02 +00:00
Dietmar Maurer 5a46bddbb4 don't print debug infos
svn path=/trunk/mono/; revision=1454
2001-11-28 05:01:41 +00:00
Dietmar Maurer 6facc3b1f6 *** empty log message ***
svn path=/trunk/mono/; revision=1453
2001-11-28 04:58:54 +00:00
Dietmar Maurer 3b2401f8cc 2001-11-28 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): record the cli_address for later use
	with gdb.

svn path=/trunk/mono/; revision=1452
2001-11-28 04:55:06 +00:00
Nick Drochak 9f35715338 2001-11-28 Nick Drochak <[email protected]>
* Int16Test.cs Int32Test.cs SByteTest.cs: Surgically removed tests that
rely on culture of system.  These need to be crafted a bit differently.

svn path=/trunk/mcs/; revision=1451
2001-11-27 19:34:13 +00:00
Paolo Molaro f35fa82ec8 Dum de dum, missing files.
svn path=/trunk/mono/; revision=1450
2001-11-27 11:46:56 +00:00
Paolo Molaro ffeda01ab9 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <[email protected]>
* main.c: output a marker for method (used in debug support).


Tue Nov 27 16:32:41 CET 2001 Paolo Molaro <[email protected]>

	* debug.c, debug.h: added support for generating stabs.
	Stabs can be compiled with as and the resulting object file can be
	loaded in a gdb session with add-symbol-file object.o.
	* jit.c, jit.h: add --stabs and --debug command line arguments. Keep track
	where locals and arguments are stored in the stack. Add support for
	passing command line arguments to CLR programs.
	* emit-x86.c: insert a breakpoint at method invocation if needed.


Tue Nov 27 16:39:01 CET 2001 Paolo Molaro <[email protected]>

	* loader.h, loader.c: add mono_method_get_param_names().
	* class.c: 0-init class fields.

svn path=/trunk/mono/; revision=1449
2001-11-27 11:46:11 +00:00
Derek Holden eecd406a53 2001-11-27 Derek Holden <[email protected]>
* IntegerFormatter.cs: Formatting of type "Number" was not
        using NumberFormatInfo.NumberNegativePattern.

svn path=/trunk/mcs/; revision=1448
2001-11-27 10:44:53 +00:00
Paolo Molaro cb5cbcda98 Tue Nov 27 15:24:07 CET 2001 Paolo Molaro <[email protected]>
* x96/x86-codegen.c: x86_lea_memindex() added.

svn path=/trunk/mono/; revision=1447
2001-11-27 10:30:39 +00:00
Dietmar Maurer 09cb28096b etmar Maurer <[email protected]>
* jit.c: exception support

	* emit-x86.c (arch_emit_epilogue): bug fix: restore the regs in
	the right order.

	* mono/tests/exception3.cs: modified the test to show a bug in the
	current exception handling implementation.

svn path=/trunk/mono/; revision=1446
2001-11-27 10:05:14 +00:00
Nick Drochak f7c0b3ec7b 2001-11-27 Nick Drochak <[email protected]>
* SByteTest.cs: Add messages to Assert()'s so we can tell where the tests fail.
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=1445
2001-11-27 08:35:03 +00:00
Miguel de Icaza aa7c9e35fe Update TODO
svn path=/trunk/mcs/; revision=1444
2001-11-27 01:55:25 +00:00
Miguel de Icaza 98fa595e04 Switch statement implementation
svn path=/trunk/mcs/; revision=1443
2001-11-26 22:22:21 +00:00
Miguel de Icaza 8e7c652ca0 Update Visual Studio Project
svn path=/trunk/mcs/; revision=1442
2001-11-26 22:20:57 +00:00
Dick Porter d3f63d2d18 2001-11-26 Dick Porter <[email protected]>
* Thread.cs: DataSlot uses a single system TLS slot, and a
	hashtable per thread.  Some minor changes to reflect the new
	internal calls using the new IO library, and the newly-supported
	bool returns from internal calls.

	* Monitor.cs: Use bool returns from internal calls now they are
	supported by the runtime.  Coalesce enter with the try_enter
	internal call.

2001-11-26  Dick Porter  <[email protected]>

	* LocalDataStoreSlot.cs: No need to delete a system TLS slot in
	the finalise routine any more

svn path=/trunk/mcs/; revision=1441
2001-11-26 13:17:57 +00:00
Dick Porter 46ff807cf0 2001-11-26 Dick Porter <[email protected]>
* icall.c:
	* threads-types.h:
	* threads.c: New file that handles System.Threading on all platforms

	* object.c:
	* object.h: Remove the synchronisation struct from MonoObject,
	replace it with a pointer that gets initialised on demand

	* Makefile.am: Replace all the system-specific threading code with
	a single file that uses the new wrapper library

2001-11-26  Dick Porter  <[email protected]>

	* critical-sections.c:
	* events.c:
	* handles.c:
	* io.c:
	* mutexes.c:
	* semaphores.c:
	* threads.c:
	* timed-thread.c:
	* wait.c: turn off DEBUG messages

2001-11-26  Dick Porter  <[email protected]>

	* Makefile.am (mono_LDADD): Add io-layer library

svn path=/trunk/mono/; revision=1440
2001-11-26 13:10:18 +00:00
Phillip Pearson 2431c61d15 * TcpClient.cs: common_constructor() changed to Init() to match coding
style elsewhere in class libraries.  Comments added.
* TcpListener.cs: Same
* Socket.cs: Filled out methods and properties and commented most of
  them.

svn path=/trunk/mcs/; revision=1439
2001-11-26 05:52:53 +00:00
Ravi Pratap M f70f8a5021 2001-11-24 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation): Get rid of ArrayExprs : we save
	some memory.

	(EmitDynamicInitializers): Cope with the above since we extract data
	directly from ArrayData now.

	(ExpectInitializers): Keep track of whether initializers are mandatory
	or not.

	(Bounds): Make it a hashtable to prevent the same dimension being
	recorded for every element in that dimension.

	(EmitDynamicInitializers): Fix bug which prevented the Set array method
	from being found.

	Also fix bug which was causing the indices to be emitted in the reverse
	order.

svn path=/trunk/mcs/; revision=1436
2001-11-24 12:37:18 +00:00
Ravi Pratap M ea113276c6 2001-11-24 Ravi Pratap <[email protected]>
* test-45.cs : Update further.

svn path=/trunk/mcs/; revision=1435
2001-11-24 12:36:10 +00:00
Miguel de Icaza 428a4b1953 2001-11-24 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation): Implement the bits that Ravi left
	unfinished.  They do not work, because the underlying code is
	sloppy.

2001-11-22  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Remove bogus fixme.

	* statement.cs (Switch, SwitchSection, SwithLabel): Started work
	on Switch statement.

svn path=/trunk/mcs/; revision=1434
2001-11-24 04:03:47 +00:00
Daniel Weber 7da20e7f40 Internal class to handle Xml 1.0 character/name validation
svn path=/trunk/mcs/; revision=1433
2001-11-24 01:09:37 +00:00
Miguel de Icaza b95eb6714a Update
svn path=/trunk/mono/; revision=1432
2001-11-23 21:11:33 +00:00
Miguel de Icaza 2254f098fb Add TcpClient and TcpListener from Phillip Pearson
svn path=/trunk/mcs/; revision=1431
2001-11-23 21:07:52 +00:00
Ravi Pratap M f79a51e21f 2001-11-23 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::Emit): Handle string initialization separately.

	(MakeByteBlob): Handle types more correctly.

	* expression.cs (ArrayCreation:Emit): Write preliminary code to do
	initialization from expressions but it is incomplete because I am a complete
	Dodo :-|

svn path=/trunk/mcs/; revision=1430
2001-11-23 17:15:00 +00:00
Ravi Pratap M fb3d0f28ac Update various tests
svn path=/trunk/mcs/; revision=1429
2001-11-23 17:05:00 +00:00
Ravi Pratap M c9da7072b3 2001-11-23 Ravi Pratap <[email protected]>
* typemanager.cs (IsDelegateType, IsEnumType): Fix logic to determine
	the same.

	* expression.cs (ArrayCreation::CheckIndices): Get rid of the require_constant
	parameter. Apparently, any expression is allowed.

	(ValidateInitializers): Update accordingly.

	(CheckIndices): Fix some tricky bugs thanks to recursion.

	* delegate.cs (NewDelegate::DoResolve): Re-write large portions as
	I was being completely brain-dead.

	(VerifyMethod, VerifyApplicability, VerifyDelegate): Make static
	and re-write acordingly.

	(DelegateInvocation): Re-write accordingly.

svn path=/trunk/mcs/; revision=1428
2001-11-23 09:08:53 +00:00
Miguel de Icaza 3b121439a9 2001-11-22 Miguel de Icaza <[email protected]>
* statement.cs (If.Emit): Fix a bug that generated incorrect code
	on If.  Basically, we have to return `true' (ie, we do return to
	our caller) only if both branches of the if return.

	* expression.cs (Binary.Emit): LogicalOr and LogicalAnd are
	short-circuit operators, handle them as short circuit operators.

svn path=/trunk/mcs/; revision=1427
2001-11-22 20:36:17 +00:00
Miguel de Icaza b2f78e38cf Add more testage
svn path=/trunk/mcs/; revision=1426
2001-11-22 19:11:20 +00:00
Miguel de Icaza fe5a33fd9b 2001-11-22 Miguel de Icaza <[email protected]>
* expression.cs (Cast.DoResolve): Resolve type.
	(Cast.Cast): Take an expression as the target type.

	* cs-parser.jay (cast_expression): Remove old hack that only
	allowed a limited set of types to be handled.  Now we take a
	unary_expression and we resolve to a type during semantic
	analysis.

	Use the grammar productions from Rhys to handle casts (this is
	not complete like Rhys syntax yet, we fail to handle that corner
	case that C# has regarding (-x), but we will get there.

svn path=/trunk/mcs/; revision=1425
2001-11-22 18:55:00 +00:00
Ravi Pratap M 8807ade6cf 2001-11-22 Ravi Pratap <[email protected]>
* ecore.cs : The error message was correct, it's the variable's names that
	were misleading ;-) Make the code more readable.

	(MemberAccess::DoResolve): Fix the code which handles Enum literals to set
	the correct type etc.

	(ConvertExplicit): Handle Enum types by examining the underlying type.

svn path=/trunk/mcs/; revision=1424
2001-11-22 16:34:02 +00:00
Dick Porter be0127409b 2001-11-22 Dick Porter <[email protected]>
* handles.c (SignalObjectAndWait): Implement

	* wait.c (WaitForSingleObject): Fix case where timeout == 0

	* threads.c:
	* semaphores.c:
	* mutexes.c:
	* io.c:
	* events.c: Support for SignalObjectAndWait

svn path=/trunk/mono/; revision=1423
2001-11-22 13:31:13 +00:00
Ravi Pratap M e888b10571 2001-11-22 Ravi Pratap <[email protected]>
* cs-parser.jay (for_statement): Update for array initialization while
	declaring variables.

svn path=/trunk/mcs/; revision=1422
2001-11-22 12:26:30 +00:00
Ravi Pratap M e003d8daf5 2001-11-22 Ravi Pratap <[email protected]>
* typemanager.cs (MakeKey): Implement.

	(everywhere): Use the above appropriately.

svn path=/trunk/mcs/; revision=1421
2001-11-22 12:18:59 +00:00
Dietmar Maurer b3d4950a6e another test for exceptions
svn path=/trunk/mono/; revision=1420
2001-11-22 09:25:32 +00:00
Ravi Pratap M 5c88745b04 2001-11-22 Ravi Pratap <[email protected]>
* class.cs (EmitFieldInitializer): Take care of the case when we have a
	field which is an array type.

	* cs-parser.jay (declare_local_variables): Support array initialization too.

svn path=/trunk/mcs/; revision=1419
2001-11-22 07:05:45 +00:00
Ravi Pratap M ccb0c3703c 2001-11-22 Ravi Pratap <[email protected]>
* test-45.cs : Augment some more to test shorthand declaration
	of variables/fields that are array types.

svn path=/trunk/mcs/; revision=1418
2001-11-22 06:58:36 +00:00
Miguel de Icaza a5e3c2c4d3 2001-11-22 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Update the values of `l'
	and `r' after calling DoNumericPromotions.

	* ecore.cs: Fix error message (the types were in the wrong order).

	* statement.cs (Foreach.ProbeCollectionType): Need to pass
	BindingFlags.Instance as well

svn path=/trunk/mcs/; revision=1417
2001-11-22 03:13:04 +00:00
Daniel Weber b4905da810 Add summary information to enumerations.
svn path=/trunk/mcs/; revision=1416
2001-11-22 03:00:06 +00:00
Daniel Weber 586a8126c1 Add descriptions to enumerations
svn path=/trunk/mcs/; revision=1415
2001-11-22 02:54:19 +00:00
Daniel Weber bf7e29a3c2 Implement basic functionality, still missing CloneNode, WriteTo, innerXml, outerXml
svn path=/trunk/mcs/; revision=1414
2001-11-22 02:42:31 +00:00
Miguel de Icaza 6c38ed5c01 2001-11-22 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.TryImplicitIntConversion): Wrap the result
	implicit int literal conversion in an empty cast so that we
	propagate the right type upstream.

svn path=/trunk/mcs/; revision=1413
2001-11-22 02:02:06 +00:00
Miguel de Icaza f8d102b9dd 2001-11-22 Miguel de Icaza <[email protected]>
* ecore.cs (UnboxCast): new class used to unbox value types.
	(Expression.ConvertExplicit): Add explicit type conversions done
	by unboxing.

	(Expression.ImplicitNumericConversion): Oops, forgot to test for
	the target type before applying the implicit LongLiterals to ULong
	literal cast.

svn path=/trunk/mcs/; revision=1412
2001-11-22 01:44:08 +00:00
Daniel Weber dcc4b74a91 Add copyright information
svn path=/trunk/mcs/; revision=1411
2001-11-22 01:19:33 +00:00
Daniel Weber 9bf6c24280 Initial implementation of XmlException
svn path=/trunk/mcs/; revision=1410
2001-11-22 01:18:36 +00:00
Daniel Weber 6084534798 Implement NextSibling, PreviousSibling, RemoveAll, InsertBefore(), InsertAfter, prepend, append in XmlNode.cs
Override RemoveAll in XmlElement

svn path=/trunk/mcs/; revision=1409
2001-11-22 00:46:55 +00:00
Miguel de Icaza 1970d5d6f7 2001-11-21 Miguel de Icaza <[email protected]>
* cs-parser.jay (for_statement): Reworked the way For works: now
	we declare manually any variables that are introduced in
	for_initializer to solve the problem of having out-of-band code
	emition (that is what got for broken).

	(declaration_statement): Perform the actual variable declaration
	that used to be done in local_variable_declaration here.

	(local_variable_declaration): Do not declare anything, just pass
	the information on a DictionaryEntry

svn path=/trunk/mcs/; revision=1408
2001-11-21 21:17:53 +00:00
Nick Drochak 7a86c63770 2001-11-22 Nick Drochak <[email protected]>
* IPAddress.cs: Fix constructor bug, properly name Address property,
	and use triple-slash for comments.

svn path=/trunk/mcs/; revision=1407
2001-11-21 18:49:08 +00:00
Miguel de Icaza f7b109a94f 2001-11-21 Miguel de Icaza <[email protected]>
* ApplicationException.cs: internationalize by adding calls to
	Locale.GetText ().  And throw NotImplementedExceptions on calls
	that we have to implement.

	* Version.cs: Ditto.

	* ValueType.cs: ditto.

	* UnauthorizedAccessException.cs: ditto.

	* UInt32.cs: ditto.

	* UInt64.cs: ditto.

	* UInt16.cs: ditto.

	* TypeLoadException.cs: ditto

	* TypeInitializationException.cs: ditto.

	* Type.cs: ditto.

	* TimeSpan.cs: ditto.

	* SystemException.cs: ditto.

	* String.cs: ditto.

	* StackOverflowException.cs: ditto.x

	* Single.cs: ditto.

	* SByte.cs: ditto.

	* RuntimeTypeHandle.cs: ditto.

	* RuntimeMethodHandle.cs: ditto.

	* RuntimeFieldHandle.cs: ditto.

	* Random.cs: ditto.

	* OutOfMemoryException.cs: ditto.

	* OperatingSystem.cs: ditto.

	* ObjectDisposedException.cs: ditto.

	* NullReferenceException.cs: ditto.

	* NotImplementedException.cs: ditto.

	* NotFiniteNumberException.cs: ditto.o

	* MulticastNotSupportedException.cs: ditto.

	* MissingMethodException.cs: ditto.

	* MemberAccessException.cs: ditto.

	* Math.cs: ditto.

	* InvalidCastException.cs: ditto.

	* IntegerFormatter.cs: ditto.

	* Int32.cs: ditto.

	* Int16.cs: ditto.

	* IndexOutOfRangeException.cs: ditto.

	* Environment.cs: ditto

	* Enum.cs: ditto.

	* DuplicateWaitObjectException.cs: ditto.

	* DivideByZeroException.cs: ditto.

	* Delegate.cs: ditto

	* DecimalFormatter.cs: ditto.

	* Decimal.cs: ditto.

	* DateTime.cs: ditto.

	* Convert.cs: ditto.

	* Char.cs: ditto.

	* Byte.cs: ditto.

	* Boolean.cs: ditto.

	* ArrayTypeMismatchException.cs: ditto.

	* ArithmeticException.cs: ditto.

	* ArgumentOutOfRangeException.cs: ditto.

	* ArgumentNullException.cs: ditto.

	* Enum.cs: Make it derive from ValueType, add CompareTo method.

	* Attribute.cs: Reformat.

svn path=/trunk/mcs/; revision=1406
2001-11-21 18:12:11 +00:00
Dick Porter cb8b0abfbd 2001-11-21 Dick Porter <[email protected]>
* events.c:
	* handles.c:
	* mutexes.c:
	* semaphores.c:
	* threads.c:
	* wait.c: Reliable method of returning which handle was signalled
	on return from WaitForMultipleObjects().

svn path=/trunk/mono/; revision=1405
2001-11-21 12:50:12 +00:00
Dick Porter 11b673c6f9 2001-11-21 Dick Porter <[email protected]>
* events.c: Implement events

svn path=/trunk/mono/; revision=1404
2001-11-21 10:21:22 +00:00
Ravi Pratap M 04b82a2101 Fix up to do double-dimension array access too !
svn path=/trunk/mcs/; revision=1403
2001-11-21 05:04:52 +00:00
Daniel Weber c670098b6f Fix build bug on XPathNavigator
svn path=/trunk/mcs/; revision=1402
2001-11-20 23:26:03 +00:00
Daniel Weber a788bd809f Move XPath classes to their own directory (System.Xml.XPath)
svn path=/trunk/mcs/; revision=1401
2001-11-20 22:46:32 +00:00
Daniel Weber e4c6a12643 Fix constructors
svn path=/trunk/mcs/; revision=1400
2001-11-20 22:43:26 +00:00
Daniel Weber 38902cbcb0 Add constructor
svn path=/trunk/mcs/; revision=1399
2001-11-20 22:36:43 +00:00
Daniel Weber 64821a4adc Implement events, add constructors
svn path=/trunk/mcs/; revision=1398
2001-11-20 22:36:03 +00:00
Daniel Weber 2461af68f3 Correct System.Xml.XPath error, implement InsertAfter
svn path=/trunk/mcs/; revision=1397
2001-11-20 22:35:11 +00:00
Daniel Weber 398cb6574e *** empty log message ***
svn path=/trunk/mcs/; revision=1396
2001-11-20 19:02:06 +00:00
Ravi Pratap M 21f1862187 2001-11-20 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::CheckIndices): The story continues :-) Complete
	re-write of the logic to now make it recursive.

	(UpdateIndices): Re-write accordingly.

	Store element data in a separate ArrayData list in the above methods.

	(MakeByteBlob): Implement to dump the array data into a byte array.

2001-11-19  Ravi Pratap  <[email protected]>

	* expression.cs (ArrayCreation): Factor out some code from ValidateInitializers
	into CheckIndices.

	* constant.cs (Define): Implement.

	(EmitConstant): Re-write fully.

	Pass in location info.

	* class.cs (Populate, Emit): Call Constant::Define and Constant::EmitConstant
	respectively.

	* cs-parser.jay (constant_declarator): Use VariableDeclaration instead of
	DictionaryEntry since we need location info too.

	(constant_declaration): Update accordingly.

	* expression.cs (ArrayCreation): Make ValidateInitializers simpler by factoring
	code into another method : UpdateIndices.

svn path=/trunk/mcs/; revision=1395
2001-11-20 17:37:54 +00:00
Ravi Pratap M a81fc304db 2001-11-20 Ravi Pratap <[email protected]>
* test-45.cs : Add for array initialization testing.

svn path=/trunk/mcs/; revision=1394
2001-11-20 17:36:24 +00:00
Miguel de Icaza ded71509da 2001-11-20 Miguel de Icaza <[email protected]>
* IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
	None as suggested by Phillip.

svn path=/trunk/mcs/; revision=1393
2001-11-20 15:47:49 +00:00
Daniel Weber 0c8f63df2f Added myself as maintainer of several System.Xml classes, replacing Joe Hildebrand in class.xml
Updated Changelog and maintainers.xml

svn path=/trunk/mono/; revision=1392
2001-11-20 03:38:07 +00:00
Miguel de Icaza f0a4a4f9e9 oops
svn path=/trunk/mcs/; revision=1391
2001-11-20 02:20:47 +00:00
Daniel Weber 04639cc5f0 finish adding stubs to begin work on XmlDocuemnt.Load(file)
Most files are merely placeholders.

svn path=/trunk/mcs/; revision=1390
2001-11-19 20:30:08 +00:00
Daniel Weber 227b56db7a add new System.Xml classes
svn path=/trunk/mcs/; revision=1389
2001-11-19 20:15:32 +00:00
Miguel de Icaza 348faf3bd6 2001-11-19 Miguel de Icaza <[email protected]>
* DictionaryBase.cs: Implemented.

svn path=/trunk/mcs/; revision=1388
2001-11-19 13:19:54 +00:00
Dietmar Maurer a14f7cb38d 2001-11-19 Dietmar Maurer <[email protected]>
* jit.c (MAKE_SPILLED_BI_ALU): always spill DIV/REM results to memory to
	make register allocation easier on x86

svn path=/trunk/mono/; revision=1387
2001-11-19 12:06:10 +00:00
Dietmar Maurer f6af9fad5a use (class == mono_defaults.string_class) instead of a strcmp
svn path=/trunk/mono/; revision=1386
2001-11-19 09:48:02 +00:00
Dietmar Maurer 46618f3452 2001-11-19 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. LDFTN

	* emit-x86.c (enter_method): more debugging output for Strings
	(arch_compile_method): added delegate support
	(arch_compile_method): align EBP to 8 byte boundary

svn path=/trunk/mono/; revision=1385
2001-11-19 09:30:00 +00:00
Paolo Molaro 5fb257ad8c Mon Nov 19 13:58:01 CET 2001 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: add method to register a string in the "#US"
	stream.
	* EnumBuilder.cs, SignatureHelper.cs: added stubs.
	* ILGenerator.cs: more stuff implemented.
	* LocalBuilder.cs: keep track of local var index.


Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <[email protected]>

	* MethodBase.cs: add internal get_next_table_index() for use in
	Reflection.Emit.

svn path=/trunk/mcs/; revision=1384
2001-11-19 09:09:26 +00:00
Dietmar Maurer 49759284e0 s/Utf7_Encoding/UTF7Encoding/
svn path=/trunk/mcs/; revision=1383
2001-11-19 09:08:39 +00:00
Paolo Molaro 188e2277f8 Typo fixes pointed out by Dick (HASCOSTANT -> HASCONSTANT).
svn path=/trunk/mono/; revision=1382
2001-11-19 07:27:46 +00:00
Paolo Molaro 80f4888e49 Make the JIT run also the slow (for the interp:-) methods.
Make ackermann.cs return 0 on success, 1 on failure.
Enable broken code in delegate.cs.

svn path=/trunk/mono/; revision=1381
2001-11-19 07:11:32 +00:00
Paolo Molaro cb9f067553 Mon Nov 19 11:37:14 CET 2001 Paolo Molaro <[email protected]>
* class.c, class.h: add mono_install_trampoline() so that the runtime
	can register a function to create a trampoline: removes the ugly
	requirement that a runtime needed to export arch_create_jit_trampoline.
	* object.h, object.c: added mono_install_handler() so that the runtime
	can install an handler for exceptions generated in C code (with
	mono_raise_exception()). Added C struct for System.Delegate.
	* pedump.c: removed arch_create_jit_trampoline.
	* reflection.c: some cleanups to allow registering user strings and
	later getting a token for methodrefs and fieldrefs before the assembly
	is built.
	* row-indexes.h: updates and fixes from the new ECMA specs.


Mon Nov 19 11:36:22 CET 2001 Paolo Molaro <[email protected]>

	* jit.c: use mono_install_trampoline (), instead of exporting
	a function to a lower-level library.


Mon Nov 19 11:33:00 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: start adding support for handling exceptions across
	managed/unmanaged boundaries. Cleanup Delegate method invocation.
	Pass the correct target object in Delegate::Invoke and use the correct
	'this' pointer in ldvirtftn (bugs pointed out by Dietmar).

Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <[email protected]>

	* main.c: remove arch_create_jit_trampoline().

svn path=/trunk/mono/; revision=1380
2001-11-19 06:52:53 +00:00
Miguel de Icaza a68a4aa109 Documentation updates
svn path=/trunk/mcs/; revision=1379
2001-11-19 00:44:09 +00:00
Miguel de Icaza 0c3a8436fe Link to Gtk# site
svn path=/trunk/mono/; revision=1378
2001-11-18 17:57:29 +00:00
Ravi Pratap M 8d510ba7f3 2001-11-18 Ravi Pratap <[email protected]>
* expression.cs (ArrayCreation::ValidateInitializers): Update to perform
	some type checking etc.

2001-11-17  Ravi Pratap  <[email protected]>

	* expression.cs (ArrayCreation::ValidateInitializers): Implement
	bits to provide dimension info is user skips doing that.

	Update second constructor to store the rank correctly.

2001-11-16  Ravi Pratap  <[email protected]>

	* expression.cs (ArrayCreation::ValidateInitializers): Poke around
	and try to implement.

	* ../errors/cs0150.cs : Add.

	* ../errors/cs0178.cs : Add.

svn path=/trunk/mcs/; revision=1377
2001-11-18 10:17:16 +00:00
Ravi Pratap M e68e4f9aa7 Add files for the 2 new errors.
svn path=/trunk/mcs/; revision=1376
2001-11-18 10:14:58 +00:00
Miguel de Icaza 512d5633f7 Add test-43
svn path=/trunk/mcs/; revision=1375
2001-11-17 11:50:52 +00:00
Miguel de Icaza 4bf5a2deb5 More cleanups
svn path=/trunk/mcs/; revision=1374
2001-11-17 01:39:27 +00:00
Miguel de Icaza ca1b9688e9 Add love
svn path=/trunk/mcs/; revision=1373
2001-11-17 01:36:49 +00:00
Miguel de Icaza 73b849f929 Flush
svn path=/trunk/mono/; revision=1372
2001-11-17 01:23:34 +00:00
Miguel de Icaza fea2d810c8 2001-11-16 Miguel de Icaza <[email protected]>
* statement.cs: Implement foreach on multi-dimensional arrays.

	* parameter.cs (Parameters.GetParameterByName): Also lookup the
	name of the params argument.

	* expression.cs: Use EmitStoreOpcode to get the right opcode while
	initializing the array.

	(ArrayAccess.EmitStoreOpcode): move the opcode generation here, so
	we can use this elsewhere.

	* statement.cs: Finish implementation of foreach for single
	dimension arrays.

	* cs-parser.jay: Use an out-of-band stack to pass information
	around, I wonder why I need this.

	foreach_block: Make the new foreach_block the current_block.

	* parameter.cs (Parameters.GetEmptyReadOnlyParameters): New
	function used to return a static Parameters structure.  Used for
	empty parameters, as those are created very frequently.

	* cs-parser.jay, class.cs: Use GetEmptyReadOnlyParameters

2001-11-16  Miguel de Icaza  <[email protected]>

	* test-34.cs: Improve this test to check if we are actually
	walking over the arguments in foreach.

svn path=/trunk/mcs/; revision=1371
2001-11-17 01:16:14 +00:00
Gaurav Vaish 8007424631 2001-11-16 Gaurav Vaish <[email protected]>
* Calendar.cs         Unimplemented functions throw NotImplementedException

svn path=/trunk/mcs/; revision=1370
2001-11-16 11:00:32 +00:00
Dietmar Maurer e2867d358c 2001-11-16 Dietmar Maurer <[email protected]>
* x86.brg (STRING_ARG): impl. a way to marshal strings. This
	will be extensible to handle all possible kinds of marshalling
	requirements.

	* jit.c (map_call_type): added MB_TERM_CALL_VOID
	(mono_analyze_stack): impl. LDELEMA, reimplemented CALL
	instructions to handle this arguments more effectively.

svn path=/trunk/mono/; revision=1369
2001-11-16 10:56:52 +00:00
Miguel de Icaza 78c3390301 Massive update
svn path=/trunk/mono/; revision=1368
2001-11-16 06:51:40 +00:00
Ravi Pratap M 33be90e658 2001-11-15 Ravi Pratap <[email protected]>
* interface.cs : Default modifier is private, not public. The
	make verify test passes again.

svn path=/trunk/mcs/; revision=1367
2001-11-16 02:46:27 +00:00
Ravi Pratap M 551f633fa7 2001-11-15 Ravi Pratap <[email protected]>
* support.cs (ReflectionParameters): Fix logic to determine
	whether the last parameter is a params one. Test 9 passes again.

	* delegate.cs (Populate): Register the builders we define with
	RegisterParameterForBuilder. Test 19 passes again.

	* cs-parser.jay (property_declaration): Reference $6 instead
	of $$ to get at the location.

	(indexer_declaration): Similar stuff.

	(attribute): Ditto.

	* class.cs (Property): Register parameters for the Get and Set methods
	if they exist. Test 23 passes again.

	* expression.cs (ArrayCreation::Emit): Pass null for the method in the
	call to EmitArguments as we are sure there aren't any params arguments.
	Test 32 passes again.

	* suppor.cs (ParameterDesc, ParameterModifier): Fix trivial bug causing
	IndexOutOfRangeException.

	* class.cs (Property::Define): Register property using TypeManager.RegisterProperty
	Test 33 now passes again.

svn path=/trunk/mcs/; revision=1366
2001-11-15 13:05:20 +00:00
Ravi Pratap M e776fdf5b8 *** empty log message ***
svn path=/trunk/mcs/; revision=1365
2001-11-15 12:04:47 +00:00
Miguel de Icaza 99bf249676 2001-11-15 Miguel de Icaza <[email protected]>
* cs-parser.jay: Kill horrendous hack ($??? = lexer.Location) that
	broke a bunch of things.  Will have to come up with a better way
	of tracking locations.

svn path=/trunk/mcs/; revision=1364
2001-11-15 11:53:24 +00:00
Dietmar Maurer edeee9bd60 2001-11-15 Dietmar Maurer <[email protected]>
* Makefile.am (mono_SOURCES): renamed testjit to mono

	* x86.brg: added debugging support

	* testjit.c: added support for value types, CFG improvements

	* emit-x86.c (enter_method): handle value types
	(tree_allocate_regs): impl. a better way to handle chain rules

svn path=/trunk/mono/; revision=1363
2001-11-15 11:11:20 +00:00
Dick Porter 2c499ca92d Forgot some wait tidy-up
svn path=/trunk/mono/; revision=1362
2001-11-15 09:56:23 +00:00
Dick Porter 3530de1a22 2001-11-15 Dick Porter <[email protected]>
* mutexes.c: Implement mutexes

	* threads.c:
	* semaphores.c:
	* misc.c: Factor out some common code

svn path=/trunk/mono/; revision=1361
2001-11-15 09:46:14 +00:00
Gaurav Vaish 4e6f4fe924 2001-11-15 Gaurav Vaish <[email protected]>
* AdRotator.cs, BoundColumn.cs, Button.cs, ButtonColumn.cs, DataList.cs, WebControl.cs
                         - the dummy / unimplemented / partially implemented functions now throw NotImplementedException.

svn path=/trunk/mcs/; revision=1360
2001-11-15 07:48:37 +00:00
Miguel de Icaza 4450fbb927 Updated
svn path=/trunk/mcs/; revision=1358
2001-11-14 23:32:20 +00:00
Miguel de Icaza 6ebdb730b0 2001-11-09 Miguel de Icaza <[email protected]>
* enum.cs (Enum.Emit): Delay the lookup of loc until we run into
	an error.  This removes the lookup from the critical path.

	* cs-parser.jay: Removed use of temporary_loc, which is completely
	broken.

svn path=/trunk/mcs/; revision=1357
2001-11-14 23:07:10 +00:00
Miguel de Icaza 3a6a83cd21 2001-11-14 Miguel de Icaza <[email protected]>
* support.cs (ReflectionParameters.ParameterModifier): Report
	whether the argument is a PARAMS argument or not.

	* class.cs: Set the attribute `ParamArrayAttribute' on the
	parameter argument.

	* typemanager.cs: Define param_array_type (ParamArrayAttribute)
	and cons_param_array_attribute (ConstructorInfo for
	ParamArrayAttribute).,

	* codegen.cs: Emit the return using the `Return' statement, that
	way we can report the error correctly for missing return values.

	* class.cs (Method.Emit): Clean up.

	* expression.cs (Argument.Resolve): Take another argument: the
	location where this argument is used.  Notice that this is not
	part of the "Argument" class as to reduce the size of the
	structure (we know the approximate location anyways).

	Test if the argument is a variable-reference, if not, then
	complain with a 206.

	(Argument.Emit): Emit addresses of variables.

	(Argument.FullDesc): Simplify.

	(Invocation.DoResolve): Update for Argument.Resolve.

	(ElementAccess.DoResolve): ditto.

svn path=/trunk/mcs/; revision=1356
2001-11-14 22:59:35 +00:00
Miguel de Icaza b623f18d20 Force test-34 to fail and exhibit the bug
svn path=/trunk/mcs/; revision=1355
2001-11-14 22:58:59 +00:00
Miguel de Icaza 02b414cf9c 2001-11-14 Miguel de Icaza <[email protected]>
* Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
	UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
	exception if the value is null too.

	* Char.cs (CompareTo): ditto.

	* ApplicationException.cs: Added constructor that does serialization.

	* ParamArrayAttribute.cs: Define attribute correctly.

svn path=/trunk/mcs/; revision=1354
2001-11-14 20:35:42 +00:00
Miguel de Icaza e6cd78bb8e 2001-11-14 Miguel de Icaza <[email protected]>
* delegate.cs (DelegateInvocation.Emit): Invocation of Invoke
	method should be virtual, as this method is always virtual.

svn path=/trunk/mcs/; revision=1353
2001-11-14 19:00:04 +00:00
Paolo Molaro 221e60c13c Wed Nov 14 19:21:26 CET 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: handle boolean as a return value.
	* x96/x86-codegen.c: x86_widen_memindex() added.


Wed Nov 14 19:23:00 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: move the stack frame dumping code to a function so it can
	be called from the debugger. Fix virtual method lookup for interfaces.
	Throw exceptions instead of aborting in more places.
	Print also the message in an exception. Updates for field renames in
	corlib.


Wed Nov 14 19:26:06 CET 2001 Paolo Molaro <[email protected]>

	* class.h, class.c: add a max_interface_id to MonoClass.
	* icall.c: rename my_mono_new_object() to my_mono_new_mono_type()
	since it's used to do that. Added mono_type_type_from_obj().
	Make GetType() return NULL instead of segfaulting if the type was not
	found. Handle simple arrays in assQualifiedName.
	* object.h: add a struct to represent an Exception.
	* reflection.c: output call convention in method signature.
	Add code to support P/Invoke methods and fixed offsets for fields.

svn path=/trunk/mono/; revision=1352
2001-11-14 15:18:56 +00:00
Paolo Molaro c441fe5cc6 Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <[email protected]>
* Linux.cs: a '/' is a valid char in a file path.


Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <[email protected]>

	* AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
	* Array.cs: fix Array.Copy.
	* AssemblyLoadEventArgs.cs: rename field.
	* CLSCompliantAttribute.cs: use correct name for the class.
	* Char.cs: fix IsLetter.
	* Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
	SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
	* Convert.cs: CLSCompliant updates, add ChangeType() methods.
	* Delegate.cs: renamed target field to m_target.
	* Enum.cs: added missing methods.
	* MonoType.cs: add a constructor and some needed properties.
	* Object.cs: implement GetType().
	* String.cs: CLSCompliant updates. Fixes everywhere to remove the
	ending 0 char.
	* Type.cs: add missing methods/properties.


Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: implement ArrayListEnumerator.
	* Hashtable.cs: hardcode the prime number table.


Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected]>

	* Calendar.cs: CLSCompliant updates.


Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected]>

	* CheckPermission.cs: disable ModeAccess() code: it's wrong.
	* FileStream.cs: only trow an exception if the read failed in ReadByte().
	* StreamReader.cs: implement Peek and Read.
	* TextWriter.cs: CLSCompliant updates.


Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <[email protected]>

	* Assembly.cs: implement some of the Load() methods.
	* ConstructorInfo.cs: some missing stubs and fields.
	* FieldInfo.cs: IsInitOnly property.
	* ParameterInfo.cs: stubs for missing properties.
	* ParameterModifier.cs: implemented class.


Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected]>

	* ConstructorBuilder.cs: added missing stubs and some implementation.
	* CustomAttributeBuilder.cs: added.
	* EventBuilder.cs: added.
	* FieldBuilder.cs: updates.
	* MethodBuilder.cs: stuff to implement P/Invoke methods.
	* ModuleBuilder.cs: added GetArrayMethod() stub.
	* ParameterBuilder.cs, PropertyBuilder.cs: updates.
	* TypeBuilder.cs: updates and stubs.


Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <[email protected]>

	* CallingConvention.cs: add missing Winapi.


Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected]>

	* IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.


Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <[email protected]>

	* MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
	SHA256Managed.cs: CLSCompliant updates.


Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected]>

	* Encoding.cs: renamed some fields.
	* StringBuilder.cs: CLSCompliant updates.


Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]>

	* Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.

svn path=/trunk/mcs/; revision=1351
2001-11-14 15:18:05 +00:00
Miguel de Icaza 9fb8a28a31 Added a delegate test that fails
svn path=/trunk/mcs/; revision=1350
2001-11-14 14:21:38 +00:00
Miguel de Icaza f15a4411cc Update the news
svn path=/trunk/mono/; revision=1349
2001-11-14 13:51:53 +00:00
Miguel de Icaza 6651b4822b Add test that checks arrays
svn path=/trunk/mcs/; revision=1348
2001-11-14 02:14:57 +00:00
Miguel de Icaza f80fc87969 2001-11-13 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.Emit): Use EmitAssign instead of Store.

	* expression.cs (ParameterReference): Drop IStackStorage and implement
	IAssignMethod instead.

	(LocalVariableReference): ditto.

	* ecore.cs (FieldExpr): Drop IStackStorage and implement
	IAssignMethod instead.

2001-11-13  Miguel de Icaza <[email protected]>

	* parameter.cs, expression.cs, class.cs, ecore.cs: Made all
	enumerations that are used in heavily used structures derive from
	byte in a laughable and pathetic attempt to reduce memory usage.
	This is the kind of pre-optimzations that you should not do at
	home without adult supervision.

	* expression.cs (UnaryMutator): New class, used to handle ++ and
	-- separatedly from the other unary operators.  Cleans up the
	code, and kills the ExpressionStatement dependency in Unary.

	(Unary): Removed `method' and `Arguments' from this class, making
	it smaller, and moving it all to SimpleCall, so I can reuse this
	code in other locations and avoid creating a lot of transient data
	strucutres when not required.

	* cs-parser.jay: Adjust for new changes.

2001-11-11  Miguel de Icaza  <[email protected]>

	* enum.cs (Enum.Populate): If there is a failure during
	definition, return

	* cs-parser.jay (opt_enum_base): we used to catch type errors
	here, but this is really incorrect.  The type error should be
	catched during semantic analysis.

svn path=/trunk/mcs/; revision=1347
2001-11-14 01:41:24 +00:00
Miguel de Icaza 4b18eb5b67 Updated the test-42 to be more comprehensive, and also documented
which tests we do not pass currently, and put some "holes" into the
list to make it obvious.

svn path=/trunk/mcs/; revision=1346
2001-11-14 01:32:36 +00:00
Martin Weindel 88ac8ee00d added last changes
svn path=/trunk/mono/; revision=1344
2001-11-13 18:34:45 +00:00
Ravi Pratap M 875420d34b 2001-11-13 Ravi Pratap <[email protected]>
* cs-parser.jay (operator_declarator, conversion_operator_declarator): Set
	current_local_parameters as expected since I, in my stupidity, had forgotten
	to do this :-)

	* attribute.cs (GetValidPlaces): Fix stupid bug.

	* class.cs (Method::Emit): Perform check on applicability of attributes.

	(Constructor::Emit): Ditto.

	(Field::Emit): Ditto.

	(Field.Location): Store location information.

	(Property, Event, Indexer, Operator): Ditto.

	* cs-parser.jay (field_declaration): Pass in location for each field.

	* ../errors/cs0592.cs : Add.

2001-11-12  Ravi Pratap  <[email protected]>

	* typemanager.cs (attribute_usage_type): New static member for System.AttributeUsage.

	(InitCoreTypes): Update accordingly.

	(RegisterAttrType, LookupAttr): Implement.

	* attribute.cs (Attribute.Targets, AllowMultiple, Inherited): New fields to hold
	info about the same.

	(Resolve): Update to populate the above as necessary.

	(Error592): Helper.

	(GetValidPlaces): Helper to the above.

	(CheckAttribute): Implement to perform validity of attributes on declarative elements.

	* class.cs (TypeContainer::Emit): Update attribute emission code to perform checking etc.

svn path=/trunk/mcs/; revision=1343
2001-11-13 13:50:06 +00:00
Ravi Pratap M 97fd8804ab Add. We now properly check attribute placing.
svn path=/trunk/mcs/; revision=1342
2001-11-13 13:47:18 +00:00
Ravi Pratap M 26461ffeae 2001-11-13 Ravi Pratap <[email protected]>
* test-7.cs : Re-write to make the tests more robust.

svn path=/trunk/mcs/; revision=1341
2001-11-13 13:45:55 +00:00
Dick Porter 293f6e1e8d 2001-11-13 Dick Porter <[email protected]>
* threads.c: Implement TLS.  Implement GetCurrentThreadId(), and
	GetCurrentThread() by maintaining a hash of thread handles.

	* threads.h: Define thread and process creation flags

svn path=/trunk/mono/; revision=1340
2001-11-13 13:07:35 +00:00
Dick Porter 9666f63a62 2001-11-13 Dick Porter <[email protected]>
* configure.in: Some more tests for pthread features
	(specifically, glibc 2.1 doesnt define pthread_mutex_timedlock but
	still needs _GNU_SOURCE for PTHREAD_MUTEX_RECURSIVE)

svn path=/trunk/mono/; revision=1339
2001-11-13 09:04:31 +00:00
Miguel de Icaza a97b1f0b2a Add another test
svn path=/trunk/mcs/; revision=1338
2001-11-13 01:28:35 +00:00
Miguel de Icaza 43439c5e47 Make the test not pass, Ravi, check this please
svn path=/trunk/mcs/; revision=1337
2001-11-13 01:14:02 +00:00
Miguel de Icaza 52b00bce38 Another test that we dont pass
svn path=/trunk/mcs/; revision=1336
2001-11-13 00:56:03 +00:00
Gaurav Vaish c6a6e436eb 2001-11-13 Gaurav Vaish <[email protected]>
** Added files ChangeLog's to the namespaces I am working on.

svn path=/trunk/mcs/; revision=1335
2001-11-12 17:32:40 +00:00
Gaurav Vaish 4b60b40c87 2001:11:13 Gaurav Vaish <[email protected]>
* Calendar.cs          Fixed some bugs

* TODO                 Removed

svn path=/trunk/mcs/; revision=1334
2001-11-12 15:00:13 +00:00
Ravi Pratap M a1843f59b5 2001-12-11 Ravi Pratap <[email protected]>
* attribute.cs (Attribute::Resolve): Expand to handle named arguments too.

	* ../errors/cs0617.cs : Add.

svn path=/trunk/mcs/; revision=1333
2001-11-12 13:29:05 +00:00
Ravi Pratap M 4ac5a672ee 2001-11-12 Ravi Pratap <[email protected]>
* test-39.cs : Update to test named arguments too.

svn path=/trunk/mcs/; revision=1332
2001-11-12 13:27:22 +00:00
Ravi Pratap M dafcf2908e Add for the new error we catch in relation to named arguments.
svn path=/trunk/mcs/; revision=1331
2001-11-12 13:26:44 +00:00
Dick Porter c1e5980273 2001-11-12 Dick Porter <[email protected]>
* critical-sections.c: Implement critical sections

svn path=/trunk/mono/; revision=1330
2001-11-12 12:05:50 +00:00
Dick Porter 180aa81bdf 2001-11-12 Dick Porter <[email protected]>
* semaphores.c: Implement semaphores

	* wait.c (wait_for_item): Maintain a wait count rather than count
	signalled booleans.

	* threads.c (thread_wait_multiple): Don't lock the wait item, that
	will block other wait threads

2001-11-11  Dick Porter  <[email protected]>

	* Makefile.am: Rename some automake variables
	(from Nick Drochak <[email protected]>)

svn path=/trunk/mono/; revision=1329
2001-11-12 08:59:21 +00:00
Paolo Molaro 31494f694f Mon Nov 12 12:41:32 CET 2001 Paolo Molaro <[email protected]>
* decimal.c, decimal.h: mono_double2decimal() get the sign bit from
	the value.
	* icall.c: use mono_array_addr instead of array->vector: fixes the
	reflection image writing.
	* reflection.c: init call convention byte to 0 in method signature.
	Encode the property signature. Don't output property-related methods
	twice. Really process the properties for a type (don't cast a field to
	a property, my mom always told me that).
	Fix 64 bit issues in pointer alignment in a different and more
	readable way.

svn path=/trunk/mono/; revision=1328
2001-11-12 08:05:52 +00:00
Gaurav Vaish 535eaddea7 2001:11:12 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1327
2001-11-11 16:21:45 +00:00
Sean MacIsaac bfccf1dc6e * AttributeUseage.cs: Should define AttributeUsageAttribute.
* CLSCompliant.cs: Marked with AttributeUsage attribute.

* Decimal.cs: Fixed CLSCompliant attributes.

* Type.cs: changed _impl to internal (needs to be accessable by
subclasses).

(TypeHandle): Marked as abstract, implementation removed.

(IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
GetMethod): Added stub implementations so NUnit would link against
corlib

* FileNotFoundException.cs: Added some constructors

* Path.cs (GetFullPath): Fixed implementation

* Assembly.cs: Filled in some stub implementations

* ConstructorInfo.cs: Added some stub functions for NUnit

* TypeBuilder.cs: Added implementation for TypeHandle.

svn path=/trunk/mcs/; revision=1326
2001-11-11 16:15:20 +00:00
Sean MacIsaac 86414b05d3 * loader.h: Removed type class from MonoDefaults, added monotype
* loader.c: Loaded MonoType, removed loading of Type

* icall.c (my_mono_new_object): Now returns a System.MonoType,
and fills in System.Type._impl with a RuntimeTypeHandle rather
than the actual MonoClass *

(ves_icall_type_from_handle): change from type_class to
monotype_class

(ves_icall_System_Runtime_InteropServices_Marshal_ReadIntPtr):
implemented

(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAuto):
implemented

(ves_icall_System_Reflection_Assembly_LoadFrom): implemented

(ves_icall_System_Reflection_Assembly_GetType): implemented

(ves_icall_System_MonoType_assQualifiedName): implemented

(ves_icall_System_PAL_OpSys_GetCurrentDirecotry): implemented

svn path=/trunk/mono/; revision=1325
2001-11-11 16:01:34 +00:00
Ravi Pratap M 88b0954271 2001-11-11 Ravi Pratap <[email protected]>
* enum.cs (Emit): Rename to Populate to be more consistent with what
	we expect it to do and when exactly it is called.

	* class.cs, rootcontext.cs : Update accordingly.

	* typemanager.cs (RegisterField, GetValue): Workarounds for the fact that
	FieldInfo.GetValue does not work on dynamic types ! S.R.E lameness strikes again !

	* enum.cs (Populate): Register fields with TypeManager.RegisterField.

	* expression.cs (MemberAccess.DoResolve): Adjust code to obtain the value
	of a fieldinfo using the above, when dealing with a FieldBuilder.

2001-11-10  Ravi Pratap  <[email protected]>

	* ../errors/cs0031.cs : Add.

	* ../errors/cs1008.cs : Add.

	* ../errrors/cs0543.cs : Add.

	* enum.cs (DefineEnum): Check the underlying type and report an error if not a valid
	enum type.

	(FindMembers): Implement.

	* typemanager.cs (FindMembers): Re-write to call the appropriate methods for
	enums and delegates too.

	(enum_types): Rename to builder_to_enum.

	(delegate_types): Rename to builder_to_delegate.

	* delegate.cs (FindMembers): Implement.

svn path=/trunk/mcs/; revision=1324
2001-11-11 08:06:43 +00:00
Ravi Pratap M ff75ba529b 2001-11-11 Ravi Pratap <[email protected]>
* test-40.cs : Update to be a little more useful.

svn path=/trunk/mcs/; revision=1323
2001-11-11 08:03:49 +00:00
Ravi Pratap M 2a7159dbd8 Add files for the new errors we catch.
svn path=/trunk/mcs/; revision=1322
2001-11-11 08:01:48 +00:00
Gaurav Vaish 2bb46acd32 2001:11:11 Gaurav Vaish <[email protected]>
* Calendar.cs	Added some functions, provided skeleton to some more

* BaseCompareValidator.cs	Still wondering how to implement this

svn path=/trunk/mcs/; revision=1321
2001-11-10 19:28:49 +00:00
Gaurav Vaish dc53dc36f0 2001:11:11 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1320
2001-11-10 19:25:53 +00:00
Paolo Molaro 7431a47708 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <[email protected]>
* main.c, dump, dump.c: decode the customattr table.
	* dump.c: handle also field signature when dumping the memberref
	table.

svn path=/trunk/mono/; revision=1318
2001-11-10 12:39:37 +00:00
Dick Porter e639140afe 2001-11-10 Dick Porter <[email protected]>
* Makefile.am (libwapiincludedir): Fix include destination

	* .cvsignore: Ignore generated files

svn path=/trunk/mono/; revision=1317
2001-11-10 07:32:15 +00:00
Dietmar Maurer fe9752dda1 2001-11-10 Dietmar Maurer <[email protected]>
* pthread-compat.c: added some include files to make it compile on
	linux.

	* x86.brg (INITOBJ): bug fix: initialize data before use,
	simplified the code.

svn path=/trunk/mono/; revision=1316
2001-11-10 04:29:12 +00:00
Miguel de Icaza 05d7507da3 Remove dependency on Windows.Forms
svn path=/trunk/mcs/; revision=1313
2001-11-09 22:22:27 +00:00
Miguel de Icaza 5872e41fb6 2001-11-09 Miguel de Icaza <[email protected]>
* testjit.c (mono_analyze_stack): Remove compiler warning by
	testing against NULL.
2001-11-09  Miguel de Icaza  <[email protected]>

	* assembly.c (mono_assembly_open): Implement a cache for the
	assemblies.

	(mono_assembly_close): only destroy the assembly when the last
	reference is gone.

svn path=/trunk/mono/; revision=1312
2001-11-09 22:20:33 +00:00
Ravi Pratap M f0eed07f51 2001-11-09 Ravi Pratap <[email protected]>
* typemanager.cs (IsEnumType): Implement.

	* enum.cs (Emit): Re-write parts to account for the underlying type
	better and perform checking etc.

	(GetNextDefaultValue): Helper to ensure we don't overshoot max value
	of the underlying type.

	* literal.cs (GetValue methods everywhere): Perform bounds checking and return
	value

	* enum.cs (error31): Helper to report error #31.

	* cs-parser.jay (enum_declaration): Store location of each member too.

	* enum.cs (member_to_location): New hashtable.

	(AddEnumMember): Update location hashtable.

	(Emit): Use the location of each member while reporting errors.

svn path=/trunk/mcs/; revision=1311
2001-11-09 16:52:29 +00:00
Dick Porter f93100c063 2001-11-09 Dick Porter <[email protected]>
* configure.in: Try and get large file support, but it's not fatal
	if it's not there (the io-layer just ignores the high word in that
	case.)

	Check for windows builds, and only bother to look for pthreads and
	large files if we're not building for cygwin or native win32.  Not
	having pthread support on Posix systems is now a fatal error.

	* autogen.sh: Fix ACLOCAL_FLAGS - it wasn't being passed to
	aclocal

2001-11-08  Dick Porter  <[email protected]>

	* Initial checkin.

	This is a library emulating the win32 threading and IO API.

2001-11-09  Dick Porter  <[email protected]>

	* Makefile.am (mint_LDADD): Don't need THREAD_LIBS any more

2001-11-09  Dick Porter  <[email protected]>

	* Makefile.am (testjit_LDADD): Don't need THREAD_LIBS any more

2001-11-09  Dick Porter  <[email protected]>

	* Makefile.am (pedump_LDADD): Don't need THREAD_LIBS any more

svn path=/trunk/mono/; revision=1310
2001-11-09 16:39:50 +00:00
Dietmar Maurer 9c047b806d bug fix in BOX
svn path=/trunk/mono/; revision=1309
2001-11-09 14:27:04 +00:00
Dietmar Maurer b01bdf25d5 2001-11-09 Dietmar Maurer <[email protected]>
* testjit.c (mono_analyze_stack): new BOX impl.

	* x86.brg: implemented INITOBJ

	* testjit.c (mono_analyze_stack): finished array support
	(mono_analyze_stack): reimplemented DUP instruction

svn path=/trunk/mono/; revision=1308
2001-11-09 13:40:43 +00:00
Paolo Molaro 3afe489fdc Fri Nov 9 15:48:02 CET 2001 Paolo Molaro <[email protected]>
* icall.c, decimal.h, decimal.c: integrated decimal internalcalls
	from Martin Weindel.
	* object.h: add mono_string_chars ().

svn path=/trunk/mono/; revision=1307
2001-11-09 10:53:55 +00:00
Gaurav Vaish 7afc363a5c 2001:11:09 Gaurav Vaish <[email protected]>
* UrlUtils      completed MakeRelative, added GetDirectory

svn path=/trunk/mcs/; revision=1306
2001-11-09 09:13:16 +00:00
Dietmar Maurer fe2300c829 2001-11-09 Dietmar Maurer <[email protected]>
* testjit.c (mono_analyze_stack): finished array support

2001-11-08  Dietmar Maurer  <[email protected]>

	* testjit.c (MAKE_STELEM, MAKE_LDELEM): we build a tree which
	represents the address of the element. This way we can emit highly
	optimized x86 instructions to access elements (using base+index+offset
	adressing mode)

svn path=/trunk/mono/; revision=1305
2001-11-09 06:28:41 +00:00
Miguel de Icaza d6eec967cd oops. remove printfs
svn path=/trunk/mcs/; revision=1304
2001-11-09 03:08:30 +00:00
Miguel de Icaza 5ec9a82218 2001-11-09 Miguel de Icaza <[email protected]>
* cs-parser.jay: A for_initializer if is a
	local_variable_declaration really ammount to have an implicit
	block with the variable declaration and no initializer for for.

	* statement.cs (For.Emit): Cope with null initializers.

	This fixes the infinite loop on for initializers.

svn path=/trunk/mcs/; revision=1303
2001-11-09 02:54:38 +00:00
Gaurav Vaish 466930a3e8 2001:11:09 Gaurav Vaish <[email protected]>
* UrlUtils.cs   Added the following functions:

             GetProtocol(string) -> Returns the protocol used (before ://)
             IsRootUrl(string)   -> Is the url supplied is RootUrl
             IsValidProtocol(string)
                                 -> Can the protocol represent a valid protocol
             RegionMatches(...)  -> Matches an inner part of a string

svn path=/trunk/mcs/; revision=1302
2001-11-09 02:33:00 +00:00
Miguel de Icaza e9cdcc3d83 Few changes for RC1
svn path=/trunk/mcs/; revision=1301
2001-11-08 23:38:22 +00:00
Miguel de Icaza 5b4c6191d4 Few changes for RC1
svn path=/trunk/mcs/; revision=1300
2001-11-08 23:38:22 +00:00
Miguel de Icaza 988b742291 Flush ChangeLog
svn path=/trunk/mcs/; revision=1299
2001-11-08 22:41:19 +00:00
Miguel de Icaza fb733b8b62 2001-11-07 Miguel de Icaza <[email protected]>
* x86/tramp.c: Include stdlib to kill warning.

2001-11-07  Miguel de Icaza  <[email protected]>

	* main.c (dis_property_methods): Added missing colon which avoided
	setting loc.t

2001-11-07  Miguel de Icaza  <[email protected]>

	* interp.c: Include stdlib to kill warning.
	(check_corlib): Adjust format encodings to remove warnings.

2001-11-07  Miguel de Icaza  <[email protected]>

	* reflection.c (build_compressed_metadata): Eliminates warnings
	and uses 64-bit clean code.

	* metadata.c (mono_type_hash): Change signature to eliminate warnings.
	(mono_type_equal): Change signature to eliminate warnings.

2001-11-07  Miguel de Icaza  <[email protected]>

	* monoburg.y: Include string.h, stdlib.h to kill warnings.

	* sample.brg: Include string.h to remove warnings.

svn path=/trunk/mono/; revision=1298
2001-11-08 21:38:32 +00:00
Miguel de Icaza 68a364a529 2001-11-08 Miguel de Icaza <[email protected]>
* ecore.cs: Remove dead code.

	* class.cs (Property.Emit): More simplification.

svn path=/trunk/mcs/; revision=1297
2001-11-08 16:55:38 +00:00
Miguel de Icaza 9e739a026f 2001-11-08 Miguel de Icaza <[email protected]>
* class.cs (Property.Emit): More simplification.

svn path=/trunk/mcs/; revision=1296
2001-11-08 16:21:43 +00:00
Miguel de Icaza b70520af40 2001-11-08 Miguel de Icaza <[email protected]>
* class.cs: Reworked to have less levels of indentation.

svn path=/trunk/mcs/; revision=1295
2001-11-08 15:47:10 +00:00
Miguel de Icaza b8d9ad2444 Remove the dlls, that was lame
svn path=/trunk/mono/; revision=1294
2001-11-08 13:38:25 +00:00
Ravi Pratap M 62c576c2b6 2001-11-08 Ravi Pratap <[email protected]>
* class.cs (Property): Emit attributes.

	(Field): Ditto.

	(Event): Ditto.

	(Indexer): Ditto.

	(Operator): Ditto.

	* enum.cs (Emit): Ditto.

	* rootcontext.cs (ResolveTree, EmitCode, CloseTypes): Do the same for
	Enums too.

	* class.cs (Field, Event, etc.): Move attribute generation into the
	Emit method everywhere.

	* enum.cs (Enum): Revamp to use the same definition semantics as delegates so
	we have a DefineEnum, CloseEnum etc. The previous way of doing things was not right
	as we had no way of defining nested enums !

	* rootcontext.cs : Adjust code accordingly.

	* typemanager.cs (AddEnumType): To keep track of enum types separately.

2001-11-07  Ravi Pratap  <[email protected]>

	* expression.cs (EvalConstantExpression): Move into ecore.cs

	* enum.cs (Enum): Rename some members and make them public and readonly
	according to our convention.

	* modifiers.cs (EnumAttr): Implement as we need to set only visibility flags,
	nothing else.

	* enum.cs (Enum::Define): Use the above instead of TypeAttr.

	(Enum::Emit): Write a simple version for now which doesn't try to compute
	expressions. I shall modify this to be more robust in just a while.

	* class.cs (TypeContainer::Emit): Make sure we include Enums too.

	(TypeContainer::CloseType): Create the Enum types too.

	* attribute.cs (Resolve): Use the new Reduce method instead of EvalConstantExpression.

	* expression.cs (EvalConstantExpression): Get rid of completely.

	* enum.cs (Enum::Emit): Use the new expression reducer. Implement assigning
	user-defined values and other cases.

	(IsValidEnumLiteral): Helper function.

	* expression.cs (ExprClassfromMemberInfo): Modify to not do any literalizing
	out there in the case we had a literal FieldExpr.

	(MemberAccess:DoResolve): Do the literalizing of the FieldExpr here.

	(Literalize): Revamp a bit to take two arguments.

	(EnumLiteral): New class which derives from Literal to wrap enum literals.

2001-11-06  Ravi Pratap  <[email protected]>

	* cs-parser.jay (compilation_unit): Remove extra opt_attributes for now.

	* expression.cs (ArrayCreation::ValidateInitializers): Implement.

	(Resolve): Use the above to ensure we have proper initializers.

2001-11-05  Ravi Pratap  <[email protected]>

	* expression.cs (Expression::EvalConstantExpression): New method to
	evaluate constant expressions.

	* attribute.cs (Attribute::Resolve): Modify bits to use the above function.

svn path=/trunk/mcs/; revision=1293
2001-11-08 13:35:45 +00:00
Ravi Pratap M 3f8fe0f32b 2001-11-08 Ravi Pratap <[email protected]>
* test-39.cs : Add

	* test-40.cs : Add

	* makefile : Modify to include the above as they pass all tests.

svn path=/trunk/mcs/; revision=1292
2001-11-08 13:30:53 +00:00
Nick Drochak a9cb267ec3 2001-11-09 Nick Drochak <[email protected]>
* makefile(s): add 'test' target, so now you can do 'make test'
	and something useful will happen.

	* *.build: link NUnit test dll's with the mono assembly they are
	supposed to test, and suppress 1595 warnings.

svn path=/trunk/mcs/; revision=1291
2001-11-08 11:35:50 +00:00
Nick Drochak 874c6ccb96 2001-11-08 Nick Drochak <[email protected]>
* corlib_test.build: Include test for Queue in the dll

svn path=/trunk/mcs/; revision=1290
2001-11-08 11:10:19 +00:00
Gaurav Vaish 6ee7590715 Created freshly looking WebControl.cs
Now playing with AdRotator.cs

svn path=/trunk/mcs/; revision=1289
2001-11-08 09:52:45 +00:00
Nick Drochak 0c947dd61c 2001-11-08 Nick Drochak <[email protected]>
* corlib.build: put /norwarn in for 0169 and 0649 since most of the
	classes have unused fields, but it's really an problem right now
	because we know the class isn't finished.  'make' should be a lot
	quieter now!

svn path=/trunk/mcs/; revision=1288
2001-11-08 06:14:03 +00:00
Nick Drochak 4a8baf0739 2001-11-08 Nick Drochak <[email protected]>
* README: Explanation of the dll's which are built and what
	directories the go in.

svn path=/trunk/mcs/; revision=1287
2001-11-08 06:07:08 +00:00
Miguel de Icaza 52bbd6cf40 Add more tests
svn path=/trunk/mcs/; revision=1285
2001-11-08 00:17:45 +00:00
Miguel de Icaza 3c3ef2ba0f 2001-11-07 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.Emit): Some bits to initialize data
	in an array.

	(Binary.ResolveOperator): Handle operator != (object a, object b)
	and operator == (object a, object b);

	(Binary.DoNumericPromotions): Indicate whether the numeric
	promotion was possible.

	(ArrayAccess.DoResolve, ArrayAccess.Emit, ArrayAccess.EmitAssign):
	Implement.

	Made the ArrayAccess implement interface IAssignMethod instead of
	IStackStore as the order in which arguments are passed reflects
	this.

svn path=/trunk/mcs/; revision=1284
2001-11-08 00:17:29 +00:00
Nick Drochak ccdf80dc81 2001-11-08 Nick Drochak <[email protected]>
* corlib.build: build a corlib that can be linked against the nunit
	test dll's when linux is the target (just like windows).

	Added /nowarn 0649 and 0169 to cut down on the compiler noise for
	all the unused fields we have in the stubs.

svn path=/trunk/mcs/; revision=1283
2001-11-07 23:29:11 +00:00
Miguel de Icaza 1e97a8e1d0 Add a new test that we fail to pass
svn path=/trunk/mcs/; revision=1281
2001-11-07 13:33:25 +00:00
Paolo Molaro 56a952eb34 Wed Nov 7 15:40:01 CET 2001 Paolo Molaro <[email protected]>
* icall.c, loader.c: remove the internalcall array constructors.
	Changes to match the new MonoArray structure.
	* object.h, object.c: an array object doesn't allocate an extra
	vector. Add mono_array_new_full () to create jagged arrays easily.

Mon Nov 5 19:51:06 CET 2001 Paolo Molaro <[email protected]>

	* metadata.h, metadata.c: add mono_metadata_field_info () to
	retreive all the info about a field from vairous tables.
	* icall.c: implement S.Runtime.CServices::InitializeArray () icall.
	* class.h, class.c: augment MonoClassField with more info.
	Implemented mono_ldtoken for fields. Implemented ExplicitLayout
	policy and load a field's RVA if needed.


Wed Nov 7 15:47:36 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: updates for changes in array code.

Fri Nov 2 19:06:54 CET 2001 Paolo Molaro <[email protected]>

	* interp.c: hanlde field refs. Throw an exception on NULL references.
	Check consistency of corlib types with the C struct representation.

svn path=/trunk/mono/; revision=1280
2001-11-07 11:02:31 +00:00
Paolo Molaro 6bc3046d5d Forgot to actually commit the test cases...
svn path=/trunk/mono/; revision=1279
2001-11-07 07:42:46 +00:00
Dietmar Maurer 533093c35b 2001-11-07 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): print out all method arguments
	(x86_magic_trampoline): impl.
	(arch_create_simple_jit_trampoline): we use different trampolines
	for static methods (no need to write the address back into to
	vtable).

svn path=/trunk/mono/; revision=1278
2001-11-07 06:33:48 +00:00
Miguel de Icaza 69d58f8416 2001-11-07 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.Emit): Some bits to initialize data
	in an array.

	* typemanager.cs: Load InitializeArray definition.

	* rootcontext.cs (RootContext.MakeStaticData): Used to define
	static data that can be used to initialize arrays.

svn path=/trunk/mcs/; revision=1277
2001-11-07 05:40:16 +00:00
Gaurav Vaish d55f22bcd9 Added files:
CalendarDay.cs
	CheckBox.cs
	DayRenderEventHandler.cs

Changing:
	WebControl.cs

svn path=/trunk/mcs/; revision=1276
2001-11-06 17:43:44 +00:00
Miguel de Icaza 724cc456ac Add test for !bool optimization; Make linux build the only one
svn path=/trunk/mcs/; revision=1275
2001-11-06 16:17:02 +00:00
Miguel de Icaza f8112272d9 2001-11-05 Miguel de Icaza <[email protected]>
* expression.cs: Handle operator== and operator!= for booleans.

	(Conditioal.Reduce): Implement reducer for the ?: operator.

	(Conditional.Resolve): Implement dead code elimination.

	(Binary.Resolve): Catch string literals and return a new
	concatenated string.

	(Unary.Reduce): Implement reduction of unary expressions.

	* ecore.cs: Split out the expression core handling here.

	(Expression.Reduce): New method used to perform constant folding
	and CSE.  This is needed to support constant-expressions.

	* statement.cs (Statement.EmitBoolExpression): Pass true and false
	targets, and optimize for !x.

svn path=/trunk/mcs/; revision=1274
2001-11-06 16:14:58 +00:00
Dietmar Maurer a7616f0211 2001-11-06 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_create_jit_trampoline): optimised trampoline to
	use less the 16 bytes.

	* x86.brg: code cleanup

svn path=/trunk/mono/; revision=1273
2001-11-06 09:46:18 +00:00
Paolo Molaro 0be15c1101 * corlib.build: remove AppDomain.cs from the corlib_res.dll.
Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <[email protected]>

	* AppDomain.cs: use an internal constructor for AssemblyBuilder.


Tue Nov 6 09:13:45 CET 2001 Paolo Molaro <[email protected]>

	* AssemblyBuilder.cs: define an internal constructor.

svn path=/trunk/mcs/; revision=1272
2001-11-06 06:50:13 +00:00
Paolo Molaro 077b8740c7 Mon Nov 5 19:50:11 CET 2001 Paolo Molaro <[email protected]>
* RuntimeHelpers.cs: make InitializeArray an internalcall.

svn path=/trunk/mcs/; revision=1271
2001-11-06 03:55:51 +00:00
Nick Drochak 3be6791c0f 2001-11-06 Nick Drochak <[email protected]>
* Queue.cs: Fixes from Ricardardo.  QueueTest also updated.

svn path=/trunk/mcs/; revision=1269
2001-11-05 18:33:44 +00:00
Miguel de Icaza a8cbc34ad8 News update
svn path=/trunk/mono/; revision=1268
2001-11-05 13:31:19 +00:00
Miguel de Icaza 25e5ade00a Add runtime
svn path=/trunk/mono/; revision=1267
2001-11-05 13:25:18 +00:00
Miguel de Icaza 3fb2692f71 2001-11-05 Miguel de Icaza <[email protected]>
* NonSerializedAttribute.cs: Add AttributeUsage rules for this
	attribute.

svn path=/trunk/mcs/; revision=1266
2001-11-05 13:16:01 +00:00
Miguel de Icaza a0033817c4 Until the code gets fixed
svn path=/trunk/mcs/; revision=1265
2001-11-05 13:15:57 +00:00
Dietmar Maurer 2e0d1e8f30 2001-11-05 Dietmar Maurer <[email protected]>
* testjit.c: bug fixes.

	* emit-x86.c (leave_method): print result values

svn path=/trunk/mono/; revision=1264
2001-11-05 11:31:20 +00:00
Miguel de Icaza 7c9ee1a3ee Flush pending changes I got from a contributor that did not put his name in
svn path=/trunk/mcs/; revision=1263
2001-11-05 07:10:08 +00:00
Paolo Molaro 7eb2c92598 Fri Nov 2 19:06:54 CET 2001 Paolo Molaro <[email protected]>
* interp.c: hanlde field refs. Throw an exception on NULL references.
	Check consistency of corlib types with the C struct representation.


Fri Nov 2 19:37:51 CET 2001 Paolo Molaro <[email protected]>

	* class.h, class.c: include name in MonoClassField.
	* class.c: fix fundamental type of System.Object and System.String.
	Set the right fundamental type for SZARRAY, too. Handle TypeSpec
	tokens in ldtoken.
	* icall.c: remove internalcalls for the Reflection stuff that is now
	done in C# code.
	* loader.c: mono_field_from_memberref () implementation.
	* mono-endian.c: thinko (s/struct/union/g).
	* object.c, object.h: make the mono_string_* prototypes actually use
	MonoString instead of MonoObject.
	* reflection.c, reflection.h: updates for changes in the reflection
	code in corlib: we use C structures that map to the actual C# classes.
	Handle SZARRAYs when encoding types. Handle locals in methods. Use a
	fat method header if needed and use the info from the ILGenerator for
	methods. Handle fields in types. Misc fixes.

svn path=/trunk/mono/; revision=1262
2001-11-05 06:22:05 +00:00
Paolo Molaro cd4878d445 Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <[email protected]>
* SerializationException.cs: implemented.

svn path=/trunk/mcs/; revision=1261
2001-11-05 06:20:27 +00:00
Paolo Molaro 49c9e13de5 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <[email protected]>
* String.cs: fix a couple of bugs.
	* AppDomain.cs: use new AppBuilder constructor.
	* Buffer.cs, GC.cs, NonSerializedAttribute.cs,
	NotImplementedException.cs, ObjectDisposedException.cs,
	UnauthorizedAccessException.cs: add implementation.
	* OverflowException.cs: fix class name.


Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <[email protected]>

	* AmbiguousMatchException.cs,
	* Assembly.cs, Module.cs: updates.
	* FieldInfo.cs: better compliance to the spec.
	* MethodBase.cs: move call_conv out of the way.
	* AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
	* FieldBuilder.cs: implemented.
	* ILGenerator.cs: implemented some opcode handling.
	* Label.cs: add constructor.
	* LocalBuilder.cs: implemented.
	* MethodBuilder.cs: don't use internalcalls, more implemented stuff.
	* ModuleBuilder.cs: don't use internalcalls, more meat here, too.
	* ParameterBuilder.cs: implemented.
	* PropertyBuilder.cs: implemented.
	* TypeBuilder.cs: don't use internalcalls, more stuff working.


Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <[email protected]>

	* DirectoryNotFoundException.cs: implemented.

svn path=/trunk/mcs/; revision=1260
2001-11-05 06:18:33 +00:00
Miguel de Icaza ee4c94e9ba More Updates from Guarav
svn path=/trunk/mcs/; revision=1259
2001-11-05 06:11:37 +00:00
Miguel de Icaza cf2798d163 Updates from Guarav
svn path=/trunk/mcs/; revision=1258
2001-11-05 06:10:55 +00:00
Ravi Pratap M 26eda59c62 2001-11-04 Ravi Pratap <[email protected]>
* attribute.cs (Attribute::Resolve): Implement guts. Note that resolution
	of an attribute gives us a CustomAttributeBuilder which we use accordingly to
	set custom atttributes.

	* literal.cs (Literal::GetValue): New abstract method to return the actual
	value of the literal, cast as an object.

	(*Literal): Implement GetValue method.

	* cs-parser.jay (positional_argument_list, named_argument_list): Add not just plain
	expressions to the arraylist but objects of type Argument.

	* class.cs (TypeContainer::Emit): Emit our attributes too.

	(Method::Emit, Constructor::Emit): Ditto.

	* cs-parser.jay (constructor_declaration): Set attributes too, which we seemed
	to be ignoring earlier.

2001-11-03  Ravi Pratap  <[email protected]>

	* attribute.cs (AttributeSection::Define): Implement to do the business
	of constructing a CustomAttributeBuilder.

	(Attribute): New trivial class. Increases readability of code.

	* cs-parser.jay : Update accordingly.

	(positional_argument_list, named_argument_list, named_argument): New rules

	(attribute_arguments): Use the above so that we are more correct.

2001-11-02  Ravi Pratap  <[email protected]>

	* expression.cs (Invocation::IsParamsMethodApplicable): Implement
	to perform all checks for a method with a params parameter.

	(Invocation::OverloadResolve): Update to use the above method and therefore
	cope correctly with params method invocations.

	* support.cs (InternalParameters::ParameterDesc): Provide a desc for
	params too.

	* class.cs (ConstructorInitializer::Resolve): Make sure we look for Non-public
	constructors in our parent too because we can't afford to miss out on
	protected ones ;-)

	* attribute.cs (AttributeSection): New name for the class Attribute

	Other trivial changes to improve readability.

	* cs-parser.jay (opt_attributes, attribute_section etc.): Modify to
	use the new class names.

2001-11-01  Ravi Pratap  <[email protected]>

	* class.cs (Method::Define): Complete definition for params types too

	(Indexer::Define): Ditto.

	* support.cs (InternalParameters::ParameterType, ParameterDesc, ParameterModifier):
	Cope everywhere with a request for info about the array parameter.

svn path=/trunk/mcs/; revision=1257
2001-11-05 03:56:54 +00:00
Martin Weindel 29ae72602a added member datetime_format to CultureInfo.cs
svn path=/trunk/mcs/; revision=1255
2001-11-04 13:27:03 +00:00
Martin Weindel 84b2036d80 removed as already defined in DateTime.cs
svn path=/trunk/mcs/; revision=1254
2001-11-04 13:25:13 +00:00
Martin Weindel 83c8c0cc13 * added DateTimeFormatInfo.cs
* fixed minor bug in NumberFormatInfo.Clone() with readonly flag

svn path=/trunk/mcs/; revision=1253
2001-11-04 13:00:36 +00:00
Martin Weindel 3696d65bae added DayOfWeek.cs
svn path=/trunk/mcs/; revision=1252
2001-11-04 12:53:22 +00:00
Nick Drochak 7055d69050 2001-11-04 Nick Drochak <[email protected]>
* Queue.cs: Fixed small syntax errors that were preventing the compile.
        I changed the build file to include Queue.cs as well.

svn path=/trunk/mcs/; revision=1251
2001-11-04 10:59:08 +00:00
Nick Drochak bf47873190 2001-11-04 Nick Drochak <[email protected]>
* RandomTest.cs: Add message to Assert() in TestDouble.
	Double.ToString() is not implemented yet, so this doesn't
	help.

svn path=/trunk/mcs/; revision=1250
2001-11-04 10:51:59 +00:00
Nick Drochak a120cbd16b * Added message string to each Assert in TestByteConstructor
svn path=/trunk/mcs/; revision=1249
2001-11-04 06:04:13 +00:00
Nick Drochak d1f860f8cd 2001-11-04 Nick Drochak <[email protected]>
* ArrayList.cs: Fixed "off by one" error when shifting left the array when
	items are removed.

	* CollectionBase.cs: Added OnValidate(), OnRemove() and OnRemoveComplete()
	hook methods to the RemoveAt() method.

svn path=/trunk/mcs/; revision=1248
2001-11-04 04:48:36 +00:00
Nick Drochak d1c0257f6e 2001-11-04 Nick Drochak <[email protected]>
* ArrayList.cs: Added private enumerator class and make GetEnumerator()
	methods return an instance of it.

svn path=/trunk/mcs/; revision=1247
2001-11-04 03:15:53 +00:00
Dietmar Maurer cc3e864e8c 2001-11-03 Dietmar Maurer <[email protected]>
* emit-x86.c (enter_method): new debugging code
	(leave_method): new debbuging code, this functions are called
	when you use the new option --trace-calls

svn path=/trunk/mono/; revision=1246
2001-11-03 05:56:29 +00:00
Dietmar Maurer 7a5417a30f 2001-11-02 Dietmar Maurer <[email protected]>
* testjit.c: impl. STELEM_XX, STELEM_XX

	* x86.brg: impl. LDLEN, LDELEMA

svn path=/trunk/mono/; revision=1244
2001-11-02 13:29:25 +00:00
Dietmar Maurer 5e99117394 the jit is now using a control flow graph
svn path=/trunk/mono/; revision=1243
2001-11-02 10:12:24 +00:00
Ravi Pratap M 9a7fb59886 Stunts to rename cs111.cs to cs0111.cs ;-)
svn path=/trunk/mcs/; revision=1242
2001-11-02 06:23:37 +00:00
Mike Kestner f4837fac50 Suppress building of the new Test directory.
svn path=/trunk/mcs/; revision=1241
2001-11-01 16:21:34 +00:00
Ravi Pratap M 79d91ad176 Remove test-34 from test suite for now because it won't pass
make verify.

svn path=/trunk/mcs/; revision=1240
2001-11-01 07:28:11 +00:00
Ravi Pratap M 13d3c6e4b8 2001-11-01 Ravi Pratap <[email protected]>
* tree.cs (RecordNamespace): Fix up to check for the correct key.

	* cs-parser.jay (GetQualifiedIdentifier): New Helper method used in
	local_variable_type to extract the string corresponding to the type.

	(local_variable_type): Fixup the action to use the new helper method.

	* codegen.cs : Get rid of RefOrOutParameter, it's not the right way to
	go.

	* expression.cs : Clean out code which uses the above.

svn path=/trunk/mcs/; revision=1239
2001-11-01 07:27:12 +00:00
Ravi Pratap M 07c58bb6a0 Add.
svn path=/trunk/mcs/; revision=1238
2001-11-01 06:35:40 +00:00
Mike Kestner 538d6bfac5 Updated Status for System.Drawing.Point to reflect test suite completion.
svn path=/trunk/mono/; revision=1237
2001-10-31 21:02:11 +00:00
Mike Kestner 643a021bcf 2001-10-31 Mike Kestner <[email protected]>
* TestPoint.cs : Tests I've had in my node forever. Need some nant
	action to build this new node.

svn path=/trunk/mcs/; revision=1236
2001-10-31 20:57:44 +00:00
Ravi Pratap M 7bb8dd106e Add.
svn path=/trunk/mcs/; revision=1235
2001-10-31 14:57:25 +00:00
Ravi Pratap M b321b4ee90 2001-10-31 Ravi Pratap <[email protected]>
* typemanager.cs (RegisterMethod): Check if we already have an existing key
	and bale out if necessary by returning a false.

	(RegisterProperty): Ditto.

	* class.cs (everywhere): Check the return value from TypeManager.RegisterMethod
	and print out appropriate error messages.

	* interface.cs (everywhere): Ditto.

	* cs-parser.jay (property_declaration, event_declaration, indexer_declaration): Pass
	location to constructor.

	* class.cs (Property, Event, Indexer): Update accordingly.

	* ../errors/cs111.cs : Added.

	* expression.cs (Invocation::IsApplicable): New static method to determine applicability
	of a method, as laid down by the spec.

	(Invocation::OverloadResolve): Use the above method.

svn path=/trunk/mcs/; revision=1234
2001-10-31 14:56:33 +00:00
Ravi Pratap M 11f07599e9 2001-10-31 Ravi Pratap <[email protected]>
* test-34.cs : Add

svn path=/trunk/mcs/; revision=1233
2001-10-31 14:53:53 +00:00
Ravi Pratap M 563a47271a 2001-10-31 Ravi Pratap <[email protected]>
* support.cs (InternalParameters): Get rid of crap taking in duplicate info. We
	now take a TypeContainer and a Parameters object.

	(ParameterData): Modify return type of ParameterModifier method to be
	Parameter.Modifier and not a string.

	(ReflectionParameters, InternalParameters): Update accordingly.

	* expression.cs (Argument::GetParameterModifier): Same here.

	* support.cs (InternalParameters::ParameterType): Find a better way of determining
	if we are a ref/out parameter. Actually, the type shouldn't be holding the '&'
	symbol in it at all so maybe this is only for now.

svn path=/trunk/mcs/; revision=1232
2001-10-31 06:38:00 +00:00
Ravi Pratap M 38ee3d6325 2001-10-30 Ravi Pratap <[email protected]>
* support.cs (InternalParameters): Constructor now takes an extra argument
	which is the actual Parameters class.

	(ParameterDesc): Update to provide info on ref/out modifiers.

	* class.cs (everywhere): Update call to InternalParameters to pass in
	the second argument too.

	* support.cs (ParameterData): Add ParameterModifier, which is a method
	to return the modifier info [ref/out etc]

	(InternalParameters, ReflectionParameters): Implement the above.

	* expression.cs (Argument::ParameterModifier): Similar function to return
	info about the argument's modifiers.

	(Invocation::OverloadResolve): Update to take into account matching modifiers
	too.

	* class.cs (Indexer::Define): Actually define a Parameter object and put it onto
	a new SetFormalParameters object which we pass to InternalParameters.

svn path=/trunk/mcs/; revision=1230
2001-10-30 12:52:22 +00:00
Ravi Pratap M 2ff91853df 2001-10-30 Ravi Pratap <[email protected]>
* expression.cs (NewArray): Merge into the ArrayCreation class.

2001-10-29  Ravi Pratap  <[email protected]>

	* expression.cs (NewArray): Merge classes NewBuiltinArray and
	NewUserdefinedArray into one as there wasn't much of a use in having
	two separate ones.

	* expression.cs (Argument): Change field's name to ArgType from Type.

	(Type): New readonly property which returns the proper type, taking into
	account ref/out modifiers.

	(everywhere): Adjust code accordingly for the above.

	* codegen.cs (EmitContext.RefOrOutParameter): New field to determine
	whether we are emitting for a ref or out parameter.

	* expression.cs (Argument::Emit): Use the above field to set the state.

	(LocalVariableReference::Emit): Update to honour the flag and emit the
	right stuff.

	* parameter.cs (Attributes): Set the correct flags for ref parameters.

	* expression.cs (Argument::FullDesc): New function to provide a full desc.

	* support.cs (ParameterData): Add method ParameterDesc to the interface.

	(ReflectionParameters, InternalParameters): Implement the above method.

	* expression.cs (Invocation::OverloadResolve): Use the new desc methods in
	reporting errors.

	(Invocation::FullMethodDesc): Ditto.

svn path=/trunk/mcs/; revision=1229
2001-10-30 04:06:58 +00:00
Miguel de Icaza b11dff21dd 2001-10-29 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add extra production for the second form of array
	creation.

	* expression.cs (ArrayCreation): Update to reflect the above
	change.

svn path=/trunk/mcs/; revision=1228
2001-10-29 23:44:54 +00:00
Miguel de Icaza 5c3cca9701 2001-10-29 Miguel de Icaza <[email protected]>
* Small changes to prepare for Array initialization.

svn path=/trunk/mcs/; revision=1227
2001-10-29 22:15:01 +00:00
Miguel de Icaza c2a3bc0c0a Fix namespace bug, patch from Rafael
svn path=/trunk/mcs/; revision=1226
2001-10-29 17:01:51 +00:00
Nick Drochak e53b2dd204 2001-10-29 Nick Drochak <[email protected]>
* StringBuilder.cs: Throw exceptions when constructor paramter(s) are
		invalid. Just like MS does (as best as I can tell).

	Tests for these exceptions are now added to the unit tests as well.

svn path=/trunk/mcs/; revision=1225
2001-10-29 11:16:03 +00:00
Jeffrey Stedfast 127067b3d1 2001-10-28 Jeffrey Stedfast <[email protected]>
* String.cs: Don't use a terminating nil char for our internal
	array.

svn path=/trunk/mcs/; revision=1224
2001-10-28 23:54:56 +00:00
Miguel de Icaza 27d1428d86 Add another test to array creation
svn path=/trunk/mcs/; revision=1223
2001-10-28 15:07:08 +00:00
Miguel de Icaza 791ce25fc7 2001-10-28 Miguel de Icaza <[email protected]>
* typemanager.cs (ImplementsInterface): interface might be null;
	Deal with this problem;

	Also, we do store negative hits on the cache (null values), so use
	this instead of calling t.GetInterfaces on the type everytime.

svn path=/trunk/mcs/; revision=1222
2001-10-28 15:03:52 +00:00
Ravi Pratap M 9223cb0028 2001-10-28 Ravi Pratap <[email protected]>
* typemanager.cs (IsBuiltinType): New method to help determine the same.

	* expression.cs (New::DoResolve): Get rid of array creation code and instead
	split functionality out into different classes.

	(New::FormArrayType): Move into NewBuiltinArray.

	(Invocation::EmitArguments): Get rid of the MethodBase argument. Appears
	quite useless.

	(NewBuiltinArray): New class to handle creation of built-in arrays.

	(NewBuiltinArray::DoResolve): Implement guts of array creation. Also take into
	account creation of one-dimensional arrays.

	(::Emit): Implement to use Newarr and Newobj opcodes accordingly.

	(NewUserdefinedArray::DoResolve): Implement.

	* cs-parser.jay (local_variable_type): Fix up to add the rank to the variable too.

	* typemanager.cs (AddModule): Used to add a ModuleBuilder to the list of modules
	we maintain inside the TypeManager. This is necessary to perform lookups on the
	module builder.

	(LookupType): Update to perform GetType on the module builders too.

	* driver.cs (Driver): Add the ModuleBuilder to the list maintained by the TypeManager.

	* exprssion.cs (NewUserdefinedArray::Emit): Implement.

svn path=/trunk/mcs/; revision=1221
2001-10-28 09:38:33 +00:00
Ravi Pratap M ab7247670d 2001-10-28 Ravi Pratap <[email protected]>
* test-32.cs : Added to test array definition and creation.

	* makefile : Updated accordingly.

svn path=/trunk/mcs/; revision=1220
2001-10-28 09:35:35 +00:00
Miguel de Icaza d09a8f2bfd Update TODO
svn path=/trunk/mcs/; revision=1219
2001-10-28 01:54:24 +00:00
Miguel de Icaza 3d7ad35ab4 Update
svn path=/trunk/mono/; revision=1218
2001-10-27 19:46:06 +00:00
Miguel de Icaza 795f72e02e More updates
svn path=/trunk/mono/; revision=1217
2001-10-27 19:40:51 +00:00
Miguel de Icaza f50f3c1b05 2001-10-27 Miguel de Icaza <[email protected]>
* Delegate.cs (Delegate.CombineImpl): Implement.
	(Delegate.Combine): Implement.

	* MulticastDelegate.cs (MulticastDelegate.Equals): Implement.

	(MulticastDelegate.CombineImpl): This was not as trivial as I
	thought.

	* ContextStaticAttribute.cs: Added AttributeUsage to
	ContextStaticAttribute.

	* FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute

svn path=/trunk/mcs/; revision=1216
2001-10-27 19:39:42 +00:00
Miguel de Icaza b187e6674e 2001-10-27 Miguel de Icaza <[email protected]>
* DesignerSerializationVisibilityAttribute.cs: Implemented.

	* DesignerSerializationVisibility.cs: New enumeration.

	* LocalizableAttribute.cs: Implemented.

	* BrowsableAttribute.cs: Implemented.

	* DesignOnlyAttribute.cs: Implemented.

	* DescriptionAttribute.cs: Implement.

	* MemberDescriptor.cs: Implemented.

	* CategoryAttribute.cs: implemented.

svn path=/trunk/mcs/; revision=1215
2001-10-27 19:38:07 +00:00
Miguel de Icaza 7ddd6de390 Incorporate System.Web.UI.WebControls to the build + some fixes
svn path=/trunk/mcs/; revision=1214
2001-10-27 19:27:55 +00:00
Miguel de Icaza 0b52ac3039 2001-10-27 Miguel de Icaza <[email protected]>
* expression.cs:

	(Expression.Resolve): Report a 246 error (can not resolve name)
	if we find a SimpleName in the stream.

	(Expression.ResolveLValue): Ditto.

	(Expression.ResolveWithSimpleName): This function is a variant of
	ResolveName, this one allows SimpleNames to be returned without a
	warning.  The only consumer of SimpleNames is MemberAccess

svn path=/trunk/mcs/; revision=1213
2001-10-27 15:14:36 +00:00
Miguel de Icaza a7b03801a1 Make the various versioning tests work
svn path=/trunk/mcs/; revision=1212
2001-10-27 15:12:16 +00:00
Miguel de Icaza 23d7ab9d35 2001-10-27 Miguel de Icaza <[email protected]>
* expression.cs: Fix bug I introduced lsat night that broke
	Delegates.

svn path=/trunk/mcs/; revision=1211
2001-10-27 13:06:50 +00:00
Miguel de Icaza 46190fbe4a Updates from Gaurav
svn path=/trunk/mono/; revision=1210
2001-10-27 12:44:59 +00:00
Miguel de Icaza 9ee230df00 Add lots of work from Gaurav
svn path=/trunk/mcs/; revision=1209
2001-10-27 12:35:12 +00:00
Miguel de Icaza 75c0a3b4d8 Update
svn path=/trunk/mono/; revision=1208
2001-10-27 12:27:56 +00:00
Miguel de Icaza e06146cbdd 2001-10-26 Miguel de Icaza <[email protected]>
* expression.cs (Invocation::DoResolve): Catch SimpleNames that
	might arrive here.  I have my doubts that this is correct.

	* statement.cs (Lock): Implement lock statement.

	* cs-parser.jay: Small fixes to support `lock' and `using'

	* cs-tokenizer.cs: Remove extra space

	* driver.cs: New flag --checked, allows to turn on integer math
	checking.

	* typemanger.cs: Load methodinfos for Threading.Monitor.Enter and
	Threading.Monitor.Exit

svn path=/trunk/mcs/; revision=1207
2001-10-27 00:15:20 +00:00
Miguel de Icaza 36ea61ab99 These tests are used for testing the C# versioning provisions. I have
not tested them yet.

svn path=/trunk/mcs/; revision=1206
2001-10-27 00:10:42 +00:00
Miguel de Icaza 4cd8207aae Add new classes to get rid of the warnings being emitted by the
interpreter (although new warning are now there, we need to get the
Decimal internalcalls in place).

Implement some bits of CultureInfo, but it is yet far from finished.

svn path=/trunk/mcs/; revision=1205
2001-10-27 00:08:33 +00:00
Miguel de Icaza 8edceaee21 Add a bunch of new classes to reduce warnings from Mint
svn path=/trunk/mcs/; revision=1202
2001-10-25 19:34:35 +00:00
Dietmar Maurer d9c7937680 use relative numbering for runtime type checks
svn path=/trunk/mono/; revision=1201
2001-10-25 05:34:19 +00:00
Martin Weindel ed69e57f19 more tests for general format and some changed tests for parsing
svn path=/trunk/mcs/; revision=1200
2001-10-24 14:49:59 +00:00
Martin Weindel c96e290532 minor bug fix for general format
svn path=/trunk/mcs/; revision=1199
2001-10-24 14:48:38 +00:00
Nick Drochak 6c01336226 2001-10-25 Nick Drochak <[email protected]>
* StringBuilder.cs: Throw exception if they try to make a StringBuilder
		whose capacity is greater than the MaxCapacity.

	I added some tests for the constructors and the above exception. More
	coming soon.

svn path=/trunk/mcs/; revision=1198
2001-10-24 12:27:50 +00:00
Nick Drochak be7eccaebb 2001-10-23 Nick Drochak <[email protected]>
* StringBuilder.cs: Refactored constructor code into just one
	constructor. All the other construtors call it. Also supplied missing
	constructors so the class has all those in the spec.

	Added the MaxCapacity property as well, however this needs to be
	completed to return a value is related to the available system memory.

svn path=/trunk/mcs/; revision=1197
2001-10-24 00:57:09 +00:00
Miguel de Icaza d60c29be90 2001-10-22 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::Emit): Emit code for indexers.

	* assign.cs (IAssignMethod): New interface implemented by Indexers
	and Properties for handling assignment.

	(Assign::Emit): Simplify and reuse code.

	* expression.cs (IndexerAccess, PropertyExpr): Implement

svn path=/trunk/mcs/; revision=1196
2001-10-23 14:14:26 +00:00
Miguel de Icaza 66495822df Update
svn path=/trunk/mono/; revision=1195
2001-10-23 13:20:15 +00:00
Ravi Pratap M 32b09d5f45 2001-10-22 Ravi Pratap <[email protected]>
* typemanager.cs (ImplementsInterface): New method to determine if a type
	implements a given interface. Provides a nice cache too.

	* expression.cs (ImplicitReferenceConversion): Update checks to use the above
	method.

	(ConvertReferenceExplicit): Ditto.

	* delegate.cs (Delegate::Populate): Update to define the parameters on the
	various methods, with correct names etc.

	* class.cs (Operator::OpType): New members Operator.UnaryPlus and
	Operator.UnaryNegation.

	* cs-parser.jay (operator_declarator): Be a little clever in the case where
	we have a unary plus or minus operator.

	* expression.cs (Unary): Rename memebers of Operator enum to UnaryPlus and
	UnaryMinus.

	* everywhere : update accordingly.

	* everywhere : Change Negate and BitComplement to LogicalNot and OnesComplement
	respectively.

	* class.cs (Method::Define): For the case where we are implementing a method
	inherited from an interface, we need to set the MethodAttributes.Final flag too.
	Also set MethodAttributes.NewSlot and MethodAttributes.HideBySig.

svn path=/trunk/mcs/; revision=1194
2001-10-22 12:32:25 +00:00
Ravi Pratap M e894212552 2001-10-22 Ravi Pratap <[email protected]>
* makefile : New target 'verify' which uses the verifier to check
	that executables produced by us are identical to the MS' produced ones.

	* test-7.cs : Update to exercise more overloadable operators.

svn path=/trunk/mcs/; revision=1193
2001-10-22 12:27:45 +00:00
Paolo Molaro 2bd6537a38 Mon Oct 22 15:20:14 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: handle boolean, u1 and i1 as return values.

svn path=/trunk/mono/; revision=1192
2001-10-22 09:24:31 +00:00
Miguel de Icaza 4e2cbb5b39 Flush pending work
svn path=/trunk/mcs/; revision=1191
2001-10-22 00:38:33 +00:00
Miguel de Icaza ccd28af887 Add indexer test, does not work yet
svn path=/trunk/mcs/; revision=1190
2001-10-21 17:00:24 +00:00
Miguel de Icaza 01c7ad7c8a quick flush
svn path=/trunk/mcs/; revision=1189
2001-10-21 16:52:36 +00:00
Ravi Pratap M 30af209631 2001-10-21 Ravi Pratap <[email protected]>
* interface.cs (FindMembers): Implement to work around S.R.E
	lameness.

	* typemanager.cs (IsInterfaceType): Implement.

	(FindMembers): Update to handle interface types too.

	* expression.cs (ImplicitReferenceConversion): Re-write bits which
	use IsAssignableFrom as that is not correct - it doesn't work.

	* delegate.cs (DelegateInvocation): Derive from ExpressionStatement
	and accordingly override EmitStatement.

	* expression.cs (ConvertReferenceExplicit): Re-write similary, this time
	using the correct logic :-)

svn path=/trunk/mcs/; revision=1188
2001-10-21 10:11:36 +00:00
Ravi Pratap M 87bc7c82c0 2001-10-21 Ravi Pratap <[email protected]>
* test-27.cs : Add to do various implicit and explicit
	reference conversions.

	* makefile : Update accordingly.

svn path=/trunk/mcs/; revision=1187
2001-10-21 10:07:17 +00:00
Miguel de Icaza ec8882d1d7 Flush
svn path=/trunk/mcs/; revision=1186
2001-10-20 21:47:40 +00:00
Miguel de Icaza 5d3d3998e5 2001-10-17 Miguel de Icaza <[email protected]>
* assign.cs (Assign::Resolve): Resolve right hand side first, and
	then pass this as a hint to ResolveLValue.

	* expression.cs (FieldExpr): Add Location information

	(FieldExpr::LValueResolve): Report assignment to readonly
	variable.

	(Expression::ExprClassFromMemberInfo): Pass location information.

	(Expression::ResolveLValue): Add new method that resolves an
	LValue.

	(Expression::DoResolveLValue): Default invocation calls
	DoResolve.

	(Indexers): New class used to keep track of indexers in a given
	Type.

	(IStackStore): Renamed from LValue, as it did not really describe
	what this did.  Also ResolveLValue is gone from this interface and
	now is part of Expression.

	(ElementAccess): Depending on the element access type

	* typemanager.cs: Add `indexer_name_type' as a Core type
	(System.Runtime.CompilerServices.IndexerNameAttribute)

	* statement.cs (Goto): Take a location.

svn path=/trunk/mcs/; revision=1185
2001-10-20 21:22:56 +00:00
Martin Weindel cfe55451ec more tests for parsing and ToString
svn path=/trunk/mcs/; revision=1184
2001-10-20 17:02:05 +00:00
Martin Weindel 5645a16024 refactoring, ToString completed
svn path=/trunk/mcs/; revision=1183
2001-10-20 17:00:59 +00:00
Ravi Pratap M a5deccb0aa Add file to demonstrate error -11
svn path=/trunk/mcs/; revision=1182
2001-10-19 08:55:19 +00:00
Sean MacIsaac cbc3282aa1 System.CodeDom.*: Missing namespace declarations
System.build: Fixed clean target

System.XML.build: Output changed to System.Xml.dll not from System.XML

corlib.build: More things excluded from testing corlib

HashtableTest.cs: Don't print extra debug info during tests

Windows.cs: Added code to read/write/open/close files

svn path=/trunk/mcs/; revision=1181
2001-10-18 15:07:08 +00:00
Ravi Pratap M e1b537b359 2001-10-18 Ravi Pratap <[email protected]>
* delegate.cs (Delegate::VerifyDelegate): New method to verify
	if two delegates are compatible.

	(NewDelegate::DoResolve): Update to take care of the case when
	we instantiate a delegate from another delegate.

	* typemanager.cs (FindMembers): Don't even try to look up members
	of Delegate types for now.

svn path=/trunk/mcs/; revision=1180
2001-10-18 12:34:51 +00:00
Ravi Pratap M dee882485e 2001-10-18 Ravi Pratap <[email protected]>
* test-26.cs : Update to test delegate creation from another
	delegate.

svn path=/trunk/mcs/; revision=1179
2001-10-18 12:32:07 +00:00
Ravi Pratap M 0bc9bc3bef 2001-10-18 Ravi Pratap <[email protected]>
* delegate.cs (NewDelegate): New class to take care of delegate
	instantiation.

	* expression.cs (New): Split the delegate related code out into
	the NewDelegate class.

	* delegate.cs (DelegateInvocation): New class to handle delegate
	invocation.

	* expression.cs (Invocation): Split out delegate related code into
	the DelegateInvocation class.

svn path=/trunk/mcs/; revision=1178
2001-10-18 07:01:43 +00:00
Ravi Pratap M 3a6c459c66 Modify to make a little more verbose :-)
svn path=/trunk/mcs/; revision=1177
2001-10-18 06:58:42 +00:00
Sean MacIsaac 42c7e30c6d Got nunit tests running in windows. Reorganized Test case directories.
svn path=/trunk/mcs/; revision=1176
2001-10-17 17:36:04 +00:00
Ravi Pratap M 48851f9b3b 2001-10-17 Ravi Pratap <[email protected]>
* expression.cs (New::DoResolve): Implement delegate creation fully
	and according to the spec.

	(New::DoEmit): Update to handle delegates differently.

	(Invocation::FullMethodDesc): Fix major stupid bug thanks to me
	because of which we were printing out arguments in reverse order !

	* delegate.cs (VerifyMethod): Implement to check if the given method
	matches the delegate.

	(FullDelegateDesc): Implement.

	(VerifyApplicability): Implement.

	* expression.cs (Invocation::DoResolve): Update to accordingly handle
	delegate invocations too.

	(Invocation::Emit): Ditto.

	* ../errors/cs1593.cs : Added.

	* ../errors/cs1594.cs : Added.

	* delegate.cs (InstanceExpression, TargetMethod): New properties.

2001-10-16  Ravi Pratap  <[email protected]>

	* typemanager.cs (intptr_type): Core type for System.IntPtr

	(InitCoreTypes): Update for the same.

	(iasyncresult_type, asynccallback_type): Ditto.

	* delegate.cs (Populate): Fix to use System.Intptr as it is indeed
	correct.

	* typemanager.cs (AddDelegateType): Store a pointer to the Delegate class
	too.

	* delegate.cs (ConstructorBuilder, InvokeBuilder, ...): New members to hold
	the builders for the 4 members of a delegate type :-)

	(Populate): Define the BeginInvoke and EndInvoke methods on the delegate
	type.

	* expression.cs (New::DoResolve): Implement guts for delegate creation.

	* ../errors/errors.txt : Update for an error (-11) which only we catch :-)

svn path=/trunk/mcs/; revision=1175
2001-10-17 09:25:26 +00:00
Ravi Pratap M 0aeccb1130 2001-10-17 Ravi Pratap <[email protected]>
* test-26.cs : Added to demonstrate delegate support.

svn path=/trunk/mcs/; revision=1174
2001-10-17 09:21:11 +00:00
Ravi Pratap M 8192342a2b Add files for delegate related errors.
svn path=/trunk/mcs/; revision=1173
2001-10-17 09:20:07 +00:00
Sean MacIsaac 0c096f73e3 class.c (mono_class_create_from_typeref): added debugging output
to print class name when MonoDummy is returned instead of real class

svn path=/trunk/mono/; revision=1172
2001-10-17 03:58:33 +00:00
Sean MacIsaac fc1bf781fa Added stub classes/methods needed by compiler in an attempt to get it
to run in Linux.

svn path=/trunk/mcs/; revision=1171
2001-10-17 03:54:01 +00:00
Miguel de Icaza 600820948f Add IndexerNameAttribute
svn path=/trunk/mcs/; revision=1170
2001-10-17 01:51:30 +00:00
Miguel de Icaza f0d64cf4a7 2001-10-15 Miguel de Icaza <[email protected]>
* statement.cs (Break::Emit): Implement.
	(Continue::Emit): Implement.

	(For::Emit): Track old being/end loops;  Set Begin loop, ack end loop
	(While::Emit): Track old being/end loops;  Set Begin loop, ack end loop
	(Do::Emit): Track old being/end loops;  Set Begin loop, ack end loop
	(Foreach::Emit): Track old being/end loops;  Set Begin loop, ack
	end loop

	* codegen.cs (EmitContext::LoopEnd, EmitContext::LoopBegin): New
	properties that track the label for the current loop (begin of the
	loop and end of the loop).

svn path=/trunk/mcs/; revision=1169
2001-10-16 00:57:41 +00:00
Miguel de Icaza a2b1c0dd36 UPdated
svn path=/trunk/mono/; revision=1168
2001-10-15 22:03:43 +00:00
Ravi Pratap M cf7f371359 2001-10-15 Ravi Pratap <[email protected]>
* delegate.cs (Emit): Get rid of it as there doesn't seem to be any ostensible
	use of emitting anything at all.

	* class.cs, rootcontext.cs : Get rid of calls to the same.

	* delegate.cs (DefineDelegate): Make sure the class we define is also sealed.

	(Populate): Define the constructor correctly and set the implementation
	attributes.

	* typemanager.cs (delegate_types): New hashtable to hold delegates that
	have been defined.

	(AddDelegateType): Implement.

	(IsDelegateType): Implement helper method.

	* delegate.cs (DefineDelegate): Use AddDelegateType instead of AddUserType.

	* expression.cs (New::DoResolve): Check if we are trying to instantiate a delegate type
	and accordingly handle it.

	* delegate.cs (Populate): Take TypeContainer argument.
	Implement bits to define the Invoke method. However, I still haven't figured out
	how to take care of the native int bit :-(

	* cs-parser.jay (delegate_declaration): Fixed the bug that I had introduced :-)
	Qualify the name of the delegate, not its return type !

	* expression.cs (ImplicitReferenceConversion): Implement guts of implicit array
	conversion.

	(StandardConversionExists): Checking for array types turns out to be recursive.

	(ConvertReferenceExplicit): Implement array conversion.

	(ExplicitReferenceConversionExists): New method to determine precisely that :-)

2001-10-12  Ravi Pratap  <[email protected]>

	* cs-parser.jay (delegate_declaration): Store the fully qualified
	name as it is a type declaration.

	* delegate.cs (ReturnType, Name): Rename members to these. Make them
	readonly.

	(DefineDelegate): Renamed from Define. Does the same thing essentially,
	as TypeContainer::DefineType.

	(Populate): Method in which all the definition of the various methods (Invoke)
	etc is done.

	(Emit): Emit any code, if necessary. I am not sure about this really, but let's
	see.

	(CloseDelegate): Finally creates the delegate.

	* class.cs (TypeContainer::DefineType): Update to define delegates.
	(Populate, Emit and CloseType): Do the same thing here too.

	* rootcontext.cs (ResolveTree, PopulateTypes, EmitCode, CloseTypes): Include
	delegates in all these operations.

svn path=/trunk/mcs/; revision=1167
2001-10-15 14:41:52 +00:00
Dietmar Maurer e90bb9a700 2001-10-15 Dietmar Maurer <[email protected]>
* class.c (mono_class_metadata_init): interface offset table now
	contains pointers into the vtable - this is more efficient for the jit

	* class.c (mono_class_metadata_init): use a temporary vtable (the
	old algorithm only worked for the interpreter, but not for the jit)

	* loader.c (method_from_memberref): use mono_class_get to get the
	class of an array instead of using System.Array directly.
	(mono_get_method): also add MEMBERREF methods to the method cache
	which usefull for arrays.

	* pedump.c (arch_compile_method): added to compute vtable entry

	* interp.c: removed newobj()

	* interp.c (get_virtual_method): use the vtable
	(arch_compile_method): added to compute vtable entry

	* x86.brg: added some experimental code for CALL
	instructions - still not found the optimal way to do it.

	* testjit.c (map_stind_type): add support for value types with
	a size of 1, 2 or 4 bytes, implemented CEE_UNBOX, CEE_LDOBJ,
	CEE_LDSTR, CEE_LDFLD, CEE_LDFLDA, CEE_STFLD, CEE_NEWOBJ, CEE_CEQ
	(ctree_create_newobj): impl.


	* emit-x86.c (tree_allocate_regs): removed allocation code for
	addr nonterminal.
	(get_address): use a simple, but bug free search instead of the
	buggy binary search.

	* testjit.c: support virtual functions

svn path=/trunk/mono/; revision=1166
2001-10-15 09:50:03 +00:00
Miguel de Icaza ec894c7899 2001-10-14 Miguel de Icaza <[email protected]>
* expression.cs: LocalTemporary: a new expression used to
	reference a temporary that has been created.

	* assign.cs: Handle PropertyAccess back here, so that we can
	provide the proper semantic access to properties.

svn path=/trunk/mcs/; revision=1165
2001-10-15 00:03:43 +00:00
Miguel de Icaza 1413d8129a 2001-10-14 Miguel de Icaza <[email protected]>
* expression.cs (Expression::ConvertReferenceExplicit): Implement
	a few more explicit conversions.

	* modifiers.cs: `NEW' modifier maps to HideBySig.

	* expression.cs (PropertyExpr): Make this into an
	ExpressionStatement, and support the EmitStatement code path.

	Perform get/set error checking, clean up the interface.

	* assign.cs: recognize PropertyExprs as targets, and if so, turn
	them into toplevel access objects.

svn path=/trunk/mcs/; revision=1164
2001-10-14 22:30:14 +00:00
Martin Weindel f3d9b319e8 added Martin Weindel
svn path=/trunk/mono/; revision=1163
2001-10-14 18:36:09 +00:00
Martin Weindel 8abdebb866 added entry for System.Decimal
svn path=/trunk/mono/; revision=1162
2001-10-14 18:35:06 +00:00
Martin Weindel d99307b6a7 Tests for System.Decimal
svn path=/trunk/mcs/; revision=1161
2001-10-14 18:28:54 +00:00
Martin Weindel 23dad040c3 *** empty log message ***
svn path=/trunk/mcs/; revision=1160
2001-10-14 18:27:32 +00:00
Martin Weindel a0a8afc288 added Decimal.cs and DecimalFormatter.cs
svn path=/trunk/mcs/; revision=1159
2001-10-14 18:26:04 +00:00
Miguel de Icaza 6cdabea336 2001-10-12 Miguel de Icaza <[email protected]>
* expression.cs: PropertyExpr::PropertyExpr: use work around the
	SRE.

	* typemanager.cs: Keep track here of our PropertyBuilders again to
	work around lameness in SRE.

svn path=/trunk/mcs/; revision=1158
2001-10-12 18:52:18 +00:00
Miguel de Icaza 8b86befa90 2001-10-11 Miguel de Icaza <[email protected]>
* expression.cs (LValue::LValueResolve): New method in the
	interface, used to perform a second resolution pass for LValues.

	(This::DoResolve): Catch the use of this in static methods.

	(This::LValueResolve): Implement.

	(This::Store): Remove warning, assigning to `this' in structures
	is

svn path=/trunk/mcs/; revision=1157
2001-10-12 14:18:21 +00:00
Miguel de Icaza 816298ea3d Make it compile
svn path=/trunk/mcs/; revision=1156
2001-10-12 14:13:12 +00:00
Ravi Pratap M 2b40cf4553 2001-10-12 Ravi Pratap <[email protected]>
* test-21.cs : Update to actually do some checking and return
	an appropriate value.

svn path=/trunk/mcs/; revision=1155
2001-10-12 11:28:02 +00:00
Paolo Molaro 87a4e6362e Fixed test cases.
svn path=/trunk/mono/; revision=1154
2001-10-12 10:32:09 +00:00
Miguel de Icaza eeffa700cf Add more tests
svn path=/trunk/mcs/; revision=1153
2001-10-12 01:24:02 +00:00
Jeffrey Stedfast d6c8f01231 added StringTest.cs
svn path=/trunk/mcs/; revision=1152
2001-10-11 23:27:11 +00:00
Jeffrey Stedfast 3dad3888f8 2001-10-11 Jeffrey Stedfast <[email protected]>
* System/StringTest.cs: Added.

svn path=/trunk/mcs/; revision=1151
2001-10-11 23:26:24 +00:00
Mario Carrion d92e9520ec Adding tests for the basic integer structs
svn path=/trunk/mcs/; revision=1150
2001-10-11 18:56:17 +00:00
Miguel de Icaza be9b6f4756 Initial import on the Mono BASIC patchs from Rafael
svn path=/trunk/mcs/; revision=1149
2001-10-11 18:21:25 +00:00
Miguel de Icaza 3fe0f855dd Add files from MonoBASIC compiler
svn path=/trunk/mcs/; revision=1148
2001-10-11 18:12:12 +00:00
Miguel de Icaza 8dd59fa103 2001-10-11 Miguel de Icaza <[email protected]>
* expression.cs (Invocation::Emit): Deal with invocation of
	methods on value types.  We need to pass the address to structure
	methods rather than the object itself.  (The equivalent code to
	emit "this" for structures leaves the entire structure on the
	stack instead of a pointer to it).

	(ParameterReference::DoResolve): Compute the real index for the
	argument based on whether the method takes or not a `this' pointer
	(ie, the method is static).

	* codegen.cs (EmitContext::GetTemporaryStorage): Used to store
	value types returned from functions when we need to invoke a
	method on the sturcture.

svn path=/trunk/mcs/; revision=1147
2001-10-11 18:02:55 +00:00
Thomas Neidhart f88519f59d * added sorting support for ByMaintainer.xsl
and ByNamespace.xsl

svn path=/trunk/mono/; revision=1146
2001-10-11 17:00:20 +00:00
Ravi Pratap M 4b965830c1 2001-10-11 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::DefineType): Method to actually do the business of
	defining the type in the Modulebuilder or Typebuilder. This is to take
	care of nested types which need to be defined on the TypeBuilder using
	DefineNestedMethod.

	(TypeContainer::GetClassBases): Implement. Essentially the code from the
	methods in RootContext, only ported to be part of TypeContainer.

	(TypeContainer::GetInterfaceOrClass): Ditto.

	(TypeContainer::LookupInterfaceOrClass, ::MakeFQN): Ditto.

	* interface.cs (Interface::DefineInterface): New method. Does exactly
	what RootContext.CreateInterface did earlier, only it takes care of nested types
	too.

	(Interface::GetInterfaces): Move from RootContext here and port.

	(Interface::GetInterfaceByName): Same here.

	* rootcontext.cs (ResolveTree): Re-write.

	(PopulateTypes): Re-write.

	* class.cs (TypeContainer::Populate): Populate nested types too.
	(TypeContainer::Emit): Emit nested members too.

	* typemanager.cs (AddUserType): Do not make use of the FullName property,
	instead just use the name argument passed in as it is already fully
	qualified.

	(FindMembers): Check in the Builders to TypeContainer mapping instead of the name
	to TypeContainer mapping to see if a type is user-defined.

	* class.cs (TypeContainer::CloseType): Implement.

	(TypeContainer::DefineDefaultConstructor): Use Basename, not Name while creating
	the default constructor.

	(TypeContainer::Populate): Fix minor bug which led to creating default constructors
	twice.

	(Constructor::IsDefault): Fix up logic to determine if it is the default constructor

	* interface.cs (CloseType): Create the type here.

	* rootcontext.cs (CloseTypes): Re-write to recursively close types by running through
	the hierarchy.

	Remove all the methods which are now in TypeContainer.

2001-10-10  Ravi Pratap  <[email protected]>

	* delegate.cs (Define): Re-write bits to define the delegate
	correctly.

svn path=/trunk/mcs/; revision=1145
2001-10-11 16:46:46 +00:00
Ravi Pratap M 42b4b342d3 Actually add the file this time :-)
svn path=/trunk/mcs/; revision=1144
2001-10-11 16:39:44 +00:00
Ravi Pratap M a0ac5aa738 2001-10-11 Ravi Pratap <[email protected]>
* test-21.cs : Add. This is a test for testing our support
	for nested types

svn path=/trunk/mcs/; revision=1143
2001-10-11 16:38:03 +00:00
Thomas Neidhart c1a80ba17d * updated class status
svn path=/trunk/mono/; revision=1142
2001-10-11 15:56:27 +00:00
Thomas Neidhart f0b7d41fb9 * Initial versions of several classes, including
DSA base classes and CSP base classes

svn path=/trunk/mcs/; revision=1141
2001-10-11 15:30:20 +00:00
Thomas Neidhart 1d894192c2 * Convert.cs: added Base64 converting methods
svn path=/trunk/mcs/; revision=1140
2001-10-11 15:24:19 +00:00
Dietmar Maurer bea5147eb2 more documentation
svn path=/trunk/mono/; revision=1138
2001-10-11 04:25:07 +00:00
Derek Holden a3b0410b1e IntegerFormatter test
svn path=/trunk/mcs/; revision=1137
2001-10-10 19:03:41 +00:00
Derek Holden b6c8d42de8 out of range error on FormatGeneral for uints
svn path=/trunk/mcs/; revision=1136
2001-10-10 19:02:42 +00:00
Thomas Neidhart 18f7bbffc7 * added directory Test/System.Security.Cryptography
* added TestSuite for all Crypto classes
* added tests for AsymmetricAlgorithm & SymmetricAlgorithm

svn path=/trunk/mcs/; revision=1135
2001-10-10 17:26:22 +00:00
Derek Holden a74cba1cb4 percision -> precision in 446 places
svn path=/trunk/mcs/; revision=1134
2001-10-10 15:36:11 +00:00
Paolo Molaro 67f75d73ac Wed Oct 10 16:07:24 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.c: added x86_set_{reg,mem,membase}.

svn path=/trunk/mono/; revision=1133
2001-10-10 10:11:17 +00:00
Derek Holden bfa592f6e9 updated
svn path=/trunk/mcs/; revision=1132
2001-10-10 08:05:59 +00:00
Derek Holden b8c4ba805b ToString's now using IntegerFormatter
svn path=/trunk/mcs/; revision=1131
2001-10-10 08:00:30 +00:00
Derek Holden 06e1ac2468 ToString formatter for integral types
svn path=/trunk/mcs/; revision=1130
2001-10-10 07:57:45 +00:00
Dietmar Maurer 26f5f5b2cb *** empty log message ***
svn path=/trunk/mono/; revision=1129
2001-10-10 07:51:37 +00:00
Dietmar Maurer b59cb68bab 2001-10-10 Dietmar Maurer <[email protected]>
* interp.c (get_virtual_method): use the vtable

        * metadata.c (mono_metadata_interfaces_from_typedef): also return the
        number of interfaces.

        * class.h: merged MonoArrayClass into MonoClass

        * class.c (mono_class_create_from_typedef): compute the vtable size and
        allocate space to include the vtable inside MonoClass
        (mono_class_metadata_init): initialize the vtable

svn path=/trunk/mono/; revision=1128
2001-10-10 07:47:05 +00:00
Ravi Pratap M 4909a2dde0 Fix up test-7.cs to use a double instead of float for explicit
conversion testing. We don;t parse float literals yet so ...

All tests pass again.

svn path=/trunk/mcs/; revision=1127
2001-10-10 03:43:32 +00:00
Miguel de Icaza c07b3a44d9 2001-10-10 Miguel de Icaza <[email protected]>
* makefile: Renamed the compiler to `mcs.exe' instead of compiler.exe

	* expression.cs (ImplicitReferenceConversion): handle null as well
	as a source to convert to any reference type.

	* statement.cs (Return): Perform any implicit conversions to
	expected return type.

	Validate use of return statement.

	* codegen.cs (EmitContext): Pass the expected return type here.

	* class.cs (Method, Constructor, Property): Pass expected return
	type to EmitContext.

2001-10-09  Miguel de Icaza  <[email protected]>

	* expression.cs: Make DoResolve take an EmitContext instead of a
	TypeContainer.

	Replaced `l' and `location' for `loc', for consistency.

	(Error, Warning): Remove unneeded Tc argument.

	* assign.cs, literal.cs, constant.cs: Update to new calling
	convention.

	* codegen.cs: EmitContext now contains a flag indicating whether
	code is being generated in a static method or not.

	* cs-parser.jay: DecomposeQI, new function that replaces the old
	QualifiedIdentifier.  Now we always decompose the assembled
	strings from qualified_identifier productions into a group of
	memberaccesses.

2001-10-08  Miguel de Icaza  <[email protected]>

	* rootcontext.cs: Deal with field-less struct types correctly now
	by passing the size option to Define Type.

	* class.cs: Removed hack that created one static field.

2001-10-07  Miguel de Icaza  <[email protected]>

	* statement.cs: Moved most of the code generation here.

svn path=/trunk/mcs/; revision=1126
2001-10-10 02:36:47 +00:00
Derek Holden 0d98160fe4 Small typo in PercentPositivePattern and CurrencyPositivePattern
svn path=/trunk/mcs/; revision=1125
2001-10-09 21:35:45 +00:00
Paolo Molaro 596a86e61b Missing file: this is what you get working on holidays :-(
svn path=/trunk/mono/; revision=1124
2001-10-09 10:28:29 +00:00
Ravi Pratap M 295181c5f9 2001-10-09 Ravi Pratap <[email protected]>
* expression.cs (New::DoResolve): Revert changes for array creation, doesn't
	seem very right.

	(ElementAccess): Remove useless bits for now - keep checks as the spec
	says.

svn path=/trunk/mcs/; revision=1123
2001-10-09 02:55:28 +00:00
Paolo Molaro 5e565c23f3 Mon Oct 8 20:27:50 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: define NO_UNALIGNED_ACCESS for platforms that
	can't read on unaligned boundaries


Mon Oct 8 16:12:38 CEST 2001 Paolo Molaro <[email protected]>

	* metadata.c, metadata.h: use MonoArrayType to describe the shape of an array.
	Guard against calling bsearch with a NULL pointer (pointed out by Laurent Rioux, smoux).
	* image.c: endian fixes by Laurent Rioux.
	* object.h, object.c: rename MonoStringObject to MonoString and
	MonoArrayObject to MonoArray. Change some function names to conform to
	the style mono_<object>_<action>. mono_string_new_utf16 () takes a
	guint16* as first argument, so don't use char*.
	Provide macros to do the interesting things on arrays in a portable way.
	* threads-pthread.c: updates for the API changes and #include <sched.h>
	(required for sched_yield()).
	* icall.c: updates for the API changes above.
	* Makefile.am, mono-endian.c. mono-endian.h: include unaligned read routines for
	platforms that need them.


Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <[email protected]>

	* get.c, get.h: MonoArray changed in MonoArrayType.
	* main.c: guard against calling bsearch with a NULL pointer
	(pointed out by Laurent Rioux, smoux).


Mon Oct 8 16:13:07 CEST 2001 Paolo Molaro <[email protected]>

	* x86/tramp.c: remove mono_get_ansi_string () and use
	mono_string_to_utf8 () instead.


Mon Oct 8 16:14:40 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: use the accessors provided in object.h to deal with
	MonoArrays. Updates for API renames in metadata. Throw exception
	in ldelema if index is out of bounds.

svn path=/trunk/mono/; revision=1122
2001-10-08 14:33:48 +00:00
Ravi Pratap M bc9bc0d083 2001-10-07 Ravi Pratap <[email protected]>
* cs-parser.jay (type_suffix*): Remove - they are redundant. Use
	rank_specifiers instead.

	(rank_specifiers): Change the order in which the rank specifiers are stored

	(local_variable_declaration): Use opt_rank_specifier instead of type_suffixes.

	* expression.cs (ElementAccess): Implement the LValue interface too.

2001-10-06  Ravi Pratap  <[email protected]>

	* expression.cs (ConvertExplicitStandard): Add. Same as ConvertExplicit
	except that user defined conversions are not included.

	(UserDefinedConversion): Update to use the ConvertExplicitStandard to
	perform the conversion of the return type, if necessary.

	(New::DoResolve): Check whether we are creating an array or an object
	and accordingly do the needful.

	(New::Emit): Same here.

	(New::DoResolve): Implement guts of array creation.

	(New::FormLookupType): Helper function.

svn path=/trunk/mcs/; revision=1121
2001-10-08 13:02:52 +00:00
Paolo Molaro 32fb0da568 Added copyright notices.
svn path=/trunk/mcs/; revision=1120
2001-10-08 12:02:19 +00:00
Dick Porter 4e11d3be13 Fixed syntax errors
svn path=/trunk/mcs/; revision=1119
2001-10-08 09:28:07 +00:00
Paolo Molaro d93fdec2b6 Mon Oct 8 10:43:23 CEST 2001 Paolo Molaro <[email protected]>
* class.c: set the correct type for all the fundamental
	type when loading the class.


Mon Oct 8 10:44:25 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: fixes for changes in metadata.

svn path=/trunk/mono/; revision=1118
2001-10-08 04:48:43 +00:00
Miguel de Icaza af2e01fffb 2001-10-07 Miguel de Icaza <[email protected]>
* codegen.cs: Added support for try/catch/finalize and throw.

	* cs-parser.jay: Added support for try/catch/finalize.

svn path=/trunk/mcs/; revision=1117
2001-10-07 21:01:57 +00:00
Miguel de Icaza c12461cc6f Add AllTests file from Mario
svn path=/trunk/mcs/; revision=1115
2001-10-07 02:13:01 +00:00
Miguel de Icaza 464b838711 Make the build pass
svn path=/trunk/mcs/; revision=1114
2001-10-07 01:54:54 +00:00
Miguel de Icaza 61634984c6 Some warning reduction:
2001-10-07  Miguel de Icaza  <[email protected]>

	* Exception.cs: Implement bits of serialization.

	* RuntimeFieldHandle.cs: Implement Serialization features.

	* Type.cs: Implement TypeHandle property.

2001-10-07  Miguel de Icaza  <[email protected]>

	* AssemblyBuilder.cs: Reformatted.

	Added override keywords to those that needed them.

	Removed methods that we do not override, but just inherit

2001-10-07  Miguel de Icaza  <[email protected]>

	* Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
	UnicodeEncoding.cs: Corrected API.

	* UTF8Encoding.cs: Checked in changes from Rafael.

svn path=/trunk/mcs/; revision=1113
2001-10-07 01:39:01 +00:00
Miguel de Icaza b958209366 Added updated UTF8Encoding from Rafael
svn path=/trunk/mcs/; revision=1111
2001-10-07 00:36:47 +00:00
Miguel de Icaza d3d8c17e18 Update TODO
svn path=/trunk/mcs/; revision=1110
2001-10-07 00:23:41 +00:00
Miguel de Icaza 058820db2f 2001-10-07 Miguel de Icaza <[email protected]>
* expression.cs (UserCast): This user cast was not really doing
	what it was supposed to do.  Which is to be born in fully resolved
	state.  Parts of the resolution were being performed at Emit time!

	Fixed this code.

svn path=/trunk/mcs/; revision=1109
2001-10-07 00:12:49 +00:00
Thomas Neidhart 788dd5ef7d * updated status
svn path=/trunk/mono/; revision=1108
2001-10-06 19:04:22 +00:00
Thomas Neidhart 657e782034 * AsymmetricAlgorithm.cs: Initial version
* AsymmetricKeyExchangeDeformatter.cs: Initial version
* AsymmetricKeyExchangeFormatter.cs: Initial version
* AsymmetricSignatureDeformatter.cs: Initial version
* AsymmetricSignatureFormatter.cs: Initial version
* PaddingMode.cs: Added PaddingMode.None
* SignatureDescription.cs: Initial version
* SymmetricAlgorithm.cs: Implemented CreateDecryptor, CreateEncryptor and Create() methods

svn path=/trunk/mcs/; revision=1107
2001-10-06 17:25:25 +00:00
Dick Porter 46651cf74c Fixed thinko in usec/nsec time compare in pthread_mutex_timedlock()
svn path=/trunk/mono/; revision=1106
2001-10-06 06:14:04 +00:00
Thomas Neidhart f9b4c6284c SymmetricAlgorithm.cs: Implemented CreateDecryptor and CreateEncryptor methods
CryptographicException.cs: Initial version
CryptographicUnknownOperationException.cs: Initial version

svn path=/trunk/mcs/; revision=1105
2001-10-06 05:40:36 +00:00
Miguel de Icaza b2ee2776dd Work to get foreach working and analyzed.
ChangeLog comming later

svn path=/trunk/mcs/; revision=1103
2001-10-05 21:13:47 +00:00
Miguel de Icaza f4f49dbf98 2001-10-05 Miguel de Icaza <[email protected]>
* expression.cs: Implicity convert the result from UserCast.

Include the test from Ravi that exhibits the bug.

New classes from Toelen.

svn path=/trunk/mcs/; revision=1102
2001-10-05 17:03:10 +00:00
Miguel de Icaza 6c6fecaea1 More files from Toelen
svn path=/trunk/mcs/; revision=1101
2001-10-05 16:09:01 +00:00
Ravi Pratap M 943fd499d6 2001-10-05 Ravi Pratap <[email protected]>
* expression.cs (Expression::FindMostEncompassingType): Fix bug which
	prevented it from working correctly.

	(ConvertExplicit): Make the first try, a call to ConvertImplicitStandard, not
	merely ConvertImplicit.

svn path=/trunk/mcs/; revision=1100
2001-10-05 15:46:29 +00:00
Ravi Pratap M 1a14d9dd84 2001-10-05 Ravi Pratap <[email protected]>
* test-16.cs : Update to exercise the code which selects the best
	conversion operator based on "most encompassing/encompassed type"

	* test-7.cs : Update here too.

svn path=/trunk/mcs/; revision=1099
2001-10-05 15:41:21 +00:00
Miguel de Icaza f554a0c2e0 *** empty log message ***
svn path=/trunk/mcs/; revision=1098
2001-10-05 15:01:37 +00:00
Dick Porter 5cdbe59e40 Updated status
svn path=/trunk/mono/; revision=1097
2001-10-05 12:44:18 +00:00
Dick Porter bc3c9f9944 2001-10-05 Dick Porter <[email protected]>
* threads-pthread.c (pthread_mutex_timedlock): Simple
	compatibility version for C libraries that lack this call.

svn path=/trunk/mono/; revision=1096
2001-10-05 12:15:07 +00:00
Miguel de Icaza d660164d38 Add new files from Chris Hynes
svn path=/trunk/mcs/; revision=1094
2001-10-05 11:14:03 +00:00
Miguel de Icaza 65b050eecd Add new files from Chris Hynes
svn path=/trunk/mcs/; revision=1093
2001-10-05 11:07:40 +00:00
Miguel de Icaza ec14eee7e0 More News Items
svn path=/trunk/mono/; revision=1092
2001-10-05 10:54:02 +00:00
Ravi Pratap M 1180395c2b 2001-10-05 Ravi Pratap <[email protected]>
* expression.cs (Expression::ImplicitUserConversion): Rename to
	UserDefinedConversion.

	(Expression::UserDefinedConversion): Take an extra argument specifying
	whether we look for explicit user conversions too.

	(Expression::ImplicitUserConversion): Make it a call to UserDefinedConversion.

	(UserDefinedConversion): Incorporate support for user defined explicit conversions.

	(ExplicitUserConversion): Make it a call to UserDefinedConversion
	with the appropriate arguments.

	* cs-parser.jay (cast_expression): Record location too.

	* expression.cs (Cast): Record location info.

	(Expression::ConvertExplicit): Take location argument.

	(UserImplicitCast): Change name to UserCast. Take an extra constructor argument
	to determine if we are doing explicit conversions.

	(UserCast::Emit): Update accordingly.

	(Expression::ConvertExplicit): Report an error if everything fails.

	* ../errors/cs0030.cs : Add.

svn path=/trunk/mcs/; revision=1091
2001-10-05 08:39:39 +00:00
Ravi Pratap M eca55e95da 2001-10-05 Ravi Pratap <[email protected]>
* test-7.cs : Update to do explicit conversion tests.

	* makefile : small fix.

svn path=/trunk/mcs/; revision=1090
2001-10-05 08:37:06 +00:00
Ravi Pratap M e3a22b92fb Add a file for error CS0030
svn path=/trunk/mcs/; revision=1089
2001-10-05 08:35:28 +00:00
Dietmar Maurer f9f86d8b2b more tests
svn path=/trunk/mono/; revision=1088
2001-10-05 05:03:42 +00:00
Miguel de Icaza c6d400936a Updated
svn path=/trunk/mono/; revision=1087
2001-10-05 02:03:44 +00:00
Miguel de Icaza d817bd9e36 More News Items
svn path=/trunk/mono/; revision=1086
2001-10-05 01:52:52 +00:00
Miguel de Icaza ac52e0745a Added SymmetricAlgorithm from Thomas Neidhart
svn path=/trunk/mcs/; revision=1085
2001-10-05 01:49:16 +00:00
Miguel de Icaza 55102c540b 2001-10-04 Miguel de Icaza <[email protected]>
* modifiers.cs: If the ABSTRACT keyword is present, also set the
	virtual and newslot bits.

svn path=/trunk/mcs/; revision=1082
2001-10-04 21:39:50 +00:00
Miguel de Icaza 641555122d Update todo
svn path=/trunk/mcs/; revision=1081
2001-10-04 21:29:13 +00:00
Miguel de Icaza b5f79e1dad 2001-10-04 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::RegisterRequiredImplementations):
	Record methods we need.

	(TypeContainer::MakeKey): Helper function to make keys for
	MethodBases, since the Methodbase key is useless.

	(TypeContainer::Populate): Call RegisterRequiredImplementations
	before defining the methods.

	Create a mapping for method_builders_to_methods ahead of time
	instead of inside a tight loop.

	(::RequireMethods):  Accept an object as the data to set into the
	hashtable so we can report interface vs abstract method mismatch.

svn path=/trunk/mcs/; revision=1080
2001-10-04 21:24:28 +00:00
Miguel de Icaza 5b44b28540 Add more tests
svn path=/trunk/mcs/; revision=1079
2001-10-04 21:21:13 +00:00
Miguel de Icaza 4c65105bcc Add more errors, and fix some error tests
svn path=/trunk/mcs/; revision=1077
2001-10-04 20:34:02 +00:00
Miguel de Icaza 212c24b4f0 Flush
svn path=/trunk/mcs/; revision=1075
2001-10-04 17:51:34 +00:00
Miguel de Icaza b7fca3adb5 UPdate web page
svn path=/trunk/mono/; revision=1074
2001-10-04 17:47:44 +00:00
Dick Porter 6e4b1ec873 Temporary kludge to work around older linuxthreads implementations that
are missing pthread_mutex_timedlock()

svn path=/trunk/mono/; revision=1073
2001-10-04 14:27:02 +00:00
Paolo Molaro 9b95f6e327 Updates and fixes.
svn path=/trunk/mcs/; revision=1072
2001-10-04 13:34:37 +00:00
Paolo Molaro f50a1d5a93 Thu Oct 4 19:10:30 CEST 2001 Paolo Molaro <[email protected]>
* class.c: MonoTypes stored in MonoClass are stored as
	fundamental MonoTypes when the class represents a
	fundamental type (System.Int32, ...).
	The TypeHandle return by ldtoken is a MonoType*.
	* icall.c: ves_icall_get_data_chunk () write out all the
	PE/COFF stuff. Implement ves_icall_define_method (),
	ves_icall_set_method_body (), ves_icall_type_from_handle ().
	* image.c: properly skip unknown streams.
	* loader.h, loader.c: add type_class to mono_defaults.
	* metadata.c, metadata.h: export compute_size () as
	mono_metadata_compute_size () with a better interface.
	Typo and C&P fixes.
	* pedump.c: don't try to print the entry point RVA if there is no entry point.
	* reflection.c, reflection.h: many cleanups, fixes, output method
	signatures and headers, typedef and typeref info, compress the metadata
	tables, output all the heap streams, cli header etc.
	* row-indexes.h: typo fixes.


Thu Oct 4 19:09:13 CEST 2001 Paolo Molaro <[email protected]>

	* x86/tramp.c: allow marshalling valuetypes if they are
	4 bytes long.


Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <[email protected]>

	* dis-cil.c: fix printing of exception stuff.
	* dump.c: display some more info in the typedef table dump.
	* main.c: typo fix and method list fix.

svn path=/trunk/mono/; revision=1071
2001-10-04 13:32:23 +00:00
Dick Porter 50240505c6 2001-10-03 Dick Porter <[email protected]>
* Monitor.cs: Implemented all methods except the two Wait()
	methods that take boolean parameters

svn path=/trunk/mcs/; revision=1070
2001-10-04 09:44:14 +00:00
Dick Porter ed343c1d97 2001-10-04 Dick Porter <[email protected]>
* configure.in: Do some deeper checks on pthreads for some of the
	more interesting functions

2001-10-04  Dick Porter  <[email protected]>

	* object.h: Add a synchronisation mutex struct to MonoObject

	* object.c (mono_new_object): Initialise the object
	synchronisation mutexes

	* icall.c: System.Threading.Monitor internal calls

	* threads-pthread.h:
	* threads-pthread.c: System.Threading.Monitor internal calls

	* threads-types.h: New file, includes the system-specific thread
	structures

	* threads-pthread-types.h:
	* threads-pthread-types.c: New files, handle pthread-specific
	synchronisation types

	* threads-dummy-types.h:
	* threads-dummy-types.c: New files of dummy support for
	thread-specific types

	* metadata.c:
	* image.c:
	* pedump.c: include mono-endian.h not endian.h

	* Makefile.am: More threads files.
	Name mono-endian.h not endian.h

2001-10-04  Dick Porter  <[email protected]>

	* meta.h: include mono-endian.h not endian.h

2001-10-04  Dick Porter  <[email protected]>

	* interp.c (ves_runtime_method): init_class() the
	mono_defaults.delegate_class
	Include mono-endian.h not endian.h

2001-10-04  Dick Porter  <[email protected]>

	* testjit.c:
	* emit-x86.c: include mono-endian.h not endian.h

svn path=/trunk/mono/; revision=1069
2001-10-04 09:43:37 +00:00
Miguel de Icaza cf9c137f2e Flush
svn path=/trunk/mcs/; revision=1068
2001-10-03 21:37:52 +00:00
Miguel de Icaza f5611af471 *** empty log message ***
svn path=/trunk/mcs/; revision=1067
2001-10-03 14:27:05 +00:00
Ravi Pratap M 206b9898be 2001-10-03 Ravi Pratap <[email protected]>
* test-16.cs : Update to make the test more correct.

svn path=/trunk/mcs/; revision=1066
2001-10-03 14:10:23 +00:00
Ravi Pratap M 5a4fff8250 2001-10-03 Ravi Pratap <[email protected]>
* expression.cs (Binary::DoNumericPromotions): Fix the case when
	we do a forcible conversion regardless of type, to check if
	ForceConversion returns a null.

	(Binary::error19): Use location to report error.

	(Unary::error23): Use location here too.

	* ../errors/cs0019.cs : Check in.

	* ../errors/cs0023.cs : Check in.

	* expression.cs (Expression.MemberLookup): Return null for a rather esoteric
	case of a non-null MethodInfo object with a length of 0 !

	(Binary::ResolveOperator): Flag error if overload resolution fails to find
	an applicable member - according to the spec :-)
	Also fix logic to find members in base types.

	(Unary::ResolveOperator): Same here.

	(Unary::report23): Change name to error23 and make first argument a TypeContainer
	as I was getting thoroughly confused between this and error19 :-)

	* expression.cs (Expression::ImplicitUserConversion): Re-write fully
	(::FindMostEncompassedType): Implement.
	(::FindMostEncompassingType): Implement.
	(::StandardConversionExists): Implement.

	(UserImplicitCast): Re-vamp. We now need info about most specific
	source and target types so that we can do the necessary conversions.

	(Invocation::MakeUnionSet): Completely re-write to make sure we form a proper
	mathematical union with no duplicates.

svn path=/trunk/mcs/; revision=1065
2001-10-03 13:04:16 +00:00
Ravi Pratap M 914532ab8a Added files for errors CS0019 and CS0023
svn path=/trunk/mcs/; revision=1064
2001-10-03 13:01:18 +00:00
Ravi Pratap M b717c0c9eb 2001-10-03 Ravi Pratap <[email protected]>
* test-16.cs : Add.

	* makefile : update accordingly.

svn path=/trunk/mcs/; revision=1063
2001-10-03 12:59:16 +00:00
Dietmar Maurer a8b446e24b another test (does not work at the moment)
svn path=/trunk/mono/; revision=1062
2001-10-03 10:04:41 +00:00
Dietmar Maurer 3946082dfd 2001-10-02 Dietmar Maurer <[email protected]>
* get.c (get_method): always write namespace and class name.

svn path=/trunk/mono/; revision=1061
2001-10-03 02:28:04 +00:00
Miguel de Icaza 89a46c62ff *** empty log message ***
svn path=/trunk/mcs/; revision=1060
2001-10-03 01:26:24 +00:00
Paolo Molaro d19904c961 Tue Oct 2 20:33:48 CEST 2001 Paolo Molaro <[email protected]>
* Makefile.am, reflection.h, reflection.c: move here the reflection related
	stuff and implement a few more bits.
	* icall.c: a field needs to be dereferenced twice. Do not use the same
	name for two variables in the same scope.
	* image.c, image.h: cleanups.

svn path=/trunk/mono/; revision=1059
2001-10-02 14:42:07 +00:00
Miguel de Icaza baff6c9be7 Add new test
svn path=/trunk/mcs/; revision=1058
2001-10-02 13:52:13 +00:00
Martin Weindel e034955dfa added tests for System.Int64
svn path=/trunk/mcs/; revision=1057
2001-10-02 13:31:45 +00:00
Miguel de Icaza 5a22b50369 Add more tests
svn path=/trunk/mcs/; revision=1056
2001-10-02 13:05:15 +00:00
Miguel de Icaza 48a0828dc8 *** empty log message ***
svn path=/trunk/mcs/; revision=1055
2001-10-02 13:00:47 +00:00
Paolo Molaro 3df5438910 Tue Oct 2 18:51:25 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: set frame->ip in the leave opcode. Make db_methods static.

svn path=/trunk/mono/; revision=1054
2001-10-02 12:55:21 +00:00
Dietmar Maurer 847d6a0f76 2001-10-02 Dietmar Maurer <[email protected]>
* testjit.c (ctree_create_dup): really duplicate the tree.
	attach the arguments to the CALL node. Added a neiw macro to
	make argument order configurable (ARCH_ARGS_RIGHT_TO_LEFT).

svn path=/trunk/mono/; revision=1053
2001-10-02 06:52:58 +00:00
Dietmar Maurer ff1c4c7ed2 2001-10-02 Dietmar Maurer <[email protected]>
* class.c (mono_class_metadata_init): bug fix: compute the right size

svn path=/trunk/mono/; revision=1052
2001-10-02 03:37:40 +00:00
Ravi Pratap M b0057e2afe 2001-10-02 Ravi Pratap <[email protected]>
* test-13.cs : Added.

	* makefile : update accordingly.

svn path=/trunk/mcs/; revision=1051
2001-10-02 01:52:35 +00:00
Ravi Pratap M 60867ff34a 2001-10-02 Ravi Pratap <[email protected]>
* expression.cs (Unary::ResolveOperator): Find operators on base type
	too - we now conform exactly to the spec.

	(Binary::ResolveOperator): Same here.

	* class.cs (Operator::Define): Fix minor quirk in the tests.

	* ../errors/cs0215.cs : Added.

	* ../errors/cs0556.cs : Added.

	* ../errors/cs0555.cs : Added.

svn path=/trunk/mcs/; revision=1050
2001-10-02 01:45:42 +00:00
Ravi Pratap M 6e4cb8d32b Added more files for errors that we catch.
svn path=/trunk/mcs/; revision=1049
2001-10-02 01:41:26 +00:00
Miguel de Icaza f17abd7816 2001-10-01 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Reimplemented Location to be a struct with a
	single integer which is really efficient

svn path=/trunk/mcs/; revision=1047
2001-10-02 00:00:09 +00:00
Paolo Molaro 5bdd0bb7c7 Updates and some implementation bits.
svn path=/trunk/mcs/; revision=1046
2001-10-01 14:53:39 +00:00
Paolo Molaro 12800ef10b Mon Oct 1 20:43:57 CEST 2001 Paolo Molaro <[email protected]>
* icall.c: implemented some of the Reflection internalcalls.
	* image.c, image.h: start writing out the PE/COFF image.
	* metadata.h, metadata.c: implement mono_metadata_encode_value ()
	that does the reverse than decode_blob_size ().
	* object.c: use mono_metadata_encode_value (). Move here
	temporary implementation of mono_string_to_utf8 ().
	* rawbuffer.c: make malloc_map static.

svn path=/trunk/mono/; revision=1045
2001-10-01 14:53:07 +00:00
Paolo Molaro 78e26aeb8b Fix values for O_CREAT O_EXCL O_TRUNC O_APPEND to work on Linux,
these need to be taken from the wrapper generation tool, later.

svn path=/trunk/mcs/; revision=1044
2001-10-01 13:26:23 +00:00
Paolo Molaro 982cad2e22 No need to flush a filehandle (and anyway you can't since fflush
needs a _file_ handle).
Idem, avoid corruption calling fseek on a file handle (use lseek instead).
This file should be reworked to be 64 bits clean.

svn path=/trunk/mcs/; revision=1043
2001-10-01 13:12:32 +00:00
Paolo Molaro 045f160ee7 Mon Oct 1 18:48:27 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: fix thinko (s/SUB/ADD/) in stack adjustment
	and avoid a couple of unnecessary instructions.

svn path=/trunk/mono/; revision=1042
2001-10-01 13:07:53 +00:00
Ravi Pratap M f863757e01 2001-10-01 Ravi Pratap <[email protected]>
*  expression.cs (Expression::ImplicitUserConversion): Use location
        even in the case when we are examining True operators.

        * class.cs (Operator::Define): Perform extensive checks to conform
        with the rules for operator overloading in the spec.

	* expression.cs (Expression::ImplicitReferenceConversion): Implement
	some of the other conversions mentioned in the spec.

	* typemanager.cs (array_type): New static member for the System.Array built-in
	type.

	(cloneable_interface): For System.ICloneable interface.

	* driver.cs (Driver::Driver): Initialize TypeManager's core types even before
	we start resolving the tree and populating types.

	* ../errors/errors.txt : Update for error numbers -7, -8, -9, -10

svn path=/trunk/mcs/; revision=1041
2001-10-01 13:01:54 +00:00
Ravi Pratap M 85e3817a2f Update errors.txt for the new errors that only we catch.
svn path=/trunk/mcs/; revision=1040
2001-10-01 12:56:17 +00:00
Dietmar Maurer 1542f78f80 2001-10-01 Dietmar Maurer <[email protected]>
* interp.brg: the burm based interpreter: added the file as example.

svn path=/trunk/mono/; revision=1039
2001-10-01 08:53:31 +00:00
Miguel de Icaza 27ee0c1879 2001-10-01 Miguel de Icaza <[email protected]>
* expression.cs (Expression::ExprClassFromMemberInfo,
	Expression::Literalize): Create literal expressions from
	FieldInfos which are literals.

	(ConvertNumericExplicit, ImplicitNumericConversion): Fix a few
	type casts, because they were wrong.  The test suite in tests
	caught these ones.

	(ImplicitNumericConversion): ushort to ulong requires a widening
	cast.

	Int32 constant to long requires widening cast as well.

	* literal.cs (LongLiteral::EmitLong): Do not generate i4 constants
	for integers because the type on the stack is not i4.

svn path=/trunk/mcs/; revision=1038
2001-10-01 01:29:38 +00:00
Paolo Molaro ee264aa129 Sun Sep 30 11:57:15 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: compiler and ANSI C portability fixes.

svn path=/trunk/mono/; revision=1037
2001-09-30 06:04:32 +00:00
Miguel de Icaza a0d343eeb1 2001-09-30 Miguel de Icaza <[email protected]>
* expression.cs (report118): require location argument.

	* parameter.cs: Do not dereference potential null value.

	* class.cs: Catch methods that lack the `new' keyword when
	overriding a name.  Report warnings when `new' is used without
	anything being there to override.

	* modifiers.cs: Handle `NEW' as MethodAttributes.NewSlot.

svn path=/trunk/mcs/; revision=1036
2001-09-30 03:03:54 +00:00
Miguel de Icaza 6f4428a7e7 2001-09-30 Miguel de Icaza <[email protected]>
* class.cs: Only add constructor to hashtable if it is non-null
	(as now constructors can fail on define).

	(TypeManager, Class, Struct): Take location arguments.

	Catch field instance initialization in structs as errors.

	accepting_filter: a new filter for FindMembers that is static so
	that we dont create an instance per invocation.

	(Constructor::Define): Catch errors where a struct constructor is
	parameterless

	* cs-parser.jay: Pass location information for various new
	constructs.

	* delegate.cs (Delegate): take a location argument.

	* driver.cs: Do not call EmitCode if there were problesm in the
	Definition of the types, as many Builders wont be there.

	* decl.cs (Decl::Decl): Require a location argument.

	* cs-tokenizer.cs: Handle properly hex constants that can not fit
	into integers, and find the most appropiate integer for it.

	* literal.cs: Implement ULongLiteral.

	* rootcontext.cs: Provide better information about the location of
	failure when CreateType fails.

2001-09-29  Miguel de Icaza  <[email protected]>

	* rootcontext.cs (RootContext::PopulateTypes): Populates structs
	as well.

	* expression.cs (Binary::CheckShiftArguments): Add missing type
	computation.
	(Binary::ResolveOperator): Add type to the logical and and logical
	or, Bitwise And/Or and Exclusive Or code paths, it was missing
	before.

	(Binary::DoNumericPromotions): In the case where either argument
	is ulong (and most signed types combined with ulong cause an
	error) perform implicit integer constant conversions as well.

svn path=/trunk/mcs/; revision=1035
2001-09-30 02:22:09 +00:00
Miguel de Icaza d0969b05cb Added MethodImplAttribute and AttributeUsage classes
svn path=/trunk/mcs/; revision=1033
2001-09-29 16:57:38 +00:00
Dick Porter 0b30f0007d Added required 'Using' directive
svn path=/trunk/mcs/; revision=1032
2001-09-29 16:41:20 +00:00
Miguel de Icaza 59ecdcf73b 2001-09-28 Miguel de Icaza <[email protected]>
* expression.cs (UserImplicitCast): Method should always be
	non-null.
	(Invocation::BetterConversion): Simplified test for IntLiteral.

	(Expression::ImplicitNumericConversion): Split this routine out.
	Put the code that performs implicit constant integer conversions
	here.

	(Expression::Resolve): Become a wrapper around DoResolve so we can
	check eclass and type being set after resolve.

	(Invocation::Badness): Remove this dead function

	(Binary::ResolveOperator): Do not compute the expensive argumnets
	unless we have a union for it.

svn path=/trunk/mcs/; revision=1031
2001-09-28 20:27:52 +00:00
Miguel de Icaza 639f81cc5f 2001-09-28 Miguel de Icaza <[email protected]>
* expression.cs (Probe::Emit): Is needs to do an isinst and then
	compare against null.

	(::CanConvert): Added Location argument.  If the Location argument
	is null (Location.Null), then we do not report errors.  This is
	used by the `probe' mechanism of the Explicit conversion.  We do
	not want to generate an error for something that the user
	explicitly requested to be casted.  But the pipeline for an
	explicit cast first tests for potential implicit casts.

	So for now, if the Location is null, it means `Probe only' to
	avoid adding another argument.   Might have to revise this
	strategy later.

	(ClassCast): New class used to type cast objects into arbitrary
	classes (used in Explicit Reference Conversions).

	Implement `as' as well.

	Reverted all the patches from Ravi below: they were broken:

		* The use of `level' as a mechanism to stop recursive
		  invocations is wrong.  That was there just to catch the
		  bug with a strack trace but not as a way of addressing
		  the problem.

		  To fix the problem we have to *understand* what is going
		  on and the interactions and come up with a plan, not
		  just get things going.

		* The use of the type conversion cache that I proposed
		  last night had an open topic: How does this work across
		  protection domains.  A user defined conversion might not
		  be public in the location where we are applying the
		  conversion, a different conversion might be selected
		  (ie, private A->B (better) but public B->A (worse),
		  inside A, A->B applies, but outside it, B->A will
		  apply).

		* On top of that (ie, even if the above is solved),
		  conversions in a cache need to be abstract.  Ie, `To
		  convert from an Int to a Short use an OpcodeCast', not
		  `To convert from an Int to a Short use the OpcodeCast on
		  the variable 5' (which is what this patch was doing).

svn path=/trunk/mcs/; revision=1029
2001-09-28 18:10:28 +00:00
Paolo Molaro 0e1c47f7a5 Some fixes and some implementation bits. More classes.
svn path=/trunk/mcs/; revision=1028
2001-09-28 13:54:46 +00:00
Paolo Molaro bde4724905 Fri Sep 28 19:26:30 CEST 2001 Paolo Molaro <[email protected]>
* metadata.c: fix type comparison for arrays.
	* loader.h, loader.c: half-assed fix to get more tests work in cygwin.
	Added a couple of new classes to monodefaults.
	* icall.c: added a couple of Reflection-related internalcalls.
	* class.h, class.c: implemented mono_ldtoken () for RuntimeTypeHandles.
	Added a byval_arg MonoType to MonoClass.


Fri Sep 28 19:43:12 CEST 2001 Paolo Molaro <[email protected]>

	* x86/tramp.c: marshal valuetypes that are enums.


Fri Sep 28 19:37:46 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: Implemented ldtoken, conv.ovf.i. Use MonoClass->byval_arg
	(and remove related kludges). Don't choke on access to arrays of
	references. Throw an exception when an internalcall or P/Invoke
	function don't have an implementation. Throw and EngineException
	for unimplemented opcodes.

svn path=/trunk/mono/; revision=1027
2001-09-28 13:49:47 +00:00
Dick Porter 0460469e4d 2001-09-28 Dick Porter <[email protected]>
* icall.c:
	* threads-pthread.h:
	* threads-pthread.c: Implemented internal calls for
	LocalDataStoreSlot operations.  Applied mutexes around all shared
	data.  Reworked the thread creation and Start() operations to
	avoid a race condition.

	* threads-dummy.h:
	* threads-dummy.c: Dummy calls for the LocalDataStoreSlot operations

svn path=/trunk/mono/; revision=1026
2001-09-28 13:39:47 +00:00
Dick Porter 1046a5b8b8 2001-09-28 Dick Porter <[email protected]>
* Thread.cs: Implemented AllocateDataSlot(),
	AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
	GetNamedDataSlot(), SetData(), IsBackground.  Reworked Thread()
	and Start() to avoid a race condition. Added thread-safe state
	changing private operations.

	* Monitor.cs: Comment out the GetType() calls because it isn't implemented yet

2001-09-28  Dick Porter  <[email protected]>

	* LocalDataStoreSlot.cs: Implemented

svn path=/trunk/mcs/; revision=1025
2001-09-28 13:38:52 +00:00
Miguel de Icaza dc315c6bdf Revert Ravi's patch, it was completely broken
svn path=/trunk/mcs/; revision=1024
2001-09-28 12:43:53 +00:00
Ravi Pratap M d9d94a607f 2001-09-28 Ravi Pratap <[email protected]>
* expression.cs (Invocation::ConversionExists): Re-write to use
        the conversion cache

        (Expression::ConvertImplicit): Automatic bailing out if level != 0. Also
        cache all conversions done, not just user-defined ones.

        (Invocation::BetterConversion): The real culprit. Use ConversionExists
        to determine if a conversion exists instead of acutually trying to
        perform the conversion. It's faster too.

        (Expression::ConvertExplicit): Modify to use ConversionExists to check
        and only then attempt the implicit conversion.

svn path=/trunk/mcs/; revision=1023
2001-09-28 12:28:56 +00:00
Miguel de Icaza 972f849886 Small updates
svn path=/trunk/mono/; revision=1022
2001-09-28 12:02:35 +00:00
Ravi Pratap M e54ad6880b expression.cs (ConvertImplicit): Implement cache to prevent looping
[I am unable to past my ChangeLog entries here !!! Help !]

svn path=/trunk/mcs/; revision=1021
2001-09-28 05:01:14 +00:00
Dietmar Maurer e333f61d60 cleanup
svn path=/trunk/mono/; revision=1020
2001-09-28 03:22:30 +00:00
Miguel de Icaza 786f8547f0 Add new test
svn path=/trunk/mcs/; revision=1019
2001-09-28 01:40:11 +00:00
Miguel de Icaza 744466b59b 2001-09-28 Miguel de Icaza <[email protected]>
* typemanager.cs (string_concat_string_string, string_concat_object_object):
	Export standard methods that we expect for string operations.

	* statement.cs (Block::UsageWarning): Track usage of variables and
	report the errors for not used variables.

	* expression.cs (Conditional::Resolve, ::Emit): Implement ?:
	operator.

svn path=/trunk/mcs/; revision=1018
2001-09-28 01:33:54 +00:00
Miguel de Icaza af166bb3df 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs: Removed BuiltinTypeAccess class

svn path=/trunk/mcs/; revision=1016
2001-09-27 23:56:17 +00:00
Miguel de Icaza 8520268314 Add box test
svn path=/trunk/mcs/; revision=1015
2001-09-27 23:54:27 +00:00
Miguel de Icaza a87da59d1d Updated tests
svn path=/trunk/mcs/; revision=1014
2001-09-27 23:54:02 +00:00
Miguel de Icaza 65c4869e77 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs: Fix the order in which implicit conversions are
	done.

	The previous fixed dropped support for boxed conversions (adding a
	test to the test suite now)

	(UserImplicitCast::CanConvert): Remove test for source being null,
	that code is broken.  We should not feed a null to begin with, if
	we do, then we should track the bug where the problem originates
	and not try to cover it up here.

	Return a resolved expression of type UserImplicitCast on success
	rather than true/false.  Ravi: this is what I was talking about,
	the pattern is to use a static method as a "constructor" for
	objects.

	Also, do not create arguments until the very last minute,
	otherwise we always create the arguments even for lookups that
	will never be performed.

	(UserImplicitCast::Resolve): Eliminate, objects of type
	UserImplicitCast are born in a fully resolved state.

svn path=/trunk/mcs/; revision=1013
2001-09-27 23:51:44 +00:00
Miguel de Icaza 73f0fa398f 2001-09-27 Miguel de Icaza <[email protected]>
* typemanager.cs (InitCoreTypes): Init also value_type
	(System.ValueType).

svn path=/trunk/mcs/; revision=1011
2001-09-27 18:23:44 +00:00
Miguel de Icaza 8eb30ad1bf 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs (Cast::Resolve): First resolve the child expression.

svn path=/trunk/mcs/; revision=1010
2001-09-27 17:43:26 +00:00
Miguel de Icaza 66c78971d7 2001-09-27 Miguel de Icaza <[email protected]>
* expression.cs (LValue): Add new method AddressOf to be used by
	the `&' operator.

	Change the argument of Store to take an EmitContext instead of an
	ILGenerator, because things like FieldExpr need to be able to call
	their children expression to generate the instance code.

	(Expression::Error, Expression::Warning): Sugar functions for
	reporting errors.

	(Expression::MemberLookup): Accept a TypeContainer instead of a
	Report as the first argument.

	(Expression::ResolvePrimary): Killed.  I still want to improve
	this as currently the code is just not right.

	(Expression::ResolveMemberAccess): Simplify, but it is still
	wrong.

	(Unary::Resolve): Catch errors in AddressOf operators.

	(LocalVariableReference::Emit, ::Store, ::AddressOf): typecast
	index to a byte for the short-version, or the compiler will choose
	the wrong Emit call, which generates the wrong data.

	(ParameterReference::Emit, ::Store): same.

	(FieldExpr::AddressOf): Implement.

	* typemanager.cs: TypeManager: made public variable instead of
	property.

	* driver.cs: document --fatal.

	* report.cs (ErrorMessage, WarningMessage): new names for the old
	Error and Warning classes.

	* cs-parser.jay (member_access): Turn built-in access to types
	into a normal simplename

svn path=/trunk/mcs/; revision=1009
2001-09-27 17:36:55 +00:00
Ravi Pratap M e6499af621 Fix bug in BetterConversion and in ConvertImplicit
svn path=/trunk/mcs/; revision=1007
2001-09-27 17:17:18 +00:00
Paolo Molaro 525ffd4c8e Add tests again so that they are included in make dist.
svn path=/trunk/mono/; revision=1006
2001-09-27 17:05:26 +00:00
Paolo Molaro c7d7de6ab2 Thu Sep 27 21:45:55 CEST 2001 Paolo Molaro <[email protected]>
* rawbuffer.c: disable mmap on cygwin since it seems to be broken there.

svn path=/trunk/mono/; revision=1005
2001-09-27 15:49:54 +00:00
Paolo Molaro 4886fd3bfb Thu Sep 27 19:52:11 CEST 2001 Paolo Molaro <[email protected]>
* class.c, loader.c: warn and return NULL instead of erroring out.
	* icall.c: added System.AppDomain::getCurDomain().
	* loader.c: we don't need to lookup the typedef again for p/invoke calls.

svn path=/trunk/mono/; revision=1004
2001-09-27 13:57:46 +00:00
Paolo Molaro b7556d202f Some more stubs and fixes.
svn path=/trunk/mcs/; revision=1003
2001-09-27 13:51:14 +00:00
Miguel de Icaza 80438b4f08 Add more tests to compare our cast code
svn path=/trunk/mcs/; revision=1002
2001-09-27 13:39:40 +00:00
Ravi Pratap M 281ba72b2b 2001-09-27 Ravi Pratap <[email protected]>
* expression.cs (UserImplicitCast::Resolve): Fix bug.

svn path=/trunk/mcs/; revision=1001
2001-09-27 12:51:06 +00:00
Ravi Pratap M 3abf0ad6b1 2001-09-27 Ravi Pratap <[email protected]>
* test-7.cs : Uncomment lines True operator overload now works.

svn path=/trunk/mcs/; revision=1000
2001-09-27 12:43:56 +00:00
Miguel de Icaza 0001005660 Add a comment to Cast type
svn path=/trunk/mcs/; revision=999
2001-09-27 12:27:08 +00:00
Dietmar Maurer 36b2c829e9 cleanup
svn path=/trunk/mono/; revision=998
2001-09-27 11:43:34 +00:00
Dietmar Maurer b72e8ded43 2001-09-27 Dietmar Maurer <[email protected]>
* testjit.c: impl. LDIND/STIND/LDLOCA, use g_malloc to alloc static
	data.
	(map_stind_type): support enum types
	(map_ldind_type): support enum types

	* emit-x86.c (tree_allocate_regs): added code to support
	register allocation for addressing modes trees.
	(tree_emit): bug fix: we have to emit all mono_burg_functins. The
	previous impl. did not work for chain rules.
	(compute_branches): support for SWITCH statements

	* x86.brg: added rules to model x86 addressing modes

svn path=/trunk/mono/; revision=997
2001-09-27 10:41:13 +00:00
Miguel de Icaza 22f342edb5 Typo fix
svn path=/trunk/mono/; revision=996
2001-09-27 10:32:32 +00:00
Paolo Molaro cadf42f513 Thu Sep 27 15:34:37 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: in memindex operand you can use X86_NOBASEREG
	as basereg.

svn path=/trunk/mono/; revision=995
2001-09-27 09:38:19 +00:00
Ravi Pratap M a7855691e0 2001-09-27 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::AddConstructor): Fix a stupid bug
	I had introduced long ago (what's new ?).

	* expression.cs (UserImplicitCast::CanConvert): Static method to do
	the work of all the checking.
	(ConvertImplicit): Call CanConvert and only then create object if necessary.
	(UserImplicitCast::CanConvert, ::Resolve): Re-write.

	(Unary::Operator): Rename Add and Subtract to Addition and Subtraction because
	that is the right way.

	(Invocation::MakeUnionSet): Convenience function to make unions of sets for
	overloading resolution. Use everywhere instead of cutting and pasting code.

	(Binary::ResolveOperator): Use MakeUnionSet.

	(UserImplicitCast::CanConvert, ::Resolve): Update to take care of the case when
	we have to convert to bool types. Not complete yet.

svn path=/trunk/mcs/; revision=994
2001-09-27 08:24:07 +00:00
Ravi Pratap M 849580927d 2001-09-27 Ravi Pratap <[email protected]>
* test-7.cs : Revamp and add more operator tests. Still in progress.

	* test-9,10.cs : Added by Miguel earlier.

svn path=/trunk/mcs/; revision=993
2001-09-27 08:19:38 +00:00
Miguel de Icaza 778dbffa52 2001-09-27 Miguel de Icaza <[email protected]>
* typemanager.cs (TypeManager::CSharpName): support ushort.

	* expression.cs (Expression::TryImplicitIntConversion): Attempts
	to provide an expression that performsn an implicit constant int
	conversion (section 6.1.6).
	(Expression::ConvertImplicitRequired): Reworked to include
	implicit constant expression conversions.

	(Expression::ConvertNumericExplicit): Finished.

	(Invocation::Emit): If InstanceExpression is null, then it means
	that we perform a call on this.

svn path=/trunk/mcs/; revision=992
2001-09-27 01:16:47 +00:00
Miguel de Icaza 92c8ef759d Add Explicit Number Conversion operator test
svn path=/trunk/mcs/; revision=991
2001-09-27 00:43:59 +00:00
Miguel de Icaza 12e7f4fa71 *** empty log message ***
svn path=/trunk/mcs/; revision=990
2001-09-26 20:40:58 +00:00
Miguel de Icaza 328c5deb8d 2001-09-26 Miguel de Icaza <[email protected]>
* expression.cs (Unary::Emit): Remove some dead code.

svn path=/trunk/mcs/; revision=989
2001-09-26 18:56:23 +00:00
Miguel de Icaza 0f4462f2e4 2001-09-26 Miguel de Icaza <[email protected]>
* cs-parser.jay: Update operator constants.

	* parameter.cs (Parameters::GetParameterInfo): Hook up VerifyArgs
	(Parameters::GetSignature): Hook up VerifyArgs here.
	(Parameters::VerifyArgs): Verifies that no two arguments have the
	same name.

	* class.cs (Operator): Update the operator names to reflect the
	ones that the spec expects (as we are just stringizing the
	operator names).

	* expression.cs (Unary::ResolveOperator): Fix bug: Use
	MethodInfo's ReturnType instead of LookupMethodByBuilder as the
	previous usage did only work for our methods.
	(Expression::ConvertImplicit): Handle decimal implicit numeric
	conversions as well.
	(Expression::InternalTypeConstructor): Used to invoke constructors
	on internal types for default promotions.

	(Unary::Emit): Implement special handling for the pre/post
	increment/decrement for overloaded operators, as they need to have
	the same semantics as the other operators.

	(Binary::ResolveOperator): ditto.
	(Invocation::ConversionExists): ditto.
	(UserImplicitCast::Resolve): ditto.

svn path=/trunk/mcs/; revision=988
2001-09-26 18:32:27 +00:00
Sean MacIsaac e3229d0264 fixed clean target
svn path=/trunk/mcs/; revision=987
2001-09-26 16:08:28 +00:00
Sean MacIsaac eb23682f77 Don't build classes that reference WebRequest.
svn path=/trunk/mcs/; revision=986
2001-09-26 16:04:13 +00:00
Sean MacIsaac e0a7752139 new version of nant that shouldn't cause security exception for win98
(lupus).  i just removed the offending code.  i'll look into a better
solution.

svn path=/trunk/mcs/; revision=985
2001-09-26 11:17:23 +00:00
Paolo Molaro cb6d5bb200 Wed Sep 26 16:29:36 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: added memindex addressing mode encoding
	(and mov to/from register opcodes).

svn path=/trunk/mono/; revision=984
2001-09-26 10:33:18 +00:00
Sean MacIsaac d5a24f04dd changed target from unix to linux
svn path=/trunk/mcs/; revision=983
2001-09-26 09:58:25 +00:00
Sean MacIsaac cb4662adf7 Fixed some build problems (related to targets)
svn path=/trunk/mcs/; revision=982
2001-09-26 09:53:17 +00:00
Sean MacIsaac 786ddf4d04 makefile: calls NAnt to build class libs
System/System.build: Exclude broken source files

corlib/Test/corlib_test.build: Exclude broken source files

svn path=/trunk/mcs/; revision=981
2001-09-26 09:51:04 +00:00
Dietmar Maurer 482aa35d24 *** empty log message ***
svn path=/trunk/mono/; revision=980
2001-09-26 09:48:13 +00:00
Sean MacIsaac 9559e2b1ae Moved to corlib/Test
svn path=/trunk/mcs/; revision=979
2001-09-26 09:46:28 +00:00
Sean MacIsaac 85758502f2 Moved to corlib/Test Directory
svn path=/trunk/mcs/; revision=978
2001-09-26 09:44:54 +00:00
Sean MacIsaac 4fb4bf8fd0 No longer used. New Platform Abstraction Layer used instead.
svn path=/trunk/mcs/; revision=977
2001-09-26 09:42:52 +00:00
Sean MacIsaac faa6c953d1 NAnt executable
svn path=/trunk/mcs/; revision=976
2001-09-26 09:38:27 +00:00
Sean MacIsaac 5f24e03b41 NAnt build files and System.Data files moved to appropriate directory.
svn path=/trunk/mcs/; revision=975
2001-09-26 09:35:13 +00:00
Sean MacIsaac a3cfee175f NAnt build files and test cases that CVS is giving me problems with.
svn path=/trunk/mcs/; revision=974
2001-09-26 09:25:02 +00:00
Sean MacIsaac 9d4f8b4fbc Moved to old.
svn path=/trunk/mcs/; revision=973
2001-09-26 09:21:42 +00:00
Sean MacIsaac ab1b48e3ad Test files. Will soon be moved into appropriate namespace directory.
svn path=/trunk/mcs/; revision=972
2001-09-26 09:19:25 +00:00
Sean MacIsaac 905e80515c Moving to NAnt.
svn path=/trunk/mcs/; revision=971
2001-09-26 09:15:43 +00:00
Sean MacIsaac 08f82d42fc Moved temporarily to old. Soon I will move them into the proper
namespace directories.

svn path=/trunk/mcs/; revision=970
2001-09-26 09:14:31 +00:00
Sean MacIsaac 6d11b05caa Removing old build files. NAnt doesn't use them.
svn path=/trunk/mcs/; revision=969
2001-09-26 09:11:29 +00:00
Ravi Pratap M c298a1b598 2001-09-26 Ravi Pratap <[email protected]>
* expression.cs (Unary::Emit and Binary::Emit): If we have an overloaded
	operator, return after emitting body. Regression tests pass again !

	* expression.cs (ConvertImplicit): Take TypeContainer as first argument
	(Unary::ForceConversion, Binary::ForceConversion): Ditto.
	(Invocation::OverloadResolve): Ditto.
	(Invocation::BetterFunction, BetterConversion, ConversionExists): Ditto.

	* everywhere : update calls to the above methods accordingly.

svn path=/trunk/mcs/; revision=968
2001-09-26 07:11:40 +00:00
Ravi Pratap M fee72ef7ac 2001-09-26 Ravi Pratap <[email protected]>
* test-7.cs : Update to return an exit code

	* test-8.cs : Added by Miguel.

svn path=/trunk/mcs/; revision=967
2001-09-26 07:06:57 +00:00
Dietmar Maurer 8a4bcb4a7d 2001-09-26 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_compile_method): more documentation.

	* testjit.c: moved the architecture specific things to emit-x86.c
	and x86.brg. Added more documentation. code cleanup.

svn path=/trunk/mono/; revision=966
2001-09-26 06:38:36 +00:00
Mads Pultz d42f27bc43 *** empty log message ***
svn path=/trunk/mono/; revision=965
2001-09-26 05:34:51 +00:00
Mads Pultz e9f5a497c9 * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
* DnsTest.cs: initial tests of BeginGetHostByName and EndGetHostByName implemented.

svn path=/trunk/mcs/; revision=964
2001-09-26 04:53:42 +00:00
Miguel de Icaza 249510f420 *** empty log message ***
svn path=/trunk/mcs/; revision=963
2001-09-26 02:01:40 +00:00
Paolo Molaro 0279c59bb0 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <[email protected]>
* String.cs: fix off-by-one error in Trim().

svn path=/trunk/mcs/; revision=961
2001-09-25 14:01:33 +00:00
Miguel de Icaza e796ce5fac 2001-09-25 Miguel de Icaza <[email protected]>
* driver.cs: Change the wording of message

svn path=/trunk/mcs/; revision=960
2001-09-25 13:31:28 +00:00
Paolo Molaro 7e26cbfacb Tue Sep 25 19:03:52 CEST 2001 Paolo Molaro <[email protected]>
* class.xml: updates.

svn path=/trunk/mono/; revision=959
2001-09-25 13:07:03 +00:00
Paolo Molaro d470ebd256 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <[email protected]>
* Type.cs: added GetType () method.


Tue Sep 25 18:52:48 CEST 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: fix Insert () to check capacity, not count.


Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <[email protected]>

	* File.cs: fix signatures of the Open() and OpenRead() functions
	(they are static).

svn path=/trunk/mcs/; revision=958
2001-09-25 12:58:06 +00:00
Dietmar Maurer 1aa42c5a5f 2001-09-25 Dietmar Maurer <[email protected]>
* x86.brg: we now have different types of addresses: ADDR_L for local
	values, ADDR_A for arguments and ADDR_G for global addresses. We
	also use LDIND_XX token to load values from a specific address
	instead of LDLOC/STLOC.

	* testjit.c: use the new adressing scheme everywhere:
	LDIND _XX (ADDR_X), and STIND_XX (ADDR_X, tree)

svn path=/trunk/mono/; revision=957
2001-09-25 12:51:51 +00:00
Paolo Molaro b8d83905f7 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <[email protected]>
* MissingMethodException.cs, MissingMemberException.cs,
	MemberAccessException.cs: added.

svn path=/trunk/mcs/; revision=956
2001-09-25 11:32:07 +00:00
Paolo Molaro 49917c2062 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <[email protected]>
* DictionaryEntry.cs: added.

svn path=/trunk/mcs/; revision=955
2001-09-25 10:57:56 +00:00
Paolo Molaro 85b277a87d Tue Sep 25 16:53:08 CEST 2001 Paolo Molaro <[email protected]>
* TypeBuilder.cs, ConstructorBuilder.cs, ModuleBuilder.cs: added.

svn path=/trunk/mcs/; revision=954
2001-09-25 10:56:37 +00:00
Paolo Molaro 61cd71479b Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <[email protected]>
* ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.

svn path=/trunk/mcs/; revision=953
2001-09-25 10:53:32 +00:00
Ravi Pratap M a4ab70c915 2001-09-25 Ravi Pratap <[email protected]>
* expression.cs (Binary::ResolveOperator): Had forgottten to set
	the type of the expression to the return type of the method if
	we have an overloaded operator match ! The regression tests pass again !
	(Unary::ResolveOperator): Ditto.

	* expression.cs (Invocation::ConversionExists): Correct the member lookup
	to find "op_Implicit", not "implicit" ;-)
	(UserImplicitCast): New class to take care of user-defined implicit conversions.
	(ConvertImplicit, ForceConversion): Take TypeContainer argument

	* everywhere : Correct calls to the above accordingly.

	* expression.cs (UserImplicitCast::Resolve, ::Emit): Implement.
	(ConvertImplicit): Do user-defined conversion if it exists.

svn path=/trunk/mcs/; revision=952
2001-09-25 10:52:47 +00:00
Paolo Molaro d33f1e00fa Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <[email protected]>
* String.cs: don't access the string array out of bounds in LastIndexOf.
	* Type.cs: fix return type of the Assembly property.

svn path=/trunk/mcs/; revision=951
2001-09-25 10:50:58 +00:00
Ravi Pratap M 59f1181e7b 2001-09-25 Ravi Pratap <[email protected]>
* test-7.cs : Update to include implicit conversion tests.

svn path=/trunk/mcs/; revision=950
2001-09-25 10:47:42 +00:00
Dick Porter e523a9d323 2001-09-25 Dick Porter <[email protected]>
* threads-pthread.h:
	* threads-pthread.c: Implemented timed thread joining and added
	System.Threading.Thread::Join_internal internal call

	* icall.c: Added System.Threading.Thread::Join_internal internal call

	* threads-dummy.h:
	* threads-dummy.c: Dummy calls for System.Thread.Thread::Join_internal

svn path=/trunk/mono/; revision=949
2001-09-25 09:37:00 +00:00
Dick Porter e73a65ed3a Implemented more System.Threading.Thread members
svn path=/trunk/mono/; revision=948
2001-09-25 09:31:59 +00:00
Dick Porter 91ee016e23 2001-09-25 Dick Porter <[email protected]>
* Thread.cs: Implement Join and timed Join, set correct state
	around Start, Join and Sleep calls, implement IsAlive and
	ThreadState properties.

	* ThreadState.cs (Threading): Added StopRequested,
	SuspendRequested, Suspended values

svn path=/trunk/mcs/; revision=947
2001-09-25 09:31:20 +00:00
Paolo Molaro 433f745fed Tue Sep 25 11:12:35 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: fixed get_virtual_method () to deal with interface
	methods better.

svn path=/trunk/mono/; revision=946
2001-09-25 05:16:48 +00:00
Miguel de Icaza 267a36159c 2001-09-24 Miguel de Icaza <[email protected]>
* assign.cs: track location.
	(Resolve): Use implicit conversions on assignment.

	* literal.cs: Oops.  Not good, Emit of short access values should
	pass (Bytes) or the wrong argument will be selected.

	* expression.cs (Unary::Emit): Emit code for -expr.

	(Unary::ResolveOperator): Handle `Substract' for non-constants
	(substract from zero from the non-constants).
	Deal with Doubles as well.

	(Expression::ConvertImplicitRequired): New routine that reports an
	error if no implicit conversion exists.

	(Invocation::OverloadResolve): Store the converted implicit
	expressions if we make them

svn path=/trunk/mcs/; revision=945
2001-09-24 18:34:15 +00:00
Paolo Molaro 00f946c5bc Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <[email protected]>
* String.cs: make Intern and IsIntern internalcalls.

svn path=/trunk/mcs/; revision=944
2001-09-24 14:38:49 +00:00
Paolo Molaro 78550fa962 Mon Sep 24 18:49:01 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: don't change a MONO_TYPE_STRING to a char*
	when it's an argument to an internalcall.


Mon Sep 24 18:56:59 CEST 2001 Paolo Molaro <[email protected]>

	* object.c, object.h: added mono_ldstr (), mono_string_is_interned () and
	mono_string_intern () to implement the semantics of the ldstr opcode
	and the interning of System.Strings.
	* icall.c: provide hooks to make String::IsIntern and String::Intern
	internalcalls.


Mon Sep 24 18:50:25 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: catch a few more error conditions with exceptions instead of
	erroring out.
	Don't use g_print() in stack traces because it doesn't work with
	some float values.
	When we call an instance method of a valuetype class, unbox the 'this'
	argument if it is an object.
	Use mono_ldstr () to implement the ldstr opcode: it takes care of
	interning the string if necessary.
	Implemented new opcodes: ckfinite, cgt.un, clt.un, ldvirtftn, ldarga.
	Fixes to handle NaNs when comparing doubles.
	Make sure the loaded assembly has an entry point defined.
	Fixed portability bugs in neg and not opcodes.

svn path=/trunk/mono/; revision=943
2001-09-24 13:30:32 +00:00
Dietmar Maurer f8fddf0001 (ves_exec_method): bug fix for NOT/NEG
svn path=/trunk/mono/; revision=942
2001-09-24 13:13:25 +00:00
Dietmar Maurer c26ae55ef1 * mono/jit/x86.brg: impl. more opcodes
svn path=/trunk/mono/; revision=941
2001-09-24 12:56:27 +00:00
Dietmar Maurer 5868786a33 2001-09-24 Dietmar Maurer <[email protected]>
* x86.brg: impl. more opcodes

svn path=/trunk/mono/; revision=940
2001-09-24 08:51:54 +00:00
Ravi Pratap M 248249079d 2001-09-24 Ravi Pratap <[email protected]>
* class.cs (ConstructorInitializer): Take a Location argument.
	(ConstructorBaseInitializer): Same here.
	(ConstructorThisInitializer): Same here.

	* cs-parser.jay : Update all calls accordingly.

	* expression.cs (Unary, Binary, New): Take location argument.
	Update accordingly everywhere.

	* cs-parser.jay : Update all calls to the above to take a location
	argument.

	* class.cs : Ditto.

svn path=/trunk/mcs/; revision=939
2001-09-24 06:04:44 +00:00
Ravi Pratap M 22d457e83c 2001-09-24 Ravi Pratap <[email protected]>
* expression.cs (Invocation::BetterFunction): Take TypeContainer argument
	(Invocation::BetterConversion): Same here
	(Invocation::ConversionExists): Ditto.

	(Invocation::ConversionExists): Implement.

svn path=/trunk/mcs/; revision=938
2001-09-24 04:24:01 +00:00
Mads Pultz 6242fd93db * DnsTest.cs: now tests GetHostByAddress, GetHostByName, IpToString and Resolve.
* Dns.cs: Minor changes (some print statements removed).

svn path=/trunk/mcs/; revision=937
2001-09-24 03:40:55 +00:00
Dick Porter 7fb449122c Forgot this file
svn path=/trunk/mono/; revision=936
2001-09-23 12:55:17 +00:00
Dick Porter b94c52ccbf Cope with systems that have pthread.h but no libpthread
svn path=/trunk/mono/; revision=935
2001-09-23 12:46:54 +00:00
Dick Porter 70b4ec9404 2001-09-23 Dick Porter <[email protected]>
* threads-dummy.c:
	* threads-dummy.h: New files of dummy threading routines

	* Makefile.am (THREAD_SOURCE): Arrange to compile different thread
	support code based on system specifics

	Rename PTHREAD_LIBS to THREAD_LIBS

2001-09-23  Dick Porter  <[email protected]>

	* configure.in: Arrange to compile dummy thread support routines
	if pthread isnt available

2001-09-23  Dick Porter  <[email protected]>

	* Makefile.am (testjit_LDADD): rename PTHREAD_LIBS to THREAD_LIBS

2001-09-23  Dick Porter  <[email protected]>

	* Makefile.am (mint_LDADD): rename PTHREAD_LIBS to THREAD_LIBS

svn path=/trunk/mono/; revision=934
2001-09-23 12:32:33 +00:00
Dick Porter 879c3f3467 2001-09-23 Dick Porter <[email protected]>
* threads-pthread.c: Implement the System.Threading.Thread::Sleep,
	Schedule (called when asked to Sleep for 0 ms) and CurrentThread
	internal calls.
	(mono_thread_init): Set up a Thread object instance to return when
	the main thread calls Thread.CurrentThread
	(mono_thread_cleanup): Wait for all subthreads to exit

	* icall.c: New internal calls for System.Threading.Thread::Sleep
	(including Schedule) and CurrentThread

	* threads.h: New file, to insulate thread-specific stuff from the
	rest of the code

2001-09-23  Dick Porter  <[email protected]>

	* interp.c (main): Do some thread setup and cleanup around the
	call to ves_exec()

2001-09-23  Dick Porter  <[email protected]>

	* configure.in: Check for pthread.h, so that we can check for the
	HAVE_PTHREAD_H define in config.h

svn path=/trunk/mono/; revision=933
2001-09-23 11:28:08 +00:00
Dick Porter dfad216d21 2001-09-23 Dick Porter <[email protected]>
* Thread.cs: Implemented CurrentThread and Sleep (both versions)
	with internal calls, and Name.

svn path=/trunk/mcs/; revision=932
2001-09-23 11:13:40 +00:00
Mads Pultz f5d4fcdb37 *** empty log message ***
svn path=/trunk/mcs/; revision=931
2001-09-23 08:29:10 +00:00
Mads Pultz 5223d3f2f0 * DnsTest.cs: Initial work submitted to repository.
* IPHostEntryTest.cs: Initial work submitted to repository.
---------------------------------------------------------------------

svn path=/trunk/mcs/; revision=930
2001-09-23 08:27:17 +00:00
Mads Pultz d15c8ac724 * Dns.cs: Initial work submitted to repository.
* IPHostEntry.cs: Initial work submitted to repository.
---------------------------------------------------------------------

svn path=/trunk/mcs/; revision=929
2001-09-23 08:23:12 +00:00
Dietmar Maurer e76a460f04 2001-09-23 Dietmar Maurer <[email protected]>
* testjit.c: use the memory pool to avoid memory leaks

	monoburg.c: add a macro MBALLOC_STATE to define the allocation
	function for MBState. Added an additional user data argument to
	mono_burg_label - the data can be used in the cost functions. The
	type can be defined with MBCOST_DATA macro.
	(emit_cost_func): inline cost functions

svn path=/trunk/mono/; revision=928
2001-09-23 07:57:26 +00:00
Paolo Molaro de3d3d9d89 Sun Sep 23 13:44:57 CEST 2001 Paolo Molaro <[email protected]>
* x86/tramp.c: handle MONO_TYPE_CLASS in trampolines.

svn path=/trunk/mono/; revision=927
2001-09-23 07:49:26 +00:00
Dietmar Maurer c9f2953a64 added more documentation
svn path=/trunk/mono/; revision=926
2001-09-22 12:02:19 +00:00
Ravi Pratap M 8ef4dc5111 2001-09-22 Ravi Pratap <[email protected]>
* expression.cs (OverloadResolve): Improve some more to catch errors 1502 and 1503
	Also take an additional TypeContainer argument.

	* All over : Pass in TypeContainer as argument to OverloadResolve.

	* typemanager.cs (CSharpName): Update to check for the string type and return
	that too.

	* expression.cs (Invocation::FullMethodDesc): New static method to return a string fully describing
	a given method.

svn path=/trunk/mcs/; revision=925
2001-09-22 08:10:28 +00:00
Dietmar Maurer 1f918032e7 * monoburg.y (strndup): removed, use g_strndup instead
svn path=/trunk/mono/; revision=924
2001-09-22 03:43:24 +00:00
Dietmar Maurer bb6bb0f942 * monoburg.y (strndup): terminate string with 0
svn path=/trunk/mono/; revision=923
2001-09-22 03:40:16 +00:00
Dietmar Maurer a432bb3698 * monoburg.c (create_term): bug fix: g_strdup strings from the parser
svn path=/trunk/mono/; revision=922
2001-09-22 02:45:59 +00:00
Dick Porter abfcad2381 Sample threading app
svn path=/trunk/mono/; revision=918
2001-09-21 13:07:33 +00:00
Miguel de Icaza a8f9327438 2001-09-21 Miguel de Icaza <[email protected]>
* Makefile.am (EXTRA_DIST): Add man page to the distro

svn path=/trunk/mono/; revision=917
2001-09-21 13:06:31 +00:00
Dietmar Maurer 6aaad23241 implemented more opcodes
svn path=/trunk/mono/; revision=916
2001-09-21 12:50:46 +00:00
Dietmar Maurer 436f56e57a *** empty log message ***
svn path=/trunk/mono/; revision=915
2001-09-21 12:45:43 +00:00
Dick Porter 9378329880 2001-09-21 Dick Porter <[email protected]>
* threads-pthread.h:
	* threads-pthread.c: New file, for handling pthreads-style
	threading support.  Start() now starts a new thread and executes
	the ThreadStart delegate instance.

	* icall.c: Added the internalcall for
	System.Threading.Thread::Start_internal

	* Makefile.am: Added new files, and PTHREADS_LIBS to the link line

2001-09-21  Dick Porter  <[email protected]>

	* Makefile.am (testjit_LDADD): Added PTHREAD_LIBS to the link line

2001-09-21  Dick Porter  <[email protected]>

	* Makefile.am (mint_LDADD): Added PTHREAD_LIBS to the link line

2001-09-21  Dick Porter  <[email protected]>

	* configure.in: Check for libpthread

svn path=/trunk/mono/; revision=914
2001-09-21 12:42:33 +00:00
Miguel de Icaza f8906a5605 Updates
svn path=/trunk/mono/; revision=913
2001-09-21 12:16:09 +00:00
Ravi Pratap M 02a1f5ab54 2001-09-21 Ravi Pratap <[email protected]>
* expression.cs (Invocation::OverloadResolve): Re-write to conform more to the spec.
	(Invocation::BetterFunction): Implement.
	(Invocation::BetterConversion): Implement.
	(Invocation::ConversionExists): Skeleton, no implementation yet.

	Okay, things work fine !

svn path=/trunk/mcs/; revision=912
2001-09-21 10:56:23 +00:00
Ravi Pratap M e3bd02a2e5 2001-09-21 Ravi Pratap <[email protected]>
* test-7.cs : Add.

svn path=/trunk/mcs/; revision=911
2001-09-21 10:54:53 +00:00
Dick Porter aa957a21ca System.Threading.ThreadExceptionEventArgs is done.
svn path=/trunk/mono/; revision=910
2001-09-21 10:50:27 +00:00
Dick Porter 7881d9719c 2001-09-21 Dick Porter <[email protected]>
* Thread.cs: Implement Thread(ThreadStart) constructor and Start()
	with an internal call

	* WaitHandle.cs: Close calls Dispose(false)

2001-09-21  Dick Porter  <[email protected]>

	* ThreadExceptionEventArgs.cs: Implemented

svn path=/trunk/mcs/; revision=909
2001-09-21 10:45:31 +00:00
Dietmar Maurer a9f6bb2538 x86.brg: (MB_OPT_LEVEL): define optimisation level macro
svn path=/trunk/mono/; revision=908
2001-09-21 10:38:07 +00:00
Dietmar Maurer d35331664d 2001-09-21 Dietmar Maurer <[email protected]>
* x86.brg: implemented long MUL/DIV

	* testjit.c (tree_allocate_regs): added a way to prevent EDX usage
	for operations like idiv. it is also possible to assign specific registers.

svn path=/trunk/mono/; revision=907
2001-09-21 09:26:51 +00:00
Miguel de Icaza 52402f66d1 2001-09-21 Miguel de Icaza <[email protected]>
* typemanager.cs: declare and load enum_type, delegate_type and
	void_type.

	* expression.cs (Expression::Emit): Now emit returns a value that
	tells whether a value is left on the stack or not.  This strategy
	might be reveted tomorrow with a mechanism that would address
	multiple assignments.
	(Expression::report118): Utility routine to report mismatches on
	the ExprClass.

	(Unary::Report23): Report impossible type/operator combination
	utility function.

	(Unary::IsIncrementableNumber): Whether the type can be
	incremented or decremented with add.
	(Unary::ResolveOperator): Also allow enumerations to be bitwise
	complemented.
	(Unary::ResolveOperator): Implement ++, !, ~, ++ and --.

	(Unvocation::Emit): Deal with new Emit convetion.

	* All Expression derivatives: Updated their Emit method to return
	whether they leave values on the stack or not.

	* codegen.cs (CodeGen::EmitStatement): Pop values left on the
	stack for expressions that are statements.

2001-09-20  Miguel de Icaza  <[email protected]>

	* expression.cs (LValue): New interface.  Must be implemented by
	LValue objects.
	(LocalVariableReference, ParameterReference, FieldExpr): Implement
	LValue interface.

	* assign.cs (Assign::Emit, Assign::Resolve): Use new LValue
	interface for generating code, simplifies the code.

svn path=/trunk/mcs/; revision=906
2001-09-21 00:17:01 +00:00
Miguel de Icaza b633f9a08a Update passport site
svn path=/trunk/mono/; revision=905
2001-09-20 22:15:57 +00:00
Paolo Molaro f414e2932f Thu Sep 20 16:32:42 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: implemented some more opcodes: calli, rem.un,
	shr.un, conv.u, cpobj, stobj, conv.r.un, conv.ovf.i1.un,
	conv.ovf.i2.un, conv.ovf.i4.un, conv.ovf.i8.un, conv.ovf.i.un,
	conv.ovf.u1.un, conv.ovf.u2.un, conv.ovf.u4.un, conv.ovf.u8.un,
	conv.ovf.u.un.
	Fix some 64 bit issues in the array element access code and a small bug.
	Throw an exception on index out of range instead of asserting.
	Throw an exception on a NULL array instead of dying.
	Stomped a memory corruption bug (.cctor methods were freed after
	executing them, but they are stores in MonoClass now...).
	Added a simple facility to invoke the debugger when a named
	function is entered (use the cmdline option --debug method_name).
	* interp.h: fix 64 bit issue.

svn path=/trunk/mono/; revision=904
2001-09-20 15:31:50 +00:00
Ravi Pratap M 38450d464c 2001-09-20 Ravi Pratap <[email protected]>
* expression.cs (everywhere): Comment out return statements in ::Resolve
	methods to avoid the warnings.

svn path=/trunk/mcs/; revision=903
2001-09-20 14:16:22 +00:00
Paolo Molaro 7a0debd9b7 Thu Sep 20 19:37:39 CEST 2001 Paolo Molaro <[email protected]>
* loader.c: work around the different signatures for delegates
	constructors csc generates in compiled code vs the ones compiled in mscorlib.

svn path=/trunk/mono/; revision=902
2001-09-20 13:41:56 +00:00
Dietmar Maurer b61704988b * x86.brg: addes basic support for itype "long"
svn path=/trunk/mono/; revision=901
2001-09-20 08:38:32 +00:00
Jim Richardson f98c423076 change IntPtr mapping from int to gpointer
svn path=/trunk/mono/; revision=900
2001-09-20 08:23:59 +00:00
Jim Richardson 62d24206f2 Modified environment varialbe methods to use new Wrapper.cs functions
svn path=/trunk/mcs/; revision=899
2001-09-20 07:52:48 +00:00
Jim Richardson 585fc68bad Removed platform specific implementations now implemented in Wrapper.cs
svn path=/trunk/mcs/; revision=898
2001-09-20 07:51:34 +00:00
Jim Richardson da2831604f Updating Wrapper generated class file
svn path=/trunk/mcs/; revision=897
2001-09-20 06:58:35 +00:00
Jim Richardson 647f235852 Added functions opendir, readdir, closedir, getenv, eviron
svn path=/trunk/mono/; revision=896
2001-09-20 06:56:36 +00:00
Dietmar Maurer 0ce7ed0191 2001-09-20 Dietmar Maurer <[email protected]>
* testjit.c (mono_compile_method): implemented POP

svn path=/trunk/mono/; revision=895
2001-09-20 04:08:20 +00:00
Miguel de Icaza 2f8585d754 2001-09-20 Miguel de Icaza <[email protected]>
* driver.cs (parse): Report error 2001 if we can not open the
	source file.

	* expression.cs (SimpleName::ResolveSimpleName): Error if we can
	not resolve it.

svn path=/trunk/mcs/; revision=893
2001-09-20 01:33:49 +00:00
Miguel de Icaza 4d1cc16aa4 Add more tests
svn path=/trunk/mcs/; revision=892
2001-09-20 01:31:54 +00:00
Miguel de Icaza 5620f4bc74 2001-09-20 Miguel de Icaza <[email protected]>
* statement.cs (Block::EmitMeta): Reuse the count across all the variables,
	otherwise nested blocks end up with the same index.

	* codegen.cs (CodeGen::EmitTopBlock): Pass initial sequence

svn path=/trunk/mcs/; revision=891
2001-09-20 01:09:08 +00:00
Miguel de Icaza 0c9322ce63 2001-09-20 Miguel de Icaza <[email protected]>
* expression.cs:  Instead of having FIXMEs in the Resolve
	functions, throw exceptions so it is obvious that we are facing a
	bug.

	* cs-parser.jay (invocation_expression): Pass Location information.

	* codegen.cs (CodeGen::Save, CodeGen::CodeGen, CodeGen::Basename):
	Use a basename for those routines because .NET does not like paths
	on them.

	* class.cs (TypeContainer::AddMethod): Do not call DefineName if the name was
	already defined.

2001-09-19  Miguel de Icaza  <[email protected]>

	* typemanager.cs (TypeManager::CoreLookupType): A function to make sure that we
	are loading the correct data types (throws an exception if not).
	(TypeManager::InitCoreTypes): Use CoreLookupType

	* expression.cs (Unary::ResolveOperator): return the child
	expression for expressions which are just +expr.
	(Unary::ResolveOperator): Return negative literals for -LITERAL
	expressions (otherwise they are Unary {Literal}).
	(Invocation::Badness): Take into account `Implicit constant
	expression conversions'.

	* literal.cs (LongLiteral): Implement long literal class.
	(IntLiteral): export the `Value' of the intliteral.

svn path=/trunk/mcs/; revision=890
2001-09-20 00:23:36 +00:00
Miguel de Icaza b5850646c3 Flush:
svn path=/trunk/mcs/; revision=889
2001-09-19 23:14:09 +00:00
Miguel de Icaza 883bbb3ace Add Paolo's comment to the front page
svn path=/trunk/mono/; revision=888
2001-09-19 18:50:48 +00:00
Miguel de Icaza b59669c22e 2001-09-19 Miguel de Icaza <[email protected]>
* testjit.c (usage): Added a couple of more usage options.

svn path=/trunk/mono/; revision=887
2001-09-19 15:32:11 +00:00
Paolo Molaro 654703aa2e Added 'How to port Mono' document.
svn path=/trunk/mono/; revision=886
2001-09-19 14:37:05 +00:00
Dietmar Maurer 7083bb084d code cleanup
svn path=/trunk/mono/; revision=885
2001-09-19 13:39:17 +00:00
Dietmar Maurer 7777454f34 2001-09-19 Dietmar Maurer <[email protected]>
* x86.brg: added more floating point grammar

	* testjit.c (mono_compile_method): make local offsets negative

	* mono/tests/test-ops.cs: added more tests

svn path=/trunk/mono/; revision=883
2001-09-19 11:16:12 +00:00
Ravi Pratap M dc96dd26bb 2001-09-19 Ravi Pratap <[email protected]>
* expression.cs (Binary::Emit): Finally get the emission right ! Woo!

	* class.cs (Operator::Define): Change the methodname prefix to 'op_'
	instead of 'Operator'

	* expression.cs (Binary::ResolveOperator): Update accordingly.
	(Unary::Operator): Change names to 'Add' and 'Subtract' instead 'Plus'
	and 'Minus'

	* cs-parser.jay (unary_expression): Update to use the new names.

	* gen-treedump.cs (GetUnary): Same here.

	* expression.cs (Unary::Resolve): Implement.
	(Binary::ResolveOperator): Re-write bits to quietly continue if no overloaded
	operators are found instead of making noise ;-)
	(Unary::ResolveOperator): New method to do precisely the same thing which
	Binary::ResolveOperator does for Binary expressions.
	(Unary.method, .Arguments): Add.
	(Unary::OperName): Implement.
	(Unary::ForceConversion): Copy and Paste !

	* class.cs (Operator::Define): Fix a small bug for the case when we have
	a unary operator.

	* expression.cs (Unary::Emit): Implement. Need to find the right Opcodes
	for the inbuilt operators. Only overloading works for now ;-)

svn path=/trunk/mcs/; revision=882
2001-09-19 10:38:05 +00:00
Dietmar Maurer 991a21bf18 *** empty log message ***
svn path=/trunk/mono/; revision=881
2001-09-19 07:05:00 +00:00
Dietmar Maurer a2719373f5 2001-09-19 Dietmar Maurer <[email protected]>
* testjit.c (mono_compile_method): arguments on the runtime
	stack are at least 4 bytes

	* x86.brg: partly implemented 8,16 bit integers

	* testjit.c (get_address): mark basic blocks

svn path=/trunk/mono/; revision=880
2001-09-19 06:55:05 +00:00
Dietmar Maurer 52cc2ed9ba 2001-09-19 Dietmar Maurer <[email protected]>
* monoburg.c (emit_header): bug fix for MBCOND macro

svn path=/trunk/mono/; revision=879
2001-09-19 06:50:26 +00:00
Miguel de Icaza aaf2b7ae8c 2001-09-18 Miguel de Icaza <[email protected]>
* expression.cs (CheckedExpr::Resolve, CheckedExpr::Emit,
	UnCheckedExpr::Resolve, UnCheckedExpr::Emit): Implement.

svn path=/trunk/mcs/; revision=877
2001-09-19 02:35:05 +00:00
Miguel de Icaza e19c228a23 Prepare for release
svn path=/trunk/mono/; revision=874
2001-09-18 21:33:39 +00:00
Miguel de Icaza 65a2e729df Add ChangeLog
svn path=/trunk/mcs/; revision=873
2001-09-18 21:20:40 +00:00
Miguel de Icaza 55c9d9a24d 0.7
svn path=/trunk/mono/; revision=872
2001-09-18 20:28:29 +00:00
Miguel de Icaza c0b183f58c Flush
svn path=/trunk/mono/; revision=870
2001-09-18 20:20:55 +00:00
Miguel de Icaza 50d0989617 2001-09-18 Miguel de Icaza <[email protected]>
* expression.cs (This::Emit): Implement.
	(This::Resolve): Implement.
	(TypeOf:Resolve): Implement.
	(Expression::ResolveSimpleName): Add an implicit this to instance
	field references.
	(MemberAccess::Resolve): Deal with Parameters and Fields.
	Bind instance variable to Field expressions.
	(FieldExpr::Instance): New field used to track the expression that
	represents the object instance.
	(FieldExpr::Resolve): Track potential errors from MemberLookup not
	binding
	(FieldExpr::Emit): Implement.

	* codegen.cs (EmitIf, EmitStatement, EmitBlock): Propagate whether
	the last instruction contains a return opcode to avoid generating
	the last `ret' instruction (this generates correct code, and it is
	nice to pass the peverify output).

	* class.cs (TypeContainer::EmitFieldInitializers): Implement field
	initializer for static and instance variables.
	(Constructor::Emit): Allow initializer to be null in the case of
	static constructors.  Only emit initializer for instance
	constructors.

	(TypeContainer::FindMembers): Return a null array if there are no
	matches.

	Also fix the code for the MemberTypes.Method branch, as it was not
	scanning that for operators (or tried to access null variables before).

	* assign.cs (Assign::Emit): Handle instance and static fields.

	* TODO: Updated.

	* driver.cs: Stop compilation if there are parse errors.

	* cs-parser.jay (constructor_declaration): Provide default base
	initializer for non-static constructors.
	(constructor_declarator): Do not provide a default base
	initializers if none was specified.
	Catch the fact that constructors should not have parameters.

	* class.cs: Do not emit parent class initializers for static
	constructors, that should be flagged as an error.

svn path=/trunk/mcs/; revision=869
2001-09-18 20:20:18 +00:00
Ravi Pratap M d8107236e5 2001-09-18 Ravi Pratap <[email protected]>
* class.cs (RegisterMethodBuilder): Remove : it's unnecessary.
	Move back code into TypeContainer::Populate.

svn path=/trunk/mcs/; revision=868
2001-09-18 14:59:49 +00:00
Ravi Pratap M f30241c0e5 2001-09-18 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::AddConstructor): Fix the check to
	compare against Name, not Basename.
	(Operator::OpType): Change Plus and Minus to Add and Subtract.

	* cs-parser.jay : Update accordingly.

	* class.cs (TypeContainer::FindMembers): For the case where we are searching
	for methods, don't forget to look into the operators too.
	(RegisterMethodBuilder): Helper method to take care of this for
	methods, constructors and operators.
	(Operator::Define): Completely revamp.
	(Operator.OperatorMethod, MethodName): New fields.
	(TypeContainer::Populate): Move the registering of builders into
	RegisterMethodBuilder.
	(Operator::Emit): Re-write.

	* expression.cs (Binary::Emit): Comment out code path to emit method
	invocation stuff for the case when we have a user defined operator. I am
	just not able to get it right !

svn path=/trunk/mcs/; revision=867
2001-09-18 09:28:49 +00:00
Dietmar Maurer a6ec683fbb 2001-09-18 Dietmar Maurer <[email protected]>
* x86.brg: added some rules to optimize code

	* testjit.c (get_address): use a binary search to get the address
	(main): added an option to debug the jit (-d)

svn path=/trunk/mono/; revision=866
2001-09-18 09:01:31 +00:00
Paolo Molaro 188721d669 Tue Sep 18 13:23:59 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: remove C++ comments.

svn path=/trunk/mono/; revision=865
2001-09-18 07:26:43 +00:00
Paolo Molaro a805685fb4 Tue Sep 18 13:21:33 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: fix some 64 bit issues. Safer support for delegates.

svn path=/trunk/mono/; revision=864
2001-09-18 07:25:48 +00:00
Paolo Molaro ee60cd3ab4 Tue Sep 18 13:19:16 CEST 2001 Paolo Molaro <[email protected]>
* testjit.c: better/faster align code. Handle ldloc.s and stloc.s.

svn path=/trunk/mono/; revision=863
2001-09-18 07:23:06 +00:00
Paolo Molaro bab9560d9d Tue Sep 18 13:16:32 CEST 2001 Paolo Molaro <[email protected]>
* class.h, class.c: add mono_class_get_field_from_name ().
	* *: Fix C comments and other ANSI C issues.

svn path=/trunk/mono/; revision=862
2001-09-18 07:20:30 +00:00
Paolo Molaro 124d42f34b Tue Sep 18 13:15:12 CEST 2001 Paolo Molaro <[email protected]>
* monoburg.y: fix ANSI C issue.

svn path=/trunk/mono/; revision=861
2001-09-18 07:18:13 +00:00
Paolo Molaro da7059d825 Updates.
svn path=/trunk/mono/; revision=860
2001-09-18 07:17:01 +00:00
Miguel de Icaza c4d5517dad 2001-09-17 Miguel de Icaza <[email protected]>
* expression.cs (Expression::OverloadResolve): Drop TypeContainer
	argument.

	(Expression::MemberLookup): Provide a version that allows to
	specify the MemberTypes and BindingFlags.

	* statement.cs (Block::GetVariableInfo): Forgot to recurse here,
	so it was not fetching variable information from outer blocks.

	* modifiers.cs: (Modifiers::TypeAttr): Invert condition on
	Beforefieldinit as it was buggy.

	* rootcontext.cs (::LookupInterfaceOrClass): Removed an Error -200
	that Ravi put here.

	* class.cs (Constructor::Emit): Only emit if block is not null.
	(TypeContainer::EmitDefaultConstructor): Removed routine, now we
	deal with this by semantically definining it as if the user had
	done it.

	(TypeContainer::FindMembers): Removed ad-hoc hack to deal with
	constructors as we now "emit" them at a higher level.

	(TypeContainer::DefineDefaultConstructor): Used to define the
	default constructors if none was provided.

	(ConstructorInitializer): Add methods Resolve and Emit.

	* expression.cs: Cast to ConstructorInfo instead of MethodInfo

svn path=/trunk/mcs/; revision=857
2001-09-18 01:58:47 +00:00
Miguel de Icaza 5e760e666a 2001-09-17 Miguel de Icaza <[email protected]>
* testjit.c (mono_compile_method): Provide better error reporting.

svn path=/trunk/mono/; revision=856
2001-09-17 20:53:35 +00:00
Miguel de Icaza e7d7c89e36 Unfinished work
svn path=/trunk/mcs/; revision=855
2001-09-17 20:52:42 +00:00
Miguel de Icaza 2cdc5c62fe Plata
svn path=/trunk/mono/; revision=854
2001-09-17 15:26:31 +00:00
Miguel de Icaza 363278bbda Gigante
svn path=/trunk/mono/; revision=853
2001-09-17 15:22:09 +00:00
Ravi Pratap M ec14f26566 2001-09-17 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::EmitDefaultConstructor): Register
	the default constructor builder with our hashtable for methodbuilders
	to methodcores.

	* expression.cs (Invocation::OverloadResolve): Add a check for pd == null
	and argument_count is 0 in which case we have a match.
	(Binary::ResolveOperator): More null checking and miscellaneous coding
	style cleanup.

svn path=/trunk/mcs/; revision=852
2001-09-17 14:38:01 +00:00
Miguel de Icaza 44befb2bd9 Include Calendar.cs to the build
svn path=/trunk/mcs/; revision=851
2001-09-17 14:34:30 +00:00
Miguel de Icaza fc5fe85286 Updated sources file
svn path=/trunk/mcs/; revision=850
2001-09-17 14:30:29 +00:00
Miguel de Icaza ceaabec533 Add new files from Wictor Wilen
svn path=/trunk/mcs/; revision=849
2001-09-17 14:29:52 +00:00
Miguel de Icaza 0976a979c4 More updates
svn path=/trunk/mono/; revision=848
2001-09-17 14:26:41 +00:00
Miguel de Icaza ecad30ea4c Update
svn path=/trunk/mono/; revision=847
2001-09-17 14:15:24 +00:00
Miguel de Icaza 1e729049da Add the CVS download information
svn path=/trunk/mono/; revision=846
2001-09-17 13:18:30 +00:00
Dietmar Maurer f50c820235 (tree_get_address): make sure that we can only jump to the first
instruction of a tree.

svn path=/trunk/mono/; revision=845
2001-09-17 12:31:44 +00:00
Dietmar Maurer 717eb7c323 2001-09-17 Dietmar Maurer <[email protected]>
* testjit.c (tree_get_address): impl. to fix address bug

svn path=/trunk/mono/; revision=844
2001-09-17 11:42:03 +00:00
Ravi Pratap M 4f3a253569 2001-09-17 Ravi Pratap <[email protected]>
* rootcontext.cs (IsNameSpace): Compare against null.

	* everywhere : Correct spelling to 'Greater' and to 'Subtract'

	* class.cs (Operator::OpType): Change names to match the ones in Binary::Operator
	and Unary::Operator.

	* cs-parser.jay (operator_declaration, CheckBinaryOperator, CheckUnaryOperator): Update
	accordingly.

	* expression.cs (Binary::method): New member to hold the MethodBase for the case when
	we have overloaded operators.
	(Binary::ResolveOperator): Implement the part which does the operator overload
	resolution.

	* class.cs (Operator::Emit): Implement.
	(TypeContainer::Emit): Emit the operators we have too.

	* expression.cs (Binary::Emit): Update to emit the appropriate code for
	the case when we have a user-defined operator.

svn path=/trunk/mcs/; revision=843
2001-09-17 09:24:42 +00:00
Dietmar Maurer c93716ea19 2001-09-17 Dietmar Maurer <[email protected]>
* x86.brg: emit real code for calls

	* testjit.c (create_jit_trampoline): creates a function to trigger jit
	compilation.
	(mono_compile_method): reversed argument order

svn path=/trunk/mono/; revision=842
2001-09-17 09:10:44 +00:00
Dietmar Maurer e1a26d23b8 2001-09-17 Dietmar Maurer <[email protected]>
* x86/x86-codegen.h (x86_alu_reg_reg): replaced src/dest

svn path=/trunk/mono/; revision=841
2001-09-17 07:18:11 +00:00
Miguel de Icaza 83e01843f1 Checked in updates from Gaurav Vaish
svn path=/trunk/mcs/; revision=840
2001-09-17 00:39:57 +00:00
Miguel de Icaza b3b3db1716 2001-09-17 Miguel de Icaza <[email protected]>
* rootcontext.cs: Fix bug: tree.Namespaces might be null.

svn path=/trunk/mcs/; revision=839
2001-09-17 00:32:53 +00:00
Miguel de Icaza dac6469d03 Add news item on Gtk#
svn path=/trunk/mono/; revision=838
2001-09-17 00:25:19 +00:00
Sergey Chaban 056bbcc693 * Added a bunch of Token structs (all are generated from template).
* common.src: added new structs to the build and fixed a small typo.

svn path=/trunk/mcs/; revision=833
2001-09-16 11:29:38 +00:00
Ravi Pratap M 3077d452d6 2001-09-16 Ravi Pratap <[email protected]>
* class.cs (EmitStaticFieldInitializers, EmitFieldInitializers): Make public.
	(TypeContainer::EmitConstructor): Remove and move code into Contructor::Emit.
	(Constructor::Emit): Implement.
	(EmitStaticFieldInitializers, EmitFieldInitializers): Ensure we return immediately
	if we have no work to do.
	(TypeContainer::Emit): Pass in TypeContainer as argument to the constructor's
	Emit method.

	* interface.cs (Interface::InterfaceAttr): Re-write to be more correct and complete.
	(Interface::IsTopLevel): Add. Same as TypeContainer::IsTopLevel.

	* class.cs (TypeContainer::IsTopLevel): Modify to use parent.Parent instead
	of parent.parent.

svn path=/trunk/mcs/; revision=832
2001-09-16 09:56:36 +00:00
Sergey Chaban 96461ab598 * common.src: added PackingSize.cs;
svn path=/trunk/mcs/; revision=831
2001-09-16 09:04:23 +00:00
Sergey Chaban 4053b51507 * PackingSize.cs: Initial check-in.
svn path=/trunk/mcs/; revision=830
2001-09-16 08:55:27 +00:00
Dietmar Maurer f733d4f3f2 2001-09-15 Dietmar Maurer <[email protected]>
* x86.brg (stmt): don't emit unnecessary register moves

	* testjit.c (tree_allocate_regs): free registers earlier

svn path=/trunk/mono/; revision=829
2001-09-15 08:27:41 +00:00
Dietmar Maurer 951a13548a added more ideas
svn path=/trunk/mono/; revision=828
2001-09-15 07:58:08 +00:00
Ravi Pratap M c904eddfaa 2001-09-15 Ravi Pratap <[email protected]>
* tree.cs (Tree::namespaces): New hashtable to keep track of namespaces
	in the source.
	(Tree::RecordNamespace): Method to do what the name says ;-)
	(Tree::Namespaces): Property to get at the namespaces hashtable.

	* cs-parser.jay (namespace_declaration): Call RecordNamespace to
	keep track.

	* rootcontext.cs (IsNamespace): Fixed it :-)

svn path=/trunk/mcs/; revision=827
2001-09-15 03:47:14 +00:00
Miguel de Icaza 02d4e46471 2001-09-14 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::FindMembers): Add support for
	constructors.
	(MethodCore): New class that encapsulates both the shared aspects
	of a Constructor and a Method.
	(Method, Constructor): Factored pieces into MethodCore.

	* driver.cs: Added --fatal which makes errors throw exceptions.
	Load System assembly as well as part of the standard library.

	* report.cs: Allow throwing exceptions on errors for debugging.

	* modifiers.cs: Do not use `parent', instead use the real type
	container to evaluate permission settings.

	* class.cs: Put Ravi's patch back in.  He is right, and we will
	have to cope with the

svn path=/trunk/mcs/; revision=826
2001-09-14 19:06:23 +00:00
Ravi Pratap M 5cd224a06b 2001-09-14 Ravi Pratap <[email protected]>
* modifiers.cs (TypeAttr, MethodAttr, FieldAttr): Map protected internal to
	FamORAssem, not FamANDAssem.

svn path=/trunk/mcs/; revision=825
2001-09-14 15:16:12 +00:00
Miguel de Icaza 0a078c0a18 2001-09-14 Miguel de Icaza <[email protected]>
* driver.cs: Added --parse option that only parses its input files
	and terminates.

svn path=/trunk/mcs/; revision=824
2001-09-14 14:01:44 +00:00
Miguel de Icaza 12ba5a24c4 2001-09-14 Miguel de Icaza <[email protected]>
* class.cs: Reveted lsat change from Ravi to IsTopLevel.  That is
	incorrect.  IsTopLevel is not used to tell whether an object is
	root_types or not (that can be achieved by testing this ==
	root_types).  But to see if this is a top-level *class* (not
	necessarly our "toplevel" container).

svn path=/trunk/mcs/; revision=823
2001-09-14 13:57:23 +00:00
Dietmar Maurer fe2e9c56ce 2001-09-14 Dietmar Maurer <[email protected]>
* x86.brg: branch addresses are now resolved

	* testjit.c (compute_branches): compute address of branches

	* x86.brg: emit real x86 instructions

	* testjit.c: call objdump to disassemble the output

svn path=/trunk/mono/; revision=822
2001-09-14 12:40:14 +00:00
Dick Porter d2bf75c0f7 2001-09-14 Dick Porter <[email protected]>
* class.xml: Added System.Threading classes

	* maintainers.xml: Added myself

svn path=/trunk/mono/; revision=821
2001-09-14 12:03:33 +00:00
Ravi Pratap M 950b9f6973 2001-09-14 Ravi Pratap <[email protected]>
* enum.cs (Enum::Define): Modify to call the Lookup method on the
	parent instead of a direct call to GetType.

svn path=/trunk/mcs/; revision=820
2001-09-14 12:00:53 +00:00
Paolo Molaro 40bf103146 Mostly stubs.
svn path=/trunk/mcs/; revision=819
2001-09-14 11:16:30 +00:00
Paolo Molaro c9ee427524 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <[email protected]>
* MethodBase.cs, MethodInfo.cs: added.

svn path=/trunk/mcs/; revision=818
2001-09-14 10:14:48 +00:00
Paolo Molaro cc12678a22 Updates.
svn path=/trunk/mono/; revision=817
2001-09-14 10:05:58 +00:00
Ravi Pratap M 3c670719c4 2001-09-14 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::TypeAttr): Remove property code and move it into
	Modifiers.TypeAttr. This should just be a call to that method.

	* modifiers.cs (TypeAttr): Re-write and take an extra argument, the TypeContainer
	object so that we can determine if we are top-level or not.

	* delegate.cs (Delegate::Define): Update call to TypeAttr method to pass in the
	TypeContainer too.

	* enum.cs (Enum::Define): Ditto.

	* modifiers.cs (FieldAttr): Re-write.

	* class.cs (TypeContainer::IsTopLevel): Change accessibility to public.
	(TypeContainer::HaveStaticConstructor): New property to provide access
	to precisely that info.

	* modifiers.cs (MethodAttr): Re-write.
	(EventAttr): Remove altogether as there seems to be no ostensible use for it.

	* class.cs (TypeContainer::IsTopLevel): Re-write. root_types doesn't seem to be the parent
	of top-level types as claimed.

svn path=/trunk/mcs/; revision=816
2001-09-14 03:53:33 +00:00
Nick Drochak f541c605cc 2001-09-14 Nick Drochak <[email protected]>
* /mcs/class/makefile:
	  /mcs/class/corlib/makefile:
	  /mcs/mcs/makefile:
	  /toos/makefile:
		use /cygdrive/ instead of //. Old method of
		accessing drives under cygwin is now obsolete with version
		1.3.3 of the cygwin DLL

	* /mcs/System/System.Collections.Specialized/ChangeLog:
		Forgot to commit this for a while.  Sorry 'bout that.

svn path=/trunk/mcs/; revision=815
2001-09-14 01:57:07 +00:00
Miguel de Icaza 0c6144f4fa 2001-09-13 Miguel de Icaza <[email protected]>
* expression.cs (MemberLookup): Fruitless attempt to lookup
	constructors.  Maybe I need to emit default constructors?  That
	might be it (currently .NET emits this for me automatically).
	(Invocation::OverloadResolve): Cope with Arguments == null.
	(Invocation::EmitArguments): new function, shared by the new
	constructor and us.
	(Invocation::Emit): Handle static and instance methods.  Emit
	proper call instruction for virtual or non-virtual invocations.
	(New::Emit): Implement.
	(New::Resolve): Implement.
	(MemberAccess:Resolve): Implement.
	(MethodGroupExpr::InstanceExpression): used conforming to the spec
	to track instances.
	(FieldExpr::Resolve): Set type.

	* support.cs: Handle empty arguments.

	* cs-parser.jay (CompositeLookup, QualifierIdentifier,
	SimpleLookup): Auxiliary routines to help parse a qualifier
	identifier.

	Update qualifier_identifier rule.

	* codegen.cs: Removed debugging messages.

	* class.cs: Make this a global thing, this acts just as a "key" to
	objects that we might have around.

	(Populate): Only initialize method_builders_to_methods once.

	* expression.cs (PropertyExpr): Initialize type from the
	PropertyType.

svn path=/trunk/mcs/; revision=814
2001-09-13 18:47:55 +00:00
Ravi Pratap M 215a882d6d Whitspace :-)
svn path=/trunk/mcs/; revision=813
2001-09-13 14:02:27 +00:00
Dick Porter f2489d11af Set the correct enum values.
svn path=/trunk/mcs/; revision=812
2001-09-13 13:02:35 +00:00
Dick Porter 30a82dcb2e More System.Threading stubs, in the System assembly.
svn path=/trunk/mcs/; revision=811
2001-09-13 12:49:58 +00:00
Dick Porter 58b4ee1b2c System.Threading class stubs.
svn path=/trunk/mcs/; revision=810
2001-09-13 12:47:25 +00:00
Dick Porter f10537f007 Added a stub for the IsValueType property.
svn path=/trunk/mcs/; revision=809
2001-09-13 12:42:19 +00:00
Dick Porter f8f97557a9 Added the other constructor, so that System.Threading exceptions can
inherit it.

svn path=/trunk/mcs/; revision=808
2001-09-13 12:41:14 +00:00
Paolo Molaro 277a57ffdf Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <[email protected]>
* FileLoadException.cs, FileNotFoundException.cs: added.


Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <[email protected]>

	* Assembly.cs: added stub code.

svn path=/trunk/mcs/; revision=807
2001-09-13 12:09:03 +00:00
Miguel de Icaza bc0caaf7ac 2001-09-13 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext::EmitBoolExpression): Use propper
	Resolve pattern.  Attempt to implicitly convert value to boolean.
	Emit code.

	* expression.cs: Set the type for the int32/int32 argument case.
	(Binary::ResolveOperator): Set the return type to boolean for
	comparission operators

	* typemanager.cs: Remove debugging print code.

	(Invocation::Resolve): resolve type.

svn path=/trunk/mcs/; revision=806
2001-09-13 11:57:57 +00:00
Miguel de Icaza 3550dff255 2001-09-13 Miguel de Icaza <[email protected]>
* class.cs: Allocate a MemberInfo of the correct size, as the code
	elsewhere depends on the test to reflect the correct contents.

	(Method::) Keep track of parameters, due to System.Reflection holes

	(TypeContainer::Populate): Keep track of MethodBuilders to Method
	mapping here.

	(TypeContainer::FindMembers): Use ArrayList and then copy an array
	of the exact size and return that.

	(Class::LookupMethodByBuilder): New function that maps
	MethodBuilders to its methods.  Required to locate the information
	on methods because System.Reflection bit us again.

	* support.cs: New file, contains an interface ParameterData and
	two implementations: ReflectionParameters and InternalParameters
	used to access Parameter information.  We will need to grow this
	as required.

	* expression.cs (Invocation::GetParameterData): implement a cache
	and a wrapper around the ParameterData creation for methods.
	(Invocation::OverloadResolve): Use new code.

svn path=/trunk/mcs/; revision=805
2001-09-13 11:09:26 +00:00
Dietmar Maurer 9179a06878 *** empty log message ***
svn path=/trunk/mono/; revision=804
2001-09-13 10:24:11 +00:00
Dietmar Maurer bfb56e54da 2001-09-13 Dietmar Maurer <[email protected]>
* x86.brg: use the right offsets to access local variables
	and arguments.

	* emit-x86.c: only save/restore callee saved registers if they are
	really modified.

	* testjit.c (tree_allocate_regs): use the new MonoRegSet to
	allocate registers.
	(mono_compile_method): changed the tree for mothod calls

	* regset.h: impl.

	* regset.c: impl.

svn path=/trunk/mono/; revision=803
2001-09-13 10:23:27 +00:00
Dietmar Maurer 649ad548c7 added some thoughts
svn path=/trunk/mono/; revision=802
2001-09-13 10:14:22 +00:00
Dietmar Maurer 123f4ab491 *** empty log message ***
svn path=/trunk/mono/; revision=801
2001-09-13 09:26:57 +00:00
Miguel de Icaza 8837e87920 Replace 811 = 811 with 811 =
svn path=/trunk/mcs/; revision=800
2001-09-13 07:00:04 +00:00
Ravi Pratap M 7b615d84d5 2001-09-13 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::EmitField): Remove and move into
	(Field::Define): here and modify accordingly.
	(Field.FieldBuilder): New member.
	(TypeContainer::Populate): Update accordingly.
	(TypeContainer::FindMembers): Implement.

svn path=/trunk/mcs/; revision=799
2001-09-13 05:01:46 +00:00
Miguel de Icaza 90f515e800 2001-09-13 Miguel de Icaza <[email protected]>
* statement.cs: (VariableInfo::VariableType): New field to be
	initialized with the full type once it is resolved.

svn path=/trunk/mcs/; revision=798
2001-09-13 00:08:45 +00:00
Miguel de Icaza 985fca6fd2 2001-09-12 Miguel de Icaza <[email protected]>
* parameter.cs (GetParameterInfo): Use a type cache to compute
	things only once, and to reuse this information

	* expression.cs (LocalVariableReference::Emit): Implement.
	(OpcodeCast::Emit): fix.

	(ParameterReference::Resolve): Implement.
	(ParameterReference::Emit): Implement.

	* cs-parser.jay: Fix bug introduced by Ravi, variable initializers
	that are expressions need to stay as Expressions.

	* typemanager.cs (CSharpName): Returns the C# name of a type if
	possible.

	* expression.cs (Expression::ConvertImplicit): New function that
	implements implicit type conversions.

svn path=/trunk/mcs/; revision=797
2001-09-13 00:06:51 +00:00
Miguel de Icaza 6f31d5d6d8 2001-09-12 Miguel de Icaza <[email protected]>
* expression.cs (LocalVariableReference::Emit): Implement.
	(OpcodeCast::Emit): fix.

	* cs-parser.jay: Fix bug introduced by Ravi, variable initializers
	that are expressions need to stay as Expressions.

svn path=/trunk/mcs/; revision=796
2001-09-12 23:31:37 +00:00
Miguel de Icaza 58b91fe89d 2001-09-12 Miguel de Icaza <[email protected]>
* typemanager.cs (CSharpName): Returns the C# name of a type if
	possible.

	* expression.cs (Expression::ConvertImplicit): New function that
	implements implicit type conversions.

	(Expression::ImplicitReferenceConversion): Implements implicit
	reference conversions.

	(EmptyCast): New type for transparent casts.

	(OpcodeCast): New type for casts of types that are performed with
	a sequence of bytecodes.

	(BoxedCast): New type used for casting value types into reference
	types.  Emits a box opcode.

	(Binary::DoNumericPromotions): Implements numeric promotions of
	and computation of the Binary::Type.

	(Binary::EmitBranchable): Optimization.

	(Binary::Emit): Implement code emission for expressions.

	* typemanager.cs (TypeManager): Added two new core types: sbyte
	and byte.

svn path=/trunk/mcs/; revision=795
2001-09-12 22:45:05 +00:00
Miguel de Icaza 83302e4089 2001-09-12 Miguel de Icaza <[email protected]>
* interp.c (ves_exec_method): implement conv.u8 opcode.

svn path=/trunk/mono/; revision=794
2001-09-12 19:47:07 +00:00
Ravi Pratap M 9a157ef0a9 2001-09-12 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::FindMembers): Method which does exactly
	what Type.FindMembers does, only we don't have to use reflection. No
	implementation yet.

	* typemanager.cs (typecontainers): New hashtable to hold the corresponding
	typecontainer objects as we need to get at them.
	(TypeManager::AddUserType): Overload to take an extra argument, the TypeContainer.

	* rootcontext.cs : Correspondingly modify called to AddUserType to pass the
	typecontainer object.

	* expression.cs (MemberLookup): Modify signature to take a RootContext object instead
	of just a Report object.

svn path=/trunk/mcs/; revision=793
2001-09-12 14:17:56 +00:00
Dietmar Maurer 0afddf3cce *** empty log message ***
svn path=/trunk/mono/; revision=792
2001-09-12 03:47:43 +00:00
Ravi Pratap M a65125a125 2001-09-11 Ravi Pratap <[email protected]>
* class.cs (Event::Define): Go back to using the prefixes "add_" and
	"remove_"
	(TypeContainer::Populate): Now define the delegates of the type too.
	(TypeContainer.Delegates): Property to access the list of delegates defined
	in the type.

	* delegates.cs (Delegate::Define): Implement partially.

	* modifiers.cs (TypeAttr): Handle more flags.

svn path=/trunk/mcs/; revision=791
2001-09-11 10:05:32 +00:00
Paolo Molaro 82bf0081a8 Tue Sep 11 13:46:35 CEST 2001 Paolo Molaro <[email protected]>
* Makefile.am: get it to work on platforms that insist on having
	a weird extension at the end of an executable name.

svn path=/trunk/mono/; revision=790
2001-09-11 07:50:55 +00:00
Ravi Pratap M d76ab92357 2001-09-11 Ravi Pratap <[email protected]>
* class.cs (Indexer::Define): Fix for loop iteration condition to be just <
	and not <=
	(Operator::Define): Re-write logic to get types by using the LookupType method
	instead of blindly doing a Type.GetType ! How stupid can I get ;-) ?
 	(Indexer::Define): Ditto.
	(Event::Define): Ditto.
	(Property::Define): Ditto.

svn path=/trunk/mcs/; revision=789
2001-09-11 03:13:23 +00:00
Miguel de Icaza f0610365ae 2001-09-10 Miguel de Icaza <[email protected]>
* x86.brg: Use Unix assembly syntax.

	* emit-x86.c: support code, should be moved

	* testjit.c: Use GPtrArrays instead of GLists, as those are very
	inefficient at appends.

svn path=/trunk/mono/; revision=788
2001-09-10 20:13:51 +00:00
Miguel de Icaza 680c61d7e1 2001-09-10 Miguel de Icaza <[email protected]>
* testjit.c: Use GPtrArrays instead of GLists, as those are very
	inefficient at appends.

	* Renamed `create_new_leave' to `create_new_leaf'

svn path=/trunk/mono/; revision=787
2001-09-10 20:12:47 +00:00
Ravi Pratap M 24a83ed220 2001-09-10 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::Populate): Now define operators too.
	(TypeContainer.Operators): New property to access the list of operators
	in a type.
	(Operator.OperatorMethodBuilder): New member to hold the method builder
	for the operator we are defining.
	(Operator::Define): Implement.

svn path=/trunk/mcs/; revision=786
2001-09-10 16:17:30 +00:00
Ravi Pratap M ec96431976 2001-09-10 Ravi Pratap <[email protected]>
* class.cs (Event::Define): Make the prefixes of the accessor methods
	addOn_ and removeOn_

	* genericparser.cs (GenericParser::error): Overloaded method to handle the case
	of the location being passed in too. Ideally, this should go later since all
	error reporting should be done through the Report object.

	* class.cs (TypeContainer.Indexers): New property to access the list of indexers.
	(Populate): Iterate thru the indexers we have and define them too.
	(Indexer.GetMethodBuilder, .SetMethodBuilder): New members to hold the method builders
	for the get and set accessors.
	(Indexer::Define): Implement.

svn path=/trunk/mcs/; revision=785
2001-09-10 15:43:45 +00:00
Miguel de Icaza d31d273a2d 2001-09-10 Miguel de Icaza <[email protected]>
* Renamed `create_new_leave' to `create_new_leaf'

svn path=/trunk/mono/; revision=784
2001-09-10 14:52:35 +00:00
Paolo Molaro fd9ebd8238 Mon Sep 10 20:19:00 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: check for sizeof(void*) and for the architecture.

Mon Sep 10 17:26:06 CEST 2001 Paolo Molaro <[email protected]>

	* Makefile.am, x86/Makefile.am: conditional compile logic
	to make porting to different targets easier.

Mon Sep 10 17:24:45 CEST 2001 Paolo Molaro <[email protected]>

	* Makefile.am: make it work for make distcheck.

Mon Sep 10 20:21:34 CEST 2001 Paolo Molaro <[email protected]>

	* endian.h, assembly.c: fix some endianness issues.

Mon Sep 10 20:20:36 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: endian fixes, comments.

svn path=/trunk/mono/; revision=783
2001-09-10 14:26:02 +00:00
Miguel de Icaza e3cc1a6593 Add WebControls
svn path=/trunk/mcs/; revision=782
2001-09-10 13:18:14 +00:00
Dietmar Maurer 9462946e40 *** empty log message ***
svn path=/trunk/mono/; revision=781
2001-09-10 09:34:11 +00:00
Dietmar Maurer 06432d606a added the jit prototype, small fixes
svn path=/trunk/mono/; revision=780
2001-09-10 09:14:46 +00:00
Jim Richardson cd1a10df73 updated status
svn path=/trunk/mono/; revision=779
2001-09-10 09:10:34 +00:00
Jim Richardson 08ba173da1 added additional implementation
svn path=/trunk/mcs/; revision=778
2001-09-10 09:09:07 +00:00
Jim Richardson e2b6b41921 updated to reflect wrapper changes
svn path=/trunk/mcs/; revision=777
2001-09-10 09:04:34 +00:00
Jim Richardson af1c89512a added errno constant ENOTDIR
svn path=/trunk/mono/; revision=776
2001-09-10 09:03:07 +00:00
Jim Richardson cad5380989 added functions unlink and stat
svn path=/trunk/mono/; revision=775
2001-09-10 07:39:00 +00:00
Nick Drochak 42f22afd91 2001-09-09 Nick Drochak <[email protected]>
* BooleanSwitch.cs: Make this class use it's parent class's features.
		Namely, use SwitchSetting so that we can get OnSwitchSettingChanged()
		to fire for free.

svn path=/trunk/mcs/; revision=774
2001-09-09 10:50:56 +00:00
Nick Drochak 578624f79e 2001-09-09 Nick Drochak <[email protected]>
* ChangeLog: added this file

	* Switch.cs: call OnSwitchSettingChanged() when the switch setting is,
		yes you gessed it, changed.

svn path=/trunk/mcs/; revision=773
2001-09-09 10:07:15 +00:00
Nick Drochak 3cc07e9e58 2001-09-09 Nick Drochak <[email protected]>
* Makefile.am: change CLEANFILES line to use just '=' instead of '+='
                some versions of automake complain if you try to '+=' before you '='

svn path=/trunk/mono/; revision=772
2001-09-09 09:38:07 +00:00
Miguel de Icaza 79686b5870 oops
svn path=/trunk/mcs/; revision=771
2001-09-09 02:15:46 +00:00
Miguel de Icaza 5bf35b1a43 2001-09-09 Miguel de Icaza <[email protected]>
* expression.cs (Binary::Resolve): Beginning of it.  I scratched
	my previous implementation, did not work.

	* typemanager.cs: Add a couple of missing types (the longs).

	* literal.cs: Use TypeManager.bool_type instead of getting it.

	* expression.cs (EventExpr): New kind of expressions.
	(Expressio::ExprClassFromMemberInfo): finish

svn path=/trunk/mcs/; revision=770
2001-09-09 02:15:21 +00:00
Miguel de Icaza c5170d4e17 2001-09-09 Miguel de Icaza <[email protected]>
* expression.cs (EventExpr): New kind of expressions.
	(Expressio::ExprClassFromMemberInfo): finish

svn path=/trunk/mcs/; revision=769
2001-09-09 00:08:39 +00:00
Miguel de Icaza a5e85deeb0 2001-09-08 Miguel de Icaza <[email protected]>
* assign.cs: Emit stores to static fields differently.

svn path=/trunk/mcs/; revision=768
2001-09-08 23:24:03 +00:00
Jeffrey Stedfast 2bac0ddf51 2001-09-08 Jeffrey Stedfast <[email protected]>
* String.cs (TrimStart): Don't keep looping through the trimchars
	once we've found a match.
	(TrimEnd): Same here.
	(Trim): And finally here.

svn path=/trunk/mcs/; revision=767
2001-09-08 21:11:01 +00:00
Jim Richardson 74f11c48e8 checked in updated Wrapper autogenerated class
modifed FileStream.cs using directive to reflect new namespace for Wrapper.cs

svn path=/trunk/mcs/; revision=766
2001-09-08 12:06:29 +00:00
Ravi Pratap M 6365147e75 2001-09-08 Ravi Pratap <[email protected]>
* Merge in changes and adjust code to tackle conflicts. Backed out my
	code in Assign::Resolve ;-)

2001-09-08  Ravi Pratap  <[email protected]>

	* cs-parser.jay (CheckAttributeTarget): Modify call to error to use
	instead Report.Error and also pass in the location.
	(CSharpParser::Lexer): New readonly property to return the reference
	to the Tokenizer object.
	(declare_local_variables): Use Report.Error with location instead of plain
	old error.
	(CheckDef): Ditto.

	* class.cs (Operator::CheckUnaryOperator): Move into cs-parser.jay.
	(Operator.CheckBinaryOperator): Ditto.

	* cs-parser.jay (operator_declarator): Update accordingly.

	* cs-parser.jay (CheckUnaryOperator): Modify to use Report.Error
	(CheckBinaryOperator): Same here.

	* rootcontext.cs (LookupType): Add an extra lookup which simply does a lookup
	on the name without any prefixes of namespace names etc. This is because we
	already might have something already fully qualified like
	'System.Console.WriteLine'

	* assign.cs (Resolve): Begin implementation. Stuck ;-)

2001-09-07  Ravi Pratap  <[email protected]>

	* cs-tokenizer.cs (location): Return a string which also contains
	the file name.

	* expression.cs (ElementAccess): New class for expressions of the
	type 'element access.'
	(BaseAccess): New class for expressions of the type 'base access.'
	(CheckedExpr, UnCheckedExpr): New classes for Checked and Unchecked expressions
	respectively.

	* cs-parser.jay (element_access): Implement action.
	(base_access): Implement actions.
	(checked_expression, unchecked_expression): Implement.

	* cs-parser.jay (local_variable_type): Correct and implement.
	(type_suffixes, type_suffix_list, type_suffix): Implement actions.

	* cs-tokenizer.cs (real_type_suffix): Comment out the extra getchar.

	* cs-parser.jay (rank_specifiers): Remove space while concatenating the type's
	name and the specifiers.

	* interface.cs (InterfaceAttr): New property to return the corresponding TypeAttributes

	* rootcontext.cs (CreateInterface): Use the InterfaceAttr property instead of
	making them all public ;-)

	* cs-parser.jay (error): Remove entirely as we have an implementation in the base
	class anyways.

svn path=/trunk/mcs/; revision=765
2001-09-08 11:18:21 +00:00
Ravi Pratap M c359b00bef 2001-09-07 Ravi Pratap <[email protected]>
* Char.cs (IsLetterOrDigit): Implement.
	(IsLower): Implement, but we need to be Unicode aware.
	(IsNumber): Implement.
	(IsPunctuation): Implement.
	(IsWhiteSpace): Implement.
	(ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
	(ToLower): Same here.

svn path=/trunk/mcs/; revision=764
2001-09-08 10:58:09 +00:00
Dietmar Maurer b358ec1260 2001-09-08 Dietmar Maurer <[email protected]>
* monoburg.c (emit_header): added some convenient macros

	* monoburg.y (optcfunc): allow arbitrary cost functions

svn path=/trunk/mono/; revision=763
2001-09-08 07:43:17 +00:00
Dietmar Maurer da356f957b run automake, aotoconf, ...
svn path=/trunk/mono/; revision=762
2001-09-08 04:01:08 +00:00
Miguel de Icaza 10ec700ce6 Update errors file
svn path=/trunk/mcs/; revision=761
2001-09-07 21:19:21 +00:00
Miguel de Icaza a978c0c7d6 Update passport doc
svn path=/trunk/mono/; revision=760
2001-09-07 16:05:14 +00:00
Sergey Chaban 33f04f45a6 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=759
2001-09-07 16:01:44 +00:00
Miguel de Icaza 3dee69390e Add man page
svn path=/trunk/mono/; revision=758
2001-09-07 15:43:45 +00:00
Sergey Chaban f415eb4ef5 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=757
2001-09-07 15:36:23 +00:00
Sergey Chaban 81ebe522c4 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=756
2001-09-07 15:30:28 +00:00
Sergey Chaban 69868c1712 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=755
2001-09-07 15:22:03 +00:00
Sergey Chaban 4c8bdd6194 Replaced with specs-compliant enum.
svn path=/trunk/mcs/; revision=754
2001-09-07 15:19:30 +00:00
Sergey Chaban 4fee956984 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=753
2001-09-07 15:15:18 +00:00
Sergey Chaban e7bceb0966 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=752
2001-09-07 14:44:09 +00:00
Sergey Chaban 375aea2107 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=751
2001-09-07 14:35:29 +00:00
Sergey Chaban 5419818ad6 Removed auto-generated comments.
svn path=/trunk/mcs/; revision=750
2001-09-07 14:27:42 +00:00
Sergey Chaban 9bed5ef97a * DateTimeStyles.cs: removed auto-generated comments.
NumberStyles.cs: added [Flags] attribute (according to specs).

svn path=/trunk/mcs/; revision=749
2001-09-07 14:22:00 +00:00
Sergey Chaban ee08df0317 Removed autogenerated comments.
svn path=/trunk/mcs/; revision=748
2001-09-07 13:48:54 +00:00
Miguel de Icaza e1a7c130d4 Integrate System.Reflection.Emit to the build
svn path=/trunk/mcs/; revision=747
2001-09-07 13:01:46 +00:00
Miguel de Icaza f316306712 2001-09-04 Miguel de Icaza <[email protected]>
* Object.cs: Shortcut, if (a == b) then return true.

svn path=/trunk/mcs/; revision=746
2001-09-07 12:59:56 +00:00
Paolo Molaro 7f4b0c2fb6 Fri Sep 7 18:43:06 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: fixes and x86_mov_membase_imm ().
	* x86/tramp.c: implemented mono_create_method_pointer ():
	creates a native pointer to a method implementation that can be
	used as a normal C callback.


Fri Sep 7 18:45:38 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c, interp.h: make ves_exec_method () and stackval_from_data ()
	non static. Implement a couple of runtime methods needed to
	use delegates (ves_runtime_method ()).
	Implemented ldftn opcode.

svn path=/trunk/mono/; revision=745
2001-09-07 12:53:34 +00:00
Paolo Molaro dd833782a9 Add delegate test.
svn path=/trunk/mono/; revision=744
2001-09-07 12:52:44 +00:00
Paolo Molaro 1b050ad238 Fri Sep 7 18:40:40 CEST 2001 Paolo Molaro <[email protected]>
* loader.h, load.c: add delegate_class to mono_defaults.
	Handle runtime provided methods in mono_get_method ().

svn path=/trunk/mono/; revision=743
2001-09-07 12:43:32 +00:00
Paolo Molaro 293a40c526 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <[email protected]>
* Delegate.cs: we need a pointer to the method thunk in
	the delegate object.

svn path=/trunk/mcs/; revision=742
2001-09-07 12:37:33 +00:00
Sergey Chaban 4fa777c4d0 Initial check-in.
svn path=/trunk/mcs/; revision=741
2001-09-07 12:31:51 +00:00
Nick Drochak 593516f985 2001-09-07 Nick Drochak <[email protected]>
* Makefile.am: Use '=' to set CLEANFILES instead of '+=' since
		it's the first assignment.

	* ChangeLog: added this file.

svn path=/trunk/mono/; revision=740
2001-09-07 09:30:26 +00:00
Dietmar Maurer 018c18efee *** empty log message ***
svn path=/trunk/mono/; revision=739
2001-09-07 08:11:51 +00:00
Dietmar Maurer 73cf174c07 bug fixes, added ChangeLog
svn path=/trunk/mono/; revision=738
2001-09-07 08:11:24 +00:00
Paolo Molaro 720a2aa448 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <[email protected]>
* AsyncCallback.cs, common.src: add AsyncCallback delegate.

svn path=/trunk/mcs/; revision=737
2001-09-07 06:32:33 +00:00
Miguel de Icaza dc91508692 2001-09-07 Miguel de Icaza <[email protected]>
* expression.cs (ExprClassFromMemberInfo): Return FieldExpr and
	PropertyExprs.
	(FieldExpr, PropertyExprs): New resolved expressions.
	(SimpleName::MemberStaticCheck): Perform static checks for access
	to non-static fields on static methods. Maybe this should be
	generalized for MemberAccesses.
	(SimpleName::ResolveSimpleName): More work on simple name
	resolution.

	* cs-parser.jay (primary_expression/qualified_identifier): track
	the parameter index.

	* codegen.cs (CodeGen::Save): Catch save exception, report error.
	(EmitContext::EmitBoolExpression): Chain to expression generation
	instead of temporary hack.
	(::EmitStatementExpression): Put generic expression code generation.

	* assign.cs (Assign::Emit): Implement variable assignments to
	local variables, parameters and fields.

2001-09-06  Miguel de Icaza  <[email protected]>

	* statement.cs (Block::GetVariableInfo): New method, returns the
	VariableInfo for a variable name in a block.
	(Block::GetVariableType): Implement in terms of GetVariableInfo

	* literal.cs (IntLiteral::Emit, FloatLiteral::Emit,
	DoubleLiteral::Emit, CharLiteral::Emit, BoolLiteral::Emit): Implement

svn path=/trunk/mcs/; revision=736
2001-09-07 02:36:48 +00:00
Nick Drochak 2ad629d1b7 2001-09-07 Nick Drochak <[email protected]>
* c-sharp: Put in reference to jb2csharp project on Sourceforge
		for those interested in helping with the port.

svn path=/trunk/mono/; revision=735
2001-09-06 19:06:00 +00:00
Miguel de Icaza a6933952be New update from Leen Toelen
svn path=/trunk/mcs/; revision=734
2001-09-06 17:24:29 +00:00
Sergey Chaban cebe9567f9 * Added couple enums;
svn path=/trunk/mcs/; revision=733
2001-09-06 16:23:12 +00:00
Ravi Pratap M 19aaa14f37 2001-09-06 Ravi Pratap <[email protected]>
* cs-parser.jay (operator_declaration): Continue on my quest : update
	to take attributes argument.
	(event_declaration): Ditto.
	(enum_declaration): Ditto.
	(indexer_declaration): Ditto.

	* class.cs (Operator::Operator): Update constructor accordingly.
	(Event::Event): Ditto.

	* delegate.cs (Delegate::Delegate): Same here.

	* enum.cs (Enum::Enum): Same here.

svn path=/trunk/mcs/; revision=732
2001-09-06 15:34:55 +00:00
Jeffrey Stedfast 72f7da2166 commit the changelog too
svn path=/trunk/mcs/; revision=731
2001-09-06 14:21:51 +00:00
Jeffrey Stedfast 58b79fded9 2001-09-06 Jeffrey Stedfast <[email protected]>
* String.cs (System): Don't mix uint and int.

svn path=/trunk/mcs/; revision=730
2001-09-06 14:21:30 +00:00
Miguel de Icaza 762ca13d71 2001-09-06 Miguel de Icaza <[email protected]>
* monodis.1: Update man page.

svn path=/trunk/mono/; revision=729
2001-09-06 14:07:26 +00:00
Paolo Molaro 13fdd7e052 Thu Sep 6 15:38:00 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: added x86_rdtsc() and fixes.
	* x86/tramp.c: create trampolines to call pinvoke methods.
	* x86/Makefile.am: create a libmonoarch convenience library.


Thu Sep 6 15:41:24 CEST 2001 Paolo Molaro <[email protected]>

	* Makefile.am: link to libmonoarch.
	* interp.h, interp.c: use mono_create_trampoline ().
	Pass the command line arguments to Main (String[]) methods.

svn path=/trunk/mono/; revision=728
2001-09-06 09:46:03 +00:00
Ravi Pratap M 20bfbda6f9 added errors/cs0658.cs which I forgot to last time ;-) [ as usual ! ]
svn path=/trunk/mcs/; revision=727
2001-09-06 01:15:50 +00:00
Ravi Pratap M f8dcea9267 2001-09-05 Ravi Pratap <[email protected]>
* cs-parser.jay (CheckAttributeTarget): Update to use the right error number.

	* ../tests/cs0658.cs : New file to demonstrate error 0658.

	* attribute.cs (Attributes): New class to encapsulate all attributes which were
	being passed around as an arraylist.
	(Attributes::AddAttribute): Method to add attribute sections.

	* cs-parser.jay (opt_attributes): Modify actions to use the new Attributes class.
	(struct_declaration): Update accordingly.
	(constant_declaration): Update.
	(field_declaration): Update.
	(method_header): Update.
	(fixed_parameter): Update.
	(parameter_array): Ditto.
	(property_declaration): Ditto.
	(destructor_declaration): Ditto.

	* class.cs (Struct::Struct): Update constructors accordingly.
	(Class::Class): Ditto.
	(Field::Field): Ditto.
	(Method::Method): Ditto.
	(Property::Property): Ditto.
	(TypeContainer::OptAttribute): update property's return type.

	* interface.cs (Interface.opt_attributes): New member.
	(Interface::Interface): Update to take the extra Attributes argument.

	* parameter.cs (Parameter::Parameter): Ditto.

	* constant.cs (Constant::Constant): Ditto.

	* interface.cs (InterfaceMemberBase): New OptAttributes field.
	(InterfaceMemberBase::InterfaceMemberBase): Update constructor to take
	the attributes as a parameter.
	(InterfaceProperty): Update constructor call.
	(InterfaceEvent): Ditto.
	(InterfaceMethod): Ditto.
	(InterfaceIndexer): Ditto.

	* cs-parser.jay (interface_indexer_declaration): Update call to constructor to
	pass the attributes too.
	(interface_event_declaration): Ditto.
	(interface_property_declaration): Ditto.
	(interface_method_declaration): Ditto.
	(interface_declaration): Ditto.

svn path=/trunk/mcs/; revision=726
2001-09-05 22:58:50 +00:00
Miguel de Icaza 905d1ba7c6 Update
svn path=/trunk/mono/; revision=725
2001-09-05 21:26:08 +00:00
Miguel de Icaza d0cd6059c1 Remove libffi
svn path=/trunk/mono/; revision=724
2001-09-05 21:23:36 +00:00
Miguel de Icaza afc2fe1fd2 Remove the recursive configuration process
svn path=/trunk/mono/; revision=723
2001-09-05 21:22:50 +00:00
Miguel de Icaza ba2296d7f8 UPdatey update
svn path=/trunk/mono/; revision=722
2001-09-05 21:10:59 +00:00
Miguel de Icaza 766c9da08c 2001-09-05 Miguel de Icaza <[email protected]>
* class.cs (Method::Define): Track the "static Main" definition to
	create an entry point.

	* rootcontext.cs (RootContext::EntryPoint): MethodInfo that holds the
	EntryPoint if we find it.

	* codegen.cs (EmitContext::EmitInvocation): Emit invocations.
	(EmitContext::ig): Make this variable public.

	* driver.cs: Make the default output file be the first file name
	with the .exe extension.

	Detect empty compilations

	Handle various kinds of output targets.  Handle --target and
	rename -t to --dumper.

	* expression.cs, literal.cs, assign.cs, constant.cs: All `Resolve'
	methods inherited from Expression return now an Expression.  This
	will is used during the tree rewriting as we resolve them during
	semantic analysis.

	(Expression::MemberLookup): Implements the MemberLookup (7.3) from
	the spec.  Missing entirely is the information about
	accessability of elements of it.

	(Expression::ExprClassFromMemberInfo): New constructor for
	Expressions that creates a fully initialized Expression based on
	a MemberInfo that is one of Eventinfo, FieldINfo, PropertyInfo or
	a Type.

	(Invocation::Resolve): Begin implementing resolution of invocations.

	* literal.cs (StringLiteral):  Implement Emit.

svn path=/trunk/mcs/; revision=721
2001-09-05 21:07:50 +00:00
Dietmar Maurer e925c01893 added reachability check
svn path=/trunk/mono/; revision=720
2001-09-05 12:24:14 +00:00
Paolo Molaro 917620718a Wed Sep 5 15:54:47 CEST 2001 Paolo Molaro <[email protected]>
* opcode.def: cvs add to reduce build dependencies for
	people using the snapshots or cvs.

svn path=/trunk/mono/; revision=719
2001-09-05 09:58:06 +00:00
Dick Porter f93aad6f51 2001-09-05 Dick Porter <[email protected]>
* autogen.sh: Fixed the section that adds $ACLOCAL_FLAGS to the
	aclocal invocation, so putting aclocal files in /usr/local works

svn path=/trunk/mono/; revision=718
2001-09-05 09:52:21 +00:00
Dietmar Maurer 278a0b3d57 monoburg implementation
svn path=/trunk/mono/; revision=717
2001-09-05 09:36:42 +00:00
Alexander Klyubin ce8e511137 Fixed bug in 'runtests' target. NUnitConsole.exe is not in NUNIT_HOME/bin but in NUNIT_HOME.
svn path=/trunk/mcs/; revision=716
2001-09-05 03:53:33 +00:00
Ravi Pratap M 10cea2de37 2001-09-05 Ravi Pratap <[email protected]>
* cs-parser.jay (error): Add new modifier because we are hiding an inherited
	member.

2001-09-04  Ravi Pratap  <[email protected]>

	* cs-parser.jay (attribute_arguments): Implement actions.
	(attribute): Fix bug in production. Implement action.
	(attribute_list): Implement.
	(attribute_target): Implement.
	(attribute_target_specifier, opt_target_specifier): Implement
	(CheckAttributeTarget): New method to check if the attribute target
	is valid.
	(attribute_section): Implement.
	(opt_attributes): Implement.

	* attribute.cs : New file to handle attributes.
	(Attribute): Class to hold attribute info.

	* cs-parser.jay (opt_attribute_target_specifier): Remove production
	(attribute_section): Modify production to use 2 different rules to
	achieve the same thing. 1 s/r conflict down !
	Clean out commented, useless, non-reducing dimension_separator rules.

	* class.cs (TypeContainer.attributes): New member to hold list
	of attributes for a type.
	(Struct::Struct): Modify to take one more argument, the attribute list.
	(Class::Class): Ditto.
	(Field::Field): Ditto.
	(Method::Method): Ditto.
	(Property::Property): Ditto.

	* cs-parser.jay (struct_declaration): Update constructor call to
	pass in the attributes too.
	(class_declaration): Ditto.
	(constant_declaration): Ditto.
	(field_declaration): Ditto.
	(method_header): Ditto.
	(fixed_parameter): Ditto.
	(parameter_array): Ditto.
	(property_declaration): Ditto.

	* constant.cs (Constant::Constant): Update constructor similarly.
	Use System.Collections.

svn path=/trunk/mcs/; revision=715
2001-09-05 00:29:50 +00:00
Jeffrey Stedfast c7ed150170 2001-09-04 Jeffrey Stedfast <[email protected]>
* String.cs (BoyerMoore): Modified to not use pointers and to instead
	use indexes.
	(IndexOf): Use BoyerMoore.

svn path=/trunk/mcs/; revision=714
2001-09-04 19:50:35 +00:00
Miguel de Icaza a08d38d2e8 Add new files
svn path=/trunk/mcs/; revision=713
2001-09-04 14:38:29 +00:00
Miguel de Icaza 67c693c673 Add System.Diagnostics to System assembly
svn path=/trunk/mcs/; revision=712
2001-09-04 14:37:55 +00:00
Miguel de Icaza 7fd95cdcb6 Add skeleton patch
svn path=/trunk/mcs/; revision=711
2001-09-04 00:33:06 +00:00
Miguel de Icaza 1f19db0759 Use genericparser.cs
svn path=/trunk/mcs/; revision=710
2001-09-04 00:31:46 +00:00
Bob Smith a430140b9e HtmlAnchor.cs, HtmlTextArea.cs: Initial implementation. - Leen Toelen
svn path=/trunk/mcs/; revision=709
2001-09-03 03:13:23 +00:00
Miguel de Icaza fe83089363 Flush
svn path=/trunk/mcs/; revision=708
2001-09-02 18:13:16 +00:00
Miguel de Icaza 050e0c86e7 Added new enumerations
svn path=/trunk/mcs/; revision=707
2001-09-02 18:12:17 +00:00
Miguel de Icaza ef6d4453d5 Use our version of NUnit
svn path=/trunk/mcs/; revision=706
2001-09-02 18:08:25 +00:00
Miguel de Icaza 282e4d0325 Added files
svn path=/trunk/mcs/; revision=705
2001-09-02 18:07:13 +00:00
Miguel de Icaza 540c0081d8 Remove corrupt files
svn path=/trunk/mcs/; revision=704
2001-09-02 18:06:53 +00:00
Miguel de Icaza 8046e96cd0 Updates with new enumerations that match the ones in ECMA and contain
[Flags] attributes where they should be, from Sergey

svn path=/trunk/mcs/; revision=703
2001-09-02 17:59:47 +00:00
Miguel de Icaza e6dccbce05 Added piles of new enumerations from Sergey.
Updates the enumerations to contain [Flags] (Sergey)
Updated enumerations to have the same values as ECMA (Sergey).
Added various new methods to Type.cs
Added all the classes that were not being compiled in the past to the build.
Fix various small typos to get things compiling

Miguel

svn path=/trunk/mcs/; revision=702
2001-09-02 17:50:38 +00:00
Miguel de Icaza e30df57f69 Implemented SerializableAttribute
svn path=/trunk/mcs/; revision=701
2001-09-02 16:28:03 +00:00
Miguel de Icaza cdbd8464b5 Update
svn path=/trunk/mono/; revision=700
2001-09-02 16:23:55 +00:00
Ravi Pratap M b2b162922d 2001-09-02 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::AddDelegate): New method to add a delegate.
	(TypeContainer.delegates): New member to hold list of delegates.

	* cs-parser.jay (delegate_declaration): Implement the action correctly
	this time as I seem to be on crack ;-)

svn path=/trunk/mcs/; revision=699
2001-09-02 16:03:53 +00:00
Miguel de Icaza a4decf81b1 2001-09-02 Miguel de Icaza <[email protected]>
* rootcontext.cs (RootContext::IsNamespace): new function, used to
	tell whether an identifier represents a namespace.

	* expression.cs (NamespaceExpr): A namespace expression, used only
	temporarly during expression resolution.
	(Expression::ResolveSimpleName, ::ResolvePrimary, ::ResolveName):
	utility functions to resolve names on expressions.

2001-09-01  Miguel de Icaza  <[email protected]>

	* codegen.cs: Add hook for StatementExpressions.

	* class.cs: Fix inverted test for static flag in methods.

svn path=/trunk/mcs/; revision=698
2001-09-02 15:49:21 +00:00
Ravi Pratap M a3d16a719c Actually add mcs/delegate.cs which I forgot to last time ;-)
svn path=/trunk/mcs/; revision=697
2001-09-02 15:39:52 +00:00
Ravi Pratap M 3f3a2a5036 2001-09-02 Ravi Pratap <[email protected]>
* class.cs (Operator::CheckUnaryOperator): Correct error number used
	to make it coincide with MS' number.
	(Operator::CheckBinaryOperator): Ditto.

	* ../errors/errors.txt : Remove error numbers added earlier.

	* ../errors/cs1019.cs : Test case for error # 1019

	* ../errros/cs1020.cs : Test case for error # 1020

	* cs-parser.jay : Clean out commented cruft.
	(dimension_separators, dimension_separator): Comment out. Ostensibly not
	used anywhere - non-reducing rule.
	(namespace_declarations): Non-reducing rule - comment out.

	* enum.cs (Enum::AddEnum): Rename to AddEnumMember as I was getting confused
	with TypeContainer::AddEnum.

	* delegate.cs : New file for delegate handling classes.
	(Delegate): Class for declaring delegates.

	* makefile : Update.

	* cs-parser.jay (delegate_declaration): Implement.

svn path=/trunk/mcs/; revision=696
2001-09-02 15:37:11 +00:00
Gleb Novodran e4eac5b64d Initial implementation
svn path=/trunk/mcs/; revision=695
2001-09-01 12:50:26 +00:00
Ravi Pratap M 674353fbf4 2001-09-01 Ravi Pratap <[email protected]>
* class.cs (Event::Define): Implement.
	(Event.EventBuilder): New member.

	* class.cs (TypeContainer::Populate): Update to define all enums and events
	we have.
	(Events): New property for the events arraylist we hold. Shouldn't we move to using
	readonly fields for all these cases ?

2001-08-31  Ravi Pratap  <[email protected]>

	* class.cs (Property): Revamp to use the convention of making fields readonly.
	Accordingly modify code elsewhere.

	* class.cs : Apply patch from Mr. Mandar <[email protected]> for implementing
	the Define method of the Property class.

	* class.cs : Clean up applied patch and update references to variables etc. Fix
	trivial bug.
	(TypeContainer::Populate): Update to define all the properties we have. Also
	define all enumerations.

	* enum.cs (Define): Implement.

svn path=/trunk/mcs/; revision=694
2001-09-01 06:39:06 +00:00
Nick Drochak 150ab4ad5c 2001-09-01 Nick Drochak <[email protected]>
* Added NUnitConsole.exe

svn path=/trunk/mcs/; revision=693
2001-09-01 05:39:46 +00:00
Nick Drochak 069cb21ffa 2001-09-01 Nick Drochak <[email protected]>
* added NunitCore.dll

svn path=/trunk/mcs/; revision=692
2001-09-01 05:38:32 +00:00
Sergey Chaban be18387f31 * verifier.cs: Fixed bug in AbstractTypeStuff::operator ==;
Added support for enums;
   Removed duplicated checks in Compare.Parameters;
   Now has option to ignore missing types instead of reporting fatal-erros;

svn path=/trunk/mcs/; revision=691
2001-09-01 05:30:52 +00:00
Jim Richardson 49c06dd26d Changed enum value for first mono platform to allow growth for windows systems
svn path=/trunk/mcs/; revision=690
2001-08-31 08:57:30 +00:00
Jim Richardson 1cc52c8b7a Added CheckArgument.cs and CheckPermission.cs to common.src
svn path=/trunk/mcs/; revision=689
2001-08-31 08:56:12 +00:00
Ravi Pratap M 6b8008cfd9 2001-08-31 Ravi Pratap <[email protected]>
* cs-parser.jay (overloadable_operator): The semantic value is an
	enum of the Operator class.
	(operator_declarator): Implement actions.
	(operator_declaration): Implement.

	* class.cs (Operator::CheckUnaryOperator): New static method to help in checking
	validity of definitions.
	(Operator::CheckBinaryOperator): Static method to check for binary operators
	(TypeContainer::AddOperator): New method to add an operator to a type.

	* cs-parser.jay (indexer_declaration): Added line to actually call the
	AddIndexer method so it gets added ;-)

	* ../errors/errors.txt : Update to include new error numbers. Are these numbers
	already taken care of by the MS compiler ?

2001-08-29  Ravi Pratap  <[email protected]>

	* class.cs (Operator): New class for operator declarations.
	(Operator::OpType): Enum for the various operators.

svn path=/trunk/mcs/; revision=688
2001-08-31 03:35:11 +00:00
Bob Smith 73933c6bc1 *** empty log message ***
svn path=/trunk/mono/; revision=687
2001-08-30 20:45:44 +00:00
Bob Smith c6154f2470 More implementation/stubbing.
svn path=/trunk/mcs/; revision=686
2001-08-30 20:41:15 +00:00
Dietmar Maurer 2b574ba7f9 remove libffi
svn path=/trunk/mono/; revision=685
2001-08-30 13:04:52 +00:00
Dietmar Maurer 148cc634b7 2001-08-30 Dietmar Maurer <[email protected]>
* *: removed the libffi dependency, mono now compiles on cygwin

	* mono/wrapper/build-dll: new file.

svn path=/trunk/mono/; revision=684
2001-08-30 13:01:42 +00:00
Christopher Podurgiel 7f47838587 Added Files.
svn path=/trunk/mcs/; revision=683
2001-08-30 08:03:12 +00:00
Jim Richardson 2888bfd5fa Added [Flags] attribute to enums.
svn path=/trunk/mcs/; revision=682
2001-08-30 02:06:35 +00:00
Jim Richardson 6fad6fb4a8 Additional implementation
svn path=/trunk/mcs/; revision=681
2001-08-30 02:03:50 +00:00
Jim Richardson 735f5b298d Additional implemenation
svn path=/trunk/mcs/; revision=680
2001-08-30 01:59:49 +00:00
Jim Richardson d4e3f47dab Added two utility classes for argument and permission checks that
required throughout the System.IO namespace

svn path=/trunk/mcs/; revision=679
2001-08-30 01:52:03 +00:00
Miguel de Icaza 4256d92823 Flush
svn path=/trunk/mono/; revision=678
2001-08-29 20:11:29 +00:00
Alexander Klyubin 49681f0f27 Added targets to build and run tests
svn path=/trunk/mcs/; revision=677
2001-08-29 13:58:55 +00:00
Alexander Klyubin 18e1e59417 Fixed 'clean' target
svn path=/trunk/mcs/; revision=676
2001-08-29 13:58:37 +00:00
Alexander Klyubin 213632594b Added 'clean' target to make files
svn path=/trunk/mcs/; revision=675
2001-08-29 13:21:03 +00:00
Dietmar Maurer 2773ac0f87 2001-08-29 Dietmar Maurer <[email protected]>
* loader.c (mono_get_method): use pinvoke for internal call

	* icall.c: use pinvoke for internal call

	* loader.c (method_from_memberref): set the method name

	* interp.c (ves_array_set): moved from icall.c
	(ves_array_get): moved from icall.c

	* icall.c: moved to metadata/icall.c

svn path=/trunk/mono/; revision=674
2001-08-29 11:04:59 +00:00
Paolo Molaro f6447b56ba Wed Aug 29 12:46:06 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: some small optimizations. Fixes to do signed
	compares when needed. Change C++ comments into C.
	Implemented cgt, clt. Added --opcode-count cmdline switch.

svn path=/trunk/mono/; revision=673
2001-08-29 06:53:31 +00:00
Paolo Molaro a710ecedb5 Wed Aug 29 12:43:41 CEST 2001 Paolo Molaro <[email protected]>
* metadata.c: help the compiler generate better code for
	mono_class_from_mono_type ().

svn path=/trunk/mono/; revision=672
2001-08-29 06:45:55 +00:00
Alexander Klyubin 600712d9b5 Fixed invalid format in class status
svn path=/trunk/mono/; revision=671
2001-08-29 06:14:33 +00:00
Alexander Klyubin e1bff32dd2 Updated status of System.Diagnostics.StackFrame and System.Diagnostics.StackTrace
svn path=/trunk/mono/; revision=670
2001-08-29 05:59:48 +00:00
Alexander Klyubin 7e5d85bca4 Added tests for System.Diagnostics.StackFrame and System.Diagnostics.StackTrace
svn path=/trunk/mcs/; revision=669
2001-08-29 05:53:35 +00:00
Alexander Klyubin 687ff3837c Added skeletal implementation of StackFrame and StackTrace
svn path=/trunk/mcs/; revision=668
2001-08-29 05:50:17 +00:00
Ravi Pratap M 83ae63a185 2001-08-29 Ravi Pratap <[email protected]>
* class.cs (TypeContainer::AddIndexer): Remove FIXME comment. We
	ostensibly handle this in semantic analysis.

	* cs-parser.jay (general_catch_clause): Comment out
	(specific_catch_clauses, specific_catch_clause): Ditto.
	(opt_general_catch_clause, opt_specific_catch_clauses): Ditto
	(catch_args, opt_catch_args): New productions.
	(catch_clause): Rewrite to use the new productions above
	(catch_clauses): Modify accordingly.
	(opt_catch_clauses): New production to use in try_statement
	(try_statement): Revamp. Basically, we get rid of one unnecessary rule
	and re-write the code in the actions to extract the specific and
	general catch clauses by being a little smart ;-)

	* ../tests/try.cs : Fix. It's not 'finalize' my friend, it's 'finally' !
	Hooray, try and catch statements parse fine !

2001-08-28  Ravi Pratap  <[email protected]>

	* statement.cs (Block::GetVariableType): Fix logic to extract the type
	string from the hashtable of variables.

	* cs-parser.jay (event_accessor_declarations): Trivial fix. Man, how did
	I end up making that mistake ;-)
	(catch_clauses): Fixed gross error which made Key and Value of the
	DictionaryEntry the same : $1 !!

svn path=/trunk/mcs/; revision=667
2001-08-29 04:35:25 +00:00
Bob Smith 42c1887426 *** empty log message ***
svn path=/trunk/mono/; revision=666
2001-08-29 03:57:20 +00:00
Bob Smith d16c58b858 HttpWorkerRequest.cs: Partial Implementation.
svn path=/trunk/mcs/; revision=665
2001-08-29 03:55:44 +00:00
Nick Drochak 702c1d78a0 2001-08-24 Nick Drochak <[email protected]>
* NameObjectCollectionBase.cs: Add stub implementation
        * common.src: Add NameObjectCollectionBase to the build
        * NameValueCollection.cs: add 'override' to CopyTo().  Maybe
                this code actually belongs in the superclass.

svn path=/trunk/mcs/; revision=664
2001-08-29 01:17:18 +00:00
Christopher Podurgiel fc79231a00 Christopher Podurgiel <[email protected]>
Updated last activity dates for System.Configuration

svn path=/trunk/mono/; revision=663
2001-08-28 22:38:08 +00:00
Christopher Podurgiel 2812083512 2001-08-28 Christopher Podurgiel <[email protected]>
* IConfigurationSectionHandler.cs: Added reference to System.Xml.

	* SingleTagSectionHandler.cs: Added Implementation of Create() method.

	* NameValueSectionHandler.cs: Added Implementation of Create() method.

	* ConfigurationException.cs: Now returns proper message rather than "System Exception".

svn path=/trunk/mcs/; revision=662
2001-08-28 22:30:10 +00:00
Christopher Podurgiel 2cd0a23ee2 Now returns proper message rather than "System Exception".
svn path=/trunk/mcs/; revision=661
2001-08-28 22:29:13 +00:00
Christopher Podurgiel 0c9c748965 Added reference to System.Xml.
svn path=/trunk/mcs/; revision=660
2001-08-28 22:28:43 +00:00
Christopher Podurgiel 11d015e36a Added Implementation of Create() method.
svn path=/trunk/mcs/; revision=659
2001-08-28 22:28:27 +00:00
Bob Smith 32cee6c01e Control.cs: Figured out some undocumented API.
svn path=/trunk/mcs/; revision=658
2001-08-28 20:50:33 +00:00
Dietmar Maurer 43f3e90e35 2001-08-28 Dietmar Maurer <[email protected]>
* TextReader.cs: implemented the Read method

	* StreamReader.cs: impl. stubs

	* Console.cs: implemented the stdin stuff

svn path=/trunk/mcs/; revision=657
2001-08-28 13:26:34 +00:00
Miguel de Icaza 3a0f9b5e7c Add more details to the compiler documentation
svn path=/trunk/mcs/; revision=656
2001-08-28 12:36:19 +00:00
Dietmar Maurer abaa8e2d48 2001-08-28 Dietmar Maurer <[email protected]>
* interp.c (ves_exec_method): better check for value types (get
	the class to detect if we have a value type), implemented CEE_CONV_U1,
	CEE_CONV_U2, CEE_CEQ

	* class.c (mono_class_metadata_init): delayed computing of the
	class size to mono_class_metadata_init ()

	* mono/tests/console.cs: impl.

	* mono/tests/box.cs: impl.

	* mono/tests/stream-writer.cs: impl.

svn path=/trunk/mono/; revision=655
2001-08-28 10:47:36 +00:00
Dietmar Maurer 9de03899f8 2001-08-28 Dietmar Maurer <[email protected]>
* Console.cs: impl. (write only)

	* Int32.cs: impl. real op_Equal

	* UTF8Encoding.cs: impl. clumsy GetBytes

	* StreamWriter.cs: impl.

	* TextWriter.cs: implemented Write and WriteLine methods

svn path=/trunk/mcs/; revision=654
2001-08-28 10:37:08 +00:00
Paolo Molaro 385f53e537 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <[email protected]>
* main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
	Output info about interfaces when disassembling a type. Many small
	changes to make the output correct assembler.

svn path=/trunk/mono/; revision=653
2001-08-28 09:59:38 +00:00
Paolo Molaro bd989b3a73 Tue Aug 28 15:47:15 CEST 2001 Paolo Molaro <[email protected]>
* class.c, class.h: add an interfaces member to MonoClass.
	* image.c, image.h: add assembly_name field to MonoImage
	from the assembly table.
	* metadata.c, metadata.h: add mono_metadata_interfaces_from_typedef ().

svn path=/trunk/mono/; revision=652
2001-08-28 09:55:41 +00:00
Ravi Pratap M 918362d795 2001-08-28 Ravi Pratap <[email protected]>
* cs-tokenizer.cs (initTokens): Add keywords 'add' and 'remove'

	* cs-parser.jay (event_declaration): Correct to remove the semicolon
	when the add and remove accessors are specified.

svn path=/trunk/mcs/; revision=651
2001-08-28 06:45:13 +00:00
Ravi Pratap M f6a28123f6 2001-08-28 Ravi Pratap <[email protected]>
* cs-parser.jay (IndexerDeclaration): New helper class to hold
	information about indexer_declarator.
	(indexer_declarator): Implement actions.
	(parsing_indexer): New local boolean used to keep track of whether
	we are parsing indexers or properties. This is necessary because
	implicit_parameters come into picture even for the get accessor in the
	case of an indexer.
	(get_accessor_declaration, set_accessor_declaration): Correspondingly modified.

	* class.cs (Indexer): New class for indexer declarations.
	(TypeContainer::AddIndexer): New method to add an indexer to a type.
	(TypeContainer::indexers): New member to hold list of indexers for the
	type.

2001-08-27  Ravi Pratap  <[email protected]>

	* cs-parser.jay (add_accessor_declaration): Implement action.
	(remove_accessor_declaration): Implement action.
	(event_accessors_declaration): Implement
	(variable_declarators): swap statements for first rule - trivial.

	* class.cs (Event): New class to hold information about event
	declarations.
	(TypeContainer::AddEvent): New method to add an event to a type
	(TypeContainer::events): New member to hold list of events.

	* cs-parser.jay (event_declaration): Implement actions.

svn path=/trunk/mcs/; revision=650
2001-08-28 06:17:23 +00:00
Bob Smith e22c6058e7 *** empty log message ***
svn path=/trunk/mono/; revision=649
2001-08-28 03:50:08 +00:00
Bob Smith 35dc2263fe Lots of implementations.
svn path=/trunk/mcs/; revision=648
2001-08-28 03:43:43 +00:00
Bob Smith 01b04fb75b Control.cs: Bug fixes and implementations.
svn path=/trunk/mcs/; revision=647
2001-08-27 20:09:30 +00:00
Paolo Molaro 7327def057 Mon Aug 27 21:30:30 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: warn and exit when Main () expects the cmdline arguments
	instead of creashing.

svn path=/trunk/mono/; revision=646
2001-08-27 15:33:36 +00:00
Paolo Molaro f86420142b Mon Aug 27 20:24:26 CEST 2001 Paolo Molaro <[email protected]>
* mono/tests/*: New test cases, mostly for virtual method dispatch.
	Use make testb for the slow benchmarking programs,
	make test for the usual regression test checks.

svn path=/trunk/mono/; revision=645
2001-08-27 14:26:43 +00:00
Paolo Molaro 768dfe1c93 Mon Aug 27 20:16:37 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: merge isinst/castclass handling. Hopefully implement
	the right semantics for handling callvirt correctly (changes
	here and there to support it). Integrate bugfix from Dietmar quickly
	so he needs to handle the cvs conflict:-)

svn path=/trunk/mono/; revision=644
2001-08-27 14:23:41 +00:00
Paolo Molaro 670e904d76 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <[email protected]>
* dis-cil.c, get.c: some endian fixes.
	* main.c: colon-separate version numbers. Print also namespace
	when outputting class information.

svn path=/trunk/mono/; revision=643
2001-08-27 14:17:37 +00:00
Paolo Molaro 8efdf1f8f9 Mon Aug 27 20:12:01 CEST 2001 Paolo Molaro <[email protected]>
* class.c: Handle Array in mono_class_from_mono_type ().
	* metadata.c, pedump.c: some endian fixes.

svn path=/trunk/mono/; revision=642
2001-08-27 14:14:53 +00:00
Sergey Chaban 4ad48b7689 * OpCode.cs, OpCodes.cs: Initial check-in;
svn path=/trunk/mcs/; revision=641
2001-08-27 12:47:25 +00:00
Paolo Molaro 9e8775846f Mon Aug 27 15:23:23 CEST 2001 Paolo Molaro <[email protected]>
* class.c, loader.c, loader.h: More types handled in mono_class_from_mono_type ().
	* metadata.c: fix small problem introduced with the latest commit.

svn path=/trunk/mono/; revision=640
2001-08-27 09:26:47 +00:00
Paolo Molaro e9d47c0525 Mon Aug 27 12:17:17 CEST 2001 Paolo Molaro <[email protected]>
* loader.c, metadata.c, metadata.h: Export mono_metadata_type_equal().
	We don't need a MonoMetadata pointer anymore to compare signatures in
	mono_metadata_signature_equal (), update callers.
	Reduced memory usage an number of allocations for MonoMethodHeader and
	MonoMethodSignature.


Mon Aug 27 12:20:32 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: fix compilation and updates for changes in metadata/.

svn path=/trunk/mono/; revision=639
2001-08-27 06:25:25 +00:00
stefan 9fe8399e58 added better GetHashCode() implementation
svn path=/trunk/mcs/; revision=638
2001-08-27 05:06:50 +00:00
Ravi Pratap M 551710fe5a 2001-08-27 Ravi Pratap <[email protected]>
* cs-parser.jay (dim_separators): Implement. Make it a string
	concatenating all the commas together, just as they appear.
	(opt_dim_separators): Modify accordingly
	(rank_specifiers): Update accordingly. Basically do the same
	thing - instead, collect the brackets here.
	(opt_rank_sepcifiers): Modify accordingly.
	(array_type): Modify to actually return the complete type string
	instead of ignoring the rank_specifiers.
	(expression_list): Implement to collect the expressions
	(variable_initializer): Implement. We make it a list of expressions
	essentially so that we can handle the array_initializer case neatly too.
	(variable_initializer_list): Implement.
	(array_initializer): Make it a list of variable_initializers
	(opt_array_initializer): Modify accordingly.

	* expression.cs (New::NType): Add enumeration to help us
	keep track of whether we have an object/delegate creation
	or an array creation.
	(New:NewType, New::Rank, New::Indices, New::Initializers): New
	members to hold data about array creation.
	(New:New): Modify to update NewType
	(New:New): New Overloaded contructor for the array creation
	case.

	* cs-parser.jay (array_creation_expression): Implement to call
	the overloaded New constructor.

2001-08-26  Ravi Pratap  <[email protected]>

	* class.cs (TypeContainer::Constructors): Return member
	constructors instead of returning null.

svn path=/trunk/mcs/; revision=637
2001-08-27 04:37:08 +00:00
Paolo Molaro a07ae80ab5 Mon Aug 27 09:29:00 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: fix x86_call_code (). x86_mov_regp_reg () added.

svn path=/trunk/mono/; revision=636
2001-08-27 03:43:09 +00:00
Miguel de Icaza 144b21b88b Add a couple of new errors and a compiler roadmap.
svn path=/trunk/mcs/; revision=635
2001-08-27 02:42:30 +00:00
Miguel de Icaza 92d3c11183 2001-08-26 Miguel de Icaza <[email protected]>
* interp.c (main): Add option handling for the interpreter,
	support the `--trace' option.

svn path=/trunk/mono/; revision=634
2001-08-26 23:52:03 +00:00
Christopher Podurgiel 4182b80859 No longer references the NameValueSectionHandler directly. Instead it uses System.Reflection to call the Create() method for the appropriate SectionHandler as defined in the .config file.
svn path=/trunk/mcs/; revision=633
2001-08-26 22:42:24 +00:00
Miguel de Icaza 2ca4ca638d 2001-08-26 Miguel de Icaza <[email protected]>
* typemanager.cs (InitCoreTypes): Initialize the various core
	types after we have populated the type manager with the user
	defined types (this distinction will be important later while
	compiling corlib.dll)

	* expression.cs, literal.cs, assign.cs, constant.cs: Started work
	on Expression Classification.  Now all expressions have a method
	`Resolve' and a method `Emit'.

	* codegen.cs, cs-parser.jay: Fixed the bug that stopped code
	generation from working.     Also add some temporary debugging
	code.

svn path=/trunk/mcs/; revision=632
2001-08-26 22:36:41 +00:00
Paolo Molaro 2f45d0163d Expand stream.cs to cover read and write testing.
I should work now, with an updated corlib.

svn path=/trunk/mono/; revision=631
2001-08-26 17:14:15 +00:00
Paolo Molaro f1ad7143d4 Sun Aug 26 23:04:46 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: get in a dummy virtual method dispatch.
	Added support for int64, native int and native uint as arguments.
	Added debug enter/leave for icall and pinvoke methods, too.
	Implement opcodes conv.i, conv.i8, ldelema.

svn path=/trunk/mono/; revision=630
2001-08-26 17:13:14 +00:00
Paolo Molaro d5afc18c3b Sun Aug 26 23:03:09 CEST 2001 Paolo Molaro <[email protected]>
* metadata.c: added compare for szarray.

svn path=/trunk/mono/; revision=629
2001-08-26 17:05:51 +00:00
Paolo Molaro 5e5823ba07 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <[email protected]>
* FileAccess.cs, FileMode.cs: change values to be compatible with
	the ms ones.

svn path=/trunk/mcs/; revision=628
2001-08-26 17:04:13 +00:00
Christopher Podurgiel 3fbbb1ed80 ConfigurationSettings.cs: No longer references the NameValueSectionHandler directly. Instead it uses System.Reflection to call the Create() method for the appropriate SectionHandler as defined in the .config file.
svn path=/trunk/mcs/; revision=627
2001-08-26 15:19:48 +00:00
Sergey Chaban 7fdd45e4ee * verifier.cs: fixed bug in AssemblyLoader::LoadFrom in ReflectionTypeLoadException handler;
svn path=/trunk/mcs/; revision=626
2001-08-26 13:12:31 +00:00
Paolo Molaro 0b20e44943 Add System.IO.IOException info.
svn path=/trunk/mono/; revision=625
2001-08-26 05:52:47 +00:00
Paolo Molaro 1143d8b807 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <[email protected]>
* IoException.cs: Implemented System.IO.Exception.

svn path=/trunk/mcs/; revision=624
2001-08-26 05:51:23 +00:00
Paolo Molaro ebba64bd25 Sun Aug 26 11:37:30 CEST 2001 Paolo Molaro <[email protected]>
* interp.h, interp.c: load also a MonoClass pointer when we load
	an address on the stack. Implemented conv.i1, conv.i2, con.i4,
	conv.u4, conv.r4, conv.r8. Print the arguments in the stack trace
	and the name of the exception.

svn path=/trunk/mono/; revision=623
2001-08-26 05:43:56 +00:00
Paolo Molaro 0576036dcb Sun Aug 26 11:34:24 CEST 2001 Paolo Molaro <[email protected]>
* class.h, class.c, loader.h, loader.c: export mono_class_from_mono_type ()
	and add a couple more types to it and mono_defaults. Give an hint on
	classes that need implementing in our corlib and are referenced
	in mscorlib.

svn path=/trunk/mono/; revision=622
2001-08-26 05:37:47 +00:00
Jim Richardson 513d52e3ea Added the [Flags] attribute to the enumeration
svn path=/trunk/mcs/; revision=621
2001-08-25 11:04:53 +00:00
Paolo Molaro 78bd4ffd47 Sat Aug 25 15:56:03 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: Implemented some opcodes: starg.s, ldobj, isinst,
	ldarg, starg, ldloc, ldloca, stloc, initobj, cpblk, sizeof.

svn path=/trunk/mono/; revision=620
2001-08-25 09:59:51 +00:00
Paolo Molaro 7efa7ceb1e Sat Aug 25 12:57:36 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: handle enumerations specially (not as valuetypes).

svn path=/trunk/mono/; revision=619
2001-08-25 07:00:28 +00:00
Paolo Molaro e97efda0d8 Sat Aug 25 12:52:54 CEST 2001 Paolo Molaro <[email protected]>
* class.h, class.c: keep track if a class is also an Enum.
	* loader.c: Implement a couple more types for use in libffi
	marshalling. Gives better diagnostics when failing to dlopen
	a library. Set method->klass for P/Invoke methods, too.

svn path=/trunk/mono/; revision=618
2001-08-25 06:56:32 +00:00
Sergey Chaban ef52f7d0aa * added support for fields;
* added support for non-public types;
* fixed types comparison bug,
  types must be compared by-hand, Equals won't work;
* now methods also compared by their access modifiers and inheritance options;
* more extensive error reporting;
* minor internal changes;

svn path=/trunk/mcs/; revision=617
2001-08-25 04:27:39 +00:00
Miguel de Icaza cd7b3d9f9e 2001-08-24 Miguel de Icaza <[email protected]>
* codegen.cs: Lots of code generation pieces.  This is only the
	beginning, will continue tomorrow with more touches of polish.  We
	handle the fundamentals of if, while, do, for, return.  Others are
	trickier and I need to start working on invocations soon.

	* gen-treedump.cs: Bug fix, use s.Increment here instead of
	s.InitStatement.

	* codegen.cs (EmitContext): New struct, used during code
	emission to keep a context.   Most of the code generation will be
	here.

	* cs-parser.jay: Add embedded blocks to the list of statements of
	this block.  So code generation proceeds in a top down fashion.

svn path=/trunk/mcs/; revision=616
2001-08-24 22:10:10 +00:00
Miguel de Icaza 366f1bbace Add new file
svn path=/trunk/mono/; revision=615
2001-08-24 21:29:09 +00:00
stefan 6986a3738e updated System.Drawing.Drawing2D.* class entries
svn path=/trunk/mono/; revision=614
2001-08-24 18:53:40 +00:00
Miguel de Icaza dd5ee0c135 Add back IAsyncResult to the build
svn path=/trunk/mcs/; revision=613
2001-08-24 17:32:06 +00:00
Michael Lambert 1a63d6f651 Updated class.xml
svn path=/trunk/mono/; revision=612
2001-08-24 16:38:11 +00:00
Michael Lambert d86723c17a 2001-08-23 Michael Lambert <[email protected]>
* IAsyncResult.cs: Added

svn path=/trunk/mcs/; revision=611
2001-08-24 16:16:21 +00:00
Miguel de Icaza 3ab846cb69 2001-08-24 Miguel de Icaza <[email protected]>
* (common.src): Removed IAsyncResult as it is not on CVS yet.

	* UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
	as it breaks the build.

svn path=/trunk/mcs/; revision=610
2001-08-24 16:07:04 +00:00
Miguel de Icaza e650510012 Remove IASyncResult to get the build going
svn path=/trunk/mcs/; revision=609
2001-08-24 15:59:51 +00:00
Miguel de Icaza edd7df2604 Add System.Drawing.Drawing2D
svn path=/trunk/mcs/; revision=608
2001-08-24 15:54:40 +00:00
Bob Smith 68dae9923e Control.cs: Bug fixes.
svn path=/trunk/mcs/; revision=607
2001-08-24 15:04:13 +00:00
Michael Lambert 8486b66a01 *** empty log message ***
svn path=/trunk/mcs/; revision=606
2001-08-24 14:20:03 +00:00
Michael Lambert 065107592a *** empty log message ***
svn path=/trunk/mcs/; revision=605
2001-08-24 13:56:21 +00:00
Paolo Molaro b9b84ff5b8 Enhanced test for valuetypes.
svn path=/trunk/mono/; revision=604
2001-08-24 13:39:12 +00:00
Paolo Molaro ed71230f05 Fri Aug 24 19:30:25 CEST 2001 Paolo Molaro <[email protected]>
* class.c, class.h: add a MonoType this_arg to MonoClass that
	represents a pointer to an object of the class' type that
	can be used by the interpreter and later the type cache.
	Add best guess alignment info for valuetype objects.


Fri Aug 24 19:34:04 CEST 2001 Paolo Molaro <[email protected]>

	* interp.h, interp.c: add support for valuetypes.

svn path=/trunk/mono/; revision=603
2001-08-24 13:38:27 +00:00
Paolo Molaro 214aea5486 Fri Aug 24 15:50:31 CEST 2001 Paolo Molaro <[email protected]>
* metadata.h, metadata.c, class.h, class.c: squeezed MonoParam
	into MonoType: one less level of indirection and allocation and
	simplifies quite a bit of code. Added cache for MonoTypes that are
	used frequently, so that we don't need to allocate them all the time.


Fri Aug 24 16:09:20 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: updates for merge of MonoParam in MonoType.


Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <[email protected]>

	* get.c, main.c, get.h: updates for MonoParam merge in MonoType.

svn path=/trunk/mono/; revision=602
2001-08-24 10:26:14 +00:00
Christopher Podurgiel 4c0ea544d8 2001-08-24 Christopher Podurgiel <[email protected]>
* SingleTagSectionHandler.cs: Added.
	* DictionarySectionHandler.cs: Added.
	
	* NameValueSectionHandler.cs: Compile errors are now fixed.
	* IgnoreSectionHandler.cs: Compile errors are now fixed.

	* ConfigurationSettings.cs: Added Implementation code for the entire class.
	  Note the LAMESPEC: in GetConfig().

svn path=/trunk/mcs/; revision=601
2001-08-24 08:10:04 +00:00
Dietmar Maurer 071257b8a3 added MonoDummy.cs and TimeSpan.cs to common.src
svn path=/trunk/mcs/; revision=600
2001-08-24 06:44:09 +00:00
Dietmar Maurer b564e43fbc 2001-08-24 Dietmar Maurer <[email protected]>
* class.c (mono_class_create_from_typedef): System.Enum is also a
	value type, although it does not derive from System.ValueType
	(maybe a bug in the ms compiler?)

	* metadata.c (mono_type_size): return the right size for value types

	* loader.c (mono_get_method): only initialize method header if not abstract

svn path=/trunk/mono/; revision=599
2001-08-24 06:36:05 +00:00
Nick Drochak 21a11f619d 2001-08-24 Nick Drochak <[email protected]>
* SerializationInfo.cs: Added all the public methods so that the compile would not break

svn path=/trunk/mcs/; revision=598
2001-08-24 05:39:12 +00:00
Dietmar Maurer ef30eaa555 2001-08-24 Dietmar Maurer <[email protected]>
* class.c (mono_class_from_mono_type): use mono_default values.

svn path=/trunk/mono/; revision=597
2001-08-24 03:17:19 +00:00
Dietmar Maurer bc35f40d67 2001-08-23 Dietmar Maurer <[email protected]>
* *: use MonoClass pointers instead of <type_tokens>

	* class.h: new flag: metadata_inited.

	* class.c (mono_class_metadata_init): impl.
	(mono_class_instance_size): impl.
	(mono_class_data_size): impl.

svn path=/trunk/mono/; revision=596
2001-08-24 02:30:51 +00:00
Michael Lambert 19ed1f5afc *** empty log message ***
svn path=/trunk/mcs/; revision=595
2001-08-23 21:43:03 +00:00
Michael Lambert 7f4fbdf125 *** empty log message ***
svn path=/trunk/mcs/; revision=594
2001-08-23 21:04:10 +00:00
Miguel de Icaza b156a2774b Flush and move to laptop
svn path=/trunk/mcs/; revision=593
2001-08-23 20:57:15 +00:00
Rodrigo Moya b6f9d6943b 2001-08-22 Rodrigo Moya <[email protected]>
* mono/cil/Makefile.am:
	* mono/wrapper/Makefile.am: use correct variables for installation
	directories

svn path=/trunk/mono/; revision=592
2001-08-23 19:14:38 +00:00
Bob Smith 9efa35f799 Control.cs: More implementation. Events reworked for performance.
svn path=/trunk/mcs/; revision=591
2001-08-23 19:07:24 +00:00
Miguel de Icaza a74d0d4f28 Integrate into build
svn path=/trunk/mcs/; revision=590
2001-08-23 18:15:18 +00:00
Miguel de Icaza 39e63e300d Add ClientTargetSectioHandler.cs from Toelen
svn path=/trunk/mcs/; revision=589
2001-08-23 18:14:30 +00:00
Miguel de Icaza c37722acdb Love the web site
svn path=/trunk/mono/; revision=588
2001-08-23 17:12:01 +00:00
Miguel de Icaza 796624c394 Update
svn path=/trunk/mono/; revision=587
2001-08-23 13:48:33 +00:00
Miguel de Icaza a770270656 Fix url
svn path=/trunk/mono/; revision=586
2001-08-23 13:41:00 +00:00
Paolo Molaro 9c85873407 Thu Aug 23 12:04:34 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: removed beforefieldinit check, it's a useless flag.
	Added a couple more test cases to tests/ dir.

svn path=/trunk/mono/; revision=585
2001-08-23 06:06:57 +00:00
Jim Richardson c1b919e4fe Added missing public attribute to FileStream class to allow File and
FileInfo classes compile

svn path=/trunk/mcs/; revision=584
2001-08-23 01:18:18 +00:00
Jim Richardson d8fc82a8da I suppose it helps when using CodeWright with C# to look at the output
for errors because the status line that says No Errors found "lies"
Fixed the compiler errors and vow to be more careful with copy/paste

svn path=/trunk/mcs/; revision=583
2001-08-23 01:16:08 +00:00
Miguel de Icaza fa43d92d1f Remove ConfigurationSetting from the compilation until we have an implementation of the NameValueCollection
svn path=/trunk/mcs/; revision=582
2001-08-23 00:48:39 +00:00
Miguel de Icaza 5448b37ffd Minor web site fixes
svn path=/trunk/mono/; revision=581
2001-08-23 00:38:09 +00:00
Jim Richardson 72b0e79d7f Updated status
svn path=/trunk/mono/; revision=580
2001-08-23 00:20:23 +00:00
Jim Richardson 280124d5b8 Added additional platform specific items
svn path=/trunk/mcs/; revision=579
2001-08-23 00:09:22 +00:00
Jim Richardson ffd78abac4 Added more PlatformSpecific items
svn path=/trunk/mcs/; revision=578
2001-08-23 00:05:19 +00:00
Jim Richardson a986601643 Implemented various methods that were previously just do nothing stubs.
Verified compilation and added files to common.src

svn path=/trunk/mcs/; revision=577
2001-08-23 00:00:46 +00:00
Miguel de Icaza bdecca6838 Minor web site fixes
svn path=/trunk/mono/; revision=576
2001-08-22 23:57:18 +00:00
Miguel de Icaza 3839716253 Update for 0.6 release
svn path=/trunk/mono/; revision=575
2001-08-22 23:54:45 +00:00
Miguel de Icaza 17228003d3 2001-08-22 Miguel de Icaza <[email protected]>
* codegen.cs (EmitCode): New function, will emit the code for a
	Block of code given a TypeContainer and its ILGenerator.

	* statement.cs (Block): Standard public readonly optimization.
	(Block::Block constructors): Link children.
	(Block::Child): Child Linker.
	(Block::EmitVariables): Emits IL variable declarations.

	* class.cs: Drop support for MethodGroups here, delay until
	Semantic Analysis.
	(Method::): Applied the same simplification that I did before, and
	move from Properties to public readonly fields.
	(Method::ParameterTypes): Returns the parameter types for the
	function, and implements a cache that will be useful later when I
	do error checking and the semantic analysis on the methods is
	performed.
	(Constructor::GetCallingConvention): Renamed from CallingConvetion
	and made a method, optional argument tells whether this is a class
	or a structure to apply the `has-this' bit.
	(Method::GetCallingConvention): Implement, returns the calling
	convention.
	(Method::Define): Defines the type, a second pass is performed
	later to populate the methods.

	(Constructor::ParameterTypes): implement a cache similar to the
	one on Method::ParameterTypes, useful later when we do semantic
	analysis.

	(TypeContainer::EmitMethod):  New method.  Emits methods.

	* expression.cs: Removed MethodGroup class from here.

	* parameter.cs (Parameters::GetCallingConvention): new method.

svn path=/trunk/mcs/; revision=573
2001-08-22 23:32:44 +00:00
Nick Drochak a026988bb8 2001-08-23 Nick Drochak <[email protected]>
* ccvs: added '-Pd' to the cvs update command with an explanation

svn path=/trunk/mono/; revision=571
2001-08-22 21:26:35 +00:00
Bob Smith 409bb35a33 LiteralControl implemented, and HtmlContainerControl bugfixed.
svn path=/trunk/mcs/; revision=570
2001-08-22 19:46:35 +00:00
Nick Drochak 95af7dd69b 2001-08-21 Nick Drochak <[email protected]>
* Added ChangeLog file

svn path=/trunk/mcs/; revision=569
2001-08-22 19:08:09 +00:00
Miguel de Icaza 9e93720b51 2001-08-22 Miguel de Icaza <[email protected]>
* interp.c (usage): Add version information

svn path=/trunk/mono/; revision=568
2001-08-22 18:35:19 +00:00
Miguel de Icaza 52c2071e89 2001-08-22 Miguel de Icaza <[email protected]>
* interp.c (ves_pinvoke_method): Typo fix.

svn path=/trunk/mono/; revision=567
2001-08-22 18:33:16 +00:00
Bob Smith 75becf30e1 Updated class.xml
svn path=/trunk/mono/; revision=566
2001-08-22 16:17:45 +00:00
Bob Smith f417e9e65d More implementations.
svn path=/trunk/mcs/; revision=565
2001-08-22 16:07:36 +00:00
Paolo Molaro 4d0be295fa Wed Aug 22 20:37:51 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: simplified init_class (). Make sure a class
	is fully initialized before executing a method in the class.
	Search for the class constructor only on beforefieldinit classes.
	Implement a bunch of opcodes: br, brfalse, brtrue, beq, bge,
	bgt, blt, ble, bne.un, bge.un, bgt.un, ble.un, blt.un, stind.i,
	ldflda, ldsflda, ldelem.i8, stelem.i8, leave.

svn path=/trunk/mono/; revision=564
2001-08-22 14:44:45 +00:00
John Barnette cc59b1d1d6 Updated StringDictionary entry.
svn path=/trunk/mono/; revision=563
2001-08-22 13:39:49 +00:00
John Barnette 448f93455a Vanity commit: added self to AUTHORS.
svn path=/trunk/mcs/; revision=562
2001-08-22 13:37:42 +00:00
John Barnette d07c387db5 Initial add of StringDictionary.
svn path=/trunk/mcs/; revision=561
2001-08-22 13:36:27 +00:00
Miguel de Icaza cfc72f5639 Rename Windoze.cs to Windows.cs
svn path=/trunk/mcs/; revision=560
2001-08-22 11:50:46 +00:00
Paolo Molaro c5922f55ad Wed Aug 22 16:27:30 CEST 2001 Paolo Molaro <[email protected]>
* metadata.c, loader.h, loader.c, image.h, image.c, class.h, class.c:
	MonoClass now has the name and name_space fields.
	MonoMethod has a pointer to its MonoClass, instead of MonoImage.
	mono_get_method () takes and optional MonoClass as argument.
	Removed mono_typedef_from_name() and added mono_class_token_from_name()
	instead that takes advantage of a map from class names to typedef
	tokens in MonoImage.


Wed Aug 22 16:34:03 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: Updates for changes in metadata/. Better output in debug mode
	and in the stack trace. Completed rethrow handling

svn path=/trunk/mono/; revision=559
2001-08-22 10:38:20 +00:00
Paolo Molaro 9913163486 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <[email protected]>
* dis-cil.c: add a newline after branch instructions. Move
	end of exception handler code at the end.

svn path=/trunk/mono/; revision=558
2001-08-22 10:27:23 +00:00
Jim Richardson b2921f3b60 Corrected a compilation issue in Environment.cs and added it to common.src
svn path=/trunk/mcs/; revision=557
2001-08-22 09:24:48 +00:00
Jim Richardson d937d1508e Added PlatformID.cs and OperatingSystem.cs to common.src
svn path=/trunk/mcs/; revision=556
2001-08-22 09:10:05 +00:00
Jim Richardson e24740f7ec Implemented additional functionality.
Verified compilation.
Added to appropriate .src files.

svn path=/trunk/mcs/; revision=555
2001-08-22 08:44:07 +00:00
Jim Richardson 3a88605c0e Created a namespace System.Private.PlatformSpecific.
Added implementations in Unix.cs and Windows.cs for retrieving
environment variables in a platform specific manner.
Implementations are called from Environment.cs

svn path=/trunk/mcs/; revision=554
2001-08-22 08:41:45 +00:00
Jim Richardson 40055a32f4 Corrected some minor issues that were preventing compilation.
svn path=/trunk/mcs/; revision=553
2001-08-22 07:56:24 +00:00
Sergey Chaban b4fcf4f94a Lots of changes, it was basically rewritten from scratch.
svn path=/trunk/mcs/; revision=552
2001-08-22 06:25:23 +00:00
John Barnette f0cc7693e1 Updated entries for ListDictionary and StringCollection.
svn path=/trunk/mono/; revision=551
2001-08-22 02:25:09 +00:00
John Barnette bac0f8e2f8 Initial add of ListDictionary.
svn path=/trunk/mcs/; revision=550
2001-08-22 02:18:15 +00:00
John Barnette 10968ac70e Initial implementation of ListDictionary.
svn path=/trunk/mcs/; revision=549
2001-08-22 02:17:16 +00:00
Miguel de Icaza 6e429b89e5 Fix xml
svn path=/trunk/mono/; revision=548
2001-08-21 23:47:10 +00:00
Miguel de Icaza 0e0f2c05ea Add Chris classes
svn path=/trunk/mono/; revision=547
2001-08-21 23:41:58 +00:00
Miguel de Icaza c7d8b7633c Add Chris to the maintainers list
svn path=/trunk/mono/; revision=546
2001-08-21 23:39:01 +00:00
Miguel de Icaza c868a9d062 Add System.Configuration classes from Chris Podurgiel
svn path=/trunk/mcs/; revision=545
2001-08-21 23:37:54 +00:00
Miguel de Icaza 4d8197f95c 2001-08-21 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::Populate): Drop RootContext from the
	argument.

	(Constructor::CallingConvention): Returns the calling convention.
	(Constructor::ParameterTypes): Returns the constructor parameter
	types.

	(TypeContainer::AddConstructor): Keep track of default constructor
	and the default static constructor.

	(Constructor::) Another class that starts using `public readonly'
	instead of properties.

	(Constructor::IsDefault): Whether this is a default constructor.

	(Field::) use readonly public fields instead of properties also.

	(TypeContainer::TypeAttr, TypeContainer::AddConstructor): Keep
	track of static constructors;  If none is used, turn on
	BeforeFieldInit in the TypeAttributes.

	* cs-parser.jay (opt_argument_list): now the return can be null
	for the cases where there are no arguments.

	(constructor_declarator): If there is no implicit `base' or
	`this', then invoke the default parent constructor.

	* modifiers.cs (MethodAttr): New static function maps a set of
	modifiers flags into a MethodAttributes enum
	(FieldAttr): renamed from `Map'.  So now we have FieldAttr,
	MethodAttr, TypeAttr to represent the various mappings where the
	modifiers are used.
	(FieldAttr): Map also `readonly' to `FieldAttributes.InitOnly'

svn path=/trunk/mcs/; revision=544
2001-08-21 23:17:19 +00:00
Bob Smith 94e5d7320c Added more notes for later use.
svn path=/trunk/mcs/; revision=543
2001-08-21 15:55:20 +00:00
Dietmar Maurer b87a157b27 replaced mono-int with mint, disable debugging mode
svn path=/trunk/mono/; revision=542
2001-08-21 13:55:45 +00:00
Dietmar Maurer 62ddcbd7f5 added mint to cvsignore
svn path=/trunk/mono/; revision=541
2001-08-21 13:49:29 +00:00
Dietmar Maurer b275833dd4 added some documentation
svn path=/trunk/mono/; revision=540
2001-08-21 13:48:09 +00:00
Paolo Molaro 52195d8136 Tue Aug 21 18:54:06 CEST 2001 Paolo Molaro <[email protected]>
* mono/tests/exceptions*: enhanced and added more tests for
	exceptions.


Tue Aug 21 18:54:58 CEST 2001 Paolo Molaro <[email protected]>

	* metadata.c: zero is not a valid alignment boundary.
	Merge MONO_TYPE_VOID in default decoding code.


Tue Aug 21 18:56:19 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: new macro INIT_FRAME() to properly
	initialize a MonoInvocation. Fixed a couple of buglets in exception code:
	increase stack pointer when pushing the exception for catch blocks,
	initialize frame->ex_handler to NULL, correctly try all the
	catch blocks (don't incorrectly fallback on filter handling).
	Added a couple more checks where we may need to throw an
	exception. Added more exception creation functions.
	Changed stackval_from_data() to take the target stackval as
	argument. Implemented a couple more opcodes.
	* interp.h: prepare stackval for value type code.

svn path=/trunk/mono/; revision=539
2001-08-21 13:13:44 +00:00
Paolo Molaro 629b052e6a Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <[email protected]>
* dis-cil.c: correctly print the label for multi-byte opcodes.

svn path=/trunk/mono/; revision=538
2001-08-21 12:52:58 +00:00
Miguel de Icaza dba26a4e11 oops, fix web site
svn path=/trunk/mono/; revision=537
2001-08-21 12:47:34 +00:00
Miguel de Icaza 8bded4344d 2001-08-21 Miguel de Icaza <[email protected]>
* Makefile.am (mint_LDADD): Renamed interpreter to mint.

svn path=/trunk/mono/; revision=536
2001-08-21 12:08:49 +00:00
Dietmar Maurer d38dd14b24 2001-08-21 Dietmar Maurer <[email protected]>
* image.h: merged MonoMetadata into MonoImage

svn path=/trunk/mono/; revision=535
2001-08-21 09:39:08 +00:00
Mike Kestner 218c01c7ee Removed duplicate class nodes I accidentally committed.
svn path=/trunk/mono/; revision=534
2001-08-21 09:00:13 +00:00
Dietmar Maurer ec61ac002c removed some unused code
svn path=/trunk/mono/; revision=533
2001-08-21 04:10:23 +00:00
Dietmar Maurer f28fe3bcc3 * class.h: cleanup of MonoArrayClass, use a MonoClass pointer to
identify the type of elements.
* interp.c (get_named_exception): use the right constructor.

svn path=/trunk/mono/; revision=532
2001-08-21 03:58:11 +00:00
Nick Drochak 479b9d7c4d 2001-08-21 Nick Drochak <[email protected]>
* class.xml : made myself maintainer of System.Diagnostics.DebuggableAttribute

svn path=/trunk/mono/; revision=531
2001-08-21 03:11:20 +00:00
Dietmar Maurer bef5110c2a added ltconfig to .cvsignore
svn path=/trunk/mono/; revision=530
2001-08-21 02:54:06 +00:00
Dietmar Maurer 726d99ab5b merged the cli and metadata directories - everything is now in metadata
svn path=/trunk/mono/; revision=529
2001-08-21 02:51:33 +00:00
Miguel de Icaza 18667dfc0d Added .cvsinogre
svn path=/trunk/mono/; revision=528
2001-08-20 23:41:53 +00:00
Miguel de Icaza 11e62b9394 2001-08-20 Miguel de Icaza <[email protected]>
* mono/Makefile.am (SUBDIRS): Remove `test' from here to allow us
	to pass make distcheck

	* mono/wrapper/Makefile.am (EXTRA_DIST): Include genwrapper.pl

	* configure.in, Makefile.am, runtime/Makefile.am (dist-hook,
	install-data-hook): Added mechanism to distribute and install the
	dll files.

svn path=/trunk/mono/; revision=527
2001-08-20 23:41:34 +00:00
Miguel de Icaza a8d6eb7e1a Unify, need to fix the whole biuld process
svn path=/trunk/mcs/; revision=526
2001-08-20 22:25:34 +00:00
Miguel de Icaza 1347f6ddb2 Add new src files
svn path=/trunk/mcs/; revision=525
2001-08-20 22:18:35 +00:00
Miguel de Icaza eaeb89ee36 Make compilation work with windows target, we do not need the 'monolib2' target
svn path=/trunk/mcs/; revision=524
2001-08-20 22:17:59 +00:00
Miguel de Icaza 6fe5a311b2 Updated the contributing section
svn path=/trunk/mono/; revision=523
2001-08-20 20:48:33 +00:00
Bob Smith 134538f13a Control.cs: More implementation.
svn path=/trunk/mcs/; revision=522
2001-08-20 20:24:35 +00:00
Miguel de Icaza e55403fded Update
svn path=/trunk/mono/; revision=521
2001-08-20 20:04:31 +00:00
Miguel de Icaza 07e948ecc5 Add contribution from Leen Toelen
svn path=/trunk/mcs/; revision=520
2001-08-20 20:02:39 +00:00
Miguel de Icaza 58ac87646c Mention the compilation service
svn path=/trunk/mono/; revision=519
2001-08-20 19:59:22 +00:00
Nick Drochak 035d611f13 2001-08-21 Nick Drochak <[email protected]>
* Implemented ConditionalAttribute.cs and DebuggableAttribute.cs
	* Forgot to cvs add them before I commited (cvs-newbie error, sorry)

svn path=/trunk/mcs/; revision=518
2001-08-20 19:26:43 +00:00
Miguel de Icaza bdba3c13a8 Add tools to the biuld process
svn path=/trunk/mcs/; revision=517
2001-08-20 17:30:51 +00:00
Miguel de Icaza 83c29547ee Add copyright information
svn path=/trunk/mcs/; revision=516
2001-08-20 17:29:19 +00:00
Miguel de Icaza 2e28ca97ee Add Serge's verifier
svn path=/trunk/mcs/; revision=515
2001-08-20 17:26:38 +00:00
Miguel de Icaza 6fa717e133 Updated contributions
svn path=/trunk/mono/; revision=514
2001-08-20 15:35:06 +00:00
Miguel de Icaza c634df75a3 Add System.Web to the make process
Flush my changes to Component.cs
Update mono.src
Fix compiler report.cs class

svn path=/trunk/mcs/; revision=513
2001-08-20 14:57:40 +00:00
Dietmar Maurer 2f4757bcb8 fixes to make it compile again
svn path=/trunk/mcs/; revision=512
2001-08-20 14:20:16 +00:00
Paolo Molaro cfd0ebeef7 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <[email protected]>
* util.c: add a space when decoding multiple flags.
	* dump.c, dump.h, main.c: decode the property map and
	methodsemantics tables. Disassemble property information
	to .property IL directives.
	* get.c: allow passing a NULL as method in dis_stringify_method ()
	if a methoddef_row is given.

Mon Aug 20 19:39:00 CEST 2001 Paolo Molaro <[email protected]>

	* blob.h: fix MONO_TYPE_TYPEDBYREF value.
	* cil-coff.h: split MonoMSDOSHeader and add size info.
	* image.c: add some consistency checks.
	* metadata.c: fix row size computation: one programmer
	error and one LAMESPEC. Handle MONO_TYPE_TYPEDBYREF.
	add explanation for the locator routine.
	Fix decoding of size in method header.

svn path=/trunk/mono/; revision=511
2001-08-20 13:46:59 +00:00
Miguel de Icaza 74efe882e5 2001-08-20 Miguel de Icaza <[email protected]>
* assembly.c 	(g_concat_dir_and_file): Use _S for string concat.

svn path=/trunk/mono/; revision=510
2001-08-20 13:37:31 +00:00
Miguel de Icaza 4364c7cdf2 Compilation fixes
svn path=/trunk/mcs/; revision=509
2001-08-20 13:31:12 +00:00
Miguel de Icaza c804653371 2001-08-20 Miguel de Icaza <[email protected]>
* assembly.c (g_concat_dir_and_file): Bring g_concat_dir_and_file
	function from gnome-libs.  This uses the right path separator
	based on the OS, and also works around a bug in some systems where
	a double slash is not allowed.
	(default_assembly_name_resolver): Use g_concat_dir_and_file
	(mono_assembly_open): ditto.

svn path=/trunk/mono/; revision=508
2001-08-20 13:26:33 +00:00
Miguel de Icaza 06d27b1891 More web site updates
svn path=/trunk/mono/; revision=507
2001-08-20 13:26:07 +00:00
Paolo Molaro f5e5dd46bc Mon Aug 20 18:58:36 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: fix buglet with the leave.s opcode.

svn path=/trunk/mono/; revision=506
2001-08-20 13:00:33 +00:00
Nick Drochak 77567f5ddd 2001-08-21 Nick Drochak <[email protected]>
* Added DebuggableAttribute.cs and ConditionalAttribute.cs to compile list

svn path=/trunk/mcs/; revision=505
2001-08-20 12:02:44 +00:00
Nick Drochak f201bea041 2001-08-21 Nick Drochak <[email protected]>
* Component.cs: Eliminated compile errors by removing redundant fields and
        using the ISite member instead.  Also raised the Disposed event, but not
        sure if it's correct now.  Look for FIXME in the comments.

svn path=/trunk/mcs/; revision=504
2001-08-20 11:32:49 +00:00
Dietmar Maurer 6bf6ad75d1 2001-08-20 Dietmar Maurer <[email protected]>
* object.c (mono_new_string): impl.

	* loader.c (mono_init): impl.

	* object.c (mono_new_utf16_string): impl.

svn path=/trunk/mono/; revision=503
2001-08-20 10:10:04 +00:00
Dietmar Maurer 00938302f3 2001-08-20 Dietmar Maurer <[email protected]>
* mono/tests/stream.cs: new tests for the Stream class

        * configure.in: I really need LIBTOOL for libmonowrapper.so, so I
        added it again.

        * class.h: replaced 'struct MonoMethod' with 'MonoMethod'

        * cli.h: removed #include <mono/cli/object.h>

        * icall.c: changed everything to support the new calling convention

        * hacks.h: added some macros for FreeBSD

        * interp.c (get_named_exception): use mono_object_new instead of
        newobj, initialize the stack before we call the constructor.

        * metadata.c (mono_metadata_signature_equal): impl.

        * *: void is now a realy MonoType (instead of using NULL)

        * metadata.c (do_mono_metadata_parse_type): use
        mono_metadata_parse_type to parse void value.

svn path=/trunk/mono/; revision=502
2001-08-20 08:52:40 +00:00
Dietmar Maurer a9cb3de8c9 added UnixWrapper, FileStream and Stream Class + various fixes
svn path=/trunk/mcs/; revision=501
2001-08-20 08:14:36 +00:00
Sergey Chaban 9d380f37af DES classes update.
svn path=/trunk/mcs/; revision=500
2001-08-20 08:02:20 +00:00
Sergey Chaban 265702cfc0 Added PKCS-5 padding.
svn path=/trunk/mcs/; revision=499
2001-08-20 08:00:13 +00:00
Sergey Chaban 12d2fc51c5 Encryption core is approximately 30% faster than previous version.
svn path=/trunk/mcs/; revision=498
2001-08-20 07:58:31 +00:00
Miguel de Icaza f16d84213a Update class.xml
svn path=/trunk/mono/; revision=497
2001-08-19 23:06:15 +00:00
Miguel de Icaza 2e36329273 2001-08-19 Miguel de Icaza <[email protected]>
* parameter.cs (GetParameterInfo): Fix bug where there would be no
	method arguments.

	* interface.cs (PopulateIndexer): Implemented the code generator

svn path=/trunk/mcs/; revision=496
2001-08-19 22:59:53 +00:00
Miguel de Icaza 469ec11c7b Add more tests for the compiler
svn path=/trunk/mcs/; revision=495
2001-08-19 22:59:25 +00:00
Miguel de Icaza 8879961456 Add a couple of attributes -miguel
svn path=/trunk/mcs/; revision=494
2001-08-19 22:59:11 +00:00
Paolo Molaro 607997cab6 Sat Aug 18 12:40:32 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h: fix a couple of buglets and add x86_regp_emit().

Sat Aug 18 12:42:26 CEST 2001 Paolo Molaro <[email protected]>

	* class.c, class.h: load also the methods when loading a class.

Sat Aug 18 12:43:38 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c, interp.h: added support code to create exceptions.
	Changed interncal calling convnetion over to MonoInvocation, to support
	exceptions, walking the stack back and forward and passing the 'this'
	pointer separately (remove the cludges required before to pass this on the
	stack). Use alloca heavily for both local vars and a copy of the incoming
	arguments. Init local vars to zero.
	Simplify stackval_from_data() and stackval_to_data() to only take a pointer
	instead of pointer + offset.
	Implement a few exceptions-related opcodes and the code to run finally, fault and
	catch blocks as well as a stack trace if no handler is found.

Sat Aug 18 12:51:28 CEST 2001 Paolo Molaro <[email protected]>

	* metadata.c, metadata.h: in the signature and method header store
	only the space required for holding the loca vars and incoming arguments.

svn path=/trunk/mono/; revision=493
2001-08-18 06:55:29 +00:00
Paolo Molaro ea934d2234 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <[email protected]>
* dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
	gets an optional methodef_row index instead of a name, so it
	can figure out also the names and attributes of params.
	parse_method_signature() and free_method_signature() removed as
	they are useless now.

svn path=/trunk/mono/; revision=492
2001-08-18 05:38:22 +00:00
Mike Kestner b95a8a8c90 Mark the implementation status as complete for Point, PointF, Size, and SizeF
in System.Drawing.

svn path=/trunk/mono/; revision=491
2001-08-17 17:27:06 +00:00
Mike Kestner bd02735dae Added the PointF, Size, and SizeF structures to System.Drawing.
svn path=/trunk/mcs/; revision=490
2001-08-17 17:19:15 +00:00
Bob Smith b043d30366 Took ownership of System.Web.UI.Control
svn path=/trunk/mono/; revision=489
2001-08-17 15:36:22 +00:00
Bob Smith d2688d7fc5 Started work on System.Web.UI.Control
svn path=/trunk/mcs/; revision=488
2001-08-17 15:30:43 +00:00
Miguel de Icaza 11d450f1e0 2001-08-17 Miguel de Icaza <[email protected]>
* interface.cs (InterfaceMemberBase): Now we track the new status
	here.

	(PopulateProperty): Implement property population.  Woohoo!  Got
	Methods and Properties going today.

	Removed all the properties for interfaces, and replaced them with
	`public readonly' fields.

svn path=/trunk/mcs/; revision=487
2001-08-17 04:06:44 +00:00
Alex Graveley 4cfb23b911 Add fficonfig.h
svn path=/trunk/mono/; revision=486
2001-08-16 20:10:17 +00:00
Alex Graveley 9bf5b00931 2001-08-16 Alex Graveley <[email protected]>
* configure.in: Replace AM_PROG_LIBTOOL with AC_PROG_RANLIB. This
	removes libtool dependency on all of Mono.

svn path=/trunk/mono/; revision=485
2001-08-16 20:09:33 +00:00
Alex Graveley 04453aac7f Add .cvsignore files
svn path=/trunk/mono/; revision=484
2001-08-16 18:40:40 +00:00
Alex Graveley b31adbaf59 2001-08-16 Alex Graveley <[email protected]>
* libffi/include/fficonfig.h: Remove as this is auto generated.

	* Makefile.am: Only generate libffi.a.

	* configure.in: replace A[CM]_PROG_LIBTOOL with AC_PROG_RANLIB.

2001-08-16  Alex Graveley  <[email protected]>

	* Makefile.am (mono_int_LDADD): Link with ../../libffi/libffi.a
	instead of ../../libffi/.libs/libffi.a.

svn path=/trunk/mono/; revision=483
2001-08-16 18:20:02 +00:00
Bob Smith 756e79f366 Bug fixes.
svn path=/trunk/mcs/; revision=482
2001-08-16 14:39:49 +00:00
Miguel de Icaza 5c19abc1c6 Update errors listing
svn path=/trunk/mcs/; revision=481
2001-08-16 13:57:05 +00:00
Nick Drochak 98b88b5cc5 2001-08-16 Nick Drochak <[email protected]>
* Added myself as maintainer of System.Attribute which is 95% done.

	* Made myself maintainer of System.ConditionalAttribute

svn path=/trunk/mono/; revision=480
2001-08-16 13:22:36 +00:00
Nick Drochak 10444ba7ba 2001-08-16 Nick Drochak <[email protected]>
* Attribute.cs: implemented all methods except GetHashCode()

	* common.src: added Attribute.cs so it would compile in

svn path=/trunk/mcs/; revision=479
2001-08-16 13:20:02 +00:00
Mike Kestner bf8172a6c0 Add the System.Drawing.Point struct implementation a fix a buglet in the
System.Drawing makefile.

svn path=/trunk/mcs/; revision=478
2001-08-16 12:42:08 +00:00
Miguel de Icaza beeee0059e More work
svn path=/trunk/mcs/; revision=477
2001-08-15 19:56:19 +00:00
Jim Richardson fa145bef84 Added stubbed implementations for classes.
svn path=/trunk/mcs/; revision=476
2001-08-14 02:30:47 +00:00
Jim Richardson a6ea9689dc Moved PlatformID enum from OperatingSystem.cs to PlatformID.cs
svn path=/trunk/mcs/; revision=475
2001-08-14 02:28:00 +00:00
Jim Richardson 6544d50ab1 Updated status of System.IO.Path. Entered System.IO.Directory and assigned
maintainer as myself as Path and Directory are quite complimentary.

svn path=/trunk/mono/; revision=474
2001-08-13 23:38:59 +00:00
Jim Richardson cb23450a88 Corrected a couple of minor typos.
svn path=/trunk/mcs/; revision=473
2001-08-13 23:28:30 +00:00
Bob Smith 0cf1dc9018 Compile fixes.
svn path=/trunk/mcs/; revision=472
2001-08-13 14:33:01 +00:00
Marcin Szczepanski e8302e6cfd Updated for System.IO.Path + updated Jim Richardson's email address to his
preferred one.

svn path=/trunk/mono/; revision=471
2001-08-13 05:13:50 +00:00
Marcin Szczepanski ee466ce369 System.IO.Path implementation from Jim Richardson
svn path=/trunk/mcs/; revision=470
2001-08-13 05:09:03 +00:00
Miguel de Icaza 00545ed9d2 2001-08-11 Miguel de Icaza <[email protected]>
* class.cs (MakeConstant): Code to define constants.

	* rootcontext.cs (LookupType): New function.  Used to locate types

svn path=/trunk/mcs/; revision=469
2001-08-13 01:40:19 +00:00
Miguel de Icaza b03eee1c99 Updated
svn path=/trunk/mono/; revision=468
2001-08-12 20:15:38 +00:00
Miguel de Icaza 83a5933975 Added Stub implementations of Environment and OperatingSystem from Jim Richardson
svn path=/trunk/mcs/; revision=467
2001-08-12 20:09:53 +00:00
Derek Holden 43f5873521 initial checkin
svn path=/trunk/mcs/; revision=466
2001-08-12 16:32:12 +00:00
Mike Kestner e7524be356 2001-08-10 Mike Kestner <[email protected]>
* mono/status/class.xml : Added System.Drawing structs.

svn path=/trunk/mono/; revision=465
2001-08-10 23:32:38 +00:00
Bob Smith ba55af6fc1 Notes added.
svn path=/trunk/mcs/; revision=464
2001-08-10 20:45:21 +00:00
Dietmar Maurer a8e168b8ef * object.c (mono_object_clone): impl.
* interp.c (ves_exec_method): impl CASTCLASS

* implemented System.Object::MemberwiseClone

svn path=/trunk/mono/; revision=463
2001-08-10 09:08:14 +00:00
Dietmar Maurer 46b1d4a334 *** empty log message ***
svn path=/trunk/mcs/; revision=462
2001-08-10 08:32:01 +00:00
Dietmar Maurer b02148f4ac * Object.cs: changed MemberWiseClone to MemberwiseClone, and
marked it as InternalCall

svn path=/trunk/mcs/; revision=461
2001-08-10 08:30:33 +00:00
Dietmar Maurer d67614986b 2001-08-10 Dietmar Maurer <[email protected]>
* Object.cs: changed MemberWiseClone to MemberwiseClone

svn path=/trunk/mcs/; revision=460
2001-08-10 08:28:33 +00:00
Dietmar Maurer a02f49ec02 2001-08-10 Dietmar Maurer <[email protected]>
* icall.c: moved the internal call stuff to this file

svn path=/trunk/mono/; revision=459
2001-08-10 08:24:23 +00:00
Dietmar Maurer 5112ab77f7 2001-08-10 Dietmar Maurer <[email protected]>
* common.src: removed UriFormatException.cs because the file is
	not there.

	* RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
	* Char.cs: replaced byte with char

	* Array.cs: make it work with the mono interpreter

svn path=/trunk/mcs/; revision=458
2001-08-10 07:03:40 +00:00
Dietmar Maurer a1dc393e45 *** empty log message ***
svn path=/trunk/mono/; revision=457
2001-08-10 05:25:17 +00:00
Dietmar Maurer 2d1589a995 2001-08-10 Dietmar Maurer <[email protected]>
* interp.c (ves_exec_method): impl. BOX/UNBOX
	(ves_icall_System_Array_GetValue): impl.
	(ves_icall_System_Array_SetValue): impl.

	* mono/tests/array.cs: more array tests

svn path=/trunk/mono/; revision=456
2001-08-10 05:24:01 +00:00
Miguel de Icaza c1753262d5 Added new version of TimeSpan from Duco Fijma
svn path=/trunk/mcs/; revision=455
2001-08-10 00:07:02 +00:00
Miguel de Icaza 1a1cef73cd More documentation updates
svn path=/trunk/mono/; revision=454
2001-08-09 23:59:21 +00:00
Miguel de Icaza 934a7e1fb0 Doc Update, Version update
svn path=/trunk/mcs/; revision=453
2001-08-09 19:03:51 +00:00
Dietmar Maurer db2912b8f4 2001-08-09 Dietmar Maurer <[email protected]>
* implemented arrays, but you will need a modified version of
	Array.cs to get arrays working (will commit soon)

	* interp.c (ves_icall_array_Set): impl.
	(ves_icall_array_Get): impl.
	(ves_icall_array_ctor): impl.
	(ves_icall_System_Array_GetRank): impl.
	(ves_icall_System_Array_GetLength): impl.
	(ves_icall_System_Array_GetLowerBound): impl.
	(mono_lookup_internal_call): impl.

	* object.c (mono_new_szarray): impl.

	* loader.c (mono_typedef_from_name): return the token, not the index
	(mono_get_corlib): impl.
	(mono_get_array_class_info): impl.
	(method_from_memberref): add array support
	(mono_get_method): support INTERNAL_CALL

	* class.c (mono_class_create_from_typedef): Array support,
	code cleanup, store the token_type, not the token index, added
	flag for value types.
	(mono_type_to_tydedef): impl.
	(mono_class_create_from_typespec): impl.
	(mono_array_class_get): impl.
	(mono_class_get): support TYPE_SPEC token.

svn path=/trunk/mono/; revision=452
2001-08-09 18:06:41 +00:00
Bob Smith 77e1380c49 Class.xml update
svn path=/trunk/mono/; revision=451
2001-08-09 17:23:52 +00:00
Bob Smith abcb02c77b System.Web: New Implementations.
svn path=/trunk/mcs/; revision=450
2001-08-09 17:08:56 +00:00
Sergey Chaban 72e9c582ab Update (Base64/DES stuff).
svn path=/trunk/mcs/; revision=449
2001-08-09 14:13:08 +00:00
Sergey Chaban d653162562 Base64Table now supports both encoding and decoding tables.
svn path=/trunk/mcs/; revision=448
2001-08-09 14:10:56 +00:00
Sergey Chaban ce0d4534ee Initial check-in.
svn path=/trunk/mcs/; revision=447
2001-08-09 14:07:31 +00:00
Sergey Chaban e14e65df25 Initial check-in.
svn path=/trunk/mcs/; revision=446
2001-08-09 13:56:48 +00:00
Nick Drochak f7ac0c141d 2001-08-09 Nick Drochak <[email protected]>
* class/makefile & mcs/makefile:
	  change hardcoded path to csc.exe to use SYSTEMROOT

svn path=/trunk/mcs/; revision=445
2001-08-09 13:30:04 +00:00
Bob Smith 48a76a09b5 RandomTest.cs: Better testing.
svn path=/trunk/mcs/; revision=444
2001-08-08 20:11:15 +00:00
Bob Smith d953404a7c RandomTest.cs: Sync with new Random.cs.
svn path=/trunk/mcs/; revision=443
2001-08-08 20:05:16 +00:00
Bob Smith 15fae9029b Random.cs: API sync.
svn path=/trunk/mcs/; revision=442
2001-08-08 20:03:00 +00:00
Paolo Molaro 6aa31876e3 Fixed x86_mov_reg_imm().
svn path=/trunk/mono/; revision=441
2001-08-08 17:21:29 +00:00
Miguel de Icaza 94b2ec9aaa Update copyright
svn path=/trunk/mono/; revision=440
2001-08-08 16:48:32 +00:00
Bob Smith f67f87d3d9 More RandomTest.cs compile fixes.
svn path=/trunk/mcs/; revision=439
2001-08-08 16:07:45 +00:00
Bob Smith c359c05efc Another Random.cs compile fix.
svn path=/trunk/mcs/; revision=438
2001-08-08 16:04:31 +00:00
Bob Smith abbc53df24 RandomTest.cs compile fixes.
svn path=/trunk/mcs/; revision=437
2001-08-08 15:36:23 +00:00
Bob Smith b8f1f68afd Random.cs compile fixes.
svn path=/trunk/mcs/; revision=436
2001-08-08 15:26:24 +00:00
Paolo Molaro 851a800d67 Wed Aug 8 15:30:05 CEST 2001 Paolo Molaro <[email protected]>
* x86/x86-codegen.h, x86/test.c: added x86 code emitter with
	test.

svn path=/trunk/mono/; revision=435
2001-08-08 13:32:23 +00:00
Miguel de Icaza 37a738ae84 Updated introduction
svn path=/trunk/mono/; revision=434
2001-08-08 08:23:30 +00:00
Miguel de Icaza af5e6538dc 2001-08-08 Miguel de Icaza <[email protected]>
* rootcontext.cs: OH MY!  My trick works!   It is amazing how nice
	this System.Reflection code is.  Kudos to Microsoft

	* typemanager.cs: Implement a type cache and avoid loading all
	types at boot time.  Wrap in LookupType the internals.  This made
	the compiler so much faster.  Wow.  I rule!

	* driver.cs: Make sure we always load mscorlib first (for
	debugging purposes, nothing really important).

	* Renamespaced things that were on `CSC' to `CIR'.  Maybe I should
	have moved to `CSC' rather than `CIR'.  Oh man!  The confussion!

	* rootcontext.cs: Lookup types on their namespace;  Lookup types
	on namespaces that have been imported using the `using' keyword.

svn path=/trunk/mcs/; revision=433
2001-08-08 08:15:23 +00:00
Miguel de Icaza 1ee8bca867 Add missing enumerations UriPartial and UriHostNameType
svn path=/trunk/mcs/; revision=432
2001-08-08 07:09:46 +00:00
Miguel de Icaza 720c9e4100 Moved Uri.cs and UriFormatException to System assembly
svn path=/trunk/mcs/; revision=431
2001-08-08 07:04:06 +00:00
Miguel de Icaza ccce5baefb Fix Makefile
svn path=/trunk/mcs/; revision=430
2001-08-08 06:13:53 +00:00
Miguel de Icaza 864e85dae7 2001-08-08 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer::TypeAttr): Virtualize.
	(Class::TypeAttr): Return attributes suitable for this bad boy.
	(Struct::TypeAttr): ditto.
	Handle nested classes.
	(TypeContainer::) Remove all the type visiting code, it is now
	replaced with the rootcontext.cs code

	* rootcontext.cs (GetClassBases): Added support for structs.

svn path=/trunk/mcs/; revision=429
2001-08-08 06:04:25 +00:00
Nick Drochak 1d5a3786f1 2001-08-08 Nick Drochak <[email protected]>
* Updated status of CollectionBase and ReadOnlyCollectionBase

svn path=/trunk/mono/; revision=428
2001-08-07 17:17:27 +00:00
Nick Drochak 798ee7d352 2001-08-08 Nick Drochak <[email protected]>
* Changed my email address from work to personal one

svn path=/trunk/mono/; revision=427
2001-08-07 17:01:14 +00:00
Nick Drochak 8139457d4e 2001-08-08 Nick Drochak <[email protected]>
* ReadOnlyCollectionBase.cs: Initialized private member.
         * CollectionBase.cs: Initialized private member.
	 * common.src : Added ReadOnlyCollectionBase.cs and CollectionBase.cs
	 * /mcs/class/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
	 * /mcs/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt

svn path=/trunk/mcs/; revision=426
2001-08-07 16:59:34 +00:00
Nick Drochak 1192da80ac 2001-08-08 Nick Drochak <[email protected]>
* CollectionBase.cs: Add
         * ReadOnlyCollectionBase.cs: Add
         * CollectionBaseTest.cs: Add
         * ReadOnlyCollectionBaseTest.cs: Add

svn path=/trunk/mcs/; revision=425
2001-08-07 16:09:37 +00:00
Nick Drochak 76a9d42012 2001-08-08 Nick Drochak <[email protected]>
* CollectionBase.cs: Add
         * ReadOnlyCollectionBase.cs: Add
         * CollectionBaseTest.cs: Add
         * ReadOnlyCollectionBaseTest.cs: Add


--------------------------------------------------------------------

svn path=/trunk/mcs/; revision=424
2001-08-07 16:04:06 +00:00
Miguel de Icaza 70f5d8e095 Update docs
svn path=/trunk/mono/; revision=423
2001-08-07 01:40:26 +00:00
Miguel de Icaza 825f207690 Added a few more objects.
svn path=/trunk/mcs/; revision=422
2001-08-07 01:27:15 +00:00
Miguel de Icaza c42aade8ed Update
svn path=/trunk/mono/; revision=421
2001-08-07 01:24:51 +00:00
Miguel de Icaza 456ac53ebb 2001-08-06 Miguel de Icaza <[email protected]>
* interface.cs, statement.cs, class.cs, parameter.cs,
	rootcontext.cs, gen-treedump.cs, enum.cs, cs-parse.jay:
	Drop use of TypeRefs, and use strings instead.

svn path=/trunk/mcs/; revision=420
2001-08-07 00:51:56 +00:00
Miguel de Icaza aed8a46541 2001-08-06 Miguel de Icaza <[email protected]>
* IntPtr.cs: Added and Completed implementation.

svn path=/trunk/mcs/; revision=419
2001-08-07 00:11:48 +00:00
Bob Smith 45e3209277 Updated class.xml
svn path=/trunk/mono/; revision=418
2001-08-06 18:28:48 +00:00
Bob Smith 70ec919985 Added System.Random NUnit test.
svn path=/trunk/mcs/; revision=417
2001-08-06 18:24:35 +00:00
Miguel de Icaza 2231eaa247 Update on the FAQ
svn path=/trunk/mono/; revision=416
2001-08-06 17:58:24 +00:00
Miguel de Icaza d2bc65903b 2001-08-06 Miguel de Icaza <[email protected]>
* IntPtr.cs: Added.

	* Uri.cs: Add a note.

svn path=/trunk/mcs/; revision=415
2001-08-06 17:56:13 +00:00
Bob Smith 27bd9c4170 Random.cs compile fix.
svn path=/trunk/mcs/; revision=414
2001-08-06 17:13:47 +00:00
Dietmar Maurer edeb781a88 pinvoke bug fix
svn path=/trunk/mono/; revision=413
2001-08-06 13:26:40 +00:00
Dietmar Maurer 89ab22e255 2001-08-06 Dietmar Maurer <[email protected]>
* interp.c (mono_lookup_internal_call): impl.
	(ves_exec_method): implemented internal calls
	* cli.h: renamed MonoMethodManaged to MonoMethodNormal

	* loader.h: removed.

	* object.h: added MonoArrayObject and MonoStringObject

svn path=/trunk/mono/; revision=412
2001-08-06 13:16:52 +00:00
Garrett Rooney ad1df20a0c Add Uri.cs to common
svn path=/trunk/mcs/; revision=411
2001-08-06 13:00:47 +00:00
Garrett Rooney 4cb20d0f94 Oops, axe some debugging code that slipped in.
svn path=/trunk/mcs/; revision=410
2001-08-06 12:53:38 +00:00
Garrett Rooney 8fcbefdc81 Bring info on my classes up to date.
svn path=/trunk/mono/; revision=409
2001-08-06 12:51:40 +00:00
Garrett Rooney af58434ba6 2001-08-06 Garrett Rooney <[email protected]>
* Uri.cs: Initial Implementation.  Parsing needs to be fixed to take
	into account IPv6 addresses, url encoding needs to be implemented, and
	various minor methods need to be written, but this is a decent start.

svn path=/trunk/mcs/; revision=408
2001-08-06 12:48:43 +00:00
Dietmar Maurer 151094a2b3 2001-08-06 Dietmar Maurer <[email protected]>
* common.src: added Object.cs

	* mono.src: added ValueType.cs

	* Math.cs: replaced libc with libm

svn path=/trunk/mcs/; revision=407
2001-08-06 10:36:16 +00:00
Dietmar Maurer 57d320d107 2001-08-06 Dietmar Maurer <[email protected]>
* object.h: added MonoArrayObject and MonoStringObject

	* loader.c (mono_typedef_from_name):
	s/typedef_from_name/(mono_typedef_from_name and made it public.

	* class.c (class_compute_field_layout): skip the FIELD signature
	(mono_class_create_from_typedef): bug fix: field.last was wrong
	(class_compute_field_layout): added some code to make it work for
	classes with EXPLICIT_LAYOUT but no offsets specified (I observed
	that behaviour on System.Array)

	* interp.c (ves_exec_method): impl. NEWARR
	(ves_exec_method): impl. most LDELEM/STELEM opcodes, LDLEN
	(newarr): impl.
	(mono_get_ansi_string): impl.

	* mono/tests/pinvoke.cs: we can now print strings ;-)

	* mono/tests/array.cs: new test for arrays

svn path=/trunk/mono/; revision=406
2001-08-06 09:56:57 +00:00
Miguel de Icaza 37dcf16ecb Add more test cases for the compiler, we rule!!!
svn path=/trunk/mcs/; revision=405
2001-08-05 17:08:07 +00:00
Miguel de Icaza 08e726c19d 2001-08-04 Miguel de Icaza <[email protected]>
* rootcontext.cs:

	* class.cs (Struct::Struct): set the SEALED flags after
	checking the modifiers.
	(TypeContainer::TypeAttr): new property, returns the
	TypeAttributes for a class.

	* cs-parser.jay (type_list): Oops, list production was creating a
	new list of base types.

	* rootcontext.cs (StdLib): New property.
	(GetInterfaceTypeByName): returns an interface by type name, and
	encapsulates error handling here.
	(GetInterfaces): simplified.
	(ResolveTree): Encapsulated all the tree resolution here.
	(CreateClass, GetClassBases, GetInterfaceOrClass): Create class
	types.

	* driver.cs: Add support for --nostdlib, to avoid loading the
	default assemblies.
	(Main): Do not put tree resolution here.

	* rootcontext.cs: Beginning of the class resolution.

svn path=/trunk/mcs/; revision=404
2001-08-05 17:06:56 +00:00
Paolo Molaro 31e67dbbe3 Sat Aug 4 12:46:02 CEST 2001 Paolo Molaro <[email protected]>
* metadata.h, metadata.c: add mono_metadata_decode_row_col () to
	decode a single column from a row in a metadata table and changes
	to take advantage of it in the typedef locator (gives a nice speed up).
	Store offset info for function params.


Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <[email protected]>

	* get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
	More magic constants replaced by enum values (spotted at least 3 real bugs
	doing this). Print usage information if an unknown option is given.
	Print the full signature when dumping the method table.
	Changed method and field table dumps to show the typedef name the field
	or method belongs to.

svn path=/trunk/mono/; revision=403
2001-08-04 13:32:08 +00:00
Miguel de Icaza ff28f75cc7 Add EventHandlerList.cs
svn path=/trunk/mcs/; revision=402
2001-08-04 04:06:53 +00:00
Miguel de Icaza 69b9fdb22a 2001-08-04 Miguel de Icaza <[email protected]>
* rootcontext.cs: Beginning of the class resolution.

svn path=/trunk/mcs/; revision=401
2001-08-04 04:05:59 +00:00
Miguel de Icaza c4e0e0a69a More contributors
svn path=/trunk/mono/; revision=400
2001-08-04 04:01:04 +00:00
Miguel de Icaza 61fcd0dabb 2001-08-03 Miguel de Icaza <[email protected]>
* cs-parser.jay (interface_base): set our $$ to be interfaces.

svn path=/trunk/mcs/; revision=399
2001-08-04 01:39:12 +00:00
Miguel de Icaza 2619944732 Added VisualStudio files
svn path=/trunk/mcs/; revision=398
2001-08-04 01:28:46 +00:00
Miguel de Icaza 64f74a749b Added tests for compiler
svn path=/trunk/mcs/; revision=397
2001-08-04 01:15:00 +00:00
Miguel de Icaza 27ddde64e5 2001-08-03 Miguel de Icaza <[email protected]>
* rootcontext.cs (CreateInterface): Handle the case where there
	are no parent interfaces.

svn path=/trunk/mcs/; revision=396
2001-08-04 01:02:08 +00:00
Miguel de Icaza ee782bf506 2001-08-03 Miguel de Icaza <[email protected]>
* rootcontext.cs (CloseTypes): Routine to flush types at the end.
	(CreateInterface): Track types.
	(GetInterfaces): Returns an array of Types from the list of
	defined interfaces.

	* typemanager.c (AddUserType): Mechanism to track user types (puts
	the type on the global type hash, and allows us to close it at the
	end).

svn path=/trunk/mcs/; revision=395
2001-08-04 00:44:58 +00:00
Miguel de Icaza fa62c464f4 Flush
svn path=/trunk/mcs/; revision=394
2001-08-04 00:23:10 +00:00
Miguel de Icaza ed5023f76b Add information on daily snapshots
svn path=/trunk/mono/; revision=393
2001-08-03 20:05:12 +00:00
Paolo Molaro 3ddb0dbeb2 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <[email protected]>
* get.c (get_method): fix use of unitialized variable and
	remove magic constants all over the place.

svn path=/trunk/mono/; revision=392
2001-08-03 16:54:12 +00:00
Dietmar Maurer 055c070440 removed a typo
svn path=/trunk/mono/; revision=391
2001-08-03 05:38:15 +00:00
Bob Smith b8257ee75f Implemented the System.Random class. I dont have a C# compiler, so someone will need to test it when (s)he has time.
svn path=/trunk/mcs/; revision=390
2001-08-02 23:04:31 +00:00
Miguel de Icaza ac653e22ed *** empty log message ***
svn path=/trunk/mcs/; revision=389
2001-08-02 22:11:17 +00:00
Miguel de Icaza 316b3938fb Update classes
svn path=/trunk/mono/; revision=388
2001-08-02 21:58:01 +00:00
Miguel de Icaza b691f286c7 2001-08-02 Miguel de Icaza <[email protected]>
* Container.cs, Component.cs, IContainer.cs, IComponent.cs,
	ComponentCollection.cs, ISite.cs: New classes

2001-08-02  Miguel de Icaza  <[email protected]>

	* IServiceProvider.cs, EventHandler.cs: New files.

svn path=/trunk/mcs/; revision=387
2001-08-02 21:57:41 +00:00
Alex Graveley 686c0d0681 Update
svn path=/trunk/mono/; revision=386
2001-08-02 19:37:15 +00:00
Alex Graveley ab1d77939e Update
svn path=/trunk/mono/; revision=385
2001-08-02 19:36:48 +00:00
Alex Graveley 6ff1b314c0 Add forgotten libffi headers.
svn path=/trunk/mono/; revision=384
2001-08-02 19:33:38 +00:00
Alex Graveley 44162175c8 2001-08-02 Alex Graveley <[email protected]>
* libffi/*: Import libffi CVS version, with minor changes to make it
          compile.

        * mono/interpreter/Makefile.am: Link against
          ../../libffi/.libs/libffi.a.

        * Makefile.am: Add libffi

        * autogen.sh: Replace with adapted gnome autogen.sh

        * configure.in: Add AC_CONFIG_SUBDIRS(libffi).

svn path=/trunk/mono/; revision=383
2001-08-02 19:31:56 +00:00
Marcel Narings 6c99809873 2001-08-02 Marcel Narings <[email protected]>
* DateTime.cs: Cleaned up a bit. Added the Add* family members.
        Added exceptions. Added IConvertible. Still needs some platform
        dependend stuff, the Parse and ToString members

svn path=/trunk/mcs/; revision=382
2001-08-02 19:14:40 +00:00
Miguel de Icaza b690b5bb2f 2001-08-02 Miguel de Icaza <[email protected]>
* tree.cs: Removed RecordType, added RecordClass, RecordStruct and
	RecordInterface instead.

	* cs-parser.jay: Updated to reflect changes above.

	* decl.cs (Definition): Keep track of the TypeBuilder type that
	represents this type here.  Not sure we will use it in the long
	run, but wont hurt for now.

	* driver.cs: Smaller changes to accomodate the new code.

	Call ResolveInterfaceBases, Call ResolveClassBases, Save assembly
	when done.

	* rootcontext.cs (CreateInterface):  New method, used to create
	the System.TypeBuilder type for interfaces.
	(ResolveInterfaces): new entry point to resolve the interface
	hierarchy.
	(CodeGen): Property, used to keep track of the code generator.

svn path=/trunk/mcs/; revision=381
2001-08-02 14:19:45 +00:00
Dietmar Maurer d6111f3c10 2001-08-02 Dietmar Maurer <[email protected]>
* interp.c (ves_exec_method): found a way to do unordered
	compares, implemented CEE_BNE_UN_S, CEE_BGE_UN_S, CEE_BGT_UN_S,
	CEE_BLE_UN_S, CEE_BLT_UN_S
	* loader.c(mono_map_dll): impl.
	(mono_get_method): bug fix: pass index - 1 to fill_pinvoke_info
        * mono/tests/pinvoke.cs: impl.

svn path=/trunk/mono/; revision=380
2001-08-02 11:28:08 +00:00
Dietmar Maurer 4ce63bc801 * loader.c (mono_get_string_class_info): do a strcmp to check
if it is System.String instead of using magic numbers.
	* class.c (mono_class_create_from_typedef): do a strcmp to check
	if it is System.Object instead of using magic numbers.
	* image.h (MONO_IMAGE_IS_CORLIB): removed

svn path=/trunk/mono/; revision=379
2001-08-02 06:46:33 +00:00
Miguel de Icaza a1670be543 Update menus
svn path=/trunk/mono/; revision=378
2001-08-02 02:17:37 +00:00
Miguel de Icaza 2d59fbc933 More web page updates + more class updates
svn path=/trunk/mono/; revision=377
2001-08-02 02:17:08 +00:00
Miguel de Icaza 2a091f407b Include ToBase64 in compile
svn path=/trunk/mcs/; revision=376
2001-08-02 02:04:49 +00:00
Miguel de Icaza aea66710df Added ToBase64TransformTest from Sergey
svn path=/trunk/mcs/; revision=375
2001-08-02 01:55:45 +00:00
Miguel de Icaza a4e78886e1 More FAQ updates; Updated class status
svn path=/trunk/mono/; revision=374
2001-08-01 23:44:33 +00:00
Miguel de Icaza 41038acb57 Add ChangeLog
svn path=/trunk/mcs/; revision=373
2001-08-01 23:07:32 +00:00
Miguel de Icaza 245459fe01 Add missing files
svn path=/trunk/mcs/; revision=372
2001-08-01 23:05:44 +00:00
Miguel de Icaza baa39453fc Matthew Ford's initial implementation and test classes for
System.Security.Cryptography.

svn path=/trunk/mcs/; revision=371
2001-08-01 23:05:07 +00:00
Miguel de Icaza 30577d2746 Update documentation; FAQ; Download information; Status update
svn path=/trunk/mono/; revision=370
2001-08-01 23:03:50 +00:00
Paolo Molaro 1101305d69 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <[email protected]>
* dis-cil.c: properly decode the switch opcode.

Wed Aug 1 22:48:29 CEST 2001 Paolo Molaro <[email protected]>

	* class.c, class.h: mono_field_type_size () moved to metadata.
	Take correctly into account alignment when laying out
	class fields. Fix 5 to 0 magc number (to check for System.Object).


Wed Aug 1 22:54:08 CEST 2001 Paolo Molaro <[email protected]>

	* assembly.c: how could mono_assembly_close () had ever worked?
	* metadata.c, metadata.h: provide offset info for local vars.
	Implement mono_type_size () to take care of alignment as well
	as size (it was mono_field_type_size in cli/class.c before).

Wed Aug 1 22:51:38 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: handle also MONO_TYPE_CLASS to/from the stack.
	Change locals to be a memory blob, instead of the structured
	(but wrong) stackval. Implement bne.un.s opcode. Make the program
	exit with the error code from Main().

svn path=/trunk/mono/; revision=369
2001-08-01 21:01:30 +00:00
Paolo Molaro ca0c0e74b8 Missed this change from previous commit.
svn path=/trunk/mono/; revision=368
2001-08-01 20:44:53 +00:00
Paolo Molaro e7a3ce9740 Wed Aug 1 22:34:52 CEST 2001 Paolo Molaro <[email protected]>
* configure.in, mono/tests: added some tests for the interpreter.

svn path=/trunk/mono/; revision=367
2001-08-01 20:38:13 +00:00
Dietmar Maurer f7db85e696 * image.h (MONO_IMAGE_IS_CORLIB): new macro to check root image
* assembly.h (CORLIB_NAME): set to corlib.dll
	* assembly.c (mono_assembly_open): replaced strcmp() with !strcmp()
	* interp.c (ves_exec_method): implemented LDSTR
	* loader.c (mono_get_string_class_info): impl.
	(methoddef_from_memberref): added check for references into mscorlib
	* class.c (mono_class_create_from_typedef): better check for root
	object

svn path=/trunk/mono/; revision=366
2001-08-01 18:12:02 +00:00
Garrett Rooney bcc894914f 2001-07-31 Garrett Rooney <[email protected]>
* StackTest.cs: Add Test case for System.Collections.Stack.
	Contributed by Chris Hynes <[email protected]>

svn path=/trunk/mcs/; revision=365
2001-08-01 12:51:25 +00:00
Dietmar Maurer b371649eaa 2001-08-01 Dietmar Maurer <[email protected]>
* assembly.c (mono_assembly_open): set the corlib before we continue.
	(mono_assembly_open): replaced strcmp() with !strcmp()

svn path=/trunk/mono/; revision=364
2001-08-01 09:29:18 +00:00
Dietmar Maurer 19958ecf5e 2001-08-01 Dietmar Maurer <[email protected]>
* Type.cs (GetTypeFromHandle): added placeholder

svn path=/trunk/mcs/; revision=363
2001-08-01 07:13:42 +00:00
Miguel de Icaza 7fad175c3b Make Configure point people to the libffi library
svn path=/trunk/mono/; revision=362
2001-08-01 06:59:29 +00:00
Miguel de Icaza 79bac871d3 2001-07-31 Miguel de Icaza <[email protected]>
* interp.c (GET_NATI): Switched from using nati_t to cli/types.h
	m_i type.  Maybe we should rename the types to be m_i_t instead of
	m_i alone.

	Make the code compile after I broke it.

svn path=/trunk/mono/; revision=361
2001-07-31 21:54:03 +00:00
Paolo Molaro 84c89ad40a Tue Jul 31 23:46:33 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: fix cleanup.
	* Makefile.am: don't link with disassembler library.

svn path=/trunk/mono/; revision=360
2001-07-31 21:47:47 +00:00
Miguel de Icaza 70d6adbef8 Add CVS instructions and Developer FAQ
svn path=/trunk/mono/; revision=359
2001-07-31 21:13:05 +00:00
Miguel de Icaza f42bcd22d0 Update to the FAQ.
Beautified the code.

svn path=/trunk/mono/; revision=358
2001-07-31 21:12:47 +00:00
Paolo Molaro 889c389860 Tue Jul 31 20:13:59 CEST 2001 Paolo Molaro <[email protected]>
* interp.c: implement stind.*, ldind.*, ldloca.s opcodes.
	Provide better tracing with DEBUG_INTERP.

svn path=/trunk/mono/; revision=357
2001-07-31 18:26:51 +00:00
Paolo Molaro e8d4a08a24 Tue Jul 31 17:54:02 CEST 2001 Paolo Molaro <[email protected]>
* metadata.h, metadata.c, Makefile.am, private.h, assembly.c, blob.h,
	cil-coff.h, image.c, image.h, pedump.c, rawbuffer.c, rawbuffer.h, row-indexes.h,
	tokentype.h: massive namespace cleanup.

Tue Jul 31 17:52:53 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: massive namespace cleanup.

Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <[email protected]>

	* dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
	massive namespace cleanup.
	* main.c: dis_locals() now just strigifies a MonoMethodHeader.

Tue Jul 31 17:45:44 CEST 2001 Paolo Molaro <[email protected]>

	* class.c, cli.h, loader.c: massive namespace cleanup.

svn path=/trunk/mono/; revision=356
2001-07-31 16:06:17 +00:00
Dietmar Maurer de8614b8f1 *** empty log message ***
svn path=/trunk/mono/; revision=355
2001-07-31 13:42:52 +00:00
Dietmar Maurer d08d1ca18b 2001-07-31 Dietmar Maurer <[email protected]>
* cli.h: added pinvoke flags to MonoMethodPInvoke, moved method
	implementation flags to MonoMethod

svn path=/trunk/mono/; revision=354
2001-07-31 13:40:15 +00:00
Dietmar Maurer 8a8a30bebc Dietmar Maurer <[email protected]>
* main.c (pinvoke_flags): impl.

svn path=/trunk/mono/; revision=353
2001-07-31 13:13:01 +00:00
Dietmar Maurer c5a70b766b *** empty log message ***
svn path=/trunk/mono/; revision=352
2001-07-31 13:10:56 +00:00
Garrett Rooney 6da3c2a99f Ego boost commit. Add myself to AUTHORS.
svn path=/trunk/mcs/; revision=351
2001-07-31 13:05:42 +00:00
Garrett Rooney 6ab3b5b5f8 *Stack.cs: Clone() doesn't need to check if it's synchronized, since
we override it in SyncStack anyway.

*Stack.cs: Pop() now shrinks the array if we drop below 1/4 full, to
avoid using massive amounts of memory that are not necessary.  We only
drop to half the current size, which i hope will avoid the 'ping-pong'
effect.

*Stack.cs: SyncStack.IsReadOnly should return stack.IsReadOnly
instead of just returning false, since we may have a ReadOnly wrapper
in the future (although i can't imagine why).  Thanks to David
Menestrina <[email protected]> for pointing this out.

svn path=/trunk/mcs/; revision=350
2001-07-31 12:51:28 +00:00
Marcin Szczepanski 6b0503acb3 Add test cases for System.IO.Path These might need to be fleshed out
a bit to deal with more complex scenarios, but as is they cover most of
the functions to some extent.

svn path=/trunk/mcs/; revision=349
2001-07-31 07:57:51 +00:00
Miguel de Icaza ecf8515a0f Flush
svn path=/trunk/mono/; revision=348
2001-07-31 01:56:13 +00:00
Miguel de Icaza 7377cbc403 Flush
svn path=/trunk/mono/; revision=347
2001-07-31 01:53:03 +00:00
Miguel de Icaza bfc0820e28 Some details fixed, but Queue does not work
svn path=/trunk/mcs/; revision=346
2001-07-31 00:59:58 +00:00
Miguel de Icaza 6073d77a9c Add Queue class from Ricardo Fernandez
svn path=/trunk/mcs/; revision=345
2001-07-31 00:53:21 +00:00
Paolo Molaro f2fde84b45 Mon Jul 30 20:11:01 CEST 2001 Paolo Molaro <[email protected]>
* metadata.h, metadata.c: decode exception clauses when parsing method header.

Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <[email protected]>

	* dis-cil.c, dis-cil.h, main.c: changes to disassemble also
	the information about try/catch/finally blocks.

Mon Jul 30 20:05:23 CEST 2001 Paolo Molaro <[email protected]>

	* cli.h, loader.c: usa a char *name field in MonoMethod instead
	of the name_idx token.

Mon Jul 30 20:09:58 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: update to use mono_method->name.

svn path=/trunk/mono/; revision=344
2001-07-30 18:17:11 +00:00
Miguel de Icaza 637f7a9220 Mono 0.5
svn path=/trunk/mono/; revision=342
2001-07-30 00:23:41 +00:00
Miguel de Icaza 51a41340c6 Flush
svn path=/trunk/mono/; revision=341
2001-07-29 23:58:17 +00:00
Miguel de Icaza f22591bb38 Revert Tigert's change, because it breaks IE
svn path=/trunk/mono/; revision=340
2001-07-29 22:42:55 +00:00
Miguel de Icaza 31df0b838f CVS doc update + Maintainers update
svn path=/trunk/mono/; revision=339
2001-07-29 04:50:15 +00:00
Miguel de Icaza 5a8d2bbd2c Documentation update, plus cvs docs
svn path=/trunk/mono/; revision=338
2001-07-28 17:45:16 +00:00
Miguel de Icaza 52214d0f8a Flush
svn path=/trunk/mono/; revision=337
2001-07-27 22:57:52 +00:00
Paolo Molaro 7e1f2cb2d6 Fri Jul 27 20:51:47 CEST 2001 Paolo Molaro <[email protected]>
* class.h, class.c: add inited field to MonoClass.

Fri Jul 27 20:54:00 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: start implementing callvirt. Classes with
	class constructors are properly initialized when needed.
	Fix error introduced in version 1.17.

svn path=/trunk/mono/; revision=336
2001-07-27 19:05:30 +00:00
Paolo Molaro 044dc4073b D'oh, forgot to actually commit my previous changes.
Fri Jul 27 14:03:19 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: implement static field loading and storing.

Fri Jul 27 13:51:11 CEST 2001 Paolo Molaro <[email protected]>

	* class.h, class.c: add a class_size member to MonoClass. We store
	the static fields after the other class data. Offsets for static
	fields are offsets from the MonoClass pointer.
	Properly initialize class->instance_size and deal with static
	fields when layouting them.

svn path=/trunk/mono/; revision=333
2001-07-27 15:48:34 +00:00
Dietmar Maurer a1bbd38c28 *** empty log message ***
svn path=/trunk/mono/; revision=332
2001-07-27 15:17:59 +00:00
Miguel de Icaza 5d9e9cbeec TODO
svn path=/trunk/mcs/; revision=331
2001-07-27 13:56:06 +00:00
Miguel de Icaza a4b6322ed4 2001-07-26 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add a second production for delegate_declaration
	with `VOID'.

	(enum_body): Put an opt_comma here instead of putting it on
	enum_body or enum_member_declarations so we can handle trailing
	commas on enumeration members.  Gets rid of a shift/reduce.

	(type_list): Need a COMMA in the middle.

	(indexer_declaration): Tell tokenizer to recognize get/set

	* Remove old targets.

	* Re-add the parser target.

svn path=/trunk/mcs/; revision=330
2001-07-27 13:51:10 +00:00
Miguel de Icaza b82c9bc4b1 Updated
svn path=/trunk/mono/; revision=329
2001-07-27 13:50:46 +00:00
Paolo Molaro 794af1025b Fri Jul 27 11:46:09 CEST 2001 Paolo Molaro <[email protected]>
* loader.c: implemented lookup of methods in a different MonoImage
	(needed to call the Syste.Object constructor, for example). Fixed the cache
	code to only check for methods defined in the image.

Fri Jul 27 11:49:19 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: Removed some debugging printouts. Made stackval_to_data
	static. Handle also instance methods in CALL opcode. Fix ret to properly
	deal with void functions. Fixed constructor to leave the object on
	the stack.

svn path=/trunk/mono/; revision=328
2001-07-27 10:53:38 +00:00
Paolo Molaro 2afbf3642f Thu Jul 26 19:11:19 CEST 2001 Paolo Molaro <[email protected]>
* metadata.h, row_indexes.h: added header with enumerations to use
	to index in the columns from tables in metadata and to decode coded
	tokens: we should start using this instead of embedding magic numbers
	all over the code.

svn path=/trunk/mono/; revision=327
2001-07-26 17:17:40 +00:00
Paolo Molaro 8525a9e126 Thu Jul 26 15:31:01 CEST 2001 Paolo Molaro <[email protected]>
* loader.c: forgot to insert the method in the cache, not nice
	with a recursive fibonacci test case :-)

svn path=/trunk/mono/; revision=326
2001-07-26 13:32:29 +00:00
Paolo Molaro a3aba01b57 Thu Jul 26 13:03:27 CEST 2001 Paolo Molaro <[email protected]>
* assembly.c, cil-coff.h, image.c, image.h, pedump.c, typedef.c:
	Move metadata_t info from cli_image_info_t to MonoImage, where
	it's easily accessible. Changed all the uses accordingly.
	Added the method and class caches to MonoImage.
	* metadata.c, metadata.h: Changed mono_metadata_decode_blob_size ()
	and mono_metadata_decode_value () signature to be more consistent
	with the other parse functions (and simplify code). Taken advantage
	of zero-length array allocation with GCC. Removed reduntant (and
	wrong) MonoFieldType struct and use MonoParam instead. Changed
	mono_metadata_parse_field_type () to use common code for parsing.
	Added mono_metadata_typedef_from_field () and
	mono_metadata_typedef_from_method () to lookup a typedef index from a
	field or method token.
	Pack the MonoRetType structure more tightly (fits in 8 bytes now).

Thu Jul 26 13:17:22 CEST 2001 Paolo Molaro <[email protected]>

	* class.c: updates to match changes in metadata.
	Fix off by one errors. Implement creation of classes by typeref.
	Remove custom cache and use the class cache in MonoImage.
	* cli.h, loader.c: add MonoImage field to MonoMethod. Fill method cache
	in MonoImage. Updates to match changes in metadata.

Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <[email protected]>

	* dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
	Removed dead code.

Thu Jul 26 13:24:51 CEST 2001 Paolo Molaro <[email protected]>

	* interp.c: ves_exec_method () doesn't take a MonoImage arg
	anymore. Use the method cache in MonoImage. Updates to
	mache recent changes in metadata.
	Fix newobj code to use new metadata features. Call the class
	constructor after allocationg the object. Implemented load field
	and store field opcodes (the support functions need to be finished).

svn path=/trunk/mono/; revision=325
2001-07-26 11:51:50 +00:00
Miguel de Icaza 630ce00c86 does not compile yet
svn path=/trunk/mcs/; revision=324
2001-07-25 21:20:16 +00:00
Miguel de Icaza a4279f3803 Add SortedList contirbution
svn path=/trunk/mcs/; revision=323
2001-07-25 21:14:59 +00:00
Miguel de Icaza 2c94aa3c7a Add NameValueCollection contribution
svn path=/trunk/mcs/; revision=322
2001-07-25 21:09:54 +00:00
Tuomas Kuosmanen 53dcde3453 In an attempt to fix the broken-on-mozilla links that get overlapped by the
text, I changed the main links a bit, so they are now pretty orange when
you mouseover them.

Turned out the thing was a mozilla bug afterwards, though the new color
stuff looks pretty cute, so I left it in.

Doh.

Tuomas

svn path=/trunk/mono/; revision=321
2001-07-25 07:30:59 +00:00
Miguel de Icaza 99f0f65965 2001-07-24 Derek Holden <[email protected]>
* NumberStyles.cs: Added ECMA values for Allow types and default
	styles.
2001-07-24  Derek Holden  <[email protected]>

	* Boolean.cs: Formatted to code style standard. Added GetTypeCode
	which is really an IConvertible defined method.

	* Byte.cs: Added a missing Parse method. Put in Parse and ToString
	behavior, still need to do the main Parse and ToString.

	* Char.cs: Added a bunch of missing ECMA methods. Commented a
	specification discrepency. Still didn't any unicode stuff, though
	every IsFoo(char c) method has an IsFoo(string, index)
	counterpart, added wrappers for those.

	* Convert.cs: Fixed NaN/Inf checking and double/float
	rounding. Added ToType for IConvertible classes

	* Double.cs: Fixed ECMA min and max values. Added IsInfinity /
	IsNaN methods. Changed Inf/NaN internals.

	* IConvertible.cs: Added comments for using
	Convert.ToType. Changed return values to draft base values.

	* Int16.cs: Added a missing Parse statement. Put in behavior for
	overloaded ToString and Parse methods.

	* Int32.cs: Added a missing Parse statement. Put in behavior for
	overloaded ToString and Parse methods.

	* Int64.cs: Added a missing Parse statement. Put in behavior for
	overloaded ToString and Parse methods.

	* Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
	methods. Changed Inf/NaN internals.

	* SByte.cs: Added a missing Parse method. Put in Parse and
	ToString behavior, still need to do the main Parse and ToString.

	* UInt16.cs: Added a missing Parse statement. Put in behavior for
	overloaded ToString and Parse methods.

	* UInt32.cs: Added a missing Parse statement. Put in behavior for
	overloaded ToString and Parse methods.

	* UInt64.cs: Added a missing Parse statement. Put in behavior for
	overloaded ToString and Parse methods.

svn path=/trunk/mcs/; revision=320
2001-07-25 05:15:40 +00:00
Miguel de Icaza 1a95ed2365 Class
svn path=/trunk/mono/; revision=319
2001-07-24 17:34:41 +00:00
Miguel de Icaza 9129c087c9 updated classes
svn path=/trunk/mono/; revision=318
2001-07-24 17:25:32 +00:00
Paolo Molaro 9f391f06f7 missing file.
svn path=/trunk/mono/; revision=317
2001-07-24 16:07:13 +00:00
Paolo Molaro e2f5d94b4d Tue Jul 24 16:51:09 CEST 2001 Paolo Molaro <[email protected]>
* interp.c, hacks.h: moved a few ugly macros out of the code.
	Implemented switch opcode.

svn path=/trunk/mono/; revision=316
2001-07-24 16:06:38 +00:00
Miguel de Icaza 15ce719fae 2001-07-24 Miguel de Icaza <[email protected]>
* class.c (mono_class_create_from_typedef): Take into account
	parent classes for the size of a structure.

	Still not ideal, but better than before.

	For the case of the interpreter, Paolo is right, there is not much
	use for a Field Map, as the way the Fields are located is through
	a token.

	(mono_class_init): Remove, initialize automatically.

	(mono_class_get_field): new function, returns the information
	about a field given a class and its token.

2001-07-23  Miguel de Icaza  <[email protected]>

	* interp.c (newobj): Added function to handle newobj opcode.

2001-07-23  Miguel de Icaza  <[email protected]>

	* metadata.c (mono_metadata_parse_field_type): Implement.
	(do_mono_metadata_parse_type): Split engine from
	mono_metadata_parse_type, so that we can create smaller structures
	for things that just have one pointer to the MonoType (look at
	the MonoFieldType)

svn path=/trunk/mono/; revision=315
2001-07-24 06:58:04 +00:00
Miguel de Icaza f9b4f1d807 Updates
svn path=/trunk/mono/; revision=314
2001-07-24 04:56:42 +00:00
Miguel de Icaza 644ddb6663 2001-07-23 Sergey Chaban <[email protected]>
*  Hashtable.cs: Fixed bug in Clear(), the Count wasn't zeroed.
           From now, Clear() increases modification count.
           Fixed HCP bug in GetHash(object) - hcp.GetHashCode() was used
           instead of hcp.GetHashCode(key). This was resulted in the
           insanely long lookup times when HashCodeProvider was used to
           construct Hashtable. Added thread-safe wrapper.

svn path=/trunk/mcs/; revision=313
2001-07-24 04:54:27 +00:00
Miguel de Icaza 3cbb51830a 2001-07-23 Miguel de Icaza <[email protected]>
* interp.c (newobj): Added function to handle newobj opcode.

2001-07-23  Miguel de Icaza  <[email protected]>

	* object.h, object.c, class.h, class.c: Implemented the beginning
	of the object system. x

2001-07-23  Miguel de Icaza  <[email protected]>

	* metadata.c (mono_metadata_parse_field_type): Implement.
	(do_mono_metadata_parse_type): Split engine from
	mono_metadata_parse_type, so that we can create smaller structures
	for things that just have one pointer to the MonoType (look at
	the MonoFieldType)

svn path=/trunk/mono/; revision=312
2001-07-23 23:54:34 +00:00
Miguel de Icaza 1ebef995ee Reorganization
svn path=/trunk/mono/; revision=289
2001-07-23 04:30:21 +00:00
Miguel de Icaza 8c415b9652 Flushety flush
svn path=/trunk/mono/; revision=288
2001-07-22 03:59:57 +00:00
Chema Celorio 1b23214ad3 fix a typo s/gnome-config/monodis
svn path=/trunk/mono/; revision=287
2001-07-21 08:42:36 +00:00
Miguel de Icaza bf9b40d503 Flushage
svn path=/trunk/mcs/; revision=286
2001-07-21 03:50:13 +00:00
Miguel de Icaza 75800470b0 Flush
svn path=/trunk/mono/; revision=285
2001-07-21 03:43:14 +00:00
Miguel de Icaza 70a513e889 Update README
svn path=/trunk/mono/; revision=284
2001-07-21 02:00:36 +00:00
Miguel de Icaza 8dd5362cd5 More contributors
svn path=/trunk/mono/; revision=283
2001-07-20 23:41:59 +00:00
Miguel de Icaza b7feffe294 2001-07-20 Miguel de Icaza <[email protected]>
* metadata.c (mono_metadata_parse_mh): Correct the implementation,
	as Jan Gray found out, it is incorrect.

svn path=/trunk/mono/; revision=282
2001-07-20 20:27:48 +00:00
Miguel de Icaza 7c4a24533e Commit
svn path=/trunk/mcs/; revision=281
2001-07-20 19:38:02 +00:00
Miguel de Icaza d54ab5c35b More
svn path=/trunk/mono/; revision=280
2001-07-20 19:25:31 +00:00
Miguel de Icaza 86d29a8406 More
svn path=/trunk/mono/; revision=279
2001-07-20 19:23:21 +00:00
Miguel de Icaza a20f123a6d Add more classes
svn path=/trunk/mcs/; revision=278
2001-07-20 19:19:46 +00:00
Miguel de Icaza 074fa6d0ff Oopsety
svn path=/trunk/mono/; revision=277
2001-07-20 18:34:26 +00:00
Miguel de Icaza 0a99fb8a57 Wooohooo! System.Web.Cache from Patrick!
svn path=/trunk/mcs/; revision=276
2001-07-20 17:48:40 +00:00
Miguel de Icaza a4d35f7ec9 Flush
svn path=/trunk/mono/; revision=275
2001-07-20 16:16:45 +00:00
Miguel de Icaza ced4972289 PUsh
svn path=/trunk/mono/; revision=274
2001-07-20 16:16:14 +00:00
Miguel de Icaza 8030ee68e4 Just one extra bit
svn path=/trunk/mono/; revision=267
2001-07-20 06:28:35 +00:00
Miguel de Icaza 9eaf726688 Perform nested assembly loading. Use assembly loading instead of
image loading.

svn path=/trunk/mono/; revision=266
2001-07-20 06:23:55 +00:00
Tuomas Kuosmanen aab87ccda7 Added the TM to the mono logo, also moved it a bit to the left.
/tigert

svn path=/trunk/mono/; revision=265
2001-07-20 05:10:37 +00:00
Miguel de Icaza cb9e7419be Add Mono files
svn path=/trunk/mcs/; revision=264
2001-07-20 05:02:47 +00:00
Miguel de Icaza ed9ec7475a Commit new files, almost compiles with /nostdlib
svn path=/trunk/mcs/; revision=263
2001-07-20 04:54:58 +00:00
Miguel de Icaza 5db9f4c938 Got enumerations to work!
svn path=/trunk/mcs/; revision=262
2001-07-20 02:31:25 +00:00
Miguel de Icaza 4519dd4972 Enumerations from Michael Lambert
svn path=/trunk/mcs/; revision=261
2001-07-20 02:25:33 +00:00
Jeffrey Stedfast da5ea45637 2001-07-19 Jeffrey Stedfast <[email protected]>
* Char.cs: Made ToUpper and ToLower public methods.

	* String.cs: Lots and lots of compile fixes - just need to write
	DateTime.cs and this should build completely now.

svn path=/trunk/mcs/; revision=260
2001-07-20 02:17:59 +00:00
Miguel de Icaza ce407bb9e8 Flush
svn path=/trunk/mcs/; revision=259
2001-07-20 02:02:23 +00:00
Miguel de Icaza df52d0d6f9 Fixes
svn path=/trunk/mono/; revision=258
2001-07-20 01:32:46 +00:00
Miguel de Icaza eac858025b 2001-07-19 Bob Smith ([email protected])
* Math.cs: Implemented.

svn path=/trunk/mcs/; revision=257
2001-07-20 01:30:32 +00:00
Miguel de Icaza f9ef817353 flush
svn path=/trunk/mono/; revision=256
2001-07-20 01:07:03 +00:00
Miguel de Icaza 5090da62b5 *** empty log message ***
svn path=/trunk/mcs/; revision=255
2001-07-20 00:50:39 +00:00
Miguel de Icaza 08fc57666c *** empty log message ***
svn path=/trunk/mcs/; revision=254
2001-07-20 00:49:13 +00:00
Miguel de Icaza ea46dbef94 Add Byte, Char, Double, SByte, Single
svn path=/trunk/mcs/; revision=253
2001-07-20 00:37:51 +00:00
Miguel de Icaza 38fc0b7e52 Flush:
svn path=/trunk/mono/; revision=252
2001-07-19 23:46:41 +00:00
Miguel de Icaza c08e245ba4 2001-07-19 Duco Fijma ([email protected])
* TimeSpan.cs: New implementation.

svn path=/trunk/mcs/; revision=251
2001-07-19 23:46:16 +00:00
Miguel de Icaza 1dfd3f149b more classes
svn path=/trunk/mono/; revision=250
2001-07-19 23:31:14 +00:00
Miguel de Icaza 7d1ca46e56 Doc
svn path=/trunk/mono/; revision=249
2001-07-19 23:31:08 +00:00
Miguel de Icaza efb1694a28 UPdate
svn path=/trunk/mcs/; revision=248
2001-07-19 21:22:28 +00:00
Miguel de Icaza fab4b76caf UPdate
svn path=/trunk/mono/; revision=247
2001-07-19 20:54:25 +00:00
Miguel de Icaza 20e0bdccf7 Build two libraries for corlib
svn path=/trunk/mcs/; revision=246
2001-07-19 20:06:30 +00:00
Miguel de Icaza f8a7e2e43a 2001-07-19 Marcin Szczepanski <[email protected]>
* System.IO.MemoryStream.cs: Added.  Had quite a few cases of
	"LAMESPEC", but the tests work against the MS implementation so
	the major functions are right (ie. Read/Write/Seek).  Some more
	tests required for the various constructors and exceptions.

svn path=/trunk/mcs/; revision=245
2001-07-19 20:05:24 +00:00
Miguel de Icaza 44f9f53049 MemoryStream implementation from Marcin
svn path=/trunk/mcs/; revision=244
2001-07-19 20:04:24 +00:00
Miguel de Icaza 82ead61c46 Fix
svn path=/trunk/mcs/; revision=243
2001-07-19 20:02:00 +00:00
Miguel de Icaza c6315db4f2 More contributions
svn path=/trunk/mcs/; revision=242
2001-07-19 20:00:18 +00:00
Miguel de Icaza c9a179253e 2001-07-17 John Barnette <[email protected]>
* StringCollection.cs:
		Implemented and working according to spec.
	* StringIterator.cs:
		(ADDED) Implemented and working according to spec.
	* StringCollectionTest.cs:
		(ADDED) Initial revision contains 17 tests; all of 'em
		run correctly.  More complicated tests to follow.

svn path=/trunk/mcs/; revision=241
2001-07-19 19:44:01 +00:00
Miguel de Icaza 5f74e488d7 Add StrinEnumerator.cs and StringCollection.cs
svn path=/trunk/mcs/; revision=240
2001-07-19 19:43:32 +00:00
Miguel de Icaza 6c1e7d54f6 flush
svn path=/trunk/mono/; revision=239
2001-07-19 19:36:31 +00:00
Miguel de Icaza f9731130a0 More XML work
svn path=/trunk/mcs/; revision=238
2001-07-19 19:21:59 +00:00
Miguel de Icaza d1064be6fc Add cvsignore
svn path=/trunk/mcs/; revision=237
2001-07-19 19:12:32 +00:00
Miguel de Icaza ae13bcc209 Make compile
svn path=/trunk/mcs/; revision=236
2001-07-19 19:11:57 +00:00
Miguel de Icaza 1f57f2aefe Update
svn path=/trunk/mono/; revision=235
2001-07-19 18:54:11 +00:00
Miguel de Icaza 27cc06c335 Update for Sergey
svn path=/trunk/mcs/; revision=234
2001-07-19 18:48:56 +00:00
Miguel de Icaza da65ba8477 2001-07-18 Miguel de Icaza <[email protected]>
* assembly.c: Implement asssembly loading.  This loads an image
	and loads all the referenced assemblies.  Come to think of it, we
	could always do lazy loading of the assemblies.

	* image.c (mono_image_open): Keep loaded images in a hashtable.

	* image.h (MonoImage): Add reference count.

svn path=/trunk/mono/; revision=233
2001-07-19 02:06:21 +00:00
Miguel de Icaza 4e9bf00c8b *** empty log message ***
svn path=/trunk/mcs/; revision=232
2001-07-19 01:14:32 +00:00
Miguel de Icaza e565ef3cf4 Flushage
svn path=/trunk/mono/; revision=231
2001-07-19 00:51:23 +00:00
Miguel de Icaza 3370b81664 Fix
svn path=/trunk/mono/; revision=230
2001-07-19 00:50:27 +00:00
Miguel de Icaza 1890ca523a More updates
svn path=/trunk/mono/; revision=229
2001-07-19 00:41:46 +00:00
Miguel de Icaza 370d1051c9 ChangeLog
svn path=/trunk/mcs/; revision=228
2001-07-19 00:39:16 +00:00
Miguel de Icaza c006e942cd New version of BitArray
svn path=/trunk/mcs/; revision=227
2001-07-19 00:38:57 +00:00
Jeffrey Stedfast 7ba0609a3f 2001-07-17 Jeffrey Stedfast <[email protected]>
* String.cs (IndexOf): Slight optimization that allows skipping
	over a few chars here and there. This isn't as good as using my
	Boyer-Moore implementation, however, Boyer-Moore is only really
	good for long strings (I plan on making the code decide which
	string search algorithm it should use on-the-fly at some point).
	(LastIndexOf): Fix to work correctly.
	(BoyerMoore): Took out some unneeded code and fixed an edge-case.

svn path=/trunk/mcs/; revision=226
2001-07-18 20:52:10 +00:00
Miguel de Icaza cd5b27470d Update
svn path=/trunk/mono/; revision=225
2001-07-18 20:09:38 +00:00
Miguel de Icaza 5ffbfe9aff 2001-07-18 Miguel de Icaza <[email protected]>
* IDictionary.cs (Collections): IDictionary implements ICollection
	as well.  Thanks Sergey!

svn path=/trunk/mcs/; revision=224
2001-07-18 19:49:19 +00:00
Miguel de Icaza 950795ac2a 2001-07-17 David Menestrina <[email protected]>
* Added implementation of BitArray.

svn path=/trunk/mcs/; revision=223
2001-07-18 18:17:55 +00:00
Miguel de Icaza 0c8294b691 Flush
svn path=/trunk/mono/; revision=222
2001-07-18 04:35:45 +00:00
Miguel de Icaza f2a3141efd Add shared Common Language Infrastructure directory
svn path=/trunk/mono/; revision=221
2001-07-18 04:34:41 +00:00
Miguel de Icaza 1b0c8991e2 Renamed MonoAssembly to MonoImage to reflect better reality
svn path=/trunk/mono/; revision=220
2001-07-18 04:33:51 +00:00
Miguel de Icaza 74e1498136 2001-07-18 Miguel de Icaza <[email protected]>
* interp.c (ves_exec_method): Make the interpreter abort with more
	information than it currently does.

	Enable the slow processor, as it is easier to debug.

svn path=/trunk/mono/; revision=219
2001-07-18 04:32:29 +00:00
Miguel de Icaza 6ea509c10d 2001-07-17 Miguel de Icaza <[email protected]>
* metadata.h: Fixed Paolo's quick hack.  Put the documnentation
	from get.c here.

2001-07-17  Miguel de Icaza  <[email protected]>

	* main.c (usage): Print out all the arguments.

	* get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
	`get_blob_encoded_size' and replaced with the proper functions
	from metadata.c

:

svn path=/trunk/mono/; revision=218
2001-07-18 02:48:19 +00:00
Miguel de Icaza d2bbe69ce9 release 17
svn path=/trunk/mono/; revision=217
2001-07-18 00:45:44 +00:00
Miguel de Icaza 5fddaa130d Add .src files
svn path=/trunk/mcs/; revision=215
2001-07-18 00:28:32 +00:00
Miguel de Icaza a6e4a33c8d Compile
svn path=/trunk/mcs/; revision=214
2001-07-18 00:28:00 +00:00
Miguel de Icaza f1d8c30e0c Update .cvsinogre
svn path=/trunk/mono/; revision=213
2001-07-17 23:55:10 +00:00
Miguel de Icaza 6757939478 More classes contributed
svn path=/trunk/mono/; revision=212
2001-07-17 23:50:31 +00:00
Miguel de Icaza df4c7333d1 Fixes from the Linux machine
svn path=/trunk/mono/; revision=211
2001-07-17 23:49:53 +00:00
Miguel de Icaza 21032d6471 System.Configuration.Assemblies contributions
svn path=/trunk/mcs/; revision=210
2001-07-17 23:46:03 +00:00
Miguel de Icaza 732aad5b3c Add Hashtable
svn path=/trunk/mcs/; revision=209
2001-07-17 23:11:25 +00:00
Miguel de Icaza bb3b9ee4a8 Flush
svn path=/trunk/mono/; revision=208
2001-07-17 22:58:45 +00:00
Miguel de Icaza 85c1bd5a40 changes
svn path=/trunk/mono/; revision=207
2001-07-17 22:44:39 +00:00
Miguel de Icaza 29bb08eef1 2001-07-17 Miguel de Icaza <[email protected]>
* tree.cs: moved IGenerator interface and renamed it to ITreeDump
	and put it here.

	Get rid of old crufty code.

	* rootcontext.cs: Use this to keep track of the parsed
	representation and the defined types available to the program.

	* gen-treedump.cs: adjust for new convention.

	* type.cs: Split out the type manager, and the assembly builder
	from here.

	* typemanager.cs: the type manager will live here now.

svn path=/trunk/mcs/; revision=206
2001-07-17 22:36:02 +00:00
Miguel de Icaza 4307dfe19b Update
svn path=/trunk/mono/; revision=205
2001-07-17 22:16:29 +00:00
Miguel de Icaza d0816bbaf5 Flush
svn path=/trunk/mono/; revision=204
2001-07-17 22:05:04 +00:00
Sean MacIsaac 572b585623 Updates need to push class status info to web pages.
svn path=/trunk/mono/; revision=203
2001-07-17 21:55:28 +00:00
Miguel de Icaza 6df61cf597 Flush
svn path=/trunk/mono/; revision=202
2001-07-17 20:19:34 +00:00
Sean MacIsaac 1c6a95d5c5 * ByNamespace.xsl: removed bug for improper handling of namespace.
eg System.Collections.Blah was showing up in System list.

svn path=/trunk/mono/; revision=201
2001-07-17 17:07:02 +00:00
Miguel de Icaza 1810099995 More classes
svn path=/trunk/mcs/; revision=200
2001-07-17 16:19:12 +00:00
Miguel de Icaza e9eac38d6d Add more files
svn path=/trunk/mcs/; revision=199
2001-07-17 16:14:11 +00:00
Miguel de Icaza 23694e8df9 Add code for System.Diagnostics
svn path=/trunk/mcs/; revision=198
2001-07-17 16:13:07 +00:00
Miguel de Icaza fa43078dab Flush
svn path=/trunk/mono/; revision=197
2001-07-17 06:06:40 +00:00
Miguel de Icaza 1d138da62c Pushety push
svn path=/trunk/mono/; revision=196
2001-07-17 06:04:00 +00:00
Miguel de Icaza 698c69f4f3 Add Stack.cs
svn path=/trunk/mcs/; revision=195
2001-07-17 05:45:59 +00:00
Miguel de Icaza 6d5b30bc68 Flush
svn path=/trunk/mono/; revision=194
2001-07-17 05:42:01 +00:00
Miguel de Icaza f182491301 flush
svn path=/trunk/mono/; revision=193
2001-07-17 05:26:15 +00:00
Miguel de Icaza e268c79ca9 More contributors
svn path=/trunk/mono/; revision=192
2001-07-17 04:18:02 +00:00
Miguel de Icaza bc07f59304 More volunteers! YAY!
svn path=/trunk/mono/; revision=191
2001-07-16 22:45:05 +00:00
Miguel de Icaza 4c395b4418 Update it
svn path=/trunk/mono/; revision=190
2001-07-16 22:40:28 +00:00
Miguel de Icaza 20884f6d29 Update to the site
svn path=/trunk/mono/; revision=189
2001-07-16 22:34:44 +00:00
Miguel de Icaza a8c250b215 Update maintainers
svn path=/trunk/mono/; revision=188
2001-07-16 22:34:18 +00:00
Miguel de Icaza d069c98174 Make it compile
svn path=/trunk/mcs/; revision=187
2001-07-16 22:31:13 +00:00
Miguel de Icaza ac9aaea8d4 Source files
svn path=/trunk/mcs/; revision=186
2001-07-16 22:25:35 +00:00
Miguel de Icaza b00d04aaa4 Add new files
svn path=/trunk/mcs/; revision=185
2001-07-16 22:02:05 +00:00
Miguel de Icaza 4dc202d35e 2001-07-16 Marcin Szczepanski <[email protected]>
* StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
	New class implemenations.

	* StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.

2001-07-16  Marcin Szczepanski <[email protected]>

	* StringBuilder.cs (Text): Fixed.

	* StringBuilderTest.cs: Implement Test suite.

svn path=/trunk/mcs/; revision=184
2001-07-16 22:01:34 +00:00
Miguel de Icaza c62ebf3662 2001-07-16 Miguel de Icaza <[email protected]>
* Version.cs: Remove my buggy comment.

svn path=/trunk/mcs/; revision=183
2001-07-16 20:28:41 +00:00
Sean MacIsaac dace380b08 * class.xml: added all classes from corlib.
* maintainers.xml: maintainers from corlib.

svn path=/trunk/mono/; revision=182
2001-07-16 09:30:20 +00:00
Sean MacIsaac a43966b183 Typos in comments.
svn path=/trunk/mcs/; revision=181
2001-07-16 09:21:28 +00:00
Sean MacIsaac 2bfb6c885d * ByNamespace.xsl: Needed by ByNamespace.cs.
* ByNamespace.cs: Generates html by namespace..

* ByMaintainer.xsl: Needed by ByMaintainer.cs.

* ByMaintainer.cs: Generates html by maintainer.

* class.xml: Class maintainers go here.

* maintainers.xml: Only maintaining email/name pairs here.

* compare-assembly.cs: Started refactoring to give what Migee
wants.

svn path=/trunk/mono/; revision=180
2001-07-16 08:11:12 +00:00
Miguel de Icaza dd1f100f5c 2001-07-15 Miguel de Icaza <[email protected]>
* main.c (dis_code): Only display .entrypoint when we are dealing
	with a module that contains an entry point.  This removes a bunch
	of warnings for .dll dumping

svn path=/trunk/mono/; revision=179
2001-07-16 03:20:23 +00:00
Sean MacIsaac ef1fdf5b8b * status/compare-assembly.cs: basedir should be there if
parameters are provided.

* status/makefile: made targets to dump info.

svn path=/trunk/mono/; revision=178
2001-07-16 03:00:31 +00:00
Miguel de Icaza ccb226ef75 more contributors
svn path=/trunk/mono/; revision=177
2001-07-16 02:45:22 +00:00
Miguel de Icaza 7417a4d8e4 Update
svn path=/trunk/mono/; revision=176
2001-07-16 02:39:13 +00:00
Miguel de Icaza a5a212f642 0.4
svn path=/trunk/mono/; revision=174
2001-07-16 02:06:13 +00:00
Miguel de Icaza 5d709bcdb5 Add release notes
svn path=/trunk/mono/; revision=173
2001-07-16 02:01:00 +00:00
Miguel de Icaza 70ece6c4a0 Flushage
svn path=/trunk/mono/; revision=172
2001-07-16 01:50:36 +00:00
5184 changed files with 648962 additions and 18148 deletions

No files matched your search

+15 -9
View File
@@ -1,11 +1,17 @@
config.h
Makefile
config.cache
stamp-h.in
config.status
aclocal.m4
configure
stamp-h
libtool
Makefile.in
config.cache
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
libtool
ltmain.sh
ltconfig
Makefile
Makefile.in
mono-*.tar.gz
stamp-h
stamp-h.in
+2
View File
@@ -1 +1,3 @@
Miguel de Icaza ([email protected])
Paolo Molaro ([email protected])
Dietmar Maurer ([email protected])
+485
View File
@@ -0,0 +1,485 @@
The Mono runtime is licensed under the terms of the GNU
Library General Public License, version 2.
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
+487
View File
@@ -1,3 +1,490 @@
Fri Jul 19 18:38:38 CEST 2002 Paolo Molaro <[email protected]>
* configure.in, Makefile.am, mono.pc.in: add a mono.pc file for use
with pkg-config.
* */Makefile.am: makefile overhaul to create a shared libmono library.
* */*.h: do not include config.h in headers that should be installed.
2002-07-12 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Check the size of sockaddr_un.sun_path
2002-06-23 Miguel de Icaza <[email protected]>
* man/Makefile.am (man_MANS): Added new man page
* man/mono-config.5: New manual page describing the mono-config
file format.
2002-06-10 Jaroslaw Kowalski <[email protected]>
* configure.in: added checks for MSG_NOSIGNAL
2002-05-30 Daniel Morgan <[email protected]>
* doc/ado-net: update the ado-net web page on go-mono.com
input parameters support, beginnings of Mono.Data.MySQL
and System.Data.OleDb, updated the sample source code,
and output from a PostgresTest
2002-05-21 Martin Baulig <[email protected]>
* mono.1: Documented the "--debug-args" debugging arguments.
2002-05-21 Martin Baulig <[email protected]>
* mono.1: Updated to reflect my latest changes and beautified this a bit.
(FIXME: There are still command line argument which aren't documented here.)
2002-05-19 Daniel Morgan <[email protected]>
* doc/ado-net: updated page to include C# code snippets using
System.Data. Update status: handle reading NULL values, DataSet/DataAdapter
works, executing/reading multiple results, and stored procedures.
And other tweaks about the providers.
2002-05-19 Martin Baulig <[email protected]>
* mono/Makefile.am (SUBDIRS): Added `os', it's referenced by
interpreter/Makefile.am.
Wed May 15 12:22:09 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: search for pthread functions also in libc_r (patch
from Garrett Rooney <[email protected]>).
2002-05-11 Daniel Morgan <[email protected]>
* doc/ado-net: added instructions for installing PostgreSQL on Linux
and for using nant to re-compile just the System.Data.dll assembly
on Windows.
2002-05-10 Rodrigo Moya <[email protected]>
* doc/ado-net: added instructions for compiling System.Data.dll
(a subset of) on Linux.
2002-05-10 Daniel Morgan <[email protected]>
* doc/ado-net: added links
2002-05-09 Dick Porter <[email protected]>
* configure.in: Set CPPFLAGS not CFLAGS (bug 23767)
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: correct formatting
* doc/index: added credit i forgot to add
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: i did not format it correctly earlier, i
tried added various tags where appropriate.
* doc/index: added news item for May 5, 2002 - ado.net able
to retrieve data now
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated the current status which
I kept forgetting to do.
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to includes an example for
running ipc-daemon as a Windows service. Thanks
to gonzalo.
2002-05-05 Daniel Morgan <[email protected]>
* doc/ado-net: updated to include installation of
PostgreSQL DBMS under cygwin. It is a TODO for Linux though.
Also included notes on running the System.Data/Test/PostgresTest.cs
that should work on a lot of Mono installations that have
PostgreSQL installed. If not please let me, rodrigo, or gonzalo
know.
2002-05-01 Rodrigo Moya <[email protected]>
* doc/ado-net: updated a little bit.
2002-04-30 Jeffrey Stedfast <[email protected]>
* configure.in: Added checks for timezone stuff.
2002-04-30 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Added option to disable using shared memory for
handles
2002-04-28 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fix for conditional "THREADS_PTHREAD" was never
defined problem under cygwin with latest version of automake and
autoconf. Patch from Jeroen Janssen <[email protected]>.
2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* configure.in: removed -Wshadow from CFLAGS.
2002-04-12 Rodrigo Moya <[email protected]>
* status/maintainers.xml: added danmorg and myself for System.Data.*
classes.
* status/class.xml: added System.Data.* classes.
2002-04-08 Dick Porter <[email protected]>
* configure.in: Set -mno-cygwin here rather than in the build script
2002-04-05 Dietmar Maurer <[email protected]>
* mono/tests/remoting2.cs: new test for async invoke of proxy calls
2002-03-29 Martin Baulig <[email protected]>
* doc/jit-debug, docs/jit-debug-sample, docs/jit-debug-sample2:
New files, added documentation for the debugging code.
* doc/web/commands: Added the debugging pages.
* docs/jit-debug: Removed, this is now on the web site.
2002-03-24 Martin Baulig <[email protected]>
* man/mcs.1: Documented the new --debug option and added a section
about debugging support.
* man/mono.1: Documented the new --dwarf and --dwarf-plus options.
2002-03-21 Martin Baulig <[email protected]>
* configure.in: Added check for <elf.h>.
2002-03-18 Dick Porter <[email protected]>
* configure.in: Only look for libgc on the system. Default to not
using GC at all, because it doesn't work with the jit.
2002-03-17 Miguel de Icaza <[email protected]>
* configure.in: Add support for building the included boehm GC.
Thu Mar 7 17:19:44 CET 2002 Paolo Molaro <[email protected]>
* configure.in: detect Boehm GC libs and add --with-gc switch.
Boehm GC needs to be explicitly enabled since the JIT currently fails
in some cases with it.
2002-02-27 Dietmar Maurer <[email protected]>
* mono/tests/fib.cs: it is now possible to pass a repeat count as
command line argument, for example fib.exe 20 runs the test 20
times.
2002-02-25 Sergey Chaban <[email protected]>
* configure.in: added support for ARM target arch.
Uncommented and modified arm-*-linux* target,
added mono/arch/arm/Makefile to AC_OUTPUT list.
2002-02-21 Mark Crichton <[email protected]>
* status/class.xml: Added contact info for RNGCryptoServiceProvider
class and Rijndael classes.
* status/maintainers.xml: Added contact info to maintainers list.
2002-02-21 Mark Crichton <[email protected]>
* configure.in: Add checks for a system-provided entropy device
* acconfig.h: Added HAVE_CRYPT_RNG and NAME_DEV_RANDOM
2002-02-20 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Always build without cygwin support on windows
2002-02-19 Radek Doulik <[email protected]>
* mono/tests/pinvoke.cs: use more pinvoke test methods
2002-02-19 Radek Doulik <[email protected]>
* mono/tests/libtest.c (mono_test_many_short_arguments): new test
method
(mono_test_many_byte_arguments): ditto
2002-02-18 Radek Doulik <[email protected]>
* mono/tests/Makefile.am: added small test library for pinvoke
testing
* mono/tests/libtest.c (mono_test_many_int_arguments): new file,
new function to test pinvoke
* mono/tests/pinvoke.cs (Test): added pinvoked method with 10 int
arguments
* mono/tests/Makefile.am: display # of passing tests too
added simple shared library libtest with testing function for
pinvoke
2002-02-17 Radek Doulik <[email protected]>
* mono/tests/Makefile.am (test): display # of failed tests
2002-02-16 Jeffrey Stedfast <[email protected]>
* configure.in: Add checks for SOL_IP, SOL_TCP, and
IP_PKTINFO. Also check for struct ip_mreqn.
2002-02-14 Jeffrey Stedfast <[email protected]>
* configure.in: Add checks to see if we need to link to libsocket,
libnsl, and/or librt. Also check for inet_pton and inet_aton.
2002-02-13 Jeffrey Stedfast <[email protected]>
* acconfig.h: #undef USE_MONO_MUTEX
* configure.in: If the system pthread implementation is lacking,
default to using mono-mutex.
2002-02-05 Dietmar Maurer <[email protected]>
* mono/tests/enum2.cs: new file with more enum tests.
2002-02-01 Dietmar Maurer <[email protected]>
* mono/tests/jit-long.cs: added some SHL/SHR tests
Fri Feb 1 15:32:36 CET 2002 Paolo Molaro <[email protected]>
* configure.in: allow PKG_CONFIG_PATH for the build-platform
pkg-config invocation.
Fri Feb 1 15:13:25 CET 2002 Paolo Molaro <[email protected]>
* configure.in: add some support/fixes for cross-compilation.
2002-01-14 Dietmar Maurer <[email protected]>
* mono/tests/exception6.cs: new tests for ADD_OVF, MUL_OVF
added tests for SUB_OVF, SUB_OVF_UN
2001-12-21 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (TESTSRC): disabled stream-writer test
2001-12-21 Aaron Weber <[email protected]>
* doc/faq (A): added a linebreak that was missing and was causing
a heading to appear badly.
2001-12-20 Aaron Weber <[email protected]>
* doc/faq: added <a name=""> nav links, and moved all MSFT-related
questions into a single section.
2001-12-17 Aaron Weber <[email protected]>
* doc/faq (Q): Question-by-question, line-by-line revision.
2001-12-17 Dietmar Maurer <[email protected]>
* mono/tests/time.cs: new test
2001-11-30 Radek Doulik <[email protected]>
* configure.in: remove ACCESS_UNALIGNED="no" from ppc
2001-11-29 Radek Doulik <[email protected]>
* configure.in (ACCESS_UNALIGNED): uncommented and modified
powerpc-*-linux*
generate mono/arch/ppc/Makefile
2001-11-26 Dietmar Maurer <[email protected]>
* mono/tests/exception3.cs: modified the test to show a bug in the
current exception handling implementation.
2001-11-13 Dick Porter <[email protected]>
* configure.in: Some more tests for pthread features
(specifically, glibc 2.1 doesnt define pthread_mutex_timedlock but
still needs _GNU_SOURCE for PTHREAD_MUTEX_RECURSIVE)
2001-11-09 Dick Porter <[email protected]>
* configure.in: Try and get large file support, but it's not fatal
if it's not there (the io-layer just ignores the high word in that
case.)
Check for windows builds, and only bother to look for pthreads and
large files if we're not building for cygwin or native win32. Not
having pthread support on Posix systems is now a fatal error.
* autogen.sh: Fix ACLOCAL_FLAGS - it wasn't being passed to
aclocal
2001-10-15 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am: removed JITTESTS, simply run all tests for
target testjit.
2001-10-11 Dietmar Maurer <[email protected]>
* docs/object-layout: more documentation
Mon Oct 8 20:27:50 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: define NO_UNALIGNED_ACCESS for platforms that
can't read on unaligned boundaries
2001-10-04 Dick Porter <[email protected]>
* configure.in: Do some deeper checks on pthreads for some of the
more interesting functions
2001-09-24 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (testjit): a new target to test the JITer
* mono/tests/jit-*: added some test for the JITer
2001-09-23 Dick Porter <[email protected]>
* configure.in: Arrange to compile dummy thread support routines
if pthread isnt available
2001-09-23 Dick Porter <[email protected]>
* configure.in: Check for pthread.h, so that we can check for the
HAVE_PTHREAD_H define in config.h
2001-09-21 Dick Porter <[email protected]>
* configure.in: Check for libpthread
2001-09-19 Dietmar Maurer <[email protected]>
* mono/tests/test-ops.cs: added more tests
Mon Sep 10 20:19:00 CEST 2001 Paolo Molaro <[email protected]>
* configure.in: check for sizeof(void*) and for the architecture.
2001-09-05 Dick Porter <[email protected]>
* autogen.sh: Fixed the section that adds $ACLOCAL_FLAGS to the
aclocal invocation, so putting aclocal files in /usr/local works
2001-08-30 Dietmar Maurer <[email protected]>
* *: removed the libffi dependency, mono now compiles on cygwin
* mono/wrapper/build-dll: new file.
2001-08-28 Dietmar Maurer <[email protected]>
* mono/tests/console.cs: impl.
* mono/tests/box.cs: impl.
* mono/tests/stream-writer.cs: impl.
Mon Aug 27 20:24:26 CEST 2001 Paolo Molaro <[email protected]>
* mono/tests/*: New test cases, mostly for virtual method dispatch.
Use make testb for the slow benchmarking programs,
make test for the usual regression test checks.
2001-08-22 Rodrigo Moya <[email protected]>
* mono/cil/Makefile.am:
* mono/wrapper/Makefile.am: use correct variables for installation
directories
Tue Aug 21 18:54:06 CEST 2001 Paolo Molaro <[email protected]>
* mono/tests/exceptions*: enhanced and added more tests for
exceptions.
2001-08-20 Miguel de Icaza <[email protected]>
* mono/Makefile.am (SUBDIRS): Remove `test' from here to allow us
to pass make distcheck
* mono/wrapper/Makefile.am (EXTRA_DIST): Include genwrapper.pl
* configure.in, Makefile.am, runtime/Makefile.am (dist-hook,
install-data-hook): Added mechanism to distribute and install the
dll files.
2001-08-20 Dietmar Maurer <[email protected]>
* mono/tests/stream.cs: new tests for the Stream class
* configure.in: I really need LIBTOOL for libmonowrapper.so, so I
added it again.
2001-08-16 Alex Graveley <[email protected]>
* configure.in: Replace AM_PROG_LIBTOOL with AC_PROG_RANLIB. This
removes libtool dependency on all of Mono.
2001-08-10 Dietmar Maurer <[email protected]>
* mono/tests/array.cs: more array tests
2001-08-09 Dietmar Maurer <[email protected]>
* mono/tests/array.cs: more array tests
2001-08-06 Dietmar Maurer <[email protected]>
* mono/tests/pinvoke.cs: we can now print strings ;-)
* mono/tests/array.cs: new test for arrays
2001-08-02 Alex Graveley <[email protected]>
* libffi/*: Import libffi CVS version, with minor changes to make it
compile.
* mono/interpreter/Makefile.am: Link against
../../libffi/.libs/libffi.a.
* Makefile.am: Add libffi
* autogen.sh: Replace with adapted gnome autogen.sh
* configure.in: Add AC_CONFIG_SUBDIRS(libffi).
2001-08-02 Dietmar Maurer <[email protected]>
* mono/tests/pinvoke.cs: impl.
Wed Aug 1 22:34:52 CEST 2001 Paolo Molaro <[email protected]>
* configure.in, mono/tests: added some tests for the interpreter.
2001-07-15 Sean MacIsaac <[email protected]>
* doc/download: added instructions for cygwin
* doc/c-sharp: removed bit about compiling
* status/compare-assembly.cs: basedir should be there if
parameters are provided.
* status/makefile: made targets to dump info.
2001-07-15 Joe Shaw <[email protected]>
* configure.in: Don't create doc/Makefile as there's nothing there
+9 -1
View File
@@ -1 +1,9 @@
SUBDIRS = mono doc
AUTOMAKE_OPTIONS = foreign
SUBDIRS = mono doc docs runtime scripts man
EXTRA_DIST= mono.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= mono.pc
DISTCLEANFILES= mono.pc
+10
View File
@@ -1,3 +1,13 @@
2002-Feb-11 Miguel de Icaza <[email protected]>
New release, functional x86-JIT, x86 interpreter, ppc interpreter
Class libraries ship.
Limited compiler ships.
Too many changes to list
2001-07-12 Miguel de Icaza <[email protected]>
New XSLT file from Sergey Chaban for CIL opcodes
+48 -4
View File
@@ -1,8 +1,52 @@
This is MonoNet.
Ximian's portable implementation of .NET
This is Mono.
Installation:
Read doc/download for installation instructions,
or read the HTML version:
http://www.go-mono.com/download.html
A directory roadmap:
doc/
Contains documentation and the web site contents.
mono/
The core of the executable.
metadata/
The library to deal with executables and libraries for
.NET
dis/
CIL executable Disassembler
cli/
Common code for the JIT and the interpreter.
cil/
Common Intermediate Representation, XML
definition of the CIL bytecodes.
interp/
Interpreter for CLI executables.
* Using Mono
Once you have installed the software, you can run a few programs:
monodis program.exe
That will dump the bytecodes for program.exe. Monodis support
a number of options that dumps various metadata tables
(chapter 23 of the Partition III).
You can try the interpreter like this:
mint program.exe
----------
To edit the go-mono website, see doc/README.
+20
View File
@@ -0,0 +1,20 @@
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_MSG_NOSIGNAL
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef HAVE_NEW_ICONV
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
#undef DISABLE_SHARED_HANDLES
#undef HAVE_TIMEZONE
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
+120 -6
View File
@@ -1,6 +1,120 @@
libtoolize --automake
automake -a
autoheader
aclocal $ACLOCAL_FLAGS
autoconf
./configure $*
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# Ripped off from GNOME macros version
DIE=0
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
if [ -n "$MONO_PATH" ]; then
ACLOCAL_FLAGS="-I $MONO_PATH/share/aclocal $ACLOCAL_FLAGS"
PATH="$MONO_PATH/bin:$PATH"
export PATH
fi
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to compile Mono."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile Mono."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && {
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
(gettext --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`gettext' installed to compile Mono."
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' installed to compile Mono."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
NO_AUTOMAKE=yes
}
# if no automake, don't bother testing for aclocal
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
echo "installed doesn't appear recent enough."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
if test -z "$*"; then
echo "**Warning**: I am going to run \`configure' with no arguments."
echo "If you wish to pass any to it, please specify them on the"
echo \`$0\'" command line."
echo
fi
case $CC in
xlc )
am_opt=--include-deps;;
esac
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
libtoolize --force --copy
fi
fi
echo "Running aclocal $ACLOCAL_FLAGS ..."
aclocal $ACLOCAL_FLAGS || {
echo
echo "**Error**: aclocal failed. This may mean that you have not"
echo "installed all of the packages you need, or you may need to"
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
echo "for the prefix where you installed the packages whose"
echo "macros were not found"
exit 1
}
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME || exit 1
else
echo Skipping configure process.
fi
+550 -10
View File
@@ -1,37 +1,577 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.3)
AM_INIT_AUTOMAKE(mono, 0.12)
AM_MAINTAINER_MODE
dnl ****************************************
dnl *** Check if we're building on win32 ***
dnl ****************************************
AC_MSG_CHECKING([if building for some Win32 platform])
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
;;
*)
platform_win32=no
;;
esac
AC_MSG_RESULT($platform_win32)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
AC_CHECK_TOOL(CC, gcc, gcc)
AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
dnl may require a specific autoconf version
dnl AC_PROG_CC_FOR_BUILD
dnl CC_FOR_BUILD not automatically detected
CC_FOR_BUILD=$CC
BUILD_EXEEXT=
if test "x$cross_compiling" = "xyes"; then
CC_FOR_BUILD=cc
BUILD_EXEEXT=""
fi
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(HOST_CC)
AC_SUBST(BUILD_EXEEXT)
# Set STDC_HEADERS
AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl ***************************
dnl *** Checks for glib 1.2 ***
dnl ***************************
AM_PATH_GLIB(1.2.0,,
AC_MSG_ERROR([Cannot find GLIB: Is glib-config in path?]))
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h)
GLIB_CFLAGS=`glib-config --cflags glib`
GLIB_LIBS=`glib-config --libs glib`
AC_CHECK_HEADERS(iconv.h)
AC_CHECK_HEADERS(giconv.h)
# for mono/metadata/debug-symfile.c
AC_CHECK_HEADERS(elf.h)
# not 64 bit clean in cross-compile
AC_CHECK_SIZEOF(void *, 4)
CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
fi
dnl for use on the build system
dnl pkg-config is stupid
BUILD_GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0`
BUILD_GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0`
AC_SUBST(BUILD_GLIB_CFLAGS)
AC_SUBST(BUILD_GLIB_LIBS)
PKG_PATH=
AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir],
if test x$with_crosspkgdir = "x"; then
if test -s $PKG_CONFIG_PATH; then
PKG_PATH=$PKG_CONFIG_PATH
fi
else
PKG_PATH=$with_crosspkgdir
PKG_CONFIG_PATH=$PKG_PATH
export PKG_CONFIG_PATH
fi
)
## Versions of dependencies
GLIB_REQUIRED_VERSION=1.3.11
PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)
GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0`
GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0`
GMODULE_CFLAGS=`$PKG_CONFIG --cflags gmodule-2.0`
GMODULE_LIBS=`$PKG_CONFIG --libs gmodule-2.0`
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations'
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes")
gc=auto
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
case "x$gc" in
xboehm|xyes)
if test "x$found_boehm" != "xyes"; then
AC_MSG_ERROR("GC requested but libgc not found!")
fi
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc"
;;
xnone)
AC_MSG_WARN("Compiling mono without GC.")
;;
*)
dnl When the JIT works with libgc, use this chunk.
dnl # If libgc was found, use it. Otherwise just warn.
if test "x$found_boehm" != "xyes"; then
AC_MSG_WARN("Compiling mono without GC.")
else
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc"
gc="boehm"
fi
dnl AC_MSG_WARN("Compiling mono without GC.")
;;
esac
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Check for large file support ***
dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
dnl ******************************************************************
# Check that off_t can represent 2**63 - 1 correctly, working around
# potential compiler bugs. Defines LARGE_FILE_SUPPORT, adds $1 to
# CPPFLAGS and sets $large_offt to yes if the test succeeds
large_offt=no
AC_DEFUN(LARGE_FILES, [
large_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $1"
AC_TRY_RUN([
#include <sys/types.h>
#define BIG_OFF_T (((off_t)1<<62)-1+((off_t)1<<62))
int main(void) {
int big_off_t=((BIG_OFF_T%2147483629==721) &&
(BIG_OFF_T%2147483647==1));
if(big_off_t) {
exit(0);
} else {
exit(1);
}
}
], [
AC_MSG_RESULT(ok)
AC_DEFINE(HAVE_LARGE_FILE_SUPPORT)
large_CPPFLAGS="$large_CPPFLAGS $1"
large_offt=yes
], [
AC_MSG_RESULT(no)
], "")
CPPFLAGS=$large_CPPFLAGS
])
AC_MSG_CHECKING(if off_t is 64 bits wide)
LARGE_FILES("")
if test $large_offt = no; then
AC_MSG_CHECKING(if _FILE_OFFSET_BITS=64 gives 64 bit off_t)
LARGE_FILES("-D_FILE_OFFSET_BITS=64")
fi
if test $large_offt = no; then
AC_MSG_WARN([No 64 bit file size support available])
fi
dnl *****************************
dnl *** Checks for libsocket ***
dnl *****************************
AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
dnl *******************************
dnl *** Checks for MSG_NOSIGNAL ***
dnl *******************************
AC_MSG_CHECKING(for MSG_NOSIGNAL)
AC_TRY_COMPILE([#include <sys/socket.h>], [
int f = MSG_NOSIGNAL;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_MSG_NOSIGNAL)
], [
# We'll have to use signals
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for SOL_IP ***
dnl *****************************
AC_MSG_CHECKING(for SOL_IP)
AC_TRY_COMPILE([#include <netdb.h>], [
int level = SOL_IP;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_SOL_IP)
], [
# We'll have to use getprotobyname
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for SOL_TCP ***
dnl *****************************
AC_MSG_CHECKING(for SOL_TCP)
AC_TRY_COMPILE([#include <netdb.h>], [
int level = SOL_TCP;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_SOL_TCP)
], [
# We'll have to use getprotobyname
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for IP_PKTINFO ***
dnl *****************************
AC_MSG_CHECKING(for IP_PKTINFO)
AC_TRY_COMPILE([#include <netdb.h>], [
int level = IP_PKTINFO;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_IP_PKTINFO)
], [
AC_MSG_RESULT(no)
])
dnl *********************************
dnl *** Check for struct ip_mreqn ***
dnl *********************************
AC_MSG_CHECKING(for struct ip_mreqn)
AC_TRY_COMPILE([#include <netinet/in.h>], [
struct ip_mreqn mreq;
mreq.imr_address.s_addr = 0;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQN)
], [
# We'll just have to use struct ip_mreq
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for libnsl ***
dnl *****************************
AC_CHECK_LIB(nsl, gethostbyaddr, LIBS="$LIBS -lnsl")
AC_CHECK_FUNCS(inet_pton inet_aton)
dnl ***********************************************
dnl *** Checks for size of sockaddr_un.sun_path ***
dnl ***********************************************
# AC_CHECK_SIZEOF can't cope with struct members :-(
AC_MSG_CHECKING(size of sockaddr_un.sun_path)
AC_CACHE_VAL(cv_mono_sizeof_sunpath,
[AC_TRY_RUN([
#include <stdio.h>
#include <sys/un.h>
int main(void) {
struct sockaddr_un sock_un;
FILE *f=fopen("conftestval", "w");
if(!f) exit(1);
fprintf(f, "%d\n", sizeof(sock_un.sun_path));
exit(0);
}
], cv_mono_sizeof_sunpath=`cat conftestval`,
cv_mono_sizeof_sunpath=0,
cv_mono_sizeof_sunpath=0)])dnl
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
dnl *****************************
dnl *** Checks for libpthread ***
dnl *****************************
AC_SEARCH_LIBS(pthread_create, pthread c_r, [
AM_CONDITIONAL(THREADS_PTHREAD, true)
AC_DEFINE(HAVE_PTHREAD)
# Need pthread_mutex_timedlock
pthread_CFLAGS=""
orig_CPPFLAGS=$CPPFLAGS
# This is a gcc-specific error, but we already set
# gcc-specific options in CFLAGS
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
AC_MSG_CHECKING(for pthread_mutex_timedlock)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_timedlock(&mut, NULL);
], [
# Works!
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
], [
AC_MSG_RESULT(no)
# glibc requires -D_GNU_SOURCE before it will declare
# this function
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for pthread_mutex_timedlock)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_timedlock(&mut, NULL);
], [
AC_MSG_RESULT(yes)
pthread_CFLAGS="-D_GNU_SOURCE"
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
], [
AC_MSG_RESULT(no)
dnl Add other variants here
AC_MSG_WARN(Working around pthread_mutex_timedlock)
])
])
CPPFLAGS=$orig_CPPFLAGS
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
# Need PTHREAD_MUTEX_RECURSIVE
pthread_CFLAGS=""
orig_CPPFLAGS=$CPPFLAGS
# This is a gcc-specific error, but we already set
# gcc-specific options in CFLAGS
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
# Works!
AC_MSG_RESULT(ok)
], [
AC_MSG_RESULT(no)
# glibc requires -D_GNU_SOURCE before it will declare
# this macro
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for PTHREAD_MUTEX_RECURSIVE)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
AC_MSG_RESULT(ok)
pthread_CFLAGS="-D_GNU_SOURCE"
], [
AC_MSG_RESULT(no)
dnl Add other variants here
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX)
])
])
CPPFLAGS=$orig_CPPFLAGS
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
], [
AC_MSG_ERROR([libpthread is required on non-win32 hosts])
])
dnl ********************************
dnl *** Checks for semaphore lib ***
dnl ********************************
AC_CHECK_LIB(rt, sem_init, LIBS="$LIBS -lrt")
dnl ********************************
dnl *** Checks for timezone stuff **
dnl ********************************
AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
AC_TRY_COMPILE([
#include <time.h>
], [
timezone = 1;
], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
if test $ac_cv_var_timezone = yes; then
AC_DEFINE(HAVE_TIMEZONE)
else
AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
AC_TRY_COMPILE([
#include <time.h>
], [
struct tm tm;
tm.tm_gmtoff = 1;
], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
if test $ac_cv_struct_tm_gmtoff = yes; then
AC_DEFINE(HAVE_TM_GMTOFF)
else
AC_ERROR(unable to find a way to determine timezone)
fi
fi
else
AM_CONDITIONAL(THREADS_PTHREAD, false)
# This is a kludge, we really ought to test for libws2_32, but
# I can't make AC_CHECK_LIB link (the symbols seem to be mangled
# with @num suffixes)
LIBS="$LIBS -lws2_32"
CFLAGS="$CFLAGS -mno-cygwin"
fi
dnl ****************************
dnl *** Look for /dev/random ***
dnl ****************************
AC_MSG_CHECKING([if usage of random device is requested])
AC_ARG_ENABLE(dev-random,
[ --disable-dev-random disable the use of the random device],
try_dev_random=$enableval, try_dev_random=yes)
AC_MSG_RESULT($try_dev_random)
case "{$target}" in
*-openbsd*)
NAME_DEV_RANDOM="/dev/srandom"
;;
dnl Win32 does not have /dev/random, they have their own method...
*-*-mingw*|*-*-cygwin*)
ac_cv_have_dev_random = no
;;
dnl Everywhere else, it's /dev/random
*)
NAME_DEV_RANDOM="/dev/random"
;;
esac
AC_DEFINE_UNQUOTED(NAME_DEV_RANDOM, "$NAME_DEV_RANDOM")
dnl Now check if the device actually exists
if test "x$try_dev_random" = "xyes"; then
AC_CACHE_CHECK(for random device, ac_cv_have_dev_random,
[if test -r "$NAME_DEV_RANDOM" ; then
ac_cv_have_dev_random=yes; else ac_cv_have_dev_random=no; fi])
if test "x$ac_cv_have_dev_random" = "xyes"; then
AC_DEFINE(HAVE_CRYPT_RNG)
fi
else
AC_MSG_CHECKING(for random device)
ac_cv_have_dev_random=no
AC_MSG_RESULT(has been disabled)
fi
if test "x$platform_win32" = "xyes"; then
AC_DEFINE(HAVE_CRYPT_RNG)
fi
if test "x$ac_cv_have_dev_random" = "xno" \
&& test "x$platform_win32" = "xno"; then
AC_MSG_WARN([[
***
*** A system-provided entropy source was not found on this system.
*** Because of this, the System.Security.Cryptography random number generator
*** will throw a NotImplemented exception.
***
*** If you are seeing this message, and you know your system DOES have an
*** entropy collection in place, please contact <[email protected]> and
*** provide information about the system and how to access the random device.
***
*** For those systems who lack a random device, EGD support is forthcoming.
***]])
fi
if test "x$cross_compiling" = "xno"; then
# check for new iconv version
AC_MSG_CHECKING(for new iconv)
AC_CACHE_VAL(new_iconv,[
AC_TRY_RUN([#include <stdio.h>
#include <iconv.h>
int main()
{
exit (iconv_open ("UTF-16le", "UTF-8") == (iconv_t)-1);
}
],
new_iconv=yes,new_iconv=)])
if test -n "$new_iconv"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_NEW_ICONV)
else
AC_MSG_RESULT(no)
fi
fi
AC_MSG_CHECKING([if inter-process shared handles are requested])
AC_ARG_ENABLE(shared-handles, [ --disable-shared-handles disable inter-process shared handles], try_shared_handles=$enableval, try_shared_handles=yes)
AC_MSG_RESULT($try_shared_handles)
if test "x$try_shared_handles" != "xyes"; then
AC_DEFINE(DISABLE_SHARED_HANDLES)
AC_SUBST(DISABLE_SHARED_HANDLES)
fi
TARGET="unknown"
ACCESS_UNALIGNED="yes"
case "$host" in
#mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; ACCESS_UNALIGNED="no";;
i*86-*-*) TARGET=X86; arch_target=x86;;
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
esac
if test ${TARGET} = unknown; then
CPPFLAGS="$CPPFLAGS -DNO_PORT"
AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
fi
if test ${ACCESS_UNALIGNED} = no; then
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
fi
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
AM_CONDITIONAL(X86, test x$TARGET = xX86)
AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
AC_SUBST(arch_target)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_OUTPUT([
Makefile
mono.pc
mono/Makefile
mono/utils/Makefile
mono/metadata/Makefile
mono/dis/Makefile
mono/cil/Makefile
mono/arch/Makefile
mono/os/Makefile
mono/os/win32/Makefile
mono/os/unix/Makefile
mono/arch/x86/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/arch/arm/Makefile
mono/interpreter/Makefile
mono/doc/Makefile
mono/tests/Makefile
mono/benchmark/Makefile
mono/monoburg/Makefile
mono/monograph/Makefile
mono/jit/Makefile
mono/io-layer/Makefile
mono/handles/Makefile
runtime/Makefile
scripts/Makefile
man/Makefile
doc/Makefile
docs/Makefile
])
echo "
GC: $gc
"
+1
View File
@@ -1,3 +1,4 @@
Makefile.in
Makefile
all-docs
pending-classes.in
+22 -6
View File
@@ -1,9 +1,9 @@
WEB_FILES=
c-sharp class-library contact contributing documentation download \
faq gcc-frontend ideas index makefile passport rationale resources \
roadmap runtime status team testing thanks tools
WEB_FILES= \
ado-net c-sharp class-library contact contributing documentation download \
faq gcc-frontend ideas index passport rationale resources \
roadmap runtime status team testing thanks tools porting anoncvs monodoc-xml winforms
OTHERS= pending resources-pending todo
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh
EXTRA_DIST = $(WEB_FILES) README $(OTHERS)
@@ -12,5 +12,21 @@ all-docs: $(WEB_FILES)
runtime documentation download faq contributing \
resources status > all-docs
webit:
class-status: class-status.in pending-classes Makefile.am
cat class-status.in pending-classes > class-status
pending-classes:
#pending-classes: pending-classes.in Makefile.am
# echo "This is a list of pending classes, and links to their documentation on MSDN.Microsoft.com<p><p>" > pending-classes
# for i in `cat pending-classes.in`; do x=`echo $$i | sed s/\\\.//g`; link=`echo http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf@@@ClassTopic.asp | sed "s/@@@/$$x/"`; echo " <a href=\"$$link\">$$i</a><br>" >> pending-classes; done
webit: dummy
(cd web; make && make push)
push-notes:
scp release-notes/mono* www@www:/web/cvsmodules/mono/archive
dummy:
+796
View File
@@ -0,0 +1,796 @@
* ADO.NET
The coordinator for the ADO.NET implementation is <a
href="mailto:[email protected]">Rodrigo Moya</a>, with
the collaboration of <a href="mailto:[email protected]">Daniel
Morgan</a> and <a href="mailto:[email protected]">Tim Coleman</a>.
* Action plan
The current plan to implement ADO.NET is as follows:
<b>Step 1:</b> Initial <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
<ul>
* Initial implementation of System.Data.SqlClient is based on
the <a href="http://www.postgresql.org/idocs/">PostgreSQL C API</a> which is a
client API to the PostgreSQL DBMS. PostgreSQL was chosen so we could quickly
create and test the System.Data classes.
* Once the <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a>
code is functional and is usable by other people, we willl move it to
Mono.Data.PostgreSQL, and will convert the existing
System.Data.SqlClient to be just a wrapper around
Mono.Data.PostgreSQL.
</ul>
<b>Step 2:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataOleDb.asp?frame=true">System.Data.OleDb</a> Provider:
<ul>
* <p>On Unix systems: System.Data.OleDb will use the
<a href="http://www.gnome-db.org/">LibGDA</a>
engine.
<p>LibGDA is a data access engine like ADO/OLE-DB, but for Unix. The
GDA in libGDA stands for GNU/GNOME Data Access, but it does not require GNOME.
It only requires glib2 and libxml2. LibGDA is used by
libgnomedb, GNOME-DB, and gaSQL.
<p>There is work under way to get libgda working under
Windows using Cygwin by the GNOME-DB developers.
<p>LibGDA has providers for MySQL, PostgreSQL, XML, ODBC,
and MDB Tools (MS Access support).
* On Windows systems: System.Data.OleDb will use OLE-DB as
its engine. It may have the option of using libgda too.
</ul>
<b>Step 3:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
<ul>
* <p>System.Data.SqlClient will then become a managed
provider for Microsoft SQL Server, both on Windows and
Linux, to be compatible with applications written
for the Microsoft .NET Development Framework.
<p>Once Step 1 has been completed and the PostgreSQL
provider support has been moved to its own place at
System.Data.PostgreSQL, we will use
<a href="http://www.freetds.org/">FreeTDS</a> as the basis
for providing access to Microsoft SQL Server databases.
<P>FreeTDS is a C API for Unix and Windows that implements
the TDS (Tabular Data Stream) protocol used in accessing
Microsoft SQL Server and Sybase databases. A .NET Data Provider could be
created for Sybase databases as well, but this would be put in Mono.Data.Sybase.
</ul>
<b>Step 4:</b> <a href="http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/001/668/msdncompositedoc.xml&frame=true">System.Data.Odbc</a> Provider:
<ul>
* We will create a .NET Managaed Provider for ODBC
in System.Data.Odbc for those using ODBC.
On Unix and Windows, <a href="http://www.unixodbc.org/">unixODBC</a> mabye used.
iODBC is an alternative to using unixODBC.
<p>unixODBC works on Unix and Windows. Well, I have not actually
used it on Cygwin, but it does build and install without problems.
<p>unixODBC has providers for:
Oracle, Microsoft SQL Server and Sybase via FreeTDS,
MySQL, PostgreSQL, Informix, IBM DB2 (Universal Database),
Interbase, miniSQL (mSQL), AdabasD, Empress, YARD SQL, and others.
</ul>
<b>Step 5:</b> Other System.Data providers:
<ul>
* <p>The idea in Microsoft .NET System.Data is to have
a managed provider for each supported DBMS. System.Data.SqlClient
for Microsoft SQL Server.
System.Data.OracleClient for Oracle 8i and 9i.
<p>We will need to have Mono.Data.MySQL, Mono.Data.PostgreSQL,
Mono.Data.DB2, and Mono.Data.miniSQL. Others,
of course, are welcomed.
<p>System.Data has been designed so
non-database providers can be created too.
</ul>
* Current Status
<p>We are working on Steps 1, 2, and 5. We have only just begun on
steps 2 and 5 though. We still have tons and tons of stuff to do.
If you have any ideas, let us know.
<p>For Step 1, the PostgreSQL is starting to come together - it
still needs a lot of work.
<p>For Step 2, Rodrigo Moya has begun System.Data.OleDb which will use libgda
which is an OLE-DB/ADO data access for Unix. The C-Sharp bindings to libgda
currently work - meaning they can compile, run, and you can connect to a
PostgreSQL database via libgda via the C-Sharp bindings to libgda. He has also
added class stubs for System.Data.OleDb to cvs.
<p>For Step 3, we need someone to start the FreeTDS .NET Data Provider so
we can have data access to Microsoft SQL Server and Sybase databases, or either
add the support in libgda.
<p>For Step 4, we need someone to start the unixODBC .NET Data Provider, or add
the support in libgda.
<p>For Step 5, we have just begun creating a Mono.Data .NET Provider - a MySQL
.NET Provider that uses the MySQL C Client Library. This provider is
found in Mono.Data.MySql. We can currently connect and do a SQL INSERT and insert
a row into a MySQL database. However, it currently only works on Cygwin because
the MySQL client library libmySQL.dll is different
from the library on Linux libmysqlclient.dll. Another problem, mysql thread functions
do not load for some reason. Also, the provider only runs if you use "mint" (the Mono
runtime interpreter). It does not work on "mono" (the Mono Just-In-Time compiler).
The C# Bindings to MySQL are thanks to Brad Meril.
<p>We are able to do simple CREATE TABLE, DROP TABLE, UPDATE, INSERT, and
DELETE SQL commands using the ExecuteNonQuery method in SqlCommand.
<p>We can execute multiple queries and do a NextResult() in SqlDataReader()
to get the next result set.
<p>We are also able to do simple aggregate functions,
ie, count(), sum(), min(), and max()
in a simple SELECT SQL query using the ExecuteScalar() now.
<p>We are also able to retrieve data with a simple SELECT SQL query
using ExecuteReader() which returns a SqlDataReader. We are able to
use GetSchemaTable() to get the meta data about the table columns.
We are able to Read() to get each row from the result set.
<p>Here is a sample of code that is based on PostgresTest.cs and
TestSqlDataReader.cs tests:
<pre>
static void SelectData (IDbConnection cnc) {
IDbCommand selectCommand = cnc.CreateCommand();
IDataReader reader;
selectCommand.CommandType = CommandType.Text;
selectCommand.CommandText =
"select * from pg_user;" +
"select * from pg_tables;" +
"select * from pg_database";
reader = selectCommand.ExecuteReader ();
do {
// get the DataTable that holds
// the schema
DataTable dt = rdr.GetSchemaTable();
if(rdr.RecordsAffected != -1) {
// Results for
// SQL INSERT, UPDATE, DELETE Commands
// have RecordsAffected >= 0
Console.WriteLine("Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: " + rdr.RecordsAffected);
}
else if (dt == null)
Console.WriteLine("Result is from a SQL Command not (INSERT,UPDATE,DELETE). Records Affected: " + rdr.RecordsAffected);
else {
// Results for
// SQL not INSERT, UPDATE, nor DELETE
// have RecordsAffected = -1
Console.WriteLine("Result is from a SQL SELECT Query. Records Affected: " + rdr.RecordsAffected);
// Results for a SQL Command (CREATE TABLE, SET, etc)
// will have a null reference returned from GetSchemaTable()
//
// Results for a SQL SELECT Query
// will have a DataTable returned from GetSchemaTable()
results++;
Console.WriteLine("Result Set " + results + "...");
// number of columns in the table
Console.WriteLine(" Total Columns: " +
dt.Columns.Count);
// display the schema
foreach (DataRow schemaRow in dt.Rows) {
foreach (DataColumn schemaCol in dt.Columns)
Console.WriteLine(schemaCol.ColumnName +
" = " +
schemaRow[schemaCol]);
Console.WriteLine();
}
int nRows = 0;
string output, metadataValue, dataValue;
// Read and display the rows
Console.WriteLine("Gonna do a Read() now...");
while(rdr.Read()) {
Console.WriteLine(" Row " + nRows + ": ");
for(c = 0; c < rdr.FieldCount; c++) {
// column meta data
DataRow dr = dt.Rows[c];
metadataValue =
" Col " +
c + ": " +
dr["ColumnName"];
// column data
if(rdr.IsDBNull(c) == true)
dataValue = " is NULL";
else
dataValue =
": " +
rdr.GetValue(c);
// display column meta data and data
output = metadataValue + dataValue;
Console.WriteLine(output);
}
nRows++;
}
Console.WriteLine(" Total Rows: " +
nRows);
}
} while(rdr.NextResult());
Console.WriteLine("Total Result sets: " + results);
rdr.Close();
}
</pre>
<p>We are able to get
String data (char, character, text, varchar), Int16 (smallint),
Int32 (integer), Int64 (bigint), DateTime (time, date, timestamp),
Boolean (boolean), Single (float), and Double (double).
More data types will come later. Note, the types that do work still
need thorough testing.
<p>Rows that are returned which contain columns that are NULL are handled now.
The SqlDataReader method IsDBNull() needs to be called to determine
if a field IS NULL before trying to read data from that field.
<p>Calling PostgreSQL stored procedures works. It does not work perfectly. It may not
even work to specification - yet. If you want to test it yourself, look at
TestSqlDataReader.cs or PostgresTest.cs in
mcs/class/System.Data/Test.
<p>Below, I have some sample code you can
use to call a PostgreSQL stored procedure named "version". This stored
procedure returns a string containing the PostgreSQL server version. Notice
the CommandType is StoredProcedure and the method ExecuteScalar() is called.
<p>ExecuteScalar() is a lightweight method in class SqlCommand that only returns
one row and one column as one object - even if there is more than row or column.
<pre>
static string GetDatabaseServerVersion (SqlConnection cnc)
{
SqlCommand cmd = cnc.CreateCommand ();
string data;
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "version";
data = (string) cmd.ExecuteScalar ();
return data;
}
</pre>
<p>We have the beginnings of Parameters support PostgreSQL. Only
Input Parameters are currently supported. Output, Input/Output,
and Return parameters still need to be done.
<p>A lot of functionality in System.Data is missing, but the
infrastructure is starting to come together.
<p>A lot of Exceptions need to be thrown for various exceptions. However,
SqlException, SqlErrorCollection, and SqlError have been partially
implemented.
<p>Tim Coleman and Rodrigo Moya got the beginnings of the
SqlDataAdapter/DataSet/DataTable/DataRow to work. Currently,
the SqlDataAdapter can Fill() relational data into a DataTable in a DataSet.
See the test mcs/class/System.Data/Test/TestSqlDataAdapter.cs to see it in action.
Below, I show a snippets from the test:
<pre>
string connectionString;
string sqlQuery;
SqlDataAdapter adapter;
DataSet dataSet = null;
connectionString =
"host=localhost;" +
"dbname=test;" +
"user=postgres";
sqlQuery = "select * from pg_tables";
adapter = new SqlDataAdapter (sqlQuery,
connectionString);
dataSet = new DataSet ();
adapter.Fill (dataSet);
if (dataSet != null) {
foreach (DataRow row in dataSet.Tables["Table"].Rows)
Console.WriteLine("tablename: " + row["tablename"]);
}
</pre>
<p>We do need help on the DataSet/DataAdaptor/DataTable/DataRelation/XML
functionality so we can integrate with
the ASP.NET controls and Windows.Forms controls by allowing the controls to bind
to a data source. Gonzalo, Gaurav, Leen, Patrik, Duncan, and others are
working very hard on the ASP.NET support. If you want to help,
contact <a href="mailto:[email protected]">Gonzalo Paniagua Javier</a>
<P>Need to add XML support in System.Data. This involves working on
the classes: DataSet and XmlDataDocument and the ExecuteXmlReader() in SqlCommand.
<p>The System.Data.dll gets built with the rest of the class library.
To compile the System.Data.dll assembly separately, you need:
<b>On Unix</b>
<ul>
* update your mono sources. Be sure you have latest mcs.exe
and .dll's, since there have been many fixes needed for
compilation on Linux.
* compile System.Data.dll:
<pre>
cd mcs/class/System.Data<br>
mcs --target library -o System.Data.dll @list
</pre>
</ul>
<b>On Windows</b>
<ul>
* update your mono sources. Be sure you have latest mcs.exe
and .dll's. You can use the same method as Linux,
or you can use NAnt.
* To use NAnt:
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe
</pre>
This will automatically copy the System.Data.dll to Test.
If you need to do a clean for the System.Data.dll assembly,<br><br>
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe clean
</pre>
</ul>
* Testing
<p>In order to test System.Data.SqlClient, you will need to have
access to a remote PostgreSQL DBMS, or you will have to install
one locally. PostgreSQL is the DBMS used for the initial
implementation of System.Data.SqlClient.
<p>Why? Because it is open source, has a client
library that is easy to use, PostgreSQL is easy to install on
Unix and Windows (using the Cygwin install program), not difficult to setup after
installation, and it runs under: Linux,
Windows (via cygwin and ipc-daemon), Unix, and
others. This allowed us to create the
System.Data functionality in Mono much quicker.
<p>If you plan on using a remote PostgreSQL DBMS Server,
than you will need to have the PostgreSQL client software on your
local computer that includes libpq.so (pq.dll on Windows).
<p>The System.Data tests use this connection string to connect
to the PostgreSQL database named "test" at host "localhost" as
user "postgres".
<pre>
"host=localhost;dbname=test;user=postgres"
</pre>
<p>Installation instructions for PostgreSQL DBMS:
<b>On Unix</b>
<ul>
* Read the PostgreSQL Installation Instructions
at \usr\doc\postgresql-x.x.x\html\installation.html
* Depending on your Unix system,
PostgreSQL maybe already installed, a database user 'postgres' created,
a linux user 'postgres' created and initdb ran. Or maybe not.
<pre>
su
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
initdb -D /usr/local/pgsql/data
postmaster -i -D /usr/local/pgsql/data
createdb test
psql test
</pre>
* Make sure you have a database user named postgres. It is best to install
the PostgreSQL DBMS under linux user postgres. When you run the postmaster,
run it under the user postgres as well. If this was not done, then you
will need to create a user named postgres for the System.Data tests.
* If you already installed PostgeSQL and you do not have a database
user named postgres, then you can create user postgres using psql:
<pre>
psql test
create user postgres with password 'fun2db';
</pre>
* The postmaster must be run with -i option.
* In the /usr/local/pgsql/data/pg_hba.conf file, you need
to have the AUTH_TYPE set to md5. You can read more on this at
/usr/doc/postgresql-7.2.1/html/client-authentication.html
or wherever your
PostgreSQL html docs are located. See the 2nd line below,
host 127.0.0.1 has an AUTH_TYPE md5 in pg_hba.conf.
<pre>
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
local all trust
host all 127.0.0.1 255.255.255.255 md5
</pre>
* If you can not find your PostgreSQL documentation locally or you
did not install it, then you
can get it <a href="http://www.postgresql.org/idocs/">here</a>.
</ul>
<b>On Windows</b>
<ul>
* Use the <a href="http://www.cygwin.com/">Cygwin</a> installer to
install the PostgreSQL DBMS. It is
found in the database category.
* <p>Read the file postgres-x.x.README at /usr/doc/Cygwin and read
the requirements to install PostgreSQL. Those requirements
are included with cygwin except cygipc. A default installtion
of cygwin does not install everything you will need, so on the
safe side, just include everything when installing cygwin.
* <p>The -x.x in postgres-x.x is the version of your PostgreSQL DBMS.
* <p>Once Cygwin has installed the PostgreSQL DBMS on your computer,
read the file FAQ_MSWIN which is available
in /usr/doc/postgres-x.x
* <p>Important notes from this file are:
<ul>
<p><b>2.</b> - Install the latest <a href="http://www.neuro.gatech.edu/users/cwilson/cygutils/OBSOLETE/V1.1/cygipc/index.html">CygIPC</a> package.
<p>The cygipc package contains the ipc-daemon you will need
to run before you can
run the PostgreSQL DBMS Server daemon (postmaster) or run
initdb which initializes the PostgreSQL database.
<p><b>3.</b> The Cygwin bin directory has to be placed in
the path before the Windows program directories,
for example, C:\cygwin\bin
<p><b>My own note.</b> In the Windows control panel, I set
the environment variables PATH to my cygwin /usr/local/bin,
/usr/bin, and /bin. I also set my LD_LIBRARY_PATH to
/usr/local/lib and /usr/lib. For example:
<p>
<pre>
PATH=c:\cygwin\usr\local\bin;c:\cygwin\usr\bin;c:\cygwin\bin;
LD_LIBRARY_PATH=c:\cygwin\usr\local\lib;c:\cygwin\usr\lib;
</pre>
<p><b>4.</b> Start the ipc-daemon that came with the cygipc
package. There
are two ways to do this: run it from the command line as:
<p>
<pre>
ipc-daemon &
</pre>
<p>or you can set it up as a Windows service. See the
file cygrunsrv.README at /usr/doc/Cygwin on how to do this
for ipc-daemon and postmaster. Note the
troubleshooting section at the end of
the cygrunsrv.README file.
<p>To install ipc-daemon as a service,
you just have to run
<p>
<pre>
ipc-daemon --install-as-service' (--remove-as-service)
</pre>
<p>and then run
<pre>
net start ipc-daemon
</pre>
</ul>
<p>Read the installation.html file
at /usr/doc/postgresql-x.x/html/installation.html
<p>You will see in this file that you will need to
run the following commands:
<p>
<pre>
mkdir /usr/local/pgsql/data
initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data
createdb test
psql test
</pre>
<p>When you need to connect to the database,
you will need ipc-daemon and postmaster running. Start ipc-daemon
before any of the command above. If you restart your computer, you
need to start ipc-daemon and postmaster either manually or as a
service.
<p>psql is a command-line PostgreSQL client tool to
enter and run SQL commands and queries.
<p>If there is no database user named postgres, create a user named
postgres with the following SQL command in the client tool psql:
<p>
<pre>
psql test
create user postgres with password 'fun2db';
</pre>
<p>The only reason I say this is so you can easily use the System.Data tests
without having to change the database, userid, etc.
</ul>
<p>In the path mcs/class/System.Data/Test
there is a PostgreSQL test program named
PostgreTest.cs. Thanks goes to Gonzalo for creating the original
PostgreSQL test.
<p>To use it to test System.Data, you
modify the file to your PostgreSQL database
connection requirements:
<p>
<ul>
<li><b>dbname</b> database, ie., test</li>
<li><b>host</b> hostname of the PostgreSQL DBMS Server to connect to, ie., localhost</li>
<li><b>user</b> username, ie., someuser</li>
<li><b>password</b> password, ie., mypass1234</li>
</ul>
<p>The connection string is in OLE-DB connection string format. Internally,
SqlConnection converts this to the PostgreSQL connection string format.
<p>
<pre>
OLE-DB: "host=localhost;dbname=test;user=joe;password=smoe"
PostgreSQL: "host=localhost dbname=test user=joe password=smoe"
</pre>
<p>
Note that OLE-DB includes the semicolons while PostgreSQL's connection
string does not.
<p>
To compile the PostgresTest.cs program, do:
<p>
<pre>
mcs PostgresTest.cs -r System.Data.dll
</pre>
<p>
To run using mint, do:
<p>
<pre>
mint PostgresTest.exe
</pre>
<p>
To run using mono, do:
<pre>
mono PostgresTest.exe
</pre>
<p>Below, I show how the output from PostgresTest. I have omitted a lot
of the meta data for the columns except two columns. The classes
used were from System.Data.SqlClient and were used to connect to a
PostgreSQL database and retrieve data.
<p>
<pre>
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
$ mcs PostgresTest.cs -r System.Data.dll
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
$ mono PostgresTest.exe
Postgres provider specific tests...
Drop table:
Error (don't worry about this one)SqlError:PGRES_FATAL_ERROR ERROR: table "mono
_postgres_test" does not exist
<Stack Trace>
Create table with all supported types:
OK
Insert values for all known types:
OK
Update values:
OK
Insert values for all known types:
OK
Aggregate: count(*)
Agg Result: 2
Aggregate: min(text_value)
Agg Result: This is a text
Aggregate: max(int4_value)
Agg Result: 1048000
Aggregate: sum(int4_value)
Agg Result: 1048003
Select values from the database:
Result is from a SELECT SQL Query. Records Affected: -1
Result Set 1...
Total Columns: 28
ColumnName = boolean_value
ColumnOrdinal = 1
ColumnSize = 1
NumericPrecision = 0
NumericScale = 0
IsUnique = False
IsKey =
BaseCatalogName =
BaseColumnName = boolean_value
BaseSchemaName =
BaseTableName =
DataType = System.Boolean
AllowDBNull = False
ProviderType = 16
IsAliased = False
IsExpression = False
IsIdentity = False
IsAutoIncrement = False
IsRowVersion = False
IsHidden = False
IsLong = False
IsReadOnly = False
...
ColumnName = null_timestamp_value
ColumnOrdinal = 28
ColumnSize = 8
NumericPrecision = 0
NumericScale = 0
IsUnique = False
IsKey =
BaseCatalogName =
BaseColumnName = null_timestamp_value
BaseSchemaName =
BaseTableName =
DataType = System.DateTime
AllowDBNull = False
ProviderType = 1184
IsAliased = False
IsExpression = False
IsIdentity = False
IsAutoIncrement = False
IsRowVersion = False
IsHidden = False
IsLong = False
IsReadOnly = False
Gonna do a Read() now...
Row 0:
Col 0: boolean_value: False
Col 1: int2_value: 5
Col 2: int4_value: 3
Col 3: bigint_value: 9
Col 4: float_value: 3.141590
Col 5: double_value: 3.14159
Col 6: numeric_value: 123456789012.345
Col 7: char_value: Mono.Data!
Col 8: varchar_value: It was not me!
Col 9: text_value: We got data!
Col 10: point_value: (1,0)
Col 11: time_value: 01/01/1 21:13:14
Col 12: date_value: 02/29/2000 00:00:00
Col 13: timestamp_value: 02/29/2004 14:00:11
Col 14: null_boolean_value is NULL
Col 15: null_int2_value is NULL
Col 16: null_int4_value is NULL
Col 17: null_bigint_value is NULL
Col 18: null_float_value is NULL
Col 19: null_double_value is NULL
Col 20: null_numeric_value is NULL
Col 21: null_char_value is NULL
Col 22: null_varchar_value is NULL
Col 23: null_text_value is NULL
Col 24: null_point_value is NULL
Col 25: null_time_value is NULL
Col 26: null_date_value is NULL
Col 27: null_timestamp_value is NULL
Row 1:
Col 0: boolean_value: True
Col 1: int2_value: -22
Col 2: int4_value: 1048000
Col 3: bigint_value: 123456789012345
Col 4: float_value: 3.141590
Col 5: double_value: 3.14159
Col 6: numeric_value: 123456789012.345
Col 7: char_value: This is a char
Col 8: varchar_value: This is a varchar
Col 9: text_value: This is a text
Col 10: point_value: (1,0)
Col 11: time_value: 01/01/1 21:13:14
Col 12: date_value: 02/29/2000 00:00:00
Col 13: timestamp_value: 02/29/2004 14:00:11
Col 14: null_boolean_value is NULL
Col 15: null_int2_value is NULL
Col 16: null_int4_value is NULL
Col 17: null_bigint_value is NULL
Col 18: null_float_value is NULL
Col 19: null_double_value is NULL
Col 20: null_numeric_value is NULL
Col 21: null_char_value is NULL
Col 22: null_varchar_value is NULL
Col 23: null_text_value is NULL
Col 24: null_point_value is NULL
Col 25: null_time_value is NULL
Col 26: null_date_value is NULL
Col 27: null_timestamp_value is NULL
Total Rows Retrieved: 2
Total Result sets: 1
Call ExecuteReader with a SQL Command. (Not INSERT,UPDATE,DELETE
).
Result is from a SQL Command not (INSERT,UPDATE,DELETE). Records Affected: -1
Total Result sets: 0
Call ExecuteReader with a SQL Command. (Is INSERT,UPDATE,DELETE)
.
Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: 1
Total Result sets: 0
Calling stored procedure version()
Result: PostgreSQL 7.2.1 on i686-pc-cygwin, compiled by GCC 2.95.3-5
Database Server Version: PostgreSQL 7.2.1 on i686-pc-cygwin, compiled by GCC 2.9
5.3-5
Clean up...
Drop table...
OK
RESULT: 0
</pre>
+70
View File
@@ -0,0 +1,70 @@
* Anonymous CVS access
Anonymous access to the Mono is available currently from three
servers (anoncvs-spain-1.go-mono.com,
anoncvs-spain-2.go-mono.com and anoncvs-us-1.go-mono.com).
You can also use `anoncvs.go-mono.com', and that will pick a
server automatically for you.
Sources are currently being updated every hour.
** Checking out the sources
To check out the sources for the first time from the
repository, use this command:
<pre>
export CVSROOT=:pserver:[email protected]:/mono
cvs login
cvs -z3 co mcs mono gtk-sharp
</pre>
That will get you the compiler and class libraries (mcs), the
interpreter and JITer (mono) and the Gtk# bindings.
The server is located in Spain.
** Updating the sources
To update your sources every day, you use this command:
<pre>
export CVSROOT=:pserver:[email protected]:/mono
cvs -z3 update -dP mcs mono gtk-sharp
</pre>
** Thanks
Thanks to <a href="http://www.hispalinux.es">HispaLinux</a>
for providing this Anon CVS server. The server is located in
Spain.
Special thanks to Jesus Climent, Rodrigo Moya, Juantomás
García and Ismael Olea for making this happen.
<a name="#mirror">
** Becoming an AnonCVS mirror
To become an AnonCVS mirror, you currently need about 20
megabytes of free disk space and bandwidth that you do not
mind sharing (you probably want enough to spare).
I need to be able to rsync to your machine from the main CVS
server. The preferred method to rsync is to setup ssh in your
machine.
The requirements are:
<ul>
* An account where we can ssh into.
* rsync.
* AnonCVS setup with the same paths as the rest of the
servers.
* Currently, about 40 megabytes of disk space, but this
will likely grow as the project evolves.
* A sysadmin contact e-mail address.
</ul>
Executable
+122
View File
@@ -0,0 +1,122 @@
* ASP.NET
ASP.NET support is divided in two pieces:
<ul>
* Web Forms (Web Applications infrastructure).
* Web Services (the SOAP-based rpc system).
</ul>
There is work underway for both systems. The Web Forms
support is more advanced at this point, and various ".aspx"
programs can be run using the Mono runtime and the XSP page
parser.
Tim started work on the Web Services early this week.
Although we have a SoapFormatter as part of the remoting
infrastructure already (contributed by Jesus), most people
will be using the ASP.NET Web-services support. Work for the
supporting class libraries just started recently.
* Web Forms: The pieces
There are a couple of components to the puzzle:
<ul>
* .aspx page parser (converts .aspx to C# code).
* System.Web.HttpRuntime support.
* Web controls (System.Web.UI.HtmlControls and
System.Web.UI.WebControls).
* Underlying infrastructure for the controls (System.Web.UI).
* HttpRuntime.ProcessRequest is the core of the ASP.NET
implementation.
</ul>
Gonzalo has been working on an ASP.NET parser that takes .aspx
files and generated the code required to run them (the code lives in
module `xsp' along with a little web server for testing).
Most of the runtime support was mostly written by Patrik Torstensson
(now at Intel). This was interesting, because in order to implement
some of its features, Patrik had to go into the runtime/JIT engine and
he spent a few weeks doing work there.
The classes for running ASP.NET are being actively written.
Gaurav, Leen and Patrik worked in the core of the classes
required to run ASP.NET web application as well as a small
embeddable web server.
Duncan got our System.Web assembly to compile.
** HttpRuntime
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation) but it is still not
ready to run.
** XSP
Currently XSP provides the .aspx compiler to C#. It would be
interesting to see if it makes sense to extend the ASP.NET
syntax to make it simpler to develop applications.
Gonzalo is in charge of the compiler.
** Controls
A lot of work has been put in the various classes that
implement the controls (UI.HtmlControls and UI.WebControls),
but they have been coded mostly in the dark, and without being
able to test them in real life: Gaurav and Leen worked very
hard on this namespace, but needs to be finished.
We can now render all HtmlControls and some WebControls. Work is
ongoing to make all WebControls render HTML.
** Extending ASP.NET
Currently you have to reference in your ASP.NET the control
and all of its properties, which works fine if you have a GUI
designer, but is harder for people used to develop using text
editors.
Since we have a parser, we could extend this parser to allow
people to still use ASP.NET controls, using a simpler syntax.
For example people doing blogs and editing their templates
over the web probably do not want to use direct ASP.NET but a
wrapper around it.
** Roadmap
1. The Parser.
2. Get the parser to generate output compatible with ASP.NET.
3. Run the sample output with the real Microsoft runtime
but using our generated page.
4. Run the sample with our classes with the .NET runtime.
<b>We are here</b>.
5. Finish HttpRuntime.
6. Running our sample code with our classes with our runtime.
** How to Help
Currently we are testing and fixing HtmlControls, WebControls and
validators.
In the CVS module XSP you can find the aspx to C# page parser,
a little web server used for testing and a directory containing
sample aspx pages.
You have some documentation under doc directory and in the README
file of each directory. They explain how to test our System.Web.
Testing is really easy!
+37
View File
@@ -0,0 +1,37 @@
* C# Books
A Programmer's Introduction to C# - Second Edition: Eric Gunnerson
* Remoting
<a href="http://www.dotnetremoting.cc/book/AdvancedDotNetRemoting.asp">
Advanced .NET Remoting: Ingo Rammer</a>
* Compiler Implementation
Compilers - Principles, Techniques, and Tools: Alfred V. Aho, Ravi Sethi,
Jeffrey D. Ullman
Advanced Compiler Design Implementation: Steven S. Muchnick
Modern Compiler Implementation in C: Andrew W. Appel
A Retargetable C Compiler - Design and Implementation: C. Fraser, David
Hanson
* Reference Manuals
<a
href="http://developer.intel.com/design/pentium/manuals/24319101.pdf">Intel
Architecture Software Developer's Manual, Volume 2 - Instruction Set Reference Manual</a>
<a
href="http://www.caldera.com/developers/devspecs/abi386-4.pdf">System V ABI
- i386 Architecture Processor Supplement</a>
<a
href="http://www.caldera.com/developers/devspecs/mipsabi.pdf">System V ABI -
MIPS Processor supplement</a>
<a href="http://www.sparc.org/standards/V8.pdf">The SPARC Architecture
Manual Version 8</a>
+129 -57
View File
@@ -1,15 +1,46 @@
* MCS: The Ximian C# compiler
MCS began as an experiment to learn the features of C# by
writing a large C# program. MCS is currently able to parse C#
programs and create an internal tree representation of the
program. MCS can parse itself.
MCS is currently able to compile itself and many more C#
programs (there is a test suite included that you can use).
Work is progressing quickly on various fronts in the C#
compiler. Recently I started using the System.Reflection API
to load system type definitions and avoid self-population of
types in the compiler and dropped my internal Type
representation in favor of using the CLI's System.Type.
We are in feature completion mode right now. There are still
a couple of areas that are not covered by the Mono compiler, but
they are very very few at this point.
MCS was able to parse itself on April 2001, MCS compiled itself
for the first time on December 28 2001. MCS became self hosting
on January 3rd, 2002.
The Mono Runtime and the Mono execution engine were able to make
our compiler self hosting on March 12, 2002.
A test suite is maintained to track the progress of
the compiler and various programs are routinely compiled and
ran.
** Obtaining MCS
The Mono C# compiler is part of the `mcs' module in the Mono CVS
you can get it from our <a href="anoncvs.html">Anonymous CVS</a> server,
or you can get nightly <a href="download.html">download page</a>.
** Running MCS
MCS is written in C# and uses heavily the .NET APIs. MCS runs
on Linux (with the Mono runtime) and Windows (with the .NET
framework runtime)
** Reporting Bugs in MCS
When you report a bug, try to provide a small test case that would
show the error so we can include this as part of the Mono C# regression
test suite.
If the bug is an error or a warning that we do not flag, write
a sample program called `csXXXX.cs' where XXXX is the code number
that is used by the Microsoft C# compiler that illustrates the
problem. That way we can also do regression tests on the invalid
input.
** Phases of the compiler
@@ -42,59 +73,62 @@
have to postpone this decision until the above steps
are finished.
* Code generation: nothing done so far, but I do not
expect this to be hard, as I will just use
System.Reflection.Emit to generate the code.
* Code generation: The code generation is done through
the System.Reflection.Emit API.
</ul>
** CIL Optimizations.
The compiler performs a number of simple optimizations on its input:
constant folding (this is required by the C# language spec) and
can perform dead code elimination.
Other more interesting optimizations like hoisting are not possible
at this point since the compiler output at this point does not
generate an intermediate representation that is suitable to
perform basic block computation.
Adding an intermediate layer to enable the basic block
computation to the compiler should be a simple task, but we
are considering having a generic CIL optimizer. Since all the
information that is required to perform basic block-based
optimizations is available at the CIL level, we might just skip
this step altogether and have just a generic IL optimizer that
would perform hoisting on arbitrary CIL programs, not only
those produced by MCS.
If this tool is further expanded to perform constant folding
(not needed for our C# compiler, as it is already in there)
and dead code elimination, other compiler authors might be
able to use this generic CIL optimizer in their projects
reducing their time to develop a production compiler.
<a name="tasks">
** Current pending tasks
Simple tasks:
<ul>
* Array declarations are currently being ignored,
* Redo the way we deal with built-in operators.
</ul>
* PInvoke declarations are not supported.
* Pre-processing is not supported.
* Attribute declarations and passing currently ignored.
* Compiler does not pass around line/col information from tokenizer for error reporting.
Larger tasks:
<ul>
* Jay does not work correctly with `error'
productions, making parser errors hard to point. It
would be best to port the Bison-To-Java compiler to
become Bison-to-C# compiler ([email protected]
might have more information)
</ul>
become Bison-to-C# compiler.
Nick Drochak has started a project on SourceForge for this.
You can find the project at: <a href="http://sourceforge.net/projects/jb2csharp/">
http://sourceforge.net/projects/jb2csharp/</a>
Critical tasks:
* Semantic Analysis: Return path coverage and
initialization before use coverage are two great
features of C# that help reduce the number of bugs
in applications. It is one interesting hack.
<ul>
* Resolve "base" classes and "base" interfaces for
classes, structs and interfaces.
Once this is done, we can actually do the semantic
analysis, because otherwise we do not know who our
parents are.
</ul>
Interesting tasks:
<ul>
* Finishing the JB port from Java to C#. If you are
interested in working on this, please contact Brian
Jepson (bjepson at oreilly d-o-t com).
More on JB at: <a href="http://www.cs.colorado.edu/~dennis/software/jb.html">
http://www.cs.colorado.edu/~dennis/software/jb.html</a>
JB will allow us to move from the Berkeley Yacc
based Jay to a Bison-based compiler (better error
reporting and recovery).
</ul>
** Questions and Answers
@@ -123,6 +157,10 @@ Q: If your C# compiler is written in C#, how do you plan on getting
We will do this through an implementation of the CLI Virtual
Execution System for Unix (our JIT engine).
Our JIT engine is working for the purposes of using the compiler.
The supporting class libraries are being worked on to fully support
the compiler.
Q: Do you use Bison?
A: No, currently I am using Jay which is a port of Berkeley Yacc to
@@ -133,19 +171,53 @@ A: No, currently I am using Jay which is a port of Berkeley Yacc to
In the future I want to port one of the Bison/Java ports to C# for
the parser.
Q: How do I compile it?
Q: Should someone work on a GCC front-end to C#?
A: Compiling MCS currently requires you to run my port of <a
href="http://primates.ximian.com/~miguel/code/jay.cs.tar.gz">Jay to
C#</a> on a Unix system to generate the parser, and then you need
to use Microsoft's .NET csc.exe compiler to compile the compiler.
A: I would love if someone does, and we would love to help anyone that
takes on that task, but we do not have the time or expertise to
build a C# compiler with the GCC engine. I find it a lot more fun
personally to work on C# on a C# compiler, which has an intrinsic
beauty.
You only need to compile the compiler compiler (C code), the
samples are Java samples that I did not port, and you do not need
them.
We can provide help and assistance to anyone who would like to work
on this task.
It might be simple to port Jay.cs to Windows, but I have not tried
this.
Q: Should someone make a GCC backend that will generate CIL images?
A: I would love to see a backend to GCC that generates CIL images. It
would provide a ton of free compilers that would generate CIL
code. This is something that people would want to look into
anyways for Windows interoperation in the future.
Again, we would love to provide help and assistance to anyone
interested in working in such a project.
Q: What about making a front-end to GCC that takes CIL images and
generates native code?
A: I would love to see this, specially since GCC supports this same
feature for Java Byte Codes. You could use the metadata library
from Mono to read the byte codes (ie, this would be your
"front-end") and generate the trees that get passed to the
optimizer.
Ideally our implementation of the CLI will be available as a shared
library that could be linked with your application as its runtime
support.
Again, we would love to provide help and assistance to anyone
interested in working in such a project.
Q: But would this work around the GPL in the GCC compiler and allow
people to work on non-free front-ends?
A: People can already do this by targeting the JVM byte codes (there
are about 130 compilers for various languages that target the JVM).
Q: Why are you writing a JIT engine instead of a front-end to GCC?
A: The JIT engine and runtime engine will be able to execute CIL
executables generated on Windows.
You might also want to look at the <a href="faq.html#gcc">GCC</a>
section on the main FAQ
+138
View File
@@ -0,0 +1,138 @@
* CVS Access
If you are an active Mono developer, you can get a CVS account
that hosts the Mono source code.
If you are not a developer, but want to track the development, please
see the <a href="anoncvs.html">AnonCVS</a> instructions.
Send an e-mail to miguel with your public SSH key for this
purpose. Please specify if the key was generated with SSH1 or SSH2.
If you are using SSH2, please generate your key using:
<pre>
ssh-keygen -t rsa
</pre>
And mail me the id_rsa.pub file.
If you are using SSH1, run:
<pre>
ssh-keygen
</pre>
And mail me your identity.pub file.
You will need CVS and SSH. Windows users can get both by
installing Cygwin (<a
href="http://www.cygwin.com">http://www.cygwin.com</a>)
Unix users will probably have those tools installed already.
** Checking out the sources
To check out the sources for the first time from the
repository, use this command:
<pre>
export CVS_RSH=ssh
export [email protected]:/cvs/public
cvs -z3 co mcs mono
</pre>
** Updating your sources
Every day people will be making changes, to get your latest
updated sources, use:
<pre>
cvs -z3 update -Pd mcs mono
</pre>
Note: The '-z3' enables compression for the whole cvs action.
The '-Pd' makes the update operation (P)rune directories that
have been deleted and get new (d)irectories added to the
repository.
** Making patches
Usually you will want to make a patch to contribute, and let
other people review it before commiting it. To obtain such a
"patch", you type:
<pre>
cd directory-you-want-to-diff
cvs -z3 diff -u > file.diff
mail [email protected] < file.diff
</pre>
** Keeping track of changes.
We provide two e-mail based mechanisms to keep track of
changes to the code base:
<ul>
* <a href="mailto:[email protected]">
[email protected]</a>: This mailing list receives
in patch form all the changes that are being made to the
CVS.
* <a href="mailto:[email protected]">
[email protected]</a>: This mailing list only
receives the CVS commit logs with a list of files
modified.
</ul>
We hope to offer LXR and Bonsai in the future as well.
** Commiting your work
Once you get approval to commit to the CVS, or if you are
commiting code that you are the maintainer of, you will want
to commit your code to CVS.
To do this, you have to "add" any new files that you created:
<pre>
cvs add new-file.cs
</pre>
And then commit your changes to the repository:
<pre>
cvs commit file-1.cs file-2.cs
</pre>
** The Mailing List
To keep track of the various development and changes to the
CVS tree, you can subscribe to the [email protected].
To subscribe, send an email message to
[email protected] and in the body of the
message put `subscribe'.
This will send you an email message every time a change is
made to the CVS repository, together with the information that
the author of the changes submitted.
** Recommendations
Please do not commit code that would break the compile to the
CVS, because that normally wastes everybody's time. Two things
are important in this step: trying to build your sources and making
sure that you add all the new files before you do a commit.
To build the sources, most of the type trying the `make' command
is enough. In some cases (the class libraries) we use nant, so
you need to run nant manually.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
CVS commit message (ie, paste the contents of this into the
editor buffer).
If you are making changes to someone else's code, please make
sure you get in touch with the maintainer of that code before
applying patches. You want to avoid commiting conflicting
work to someone else's code.
+44 -28
View File
@@ -26,7 +26,22 @@
If nobody is working on it, mail <a
href="mailto:[email protected]">[email protected]</a>
with the class you want to implement and CC <a
href="mailto:[email protected]">[email protected]</a>
href="mailto:[email protected]">[email protected]</a>.
You can also track live the activities of the Mono CVS module
by subscribing to the <a
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a>
** Missing features
Our class libraries miss some features, for example, most classes
do not implement the serialization bits at all, it would be a good
contribution to add this to each class.
This is a simple task, but it needs to be done in a compatible way
with the Microsoft.NET classes: using the same arguments to serialize
and reincarnate data.
** Layout
@@ -91,33 +106,11 @@
** Licensing
The class library will be licensed under the terms of the GNU
LGPL. Some people have pointed out that the plain LGPL is
troublesome for embedded use of the Mono class libraries. So
we are considering to use the GPL with a special exception
(like the <a
href="http://www.gnu.org/software/classpath/classpath.html">GNU
Classpath</a> project did.
The exception to the GPL would be:
<i>The library is distributed under the terms of the GNU General
Public License with the following exception:
If you link this library against your own program, then you do not
need to release the source code for that program. However, any
changes that you make to the library itself, or to any native
methods upon which the library relies, must be re-distributed in
accordance with the terms of the GPL.</i>
If you are going to contribute, please keep in mind that we
might require you to agree that Ximian might adjust the
license to enable the use of the class libraries on embedded
systems or to develop proprietary applications using Mono.
We suggest that you assign the copyright of your work to the
GNOME Foundation or the Free Software Foundation to simplify
defending the code in case it is used inappropiately.
The class library is being licensed under the terms of the
<a
href="http://www.opensource.org/licenses/mit-license.html">MIT
license.</a> This is the same license used by the X11 window
system.
** Class Library testing
@@ -125,6 +118,9 @@
the correctness of the class library, compiler, and JIT
engine.
Please write your regression tests using <a
href="http://nunit.sourceforge.net">NUnit</a>
** Coding conventions
Please follow the conventions on the ECMA specification (On
@@ -160,6 +156,26 @@
In those cases, use the keyword "LAMESPEC".
** Namespaces
We are using a number of namespaces in the class libraries for
private classes when we need them, you are encouraged to use these:
<pre>
Mono
.Languages // General Compiler classes
.CSharp // Specific C# parsing/tokenizing classes
.MonoBASIC // Specific VB.NET/MonoBASIC parsing/tokenizing classes
.Python // Specific Python parsing/tokenizing classes
.Runtime
.LateBind // General latebinding-support for MonoBASIC/Python
.MonoBASIC // Specific runtime classes for MonoBASIC programs
.Python // Specific runtime classes for Python programs
.Web
.UI
.Utils // Gaurav utility classes
</pre>
** FAQ
Frequently asked questions about the class library:
-27
View File
@@ -1,27 +0,0 @@
* Status of the various pieces of the class library
You can browse the status of the class library and see who has
registered to work on what parts of the system. These list
work-in-progress components currently.
<ul>
* Per <a href="class-status/per-assembly.html">Assembly</a>
* Per <a href="class-status/per-completion.html">Completion</a>
* Per <a href="class-status/per-maintainer.html">Maintainer</a>
* Per <a href="class-status/per-unimplemented.html">Unimplemented</a>
</ul>
A better mechanism will soon be in place, I just did this
really quickly, as we already got one duplicated implementation.
You can also download the XML <a
href="class-status/maintainers.xml">maintainers</a> file that
contains the actual maintainers list.
I am sure we can generate better reports, if you are
interested in contributing, let <a
href="mailto:[email protected]">me</a> know.
+26
View File
@@ -0,0 +1,26 @@
* Status of the various pieces of the class library
You can browse the status of the class library and see who has
registered to work on what parts of the system. These list
work-in-progress components currently.
Browse the current <a href="class-status/index.html">status</a>.
You can also download the XML <a
href="class-status/maintainers.xml">maintainers</a> file that
contains the actual maintainers list.
You can also download the master <a
href="class-status/class.xml">Class Status XML</a> file.
* List of not-implemented classes
Pick from the list of assemblies in the menu on the left to
view the current status of that assembly.
The tree shows items that are either missing or that have TODO
attributes associated with them.
You can use the checkboxes to show only missing or only TODO items.
Clicking on a name will take you to the <a href="http://msdn.microsoft.com/">MSDN documentation</a> for that item.
CTRL-Clicking will take you to the <a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?cvsroot=Mono">mono CVS tree</a>.
+105
View File
@@ -0,0 +1,105 @@
* Class Library Documentation
** Summary
<em>
[This documentation is in progress. Comments to
<a href="mailto:[email protected]">[email protected]</a>.]
</em>
While using inline XML tags to document classes is certainly
convenient, properly verbose documentation quickly overwhelms
the code, making the source quite difficult to read. Furthermore,
multilingual documentation makes for significant additional text.
With these considerations in mind, Mono will use external XML files
for type documentation, rather than documenting the source inline.
Several tools will be created for managing, verifying, generating,
and updating class library documentation, including:
<ul>
<li><a href="#docstub">docstub</a></li>
<li><a href="#docverify">docverify</a></li>
<li><a href="#docconv">docconv</a></li>
<li><a href="#docgen">docgen</a></li>
<li><a href="#monodoc">monodoc</a></li>
</ul>
** XML Documentation Files and Formats
*** Monodoc XML
This XML is similar to the XML documentation described in the
C# standard, with added tags for internationalization and a
slightly different structure. Documentation and a DTD/Schema
for Monodoc XML is forthcoming.
Monodoc XML does not contain any definitive type information,
and is only useful in conjunction with the Type definition for
whatever is being documented.
This XML could be generated by hand, by monostub, or by monodoc.
*** Assembly XML
This XML is generated by combining runtime type information for
an Assembly with a collection of Monodoc XML files. The resultant
XML (in the best of cases) contains both complete type and
documentary information for each type in the assembly.
This XML contains enough information to be transformed into
user-accessible documentation. It is likely that scripts
will be created to generate reference docs as HTML and other
formats.
Documentation and a DTD/Schema for Assembly XML is forthcoming.
** Documentation Tools
*** <a name="docstub">docstub</a>
Given a type name and an assembly, generates stub Monodoc XML
documentation for the type. Optionally, docstub can attempt to
populate initial documentation from an XML file in the format
published along with the ECMA standard.
*** <a name="docverify">docverify</a>
Given a Monodoc XML file and an assembly, verifies that the
documentation matches the compiled type. Checks signatures,
parameters, et cetera.
*** <a name="docconv">docconv</a>
Converts from Monodoc XML to the standard C# compiler-emitted
XML format and vice versa.
*** <a name="docgen">docgen</a>
Given an assembly and a collection of Monodoc XML files, creates
an Assembly XML file containing all documentation and type information
available. This output is suitable for transforming into user
documentation.
*** <a name="monodoc">monodoc</a>
A GUI tool for documentation and translation, this encapsulates
the capabilities of docstub, docverify, docconv, and docgen in
a friendly user interface. In addition, monodoc provides features
to ease translation, such as side-by-side editing and coverage
statistics.
** Status and Roadmap
*** 2 January 2002
As I write the initial version of this document, very little has been
implemented. Currently, there is a:
<ul>
<li>Preliminary version of the Monodoc XML format</li>
<li>Preliminary version of the docstub utility</li>
</ul>
Here's hoping for frequent, productive updates.
** Get Involved
Help us define Mono's documentation structure! Subscribe to
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
and wade right in.
-3
View File
@@ -1,8 +1,5 @@
* Contacting the Mono team.
You can contact the Mono Team by sending e-mail to `<a
href="mailto:[email protected]">mailto:[email protected]</a>'.
You can contact the general forum of discussion by sending
e-mail to <a href="mailto:[email protected]">[email protected]</a>
+150 -8
View File
@@ -10,7 +10,7 @@
href="tools.html">the tools</a>, the <a
href="testing.html">testing framework</a>
* <b>Writers:</b> You can help us with writing <a
* <b>Writers:</b> You can help us bywriting <a
href="documentation.html">documentation</a>.
</ul>
@@ -18,22 +18,164 @@
something that would help tremendously would be to help with
small duties in the project that need to be addressed.
You can see what needs to be done in the class libraries <a href="class-status.html">here</a>
* IRC Channel
Many developers get together on the <b>#mono</b> irc channel
on the <b>irc.gnome.org</b> server.
** To start contributing
As a programmer, you can contribute in three different scenarios to Mono:
<ul>
* If you only have Linux/Unix.
* If you only have Windows.
* If you have both Linux and Windows.
</ul>
You might also want to check our <a href="#setup">common
setups</a> section that describes some common setups that people
use while working on Mono.
*** Contributing to the class library, regression tests or the compiler
This only requires Windows currently.
To start developing classes or to contribute to the compiler,
you only need Windows and the .NET Framework 1.0 SDK. Please notice
that you do not need Visual Studio (although you can use it if
you want). The .NET Framework SDK requires some version of
Windows XP or Windows NT. If you are running Windows 98, 95
or Me, you could use instead the <a
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml">.NET Redist package</a>, but it
lacks the documentation browser and the ildasm program (C#, VB, JScript and IL
assembler are included).
You can get it <a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
If you are new to .NET, writing regression tests is a good way
of starting to contribute: it will help you get used to C# as
well as getting comfortable with the .NET APIs.
This helps because at this point you might be the best
qualified person to fix a problem found by the regression
test, or you might have a new class to implement in the .NET
world that only has a test suite.
To get started writing tests see the <a href="testing.html">Test Suite</a>
section. <a href="mono-contribution-howto.html">Here</a> there is a good All-In-One introduction to the art of writing tests.
*** Contributing to the runtime engine
This only requires Linux, currently some tasks are easier if you
have access to Windows as well.
Here are a few things you can do:
<ul>
* Port the runtime to other architectures.
* Port the runtime to other operating systems.
* Finish the IL code verifier in the runtime.
* Hack the JIT, improve the code generator, add new
pattern rules, improve the register allocator.
* Implement the debugging interfaaces
</ul>
** Bug reporting
If you find bugs in Mono, please make sure you enter a bug
report so we can keep track of problems in Mono.
To enter bug reports go to <a href="http://bugzilla.ximian.com">
http://bugzilla.ximian.com</a> and enter bug reports against
your favorite component (Mono, Runtime, C# compiler).
You can review the list of current bugs by going <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FMCS&product=Mono%2FRuntime&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=%27Importance%27&form_name=query">here</a>
** Small tasks
A few smaller tasks are here, dropped in no particular order:
<ul>
* <b>MCS compilation process:</b> Currently MCS does
not build with a single `make' command. This should
be fixed (this being part of the `Joel Test' that
software has to pass).
* <b>Mono/doc and web site:</b> They need to be
packaged up in the official `distribution'
* <b>Enthusiasts: </b>
* Adding serialization support to all the classes.
We have many classes, but we have not implemented in
many cases the serialization and re-incarnation support in
them (this is pretty straight forward code, and simple,
but there is a lot to be done here).
</ul>
* Special note
* Emacs support
Brad Merryl's C# mode for Emacs is available: <a
href="http://www.cybercom.net/~zbrad/DotNet/Emacs/">http://www.cybercom.net/~zbrad/DotNet/Emacs/</a>
* Books on C# and DotNet.
<ul>
* Dotnet Books (<a href="http://www.dotnetbooks.com">http://www.dotnetbooks.com</a>)
* Dotnet Resources (<a href="http://www.dotnetexperts.com/resources/">
http://www.dotnetexperts.com/resources</a>)
* O'Reilly C# Essentials (<a href="http://www.oreilly.com/catalog/csharpess/">
http://www.oreally.com/catalog/csharpess</a>)
* O'Really .NET Essentials (<a href="http://www.oreilly.com/catalog/dotnetfrmess/">
http://www.oreally.com/catalog/dotnetfrmess</a>)
</ul>
<a name="setup">
* Common Setups
People running both Linux and Windows while contributing to
Mono use a number of tricks to increase their productivity.
Scenarios:
<ul>
* <b>Linux host and Windows host</b>
The Windows file system is shared (right click on
your hard drive icon, and select sharing, allow this
to be shared).
The Windows machine has the required build tools
(cygwin, and the .NET framework). On the Windows
machine, you want to setup the ssh server (run the
ssh-host-config program to configure your ssh) and
run it (from a cygwin terminal, type: /usr/sbin/sshd).
From the Linux side, you want to mount the Windows
file system, using something like this:
<tt><pre>
mount -t smbfs -o uid=miguel,username="Miguel de Icaza" "//quack/c$" /mnt
</pre></tt>
In the above example, my Linux user name is
`miguel', and this will allow this user to have
read/write access to the share.
The host name is `quack', and the name of the share
is `c$' (that is the C: partition).
The file system is accessible on /mnt.
You can perform your cvs update and cvs commits from
the /mnt directory, and run Emacs or your favorite
Linux text editor on the Unix side in this way.
Then from another terminal, you can ssh into your
Windows box using ssh, like this: ssh "Miguel de Icaza@quack"
</ul>
* Special Note
If you have looked at Microsoft's implementation of .NET or
their shared source code, you may not be able to contribute
+190
View File
@@ -0,0 +1,190 @@
* Developer FAQ
** New classes
Q: Should we write classes which are not part of the .NET or ECMA specs?
A: Yes. The ECMA and .NET specifications are far from complete, and
to produce a complete platform we will need a number of other
classes and components.
Any new classes that are not part of .NET or ECMA should be
designed to be reusable on anyone's CLI implementation. So that
Windows developers can also use any new classes that we come up
with.
We have a few existing <a href="ideas.html">Ideas on missing
classes</a>
** Language Compatibility
Q: What is the magic that allow multiple languages to co-exist?
A: From Fergus Henderson:
<i><blockquote>
There are different levels of interoperability.
The ECMA spec defines different categories of
CLS (Common Language Specification) conformance.
There are also some useful categories that don't
correspond to any of the levels defined in the ECMA spec.
In increasing degree of difficulty, your language implementation
can
<ul>
* (a) just generate IL
* (b) be a CLS "consumer", which means that it can read in
meta-data describing component interfaces,
and that it provides a way to declare variables of
CLS-complaint types and to call CLS-complaint methods.
* (c) be a CLS "extender", which means that it can in addition
derive from CLS-compliant classes
and implement CLS-compliant interfaces
* (d) be able to produce components with *any* CLS-compliant
component interface.
</ul>
Supporting some of these may require extending your language. However,
you can get quite a lot of interoperability by just putting appropriate
functionality in your compiler, without extending your language.
For some things, e.g. ASP.NET, your language implementation also needs to be
able to
<ul>
* (e) consume CodeDom trees. CodeDom trees are an abstract
representation of programs in a form similar to a C# parse
tree, with embedded code snippets (unparsed strings).
Given a CodeDom tree, with the snippets in your language,
your language implementation needs to generate a (i) .NET
assembly and possibly also (ii) a source file in your language.
* (f) produce CodeDom trees. For some applications,
your language implementation also needs to be able to
round-trip from CodeDom -> your language -> CodeDom.
</ul>
and for some things it needs to
<ul>
* (g) generate *verifiable* IL
</ul>
So when you hear all the hype about how language XYZ is a
".NET language", make sure you ask which of these different
things are supported.
[For the record, Mercury currently supports (a). We're working on
(b) and (g), and on parts of (c) and (e). We're never going to do (f), I very
strongly doubt we'll ever do (d), and for (c) we might only ever support
implementing interfaces, not deriving from classes.]
</blockquote></i>
** PInvoke
Q: What are the two major initiatives to implement PInvoke?
A: Fergus Henderson answers:
<i><blockquote>
Many of the .NET APIs will need to be implemented using code that calls C/Unix
APIs, such as stat(). The standard way of interfacing with native code from
.NET code is to use "PInvoke". However, there is a difficulty: many of
these APIs are defined in terms of types such as C's `long' or `size_t'
or the Posix `struct stat' whose representation varies depending on the
platform (architecture/OS/C compiler). There's no *portable* way of
accessing those from .NET managed code.
So, there are a couple of different approaches.
One possibility is to access such routines by writing a wrapper, e.g. in C,
that provides the same functionality without using types with a system-dependent
representation. The wrapper can then be directly accessed from portable
.NET code. The .NET code remains both source- and binary-portable;
the wrapper code is source-portable, but needs to be compiled
seperately for each target platform. The drawback of this approach is
that you have to write a lot of cumbersome wrapper code.
Another possibility is to extend the .NET VM with support for an
additional custom attribute, e.g. "[PosixType]". The VM would then
represent types tagged with this attribute in the same way that the
underlying system represents those types. With this approach, no
wrapper code would be needed. A drawback of this approach is that it
pushes quite a bit of complexity into the VM; the VM would have to know
the native representation of all types annotated with this attribute.
Another drawback is that code using this extension might not work on
different VMs.
There have also been some other suggestions, but those are the two that
I think are the best.
</blockquote></i>
Q: What is the problem implementing PInvoke?
A: Again, from Fergus Henderson:
<i><blockquote>
There's no problem implementing PInvoke as specified in the ECMA
specs and/or MS documentation. It's just that PInvoke by itself
doesn't solve all of the problems; in particular it doesn't solve
the problem of C types whose representation is different on different
systems.
</blockquote></i>
** CVS use
Q: Why do we keep ChangeLogs and make the CVS commit messages be the
same? One could be generated from the other
A: There are a number of reasons for keeping ChangeLog files as well as
CVS commit files:
<ul>
* Offline programming: when people are traveling, CVS logs are
not available.
* Slow CVS access: Many people work over modem lines (very
typical for contributors in Europe, Asia, Latin America)
using CVS is slow and might not be available to you (cvs
server down, no anoncvs server available).
* ChangeLogs travel in a released tarball package, so it is
possible to study the rationale of changes even after a
project is long "released", or you only have the sources for
the code.
* ChangeLog are not metadata for each file, they are live
files that you can browse in the package that is being
distributed.
</ul>
Making the CVS commit message be the same as the ChangeLog has other
benefits:
<ul>
* You can track down with `cvs log' what things were changed,
and match those to meaningful reports on the intentions of
the commit.
* When reading the commits-list, you can get a glimpse of the
changes without having to diff out or cvs update your tree.
* You can read off-line the changes that are being made
(asyncrouns operation).
</ul>
This mechanism works very well for GNOME and other projects.
Q: Should I use any of the special RCS keywords like $Id: devel-faq,v 1.1 2001/07/31 21:13:05 miguel Exp $, $Author: miguel $,
$Date: 2001/07/31 21:13:05 $, or $Revision: 1.1 $?
A: Please avoid using those in the source code in the CVS. They
are not really useful, and they cause a lot of conflicts when
people have separate CVS trees.
It was a nightmare with the Linux kernel when two people had their
private CVS trees and were submitting patches to the core.
+24 -12
View File
@@ -31,20 +31,32 @@
** Class Library documentation
When contributing to the Class Library effort, please use the
inline XML documentation tags to document your classes so we
can automatically generate the documentation from the class
libraries.
If you provide examples, please do not embed them into the
source code, as that will make the source code harder to read
and maintain. Instead, put examples for your code into a
subdirectory of the class libraries. Make your sample
code a full standalone application that people can compile.
Ideally the Mono documentation browser will let you edit, modify
and run the sample programs.
We are moving to a new setup for documenting the class libraries,
and you can read about it <a href="classlib-doc.html">here</a>.
A few words of warning and advice for class documentors:
A well-documented API can ease hours of frustration; as Mono
matures, robust and complete class library documentation will
become increasingly important. As you write API documentation,
whether it is embedded in source files or in external Monodoc XML,
please keep the following in mind:
Plagarism, even if it's unintentional, is a Bad Thing(TM).
Microsoft's .NET Framework Class Library documentation is an
excellent resource for understanding the behavior and properties of
a type, and a lot of hard work went in to creating this (copyrighted)
resource. Please don't copy from Microsoft's reference when
documenting a type.
To avoid this, I (<a href="mailto:[email protected]">[email protected]</a>)
suggest that you read the complete Microsoft documentation for a type,
ponder it for a while, and write the Mono documentation in your own
words. While it's certainly okay to refer to the Microsoft
documentation to clarify your understanding of behavior or properties,
please don't open the Microsoft docs and refer to them for each member
you document.
There's a lot of domain expertise among the class library contributors;
let's put the same personal stamp on the class library documentation
that we have on the class libraries themselves.
+350 -13
View File
@@ -2,7 +2,7 @@
The Virtual Execution System is available in package `mono'.
Currently this contains a metadata library and the
disassembler. Please reffer to our <a
disassembler. Please refer to our <a
href="runtime.html">Runtime</a> description for more details
on this part of the project.
@@ -10,19 +10,362 @@
test suite and the class library are in the `mcs' package, we
will move this later into `mono' itself.
The mcs compiler requires the `jay' parser generator, this is
available in module `jay'.
In order to make mcs and the class libraries you will need a computer
running Windows with the <strong>GNU make tools</strong> from the
<strong>Cygwin</strong> environment, <strong>Microsoft's .NET Framework
SDK</strong>, <strong>GLIB 2.0</strong> and
<strong>pkg-config</strong>.
** Sources
When installing Cygwin, don't forget to include
<tt>mingw-runtime</tt>. If you omit this, you will encounter
configure problems regarding not being able to generate
executables.
Currently we will be providing CVS snapshots every day, until
we make the first tarball release.
<a name="sources">
*** Sources
Stay up to date on the Mono team's development using the
<a href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">
mono-cvs-list</a> mailing list. The CVS source code can also
be browsed <a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?cvsroot=Mono#dirlist">here</a>
<a name="jun-7">
<b>Mono 0.12</b>
New packaged versions of the Mono C# compiler and Mono runtime
are now available. The latest version is 0.12.
<ul>
* <a href="archive/mono-0.12">Mono 0.12 release notes</a>
* <a href="archive/mcs-0.12.tar.gz">mcs-0.12.tar.gz</a>
Mono C# compiler with class library source code.
* <a href="archive/mono-0.12.tar.gz">mono-0.12.tar.gz</a>
Mono runtime.
</ul>
* Snapshots
Volunteers package up daily the sources:
<ul>
* <a href="http://www.atoker.com/mono">Debian Linux</a>
* <a href="http://mono.baselabs.org/index.php/software">Red Hat Linux</a>
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
</ul>
<a name="snapshots">
For up to date sources, it is recommended that you use the Mono
source code from either the
<a href="http://www.go-mono.com/snapshots">nightly snapshots</a> or
the <a href="anoncvs.html">Anonymous CVS</a>. The nightly
snapshots are done every night at 10pm EST (Boston Time).
The nightly snapshots are not guaranteed to build, but most of the
time they should. They should give you a window to see what we are
up to.
You can download the GNU make tools and the Cygwin environment from
<a href="http://www.cygwin.com">www.cygwin.com</a>.
You can download Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
msdn.microsoft.com/downloads</a>.
There are scripts to help build mono for both Unix and Windows. Get
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
href="mono-build-w32.sh">mono-build-w32.sh</a> for Windows.
These scripts automate the installation of GLIB and pkgconfig
(building from source on Unix, and using binary packages
provided by the GIMP for Windows project on Windows.) To use
the script, follow these simple steps:
<ul>
* Save the script for your platform somewhere (e.g. /usr/local/bin)
* Make the script executable (i.e chmod 755 /usr/local/bin/mono-build.sh)
* Create a directory to hold the mono source, and the compiled binaries (e.g. mkdir ~/mono)
* Change to the new directory (i.e. cd ~/mono)
* run the script (i.e. /usr/local/bin/mono-build.sh)
</ul>
The script requires wget on either platform, and building the
software requires make, gcc, automake, autoconf, and libtool.
You should install these packages from your distribution or
with the cygwin installer.
The script will download required packages from
www.go-mono.com and do a cvs checkout of mono in the current
directory. The cvs server chosen defaults to anonymous cvs;
set your CVSROOT environment variable before running the script to
select a particular cvs server.
** Mono Regression Test Suite
You can get binaries for the Mono Regression Test Suite <a
href="archive/mono-tests.tar.gz">here</a>
<a name="install">
** Building the software manually
*** Download the required software.
<ul>
* Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
msdn.microsoft.com/downloads</a>.
* Cygwin and the GNU Make tools from
<a href="http://www.cygwin.com">www.cygwin.com</a>.
Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases.
* Precompiled GLIB 1.3 and pkg-config packages (and
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
<a href="http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip">http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip</a>
<a href="http://www.go-mono.com/archive/glib-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-1.3.12-20020101.zip</a>
<a href="http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip</a>
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a>
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a>
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a>
* Download the Mono source code from the
<a href="#feb-11">packaged versions</a> or
the <a href="http://www.go-mono.com/snapshots">
nightly snapshots</a> or the <a href="anoncvs.html">
Anonymous CVS</a>. The nightly snapshots are done every
night at 10pm EST (Boston Time). The nightly snapshots are
not guaranteed to build, but most of the time they should.
</ul>
*** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 1.3 and pkg-config libraries.
<ul>
* Install <a href="http://www.cygwin.com">Cygwin</a>.
* Install <a href="http://msdn.microsoft.com/downloads">
Microsoft .NET Framework SDK</a>.
* Change to the <strong>/usr/local</strong> directory
of your Cygwin installation.<br>
Unzip the precompiled packages listed above.
</ul>
*** On Windows, to install and work on the compiler and the class libraries:
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to <strong>"mcs"</strong>.
* Compile:
<pre>
<strong>make windows</strong>
</pre>
</ul>
*** On Windows, to compile the mono runtime:
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to <strong>"mono"</strong>.
* Configure, compile and install:
<pre><strong>
./configure --prefix=c:/mono
make
make install
</strong></pre>
</ul>
*** On Unix, to compile the mono runtime:
<ul>
* Install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
* Install glib 1.3. You can download it
from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">ftp.gtk.org</a>. Maybe you need
to modify your ACLOCAL_FLAGS for pkg-config, for example if
your install prefix is /usr/local:
<pre>
<strong>export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"</strong>
</pre>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshots
</a>, untar the snapshot.
* Change directories to <strong>"mono"</strong>.
* Configure, compile and install:
<pre><strong>
./configure
make
make install</strong>
</pre>
</ul>
*** Notes on compiling GLIB 1.3 and pkg-config from source:
<ul>
* Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases (don't forget to do a
`make maintainer-clean' after the update).
* Download, compile and install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a> from source.
(I had to change line 674 of
<nobr><tt>pkg-config-0.8.0/glib-1.2.8/gstrfuncs.c</tt></nobr> from
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
<pre><strong>
tar xzvf pkg-config-0.8.0.tar.gz
cd pkg-config-0.8.0
./configure --prefix=/usr
make
make install</strong>
</pre>
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
If you dont have MS Visual C/C++ 4.0 or 5.0 or 6.0 you can also try
the binary package available at <a
href="http://www.gimp.org/win32/libiconv-dev-20001007.zip">
http://www.gimp.org/win32/libiconv-dev-20001007.zip</a>.
* Download, compile and install the
<a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">
glib 1.3</a> from source.
</ul>
<a name="oldreleases">
*** Old releases.
<ul>
<ul>
<a name="apr-24">
<b>Mono 0.11; April 24, 2002</b>
* <a href="archive/mono-0.11">Mono 0.11 release notes</a>
* <a href="archive/mcs-0.11.tar.gz">mcs-0.11.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.11.tar.gz">mono-0.11.tar.gz</a>
Mono runtime
</ul>
<ul>
<a name="mar-27">
<b>Mono 0.10; March 27, 2002</b>
* <a href="archive/mono-0.10">Mono 0.10 release notes</a>
* <a href="archive/mcs-0.10.tar.gz">mcs-0.10.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.10.tar.gz">mono-0.10.tar.gz</a>
Mono runtime
</ul>
<ul>
<a name="feb-22">
<b>Mono 0.9; February 22, 2002</b>
* <a href="archive/mono-0.9">Mono 0.9 release notes</a>
* <a href="archive/mcs-0.9.tar.gz">mcs-0.9.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.9.tar.gz">mono-0.9.tar.gz</a>
Mono runtime
</ul>
<a name="feb-11">
<b>February 11, 2002</b>
* <a href="archive/mcs-0.8.tar.gz">mcs-0.8.tar.gz</a>
Mono C# compiler
* <a href="archive/mono-0.8.tar.gz">mono-0.8.tar.gz</a>
Mono runtime
</ul>
<a name="sep-18">
<b>September 18, 2001</b>
<ul>
* <a href="archive/mono-0.7.tar.gz">mono-0.7.tar.gz</a>: Mono Runtime 0.7 release.
* <a href="archive/mcs-0.7.tar.gz">mcs-0.7.tar.gz</a>: Mono Compiler and Classes 0.7 release.
* <a href="archive/mono-0.7">Release Notes.</a>
</ul>
<a name="august-22">
<b>August 22, 2001</b>
<ul>
* <a href="archive/mono-0.6.tar.gz">mono-0.6.tar.gz</a>: Mono Runtime 0.6 release.
* <a href="archive/mono-compiler-classes-0.6.tar.gz">mono-compiler-classes-0.6.tar.gz</a>: Mono Compiler and Classes 0.6 release.
* <a href="archive/mono-0.6">Release Notes.</a>
</ul>
<a name="july-29">
<b>July 29, 2001</b>
<ul>
* <a href="archive/mono-0.5.tar.gz">mono-0.5.tar.gz</a>: Mono Runtime 0.5 release.
* <a href="archive/mono-0.5">Release Notes.</a>
</ul>
<a name="july-22">
<b>July 22, 2001</b>
<ul>
* <a href="archive/mcs-22-Jul-2001.tar.gz">mcs-22-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mcs-Jul-22-Jul-19-2001.tar.gz">Differences since 19</a>: CVS snapshot.
* <a href="archive/mcs-22">Release Notes.</a>
</ul>
<a name="july-19">
<b>July 19th, 2001</b>
<ul>
* <a href="archive/mcs-19-Jul-2001.tar.gz">mcs-19-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mcs-Jul-17-Jul-19-2001.tar.gz">Differences since 17</a>: CVS snapshot.
* <a href="archive/mcs-19">Release Notes.</a>
</ul>
<a name="july-17">
<b>July 17th, 2001</b>
<ul>
* <a href="archive/mcs-17-Jul-2001.tar.gz">mcs-17-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mcs-Jul-15-Jul-17-2001.tar.gz">Differences since 15</a>: CVS snapshot.
* <a href="archive/mcs-17">Release Notes.</a>
</ul>
<a name="july-15">
<b>July 15th, 2001</b>
<ul>
* <a href="archive/mcs-15-Jul-2001.tar.gz">mcs-15-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mono-0.4.tar.gz">mono-0.4.tar.gz</a>: Packaged Source Code.
* <a href="archive/mono-0.4">Release Notes.</a>
</ul>
<a name="july-14">
<b>July 14th, 2001</b>
<ul>
* <a href="archive/jay.cs.tar.gz">archive/jay.cs.tar.gz</a>: Sources to Jay.
* <a href="archive/mcs-12-Jul-2001.tar.gz">mcs-12-Jul-2001.tar.gz</a>: CVS snapshot.
* <a href="archive/mono-0.3.tar.gz">mono-0.3.tar.gz</a>: Packaged Source Code.
</ul>
@@ -31,14 +374,8 @@
<b>July 8th, 2001</b>
<ul>
* <a href="archive/jay.cs.tar.gz">archive/jay.cs.tar.gz</a>: Sources.
* <a href="archive/mcs-08-Jul-2001.tar.gz">mcs-08-Jul-2001.tar.gz</a>: CVS Snapshot
* <a href="archive/mono-08-Jul-2001.tar.gz">mono-08-Jul-2001.tar.gz</a>: CVS Snapshot
</ul>
</ul>
** CVS
We are trying to figure out where to put our CVS repository.
We are debating between the GNOME CVS or SourceForge. Watch
this spot.
+732 -350
View File
File diff suppressed because it is too large. Load diff
+73 -1
View File
@@ -1,15 +1,39 @@
* Ideas
There are many pending classes that need to be implemented. Those have
the highest impact in the Mono project: the sooner they are done,
the sooner we can start using this platform to create new and
exciting applications.
That being said, if you are not very excited about working on class
libraries, here is a list of other related projects or tools that might
be useful to the Mono project.
Here are a few ideas of tools, classes and projects that you
could start. More are forthcoming.
<a name="runtime">
** Runtime
We need a verifier that can be run on an executable (assembly)
and tells whether the metadata for the executable is correct
or not. It should report any anomalies.
For a list of anomalies in assemblies, check the various assertions
that are described on the ECMA documentation.
This will help test our generated executables and can be also
used as an external verifier.
<a name="classes">
** Classes
<ul>
TODO=jxta,The JXTA Peer to Peer foundation
* Implement a JXTA protocol implementation:
<a href="http://www.jxta.org">http://www.jxta.org</a>
TODO=camel,Mail API
* Implement a Mail API, similar to Camel or JavaMail (Camel has
significant architecture features that are required on a real
mailer).
@@ -18,23 +42,71 @@
<a href="http://cvs.gnome.org/bonsai/rview.cgi?dir=evolution%2Fcamel">
Camel implementation</a>.
Such an implementation could be used both with
Microsoft .NET and Mono.
TODO=multimedia
* Interfacing to Multimedia systems. You might want
to look into the Quicktime API. I know <a
href="mailto:[email protected]">Vladimir</a> has
researched the problem before
</ul>
<a name="projects">
** Projects
<ul>
TODO=xmlStorage,
* Implement an xmlStorageSystem for the CLI:
<a href="http://www.soapware.org/xmlStorageSystem">
http://www.soapware.org/xmlStorageSystem</a>
TODO=guavac,Java compiler for .NET
* You could take one of the existing Java compilers
(Guavac comes to mind as it is so nice) and modify
it to generate .NET code rather than JVM byte
codes.
This should be a pretty straightforward task.
Guavac has the advantage of being written in C++ and
it could be compiled with the Microsoft Managed C++
compiler and produce a .NET executable with it.
TODO=CORBA,CORBA implementation
* Build a CORBA interoperability engine for the CLR.
You do not need to do all of the work, just talking
the protocol will get us a long way (<a
href="http://www.omg.org">The OMG site</a> has the CORBA specs).
href="http://www.omg.org">The OMG site</a> has the
CORBA specs).
Get in touch with David Taylor (dtaylo11 at bigpond
dot net dot au) as he has been working on this
project.
TODO=Bonobo,Bonobo for Mono
* Once CORBA is done, implement the Bonobo interfaces
to allow people to use Bonobo components in Mono and
Mono components with Bonobo. The best of both worlds!
TODO=moniker,Object Naming System with Monikers
* A naming space for Mono. An object naming space is
a very powerful tool. Bonobo implements a moniker
system that is more powerful than the original
moniker concept that was pioneered by COM/OLE in the
Microsoft world.
Our implementation builds on a concept, and we have
made it simpler, more powerful, more extensible and
a much better mechanism than the equivalent monikers
on Windows.
Implementing Mono monikers would benefit both
Windows users using .NET and Mono users on Unix and
Windows.
Here is <a
href="http://primates.ximian.com/~miguel/monikers.html">an
overview of the moniker system</a> in Bonobo.
</ul>
+1484 -24
View File
File diff suppressed because it is too large. Load diff
Executable
+62
View File
@@ -0,0 +1,62 @@
* Java
It would be interesting to support the Java language as part
of the Mono project.
You have to think of Java as various pieces: Java the
language and Java the virtual machine.
It is possible to compile Java to .NET, as shown by the
Microsoft J# compiler. We could then allow the migration of
Java applications to the Mono runtime.
** Native compiler
Although a native compiler can be built, and probably should be
built using an existing compiler, a short term solution is to
build a translator from Java class files to the ECMA CIL images.
This has the advantage that we can use an existing and tested
Java compiler to generate the code, and then we can use an automated
code compiler that compiles Java VM bytecodes to CIL bytecodes.
** The translator.
It would be interesting to write a semantic translator that
converts java byte codes into CIL opcodes. This is possible
because the Java byte codes are a subset of the CIL ones.
A semantic tree needs to be constructed (very much in the
spirit of what is done in mono_analize_stack in
<tt>mono/mono/jit/jit.c</tt>. Once such a semantic tree is
constructed, we could generate the equivalent Java code.
This has a number of interesting side effects: people can
continue to use their existing Java compilers to compile their
code, and a simple tool that converts their .class files into
a .NET assembly can be used.
** Libraries
We could translate the GNU Classpath libraries with the above
tools to provide the Java runtime required to host into the
Mono runtime. Some special treatment would be required for
core data types like integers, arrays and strings, and of
course reuse where possible existing classes from .NET to make
them compatible.
** JILC - Java to IL Compiler
This is an attempt to make the java bytecode available for the
.NET environment.
The project attempts to generate the IL code / bytecode from the
compiled java class files. It has reached the stage of code-generation.
The issues that needs to be addressed is the mapping of java objects
to the IL objects, eg: java.lang.String to System.String.
Gaurav Vaish and Abhaya Agarwal are currently leading this project.
The project is currently hosted at <a href="http://sourceforge.net/projects/jilc">SourceForge.Net</a>.
The official home page of the project is
<a href="http://jilc.sourceforge.net">http://jilc.sourceforge.net</a>.
+181
View File
@@ -0,0 +1,181 @@
* How to debug your C# application with the JIT engine
To debug a C# application you need to run the JIT in your debugger.
Before you can do anything useful in a debugger, you need a symbol
file which tells your debugger about functions, types, line numbers
and such. Unfortunately, this symbol file needs to be recreated each
time the JIT compiles a new method since it doesn't know anything
about this method (especially not its memory address) before actually
compiling it.
You have two ways of creating a symbol file:
** Letting the JIT dynamically create the symbol file
This'll give you a symbol file which is suitable for debugging IL byte
code - you won't see your C# source code.
However, this method has the advantage that it works with every assembly,
no matter whether it has been compiled with Mono's C# compiler (MCS) or
with any other compiler. It's currently the only way to debug
<tt>corlib.dll</tt> or any other library which cannot be compiled with
our compiler yet.
All that you need is a dump of the IL bytecode for each assembly (including
all assemblies this assembly is referencing). This is done by using the
<tt>monodis</tt> utility:
<pre>
monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il<br>
monodis /home/export/martin/MONO-LINUX/lib/System.dll > System.il<br>
monodis /home/export/martin/MONO-LINUX/bin/mcs.exe > mcs.il
</pre>
Make sure that all the .il files have the same name as their corresponding
assembly and that they're all created in the current directory.
The JIT supports two different debugging file formats:
<ul>
* STABS: This is a very simple debugging format, but it may be the only one
which is supported on your system. It is limited to source files of no more
than 65.535 lines and it's type support is also very limited. You should only
use this if your debugger doesn't support DWARF 2.
To generate STABS output, use the <tt>--stabs</tt> command line argument.
* DWARF 2: The DWARF 2 debugging format is a very powerful debugging format
which can handle source files of arbitrary size and has a highly sophisticated
type support. It's the recommended format unless you need to use STABS because
your debugger doesn't support DWARF 2.
To generate DWARF 2 output, use the <tt>--dwarf</tt> command line argument.
</ul>
You need to regenerate the symbol file each time the JIT compiled a new
method and each time you restart the JIT. You cannot reuse your symbol file
if you start the JIT a second file, not even if you're running the same
application with the same input data a second time.
Regenerating the symbol file is done by calling the JIT's
<tt>mono_debug_make_symbols ()</tt> function from within your debugger and
then reloading the symbol files. This function creates a <tt>filename-dwarf.s</tt>
(or <tt>filename-stabs.s</tt>) assembler input file in the current directory and
an object file in <tt>/tmp/filename.o</tt> - you need to tell your debugger to
add this object file as symbol file.
If you're using the GNU debugger, this is done like this:
<pre>
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file /tmp/mcs.o
add-symbol-file /tmp/Mono.CSharp.Debugger.o
</pre>
You can also write a GDB macro like this:
<pre>
define reload
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file /tmp/mcs.o
add-symbol-file /tmp/Mono.CSharp.Debugger.o
end
</pre>
Then you can just say <tt>reload</tt> to have GDB recreate the symbol file.
There's also an <a href="jit-debug-sample.html">example debugging session</a> using
the GNU debugger.
** Using a symbol file which have been created by the Mono C# compiler
If you compiled your application with Mono's C# compiler (MCS), you can tell it to
create a symbol file which is then processed and rewritten by the JIT engine.
To do this, you must give MCS the <tt>-g</tt> option:
<pre>
$ mcs -g Foo.cs
</pre>
This creates a <tt>Foo-debug.s</tt> assembler input file.
To use this in the JIT, you must first copy it to the target machine (the machine
where you want to run the JIT to debug your application) and run it through the
assembler to produce an object file <tt>Foo-debug.o</tt>. This object file must be
in the current directory.
Then start the JIT in your debugger and give it the <tt>--dwarf-plus</tt> command
line argument.
Each time you call <tt>mono_debug_make_symbols ()</tt> from withing your debugger,
the JIT will read this <tt>Foo-debug.o</tt>, fix some machine dependent things like
memory addresses etc. in it and write it back to disk.
If you're using the GNU debugger, you'll want to use a macro like this:
<pre>
define relocate
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file mcs-debug.o
add-symbol-file Mono.CSharp.Debugger-debug.o
end
</pre>
If there is no <tt>assembly-debug.o</tt> file, but an <tt>assembly.il</tt> one, the
JIT will fall back to normal DWARF 2 (in the example above, <tt>corlib.dll</tt> was
compiled with Microsoft's compiler and the JIT is thus using DWARF to debug it).
This debugging method only works if you compiled your assembly with MCS, but it'll
allow you to actually debug your C# source code :-)
Here's an <a href="jit-debug-sample2.html">example debugging session</a> using
the GNU debugger.
** Breakpoints and single stepping
The JIT has a <tt>--debug</tt> command line argument to insert a breakpoint at the
beginning of this method. It takes a <tt>Namespace.Class:Method</tt> argument which
is the method. This argument can be given multiple times.
However, once your application is stopped in GDB you may want to insert a breakpoint
the next time the JIT compiles a method. There's a global variable
<tt>mono_debug_insert_breakpoint</tt> which you can modify in your debugger.
If this variable is set to a non-zero value, the JIT's <tt>arch_compile_method</tt>
will insert a breakpoint the next time it is called, ie. at the top of the next
method it compiles. If this value has a positive value, it acts as a counter and is
decremented after inserting the breakpoint - setting it to a negative value will let
the JIT insert the breakpoint each time it compiles a new method.
There's also global variable <tt>mono_debug_last_breakpoint_address</tt> which always
contains the address of the last inserted breakpoint. You may manually override this
address with a <tt>nop</tt> instruction to delete the breakpoint.
For instance, I have a GDB macro called <tt>enter</tt> which I use to enter a method
rather than stepping over it:
<pre>
define enter
set mono_debug_insert_breakpoint = 1
continue
set *mono_debug_last_breakpoint_address = 0x90
relocate
frame
</pre>
Btw. speaking of single stepping - you should use your debuggers <tt>next</tt> command,
not its <tt>step</tt> command for single stepping unless you compiled the JIT without
debugging support. The reason for this is that the JIT creates machine code which contains
calls to JIT methods such as <tt>mono_object_new_wrapper</tt> at places where you don't
expect them - so unless the JIT is compiled at least without line numbers, your debugger
will enter such methods if you use <tt>step</tt> rather than <tt>next</tt>.
+86
View File
@@ -0,0 +1,86 @@
* A debugging session using a dynamically generated symbol file.
Let's assume we have the following C# application which we want to debug:
<pre>
using System;
public class Foo
{
public struct MyStruct {
int a;
long b;
double c;
}
public static void Main ()
{
Int32 value = 5;
long test = 512;
MyStruct my_struct;
my_struct.a = 5;
my_struct.b = test;
my_struct.c = 23323.5235;
}
}
</pre>
First of all, we need to compile it and create the .il files:
<pre>
$ mcs ./Foo.cs
$ monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il
$ monodis Foo.exe > Foo.il
</pre>
Now we can start the JIT in the debugger:
<pre>
$ gdb ~/monocvs/mono/mono/jit/mono
(gdb) r --dwarf --debug Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf --debug Foo:Main ./Foo.exe
0x081e8911 in ?? ()
(gdb) call mono_debug_make_symbols ()
(gdb) add-symbol-file /tmp/Foo.o
Reading symbols from /tmp/Foo.o...done.
Current language: auto; currently c++
(gdb) frame
#0 Foo.Main () at Foo.il:26
26 // method line 2
(gdb) n
Foo.Main () at Foo.il:38
38 IL_0000: ldc.i4.5
(gdb) list
33 .maxstack 2
34 .locals (
35 int32 V_0,
36 int64 V_1,
37 valuetype MyStruct V_2)
38 IL_0000: ldc.i4.5
39 IL_0001: stloc.0
40 IL_0002: ldc.i4 512
41 IL_0007: conv.i8
42 IL_0008: stloc.1
43 IL_0009: ldloca.s 2
44 IL_000b: ldc.i4.5
45 IL_000c: stfld int32 .MyStruct::a
46 IL_0011: ldloca.s 2
47 IL_0013: ldloc.1
48 IL_0014: stfld int64 .MyStruct::b
49 IL_0019: ldloca.s 2
50 IL_001b: ldc.r8 23323.5
51 IL_0024: stfld float64 .MyStruct::c
52 IL_0029: ret
(gdb) until 52
Foo.Main () at Foo.il:53
53 }
(gdb) info locals
V_0 = 5
V_1 = 512
V_2 = {a = 5, b = 512, c = 23323.523499999999}
</pre>
As you see in this example, you need to know IL code to use this debugging method - but
it may be the only way to debug a library.
+70
View File
@@ -0,0 +1,70 @@
* A debugging session using a symbol file which has been created by MCS.
Let's assume we have the following C# application which we want to debug:
<pre>
using System;
public class Foo
{
public struct MyStruct {
int a;
long b;
double c;
}
public static void Main ()
{
Int32 value = 5;
long test = 512;
MyStruct my_struct;
my_struct.a = 5;
my_struct.b = test;
my_struct.c = 23323.5235;
}
}
</pre>
First of all, we need to compile it with MCS, assemble the generated .s file and
create the .il files for all referenced assemblies which were not compiled with MCS:
<pre>
$ mcs -g ./Foo.cs
$ as -o Foo-debug.o Foo-debug.s
$ monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il
</pre>
Now we can start the JIT in the debugger:
<pre>
$ gdb ~/monocvs/mono/mono/jit/mono
(gdb) r --dwarf-plus --debug Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf-plus --debug Foo:Main ./Foo.exe
Program received signal SIGTRAP, Trace/breakpoint trap.
0x081e8681 in ?? ()
(gdb) call mono_debug_make_symbols ()
(gdb) add-symbol-file Foo-debug.o
(gdb) add-symbol-file /tmp/corlib.o
` (gdb) frame
#0 Main () at ./Foo.cs:11
11 public static void Main ()
(gdb) n
Main () at ./Foo.cs:13
13 Int32 value = 5;
(gdb)
14 long test = 512;
(gdb)
17 my_struct.a = 5;
(gdb)
18 my_struct.b = test;
(gdb)
19 my_struct.c = 23323.5235;
(gdb)
20 }
(gdb) info locals
value = 5
test = 512
my_struct = { a = 5, b = 512, c = 23323.5235 }
</pre>
Executable
+117
View File
@@ -0,0 +1,117 @@
* Compilers for other languages
Here are some other free compilers for other languages that
target .NET and should work with Mono with no problem:
<ul>
* <a href="#ComponentPascal">Component Pascal</a>
* <a href="#MonoLogo">MonoLogo</a>
* <a href="#Oberon">Oberon</a>
* <a href="#Forth">Forth</a>
</ul>
Languages we would like to have supported, with links to resources:
<ul>
* <a href="#JavaScript">Java Script</a>
* <a href="java.html">Java</a>
* <a href="#c">C</a>
</ul>
Some experimental languages:
<ul>
* <a href="#Tachy">Tachy</a> (scheme-like)
</ul>
<a name="MonoLogo">
** MonoLogo
An implementation of Logo for Mono (and .NET)
The <A href="http://monologo.sf.net">Mono Logo</a> compiler is
hosted in the <a href="ccvs.html">Mono CVS</a> repository
and also available on the <a href="anoncvs.html">AnonCVS</a> mirrors.
<a name="Oberon">
** Oberon
This Oberon compiler is written in Oberon.NET (another self
hosting compiler).
The main site <a href="http://www.oberon.ethz.ch/oberon.net/">http://www.oberon.ethz.ch/oberon.net/</a>
Download:
<a href="http://www.oberon.ethz.ch/oberon.net/download/">http://www.oberon.ethz.ch/oberon.net/download/</a>
Examples:
<a href="http://www.oberon.ethz.ch/oberon.net/examples/">http://www.oberon.ethz.ch/oberon.net/examples/</a>
<a href="http://www.superin.formativ.net/mono/oberon/oberon.zip">http://www.superin.formativ.net/mono/oberon/oberon.zip</a>
<a name="ComponentPascal">
** Component Pascal
The Component Pascal compiler: <a
href="http://www2.fit.qut.edu.au/CompSci/PLAS/ComponentPascal">Home
Page</a>, you can <a
href="http://www2.fit.qut.edu.au/CompSci/PLAS/ComponentPascal/gpcp1.1.4-netRTM.zip">
download it</a>
<a name="Forth">
** Delta Forth
The Delta Forth.NET project: <a
href="http://www.codeproject.com/dotnet/dforthnet.asp">Home
Page</a> and <a href="http://www.dataman.ro/dforth/index.html">more
details here</a>.
<a name="Tachy">
** Tachy
A subset of Scheme language called <a
href="http://radio.weblogs.com/0101156/stories/2002/03/19/tachy.html">Tachy</a>
* Missing languages
Here is a list of a few languages that we would like to see
supported. We will try to maintain a set of links here with
technical information for those interested in porting,
implementing or adapting a compiler for any of these
languages:
<a name="JavaScript">
* Java Script
The Mozilla project has an implementation of JavaScript
written in Java called <a
href="http://www.mozilla.org/rhino/">Rhino</a>.
You could port this code from Java to C#.
Note that since JavaScript allows for evaluation at runtime,
the compiler has to be built as a class that can be invoked at
runtime.
<a name="c">
* C
Ideally GCC could be modified to generate CIL, but it is a
big task. That would give us various compilers in one pass.
Rumor is that the next version of the LCC compiler will
include an IL backend. We do not know how extensive the support
for integration with .NET will be, but it would be an interesting
excercise to add an extension to C to call into .NET code.
LCC is not an open source compiler, but it is free as long as you
do not profit from selling it.
<a name="Java">
* Java
We have a <a href="java.html">separate page</a> for Java.
+202
View File
@@ -0,0 +1,202 @@
* Mailing Lists
Most of the mailing lists are in english, but there is also
Mono Hispano that has lists in Spanish. <a
href="http://www.es.gnome.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
There are a number of mailing lists for Mono in English:
<table>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-list">mono-list</a></b>
</td>
<td>
The general Mono discussion list.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-announce-list">mono-announce-list</a></b>
</td>
<td>
Announcements of Mono developments.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-gc-list">mono-gc-list</a></b>
</td>
<td>
Discussion on the GC system of Mono.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-patches">mono-patches</a></b>
</td>
<td>
Track the CVS activity of Mono on this mailing list (patches are sent to recipients).
You can get <a href="http://www.go-mono.com/snapshots">daily snapshots</a> as well.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a></b>
</td>
<td>
Track the CVS activity of Mono on this mailing list.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a></b>
</td>
<td>
Discussion on the documentation of Mono.
</td>
</tr>
<tr>
<td>
<b><a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs</a></b>
</td>
<td>
This mailing list is used to keep track of the bugs in Mono as reported
in <a href="http://bugzilla.ximian.com">Bugzilla.ximian.com</a>
</td>
</tr>
</table>
Other mailing lists of interest:
<ul>
* <b><a
href="http://discuss.develop.com/dotnet.html">Dotnet mailing
list at Develop.com:</a></b> The guys at Develop Mentor run
this general purpose mailing list.
</ul>
</ul>
* Google search of the archives
<!-- Google Search with mods -->
<center>
<table>
<tr>
<td><a href="http://www.google.com/search"><img src="mailing-lists_files/Logo_40wht.gif" border="0" alt="Google" align="middle"></a></td>
<td>
<table>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face="arial,sans-serif" size="-1"><input type="hidden" name="domains" value="www.go-mono.com;lists.ximian.com"><br><input type="radio" name="sitesearch" value="www.go-mono.com"> Search www.go-mono.com <input type="radio" name="sitesearch" value="lists.ximian.com"> Search lists.ximian.com </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-announce-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>announce-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-bugs">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>bugs</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-gc-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>gc-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-cvs-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>cvs-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-patches">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>patches</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
</table>
</tr>
</table>
</center>
<!-- /Google Search with mods -->
+9
View File
@@ -0,0 +1,9 @@
* Mono for beginners
Hinne Hettema has provided us a beautiful and complete
document on how to obtain, install and test Mono on
a Linux system.
You can <a href="mono-beginning/t1.html">Read it online</a>,
download a <a href="mono-beginning.pdf">PDF</a> version, or get the
<a href="mono-beginning.xml">source code</a> for it.
File diff suppressed because it is too large. Load diff
+147
View File
@@ -0,0 +1,147 @@
#!/bin/bash
# Script to automate the building of mono and its dependencies on
# cygwin. Relies on wget being installed (could make it fall back to
# using lynx, links, w3, curl etc), assumes that gcc, make, tar,
# automake, etc are already installed too (may be worth testing for
# all that right at the top and bailing out if missing/too old/too new
# etc).
# See where we are. This will become the top level directory for the
# installation, unless we are given an alternative location
here=$1
test -z "$here" && here=`pwd`
echo "Building Mono and dependencies in $here, installing to $here/install"
PATH=$here/install/bin:$here/install/lib:$PATH
# Check mono out first, so we can run aclocal from inside the mono dir (it
# needs to see which version of the real aclocal to run)
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
export CVSROOT
echo "Updating mono"
# cvs checkout does the same as cvs update, except that it copes with
# new modules being added
# Older versions of cvs insist on a cvs login for :pserver: methods
# Make sure cvs is using ssh for :ext: methods
if [ ${CVSROOT:0:5} = ":ext:" ]; then
CVS_RSH=ssh
export CVS_RSH
elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
if ! grep $CVSROOT ~/.cvspass > /dev/null 2>&1 ; then
echo "Logging into CVS server. Anonymous CVS password is probably empty"
cvs login || exit -1
fi
fi
cvs checkout mono || exit -1
if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
export AUTO_DEVEL=${AUTO_STABLE}
fi
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
# glib we're about to install in $here/install. This script could
# attempt to be clever and see if glib 2 is already installed, too.
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
# should mean that any automake new enough for us has it.
# This sets ACLOCAL_FLAGS to point to the freshly installed pkgconfig
# if it doesnt already exist on the system (otherwise auto* breaks if
# it finds two copies of the m4 macros). The GIMP for Windows
# pkgconfig sets its prefix based on the location of its binary, so we
# dont need PKG_CONFIG_PATH (the internal pkgconfig config file
# $prefix is handled similarly).
function aclocal_scan () {
# Quietly ignore the rogue '-I' and other aclocal flags that
# aren't actually directories...
#
# cd into mono/ so that the aclocal wrapper can work out which version
# of aclocal to run
for i in `(cd mono && aclocal --print-ac-dir)` $ACLOCAL_FLAGS
do
if [ -f $i/$1 ]; then
return 0
fi
done
return 1
}
function install_package() {
zipfile=$1
markerfile=$2
name=$3
echo "Installing $name..."
if [ ! -f $here/$zipfile ]; then
wget http://www.go-mono.com/archive/$zipfile
fi
# Assume that the package is installed correctly if the marker
# file is there
if [ ! -f $here/install/$markerfile ]; then
(cd $here/install || exit -1; unzip -o $here/$zipfile || exit -1) || exit -1
fi
}
if ! aclocal_scan pkg.m4 ; then
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
fi
export PATH
export ACLOCAL_FLAGS
# Grab pkg-config, glib etc
if [ ! -d $here/install ]; then
mkdir $here/install || exit -1
fi
# Fetch and install pkg-config, glib, iconv, intl
install_package pkgconfig-0.80-tml-20020101.zip bin/pkg-config.exe pkgconfig
install_package glib-1.3.12-20020101.zip lib/libglib-1.3-12.dll glib
install_package glib-dev-1.3.12-20020101.zip lib/glib-1.3.lib glib-dev
install_package libiconv-1.7.zip lib/iconv.dll iconv
install_package libiconv-dev-1.7.zip lib/iconv.lib iconv-dev
install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
install_package libgc-dev.zip lib/gc.dll gc-dev
# Needed to find the libiconv bits
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
export CPPFLAGS
export LDFLAGS
# Make sure we build native w32, not cygwin
#CC="gcc -mno-cygwin"
#export CC
# --prefix is used to set the class library dir in mono, and it needs
# to be in windows-native form. It also needs to have '\' turned into
# '/' to avoid quoting issues during the build.
prefix=`cygpath -w $here/install | sed -e 's@\\\\@/@g'`
# Build and install mono
echo "Building and installing mono"
(cd $here/mono; ./autogen.sh --prefix=$prefix || exit -1; make || exit -1; make install || exit -1) || exit -1
echo ""
echo ""
echo "All done."
echo "Add $here/install/bin and $here/install/lib to \$PATH"
echo "Don't forget to copy the class libraries to $here/install/lib"
+183
View File
@@ -0,0 +1,183 @@
#!/bin/bash
# Script to automate the building of mono and its dependencies.
# Relies on wget being installed (could make it fall back to using
# lynx, links, w3, curl etc), assumes that gcc, make, tar, automake,
# etc are already installed too (may be worth testing for all that
# right at the top and bailing out if missing/too old/too new etc).
# See where we are. This will become the top level directory for the
# installation, unless we are given an alternative location
here=$1
test -z "$here" && here=`pwd`
echo "Building Mono and dependencies in $here, installing to $here/install"
PATH=$here/install/bin:$PATH
LD_LIBRARY_PATH=$here/install/lib:$LD_LIBRARY_PATH
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
# glib we're about to install in $here/install. This script could
# attempt to be clever and see if glib 2 is already installed, too.
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
# should mean that any automake new enough for us has it.
function aclocal_scan () {
# Quietly ignore the rogue '-I' and other aclocal flags that
# aren't actually directories...
for i in `aclocal --print-ac-dir` $ACLOCAL_FLAGS
do
if [ -f $i/$1 ]; then
return 0
fi
done
return 1
}
function pkgconfig_scan () {
module=$1
echo "Finding pkgconfig files for $module..."
# Should we use locate? or just a list of well-known directories?
# locate has the problem of false positives in src dirs
for i in /usr/lib/pkgconfig /usr/local/lib/pkgconfig
do
echo "Looking in $i..."
if [ -f $i/${module}.pc ]; then
echo $i
return
fi
done
}
function install_package() {
tarfile=$1
dirname=$2
name=$3
configure_options=$4
echo "Installing $name..."
if [ ! -f $here/$tarfile ]; then
wget http://www.go-mono.org/archive/$tarfile
fi
# Assume that the package built correctly if the dir is there
if [ ! -d $here/$dirname ]; then
# Build and install package
tar xzf $here/$tarfile || exit -1
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; make || exit -1; make install || exit -1)
success=$?
if [ $success -ne 0 ]; then
echo "***** $name build failure. Run rm -rf $here/$dirname to have this script attempt to build $name again next time"
exit -1
fi
fi
}
if aclocal_scan pkg.m4 ; then
install_pkgconfig=no
else
install_pkgconfig=yes
fi
if aclocal_scan glib-2.0.m4 ; then
install_glib=no
if [ $install_pkgconfig = "yes" ]; then
# We have to tell the newly-installed pkgconfig about the
# system-installed glib
PKG_CONFIG_PATH=`pkgconfig_scan glib-2.0`:$PKG_CONFIG_PATH
fi
else
install_glib=yes
PKG_CONFIG_PATH="$here/install/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
if [ -f /usr/include/gc/gc.h ]; then
install_libgc=no
else
install_libgc=yes
fi
if [ $install_pkgconfig = "yes" -o $install_glib = "yes" ]; then
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
fi
export PATH
export LD_LIBRARY_PATH
export ACLOCAL_FLAGS
export PKG_CONFIG_PATH
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
export CPPFLAGS
export LDFLAGS
# Grab pkg-config-0.8, glib-1.3.12 if necessary
if [ $install_pkgconfig = "yes" ]; then
install_package pkgconfig-0.8.0.tar.gz pkgconfig-0.8.0 pkgconfig ""
else
echo "Not installing pkgconfig, you already seem to have it installed"
fi
if [ $install_glib = "yes" ]; then
install_package glib-1.3.13.tar.gz glib-1.3.13 glib ""
else
echo "Not installing glib, you already seem to have it installed"
fi
if [ $install_libgc = "yes" ]; then
LIBS="-ldl" install_package gc6.0.tar.gz gc6.0 libgc "--enable-threads=pthreads"
# make install didnt do the headers!
mkdir -p $here/install/include/gc
cp -r $here/gc6.0/include/* $here/install/include/gc
else
echo "Not installing libgc, you already seem to have it installed"
fi
# End of build dependencies, now get the latest mono checkout and build that
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
export CVSROOT
echo "Updating mono"
# cvs checkout does the same as cvs update, except that it copes with
# new modules being added
# Older versions of cvs insist on a cvs login for :pserver: methods
# Make sure cvs is using ssh for :ext: methods
if [ ${CVSROOT:0:5} = ":ext:" ]; then
CVS_RSH=ssh
export CVS_RSH
elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
# Chop off the trailing /mono because cvs 1.11 adds the port number
# into the .cvspass line
if ! grep ${CVSROOT%:/mono} ~/.cvspass > /dev/null 2>&1 ; then
echo "Logging into CVS server. Anonymous CVS password is probably empty"
cvs login
fi
fi
cvs checkout mono || exit -1
# Build and install mono
echo "Building and installing mono"
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; make || exit -1; make install || exit -1) || exit -1
echo ""
echo ""
echo "All done."
echo "Add $here/install/bin to \$PATH"
echo "Add $here/install/lib to \$LD_LIBRARY_PATH"
echo "Don't forget to copy the class libraries to $here/install/lib"
+551
View File
@@ -0,0 +1,551 @@
<Mono newbie coders start file>
<h1> A little help for mono newbie coders </h1>
For those who are new to Mono and are impatient to contribute
with code (uhh... you are brave!!) here is the document you
should read.
You will see all Mono hackers say the same (great minds have
similar way of thinking): First, DO WRITE TESTS!!!. In order
to do that:
<ul>
* Start with the NUnit Tests Guidelines. In the cvs
they are located at: mcs/class/doc/NUnitGuideli...
* But wait, this is a document for impatient
people. So EVERYTHING should be here. Well, it is.
</ul>
<h2> The NUnit Tests Guidelines document </h2>
Mono NUnit Test Guidelines and Best Practices
Authors: Nick Drochak <[email protected]>
Martin Baulig <[email protected]>
Last Update: 2002-03-02
Rev: 0.3
<b> Purpose </b>
This document captures all the good ideas people have had
about writing NUnit tests for the mono project. This document
will be useful for anyone who writes or maintains unit tests.
<b> Other resources </b>
- mcs/class/README has an explanation of the build process and
how it relates to the tests.
- http://nunit.sourceforge.net is the place to find out about
NUnit
<b> Getting Started </b>
If you are new to writing NUnit tests, there is a template
you may use to help get started. The file is:
mcs/class/doc/TemplateTest.cs
(2.- This is the point two!. This file is just after the end
of the guidelines. Copy/paste it in another buffer. And keep
reading.)
Save a copy of this file in the appropriate test subdirecty
(see below), and replace all the [text] markers with
appropriate code. Comments in the template are there to guide
you. You should also look at existing tests to see how other
people have written them.
mcs/class/corlib/Test/System.Collections/CollectionBaseTest.cs
is a small one that might help.
(3.- You reached the third point. And as expected, it's just
here to tell you that the content of CollectionBaseTest.cs is
after the TemplateTest.cs code at the end of these
guidelines.)
The directory that will contain your new file depends on the
assembly/namespace of the class for which you are creating the
tests. Under mcs/class there is a directory for each assembly.
In each assembly there is a Test directory, e.g.
mcs/class/corlib/Test. In the Test directory there are
sub-directories for each namespace in the assembly, e.g.
mcs/class/corlib/Test/Sytem. Put your new test file in the
appropriate sub-directory under Test for the class you are
testing.
Once your test class is complete, you need to add it to the
AllTests.cs file in the same directory as your new test. Add a
call to "suite.AddTest()" passing the name of your new test
class's suite property as the parameter. You will see examples
in the AllTests.cs file, so just copy and paste inside there.
Once all of that is done, you can do a 'make test' from the top
mcs directory. Your test class will be automagically included
in the build and the tests will be run along with all the
others.
<b> Tips </b>
<b> Provide an unique error message for Assert() </b>
Include an unique message for each Assert() so that when the
assert fails, it is trivial to locate the failing one.
Otherwise, it may be difficult to determine which part of the
test is failing. A good way to ensure unique messages is to use
something like #A01, #A02 etc.
Bad:
<pre>
AssertEquals("array match", compare[0], i1[0]);
AssertEquals("array match", compare[1], i1[1]);
AssertEquals("array match", compare[2], i1[2]);
AssertEquals("array match", compare[3], i1[3]);
</pre>
Good:
<pre>
AssertEquals("#A01", compare[0], i1[0]);
AssertEquals("#A02", compare[1], i1[1]);
AssertEquals("#A03", compare[2], i1[2]);
AssertEquals("#A04", compare[3], i1[3]);
</pre>
Once you used such a number in an Assert(), don't change it
later on - people might use it it identify the test in bug
reports or in mailing lists.
<b> Use AssertEquals() to compare things, not Assert(). </b>
Never compare two values with Assert() - if the test fails,
people have no idea what went wrong while AssertEquals()
reports the failed value.
Bad:
<pre>
Assert ("A01", myTicks[0] == t1.Ticks);
</pre>
Good:
<pre>
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
<b> Constructors </b>
When writing your testcase, please make sure to provide a
constructor which takes no arguments:
<pre>
public class DateTimeTest : TestCase
{
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
public DateTimeTest (string name): base(name) {}
public static ITest Suite
{
get {
TestSuite suite = new TestSuite ();
return suite;
}
}
}
</pre>
<b> Namespace </b>
Please keep the namespace within each test directory
consistent - all tests which are referenced in the same
AllTests.cs must be in the same namespace. Of course you can
use subnamespaces as you like - especially for subdirectories
of your testsuite.
For instance, if your AllTests.cs is in namespace "MonoTests"
and you have a subdirectory called "System", you can put all
the tests in that dir into namespace "MonoTests.System".
<b> Test your test with the microsoft runtime </b>
If possible, try to run your testsuite with the Microsoft
runtime on Windows and make sure all tests in it pass. This is
especially important if you're writing a totally new testcase
- without this check you can never be sure that your testcase
contains no bugs ....
Don't worry if you're writing your test on Linux, other people
can test it for you on Windows.
Sometimes you may discover that a test doesn't show the
expected result when run with the Microsoft runtime - either
because there is a bug in their runtime or something is
misleading or wrong in their documentation. In this case,
please put a detailed description of the problem to
mcs/class/doc/API-notes and do also report it to the list -
we'll forward this to the Microsoft people from time to time
to help them fix their documentation and runtime.
<pre>
-------------------- TemplateTest.cs begins ----------
// this is a template for making NUnit tests. Text enclosed
// in square brackets (and the brackets themselves) should be
// replaced by appropiate code.
// [File Name].cs - NUnit Test Cases for [explain here]
//
// [Author Name] ([Author email Address])
//
// (C) [Copyright holder]
//
// these are the standard namespaces you will need. You may
// need to add more depending on your tests.
using NUnit.Framework;
using System;
// all test namespaces start with "MonoTests." Append the
// Namespace that contains the class you are testing, e.g.
// MonoTests.System.Collections
namespace MonoTests.[Namespace]
{
// the class name should end with "Test" and start with the name
// of the class you are testing, e.g. CollectionBaseTest
public class [Class to be tested]Test : TestCase {
// there should be two constructors for your class. The first
// one (without parameters) should set the name to something
// unique.
// Of course the name of the method is the same as the name of
// the class
public [Constructor]() : base ("[Namespace.Class]") {}
public [Constructor](string name) : base(name) {}
// this method is run before each Test* method is called. You
// can put variable initialization, etc. here that is common to
// each test.
// Just leave the method empty if you don't need to use it.
protected override void SetUp() {}
// this method is run after each Test* method is called. You
// can put clean-up code, etc. here. Whatever needs to be done
// after each test. Just leave the method empty if you don't need
// to use it.
protected override void TearDown() {}
// this property is required. You need change the parameter for
// typeof() below to be your class.
public static ITest Suite {
get {
return new TestSuite(typeof([Classname here]));
}
}
// this is just one of probably many test methods in your test
// class. each test method must start with "Test". All methods
// in your class which start with "Test" will be automagically
// called by the NUnit framework.
public void Test[Something] {
// inside here you will exercise your class and then
// call Assert()
}
}
---------------------- TemplateTest.cs ends --------------
---------------------- CollectionBaseTest.cs begins ------
//
// System.Collections.CollectionBase
// Test suite for System.Collections.CollectionBase
//
// Author:
// Nick D. Drochak II
//
// (C) 2001 Nick D. Drochak II
//
using System;
using System.Collections;
using NUnit.Framework;
namespace MonoTests.System.Collections
{
public class CollectionBaseTest : TestCase
{
public CollectionBaseTest () : base
("System.Collection.CollectionBase testsuite")
{}
public CollectionBaseTest (String name) : base (name)
{}
// We need a concrete class to test the abstract base
// class
public class ConcreteCollection : CollectionBase
{
// These fields are used as markers to test
// the On* hooks.
public bool onClearFired;
public bool onClearCompleteFired;
public bool onInsertFired;
public int onInsertIndex;
public bool onInsertCompleteFired;
public int onInsertCompleteIndex;
public bool onRemoveFired;
public int onRemoveIndex;
public bool onRemoveCompleteFired;
public int onRemoveCompleteIndex;
public bool onSetFired;
public int onSetOldValue;
public int onSetNewValue;
public bool onSetCompleteFired;
public int onSetCompleteOldValue;
public int onSetCompleteNewValue;
// This constructor is used to test OnValid()
public ConcreteCollection()
{
IList listObj;
listObj = this;
listObj.Add(null);
}
// This constructor puts consecutive integers into the list
public ConcreteCollection(int i) {
IList listObj;
listObj = this;
int j;
for (j = 0; j< i; j++) {
listObj.Add(j);
}
}
// A helper method to look at a value in the
// list at a specific index
public int PeekAt(int index)
{
IList listObj;
listObj = this;
return (int) listObj[index];
}
// Mark the flag if this hook is fired
protected override void OnClear() {
this.onClearFired = true;
}
// Mark the flag if this hook is fired
protected override void OnClearComplete()
{
this.onClearCompleteFired = true;
}
// Mark the flag, and save the paramter if
// this hook is fired
protected override void OnInsert(int index,
object value)
{
this.onInsertFired = true;
this.onInsertIndex = index;
}
// Mark the flag, and save the paramter if
// this hook is fired
protected override void OnInsertComplete(int index,
object value)
{
this.onInsertCompleteFired = true;
this.onInsertCompleteIndex = index;
}
// Mark the flag, and save the paramter if this hook
// is fired
protected override void OnRemove(int index,
object value)
{
this.onRemoveFired = true;
this.onRemoveIndex = index;
}
// Mark the flag, and save the paramter if this hook
// is fired
protected override void OnRemoveComplete(int index,
object value)
{
this.onRemoveCompleteFired = true;
this.onRemoveCompleteIndex = index;
}
// Mark the flag, and save the paramters if this hook
// is fired
protected override void OnSet(int index, object oldValue,
object newValue)
{
this.onSetFired = true;
this.onSetOldValue = (int) oldValue;
this.onSetNewValue = (int) newValue;
}
// Mark the flag, and save the paramters if this hook
// is fired
protected override void OnSetComplete(int index,
object oldValue,
object newValue)
{
this.onSetCompleteFired = true;
this.onSetCompleteOldValue = (int) oldValue;
this.onSetCompleteNewValue = (int) newValue;
}
} // public class ConcreteCollection
public static ITest Suite {
get {
return new TestSuite
(typeof(CollectionBaseTest));
}
}
// Check the count property
public void TestCount() {
ConcreteCollection myCollection;
myCollection = new ConcreteCollection(4);
Assert(4 == myCollection.Count);
}
// Make sure GetEnumerator returns an object
public void TestGetEnumerator() {
ConcreteCollection myCollection;
myCollection = new ConcreteCollection(4);
Assert(null != myCollection.GetEnumerator());
}
// OnValid disallows nulls
public void TestOnValid() {
ConcreteCollection myCollection;
try {
myCollection = new ConcreteCollection();
}
catch (ArgumentNullException) {
}
}
// Test various Insert paths
public void TestInsert() {
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
// The constructor inserts
myCollection = new ConcreteCollection(numberOfItems);
Assert(myCollection.onInsertFired);
Assert(myCollection.onInsertCompleteFired);
// Using the IList interface, check inserts in the middle
IList listObj = myCollection;
listObj.Insert(1, 9);
Assert(myCollection.onInsertIndex == 1);
Assert(myCollection.onInsertCompleteIndex == 1);
Assert(myCollection.PeekAt(1) == 9);
}
// Test Clear and it's hooks
public void TestClear()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 1;
myCollection = new ConcreteCollection(numberOfItems);
myCollection.Clear();
Assert(myCollection.Count == 0);
Assert(myCollection.onClearFired);
Assert(myCollection.onClearCompleteFired);
}
// Test RemoveAt, other removes and the hooks
public void TestRemove()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
// Set up a test collection
myCollection = new ConcreteCollection(numberOfItems);
// The list is 0-based. So if we remove the second one
myCollection.RemoveAt(1);
// We should see the original third one in it's place
Assert(myCollection.PeekAt(1) == 2);
Assert(myCollection.onRemoveFired);
Assert(myCollection.onRemoveIndex == 1);
Assert(myCollection.onRemoveCompleteFired);
Assert(myCollection.onRemoveCompleteIndex == 1);
IList listObj = myCollection;
listObj.Remove(0);
// Confirm parameters are being passed to the hooks
Assert(myCollection.onRemoveIndex == 0);
Assert(myCollection.onRemoveCompleteIndex == 0);
}
// Test the random access feature
public void TestSet()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
myCollection = new ConcreteCollection(numberOfItems);
IList listObj = myCollection;
listObj[0] = 99;
Assert((int) listObj[0] == 99);
Assert(myCollection.onSetFired);
Assert(myCollection.onSetCompleteFired);
Assert(myCollection.onSetOldValue == 0);
Assert(myCollection.onSetCompleteOldValue == 0);
Assert(myCollection.onSetNewValue == 99);
Assert(myCollection.onSetCompleteNewValue == 99);
}
}
}
----------------------- CollectionBaseTest.cs ends --------
</pre>
<ul>
* If you use Emacs, you might want to use the .emacs
file and the package developed by Brad Merrill
mailto:[email protected]. It will allow you to
highlight and indent in C# style in your Emacs
editor. (XEmacs will still work but it'll also
complain).
* CSharpDevelop is a GPLed IDE developed by IC#Code.
Search for it at sourceforge if you are interested
in it.
* For those who Java: "A comparison of Microsoft's
C# programming language to Sun Microsystem's Java
Programming language" by Dare Obasanjo is a really good
(very complete) text to read.
* Suggest this point and more, now I can't think of
anything more.
</ul>
Enjoy!!.
(c) 2002, <a href="mailto:[email protected]">Jaime Anguiano Olarra</a>.
The parts included in this document are property of their
respective authors.
Note: The identation of the source code has been changed a bit
so it could fit better in the website. Anyway, as nothing more
changed, the files should work as expected.
+755
View File
@@ -0,0 +1,755 @@
* MonoDoc XML Tag Reference
** Introduction
<em>
[This documentation is in progress. Comments to
<a href="mailto:[email protected]">[email protected]</a> and/or
<a href="mailto:[email protected]">[email protected]</a>.]
</em>
MonoDoc XML, our format for multilingual API documentation stored outside of
source files, is very similar to the output of Microsoft's csc /doc. Minor
alterations have been made to ease human parsing and hand-editing, but
the majority of the tags are identical. In fact, many of the descriptions
and examples below are taken from the ECMA C# Language Specification with
little or no alteration.
This document provides a list of all available MonoDoc XML tags, with
syntax and examples. A complete example can be found in
<a href="#appendix-a">Appendix A</a>, and both a <a href="#">DTD</a> and
<a href="#">XSD schema</a> will be available very shortly.
** MonoDoc XML Tags
<dl>
<dt><code><a href="#c">&lt;c&gt;</a></code></dt>
<dd>Mark short sections of text as code.</dd>
<dt><code><code><a href="#code">&lt;code&gt;</a></code></dt></code>
<dd>Mark one or more lines as code or output.</dd>
<dt><code><a href="#doc">&lt;doc&gt;</a></dt></code>
<dd>Root element of documentation XML.</dd>
<dt><code><a href="#event">&lt;event&gt;</a></dt></code>
<dd>Describe an event.</dd>
<dt><code><a href="#example">&lt;example&gt;</a></dt></code>
<dd>An example.</dd>
<dt><code><a href="#exception">&lt;exception&gt;</a></dt></code>
<dd>Specify an exception a method can throw.</dd>
<dt><code><a href="#field">&lt;field&gt;</a></dt></code>
<dd>Describe a field.</dd>
<dt><code><a href="#list">&lt;list&gt;</a></dt></code>
<dd>Create a list or table.</dd>
<dt><code><a href="#method">&lt;method&gt;</a></dt></code>
<dd>Describe a method.</dd>
<dt><code><a href="#para">&lt;para&gt;</a></dt></code>
<dd>Allow text to be structured in paragraphs.</dd>
<dt><code><a href="#param">&lt;param&gt;</a></dt></code>
<dd>Specify a parameter for a method.</dd>
<dt><code><a href="#paramref">&lt;paramref&gt;</a></dt></code>
<dd>Mark a word as a parameter.</dd>
<dt><code><a href="#permission">&lt;permission&gt;</a></dt></code>
<dd>Define the access level of a member.</dd>
<dt><code><a href="#property">&lt;property&gt;</a></dt></code>
<dd>Describe a property.</dd>
<dt><code><a href="#remarks">&lt;remarks&gt;</a></dt></code>
<dd>Provide verbose information for a type or member.</dd>
<dt><code><a href="#returns">&lt;returns&gt;</a></dt></code>
<dd>Specify the return value of a method.</dd>
<dt><code><a href="#see">&lt;see&gt;</a></dt></code>
<dd>Specify a link.</dd>
<dt><code><a href="#seealso">&lt;seealso&gt;</a></dt></code>
<dd>Specify a 'see also' entry.</dd>
<dt><code><a href="#summary">&lt;summary&gt;</a></dt></code>
<dd>Provide a brief (usually one sentence) description of a member or type.</dd>
<dt><code><a href="#type">&lt;type&gt;</a></dt></code>
<dd>Describe a type.</dd>
</dl>
** Definitions and Examples
*** <a name="c">&lt;c&gt;</a>
This tag can be used to mark short, inline fragments of text that should
be considered source code or program output. User agents should render
this tag in a special -- likely monospace -- font. For larger sections,
use <a href="#code"><code>&lt;code&gt;</code></a>.
**** Syntax
<pre>
&lt;c&gt;code or output text&lt;/c&gt;
</pre>
**** Example
<pre>
&lt;remarks&gt;
Class &lt;c&gt;Point&lt;/c&gt; models a point in two-dimensional space.
&lt;/remarks&gt;
</pre>
*** <a name="code">&lt;code&gt;</a>
This tag can be used to mark one or more lines of text as source code or
program output. User agents should render this tag in a special (likely
monospace) font, and preserve both whitespace and newlines.
**** Syntax
<code>&lt;code&gt;source or program output&lt;/code&gt;</code>
**** Example
<pre>
&lt;summary&gt;
This method changes the point's location by the given
x- and y-offsets.
&lt;example lang="C#"&gt;
A C# example:
&lt;code&gt;
Point p = new Point(3, 5);
p.Translate(-1, 3);
// p == (2, 8);
&lt;/code&gt;
&lt;/example&gt;
&lt;/summary&gt;
</pre>
*** <a name="doc">&lt;doc&gt;</a>
This tag is the root element of the documentation file. It can contain
any number of &lt;type&gt; elements.
**** Syntax
<code>&lt;doc lang="language" assembly="assembly"&gt;typedocs&lt;/doc&gt;</code>
<blockquote>
<em>lang="language"</em><br />
The two-letter ISO code that specifies what language the contained
documentation is written in.
</blockquote>
**** Example
<pre>
&lt;doc lang="en"&gt;
&lt;type name="Graphics.Point"&gt;
&lt;!-- ... --&gt;
&lt;/type&gt;
&lt;/doc&gt;
</pre>
*** <a name="event">&lt;event&gt;</a>
This tag documents an event.
**** Syntax
<code>&lt;event name="eventname"&gt;documentation&lt;/event&gt;</code>
<blockquote>
<em>name="eventname"</em><br />
The name of the event being documented.
</blockquote>
**** Example
<pre>
&lt;event name="Click"&gt;
&lt;summary&gt;
Occurs when the control is clicked.
&lt;/summary&gt;
&lt;data&gt;
The event handler receives an argument of type EventArgs
containing data related to this event.
&lt;/data&gt;
&lt;remarks&gt;
&lt;para&gt;The ControlStyles.StandardClick style must be set
for this event to be raised.&lt;/para&gt;
&lt;para&gt;For more information about handling events, see
Consuming Events.&lt;/para&gt;
&lt;/remarks&gt;
&lt;/event&gt;
</pre>
*** <a name="example">&lt;example&gt;</a>
This tag marks a section of text as an example, and optionally specifies
what programming language <code><a href="#code">&lt;code&gt;</a></code> portions of the example are written in.
**** Syntax
<code><example lang="language">example text and code</example></code>
<blockquote>
<em>lang="language"</em><br />
(optional) The name of the programming language <code><a href="#code">&lt;code&gt;</a></code> blocks in this example
use. This information can be used by user agents to provide
intelligent access to examples in multiple languages.
</blockquote>
**** Example
See <code><a href="#code">&lt;code&gt;<a/></code> for an example.
*** <a name="exception">&lt;exception&gt;</a>
This tag provides a way to specify the exceptions a method can throw.
**** Syntax
<code>&lt;exception cref="exception-type"&gt;description&lt;/exception&gt;</code>
<blockquote>
<em>cref="exception-type"</em><br />
The name of an exception type.
</blockquote>
**** Example
<pre>
&lt;exception cref="System.IO.FileNotFoundException"&gt;
Thrown when the requested file is not found.
&lt;/exception&gt;
</pre>
*** <a name="field">&lt;field&gt;</a>
This tag is used to describe a field.
**** Syntax
<code>&lt;field name="fieldname"&gt;documentation&lt;/field&gt;</code>
<blockquote>
<em>name="fieldname"</em><br />
The name of the field being documented.
</blockquote>
**** Example
<pre>
&lt;field name="x"&gt;
&lt;summary&gt;
Instance variable &lt;c&gt;x&lt;/c&gt; represents the point's
x-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
</pre>
*** <a name="list">&lt;list&gt;</a>
This tag is used to create a list or table of items. It may contain a
<code>&lt;listheader&gt;</code> block to define the heading row of either a table or
definition list. (When defining a table, only an entry for 'term' in the
heading need be supplied.)
Each item in the list is specified with an <code>&lt;item&gt;</code> block. When creating a
definition list, both <code>&lt;term&gt;</code> and <code>&ltdescription&gt;</code> must be specified.
However, for a table, bulleted list, or numbered list, only <code>&lt;description&gt;</code>
need be specified.
**** Syntax
<pre>
&lt;list type="bullet" | "number" | "table"&gt;
&lt;listheader&gt;
&lt;term&gt;term&lt;/term&gt;
&lt;description&gt;description&lt;/description&gt;
&lt;/listheader&gt;
&lt;item&gt;
&lt;term&gt;term&lt;/term&gt;
&lt;description&gt;description&lt;/description&gt;
&lt;/item&gt;
...
&lt;/list&gt;
</pre>
<blockquote>
<em>term</em><br />
The term to define, whose definition is in <code>&lt;description&gt;</code>.
<br /><br />
<em>description</em><br />
Either an item in a bullet or numbered list, or the definition of a <code>&lt;term&gt;</code>.
</blockquote>
**** Example
<pre>
&lt;list type="bullet"&gt;
&lt;item&gt;
&lt;description&gt;Item 1&lt;/description&gt;
&lt;/item&gt;
&lt;item&gt;
&lt;description&gt;Item 2&lt;/description&gt;
&lt;/item&gt;
&lt;/list&gt;
</pre>
*** <a name="method">&lt;method&gt;</a>
This tag is the overall containing tag for documenting a method.
**** Syntax
<code>&lt;method name="methodname"&gt;documentation&lt;/method&gt;</code>
**** Example
<pre>
&lt;method name="op_Equality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;
This operator determines whether two points have
the same location.
&lt;/summary&gt;
&lt;param name="p1"&gt;
&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.
&lt;/param&gt;
&lt;param name="p2"&gt;
&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.
&lt;/param&gt;
&lt;returns&gt;
True if the points have the same location and they
have the exact same type; otherwise, false.
&lt;/returns&gt;
&lt;seealso cref="Equals(System.Object)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point)" /&gt;
&lt;/method&gt;
</pre>
*** <a name="para">&lt;para&gt;</a>
This tag is for use inside other tags such as <code>&lt;remarks&gt;</code> or <code>&lt;returns&gt;</code>, and
allows text to be structured into paragraphs.
**** Syntax
<code>&lt;para&gt;text&lt;/para&gt;</code>
**** Example
<pre>
&lt;summary&gt;
&lt;para&gt;
This is the entry point of the &lt;c&gt;Point&lt;/c&gt; class testing
program.
&lt;/para&gt;
&lt;para&gt;
This program tests each method and operator, and
is intended to be run after any non-trivial maintenance has
been performed on the &lt;c&gt;Point&lt;/c&gt; class.
&lt;/para&gt;
&lt;/summary&gt;
</pre>
*** <a name="param">&lt;param&gt;</a>
This tag is used to describe a parameter for a method, constructor, or
indexer.
**** Syntax
<code>&lt;param name="name"&gt;description&lt;/param&gt;</code>
<blockquote>
<em>name</em><br />
The name of the parameter.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This is the entry point of the &lt;c&gt;Point&lt;/c&gt;
class.
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name "yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
</pre>
*** <a name="paramref">&lt;paramref&gt;</a>
This tag is used to indicate that a word is a parameter. User agents
could use this information for special formatting or hyperlink insertion.
**** Syntax
<code>&lt;paramref name="name" /&gt;</code>
<blockquote>
<em>name</em><br />
The name of the parameter.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This constructor initializes the new Point to
(&lt;paramref name="xor" /&gt;,&lt;paramref name="yor" /&gt;).
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name "yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
</pre>
*** <a name="permission">&lt;permission&gt;</a>
This tag allows the security accessibility of a member to be documented.
**** Syntax
<code>&lt;permission cref="member"&gt;description&lt;/permission&gt;</code>
<blockquote>
<em>cref="member"</em><br />
The name of a member.</br>
</blockquote>
**** Example
<pre>
&lt;permission cref="System.Security.PermissionSet"&gt;
Everyone can access this method.
&lt;/permission&gt;
</pre>
*** <a name="property">&ltproperty&gt;</a>
This tag is the overall containing tag for documenting a property.
**** Syntax
<code>&lt;property name="propertyname"&gt;documentation&lt;/property&gt;</code>
<blockquote>
<em>name="propertyname"</em><br />
The name of the property.
</blockquote>
**** Example
<pre>
&lt;property name="X"&gt;
&lt;summary&gt;
Gets or sets the point's x-coordinate.
&lt;value&gt;
The point's x-coordinate.
&lt;/value&gt;
&lt;/property&gt;
</pre>
*** <a name="remarks">&lt;remarks&gt;</a>
This tag contains extended discussion and information about a member or
a type. <em>[jbarn: This differs from both the ECMA docs and
portions of Microsoft's documentation, but seems consistent with both
common usage, and, more importantly, NDoc convention.]</em>
**** Syntax
<code>&lt;remarks&gt;description&lt;/remarks&gt;</code>
**** Example
<pre>
&lt;type name="Graphics.Point"&gt;
&lt;summary&gt;
Models a point in a two-dimensional plane.
&lt;/summary&gt;
&lt;remarks&gt;
Herein I might have an extended discussion of
the validity of Cartesian coordinate systems,
with examples pro and con, and perhaps
some code.
&lt;/remarks&gt;
&lt;!-- ... --&gt;
&lt;/type&gt;
</pre>
*** <a name="returns">&lt;returns&gt;</a>
This tag is used to describe the return value of a method.
**** Syntax
<code>&lt;returns&gt;description&lt;/returns&gt;</code>
**** Example
<pre>
&lt;method name="op_Inequality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;
This operator determines whether two points have the
same location.
&lt;/summary&gt;
&lt;param name="p1"&gt;&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.&lt;/param&gt;
&lt;param name="p2"&gt;&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.&lt;/param&gt;
&lt;returns&gt;
True if the points do not have the same location and they
have the exact same type; otherwise, false.
&lt;/returns&gt;
&lt;/method&gt;
</pre>
*** <a name="see">&lt;see&gt;</a>
This tag allows a link to be specified within documentation text. (Use
<code>&lt;seealso&gt;</code> to indicate links that should appear in a 'See Also' section.)
**** Syntax
<code>&lt;see cref="destination" /&gt;</code>
<blockquote>
<em>cref="destination"</em><br />
A destination, such as a type or a member of a type.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This method changes the point's location to the given
coordinates. This is an asinine way to insert a link,
but &lt;see cref="Equals(Object)" /&gt; to understand
how points are compared.
&lt;/summary&gt;
</pre>
*** <a name="seealso">&lt;seealso&gt;</a>
This tag allows an entry to be generated for the 'See Also' section. (Use
<code>&lt;see&gt;</code> to specify a link from within text.)
**** Syntax
<code>&lt;seealso cref="destination" /&gt;</code>
<blockquote>
<em>cref="destination"</em><br />
A destination, such as a type or a member of a type.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This method determines whether two Points have the
same location.
&lt;/summary&gt;
&lt;seealso cref="op_Equality(Graphics.Point,Graphics.Point)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point" /&gt;
</pre>
*** <a name="summary">&lt;summary&gt;</a>
This tag contains a short summary of a member or type,
often one sentence. <em>[jbarn: This differs from both the ECMA docs and
portions of Microsoft's documentation, but seems consistent with both
common usage, and, more importantly, NDoc convention.]</em>
**** Syntax
<code>&lt;summary&gt;description&lt;/summary&gt;</code>
**** Example
<pre>
&lt;summary&gt;
This is the entry point of the &lt;c&gt;Point&lt;/c&gt; class testing
program.
&lt;/summary&gt;
&lt;remarks&gt;
This program tests each method an operator, and is intended
to be run after any non-trivial maintenance is performed
on the &lt;c&gt;Point&lt;/c&gt; class.
&lt;/remarks&gt;
</pre>
*** <a name="type">&lt;type&gt;</a>
This tag is the overall containing tag for documenting a type.
**** Syntax
<code>&lttype name="typename" assembly="assemblyname"&gt;documentation&lt;/type&gt;</code>
<blockquote>
<em>name="typename"</em><br />
The name of the type being documented.
<br /><br />
<em>assembly="assemblyname"</em><br />
The assembly this type resides in. This attribute is not required for nested types.
</blockquote>
**** Example
<pre>
&lt;type name="Graphics.Point" assembly="Point"&gt;
&lt;summary&gt;
Models a point in two-dimensional space.
&lt;/summary&gt;
&lt;!-- members --&gt;
&lt;field name="x"&gt;
&lt;summary&gt;
Represents the point's x-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
&lt;/type&gt;
</pre>
** <a name="appendix-a">Appendix A: Complete Example</a>
<em>[jbarn: Please, please, don't take the human-readable portions of
this example to be good guidelines for writing your own documentation.
this XML is intended only to show structure.]</em>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;doc lang="en"&gt;
&lt;type name="Graphics.Point" assembly="Point"&gt;
&lt;summary&gt;
Models a point in a two-dimensional plane.
&lt;/summary&gt;
&lt;remarks&gt;
No useful remarks.
&lt;/remarks&gt;
&lt;!-- fields --&gt;
&lt;field name="x"&gt;
&lt;summary&gt;
Instance variable &lt;c&gt;x&lt;/c&gt; represents the point's x-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
&lt;field name="y"&gt;
&lt;summary&gt;
Instance variable &lt;c&gt;y&lt;/c&gt; represents the point's y-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
&lt;!-- methods --&gt;
&lt;method name="#ctor"&gt;
&lt;summary&gt;
Initializes the new point to &lt;c&gt;(0,0)&lt;/c&gt;.
&lt;/summary&gt;
&lt;/method&gt;
&lt;method name="#ctor(System.Int32,System.Int32)"&gt;
&lt;summary&gt;
Initializes the new Point to (&lt;paramref name="xor" /&gt;,&lt;paramref name="yor" /&gt;).
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name="yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
&lt;/method&gt;
&lt;method name="Move(System.Int32,System.Int32)"&gt;
&lt;summary&gt;
This method changes the point's location to the given coordinates.
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name="yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
&lt;seealso cref="Translate(System.Int32,System.Int32)" /&gt;
&lt;/method&gt;
&lt;method name="Translate(System.Int32,System.Int32)"&gt;
&lt;summary&gt;This method changes the point's location by the given x- and y-offsets.&lt;/summary&gt;
&lt;remarks&gt;
&lt;example lang="C#"&gt;
A C# example:
&lt;code&gt;
Point p = new Point(3, 5);
p.Translate(-1, 3);
&lt;/code&gt;
This code results in &lt;c&gt;p&lt;/c&gt; having the value (2,8).
&lt;/example&gt;
&lt;/remarks&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the relative x-offset.&lt;/param&gt;
&lt;param name="yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the relative y-offset.&lt;/param&gt;
&lt;seealso cref="Move(System.Int32,System.Int32)" /&gt;
&lt;/method&gt;
&lt;method name="Equals(System.Object)"&gt;
&lt;summary&gt;This method determines whether two points have the same location.&lt;/summary&gt;
&lt;param name="o"&gt;&lt;c&gt;o&lt;/c&gt; is the object to be compared to the current object.&lt;/param&gt;
&lt;returns&gt;True if the Points have the same location and they have the exact same
type; otherwise, false.&lt;/returns&gt;
&lt;seealso cref="op_Equality(Graphics.Point,Graphics.Point)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point" /&gt;
&lt;/method&gt;
&lt;method name="ToString"&gt;
&lt;summary&gt;Report a point's location as a string.&lt;/summary&gt;
&lt;returns&gt;A string representing a point's location, in the form (x,y), without any
leading, trailing, or embedded whitespace.&lt;/returns&gt;
&lt;/method&gt;
&lt;method name="op_Equality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;This operator determines whether two points have the same location.&lt;/summary&gt;
&lt;param name="p1"&gt;&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.&lt;/param&gt;
&lt;param name="p2"&gt;&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.&lt;/param&gt;
&lt;returns&gt;True if the points have the same location and they have the exact same
type; otherwise, false.&lt;/returns&gt;
&lt;seealso cref="Equals(System.Object)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point)" /&gt;
&lt;/method&gt;
&lt;method name="op_Inequality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;This operator determines whether two points have the same location.&lt;/summary&gt;
&lt;param name="p1"&gt;&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.&lt;/param&gt;
&lt;param name="p2"&gt;&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.&lt;/param&gt;
&lt;returns&gt;True if the points do not have the same location and they have the exact same
type; otherwise, false.&lt;/returns&gt;
&lt;seealso cref="Equals(System.Object)" /&gt;
&lt;seealso cref="op_Equality(Graphics.Point,Graphics.Point)" /&gt;
&lt;/method&gt;
&lt;method name="Main"&gt;
&lt;summary&gt;
This is the entry point of the Point class testing program.
&lt;/summary&gt;
&lt;remarks&gt;
&lt;para&gt;This program tests each method and operator, and is intended to be run after
any non-trivial maintenance has been performed on the Point class.&lt;/para&gt;
&lt;/remarks&gt;
&lt;/method&gt;
&lt;!-- properties --&gt;
&lt;property name="X"&gt;
&lt;value&gt;Property &lt;c&gt;X&lt;/c&gt; represents the point's x-coordinate.&lt;/value&gt;
&lt;/property&gt;
&lt;property name="Y"&gt;
&lt;value&gt;Property &lt;c&gt;y&lt;/c&gt; represents the point's y-coordinate.&lt;/value&gt;
&lt;/property&gt;
&lt;/type&gt;
&lt;/doc&gt;
</pre>
+96
View File
@@ -0,0 +1,96 @@
* JIT Compiler
<a
href="http://citeseer.nj.nec.com/vitek97efficient.html">
Efficient Type Inclusion Tests: Jahn Vitek, R. Nigel Horspool, Andres
Krall</a>
<a
href="http://citeseer.nj.nec.com/cytron91efficiently.html">
Efficiently Computing Static Single Assignment Form and the Control
Dependence Graph: Ron Cytron, Jeanne Ferrante</a>
<a
href="http://citeseer.nj.nec.com/193349.html">
Practical Improvements to the Construction and Destruction of Static Single Assignment Form: Preston Briggs,
Keith Cooper, Timothy Harvey, Taylor Simpson</a>
<a
href="http://citeseer.nj.nec.com/krall98efficient.html">
Efficient JavaVM Just-in-Time Compilation: Andreas Krall</a>
<a
href="http://citeseer.nj.nec.com/452617.html">Java for
Large-Scale Scientific Computations: Andreas Krall, Phillip Thomsich</a>
<a
href="http://citeseer.nj.nec.com/117522.html">
Engineering Simple, Efficient Code Generator Generator: Christopher
W. Fraser, David R. Hanson, Todd A. Proebsting</a>
<a
href="http://citeseer.nj.nec.com/proebsting92code.html">
Code Generation Techniques: Todd Alan Proebsting</a>
<a
href="http://citeseer.nj.nec.com/74629.html">Fast,
Effective Code Generation in a Just-In-Time Java Compiler: Ali-Reza
Adl-Tabatabai Guei-Yuan Lueh, Vishesh M. Parikh, James M. Stichnoth...</a>
<a
href="http://citeseer.nj.nec.com/bodik00abcd.html">
ABCD: Eliminating Array-Bounds Checks on Demand: Rastislav Bodik, Rajiv Gupta, Vivek Sarkar</a>
* Register Allocation
<a
href="http://citeseer.nj.nec.com/poletto99linear.html">
Linear Scan Register Allocation: Massimiliano Poletto, Vivek Sarkar</a>
<a
href="http://citeseer.nj.nec.com/traub98quality.html">
Quality and Speed in Linear-scan Register Allocation: Omri Traub, Glenn
Holloway, Michael D. Smith</a>
* Loop Transformations
<a
href="http://citeseer.nj.nec.com/bacon93compiler.html">
Compiler Transformations for High-Performance Computing: David Bacon</a>
* Interpreter
<a
href="http://citeseer.nj.nec.com/470069.html">
vmgen-A Generator of Efficient Virtual Machine Interpreters: M. Anton
Ertl, David Gregg, Andreas Krall, Bernd Paysan</a>
* Synchronization
<a
href="http://citeseer.nj.nec.com/krall98monitors.html">
Monitors and Exceptions - How to implement Java efficiently: Andreas Krall,
Mark Probst</a>
<a
href="http://citeseer.nj.nec.com/bacon98thin.html">
Thin Locks: Featherweight Synchronization for Java: David Bacon</a>
<a
href="http://citeseer.nj.nec.com/278639.html">
Featherweight Monitors with Bacon Bits: David Bacon</a>
* Garbage Collection
<a
href="http://citeseer.nj.nec.com/wilson92uniprocessor.html">
Uniprocessor Garbage Collection Techniques: Paul Wilson</a>
<a
href="http://citeseer.nj.nec.com/41666.html">
A Language-Independent Garbage Collector Toolkit: Richard Hudson, Eliot Moss, Amer Diwan, Christopher Weight</a>
<a
href="http://citeseer.nj.nec.com/seligmann95incremental.html">
Incremental Collection of Mature Objects: Richard Hudson, Eliot Moss</a>
+75 -13
View File
@@ -1,3 +1,26 @@
* Updates
<b>Sep 20, 2001:</b> Microsoft has just announced some changes
to passport that are rather interesting. This document
reflects the Passport system without taking into account the
new changes.
Read about it <a href="http://www.microsoft.com/presspass/features/2001/sep01/09-20passport.asp">here</a>.
For an analysis of security problems with passport, check <a
href="http://avirubin.com/passport.html">http://avirubin.com/passport.html</a>.
The bottom line is that you should not put any sensitive
information on passport.
I have received many comments from people, and I have updated
the page accordingly. From removing incorrect statements, to
fixing typos, to include mentions to other software pieces.
I also corrected my statement about IIS and a trojan horse, I
should read a more educated press in the future. My apologies
to Microsoft and its employees on this particular topic. IIS
did not have a trojan horse built in.
* Microsoft Hailstorm and Passport
Microsoft Passport is a centralized database hosted by
@@ -14,7 +37,7 @@
** Passport
Passport is important not because of it being breaktrough
Passport is important not because of it being a breakthrough
technologically speaking, but because the company is in a
position to drive most people toward being suscribers of it.
@@ -75,12 +98,7 @@
at the corporate level policy, but also the fact that
the source code for Microsoft products is not
available, means that trojans or worms could be built
into the products by malicious engineers. This is not
unheard of, as the <a
href="http://slashdot.org/articles/00/04/14/0619206.shtml">Microsoft
Internet Server</a> had a trojan horse built into that
allowed anyone that knew about this to control any
server running IIS.
into the products by malicious engineers.
* <b>Security:</b> With a centralized system like
Passport, imagine the repercussions of a malicious
@@ -91,7 +109,21 @@
Hackers have already <a
href="http://slashdot.org/articles/00/10/27/1147248.shtml">broken
into Microsoft</a> in the past. And the company was
unable to figure out for how long their systems had been hacked.
unable to figure out for how long their systems had
been hacked.
Security holes have been found in <a
href="http://slashdot.org/articles/00/04/14/0619206.shtml">IIS
in the past.</a> If all the world's data is stored on
a central location, when a single security hole is
detected, it would allow an intruder to install a
backdoor within seconds into the corporate network
without people ever noticing.
Microsoft itself has been recently hit by worms,
imagine if all your business depended on a single
provider for providing all or your authentication
needs
</ul>
Microsoft might or might not realize this. The idea behind
@@ -112,6 +144,15 @@
system should not create an internet `blackout' in the
case of failure.
A distributed system using different software
platforms and different vendors would be more
resistent to an attack, as holes in a particular
implementation of the server software would not affect
every person at the same time.
A security hole attack might not even be relevant to
other software vendors software.
* <b>Allow for multiple registrars:</b> Users should
be able to choose a registrar (their banks, local
phone company, service provider, Swiss bank, or any
@@ -129,10 +170,14 @@
possibility of replicating and caching public information
about the user.
For instant messaging (another pieces of the Hailstorm bit),
For instant messaging (another piece of the Hailstorm bit),
you want to use a non-centralized system like Sun's <a
href="http://www.jxta.org">JXTA</a>. Some people mailed me to
mention Jabber as a messaging platform.
mention Jabber as a messaging platform and other people
pointed out to the <a
href="http://java.sun.com/products/jms/">Java Message
Service</a>. The JMS does support a number of very
interesting features that are worth researching.
It could also just use the user e-mail address as the `key' to
choose the registrar (msn.com, hotmail.com -> passport.com;
@@ -163,7 +208,7 @@
** Deploying it
The implementation of such a system should be a pretty
straightforward tasks once security cryptographers have
straightforward task once security cryptographers have
designed such a beast.
The major problems are:
@@ -188,7 +233,7 @@
** Passport and Mono
The .NET class libraries includes a Passport class that
The .NET class libraries include a Passport class that
applications might use to authenticate with Passport. Since
we do not have information at this point on the exact protocol
of Passport, it is not even feasible to implement it.
@@ -207,6 +252,18 @@
Currently, we are too far from the point where this is a real
issue.
** Passport and endangering Open Source.
A few people have said: `Mono will allow Passport to be
available for Linux and that is bad'. This is plain
misinformation.
Currently, you can obtain Passport for Linux from Microsoft
itself and deploy it today on your Web server. Mono does not
even enter the picture here. Go to passport.com and download
the toolkit and you will see with your own eyes that passport
is <B>already</b> available for Linux.
** Disclaimer
This is just a group of personal thoughts of mine that I have
@@ -219,7 +276,12 @@
Nat Friedman (Ximian's co-founder) has his own ideas on how a
competing system to Passport could be designed, but I will let
<a href="http://www.nat.org/gym">him</a> post his own story.
<a href="http://www.nat.org/">him</a> post his own story.
** Other Passport Comments
An interesting study on the security of passport is available at: <a
href="http://avirubin.com/passport.html">http://avirubin.com/passport.html</a>
** Other Alternatives
Executable
+15
View File
@@ -0,0 +1,15 @@
* Plans
Here we are tracking some plans to particular pieces of
technology that are part of Mono.
This is just a repository of information that is handy for
contributors.
Currently you can read our plans for <a
href="ado-net.html">ADO.NET</a>, <a
href="asp-net">ASP.NET</a>, <a href="java.html">Java</a> and
<a href="winforms.html">WinForms</a>.
+63
View File
@@ -0,0 +1,63 @@
* How to port Mono to your preferred architecture
** Endian, 64 bits and unaligned access issues
The first thing to do is to check that the metadata handling
library works on your target processor. You may use the disassembler
on simple programs and check that you get sensible results
(assuming it compiles at all on your system:-).
The main issue is to write macros that read unaligned
little endian shorts/ints/longs/float/doubles: look into
mono/metadata/endian.h. There may be other spots in the code that are
unsafe at reading/writing to some datatypes that require special
alignment, but there should be few such issues and they need to be fixed.
Once this stuff is sorted out, you should be able to run the interpreter
on simple programs that don't require delegates, P/Invoke functions etc..
** Generating assembly bytecodes for the target processor
Next, you need to provide the support code for generating assembly bytecode
for your target platform (in mono/arch/{ppc,sparc,alpha,*}).
The code should be more or less like the code in x86-codegen.h:
macros that produce fast in-line code. You don't need to provide
code to create every possible code, at first, just the code to
create trampolines and execute them is fine (you'll need to research
how the call convention works on your platform): that would be, for
example, the prolog and epilog code in a function, code to pass function
parameters and deal with the return value and so on.
libffi in gcc or the xptcall sources in mozilla may be helpful to
understand how the calling convention works, if you can't find a specification.
You'd need a processor manual to know how to create the assembly binary data.
This requires a lot of reading if you're not familiar with the assembly for your
target platform. Manuals for many processors are available as PDF files on the
web site of the respective vendors. Note that some processors require you to
flush the I-cache before executing the code: have a look at how the same thing is
done in GNU lightning.
** Getting the interpreter to work
Once you can generate binary code, you can start working on a
mono_create_trampoline() function for your platform: this function will receive
a MonoMethod that describes the arguments and the return type of a C function
and will create the code to call such function. When this function is complete
you'll be able to run more sample programs, that use System.IO, P/Invoke
functions etc.
To support delegates you'll need to write a mono_create_method_pointer()
function that creates a native function: this can be used to call the
method using the runtime's calling convention (it's basically the reverse
of mono_create_trampoline()).
** The final step: porting the JIT
At this point you'd need to have a more complete code generation header file
and you can start writing the machine description file for the monoburg
system. This code (jit/tesjit.c) will require some machine specific tweaks,
but hopefully all you have to do is create the grammar that emit assembly
code from the IR tree. Work is at the early stages also for x86 on this stuff
as we are still testing various solutions: you'd want to read about burg-like
code-generator generators (the LCC book is a good starting point).
+30
View File
@@ -0,0 +1,30 @@
* Mono PowerPC Port
** Status
It passes and compiles the same amount of mono tests as on the x86 architecture.
mcs is self hosting on Linux/PPC.
** To do
*** Interpreter
Up to date.
*** Jitter
Start the port
** Documentation
<B>PowerPC architecture:</B>
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPCFPE32B.pdf">PowerPC Programming environments manual</A><BR>
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPC7410UM.pdf">G4 (7410) User's manual</A>
<B>Calling conventions:</B>
&lt;add me&gt;
Executable
+24
View File
@@ -0,0 +1,24 @@
* Open Projects
The .NET framework is a good first in terms of a new
development foundation, but it falls short of providing
higher-level components or building blocks for people to
reuse.
A few ideas of projects and classes that would be useful to
develop applications follows:
** EOG component
** XmlStorageSystem component
* Gtk# related projects
Gnome Canvas Bindings.
Bezier Canvas Item Binding.
* Graphical bindings
Binding for the Libart library
+1 -1
View File
@@ -18,7 +18,7 @@
standard GNOME interfaces for easily creating reusable,
language independent components, controls and compound
documents. This technology is known as <a
href="http://www.ximian.com/tech/bonobo.php3">Bonobo</a>.
href="http://developer.ximian.com/tech/bonobo.html">Bonobo</a>.
Interfaces to Bonobo exist for C, Perl, Python, and
Java.
+46
View File
@@ -0,0 +1,46 @@
To: [email protected], [email protected]
Subject: July 12 snapshots.
FCC: ~/Mail/outbox.txt
X-Windows: Sometimes you fill a vacuum and it still sucks.
--text follows this line--
Hey!
July 12 snapshots of class libraries, the compiler and the mono
runtime are available.
New on this release:
* Runtime (module: mono)
The beginning of a simple interpreter that Paolo started
workign on (can run really simple .NET programs).
Disassembler copes with more elements of the binary format and
more tokens are decoded. Paolo is working now on moving some
of these to the metadata library.
More tables are dumped.
* Class libraries (module: mcs/class)
Many new more classes are in from Joe, Vladimir, Jeff, Sean
and yours truly.
Sean fixed the build process, and it is now possible to
compile with a single command the assemblies. We will be
revisiting this mechanism in the future to compile per-OS
assemblies (ie, Unix, Windows, MacOS, etc).
* Compiler (module mcs/mcs)
Not much done this week, just a few fixes here and there, and
more work to make it easy to compiler.
* Documentation (module: mono/doc)
All the changes to the web site are there for your browsing
pleasure. We still need to integrate the status system in
there.
Miguel.
+43
View File
@@ -0,0 +1,43 @@
To: [email protected]
Subject: Sunday snapshot available.
Gcc: mail.2001-07
--text follows this line--
Hey guys,
I promise I will not be doing these so often once we have the CVS
server up. In the meantime:
* MCS
Sean got the classes to compile in a single go. You
will need CygWin (www.cygwin.org) to compile though
(GNU make and stuff is required).
System.Xml.XmlReader contribution from Jason
(WOOHHOO!!). It also contains a nice test-suite for
his functions, and in his new code bit, his
implementation is faster than Microsoft's
We now ship `jay' as part of the distribution to allow
you to compile the compiler with the same `make'
command. Small fixes to the parser as well were
introduced.
* Mono 0.4
Paolo's interpreter supports call instructions and has
the test suite program that he posted about.
All documentation ships now in the mono-0.4.tar.gz
Notes:
As usual, MCS is targeted to be compiled on a Windows machine
(you will need Cygwin).
Mono is targeted to be compiled on a Unix machine or a Windows
machine running Cygwin.
Miguel.
+115 -29
View File
@@ -7,9 +7,64 @@
If you want to send suggestions for links, address them to <a
mailto="[email protected]">[email protected]</a>.
** Microsoft .NET
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.</a>
The Microsoft .NET Framework 1.0 can be downloaded <a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
New methods that are not documented in 1.0, are documented <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp">here</a>
** IRC
Various Mono contributors get together on channel #mono on
irc.gnome.org
** Mono related sites.
Sergey's web page on Mono resources:
<a href="http://mono.eurosoft.od.ua">http://mono.eurosoft.od.ua</a>
Got Dot Net:
<a href="http://www.gotdotnet.com">Got Dot Net</a>
MonoMail:
<a href="http://sourceforge.net/projects/monomail/">http://sourceforge.net/projects/monomail/</a>
Zip classes:
Mike's port to .NET: <a
href="http://www.icsharpcode.net/OpenSource/NZipLib/default.asp">NZipLib</a>
.NET Security:
A nice overview paper on the <a
href="http://www.foundstone.com/pdf/dotnet-security-framework.pdf">.NET
security architecture</a>.
** Presentations
Currently the <a href="Presentations/O-Reilly">O'Reilly</a>
presentation on Mono is available. Arturo Espinosa has given
a talk on Mono in Mexico and made <a
href="http://construct.ximian.com/~arturo/Presentations/Mono.OLS/html">spanish
slides</a>
** ECMA Documentation.
You can get the documentation for the ECMA specs from a number of sites:
You can get the documentation for the ECMA specs from:
<ul>
* <a href="http://www.ecma.ch/ecma1/STAND/ecma-334.htm">C# Language Specification</a>
* <a href="http://www.ecma.ch/ecma1/STAND/ecma-335.htm">Common Language Infrastructure</a>
</ul>
Older copies of the standard are available here:
<ul>
* <a href="http://msdn.microsoft.com/net/ecma">At MSDN</a>
* <a href="http://www.dotnetexperts.com">Dot Net Experts</a>
@@ -31,28 +86,6 @@
You can also get this information if you install the Beta2
release of the .NET Framework.
<a name="mailing">
** Mailing Lists
There are a number of mailing lists for Mono
<ul>
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-list">mono-list:</a></b>
The general Mono discussion list.
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-announce-list">mono-announce-list:</a></b>
Announcements of Mono developments.
* <b><a
href="http://mail.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list:</a></b>
Discussion on the documentation of Mono.
* <b><a
href="http://discuss.develop.com/dotnet.html">Dotnet mailing
list at Develop.com:</a></b> The guys at Develop Mentor run
this general purpose mailing list.
</ul>
** Discussion Groups.
<ul>
@@ -71,26 +104,51 @@
There are a number of related projects to Mono:
<ul>
* <a
href="http://qtcsharp.sourceforge.net">Qt#:</a>
C# bindings for the Qt toolkit.
* <a
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">Sharp
Develop:</a> an IDE for the C# language written in C#.
* <a
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
href="http://www.improve-technologies.com/alpha/esharp/">Eclipse
Plugin for C#</a>
* <a
href="http://janet-js.sourceforge.net/">Janet:</a>
an implemention of ECMAScript (the standarized
version of JavaScript) in C#
* <a
href="http://xmarks.sourceforge.net/doc.html">XMarks DOC.NET:</a> For
creating online documentation you can browse for your own classes.
* <a href="http://nunit.sourceforge.net">NUnit:</a> A
testing framework for .NET classes.
testing framework for .NET classes.
* <a href="http://www.kaffe.org">Kaffe:</a> A popular
Free Software JIT engine for Java.
* <a href="http://www.intel.com/research/mrl/orp">ORP:</a> A research
JIT/VM/GC system from Intel.
JIT/VM/GC system from Intel.
* C# bindings for OpenGL and SDL are available here: <a
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
* <a
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
Another implementation of the CLI and C# compiler.
* A Free (GFDL) tutorial on C# in Spanish with examples, slides, and extras (under development). Get it <a href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
</ul>
** GNOME Documentation
Documnetation on GNOME, and the GNOME APIs is available from
Documentation on GNOME, and the GNOME APIs is available from
the <a href="http://developer.gnome.org">developer</a> site at
GNOME:
@@ -104,6 +162,34 @@ JIT/VM/GC system from Intel.
* <A
href="http://developer.gnome.org/arch/">Architecture Overview</a>
</ul>
** Assembly Language Manuals online
<ul>
* <a href="http://www.agner.org/assem/#optimize">
Pentium optimization tutorial</a> by Agner Fog
* <a href="http://webster.cs.ucr.edu/">
Art of Assembly</a> (x86 only)
* Documentation for various CPUs
(<a href="http://www.mit.edu/afs/sipb/contrib/doc/specs/ic/cpu/">
x86, IA64, MIPS, ARM, Alpha</a>)
* <a href="http://www.heyrick.co.uk/assembler/">
ARM Assembler</a> tutorial
* PowerPC
<a href="http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/852569B20050FF7785256996007558C6">
Compiler Writer's Guide</a>
* <a href="http://www.lightsoft.co.uk/Fantasm/Beginners/begin1.html">
Beginners Guide to PowerPC Assembler</a>
</ul>
** Win32
<ul>
* Win32 <a href="http://www.jorgon.freeserve.co.uk/ExceptFrame.htm">
Structured Exception Handling (SEH)</a> internals (x86 specific)
</ul>
+121 -55
View File
@@ -1,95 +1,126 @@
The MonoNet runtime
* The Mono runtime
The MonoNet runtime will implement the JIT engine (and a byte
code interpreter for quickly porting to new systems), the
class loader, the garbage collector, threading system and
metadata access libraries.
The Mono runtime implements a JIT engine for the CIL virtual
machine (as well as a byte code interpreter, this is to
quickly port it to new systems), the class loader, the garbage
collector, threading system and metadata access libraries.
Currently the runtime contains the beginning of an image
loader and metadata access entry points. Since Beta2 has been
now released, it is possible to resume work using the ECMA
specs and testing with Beta2-generated executables.
We currently have two runtimes:
The runtime core will be implemented in C, in a library
"libMonoVES.so".
<ul>
* <b>mono:</b> The Just In Time compiler implemented
using a BURS instruction selector. We only support
x86 machines in the JIT engine at this point.
* <b>mint:</b> The Mono interpreter. This is an
easy-to-port runtime engine.
</ul>
Currently we are using the Bohem conservative garbage
collector, but we working on incorporating the ORP GC engine.
** Executing MSIL/CIL images
The code will load an executable and map the references to
external assemblies to our own version of the assemblies on
GNU/Linux.
Linux.
Our roadmap looks like this, this has been updated as of
<b>Jul 15, 2001</b>:
<b>Dec 18, 2001</b>:
<ul>
* Milestone 1: Fully read and parse all CIL byte-codes
and metadata tokens (ie, a disassembler).
* Milestone 1: <b>Done</b> Fully read and parse all CIL byte-codes
and metadata tokens (ie, a disassembler).
* Milestone 2: Complete an interpreter for CIL byte
* Milestone 2: <b>Done</b> Complete an interpreter for CIL byte
codes. This interpreter can be used temporarly to
run CIL byte code on a system where no JIT is
available.
* Milestone 3: Define an <i>lburg</i> instruction
selector for the JITer for Intel. Although slower
at JITing than a streaming JITer, it generates
better code. The same grammar can later be used for
the stream jitter.
* Milestone 3: <b>Done</b>Define an <i>lburg</i>-like
instruction selector for the JITer for Intel.
* Milestone 4: Implement JITer.
* Milestone 4: <b>Done</b> Implement JITer. This is where our
current efforts are focused on, the JITer currently runs
all of the code we have tested on it. The major limitation
is that our class libraries are not complete, and hence not
every application can be ran.
* Milestone 5: Port of the JITer to non IA32 systems.
</ul>
A setup similar to the Kaffe JIT engine can be used to
A setup similar to the Kaffe JIT engine will be used to
layout the code to support non-IA32 architectures. Our work
will be focused on getting a IA32 version running first.
The JIT engine should work on Linux and Win32, although you
The JIT engine works on Linux and Win32, although you
will need to install the CygWin32 development tools to get a
Unix-like compilation environment.
Unix-like compilation environment (mostly we use GNU make in
a few of the makefiles).
** JIT Engine (<b>updated, Jul 14th, 2001</b>)
** JIT Engine (<b>updated, July 8th, 2002</b>)
We will be using a code-generator generator approach for our
JITer. Given the properties of CIL byte codes, we can take
full advantage of a real instruction selector for our code
generator.
The JIT engine uses a code-generator generator approach for
compilation. Given the properties of CIL byte codes, we can
take full advantage of a real instruction selector for our
code generator.
The JIT engine implements a number of optimizations:
<ul>
* Opcode cost estimates (our architecture allows
us to generate different code paths depending
on the target CPU dynamically).
* Inlining.
* Constant folding.
Although compilers typically do
constant folding, the combination of inlining with
constant folding gives some very good results.
* Linear scan register allocation. In the past,
register allocation was our achilles heel, but now
we have left this problem behind.
</ul>
There are a couple of books that deal with this technique: "A
Retargetable C Compiler" and "Advanced Compiler Design and
Implementation" are good references. You can also get a
technical description of <a
href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">lbrug</a>
href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">lbrug</a>.
Previously we had looked at a number of JIT engines and tools,
but they would not take full advantage of the CIL properties:
A few papers that describe the instruction selector:
<ul>
* <a
href="http://www.intel.com/research/mrl/orp/">ORP</a>
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/interface.pdf&pub=wiley">A code generation interface for ANSI C</a>
* <a
href="http://www.gnu.org/software/lightning/">GNU
Lightning</a>
* href="http://www.eecs.harvard.edu/~nr/toolkit/">NJ Machine
Toolkit</a>.).
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">Engineering efficient code generators using tree matching and dynamic programming.</a>
* VCODE.
</ul>
** Future plans
We are evaluating the future directions for the JIT engine:
both from our needs (optimizations like inlining, better register allocation,
instruction scheduling, and porting to other CPUs).
We have not yet decided how we will evolve the JIT engine. We
might just upgrade our current architecture, and provide optimizations as
an extra layer.
** Garbage Collection
We have decided to implement a generational tracing garbage
collector, which is very similar to the one being used by
.NET. For an introduction to the garbage collection system
used by Microsoft's CLR implementation, you can read this book
on <a
href="http://www.amazon.com/exec/obidos/ASIN/0471941484/o/qid=992556433/sr=2-1/ref=aps_sr_b_1_1/103-5866388-0492603">Garbage
Collection.</a>
Currently we are using the Boehm conservative GC. Although our plans
are to move to the Intel ORP GC engine, our plans on a next generation
dual-JIT engine have to be taken into account.
We will be using the Intel ORP GC engine as it provides a precise
garbage collector engine, similar to what is available on the
.NET environment.
Although using a conservative garbage collector like Bohem's
would work, all the type information is available at runtime,
@@ -100,17 +131,33 @@
* Garbage collection list and FAQ:<br>
<a href="http://www.iecc.com/gclist/">http://www.iecc.com/gclist/</a>
* The Microsoft .NET Garbage Collection Implementation:<br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI.asp</a>
* "GC points in a Threaded Environment":<br>
<a href="http://research.sun.com/techrep/1998/abstract-70.html">
http://research.sun.com/techrep/1998/abstract-70.html</a>
* "A Generational Mostly-concurrent Garbage Collector":
<a href="http://research.sun.com/techrep/2000/abstract-88.html">
http://research.sun.com/techrep/2000/abstract-88.html</a>
* Details on The Microsoft .NET Garbage Collection Implementation:<br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI.asp</a>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI2.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI2.asp</a>
</ul>
** IO and threading
The ECMA runtime and the .NET runtime assume an IO model and a
threading model that is very similar to the Win32 API.
Dick Porter has been working on the Mono abstraction layer
that allows our runtime to execute code that depend on this
behaviour.
** Useful links
Paolo Molaro found a few interesting links:
<ul>
* On compilation of stack-based languages:<br>
<a href="http://www.complang.tuwien.ac.at/projects/rafts.html">
http://www.complang.tuwien.ac.at/projects/rafts.html</a>
@@ -127,7 +174,26 @@
** PInvoke
PInvoke will be supported, and will be used to wrap Unix API
calls, these in turn are required for reusing some of the
GNOME libraries that will reduce the work we have to do to
deliver a complete class library.
PInvoke is the mechanism we are using to wrap Unix API calls
as well as talking to system libraries.
Initially we used libffi, but it was fairly slow, so we have
reused parts of the JIT work to create efficient PInvoke trampolines.
** Remoting
Mono has support for remoting and proxy objects, just like
.NET does. The runtime provides these facilities.
** Porting
If you are interested in porting the Mono runtime to other
platforms, you might find the pre-compiled <a
href="archive/mono-tests.tar.gz">Mono regression test
suite</a> useful to debug your implementation.
* COM and XPCOM
We plan on adding support for XPCOM on Unix and COM on Microsoft
Windows later in our development process.
+24 -28
View File
@@ -4,41 +4,37 @@
Pieces of Mono that have been implemented:
<ul>
* C# compiler: The C# parser can now generate parse
trees. Next up: semantic analysis, compiler lever optimizations
and code generation.
* C# compiler: The C# compiler is mostly complete, a
few features are still missing (for a list, check the
<a href="c-sharp.html">C# compiler</a> web page.
* Metadata library: Can currently parse and load
information from .NET modules (executables and DLL
files). It has a few bugs outstanding (table
dimension computation is incorrect).
* The Mono JIT engine (<b>mono</b>. The JIT engine is
the real
virtual machine that we support. It is
currently functional, and we are improving its speed,
and making it feature complete.
Parsing of Exception tables is missing.
* A CIL bytecode interpreter (<b>mint</b>). This
currently can be used to run most .NET programs
(modulo the fact that our class libraries are not
complete enough).
It lacks Token to (Table, Index) mapping, but this
should be trivial to write.
<b>mint</b> can currently run the Mono C# compiler and
the compiler generates valid code.
We use <b>mint</b> as a reference implementation of
the runtime environment and to quickly support
non-Intel platforms.
* Metadata library: Can currently parse
and load information from .NET modules (executables
and DLL files).
* Disassembler: Can disassemble .NET modules. Still
lacking exception handling as well as useful debugging
tools (hex dumping, token dumping).
* Class Libraries: Only a few classes have been
implemented.
* Class Libraries: You can check the current status in the
<a href="class-status.html">Class Status page</a>.
</ul>
Tasks on the critical path:
<ul>
* Method and Field resolution.
* Bytecode interpreter: Not implemented yet.
* Simple JIT: Not implemented yet.
* Garbage collection engine.
</ul>
+27 -2
View File
@@ -1,4 +1,12 @@
* Testing
* Testing
Testing is an important part of the Mono project: every one of its
three major components has a test suite tailored for its needs. This
is very helpful, because in the course of developing the software it
is very common to introduce bugs in existing code. A test suite
helps us fix the bugs as soon as they are introduced.
** Class Library Tests
All classes in Mono libraries should have comprehensive unit test
suites to go with them. Unit testing is a software engineering
@@ -17,5 +25,22 @@
be written to demonstrate the bug and its fix. Then, if
you ever reintroduce the bug, you will know immediately. For
more info, read <a
href="http://nunit.sourceforge.net/doc/testinfected/testing.html">
href="http://junit.sourceforge.net/doc/testinfected/testing.htm">
JUnit Test Infected: Programmers Love Writing Tests</a>.
** Getting Started
We welcome all contributions to the Class Libary Test Suite.
There is information to help you get started in CVS at
mcs/class/doc/NUnitGuidelines. Once you have written your test, please
post it to <a href="mailing-lists.html">mono-list</a>.
Someone will make sure to add the file or apply the patch as
appropriate. If you plan to be an on-going contributor and
would like to get cvs account, email <a href="mailto:[email protected]">miguel</a>.
Normally, after you send a couple of well-written new files
and/or patches to the list, you will be given cvs access.
+48 -6
View File
@@ -4,22 +4,64 @@
Mono-based solution. Some of these tools can be developed on
Windows before Mono is fully finished.
All of these tools should be written using C#.
For the tools that are typically command line tools: Try to
write these as components that could load their input from
streams or collections of streams, and implement the command
line tools as wrappers around those classes.
For example, we will be making the C# compiler a component
that could be reused by applications that might have a use for
the various bits of the compiler (either to embed the
compiler, or reuse the code generator part of it).
This is important so that these components (compiler,
assembler, linker, etc) can be integrated later into the
visual development environment (hopefully with the help of the
SharpDevelop hackers).
TODO=ilasm,IL Assembler
** IL Assembler.
This assembler should basically take as input a file
containing IL bytecodes as specified in the `Partition II' of
the ECMA spec, and produce a binary file.
TODO=al,Assembly Linker
** Assembly Linker.
This tool is used to construct assemblies, which are basically
deployment units for CLI executables.
TODO=debugger,Debugger
** Debugger
We will need a debugging API to debug CLI applications and
then a debugger component that can be used in an IDE
environment.
TODO=ide,Integrated Development Environment
** Integrated Development Environment
There is already a project to create a C# development
environment (SharpDevelop). People could work with the
SharpDevelop hackers to produce a unified development environment.
environment: <a
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">SharpDevelop</a>.
People should work with the SharpDevelop hackers to produce a
unified development environment.
Please work with the SharpDevelop hackers to build a good IDE.
We will work on creating an embedable compiler component and
an embeddable debugger component that can be used withing
SharpDevelop
TODO=hbrowser,Help Browser
** Help Browser
We need a good help browser that can be used to browse all the
Mono documentation.
We need a good help browser that can be used to browse
documentation. Ideally this help browser can accept as input
XML Docbook input and an assorted set of file formats
(Microsoft Help, Unix manual pages, Unix Info pages)
Look at the GNOME DevHelp for a good set of ideas on how to
implement this.
+30 -2
View File
@@ -3,15 +3,43 @@
0,Mono,rationale.html,rationale.src
1,Runtime,runtime.html,runtime.src
1,Classes,class-library.html,class-library.src
2,Class Status,class-status.html,class-status.src
1,Gtk#,http://gtk-sharp.sourceforge.net
1,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
2,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
2,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
2,System.Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
2,System.Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
2,System.Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
2,System.Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
2,System.Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
1,C# Compiler,c-sharp.html,c-sharp.src
1,Status,status.html,status.src
0,Download,download.html,download.src
1,CVS access,ccvs.html,ccvs.src
1,AnonCVS access,anoncvs.html,anoncvs.src
0,Contributing,contributing.html,contributing.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Doc format,monodoc-xml.html,monodoc-xml.src
1,Test Suite,testing.html,testing.src
1,Tools,tools.html,tools.src
0,Download,download.html,download.src
1,Porting,porting.html,porting.src
2,PowerPC,ppc.html,ppc.src
1,HOWTO,mono-contribution-howto.html,mono-contribution-howto.src
0,Plans,plans.html,plans.src
1,ADO.NET,ado-net.html,ado-net.src
1,ASP.NET,asp-net.html,asp-net.src
1,Java,java.html,java.src
1,Windows.Forms,winforms.html,winforms.src
0,Resources,resources.html,resources.src
1,Beginning,mono-beginning.html,mono-beginning.src
1,Mailing Lists,mailing-lists.html,mailing-lists.src
1,Ideas,ideas.html,ideas.src
1,Passport,passport.html,passport.src
1,Books,books.html,books.src
1,Papers,papers.html,papers.src
1,Languages,languages.html,languages.src
1,Debugging,jit-debug.html,jit-debug.src
2,Example 1,jit-debug-sample.html,jit-debug-sample.src
2,Example 2,jit-debug-sample2.html,jit-debug-sample2.src
0,Contact,contact.html,contact.src
+1
View File
@@ -0,0 +1 @@
*.html
Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

+182
View File
@@ -0,0 +1,182 @@
.y IMG
{
border: 0px;
padding: 0px;
margin: 0px;
margin-right: 4px;
vertical-align: middle;
}
.y, .y_,
.n, .n_,
.c, .c_,
.c, .c_,
.d, .d_,
.en, .en_,
.i, .i_,
.s, .s_,
.e, .e_,
.f, .f_,
.m, .m_,
.o, .o_,
.p, .p_,
.r, .r_,
.x, .x_
{
FONT: 10px 'Verdana';
margin-left: 20px;
}
.y_ .n,
.y_ .n_,
.n_ .c,
.n_ .c_,
.n_ .s,
.n_ .s_,
.n_ .d,
.n_ .d_,
.n_ .en,
.n_ .en_,
.n_ .i,
.n_ .i_,
.c_ .c,
.c_ .c_,
.c_ .e,
.c_ .e_,
.c_ .f,
.c_ .f_,
.c_ .m,
.c_ .m_,
.c_ .o,
.c_ .o_,
.c_ .p,
.c_ .p_,
.c_ .r,
.c_ .r_,
.c_ .x,
.c_ .x_,
.c_ .i,
.c_ .i_,
.d_ .c,
.d_ .c_,
.d_ .e,
.d_ .e_,
.d_ .f,
.d_ .f_,
.d_ .m,
.d_ .m_,
.d_ .o,
.d_ .o_,
.d_ .p,
.d_ .p_,
.d_ .r,
.d_ .r_,
.d_ .x,
.d_ .x_,
.en_ .c,
.en_ .c_,
.en_ .e,
.en_ .e_,
.en_ .f,
.en_ .f_,
.en_ .m,
.en_ .m_,
.en_ .o,
.en_ .o_,
.en_ .p,
.en_ .p_,
.en_ .r,
.en_ .r_,
.en_ .x,
.en_ .x_,
.i_ .c,
.i_ .c_,
.i_ .e,
.i_ .e_,
.i_ .f,
.i_ .f_,
.i_ .m,
.i_ .m_,
.i_ .o,
.i_ .o_,
.i_ .p,
.i_ .p_,
.i_ .r,
.i_ .r_,
.i_ .x,
.i_ .x_,
.i_ .i,
.i_ .i_,
.s_ .c,
.s_ .c_,
.s_ .e,
.s_ .e_,
.s_ .f,
.s_ .f_,
.s_ .m,
.s_ .m_,
.s_ .o,
.s_ .o_,
.s_ .p,
.s_ .p_,
.s_ .r,
.s_ .r_,
.s_ .x,
.s_ .x_,
.s_ .i,
.s_ .i_,
.e_ .r,
.e_ .r_,
.e_ .o,
.e_ .o_,
.f_ .r,
.f_ .r_,
.f_ .o,
.f_ .o_,
.m_ .r,
.m_ .r_,
.m_ .o,
.m_ .o_,
.o_ .r,
.o_ .r_,
.o_ .o,
.o_ .o_,
.p_ .r,
.p_ .r_,
.p_ .o,
.p_ .o_,
.r_ .r,
.r_ .r_,
.r_ .o,
.r_ .o_,
.x_ .r,
.x_ .r_,
.x_ .o,
.x_ .o_
{
display: none;
}
.t
{
cursor: pointer;
margin-right: 8px;
}
.filter
{
cursor: pointer;
vertical-align: middle;
}
.st
{
margin-left: 20px;
}
.l
{
cursor: pointer;
}
+392
View File
@@ -0,0 +1,392 @@
function toggle (elt)
{
if (elt == null)
return;
var eltLink = elt.firstChild;
if (eltLink != null && eltLink.className == 't') // toggle
{
var ich = elt.className.indexOf ('_');
if (ich < 0)
{
eltLink.src = 'cm/tp.gif';
elt.className += '_';
}
else
{
eltLink.src = 'cm/tm.gif';
elt.className = elt.className.slice (0, ich);
}
}
}
function setView (elt, fView)
{
var eltLink = elt.firstChild;
if (eltLink != null && eltLink.className == 't') // toggle
{
var ich = elt.className.indexOf ('_');
if (ich < 0 && !fView)
{
eltLink.src = 'cm/tp.gif';
elt.className += '_';
}
else if (ich >= 0 && fView)
{
eltLink.src = 'cm/tm.gif';
elt.className = elt.className.slice (0, ich);
}
}
}
function trimSrc (strSrc)
{
return strSrc.slice (strSrc.lastIndexOf ('/') + 1, strSrc.lastIndexOf ('.'));
}
function getChildrenByTagName (elt, strTag)
{
strTag = strTag.toLowerCase ();
var rgChildren = new Array ();
var eltChild = elt.firstChild;
while (eltChild)
{
if (eltChild.tagName && eltChild.tagName.toLowerCase () == strTag)
rgChildren.push (eltChild);
eltChild = eltChild.nextSibling;
}
return rgChildren;
}
function viewAll (elt, dictTypes)
{
var fView = false;
var rgImages = getChildrenByTagName (elt, 'IMG');
var cImages = rgImages.length;
for (var iImage = 0; iImage < cImages; iImage++)
{
var strImage = trimSrc (rgImages [iImage].src);
if (dictTypes [strImage])
{
fView = true;
break;
}
}
var rgElts = getChildrenByTagName (elt, 'DIV');
var cElts = rgElts.length;
if (cElts != 0)
{
var iElt;
for (iElt = 0; iElt < cElts; iElt ++)
fView |= viewAll (rgElts [iElt], dictTypes);
}
elt.style.display = fView ? '' : 'none';
return fView;
}
function getView (elt)
{
var eltLink = elt.firstChild;
if (eltLink != null && eltLink.className == 't') // toggle
{
var ich = elt.className.indexOf ('_');
if (ich < 0)
return true;
}
return false;
}
function getParentDiv (elt)
{
if (elt)
{
do
{
elt = elt.parentNode;
}
while (elt && elt.tagName != 'DIV');
}
return elt;
}
function getName (elt)
{
var rgSpans = getChildrenByTagName (elt, 'SPAN');
for (var iSpan = 0; iSpan < rgSpans.length; iSpan ++)
{
var span = rgSpans [iSpan];
if (span.className == 'l') // label
{
if (span.innerText)
return span.innerText;
else
return span.firstChild.nodeValue;
}
}
return null;
}
function clickHandler (evt)
{
var elt;
if (document.layers)
elt = evt.taget;
else if (window.event && window.event.srcElement)
{
elt = window.event.srcElement;
evt = window.event;
}
else if (evt && evt.stopPropagation)
elt = evt.target;
if (!elt.className && elt.parentNode)
elt = elt.parentNode;
if (elt.className == 'l') // label
{
var strClass;
var strField;
var strNamespace;
var strAssembly;
elt = getParentDiv (elt);
var strEltClass = elt.className;
if (strEltClass.charAt (strEltClass.length - 1) == '_')
strEltClass = strEltClass.slice (0, strEltClass.length - 1);
if (strEltClass == 'x') // constructor
{
strField = 'ctor';
elt = getParentDiv (elt);
}
else
if (strEltClass == 'm' || // method
strEltClass == 'p' || // property
strEltClass == 'e' || // event
strEltClass == 'f') // field
{
strField = getName (elt).toLowerCase ();
var match = strField.match ( /[\.A-Z0-9_]*/i );
if (match)
strField = match [0];
elt = getParentDiv (elt);
}
var strEltClass = elt.className;
if (strEltClass.charAt (strEltClass.length - 1) == '_')
strEltClass = strEltClass.slice (0, strEltClass.length - 1);
if (strEltClass == 'c' || // class
strEltClass == 's' || // struct
strEltClass == 'i' || // struct
strEltClass == 'd' || // delegate
strEltClass == 'en') // enum
{
strClass = getName (elt);
if (strEltClass == 'en')
strField = null;
elt = getParentDiv (elt);
}
var strEltClass = elt.className;
if (strEltClass.charAt (strEltClass.length - 1) == '_')
strEltClass = strEltClass.slice (0, strEltClass.length - 1);
if (strEltClass == 'n')
{
strNamespace = getName (elt);
elt = getParentDiv (elt);
}
var strEltClass = elt.className;
if (strEltClass.charAt (strEltClass.length - 1) == '_')
strEltClass = strEltClass.slice (0, strEltClass.length - 1);
if (strEltClass == 'y')
{
strAssembly = getName (elt);
}
if (evt.ctrlKey)
{
var strRoot = 'http://cvs.hispalinux.es/cgi-bin/cvsweb/mcs/class/';
var strExtra = '?cvsroot=Mono';
if (strAssembly)
{
strRoot = strRoot + strAssembly + '/';
if (strNamespace)
{
strRoot = strRoot + strNamespace + '/';
if (strClass)
{
strRoot += strClass + '.cs';
strExtra += '&rev=1';
}
}
window.open (strRoot + strExtra, 'CVS');
}
}
else if (strNamespace)
{
var re = /\./g ;
strNamespace = strNamespace.toLowerCase ().replace (re, '');
if (strClass)
strNamespace += strClass.toLowerCase () + 'class';
if (strField)
strNamespace += strField;
if (strClass || strField)
strNamespace += 'topic';
window.open ('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf' + strNamespace + '.asp', 'MSDN');
}
}
else
{
if (elt.parentNode && elt.parentNode.className == 't') // toggle
elt = elt.parentNode;
else if (elt.className != 't') // toggle
return;
while (elt != null && elt.tagName != 'DIV')
elt = elt.parentNode;
if (evt.shiftKey)
{
var rgElts = getChildrenByTagName (elt, 'DIV');
var cElts = rgElts.length;
if (cElts != 0)
{
var fView = false;
var iElt;
for (iElt = 0; iElt < cElts; iElt ++)
{
if (getView (rgElts [iElt]))
{
fView = true;
break;
}
}
for (iElt = 0; iElt < cElts; iElt ++)
{
setView (rgElts [iElt], !fView);
}
}
}
else if (evt.ctrlKey)
{
setView (elt, true);
var eltParent = getParentDiv (elt);
while (eltParent)
{
var rgSiblings = getChildrenByTagName (eltParent, 'DIV');
var cSiblings = rgSiblings.length;
for (var iSibling = 0; iSibling < cSiblings; iSibling++)
{
var eltSibling = rgSiblings [iSibling];
if (eltSibling != elt)
{
setView (eltSibling, false);
}
}
elt = eltParent;
eltParent = getParentDiv (elt);
}
}
else
toggle (elt);
}
return false;
}
function filterTree ()
{
var eltMissing = document.getElementById ('missing');
var eltTodo = document.getElementById ('todo');
var eltExtra = document.getElementById ('extra');
var eltErrors = document.getElementById ('errors');
var dictTypes = new Object ();
if (eltMissing.checked)
dictTypes ['sm'] = true;
if (eltTodo.checked)
dictTypes ['st'] = true;
if (eltErrors.checked)
dictTypes ['se'] = true;
if (eltExtra.checked)
dictTypes ['sx'] = true;
// dictTypes ['sc'] = true;
viewAll (document.getElementById ('ROOT'), dictTypes);
}
function selectMissing ()
{
toggleFilter ('missing');
}
function selectTodo ()
{
toggleFilter ('todo');
}
function selectExtra ()
{
toggleFilter ('extra');
}
function selectErrors ()
{
toggleFilter ('errors');
}
function toggleFilter (strFilter)
{
var eltTodo = document.getElementById ('todo');
var eltMissing = document.getElementById ('missing');
var eltExtra = document.getElementById ('extra');
var eltErrors = document.getElementById ('errors');
var eltToggle = document.getElementById (strFilter);
if (window && window.event && window.event.shiftKey)
{
eltMissing.checked = eltTodo.checked = eltExtra.checked = eltErrors.checked = false;
eltToggle.checked = true;
}
else
if (!eltTodo.checked && !eltMissing.checked && !eltExtra.checked && !eltErrors.checked)
{
eltMissing.checked = eltTodo.checked = eltExtra.checked = eltErrors.checked = true;
eltToggle.checked = false;
}
filterTree ();
}
function onLoad ()
{
var eltMissing = document.getElementById ('missing');
var eltTodo = document.getElementById ('todo');
var eltExtra = document.getElementById ('extra');
var eltErrors = document.getElementById ('errors');
eltMissing.checked = eltTodo.checked = eltExtra.checked = eltErrors.checked = true;
}
if (document.layers)
{
document.captureEvents (Event.MOUSEUP);
document.onmouseup = clickHandler;
}
else if (document.attachEvent)
{
document.attachEvent('onclick', clickHandler);
}
else if (document.addEventListener)
{
document.addEventListener('click', clickHandler, false);
}
else
document.onclick = clickHandler;
Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

Binary file not shown.
+11 -2
View File
@@ -9,16 +9,25 @@ while (<>){
print "<h2>$1</h2>\n";
} elsif (/^\*\*\* (.*)$/) {
print "<h3>$1</h3>\n";
} elsif (/^\*\*\*\* (.*)$/) {
print "<h4>$1</h4>\n";
} elsif (/^$/) {
print "<p>\n";
} elsif (/^\t\t\* (.*)$/) {
print "<li>$1\n";
} elsif (/^\@item (.*)$/){
$name = $link = $1;
$link =~ s/ //g;
print "<a name=\"$link\">\n";
print "<h2>$name</h2>\n";
} elsif (/^Q: (.*)$/){
print "<p><a name=\"q$q\"><b>Question $q:</b> $1\n";
print "<p><a name=\"q$q\"></a><b>Question $q:</b> $1\n";
$q++;
} elsif (/^A: (.*)$/){
print "$1\n";
} else {
} elsif (/^TODO=(.*),$/){
print "<a name=\"$1\">\n";
} else {
print "$_\n";
}
}
+76
View File
@@ -0,0 +1,76 @@
#!/usr/bin/perl
$q = 1;
# Modified by Edwin Lima ([email protected]; [email protected])
# Date: 08/21/01, The Netherlands
# $f: Variable used as a flag to create the list of questions on top of the question-answers set. This
# is the only way that I found to scan the questions which have a <CR><LF>, in such a way that I will not
# scan the answer together at same time.
# @aname: Buffer used to store the question-answers set to print them out just after the print of the
# questions.
# @href: Buffer used to store the anchors (only questions) to the questions-answers set on the bottom
# of the page.
# I opened explicitly the file for input (input.txt) but U can change this as it was originally.
#
#
#comment this line if you are not open the file explicitly
#open(IN, "input.txt") || die "cannot open file input.txt" ;
print("<A name=TOP>") ;
#Uncomment line bellow to make it work as it was originally.
while (<>){
#comment line bellow
#while (<IN>){
chop;
if (/^\* (.*)$/){
push(@aname,"<h1>$1</h1>\n");
# print $body;
} elsif (/^\*\* (.*)$/) {
push(@aname, "<h2>$1</h2>\n");
push(@href, "<h2>$1</h2>\n");
} elsif (/^\*\*\* (.*)$/) {
push(@aname, "<h3>$1</h3>\n");
} elsif (/^$/) {
push(@aname, "<p>\n");
# push(@href, "<p>\n"); NOT NEEDED
} elsif (/^\t\t\* (.*)$/) {
push(@aname, "<li>$1\n");
} elsif (/^Q: (.*)$/){
push(@aname, "<p><a name=\"q$q\"></a><b>Question $q:</b> $1\n");
push(@href,"<p><a href=\"#q$q\"><b>Question $q:</b></a> $1\n");
$f=1;
$q++;
} elsif (/^A: (.*)$/){
push(@aname,"<P>\n<A HREF=#TOP>Top</A>\n<P>");
push(@aname,"$1\n");
$f=0;
} elsif (/^TODO=(.*),$/){
push(@aname, "<a name=\"$1\">\n");
#push(@href, "<a name=\"$1\">\n");
} else {
push(@aname,"$_\n");
if ($f==1) {
push(@href,"$_\n");
}
}
}
foreach $line (@href) #"\n\n";
{
print $line;
}
foreach $line (@aname) #"\n\n";
{
print $line;
}
#comment this line if you are not open the file explicitly
# close(IN) || die "cannot close file" ;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

+122 -31
View File
@@ -1,39 +1,130 @@
SOURCES= \
../contributing \
../class-library \
../class-status \
../contact \
../c-sharp \
../documentation \
../download \
../faq \
../gcc-frontend \
../index \
../ideas \
../passport \
../rationale \
../resources \
../roadmap \
../runtime \
../status \
../testing \
../tools
CSCRIPT = $(SYSTEMROOT)/system32/cscript.exe
CSC=csc
all:
-mkdir site
for i in $(SOURCES); do \
perl htmlify $$i > `basename $$i`.src; \
done;
CORCOMPARE=../../../mcs/tools/corcompare
perl process.pl commands template.html.in .
OBJECTS= \
deploy/ado-net.html \
deploy/anoncvs.html \
deploy/asp-net.html \
deploy/books.html \
deploy/contributing.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Drawing.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Web.html \
deploy/class-status-System.Web.Services.html \
deploy/class-library.html \
deploy/classlib-doc.html \
deploy/contact.html \
deploy/c-sharp.html \
deploy/ccvs.html \
deploy/documentation.html \
deploy/download.html \
deploy/faq.html \
deploy/gcc-frontend.html \
deploy/index.html \
deploy/ideas.html \
deploy/java.html \
deploy/jit-debug.html \
deploy/jit-debug-sample.html \
deploy/jit-debug-sample2.html \
deploy/languages.html \
deploy/mailing-lists.html \
deploy/mono-beginning.html \
deploy/mono-beginning-xml.html \
deploy/mono-contribution-howto.html \
deploy/monodoc-xml.html \
deploy/papers.html \
deploy/passport.html \
deploy/plans.html \
deploy/porting.html \
deploy/ppc.html \
deploy/rationale.html \
deploy/resources.html \
deploy/roadmap.html \
deploy/runtime.html \
deploy/status.html \
deploy/testing.html \
deploy/tools.html \
deploy/winforms.html
# deploy/class-status-System.html \
NON_HTML_SOURCES= \
../mono-build.sh \
../mono-build-w32.sh
all: $(OBJECTS) deploy/index.rss
perl process.pl commands template.html.in deploy
tutorial: mono-beginning.html.stamp mono-beginning.pdf
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
mono-beginning.html.stamp: mono-beginning.xml
db2html mono-beginning.xml
touch mono-beginning.html.stamp
mono-beginning.pdf: mono-beginning.xml
db2pdf mono-beginning.xml
mono-beginning.xml: ../mono-beginning.xml
cp ../mono-beginning.xml .
deploy/index.rss: mono-rss.exe ../index
./mono-rss.exe ../index deploy/index.rss
mono-rss.exe: mono-rss.cs rss.cs
$(CSC) mono-rss.cs rss.cs
clean:
for i in $(SOURCES); do \
rm -f `basename $$i`.src `basename $$i`.html; \
done;
rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
push:
scp *.html [email protected]:/web/cvsmodules/mono
cp -f $(NON_HTML_SOURCES) deploy
echo scp -P 2200 -r deploy/* [email protected]:/web/cvsmodules/mono
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh -p 2200' . [email protected]:/web/cvsmodules/mono )
push2:
scp *.html primates:public_html/xxx
scp -r deploy/* primates:public_html/xxx
$(OBJECTS): $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
#.PRECIOUS: $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
.PRECIOUS: src/%.src
src/%.src: ../% commands makefile template.html.in
perl htmlify $< > $@
.PRECIOUS: ../class-status-%
../class-status-%: src/%.html.in ../class-status.in
cat ../class-status.in $< > $@
.PRECIOUS: src/%.html.in
src/%.html.in: src/%.xml $(CORCOMPARE)/transform.js $(CORCOMPARE)/cormissing.xsl
$(CSCRIPT) /nologo $(CORCOMPARE)/transform.js $< $(CORCOMPARE)/cormissing.xsl > $@
.PRECIOUS: src/%.xml
src/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -x $@ $<
src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
../class-status: ../class-status.in
cp -f $< $@
make-rss:
$(CSC) make-rss.cs -o
+103
View File
@@ -0,0 +1,103 @@
//
// Generates the Mono RSS feed
//
// Miguel de Icaza
//
using System;
using System.IO;
using System.Xml;
using RSS;
class X {
static RSS.RSS rss;
static Channel c;
static int item_count;
static void PopulateRSS (StreamReader input)
{
string s;
while ((s = input.ReadLine ()) != null){
if (s.StartsWith ("@item "))
break;
}
if (s == null || !s.StartsWith ("@item ")){
Console.WriteLine ("Could not find beginning of text to RSS");
return;
}
Item i = null;
string description = "";
do {
if (s.StartsWith ("@item ")){
if (item_count++ > 25)
break;
if (i != null){
i.Description = description;
description = "";
}
string title = s.Substring (6);
string link = "http://www.go-mono.com/index.html#";
foreach (char ch in title){
if (ch != ' ')
link += ch;
}
i = c.NewItem ();
i.Title = title;
i.Link = link;
} else {
description += "\n" + (s == "\n" ? "<p>" : s);
}
} while ((s = input.ReadLine ()) != null);
if (i != null){
i.Description = description;
}
}
static void MakeRSS (string input, string output)
{
rss = new RSS.RSS ();
c = rss.NewChannel ("Mono Project News", "http://www.go-mono.com");
c.Title = "Mono Project News";
c.Link = "http://www.go-mono.com";
c.Description =
"News from the Mono project: a portable implementation of the .NET Framework";
c.WebMaster = "[email protected]";
c.ManagingEditor = "[email protected]";
string t = File.GetLastWriteTime (input).ToString ("r");
c.PubDate = t;
c.LastBuildDate = t;
using (FileStream fs = new FileStream (input, FileMode.Open)){
using (StreamReader input_stream = new StreamReader (fs)){
PopulateRSS (input_stream);
}
}
rss.XmlDocument.Save (output);
}
static int Main (string [] args)
{
switch (args.Length){
case 0:
MakeRSS ("index", "index.rss");
break;
case 2:
MakeRSS (args [0], args [1]);
break;
default:
Console.WriteLine ("Usage is: mono-rss [input output.rss]");
return 1;
}
return 0;
}
}
+46 -30
View File
@@ -23,12 +23,10 @@ while (<COMMANDS>) {
my @command = split /,/;
if ($command[0] != -1) {
$menu .= "\t\t";
if ($command[0] == 0){
$menu .= "<tr><td valign=\"top\" class=\"navi\"><a class=\"navi\"";
} else {
$menu .= "<tr><td valign=\"top\" class=\"subnavi\">&nbsp;&nbsp;&nbsp<a class=\"subnavi\"";
}
$menu .= "HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
$menu .= "<tr><td valign=\"top\" class=\"navi" . $command[0];
$menu .= "\"><a class=\"navi" . $command[0];
$menu .= "\"";
$menu .= "HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
}
}
close COMMANDS;
@@ -44,30 +42,48 @@ while (<COMMANDS>) {
chop;
my @command = split /,/;
$n = $ARGV[2] . "/" . $command[2];
open OUTPUT, ">" . $n || die "Can not create $n";
my $content = "";
open INPUT, $command[3] || die "Can not open $command[3]";
while (<INPUT>) {
$content .= $_;
}
close INPUT;
my $line;
my $temp;
my $tit;
my $title;
$tit = $command[1];
foreach $line (@template) {
$temp = $line;
$title = "$tit / Mono";
$temp =~ s/#TITLE#/$title/;
$temp =~ s/#CONTENT#/$content/;
$temp =~ s/#MENU#/$menu/;
print OUTPUT $temp;
}
if ($command[2] =~ /^http:/){
} else {
$n = $ARGV[2] . "/" . $command[2];
open OUTPUT, ">" . $n || die "Can not create $n";
my $content = "";
open INPUT, "src/$command[3]" || die "Can not open $command[3]";
while (<INPUT>) {
$content .= $_;
}
close INPUT;
my $line;
my $temp;
my $tit;
my $title;
my $css;
my $script;
$tit = $command[1];
$css = $command[4];
$script = $command[5];
foreach $line (@template) {
$temp = $line;
$title = "$tit / Mono";
$temp =~ s/#TITLE#/$title/;
$temp =~ s/#CONTENT#/$content/;
$temp =~ s/#MENU#/$menu/;
if ($css) {
$temp =~ s/#CSS#/<LINK rel="stylesheet" type="text\/css" href="$css">/;
} else {
$temp =~ s/#CSS#//;
}
if ($script) {
$temp =~ s/#SCRIPT#/<SCRIPT src="$script"><\/SCRIPT>/;
} else {
$temp =~ s/#SCRIPT#//;
}
print OUTPUT $temp;
}
}
close OUTPUT;
}
Executable
+262
View File
@@ -0,0 +1,262 @@
//
// RSS.cs: Some utility classes to generate RSS feeds
//
// (C) 2002 Miguel de Icaza ([email protected])
//
//
using System;
using System.Xml;
using System.IO;
namespace RSS {
public class Item {
XmlDocument doc;
XmlNode item;
XmlText title, link, description;
public Item (XmlDocument doc, XmlNode item)
{
this.doc = doc;
this.item = item;
}
XmlText MakeTextElement (string name)
{
XmlNode node = doc.CreateElement (name);
XmlText text = doc.CreateTextNode ("");
item.AppendChild (node);
node.AppendChild (text);
return text;
}
public string Title {
get {
if (title == null)
return null;
return title.Value;
}
set {
if (title == null)
title = MakeTextElement ("title");
title.Value = value;
}
}
public string Link {
get {
if (link == null)
return null;
return link.Value;
}
set {
if (link == null)
link = MakeTextElement ("link");
link.Value = value;
}
}
public string Description {
get {
if (description == null)
return null;
return description.Value;
}
set {
if (description == null)
description = MakeTextElement ("description");
description.Value = value;
}
}
}
public class Channel {
XmlDocument doc;
XmlNode channel;
XmlText title, link, description, language, pubDate, lastBuildDate;
XmlText managingEditor, webMaster;
XmlText MakeTextElement (string name)
{
XmlNode node = doc.CreateElement (name);
XmlText text = doc.CreateTextNode ("");
channel.AppendChild (node);
node.AppendChild (text);
return text;
}
public Channel (XmlDocument doc, XmlNode node)
{
this.channel = node;
this.doc = doc;
title = MakeTextElement ("title");
link = MakeTextElement ("link");
description = MakeTextElement ("description");
}
public Item NewItem ()
{
XmlNode node = doc.CreateElement ("item");
Item item;
channel.AppendChild (node);
item = new Item (doc, node);
return item;
}
public string Title {
get {
return title.Value;
}
set {
title.Value = value;
}
}
public string Link {
get {
return link.Value;
}
set {
link.Value = value;
}
}
public string Description {
get {
return description.Value;
}
set {
description.Value = value;
}
}
#region Optional Values
public string ManagingEditor {
get {
if (managingEditor == null)
return null;
return managingEditor.Value;
}
set {
if (managingEditor == null)
managingEditor = MakeTextElement ("managingEditor");
managingEditor.Value = value;
}
}
public string WebMaster {
get {
if (webMaster == null)
return null;
return webMaster.Value;
}
set {
if (webMaster == null)
webMaster = MakeTextElement ("webMaster");
webMaster.Value = value;
}
}
public string PubDate {
get {
if (pubDate == null)
return null;
return pubDate.Value;
}
set {
if (pubDate == null)
pubDate = MakeTextElement ("pubDate");
pubDate.Value = value;
}
}
public string LastBuildDate {
get {
if (lastBuildDate == null)
return null;
return lastBuildDate.Value;
}
set {
if (lastBuildDate == null)
lastBuildDate = MakeTextElement ("lastBuildDate");
lastBuildDate.Value = value;
}
}
public string Language {
get {
if (language == null)
return null;
return language.Value;
}
set {
if (language == null)
language = MakeTextElement ("language");
language.Value = value;
}
}
#endregion
}
class RSS {
XmlDocument doc;
XmlNode rss;
const string rss_base =
"<?xml version=\"1.0\"?> <rss version=\"0.92\"></rss>";
public RSS ()
{
doc = new XmlDocument ();
doc.LoadXml (rss_base);
rss = doc.DocumentElement;
}
public Channel NewChannel (string title, string url)
{
XmlNode node = doc.CreateElement ("channel");
Channel c;
rss.AppendChild (node);
c = new Channel (doc, node);
return c;
}
public XmlDocument XmlDocument {
get {
return doc;
}
}
}
}
+1
View File
@@ -0,0 +1 @@
*.src
+46 -33
View File
@@ -1,3 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>#TITLE#</title>
@@ -7,71 +8,83 @@
background-image: url("images/bgsquares.gif");
background-attachment: fixed; }
body, td, table { font-family: "trebuchet ms", lucida, verdana, helvetica;
font-size: 12px; }
font-size: 14px; }
.navi { font-size: 14px; background: #444444; }
.subnavi { font-size: 12px; }
.footnote { font-size: 10px; color: #aaaaaa; }
.navi0 { font-size: 14px; font-weight: bold; background: #444444; }
.navi1 { font-size: 14px; font-weight: bold; left-margin: 10pt}
.navi2 { font-size: 10px; font-weight: bold; left-margin: 20pt}
.footnote { font-size: 12px; color: #aaaaaa; }
a.navi { color: #ffffff; text-decoration: none; font-weight: bold; }
a.navi:visited { color: #cccccc; }
a.navi:hover { color: #ee9900; text-decoration: underline; }
a.navi0 { color: #ffffff; text-decoration: none}
a.navi0:visited { color: #cccccc; }
a.navi0:hover { color: #ee9900; text-decoration: underline; }
a.subnavi { color: #ffffff; text-decoration: none; font-weight: bold; }
a.subnavi:visited { color: #cccccc; }
a.subnavi:hover { color: #ee9900; text-decoration: underline; }
a.navi1 { color: #ffffff; text-decoration: none; margin-left: 7px;}
a.navi1:visited { color: #cccccc; }
a.navi1:hover { color: #ee9900; text-decoration: underline; }
a.navi2 { color: #ffffff; text-decoration: none; margin-left: 20px;}
a.navi2:visited { color: #cccccc; }
a.navi2:hover { color: #ee9900; text-decoration: underline; }
// -->
</style>
#CSS#
#SCRIPT#
</head>
<body bgcolor="#555555" text="#000000">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td><img src="images/pixel.gif"></td><!-- left border -->
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
<td colspan="4">
<a href="/"><img src="images/mono.gif" border="0"></a></td>
<td><img src="images/pixel.gif"></td><!-- right border -->
<a href="http://www.go-mono.com"><img src="images/mono.gif"
alt="mono-logo" border="0"></a></td>
<td><img src="images/pixel.gif" alt=""></td><!-- right border -->
</tr>
<tr>
<td><img src="images/pixel.gif" width="1" height="1"></td>
<td colspan="3" bgcolor="black"><img src="images/pixel.gif" height="2"></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1"></td>
<td><img src="images/pixel.gif"></td>
<td><img src="images/pixel.gif" width="1" height="1" alt=""></td>
<td colspan="3" bgcolor="black"><img src="images/pixel.gif"
height="2" alt=""></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1" alt=""></td>
<td><img src="images/pixel.gif" alt=""></td>
</tr>
<tr>
<td width="100"><img src="images/pixel.gif"></td>
<td width="100"><img src="images/pixel.gif" alt=""></td>
<td valign="top">
<table cellpadding="2" valign="top" cellspacing="0" border="0">
#MENU#
</table>
</td>
<td bgcolor="black" width="1"><img src="images/pixel.gif" width="1"></td>
<td bgcolor="white">
<td bgcolor="black" width="1"><img src="images/pixel.gif"
width="1" alt=""></td>
<td bgcolor="white" align="left" width="80%" valign="top">
<table cellpadding="16">
<tr><td>
#CONTENT#
</td></tr>
</table>
</td>
<td bgcolor="black"><img src="images/pixel.gif" width="1"></td>
<td width="100"><img src="images/pixel.gif"></td>
</td>
<td bgcolor="black"><img src="images/pixel.gif" width="1" alt=""></td>
<td width="100"><img src="images/pixel.gif" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/pixel.gif"></td>
<td colspan="2" bgcolor="black"><img src="images/pixel.gif" height="1"></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1"></td>
<td><img src="images/pixel.gif"></td>
<img src="images/pixel.gif" alt=""></td>
<td colspan="2" bgcolor="black"><img src="images/pixel.gif"
height="1" alt=""></td>
<td bgcolor="black"><img src="images/pixel.gif" width="1" alt=""></td>
<td><img src="images/pixel.gif" alt=""></td>
</tr>
<td colspan="2"></td>
<td colspan="2" align="center">
<a class="footnote" href="mailto: [email protected]">[email protected]</a>
</td>
<td colspan="2"></td>
<tr>
<td colspan="2"></td>
<td colspan="2" align="center">
<a class="footnote" href="mailto:[email protected]">[email protected]</a>
</td>
<td colspan="2"></td>
</tr>
</tr>
</tr>
</table>
</body>
+90
View File
@@ -0,0 +1,90 @@
* System.Windows.Forms
System.Windows.Forms eventually will support multiple
toolkits. Ximian will be delivering a product that will allow
for System.Windows.Forms applications to integrate with GNOME
through Gtk and MacOS X using Cocoa.
There are no current plans to support embedded devices, but
Gtk/FrameBuffer is an option. If you have suggestions or
recommendations, please let us <a
href="mailto:[email protected]">let us know</a>
* Contributing
Currently Ximian developers are busy making our JIT engine
feature complete, and dealing with the low-level details of
the Mono runtime.
If you are interested in contributing, you can start stubbing
out classes and providing enumerations. That will help us
significantly when we start working on the actual bindings.
Christian Meyer is currently organizing this effort.
* System.Drawing
Using existing libraries to implement some of the functionality required
<ul>
* gdk-pixbuf is a generic image loader that loads an image
and leaves it into an RGB buffer. It hides all the details
about what image file format is being loaded.
* Libart is a general framework for rendering RGB/RGBA
buffers into RGB buffers and rendering postscript-like paths into
RGB/RGBA buffers.
</ul>
We want to use gdk-pixbuf as the image loader for the image
classes, and then we need operations to render that into the
windowing system (Gtk+, MacOS, etc). But notice how there is
very little dependnecies in Gdk-pixbuf on gtk, and libart has
none.
They are pretty independent from a windowing system
(gdk-pixbuf comes with some "helper" routines for rendering
data into a pixmap and to load pixmaps into RGB buffers).
A few things to keep in mind:
<ul>
* gdk-pixbuf can be used to load images for Gtk+,
MacOS X and Windows, it should be pretty portable,
although we might need in the future to back-port
some new features from Gtk head.
* Libart is probably only going to be used with X11,
as the MacOS X provides the same features in Quartz,
and Win32 *probably* has that in GDI+. If not, we
should use libart in Win32 as well (or for older
Windows systems).
</ul>
* Directory Layout
System.Drawing (assembly directory)
System.Drawing.Blah
Common code for "Blah"
Stubs for "Blah" to ease ports.
Gtk
System.Drawing.Blah.
Gtk ports of "System.Drawing.Blah"
MacOS
System.Drawing.Blah
MacOS ports of "System.Drawing.Blah"
Win32
System.Drawing.Blah
Win32 ports of "System.Drawing.Blah"
Then we use nant targets to include/exclude the right set of
files to create the assembly.
* Open questions:
I believe that the graphics contexts that are used to render
can accept either libart-like rendering operations and
X11-like rendering operations. This complicates matters, but
I am not sure. Someone needs to investigate this.
+2
View File
@@ -0,0 +1,2 @@
Makefile
Makefile.in
+3
View File
@@ -0,0 +1,3 @@
EXTRA_DIST = gc-issues jit-thoughts object-layout unmanaged-calls \
exceptions jit-trampolines stack-alignment
Loaded 100 of 5184 files, more files were not shown because too many files have changed in this diff. Show more