mono.git
20 years agoInitial import of the Generic MCS tree.
Miguel de Icaza [Thu, 24 Jul 2003 16:46:43 +0000 (16:46 -0000)]
Initial import of the Generic MCS tree.

2003-07-20  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay (namespace_name): do not use
namespace_or_type_name, use qualified_identifier, because
namespace_or_type_name will soon return a composed expression
instead of a string.

(namespace_or_type_name): Instead of returning a string, now this
production returns an expression.

* codegen.cs (EmitContext): Setup IsGeneric property based on
whether our DeclSpace is generic, our the method is generic.

* modifier.cs (Modifiers.METHOD_GENERIC): New definition, use if
the method is generic.

* cs-parser.jay (type_arguments, opt_type_argument_list,
type_parameters, type_parameter_list, opt_type_parameter_list,
type_parameter,, opt_type_parameter_constraints_clauses,
type_parameter_constraints_clauses,
type_parameter_constraint_clause, type_parameter_constraint,
interface_constraints): Add new production

* decl.cs (DeclSpace): IsGeneric, flag to track whether this
DeclSpace is generic or not.

(DeclSpace.SetParameterInfo): New routine, used to set the
parameter info for a type.

(DeclSpace.LookupGeneric): Lookups a name, and if it is a generic,
returns a GenericTypeExpr

* ecore.cs (SimpleName.ResolveAsTypeStep): If our container is
generic, lookup the generic argument.

* attribute.cs: Do not allow TypeParameterExpressions in
Attributes.

* class.cs: Do not allow the Main method to be defined in a
Generic container.

* expression.cs (SizeOf): Do not allow generic types to be used as
arguments to sizeof.

* typemanager.cs (IsGeneric): Wrapper for Reflection when we have
it: whether a type is generic or not.  Only works for types we are
currently building for now.

2003-01-21  Miguel de Icaza  <miguel@ximian.com>

* generic.cs: New file, contains support code for generics.

* cs-parser.jay: Remove OP_SHIFT_LEFT, OP_SHIFT_RIGHT,
OP_SHIFT_LEFT_ASSIGN, OP_SHIFT_RIGHT_ASSIGN.

Update parser for the above removals.

* cs-tokenizer.cs: Do not handle <<= or >>= specially.  This is
now taken care of in the parser.

svn path=/trunk/mcs/; revision=16612

20 years agoThis import contains a verbatim copy of mcs at the time of this writing;
Miguel de Icaza [Thu, 24 Jul 2003 16:28:24 +0000 (16:28 -0000)]
This import contains a verbatim copy of mcs at the time of this writing;

This directory is only for the development of the generics version of MCS,
we will later fold all those changes into the main branch.  But wanted to
share the code with others in the meantime instead of keeping a separate
tree.

svn path=/trunk/mcs/; revision=16611

20 years ago2003-07-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 24 Jul 2003 16:20:20 +0000 (16:20 -0000)]
2003-07-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlSchema.cs : Read() now uses XmlSerializer.Deserialize().

svn path=/trunk/mcs/; revision=16610

20 years ago2003-07-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 24 Jul 2003 16:19:39 +0000 (16:19 -0000)]
2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs :
  Read() now handles parser context stuff (BaseURI, XmlLang and
  XmlSpace) correctly for an empty element.
  Normalization property now doesn't throw an error. Will be used soon.
* XmlValidatingReader.cs : added ValidationType.None support (wait for
  the next DTDValidatingReader update for "not firing event handler).
* XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.

svn path=/trunk/mcs/; revision=16609

20 years agoAdd some comments from Paolo to the file
Miguel de Icaza [Thu, 24 Jul 2003 15:15:56 +0000 (15:15 -0000)]
Add some comments from Paolo to the file

svn path=/trunk/mono/; revision=16608

20 years ago(GetFolderPath): Make it not print out CS0162
Duncan Mak [Thu, 24 Jul 2003 14:51:10 +0000 (14:51 -0000)]
(GetFolderPath): Make it not print out CS0162
warnings.

svn path=/trunk/mcs/; revision=16606

20 years ago * reflection.c: Fix bug #46669
Lluis Sanchez [Thu, 24 Jul 2003 13:57:13 +0000 (13:57 -0000)]
* reflection.c: Fix bug #46669

svn path=/trunk/mono/; revision=16604

20 years ago2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 12:54:23 +0000 (12:54 -0000)]
2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* exception.c:
* exception.h:
* icall.c:
* object.h: fill in the type name for TypeLoadException.

