mono.git
22 years ago2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 4 May 2002 20:56:53 +0000 (20:56 -0000)]
2002-05-03  Rodrigo Moya <rodrigo@ximian.com>

* AttributeCollection.cs:
* EventDescriptor.cs:
* EventDescriptorCollection.cs:
* ICustomTypeDescriptor.cs: new files.

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

22 years ago2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sat, 4 May 2002 20:23:29 +0000 (20:23 -0000)]
2002-05-04  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/PostgresLibrary.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlDataReader.cs
oid should not be hard coded because they
can change from one version of PostgreSQL
to the next.  Use the typname's instead.
The PostgreSQL type data retrieves
at database connection time.  Any unimplemented
types just default to string.  These were things
suggested by Gonzalo.

* Test/ReadPostgresData.cs - stuff
* Test/TestSqlDataReader.cs - stuff

* System.Data.SqlTypes/SqlInt32.cs - added a using

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

22 years agoRemove stale debugging message
Miguel de Icaza [Sat, 4 May 2002 18:12:21 +0000 (18:12 -0000)]
Remove stale debugging message

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

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

* delegate.cs: If we are a toplevel delegate, use our full name.
If we are a nested delegate, then only use our tail name.

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

22 years agoImprove test to check for toplevel namespaced delegates
Miguel de Icaza [Sat, 4 May 2002 17:49:40 +0000 (17:49 -0000)]
Improve test to check for toplevel namespaced delegates

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

22 years agoGet the build to go
Miguel de Icaza [Sat, 4 May 2002 16:10:59 +0000 (16:10 -0000)]
Get the build to go

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

22 years ago2002-05-04 Dwivedi, Ajay kumar <adwiv@yahoo.com>
Ajay kumar Dwivedi [Sat, 4 May 2002 14:13:51 +0000 (14:13 -0000)]
2002-05-04  Dwivedi, Ajay kumar <adwiv@yahoo.com>
* XmlSchemaUtil.cs: New file added.

* Parser.cs: New file Added. Unused at the moment.

* XmlSchemaObjectCollection: Fixed GetEnumerator

* General: Preprocessing for Attributes and SimpleTypes completed.

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

22 years ago2002-05-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 May 2002 11:36:10 +0000 (11:36 -0000)]
2002-05-03  Tim Coleman <tim@timcoleman.com>
        * System.Data.build: Fix the build so that test depends on build

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 4 May 2002 11:32:12 +0000 (11:32 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* StreamReaderTest.cs: Change location of sample file. Use memory
stream instead of file stream to eliminate reliance on file io
for now.  That area is still a bit immature.

* resources: New directory to hold files open/read, etc. by unit
tests.

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

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

* StreamReader.cs: Throw exceptions where needed. Changed Null field to
use new internal class since null cannot be passed to constructor
anymore. Also, fix a coule of small bugs.

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

22 years agoIgnore dll's and pdb's
Nick Drochak [Sat, 4 May 2002 11:13:40 +0000 (11:13 -0000)]
Ignore dll's and pdb's

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

22 years agoDoh!
Paolo Molaro [Sat, 4 May 2002 11:00:56 +0000 (11:00 -0000)]
Doh!

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

22 years agoUpdates for changes in mono_assembly_open () interface.
Paolo Molaro [Sat, 4 May 2002 09:15:44 +0000 (09:15 -0000)]
Updates for changes in mono_assembly_open () interface.

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

22 years agoSat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 4 May 2002 09:14:56 +0000 (09:14 -0000)]
Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Assembly.cs, AssemblyName.cs: updates and fixes.

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

22 years agoSat May 4 14:03:21 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 4 May 2002 09:14:52 +0000 (09:14 -0000)]
Sat May 4 14:03:21 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.c, appdomain.h, assembly.c, assembly.h, image.h,
icall.c, reflection.h: separate assembly loading by pathname and by
assembly name. Use the MONO_PATH env var to search for assemblies.

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

22 years ago2002-05-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 May 2002 01:28:41 +0000 (01:28 -0000)]
2002-05-03 Tim Coleman <tim@timcoleman.com>
library.build: Add "test" target for System.Data

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

