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
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
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
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
Tim Coleman [Sat, 4 May 2002 01:25:39 +0000 (01:25 -0000)]
Add "test" build target.
svn path=/trunk/mcs/; revision=4265
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 3 May 2002 01:13:42 +0000 (01:13 -0000)]
Flush
svn path=/trunk/mono/; revision=4244
Miguel de Icaza [Fri, 3 May 2002 00:49:22 +0000 (00:49 -0000)]
Flush
svn path=/trunk/mono/; revision=4242
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
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
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
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
Rodrigo Moya [Thu, 2 May 2002 19:51:50 +0000 (19:51 -0000)]
Updated TODO
svn path=/trunk/mcs/; revision=4235
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
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
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
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
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
Daniel Carrera [Thu, 2 May 2002 15:19:16 +0000 (15:19 -0000)]
PCL-CVS
svn path=/trunk/mcs/; revision=4229
Daniel Carrera [Thu, 2 May 2002 15:15:37 +0000 (15:15 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=4228
Daniel Carrera [Thu, 2 May 2002 15:12:53 +0000 (15:12 -0000)]
PCL-CVS
svn path=/trunk/mcs/; revision=4227
Daniel Carrera [Thu, 2 May 2002 14:17:59 +0000 (14:17 -0000)]
Minor update to FeatureSupport.cs.
svn path=/trunk/mcs/; revision=4226
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
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
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
Paolo Molaro [Thu, 2 May 2002 12:13:19 +0000 (12:13 -0000)]
Test for Char.IsNumber.
svn path=/trunk/mono/; revision=4222
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Wed, 1 May 2002 21:08:42 +0000 (21:08 -0000)]
Add small list
svn path=/trunk/mcs/; revision=4210
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
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
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
Miguel de Icaza [Wed, 1 May 2002 20:15:43 +0000 (20:15 -0000)]
Miggy version
svn path=/trunk/mcs/; revision=4206
Miguel de Icaza [Wed, 1 May 2002 20:11:34 +0000 (20:11 -0000)]
Miggy version
svn path=/trunk/mcs/; revision=4205
Miguel de Icaza [Wed, 1 May 2002 20:10:28 +0000 (20:10 -0000)]
New file
svn path=/trunk/mcs/; revision=4204
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
Miguel de Icaza [Wed, 1 May 2002 19:22:06 +0000 (19:22 -0000)]
Flush
svn path=/trunk/mono/; revision=4202
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
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
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
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
Miguel de Icaza [Wed, 1 May 2002 17:35:57 +0000 (17:35 -0000)]
more tests
svn path=/trunk/mcs/; revision=4197
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
Duncan Mak [Wed, 1 May 2002 14:09:49 +0000 (14:09 -0000)]
Serialization constructors should be protected.
svn path=/trunk/mcs/; revision=4195
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
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
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
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
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
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
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
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
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
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
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
Duncan Mak [Wed, 1 May 2002 00:19:06 +0000 (00:19 -0000)]
Fix typos.
svn path=/trunk/mcs/; revision=4183
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
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
Jason Diamond [Tue, 30 Apr 2002 22:56:21 +0000 (22:56 -0000)]
Style updates from Tim Coleman.
svn path=/trunk/mcs/; revision=4180
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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