mono.git
21 years ago2003-01-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jan 2003 20:52:41 +0000 (20:52 -0000)]
2003-01-29  Zoltan Varga  <vargaz@freemail.hu>

* makefile.gnu: compile and run with debugging enabled.

* makefile.gnu: added SUBDIR variable to enable building a subset of
the tests, saving on compilation time during development.

* run_test.sh: updated to nunit2.

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

21 years ago2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jan 2003 19:16:39 +0000 (19:16 -0000)]
2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
in MapPath.

* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
HtmlControl to keep the tag name.

* System.Web.Util/UrlUtils.cs: fixed Combine ().

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

21 years agoAdded RemoteActivator.cs
Lluis Sanchez [Wed, 29 Jan 2003 18:11:33 +0000 (18:11 -0000)]
Added RemoteActivator.cs

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

21 years ago* ServerContextTerminatorSink.cs: now it forwards messages to the target identity,
Lluis Sanchez [Wed, 29 Jan 2003 18:06:49 +0000 (18:06 -0000)]
* ServerContextTerminatorSink.cs: now it forwards messages to the target identity,
   which knows how to manage each type of service.
* StackBuilderSink.cs: added a reference to the target object.

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

21 years ago* LifetimeServices.cs: Implemented some basic properties.
Lluis Sanchez [Wed, 29 Jan 2003 18:06:01 +0000 (18:06 -0000)]
* LifetimeServices.cs: Implemented some basic properties.

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

21 years ago* Context.cs: Object sinks must be created for each object
Lluis Sanchez [Wed, 29 Jan 2003 18:05:40 +0000 (18:05 -0000)]
* Context.cs: Object sinks must be created for each object
  (they can contain object-specific info).

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

21 years ago* ChannelServices.cs: corrected generation
Lluis Sanchez [Wed, 29 Jan 2003 18:04:36 +0000 (18:04 -0000)]
* ChannelServices.cs: corrected generation
  of exception in SyncDispatchMessage.

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

21 years ago* RemoteActivator.cs: Added.
Lluis Sanchez [Wed, 29 Jan 2003 18:04:02 +0000 (18:04 -0000)]
* RemoteActivator.cs: Added.

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

21 years ago* RemotingServices.cs: Added support for WellKnownService objects.
Lluis Sanchez [Wed, 29 Jan 2003 18:03:33 +0000 (18:03 -0000)]
* RemotingServices.cs: Added support for WellKnownService objects.
* RemotingConfiguration.cs: Implemented most of methods (Configure is not working yet).
* ObjRef.cs: Added initialization of channel info in default constructor.
* Identity.cs: Added support for WellKnownService objects.

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

21 years ago (mono_analyze_stack): RETOBJ always returns native sized objects
Dietmar Maurer [Wed, 29 Jan 2003 17:53:09 +0000 (17:53 -0000)]
(mono_analyze_stack): RETOBJ always returns native sized objects

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

21 years ago (*): correctly set sig->pinvoke, we need to memdup the signature
Dietmar Maurer [Wed, 29 Jan 2003 17:33:41 +0000 (17:33 -0000)]
(*): correctly set sig->pinvoke, we need to memdup the signature
to do that

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

21 years ago2003-01-29 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 29 Jan 2003 16:51:40 +0000 (16:51 -0000)]
2003-01-29  Dick Porter  <dick@ximian.com>

* threads.c: No need for the fake_thread kludge now that Thread
doesn't run a class constructor

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

21 years agoRenamed mono_new_thread_init() to mono_thread_new_init() to conform to
Dick Porter [Wed, 29 Jan 2003 16:42:29 +0000 (16:42 -0000)]
Renamed mono_new_thread_init() to mono_thread_new_init() to conform to
the proper naming scheme

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

21 years ago2003-01-29 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 29 Jan 2003 16:16:09 +0000 (16:16 -0000)]
2003-01-29  Dick Porter  <dick@ximian.com>

