mono.git
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

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

        * OpenElementElement.cs: implemented
        * OpenElement.cs: implemented

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

20 years ago2003-10-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 7 Oct 2003 19:19:11 +0000 (19:19 -0000)]
2003-10-07  Bernie Solomon  <bernard@ugsolutions.com>

* mono/scripts/Makefile.am mono/scripts/*.in: fix
managed .exe paths so they are found under cygwin.

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

20 years agoNext time: test before commit
Miguel de Icaza [Tue, 7 Oct 2003 18:38:23 +0000 (18:38 -0000)]
Next time: test before commit

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

20 years agoNext time: test before commit
Miguel de Icaza [Tue, 7 Oct 2003 18:37:51 +0000 (18:37 -0000)]
Next time: test before commit

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

20 years ago2003-10-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 Oct 2003 18:36:21 +0000 (18:36 -0000)]
2003-10-07  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Allow for both yield and yield return in the
syntax.  The anti-cobolization of C# fight will go on!

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

20 years ago * RealProxy.cs: Fixed support for [out] parameters in async calls.
Lluis Sanchez [Tue, 7 Oct 2003 14:39:08 +0000 (14:39 -0000)]
* RealProxy.cs: Fixed support for [out] parameters in async calls.

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

20 years ago * CADMessages.cs: improved argument smuggeling. Now it supports strings,
Lluis Sanchez [Tue, 7 Oct 2003 14:35:04 +0000 (14:35 -0000)]
* CADMessages.cs: improved argument smuggeling. Now it supports strings,
  datetime and arrays of primitive types. This makes CAD much faster.
* AsyncResult.cs: Added property to store the call message.

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

20 years ago2003-10-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Oct 2003 13:43:18 +0000 (13:43 -0000)]
2003-10-07  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_native_wrapper): Fix marshalling of
arrays of structs. Also add a more descriptive error message when
a structure member is marshalled as LPArray.

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

20 years ago2003-10-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Oct 2003 13:39:57 +0000 (13:39 -0000)]
2003-10-07  Zoltan Varga  <vargaz@freemail.hu>

* mono/tests/pinvoke2.cs mono/tests/libtest.c: Fix array of structs
test.

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

20 years ago2003-09-07 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 7 Oct 2003 13:28:14 +0000 (13:28 -0000)]
2003-09-07  Dick Porter  <dick@ximian.com>

* Temporary workaround for bug 43567, so that Npgsql at least
can run.

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

20 years ago2003-10-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 Oct 2003 08:03:15 +0000 (08:03 -0000)]
2003-10-07  Nick Drochak <ndrochak@gol.com>

* StackFrameTest.cs: Get tests to pass on .NET 1.1.

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

20 years ago2003-10-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 Oct 2003 07:54:47 +0000 (07:54 -0000)]
2003-10-07 Nick Drochak <ndrochak@gol.com>

* DictionaryBaseTest.cs:
* NewArrayListTest.cs: Clean up warnings that were annoying me.

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

20 years ago2003-10-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 Oct 2003 06:32:15 +0000 (06:32 -0000)]
2003-10-07  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeBuilder.DefineType): Catch error condition here
(Parent.DefineType erroring out and returning null).

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

20 years ago2003-10-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 Oct 2003 05:59:51 +0000 (05:59 -0000)]
2003-10-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayCreation.EmitDynamicInitializers): When
coping with enumerations variables, we were mistakenly processing
them as a regular value type instead of built-in types.  Fixes the
bug #48063

* typemanager.cs (IsBuiltinOrEnum): New method.

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

20 years agoImprove test to check array initializations from enumerations
Miguel de Icaza [Tue, 7 Oct 2003 05:40:04 +0000 (05:40 -0000)]
Improve test to check array initializations from enumerations

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

20 years agobr
Gonzalo Paniagua Javier [Mon, 6 Oct 2003 22:36:07 +0000 (22:36 -0000)]
br

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

20 years agoflush
Miguel de Icaza [Mon, 6 Oct 2003 22:25:52 +0000 (22:25 -0000)]
flush

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

20 years ago * System.Web.Services.dll.sources: Added
Lluis Sanchez [Mon, 6 Oct 2003 21:52:37 +0000 (21:52 -0000)]
* System.Web.Services.dll.sources: Added
System.Web.Services.Description/HttpGetProtocolImporter.cs
System.Web.Services.Description/HttpPostProtocolImporter.cs
System.Web.Services.Description/HttpSimpleProtocolImporter.cs

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

20 years ago * ProtocolImporter.cs: Moved some code to ServiceDescriptionImporter.
Lluis Sanchez [Mon, 6 Oct 2003 21:52:08 +0000 (21:52 -0000)]
* ProtocolImporter.cs: Moved some code to ServiceDescriptionImporter.
  WebServiceBindingAttribute addition moved to SoapProtocolImporter.
  Moved GetServiceUrl here (from SoapProtocolImporter).
* ServiceDescriptionImporter.cs: Added support for HttpGet and HttpPost
  importers.
* SoapProtocolImporter.cs: Minor fixes.
* HttpSimpleProtocolImporter.cs, HttpGetProtocolImporter.cs,
  HttpPostProtocolImporter.cs: new files that implement HttpGet and HttpPost
  importers.

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

20 years ago * HtmlFormParameterWriter.cs: Fixed WriteRequest().
Lluis Sanchez [Mon, 6 Oct 2003 21:50:56 +0000 (21:50 -0000)]
* HtmlFormParameterWriter.cs: Fixed WriteRequest().
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Check that
  HttpMethodAttribute is present in proxy's method.
* HttpSimpleClientProtocol.cs: Forgot to call InitializeRequest before
  getting the request stream.
* UrlEncodedParameterWriter.cs: in Encode(), take into account that
  requestEncoding can be null.

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

20 years agoFlush
Miguel de Icaza [Mon, 6 Oct 2003 21:32:57 +0000 (21:32 -0000)]
Flush

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

20 years agolistview checkitems and more work
Jordi Mas i Hernandez [Mon, 6 Oct 2003 19:35:02 +0000 (19:35 -0000)]
listview checkitems and more work

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

20 years ago2003-10-06 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 6 Oct 2003 16:21:42 +0000 (16:21 -0000)]
2003-10-06  Bernie Solomon  <bernard@ugsolutions.com>

* mono/tests/pinvoke2.cs mono/tests/pinvoke11.cs
mono/tests/libtest.c: Add more pass by value struct
tests for platforms with more complex calling conventions
(Sparc V9, HPPA 64 bit).

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

20 years agoNew tests for pinvoke
Jackson Harper [Mon, 6 Oct 2003 16:08:14 +0000 (16:08 -0000)]
New tests for pinvoke

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