mono.git
19 years ago2004-07-29 Umadevi S (sumadevi@novell.com)
Umadevi S [Thu, 29 Jul 2004 05:53:32 +0000 (05:53 -0000)]
2004-07-29 Umadevi S (sumadevi@novell.com)
        * OdbcCommand.cs - Fixed bug 62046. ExecuteNonQuery implemented correctly

svn path=/branches/mono-1-0/mcs/; revision=31594

19 years ago* mono/configure.in: Fix host regexes for FreeBSD. Fix TLS issues with
John Merryweather Cooper [Wed, 28 Jul 2004 17:01:35 +0000 (17:01 -0000)]
* mono/configure.in: Fix host regexes for FreeBSD.  Fix TLS issues with
FreeBSD -CURRENT.  Fix pthread library detection on FreeBSD -STABLE.

* mono/libgc/configure.in: Fix pthread compiler flags for both FreeBSD
-STABLE and -CURRENT.

svn path=/branches/mono-1-0/mono/; revision=31568

19 years ago* XmlTextReader.cs: Stop parsing when a null character is found.
Lluis Sanchez [Wed, 28 Jul 2004 15:52:49 +0000 (15:52 -0000)]
* XmlTextReader.cs: Stop parsing when a null character is found.

svn path=/branches/mono-1-0/mcs/; revision=31564

19 years ago2004-07-28 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 28 Jul 2004 15:44:15 +0000 (15:44 -0000)]
2004-07-28  Dick Porter  <dick@ximian.com>

* Socket.cs: ReceiveFrom might not return a valid EndPoint.  Patch
by Nick Vaughan (dev@6wardlaw.freeserve.co.uk), fixes bug 61608.

svn path=/branches/mono-1-0/mcs/; revision=31562

19 years ago2004-07-28 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 28 Jul 2004 15:44:15 +0000 (15:44 -0000)]
2004-07-28  Dick Porter  <dick@ximian.com>

* socket-io.c
(ves_icall_System_Net_Sockets_Socket_RecvFrom_internal): Check
returned sockaddr size before creating the remote address object.
Patch by Nick Vaughan (dev@6wardlaw.freeserve.co.uk), fixes bug
61608.

svn path=/branches/mono-1-0/mono/; revision=31561

19 years ago2004-07-28 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 28 Jul 2004 12:46:33 +0000 (12:46 -0000)]
2004-07-28  Dick Porter  <dick@ximian.com>

* ComparerTest.cs: Test for invariant compares (bug 61458.)

svn path=/branches/mono-1-0/mcs/; revision=31552

19 years ago2004-07-28 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 28 Jul 2004 11:46:29 +0000 (11:46 -0000)]
2004-07-28  Dick Porter  <dick@ximian.com>

* locales.c (string_invariant_compare_char): Fix invariant char
compares between upper and lower cases.  Fixes bug 61458.

svn path=/branches/mono-1-0/mono/; revision=31550

19 years ago2004-07-28 Umadevi S <sumadevi@novell.com>
Umadevi S [Wed, 28 Jul 2004 08:06:03 +0000 (08:06 -0000)]
2004-07-28 Umadevi S <sumadevi@novell.com>
        * OdbcCommandTest.cs - Added testcase for bug 61968. String values passed with quotes

svn path=/branches/mono-1-0/mcs/; revision=31533

19 years ago2004-07-28 Umadevi S (sumadevi@novell.com)
Umadevi S [Wed, 28 Jul 2004 08:03:28 +0000 (08:03 -0000)]
2004-07-28 Umadevi S (sumadevi@novell.com)
        * OdbcParameter.cs - fixed bug 61968. String values passed with quotes

svn path=/branches/mono-1-0/mcs/; revision=31532

19 years agoTue Jul 27 16:05:19 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 27 Jul 2004 13:12:55 +0000 (13:12 -0000)]
Tue Jul 27 16:05:19 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, mini-sparc.c, mini-s390.c: keep track of line
numbers in the debug info (spotted by Geoff Norton,
<gnorton@customerdna.com>).

svn path=/branches/mono-1-0/mono/; revision=31517

