mono.git
21 years ago2002-08-16 Jason Diamond <jason@injektilo.org>
Jason Diamond [Sat, 17 Aug 2002 03:20:36 +0000 (03:20 -0000)]
2002-08-16  Jason Diamond <jason@injektilo.org>

* XmlElement.cs: Fixed writing out qualified elements courtesy of
Marcus B�rgel <marcus.buergel@gmx.de>.

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

21 years ago2002-08-13 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 17 Aug 2002 03:14:32 +0000 (03:14 -0000)]
2002-08-13  Piers Haken <piersh@friskit.com>

* class/library.make: merge back original makefile.gnu behavior
* */makefile.gnu: merge back original makefile.gnu behavior

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

21 years ago2002-08-16 Jason Diamond <jason@injektilo.org>
Jason Diamond [Sat, 17 Aug 2002 03:04:46 +0000 (03:04 -0000)]
2002-08-16  Jason Diamond  <jason@injektilo.org>

* makefile.gnu: Added SOURCES_INCLUDE and SOURCES_EXCLUDE variables
to get tests to build with the new build system.

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

21 years agodoh!
Gonzalo Paniagua Javier [Sat, 17 Aug 2002 02:31:44 +0000 (02:31 -0000)]
doh!

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

21 years ago2002-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 17 Aug 2002 02:29:46 +0000 (02:29 -0000)]
2002-08-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: don't link against libdl on windoze.

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

21 years ago2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 17 Aug 2002 01:11:54 +0000 (01:11 -0000)]
2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspComponentFoundry.cs: New file.
* AspElements.cs: renamed Component to Aspcomponent.

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

21 years ago2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 17 Aug 2002 00:51:53 +0000 (00:51 -0000)]
2002-08-16  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
we create.
(TestTransaction): added test for transactions.

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

21 years ago1.3 -> 2.0
Miguel de Icaza [Fri, 16 Aug 2002 22:09:33 +0000 (22:09 -0000)]
1.3 -> 2.0

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

21 years agoAdd -ldl when linking to -lgc
Miguel de Icaza [Fri, 16 Aug 2002 19:51:00 +0000 (19:51 -0000)]
Add -ldl when linking to -lgc

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

21 years agoFri Aug 16 21:42:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 16 Aug 2002 19:46:11 +0000 (19:46 -0000)]
Fri Aug 16 21:42:57 CEST 2002 Paolo Molaro <lupus@ximian.com>

* marshal.c: fix unaligned store issue and a few wrong
opcode argument types.

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

21 years ago2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Aug 2002 19:23:57 +0000 (19:23 -0000)]
2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormatterServices.cs: implemented GetUninitializedObject.
PopulateObjectMembers needs a working FieldInfo.SetValue (it's
not implemented right now).

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

21 years ago2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Aug 2002 19:21:10 +0000 (19:21 -0000)]
2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: added GetUninitializedObjectInternal internal call.

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

21 years agoFix
Gonzalo Paniagua Javier [Fri, 16 Aug 2002 17:09:38 +0000 (17:09 -0000)]
Fix

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

21 years ago2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Aug 2002 16:54:02 +0000 (16:54 -0000)]
2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormatterServices.cs:a implemented GetSerializableMembers ().

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

21 years agoReordered. Updated. New links.
Jaime Anguiano Olarra [Fri, 16 Aug 2002 16:52:10 +0000 (16:52 -0000)]
Reordered. Updated. New links.

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

21 years ago2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Aug 2002 15:35:10 +0000 (15:35 -0000)]
2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormatterServices.cs: New file with some implementation.

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

21 years agoVarious serialization patches from Cesar.
Duncan Mak [Fri, 16 Aug 2002 14:39:31 +0000 (14:39 -0000)]
Various serialization patches from Cesar.

2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>

* regex.cs: Added the ctr for ISerializable implementation and
implemented the GetObjectData function.

2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>

* SoapFault.cs: Added the ctr for ISerializable implementation and
implemented GetObjectData.

2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>

* WeakReference.cs: Changed the constructor and GetObjectData
method needed for ISerializable implementation in order to be
compatible with SOAP generated by MS.

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

