Martin Baulig [Tue, 20 Jan 2004 20:42:24 +0000 (20:42 -0000)]
2004-01-20 Martin Baulig <martin@ximian.com>
* test-154.cs: Added testcase for bug #46640.
svn path=/trunk/mcs/; revision=22313
Martin Baulig [Tue, 20 Jan 2004 20:35:45 +0000 (20:35 -0000)]
2004-01-20 Martin Baulig <martin@ximian.com>
* test-226.cs: New test for #53058.
svn path=/trunk/mcs/; revision=22312
Martin Baulig [Tue, 20 Jan 2004 20:32:27 +0000 (20:32 -0000)]
2004-01-20 Martin Baulig <martin@ximian.com>
* codegen.cs (EmitContext): Removed `InTry', `InCatch',
`InFinally', `InLoop', `TryCatchLevel', `LoopBeginTryCatchLevel'
and `NeedExplicitReturn'; added `IsLastStatement'.
(EmitContext.EmitTopBlock): Emit the explicit "ret" if we either
have a `ReturnLabel' or we're not unreachable.
* flowanalysis.cs (FlowBranching.MergeChild): Actually merge the
child's reachability; don't just override ours with it. Fixes
#58058 (lluis's example).
(FlowBranching): Added public InTryOrCatch(), InCatch(),
InFinally(), InLoop(), InSwitch() and
BreakCrossesTryCatchBoundary() methods.
* statement.cs (Return): Do all error checking in Resolve().
Unless we are the last statement in a top-level block, always
create a return label and jump to it.
(Break, Continue): Do all error checking in Resolve(); also make
sure we aren't leaving a `finally'.
(Block.DoEmit): Set `ec.IsLastStatement' when emitting the last
statement in a top-level block.
(Block.Flags): Added `IsDestructor'.
(Block.IsDestructor): New public property.
svn path=/trunk/mcs/; revision=22311
Miguel de Icaza [Tue, 20 Jan 2004 19:19:41 +0000 (19:19 -0000)]
2004-01-20 Miguel de Icaza <miguel@ximian.com>
Merge a few bits from the Anonymous Method MCS tree.
* statement.cs (ToplevelBlock): New class for toplevel methods,
will hold anonymous methods, lifted variables.
* cs-parser.jay: Create toplevel blocks for delegates and for
regular blocks of code.
svn path=/trunk/mcs/; revision=22310
Lluis Sanchez [Tue, 20 Jan 2004 19:18:46 +0000 (19:18 -0000)]
* MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
so a 'specified' member has always to be generated.
* TypeData.cs: Fixed check for value type.
svn path=/trunk/mcs/; revision=22309
Lluis Sanchez [Tue, 20 Jan 2004 18:18:25 +0000 (18:18 -0000)]
* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
Added support for value specifiers members. This fixes bug #53024.
svn path=/trunk/mcs/; revision=22308
Bernie Solomon [Tue, 20 Jan 2004 18:13:34 +0000 (18:13 -0000)]
2004-01-20 Bernie Solomon <bernard@ugsolutions.com>
* marshal.c (mono_marshal_get_managed_wrapper):
mono_marshal_alloc takes native int so CONV_I
the arg for 64bits.
svn path=/trunk/mono/; revision=22307
Atsushi Eno [Tue, 20 Jan 2004 16:53:50 +0000 (16:53 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* System.Data.dll.sources: Added missing TypedDataSetGenerator.cs.
svn path=/trunk/mcs/; revision=22305
Atsushi Eno [Tue, 20 Jan 2004 16:51:07 +0000 (16:51 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* Added missing TypedDataSetGenerator.cs.
svn path=/trunk/mcs/; revision=22304
Lluis Sanchez [Tue, 20 Jan 2004 15:30:09 +0000 (15:30 -0000)]
Little fixes.
svn path=/trunk/mono/; revision=22302
Lluis Sanchez [Tue, 20 Jan 2004 15:29:39 +0000 (15:29 -0000)]
* SampleGenerator.cs: Little fixes.
svn path=/trunk/mcs/; revision=22301
Lluis Sanchez [Tue, 20 Jan 2004 15:10:10 +0000 (15:10 -0000)]
* XmlSchemaExporter.cs: Don't create referenced element if it has already
been created (two types could be referencing the same schema element).
svn path=/trunk/mcs/; revision=22300
Zoltan Varga [Tue, 20 Jan 2004 13:46:28 +0000 (13:46 -0000)]
2004-01-20 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (fixup_cattrs): New function to fixup the methoddef
tokens in the cattr table. Fixes #53108.
svn path=/trunk/mono/; revision=22299
Umadevi S [Tue, 20 Jan 2004 13:25:46 +0000 (13:25 -0000)]
fix for bug 41678 -Uma <sumadevi@novell.com>
svn path=/trunk/mcs/; revision=22298
Umadevi S [Tue, 20 Jan 2004 13:15:10 +0000 (13:15 -0000)]
fix for bug 47883 - uma
svn path=/trunk/mcs/; revision=22297
Martin Baulig [Tue, 20 Jan 2004 12:30:35 +0000 (12:30 -0000)]
2004-01-20 Martin Baulig <martin@ximian.com>
* statement.cs (Break.DoEmit): Set ec.NeedExplicitReturn; fixes #52427.
svn path=/trunk/mcs/; revision=22296
Martin Baulig [Tue, 20 Jan 2004 11:42:47 +0000 (11:42 -0000)]
2004-01-20 Martin Baulig <martin@ximian.com>
* verify-8.cs: New test for #52707.
svn path=/trunk/mcs/; revision=22295
Martin Baulig [Tue, 20 Jan 2004 11:38:59 +0000 (11:38 -0000)]
2004-01-20 Martin Baulig <martin@ximian.com>
* statement.cs (Statement.ResolveUnreachable): New public method.
(If, While): Do the dead-code elimination in Resolve(), not in Emit().
(Block.Resolve): Resolve unreachable statements.
svn path=/trunk/mcs/; revision=22294
Martin Baulig [Tue, 20 Jan 2004 09:58:13 +0000 (09:58 -0000)]
Don't crash here.
svn path=/trunk/mcs/; revision=22293
Gonzalo Paniagua Javier [Tue, 20 Jan 2004 08:38:28 +0000 (08:38 -0000)]
2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PathTest.cs: added some unix-only tests for GetFullPath.
svn path=/trunk/mcs/; revision=22292
Gonzalo Paniagua Javier [Tue, 20 Jan 2004 08:35:27 +0000 (08:35 -0000)]
2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Path.cs: now Path.GetFullPath ("/") returns "/" instead of "".
svn path=/trunk/mcs/; revision=22291
Atsushi Eno [Tue, 20 Jan 2004 08:15:46 +0000 (08:15 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* Added set of Post Schema Compilation Information tests, i.e.
xs-psci-compare.cs and psci-ms-all.zip.
* Makefile: Added test-psci target.
* README: Added notes on PSCI tests (however it is not for today's
implementation, but for the very near future with bunch of fixes)
svn path=/trunk/mcs/; revision=22290
Atsushi Eno [Tue, 20 Jan 2004 07:56:23 +0000 (07:56 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* XmlElementTests.cs : Added WriteToMakesNonsenseForDefaultNSChildren.
* XmlTextWriterTests.cs : Added DontOutputRemovalDefaultNSDeclaration.
svn path=/trunk/mcs/; revision=22289
Atsushi Eno [Tue, 20 Jan 2004 07:41:39 +0000 (07:41 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* SchemaDataValueType.cs : UriValueType.ToString() should return
actual URI string (as MS's XmlSchemaUri class does).
* XmlSchemaReader.cs : Make it internal.
svn path=/trunk/mcs/; revision=22288
Atsushi Eno [Tue, 20 Jan 2004 07:39:57 +0000 (07:39 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* XsdParticleValidationState.cs : Use ValidatedMaxOccurs instead of
MaxOccurs. (in the meantime)
* XsdValidatingReader.cs : "fixed" should not be treated as default.
* XsdWildcard.cs : several Wildcard Subset constraint related fixes.
svn path=/trunk/mcs/; revision=22287
Atsushi Eno [Tue, 20 Jan 2004 07:39:06 +0000 (07:39 -0000)]
2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs : When adding a node to child list, it should reject its
ancestors. Patch by Boris Kirzner.
* XmlNodeReader.cs : Related fix to the fix above. It should not move
to children of XmlEntityReference nodes.
* XmlTextWriter.cs : FixedWriteStartElement() not to write default
namespace when ns is null (while ns is "", it writes default ns).
* XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
when NamespaceURI is an empty string.
svn path=/trunk/mcs/; revision=22286
Ravindra [Tue, 20 Jan 2004 06:54:00 +0000 (06:54 -0000)]
Fixed bug #52811.
svn path=/trunk/mcs/; revision=22285
Ravindra [Tue, 20 Jan 2004 06:51:53 +0000 (06:51 -0000)]
Fixed bug #52811 and made Pen properties behavior similar to that on .NET.
svn path=/trunk/mcs/; revision=22284
Gonzalo Paniagua Javier [Tue, 20 Jan 2004 05:24:31 +0000 (05:24 -0000)]
2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.IO/Path.cs: add the trailing directory separator only for
volumes. Fixes bug #53035.
* Test/System.IO/PathTest.cs: tests for bug 53035 and 52735.
svn path=/trunk/mcs/; revision=22283
Duncan Mak [Tue, 20 Jan 2004 04:44:52 +0000 (04:44 -0000)]
I've been busy with school and also with preparing for the upcoming
release, so I haven't been spending a lot of time on
GraphicsPath. Rather than letting my changes go stale, I'll commit
them now while they are still in a compilable state.
* GraphicsPath.cs: Implemented. Still needs testing, though.
Particular the PathPoints property, I ran into a P/Invoke problem,
I need to first fix that before I can go on with the rest of the testing.
* gdipFunctions.cs: Import functions for GraphicsPath.
* graphics-path.c (GdipGetPathPoints): Fixed.
(GdipCreatePath): Remember to initialize the arrays instead of
just setting them to NULL.
(GdipGetPathTypes, GdipGetPathPoints): Fix signature.
* Makefile (local_sources): Add graphics-path.c to the build.
* Matrix.cs (Matrix): Removed reference to GpRect/GpRectF.
* Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Removed reference to GpRectF.
* gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
Removed. Didn't know that structs are laid out sequentially by
default. We don't need these anymore.
svn path=/trunk/mcs/; revision=22282
Gonzalo Paniagua Javier [Tue, 20 Jan 2004 04:44:33 +0000 (04:44 -0000)]
2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PathTest.cs: a couple of tests for bugs.
svn path=/trunk/mcs/; revision=22281
Gonzalo Paniagua Javier [Tue, 20 Jan 2004 03:43:24 +0000 (03:43 -0000)]
2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConfigurationSettings.cs: fix location path lookup. Closes bug
#53072.
svn path=/trunk/mcs/; revision=22280
Gonzalo Paniagua Javier [Tue, 20 Jan 2004 01:28:10 +0000 (01:28 -0000)]
2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* loader.c: don't trim ".dll" before looking up in the config file.
Don't leak orig_scope. Reopened bug #22532 in the meanwhile.
svn path=/trunk/mono/; revision=22279
Bernie Solomon [Mon, 19 Jan 2004 21:45:58 +0000 (21:45 -0000)]
2004-01-19 Bernie Solomon <bernard@ugsolutions.com>
* interp.c (ves_exec_method_with_context):
get_native_wrapper removed and call
mono_marshal_get_native_wrapper directly
with new DllNotFoundException handling
svn path=/trunk/mono/; revision=22276
Jackson Harper [Mon, 19 Jan 2004 21:17:58 +0000 (21:17 -0000)]
* FloatingPointFormatter.cs: Use the default decimal digits count
if they are not specified. This fixes bug #52927.
svn path=/trunk/mcs/; revision=22274
Lluis Sanchez [Mon, 19 Jan 2004 20:21:26 +0000 (20:21 -0000)]
* Methods.cs: Get the method namespace from the binding, not from the web
service.
* TypeStubManager.cs: When adding a binding, ignore it if it has already
been added. Changed WebServiceLiteralNamespace by the method
GetWebServiceLiteralNamespace. The literal namespace depends on the binding
namespace, so it has to be provided as parameter.
* XmlReturnReader.cs, XmlReturnWriter.cs: Use GetWebServiceLiteralNamespace
instead of WebServiceLiteralNamespace.
svn path=/trunk/mcs/; revision=22273
Lluis Sanchez [Mon, 19 Jan 2004 20:20:25 +0000 (20:20 -0000)]
* HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
Use GetWebServiceLiteralNamespace instead of WebServiceLiteralNamespace.
* ProtocolReflector.cs: Port names must be unique in a service description.
This fixes bug #53019.
* ProtocolImporter.cs: Little fix.
svn path=/trunk/mcs/; revision=22272
Lluis Sanchez [Mon, 19 Jan 2004 19:15:08 +0000 (19:15 -0000)]
* XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
* XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
arrays. This fixes bug #53018.
svn path=/trunk/mcs/; revision=22270
Zoltan Varga [Mon, 19 Jan 2004 18:48:57 +0000 (18:48 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* IntPtrStream.cs: Fix build bustage.
svn path=/trunk/mcs/; revision=22269
Zoltan Varga [Mon, 19 Jan 2004 18:02:54 +0000 (18:02 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump version number.
svn path=/trunk/mcs/; revision=22268
Zoltan Varga [Mon, 19 Jan 2004 18:01:22 +0000 (18:01 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
a reference on the Module object which contains the resource.
svn path=/trunk/mcs/; revision=22267
Zoltan Varga [Mon, 19 Jan 2004 17:59:47 +0000 (17:59 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* IntPtrStream.cs: Add a 'Closed' event. Also throw exceptions after
the stream is closed.
svn path=/trunk/mcs/; revision=22266
Zoltan Varga [Mon, 19 Jan 2004 17:55:58 +0000 (17:55 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* Module.cs: Decrease the image reference count when the Module is
garbage collected.
svn path=/trunk/mcs/; revision=22265
Zoltan Varga [Mon, 19 Jan 2004 17:54:53 +0000 (17:54 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Assembly_GetManifestResourceInternal):
Return the module which contains the resource as well.
(ves_icall_System_Reflection_Module_Close): New icall.
* appdomain.c: Bump corlib version number.
svn path=/trunk/mono/; revision=22264
Zoltan Varga [Mon, 19 Jan 2004 17:52:52 +0000 (17:52 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* image.c (mono_image_addref): New public function.
* assembly.c: Call mono_image_addref.
* reflection.c (mono_module_get_object): Increase reference count of
the image.
svn path=/trunk/mono/; revision=22263
Jordi Mas i Hernandez [Mon, 19 Jan 2004 17:40:26 +0000 (17:40 -0000)]
fixes bmp encode, implements a few bitmap members
svn path=/trunk/mcs/; revision=22262
Ben Maurer [Mon, 19 Jan 2004 17:02:41 +0000 (17:02 -0000)]
2004-01-19 Ben Maurer <bmaurer@users.sourceforge.net>
* expression.cs: We need to fix the case where we do
not have a temp variable here.
* assign.cs: Only expression compound assignments need
temporary variables.
svn path=/trunk/mcs/; revision=22260
Zoltan Varga [Mon, 19 Jan 2004 16:44:34 +0000 (16:44 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
Fixes #22532.
* exception.h exception.c loader.h loader.c icall.c marshal.h marshal.c:
Applied patch from Bernie Solomon <bernard@ugsolutions.com>. Throw
proper exceptions on DllImport problems.
svn path=/trunk/mono/; revision=22259
Paolo Molaro [Mon, 19 Jan 2004 16:36:36 +0000 (16:36 -0000)]
Mon Jan 19 17:52:33 CET 2004 Paolo Molaro <lupus@ximian.com>
* interp.c: eliminate CSIZE macro.
svn path=/trunk/mono/; revision=22258
Paolo Molaro [Mon, 19 Jan 2004 16:35:31 +0000 (16:35 -0000)]
Mon Jan 19 17:50:27 CET 2004 Paolo Molaro <lupus@ximian.com>
* class.c, metadata.c: eliminate CSIZE macro.
svn path=/trunk/mono/; revision=22257
Paolo Molaro [Mon, 19 Jan 2004 16:30:39 +0000 (16:30 -0000)]
Mon Jan 19 17:44:50 CET 2004 Paolo Molaro <lupus@ximian.com>
* mini-ppc.h: export ppc_patch().
* mini-ppc.c: call convention fixes. Added assert in ppc_patch().
* tramp-ppc.c: call convention fixes: Linux/PPC support should be
on par or better than on MacOSX.
svn path=/trunk/mono/; revision=22256
Miguel de Icaza [Mon, 19 Jan 2004 16:25:51 +0000 (16:25 -0000)]
revert this one, it broke test-68
svn path=/trunk/mcs/; revision=22255
Ben Maurer [Mon, 19 Jan 2004 15:46:37 +0000 (15:46 -0000)]
2004-01-19 Ben Maurer <bmaurer@users.sourceforge.net>
* flowanalysis.cs: Reduce memory allocation in a few ways:
- A block with no variables should not allocate a bit
vector for itself.
- A method with no out parameters does not need any tracking
for assignment of the parameters, so we need not allocate
any data for it.
- The arrays:
public readonly Type[] VariableTypes;
public readonly string[] VariableNames;
Are redundant. The data is already stored in the variable
map, so we need not allocate another array for it.
- We need to add alot of checks for if (params | locals) == null
due to the first two changes.
svn path=/trunk/mcs/; revision=22254
Ravindra [Mon, 19 Jan 2004 15:12:28 +0000 (15:12 -0000)]
Added a new file Encoder.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=22253
Ravindra [Mon, 19 Jan 2004 15:08:21 +0000 (15:08 -0000)]
Implemented Encoder.cs.
svn path=/trunk/mcs/; revision=22252
Lluis Sanchez [Mon, 19 Jan 2004 13:40:41 +0000 (13:40 -0000)]
* NewMonoXSD.cs: Compile the loaded schemas if they are not already compiled.
svn path=/trunk/mcs/; revision=22251
Lluis Sanchez [Mon, 19 Jan 2004 13:40:08 +0000 (13:40 -0000)]
* icall.c: Added ves_icall_type_IsInstanceOf internal call.
* object.h: Added async_callback field in MonoAsyncResult.
* marshal.c: In mono_delegate_begin_invoke, set the value of async_callback.
* verify.c: Added async_callback in MonoAsyncResult layout.
svn path=/trunk/mono/; revision=22250
Lluis Sanchez [Mon, 19 Jan 2004 13:39:12 +0000 (13:39 -0000)]
* Type.cs: Added internal call for IsInstanceOfType. The old implementation
uses IsAssignableFrom(o.GetType()), which is not always valid for
transparent proxies (because GetType will not return the type of the remote
object if its assembly is not present).
svn path=/trunk/mcs/; revision=22249
Lluis Sanchez [Mon, 19 Jan 2004 13:38:20 +0000 (13:38 -0000)]
* CSharpCodeGenerator.cs: Do not generate access and scope modifiers for
interface methods.
svn path=/trunk/mcs/; revision=22248
Lluis Sanchez [Mon, 19 Jan 2004 13:37:06 +0000 (13:37 -0000)]
* RealProxy.cs: Added setter for ObjectIdentity.
svn path=/trunk/mcs/; revision=22247
Lluis Sanchez [Mon, 19 Jan 2004 13:36:39 +0000 (13:36 -0000)]
* AsyncResult.cs: Added async_callback field and fixed the callback call.
I thought that async_delegate was the callback, but it is not, it is the
delegate upon which the async call was invoked. This fixes bug #53020.
* StackBuilderSink.cs: If the target object is a proxy, make the call
using the Invoke method of the real proxy.
svn path=/trunk/mcs/; revision=22246
Lluis Sanchez [Mon, 19 Jan 2004 13:36:14 +0000 (13:36 -0000)]
* RemotingServices.cs: When marshalling a custom proxy, allow the creation
of a new identity. This fixes bug #52921.
* ServerIdentity.cs: Allow the creation of server identities that
represent a custom proxy instead of a real object.
svn path=/trunk/mcs/; revision=22245
Zoltan Varga [Mon, 19 Jan 2004 12:36:40 +0000 (12:36 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* pinvoke2.cs: Add tests for DllImport problems.
* pinvoke.cs: Make this run under linux.
svn path=/trunk/mono/; revision=22244
Zoltan Varga [Mon, 19 Jan 2004 12:34:00 +0000 (12:34 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* mini.c tramp-x86.c tramp-sparc.c: Updated after changes to
mono_lookup_pinvoke_call.
svn path=/trunk/mono/; revision=22243
Zoltan Varga [Mon, 19 Jan 2004 12:32:14 +0000 (12:32 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
Fixes #22532.
* exception.h exception.c loader.h loader.c icall.c marshal.h marshal.c:
Applied patch from Bernie Solomon <bernard@ugsolutions.com>. Throw
proper exceptions on DllImport problems.
svn path=/trunk/mono/; revision=22242
Zoltan Varga [Mon, 19 Jan 2004 10:38:17 +0000 (10:38 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c: Under windows, the default pinvoke calling convention is
stdcall. Fixes #52834.
svn path=/trunk/mono/; revision=22241
Zoltan Varga [Mon, 19 Jan 2004 10:27:49 +0000 (10:27 -0000)]
2004-01-19 Zoltan Varga <vargaz@freemail.hu>
* mini.c (optimize_branches): Add an upper bound to the number of
iterations to prevent infinite loops on strange loops. Fixes #53003.
svn path=/trunk/mono/; revision=22240
Miguel de Icaza [Mon, 19 Jan 2004 02:16:03 +0000 (02:16 -0000)]
2004-01-18 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (FieldExpr.AddressOf): For ValueTypes that do not
implement IMemoryLocation, we store a copy on a local variable and
take the address of it. Patch from Benjamin Jemlich
svn path=/trunk/mcs/; revision=22234
Miguel de Icaza [Sun, 18 Jan 2004 19:50:26 +0000 (19:50 -0000)]
Flush
svn path=/trunk/mono/; revision=22229
Todd Berman [Sun, 18 Jan 2004 19:46:46 +0000 (19:46 -0000)]
adding more info
svn path=/trunk/mono/; revision=22228
Miguel de Icaza [Sun, 18 Jan 2004 18:00:40 +0000 (18:00 -0000)]
Apply patches from Neale Ferguson for s390 support
svn path=/trunk/mono/; revision=22226
Miguel de Icaza [Sun, 18 Jan 2004 17:38:47 +0000 (17:38 -0000)]
2004-01-18 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay: Applied patch from Ben Maurer to the "type" rule
to use a special "type_name_expression" rule which reduces the
number of "QualifiedIdentifier" classes created, and instead
directly creates MemberAccess expressions.
svn path=/trunk/mcs/; revision=22225
Ben Maurer [Sun, 18 Jan 2004 17:26:04 +0000 (17:26 -0000)]
2004-01-18 Ben Maurer <bmaurer@users.sourceforge.net>
* FileStream.cs: Locking from bug #32344 removed. This is not
necessary because the correct fix was actually in the console.
This fixes bug #53026. Miguel de Icaza reviewed/approved this
patch.
svn path=/trunk/mcs/; revision=22224
Jordi Mas i Hernandez [Sun, 18 Jan 2004 17:18:50 +0000 (17:18 -0000)]
adds a missing DllImport that was causing win32 runtime fatal error
svn path=/trunk/mcs/; revision=22223
Lluis Sanchez [Sun, 18 Jan 2004 17:04:58 +0000 (17:04 -0000)]
* MonoWSDL.cs: Added new option that prints a sample request and response
for a web service operation.
* SampleGenerator.cs: Added.
svn path=/trunk/mcs/; revision=22222
David Sheldon [Sun, 18 Jan 2004 17:03:07 +0000 (17:03 -0000)]
2004-01-18 David Sheldon <dave-mono@earth.li>
* FloatingPointFormatter.cs: Skip the decimal point if we have an
integer mantassa. So: 1E+15, rather than 1.E+15.
svn path=/trunk/mcs/; revision=22221
David Sheldon [Sun, 18 Jan 2004 13:35:22 +0000 (13:35 -0000)]
2004-01-18 David Sheldon <dave-mono@earth.li>
* Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
even though docs say it should be an ArgumentNull. Two test cases now
pass. See also nickd's commit of 2003-12-24.
svn path=/trunk/mcs/; revision=22220
Alon Gazit [Sun, 18 Jan 2004 13:15:46 +0000 (13:15 -0000)]
fix problem with negative TabIndex (wasn't rendered).
svn path=/trunk/mcs/; revision=22219
Alon Gazit [Sun, 18 Jan 2004 09:42:49 +0000 (09:42 -0000)]
The CopyFrom methods in these classes shouldn't copy a value that is equal
to Property default value.
svn path=/trunk/mcs/; revision=22218
Miguel de Icaza [Sun, 18 Jan 2004 03:36:27 +0000 (03:36 -0000)]
Add
svn path=/trunk/mono/; revision=22217
Miguel de Icaza [Sat, 17 Jan 2004 19:50:19 +0000 (19:50 -0000)]
2004-01-17 Miguel de Icaza <miguel@ximian.com>
* convert.cs: Applied patch from Benjamin Jemlich (pcgod@gmx.net)
that fixes #52853 Null literal assignment to ValueType
svn path=/trunk/mcs/; revision=22211
Miguel de Icaza [Sat, 17 Jan 2004 19:47:22 +0000 (19:47 -0000)]
Improve test to cover 52853
svn path=/trunk/mcs/; revision=22210
Miguel de Icaza [Sat, 17 Jan 2004 19:42:17 +0000 (19:42 -0000)]
2004-01-17 Miguel de Icaza <miguel@ximian.com>
* class.cs (MethodData.Emit): Instead of checking the name of the
method to determine if its a destructor, create a new derived
class from Method called Destructor, and test for that.
* cs-parser.jay: Create a Destructor object instead of a Method.
Based on a fix from Benjamin Jemlich (pcgod@gmx.net)
Fixes: 52933
svn path=/trunk/mcs/; revision=22209
Miguel de Icaza [Sat, 17 Jan 2004 18:24:49 +0000 (18:24 -0000)]
More flush
svn path=/trunk/mono/; revision=22208
Miguel de Icaza [Sat, 17 Jan 2004 18:23:58 +0000 (18:23 -0000)]
Add sn
svn path=/trunk/mono/; revision=22207
Miguel de Icaza [Sat, 17 Jan 2004 18:21:28 +0000 (18:21 -0000)]
Update
svn path=/trunk/mcs/; revision=22206
Miguel de Icaza [Sat, 17 Jan 2004 18:19:28 +0000 (18:19 -0000)]
Fix
svn path=/trunk/mcs/; revision=22205
Miguel de Icaza [Sat, 17 Jan 2004 18:19:17 +0000 (18:19 -0000)]
update
svn path=/trunk/mcs/; revision=22204
Francisco Figueiredo Jr. [Sat, 17 Jan 2004 17:39:10 +0000 (17:39 -0000)]
2004-01-17 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Added initial support for connection pool.
* Fixed Connection testsuite for nested transactions with connection pool.
* Removed some finalizers which were causing segmentation fault.
svn path=/trunk/mcs/; revision=22203
Zoltan Varga [Sat, 17 Jan 2004 17:37:20 +0000 (17:37 -0000)]
2004-01-17 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_reflection_get_custom_attrs): Add support
for Modules.
svn path=/trunk/mono/; revision=22202
Zoltan Varga [Sat, 17 Jan 2004 17:27:58 +0000 (17:27 -0000)]
2004-01-17 Zoltan Varga <vargaz@freemail.hu>
* main.c get.c: Add support for dumping the custom attributes of
modules.
svn path=/trunk/mono/; revision=22201
Joel Basson [Sat, 17 Jan 2004 16:10:14 +0000 (16:10 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=22200
Miguel de Icaza [Fri, 16 Jan 2004 23:08:29 +0000 (23:08 -0000)]
Update
svn path=/trunk/mcs/; revision=22199
Miguel de Icaza [Fri, 16 Jan 2004 23:06:04 +0000 (23:06 -0000)]
Add new test
svn path=/trunk/mcs/; revision=22198
Miguel de Icaza [Fri, 16 Jan 2004 23:03:30 +0000 (23:03 -0000)]
Implement Method Group Conversions (34.8) from the Anonymous Methods spec.
2004-01-16 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Binary.ResolveOperator): Perform an implicit
conversion from MethodGroups to their delegate types on the
Addition operation.
* delegate.cs: Introduce a new class DelegateCreation that is the
base class for `NewDelegate' and `ImplicitDelegateCreation',
factor some code in here.
* convert.cs (Convert.ImplicitConversionStandard): Add an implicit
conversion from MethodGroups to compatible delegate types.
* ecore.cs (Expression.Resolve): Do not flag error 654
(Methodgroupd needs parenthesis) if running on the V2 compiler, as
we allow conversions from MethodGroups to delegate types now.
* assign.cs (Assign.DoResolve): Do not flag errors on methodgroup
assignments in v2 either.
svn path=/trunk/mcs/; revision=22197
César Natarén [Fri, 16 Jan 2004 21:42:16 +0000 (21:42 -0000)]
added new file
svn path=/trunk/mcs/; revision=22196
César Natarén [Fri, 16 Jan 2004 21:41:28 +0000 (21:41 -0000)]
2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Microsoft.JScript.dll.sources: added VsaScriptScope to the build.
svn path=/trunk/mcs/; revision=22195
César Natarén [Fri, 16 Jan 2004 21:28:39 +0000 (21:28 -0000)]
2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Microsoft.Vsa/BaseVsaEngine.cs: added setter for InitNewCalled.
svn path=/trunk/mcs/; revision=22194
César Natarén [Fri, 16 Jan 2004 21:25:53 +0000 (21:25 -0000)]
2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* VsaEngine.cs: added an Stack, a VsaScriptScope, do not throw exceptions for:
CreateEngineAndgetGlobalScope, GetGlobalScope, InitVsaEngine,
PopScriptObject, PushScriptObject, the reason is for being able to
run the tests at jtests. Be aware that this must get implemented yet.
svn path=/trunk/mcs/; revision=22193
César Natarén [Fri, 16 Jan 2004 21:21:34 +0000 (21:21 -0000)]
2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Microsoft.JScript/VsaReferenceItem.cs: renamed field, reuse parent's ctr.
* Microsoft.JScript/VsaItem.cs: renamed some fields, added ctr,
* Microsoft.JScript/VsaGlobalItem.cs: reuse parent ctr.
* Microsoft.JScript/VsaCodeItem.cs: reuse parent ctr.
* Microsoft.JScript/GlobalScope.cs: reuse constructors from parent.
svn path=/trunk/mcs/; revision=22192