Rodrigo Moya [Sun, 28 Jul 2002 22:55:32 +0000 (22:55 -0000)]
2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
* OleDbConnection.cs (CreateCommand):
(BeginTransaction): implemented IDbConnection methods.
svn path=/trunk/mcs/; revision=6230
Duncan Mak [Sun, 28 Jul 2002 20:16:23 +0000 (20:16 -0000)]
2002-07-29 Duncan Mak <duncan@ximian.com>
* IContributeServerContentSink.cs: Removed.
* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.
* ILease.cs: Add the method part of the interface and renamed the
CurrentState property to it proper name.
* SoapAttribute.cs: Fixed typo, renamed ReflectionInfo to ReflectInfo.
* SoapOption.cs: Fix the namespace.
svn path=/trunk/mcs/; revision=6229
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:37:57 +0000 (18:37 -0000)]
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplication.cs: events were not being initialized.
* System.Web.Caching/CacheDefinitions.cs: fixed a couple of enums.
* System.Web.Caching/CacheDependency.cs: the class is sealed.
* System.Web.UI.WebControls/BaseValidator.cs: it works now.
* System.Web.UI.WebControls/DataGridColumn.cs: added attribute and
made it abstract.
* System.Web.UI.WebControls/RequiredFieldValidator.cs: fixed return
value in EvaluateIsValid.
svn path=/trunk/mcs/; revision=6225
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:37:31 +0000 (18:37 -0000)]
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* list:
* list.unix: added DerivedPropertyDescriptor.cs
svn path=/trunk/mcs/; revision=6224
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:36:22 +0000 (18:36 -0000)]
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DerivedPropertyDescriptor.cs: New file.
* PropertyDescriptorCollection.cs: almost fully implemented.
* TypeDescriptor.cs: implemented a couple of GetProperties ().
svn path=/trunk/mcs/; revision=6223
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:29:53 +0000 (18:29 -0000)]
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorTranslator.cs: use Color.Name.
svn path=/trunk/mcs/; revision=6222
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 05:19:09 +0000 (05:19 -0000)]
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* File.cs:
(Create): allow file names without path.
svn path=/trunk/mcs/; revision=6221
Alp Toker [Sun, 28 Jul 2002 04:24:00 +0000 (04:24 -0000)]
Force user to specify prefix
svn path=/trunk/mcs/; revision=6220
Miguel de Icaza [Sun, 28 Jul 2002 04:13:29 +0000 (04:13 -0000)]
Force user to specify prefix
svn path=/trunk/mcs/; revision=6219
Andrew Birkett [Sat, 27 Jul 2002 20:31:30 +0000 (20:31 -0000)]
2002-07-27 Andrew Birkett <andy@nobugs.org>
* expression.cs (Unary.Reduce): Handle AddressOf and Indirection.
svn path=/trunk/mcs/; revision=6218
Johannes Roith [Sat, 27 Jul 2002 17:44:09 +0000 (17:44 -0000)]
update download page
svn path=/trunk/mono/; revision=6217
Martin Baulig [Sat, 27 Jul 2002 17:20:03 +0000 (17:20 -0000)]
2002-07-27 Martin Baulig <martin@gnome.org>
* class.cs (MethodData.Define): Put back call to
TypeManager.AddMethod(), accidentally commented this out.
* report.cs (Debug): New public method to print debugging information,
this is `[Conditional ("DEBUG")]'.
svn path=/trunk/mcs/; revision=6216
Martin Baulig [Sat, 27 Jul 2002 17:13:23 +0000 (17:13 -0000)]
Fixed and put back my switch patch:
2002-07-26 Martin Baulig <martin@gnome.org>
* 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 a child of the current_block.
Fixes bug #24007, added test-152.cs.
svn path=/trunk/mcs/; revision=6215
Martin Baulig [Sat, 27 Jul 2002 14:37:07 +0000 (14:37 -0000)]
2002-07-27 Martin Baulig <martin@gnome.org>
These two changes won't give us any performance or code-size
improvements, but they make my control flow analyis much simpler.
* statement.cs (While.Emit): Did some loop-inversion here; emit the
test, then the body of the while and then a jump back to the test.
(For.Emit): Did some loop-inversion here; emit the initialization,
then the test, then the body, then the incrementation and then a jump
back to the test.
svn path=/trunk/mcs/; revision=6213
Martin Baulig [Sat, 27 Jul 2002 13:50:38 +0000 (13:50 -0000)]
2002-07-27 Martin Baulig <martin@gnome.org>
* expression.cs (Invocation.EmitArguments): When calling a varargs
function with only its fixed arguments, we need to pass an empty
array.
svn path=/trunk/mcs/; revision=6212
Martin Baulig [Sat, 27 Jul 2002 13:47:28 +0000 (13:47 -0000)]
Added "Mono 0.13 has been released" message so we know later on what has
changed since this release.
svn path=/trunk/mcs/; revision=6211
Martin Baulig [Sat, 27 Jul 2002 13:44:33 +0000 (13:44 -0000)]
2002-07-27 Martin Baulig <martin@gnome.org>
* test-153.cs.cs: New test.
svn path=/trunk/mcs/; revision=6210
Martin Baulig [Sat, 27 Jul 2002 13:39:06 +0000 (13:39 -0000)]
2002-07-27 Martin Baulig <martin@gnome.org>
* test-113.cs: Made this test actually work.
svn path=/trunk/mcs/; revision=6209
Dietmar Maurer [Sat, 27 Jul 2002 11:12:32 +0000 (11:12 -0000)]
update
svn path=/trunk/mono/; revision=6208
Dietmar Maurer [Sat, 27 Jul 2002 10:57:42 +0000 (10:57 -0000)]
2002-07-27 Dietmar Maurer <dietmar@ximian.com>
* jit.c (mono_get_runtime_method): code cleanup
svn path=/trunk/mono/; revision=6207
Dietmar Maurer [Sat, 27 Jul 2002 10:50:52 +0000 (10:50 -0000)]
2002-07-27 Dietmar Maurer <dietmar@ximian.com>
* x86.brg: we do not need to save EAX/ECX/EDX in stmt:
svn path=/trunk/mono/; revision=6206
Duncan Mak [Sat, 27 Jul 2002 03:54:47 +0000 (03:54 -0000)]
Forgot about this interface
svn path=/trunk/mcs/; revision=6205
Miguel de Icaza [Fri, 26 Jul 2002 22:04:55 +0000 (22:04 -0000)]
System.Web.Services/System.Web.Services.Description/ServiceDescription.cs
svn path=/trunk/mcs/; revision=6204
Miguel de Icaza [Fri, 26 Jul 2002 21:47:15 +0000 (21:47 -0000)]
0.13
svn path=/trunk/mono/; revision=6203
Miguel de Icaza [Fri, 26 Jul 2002 19:32:52 +0000 (19:32 -0000)]
Add missing #endregion
svn path=/trunk/mcs/; revision=6201
Tim Coleman [Fri, 26 Jul 2002 17:31:50 +0000 (17:31 -0000)]
2002-07-26 Tim Coleman <tim@timcoleman.com>
* ServiceDescription.cs:
Changed the creation of the XmlSerializer after
consulting the System.Xml.Serialization namespace
and trying to serialize a document. Now works somewhat!
svn path=/trunk/mcs/; revision=6200
Tim Coleman [Fri, 26 Jul 2002 17:29:39 +0000 (17:29 -0000)]
2002-07-26 Tim Coleman <tim@timcoleman.com>
* XmlTextWriter.cs:
When given a textwriter, check to see if it has a
null encoding. This was being done for other inputs
than a textwriter.
svn path=/trunk/mcs/; revision=6199
Tim Coleman [Fri, 26 Jul 2002 17:27:45 +0000 (17:27 -0000)]
2002-07-26 Tim Coleman <tim@timcoleman.com>
* XmlSerializer.cs:
The constructor now looks for an XmlRootAttribute attribute
if one is not passed in. Various changes to make it emit
proper XML, such as handling an element without a namespace
prefix, and using WriteEndDocument where it should be.
svn path=/trunk/mcs/; revision=6198
Alp Toker [Fri, 26 Jul 2002 16:40:43 +0000 (16:40 -0000)]
Wrote an INSTALL doc.
svn path=/trunk/mcs/; revision=6197
Tim Coleman [Fri, 26 Jul 2002 14:32:33 +0000 (14:32 -0000)]
2002-07-25 Tim Coleman <tim@timcoleman.com>
* list: add new classes
svn path=/trunk/mcs/; revision=6196
Tim Coleman [Fri, 26 Jul 2002 14:31:43 +0000 (14:31 -0000)]
2002-07-25 Tim Coleman <tim@timcoleman.com>
* SoapClientMethod.cs:
* SoapServerProtocol.cs:
Add new internal classes as discovered.
* SoapClientMessage.cs:
* SoapMessage.cs:
* SoapServerMessage.cs:
* WebClientAsyncResult.cs:
Add internal constructor, as found on class
status page; modify some properties.
svn path=/trunk/mcs/; revision=6195
Dietmar Maurer [Fri, 26 Jul 2002 14:15:45 +0000 (14:15 -0000)]
emit CEE_RET at the end of end_invoke
svn path=/trunk/mono/; revision=6193
Paolo Molaro [Fri, 26 Jul 2002 13:47:28 +0000 (13:47 -0000)]
Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
* FileStream.cs: patch from erik@bagfors.nu to add
Name property support.
svn path=/trunk/mcs/; revision=6192
Martin Baulig [Fri, 26 Jul 2002 13:27:21 +0000 (13:27 -0000)]
Reverted my switch patch for the moment until we've done the release.
svn path=/trunk/mcs/; revision=6191
Paolo Molaro [Fri, 26 Jul 2002 10:00:28 +0000 (10:00 -0000)]
Fri Jul 26 11:58:22 CEST 2002 Paolo Molaro <lupus@ximian.com>
* object.c: load constant strings.
svn path=/trunk/mono/; revision=6190
Paolo Molaro [Fri, 26 Jul 2002 09:44:18 +0000 (09:44 -0000)]
Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
* main.c, dump.h, dump.c: output hash value in File table.
Add dumper function for DeclSecurity table.
svn path=/trunk/mono/; revision=6189
Paolo Molaro [Fri, 26 Jul 2002 09:40:41 +0000 (09:40 -0000)]
Fri Jul 26 11:36:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: no magic numbers.
* tabledefs.h: security action enum.
svn path=/trunk/mono/; revision=6188
Paolo Molaro [Fri, 26 Jul 2002 09:24:48 +0000 (09:24 -0000)]
Fri Jul 26 11:22:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
* assembly.c: fix possible memory corruption.
svn path=/trunk/mono/; revision=6187
Tim Coleman [Fri, 26 Jul 2002 05:55:50 +0000 (05:55 -0000)]
2002-07-25 Tim Coleman <tim@timcoleman.com>
* OperationMessageCollection.cs:
Some implementation of this class after consulting a
WSDL reference. Now validates the inputs.
svn path=/trunk/mcs/; revision=6185
Dennis Hayes [Fri, 26 Jul 2002 01:37:28 +0000 (01:37 -0000)]
2002-7-22 DennisHayes <dennish@raytek.com>
* 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
Miguel de Icaza [Fri, 26 Jul 2002 01:31:26 +0000 (01:31 -0000)]
Update man page
svn path=/trunk/mono/; revision=6183
Martin Baulig [Thu, 25 Jul 2002 23:09:05 +0000 (23:09 -0000)]
2002-07-26 Martin Baulig <martin@gnome.org>
* 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
Martin Baulig [Thu, 25 Jul 2002 23:06:29 +0000 (23:06 -0000)]
2002-07-26 Martin Baulig <martin@gnome.org>
* 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
Piers Haken [Thu, 25 Jul 2002 21:32:51 +0000 (21:32 -0000)]
2002-07-25 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: implement XPathFunctionName 'name()' function.
svn path=/trunk/mcs/; revision=6180
Miguel de Icaza [Thu, 25 Jul 2002 20:43:13 +0000 (20:43 -0000)]
2002-07-25 Miguel de Icaza <miguel@ximian.com>
* 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
Martin Baulig [Thu, 25 Jul 2002 20:04:06 +0000 (20:04 -0000)]
Ooooops.
svn path=/trunk/mcs/; revision=6178
Martin Baulig [Thu, 25 Jul 2002 19:48:47 +0000 (19:48 -0000)]
2002-07-25 Martin Baulig <martin@gnome.org>
* 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
Gonzalo Paniagua Javier [Thu, 25 Jul 2002 15:44:27 +0000 (15:44 -0000)]
2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ProcessModelInfo.cs: fixed compilation.
svn path=/trunk/mcs/; revision=6176
Martin Baulig [Thu, 25 Jul 2002 15:26:15 +0000 (15:26 -0000)]
2002-07-25 Martin Baulig <martin@gnome.org>
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
Tim Coleman [Thu, 25 Jul 2002 14:09:36 +0000 (14:09 -0000)]
2002-07-25 Tim Coleman <tim@timcoleman.com>
* ProcessModelInfo.cs:
New class added
* HttpParseException.cs:
* HttpCompileException.cs:
* HttpUnhandledException.cs:
Internal constructors added to these
svn path=/trunk/mcs/; revision=6173
Martin Baulig [Thu, 25 Jul 2002 12:04:32 +0000 (12:04 -0000)]
"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
Paolo Molaro [Thu, 25 Jul 2002 12:03:33 +0000 (12:03 -0000)]
Thu Jul 25 13:58:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.h, reflection.c: added support for linking resources.
* verify.c: check we have an updated corlib.
svn path=/trunk/mono/; revision=6171
Paolo Molaro [Thu, 25 Jul 2002 12:03:25 +0000 (12:03 -0000)]
Thu Jul 25 13:57:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
* AssemblyBuilder.cs: support linking external resources.
svn path=/trunk/mcs/; revision=6170
Paolo Molaro [Thu, 25 Jul 2002 12:02:04 +0000 (12:02 -0000)]
Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
* mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
implementations.
svn path=/trunk/mono/; revision=6169
Dietmar Maurer [Thu, 25 Jul 2002 11:52:29 +0000 (11:52 -0000)]
(mono_marshal_get_managed_wrapper): print warning for arrays (not implemented)
svn path=/trunk/mono/; revision=6168
Paolo Molaro [Thu, 25 Jul 2002 11:06:50 +0000 (11:06 -0000)]
Fix build.
svn path=/trunk/mcs/; revision=6166
Dietmar Maurer [Thu, 25 Jul 2002 11:01:59 +0000 (11:01 -0000)]
2002-07-25 Dietmar Maurer <dietmar@ximian.com>
* 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
Gonzalo Paniagua Javier [Thu, 25 Jul 2002 04:41:47 +0000 (04:41 -0000)]
Reverted my previous patch
svn path=/trunk/mcs/; revision=6164
Gonzalo Paniagua Javier [Thu, 25 Jul 2002 01:54:30 +0000 (01:54 -0000)]
2002-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* test-151.cs: New test. See bug #22119.
* makefile: added new test.
svn path=/trunk/mcs/; revision=6163
Gonzalo Paniagua Javier [Thu, 25 Jul 2002 01:52:28 +0000 (01:52 -0000)]
2002-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* cs-parser.jay: fixed bug #22119.
svn path=/trunk/mcs/; revision=6162
Gonzalo Paniagua Javier [Thu, 25 Jul 2002 00:23:29 +0000 (00:23 -0000)]
2002-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Martin Baulig [Wed, 24 Jul 2002 22:56:44 +0000 (22:56 -0000)]
2002-07-25 Martin Baulig <martin@gnome.org>
* 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
Martin Baulig [Wed, 24 Jul 2002 20:08:31 +0000 (20:08 -0000)]
2002-07-24 Martin Baulig <martin@gnome.org>
* 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
Tim Coleman [Wed, 24 Jul 2002 19:53:19 +0000 (19:53 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* list.unix:
Add some more classes to this build list.
svn path=/trunk/mcs/; revision=6158
Tim Coleman [Wed, 24 Jul 2002 19:52:33 +0000 (19:52 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* 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
Martin Baulig [Wed, 24 Jul 2002 18:33:34 +0000 (18:33 -0000)]
2002-07-24 Martin Baulig <martin@gnome.org>
* 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
Martin Baulig [Wed, 24 Jul 2002 17:27:48 +0000 (17:27 -0000)]
2002-07-24 Martin Baulig <martin@gnome.org>
* 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
Tim Coleman [Wed, 24 Jul 2002 17:10:23 +0000 (17:10 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* list:
Added System.Web.Services.Description/SoapProtocolReflector.cs
svn path=/trunk/mcs/; revision=6146
Tim Coleman [Wed, 24 Jul 2002 17:09:38 +0000 (17:09 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* 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
Tim Coleman [Wed, 24 Jul 2002 16:20:46 +0000 (16:20 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* ServiceDescription.cs:
Implement Read/Write methods for serialization/
deserialization.
svn path=/trunk/mcs/; revision=6143
Tim Coleman [Wed, 24 Jul 2002 16:19:57 +0000 (16:19 -0000)]
2002-07-22 Tim Coleman <tim@timcoleman.com>
* list.unix:
Add System.Xml.Serialization/SoapReflectionImporter.cs to build
list.
svn path=/trunk/mcs/; revision=6142
Tim Coleman [Wed, 24 Jul 2002 16:18:50 +0000 (16:18 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* SoapReflectionImporter.cs:
New class added to build
System.Web.Services.Description.ServiceDescription.cs
svn path=/trunk/mcs/; revision=6141
Tim Coleman [Wed, 24 Jul 2002 15:08:08 +0000 (15:08 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* 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
Tim Coleman [Wed, 24 Jul 2002 15:05:39 +0000 (15:05 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* ProcessInfo.cs:
Fix constructor, reference to shutdownreason.
svn path=/trunk/mcs/; revision=6138
Dietmar Maurer [Wed, 24 Jul 2002 13:54:31 +0000 (13:54 -0000)]
2002-07-24 Dietmar Maurer <dietmar@ximian.com>
* jit.c (mono_analyze_stack): added CEE_TAIL (but it is ignored)
svn path=/trunk/mono/; revision=6134
Tim Coleman [Wed, 24 Jul 2002 13:53:50 +0000 (13:53 -0000)]
2002-07-24 Tim Coleman <tim@timcoleman.com>
* 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
Dietmar Maurer [Wed, 24 Jul 2002 13:19:24 +0000 (13:19 -0000)]
2002-07-24 Dietmar Maurer <dietmar@ximian.com>
* 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
Dietmar Maurer [Wed, 24 Jul 2002 11:38:33 +0000 (11:38 -0000)]
disabled a test which crashes gcc 2.96 on Redhat
svn path=/trunk/mono/; revision=6128
Paolo Molaro [Wed, 24 Jul 2002 11:34:51 +0000 (11:34 -0000)]
Wed Jul 24 13:32:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
* icall.c: Type.GetType () can now return also types from the
calling assembly.
svn path=/trunk/mono/; revision=6127
Paolo Molaro [Wed, 24 Jul 2002 11:18:06 +0000 (11:18 -0000)]
Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
* XmlTextReader.cs: rough line/column support.
svn path=/trunk/mcs/; revision=6126
Paolo Molaro [Wed, 24 Jul 2002 11:16:29 +0000 (11:16 -0000)]
Wed Jul 24 13:14:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
* Component.cs: don't die if Disposed is null.
svn path=/trunk/mcs/; revision=6125
Paolo Molaro [Wed, 24 Jul 2002 11:11:11 +0000 (11:11 -0000)]
Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
* MethodBase.cs: implemented GetCurrentMethod.
* Assembly.cs: implemented GetExecutingAssembly and
GetCallingassembly.
svn path=/trunk/mcs/; revision=6124
Paolo Molaro [Wed, 24 Jul 2002 11:08:17 +0000 (11:08 -0000)]
Wed Jul 24 13:02:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
* jit.c, jit.h, exception.c: implemented stack walking function.
svn path=/trunk/mono/; revision=6123
Paolo Molaro [Wed, 24 Jul 2002 11:07:52 +0000 (11:07 -0000)]
Wed Jul 24 13:02:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: implemented stack walking function.
svn path=/trunk/mono/; revision=6122
Paolo Molaro [Wed, 24 Jul 2002 11:07:24 +0000 (11:07 -0000)]
Wed Jul 24 13:04:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
* loader.h, loader.c: stack walking support.
* icall.c: implemented GetCurrentMethod, GetExecutingAssembly,
GetCallingAssembly.
svn path=/trunk/mono/; revision=6121
Dietmar Maurer [Wed, 24 Jul 2002 10:39:20 +0000 (10:39 -0000)]
2002-07-24 Dietmar Maurer <dietmar@ximian.com>
* x86.brg (ARG_OBJ): removed zero sized object warning
svn path=/trunk/mono/; revision=6120
Dietmar Maurer [Wed, 24 Jul 2002 09:52:06 +0000 (09:52 -0000)]
2002-07-24 Dietmar Maurer <dietmar@ximian.com>
* 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
Duncan Mak [Wed, 24 Jul 2002 07:17:00 +0000 (07:17 -0000)]
Fix build issues by reindenting? How strange....
svn path=/trunk/mcs/; revision=6117
Duncan Mak [Wed, 24 Jul 2002 06:18:27 +0000 (06:18 -0000)]
2002-07-24 Duncan Mak <duncan@ximian.com>
* corlib_linux_test.args: Add Cesar's BufferTest to the list.
svn path=/trunk/mcs/; revision=6116
Duncan Mak [Wed, 24 Jul 2002 05:40:31 +0000 (05:40 -0000)]
Remove stupid crud.
svn path=/trunk/mcs/; revision=6115
Duncan Mak [Wed, 24 Jul 2002 05:32:50 +0000 (05:32 -0000)]
Committing BufferTest for Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>.
2002-07-22 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
* BufferTest.cs: Added this file to test the System.Buffer class
implementation.
2002-07-24 Duncan Mak <duncan@ximian.com>
* SynchronizationAttribute.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=6114
Duncan Mak [Wed, 24 Jul 2002 05:05:44 +0000 (05:05 -0000)]
Sigh, more build fixes.
svn path=/trunk/mcs/; revision=6113
Duncan Mak [Wed, 24 Jul 2002 05:03:42 +0000 (05:03 -0000)]
More minor tweaks, sigh
svn path=/trunk/mcs/; revision=6112
Duncan Mak [Wed, 24 Jul 2002 05:02:34 +0000 (05:02 -0000)]
Minor tweaks.
svn path=/trunk/mcs/; revision=6111
Duncan Mak [Wed, 24 Jul 2002 04:58:38 +0000 (04:58 -0000)]
2002-07-24 Duncan Mak <duncan@ximian.com>
* IContextPropertyActivator.cs:
* IContributeClientContextSink.cs:
* IContributeDynamicSink.cs:
* IContributeEnvoySink.cs:
* IContributeObjectSink.cs:
* IContributeServerContentSink.cs: Added the missing interfaces.
svn path=/trunk/mcs/; revision=6110
Duncan Mak [Wed, 24 Jul 2002 04:24:35 +0000 (04:24 -0000)]
2002-07-24 Duncan Mak <duncan@ximian.com>
* ProxyAttribute.cs: Revert the last commit.
svn path=/trunk/mcs/; revision=6109
Tim Coleman [Wed, 24 Jul 2002 04:19:39 +0000 (04:19 -0000)]
2002-07-23 Tim Coleman <tim@timcoleman.com>
* SoapException.cs: modified constructors to
call base class correctly.
* WebClientAsyncResult: some implementation
svn path=/trunk/mcs/; revision=6108
Duncan Mak [Wed, 24 Jul 2002 04:18:47 +0000 (04:18 -0000)]
2002-07-24 Duncan Mak <duncan@ximian.com>
* 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
Dennis Hayes [Wed, 24 Jul 2002 02:29:25 +0000 (02:29 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=6106
Dennis Hayes [Wed, 24 Jul 2002 02:28:42 +0000 (02:28 -0000)]
2002-7-21 DennisHayes <dennish@raytek.com>
* 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