22 years agoAdd "test" build target.
Tim Coleman [Sat, 4 May 2002 01:25:39 +0000 (01:25 -0000)]
Add "test" build target.

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

22 years agoNew files to begin the System.Data.SqlTypes test structure.
Tim Coleman [Sat, 4 May 2002 01:17:50 +0000 (01:17 -0000)]
New files to begin the System.Data.SqlTypes test structure.

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

22 years agoNew source and build information to allow "make test" to work with
Tim Coleman [Sat, 4 May 2002 01:16:46 +0000 (01:16 -0000)]
New source and build information to allow "make test" to work with
System.Data.  This uses the NUnit.Framework now.  Also added a
ChangeLog to track Test changes.

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

22 years agoModify the ChangeLog to reflect recent changes. Also, added
Tim Coleman [Fri, 3 May 2002 23:04:55 +0000 (23:04 -0000)]
Modify the ChangeLog to reflect recent changes.  Also, added
System.Data.SqlTypes to the build because it isn't so broken
anymore.

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

22 years agoThis fixes the updates last made by Rodrigo. Somehow the patch I sent
Tim Coleman [Fri, 3 May 2002 22:51:43 +0000 (22:51 -0000)]
This fixes the updates last made by Rodrigo.  Somehow the patch I sent
him only included four of the changed files.  This touches the rest of
the System.Data.SqlTypes.  This directory should actually compile (!)
now.

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

22 years ago2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 3 May 2002 22:02:07 +0000 (22:02 -0000)]
2002-05-03  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.build: removed comments

* System.Data.SqlClient/PostgresLibrary.cs: changed
the hard-coded PostgreSQL oid type int's to using an
enum.  Also, added PostgreSQL bpchar (character) type.

* Test/TestSqlDataReader.cs: updated test
to include new bpchar PostgreSQL type

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

22 years ago* removed enums.cs. These enums have been put in seperate files, and moved to System...
Dennis Hayes [Fri, 3 May 2002 21:14:40 +0000 (21:14 -0000)]
* removed enums.cs. These enums have been put in seperate files, and moved to System.Windows.Forms\System.Windows.Forms, as they should have been to begin with.

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

22 years ago* Corrected some enum values.
Dennis Hayes [Fri, 3 May 2002 21:06:18 +0000 (21:06 -0000)]
* Corrected some enum values.
* Minor formatting.

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

22 years ago* added BorderStyle.cs, it got left out in the last commit
Dennis Hayes [Fri, 3 May 2002 20:50:10 +0000 (20:50 -0000)]
* added BorderStyle.cs, it got left out in the last commit

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

22 years ago* Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
Dennis Hayes [Fri, 3 May 2002 20:44:23 +0000 (20:44 -0000)]
* Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
* Moved then to System.Windows.Forms\System.Windows.Forms\*.cs.
* Bursted them out, puting each enums in its own file.
* used ennumcheck to set correct values.
* Ran Monostyle on them.
* ArrangeDirection.cs enum does not have values for left and right.

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

22 years ago2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 3 May 2002 19:40:49 +0000 (19:40 -0000)]
2002-05-03  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlTypes/SqlBinary.cs:
* System.Data.SqlTypes/SqlBoolean.cs:
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlString.cs: more implementation, by
Tim Coleman <tcoleman@opentext.com>.

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

22 years agoReactivate System.Drawing build. Bugfixes and stubbing of non-trivial
Mike Kestner [Fri, 3 May 2002 17:47:11 +0000 (17:47 -0000)]
Reactivate System.Drawing build. Bugfixes and stubbing of non-trivial
build breakers.

from System.Drawing/ChangeLog

2002-05-03  Mike Kestner <mkestner@speakeasy.net>

* Bitmap.cs : using System.IO
* ColorTranslator.cs : Stubbed off build breakers.
* Image.cs : Stub off IDisposable and ICloneable.

from System.Drawing.Imaging/ChangeLog

2002-05-03  Mike Kestner  <mkestner@speakeasy.net>

* Metafile.cs : Use System.IO. Fix exception typos.

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

