mono.git
21 years agoWed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 10:57:34 +0000 (10:57 -0000)]
Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs, Type.cs: implemented InvokeMember.

Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Binder.cs: more default binder implementation.
* FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
* MonoMethod.cs: use the binder in the Invoke () implementation.
Implemented custom attributes methods and ToString for constructors.

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

21 years agoWed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Sep 2002 09:08:58 +0000 (09:08 -0000)]
Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Delegate.cs: check the type passed to CreateDelegate is a Delegate
type. Check the method signature matches.

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

21 years ago2002-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Sep 2002 14:00:43 +0000 (14:00 -0000)]
2002-09-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileTest.cs: don't leave AFile.txt open.

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

21 years agoRuntime invoke tests.
Paolo Molaro [Tue, 10 Sep 2002 13:57:49 +0000 (13:57 -0000)]
Runtime invoke tests.

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

21 years agoTue Sep 10 15:51:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Sep 2002 13:53:48 +0000 (13:53 -0000)]
Tue Sep 10 15:51:53 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.c: allow a constructor to be called again on an object.

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

21 years agoTue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Sep 2002 10:18:18 +0000 (10:18 -0000)]
Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ConstructorBuilder.cs: added a field to hold the handle.

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

21 years agoTue Sep 10 11:58:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Sep 2002 10:18:18 +0000 (10:18 -0000)]
Tue Sep 10 11:58:46 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: move field layout code to it's own function and
export it. Get an interface id earlier. Move fields in MonoClass
so they are more cache friendly and align the bitfields.
* loader.c: temporary handle get_param_names() for a runtime method.
* reflection.c, reflection.h: more code to handle runtime creation of
types.

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

21 years ago2002-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 Sep 2002 23:15:01 +0000 (23:15 -0000)]
2002-09-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs:
* HttpWebResponse.cs: applied another patch from Shahms E. King
(shahms@shahms.com).

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

21 years ago2002-09-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 9 Sep 2002 21:50:52 +0000 (21:50 -0000)]
2002-09-09  Miguel de Icaza  <miguel@ximian.com>

* StreamWriter.cs: When no encoding is provided, create an
encoding without markers, this is what MS does.

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

21 years agoUpdate errors
Miguel de Icaza [Mon, 9 Sep 2002 21:46:41 +0000 (21:46 -0000)]
Update errors

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

21 years agoOooops.
Martin Baulig [Mon, 9 Sep 2002 21:42:46 +0000 (21:42 -0000)]
Oooops.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 20:01:37 +0000 (20:01 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* ecore.cs (PropertyExpr.Emit): Also check for
TypeManager.system_int_array_get_length so this'll also work when
compiling corlib.  Fixes #30003.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 19:13:14 +0000 (19:13 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* expression.cs (ArrayCreation.MakeByteBlob): Added support for enums
and throw an exception if we can't get the type's size.  Fixed #30040,
added test-165.cs.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 19:11:19 +0000 (19:11 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* makefile: Reverted Ravi's `Update'.  When moving tests from
TESTS_NOPASS to TEST_SOURCES, please make sure that they actually
pass on both platforms and don't do it without a ChangeLog entry.

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

21 years agoAdded my two new tests.
Martin Baulig [Mon, 9 Sep 2002 19:09:21 +0000 (19:09 -0000)]
Added my two new tests.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 19:05:53 +0000 (19:05 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* test-165.cs: Added testcase for bug #30040.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 18:33:01 +0000 (18:33 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* ecore.cs (PropertyExpr.DoResolve): Added check for static properies.

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

21 years agoMon Sep 9 17:31:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Sep 2002 15:57:14 +0000 (15:57 -0000)]
Mon Sep 9 17:31:12 CEST 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: prepare for the real CreateType implementation.

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

21 years ago2002-09-09 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 9 Sep 2002 15:39:28 +0000 (15:39 -0000)]
2002-09-09  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Simplify thread checks, by using canned rules for
particular systems (based on the sleepycat db configure.in).
Tested on linux/x86, freebsd and w32.  Solaris also added, but I
don't have a solaris machine to try it on.

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 14:45:17 +0000 (14:45 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* marshal.c (mono_marshal_get_native_wrapper): We need to use a special
signature with the pinvoke field being set for the actual call.

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

21 years agoPoint at updated gimp-for-w32 files
Dick Porter [Mon, 9 Sep 2002 12:08:58 +0000 (12:08 -0000)]
Point at updated gimp-for-w32 files

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 09:41:54 +0000 (09:41 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* expression.cs (SizeOf.DoResolve): Sizeof is only allowed in unsafe
context.  Fixes bug #30027.

* delegate.cs (NewDelegate.Emit): Use OpCodes.Ldvirtftn for
virtual functions.  Fixes bug #30043, added test-164.cs.

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

21 years ago2002-09-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 9 Sep 2002 09:26:57 +0000 (09:26 -0000)]
2002-09-09  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (LDELEMA): use x86_lea

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

21 years ago2002-09-09 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 9 Sep 2002 09:11:46 +0000 (09:11 -0000)]
2002-09-09  Martin Baulig  <martin@gnome.org>

* test-164.cs: Added testcase for virtual functions in delegate
creating expressions (Bug #30043).

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

21 years ago2002-09-08 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 8 Sep 2002 18:52:52 +0000 (18:52 -0000)]
2002-09-08  Ravi Pratap  <ravi@ximian.com>

* attribute.cs : Fix a small NullRef crash thanks to my stupidity.

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

21 years ago2002-09-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 8 Sep 2002 14:21:55 +0000 (14:21 -0000)]
2002-09-08  Nick Drochak  <ndrochak@gol.com>

