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

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

* statement.cs (Block.Emit): Only check the "this" variable if we
do not always throw an exception.

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

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

* ecore.cs (PropertyExpr.DoResolveLValue): Implemented, check
whether the property has a set accessor.

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

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

Added control flow analysis support for structs.

* ecore.cs (ResolveFlags): Added `DisableFlowAnalysis' to resolve
with control flow analysis turned off.
(IVariable): New interface.
(SimpleName.SimpleNameResolve): If MemberAccess.ResolveMemberAccess
returns an IMemberExpr, call DoResolve/DoResolveLValue on it.
(FieldExpr.DoResolve): Resolve the instance expression with flow
analysis turned off and do the definite assignment check after the
resolving when we know what the expression will resolve to.

* expression.cs (LocalVariableReference, ParameterReference):
Implement the new IVariable interface, only call the flow analysis
code if ec.DoFlowAnalysis is true.
(This): Added constructor which takes a Block argument.  Implement
the new IVariable interface.
(MemberAccess.DoResolve, MemberAccess.DoResolveLValue): Call
DoResolve/DoResolveLValue on the result of ResolveMemberLookup().
This does the definite assignment checks for struct members.

* class.cs (Constructor.Emit): If this is a non-static `struct'
constructor which doesn't have any initializer, call
Block.AddThisVariable() to tell the flow analysis code that all
struct elements must be initialized before control returns from
the constructor.

* statement.cs (MyStructInfo): New public class.
(UsageVector.this [VariableInfo vi]): Added `int field_idx'
argument to this indexer.  If non-zero, check an individual struct
member, not the whole struct.
(FlowBranching.CheckOutParameters): Check struct members.
(FlowBranching.IsVariableAssigned, SetVariableAssigned): Added
overloaded versions of these methods which take an additional
`int field_idx' argument to check struct members.
(FlowBranching.IsParameterAssigned, SetParameterAssigned): Added
overloaded versions of these methods which take an additional
`string field_name' argument to check struct member.s
(VariableInfo): Implement the IVariable interface.
(VariableInfo.StructInfo): New public property.  Returns the
MyStructInfo instance of the variable if it's a struct or null.
(Block.AddThisVariable): New public method.  This is called from
Constructor.Emit() for non-static `struct' constructor which do
not have any initializer.  It creates a special variable for the
"this" instance variable which will be checked by the flow
analysis code to ensure that all of the struct's fields are
initialized before control returns from the constructor.
(UsageVector): Added support for struct members.  If a
variable/parameter is a struct with N members, we reserve a slot
in the usage vector for each member.  A struct is considered fully
initialized if either the struct itself (slot 0) or all its
members are initialized.

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

21 years agoAdded more files
Rodrigo Moya [Sun, 11 Aug 2002 18:00:51 +0000 (18:00 -0000)]
Added more files

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

21 years ago2002-08-10 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 11 Aug 2002 18:00:17 +0000 (18:00 -0000)]
2002-08-10  Rodrigo Moya <rodrigo@ximian.com>

* CommonTransportKeys.cs:
* ServerChannelSinkStack.cs: new classes.

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