21 years ago2002-08-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 16 Aug 2002 12:59:28 +0000 (12:59 -0000)]
2002-08-16  Dietmar Maurer  <dietmar@ximian.com>

* appdomain.c (mono_runtime_invoke_in_domain): transfer Exception
to the right domain.

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

21 years ago2002-08-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 16 Aug 2002 12:54:45 +0000 (12:54 -0000)]
2002-08-16  Dietmar Maurer  <dietmar@ximian.com>

* SerializationInfo.cs: special case for null values.
use the converter everywhere.

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

21 years agouse Directory.GetCurrentDirectory () to make it work on windows
Dietmar Maurer [Fri, 16 Aug 2002 09:57:30 +0000 (09:57 -0000)]
use Directory.GetCurrentDirectory () to make it work on windows

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

21 years agoAdded the Mono Beginning Windows section to the web. Now going to add links
Jaime Anguiano Olarra [Fri, 16 Aug 2002 09:40:49 +0000 (09:40 -0000)]
Added the Mono Beginning Windows section to the web. Now going to add links
to the documents from mono-beginning.

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

21 years agoonly added a comment
Dietmar Maurer [Fri, 16 Aug 2002 07:37:34 +0000 (07:37 -0000)]
only added a comment

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

21 years agoInitial version of code necessary to get the Form class operating under WINELib inclu...
John Sohn [Fri, 16 Aug 2002 06:55:53 +0000 (06:55 -0000)]
Initial version of code necessary to get the Form class operating under WINELib including Form (base classes up to and including Control class) and Application classes. Also including a mostly complete version of NativeWindow class which is being used to implement the Control class.

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

21 years ago2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Aug 2002 05:36:06 +0000 (05:36 -0000)]
2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/AspElements.cs:
* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/AspTokenizer.cs:
* System.Web.Compilation/ChangeLog:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/TemplateFactory.cs:
* System.Web.UI/ApplicationFileParser.cs:
* System.Web.UI/BaseParser.cs:
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControl.cs:
* System.Web.UI/TemplateControlParser.cs:
* System.Web.UI/TemplateParser.cs: first steps to move xsp into
System.Web.

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

21 years agooops. here's the file
Nick Drochak [Fri, 16 Aug 2002 04:48:02 +0000 (04:48 -0000)]
oops. here's the file

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

21 years ago2002-08-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 16 Aug 2002 04:44:17 +0000 (04:44 -0000)]
2002-08-16  Nick Drochak <ndrochak@gol.com>

* x86.brg (mono_llmult_ovf): Flip ALL the bits, dummy. Now negative
numbers work.

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

21 years agoMake it do what Arturo needs
Miguel de Icaza [Fri, 16 Aug 2002 02:56:04 +0000 (02:56 -0000)]
Make it do what Arturo needs

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

21 years agoAdd dist target
Miguel de Icaza [Fri, 16 Aug 2002 02:41:38 +0000 (02:41 -0000)]
Add dist target

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

21 years ago2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 16 Aug 2002 02:31:27 +0000 (02:31 -0000)]
2002-08-16  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/libgda.cs: added new needed libgda functions.

* System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
when there are errors.
(GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.

* System.Data.OleDb/TestOleDb.cs: added more testing code for data
readers.

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

21 years ago2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 16 Aug 2002 01:36:52 +0000 (01:36 -0000)]
2002-08-15  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
create an empty GdaParameterList.

* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
for NULL before passing them to Marshal.PtrToStructure, which issues
an exception if the value is NULL.

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

21 years ago2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 16 Aug 2002 01:35:51 +0000 (01:35 -0000)]
2002-08-15  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
for NULL before passing them to Marshal.PtrToStructure, which issues
an exception if the value is NULL.

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

21 years ago2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 16 Aug 2002 01:19:29 +0000 (01:19 -0000)]
2002-08-15  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/UniqueConstraint.cs (UniqueConstraint): commented
unreachable code to avoid compiler warning.

* System.Data.OleDb/libgda.cs (GdaList): added new internal class.

* System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
(OpenReader): removed internal method.

* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
the list of returned data models.

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

21 years agouse the just built mcs
Miguel de Icaza [Fri, 16 Aug 2002 00:18:12 +0000 (00:18 -0000)]
use the just built mcs

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

21 years ago2002-08-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 16 Aug 2002 00:12:28 +0000 (00:12 -0000)]
2002-08-15  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (LoadArgs): Support quoting.

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

21 years agomake this the default. we need this for the snapshots
Miguel de Icaza [Thu, 15 Aug 2002 23:41:41 +0000 (23:41 -0000)]
make this the default.  we need this for the snapshots

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

21 years ago2002-08-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 15 Aug 2002 22:57:39 +0000 (22:57 -0000)]
2002-08-15  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Show the CSC-like command line arguments.

Improved a few error messages.

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

21 years ago*** empty log message ***
Franklin Wise [Thu, 15 Aug 2002 20:31:01 +0000 (20:31 -0000)]
*** empty log message ***

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

21 years agoAdded more Q/A pairs, updated one as Jason Diamond suggested (read my reply
Jaime Anguiano Olarra [Thu, 15 Aug 2002 17:33:33 +0000 (17:33 -0000)]
Added more Q/A pairs, updated one as Jason Diamond suggested (read my reply
to mono-list and to him. Added a section: Mono and ADO.NET with two Q/A.

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

21 years agoAdded Mono Beginning Windows (Another HOWTO)
Jaime Anguiano Olarra [Thu, 15 Aug 2002 15:18:07 +0000 (15:18 -0000)]
Added Mono Beginning Windows (Another HOWTO)

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

21 years ago2002-08-15 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 15 Aug 2002 14:45:16 +0000 (14:45 -0000)]
2002-08-15  Tim Coleman <tim@timcoleman.com>
        * FaultBindingCollection.cs:
        * ImportCollection.cs:
        * MessageCollection.cs:
        * MessagePartCollection.cs:
        * OperationBindingCollection.cs:
        * OperationCollection.cs:
        * OperationFaultCollection.cs:
        * OperationMessageCollection.cs:
        * PortCollection.cs:
        * PortTypeCollection.cs:
        * ServiceCollection.cs:
        * ServiceDescriptionFormatExtensionCollection.cs:
                Use parent from ServiceDescriptionBaseCollection
        * ServiceDescriptionCollection.cs:
                Use parent from ServiceDescriptionBaseCollection
                Implement SetParent () method
        * ServiceDescriptionBaseCollection.cs:
                Add "parent" object.
                Add SetParent call to OnSet() and OnInsert ()

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

21 years ago2002-08-15 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 15 Aug 2002 14:07:16 +0000 (14:07 -0000)]
2002-08-15  Martin Baulig  <martin@gnome.org>

* typemanager.cs (IMemberContainer.Type): New property.
(IMemberContainer.IsInterface): New property.

The following changes are conditional to BROKEN_RUNTIME, which is
defined at the top of the file.

* typemanager.cs (MemberCache.MemberCache): Don't add the base
class'es members, but add all members from TypeHandle.ObjectType
if we're an interface.
(MemberCache.AddMembers): Set the Declared flag if member.DeclaringType
is the current type.
(MemberCache.CacheEntry.Container): Removed this field.
(TypeHandle.GetMembers): Include inherited members.

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

21 years agoOooops .....
Martin Baulig [Thu, 15 Aug 2002 13:02:54 +0000 (13:02 -0000)]
Oooops .....

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

21 years ago2002-08-14 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 15 Aug 2002 03:30:57 +0000 (03:30 -0000)]
2002-08-14  Daniel Morgan <danmorg@sc.rr.com>

* SqlSharpCli.cs: modified
  - implemented the following commands:
    \f FILENAME to read a batch of Sql# commands/queries from file.");
\o FILENAME to write out the result of Sql# commands executed to file.");
\load FILENAME to load from file SQL commands into SQL buffer.");
\save FILENAME to save SQL commands from SQL buffer to file.
\print - show what's in the SQL buffer now.
  - can save output of result to an html file or text
  - entering command "\provider mysql" will dynamically load mysql provider
    from its assembly Mono.Data.MySql.dll

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