* threads.c: Use g_direct_hash instead of the rather bogus
g_int_hash

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

21 years agoAdded a book about threading.
Dick Porter [Wed, 29 Jan 2003 16:15:37 +0000 (16:15 -0000)]
Added a book about threading.

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

21 years ago (mono_marshal_get_struct_to_ptr): generate valid IL code
Dietmar Maurer [Wed, 29 Jan 2003 15:23:56 +0000 (15:23 -0000)]
(mono_marshal_get_struct_to_ptr): generate valid IL code
(mono_marshal_get_ptr_to_struct): generate valid IL code

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

21 years agofix for the previous fix
Dietmar Maurer [Wed, 29 Jan 2003 13:44:01 +0000 (13:44 -0000)]
fix  for the previous fix

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

21 years ago2003-01-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 Jan 2003 13:41:44 +0000 (13:41 -0000)]
2003-01-29  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): add check for null
(fix pinvoke12.exe)

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

21 years ago2003-01-29 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Wed, 29 Jan 2003 13:09:12 +0000 (13:09 -0000)]
2003-01-29  Daniel Morgan <danmorg@sc.rr.com>

* doc/postgresql
* doc/mysql
* doc/ado-net: updates to web pages

* man/sqlsharp.1: update to man page

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

21 years ago2003-01-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 Jan 2003 12:59:13 +0000 (12:59 -0000)]
2003-01-29  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): impl. CEE_MONO_LDNATIVEOBJ

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

21 years agoRemoved unneeded files. Legacy from nunit v1.
Nick Drochak [Wed, 29 Jan 2003 10:51:45 +0000 (10:51 -0000)]
Removed unneeded files. Legacy from nunit v1.

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

21 years agoAdd some missing spaces
Miguel de Icaza [Wed, 29 Jan 2003 07:17:34 +0000 (07:17 -0000)]
Add some missing spaces

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

21 years agocompilation fix
Gonzalo Paniagua Javier [Tue, 28 Jan 2003 22:20:32 +0000 (22:20 -0000)]
compilation fix

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

21 years agoTue Jan 28 22:57:57 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Jan 2003 22:04:01 +0000 (22:04 -0000)]
Tue Jan 28 22:57:57 CET 2003 Paolo Molaro <lupus@ximian.com>

* marshal.c, marshal.h: use larger integers in mono_mb_emit_add_to_local()
to avoid overflows (bug spotted and fixed by Jerome Laban <jlaban@wanadoo.fr>).

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

21 years ago2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Tue, 28 Jan 2003 19:41:17 +0000 (19:41 -0000)]
2003-01-28  Daniel Morgan <danmorg@sc.rr.com>

* Npgsql.build: got it to work for Windows build

* Npgsql/Npgsql.build
* Npgsql/Npgsql.cmbx
* Npgsql/Npgsql.prjx: removed files not needed

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

21 years ago2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Tue, 28 Jan 2003 18:42:47 +0000 (18:42 -0000)]
2003-01-28  Daniel Morgan <danmorg@sc.rr.com>

