mono.git
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

20 years ago2003-07-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 21 Jul 2003 15:43:19 +0000 (15:43 -0000)]
2003-07-21  Miguel de Icaza  <miguel@ximian.com>

* object.c (mono_runtime_class_init): Take the metadata_section
mutex before obtaining the domain mutex.

* appdomain.h: Added definition of metadata_section mutex here.

* object.c: define metadata_mutex here.

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

* mini.c: Removed definition of metadata_shared mutex here.

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

* jit.c: Remove definition of metadata_section mutex from here

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

20 years ago * icall.c: in MS.NET ves_icall_Type_GetInterfaces returns an
Lluis Sanchez [Mon, 21 Jul 2003 14:24:30 +0000 (14:24 -0000)]
* icall.c: in MS.NET ves_icall_Type_GetInterfaces returns an
  empty array if the type is an array. Fixed.
  ves_icall_MonoMethod_get_base_definition: if the base method
  is abstract, get the MethodInfo from the list of methods of
  the class.
* reflection.c: ParameterInfo.PositionImpl should be zero-based
  and it was 1-based. Fixed in mono_param_get_objects.

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

20 years ago * ParameterInfo.cs: Position is zero-based in ParameterInfo.
Lluis Sanchez [Mon, 21 Jul 2003 14:10:18 +0000 (14:10 -0000)]
* ParameterInfo.cs: Position is zero-based in ParameterInfo.
  Set the right position value when getting from ParameterBuilder.

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

20 years ago * MethodCall.cs: Fixed copy constructor, when the message to copy does not
Lluis Sanchez [Mon, 21 Jul 2003 12:18:18 +0000 (12:18 -0000)]
* MethodCall.cs: Fixed copy constructor, when the message to copy does not
  implement IMethodMessage.

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

20 years ago * ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()
Lluis Sanchez [Mon, 21 Jul 2003 12:16:23 +0000 (12:16 -0000)]
* ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()

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

20 years agoAdded new test for MethodInfo.GetBaseDefinition
Lluis Sanchez [Mon, 21 Jul 2003 11:56:56 +0000 (11:56 -0000)]
Added new test for MethodInfo.GetBaseDefinition

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

20 years ago2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Jul 2003 08:48:40 +0000 (08:48 -0000)]
2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CheckBoxList.cs: fixes bug reported on the list about the state of
the CheckButtons not being preserved across posts.

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

20 years ago2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Jul 2003 08:06:27 +0000 (08:06 -0000)]
2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: added SelectedValue property (1.1). Closes 46412.

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

20 years ago2003-07-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 21 Jul 2003 04:50:45 +0000 (04:50 -0000)]
2003-07-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlSchemaTests.cs : added sequence and particle tests to TestCompile()

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

20 years ago2003-07-20 Peter Williams <peter@newton.cx>
Peter Williams [Mon, 21 Jul 2003 04:09:22 +0000 (04:09 -0000)]
2003-07-20  Peter Williams  <peter@newton.cx>

* Makefile: Remove the test target which conflicted with
the global target. (Change confirmed with Rafael.)

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

20 years ago2003-07-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 21 Jul 2003 03:02:12 +0000 (03:02 -0000)]
2003-07-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Mono.System.XML.csproj : caught up with current library.

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

20 years agoFlush
Miguel de Icaza [Mon, 21 Jul 2003 02:56:49 +0000 (02:56 -0000)]
Flush

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

20 years ago2003-07-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 21 Jul 2003 02:25:08 +0000 (02:25 -0000)]
2003-07-21  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlSchema.cs, XmlSchemaElement.cs :
  added internal MissingElementTypeRefs and support for refering
  element's elementType.

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

20 years agoSmall touch up
Miguel de Icaza [Mon, 21 Jul 2003 02:09:05 +0000 (02:09 -0000)]
Small touch up

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

20 years agoAnother generics test
Jackson Harper [Mon, 21 Jul 2003 00:39:16 +0000 (00:39 -0000)]
Another generics test

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

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

* Makefile: Add in corlib_res.dll, which we use as a basis
for tests on non-linux platforms. Nearly identical rules to
corlib_cmp: corlib - some files that cause the MS runtime to
barf.

* corlib_res.dll.excludes: Added.

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