svn path=/trunk/mono/; revision=16603

20 years ago * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
Lluis Sanchez [Thu, 24 Jul 2003 12:27:53 +0000 (12:27 -0000)]
* ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.

svn path=/trunk/mcs/; revision=16602

20 years ago2003-07-22 Ravi Pratap <ravi@ximian.com>
Paolo Molaro [Thu, 24 Jul 2003 09:55:13 +0000 (09:55 -0000)]
2003-07-22  Ravi Pratap  <ravi@ximian.com>

* expression.cs (Invocation.OverloadResolve): Follow the spec more
closely: we eliminate methods in base types when we have an
applicable method in a top-level type.

        Please see section 14.5.5.1 for an exact description of what goes
on.

This fixes bug #45127 and a host of other related to corlib compilation.

        * ecore.cs (MethodGroupExpr.DeclaringType): The element in the
array is the method corresponding to the top-level type (this is
because of the changes made to icall.c) so we change this
accordingly.

(MethodGroupExpr.Name): This too.

* typemanager.cs (GetElementType): New method which does the right
thing when compiling corlib.

* everywhere: Make use of the above in the relevant places.

svn path=/trunk/mcs/; revision=16599

20 years ago2003-07-24 Peter Williams <peter@newton.cx>
Peter Williams [Thu, 24 Jul 2003 06:43:22 +0000 (06:43 -0000)]
2003-07-24  Peter Williams  <peter@newton.cx>

Makefile (clean-local): Forgot $(plattestlib).

svn path=/trunk/mcs/; revision=16598

20 years ago2003-07-24 Peter Williams <peter@newton.cx>
Peter Williams [Thu, 24 Jul 2003 06:21:57 +0000 (06:21 -0000)]
2003-07-24  Peter Williams  <peter@newton.cx>

* Makefile: Boo-yah! Add corlib_plattest.dll, which is a
corlib test library built against the platform corlib. This
lets us test our corlib tests. On a non-mono-native platform
(Windows) we run those tests only; on a mono-native platform, we
run the full corlib test suite on our own tests.

* corlib_plattest.dll.excludes: Add this. (The result of
'grep Mono corlib_test.dll.sources')

* corlib_test.dll.sources: Extraneous newline was messing things
up.

svn path=/trunk/mcs/; revision=16597

20 years agoOops, this part was backed out.
Duncan Mak [Thu, 24 Jul 2003 03:38:52 +0000 (03:38 -0000)]
Oops, this part was backed out.

svn path=/trunk/mcs/; revision=16596

20 years ago2003-07-23 Peter Williams <peter@newton.cx>
Peter Williams [Thu, 24 Jul 2003 03:29:59 +0000 (03:29 -0000)]
2003-07-23  Peter Williams  <peter@newton.cx>

* Makefile (SUBDIRS): Add System.Drawing.Design.dll to the

2003-07-23  Peter Williams  <peter@newton.cx>

* System.Drawing.dll.sources: Add Pens.cs

svn path=/trunk/mcs/; revision=16595

20 years ago* DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
Duncan Mak [Thu, 24 Jul 2003 03:28:43 +0000 (03:28 -0000)]
* DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
be public.

* StreamReader.cs (Initialize): This method is not exposed in the
API, mark as internal.

* SignatureHelper.cs: This class does not have the
SerializableAttribute.

* WaitHandle.cs (CheckDisposed): This method is not in the public
API, mark it as 'internal'.

* Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
as values for NET_1_1.
(GetFolderPath): Return the empty string ("") for values of
SpecialFolder that have no corresponding equivalents in
Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
and "$HOME" for SpecialFolder.Personal.

* IntPtr.cs (GetObjectData): Mark it as an interface
implementation, instead of a public method.

* Guid.cs (NewGuid): Remove MonoTODOAttribute.

* TypeLoadException.cs (GetObjectData):
Create stubs for the fields that are being serialized.

* UIntPtr.cs: Removed erroneous CLSCompliantAttributes.

svn path=/trunk/mcs/; revision=16594