21 years agoFaq updated. Fixed the double "Oberon" in the first section. Fixed the Windows.Forms...
Jaime Anguiano Olarra [Sun, 11 Aug 2002 10:08:28 +0000 (10:08 -0000)]
Faq updated. Fixed the double "Oberon" in the first section. Fixed the Windows.Forms mention in the list of class libraries Mono will implement. (At least by the moment. Since I've noticed that this is causing confusion to some people). Added more Q/A pairs.

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

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

* RegistrationHelper.cs: fixed compilation.

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

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

* PagedDataSource.cs: fixed compilation.

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

21 years ago * makefile.gnu: Added test target. Please start using it.
Jason Diamond [Sat, 10 Aug 2002 18:37:44 +0000 (18:37 -0000)]
* makefile.gnu: Added test target. Please start using it.

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

21 years ago* makefile.gnu: Use relative path to NUnitConsole_mono.exe instead of
Jason Diamond [Sat, 10 Aug 2002 17:47:08 +0000 (17:47 -0000)]
* makefile.gnu: Use relative path to NUnitConsole_mono.exe instead of
hardcoding it to /usr/local/bin. Default test suite to AllTests but
allow it to be overridden from the command line.

* XmlTextWriterTests.cs: Split TestWriteString into multiple tests.
Added encoding parameters to all the StreamReaders in
TestBaseConstructorsAndBaseStream. I think this is a bug in Mono's
StreamReader since these aren't required when testing against
Microsoft's.

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

21 years ago2002-08-09 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 10 Aug 2002 08:05:47 +0000 (08:05 -0000)]
2002-08-09  Tim Coleman <tim@timcoleman.com>
        * BindingCollection.cs:
        * ServiceDescriptionCollection.cs:
                Implement Set indexer
        * FaultBindingCollection.cs:
        * MessageCollection.cs:
        * MessagePartCollection.cs:
        * OperationFaultCollection.cs:
        * PortCollection.cs:
        * PortTypeCollection.cs:
        * ServiceCollection.cs:
                Implement Set indexer, code cleanup
        * Message.cs:
                Implement FindPartByName ()
        * OperationMessageCollection.cs:
                Alter OnSet () method
        * ServiceDescriptionBaseCollection.cs:
                Implement some methods.
        * ServiceDescriptionFormatExtensionCollection.cs:
                Implement Find (), FindAll (), OnValidate () methods

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

21 years ago2002-08-07 Peter Williams <peterw@ximian.com>
Peter Williams [Fri, 9 Aug 2002 19:31:10 +0000 (19:31 -0000)]
2002-08-07  Peter Williams  <peterw@ximian.com>

* class/library.make (.makefrag): Fix this rule a bit; was using
$^ instead of $<

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

21 years ago2002-08-09 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 9 Aug 2002 16:14:44 +0000 (16:14 -0000)]
2002-08-09  Tim Coleman <tim@timcoleman.com>
        * AllTests.cs:
                New test suites added.

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

21 years ago2002-08-09 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 9 Aug 2002 16:13:56 +0000 (16:13 -0000)]
2002-08-09  Tim Coleman <tim@timcoleman.com>
        * AllTests.cs:
        * ChangeLog:
        * ContractReferenceTest.cs:
                New files added for test suite.

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

21 years ago2002-08-09 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 9 Aug 2002 16:12:36 +0000 (16:12 -0000)]
2002-08-09  Tim Coleman <tim@timcoleman.com>
        * AllTests.cs:
        * ChangeLog:
        * XmlFormatExtensionAttributeTest.cs:
                New files added for test suite.

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

21 years ago2002-08-09 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 9 Aug 2002 16:09:53 +0000 (16:09 -0000)]
2002-08-09  Tim Coleman <tim@timcoleman.com>
        * RegistrationHelperTx.cs:
                Commit the add of RegistrationHelperTx.cs

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

21 years ago2002-08-09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 9 Aug 2002 14:46:08 +0000 (14:46 -0000)]
2002-08-09  Nick Drochak  <ndrochak@gol.com>

* BinaryReader.cs: added virtual to Dispose(bool).

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

21 years agoFixed url
Miguel de Icaza [Fri, 9 Aug 2002 12:22:57 +0000 (12:22 -0000)]
Fixed url

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

21 years ago2002/08/09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 9 Aug 2002 08:23:00 +0000 (08:23 -0000)]
2002/08/09  Nick Drochak <ndrochak@gol.com>

* DecimalTest.cs: Add try-catch block to find which one is throwing
the Overflow.  Also started making each Assert using a unique message
to differentiate those as well.

* MulticastDelegate.cs: Disable tests checking the order that delegates
are executed.  There's a bugzilla entry for this already because we do
it in reverse order. See:
http://bugzilla.ximian.com/show_bug.cgi?id=28306

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

21 years ago2002-08-08 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 9 Aug 2002 06:55:22 +0000 (06:55 -0000)]
2002-08-08  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (arch_handle_exception): simply return and let the
libpthread/kernel restore the context. This should work on recent
versions of linuxthreads.

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