* DateTimeTest.cs: Disable test bug file it in bugzilla.

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

21 years agoSo why the hell did someone commit this non-printable character ?
Martin Baulig [Sun, 8 Sep 2002 13:58:37 +0000 (13:58 -0000)]
So why the hell did someone commit this non-printable character ?

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

21 years ago2002-09-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 8 Sep 2002 13:31:55 +0000 (13:31 -0000)]
2002-09-08  Nick Drochak  <ndrochak@gol.com>

* PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
WINNT.

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

21 years agoHardcode sizeof (long) to 8 bytes to make it compile without /unsafe.
Martin Baulig [Sun, 8 Sep 2002 13:06:31 +0000 (13:06 -0000)]
Hardcode sizeof (long) to 8 bytes to make it compile without /unsafe.
The runtime uses a guint64 type for this, so this'll always be 8 bytes.

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

21 years ago2002-09-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 8 Sep 2002 12:42:23 +0000 (12:42 -0000)]
2002-09-08  Nick Drochak  <ndrochak@gol.com>

* driver.cs: Use an object to get the windows codepage since it's not a
static property.

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

21 years ago2002-09-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 8 Sep 2002 05:50:52 +0000 (05:50 -0000)]
2002-09-08  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (For.Emit): for infinite loops (test == null)
return whether there is a break inside, not always "true".

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

21 years ago2002-09-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 8 Sep 2002 05:45:11 +0000 (05:45 -0000)]
2002-09-08  Miguel de Icaza  <miguel@ximian.com>

* namespace.cs (UsingEntry): New struct to hold the name of the
using definition, the location where it is defined, and whether it
has been used in a successful type lookup.

* rootcontext.cs (NamespaceLookup): Use UsingEntries instead of
strings.

* decl.cs: ditto.

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

21 years agoUpdate the cs0182 test to actually contain the error message too :-)
Ravi Pratap M [Sun, 8 Sep 2002 05:06:36 +0000 (05:06 -0000)]
Update the cs0182 test to actually contain the error message too :-)

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

21 years ago2002-09-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 8 Sep 2002 04:49:30 +0000 (04:49 -0000)]
2002-09-06  Ravi Pratap  <ravi@ximian.com>

* attribute.cs : Fix incorrect code which relied on catching
a NullReferenceException to detect a null being passed in
where an object was expected.

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

21 years agoDum de dum, pass the value...
Paolo Molaro [Sat, 7 Sep 2002 09:13:42 +0000 (09:13 -0000)]
Dum de dum, pass the value...

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

21 years agoSat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 7 Sep 2002 08:18:55 +0000 (08:18 -0000)]
Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>

* RuntimeMethodHandle.cs: implemented GetFunctionPointer().

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