20 years ago2003-07-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Jul 2003 01:46:20 +0000 (01:46 -0000)]
2003-07-23  Miguel de Icaza  <miguel@ximian.com>

* Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
is set, default to Win32Impl

svn path=/trunk/mcs/; revision=16592

20 years ago2003-07-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Jul 2003 01:45:24 +0000 (01:45 -0000)]
2003-07-23  Miguel de Icaza  <miguel@ximian.com>

* win32functions.cs: Move functions that do not exist in WineLib
over to Win32_Wineless, so we do not trigger the warning messages
until a function tries to use them.

Win32() constructor: Set a hint on the appdomain that we would
prefer to have the System.Drawing API use the Win32 implementation
of the API.

* *.cs: Updated sources to use this.

svn path=/trunk/mcs/; revision=16591

20 years ago2003-07-23 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 23 Jul 2003 21:30:13 +0000 (21:30 -0000)]
2003-07-23  Ravi Pratap  <ravi@ximian.com>

* Type.cs, TypeBuilder.cs, MonoType.cs: Fixes to IsArrayImpl
from Paolo in response to bug #45993.

svn path=/trunk/mcs/; revision=16589

20 years ago2003-07-23 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 23 Jul 2003 21:27:55 +0000 (21:27 -0000)]
2003-07-23  Ravi Pratap  <ravi@ximian.com>

* class.c: Fixes from Paolo in response to bug #45415 (Subclass
relationship between TypeBuilders while compiling corlib) and bug
45993 (Array types returned from the runtime while compiling
corlib were from the loaded corlib).

svn path=/trunk/mono/; revision=16588

20 years ago2003-07-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Jul 2003 19:05:34 +0000 (19:05 -0000)]
2003-07-23  Dick Porter  <dick@ximian.com>

* shared.c:
* daemon.c (maybe_exit): Avoid the race condition when the daemon is
closing but another client comes along when the shared data is still
visible.  Should fix bugs 33671 and 35213.

svn path=/trunk/mono/; revision=16586

20 years ago2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Jul 2003 17:57:46 +0000 (17:57 -0000)]
2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRuntime.cs: also clear the headers that may have been set upon
error processing the request.

svn path=/trunk/mcs/; revision=16584

20 years ago2003-07-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 23 Jul 2003 17:27:26 +0000 (17:27 -0000)]
2003-07-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* DTMXPathDocumentBuilder.cs :
  Fixed Read() that sets nodes' parent incorrectly.

svn path=/trunk/mcs/; revision=16583

20 years ago2003-07-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Jul 2003 17:08:19 +0000 (17:08 -0000)]
2003-07-23  Dick Porter  <dick@ximian.com>

* handles.c:  Initialise handle mutex and cond.  Fix by
Bernie Solomon <bernard@ugsolutions.com>

svn path=/trunk/mono/; revision=16579

20 years ago2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Jul 2003 17:04:39 +0000 (17:04 -0000)]
2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
Write method.

* HttpWriter.cs: flush the filter after writing.

svn path=/trunk/mcs/; revision=16577

20 years ago * Makefile: added dll extension to System.Runtime.Remoting reference
Lluis Sanchez [Wed, 23 Jul 2003 16:58:41 +0000 (16:58 -0000)]
* Makefile: added dll extension to System.Runtime.Remoting reference

svn path=/trunk/mcs/; revision=16576

20 years ago * SerializationTest.cs: Fixed delegate invocation. Didn't compile
Lluis Sanchez [Wed, 23 Jul 2003 16:39:27 +0000 (16:39 -0000)]
* SerializationTest.cs: Fixed delegate invocation. Didn't compile
  on windows. Also fixed some warnings.

svn path=/trunk/mcs/; revision=16575

20 years ago2003-07-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Jul 2003 16:05:07 +0000 (16:05 -0000)]
2003-07-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* IconEditor.cs: Tiny fix to improve created image

svn path=/trunk/mcs/; revision=16574

20 years ago * System.Runtime.Remoting_test.dll.sources: Added.
Lluis Sanchez [Wed, 23 Jul 2003 15:54:17 +0000 (15:54 -0000)]
* System.Runtime.Remoting_test.dll.sources: Added.
* Makefile: added test support.

svn path=/trunk/mcs/; revision=16573

