mono.git
20 years ago2003-10-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 10 Oct 2003 05:37:29 +0000 (05:37 -0000)]
2003-10-10  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_type): If we're inflating for a generic
type instance (and not for a generic method), return
MONO_TYPE_MVAR unchanged.

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

20 years ago2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 04:35:54 +0000 (04:35 -0000)]
2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SoapDocumentationHandler.cs: don't close the response stream here
to allow filtering.

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

20 years ago2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 03:24:41 +0000 (03:24 -0000)]
2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Collections/Hashtable.cs:
* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
Barcenilla (barce@frlp.utn.edu.ar) that includes some fixes for
Hashtable + NUnit2 tests.

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

20 years ago2003-10-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 10 Oct 2003 03:14:54 +0000 (03:14 -0000)]
2003-10-09  Miguel de Icaza  <miguel@ximian.com>

* DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
should not be TimeSpan.MaxValue, because it overflow.  Set this to
be MAX_VALUE_TICKS

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

20 years ago2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:44:42 +0000 (01:44 -0000)]
2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.[ch]: export busy_worker_threads, not mono_worker_threads.
* threads.c: GetAvailableTheads is slightly more accurate.

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

20 years ago2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:37:27 +0000 (01:37 -0000)]
2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* string-icalls.c: Join ignores null strings in the source array.

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

20 years agoadded webControls section
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:17:27 +0000 (01:17 -0000)]
added webControls section

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

20 years ago2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:16:51 +0000 (01:16 -0000)]
2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: added new file.
* System.Web/HttpUtility.cs: error checking.
* System.Web.Configuration/WebControlsSectionHandler.cs: new file to
handle <webControls> configuration.

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

20 years ago2003-10-09 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 10 Oct 2003 00:30:15 +0000 (00:30 -0000)]
2003-10-09  Bernie Solomon  <bernard@ugsolutions.com>

* threads.h threads.c : add mono_threads_set_default_stacksize
and pass default to CreateThread calls.

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

20 years ago * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
Lluis Sanchez [Fri, 10 Oct 2003 00:24:03 +0000 (00:24 -0000)]
* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
  Read only properties are only serialized if the type is an array.

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

20 years agoreport about ICU
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 23:36:33 +0000 (23:36 -0000)]
report about ICU

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

20 years ago2003-10-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 23:24:19 +0000 (23:24 -0000)]
2003-10-10  Martin Baulig  <martin@ximian.com>

* gen-15.cs: New test for generic methods.

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

20 years ago2003-10-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 23:18:15 +0000 (23:18 -0000)]
2003-10-10  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Added `index' field.
(TypeBuilder.DefineGenericParameter): Added overloaded version
taking an `int index' argument for generic methods.

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

20 years ago2003-10-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 23:15:12 +0000 (23:15 -0000)]
2003-10-10  Martin Baulig  <martin@ximian.com>

* reflection.c (MonoReflectionGenericParam): Added `guint32 index'.
(mono_reflection_define_generic_parameter): If `gparam->index' is
non-zero, create a MONO_TYPE_MVAR.
(encode_type): Added support for MONO_TYPE_MVAR.

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

20 years ago2003-10-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 23:08:39 +0000 (23:08 -0000)]
2003-10-10  Martin Baulig  <martin@ximian.com>

* class.cs (Method): Added .ctor which takes a `GenericMethod'
instead of a `DeclSpace'.  This is used for generic methods.

* cs-parser.jay (method_header): Added support for generic
methods; create a `GenericMethod' instance and pass it to the
`Method's .ctor; it'll be used as the `DeclSpace' to lookup
parameters and locals.

* decl.cs (DeclSpace.SetParameterInfo): Removed Location argument
since we already have the location.  Check whether we're a generic
type declaration or a generic method and create the correct type
parameter.

* generic.cs (TypeParameter): Added .ctor which takes an
additional `int index' argument.  It is used for generic methods.
(TypeParameter.DefineMethod): New public method.
(GenericMethod): New public class; derives from DeclSpace and is
used for generic methods.

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

20 years agoMerged from MCS.
Martin Baulig [Thu, 9 Oct 2003 22:41:37 +0000 (22:41 -0000)]
Merged from MCS.

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

20 years ago2003-10-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 22:23:09 +0000 (22:23 -0000)]
2003-10-09  Martin Baulig  <martin@ximian.com>