21 years ago2002/08/15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 15 Aug 2002 03:00:14 +0000 (03:00 -0000)]
2002/08/15  Nick Drochak <ndrochak@gol.com>

* x86.brg (mono_llmult_ovf): Fix so it throws an overflow when result
will not fit in 64 bits.  Fixes bug #27375.

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

21 years ago2002-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 15 Aug 2002 01:43:26 +0000 (01:43 -0000)]
2002-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* typemanager.cs: fixed compilation and added a comment on a field that
is never used.

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

21 years ago2002-08-15 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 15 Aug 2002 00:53:27 +0000 (00:53 -0000)]
2002-08-15  Martin Baulig  <martin@gnome.org>

* class.cs (ConstructorInitializer.Resolve): In the
Expression.MemberLookup call, use the queried_type as
invocation_type.

* typemanager.cs (IMemberContainer.GetMembers): Removed the `bool
declared' attribute, it's always true.
(IMemberContainer.Parent, IMemberContainer.Name): New properties.
(TypeManager.MemberLookup_FindMembers): [FIXME FIXME FIXME] Added
temporary wrapper for FindMembers which tells MemberLookup whether
members from the base classes are included in the return value.
This will go away soon.
(TypeManager.MemberLookup): Use this temporary hack here; once the
new MemberCache is completed, we don't need to do the DeclaredOnly
looping here anymore since the MemberCache will take care of this.
(TypeManager.IsSubclassOrNestedChildOf): Allow `type == parent'.
(MemberCache): When creating the MemberCache for a class, get
members from the current class and all its base classes.
(MemberCache.CacheEntry.Container): New field.  This is a
temporary hack until the Mono runtime is fixed to distinguish
between ReflectedType and DeclaringType.  It allows us to use MCS
with both the MS runtime and the unfixed Mono runtime without
problems and without accecting performance.
(MemberCache.SearchMembers): The DeclaredOnly looping from
TypeManager.MemberLookup is now done here.

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

21 years agoPPC updates from Carlos Valiente
Miguel de Icaza [Wed, 14 Aug 2002 20:09:40 +0000 (20:09 -0000)]
PPC updates from Carlos Valiente

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

21 years agoPPC updates from Carlos Valiente
Miguel de Icaza [Wed, 14 Aug 2002 20:09:00 +0000 (20:09 -0000)]
PPC updates from Carlos Valiente

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

21 years ago2002-08-14 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 14 Aug 2002 18:18:01 +0000 (18:18 -0000)]
2002-08-14  Martin Baulig  <martin@gnome.org>

* statement.cs (MyStructInfo.MyStructInfo): Don't call
Type.GetFields on dynamic types but get the fields from the
corresponding TypeContainer.
(MyStructInfo.GetStructInfo): Added check for enum types.

* typemanager.cs (MemberList.IsSynchronized): Implemented.
(MemberList.SyncRoot): Implemented.
(TypeManager.FilterWithClosure): No need to check permissions if
closure_start_type == closure_invocation_type, don't crash if
closure_invocation_type is null.

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

21 years ago*** empty log message ***
Dietmar Maurer [Wed, 14 Aug 2002 16:11:16 +0000 (16:11 -0000)]
*** empty log message ***

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

21 years ago2002-08-14 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 14 Aug 2002 16:10:32 +0000 (16:10 -0000)]
2002-08-14  Dietmar Maurer  <dietmar@ximian.com>

* SerializationInfo.cs: added new function to support the runtime

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

21 years ago2002-08-14 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 14 Aug 2002 16:08:11 +0000 (16:08 -0000)]
2002-08-14  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_runtime_invoke): unbox value types

* class.c (class_compute_field_layout): set blittable to false for Strings

* appdomain.c (mono_domain_transfer_object): added support for ISerializable

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

21 years agoWed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Aug 2002 15:42:41 +0000 (15:42 -0000)]
Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.

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

21 years agoWed Aug 14 17:38:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Aug 2002 15:41:38 +0000 (15:41 -0000)]
Wed Aug 14 17:38:41 CEST 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: ReflectedType and CreateType fixes.

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