19 years agoTue Jul 27 15:58:19 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 27 Jul 2004 13:11:48 +0000 (13:11 -0000)]
Tue Jul 27 15:58:19 CEST 2004 Paolo Molaro <lupus@ximian.com>

* debug-mono-symfile.c: fix one more endianess issue, from a patch
by Geoff Norton (<gnorton@customerdna.com>).

svn path=/branches/mono-1-0/mono/; revision=31515

19 years agoTue Jul 27 15:47:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 27 Jul 2004 12:55:01 +0000 (12:55 -0000)]
Tue Jul 27 15:47:17 CEST 2004 Paolo Molaro <lupus@ximian.com>

* class.c: fix class loads for pointer types (typeof(int) !=
typeof(int*)).

svn path=/branches/mono-1-0/mono/; revision=31513

19 years agoThis commit was manufactured by cvs2svn to create branch 'mono-1-0'.
nobody [Tue, 27 Jul 2004 12:55:01 +0000 (12:55 -0000)]
This commit was manufactured by cvs2svn to create branch 'mono-1-0'.

svn path=/branches/mono-1-0/mono/; revision=31512

19 years agoTue Jul 27 15:47:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 27 Jul 2004 12:54:15 +0000 (12:54 -0000)]
Tue Jul 27 15:47:17 CEST 2004 Paolo Molaro <lupus@ximian.com>

* class.c: fix class loads for pointer types (typeof(int) !=
typeof(int*)).

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

19 years agochanges to be able to run winforms samples
Jordi Mas i Hernandez [Tue, 27 Jul 2004 10:38:17 +0000 (10:38 -0000)]
changes to be able to run winforms samples

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

19 years agoFixed API: added missing attribute System.Serializable
Jochen Wezel [Tue, 27 Jul 2004 09:49:44 +0000 (09:49 -0000)]
Fixed API: added missing attribute System.Serializable

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

19 years agoOoops: use System.Serializable instead of System.SerializableAttribute and System...
Jochen Wezel [Tue, 27 Jul 2004 09:46:46 +0000 (09:46 -0000)]
Ooops: use System.Serializable instead of System.SerializableAttribute and System.Flags instead of System.FlagAttribute

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

19 years agoFixed API: removed public constructor
Jochen Wezel [Tue, 27 Jul 2004 09:22:11 +0000 (09:22 -0000)]
Fixed API: removed public constructor

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

19 years agoFixed API: removed public constructors
Jochen Wezel [Tue, 27 Jul 2004 09:21:09 +0000 (09:21 -0000)]
Fixed API: removed public constructors

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

19 years agoFixed API: removed public constructor
Jochen Wezel [Tue, 27 Jul 2004 09:12:05 +0000 (09:12 -0000)]
Fixed API: removed public constructor

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

19 years agoFixed API: Added missing attribute System.SerializableAttribute to all enumerations
Jochen Wezel [Tue, 27 Jul 2004 09:09:01 +0000 (09:09 -0000)]
Fixed API: Added missing attribute System.SerializableAttribute to all enumerations

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

19 years agoFixed API: removed public constructor
Jochen Wezel [Tue, 27 Jul 2004 08:56:55 +0000 (08:56 -0000)]
Fixed API: removed public constructor

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

19 years agoReplaced foreach statement with for statement,in order to improve performence.
Alon Gazit [Tue, 27 Jul 2004 08:01:13 +0000 (08:01 -0000)]
Replaced foreach statement with for statement,in order to improve performence.

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

19 years agoWebControl.cs: changed RenderBeginTag()to use TagKey instead of TagName.
Alon Gazit [Tue, 27 Jul 2004 07:38:30 +0000 (07:38 -0000)]
WebControl.cs: changed RenderBeginTag()to use TagKey instead of TagName.
Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
switch statements in order to improve performance.

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

19 years agoFixed Cr and Lf assignments
Jochen Wezel [Tue, 27 Jul 2004 07:03:13 +0000 (07:03 -0000)]
Fixed Cr and Lf assignments

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

19 years agoChanged the implementation of TemplateSourceDirectory and GetDefaultName().
Alon Gazit [Tue, 27 Jul 2004 06:56:25 +0000 (06:56 -0000)]
Changed the implementation of TemplateSourceDirectory and GetDefaultName().
replaced foreach statements with for statements, in order to improve
performence.

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