* class.cs (MethodCore): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodCore.DoDefineParameters): Removed the TypeContainer
argument; use the DeclSpace which was passed to the .ctor instead.
(MethodCore.CheckParameter): Take a DeclSpace instead of a
TypeContainer; we only need a DeclSpace here.

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

20 years agoAdd MONO_ARCH_SAVE_REGS (noticed by Gonzalo)
Dick Porter [Thu, 9 Oct 2003 21:48:10 +0000 (21:48 -0000)]
Add MONO_ARCH_SAVE_REGS (noticed by Gonzalo)

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

20 years agoOoops.
Martin Baulig [Thu, 9 Oct 2003 21:39:18 +0000 (21:39 -0000)]
Ooops.

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

20 years ago2003-10-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 21:33:50 +0000 (21:33 -0000)]
2003-10-09  Martin Baulig  <martin@ximian.com>

* class.cs (MethodData): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodData.Define, MethodData.Emit): Pass the `ds' to the
EmitContext's .ctor.

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

20 years ago2003-10-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Oct 2003 21:18:32 +0000 (21:18 -0000)]
2003-10-09  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.AsAccessible): Moved here from TypeContainer.
(AccessLevel, CheckAccessLevel, GetAccessLevel): They're used by
AsAccessible(), moved them as well.

* class.cs (TypeContainer.AsAccessible): Moved to DeclSpace.

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

20 years ago2003-10-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 9 Oct 2003 21:09:57 +0000 (21:09 -0000)]
2003-10-09  Dick Porter  <dick@ximian.com>

* CultureInfo.cs: Implemented, with internal calls to ICU apart
from the Invariant culture.

* SortKey.cs:
* CompareInfo.cs: Implemented

* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
construct default FullDateTimePattern on the fly.

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

20 years ago2003-10-09 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 9 Oct 2003 21:09:48 +0000 (21:09 -0000)]
2003-10-09  Bernie Solomon  <bernard@ugsolutions.com>

* threads.c: (CreateThread) use stacksize argument
if non-zero - change default for 64 bits to 4Mb

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

20 years ago2003-10-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 9 Oct 2003 21:00:27 +0000 (21:00 -0000)]
2003-10-09  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Check for ICU availability

2003-10-09  Dick Porter  <dick@ximian.com>

* icall.c:
* locales.h:
* locales.c: Internal calls for constructing CultureInfo and
related objects from libicu (if its available.)

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

20 years ago2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 20:34:50 +0000 (20:34 -0000)]
2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
duplicate entry exception.

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

20 years ago2003-10-09 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 9 Oct 2003 19:20:57 +0000 (19:20 -0000)]
2003-10-09  Bernie Solomon  <bernard@ugsolutions.com>

* mono/tests/libtest.c: fix after merge of pinvoke2.cs

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

20 years ago2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 9 Oct 2003 19:14:22 +0000 (19:14 -0000)]
2003-10-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* System.Xml.dll.sources: added DTDReader.cs.

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

20 years ago2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 9 Oct 2003 19:13:16 +0000 (19:13 -0000)]
2003-10-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Added DTDReader.cs. It is almost importation of XmlTextReader.
* DTDObjectModel.cs :
  - More .NET-ism. Properties took place of fields.
  - Imported PE set from XmlTextReader. Added location info.
  - Added DTDEntityBase common to PE and GE.
  - More correct text declaration handling with new XmlTextReader.
* DTDValidatingReader.cs :
  - Now uses entity resolving XmlTextReader to validate attributes
    correctly. Implemented standalone
  - Standalone and default related validity constraints check.
* XmlImplementation.cs: Implemented HasFeature().
* XmlNode.cs : Implemented Supports().
* XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
* XmlParserInput.cs : Removed extraneous members.
* XmlTextReader.cs :
  - All DTD related functionality now goes to DTDReader.cs
  - It became old simple TextReader input style.
  - Implemented GetRemainder().
  - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
    additional new private method ReadUntilEndTag().
  - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
    ReadXmlDeclaration() now became simple.
  - More strict entity reference check at SetEntityReferenceProperty()
  - Removed extraneous members.
* XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.

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

20 years ago2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 9 Oct 2003 19:08:36 +0000 (19:08 -0000)]
2003-10-09  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.

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

20 years ago2003-10-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Oct 2003 18:18:42 +0000 (18:18 -0000)]
2003-10-09  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_create_class_init_trampoline): Add a lock around
class_init_hash_addr.

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

20 years agolistview column enhancements
Jordi Mas i Hernandez [Thu, 9 Oct 2003 16:29:06 +0000 (16:29 -0000)]
listview column enhancements

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

20 years ago2003-10-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Oct 2003 16:14:04 +0000 (16:14 -0000)]
2003-10-09  Zoltan Varga  <vargaz@freemail.hu>

* arrays.cs (test_0_newarr_emulation): Add new regression test for
#30073.

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

20 years ago2003-10-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Oct 2003 16:12:12 +0000 (16:12 -0000)]
2003-10-09  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Decompose the NEWARR instruction before decomposing its
arguments. Fixes #30073.

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

20 years ago2003-10-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Oct 2003 16:04:38 +0000 (16:04 -0000)]
2003-10-09  Zoltan Varga  <vargaz@freemail.hu>

* debug-helpers.c (wrapper_type_names): Add 'unknown' wrapper type.

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

20 years ago * main.c/get.c: Remove magic numbers, use constants.
Jackson Harper [Thu, 9 Oct 2003 09:20:55 +0000 (09:20 -0000)]
    * main.c/get.c: Remove magic numbers, use constants.

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

20 years ago * PEAPI.cs: Add generic method Mvar type. Add MethodSpec table,
Jackson Harper [Thu, 9 Oct 2003 08:53:38 +0000 (08:53 -0000)]
    * PEAPI.cs: Add generic method Mvar type. Add MethodSpec table,
and an Api method for adding methods to the methodspec table.

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

20 years ago * PeapiTypeRef.cs: Remove old hackery for adding methods to
Jackson Harper [Thu, 9 Oct 2003 06:36:32 +0000 (06:36 -0000)]
    * PeapiTypeRef.cs: Remove old hackery for adding methods to
arrays, use typespecs now.

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

20 years ago * PEAPI.cs: Remove some old hacks for adding methods to arrays,
Jackson Harper [Thu, 9 Oct 2003 06:34:17 +0000 (06:34 -0000)]
    * PEAPI.cs: Remove some old hacks for adding methods to arrays,
typespecs are used for this now.

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

20 years ago2003-10-08 Todd Berman <tberman@gentoo.org>
Todd Berman [Thu, 9 Oct 2003 04:45:15 +0000 (04:45 -0000)]
2003-10-08  Todd Berman <tberman@gentoo.org>

        * Microsoft.Web.Services.dll2.sources: Added RelatesTo.cs

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

20 years ago2003-10-08 Todd Berman <tberman@gentoo.org>
Todd Berman [Thu, 9 Oct 2003 04:44:36 +0000 (04:44 -0000)]
2003-10-08  Todd Berman <tberman@gentoo.org>

        * RelatesTo.cs: Implemented
        * ReplyTo.cs: Implemented
        * To.cs: Implemented

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

20 years ago2003-10-08 Todd Berman <tberman@gentoo.org>
Todd Berman [Thu, 9 Oct 2003 04:42:58 +0000 (04:42 -0000)]
2003-10-08  Todd Berman <tberman@gentoo.org>

        * QualifiedName.cs: Initial implementation of FromString.

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

20 years ago2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 03:52:42 +0000 (03:52 -0000)]
2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: added an argument to async_invoke_thread that is the
item to process, pass the MonoAsyncResult to the thread start function
when creating a new thread. This way we don't need to acquire any lock
when we're creating a new thread. Readded a semaphore for faster
response times (instead of that Sleep i added).

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

20 years ago2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 03:31:08 +0000 (03:31 -0000)]
2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
* System.Net/ServicePointManager.cs: this is the one that reads config.
* System.Net/WebConnectionGroup.cs: don't read config here.
* System.Net/WebConnection.cs: added the queue again. Launch queued
requests on error.
* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
is case insensitive now.

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

20 years agoFlushetyFlushage
Miguel de Icaza [Thu, 9 Oct 2003 02:51:41 +0000 (02:51 -0000)]
FlushetyFlushage

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

20 years ago2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 02:35:08 +0000 (02:35 -0000)]
2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
the state before throwing the exception if depth > 0.

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

20 years ago * SoapReflectionImporter.cs, XmlReflectionImporter.cs,
Lluis Sanchez [Thu, 9 Oct 2003 00:51:16 +0000 (00:51 -0000)]
* SoapReflectionImporter.cs, XmlReflectionImporter.cs,
  SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
  is not needed for value types.

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

20 years ago2003-10-08 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 9 Oct 2003 00:44:55 +0000 (00:44 -0000)]
2003-10-08  Bernie Solomon  <bernard@ugsolutions.com>

* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
get daylight change dates better on Windows, fix handling
of platforms without tm_gmtoff.

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

20 years agoMono.Data.Tds/Mono.Data.Tds.Protocol/ChangeLog
Gonzalo Paniagua Javier [Wed, 8 Oct 2003 23:41:01 +0000 (23:41 -0000)]
Mono.Data.Tds/Mono.Data.Tds.Protocol/ChangeLog

2003-10-03  Diego Caravana  <diego@toth.it>

* Tds70.cs: Now handles parameters of type ReturnValue and
InputOutput.
(BuildParameters): skips the ReturnValue params and builds the
set string considering the assigned value for InputOutput ones.
(BuildProcedureCall): like the preceding one plus adds the return
value to the final select.

-----
System.Data/System.Data.SqlClient/ChangeLog

2003-10-03  Diego Caravana  <diego@toth.it>

* SqlCommand.cs: no change.

* SqlConnection.cs (Close): Added checks for null instance
variables.

* SqlParameter.cs (Direction): Now handles parameters of type
ReturnValue and InputOutput.

* SqlParameterCollection.cs (IndexOf(string)): Search for
SqlParameter object in list is done by obtaining ParameterName
attribute, not directly through list.IndexOf().

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

20 years ago * main.c (dis_genericparam): renamed to
Jackson Harper [Wed, 8 Oct 2003 23:22:11 +0000 (23:22 -0000)]
    * main.c (dis_genericparam): renamed to
dis_generic_param_and_constraints, allow a table type to be passed
to the method so this could be used with generic methods (It is
not though).
* get.c/get.h (get_generic_param): method to stringify generic
type and method parameters.
* get.c (dis_stringify_method_signature): Add generic
parameters.

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

20 years ago2003-10-08 Todd Berman <tberman@gentoo.org>
Todd Berman [Wed, 8 Oct 2003 22:25:25 +0000 (22:25 -0000)]
2003-10-08  Todd Berman <tberman@gentoo.org>

        * Microsoft.Web.Services.dll.2.sources: Added FaultTo.cs
        * Microsoft.Web.Services.dll.2.sources: Added From.cs
        * Microsoft.Web.Services.dll.2.sources: Added MessageID.cs
        * Microsoft.Web.Services.dll.2.sources: Added Recipient.cs

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

20 years ago2003-10-08 Todd Berman <tberman@gentoo.org>
Todd Berman [Wed, 8 Oct 2003 22:24:11 +0000 (22:24 -0000)]
2003-10-08  Todd Berman <tberman@gentoo.org>

        * FaultTo.cs: Implemented
        * From.cs: Implemented
        * MessageID.cs: Implemented
        * Recipient.cs: Implemented

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

20 years ago2003-10-08 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 8 Oct 2003 21:27:21 +0000 (21:27 -0000)]
2003-10-08  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * System.Web.UI/PageParser.cs: drop some useless code.

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

20 years agoAdded a FIXME.
Martin Baulig [Wed, 8 Oct 2003 21:26:27 +0000 (21:26 -0000)]
Added a FIXME.

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

20 years agoTest defining a generic method
Jackson Harper [Wed, 8 Oct 2003 20:59:59 +0000 (20:59 -0000)]
Test defining a generic method

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

20 years ago * ILParser.jay: Attach generic type parameters to methods.
Jackson Harper [Wed, 8 Oct 2003 20:56:48 +0000 (20:56 -0000)]
    * ILParser.jay: Attach generic type parameters to methods.

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

20 years ago * InstrTable.cs: Add unbox.any instruction.
Jackson Harper [Wed, 8 Oct 2003 20:54:44 +0000 (20:54 -0000)]
    * InstrTable.cs: Add unbox.any instruction.
* MethodDef.cs: Allow generic parameters to be added to methods.

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

20 years ago * PEAPI.cs: Remove methods for creating generic parameters without
Jackson Harper [Wed, 8 Oct 2003 20:47:53 +0000 (20:47 -0000)]
    * PEAPI.cs: Remove methods for creating generic parameters without
a name, names are mandatory. Add method to add type parameters to
methods. Allow GenericParameters to have either a type or a
method as its owner. Also fix visibility of GenericParameters, a
GenericParameter should not be created outside of PEAPI.

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

20 years agogen-14.cs is now working :-)
Martin Baulig [Wed, 8 Oct 2003 20:15:21 +0000 (20:15 -0000)]
gen-14.cs is now working :-)

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

20 years agoSimplify this a bit.
Martin Baulig [Wed, 8 Oct 2003 20:11:16 +0000 (20:11 -0000)]
Simplify this a bit.

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

20 years ago2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 8 Oct 2003 20:05:37 +0000 (20:05 -0000)]
2003-10-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* DateTime.cs (ToString): Total rewrite, fixes #49358.

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

20 years ago2003-10-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 8 Oct 2003 20:04:01 +0000 (20:04 -0000)]
2003-10-06  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_method): Renamed to
mono_class_inflate_generic_method() and made public.
(mono_class_init): Don't inflate the generic methods here.
(mono_class_from_generic): Added `gboolean inflate_methods'
argument.  Inflate the methods here.