21 years agoSat Sep 7 10:12:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 7 Sep 2002 08:17:03 +0000 (08:17 -0000)]
Sat Sep 7 10:12:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: removed some unused icalls. Start of map of glib charsets
to corlib names. Implemented RuntimeMethod::GetFunctionPointer ().

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

21 years agoDistinguish general from specific correctly from my previous patch
Miguel de Icaza [Sat, 7 Sep 2002 01:19:22 +0000 (01:19 -0000)]
Distinguish general from specific correctly from my previous patch

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

21 years agoImplemented GetHashCode for constraint classes. Added tests and continued
Franklin Wise [Sat, 7 Sep 2002 01:09:22 +0000 (01:09 -0000)]
Implemented GetHashCode for constraint classes.  Added tests and continued
work on DataColumn

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

21 years ago2002-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 7 Sep 2002 00:49:26 +0000 (00:49 -0000)]
2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Cast): Simplified by using ResolveType instead of
manually resolving.

* statement.cs (Catch): Fix bug by using ResolveType.

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

21 years agoDocument /codepage
Miguel de Icaza [Sat, 7 Sep 2002 00:17:40 +0000 (00:17 -0000)]
Document /codepage

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

21 years ago2002-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 7 Sep 2002 00:17:26 +0000 (00:17 -0000)]
2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: (CSCParseOption): Support the /codepage: option.

Make default code page Latin-1

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

21 years ago2002-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 6 Sep 2002 23:57:02 +0000 (23:57 -0000)]
2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* Console.cs: Specify an encoder, otherwise we will get the UTF8
encoder that by default emits the byte markers.

2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* StreamReader.cs: Implement detection of byte marks and skipping
of byte marks at the beginning of the stream.

(ReadToEnd): Use buffered read instead of char-by-char
processing.

Correct the default arguments for creating the StreamReader.

2002-09-06  Miguel de Icaza  <miguel@ximian.com>

* Encoding.cs (UTF8, Unicode): Create with a preamble, that is
what the Microsoft version does.

(UnixConsoleEncoding): New internal method, used to get the
encoding, in the future, this should pull the locale, map to
charset and then code page.

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

21 years agoAdded XPathNavigatorMatchesTests.cs to the MonoMicro.Test project
Kral Ferch [Fri, 6 Sep 2002 22:46:38 +0000 (22:46 -0000)]
Added XPathNavigatorMatchesTests.cs to the MonoMicro.Test project

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

21 years ago2002-09-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 6 Sep 2002 20:21:50 +0000 (20:21 -0000)]
2002-09-06  Martin Baulig  <martin@gnome.org>

* debug.c (debug_update_il_offsets): Fixed a memory corruption bug.
If you were getting random crashes when using the JIT with debugging
turned on, this fixes it.

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

21 years ago2002-09-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 6 Sep 2002 19:51:35 +0000 (19:51 -0000)]
2002-09-06  Ravi Pratap  <ravi@ximian.com>

* expression.cs (BetterConversion): Special case for when we have
a NullLiteral as the argument and we have to choose between string
and object types - we choose string the way csc does.

* attribute.cs (Attribute.Resolve): Catch the
NullReferenceException and report error #182 since the Mono
runtime no more has the bug and having this exception raised means
we tried to select a constructor which takes an object and is
passed a null.

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

21 years agoMore tests pass so move them to the regular test suite
Ravi Pratap M [Fri, 6 Sep 2002 19:51:09 +0000 (19:51 -0000)]
More tests pass so move them to the regular test suite

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

21 years agoAdd new error that we catch
Ravi Pratap M [Fri, 6 Sep 2002 19:46:58 +0000 (19:46 -0000)]
Add new error that we catch

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

21 years ago2002-09-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 6 Sep 2002 19:34:24 +0000 (19:34 -0000)]
2002-09-06  Ravi Pratap  <ravi@ximian.com>

* test-163.cs : Add test to check we select string
over object when we have a Null literal as the argument.

* makefile : Update.

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

21 years agoFri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 18:16:17 +0000 (18:16 -0000)]
Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Delegate.cs: look also for non-public methods until we have the
security checks in place.

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

21 years agoFri Sep 6 16:08:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 14:11:13 +0000 (14:11 -0000)]
Fri Sep 6 16:08:44 CEST 2002 Paolo Molaro <lupus@ximian.com>