19 years agochanged the implementation of GetViewStateString().
Alon Gazit [Tue, 27 Jul 2004 06:24:33 +0000 (06:24 -0000)]
changed the implementation of GetViewStateString().
if the view state object is null there is no need to perform Serialization.

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

19 years ago2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2004 04:42:31 +0000 (04:42 -0000)]
2004-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : on serialization to XmlWriter, XmlConvert should be
  used. There were also some culture dependency problems to write int.

svn path=/branches/mono-1-0/mcs/; revision=31495

19 years ago2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2004 04:37:43 +0000 (04:37 -0000)]
2004-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : on serialization to XmlWriter, XmlConvert should be
  used. There were also some culture dependency problems to write int.

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

19 years ago2004-07-26 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 27 Jul 2004 02:08:30 +0000 (02:08 -0000)]
2004-07-26  Bernie Solomon  <bernard@ugsolutions.com>

* mintops.def: more options on ICALL op code

* interp.c: cope with exception in ICALL ops, more of them

* transforms.c: more ICALL opcodes

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

19 years ago2004-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jul 2004 23:10:38 +0000 (23:10 -0000)]
2004-07-27  Martin Baulig  <martin@ximian.com>

Added debugging support to ilasm :-)

* Makefile: Depend on Mono.CSharp.Debugger.dll (this is only
exposed in DebuggingInfo.cs, so we can easily change that).

* Driver.cs: Added --debug command line argument to create
debugging info; this'll create a .mdb symbol file.

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

19 years ago2004-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jul 2004 23:10:09 +0000 (23:10 -0000)]
2004-07-27  Martin Baulig  <martin@ximian.com>

* IInstr.cs (IInstr): Made this an abstract class and not an
interface, added a .ctor which takes a Location.
(IInstr.Location): New public readonly field.