* added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
  from http://gborg.postgresql.org/project/npgsql/projdisplay.php
  by adding the following files and directories to the mcs module
  in mono-cvs.ximian.com at mcs/class:

      Npgsql (directory)
      ChangeLog
      Makefile
      Npgsql.build
      RELEASENOTES.txt
      TODO.txt
      makefile.gnu
      LICENSE.txt
      README.txt
      STATUS.txt
      list
  Npgsql/Npgsql (directory)
  Npgsql/AssemblyInfo.cs
  Npgsql/NpgsqlAsciiRow.cs
  Npgsql/NpgsqlBackEndKeyData.cs
  Npgsql/NpgsqlClosedState.cs
  Npgsql/NpgsqlCommand.cs
  Npgsql/NpgsqlConnectedState.cs
  Npgsql/NpgsqlConnection.cs
  Npgsql/NpgsqlConnector.cs
  Npgsql/NpgsqlConnectorPool.cs
  Npgsql/NpgsqlDataAdapter.cs
  Npgsql/NpgsqlDataReader.cs
  Npgsql/NpgsqlEventLog.cs
  Npgsql/NpgsqlException.cs
  Npgsql/NpgsqlMediator.cs
  Npgsql/NpgsqlMessageTypes.cs
  Npgsql/NpgsqlParameter.cs
  Npgsql/NpgsqlParameterCollection.cs
  Npgsql/NpgsqlPasswordPacket.cs
  Npgsql/NpgsqlQuery.cs
  Npgsql/NpgsqlReadyState.cs
  Npgsql/NpgsqlResultSet.cs
  Npgsql/NpgsqlRowDescription.cs
  Npgsql/NpgsqlStartupPacket.cs
  Npgsql/NpgsqlStartupState.cs
  Npgsql/NpgsqlState.cs
  Npgsql/NpgsqlTransaction.cs
  Npgsql/PGUtil.cs

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

21 years agoTue Jan 28 18:55:19 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Jan 2003 17:58:55 +0000 (17:58 -0000)]
Tue Jan 28 18:55:19 CET 2003 Paolo Molaro <lupus@ximian.com>

* profiler.c: provide more callers information.

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

21 years agoTue Jan 28 18:53:08 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Jan 2003 17:57:11 +0000 (17:57 -0000)]
Tue Jan 28 18:53:08 CET 2003 Paolo Molaro <lupus@ximian.com>

* monograph.c: more stats added.

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

21 years ago2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Tue, 28 Jan 2003 17:55:37 +0000 (17:55 -0000)]
2003-01-28  Ville Palo <vi64pa@koti.soon.fi>

* XmlDataDocumentTest.cs: Fixed some tests

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

21 years ago2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Tue, 28 Jan 2003 17:53:07 +0000 (17:53 -0000)]
2003-01-28  Ville Palo <vi64pa@koti.soon.fi>

* DataSet.cs: One little fix to writing xml

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

21 years ago2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Jan 2003 17:25:52 +0000 (17:25 -0000)]
2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: added WIN32_THREADS flag when building under windows.
It seems that the header files of the gc do not always define it when
GC_WIN32_THREADS is defined.

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

21 years agoTue Jan 28 17:55:59 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Jan 2003 16:59:53 +0000 (16:59 -0000)]
Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <lupus@ximian.com>

* Thread.cs: delay-init datastorehash.

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

21 years agoTue Jan 28 17:30:57 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Jan 2003 16:41:41 +0000 (16:41 -0000)]
Tue Jan 28 17:30:57 CET 2003 Paolo Molaro <lupus@ximian.com>

* statement.cs: small memory and time optimization in FlowBranching.

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

21 years ago2003-01-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 28 Jan 2003 16:33:04 +0000 (16:33 -0000)]
2003-01-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.

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

21 years ago2003-01-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Jan 2003 15:53:29 +0000 (15:53 -0000)]
2003-01-28  Zoltan Varga  <vargaz@freemail.hu>

* x86.brg (mono_ldintftn): use <= instead of <, since the
interface_offsets array is max_interface_id + 1 long.

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

21 years ago2003-01-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Jan 2003 15:32:17 +0000 (15:32 -0000)]
2003-01-28  Zoltan Varga  <vargaz@freemail.hu>

* FileTest.cs: Added tests for GetCreationTime.

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

21 years ago2003-01-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Jan 2003 15:31:02 +0000 (15:31 -0000)]
2003-01-28  Zoltan Varga  <vargaz@freemail.hu>

* File.cs: add error handling to Get...Time methods.

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

21 years ago2003-01-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Jan 2003 15:28:13 +0000 (15:28 -0000)]
2003-01-28  Zoltan Varga  <vargaz@freemail.hu>

* DateTime.cs: fix FromFileTime so the time returned by
File::GetLastModificationTime etc. is in the correct timezone.

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

