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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Mon, 29 Apr 2002 12:18:06 +0000 (12:18 -0000)]
Update man page
svn path=/trunk/mono/; revision=4153
Paolo Molaro [Mon, 29 Apr 2002 12:16:51 +0000 (12:16 -0000)]
Recognise more arm system names.
svn path=/trunk/mono/; revision=4152
Paolo Molaro [Mon, 29 Apr 2002 12:14:39 +0000 (12:14 -0000)]
Removed mono_string_new_wrapper().
svn path=/trunk/mono/; revision=4151
Nick Drochak [Mon, 29 Apr 2002 11:51:30 +0000 (11:51 -0000)]
2002-04-30 Nick Drochak <ndrochak@gol.com>
* UInt32Test.cs: More verbose on unexepected exception to eliminate
compiler warning.
svn path=/trunk/mcs/; revision=4150
Nick Drochak [Mon, 29 Apr 2002 11:49:50 +0000 (11:49 -0000)]
2002-04-30 Nick Drochak <ndrochak@gol.com>
* ArrayListTest.cs: Catch unexpected exception typs and report as
failures.
svn path=/trunk/mcs/; revision=4149
Nick Drochak [Mon, 29 Apr 2002 11:48:07 +0000 (11:48 -0000)]
2002-04-30 Nick Drochak <ndrochak@gol.com>
* IPAddressTest.cs: Remove unused code to eliminate compiler warnings.
svn path=/trunk/mcs/; revision=4148
Dietmar Maurer [Mon, 29 Apr 2002 10:56:09 +0000 (10:56 -0000)]
* x86.brg (LDLEN, UNBOX): removed unnecessary NULL check.
svn path=/trunk/mono/; revision=4147
Dietmar Maurer [Mon, 29 Apr 2002 10:19:16 +0000 (10:19 -0000)]
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* exception.c: included the Freebsd patch from Sandro Tolaini
<sandro@focuseek.com>
svn path=/trunk/mono/; revision=4146
Paolo Molaro [Mon, 29 Apr 2002 09:45:51 +0000 (09:45 -0000)]
Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
* Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
svn path=/trunk/mcs/; revision=4145
Paolo Molaro [Mon, 29 Apr 2002 09:45:44 +0000 (09:45 -0000)]
Mon Apr 29 15:33:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
* icall.c: support Environment.Exit, CommandLineArgs().
svn path=/trunk/mono/; revision=4144
Paolo Molaro [Mon, 29 Apr 2002 09:30:04 +0000 (09:30 -0000)]
Mon Apr 29 15:18:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
* mono.c, jit.c: use mono_runtime_run_main ().
svn path=/trunk/mono/; revision=4143
Paolo Molaro [Mon, 29 Apr 2002 09:28:49 +0000 (09:28 -0000)]
Mon Apr 29 15:15:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
* object.c, object.h: added mono_runtime_run_main () and
mono_runtime_get_main_args () for use in System.Environment.
svn path=/trunk/mono/; revision=4142
Paolo Molaro [Mon, 29 Apr 2002 09:26:30 +0000 (09:26 -0000)]
Fix sample code so that it has a chance of running.
svn path=/trunk/mono/; revision=4141
Dietmar Maurer [Mon, 29 Apr 2002 09:03:04 +0000 (09:03 -0000)]
* jit.c (mono_analyze_stack): dont call methods on Object with
METHOD_ATTRIBUTE_FINAL directly because it breaks remoting.
svn path=/trunk/mono/; revision=4140
Dietmar Maurer [Mon, 29 Apr 2002 08:12:43 +0000 (08:12 -0000)]
x86.brg: added more CONV_U rules
svn path=/trunk/mono/; revision=4138
Paolo Molaro [Mon, 29 Apr 2002 07:57:22 +0000 (07:57 -0000)]
Mon Apr 29 13:45:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
* gc.c: fix thinko, enable actual finalization since the jit is now
fixed.
svn path=/trunk/mono/; revision=4137
Dietmar Maurer [Mon, 29 Apr 2002 07:55:08 +0000 (07:55 -0000)]
(mono_analyze_stack): emit right CONV_UX opcodes: fixes bug 23547
svn path=/trunk/mono/; revision=4136
Paolo Molaro [Mon, 29 Apr 2002 07:00:47 +0000 (07:00 -0000)]
Small test updates.
svn path=/trunk/mono/; revision=4135
Paolo Molaro [Mon, 29 Apr 2002 07:00:19 +0000 (07:00 -0000)]
Mon Apr 29 12:47:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
* gc.c, object.c: take into account that an object may be offset wrt the address
returned by GC_malloc().
svn path=/trunk/mono/; revision=4134
Dietmar Maurer [Mon, 29 Apr 2002 06:27:31 +0000 (06:27 -0000)]
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* jit.c (mono_analyze_stack): avoid recursive call of virtual
methods: fixes Bug #23778
svn path=/trunk/mono/; revision=4133
Paolo Molaro [Mon, 29 Apr 2002 06:27:09 +0000 (06:27 -0000)]
Mon Apr 29 12:14:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
* image.c: handle files without entries in the assembly table (modules).
svn path=/trunk/mono/; revision=4132
Paolo Molaro [Mon, 29 Apr 2002 06:25:28 +0000 (06:25 -0000)]
Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
* dump.c, dump.h, main.c: support for dumping the manifest resource table.
svn path=/trunk/mono/; revision=4131
Dietmar Maurer [Mon, 29 Apr 2002 05:57:50 +0000 (05:57 -0000)]
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* exception.c (arch_handle_exception): only g_assert(cleanup) if
we really need it.
svn path=/trunk/mono/; revision=4130
Daniel Morgan [Mon, 29 Apr 2002 03:31:13 +0000 (03:31 -0000)]
2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
* Test/ReadPostgresData.cs: added - Uses the
PostgresLibrary to retrieve a recordset.
This is not meant to be used in Production, but as a
learning aid in coding
class System.Data.SqlClient.SqlDataReader.
This sample does work.
* Test/TestSqlDataReader.cs: added - used
to test SqlDataReader (does not work yet)
Forgot to add to ChangeLog on last commit.
svn path=/trunk/mcs/; revision=4129
Daniel Morgan [Sun, 28 Apr 2002 21:45:51 +0000 (21:45 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=4128
Duncan Mak [Sun, 28 Apr 2002 21:41:21 +0000 (21:41 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>
* ArrayList.cs (InsertRange):
(SetRange):
(Remove):
(TrimToSize): Throw exceptions where needed.
* DivideByZeroException.cs: Added missing serialization constructor.
svn path=/trunk/mcs/; revision=4127
Nick Drochak [Sun, 28 Apr 2002 21:27:54 +0000 (21:27 -0000)]
2002-04-29 Nick Drochak <ndrochak@gol.com>
* ArrayListTest.cs (TestBinarySearch): Catch the correct exception here.
svn path=/trunk/mcs/; revision=4126
Nick Drochak [Sun, 28 Apr 2002 20:13:57 +0000 (20:13 -0000)]
2002-04-29 Nick Drochak <ndrochak@gol.com>
* ArrayListTest.cs (): Remove test on unsorted array. Behavior is
undefined according to docs. Re-added test that was commented out.
svn path=/trunk/mcs/; revision=4125
Duncan Mak [Sun, 28 Apr 2002 19:50:58 +0000 (19:50 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>
ArrayList.cs (InsertRange): Throw exceptions where needed.
svn path=/trunk/mcs/; revision=4124
Nick Drochak [Sun, 28 Apr 2002 19:42:42 +0000 (19:42 -0000)]
2002-04-29 Nick Drochak <ndrochak@gol.com>
* Hashtable.cs (CopyTo): Throw exceptions where needed.
svn path=/trunk/mcs/; revision=4123
Duncan Mak [Sun, 28 Apr 2002 19:38:48 +0000 (19:38 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>;
* XmlSignificantWhitespace.cs (Value):
* XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
block. Added new private method, IsValidWhitespaceChar, for
checking.
svn path=/trunk/mcs/; revision=4122
Miguel de Icaza [Sun, 28 Apr 2002 17:28:09 +0000 (17:28 -0000)]
Commit TODO
svn path=/trunk/mcs/; revision=4121
Miguel de Icaza [Sun, 28 Apr 2002 15:55:06 +0000 (15:55 -0000)]
2002-04-28 Miguel de Icaza <miguel@ximian.com>
* test-108.cs: Improve test
svn path=/trunk/mcs/; revision=4120
Miguel de Icaza [Sun, 28 Apr 2002 15:54:18 +0000 (15:54 -0000)]
2002-04-28 Miguel de Icaza <miguel@ximian.com>
* statement.cs (Statement.Warning_DeadCodeFound): Factorize code.
(While): Report dead code here too.
svn path=/trunk/mcs/; revision=4119
Miguel de Icaza [Sun, 28 Apr 2002 15:51:31 +0000 (15:51 -0000)]
Add new test for dead code elimination
svn path=/trunk/mcs/; revision=4118
Gonzalo Paniagua Javier [Sun, 28 Apr 2002 15:51:25 +0000 (15:51 -0000)]
2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: fix for conditional "THREADS_PTHREAD" was never
defined problem under cygwin with latest version of automake and
autoconf. Patch from Jeroen Janssen <japj@darius.demon.nl>.
svn path=/trunk/mono/; revision=4117
Miguel de Icaza [Sun, 28 Apr 2002 15:49:04 +0000 (15:49 -0000)]
Implement Loop inversion for While statements and dead code elimination.
2002-04-28 Miguel de Icaza <miguel@ximian.com>
* statement.cs (Statement): Added Resolve virtual method to allow
for resolution split from the emit code.
2002-04-26 Miguel de Icaza <miguel@ximian.com>
* statement.cs (EmitBoolExpression): No longer try to resolve the
expression here.
(MakeBoolean): New utility function that resolve, implicitly
converts to boolean and tags the expression.
(If, Do): Implement dead code elimination.
(While): Implement loop inversion
(Do, While, For, If): Resolve the expression prior to calling our
code generation.
svn path=/trunk/mcs/; revision=4116
Duncan Mak [Sun, 28 Apr 2002 15:37:12 +0000 (15:37 -0000)]
(FixedSize): Fixed typo.
svn path=/trunk/mcs/; revision=4115
Duncan Mak [Sun, 28 Apr 2002 15:34:40 +0000 (15:34 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>
* CollectionChangeAction.cs: Changed enum layout to fit the MS
implementation. Please use EnumCheck!
* UnauthorizedAccessException.cs: Added the missing
Serializable attribute.
svn path=/trunk/mcs/; revision=4114
Rodrigo Moya [Sun, 28 Apr 2002 15:31:30 +0000 (15:31 -0000)]
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataViewSetting.cs: new class.
svn path=/trunk/mcs/; revision=4113
Duncan Mak [Sun, 28 Apr 2002 15:29:07 +0000 (15:29 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>
* ArrayList.cs (ReadOnly):
(IList.ReadOnly): Implemented.
(Synchronized):
(IList.Synchronized): Implemented.
(ixedSize):
(IList.FixedSize): Implemented.
svn path=/trunk/mcs/; revision=4112
Rodrigo Moya [Sun, 28 Apr 2002 15:23:23 +0000 (15:23 -0000)]
Excluded files
svn path=/trunk/mcs/; revision=4111
Rodrigo Moya [Sun, 28 Apr 2002 15:22:14 +0000 (15:22 -0000)]
Excluded files
svn path=/trunk/mcs/; revision=4110
Rodrigo Moya [Sun, 28 Apr 2002 15:02:31 +0000 (15:02 -0000)]
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataViewManager.cs: new class.
* System.Data.SqlTypes/INullable.cs: properties for interfaces
don't have implementation.
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlString.cs:
* System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
these are strctures.
* System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
missing 'using's.
svn path=/trunk/mcs/; revision=4109
Rodrigo Moya [Sun, 28 Apr 2002 13:31:38 +0000 (13:31 -0000)]
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* CollectionChangeAction.cs: new enumeration.
* CategoryAttribute.cs: moved the 'return' keyword to the
end of the method, to avoid compilation errors on Linux for
all CategoryAttribute properties.
svn path=/trunk/mcs/; revision=4107
Rodrigo Moya [Sun, 28 Apr 2002 13:11:25 +0000 (13:11 -0000)]
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* IListSource.cs:
* ISupportInitialize.cs:
* MarshalByValueComponent.cs: new stubs, needed for System.Data
compilation.
* PropertyChangedEventArgs.cs:
* CollectionChangeEventHandler.cs:
* CollectionChangeEventArgs.cs: implemented.
svn path=/trunk/mcs/; revision=4106
Rodrigo Moya [Sun, 28 Apr 2002 13:07:55 +0000 (13:07 -0000)]
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataTableRelationCollection.cs: use 'new' keyword
for correctly hiding parent class' members.
(AddRange): use 'override' keyword on overriden method.
(Clear): likewise.
(Contains): likewise.
(IndexOf): likewise.
(OnCollectionChanged): likewise.
(OnCollectionChanging): likewise.
(RemoveCore): likewise.
* System.Data/DataColumnCollection.cs: use 'new' keyword.
* System.Data/DataSet.cs: added missing 'using's.
svn path=/trunk/mcs/; revision=4105
Rodrigo Moya [Sun, 28 Apr 2002 12:12:06 +0000 (12:12 -0000)]
2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
* System.Data/DataSet.cs:
* System.Data/DataTableCollection.cs:
* System.Data/DataView.cs: compilation fixes on Linux.
svn path=/trunk/mcs/; revision=4104
Patrik Torstensson [Sun, 28 Apr 2002 11:34:51 +0000 (11:34 -0000)]
2002-04-28 Patrik Torstensson <patrik.torstensson@intel.com>
* reflection.c (mono_reflection_setup_internal_class): remove g_assert_not_reached() to allow
mcs selfhosting again (build breaker) and did move the check to class instead. parent is
allowed to be null when it's System.Object class setup.
svn path=/trunk/mono/; revision=4102
Lawrence Pit [Sun, 28 Apr 2002 09:12:58 +0000 (09:12 -0000)]
Socket permission stuff, not yet used by Socket itself.
svn path=/trunk/mcs/; revision=4101
Nick Drochak [Sun, 28 Apr 2002 08:55:13 +0000 (08:55 -0000)]
2002-04-28 Nick Drochak <ndrochak@gol.com>
* makefile: Make NAnt.exe dependant on all the *.cs in src and each sub
dir. Since we don't remove it on a 'make clean' it doesn't get rebuilt
when a new file is added or an existing one changed.
svn path=/trunk/mcs/; revision=4100
Nick Drochak [Sun, 28 Apr 2002 08:45:26 +0000 (08:45 -0000)]
2002-04-28 Nick Drochak <ndrochak@gol.com>
* StringTest.cs: Mark Assert() messages with unique identifiers.
* DecimalTest.cs: Write out more info in the Report method. Need this
to determine why op_Subtraction() is failing in the next line.
* MathTest.cs:
* DoubleTest.cs:
* UInt32Test.cs: Add try-catch blocks to find out where the test is
failing.
svn path=/trunk/mcs/; revision=4099