21 years agoWed Aug 14 17:31:37 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Aug 2002 15:40:33 +0000 (15:40 -0000)]
Wed Aug 14 17:31:37 CEST 2002 Paolo Molaro <lupus@ximian.com>

* exception.c: updates for API changes in metadata/.

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

21 years agoWed Aug 14 17:26:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Aug 2002 15:40:31 +0000 (15:40 -0000)]
Wed Aug 14 17:26:27 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.h, reflection.c, icall.c, object.c, reflection.h:
first chunk of code to create types at runtime. Code to
handle ReflectedType/DeclaringType. Make reflection handles
domain specific.

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

21 years agoWed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Aug 2002 15:40:23 +0000 (15:40 -0000)]
Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.

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

21 years agoWed Aug 14 17:24:21 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Aug 2002 15:26:33 +0000 (15:26 -0000)]
Wed Aug 14 17:24:21 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c: set correct name in arrays.

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

21 years ago2002-08-13 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 14 Aug 2002 13:40:01 +0000 (13:40 -0000)]
2002-08-13  Tim Coleman <tim@timcoleman.com>
        * list: new files added to build

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

21 years ago2002-08-13 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 14 Aug 2002 13:39:25 +0000 (13:39 -0000)]
2002-08-13  Tim Coleman <tim@timcoleman.com>
        * Clerk.cs:
        * Compensator.cs:
                New stubs added.

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

21 years agoUpdate source list
Dick Porter [Wed, 14 Aug 2002 13:29:59 +0000 (13:29 -0000)]
Update source list

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

21 years ago2002-08-14 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 14 Aug 2002 10:29:20 +0000 (10:29 -0000)]
2002-08-14  Dick Porter  <dick@ximian.com>

* ResourceSet.cs: Throw the correct exceptions

* ResourceManager.cs: Implemented all unfinished methods

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

21 years ago2002-08-14 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 14 Aug 2002 10:28:02 +0000 (10:28 -0000)]
2002-08-14  Dick Porter  <dick@ximian.com>

* Assembly.cs: Stub out GetSatelliteAssembly

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

21 years ago2002-08-14 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 14 Aug 2002 10:06:49 +0000 (10:06 -0000)]
2002-08-14  Dick Porter  <dick@ximian.com>

* Thread.cs: Make CurrentUICulture act the same as CurrentCulture
for now.

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

21 years ago2002-08-14 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 14 Aug 2002 10:04:03 +0000 (10:04 -0000)]
2002-08-14  Dick Porter  <dick@ximian.com>

* CultureInfo.cs: Implement Name, stub out all the other missing
methods.

* TextInfo.cs: Stubbed out this class

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

21 years ago2002-08-14 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 14 Aug 2002 05:24:03 +0000 (05:24 -0000)]
2002-08-14  Tim Coleman <tim@timcoleman.com>
        * XmlSerializer.cs:
                More reformatting of source code so I can
                better understand what it does.

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

21 years ago2002-08-13 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Wed, 14 Aug 2002 03:19:02 +0000 (03:19 -0000)]
2002-08-13  Daniel Morgan <danmorg@sc.rr.com>

* Test/SqlSharpCli.cs: modified
  - removed dependency on Mono.Data.MySql assembly and classes
    (if you still want to use Mono.Data.MySql, use \loadextprovider to load it).
  - added use of provider System.Data.OleDb classes; however, you must
    have a working libgda.
  - added dynamic loading of .NET Data Provider's assembly and Connection class
    which can be loaded via \loadextprovider
  - renamed providers: postgresclient to postgresql, oracleclient to oracle
  - add new command \exenonquery to execute non queries
  - add new command \exescalar to execute and return one row/one column of data
  - added beginnings of internal variables by adding new commands: \set, \unset, and
  \variable
  - add new command \r to reset (clear) the query buffer
  - if quiting, need to close database connection if still open

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

21 years ago2002-08-13 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Wed, 14 Aug 2002 02:53:49 +0000 (02:53 -0000)]
2002-08-13  Daniel Morgan <danmorg@sc.rr.com>