21 years ago2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Jan 2003 15:23:19 +0000 (15:23 -0000)]
2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RealProxy.cs: fixed compilation by adding missing GetObjectData ().

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

21 years agoUpdate
Patrik Torstensson [Tue, 28 Jan 2003 14:53:01 +0000 (14:53 -0000)]
Update

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

21 years ago2003-01-28 Patrik Torstensson
Patrik Torstensson [Tue, 28 Jan 2003 14:48:37 +0000 (14:48 -0000)]
2003-01-28  Patrik Torstensson
* Exception.cs: reverted formating/endline changes (sorry guys)

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

21 years agoFlush
Patrik Torstensson [Tue, 28 Jan 2003 14:45:27 +0000 (14:45 -0000)]
Flush

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

21 years ago2002-12-28 Patrik Torstensson
Patrik Torstensson [Tue, 28 Jan 2003 14:45:06 +0000 (14:45 -0000)]
2002-12-28  Patrik Torstensson
* CrossAppDomainChannel.cs: First version, without support for "going" into the right domain

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

21 years ago2002-12-28 Patrik Torstensson
Patrik Torstensson [Tue, 28 Jan 2003 14:44:13 +0000 (14:44 -0000)]
2002-12-28  Patrik Torstensson

* RemotingSurrogateSelector.cs: Added serialization support for MBR's.
* RemotingSurrogate.cs: Moved ObjRefSurrogate and MBRSurrogate to new file.
* ErrorMessage.cs: Dummy used when an exception occours.
* MonoMethodMessage.cs: Added Serializable and support for be created with null methods

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

21 years ago2003-01-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 Jan 2003 14:17:54 +0000 (14:17 -0000)]
2003-01-28  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_managed_wrapper): generate valid IL code

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

21 years ago2003-01-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 Jan 2003 13:09:24 +0000 (13:09 -0000)]
2003-01-28  Dietmar Maurer  <dietmar@ximian.com>

* appdomain.h:added fix from Patrik: _MonoAppDomain is a MBR object

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

21 years ago2003-01-28 Patrik Torstensson
Patrik Torstensson [Tue, 28 Jan 2003 12:15:37 +0000 (12:15 -0000)]
2003-01-28  Patrik Torstensson

* MarshalByRefObject.cs: implemented GetObjectIdentity
* Exception.cs: added support for remote exceptions

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

21 years ago*** empty log message ***
Piers Haken [Tue, 28 Jan 2003 12:13:34 +0000 (12:13 -0000)]
*** empty log message ***

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

21 years agoOops
Patrik Torstensson [Tue, 28 Jan 2003 12:10:39 +0000 (12:10 -0000)]
Oops

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

21 years ago2003-01-28 Patrik Torstensson
Patrik Torstensson [Tue, 28 Jan 2003 12:10:08 +0000 (12:10 -0000)]
2003-01-28 Patrik Torstensson

* ObjRef.cs: Fixed Objref marshalling flags

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

21 years ago2003-01-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 Jan 2003 12:00:50 +0000 (12:00 -0000)]
2003-01-28  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): generate valid IL code

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

21 years ago2003-01-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 28 Jan 2003 09:52:07 +0000 (09:52 -0000)]
2003-01-28  Nick Drochak <ndrochak@gol.com>

        * MutexTest.cs: Ignore tests that hang mono.
        * ThreadTest.cs: Ignore tests that hang mono.

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

21 years ago2003-01-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 28 Jan 2003 09:43:32 +0000 (09:43 -0000)]
2003-01-28  Nick Drochak <ndrochak@gol.com>

        * ResourceReaderTest.cs: Ignore part of a test that hangs mono.

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

21 years ago2003-01-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 28 Jan 2003 09:36:28 +0000 (09:36 -0000)]
2003-01-28  Nick Drochak <ndrochak@gol.com>

        * ArrayTest.cs: Avoid nulls in arrays. This crashes mono.
        * ConsoleTest.cs: Ignore some tests that hang mono.
        * ConvertTest.cs: Ignore some tests that hang mono.

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