22 years agoAdded some missing FP opcodes and made x86_patch() handle also the call opcode.
Paolo Molaro [Fri, 3 May 2002 12:52:19 +0000 (12:52 -0000)]
Added some missing FP opcodes and made x86_patch() handle also the call opcode.

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

22 years ago * divun.cs: microbenchmark for DIV.UN opt.
Sergey Chaban [Fri, 3 May 2002 12:22:45 +0000 (12:22 -0000)]
 * divun.cs: microbenchmark for DIV.UN opt.

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

22 years ago * x86.brg: coni4 optimizations for MUL and DIV_UN;
Sergey Chaban [Fri, 3 May 2002 12:20:27 +0000 (12:20 -0000)]
 * x86.brg: coni4 optimizations for MUL and DIV_UN;

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

22 years ago2002-05-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 3 May 2002 08:07:37 +0000 (08:07 -0000)]
2002-05-03  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: use VAROFFSET macro

* emit-x86.c (tree_emit): allocate space for spilled regs in
activation frame instead of pushing them to the stack.

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

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

* x86.brg: replace BXX with CBRANCH/COMPARE
replaced CXX CSET/COMPARE

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

22 years ago2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 3 May 2002 05:16:20 +0000 (05:16 -0000)]
2002-05-03  Daniel Morgan <danmorg@sc.rr.com>

* Test/TestExecuteScalar.cs: added test for
method ExecuteScalar in class SqlCommand.

* System.Data/DataColumnCollection.cs - it should
inherit properties from base InternalDataCollectionBase
and use them instead of overriding them, such as, List.

* System.Data/DataColumn.cs
* System.Data/DataTable.cs: tweaks to retrieve
meta data from the database

* System.Data.SqlClient/PostgresLibrary.cs -
added method OidToType to convert PostgreSQL oid type
to System.Type.  Renamed method OidTypeToSystem
to ConvertPgTypeToSystem for converting the data value
from a PostgreSQL type to a .NET System type.

* System.Data.SqlClient/SqlCommand.cs: implemented
method ExecuteReader which returns a SqlDataReader
for a light forward only read only result set.
It works on types int4 ==> Int32 and
varchar ==> String.  Other types
will come later.

* System.Data.SqlClient/SqlConnection.cs: added comment

* System.Data.SqlClient/SqlDataReader.cs: implemented
class.  It works, but still lots to do.

* Test/ReadPostgresData.cs: stuff

* Test/TestSqlDataReader.cs: updated test for SqlDataReader
to display meta data and the data

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

22 years ago2002-05-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 3 May 2002 02:58:04 +0000 (02:58 -0000)]
2002-05-03  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (arch_allocate_regs): improved register allocation

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

22 years agoremove more un-needed code
Miguel de Icaza [Fri, 3 May 2002 01:15:28 +0000 (01:15 -0000)]
remove more un-needed code

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

22 years agoFlush
Miguel de Icaza [Fri, 3 May 2002 01:13:42 +0000 (01:13 -0000)]
Flush

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

22 years agoFlush
Miguel de Icaza [Fri, 3 May 2002 00:49:22 +0000 (00:49 -0000)]
Flush

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

22 years agoGet the build going again
Miguel de Icaza [Fri, 3 May 2002 00:33:34 +0000 (00:33 -0000)]
Get the build going again

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

22 years agoAdded a missing line to enable Locale.GetText.
Duncan Mak [Fri, 3 May 2002 00:28:22 +0000 (00:28 -0000)]
Added a missing line to enable Locale.GetText.

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

22 years agoTemporary hack, as we still use MS libs for now
Miguel de Icaza [Fri, 3 May 2002 00:24:47 +0000 (00:24 -0000)]
Temporary hack, as we still use MS libs for now

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

22 years ago2002-05-03 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 3 May 2002 00:15:44 +0000 (00:15 -0000)]
2002-05-03  Duncan Mak  <duncan@ximian.com>

* TODO: Took out all the Exceptions. They should be all done now.

