mono.git
20 years ago2003-07-24 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 25 Jul 2003 15:15:01 +0000 (15:15 -0000)]
2003-07-24  Ravi Pratap  <ravi@ximian.com>

* interface.cs (Populate*): Get rid of code which emits attributes
since the stage in which we emit attributes is the 'Emit' stage,
not the define stage.

(Emit): Move attribute emission for interface members here.

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

20 years ago * MEthodDef.cs: If methods do not have the static attribute give
Jackson Harper [Fri, 25 Jul 2003 15:00:00 +0000 (15:00 -0000)]
    * MEthodDef.cs: If methods do not have the static attribute give
them the instance calling convention.

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

20 years agoSlightly more complex example.
Paolo Molaro [Fri, 25 Jul 2003 13:23:32 +0000 (13:23 -0000)]
Slightly more complex example.

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

20 years ago * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
Lluis Sanchez [Fri, 25 Jul 2003 12:22:01 +0000 (12:22 -0000)]
* MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
      including ref and out.

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

20 years ago * RemotingProxy.cs: Check the return arguments types. (a wrong type
Lluis Sanchez [Fri, 25 Jul 2003 12:17:02 +0000 (12:17 -0000)]
* RemotingProxy.cs: Check the return arguments types. (a wrong type
  would make the runtime to crash).

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

20 years ago * ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
Lluis Sanchez [Fri, 25 Jul 2003 12:10:09 +0000 (12:10 -0000)]
* ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
  out parameter.
* MethodCall.cs: Improved checking if the requested client type for the target
  object can be casted to the server type. Now not only checks type name,
  but also the type hierarchy and implemented interfaces. Also implemented
  method ToString().
* MethodResponse.cs: Imlemented ToString().
* ReturnMessage.cs: In the exception constructor, allow the request to be null.
  Implemented ToString().
* StackBuilderSink.cs: Check type of parameters before calling the target method.
  (a wrong type would make the runtime to crash).

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

20 years ago * RemotingServices.cs: If the type for a proxy is not available in
Lluis Sanchez [Fri, 25 Jul 2003 11:58:23 +0000 (11:58 -0000)]
* RemotingServices.cs: If the type for a proxy is not available in
  the client site, use the MarshalByRefObject type.

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

20 years agoFri Jul 25 12:27:24 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 25 Jul 2003 10:36:55 +0000 (10:36 -0000)]
Fri Jul 25 12:27:24 CEST 2003 Paolo Molaro <lupus@ximian.com>

* generics-c.il, generics-b.il: add constructors and fix code.

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

20 years agoDisable tests which were already disabled in the old makefile.
Martin Baulig [Fri, 25 Jul 2003 10:13:35 +0000 (10:13 -0000)]
Disable tests which were already disabled in the old makefile.

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

20 years ago2003-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 25 Jul 2003 10:10:38 +0000 (10:10 -0000)]
2003-07-25  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.DefineMembers): Check whether all
readonly fields have been assigned and report warning CS0649 if
not.

* statement.cs (LocalInfo.IsFixed): Always return true if this is
a valuetype.

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

20 years ago2003-07-24 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Fri, 25 Jul 2003 03:43:26 +0000 (03:43 -0000)]
2003-07-24  Ben Maurer <bmaurer@users.sourceforge.net>

* DefaultContext.cs: implement lang ()

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

20 years agoAdd missing file
Miguel de Icaza [Fri, 25 Jul 2003 01:30:08 +0000 (01:30 -0000)]
Add missing file

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

20 years agoFix build.
Miguel de Icaza [Fri, 25 Jul 2003 01:29:57 +0000 (01:29 -0000)]
Fix build.

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

20 years agoError test - checks attributes on interface members
Ravi Pratap M [Fri, 25 Jul 2003 01:05:13 +0000 (01:05 -0000)]
Error test - checks attributes on interface members

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

20 years agoGEt rid of debug statement
Ravi Pratap M [Fri, 25 Jul 2003 00:50:57 +0000 (00:50 -0000)]
GEt rid of debug statement

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

20 years ago2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 25 Jul 2003 00:25:58 +0000 (00:25 -0000)]
2003-07-24  Sebastien Pouliot  <spouliot@videotron.ca>

* XmlDsigC14NTransformTest.cs: New tests from Aleksey Sanin.
* XmlDsigC14NWithCommentsTransformTest.cs: New tests from
Aleksey Sanin.

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

20 years ago2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 25 Jul 2003 00:23:29 +0000 (00:23 -0000)]
2003-07-24  Sebastien Pouliot  <spouliot@videotron.ca>

* System.Security.dll.sources: Added new Mono.Xml.XmlCanonicalizer.cs
from Aleksey Sanin.

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

20 years ago2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 25 Jul 2003 00:22:17 +0000 (00:22 -0000)]
2003-07-24  Sebastien Pouliot  <spouliot@videotron.ca>

* XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
from Aleksey Sanin.

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

20 years ago2003-07-24 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Fri, 25 Jul 2003 00:19:44 +0000 (00:19 -0000)]
2003-07-24  Sebastien Pouliot <spouliot@motus.com>

* XmlCanonicalizer.cs: New. C14N class from Aleksey Sanin.

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

