mono.git
19 years agoFix #74528.
Raja R Harinath [Wed, 13 Apr 2005 14:39:07 +0000 (14:39 -0000)]
Fix #74528.
* mcs/ecore.cs (PropertyExpr.InstanceResolve): Handle a case of
IdenticalNameAndTypeName here.
(EventExpr.InstanceResolve): Likewise.
* tests/test-363.cs: New test from #74528.

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

19 years agoForgot to turn off some debug output
Dick Porter [Wed, 13 Apr 2005 14:00:30 +0000 (14:00 -0000)]
Forgot to turn off some debug output

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

19 years ago2005-04-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Apr 2005 13:49:58 +0000 (13:49 -0000)]
2005-04-13  Dick Porter  <dick@ximian.com>

* hps.c: Update to new daemon-less code
* Makefile.am: Don't bother to build shmdel or scratch any more

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

19 years ago2005-04-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Apr 2005 12:54:52 +0000 (12:54 -0000)]
2005-04-13  Dick Porter  <dick@ximian.com>

        * io.c (FindFirstFile): Fix bugs introduced with the merge (bug
        74586)

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

19 years agonew test
Marek Safar [Wed, 13 Apr 2005 12:32:46 +0000 (12:32 -0000)]
new test

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

19 years ago2005-04-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 13 Apr 2005 12:29:52 +0000 (12:29 -0000)]
2005-04-13  Marek Safar  <marek.safar@seznam.cz>

C# 2.0 DefaultCharSetAttribute implementation

* attribute.cs (Attribute.ResolveAsTypeStep): New protected method
which allows us to set GlobalNamespace for every resolve.
(Attribute.ResolveArguments): Cut from Resolve.
(Attribute.GetCharSetValue): Returns CharSet named argument.
(Attribute.DefinePInvokeMethod): Gets default charset from
module settings.
(GlobalAttribute.ResolveAsTypeStep): Override.
(GlobalAttribute.ResolveArguments): Override.

* class.cs (TypeAttr): Is protected.

* codegen.cs (ModuleClass.DefaultCharSet): New member.
(ModuleClass.DefaultCharSetType): New memeber.
(ModuleClass.ResolveAttributes): Resolves DefaultCharSetAttribute.

* decl.cs (Decl.TypeAttr): New protected virtual. Returns default
charset from module.

* delegate.cs (TypeAttr): Override.
(Delegate.DefineType): Use this TypeAttr.

* driver.cs (Driver.MainDriver): Call Module.ResolveAttributes
at very early stage (before types are defined) to resolve model
module attributes. It will probably not work with corlib but it
should be ok.

* enum.cs (Enum.TypeAttr): New protected virtual. Returns default
charset from module.

* typemanager.cs (default_charset_type): New type.

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

19 years ago**** Merged r41348 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:48:48 +0000 (11:48 -0000)]
**** Merged r41348 from MCS ****

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

19 years ago**** Merged r41316 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:47:57 +0000 (11:47 -0000)]
**** Merged r41316 from MCS ****

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

19 years ago**** Merged r41309 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:47:05 +0000 (11:47 -0000)]
**** Merged r41309 from MCS ****

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

19 years ago**** Merged r41289 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:46:27 +0000 (11:46 -0000)]
**** Merged r41289 from MCS ****

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

19 years ago**** Merged r41284 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:45:28 +0000 (11:45 -0000)]
**** Merged r41284 from MCS ****

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

19 years ago**** Merged r41281 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:45:00 +0000 (11:45 -0000)]
**** Merged r41281 from MCS ****

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

19 years ago**** Merged r41279 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:43:09 +0000 (11:43 -0000)]
**** Merged r41279 from MCS ****

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

19 years ago**** Merged r41276 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:42:42 +0000 (11:42 -0000)]
**** Merged r41276 from MCS ****

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

19 years ago**** Merged r41268 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:42:15 +0000 (11:42 -0000)]
**** Merged r41268 from MCS ****

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

19 years ago**** Merged 41207 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:41:48 +0000 (11:41 -0000)]
**** Merged 41207 from MCS ****

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

19 years ago**** Merged r41187 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:41:06 +0000 (11:41 -0000)]
**** Merged r41187 from MCS ****

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

19 years ago**** Merged r41134 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:40:12 +0000 (11:40 -0000)]
**** Merged r41134 from MCS ****

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