20 years ago * ILParser.jay: Do not use the AsClassRef method anymore to attach
Jackson Harper [Sun, 20 Jul 2003 21:55:17 +0000 (21:55 -0000)]
    * ILParser.jay: Do not use the AsClassRef method anymore to attach
methods and fields to types. All types can do this now. Create
generic type refs and generic type instances.

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

20 years agoAdd new types to build.
Jackson Harper [Sun, 20 Jul 2003 21:54:08 +0000 (21:54 -0000)]
Add new types to build.

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

20 years ago * GenericTypeInst.cs: New File - A type reference to an instance
Jackson Harper [Sun, 20 Jul 2003 21:53:02 +0000 (21:53 -0000)]
    * GenericTypeInst.cs: New File - A type reference to an instance
of a generic type. ie Set<int32>
* TypeSpecFieldRef.cs: New File - A field ref that is attached to
a typespec. This can be used with modified types, and generic types.
* TypeSpecMethodRef.cs: New File - A method ref that is attached
to a typespec. This can be used with modified types, and generic types.
* GenericTypeRef.cs: Create method refs and field refs using the
new typespec classes.
* ITypeRef.cs: Types should now be able to have methods and fields
attached to them
* PeapiTypeRef.cs: Set UseTypeSpec to true if the type is modified
* PrimitiveTypeRef.cs: Add methods to attach fields and
methods. This just uses the TypeSpec* classes so I don't need to
create classrefs.
* TypeRef.cs: Set UseTypeSpec to true if a type is modified.

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

20 years ago * PEAPI.cs: Add methods to PEFile to allow fields and methods to
Jackson Harper [Sun, 20 Jul 2003 21:51:08 +0000 (21:51 -0000)]
    * PEAPI.cs: Add methods to PEFile to allow fields and methods to
be added to type specs. This fixing bah-zillions of little
problems in ilasm. We can now add fields and methods to arrays,
reference types, and most importantly generics.

Add the GenericTypeInst class. This is an instance of a generic
type. ie Hash<int32, string>. GenericTypeSpecs now write their id
number as a compressed number, this matches the way the runtime
loads them and will allow generic types to have more then 255 type
parameters.

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

20 years agobuild:
Peter Williams [Sun, 20 Jul 2003 21:37:53 +0000 (21:37 -0000)]
build:

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

* README.platforms: Update docs for changes below.

* platforms/win32.make (PLATFORM_CORLIB): Set this variable
to 'mscorlib.dll', instead of $(corlib) which everything links
against. *Almost* everything should link against our corlib --
with the exception of corlib_cmp and corlib_res.

* platforms/linux.make: Same here: corlib.dll

* rules.make: Define $(corlib) here.

class/corlib:

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

* Makefile: Don't use real_corlib; use $(PLATFORM_CORLIB).

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

20 years ago2003-07-20 Peter Williams <peter@newton.cx>
Peter Williams [Sun, 20 Jul 2003 21:19:04 +0000 (21:19 -0000)]
2003-07-20  Peter Williams  <peter@newton.cx>

* nunit20/nunit-console/Makefile (PROGRAM): Put nunit-console.exe
in $(topdir)/class/lib so we can find our DLL's.

build:

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

* config-default.make (TEST_RUNTIME): Use the platform runtime
to run tests, by default.

* profiles/default.make (TEST_RUNTIME): If our test runtime is
mono, use the --debug flag.

* executable.make (sourcefile): Add a basename so that we can
find the nunit sources and so we behave a bit more like
library.make

* config-default.make (TEST_HARNESS): Find nunit-console in its
new home.

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

20 years agoSome generics tests
Jackson Harper [Sun, 20 Jul 2003 20:53:57 +0000 (20:53 -0000)]
Some generics tests

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

20 years agoMoving to Richmond in a week. Update information.
Jonathan Pryor [Sun, 20 Jul 2003 20:39:07 +0000 (20:39 -0000)]
Moving to Richmond in a week.  Update information.

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

20 years ago2003-07-20 Peter Williams <peter@newton.cx>
Peter Williams [Sun, 20 Jul 2003 19:12:32 +0000 (19:12 -0000)]
2003-07-20  Peter Williams  <peter@newton.cx>

* library.make ($(response)): Do a "Creating ..." line here.

* executable.make ($(response)): Same.