* CodeGen.cs (CodeGen.SymbolWriter): New public property.
(CodeGen.BeginSourceFile, EndSourceFile): New public methods.
(CodeGen.EndMethodDef): Take a `Location' argument.
(CodeGen.Write): Create debugging info if the user requested it.

* MethodDef.cs (MethodDef.ctor): Added `CodeGen codegen' and
`Location start' arguments.  If the user requested debugging
information, register ourselves with the symbol writer.
(MethodDef.WriteCode): Emit debugging information.

* DebuggingInfo.cs: New file.

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

19 years ago2004-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jul 2004 23:09:25 +0000 (23:09 -0000)]
2004-07-27  Martin Baulig  <martin@ximian.com>

* ILTokenizer.cs (ILTokenizer.Location): New public property.

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

19 years ago2004-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jul 2004 22:58:24 +0000 (22:58 -0000)]
2004-07-27  Martin Baulig  <martin@ximian.com>

* PEAPI.cs (CILInstructions.Offset): New public property.

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

19 years ago2004-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jul 2004 22:55:35 +0000 (22:55 -0000)]
2004-07-27  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.c (mono_debug_open_mono_symbol_file): Support
reading the debugging information from an external ".mdb" file.

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

19 years ago2004-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jul 2004 22:53:23 +0000 (22:53 -0000)]
2004-07-27  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the methods
according to their token values.
(MonoSymbolFile.ReadSymbolFile): Support reading the debugging
information from an external ".mdb" file.

* MonoSymbolTable.cs
(SourceFileEntry): Make the .ctor protected, not internal.
(SourceFileEntry.DefineMethod): This is no longer specific to
System.Reflection(.Emit).
(MethodEntry): We don't need the class and parameter types, the
JIT is already getting this information automatically.
(MethodEntry.ClassTypeIndex): Make this obsolete.
(MethodEntry.ParamTypeIndicies): Likewise.

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

19 years agoUse my correct email address in the copyright info.
Martin Baulig [Mon, 26 Jul 2004 18:21:57 +0000 (18:21 -0000)]
Use my correct email address in the copyright info.

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

19 years ago * MapCodeGenerator.cs: CreateFieldMember now adds the field to the class,
Lluis Sanchez [Mon, 26 Jul 2004 18:18:43 +0000 (18:18 -0000)]
* MapCodeGenerator.cs: CreateFieldMember now adds the field to the class,
  no need to add it after the call.
* SoapSchemaImporter.cs: Implemented 2.0 constructors.

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

19 years ago * HttpSimpleProtocolImporter.cs: Implemented internal method to support
Lluis Sanchez [Mon, 26 Jul 2004 18:18:02 +0000 (18:18 -0000)]
* HttpSimpleProtocolImporter.cs: Implemented internal method to support
  the new asyc model.
* ProtocolImporter.cs: Generate code for the new async model.
  Added support for generating server skeletons in addition to client
  proxies.
* ServiceDescriptionImporter.cs: Removed unneded check.
* SoapProtocolImporter.cs: Added support for generating server skeletons in
  addition to client proxies.

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

19 years ago2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 26 Jul 2004 18:06:58 +0000 (18:06 -0000)]
2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
(kostat@mainsoft.com).

svn path=/branches/mono-1-0/mcs/; revision=31478

19 years ago2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 26 Jul 2004 18:02:17 +0000 (18:02 -0000)]
2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
(kostat@mainsoft.com).

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

19 years agoMerged.
Martin Baulig [Mon, 26 Jul 2004 17:48:36 +0000 (17:48 -0000)]
Merged.

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

19 years agoRemoved unneeded using clause.
Martin Baulig [Mon, 26 Jul 2004 17:45:53 +0000 (17:45 -0000)]
Removed unneeded using clause.

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

19 years agoTheme support
Jordi Mas i Hernandez [Mon, 26 Jul 2004 17:42:03 +0000 (17:42 -0000)]
Theme support

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

19 years agoRemoved unneeded using.
Martin Baulig [Mon, 26 Jul 2004 17:40:07 +0000 (17:40 -0000)]
Removed unneeded using.

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

19 years agomisplaced line in vb source, causing a System.ArgumentNullException in the synclock...
Rafael Teixeira [Mon, 26 Jul 2004 15:25:30 +0000 (15:25 -0000)]
misplaced line in vb source, causing a System.ArgumentNullException in the synclock execution during test

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

19 years ago2004/07/26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 26 Jul 2004 15:18:51 +0000 (15:18 -0000)]
2004/07/26  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-parser.jay : First try at SyncLock Statement #53230

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

19 years agofix changelog entry
Jackson Harper [Mon, 26 Jul 2004 14:15:59 +0000 (14:15 -0000)]
fix changelog entry

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

19 years ago2004-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2004 14:00:15 +0000 (14:00 -0000)]
2004-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* XPathDocument.cs : added missing && not-likely-to-be-removed members.
* XPathEditableNavigator.cs : added BuildSubTree().
* XPathException.cs : added missing methods. Hide Message in NET_2_0.

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

19 years ago2004-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2004 13:59:43 +0000 (13:59 -0000)]
2004-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : Implemented ReadValueAsXxx() except for
  ReadValueAsList().
* XmlTextReader.cs : implemented them as well, just invoking
  base.ReadValueAsXxx ().
* XmlWriter.cs : implemented some WriteValue() methods.

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

19 years agooops, forgot to commit ChangeLog.
Atsushi Eno [Mon, 26 Jul 2004 13:50:58 +0000 (13:50 -0000)]
oops, forgot to commit ChangeLog.

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

19 years ago * SoapMessageFormater.cs: In BuildSoapMessageFromMethodResponse, add the
Lluis Sanchez [Mon, 26 Jul 2004 13:12:00 +0000 (13:12 -0000)]
* SoapMessageFormater.cs: In BuildSoapMessageFromMethodResponse, add the
  return value to the SoapMessage even if it is null. This fixes bug #61837.

svn path=/branches/mono-1-0/mcs/; revision=31465

19 years ago * SoapMessageFormater.cs: In BuildSoapMessageFromMethodResponse, add the
Lluis Sanchez [Mon, 26 Jul 2004 13:10:55 +0000 (13:10 -0000)]
* SoapMessageFormater.cs: In BuildSoapMessageFromMethodResponse, add the
  return value to the SoapMessage even if it is null. This fixes bug #61837.

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

19 years agoinitial messagebox implementation
Jordi Mas i Hernandez [Mon, 26 Jul 2004 11:41:35 +0000 (11:41 -0000)]
initial messagebox implementation

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

19 years ago2004-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2004 10:46:25 +0000 (10:46 -0000)]
2004-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: added System.Data.SqlXml.dll as a working target.

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

19 years ago2004-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2004 10:39:42 +0000 (10:39 -0000)]
2004-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : added call to jay for creating XQueryParser.cs.
* System.Xml.dll.sources : added XQueryParser.cs, XQueryTokenizer.cs,
  XQueryModuleProlog.cs, XPath2Expression.cs and XQueryExpression.cs.

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

19 years ago2004-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2004 10:35:51 +0000 (10:35 -0000)]
2004-07-26  Atsushi Enomoto <atsushi@ximian.com>

* skelton-2.0.cs,
  XQueryParser.jay,
  XQueryTokenizer.cs,
  XQueryModuleProlog.cs,
  XPath2Expression.cs,
  XQueryExpression.cs : added.

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

19 years ago2004-07-26 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Mon, 26 Jul 2004 08:35:47 +0000 (08:35 -0000)]
2004-07-26 Anirban Bhattacharjee <banirban@novell.com>
        * InheritanceC3.vb: Little correction in the test

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 25 Jul 2004 17:25:26 +0000 (17:25 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* Makefile (test-generic): Correctly set the MONO_PATH to run
things in the v2.0 environment.
(test-generic-2): New target.
(test-everything): New target to run everything.

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

19 years agoSmall fix.
Martin Baulig [Sun, 25 Jul 2004 16:09:49 +0000 (16:09 -0000)]
Small fix.

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

19 years agoOoops, I broke this last time I merged.
Martin Baulig [Sun, 25 Jul 2004 05:46:03 +0000 (05:46 -0000)]
Ooops, I broke this last time I merged.

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

19 years ago**** Merged from MCS ****
Martin Baulig [Sun, 25 Jul 2004 05:12:59 +0000 (05:12 -0000)]
**** Merged from MCS ****

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 25 Jul 2004 01:45:13 +0000 (01:45 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* 2test-12.cs, 2test-13.cs: New tests for partial classes.

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 25 Jul 2004 01:44:09 +0000 (01:44 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* class.cs
(TypeContainer.RegisterOrder): Removed, this was unused.
(TypeContainer, interface_order): Removed.
(TypeContainer.AddClass, AddStruct, AddInterface): Take a
TypeContainer as argument since we can also be called with a
`PartialContainer' for a partial class/struct/interface.
(TypeContainer.IsInterface): Use `Kind == Kind.Interface' instead
of checking whether we're an `Interface' - we could be a
`PartialContainer'.
(PartialContainer.Register): Override; call
AddClass()/AddStruct()/AddInterface() on our parent.

* cs-parser.jay (interface_member_declaration): Add things to the
`current_container', not the `current_class'.