19 years ago2005-04-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 13 Apr 2005 11:17:31 +0000 (11:17 -0000)]
2005-04-13  Sebastien Pouliot  <sebastien@ximian.com>

* ChangeLog: New. Track changes for the mutual tool;
* ca.pem
* client.p12: New. PKCS#12 file containing the client certificate
chain and the private key to the end-entity certificate.
* client.pem: New. Client certificate in PEM (base64) format.
* Makefile: New. To build the mutual tool;
* mutual.cs: New. Mutual authentication test tool. Heavily based on
the code supplied by Mark Wuesthoff from Middsol for bug #71696.
* README: New. Instruction on how to use the tool;
* server_cert.pem: New. Server certificate in PEM (base64) format.
* server_key.pem: New. Server private key in PEM (base64) format.
* server.sh: New. Server script to use OpenSSL to accept (and require)
client certificates.

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

19 years ago* decl.cs (MemberCache.AddMethods): Don't warn if
Raja R Harinath [Wed, 13 Apr 2005 11:05:05 +0000 (11:05 -0000)]
* decl.cs (MemberCache.AddMethods): Don't warn if
System.Object.Finalize has buggy MethodAttributes.

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

19 years agoCompilation fix.
Paolo Molaro [Wed, 13 Apr 2005 10:55:35 +0000 (10:55 -0000)]
Compilation fix.

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

19 years agoNew test.
Raja R Harinath [Wed, 13 Apr 2005 10:55:18 +0000 (10:55 -0000)]
New test.

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

19 years agoTo support 'Or' argument of AttributeTargets in AttributeUsage
Manjula GHM [Wed, 13 Apr 2005 10:37:15 +0000 (10:37 -0000)]
To support  'Or' argument of AttributeTargets in AttributeUsage

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

19 years ago* typemanager.cs (IsUnmanagedType): Restore !IsValueType check
Raja R Harinath [Wed, 13 Apr 2005 10:21:45 +0000 (10:21 -0000)]
* typemanager.cs (IsUnmanagedType): Restore !IsValueType check
removed below.

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

19 years agoIn .:
Ankit Jain [Wed, 13 Apr 2005 09:57:47 +0000 (09:57 -0000)]
In .:
2005-04-13 Ankit Jain <ankit@corewars.org>

* mono-api-diff.cs (XmlParameter): Revert type of defaultValue
from object to string, since the value is read from XML.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 09:10:43 +0000 (09:10 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* CustomDataClassGenerator.cs : custom relation was not added to
  Relations property. The second entry of bug #69276 was fixed.
  Patch by Daniel Rodriguez.

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

19 years ago2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Apr 2005 09:01:39 +0000 (09:01 -0000)]
2005-04-08  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/DetailsView.cs
System.Web.UI.WebControls/DetailsViewRow.cs
System.Web.UI.WebControls/DetailsViewRowCollection.cs

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

19 years ago2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Apr 2005 09:01:03 +0000 (09:01 -0000)]
2005-04-07  Lluis Sanchez Gual <lluis@novell.com>

* TemplateControlCompiler.cs: Avoid using the GetConverter() trick
for primitive types. Parse an empty color string as Color.Empty.
Get the converter for a property using its PropertyDescriptor.

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

19 years ago2005-04-13 LLuis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Apr 2005 08:53:39 +0000 (08:53 -0000)]
2005-04-13  LLuis Sanchez Gual  <lluis@novell.com>

* TypeDescriptor.cs: When creating a converter, use a constructor that
takes a Type parameter if exists.
* PropertyDescriptor.cs: In the Converter property, check for a
TypeConverterAttribute in the property.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 08:06:20 +0000 (08:06 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : detect ambiguous reference to overloaded members.
  Fixed bug #71603. MS 1.1 csc does not detect it.

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

19 years ago2005-04-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 13 Apr 2005 07:05:58 +0000 (07:05 -0000)]
2005-04-13  Marek Safar  <marek.safar@seznam.cz>

* DefaultCharSetAttribute.cs: Removed useless using.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 07:00:42 +0000 (07:00 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : delegates must not be referenced with parameters.
  Fixed bug #71605.

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

19 years agoSupport for late binding (not yet complete, not tested thoroughly)
Satya Sudha K [Wed, 13 Apr 2005 06:57:46 +0000 (06:57 -0000)]
Support for late binding (not yet complete, not tested thoroughly)

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

19 years ago2005-04-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 13 Apr 2005 06:52:42 +0000 (06:52 -0000)]
2005-04-13  Marek Safar  <marek.safar@seznam.cz>