* debug-helpers.c: break infinite loop (found and fixed by
Holger Arnold <harnold@gmx.de>).

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

21 years agoMore automake lines rearranging: select the "stable" version _after_ we've
Dick Porter [Fri, 6 Sep 2002 12:02:45 +0000 (12:02 -0000)]
More automake lines rearranging: select the "stable" version _after_ we've
checked the automake version.

It seems a bit daft to make sure we've got the latest "unstable" automake
and then not use it, but we have seen builds fail when a slightly older
"unstable" version is installed on the system.

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

21 years agoCan't do the automake check until the mono dir has been checked out of CVS.
Dick Porter [Fri, 6 Sep 2002 11:26:24 +0000 (11:26 -0000)]
Can't do the automake check until the mono dir has been checked out of CVS.
(Because automake-wrapper examines the dir to see which version of automake
to use.)

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

21 years agoFri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 10:21:51 +0000 (10:21 -0000)]
Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: consider also the full name in GetInterface.

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

21 years agoFri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Sep 2002 10:15:16 +0000 (10:15 -0000)]
Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: implemented GetMembers, GetConstructorImpl and
GetMethodImpl using the binder.
* Type.cs: GetConstructorImpl/GetConstructor fixes.

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

21 years agoonly set ESP if necessary
Dietmar Maurer [Fri, 6 Sep 2002 09:18:19 +0000 (09:18 -0000)]
only set ESP if necessary

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

21 years ago2002-09-06 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 6 Sep 2002 09:15:26 +0000 (09:15 -0000)]
2002-09-06  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (arch_emit_epilogue): use pop instead of mov

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

21 years agoUpdate with info on MONO_PATH.
Paolo Molaro [Fri, 6 Sep 2002 08:11:56 +0000 (08:11 -0000)]
Update with info on MONO_PATH.

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

21 years agoI am the worst kind of hacker there is ....
Ravi Pratap M [Thu, 5 Sep 2002 19:16:17 +0000 (19:16 -0000)]
I am the worst kind of hacker there is ....

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

21 years agoFlush ChangeLog
Ravi Pratap M [Thu, 5 Sep 2002 19:13:59 +0000 (19:13 -0000)]
Flush ChangeLog

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

21 years ago2002-09-05 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 5 Sep 2002 19:13:42 +0000 (19:13 -0000)]
2002-09-05  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (ImplicitNumericConversion): Conversion from underlying
type to the enum type is not allowed. Remove code corresponding to
that.

(ConvertNumericExplicit): Allow explicit conversions from
the underlying type to enum type. This precisely follows the spec
and closes a bug filed by Gonzalo.

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

21 years agoRemove debug message - sorry, guys !
Ravi Pratap M [Thu, 5 Sep 2002 18:45:33 +0000 (18:45 -0000)]
Remove debug message - sorry, guys !

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

21 years agoThu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Sep 2002 18:38:31 +0000 (18:38 -0000)]
Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Binder.cs: finished the Binder class and implemented the default
binder.

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

21 years ago2002-09-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 5 Sep 2002 18:36:46 +0000 (18:36 -0000)]
2002-09-05  Martin Baulig  <martin@gnome.org>

* debug.c (MONO_DEBUGGER__debugger_info): New global data symbol
which is read by the debugger.

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

21 years ago2002-09-05 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 5 Sep 2002 17:18:28 +0000 (17:18 -0000)]
2002-09-05  Ravi Pratap  <ravi@ximian.com>

* attribute.cs (Attribute.Resolve): Ensure we allow TypeOf
expressions too. Previously we were checking only in one place for
positional arguments leaving out named arguments.

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

21 years ago2002-09-05 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 5 Sep 2002 17:06:03 +0000 (17:06 -0000)]
2002-09-05  Ravi Pratap  <ravi@ximian.com>

* interface.cs (PopulateMethod): Return if there are no argument
types. Fixes a NullReferenceException bug.

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

21 years ago2002-09-05 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 5 Sep 2002 16:56:59 +0000 (16:56 -0000)]
2002-09-05  Ravi Pratap  <ravi@ximian.com>

* expression.cs (Invocation.OverloadResolve): Flag a nicer error
message (1502, 1503) when we can't locate a method after overload
resolution. This is much more informative and closes the bug
Miguel reported.

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