20 years ago * ContextsTest.cs, CallSeq.cs, ContextHookAttribute.cs, ServerObject.cs: Added.
Lluis Sanchez [Wed, 23 Jul 2003 15:51:52 +0000 (15:51 -0000)]
* ContextsTest.cs, CallSeq.cs, ContextHookAttribute.cs, ServerObject.cs: Added.

svn path=/trunk/mcs/; revision=16572

20 years ago * System.Runtime.Remoting_test.dll.sources: Added.
Lluis Sanchez [Wed, 23 Jul 2003 15:47:47 +0000 (15:47 -0000)]
* System.Runtime.Remoting_test.dll.sources: Added.
* Makefile: added test support.

svn path=/trunk/mcs/; revision=16571

20 years agoShut CVS up
Dick Porter [Wed, 23 Jul 2003 13:34:28 +0000 (13:34 -0000)]
Shut CVS up

svn path=/trunk/mcs/; revision=16570

20 years ago * corlib_test.dll.sources: added System.Runtime.Serialization/SerializationTest.cs
Lluis Sanchez [Wed, 23 Jul 2003 12:58:27 +0000 (12:58 -0000)]
* corlib_test.dll.sources: added System.Runtime.Serialization/SerializationTest.cs

svn path=/trunk/mcs/; revision=16569

20 years ago * SerializationTest.cs: Added.
Lluis Sanchez [Wed, 23 Jul 2003 12:56:03 +0000 (12:56 -0000)]
* SerializationTest.cs: Added.

svn path=/trunk/mcs/; revision=16568

20 years ago * MethodDictionary.cs: Fixed Add method. If the property is method
Lluis Sanchez [Wed, 23 Jul 2003 12:39:53 +0000 (12:39 -0000)]
* MethodDictionary.cs: Fixed Add method. If the property is method
  property, then there is no need it to the internal properties table.

svn path=/trunk/mcs/; revision=16567

20 years ago * EnumTest.cs: Test ToString() for unnamed flag enum values.
Lluis Sanchez [Wed, 23 Jul 2003 10:46:58 +0000 (10:46 -0000)]
* EnumTest.cs: Test ToString() for unnamed flag enum values.

svn path=/trunk/mcs/; revision=16566

20 years ago * Enum.cs: Fixed enum formatting. For flag enums, if one of
Lluis Sanchez [Wed, 23 Jul 2003 09:41:04 +0000 (09:41 -0000)]
* Enum.cs: Fixed enum formatting. For flag enums, if one of
  the flags is unnamed, ToString() returns the integer value.

svn path=/trunk/mcs/; revision=16565

20 years ago * SoapMessageFormatter.cs: ParameterInfo.Position is now zero-based.
Lluis Sanchez [Wed, 23 Jul 2003 09:04:46 +0000 (09:04 -0000)]
* SoapMessageFormatter.cs: ParameterInfo.Position is now zero-based.
  Fixed methods that use it.

svn path=/trunk/mcs/; revision=16564

20 years ago2003-07-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jul 2003 04:43:05 +0000 (04:43 -0000)]
2003-07-23  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Replace all calls to `new ArrayList' with `new
ArrayList(4)' which is a good average number for most allocations,
and also requires only 16 bytes of memory for its buffer by
default.

This reduced MCS memory usage in seven megabytes for the RSS after
bootstrapping.

svn path=/trunk/mcs/; revision=16562

20 years ago * main.c: Dissasemble generic type parameters for type
Jackson Harper [Wed, 23 Jul 2003 03:18:13 +0000 (03:18 -0000)]
    * main.c: Dissasemble generic type parameters for type
definitions. TODO: Sort type parameters by index, and
auto-generate names for parameters that have no name.

svn path=/trunk/mono/; revision=16561

20 years ago2003-07-22 Peter Williams <peter@newton.cx>
Peter Williams [Wed, 23 Jul 2003 02:57:19 +0000 (02:57 -0000)]
2003-07-22  Peter Williams  <peter@newton.cx>

* README: INSTALL.txt, not INSTALL.

svn path=/trunk/mcs/; revision=16560

20 years agoThis is deprecated in favor of INSTALL.txt and plain old README.
Peter Williams [Wed, 23 Jul 2003 02:55:27 +0000 (02:55 -0000)]
This is deprecated in favor of INSTALL.txt and plain old README.