* TypeBuilder.cs (SetCustomAttribute): StructLayoutAttribute.CharSet
has to overwrite current settings.

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

19 years ago* StringType.cs, ForEachEnum.cs: Removed a warning
Satya Sudha K [Wed, 13 Apr 2005 06:31:50 +0000 (06:31 -0000)]
* StringType.cs, ForEachEnum.cs: Removed a warning
* VBBinder.cs
* LateBinding.cs :
                Added support for Late Binding. (Not yet complete. Just a basic 'LateCall' works)
* ObjectType.cs :
                Fixed the functions 'CTypeHelper', 'IsWideningConversion' and 'IsWiderNumeric'

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

19 years ago* configure.in (AC_OUTPUT): Remove 'mono/handles' directory.
Raja R Harinath [Wed, 13 Apr 2005 05:32:50 +0000 (05:32 -0000)]
* configure.in (AC_OUTPUT): Remove 'mono/handles' directory.

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

19 years ago2005-04-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Apr 2005 01:38:44 +0000 (01:38 -0000)]
2005-04-12  Miguel de Icaza  <miguel@novell.com>

* typemanager.cs (IsUnmanagedType): Arrays are allowed.

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 21:42:15 +0000 (21:42 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: added epoll() based implementation for asynchronous IO
that is used instead of the default poll() when available.
It can be disabled by setting MONO_DISABLE_AIO.

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

19 years ago**** Merged r41091 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 21:03:02 +0000 (21:03 -0000)]
**** Merged r41091 from MCS ****

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

19 years ago**** Merged r41087 ****
Martin Baulig [Tue, 12 Apr 2005 21:01:19 +0000 (21:01 -0000)]
**** Merged r41087 ****

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

19 years ago**** Merged r41043 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 21:00:24 +0000 (21:00 -0000)]
**** Merged r41043 from MCS ****

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

19 years ago**** Merged r41006-r41024 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 20:59:23 +0000 (20:59 -0000)]
**** Merged r41006-r41024 from MCS ****

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

19 years ago**** Merged r40996 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 20:57:36 +0000 (20:57 -0000)]
**** Merged r40996 from MCS ****

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

19 years ago**** Merged r40980 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 20:52:59 +0000 (20:52 -0000)]
**** Merged r40980 from MCS ****

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

19 years agoupdated
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 20:19:35 +0000 (20:19 -0000)]
updated

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 20:18:16 +0000 (20:18 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: added checks for epoll().

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

19 years ago**** Merged r40977-40980 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 19:54:28 +0000 (19:54 -0000)]
**** Merged r40977-40980 from MCS ****

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 19:44:05 +0000 (19:44 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: windows needs 'closesocket' and instead of returning
0 when the stream is closed while in select, it returns -1. Fixes bug
#74573.

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

19 years ago*** Merged r40977 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 18:31:00 +0000 (18:31 -0000)]
*** Merged r40977 from MCS ****

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

19 years ago* SslHandshakeHash.cs: Changed SslHash to MD5SHA1. Fix #71696.
Sebastien Pouliot [Tue, 12 Apr 2005 18:27:01 +0000 (18:27 -0000)]
* SslHandshakeHash.cs: Changed SslHash to MD5SHA1. Fix #71696.

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

19 years ago2005-04-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Apr 2005 18:24:45 +0000 (18:24 -0000)]
2005-04-12  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientCertificateVerify.cs: Add missing data length (16 bits -
not to be confused with the record 24 bits length) before the RSA
signature of the MD5SHA1 hash. Fix #71696.

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

19 years ago2005-04-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 12 Apr 2005 18:04:57 +0000 (18:04 -0000)]
2005-04-12  Geoff Norton  <gnorton@customerdna.com>

        * configure.in: Disable -O2 on PPC until #74562 is fixed.

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

19 years ago**** Merged r40971 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:55:01 +0000 (17:55 -0000)]
**** Merged r40971 from MCS ****

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

19 years ago**** Merged r40869 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:51:52 +0000 (17:51 -0000)]
**** Merged r40869 from MCS ****

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