* System.Data/ConstraintException.cs:
* System.Data/DBConcurrencyException.cs:
* System.Data/DataException.cs:
* System.Data/DeletedRowInaccessibleException.cs:
* System.Data/DuplicateNameException.cs:
* System.Data/EvaluateException.cs:
* System.Data/InRowChangingEventException.cs:
* System.Data/InvalidConstraintException.cs:
* System.Data/InvalidExpressionException.cs:
* System.Data/MissingPrimaryKeyException.cs:
* System.Data/NoNullAllowedException.cs:
* System.Data/ReadOnlyException.cs:
* System.Data/RowNotInTableException.cs:
* System.Data/StrongTypingException.cs:
* System.Data/SyntaxErrorException.cs:
* System.Data/TypeDataSetGeneratorException.cs:
* System.Data/VersionNotFoundException.cs: Added to CVS.

* System.Data.SqlTypes/SqlNullValueException.cs:
* System.Data.SqlTypes/SqlTruncateException.cs:
* System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.

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

22 years agoUpdated TODO
Rodrigo Moya [Thu, 2 May 2002 19:51:50 +0000 (19:51 -0000)]
Updated TODO

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

22 years ago2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 2 May 2002 19:34:25 +0000 (19:34 -0000)]
2002-05-02  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataViewSettingCollection.cs: implemented.

* System.Data/DataRowView.cs: new stubs.

* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlDateTime.cs:
* System.Data.SqlTypes/SqlDecimal.cs:
* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlGuid.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt64.cs:
* System.Data.SqlTypes/SqlMoney.cs:
* System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
by Tim Coleman <tcoleman@opentext.com>

* System.Data.build: excluded newly-added files.

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 16:21:28 +0000 (16:21 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* delegate.cs : Handle the case when we have more than one applicable
method. Flag an error only when we finish checking all.

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 16:19:29 +0000 (16:19 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* test-114.cs : Add.

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 15:47:21 +0000 (15:47 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* expression.cs (IsApplicable): Ensure that we add the "&" to
ref/out types before comparing it with the type of the argument.

(IsParamsMethodApplicable): Ditto.

(Argument.Type): Use TypeManager.LookupType instead of Type.GetType -
silly me ;-)

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 15:44:42 +0000 (15:44 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* test-113.cs : Another test for overload resolution ;-)

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

22 years agoPCL-CVS
Daniel Carrera [Thu, 2 May 2002 15:19:16 +0000 (15:19 -0000)]
PCL-CVS

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

22 years ago*** empty log message ***
Daniel Carrera [Thu, 2 May 2002 15:15:37 +0000 (15:15 -0000)]
*** empty log message ***

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

22 years agoPCL-CVS
Daniel Carrera [Thu, 2 May 2002 15:12:53 +0000 (15:12 -0000)]
PCL-CVS

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

22 years agoMinor update to FeatureSupport.cs.
Daniel Carrera [Thu, 2 May 2002 14:17:59 +0000 (14:17 -0000)]
Minor update to FeatureSupport.cs.

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

22 years ago2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 May 2002 13:51:41 +0000 (13:51 -0000)]
2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* Int64.cs:
* UInt32.cs:
* UInt64.cs (Parse): don't use a delegate to test for valid digits.

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

22 years ago2002-05-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 May 2002 13:19:39 +0000 (13:19 -0000)]
2002-05-02  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Add support for boolean static initializers.

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

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

* MemoryStream.cs: Refrain from allocating array until the space is
really needed. This fixes a bug in the Length property when the
constructor without the byte array is used.

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

22 years agoTest for Char.IsNumber.
Paolo Molaro [Thu, 2 May 2002 12:13:19 +0000 (12:13 -0000)]
Test for Char.IsNumber.

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

22 years agoThu May 2 17:56:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 May 2002 12:12:50 +0000 (12:12 -0000)]
Thu May 2 17:56:52 CEST 2002 Paolo Molaro <lupus@ximian.com>

* assembly.c, image.h: add some support for assemblies
with multiple modules.
* class.c, class.h: export mono_class_from_typeref().
* loader.c: remove duplicated code and use mono_class_from_typeref(),
instead.

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