* rootcontext.cs (RegisterOrder): The overloaded version which
takes an `Interface' was unused, removed.

* typemanager.cs (TypeManager.LookupInterface): Return a
`TypeContainer', not an `Interface'.
(TypeManager.IsInterfaceType): The `builder_to_declspace' may
contain a `PartialContainer' for an interface, so check it's
`Kind' to figure out what it is.

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 23:12:54 +0000 (23:12 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* class.cs (Class.DefaultTypeAttributes): New public constant.
(Struct.DefaultTypeAttributes): Likewise.
(Interface.DefaultTypeAttributes): Likewise.
(PartialContainer.TypeAttr): Override this and add the
DefaultTypeAttributes.

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 22:52:07 +0000 (22:52 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.Emit): Removed the `TypeContainer' argument,
we can just use the `Parent' field instead.

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 22:10:06 +0000 (22:10 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.Emit): Renamed to EmitType().

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 22:02:19 +0000 (22:02 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.DefineMembers): Call DefineMembers() on
our parts before defining any methods.
(TypeContainer.VerifyImplements): Make this virtual.
(ClassPart.VerifyImplements): Override and call VerifyImplements()
on our PartialContainer.

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

19 years agodocs
Ben Maurer [Sat, 24 Jul 2004 21:15:46 +0000 (21:15 -0000)]
docs

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

19 years ago2004-07-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 21:08:36 +0000 (21:08 -0000)]
2004-07-25  Martin Baulig  <martin@ximian.com>

* iterators.cs (Iterator.Define): Renamed to DefineIterator().

* decl.cs (DeclSpace.Define): Removed the `TypeContainer'
argument, we can just use the `Parent' field instead.

* class.cs
(MemberBase.CheckBase): Removed the `TypeContainer' argument.
(MemberBase.DoDefine): Likewise.

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