19 years ago**** Merged r40860-40862 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:50:15 +0000 (17:50 -0000)]
**** Merged r40860-40862 from MCS ****

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

19 years ago**** Merged r40848 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:49:06 +0000 (17:49 -0000)]
**** Merged r40848 from MCS ****

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

19 years ago**** Merged r40762 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:47:41 +0000 (17:47 -0000)]
**** Merged r40762 from MCS ****

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

19 years ago**** Merged r40750 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:46:45 +0000 (17:46 -0000)]
**** Merged r40750 from MCS ****

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

19 years ago2005-04-12 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 12 Apr 2005 17:21:43 +0000 (17:21 -0000)]
2005-04-12  Dick Porter  <dick@ximian.com>

        The daemon-less io-layer.  Extensive lowlevel changes in
        handles.c, requiring some corresponding changes in other files
        calling these functions.  Private_foo structures have been
        eliminated.

        File descriptor handling differences account for most of the
        changes in io.c and sockets.c.

        Other highlights:

        * mutexes.c: Named mutexes are now a distinct type.
        * atomic.h: Fix a PPC uninitialised variable warning.
        * wait.c: Check conditions before waiting on a condition
        * variable.
        * processes.c: Handle process fork and wait without a daemon
        (though this has the limitation of only being able to wait for
        child processes.)

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

19 years ago * TreeView.cs: Set the TopNode properly when scrolling
Jackson Harper [Tue, 12 Apr 2005 17:10:48 +0000 (17:10 -0000)]
* TreeView.cs: Set the TopNode properly when scrolling
occurs. This has the added benifit of reducing the amount of
walking that needs to be done when drawing. Also removed an old
misleading TODO.
* OpenTreeNodeEnumerator.cs: Fix moving backwards.

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

19 years ago2005-04-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 12 Apr 2005 16:37:15 +0000 (16:37 -0000)]
2005-04-12  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSchemaParticle.cs: Set MaxOccurs to unbounded when set to
decimal.MaxValue.

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

19 years ago2005-04-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 12 Apr 2005 16:34:24 +0000 (16:34 -0000)]
2005-04-12  Lluis Sanchez Gual  <lluis@novell.com>
* XmlTypeMapping.cs: Added new XmlSerializableMapping class.
* XmlSchemaExporter.cs: When exporting an IXmlSerializable type,
export the schema that it defines. In ImportNamespace, removed
check for default namespace, since it may be included from a non
default namespace.
* XmlReflectionImporter.cs: Create a special map for IXmlSerializable
types. All this based on a patch by Andrew Skiba.

* SerializationCodeGenerator.cs:
* XmlMapping.cs:
* XmlSerializationReaderInterpreter.cs:
* SoapCodeExporter.cs:
* XmlTypeMapMemberAttribute.cs:
* XmlSerializationReader.cs:
* XmlCodeExporter.cs: Fixed some warnings.

2005-04-10  Andrew Skiba  <andrews@mainsoft.com>

2005-04-03  Andrew Skiba  <andrews@mainsoft.com>

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

19 years ago2005-04-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 12 Apr 2005 16:26:56 +0000 (16:26 -0000)]
2005-04-12  Zoltan Varga  <vargaz@freemail.hu>

* class.c (class_compute_field_layout): Fix the regression caused by
the previous try.

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

19 years ago**** Merged r40699 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 16:12:38 +0000 (16:12 -0000)]
**** Merged r40699 from MCS ****

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

19 years agoIn mono/dis:
Ankit Jain [Tue, 12 Apr 2005 15:34:23 +0000 (15:34 -0000)]
In mono/dis:
2005-04-12  Ankit Jain  <ankit@corewars.org>

Fix #74579.
* main.c (dis_mresource): New. Dump embedded managed resources.
(main, usage): Add '--mresources' argument.

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

19 years agoIn class/PEAPI:
Ankit Jain [Tue, 12 Apr 2005 14:56:28 +0000 (14:56 -0000)]
In class/PEAPI:
2005-04-12  Ankit Jain  <ankit@corewars.org>

* PEAPI.cs (CustomAttribute.ctor): Dont throw
NotYetImplementedException.
(MethodSemantics.SortKey): Should be sorted by
'Association' column.

In ilasm/codegen:
2005-04-12  Ankit Jain  <ankit@corewars.org>