svn path=/trunk/mcs/; revision=16559

20 years ago2003-07-22 Peter Williams <peter@newton.cx>
Peter Williams [Wed, 23 Jul 2003 02:07:47 +0000 (02:07 -0000)]
2003-07-22  Peter Williams  <peter@newton.cx>

* rules.make (withmcs): Add this developer utility target.

'make withmcs' will build 'all' using $(INTERNAL_MCS) as its compiler
no matter what, for testing corlib builds or on Windows. As requested
by Ravi.

svn path=/trunk/mcs/; revision=16558

20 years agoremove sqlsharp from monobins_DATA too
Duncan Mak [Wed, 23 Jul 2003 01:28:50 +0000 (01:28 -0000)]
remove sqlsharp from monobins_DATA too

svn path=/trunk/mono/; revision=16557

20 years agoRemove negatives from z format; patch from Ed Thomson <ethomson@sourcegear.com>
Miguel de Icaza [Wed, 23 Jul 2003 01:25:14 +0000 (01:25 -0000)]
Remove negatives from z format;  patch from Ed Thomson <ethomson@sourcegear.com>

svn path=/trunk/mcs/; revision=16556

20 years agoRemove sqlsharp as we no longer distribute it.
Duncan Mak [Wed, 23 Jul 2003 01:21:39 +0000 (01:21 -0000)]
Remove sqlsharp as we no longer distribute it.

svn path=/trunk/mono/; revision=16555

20 years ago * IVsaCodeItem.cs, IVsaEngine.cs, IVsaError.cs, IVsaGlobalItem.cs
Lluis Sanchez [Tue, 22 Jul 2003 20:01:10 +0000 (20:01 -0000)]
* IVsaCodeItem.cs, IVsaEngine.cs, IVsaError.cs, IVsaGlobalItem.cs
  IVsaItem.cs, IVsaItems.cs, IVsaPersistSite.cs, IVsaReferenceItem.cs,
  IVsaSite.cs: InterfaceTypeAttribute can only be applied to interfaces,
  no to interface members. Build failed on windows.

svn path=/trunk/mcs/; revision=16549

20 years agoPNGCodec.cs added
Alexandre Pigolkine [Tue, 22 Jul 2003 19:57:32 +0000 (19:57 -0000)]
PNGCodec.cs added

svn path=/trunk/mcs/; revision=16548

20 years agosave as png
Alexandre Pigolkine [Tue, 22 Jul 2003 19:55:42 +0000 (19:55 -0000)]
save as png

svn path=/trunk/mcs/; revision=16547

20 years agopng callbacks added
Alexandre Pigolkine [Tue, 22 Jul 2003 19:55:04 +0000 (19:55 -0000)]
png callbacks added

svn path=/trunk/mcs/; revision=16546

20 years agopng codec added
Alexandre Pigolkine [Tue, 22 Jul 2003 19:54:16 +0000 (19:54 -0000)]
png codec added

svn path=/trunk/mcs/; revision=16545

20 years agoimplementation added
Alexandre Pigolkine [Tue, 22 Jul 2003 19:50:24 +0000 (19:50 -0000)]
implementation added

svn path=/trunk/mcs/; revision=16544

20 years ago2003-07-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Jul 2003 19:18:06 +0000 (19:18 -0000)]
2003-07-22  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c: Reworked the type support a bit more;
distinguish between types and classes.

svn path=/trunk/mono/; revision=16540

20 years ago2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Tue, 22 Jul 2003 19:15:43 +0000 (19:15 -0000)]
2003-07-22  Jerome Laban <jlaban@wanadoo.fr>

* Guid.cs: Fixed ToString (), was producing incorrect string.

svn path=/trunk/mcs/; revision=16539

20 years ago2003-07-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Jul 2003 19:03:18 +0000 (19:03 -0000)]
2003-07-22  Martin Baulig  <martin@ximian.com>

* test-207.cs: New test for expressions which return delegates.

svn path=/trunk/mcs/; revision=16538

20 years ago2003-07-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Jul 2003 19:01:08 +0000 (19:01 -0000)]
2003-07-22  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (invocation_expression): Moved
`OPEN_PARENS expression CLOSE_PARENS unary_expression' here from
`cast_expression', but create a InvocationOrCast which later
resolves to either an Invocation or a Cast.