19 years ago2004-07-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 20:20:03 +0000 (20:20 -0000)]
2004-07-24  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCore.Parent): New public field.
(DeclSpace.Parent): Moved to MemberCore.

* class.cs (MethodCore.ds): Removed; use `Parent' instead.
(MemberBase.ctor): Added TypeContainer argument, pass it to our
parent's .ctor.
(FieldBase, Field, Operator): Likewise.
(EventProperty.ctor): Take a TypeContainer instead of a DeclSpace.
(EventField, Event): Likewise.

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

19 years agoFinally go back to backticks again.
Martin Baulig [Sat, 24 Jul 2004 19:15:52 +0000 (19:15 -0000)]
Finally go back to backticks again.

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

19 years ago2004-07-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 19:13:13 +0000 (19:13 -0000)]
2004-07-24  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_get_type_info): Only write a class
layout entry if we actually have a size or a packing size.

svn path=/branches/mono-1-0/mono/; revision=31439

19 years ago2004-07-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 19:12:57 +0000 (19:12 -0000)]
2004-07-24  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Set this to 0
and initialize it to 0 everywhere.

svn path=/branches/mono-1-0/mcs/; revision=31438

19 years ago2004-07-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 19:11:50 +0000 (19:11 -0000)]
2004-07-24  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Set this to 0
and initialize it to 0 everywhere.

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

19 years ago2004-07-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 24 Jul 2004 19:11:46 +0000 (19:11 -0000)]
2004-07-24  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_get_type_info): Only write a class
layout entry if we actually have a size or a packing size.

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

19 years ago2004-07-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 24 Jul 2004 18:48:23 +0000 (18:48 -0000)]
2004-07-24  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_output_basic_block): Add CEE_CONV_U8/I8.

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

19 years ago2004-07-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 24 Jul 2004 18:31:53 +0000 (18:31 -0000)]
2004-07-24  Zoltan Varga  <vargaz@freemail.hu>

* *-amd64*.*: Ongoing AMD64 work.

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

19 years ago2004-07-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 24 Jul 2004 18:29:32 +0000 (18:29 -0000)]
2004-07-24  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h: Ongoing JIT work.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 20:08:45 +0000 (20:08 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
64 bit platforms.

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

19 years ago2004-07-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 20:07:41 +0000 (20:07 -0000)]
2004-07-23 Zoltan Varga <vargaz@freemail.hu>

* inssel-long.brg: Implement CONV_I8/CONV_U8 in the backends.

* *-amd64*: Ongoing AMD64 work.

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

19 years ago2004-07-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 20:05:59 +0000 (20:05 -0000)]
2004-07-23  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h: Ongoing JIT work.

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

19 years ago2004-07-23 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 23 Jul 2004 19:32:12 +0000 (19:32 -0000)]
2004-07-23  Dick Porter  <dick@ximian.com>

* configure.in: Changes for FreeBSD thread support by John
Merryweather Cooper <john_m_cooper@yahoo.com>.

svn path=/branches/mono-1-0/mono/; revision=31425

19 years ago2004-07-23 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 23 Jul 2004 19:32:10 +0000 (19:32 -0000)]
2004-07-23  Dick Porter  <dick@ximian.com>

* configure.in: Changes for FreeBSD thread support by John
Merryweather Cooper <john_m_cooper@yahoo.com>.

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

19 years ago * MethodDef.cs: Params are 1 based if the method is static.
Jackson Harper [Fri, 23 Jul 2004 19:17:05 +0000 (19:17 -0000)]
    * MethodDef.cs: Params are 1 based if the method is static.

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

19 years ago * PEAPI.cs: Make the type index modifiable so ClassRefInsts will
Jackson Harper [Fri, 23 Jul 2004 19:14:30 +0000 (19:14 -0000)]
    * PEAPI.cs: Make the type index modifiable so ClassRefInsts will
be emitted properly. This is in desperate need of some API
love.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 16:16:17 +0000 (16:16 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* mini-arch.h: Add AMD64 support.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 16:15:32 +0000 (16:15 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_is_inst_imm): New arch dependent function.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 16:13:03 +0000 (16:13 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* mini.h: Add new arch dependent function mono_arch_is_inst_imm.

* mini-ops.h: Add new opcodes.

* Makefile.am: Add AMD64 support.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 16:11:34 +0000 (16:11 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* inssel.brg inssel-long32.brg inssel-long.brg: Move mul/div and shift
rules into the inssel-long*.brg files.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 16:08:49 +0000 (16:08 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* *-amd64.*: Add beginnings of AMD64 backend.

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

19 years ago2004-07-23 zovarga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jul 2004 16:07:08 +0000 (16:07 -0000)]
2004-07-23  zovarga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h: Ongoing JIT work.

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

19 years ago2004-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jul 2004 16:07:03 +0000 (16:07 -0000)]
2004-07-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : Added internal XdtNamespace constant. don't fill
  schemaset compoenents here.
* XmlSchemaAttribute.cs : Implemented AttributeSchemaType.
* XmlSchemaElement.cs : Implemented ElementSchemaType.
* XmlSchemaSimpleType.cs : Added predefined simple types
* XmlSchemaType.cs : Implemented GetBuiltInSimpleType().
* XmlSchemaDatatype.cs : Allow Xdt namespaces too (not completed;
  quick fix for GetBuiltInSimpleType()).

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

19 years ago2004-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jul 2004 16:03:50 +0000 (16:03 -0000)]
2004-07-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlQueryCompileException.cs, XmlQueryException.cs :
  added internal constructor that supplies error location.
  Removed Message property.

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

19 years ago2004-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jul 2004 15:44:04 +0000 (15:44 -0000)]
2004-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* XQueryCommand.cs : Implemented a bit (added nonexposed xquery
  parser call).

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

19 years ago2004-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jul 2004 15:43:24 +0000 (15:43 -0000)]
2004-07-23  Atsushi Enomoto <atsushi@ximian.com>

* System.Data.SqlXml.dll.sources : Removed UpdateEventArgs.cs,
  XmlAdapter.cs, XmlUpdateEventArgs.cs, SqlQueryOptions.cs,
  SqlQueryPlan.cs, XmlMapping.cs and XmlMappingDictionary.cs.

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

19 years ago2004-07-23 Atsushi Enomoto <atsushi@novell.com>
Atsushi Eno [Fri, 23 Jul 2004 15:35:30 +0000 (15:35 -0000)]
2004-07-23  Atsushi Enomoto <atsushi@novell.com>

* started ChangeLog.
* DBObject.cs : XmlQueryArgumentList is now XmlArgumentList.

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

19 years ago * CodeGenerationOptions.cs: Made the class internal for the 1.1 profile.
Lluis Sanchez [Fri, 23 Jul 2004 15:21:14 +0000 (15:21 -0000)]
* CodeGenerationOptions.cs: Made the class internal for the 1.1 profile.
* ImportContext.cs: Implemented.
* MapCodeGenerator.cs, SoapCodeExporter.cs, XmlCodeExporter.cs: Added new
  options for 2.0. Implemented support for generating properties instead of
  fields.
* XmlSchemaImporter.cs: Added support for sharing types.

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

19 years ago * ServiceDescriptionImporter.cs: Fixed bug when getting documents from a
Lluis Sanchez [Fri, 23 Jul 2004 15:19:33 +0000 (15:19 -0000)]
* ServiceDescriptionImporter.cs: Fixed bug when getting documents from a
  reference.
* SoapProtocolImporter.cs: Create code exportes using the corrent generation
  options. Added final attribute to the generated methods (so generated
  methods are not virtual any more).
* WebServicesInteroperability.cs: Fixed bug when getting documents from a
  reference. Added check for Import elements.

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

19 years agoFix locked operations.
Neale Ferguson [Fri, 23 Jul 2004 13:42:06 +0000 (13:42 -0000)]
Fix locked operations.

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