mono.git
22 years ago * FileWebRequest.cs: finished implementation of async methods.
Lawrence Pit [Sun, 19 May 2002 15:45:57 +0000 (15:45 -0000)]
* FileWebRequest.cs: finished implementation of async methods.
* FileWebResponse.cs: improved disposable routines.

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

22 years agoSorry about that
Miguel de Icaza [Sun, 19 May 2002 15:03:12 +0000 (15:03 -0000)]
Sorry about that

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

22 years agoUpdates to ASP.NET
Miguel de Icaza [Sun, 19 May 2002 14:59:43 +0000 (14:59 -0000)]
Updates to ASP.NET

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 19 May 2002 12:28:30 +0000 (12:28 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* Convert.cs (FromBase64CharArray): Do correct exception handling.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 19 May 2002 12:27:15 +0000 (12:27 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
Added exception handling.

* Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
Added exception handling.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 19 May 2002 12:06:47 +0000 (12:06 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* Added System.Security.Cryptography.FromBase64TransformTest.cs.

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

22 years agoDummy version so the build will complete.
Chris J. Breisch [Sun, 19 May 2002 11:47:02 +0000 (11:47 -0000)]
Dummy version so the build will complete.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 19 May 2002 11:40:09 +0000 (11:40 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* TheTests.cs: Removed.

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

22 years agoOoooops, sorry for being stupid ....
Martin Baulig [Sun, 19 May 2002 11:38:07 +0000 (11:38 -0000)]
Ooooops, sorry for being stupid ....

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 19 May 2002 09:00:43 +0000 (09:00 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* corlib_test.build: Don't create Runtest.corlib.exe anymore.

* MartinTests.cs: Removed.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 19 May 2002 08:58:57 +0000 (08:58 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* MartinTests.cs: Removed.

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

22 years ago2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 19 May 2002 00:00:13 +0000 (00:00 -0000)]
2002-05-18  Daniel Morgan <danmorg@sc.rr.com>

* System.Xml: added directory for classes with namespace
System.Xml to go into the System.Data.dll assembly

* System.Xml/XmlDataDocument: added file
for stubbed concrete class XmlDataDocument which
inherits from XmlDocument.  Its purpose is to provide
a W3C XML DOM Document for relational data and interacting
with a DataSet

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

22 years ago * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
Lawrence Pit [Sat, 18 May 2002 22:10:39 +0000 (22:10 -0000)]
* IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
byte ordering of address was backwards.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 18 May 2002 20:30:19 +0000 (20:30 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* FromBase64Transform.cs (TransformFinalBlock): The return value of
`DoTransform' tells us the number of bytes actually written - if it's
smaller than `res', copy it to a smaller array.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 18 May 2002 20:27:08 +0000 (20:27 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* unicode.c (ves_icall_iconv_get_bytes): Actually use the `charCount'
argument to get the length, don't default to the array length.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 18 May 2002 20:25:09 +0000 (20:25 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* Convert.cs (FromBase64CharArray): Convert the char array using
System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
a byte array.

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

22 years ago2002-05-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 18 May 2002 19:53:15 +0000 (19:53 -0000)]
2002-05-19  Martin Baulig  <martin@gnome.org>

* mono/Makefile.am (SUBDIRS): Added `os', it's referenced by
interpreter/Makefile.am.

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

22 years ago2002-05-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 18 May 2002 19:08:45 +0000 (19:08 -0000)]
2002-05-18  Miguel de Icaza  <miguel@ximian.com>

* HttpRuntime.cs: Reformat file.

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

22 years agoFlush
Miguel de Icaza [Sat, 18 May 2002 18:27:50 +0000 (18:27 -0000)]
Flush

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

22 years agoComplete the deployment of the `os' directory. SOrry about the previous
Miguel de Icaza [Sat, 18 May 2002 17:41:44 +0000 (17:41 -0000)]
Complete the deployment of the `os' directory.  SOrry about the previous
commit, it was only supposed to add the directories, but I got everything
commited instead.

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

22 years agoAdd new mono/os directory
Miguel de Icaza [Sat, 18 May 2002 17:32:36 +0000 (17:32 -0000)]
Add new mono/os directory

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

22 years ago2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sat, 18 May 2002 15:17:15 +0000 (15:17 -0000)]
2002-05-18  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
Text, TableDirect, and StoredProcedure

* Test/PostgresTest.cs: changed call to version()
stored procedure to use the CommandType of StoredProcedure

* Test/TestSqlDataReader.cs: test all the CommandTypes

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

22 years ago2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sat, 18 May 2002 13:20:24 +0000 (13:20 -0000)]
2002-05-18  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.build: took out all excluded
files except the ones in the Test directory
because all files compile now.  It does not
mean they all work or have implementations
though.

* System.Data/DataRelationCollection.cs
* System.Data/DataTableRelationCollection.cs
* System.Data/InternalDataCollectionBase.cs
* System.Data.Common/DbDataPermission.cs
* System.Data.SqlClient/SqlInfoMessageEventArgs.cs
* System.Data.SqlClient/SqlClientPermission.cs
* System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
to get all System.Data* files to compile.

* System.Data.SqlClient/SqlCommand.cs: started coding
to prevent SqlConnection and SqlCommand from doing
anyting while fetching data using SqlDataReader.  Also,
started coding to undo this prevention once the
SqlDataReader is closed.

* System.Data.SqlClient/SqlConnection.cs: get database server
version.  Started coding to prevent connection from
doing anything while fetching data and undo once the reader
is closed.  Include events SqlInfoMessage and StateChange.

* System.Data.SqlClient/SqlDataReader.cs: start coding to
prevent connection and command from doing anything while
fetching data, and undo when closed.

* Test/PostgresTest.cs: added test to get ServerVersion
property from SqlConnection

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

22 years ago2002-05-18 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 18 May 2002 11:08:38 +0000 (11:08 -0000)]
2002-05-18  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs: More implementation,
        as well as boundary checks and small semantic
        repairs

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

22 years agoModified per Dan Lewis' instructions
Chris J. Breisch [Sat, 18 May 2002 08:46:37 +0000 (08:46 -0000)]
Modified per Dan Lewis' instructions

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

22 years agoUpdated as I should've been doing all along
Chris J. Breisch [Sat, 18 May 2002 08:27:53 +0000 (08:27 -0000)]
Updated as I should've been doing all along

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

22 years agoClean-up of System.dll when finished.
Chris J. Breisch [Sat, 18 May 2002 07:18:59 +0000 (07:18 -0000)]
Clean-up of System.dll when finished.

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

22 years agoFixed to copy System.dll into Test directory so that tests will run properly.
Chris J. Breisch [Sat, 18 May 2002 07:18:25 +0000 (07:18 -0000)]
Fixed to copy System.dll into Test directory so that tests will run properly.

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

22 years ago2002-05-18 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 18 May 2002 02:35:17 +0000 (02:35 -0000)]
2002-05-18  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs: Try to reduce memory
        usage by only creating the original and proposed
        arrays as required in BeginEdit, and then destroying
        proposed during EndEdit, and original during AcceptChanges.
        * System.Data.Common/DbDataAdapter.cs: Make the
        startRecord and maxRecords parameters work correctly.

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

22 years ago2002-05-18 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 18 May 2002 02:06:19 +0000 (02:06 -0000)]
2002-05-18  Nick Drochak  <ndrochak@gol.com>

* DataRow.cs: Fix typo.

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

22 years ago2002-05-18 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 18 May 2002 00:50:13 +0000 (00:50 -0000)]
2002-05-18  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs: Move the null check in
        ItemArray set to above the Invalid Cast check, so
        that we don't get null reference exceptions.

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

22 years ago2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 17 May 2002 22:14:57 +0000 (22:14 -0000)]
2002-05-17  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/PostgresLibrary.cs: handle
data value from database being NULL

* System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
allow multiple result sets.  Added new internal class
SqlResult to pass result set data from SqlCommand
to SqlDataReader.

* System.Data.SqlClient/SqlDataReader.cs: allow
multiple result sets.

* System.Data.SqlClient/SqlConnection.cs: moved
things around.  Implement IDisposable.

* Test/TestSqlDataReader.cs: test for execution
of multiple result sets and display the results
of these multiple results sets

* Test/TestSqlDataAdapter.cs: tweaks

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

22 years agoAdded ConversionTest for testing Conversion class
Chris J. Breisch [Fri, 17 May 2002 22:06:16 +0000 (22:06 -0000)]
Added ConversionTest for testing Conversion class

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

22 years agoFixed so that 'test' is run in 'test' and not 'all'
Chris J. Breisch [Fri, 17 May 2002 22:05:06 +0000 (22:05 -0000)]
Fixed so that 'test' is run in 'test' and not 'all'

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

22 years agoFirst 'real' version
Chris J. Breisch [Fri, 17 May 2002 22:04:00 +0000 (22:04 -0000)]
First 'real' version

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

22 years agoUpdate list
Miguel de Icaza [Fri, 17 May 2002 21:50:51 +0000 (21:50 -0000)]
Update list

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

22 years agoOk, at least MCS does not crash anymore when compiling the System assembly.
Miguel de Icaza [Fri, 17 May 2002 21:50:13 +0000 (21:50 -0000)]
Ok, at least MCS does not crash anymore when compiling the System assembly.
It still fails to compile it though

2002-05-17  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: (RegisterBuilder): New function used to register
TypeBuilders that implement interfaces.  Since
TypeBuilder.GetInterfaces (as usual) does not work with lame
Reflection.Emit.
(AddUserType): register interfaces.

(ImplementsInterface): Use the builder_to_ifaces hash if we are
dealing with TypeBuilder.  Also, arrays are showing up as
SymbolTypes, which are not TypeBuilders, but whose GetInterfaces
methods can not be invoked on them!

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

22 years ago2002-05-17 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 17 May 2002 20:54:14 +0000 (20:54 -0000)]
2002-05-17  Duncan Mak  <duncan@ximian.com>

* System.Web.build: Added new arguments: "/noconfig",
"/r:System.Drawing.dll" and "/r:System.Xml.dll".

* AttributeCollection.cs:
* ControlCollection.cs:
* CssStyleCollection.cs:
* DataBindingCollection.cs:
* EmptyControlCollection.cs: Added missing Collection classes.

* BaseParser.cs:
* TemplateParser.cs:  Implemented. BaseParser is weird because
there is no documentation on what it does.

* ControlBuilder.cs:

* DataBinder.cs:
* DataBinding.cs: Added.

* DataBoundLiteralControl.cs:
* Triplet.cs: Added.

* RenderMethod.cs: Added this delegate for Control.cs

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

22 years agoAdd more tests
Miguel de Icaza [Fri, 17 May 2002 20:25:15 +0000 (20:25 -0000)]
Add more tests

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

22 years ago2002-05-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 17 May 2002 20:13:44 +0000 (20:13 -0000)]
2002-05-17  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (ExplicitReferenceConversionExists): Made public.
(ImplicitReferenceConversionExists): Split out from
StandardConversionExists.

* expression.cs (As): We were only implementing one of the three
cases for the as operator.  We now implement them all.
(Is): Implement the various other cases for Is as well.

* typemanager.cs (CACHE): New define used to control if we want or
not the FindMembers cache.  Seems to have a negative impact on
performance currently

(MemberLookup): Nested types have full acess to
enclosing type members

Remove code that coped with instance/static returns for events, we
now catch this in RealFindMembers.

(RealFindMembers): only perform static lookup if the instance
lookup did not return a type or an event.

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

22 years ago2002-05-17 Radek Doulik <rodo@ximian.com>
Radek Doulik [Fri, 17 May 2002 18:40:59 +0000 (18:40 -0000)]
2002-05-17  Radek Doulik  <rodo@ximian.com>

* interp.c (dump_stack): if --noptr then print content of strings
in form [str:<printed string>]

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

22 years ago2002-05-17 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 17 May 2002 16:38:00 +0000 (16:38 -0000)]
2002-05-17  Tim Coleman <tim@timcoleman.com>
        * System.Data.Common/DbDataAdapter.cs:
                - More implementation of Fill methods
                - Get rid of isDirty flag, because we can just check
                        if the table exists
                - Do *not* remove DataTables before Filling them
                - Implicitly open the connection before doing a Fill
                        if it does not exist.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                - Minor fixup
        * System.Data/DataTableCollection.cs:
                - Add DataSet to internal, undocumented constructor
                - When a table is created, set its DataSet property
                - Default table name for creation is "Table1" (see .NET)
                - Inherit the ArrayList list from InternalDataCollecitonBase
                        and maintain a hashtable between table names and
                        DataTables
        * System.Data/DataTable.cs:
                - Add internal dataSet field.  This is used by
                        DataTableCollection when the DataTable is constructed.
        * System.Data/DataSet.cs:
                - Pass a reference to the DataSet when constructing the
                        DataTableCollection.

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

22 years ago * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
Lawrence Pit [Fri, 17 May 2002 15:53:05 +0000 (15:53 -0000)]
  * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
* NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
routines, added checks for disposed state.

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

22 years ago2002-05-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 17 May 2002 15:49:33 +0000 (15:49 -0000)]
2002-05-17  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (CACHE): New define used to control if we want or
not the FindMembers cache.  Seems to have a negative impact on
performance currently

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

22 years ago2002-05-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 17 May 2002 15:01:04 +0000 (15:01 -0000)]
2002-05-17  Miguel de Icaza  <miguel@ximian.com>

* MonoType.cs: Style changes.

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

22 years ago2002-05-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 17 May 2002 14:56:14 +0000 (14:56 -0000)]
2002-05-17  Miguel de Icaza  <miguel@ximian.com>

* Type.cs: Style changes.

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

22 years agoFri May 17 20:39:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 17 May 2002 14:53:17 +0000 (14:53 -0000)]
Fri May 17 20:39:53 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: ValueType_GetHashCode() initialize local var.

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

22 years agoAdd new test
Miguel de Icaza [Fri, 17 May 2002 10:58:08 +0000 (10:58 -0000)]
Add new test

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

22 years ago2002-05-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 17 May 2002 07:45:24 +0000 (07:45 -0000)]
2002-05-17  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (reg): fixed array bound check

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

22 years ago2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Fri, 17 May 2002 07:35:54 +0000 (07:35 -0000)]
2002-05-17  Dan Lewis  <dihlewis@yahoo.co.uk>

* FileStream.cs: Enforce lower bound on buffer size.

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

22 years agonew test
Dietmar Maurer [Fri, 17 May 2002 07:30:43 +0000 (07:30 -0000)]
new test

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

22 years ago2002-05-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 17 May 2002 06:22:30 +0000 (06:22 -0000)]
2002-05-17  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (enter_method): print method signature

* exception.c (arch_handle_exception): set trace info before we
call handlers.

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

22 years ago2002-05-17 Lawrence Pit <loz@cable.a2000.nl>
Lawrence Pit [Fri, 17 May 2002 03:54:41 +0000 (03:54 -0000)]
2002-05-17  Lawrence Pit <loz@cable.a2000.nl>
* UdpClient.cs and TcpClient.cs: modified disposable routines, added
checks for disposed state.
* UdpClient.cs: commented out GetHashCode and Equals as it's not
overriden in ms.net implementation.

2002-05-17  Jaroslaw Kowalski <jarek@atm.com.pl>
* TcpClient.cs: fixed SetTcpClient so that
TcpListener.AcceptTcpClient works and allows
you to call GetStream() on its result

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

22 years ago2002-05-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 17 May 2002 02:02:21 +0000 (02:02 -0000)]
2002-05-17  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (CompoundAssign): We pass more semantic information
now to Compound Assignments than we did before: now we have all
the information at hand, and now we resolve the target *before* we
do the expression expansion, which allows the "CacheValue" method
to have the effect we intended (before, a [x] += 1 would generate
two differen ArrayAccess expressions from the ElementAccess,
during the resolution process).

(CompoundAssign.DoResolve): Resolve target and original_source here.

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

22 years ago2002-05-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 16 May 2002 23:51:31 +0000 (23:51 -0000)]
2002-05-16  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayAccess): dropped debugging information.

* typemanager.cs: Small bug fix: I was always returning i_members,
instead of one of i_members or s_members (depending on which had
the content).

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

22 years agoI made a boo-boo on the last check in.
Tim Coleman [Thu, 16 May 2002 23:41:32 +0000 (23:41 -0000)]
I made a boo-boo on the last check in.

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 23:36:34 +0000 (23:36 -0000)]
2002-05-16  Tim Coleman  <tim@timcoleman.com>
        * TestSqlDataAdapter.cs: Added the foreach loop to iterate through
        all of the DataRows in the DataSet table "Table", as the
        GetEnumerator method of InternalDataCollectionBase has now been
        implemented.

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 23:29:13 +0000 (23:29 -0000)]
2002-05-16  Tim Coleman <tim@timcoleman.com>
        * System.Data.Common/DbDataAdapter.cs:
                Use table.Rows.Add (itemArray) instead of
                table.Rows.Add (thisRow) to provide better
                abstraction.
        * System.Data/DataRowCollection.cs:
                Some implementation of this class.
        * System.Data/InternalDataCollectionBase.cs:
                Some implementation.  Most notably, this now
                has an enumerator so we can use foreach (DataRow row in table.Rows)
                in the test classes.
        * System.Data/DataTable.cs:
                Since DataRowCollection now accepts a DataTable in
                its internal constructor, we must pass one in.

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

22 years ago2002/05/17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 16 May 2002 22:39:33 +0000 (22:39 -0000)]
2002/05/17  Nick Drochak <ndrochak@gol.com>

* System.Data_test.build: Remove RunTests from the default build. We
can add this later, but it keeps the build from breaking for now.

* TestSqlDataAdapter.cs: Fix build breaker.

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

22 years ago2002-05-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 16 May 2002 20:53:48 +0000 (20:53 -0000)]
2002-05-16  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (IAssignMethod.CacheTemporaries): New method.  This
method is invoked before any code generation takes place, and it
is a mechanism to inform that the expression will be invoked more
than once, and that the method should use temporary values to
avoid having side effects

(Assign.Emit): Call CacheTemporaries in the IAssignMethod.

* ecore.cs (Expression.CacheTemporaries): Provide empty default
implementation.

* expression.cs (Indirection, ArrayAccess): Add support for
CacheTemporaries in these two bad boys.

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

22 years ago2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 16 May 2002 19:55:15 +0000 (19:55 -0000)]
2002-05-16  Daniel Morgan <danmorg@sc.rr.com>

* Test/TestSqlDataAdapter.cs: added new test
for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
DataRowCollection, and DataRow.  It tests retrieving data
based on a SQL SELECT query.  This test is based on Tim Coleman's
test he sent to me.

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

22 years agoUpdate compiler docs
Miguel de Icaza [Thu, 16 May 2002 19:21:27 +0000 (19:21 -0000)]
Update compiler docs

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

22 years ago2002-05-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 16 May 2002 18:56:07 +0000 (18:56 -0000)]
2002-05-16  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (LoadFromPtr): figure out on our own if we need to use
ldobj or ldind_ref.
(StoreFromPtr): Handle stobj as well.

* expression.cs (UnaryMutator): Share more code.

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

22 years ago2002-05-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 16 May 2002 17:19:15 +0000 (17:19 -0000)]
2002-05-16  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (FindMembers): Thanks to Paolo for tracking this
down: I was not tracking the Filter function as well, which
was affecting the results of the cache.

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

22 years ago2002-05-15 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 17:12:43 +0000 (17:12 -0000)]
2002-05-15  Tim Coleman <tim@timcoleman.com>
        * System.Data.Common/DbDataAdapter.cs:
                Use table.Rows.Add (thisRow) instead of
                table.ImportRow (thisRow)
        * System.Data/DataRowCollection.cs:
                Construct the ArrayList before using it

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

22 years agoFrom:
Miguel de Icaza [Thu, 16 May 2002 16:27:00 +0000 (16:27 -0000)]
From:

// Krister Hansson (ds99krha@thn.htu.se)
// Andreas Jonsson (ds99anjn@thn.htu.se)

ConverTest regression test suite.

Excellent!

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

22 years agoJaroslaw Kowalski <jarek@atm.com.pl>: Report EADDRINUSE error
Miguel de Icaza [Thu, 16 May 2002 16:15:28 +0000 (16:15 -0000)]
Jaroslaw Kowalski <jarek@atm.com.pl>: Report EADDRINUSE error

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

22 years agoJaroslaw Kowalski <jarek@atm.com.pl>: Update w32 error descriptions
Miguel de Icaza [Thu, 16 May 2002 16:14:50 +0000 (16:14 -0000)]
Jaroslaw Kowalski <jarek@atm.com.pl>: Update w32 error descriptions

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 14:25:35 +0000 (14:25 -0000)]
2002-05-16  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataTable.cs:
                Construct the DataRowCollection in the DataTable
                constructor.  Otherwise, it's a null reference.

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

22 years ago2002-05-16 Radek Doulik <rodo@ximian.com>
Radek Doulik [Thu, 16 May 2002 14:19:27 +0000 (14:19 -0000)]
2002-05-16  Radek Doulik  <rodo@ximian.com>

* interp.c (ves_exec_method): use data.i instead of data.l in i32
case
(ves_exec_method): set type in I64 <--> I32 conversions

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

22 years ago * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
Piers Haken [Thu, 16 May 2002 13:44:04 +0000 (13:44 -0000)]
* Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.

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

22 years ago * UInt64.cs: fix declaration of IConvertible.To* overrides.
Piers Haken [Thu, 16 May 2002 13:37:22 +0000 (13:37 -0000)]
* UInt64.cs: fix declaration of IConvertible.To* overrides.

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

22 years ago2002-05-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 16 May 2002 12:03:38 +0000 (12:03 -0000)]
2002-05-17  Nick Drochak  <ndrochak@gol.com>

* StreamWriter.cs: Implement buffering.  Also implemented dispose
pattern as recommended by the MS docs.  Must call Close() now
to ensure the buffer is flushed.

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

22 years ago2002-05-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 16 May 2002 12:00:52 +0000 (12:00 -0000)]
2002-05-16  Nick Drochak  <ndrochak@gol.com>

* Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
now that StreamWriter uses buffering

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

22 years agoThu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 May 2002 11:34:30 +0000 (11:34 -0000)]
Thu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>

* main.c, dump,c, get.h, get.c: diassemble custom attributes.

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

22 years agoThu May 16 17:20:22 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 May 2002 11:33:28 +0000 (11:33 -0000)]
Thu May 16 17:20:22 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: sort custom attributes table.

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

22 years agoThu May 16 16:09:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 May 2002 10:23:13 +0000 (10:23 -0000)]
Thu May 16 16:09:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: complete special acse support for CharSet, Size and
Pack named args in StructLayout attribute.

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

22 years agoThu May 16 16:08:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 May 2002 10:21:54 +0000 (10:21 -0000)]
Thu May 16 16:08:01 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: support named args in custom attributes (write support).

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

22 years ago2002-05-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 16 May 2002 09:42:37 +0000 (09:42 -0000)]
2002-05-16  Nick Drochak  <ndrochak@gol.com>

* BitConverter.cs (ToString): Add parameter check for invalid start
index.

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

22 years agoThu May 16 13:04:59 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 May 2002 07:18:12 +0000 (07:18 -0000)]
Thu May 16 13:04:59 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: fix finally position calculation.

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

22 years agoremoved #include <mono/io-layer/threads.h>
Dietmar Maurer [Thu, 16 May 2002 07:01:30 +0000 (07:01 -0000)]
removed #include <mono/io-layer/threads.h>
CVS ----------------------------------------------------------------------

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

22 years ago2002-05-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 16 May 2002 06:49:16 +0000 (06:49 -0000)]
2002-05-16  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_find_final_block): make it work with mcs

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

22 years agoanother test
Dietmar Maurer [Thu, 16 May 2002 05:06:02 +0000 (05:06 -0000)]
another test

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

22 years agoexception fixes - unfortunately this does not work with mcs compiled binaries
Dietmar Maurer [Thu, 16 May 2002 04:40:21 +0000 (04:40 -0000)]
exception fixes - unfortunately this does not work with mcs compiled binaries

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

22 years ago2002-05-16 Radek Doulik <rodo@ximian.com>
Radek Doulik [Thu, 16 May 2002 03:05:26 +0000 (03:05 -0000)]
2002-05-16  Radek Doulik  <rodo@ximian.com>

* interp.c (ves_exec_method): use data.i instead of data.l in i32
case

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 02:34:45 +0000 (02:34 -0000)]
2002-05-16  Tim Coleman <tim@timcoleman.com>
        * System.Data.SqlClient/SqlDataReader.cs:
                Modify GetValues to use Array.Copy() to copy
                the results from fields to values, rather than
                an assignment, which results in loss of data.

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 01:52:07 +0000 (01:52 -0000)]
2002-05-16  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs:
                More implementation and documentation.  It should
                work more like expected, although there is no way
                to demonstrate this well yet.  DataTable requires
                more work.

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

22 years agoRemove test 120 from the MIcrosoft build
Miguel de Icaza [Wed, 15 May 2002 21:18:31 +0000 (21:18 -0000)]
Remove test 120 from the MIcrosoft build

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

22 years ago2002-05-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 May 2002 21:18:04 +0000 (21:18 -0000)]
2002-05-15  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs: Remove the hack to handle the CharSet property on
StructLayouts.

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

22 years agoops, unsaved entry
Radek Doulik [Wed, 15 May 2002 17:24:15 +0000 (17:24 -0000)]
ops, unsaved entry

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

22 years ago2002-05-15 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 15 May 2002 16:01:51 +0000 (16:01 -0000)]
2002-05-15  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs:
                Minor tweaks as I determine exactly how to
                implement this class.

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

22 years agoadded note about running mcs
Radek Doulik [Wed, 15 May 2002 14:23:37 +0000 (14:23 -0000)]
added note about running mcs

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

22 years ago2002-05-15 Radek Doulik <rodo@ximian.com>
Radek Doulik [Wed, 15 May 2002 14:22:06 +0000 (14:22 -0000)]
2002-05-15  Radek Doulik  <rodo@ximian.com>

* reflection.c: fixed endianess at many places

* icall.c (ves_icall_InitializeArray): comment out debug msg

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

22 years ago2002-05-15 Radek Doulik <rodo@ximian.com>
Radek Doulik [Wed, 15 May 2002 14:19:57 +0000 (14:19 -0000)]
2002-05-15  Radek Doulik  <rodo@ximian.com>

* interp.c (ves_runtime_method): moved stackval_from_data call
inside #else branch, consulted on irc with lupus

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

22 years agofixed delegates return values
Radek Doulik [Wed, 15 May 2002 14:19:24 +0000 (14:19 -0000)]
fixed delegates return values

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

22 years agoTidied up copyrights.
Dan Lewis [Wed, 15 May 2002 13:31:49 +0000 (13:31 -0000)]
Tidied up copyrights.

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

22 years agoadded original copyright notice
Dietmar Maurer [Wed, 15 May 2002 13:17:11 +0000 (13:17 -0000)]
added original copyright notice

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

22 years ago(mono_runtime_delegate_invoke): impl.
Dietmar Maurer [Wed, 15 May 2002 12:58:41 +0000 (12:58 -0000)]
(mono_runtime_delegate_invoke): impl.

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

22 years agoremoved exception9.cs because that test have to fail
Dietmar Maurer [Wed, 15 May 2002 12:30:39 +0000 (12:30 -0000)]
removed exception9.cs because that test have to fail

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

22 years ago2002-05-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 15 May 2002 12:23:20 +0000 (12:23 -0000)]
2002-05-15  Dietmar Maurer  <dietmar@ximian.com>

* object.c (mono_unhandled_exception): new function to handle
unhandled exceptions.
(mono_unhandled_exception): call the UnhandledException event.

i * interp.c (ves_exec_method): use new mono_unhandled_exception()

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