22 years ago2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 May 2002 10:29:03 +0000 (10:29 -0000)]
2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* Int64.cs:
* UInt32.cs:
* UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.

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

22 years agoThu May 2 15:51:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 May 2002 10:04:07 +0000 (10:04 -0000)]
Thu May 2 15:51:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* unicode.c: Char.IsNumber doesn't include hex digits as the ms
documentation says (the ECMA one is correct).

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

22 years agoThu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 May 2002 09:31:16 +0000 (09:31 -0000)]
Thu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ArrayList.cs: make mcs compile again: it's allowed to
call arraylist.CopyTo(array, 0) when the length of the array
is also 0.

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

22 years ago2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 2 May 2002 07:23:41 +0000 (07:23 -0000)]
2002-05-02  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/PostgresLibrary.cs: included new
internal class that will be a helper class in using
PostgreSQL.  PostgresLibrary is used for the
pinvoke methods to the PostgreSQL Client
native C library libpq while the class PostgresHelper
is used for wrapper or helper methods.  It currently only
has one static method OidTypeToSystem in converting
PostgreSQL types to .NET System.<type>s, such as,
a PostgreSQL int8 becomes a .NET System.Int64.
Only a few types have been added, such as, int2,
int4, int8, varchar, text, bool, and char.  Other types
will come later.

* System.Data.SqlClient/SqlCommand.cs: implemented
method ExecuteScalar which allows us to do aggregate
functions, such as, count, avg, min, max, and sum.  We
also are able to retrieve the result, convert it to the .NET type
as an object.  The user of the returned object must explicitly cast.

* Test/ReadPostgresData.cs: updated sample
to help us learn to retrieve data in System.Data.SqlClient
classes

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

22 years ago2002-05-02 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 2 May 2002 06:49:41 +0000 (06:49 -0000)]
2002-05-02  Dick Porter  <dick@ximian.com>

* threads.c: Use GC_debug_register_finalizer with GC_debug_malloc.
Don't name the synchronisation mutex.

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

22 years ago2002-05-02 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 2 May 2002 05:03:43 +0000 (05:03 -0000)]
2002-05-02  Dietmar Maurer  <dietmar@ximian.com>

* delegate.c (mono_delegate_cleanup): signal semaphore in order to
exit threads.

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

22 years ago2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Wed, 1 May 2002 23:20:22 +0000 (23:20 -0000)]
2002-05-01  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.build: added /nowarn: nnnn arguments
so you will not get a ton of warnings.  The warnings
being excluded are: 1595, 0067, 0109, 0169, and 0649

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

22 years ago2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Wed, 1 May 2002 22:33:23 +0000 (22:33 -0000)]
2002-05-01  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.build: modified to exclude more
files from the build

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

22 years ago2002-05-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 1 May 2002 21:42:29 +0000 (21:42 -0000)]
2002-05-01  Duncan Mak  <duncan@ximian.com>

    * ListChangedType.cs:
    * ListChangedEventHandler.cs:
    * ListChangedEventArgs.cs: Added to fix build.

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

22 years agoAdd small list
Miguel de Icaza [Wed, 1 May 2002 21:08:42 +0000 (21:08 -0000)]
Add small list

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

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

* PropertyDescriptorCollection.cs: Added the IList explicit
implementation methods.

lots of bug fixes to get the build to compile again.

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

22 years agoMore corlib and System.Data compilation bugs:
Miguel de Icaza [Wed, 1 May 2002 21:02:36 +0000 (21:02 -0000)]
More corlib and System.Data compilation bugs:

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

* attribute.cs: Use proper cast for Events, since we use a MyEventBuilder.