21 years ago2003-01-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 Jan 2003 08:51:49 +0000 (08:51 -0000)]
2003-01-28  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (mono_ldintftn): fix from Zoltan: use max_interface_id

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

21 years agoImprove with get/set
Miguel de Icaza [Tue, 28 Jan 2003 06:53:54 +0000 (06:53 -0000)]
Improve with get/set

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

21 years ago2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Jan 2003 00:27:11 +0000 (00:27 -0000)]
2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTime.cs: fixed bug #37225.

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

21 years agoObjectManager.cs: Corrected a problem with IObjectReferece objects.
Lluis Sanchez [Mon, 27 Jan 2003 20:33:05 +0000 (20:33 -0000)]
ObjectManager.cs: Corrected a problem with IObjectReferece objects.

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 20:26:33 +0000 (20:26 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* StackTraceTest.cs: Added test for unthrown exceptions.

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 20:14:02 +0000 (20:14 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* StringTest.cs: Added tests for out-of-bounds indexes in GetChars().

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 20:11:29 +0000 (20:11 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* exception.c (ves_icall_get_trace): avoid crash if the exception is
not yet thrown.

* exception.c (ves_icall_get_trace): avoid crash on unmanaged frames.

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 20:04:27 +0000 (20:04 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: (ves_icall_System_CurrentTimeZone_GetTimeZoneData): raise an
exception instead of going into an infinite loop on dates which it
can't yet handle.

* string-icalls.c (ves_icall_System_String_get_Chars): raise
out-of-range exception if needed.

* class.c (mono_class_setup_vtable): allow a virtual method to provide
an implementation for an interface method and to override an inherited
method at the same time.
Imagine a scenario when a virtual method is used to override a
virtual abstract method in a parent class, and this same method
provides an implementation for an method inherited from an interface.
In this case, the interface resolution code will set im->slot, which
means that the virtual method override pass will skip this method
which means a pointer to the abstract method inherited from the parent
will remain in the vtable of this non-abstract class.

* class.c: (mono_class_setup_vtable): continue search for a real
method if only an abstract method is found.

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

21 years ago2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Mon, 27 Jan 2003 19:30:28 +0000 (19:30 -0000)]
2003-01-27  Ville Palo <vi64pa@koti.soon.fi>

* XmlSchemaMapper.cs: Some fixes.
* DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix

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

21 years ago2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Mon, 27 Jan 2003 19:01:47 +0000 (19:01 -0000)]
2003-01-27  Ville Palo <vi64pa@koti.soon.fi>

* ChangeLog: Added this file.
* XmlDataDocument.cs: Some little fixes.

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

21 years agoAttributes have been added to the grammar and seem to work, even if to a
Marco Ridoni [Mon, 27 Jan 2003 18:16:45 +0000 (18:16 -0000)]
Attributes have been added to the grammar and seem to work, even if to a
  limited extent
A few fixes for local variable delcalarations
A few fixes for array syntax
Added CType()

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

21 years ago2003-01-27 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Mon, 27 Jan 2003 18:02:33 +0000 (18:02 -0000)]
2003-01-27 Gaurav Vaish <gvaish_mono AT lycos.com>

* IListControl.cs        : A private class hacked.
* PagedControl.cs        : Fixed typo error (OnPageChange)
* List.cs                : Stubbed almost all methods. Will
                           implement tommorrow. Time to sleep.
* MobileListItemCollection.cs
                         : Finally, a collection class will bite
                           me all. ;-)

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

21 years ago2003-01-27 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Mon, 27 Jan 2003 17:28:33 +0000 (17:28 -0000)]
2003-01-27 Gaurav Vaish <gvaish_mono AT lycos.com>

* List.cs, PagedControl.cs
                         : Was I drunk? or Sleeping when I wrote
                           the classes? I mixed up the methods.
                           Reorganizing.
* PagedControl.cs        : Completed.

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

