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

21 years agoShut cvs up
Dick Porter [Thu, 8 Aug 2002 15:09:58 +0000 (15:09 -0000)]
Shut cvs up

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

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

* ecore.cs (IMemberExpr): Added `bool IsInstance' property.
(MethodGroupExpr): Implement the IMemberExpr interface.

* expression (MemberAccess.ResolveMemberAccess): No need to have
any special code for MethodGroupExprs anymore, they're now
IMemberExprs.

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

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

* typemanager.cs (TypeManager.FilterWithClosure): Check Assembly,
Family, FamANDAssem and FamORAssem permissions.
(TypeManager.IsSubclassOrNestedChildOf): New public method.

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

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

* test-154.cs (test16): Added test for bug #28717.

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

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

* statement.cs (FlowBranchingType): Added LOOP_BLOCK.
(UsageVector.MergeChildren): `break' breaks unless we're in a switch
or loop block.

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

21 years ago2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
Gaurav Vaish [Thu, 8 Aug 2002 11:45:30 +0000 (11:45 -0000)]
2002-08-08      Gaurav Vaish <gvaish_mono@lycos.com>

* DataGrid.cs                 - Added private method
                                CreatePagedDataSource
                              - Started work on
                                CreateControlHierarchy(bool)
* PagedDataSource.cs          - Bug fixed.
                                CurrentPageIndex is writable.

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

21 years agoThu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Aug 2002 11:15:35 +0000 (11:15 -0000)]
Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Assembly.cs: implemented GetFile() and GetFiles().

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

21 years agoThu Aug 8 13:04:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Aug 2002 11:05:28 +0000 (11:05 -0000)]
Thu Aug 8 13:04:18 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: added icall to implement Assembly.GetFile*.

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

21 years ago2002-08-08 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 8 Aug 2002 10:46:52 +0000 (10:46 -0000)]
2002-08-08  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_runtime_install_handlers): switch back to use
sigaction from libpthreads. As long as this does not make problems
we should use this instead of syscall.

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

21 years agoadded a comment about sigaction
Dietmar Maurer [Thu, 8 Aug 2002 09:18:59 +0000 (09:18 -0000)]
added a comment about sigaction

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

21 years agoThu Aug 8 10:28:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Aug 2002 08:31:10 +0000 (08:31 -0000)]
Thu Aug 8 10:28:07 CEST 2002 Paolo Molaro <lupus@ximian.com>

* driver.cs: implemented /resource option to embed managed resources.

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

21 years agoThu Aug 8 10:25:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Aug 2002 08:26:54 +0000 (08:26 -0000)]
Thu Aug 8 10:25:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* AssemblyBuilder.cs: added API to embed managed resources.

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

21 years agoThu Aug 8 10:18:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Aug 2002 08:25:05 +0000 (08:25 -0000)]
Thu Aug 8 10:18:17 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: code to embed managed resources.

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

21 years agoAdded Kral's new test classes.
Jason Diamond [Thu, 8 Aug 2002 07:14:50 +0000 (07:14 -0000)]
Added Kral's new test classes.

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

21 years agoAdded XmlDocument event firing code.
Kral Ferch [Thu, 8 Aug 2002 06:33:43 +0000 (06:33 -0000)]
Added XmlDocument event firing code.

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

21 years ago2002-8-7 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 8 Aug 2002 01:53:30 +0000 (01:53 -0000)]
2002-8-7  DennisHayes <dennish@raytek.com>
Check in for  Remco de Jong <rdj@rdj.cg.nu>

* HorizontalAlignment.cs
* ProgressBar.cs
* ScrollBars.cs
* TextBox.cs
* TextBoxBase.cs
* added new files with some functinality

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

21 years ago2002-8-4 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 8 Aug 2002 01:44:56 +0000 (01:44 -0000)]
2002-8-4  DennisHayes <dennish@raytek.com>
Checked in for John Sohn <jsohn@columbus.rr.com

* build.sh
* changelog
* monostart.c
* monostub.c
* monostub.exe.dbg.c
* monostub.exe.spec.c
* Test.cs
* test.sh
* Experiment to get first form working using WINELIB

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 7 Aug 2002 23:06:06 +0000 (23:06 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* runtest.pl: This is a perl script which runs a testcase, parses the
MCS output and checks whether all errors are reported.

* error-1.cs, error-2.cs: Moved here from ../tests/.

* README.tests: Added (empty) list of all test cases.

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

21 years ago2002-08-08 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 7 Aug 2002 23:05:42 +0000 (23:05 -0000)]
2002-08-08  Martin Baulig  <martin@gnome.org>