* parameter.cs (ComputeParameterTypes,
ComputeAndDefineParameterTypes): Better error handling: now we
clear the `types' cache if we fail during any of the type lookups.
We also return the status code correctly to our caller

* delegate.cs: If we fail to define a delegate, abort the extra
steps.

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

22 years agoSmall changes to get things to compile with MCS. It compiles now,
Miguel de Icaza [Wed, 1 May 2002 20:29:29 +0000 (20:29 -0000)]
Small changes to get things to compile with MCS.  It compiles now,
but there are too many missing classes that need to be stubbed out.

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

22 years agoMiggy version
Miguel de Icaza [Wed, 1 May 2002 20:15:43 +0000 (20:15 -0000)]
Miggy version

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

22 years agoMiggy version
Miguel de Icaza [Wed, 1 May 2002 20:11:34 +0000 (20:11 -0000)]
Miggy version

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

22 years agoNew file
Miguel de Icaza [Wed, 1 May 2002 20:10:28 +0000 (20:10 -0000)]
New file

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

22 years ago2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 1 May 2002 19:26:06 +0000 (19:26 -0000)]
2002-05-01  Rodrigo Moya <rodrigo@ximian.com>

* doc/ado-net: updated a little bit.

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

22 years agoFlush
Miguel de Icaza [Wed, 1 May 2002 19:22:06 +0000 (19:22 -0000)]
Flush

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

22 years ago2002-05-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 1 May 2002 18:06:51 +0000 (18:06 -0000)]
2002-05-01  Duncan Mak  <duncan@ximian.com>

* ListSortDirection.cs: EnumChecked.

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

22 years ago2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 1 May 2002 17:58:24 +0000 (17:58 -0000)]
2002-05-01  Rodrigo Moya <rodrigo@ximian.com>

* ListSortDirection.cs: new enumeration. Please, somebody run
EnumCheck on it, as I don't have a windows machine.

* PropertyDescriptorCollection.cs: new class.

* ITypedList.cs:
* IBindingList.cs: new interfaces.

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

22 years ago (ArrayAccess.DoResolve): Array Access can operate on
Miguel de Icaza [Wed, 1 May 2002 17:49:55 +0000 (17:49 -0000)]
(ArrayAccess.DoResolve): Array Access can operate on
non-variables.

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

22 years ago2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 1 May 2002 17:49:21 +0000 (17:49 -0000)]
2002-05-01  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlClient/SqlClientPermission.cs: added missing
'using's.

* System.Data/MergeFailedEventArgs.cs: new class, contributed
by John Dugaw <jdugaw@unizenconsulting.com>.

* System.Data.build: excluded new files from build.

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

22 years agomore tests
Miguel de Icaza [Wed, 1 May 2002 17:35:57 +0000 (17:35 -0000)]
more tests

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

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

* expression.cs (Binary.ResolveOperator): for
operator==(object,object) and operator !=(object, object) we also
have to verify that there is an implicit conversion from one to
the other.

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

22 years agoSerialization constructors should be protected.
Duncan Mak [Wed, 1 May 2002 14:09:49 +0000 (14:09 -0000)]
Serialization constructors should be protected.

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

22 years agoWed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 May 2002 11:22:43 +0000 (11:22 -0000)]
Wed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* dump.c, dump.h, main.c: dump ExportedTypes table.
* get.c: fix get_module (), remove magic numbers.
* monodis.1: update manpage (hi miguel!:)

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

22 years agoWed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 May 2002 11:18:09 +0000 (11:18 -0000)]
Wed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>

* SortedList.cs: fix RemoveAt () to use the correct length in
Array.Copy.

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

22 years ago2002-05-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 1 May 2002 11:05:31 +0000 (11:05 -0000)]
2002-05-01  Nick Drochak  <ndrochak@gol.com>

* StreamReaderTest.cs:
* StreamWriterTest.cs: Catch and display exception info where it wasn't
being caught before.

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

22 years agoUse the cygwin stable autotools, code from Serge.
Dick Porter [Wed, 1 May 2002 10:50:54 +0000 (10:50 -0000)]
Use the cygwin stable autotools, code from Serge.

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

22 years ago2002-05-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 1 May 2002 10:31:43 +0000 (10:31 -0000)]
2002-05-01  Nick Drochak  <ndrochak@gol.com>

* ArrayListTest.cs (TestBinarySearch) : accomodate possible bug in
.NET runtime.

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

22 years ago2002-05-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 1 May 2002 10:28:01 +0000 (10:28 -0000)]
2002-05-01  Nick Drochak  <ndrochak@gol.com>

* ArrayList.cs (Add & AddRange) : Throw exceptions where needed.

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

22 years ago2002/05/01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 1 May 2002 06:36:09 +0000 (06:36 -0000)]
2002/05/01  Nick Drochak <ndrochak@gol.com>

* ArrayListTest.cs (TestCopyTo) : Make assert messages unique and
avoid possible MS.NET bug when test is run on .NET.

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

22 years ago2002/05/01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 1 May 2002 06:34:30 +0000 (06:34 -0000)]
2002/05/01  Nick Drochak <ndrochak@gol.com>

* ArrayList.cs (CopyTo) : Check parameters and throw exceptions
where needed.

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

22 years agonot yet used by Dns itself
Lawrence Pit [Wed, 1 May 2002 02:59:06 +0000 (02:59 -0000)]
not yet used by Dns itself

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

22 years ago2002-05-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 1 May 2002 01:43:51 +0000 (01:43 -0000)]
2002-05-01  Duncan Mak  <duncan@ximian.com>

* DebuggableAttribute.cs: Added missing AttributeUsage attribute.

* Convert.cs:
* Math.cs: Added missing CLSCompliant attributes where necessary.

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

22 years ago2002-05-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 1 May 2002 01:26:24 +0000 (01:26 -0000)]
2002-05-01  Duncan Mak  <duncan@ximian.com>

* DirectoryNotFoundException.cs (constructor): Added missing
serialization constructor.

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

22 years agoFix typos.
Duncan Mak [Wed, 1 May 2002 00:19:06 +0000 (00:19 -0000)]
Fix typos.

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

22 years ago2002-04-30 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 1 May 2002 00:13:08 +0000 (00:13 -0000)]
2002-04-30  Duncan Mak  <duncan@ximian.com>

* FileLoadException.cs (constructors): Added missing (string,
string) ctor, as well as (string, string, Exception) ctor.

(Message): Added more info to the error message

(ToString): Added. We'll need to add the StackTrace stuff when
that works.

* FileShare.cs: Add a missing field, Inheritable.

* TextReader.cs: Renamed Synchronised method to Synchronized.

* TextWriter.cs: Renamed Synchronised method to Synchronized.
Renamed protected member coreNewLine to CoreNewLine.

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

22 years ago2002-04-30 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 30 Apr 2002 23:13:38 +0000 (23:13 -0000)]
2002-04-30  Duncan Mak  <duncan@ximian.com>

* ArgumentException.cs (Message):
* ArgumentOutOfRangeException.cs (Message): Added.

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

22 years agoStyle updates from Tim Coleman.
Jason Diamond [Tue, 30 Apr 2002 22:56:21 +0000 (22:56 -0000)]
Style updates from Tim Coleman.

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

22 years ago2002-04-30 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 30 Apr 2002 21:57:42 +0000 (21:57 -0000)]
2002-04-30  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (CompoundAssign): A new class used as a "flag" that
the assignment actually is happening as part of a compound
assignment operator.

During compound assignment, a few new rules exist to enable things
like:

byte b |= 1 + 2

From the spec:

x op= y can be evaluated as x = (T) (x op y) (ie, an explicit cast
to the type of x) if y is implicitly convertible to the type of x,
and the operator is a builtin operator and the return type of the
operator is explicitly convertible to the type of x.

* rootcontext.cs: Reset warning level to 2.  4 catches various
"interesting" features in mcs, we must clean this up at some
point, but currently am trying to kill other bugs ;-)

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

22 years ago2002-04-30 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Tue, 30 Apr 2002 19:35:31 +0000 (19:35 -0000)]
2002-04-30  Jeffrey Stedfast  <fejj@ximian.com>

* rand.c
(ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetBytes):
Make the prototypes match.
(ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetNonZeroBytes):
Same.

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

22 years ago2002-04-30 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Tue, 30 Apr 2002 19:30:06 +0000 (19:30 -0000)]
2002-04-30  Jeffrey Stedfast  <fejj@ximian.com>

* configure.in: Added checks for timezone stuff.

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