21 years agoThu Sep 5 18:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Sep 2002 16:52:43 +0000 (16:52 -0000)]
Thu Sep 5 18:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: target may be null in create_delegate.

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

21 years agoThu Sep 5 17:42:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Sep 2002 15:43:57 +0000 (15:43 -0000)]
Thu Sep 5 17:42:13 CEST 2002 Paolo Molaro <lupus@ximian.com>

* marshal.c: handle a boolean return type.

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

21 years agoThu Sep 5 13:09:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Sep 2002 11:12:13 +0000 (11:12 -0000)]
Thu Sep 5 13:09:46 CEST 2002 Paolo Molaro <lupus@ximian.com>

* gc.c: put HIDE_POINTER/REVEAL_POINTER only here.

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

21 years ago2002-09-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 5 Sep 2002 07:59:45 +0000 (07:59 -0000)]
2002-09-03  Dietmar Maurer  <dietmar@ximian.com>

* System.Runtime.Remoting.Channels.CORBA/CORBAChannel.cs:
impl. the channel wrapper.

* System.Runtime.Remoting.Channels.Simple/SimpleChannel.cs:
impl. the channel wrapper.

* System.Runtime.Remoting.Channels.Simple/SimpleServerChannel.cs
(GetUrlsForUri): use all available channel uris.

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

21 years ago2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 5 Sep 2002 02:35:27 +0000 (02:35 -0000)]
2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlTextWriter.cs: fixed bug #29886.

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

21 years ago\rAdded new tests for various System.Data classes. More flushing out of
Franklin Wise [Thu, 5 Sep 2002 01:46:40 +0000 (01:46 -0000)]
\rAdded new tests for various System.Data classes.  More flushing out of
the DataTable and supporting classes.

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

21 years agoImplemented better attribute support for C# output.
Jonathan Pryor [Wed, 4 Sep 2002 18:08:05 +0000 (18:08 -0000)]
Implemented better attribute support for C# output.

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

21 years ago2002-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 4 Sep 2002 17:33:52 +0000 (17:33 -0000)]
2002-09-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* compiler.csproj:
* compiler.csproj.user: patch from Adam Chester (achester@bigpond.com).

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

21 years agoWed Sep 4 19:23:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Sep 2002 17:25:14 +0000 (17:25 -0000)]
Wed Sep 4 19:23:09 CEST 2002 Paolo Molaro <lupus@ximian.com>

* gc.c: fix weakreferences.

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

21 years agoGet rid of silly compiler warning about unreachable code.
Jonathan Pryor [Wed, 4 Sep 2002 17:02:16 +0000 (17:02 -0000)]
Get rid of silly compiler warning about unreachable code.

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

21 years agoMake the built response file depend on the file list.
Paolo Molaro [Wed, 4 Sep 2002 16:32:59 +0000 (16:32 -0000)]
Make the built response file depend on the file list.

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

21 years ago2002-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 4 Sep 2002 16:29:48 +0000 (16:29 -0000)]
2002-09-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PathTest.cs: some fixes to make it work also on unix.

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

21 years ago * EnumTest.cs:
Jonathan Pryor [Wed, 4 Sep 2002 16:11:28 +0000 (16:11 -0000)]
  * EnumTest.cs:
    - Added additional "x" formatter test case to test most recent Enum.cs
      patch
    - Code cleanup so that all TestFormat test cases would be executed
    - Change exception types in TestFormat_Args so that it passes on .NET.
      (Some ArgumentNullExceptions should be been ArgumentExceptions.)

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

21 years agoFlush & announce
Miguel de Icaza [Wed, 4 Sep 2002 15:27:05 +0000 (15:27 -0000)]
Flush & announce

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

21 years agoFlush
Miguel de Icaza [Wed, 4 Sep 2002 15:20:47 +0000 (15:20 -0000)]
Flush

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

21 years agoFlush docs
Miguel de Icaza [Wed, 4 Sep 2002 15:18:50 +0000 (15:18 -0000)]
Flush docs

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

21 years agoWed Sep 4 14:06:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Sep 2002 12:09:46 +0000 (12:09 -0000)]
Wed Sep 4 14:06:09 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Makefile.am: link libmono directly into mono. Use a ld script
to reduce exported symbols.

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

