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

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

* icall.c
(ves_icall_System_CurrentTimeZone_GetTimeZoneData): Fixed for
systems that use 'timezone' rather than tm.tm_gmtoff. Also, not
all systems have tm.tm_zone, so use strftime() with %Z to print
the timezone abreviation into a temp string.

* object.c (mono_ldstr): Fixed to use mono_string_chars() macro
rather than mono_array_addr() on a MonoString on Big Endian
machines.

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

22 years ago- wrong date in changelog
Daniel Stodden [Tue, 30 Apr 2002 19:27:41 +0000 (19:27 -0000)]
- wrong date in changelog
- backed out accidental commit in Test/AllTests.cs
- better going to sleep now, sorry

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

22 years agoadded delegate tests and changelog entries
Daniel Stodden [Tue, 30 Apr 2002 19:19:04 +0000 (19:19 -0000)]
added delegate tests and changelog entries

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

22 years ago- Fast RemoveImpl() for delegates, with test cases
Daniel Stodden [Tue, 30 Apr 2002 19:08:08 +0000 (19:08 -0000)]
- Fast RemoveImpl() for delegates, with test cases

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

22 years agosimple testcase for multicastdelegates::combine and ::remove
Daniel Stodden [Tue, 30 Apr 2002 18:47:33 +0000 (18:47 -0000)]
simple testcase for multicastdelegates::combine and ::remove

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

22 years ago2002-04-30 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 30 Apr 2002 18:40:32 +0000 (18:40 -0000)]
2002-04-30  Dick Porter  <dick@ximian.com>

* Thread.cs: If LocalDataStoreSlot already has data set, remove it
before adding a new one.

Use the Thread object destructor to tell the runtime to close the
thread handle.

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

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

* atomic.c: Changed to use a normal mutex rather than a spinlock
since a lot of platforms seem to not have them :\

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

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

* ecore.cs (SimpleName.SimpleNameResolve): Perform member lookups
in container classes as well.

* expression.cs (Binary.ResolveOperator): Handle string case
before anything else (as operator overloading does emit an error
before doing anything else).

This code could go away when we move to a table driven model, but
i could not come up with a good plan last night.

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

22 years ago * BinaryReader.cs: internal buffer fix. Little-endian conversions.
Sergey Chaban [Tue, 30 Apr 2002 14:32:21 +0000 (14:32 -0000)]
 * BinaryReader.cs: internal buffer fix. Little-endian conversions.
 * BinaryWriter.cs: little-endian conversions.

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

22 years ago2002-04-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 30 Apr 2002 13:07:29 +0000 (13:07 -0000)]
2002-04-30  Dietmar Maurer  <dietmar@ximian.com>

* string-icalls.c (ves_icall_System_String_InternalReplace_Str):
fix bug 24041

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

22 years ago2002-04-30 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 30 Apr 2002 12:17:27 +0000 (12:17 -0000)]
2002-04-30  Dick Porter  <dick@ximian.com>

* Completely rewrote the handle waiting code: removed the helper
thread and its attendant complexity.  All handle waiting is now
abstracted into the WaitForSingleObject() and
WaitForMultipleObjects() functions.

* Implemented inter-process sharing of handles using sysv shared
memory.  This makes handles even more opaque, with a handle now
just an index into an array.

2002-04-30  Dick Porter  <dick@ximian.com>

* socket-io.c: Cope with SOCKET being an integer rather than a
pointer now.

* threads.c: Added Thread_free_internal, to deal with thread
handle cleanup.  Moved calls to handle_store() and handle_remove()
to start_wrapper(), so each can only be called once.  Allocate
synchronisation blocks with GC_malloc(), and use GC finalisation
to close the handles.

* icall.c: added System.Threading.Thread::Thread_free_internal

2002-04-30  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Added option to disable using shared memory for
handles

2002-04-30  Dick Porter  <dick@ximian.com>

* shmdel.c:
* scratch.c:
* hps.c:
* Makefile.am: Some tools to help debug shared memory handles:
'hps' shows handle status, 'scratch' displays info about scratch
data (such as handle names), 'shmdel' deletes the shared memory
segment.