* CustomAttr.cs (ICustomAttrTarget): New interface.
* TypeDef.cs: Implement ICustomAttrTarget.
* FieldDef.cs, PropertyDef.cs, ParamDef.cs, EventDef.cs
(AddCustomAttribute): Implement ICustomAttrTarget
(.Resolve): Add custom attributes.
* CodeGen.cs (CurrentCustomAttrTarget): New. Property for
current CustomAttr target.
(BeginTypeDef, BeginMethodDef, BeginAssemblyRef): Set
current_customattrtarget accordingly.
* ExternTable.cs (ExternRef): Implement ICustomAttrTarget.
(ExternModule.Resolve): Add custom attributes to ModuleRef.
(ExternAssembly.Resolve): Add custom attributes to AssemblyRef.
* MethodDef.cs: Implement ICustomAttrTarget and add custom
attributes.
(GetParam): New. Get ParamDef by index.

In ilasm/parser:
2005-04-12  Ankit Jain  <ankit@corewars.org>

* ILParser.jay (class_decl, method_decl, prop_decl,
assemblyref_decl | customattr_decl): Use
codegen.CurrentCustomAttrTarget for adding custom
attributes.
(field_decl, method_decl, event_head, prop_head):
Set codegen.CurrentCustomAttrTarget

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 14:18:13 +0000 (14:18 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: separate pool for socket async. IO.
* threadpool.h: mono_max_worker_threads is not a global any more.

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

19 years ago**** Merged r40625 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:10:57 +0000 (12:10 -0000)]
**** Merged r40625 from MCS ****

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

19 years ago**** Merged r40612 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:10:05 +0000 (12:10 -0000)]
**** Merged r40612 from MCS ****

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

19 years agoIn .:
Ankit Jain [Tue, 12 Apr 2005 12:09:43 +0000 (12:09 -0000)]
In .:
2005-04-12 Ankit Jain <ankit@corewars.org>

* mono-api-diff.cs: Handle null default values correctly.
* mono-api-info.cs: -do-
System.DBNull.Value means no default value.

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

19 years ago**** Merged r40523-r40541 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:08:46 +0000 (12:08 -0000)]
**** Merged r40523-r40541 from MCS ****

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

19 years ago**** Merged r40516 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:07:40 +0000 (12:07 -0000)]
**** Merged r40516 from MCS ****

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

19 years ago**** Merged r40513 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:06:44 +0000 (12:06 -0000)]
**** Merged r40513 from MCS ****

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

19 years ago**** Merged r40511 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:05:43 +0000 (12:05 -0000)]
**** Merged r40511 from MCS ****

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

19 years ago**** Merged r40464 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:04:56 +0000 (12:04 -0000)]
**** Merged r40464 from MCS ****

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

19 years ago**** Merged r40460 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:03:59 +0000 (12:03 -0000)]
**** Merged r40460 from MCS ****

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

19 years ago**** Merged r40457 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:02:41 +0000 (12:02 -0000)]
**** Merged r40457 from MCS ****

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

19 years ago2005-04-12 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Tue, 12 Apr 2005 11:49:10 +0000 (11:49 -0000)]
2005-04-12  Joerg Rosenkranz  <joergr@voelcker.com>

        * mono-service.cs: Service runs in its own AppDomain now.
        Improved exception handling.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 20:03:10 +0000 (20:03 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (setup_stack): Unconditionally call pthread_attr_init ().

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

19 years agoCheck conditions before blocking
Dick Porter [Mon, 11 Apr 2005 18:59:35 +0000 (18:59 -0000)]
Check conditions before blocking

svn path=/branches/dick/io-layer-no-daemon/; revision=42794

19 years ago2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Apr 2005 16:47:54 +0000 (16:47 -0000)]
2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs:
* WebConnectionStream.cs: don't start reading until we've sent at least
the headers. This way we ensure that a Write happens before any Read,
which is needed by the SSL code.

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

