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
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
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
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
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
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
Dietmar Maurer [Fri, 16 Aug 2002 07:37:34 +0000 (07:37 -0000)]
only added a comment
svn path=/trunk/mono/; revision=6670
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
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
Nick Drochak [Fri, 16 Aug 2002 04:48:02 +0000 (04:48 -0000)]
oops. here's the file
svn path=/trunk/mono/; revision=6666
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
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
Miguel de Icaza [Fri, 16 Aug 2002 02:41:38 +0000 (02:41 -0000)]
Add dist target
svn path=/trunk/mcs/; revision=6663
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
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
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
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
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
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
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
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
Franklin Wise [Thu, 15 Aug 2002 20:31:01 +0000 (20:31 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=6653
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
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
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
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
Martin Baulig [Thu, 15 Aug 2002 13:02:54 +0000 (13:02 -0000)]
Oooops .....
svn path=/trunk/mcs/; revision=6647
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
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
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
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
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
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
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
Dietmar Maurer [Wed, 14 Aug 2002 16:11:16 +0000 (16:11 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=6639
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
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
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
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
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
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
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
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
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
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
Dick Porter [Wed, 14 Aug 2002 13:29:59 +0000 (13:29 -0000)]
Update source list
svn path=/trunk/mcs/; revision=6628
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
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
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
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
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
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
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
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
Franklin Wise [Tue, 13 Aug 2002 21:57:30 +0000 (21:57 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=6619
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
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
Miguel de Icaza [Tue, 13 Aug 2002 19:13:18 +0000 (19:13 -0000)]
Update news
svn path=/trunk/mono/; revision=6616
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
Rodrigo Moya [Tue, 13 Aug 2002 16:14:09 +0000 (16:14 -0000)]
Added more files
svn path=/trunk/mcs/; revision=6614
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
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Mon, 12 Aug 2002 17:26:18 +0000 (17:26 -0000)]
Ooops, fixed my last commit.
svn path=/trunk/mcs/; revision=6599
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
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
Dietmar Maurer [Mon, 12 Aug 2002 15:43:18 +0000 (15:43 -0000)]
Thread::Abort() support
svn path=/trunk/mono/; revision=6596
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
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
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
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
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
Paolo Molaro [Mon, 12 Aug 2002 11:05:06 +0000 (11:05 -0000)]
Updated manpage.
svn path=/trunk/mono/; revision=6589
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
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
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
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
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
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
Rodrigo Moya [Sun, 11 Aug 2002 18:00:51 +0000 (18:00 -0000)]
Added more files
svn path=/trunk/mcs/; revision=6581
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
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
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
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
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
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
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
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
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
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
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