* loader.c (mono_method_get_param_names): Ignore instances of
generic types for the moment.

* reflection.c (fixup_method): Added support for inflated methods.
(mono_image_create_token): Use mono_image_get_methodref_token()
for inflated methods.
(mono_custom_attrs_from_param): Ignore instances of generic types
for the moment.
(mono_reflection_bind_generic_parameters): New public function.
Moved all the functionality from
ves_icall_Type_BindGenericParameters() here and added support for
dynamic types.
(mono_reflection_define_generic_parameter): Initialize
`klass->methods' here.

* icall.c (ves_icall_Type_BindGenericParameters): Moved all the
functionality into mono_reflection_define_generic_parameter().
(ves_icall_Type_GetGenericTypeDefinition): If we're coming from a
TypeBuilder, return that TypeBuilder.

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

20 years agoAdd link to threading paper.
Duncan Mak [Wed, 8 Oct 2003 20:03:43 +0000 (20:03 -0000)]
Add link to threading paper.

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

20 years ago2002-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 19:11:06 +0000 (19:11 -0000)]
2002-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>

* WebControl.cs         : Attributes { get; }       - Is Complete.
* ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
                                                    - Completed.

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

20 years ago2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 18:58:27 +0000 (18:58 -0000)]
2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>

* BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
                        : RegisterValidatorCommonScript()
                                       - More code, I need HELP!
                        : RegisterValidatorDeclaration()
                                       - More code, I need HELP!

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

20 years ago2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 18:48:20 +0000 (18:48 -0000)]
2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>

* Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.

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

20 years ago2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Oct 2003 18:26:49 +0000 (18:26 -0000)]
2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ManualResetEvent.cs: added check for disposed.
* Thread.cs: no need to init this field.

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

20 years ago2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Oct 2003 18:25:17 +0000 (18:25 -0000)]
2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Queue.cs: nullify the array in Clear.

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

20 years ago2003-10-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 8 Oct 2003 17:55:27 +0000 (17:55 -0000)]
2003-10-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* cs-parser.jay : Renamed yyName to yyNames related to jay.

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

20 years ago2003-10-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 8 Oct 2003 17:54:20 +0000 (17:54 -0000)]
2003-10-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* output.c, skelton, skelton.cs : Renamed yyName[] to yyNames[]
to make output CLS-compliant.

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

20 years ago * main.c (dis_genericparam): oops, fix off-by-one error.
Jackson Harper [Wed, 8 Oct 2003 17:46:33 +0000 (17:46 -0000)]
    * main.c (dis_genericparam): oops, fix off-by-one error.

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

20 years ago * main.c: NULL cnst_block so we dont explode on interfaces.
Jackson Harper [Wed, 8 Oct 2003 17:34:06 +0000 (17:34 -0000)]
    * main.c: NULL cnst_block so we dont explode on interfaces.

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

20 years ago * ObjRef.cs: Added new constructor to support CAD channel.
Lluis Sanchez [Wed, 8 Oct 2003 16:39:35 +0000 (16:39 -0000)]
* ObjRef.cs: Added new constructor to support CAD channel.

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

20 years ago * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
Lluis Sanchez [Wed, 8 Oct 2003 16:38:04 +0000 (16:38 -0000)]
* XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
  (XmlSerializer.Serialize() handles namespace parameter incorrectly)

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

20 years agoPatch from Jochen Wezel: test for VBCodeProvider
Miguel de Icaza [Wed, 8 Oct 2003 15:50:04 +0000 (15:50 -0000)]
Patch from Jochen Wezel: test for VBCodeProvider

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

20 years agoPatch from Jochen Wezel: Adds new VisualBasicCodeCompiler
Miguel de Icaza [Wed, 8 Oct 2003 15:49:45 +0000 (15:49 -0000)]
Patch from Jochen Wezel: Adds new VisualBasicCodeCompiler

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

20 years ago * CADMessages.cs: added smuggeling argument support for some instances
Lluis Sanchez [Wed, 8 Oct 2003 15:36:56 +0000 (15:36 -0000)]
* CADMessages.cs: added smuggeling argument support for some instances
  of MarshalByRefObject. This should make the cross-appdomain channel
  even faster. Some other minor fixes.

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

20 years ago2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 13:57:05 +0000 (13:57 -0000)]
2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* SelectionList.cs       : Initial implementation.
* ListDataHelper.cs      : Initial implementation.
* TextBox.cs             : Dummy implmentation.

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

20 years ago2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 13:56:22 +0000 (13:56 -0000)]
2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* CHtmlCalendarAdapter.cs: Initial implmentation.
* ControlAdapter.cs      : HandlePostBackEvent(string),
                         : OnLoad(EventArgs),
                         : OnPreRender(EventArgs),
                         : OnUnload(EventArgs),
                         : OnRender(EventArgs)     - Marked virtual

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

20 years ago2003-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 8 Oct 2003 13:19:39 +0000 (13:19 -0000)]
2003-10-08  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_emit_epilog): Add support for stdcall calling
convention.

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

20 years ago2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 13:19:24 +0000 (13:19 -0000)]
2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* HtmlCalendarAdapter.cs: Initial implmentation.

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

20 years ago2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Oct 2003 13:17:51 +0000 (13:17 -0000)]
2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* Style.cs               : ApplyTo(WebControl)        - Stubbed.

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

20 years ago * get.c/get.h add method to get a methoddef from an index, simplify
Jackson Harper [Wed, 8 Oct 2003 08:47:20 +0000 (08:47 -0000)]
    * get.c/get.h add method to get a methoddef from an index, simplify
get_typd_or_methdef, use new get_methoddef to get the method
because we have a method index not a method token.

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

20 years ago * get.c: simplify get_typd_or_methdef
Jackson Harper [Wed, 8 Oct 2003 08:31:14 +0000 (08:31 -0000)]
    * get.c: simplify get_typd_or_methdef

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

20 years agoBuilding answer update.
Jaime Anguiano Olarra [Wed, 8 Oct 2003 08:24:11 +0000 (08:24 -0000)]
Building answer update.

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

20 years ago2003-10-07 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 8 Oct 2003 03:10:19 +0000 (03:10 -0000)]
2003-10-07  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoStream.cs: Commented CanTransformMultipleBlocks
optimization - it simply doesn't work :(

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

20 years ago2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Oct 2003 02:45:25 +0000 (02:45 -0000)]
2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Net/WebConnection.cs: the queue is now handled by the
threadpool. Initialize the connection data in a place where it does not
depend on the execution order of the requests in threadpool. More error
handling.

* System.Net/WebConnectionGroup.cs: use the limits in the config file
and reuse connections when the limit is reached.

* System.Net.Configuration/ConnectionManagementHandler.cs: added
GetMaxConnections to return the max. number of simultaneous connections
to a given host.

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

20 years ago2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Oct 2003 02:35:18 +0000 (02:35 -0000)]
2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: removed mono_delegate_semaphore.

* threadpool.c:
(mono_thread_pool_add): moved hash table creation inside and the thread
creation outside of the critical region.
(mono_thread_pool_finish): removed obsolete code.
(async_invoke_thread): don't use the semaphore. Use a plain Sleep and
continue or exit the thread depending on the queue.

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

20 years ago2003-10-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 8 Oct 2003 00:21:14 +0000 (00:21 -0000)]
2003-10-07  Bernie Solomon  <bernard@ugsolutions.com>

* mono/tests/Makefile.am mono/tests/libtest.c
mono/tests/pinvoke18.cs: new test for bool marshalling.

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

20 years ago2003-10-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 8 Oct 2003 00:18:17 +0000 (00:18 -0000)]
2003-10-07  Bernie Solomon  <bernard@ugsolutions.com>

* metadata.c (mono_type_to_unmanaged): allow bools to marshal as I1
marshal.c (emit_ptr_to_str_conv & mono_marshal_get_native_wrapper):
        handle more bool marshalling options

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

20 years ago * PEAPI.cs: Add unbox.any instruction.
Jackson Harper [Wed, 8 Oct 2003 00:17:29 +0000 (00:17 -0000)]
    * PEAPI.cs: Add unbox.any instruction.

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

20 years ago2003-10-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 8 Oct 2003 00:16:10 +0000 (00:16 -0000)]
2003-10-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.Emit.GreatherThanOrEqual): Fix the code
generation for >=, as spotted by Paolo, bug 48679.
Patch from David Waite.

* cs-tokenizer.cs: Add handling for #pragma.

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

20 years agoNew test
Miguel de Icaza [Wed, 8 Oct 2003 00:15:32 +0000 (00:15 -0000)]
New test

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

20 years ago * main.c: When dis. generic parameters the TypeOrMethodDef token
Jackson Harper [Tue, 7 Oct 2003 23:58:31 +0000 (23:58 -0000)]
    * main.c: When dis. generic parameters the TypeOrMethodDef token
only needs to be shifted 1 bit. Added dis of generic constraints.
* get.c/get.h: New method for getting a TypeOrMethodDef token
* dump.c: When dumping generic parameters and generic constraints
output readable names instead of just tokens.

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

20 years ago2003-10-07 Todd Berman <tberman@gentoo.org>
Todd Berman [Tue, 7 Oct 2003 23:35:48 +0000 (23:35 -0000)]
2003-10-07  Todd Berman <tberman@gentoo.org>

        * Microsoft.Web.Services.dll.2.sources: Added ReferenceProperties.cs

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

20 years ago2003-10-07 Todd Berman <tberman@gentoo.org>
Todd Berman [Tue, 7 Oct 2003 23:34:25 +0000 (23:34 -0000)]
2003-10-07  Todd Berman <tberman@gentoo.org>

        * ReferenceProperties.cs: Implemented
        * ServiceName.cs: Partially Implemented
        * EndpointReferenceType.cs: Implemented
        * EndpointReference.cs: Implemented

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

20 years ago * RemotingProxy.cs: Added destructor that unregisters the identity.
Lluis Sanchez [Tue, 7 Oct 2003 23:32:52 +0000 (23:32 -0000)]
* RemotingProxy.cs: Added destructor that unregisters the identity.
  Fixes a memory leak.

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

20 years ago * AppDomainLevelActivator.cs: little fix.
Lluis Sanchez [Tue, 7 Oct 2003 23:29:56 +0000 (23:29 -0000)]
* AppDomainLevelActivator.cs: little fix.

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

20 years ago * ClientSponsor.cs: Improved implementation. Use Hashtable instead of
Lluis Sanchez [Tue, 7 Oct 2003 23:29:33 +0000 (23:29 -0000)]
* ClientSponsor.cs: Improved implementation. Use Hashtable instead of
  ArrayList for internal storage.

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

20 years ago * Identity.cs, RemotingServices.cs: Fixed memory leak. I Changed reference
Lluis Sanchez [Tue, 7 Oct 2003 23:29:07 +0000 (23:29 -0000)]
* Identity.cs, RemotingServices.cs: Fixed memory leak. I Changed reference
  to proxy in ClientIdentity to a WeakReference. This fixes a memory leak.
* RemotingServices.cs: Ignore first "/" char in uris when looking for
  and object.
  Take into account that identity now has a weak reference
  of the proxy.

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

20 years ago2003-10-07 Todd Berman <tberman@gentoo.org>
Todd Berman [Tue, 7 Oct 2003 21:21:42 +0000 (21:21 -0000)]
2003-10-07  Todd Berman <tberman@gentoo.org>

        * Microsoft.Web.Services.dll.2.sources: Added OpenElementElement.cs

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