21 years ago2002-08-08 Franklin Wise <gracenote@earthlink.net>
Rodrigo Moya [Thu, 8 Aug 2002 23:19:06 +0000 (23:19 -0000)]
2002-08-08  Franklin Wise <gracenote@earthlink.net>

* System.Data.IDbComand.cs: IDbCommand now inherits IDisposable

* System.Data.IDbConnection.cs: IDbConnection now inherits IDisposable

* System.Data.SqlTypes.SqlCompareOptions.cs: Enum now set to correct
values.

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

21 years ago2002-08-08 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 8 Aug 2002 20:26:50 +0000 (20:26 -0000)]
2002-08-08  Martin Baulig  <martin@gnome.org>

* driver.cs (Driver.MainDriver): Only report an error CS5001
if there were no compilation errors.

* codegen.cs (EmitContext.EmitContext): Use the DeclSpace's
`UnsafeContext' property to determine whether the parent is in
unsafe context rather than checking the parent's ModFlags:
classes nested in an unsafe class are unsafe as well.

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

21 years agoOoops, removed debugging stuff.
Martin Baulig [Thu, 8 Aug 2002 20:24:52 +0000 (20:24 -0000)]
Ooops, removed debugging stuff.

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

21 years agoAdded two more testcases to this test.
Martin Baulig [Thu, 8 Aug 2002 20:05:37 +0000 (20:05 -0000)]
Added two more testcases to this test.

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

21 years ago2002-08-08 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 8 Aug 2002 20:03:33 +0000 (20:03 -0000)]
2002-08-08  Martin Baulig  <martin@gnome.org>

* statement.cs (UsageVector.MergeChildren): Distinguish between
`Breaks' and `Returns' everywhere, don't set `Breaks' anymore if
we return.  Added test17() and test18() to test-154.cs.

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

21 years ago2002-08-08 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 8 Aug 2002 18:55:48 +0000 (18:55 -0000)]
2002-08-08  Tim Coleman <tim@timcoleman.com>
        * list: new files added to build.

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

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

* cs1540.cs: New test.

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

21 years ago2002-08-08 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 8 Aug 2002 18:38:28 +0000 (18:38 -0000)]
2002-08-08  Martin Baulig  <martin@gnome.org>

* typemanager.cs (TypeManager.FilterWithClosure): If we have
Family access, make sure the invoking type isn't a subclass of the
queried type (that'd be a CS1540).

* ecore.cs (Expression.MemberLookup): Added overloaded version of
this method which takes an additional `Type invocation_type'.

* expression.cs (BaseAccess.DoResolve): Use the base type as
invocation and query type.
(MemberAccess.DoResolve): If the lookup failed and we're about to
report a CS0122, try a lookup with the ec.ContainerType - if this
succeeds, we must report a CS1540.

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

21 years ago2002-08-08 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 8 Aug 2002 17:47:46 +0000 (17:47 -0000)]
2002-08-08  Tim Coleman <tim@timcoleman.com>
        * ISecurityCallContext.cs:
        * ISecurityCallersColl.cs:
        * ISecurityIdentityColl.cs:
        * ISharedProperty.cs:
        * ISharedPropertyGroup.cs:
        * RegistrationHelperTx.cs:
        * ResourcePool.cs:
        * SecureMethodAttribute.cs:
        * SecurityCallContext.cs:
        * SecurityCallers.cs:
        * SecurityIdentity.cs:
        * SecurityRoleAttribute.cs:
        * ServicedComponentException.cs:
        * SharedProperty.cs:
        * SharedPropertyGroup.cs:
        * SharedPropertyGroupManager.cs:
        * SynchronizationAttribute.cs:
        * SynchronizationOption.cs:
        * TransactionAttribute.cs:
        * TransactionIsolationLevel.cs:
                New files added.
        * ContextUtil.cs:
                New internal constructor added, methods added.
        * IRemoteDispatch.cs:
                AutoComplete attributes added to methods
        * TODOAttribute.cs:
                Namespace adjusted.

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