* Mono.Data.MySql/MySqlCommand.cs: modified
rowsRetrieved should be rowsAffected in ExecuteNonQuery
because the number is only to show the rows affected
by an INSERT, UPDATE, or DELETE; anything else, the
number is -1

* Mono.Data.MySql/Test.cs: modified
enable retrieving the results from a query.  even though
this still does not work for some reason, i thought
i would enable it so others could see the problem.

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

21 years ago2002-08-13 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 14 Aug 2002 02:42:16 +0000 (02:42 -0000)]
2002-08-13  Tim Coleman <tim@timcoleman.com>
        * XmlTextWriter.cs:
                Partial implementation of WriteQualifiedName ().

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

21 years ago*** empty log message ***
Franklin Wise [Tue, 13 Aug 2002 21:57:30 +0000 (21:57 -0000)]
*** empty log message ***

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

21 years agoThis indexer was supposed to be public.
Martin Baulig [Tue, 13 Aug 2002 19:30:49 +0000 (19:30 -0000)]
This indexer was supposed to be public.

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

21 years ago[Conditional] is not valid on classes.
Martin Baulig [Tue, 13 Aug 2002 19:29:07 +0000 (19:29 -0000)]
[Conditional] is not valid on classes.

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

21 years agoUpdate news
Miguel de Icaza [Tue, 13 Aug 2002 19:13:18 +0000 (19:13 -0000)]
Update news

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

21 years ago2002-08-13 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 13 Aug 2002 19:09:39 +0000 (19:09 -0000)]
2002-08-13  Martin Baulig  <martin@gnome.org>

Rewrote TypeContainer.FindMembers to use a member cache.  This
gives us a speed increase of about 35% for the self-hosting MCS
build and of about 15-20% for the class libs (both on GNU/Linux).

* report.cs (Timer): New class to get enhanced profiling.  This
whole class is "TIMER" conditional since it remarkably slows down
compilation speed.