* config-default.make: Make warning more forceful.

* rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
set if the platform does not have a native runtime (ie, linux).
Also reorder some definitions.

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

* Created. See ../ChangeLog for entries earlier than
this.

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

20 years agoAdd more errors
Miguel de Icaza [Sun, 20 Jul 2003 19:03:14 +0000 (19:03 -0000)]
Add more errors

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

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

* mono-debug.h: Set version number to 31.
(mono_debug_init): Added `MonoDomain *' argument.

* mono-debug-debugger.c: Reworked the type support; explicitly
tell the debugger about builtin types; pass the `klass' address to
the debugger.

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

20 years agoAdd generic.cs
Miguel de Icaza [Sun, 20 Jul 2003 17:01:06 +0000 (17:01 -0000)]
Add generic.cs

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

20 years ago * image.c: Allow new metadata tables to be loaded without a
Jackson Harper [Sun, 20 Jul 2003 16:46:03 +0000 (16:46 -0000)]
    * image.c: Allow new metadata tables to be loaded without a
warning. Also update the warning message to give the new constant value.

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

20 years ago2003-07-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Jul 2003 16:29:42 +0000 (16:29 -0000)]
2003-07-20  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (LookupTypeReflection): Never expose types which
are NotPublic, NestedPrivate, NestedAssembly, or
NestedFamANDAssem.  We used to return these, and later do a check
that would report a meaningful error, but the problem is that we
would not get the real match, if there was a name override.

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

20 years agoAdd more multi-assembly tests
Miguel de Icaza [Sun, 20 Jul 2003 16:28:28 +0000 (16:28 -0000)]
Add more multi-assembly tests

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

20 years agoAdd my picture to the team page.
Jonathan Pryor [Sun, 20 Jul 2003 15:56:02 +0000 (15:56 -0000)]
Add my picture to the team page.

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

20 years ago2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 20 Jul 2003 11:29:09 +0000 (11:29 -0000)]
2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChunkStream.cs:
(WantMore): true if we've not received the last chunk yet. Fixes
bug #45463. Thanks to Miguel for tracking this down and providing a
test case.

* WebConnection.cs: removed bogus ^M's.

* WebHeaderCollection.cs: provide more info when the header or value is
wrong.

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

20 years ago2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 20 Jul 2003 10:01:15 +0000 (10:01 -0000)]
2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AppDomainSetup.cs: fixed bug #46609.

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

20 years agoUpdated to recent version
Andreas N [Sun, 20 Jul 2003 08:20:55 +0000 (08:20 -0000)]
Updated to recent version

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

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

* XmlSchemaTests.cs : added AssertComplexTypeContentExtension() and
  added related tests in TestCompile().

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

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

* XmlSchema.cs : added support for collecting missing type references
  at compilation-time.
* XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
  - Renamed qName to QNameInternal.
  - Added BaseSchemaType and ContentTypeParticle support.

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

20 years ago2003-07-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 19 Jul 2003 18:40:45 +0000 (18:40 -0000)]
2003-07-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
  XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
  XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
  XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
  XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
  XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
  XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
  XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
  XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  XmlSchemaSimpleContentExtension.cs,
  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
  XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
  XmlSchemaXPath.cs,
  As to Compile() and Validate(),
  - Added CompilationId and check it while compiling schema components.
  - Code refactory. Replaced literal xmlns with XmlSchema.Namespace
  - Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
    also has PSVI components inside it, so passing itself seems enough).
  - Related to above change, IDCollection was moved to XmlSchema, and
    blockDefault/finalDefault/blockResolved/finalResolved resolution
    was changed to reference only to schema.BlockDefault/FinalDefault.
  - The similar change has done against XmlSchemaForm related stuff.
  - Changed compilation order of schema type definitions (it is
    workaround). First it compiles types, and then it compiles others.
* XmlSchemaElement.cs : added ElementType PSVI contribution support.

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

20 years ago2003-07-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 19 Jul 2003 18:35:33 +0000 (18:35 -0000)]
2003-07-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* BuiltInDatatypes.cs, XmlSchemaDatatype.cs :
  Added decimal and its derived datatypes.
  Added abstract XsdAnySimpleType.

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

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

* XmlSchemaTests.cs : rewrote TestRead() and added TestCompile().

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

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

* added 1.xsd.

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