* test-161.cs: New test.

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

21 years ago2002-08-07 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 7 Aug 2002 23:04:52 +0000 (23:04 -0000)]
2002-08-07  Martin Baulig  <martin@gnome.org>

* class.cs (FieldBase.Initializer): Renamed to `init' and made private.
(FieldBase.HasFieldInitializer): New public property.
(FieldBase.GetInitializerExpression): New public method.  Resolves and
returns the field initializer and makes sure it is only resolved once.
(TypeContainer.EmitFieldInitializers): Call
FieldBase.GetInitializerExpression to get the initializer, this ensures
that it isn't resolved multiple times.

* codegen.cs (EmitContext): Added `bool IsFieldInitialier'.  This tells
the resolving process (SimpleName/MemberLookup) that we're currently
emitting a field initializer (which must not access any instance members,
this is an error CS0236).

* ecore.cs (SimpleName.Error_ObjectRefRequired): Added EmitContext
argument, if the `IsFieldInitializer' flag is set, we must report and
error CS0236 and not an error CS0120.

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

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

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 19:51:13 +0000 (19:51 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * CompensatorOptions.cs:
        * LogRecordFlags.cs:
        * TransactionState.cs:
                Changed enum values to agree with .NET
        * LogRecord.cs:
                New stubs added

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

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

* test-160.cs: New test for bug #28176.

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

21 years agoMake this actually work.
Martin Baulig [Wed, 7 Aug 2002 18:32:33 +0000 (18:32 -0000)]
Make this actually work.

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

21 years agoUpdated this a bit.
Martin Baulig [Wed, 7 Aug 2002 18:25:55 +0000 (18:25 -0000)]
Updated this a bit.

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

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

* ecore.cs (IMemberExpr): New public interface.
(FieldExpr, PropertyExpr, EventExpr): Implement IMemberExpr.
(SimpleName.SimpleNameResolve): Call MemberAccess.ResolveMemberAccess
if the expression is an IMemberExpr.

* expression.cs (MemberAccess.ResolveMemberAccess): Allow `left'
to be null, implicitly default to `this' if we're non-static in
this case.  Simplified the code a lot by using the new IMemberExpr
interface.  Also fixed bug #28176 here.

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 17:34:43 +0000 (17:34 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * list: new files added to build.

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 17:33:47 +0000 (17:33 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * RegistrationErrorInfo.cs:
        * RegistrationException.cs:
        * RegistrationHelper.cs:
        * ServicedComponent.cs:
                New stubs added

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 16:41:53 +0000 (16:41 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
* Add System.Web.Services to test and clean builds.

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 16:38:39 +0000 (16:38 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * System.Web.Services.build:
                Added "test" target to build.
                Added "clean" target to build.
        * Test:
                New test suites added.

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 16:37:52 +0000 (16:37 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * WebMethodAttribute.cs:
                Remove FIXME and reorganize constructors to all
                call this () with the big constructor.
        * WebServiceAttribute.cs:
                Remove FIXME.
        * WebServiceBindingAttribute.cs:
                Remove FIXME, and change ns to be String.Empty by
                default (this is the MS implementation).  Reorganize
                constructors.
        * WebServicesDescriptionAttribute.cs:
                Code reformat.
        * TODOAttribute.cs:
                Changed namespace.

                *** This namespace should now be complete. ***

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 16:25:17 +0000 (16:25 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * AllTests.cs:
        * ChangeLog:
        * System.Web.Services:
        * System.Web.Services_test.build:
                New files and directories added for test suite.

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

21 years ago2002-08-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 7 Aug 2002 16:24:53 +0000 (16:24 -0000)]
2002-08-07  Tim Coleman <tim@timcoleman.com>
        * AllTests.cs:
        * ChangeLog:
        * WebMethodAttributeTest.cs:
        * WebServiceAttributeTest.cs:
                New files and directories added for test suite.

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

21 years ago (mono_analyze_stack): special case Array::Address()
Dietmar Maurer [Wed, 7 Aug 2002 15:57:20 +0000 (15:57 -0000)]
(mono_analyze_stack): special case Array::Address()

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

21 years agoWed Aug 7 15:51:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Aug 2002 13:54:22 +0000 (13:54 -0000)]
Wed Aug 7 15:51:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* monoresgen.cs: added the Mono implementation of resgen.

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

21 years agoMoved to System.Windows.Forms.
Paolo Molaro [Wed, 7 Aug 2002 11:28:59 +0000 (11:28 -0000)]
Moved to System.Windows.Forms.

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

21 years agoPut in the correct assembly (well, correct as in the same ms uses,
Paolo Molaro [Wed, 7 Aug 2002 11:27:02 +0000 (11:27 -0000)]
Put in the correct assembly (well, correct as in the same ms uses,
because it makes no sense to have these classes here instead of
System or system.Xml).

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

21 years agoWed Aug 7 12:44:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Aug 2002 10:47:31 +0000 (10:47 -0000)]
Wed Aug 7 12:44:50 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ResXResourceReader.cs, ResXResourceWriter.cs: added stubs.

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

21 years ago2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Aug 2002 10:40:36 +0000 (10:40 -0000)]
2002-08-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: fixed typo.
* DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.

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

21 years agoremoved TODO attribute
Dietmar Maurer [Wed, 7 Aug 2002 09:55:52 +0000 (09:55 -0000)]
removed TODO attribute

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

21 years ago2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
Gaurav Vaish [Wed, 7 Aug 2002 09:31:59 +0000 (09:31 -0000)]
2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>

* DataGridColumn.cs           - Added internal methods to get the
                            various styles (needed in DataGrid.cs)
* DataGrid.cs                 - Completed the method
                            PrepareControlHierarchy()

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

21 years ago2002-08-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 7 Aug 2002 09:27:38 +0000 (09:27 -0000)]
2002-08-07  Dietmar Maurer  <dietmar@ximian.com>

* jit.c: removed the createdelegate icall

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

21 years ago2002-08-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 7 Aug 2002 09:26:31 +0000 (09:26 -0000)]
2002-08-07  Dietmar Maurer  <dietmar@ximian.com>

* MonoType.cs: moved get_method icall to this class, we can
remove it as soon someone provides a full featured GetMethodImpl.

* Type.cs: use GetMethodImpl everywhere.

* Delegate.cs: new CreateDelegate implementations.

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

21 years ago2002-8-4 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 7 Aug 2002 02:35:00 +0000 (02:35 -0000)]
2002-8-4  DennisHayes <dennish@raytek.com>

*  Started cheanglog

2002-8-4  DennisHayes <dennish@raytek.com>

* AnchorEditor.cs
* AxImporter.cs
* ComponentDocumentDesigner.cs
* ComponentEditorForm.cs
* Stubbed out

* ComponentTray.cs
* ControlDesigner.cs
* ComponentEditor.cs
* DocumentDesigner.cs
* EventsTab.cs
* FileNameEditor.cs
* IMenuEditorService.cs
* IUIService.cs
* IWindowsformsEditorService.cs
* MenusCommands.cs
* ParentControlDesigner.cs
* PropertyTab.cs
* ScrollableControlDesigner.cs
* SelectionRules.cs
* UITypeEditor.cs
* Class body defined only. No stubbs done.

* TODOAttribute.cs
* Used to mark unimplemented functions.

* System.Windows.Forms.Design.csproj
* System.Windows.Forms.Design.csproj.user
* AssemblyInfo.cs
* Needed for Visual Studio compile.

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

21 years ago2002-8-6 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 7 Aug 2002 02:28:06 +0000 (02:28 -0000)]
2002-8-6  DennisHayes <dennish@raytek.com>
* Checked in for Ginandrea Terzi (gterzi@lario.com)

* MeasureItemEventArgs.cs
* PropertyValueChangedEventArgs.cs
* ScrollEventArgs.cs
* ScrollEventType.cs
* SelectionMode.cs
* Shortcut.cs
* TickStyle.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewAction.cs
* TriangleDirection.cs
* UICues.cs
* UICuesEventArgs.cs
* UpDownBase.cs
* UpDownEventHandler.cs
* Fixed syntax errors and verifier errors

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