* ecore.cs (ExpressionStatement.ResolveStatement): New virtual
method; call this before EmitStatement() to make sure that this
expression can be used as a statement.

* expression.cs (InvocationOrCast): New class; resolves to either
an Invocation or a Cast.

* statement.cs (StatementExpression): Call ResolveStatement() on
the ExpressionStatement before emitting it.

svn path=/trunk/mcs/; revision=16537

20 years agoFlus tets
Miguel de Icaza [Tue, 22 Jul 2003 18:54:29 +0000 (18:54 -0000)]
Flus tets

svn path=/trunk/mcs/; revision=16536

20 years ago2003-07-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 22 Jul 2003 18:46:19 +0000 (18:46 -0000)]
2003-07-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* mcs/class/Makefile: Added Microsoft.Vsa.dll to the build.

svn path=/trunk/mcs/; revision=16535

20 years ago * WebServiceHandler.cs: Fixed Invoke(). ParameterInfo.Position is now
Lluis Sanchez [Tue, 22 Jul 2003 18:32:12 +0000 (18:32 -0000)]
* WebServiceHandler.cs: Fixed Invoke(). ParameterInfo.Position is now
  zero-based, like in MS.NET.

svn path=/trunk/mcs/; revision=16534

20 years ago2003-07-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 22 Jul 2003 18:25:53 +0000 (18:25 -0000)]
2003-07-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Added the new files to the build.

svn path=/trunk/mcs/; revision=16533

20 years ago2003-07-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 22 Jul 2003 18:23:04 +0000 (18:23 -0000)]
2003-07-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Added CmdLineError.cs and JSError.cs, last night I forgot to
commit them.

svn path=/trunk/mcs/; revision=16532

20 years agooops! forgot to add this files
César Natarén [Tue, 22 Jul 2003 18:18:51 +0000 (18:18 -0000)]
oops! forgot to add this files

svn path=/trunk/mcs/; revision=16531

20 years ago * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
Lluis Sanchez [Tue, 22 Jul 2003 16:03:10 +0000 (16:03 -0000)]
* DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
  xml serialization. Modified method of writing schema. Now it creates
  a XmlSchema object and serializes it using XmlSerializer.
* XmlConstants.cs: Added constants for data type names.
* XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
  type specified in the column.

svn path=/trunk/mcs/; revision=16530

20 years ago2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Jul 2003 14:34:59 +0000 (14:34 -0000)]
2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Win32Exception.cs: added message for 10054.

svn path=/trunk/mcs/; revision=16529

20 years ago2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Jul 2003 14:34:43 +0000 (14:34 -0000)]
2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.

svn path=/trunk/mcs/; revision=16528

20 years agoTue Jul 22 15:48:50 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Jul 2003 13:59:00 +0000 (13:59 -0000)]
Tue Jul 22 15:48:50 CEST 2003 Paolo Molaro <lupus@ximian.com>

* icall.c: add IsArrayImpl icall.

svn path=/trunk/mono/; revision=16527

20 years agoTue Jul 22 15:21:24 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Jul 2003 13:30:41 +0000 (13:30 -0000)]
Tue Jul 22 15:21:24 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: make vararg calls work for instance methods.

svn path=/trunk/mono/; revision=16526

20 years ago2003-07-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 22 Jul 2003 10:08:28 +0000 (10:08 -0000)]
2003-07-22  Zoltan Varga  <vargaz@freemail.hu>

* mono/tests/Makefile.am: Add missing test. Make tests interruptable
by Ctrl-C. Add testinterp target to run the tests with the interpreter.
Do not try to build vararg.cs under mcs.

svn path=/trunk/mono/; revision=16524

20 years ago2003-07-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 22 Jul 2003 10:05:32 +0000 (10:05 -0000)]
2003-07-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix detection of GC_gcj_malloc.

svn path=/trunk/mono/; revision=16523

20 years ago2003-07-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 22 Jul 2003 09:58:26 +0000 (09:58 -0000)]
2003-07-22  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_layout_fields): Fix gc aware auto layout by
initializing real_size only once. Also fix bug #46602.

svn path=/trunk/mono/; revision=16522