21 years agoMon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Jan 2003 16:20:41 +0000 (16:20 -0000)]
Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>

* get.c: decode also the size info in get_marshal_info()
for ByValStr and ByValArray.

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

21 years agoMon Jan 27 17:12:19 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Jan 2003 16:18:44 +0000 (16:18 -0000)]
Mon Jan 27 17:12:19 CET 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: add size to encoding for ByValStr and ByValArray
marshal blob (from "Jerome Laban" <jlaban@wanadoo.fr>).

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

21 years agoMon Jan 27 17:07:38 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Jan 2003 16:14:12 +0000 (16:14 -0000)]
Mon Jan 27 17:07:38 CET 2003 Paolo Molaro <lupus@ximian.com>

* CustomAttributeBuilder.cs, FieldBuilder.cs: applied
(reformatted) patch from "Jerome Laban" <jlaban@wanadoo.fr>
to fix ByValStr and ByValArray encodings.

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

21 years ago2003-01-26 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Mon, 27 Jan 2003 16:01:03 +0000 (16:01 -0000)]
2003-01-26 Gaurav Vaish <gvaish_mono AT lycos.com>

* Form.cs                : HasActiveHandler()       - Stubbed.
* List.cs                : Initial implementation.
* ItemPager.cs,
* Image.cs,
* Link.cs,
* ListDataBindEventArgs.cs,
* ListDataBindEventHandler.cs,
* ListCommandEventArgs.cs,
* ListCommandEventHandler.cs,
* LoadItemsEventArgs.cs,
* LoadItemsEventHandler.cs
                         : Completed.
* MobilePage.cs          : ActivePage { get; set; } - Stubbed.
                         : GetForm(string)          - Stubbed.
* PagedControl.cs        : Initial implementation.

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 15:34:33 +0000 (15:34 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_setup_vtable): pass the override info as an
argument.

* class.c (mono_class_setup_vtable): set the slot of overriding methods
correctly.

* reflection.c (ensure_runtime_vtable); add support for method
overrides.

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 14:59:52 +0000 (14:59 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (resolution_scope_from_image): Hack to work to work with
dynamic assemblies.

* reflection.c (mono_image_typedef_or_ref): renamed to ..._aux and
added a 'force_ref' argument to force this function to allways return
a TypeRef. This is needed by mono_image_get_memberref_token ().

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

21 years ago2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Mon, 27 Jan 2003 14:24:11 +0000 (14:24 -0000)]
2003-27-01  Ville Palo <vi64pa@koti.soon.fi>

* DataRelationTest.cs: Added more tests

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 14:17:32 +0000 (14:17 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_type_info): interfaces really don't have
a parent.

* reflection.c (mono_image_basic_init): fill out missing fields of
image structure.

* reflection.c (mono_image_basic_init): Invoke assembly load hooks for
dynamic assemblies. This is required so dynamic assemblies show up in
AppDomain.GetAssemblies (), emit an AssembyLoadEvent, gets searched by
Type::GetType() etc. This is consistent with MS behaviour.

* image.c image.h reflection.c: add newly created classes to the name
cache so mono_class_get () will find them.

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

21 years ago2003-27-01 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Mon, 27 Jan 2003 13:56:48 +0000 (13:56 -0000)]
2003-27-01  Ville Palo <vi64pa@koti.soon.fi>

* DataTableTest.cs: Added test for DataTable.Select ()

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 13:31:59 +0000 (13:31 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

First part of changes to get IKVM.NET running under mono.

* appdomain.h, appdomain.c: added new function
mono_domain_try_type_resolve() which will emit TypeResolve events.
This function will call AppDomain::DoTypeResolve to do the actual work.

* class.h, class.c, loader.c, object.c, reflection.h, reflection.c:
moved existing code dealing with dynamic tokens to a new function
called mono_reflection_lookup_dynamic_token (). This function will
raise TypeResolve events when appropriate. Since reflection.c is not
part of libmetadata, a new hook function called
mono_lookup_dynamic_token() is added to class.c which will call this.

* assembly.h assembly.c: make the invoke_load_hook function public,
so it can be called for dynamic assemblies.

* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): skip interfaces since they do not have initializers.