* class.cs (MemberList): New class.  This is an IList wrapper
which we're now using instead of passing MemberInfo[]'s around to
avoid copying this array unnecessarily.
(IMemberFinder.FindMember): Return a MemberList, not a MemberInfo [].
(ICachingMemberFinder, IMemberContainer): New interface.
(TypeManager.FilterWithClosure): If `criteria' is null, the name
has already been checked, otherwise use it for the name comparision.
(TypeManager.FindMembers): Renamed to RealMemberFinder and
provided wrapper which tries to use ICachingMemberFinder.FindMembers
if possible.  Returns a MemberList, not a MemberInfo [].
(TypeHandle): New class, implements IMemberContainer.  We create
one instance of this class per type, it contains a MemberCache
which is used to do the member lookups.
(MemberCache): New class.  Each instance of this class contains
all members of a type and a name-based hash table.
(MemberCache.FindMembers): This is our new member lookup
function.  First, it looks up all members of the requested name in
the hash table.  Then, it walks this list and sorts out all
applicable members and returns them.

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

21 years agoAdded more files
Rodrigo Moya [Tue, 13 Aug 2002 16:14:09 +0000 (16:14 -0000)]
Added more files

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

21 years ago2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 13 Aug 2002 16:13:14 +0000 (16:13 -0000)]
2002-08-13  Rodrigo Moya <rodrigo@ximian.com>

* SoapClientFormatterSink.cs:
* SoapServerFormatterSinkProvider.cs:
* SinkProviderData.cs: new classes.

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

21 years ago2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 13 Aug 2002 15:48:49 +0000 (15:48 -0000)]
2002-08-13  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
to avoid compiler warnings.

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

21 years ago2002-08-12 Franklin Wise <gracenote@earthlink.net>
Rodrigo Moya [Tue, 13 Aug 2002 15:42:01 +0000 (15:42 -0000)]
2002-08-12  Franklin Wise <gracenote@earthlink.net>

* System.Data/Constraint.cs: Implemented

* System.Data/UniqueConstraint.cs: GetHashCode() &
special case Ctor. Still need to be implemented. LAMESPEC tags
added.

* System.Data/ConstraintCollection.cs: Clear() &
AddRange() need to be finished. Several LAMESPEC tags.

* Allow Constraint collection to be created in DataTable.

* System.Data/ForeignKeyConstraint: Added a couple of
helper functions.

* System.Data/DataColumnCollection New/Added DataColumns now have
Table property set.

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

21 years ago2002-08-13 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 13 Aug 2002 13:11:36 +0000 (13:11 -0000)]
2002-08-13  Dietmar Maurer  <dietmar@ximian.com>

* appdomain.c (mono_domain_transfer_object): make it work with
valuetypes. bug fixes.

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

21 years ago2002-08-13 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 13 Aug 2002 09:10:38 +0000 (09:10 -0000)]
2002-08-13  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_jit_init): use  ((gpointer)-1) as end_of_stack
address for the main thread.

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

21 years ago2002-08-12 Piers Haken <piersh@friskit.com>
Piers Haken [Tue, 13 Aug 2002 06:45:49 +0000 (06:45 -0000)]
2002-08-12  Piers Haken <piersh@friskit.com>

* class/library.make: use 'find' to specify source files, instead of static files
* */makefile.gnu: specify include/exclude patterns for source files

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

21 years ago2002-08-12 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 13 Aug 2002 02:11:02 +0000 (02:11 -0000)]
2002-08-12  Tim Coleman <tim@timcoleman.com>
        * Operation.cs:
                Fix ParameterOrderString in case ParameterOrder is
                null.

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

21 years ago2002-08-12 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 13 Aug 2002 01:20:39 +0000 (01:20 -0000)]
2002-08-12  Tim Coleman <tim@timcoleman.com>
        * MonoProperty.cs:
                Allow multiple parameters for GetValue ()

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

21 years ago2002-08-12 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 13 Aug 2002 00:54:54 +0000 (00:54 -0000)]
2002-08-12  Tim Coleman <tim@timcoleman.com>
        * BindingCollection.cs:
                Remove Table handling on insert/delete/indexer
                because it is handled in base class.

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

21 years ago2002-08-12 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 13 Aug 2002 00:53:03 +0000 (00:53 -0000)]
2002-08-12  Tim Coleman <tim@timcoleman.com>
        * ServiceDescriptionBaseCollection.cs:
                Only add an element to the hashtable if its GetKey ()
                method does not return null.

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

21 years ago2002-08-13 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 12 Aug 2002 22:40:40 +0000 (22:40 -0000)]
2002-08-13  Martin Baulig  <martin@gnome.org>

In addition to a nice code cleanup, this gives us a performance
increase of about 1.4% on GNU/Linux - not much, but it's already
half a second for the self-hosting MCS compilation.

* typemanager.cs (IMemberFinder): New interface.  It is used by
TypeManager.FindMembers to call FindMembers on a TypeContainer,
Enum, Delegate or Interface.
(TypeManager.finder_to_member_finder): New PtrHashtable.
(TypeManager.finder_to_container): Removed.
(TypeManager.finder_to_delegate): Removed.
(TypeManager.finder_to_interface): Removed.
(TypeManager.finder_to_enum): Removed.

* interface.cs (Interface): Implement IMemberFinder.

* delegate.cs (Delegate): Implement IMemberFinder.

* enum.cs (Enum): Implement IMemberFinder.

* class.cs (TypeContainer): Implement IMemberFinder.

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

21 years ago2002-08-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 12 Aug 2002 18:57:15 +0000 (18:57 -0000)]
2002-08-12  Martin Baulig  <martin@gnome.org>

* ecore.cs (TypeExpr.DoResolveType): Mark this as virtual.

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

21 years agoOoops, fixed my last commit.
Martin Baulig [Mon, 12 Aug 2002 17:26:18 +0000 (17:26 -0000)]
Ooops, fixed my last commit.

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

21 years ago2002-08-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 12 Aug 2002 17:18:16 +0000 (17:18 -0000)]
2002-08-12  Martin Baulig  <martin@gnome.org>

* ecore.cs (ITypeExpression): New interface for expressions which
resolve to a type.
(TypeExpression): Renamed to TypeLookupExpression.
(Expression.DoResolve): If we're doing a types-only lookup, the
expression must implement the ITypeExpression interface and we
call DoResolveType() on it.
(SimpleName): Implement the new ITypeExpression interface.
(SimpleName.SimpleNameResolve): Removed the ec.OnlyLookupTypes
hack, the situation that we're only looking up types can't happen
anymore when this method is called.  Moved the type lookup code to
DoResolveType() and call it.
(SimpleName.DoResolveType): This ITypeExpression interface method
is now doing the types-only lookup.
(TypeExpr, TypeLookupExpression): Implement ITypeExpression.
(ResolveFlags): Added MaskExprClass.

* expression.cs (MemberAccess): Implement the ITypeExpression
interface.
(MemberAccess.DoResolve): Added support for a types-only lookup
when we're called via ITypeExpression.DoResolveType().
(ComposedCast): Implement the ITypeExpression interface.

* codegen.cs (EmitContext.OnlyLookupTypes): Removed.  Call
Expression.Resolve() with ResolveFlags.Type instead.

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

21 years ago2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Mon, 12 Aug 2002 15:43:20 +0000 (15:43 -0000)]
2002-08-11  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/libgda.cs: added some GdaValue functions.

* System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
internal method, since we don't need it.
(ExecuteReader): call SetupGdaCommand before executing the command
via libgda functions.
(ExecuteScalar): implemented.

* System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
to OleDbCommand.OpenReader.
(GetBoolean): implemented.

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

21 years agoThread::Abort() support
Dietmar Maurer [Mon, 12 Aug 2002 15:43:18 +0000 (15:43 -0000)]
Thread::Abort() support

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

21 years ago2002-08-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 12 Aug 2002 15:42:02 +0000 (15:42 -0000)]
2002-08-12  Dietmar Maurer  <dietmar@ximian.com>

* Exception.cs (ToString): changed the ouput format.

* ThreadAbortException.cs: impl. ExceptionState property.

* Thread.cs: moved all instance variables to the start of the
class. added support for Thread::Abort()

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

21 years agoGive the patch author proper credit
Dick Porter [Mon, 12 Aug 2002 13:54:09 +0000 (13:54 -0000)]
Give the patch author proper credit

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

21 years ago2002-08-12 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 12 Aug 2002 13:46:57 +0000 (13:46 -0000)]
2002-08-12  Dick Porter  <dick@ximian.com>

* atomic.h:
* object.h: Rename some parameters to avoid c++ keywords

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

21 years ago2002-08-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 12 Aug 2002 12:34:55 +0000 (12:34 -0000)]
2002-08-12  Martin Baulig  <martin@gnome.org>

* interface.cs (Interface.Define): Apply attributes.

* attribute.cs (Attribute.ApplyAttributes): Added support for
interface attributes.

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

21 years ago2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
Gaurav Vaish [Mon, 12 Aug 2002 11:59:47 +0000 (11:59 -0000)]
2002-08-12      Gaurav Vaish <gvaish_mono@lycos.com>

* DataGrid.cs                 - Added protected method (skeleton)
CreateColumnSet(PagedDataSource, bool)
Still trying to know how will it be used
and what for...

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

21 years agoUpdated manpage.
Paolo Molaro [Mon, 12 Aug 2002 11:05:06 +0000 (11:05 -0000)]
Updated manpage.

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

21 years ago2002-08-12 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 12 Aug 2002 10:05:51 +0000 (10:05 -0000)]
2002-08-12  Dick Porter  <dick@ximian.com>

* mono.pc.in: Add $includedir to Cflags

* Don't link libtool convenience libs together before linking them
  to other stuff (it breaks static builds)

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

21 years ago2002-08-11 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 11 Aug 2002 19:36:12 +0000 (19:36 -0000)]
2002-08-11  Martin Baulig  <martin@gnome.org>

* error-3.cs: New test.

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

21 years ago2002-08-11 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 11 Aug 2002 19:34:29 +0000 (19:34 -0000)]
2002-08-11  Martin Baulig  <martin@gnome.org>

* test-162.cs: New test.

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