Radek Doulik [Mon, 20 May 2002 13:40:35 +0000 (13:40 -0000)]
(ves_exec_method): use stackval_to_data as pointed out by lupus
svn path=/trunk/mono/; revision=4785
Johannes Roith [Mon, 20 May 2002 12:44:27 +0000 (12:44 -0000)]
add missing .cvsignore file
svn path=/trunk/mono/; revision=4784
Nick Drochak [Mon, 20 May 2002 12:42:32 +0000 (12:42 -0000)]
2002-05-21 Nick Drochak <ndrochak@gol.com>
* Math.cs
(Ceiling): Check for "special" values
(Floor): Check for "special" values
(Round): Fix off-by-one error on decimal shifting
svn path=/trunk/mcs/; revision=4783
Nick Drochak [Mon, 20 May 2002 12:39:20 +0000 (12:39 -0000)]
2002-05-21 Nick Drochak <ndrochak@gol.com>
* MathTest.cs: Better reporting of failures
* Int64Test.cs: Add try-catch to determine where we are throwing.
svn path=/trunk/mcs/; revision=4782
Miguel de Icaza [Mon, 20 May 2002 12:15:06 +0000 (12:15 -0000)]
Fix build for Windows people
svn path=/trunk/mono/; revision=4781
Lawrence Pit [Mon, 20 May 2002 12:03:35 +0000 (12:03 -0000)]
* DateTime.cs: ToString () using "G" format specifier
svn path=/trunk/mcs/; revision=4780
Paolo Molaro [Mon, 20 May 2002 11:51:37 +0000 (11:51 -0000)]
Mon May 20 17:36:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
* icall.c, reflection.h: added icall to get info about an event.
svn path=/trunk/mono/; revision=4778
Paolo Molaro [Mon, 20 May 2002 11:50:55 +0000 (11:50 -0000)]
Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
* MonoEvent.cs: fill-in the implementation.
svn path=/trunk/mcs/; revision=4777
Radek Doulik [Mon, 20 May 2002 11:40:17 +0000 (11:40 -0000)]
2002-05-20 Radek Doulik <rodo@ximian.com>
* object.c (mono_value_box): don't use memcpy for boxing on BIG
endian
svn path=/trunk/mono/; revision=4776
Radek Doulik [Mon, 20 May 2002 11:38:56 +0000 (11:38 -0000)]
2002-05-20 Radek Doulik <rodo@ximian.com>
* interp.c (dump_stack): print boxed values for --noptr
svn path=/trunk/mono/; revision=4775
Miguel de Icaza [Mon, 20 May 2002 11:08:16 +0000 (11:08 -0000)]
2002-05-20 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Is): Bandaid until we fix properly Switch (see
bug #24985 for details).
* typemanager.cs (ImplementsInterface): The hashtable will contain
a null if there are no interfaces implemented.
2002-05-18 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (indexer_declarator): It is fine to have array
parameters
svn path=/trunk/mcs/; revision=4774
Miguel de Icaza [Mon, 20 May 2002 10:38:34 +0000 (10:38 -0000)]
Remove old files, as they are now elsewhere
svn path=/trunk/mcs/; revision=4773
Nick Drochak [Mon, 20 May 2002 10:35:15 +0000 (10:35 -0000)]
2002-05-20 Nick Drochak <ndrochak@gol.com>
* AttributeTest.cs (TestGetCustomAttribute): Add try-catch to find out
which assert is failing.
svn path=/trunk/mcs/; revision=4772
Daniel Morgan [Sun, 19 May 2002 22:33:55 +0000 (22:33 -0000)]
2002-05-19 Daniel Morgan <danmorg@sc.rr.com>
* doc/ado-net: updated page to include C# code snippets using
System.Data. Update status: handle reading NULL values, DataSet/DataAdapter
works, executing/reading multiple results, and stored procedures.
And other tweaks about the providers.
svn path=/trunk/mono/; revision=4771
Martin Baulig [Sun, 19 May 2002 19:59:28 +0000 (19:59 -0000)]
2002-05-20 Martin Baulig <martin@gnome.org>
* TypeBuilder.cs (DefineField): Call the new `create_internal_class'
interncall after adding the first field. This is used when creating
enum types to set `klass->enum_basetype'.
svn path=/trunk/mcs/; revision=4769
Martin Baulig [Sun, 19 May 2002 19:55:22 +0000 (19:55 -0000)]
2002-05-20 Martin Baulig <martin@gnome.org>
* reflection.c (mono_reflection_setup_internal_class): Don't crash
if `tb->parent == NULL'.
(mono_reflection_create_internal_class): New function. This is
called from TypeBuilder.CreateType() and sets `klass->enum_basetype'
for enum types.
* icall.c ("System.Reflection.Emit.TypeBuilder::create_internal_class"):
New interncall.
svn path=/trunk/mono/; revision=4768
Lawrence Pit [Sun, 19 May 2002 16:46:48 +0000 (16:46 -0000)]
* Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
prevent endless loops.
svn path=/trunk/mcs/; revision=4767
Lawrence Pit [Sun, 19 May 2002 15:47:37 +0000 (15:47 -0000)]
* FileWebRequestTest.cs: all the async methods tests to behave the same
as in ms.net
svn path=/trunk/mcs/; revision=4766
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
Miguel de Icaza [Sun, 19 May 2002 15:03:12 +0000 (15:03 -0000)]
Sorry about that
svn path=/trunk/mono/; revision=4764
Miguel de Icaza [Sun, 19 May 2002 14:59:43 +0000 (14:59 -0000)]
Updates to ASP.NET
svn path=/trunk/mono/; revision=4763
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
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
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
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
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
Martin Baulig [Sun, 19 May 2002 11:38:07 +0000 (11:38 -0000)]
Ooooops, sorry for being stupid ....
svn path=/trunk/mcs/; revision=4757
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sat, 18 May 2002 18:27:50 +0000 (18:27 -0000)]
Flush
svn path=/trunk/mono/; revision=4747
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris J. Breisch [Fri, 17 May 2002 22:04:00 +0000 (22:04 -0000)]
First 'real' version
svn path=/trunk/mcs/; revision=4730
Miguel de Icaza [Fri, 17 May 2002 21:50:51 +0000 (21:50 -0000)]
Update list
svn path=/trunk/mcs/; revision=4728
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
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
Miguel de Icaza [Fri, 17 May 2002 20:25:15 +0000 (20:25 -0000)]
Add more tests
svn path=/trunk/mcs/; revision=4725
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 17 May 2002 10:58:08 +0000 (10:58 -0000)]
Add new test
svn path=/trunk/mcs/; revision=4716
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
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
Dietmar Maurer [Fri, 17 May 2002 07:30:43 +0000 (07:30 -0000)]
new test
svn path=/trunk/mono/; revision=4713
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Thu, 16 May 2002 19:21:27 +0000 (19:21 -0000)]
Update compiler docs
svn path=/trunk/mcs/; revision=4700
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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