20 years ago * Binding.cs, Import.cs, Message.cs, MessageBinding.cs, MessagePart.cs,
Lluis Sanchez [Tue, 22 Jul 2003 09:55:23 +0000 (09:55 -0000)]
* Binding.cs, Import.cs, Message.cs, MessageBinding.cs, MessagePart.cs,
  Operation.cs, OperationBinding.cs, OperationMessage.cs, Port.cs,
  PortType.cs, Service.cs: Added XmlIgnore attributes to properties
  referencing parent objects.
* OperationMessageCollection.cs: Fixed wrong OnInsert method
* ServiceDescription.cs: Removed unneeded methods in
  ServiceDescriptionSerializer.

svn path=/trunk/mcs/; revision=16521

20 years ago2003-07-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 22 Jul 2003 09:51:42 +0000 (09:51 -0000)]
2003-07-22  Zoltan Varga  <vargaz@freemail.hu>

* interp.c: Use the new metadata_section lock instead of metadata_lock.
Patch by Bernie Solomon (bernard@ugsolutions.com).

svn path=/trunk/mono/; revision=16520

20 years ago * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
Lluis Sanchez [Tue, 22 Jul 2003 09:49:51 +0000 (09:49 -0000)]
* TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
* XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
  they have.

svn path=/trunk/mcs/; revision=16519

20 years agoAdd samples
Miguel de Icaza [Tue, 22 Jul 2003 05:50:03 +0000 (05:50 -0000)]
Add samples

svn path=/trunk/mcs/; revision=16518

20 years ago * ILParser.jay: Set maxstack
Jackson Harper [Tue, 22 Jul 2003 04:56:18 +0000 (04:56 -0000)]
    * ILParser.jay: Set maxstack

svn path=/trunk/mcs/; revision=16516

20 years ago * MethodDef.cs: Do not decremint param count for vararg methods,
Jackson Harper [Tue, 22 Jul 2003 04:53:49 +0000 (04:53 -0000)]
    * MethodDef.cs: Do not decremint param count for vararg methods,
the ellipsis is needed later

svn path=/trunk/mcs/; revision=16515

20 years agoAdd chmod
Miguel de Icaza [Tue, 22 Jul 2003 04:20:26 +0000 (04:20 -0000)]
Add chmod

svn path=/trunk/mcs/; revision=16512

20 years agoAdd chmod
Miguel de Icaza [Tue, 22 Jul 2003 04:13:55 +0000 (04:13 -0000)]
Add chmod

svn path=/trunk/mcs/; revision=16511

20 years agoInstantiate generic types so we don't get null pointers
Jackson Harper [Tue, 22 Jul 2003 01:15:08 +0000 (01:15 -0000)]
Instantiate generic types so we don't get null pointers

svn path=/trunk/mcs/; revision=16509

20 years agoI have to fill in the blanks
César Natarén [Tue, 22 Jul 2003 01:00:11 +0000 (01:00 -0000)]
I have to fill in the blanks

svn path=/trunk/mcs/; revision=16508

20 years agoIf did not miss something this will complete the Mirosoft.JScript public API. Now...
César Natarén [Tue, 22 Jul 2003 00:47:44 +0000 (00:47 -0000)]
If did not miss something this will complete the Mirosoft.JScript public API. Now the only thing left to do is...fill in the blanks :)

svn path=/trunk/mcs/; revision=16507

20 years agothese commits will add the full Microsoft.JScript public API. Now only last to fill...
César Natarén [Tue, 22 Jul 2003 00:38:42 +0000 (00:38 -0000)]
these commits will add the full Microsoft.JScript public API. Now only last to fill in the blanks :-)