2002-04-30  Dick Porter  <dick@ximian.com>

* interp.c: Tell glib to not abort when g_log() etc print
recursively

2002-04-30  Dick Porter  <dick@ximian.com>

* mono.c (main): Tell glib to not abort when g_log() etc print
recursively

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

22 years agoCSharpName using regex, warninglevel set to 4 (= default), added null check for field...
Lawrence Pit [Tue, 30 Apr 2002 12:05:23 +0000 (12:05 -0000)]
CSharpName using regex, warninglevel set to 4 (= default), added null check for fields in Emit

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

22 years agoFix thinko pointed out by rxdan.
Paolo Molaro [Tue, 30 Apr 2002 10:34:00 +0000 (10:34 -0000)]
Fix thinko pointed out by rxdan.

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

22 years ago (MUL) use shift when possible.
Dietmar Maurer [Tue, 30 Apr 2002 05:17:47 +0000 (05:17 -0000)]
(MUL) use shift when possible.
(DIV) use shift when possible.
impl. various opt. with coni4

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

22 years ago2002/04/30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Apr 2002 03:51:49 +0000 (03:51 -0000)]
2002/04/30  Nick Drochak <ndrochak@gol.com>

* ArrayListTest.cs (TestInsertRange) : Make assert messages unique.

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

22 years ago2002/04/30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Apr 2002 03:44:17 +0000 (03:44 -0000)]
2002/04/30  Nick Drochak <ndrochak@gol.com>

* ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
(InsertRange) : Implement.
(SetRange) : Implement.

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

22 years ago2002-04-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 30 Apr 2002 03:18:46 +0000 (03:18 -0000)]
2002-04-30  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: opt. LDELEMA impl.

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

22 years ago2002-04-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 30 Apr 2002 02:09:11 +0000 (02:09 -0000)]
2002-04-30  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (arch_handle_exception): use ctx->SC_EBP in
end_of_stack check as suggested by Linus Upson <linus@linus.com>

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

22 years ago2002-04-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 29 Apr 2002 23:17:45 +0000 (23:17 -0000)]
2002-04-29  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (CSharpName): reimplemented with Lupus
suggestion.

2002-04-28  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (If): correclty implement Resolve, because we were
not catching sem errors in there.  The same process is needed
everywhere else.
(Return, StatementExpression, For, While, Do, Throw, Lock): Implement Resolve

(Statement.Warning_DeadCodeFound): Factorize code.
(While): Report dead code here too.

(Statement): Added Resolve virtual method to allow
for resolution split from the emit code.

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

22 years agoAdded System.Xml.Xsl stubs courtesy of Tim Coleman <tim@timcoleman.com>.
Jason Diamond [Mon, 29 Apr 2002 21:55:36 +0000 (21:55 -0000)]
Added System.Xml.Xsl stubs courtesy of Tim Coleman <tim@timcoleman.com>.

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

22 years ago2002-04-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 29 Apr 2002 12:57:45 +0000 (12:57 -0000)]
2002-04-30  Nick Drochak  <ndrochak@gol.com>

* ArrayListTest.cs (TestTrimToSize): Change test so that it doesn't
rely on the specific timing of a capacity change.  Our corlib doubles
capacity sooner than the reference system does.

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

22 years ago2002-04-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 29 Apr 2002 12:50:58 +0000 (12:50 -0000)]
2002-04-30  Nick Drochak  <ndrochak@gol.com>

* ArrayList.cs (TrimToSize) : Implement.

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

22 years ago2002-04-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 29 Apr 2002 12:19:35 +0000 (12:19 -0000)]
2002-04-30  Nick Drochak  <ndrochak@gol.com>

* MonoType.cs: Remove unused variable and eliminate a compiler warning.

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

22 years agoUpdate man page
Miguel de Icaza [Mon, 29 Apr 2002 12:18:06 +0000 (12:18 -0000)]
Update man page

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

22 years agoRecognise more arm system names.
Paolo Molaro [Mon, 29 Apr 2002 12:16:51 +0000 (12:16 -0000)]
Recognise more arm system names.

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