19 years ago2005-04-11 James Willcox <james@ximian.com>
James Willcox [Mon, 11 Apr 2005 14:17:51 +0000 (14:17 -0000)]
2005-04-11  James Willcox  <james@ximian.com>

        * man/mkbundle.1: add --static option

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:16:27 +0000 (14:16 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c mini-x86.h mini-x86.c: Applied some freebsd patches
from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:14:47 +0000 (14:14 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* jni.c: Applied some freebsd patches from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:14:04 +0000 (14:14 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:12:45 +0000 (14:12 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* include/private/gcconfig.h configure.in os_dep.c dyn_load.c:
Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 11 Apr 2005 13:49:32 +0000 (13:49 -0000)]
2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>

* Timer.cs: fixes interval setting when the timer is already enabled

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

19 years ago2005-04-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Apr 2005 12:49:31 +0000 (12:49 -0000)]
2005-04-11  Marek Safar <marek.safar@seznam.cz>

* test-362.cs: #74565 test case.

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

19 years ago2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Apr 2005 12:40:44 +0000 (12:40 -0000)]
2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: ensure we read everything before redirecting.

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

19 years agoRemove some dead code, and make process kill work again
Dick Porter [Mon, 11 Apr 2005 11:09:07 +0000 (11:09 -0000)]
Remove some dead code, and make process kill work again

svn path=/branches/dick/io-layer-no-daemon/; revision=42782

19 years ago2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Apr 2005 10:04:27 +0000 (10:04 -0000)]
2005-04-11  Atsushi Enomoto <atsushi@ximian.com>

* Util.cs : tiny debug string fix.

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

19 years ago2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Apr 2005 10:03:04 +0000 (10:03 -0000)]
2005-04-11  Atsushi Enomoto <atsushi@ximian.com>

* NvdlRelaxngSupport.cs : added PlanAtt validation support.

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

19 years ago2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Apr 2005 10:01:16 +0000 (10:01 -0000)]
2005-04-11  Atsushi Enomoto <atsushi@ximian.com>

* anglia-test-runner.cs : added some options.
* Makefile : clean is inconsistent.

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

19 years ago2005-04-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 11 Apr 2005 09:37:04 +0000 (09:37 -0000)]
2005-04-11  Lluis Sanchez Gual <lluis@novell.com>

* ServiceDescriptionCollection.cs: Notify the parent importer
  when a service description is added.
* ServiceDescriptionImporter.cs: Register wsdl docs added to the
  collection.

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

19 years ago2005-04-11 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Mon, 11 Apr 2005 09:32:47 +0000 (09:32 -0000)]
2005-04-11  Lluis Sanchez Gual  <lluis@ximian.com>

* SampleGenerator.cs: Removed unused method.

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

19 years agorefresh after mcs update
Marek Safar [Mon, 11 Apr 2005 09:26:39 +0000 (09:26 -0000)]
refresh after mcs update

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

19 years ago2005-04-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Apr 2005 09:25:59 +0000 (09:25 -0000)]
2005-04-11  Marek Safar  <marek.safar@seznam.cz>

Fix# 74565
* class.cs (TypeContainer.CircularDepException) New nested
exception class.
(GetPartialBases, GetNormalBases, GetClassBases): Removed error.
(TypeContainer.DefineType): Removed error, reset InTransit before
exit.
(Class.DefineType): Throw exception when is in Transit.
Catch exception and report error.
(Struct.DefineType): Throw exception when is in Transit.
Catch exception and report error.
(Interface.DefineType): Throw exception when is in Transit.
Catch exception and report error.

* codegen.cs: Add InCatch,InFinally to EmitContext to easily
handle nested exception handlers.

* flowanalysis.cs (InTryWithCatch): New method, search for try with
a catch.

* iterators.cs (Yield.CheckContext): Add CS1626 report. Updated
InFinally and InCatch storage.

* statement.cs (Throw.Resolve): Use InCatch, InFinally from ec.
(Catch.Resolve): Set and Restore ec.InCatch.
(Try.Resolve): Set and Restore ec.InFinally.
(Try.HasCatch): True when try has catch.

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

19 years ago2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Apr 2005 03:39:30 +0000 (03:39 -0000)]
2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: provide a default callback when doing async.
read/write and waiting for a timeout so that the callback sets the
event and we don't block forever. Fixes bug #74539 take 3.

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

19 years ago2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Apr 2005 23:17:26 +0000 (23:17 -0000)]
2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs:
* HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.

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

19 years ago2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Apr 2005 20:57:45 +0000 (20:57 -0000)]
2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: fix some breakage from my last patch.
* WebConnectionStream.cs: invoke the callback when done even in EndRead.

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