svn path=/trunk/mcs/; revision=16506

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 22:01:12 +0000 (22:01 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Web.Services.dll.sources: Added Assembly/AssemblyInfo.cs, Assembly/Locale.cs

svn path=/trunk/mcs/; revision=16505

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 22:00:08 +0000 (22:00 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added

svn path=/trunk/mcs/; revision=16504

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 21:06:01 +0000 (21:06 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Small fix

svn path=/trunk/mcs/; revision=16503

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 21:04:02 +0000 (21:04 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Metafile.cs: Inherits from image (fix for System.Drawing.Design)

svn path=/trunk/mcs/; revision=16502

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 21:02:38 +0000 (21:02 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Icon.cs: Stubed out (fix for System.Drawing.Design)

svn path=/trunk/mcs/; revision=16501

20 years agoDon't set a parent type if it's System.Object.
Martin Baulig [Mon, 21 Jul 2003 19:25:10 +0000 (19:25 -0000)]
Don't set a parent type if it's System.Object.

svn path=/trunk/mono/; revision=16499

20 years ago2003-07-21 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Mon, 21 Jul 2003 19:23:57 +0000 (19:23 -0000)]
2003-07-21  Jerome Laban <jlaban@wanadoo.fr>

       * object.c: Renamed mono_metadata_section to metadata_section.

svn path=/trunk/mono/; revision=16498

20 years ago2003-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Jul 2003 18:59:11 +0000 (18:59 -0000)]
2003-07-21  Martin Baulig  <martin@ximian.com>

* syntax0068.cs, syntax0069.cs, syntax0071.cs, syntax0116.cs:
These are syntax errors which we'd need to catch in cs-parser.jay;
separate them from the other errors.

* cs0572.cs: New test.

svn path=/trunk/mcs/; revision=16497

20 years ago2003-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Jul 2003 18:55:36 +0000 (18:55 -0000)]
2003-07-21  Martin Baulig  <martin@ximian.com>

* test-206.cs: New test for bug #46502.

2003-07-20  Martin Baulig  <martin@ximian.com>

* test-205.cs: New test for some namespace stuff.

svn path=/trunk/mcs/; revision=16496

20 years ago2003-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Jul 2003 18:17:00 +0000 (18:17 -0000)]
2003-07-21  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.VerifyArgumentsCompat): Check whether
`ref' and `out' attributes match; fixes #46220.
(MemberAccess.ResolveMemberAccess): You can't reference a type
through an expression; fixes #33180.
(Indexers.GetIndexersForType): Don't return the indexers from
interfaces the class implements; fixes #46502.

svn path=/trunk/mcs/; revision=16495

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 17:24:09 +0000 (17:24 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* README: removed (contained only obsolete build instructions)

svn path=/trunk/mcs/; revision=16494

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 17:21:44 +0000 (17:21 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.dll.sources: EventLogImpl.cs added

svn path=/trunk/mcs/; revision=16493

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 17:20:51 +0000 (17:20 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* EventLog.cs: Implementation handling
* EventLogImpl.cs: Added, contains an platform independent empty implementation
for EventLog

svn path=/trunk/mcs/; revision=16492

20 years ago2003-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Jul 2003 17:19:12 +0000 (17:19 -0000)]
2003-07-21  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.CheckPairedOperators): Added CS0660 and
CS0661 checks; fixes bug #30442.

svn path=/trunk/mcs/; revision=16491

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 17:18:36 +0000 (17:18 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* BitmapEditor.cs
* IconEditor.cs
* ImageEditor.cs
* MetafileEditor.cs: Added localization support

* FontNameEditor.cs: Improved implementation

svn path=/trunk/mcs/; revision=16490

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 17:17:09 +0000 (17:17 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Drawing.Design.dll.sources: Added AssemblyInfo.cs, Locale.cs, TODOAttribute.cs

svn path=/trunk/mcs/; revision=16489

20 years ago2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Jul 2003 17:16:16 +0000 (17:16 -0000)]
2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added
* TODOAttribute.cs: Added

svn path=/trunk/mcs/; revision=16488

20 years ago * ServerIdentity.cs: Fixed bug #46645
Lluis Sanchez [Mon, 21 Jul 2003 17:12:40 +0000 (17:12 -0000)]
* ServerIdentity.cs: Fixed bug #46645

svn path=/trunk/mcs/; revision=16487

20 years ago2003-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Jul 2003 16:54:27 +0000 (16:54 -0000)]
2003-07-21  Martin Baulig  <martin@ximian.com>

* decl.cs (AdditionResult): Added `Error'.

* enum.cs (AddEnumMember): Report a CS0076 if name is `value__'.

* typemanager.cs (TypeManager.ChangeType): Catch exceptions;
makes cs0031.cs actually work.

2003-07-20  Martin Baulig  <martin@ximian.com>

* namespace.cs: Fixed that bug which caused a crash when compiling
the debugger's GUI.

svn path=/trunk/mcs/; revision=16486