* icall.c (ves_icall_type_from_name): emit a TypeResolve event if the
type isn't found.

* reflection.c reflection.h: change MonoDynamicAssembly.tokens to a
MonoGHashTable, since it contains pointers to objects which the GC
needs to track.

* assembly.c (search_loaded): remove unused variable.

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

21 years ago2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 27 Jan 2003 13:20:09 +0000 (13:20 -0000)]
2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* driver.cs: fixed bug #37187.

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

21 years agoMon Jan 27 12:49:10 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Jan 2003 11:54:14 +0000 (11:54 -0000)]
Mon Jan 27 12:49:10 CET 2003 Paolo Molaro <lupus@ximian.com>

* alpha/*: start of the port to the alpha architecture by
Laramie Leavitt (<lar@leavitt.us>).

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

21 years agoMon Jan 27 12:18:45 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Jan 2003 11:24:12 +0000 (11:24 -0000)]
Mon Jan 27 12:18:45 CET 2003 Paolo Molaro <lupus@ximian.com>

* object.c: fixed issue exposed by gcc-generated IL programs
that use RVA data for pointers.

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

21 years ago2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 27 Jan 2003 11:01:59 +0000 (11:01 -0000)]
2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!

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

21 years ago* TcpServerChannel.cs: Changed management of listener threads.
Lluis Sanchez [Mon, 27 Jan 2003 10:49:16 +0000 (10:49 -0000)]
* TcpServerChannel.cs: Changed management of listener threads.
* TcpConnectionPool.cs: Add shutdown method.
* TcpChannel.cs: Corrected shutdown method.

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

21 years ago2003-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Jan 2003 10:37:01 +0000 (10:37 -0000)]
2003-01-27  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs: Added DoTypeResolve method which will be called by
the runtime to raise TypeResolve events.

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

21 years ago(ToType): Implement this using Convert.ToType.
Duncan Mak [Mon, 27 Jan 2003 08:22:31 +0000 (08:22 -0000)]
(ToType): Implement this using Convert.ToType.

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

21 years ago2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 27 Jan 2003 04:23:43 +0000 (04:23 -0000)]
2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AssemblyBuilder.cs: fixed compilation with csc.

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

21 years agoupdated makefile
Miguel de Icaza [Mon, 27 Jan 2003 02:12:27 +0000 (02:12 -0000)]
updated makefile

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

21 years agoRename test
Miguel de Icaza [Mon, 27 Jan 2003 02:12:14 +0000 (02:12 -0000)]
Rename test

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

21 years ago2003-01-27 Pedro Martinez Juli� <yoros@wanadoo.es>
Miguel de Icaza [Mon, 27 Jan 2003 02:07:36 +0000 (02:07 -0000)]
2003-01-27  Pedro Martinez Juli�  <yoros@wanadoo.es>

* expression.cs (IndexerAccess.DoResolve): Before trying to resolve
any indexer, it's needed to build a list with all the indexers in the
hierarchy (AllGetters), else we have problems. Fixes #35653.

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

21 years agoMakefile updates
Miguel de Icaza [Mon, 27 Jan 2003 02:05:46 +0000 (02:05 -0000)]
Makefile updates

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

21 years agoAdd new test to handle overloaded indexers
Miguel de Icaza [Mon, 27 Jan 2003 02:05:18 +0000 (02:05 -0000)]
Add new test to handle overloaded indexers

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

21 years agoMailing lists
Miguel de Icaza [Sun, 26 Jan 2003 20:29:50 +0000 (20:29 -0000)]
Mailing lists

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

21 years ago2003-01-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 Jan 2003 20:11:30 +0000 (20:11 -0000)]
2003-01-26  Miguel de Icaza  <miguel@ximian.com>

* AssemblyBuilder.cs (Save): Set the executable bit at the end.
This uses a non-official enumeration value to call SetFileAttributes.

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

21 years ago2003-01-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 26 Jan 2003 20:09:19 +0000 (20:09 -0000)]
2003-01-26  Zoltan Varga  <vargaz@freemail.hu>

* Directory.cs: fix GetParent so it actually works.

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

21 years ago2003-01-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 Jan 2003 20:01:39 +0000 (20:01 -0000)]
2003-01-26  Miguel de Icaza  <miguel@ximian.com>

* io.c (SetFileAttributes): This routine is not currently
implemented for the general case, but I added a special case to
set the executable bit on Linux.

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

21 years ago* TcpServerChannel.cs: Changed default formatter sink to BinaryFormatterSink
Lluis Sanchez [Sun, 26 Jan 2003 18:11:18 +0000 (18:11 -0000)]
* TcpServerChannel.cs: Changed default formatter sink to BinaryFormatterSink
* TcpMessageIO.cs: warning corrected.
* TcpConnectionPool.cs: changed default value of MaxOpenConnections.
* TcpClientTransportSink.cs: implemented support for one way calls.
* TcpClientChannel.cs: Changed default formatter sink to BinaryFormatterSink.
* TcpChannel.cs: corrected Parse method. Now can parse channel uris.
* BinaryServerFormatterSink.cs: Implemented.
* BinaryClientFormatterSink.cs: Implemented.

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

21 years ago* unix.args: added System.Runtime.Remoting.Messaging/ArgInfo.cs,
Lluis Sanchez [Sun, 26 Jan 2003 17:59:56 +0000 (17:59 -0000)]
* unix.args: added System.Runtime.Remoting.Messaging/ArgInfo.cs,
  System.Runtime.Remoting.Messaging/MethodCallDictionary.cs
  System.Runtime.Remoting.Messaging/MethodDictionary.cs
  System.Runtime.Remoting.Messaging/MethodReturnDictionary.cs

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

21 years ago* ReturnMessage.cs: Implemented property Properties
Lluis Sanchez [Sun, 26 Jan 2003 17:58:01 +0000 (17:58 -0000)]
* ReturnMessage.cs: Implemented property Properties
* RemotingSurrogateSelector.cs: Implemented serialization support for ObjRef.
* MonoMethodMessage.cs: Implemented Properties and MethodSignature properties.
* MethodReturnMessageWrapper.cs: Implemented.
* MethodCallMessageWrapper.cs: Implemented.
* MethodCall.cs: Implemented.
* Header.cs: Small corrections to make it work.
* MethodDictionary.cs: Added.
* MethodCallDictionary.cs: Added.
* MethodReturnDictionary.cs: Added.
* ArgInfo.cs: Added.

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

21 years ago* ChannelServices.cs: small correction in CreateClientChannelSinkChain.
Lluis Sanchez [Sun, 26 Jan 2003 17:30:22 +0000 (17:30 -0000)]
* ChannelServices.cs: small correction in CreateClientChannelSinkChain.
* ChannelDataStore.cs: added Serializable attribute.

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

21 years ago2003-01-26 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 26 Jan 2003 17:15:39 +0000 (17:15 -0000)]
2003-01-26  Daniel Morgan <danmorg@sc.rr.com>

* doc/index
* doc/ado-net
* doc/firebird
* doc/ibmdb2
* doc/mysql
* doc/odbc
* doc/oledb
* doc/oracle
* doc/postgresql
* doc/sqlclient
* doc/sqlite
* doc/sybase
* doc/tdsclient: corrections

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

21 years ago2003-01-26 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 26 Jan 2003 14:15:36 +0000 (14:15 -0000)]
2003-01-26  Daniel Morgan <danmorg@sc.rr.com>

* sqlsharpgtk.cs: added support for providers:
 MySQLNet, Npgsql, DB2Client, and Oracle

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