20 years agoFlush changelog entries
Miguel de Icaza [Thu, 24 Jul 2003 23:00:26 +0000 (23:00 -0000)]
Flush changelog entries

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

20 years ago2003-07-24 Piers Haken <piersh@friskit.com>
Piers Haken [Thu, 24 Jul 2003 22:37:55 +0000 (22:37 -0000)]
2003-07-24  Piers Haken <piersh@friskit.com>

* Parser.jay:
* Expression.cs:
allow ExprUNION to take non-nodeset (eg, $var) arguments

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

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

* TypeLoadException.cs: removed unused fields. TypeName returns "" if
cannot even get the type.

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

20 years ago2003-07-24 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 24 Jul 2003 21:34:31 +0000 (21:34 -0000)]
2003-07-24  Ravi Pratap  <ravi@ximian.com>

* decl.cs (MemberCache.AddMethods): Reverse the order of the array
returned from GetMethods to make things consistent with the
assumptions MCS makes about ordering of methods.

This should comprehensively fix bug #45127 and it does :-)

* ecore.cs (MethodGroupExpr.DeclaringType): Correct bug - the
ordering is actually reverse.

* Clean up some debug messages I left lying around.

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

20 years ago2003-07-24 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 24 Jul 2003 21:34:03 +0000 (21:34 -0000)]
2003-07-24  Ravi Pratap  <ravi@ximian.com>

* icall.c: Remove the FIXED_MCS_45127 workarounds - this has been
fixed.

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

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

* rules.make: run-test depends now on 'test'.

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

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

This compiler can not self host currently.  Need to fix that.

* Makefile: compile to `gmcs.exe'

* driver.cs: Turn on v2 by default on gmcs.

* generic.cs (ConstructedType): Does no longer take a container
type argument;  That will be taken care of later.

(ConstructedType.DoResolve, ConstructedType.ResolveAsTypeStep):
Use SimpleName to resolve for now, so we can continue the work on
the parser, until we get Type.GetType that understands generics.

(ConstructedType.ToString): Implement

(TypeArguments.Resolve): Resolve the child expressions as types.

* cs-parser.jay: Rename interface_constraints to
type_parameter_constraints

(namespace_or_type_name): Only use constructed types for the basic
construction, we will deal with identifier<...> later.

(type/type_name): No longer call DecomposeQI, as
namespace_or_type_name is always decoded now.

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

20 years ago2003-07-24 Piers Haken <piersh@friskit.com>
Piers Haken [Thu, 24 Jul 2003 20:41:45 +0000 (20:41 -0000)]
2003-07-24  Piers Haken <piersh@friskit.com>

* Tokenizer.cs: fix variable references
* Parser.jay:
* Expression.cs:
* XPathNavigator.cs:
use XmlQualifiedName

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

20 years agoAdd another test
Miguel de Icaza [Thu, 24 Jul 2003 20:41:34 +0000 (20:41 -0000)]
Add another test

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

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

* Type.cs: Added generics stubs.

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

* ArrayList.cs: Removed MonoTODO.

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

* TypeDelegator.cs: Added generics stubs.

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

* TypeBuilder.cs: Added generics stubs.

* EnumBuilder.cs: Added generics  stubs, changed bracing style for
routines.

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

20 years agoAdd profile
Miguel de Icaza [Thu, 24 Jul 2003 20:22:02 +0000 (20:22 -0000)]
Add profile

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

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

* Makefile: only build Mono.CSharp.Debugger under linux.

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

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

* rules.make: set corlib to PLATFORM_CORLIB if this is defined.

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

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

* XmlConvertTests.cs,
  XmlNodeTests.cs,
  XmlTextWriterTests.cs : removed some compilation warning.
* XmlNodeReaderTests.cs : reverted Jul. 12th. ReadInnerXmlWrongInit()
  incorrect commit.
* XmlValidatingReaderTests.cs : Code refactory (removed xml1, xml2...
  and changed PrepareXmlReader() as returning validating reader.
  Added indexer (this[]) property check and ValidationType.None check
  to TestAttributeDefaultContribution().
  Added TestExpandEntity(), TestPreserveEntity() and TestNormalization().

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

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

* DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
  DTDNotationDeclarationCollection and replaced Hashtables with them.
  Added NormalizedDefaultValue property for DTDAttributeDefinition.
* DTDValidatingReader.cs :
  - It now reads attribute values into value collection.
  - Renamed consumedDefaultAttribute to consumedAttribute, and
    inContent to insideContent.
  - GetAttribute() should allow reader's other node state than element.
  - MoveToNextAttribute() should move when reader is placed other than
    the first attribute.
  - HandleError() now supports ValidationType.None (i.e. does nothing).
  - ValidateAttribute() now collects and resolves attribute value
    entity references. (On the other hand, it doesn't support
    EntityHandling.ExpandCharEntity.)
  - NodeType shouldn't return Attribute after ReadAttributeValue().
    Now only Text is supported, but must also support EntityReference.
  - Add FilterNormalization() and partially support Normalization.

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

20 years agoAdded new assembly to hold utility classes related to Http protocol
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 17:02:52 +0000 (17:02 -0000)]
Added new assembly to hold utility classes related to Http protocol

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

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