21 years agoWed Sep 4 14:01:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Sep 2002 12:04:16 +0000 (12:04 -0000)]
Wed Sep 4 14:01:25 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Encoding.cs: use icall to get default codepage.
* DefaultEncoding.cs: remove useless class.

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

21 years agoWed Sep 4 13:59:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Sep 2002 12:01:49 +0000 (12:01 -0000)]
Wed Sep 4 13:59:50 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: added icall to get default codepage.

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

21 years ago2002-09-04 Juli Mallett <jmallett@FreeBSD.org>
Juli Mallett [Wed, 4 Sep 2002 08:06:39 +0000 (08:06 -0000)]
2002-09-04  Juli Mallett  <jmallett@FreeBSD.org>

* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.

Taken from the FreeBSD port by Yukihiro Nakai <nakai@FreeBSD.org>, to reduce
the patches needed by that port, once the next release is out.

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

21 years ago2002-09-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 4 Sep 2002 04:55:20 +0000 (04:55 -0000)]
2002-09-04  Miguel de Icaza  <miguel@ximian.com>

* Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the actual value
instead of public.

* LocalDataStoreSlot.cs: Make constructor internal.

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

21 years ago2002-09-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 4 Sep 2002 04:45:45 +0000 (04:45 -0000)]
2002-09-04  Miguel de Icaza  <miguel@ximian.com>

* Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
instead of public.

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

21 years agoMake the variable match the prototype
Miguel de Icaza [Wed, 4 Sep 2002 04:07:45 +0000 (04:07 -0000)]
Make the variable match the prototype

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

21 years ago2002-09-03 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 4 Sep 2002 04:05:07 +0000 (04:05 -0000)]
2002-09-03  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (SwitchLabel.ResolveAndReduce): In the string case,
it was important that we stored the right value after the
reduction in `converted'.

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

21 years agoImprove test
Miguel de Icaza [Wed, 4 Sep 2002 04:03:26 +0000 (04:03 -0000)]
Improve test

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 4 Sep 2002 02:39:21 +0000 (02:39 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>
* GraphicsPath.cs
* added stub needed for system.windows.forms

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

21 years ago2002-9-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 4 Sep 2002 02:35:26 +0000 (02:35 -0000)]
2002-9-2  DennisHayes <dennish@raytek.com>

* Brushes.cs : stubbed, added colors. Not sure how to implement,
 but this should at least save someone some typing.
* CharacterRange.cs :Implmented
* Region.cs : stub needed for system.windows.forms

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

21 years ago2002-8-6 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 4 Sep 2002 02:22:56 +0000 (02:22 -0000)]
2002-8-6  DennisHayes <dennish@raytek.com>

* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* ColorDialog.cs
* ColumnHeader.cs
* ComboBox.cs
* ContainerControl.cs
* DataGrid.cs
* DateTimePicker.cs
* ListControl.cs
* PrintPreviewDialog.cs
* Implmented any functions.

* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* Added win32.cs

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

21 years ago2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 4 Sep 2002 01:42:23 +0000 (01:42 -0000)]
2002-09-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs:
* HttpWebResponse.cs: applied patch from Shahms E. King
(shahms@shahms.com).

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

21 years ago2002-09-04 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 3 Sep 2002 23:27:46 +0000 (23:27 -0000)]
2002-09-04  Martin Baulig  <martin@gnome.org>

* location.cs (Location.SymbolDocument): Use full pathnames for the
source files.

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

21 years agoBack out the previous revision, the previous previous revision was right, as
Juli Mallett [Tue, 3 Sep 2002 19:56:00 +0000 (19:56 -0000)]
Back out the previous revision, the previous previous revision was right, as
long as one reran autoheader (autogen.sh).

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

21 years ago2002-09-03 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 3 Sep 2002 18:48:54 +0000 (18:48 -0000)]
2002-09-03  Martin Baulig  <martin@gnome.org>

* debug.c (free_method_info): Make this actually work.

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

21 years agoSee ChangeLog for details.
Jonathan Pryor [Tue, 3 Sep 2002 17:57:40 +0000 (17:57 -0000)]
See ChangeLog for details.

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