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
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
Paolo Molaro [Fri, 25 Jul 2003 13:23:32 +0000 (13:23 -0000)]
Slightly more complex example.
svn path=/trunk/mcs/; revision=16662
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 25 Jul 2003 01:30:08 +0000 (01:30 -0000)]
Add missing file
svn path=/trunk/mcs/; revision=16640
Miguel de Icaza [Fri, 25 Jul 2003 01:29:57 +0000 (01:29 -0000)]
Fix build.
svn path=/trunk/mcs/; revision=16639
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
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
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
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
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
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
Miguel de Icaza [Thu, 24 Jul 2003 23:00:26 +0000 (23:00 -0000)]
Flush changelog entries
svn path=/trunk/mono/; revision=16630
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
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
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
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
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
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
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
Miguel de Icaza [Thu, 24 Jul 2003 20:41:34 +0000 (20:41 -0000)]
Add another test
svn path=/trunk/mcs/; revision=16622
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
Miguel de Icaza [Thu, 24 Jul 2003 20:22:02 +0000 (20:22 -0000)]
Add profile
svn path=/trunk/mcs/; revision=16620
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
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
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
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
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
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
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
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
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
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
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
Lluis Sanchez [Thu, 24 Jul 2003 13:57:13 +0000 (13:57 -0000)]
* reflection.c: Fix bug #46669
svn path=/trunk/mono/; revision=16604
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dick Porter [Wed, 23 Jul 2003 13:34:28 +0000 (13:34 -0000)]
Shut CVS up
svn path=/trunk/mcs/; revision=16570
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
Lluis Sanchez [Wed, 23 Jul 2003 12:56:03 +0000 (12:56 -0000)]
* SerializationTest.cs: Added.
svn path=/trunk/mcs/; revision=16568
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
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
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
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
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
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
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
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
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
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
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
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
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
Alexandre Pigolkine [Tue, 22 Jul 2003 19:57:32 +0000 (19:57 -0000)]
PNGCodec.cs added
svn path=/trunk/mcs/; revision=16548
Alexandre Pigolkine [Tue, 22 Jul 2003 19:55:42 +0000 (19:55 -0000)]
save as png
svn path=/trunk/mcs/; revision=16547
Alexandre Pigolkine [Tue, 22 Jul 2003 19:55:04 +0000 (19:55 -0000)]
png callbacks added
svn path=/trunk/mcs/; revision=16546
Alexandre Pigolkine [Tue, 22 Jul 2003 19:54:16 +0000 (19:54 -0000)]
png codec added
svn path=/trunk/mcs/; revision=16545
Alexandre Pigolkine [Tue, 22 Jul 2003 19:50:24 +0000 (19:50 -0000)]
implementation added
svn path=/trunk/mcs/; revision=16544
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
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
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
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
Miguel de Icaza [Tue, 22 Jul 2003 18:54:29 +0000 (18:54 -0000)]
Flus tets
svn path=/trunk/mcs/; revision=16536
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
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
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
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
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
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
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
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
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