mono.git
20 years ago * HttpClientChannel.cs: Set the RequestUri transport header before sending
Lluis Sanchez [Fri, 27 Feb 2004 19:36:19 +0000 (19:36 -0000)]
* HttpClientChannel.cs: Set the RequestUri transport header before sending
  the request.

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

20 years ago2004-02-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 27 Feb 2004 18:54:46 +0000 (18:54 -0000)]
2004-02-27  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added a new test for bug #54939 when converting a
base64 containing NF and/or LF.

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

20 years agoupdated browser capabilities file
Gonzalo Paniagua Javier [Fri, 27 Feb 2004 18:26:42 +0000 (18:26 -0000)]
updated browser capabilities file

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

20 years agoDocumented MONO_CODEDOM_NODELETE
Gonzalo Paniagua Javier [Fri, 27 Feb 2004 17:54:41 +0000 (17:54 -0000)]
Documented MONO_CODEDOM_NODELETE

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

20 years agoUgh, it seems that the image is forced to 48x48 when deployed to web...
Pedro Abelleira Seco [Fri, 27 Feb 2004 17:45:35 +0000 (17:45 -0000)]
Ugh, it seems that the image is forced to 48x48 when deployed to web...

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

20 years ago * services.xml: Updated service list.
Lluis Sanchez [Fri, 27 Feb 2004 17:35:20 +0000 (17:35 -0000)]
* services.xml: Updated service list.
* wstest.cs: New feature: it generates a serviceStatus.xml file that
  helps keeping track of services that are not available any more.
* client/localhost/ConvDocEncBarTest.cs, ConvDocEncWraTest.cs:
  Improved tests.
* server/ConvDocLitBar.asmx: Removed inheritance from WebService, to make
  sure that this works.

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

20 years agoSystem.Web.Services.dll.sources: Added System.Web.Services.Protocols/Fault.cs.
Lluis Sanchez [Fri, 27 Feb 2004 17:33:26 +0000 (17:33 -0000)]
System.Web.Services.dll.sources: Added System.Web.Services.Protocols/Fault.cs.

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

20 years ago * Fault.cs: Moved Fault class from Methods.cd to this file. It also includes
Lluis Sanchez [Fri, 27 Feb 2004 17:32:58 +0000 (17:32 -0000)]
* Fault.cs: Moved Fault class from Methods.cd to this file. It also includes
  a generated serializer.
* HttpSoapWebServiceHandler.cs, WebServiceHelper.cs: Use the new static Fault serializer.
* Methods.cs: Include types declared with XmlInclude and SoapInclude to the
  reflection importer. Moved Fault and its serializer to Fault.cs
* SoapHttpClientProtocol.cs: Removed unused method.

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

20 years ago * ExtensionManager.cs: Create all serializers for soap extensions at once.
Lluis Sanchez [Fri, 27 Feb 2004 17:31:19 +0000 (17:31 -0000)]
* ExtensionManager.cs: Create all serializers for soap extensions at once.
* HttpSimpleProtocolImporter.cs: Assign the correct set of schemas to the
  schema importers (do not mix literal schemas with encoded schemas).
* ProtocolImporter.cs: Added LiteralSchemas and EncodedSchemas properties.
  Separation between literal and encoded schemas is needed to avoid importing
  for example a literal schema as encoded. Also implemented ClasifySchemas,
  which separates literal from encoded schemas. I really don't like doing it
  in this way, but I haven't found another way.
* SoapProtocolImporter.cs: Add type include attributes to the generated
  proxy classes.

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

20 years agoRemove amd64
Miguel de Icaza [Fri, 27 Feb 2004 17:03:30 +0000 (17:03 -0000)]
Remove amd64

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

20 years agoAdd x86-64 directory
Miguel de Icaza [Fri, 27 Feb 2004 17:03:17 +0000 (17:03 -0000)]
Add x86-64 directory

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

20 years agoFlush
Miguel de Icaza [Fri, 27 Feb 2004 16:44:03 +0000 (16:44 -0000)]
Flush

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

20 years ago * StringTest.cs: Added test for Concat when one of the arguments is an
Lluis Sanchez [Fri, 27 Feb 2004 15:50:40 +0000 (15:50 -0000)]
* StringTest.cs: Added test for Concat when one of the arguments is an
  object that returns null on its ToString ().

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

20 years ago * String.cs: Concat() fixed crash when one of the arguments is an object
Lluis Sanchez [Fri, 27 Feb 2004 15:47:23 +0000 (15:47 -0000)]
* String.cs: Concat() fixed crash when one of the arguments is an object
  whose ToString() method returns null.
* TypeLoadException.cs: Added some serialization fiels, needed for
  compatibility with MS.NET.

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

20 years agoAnother partial cut at #52067
Rafael Teixeira [Fri, 27 Feb 2004 15:40:56 +0000 (15:40 -0000)]
Another partial cut at #52067

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

20 years agoCorrected WrapMode enum values.
Ravindra [Fri, 27 Feb 2004 15:37:40 +0000 (15:37 -0000)]
Corrected WrapMode enum values.

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

20 years agoAnother partial cut at #52067
Rafael Teixeira [Fri, 27 Feb 2004 15:30:15 +0000 (15:30 -0000)]
Another partial cut at #52067

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

20 years agoCouple of more test cases
Anirban Bhattacharjee [Fri, 27 Feb 2004 15:13:42 +0000 (15:13 -0000)]
Couple of more test cases

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

20 years agoRecheck-in these files because of the change of file names
Anirban Bhattacharjee [Fri, 27 Feb 2004 15:08:30 +0000 (15:08 -0000)]
Recheck-in these files because of the change of file names

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

20 years agoAnother partial cut at #52067
Rafael Teixeira [Fri, 27 Feb 2004 15:05:32 +0000 (15:05 -0000)]
Another partial cut at #52067

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

20 years ago2004-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 27 Feb 2004 13:44:13 +0000 (13:44 -0000)]
2004-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MailMessage.cs: patch by John Luke that initialized the fields in
the message and makes Fields return the same as in MS.NET. Fixes bug
#54908.

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

20 years ago2004-02-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 27 Feb 2004 12:30:54 +0000 (12:30 -0000)]
2004-02-27  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Removed UTF8 junk at the start of the file.

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

20 years ago2004-02-27 Jaroslaw Kowalski <jaak@zd.com.pl>
Gonzalo Paniagua Javier [Fri, 27 Feb 2004 12:12:02 +0000 (12:12 -0000)]
2004-02-27  Jaroslaw Kowalski <jaak@zd.com.pl>

* CSharpCodeGenerator.cs: fixed static property references
in GeneratePropertyReferenceExpression

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

20 years ago**** Merged from MCS ****
Martin Baulig [Fri, 27 Feb 2004 07:36:00 +0000 (07:36 -0000)]
**** Merged from MCS ****
2004-02-26  Miguel de Icaza  <miguel@ximian.com>

* iterators.cs (IteratorHandler.IsIEnumerator, IsIEnumerable): New
routines to check if a type is an enumerable/enumerator allow
classes that implement the IEnumerable or IEnumerator interfaces.

* class.cs (Property, Operator): Implement IIteratorContainer, and
implement SetYields.

(Property.Define): Do the block swapping for get_methods in the
context of iterators.   We need to check if Properties also
include indexers or not.

(Operator): Assign the Block before invoking the
OperatorMethod.Define, so we can trigger the Iterator code
replacement.

* cs-parser.jay (SimpleIteratorContainer): new helper class.  Both
Property and Operator classes are not created when we parse the
declarator but until we have the block completed, so we use a
singleton SimpleIteratorContainer.Simple to flag whether the
SetYields has been invoked.

We propagate this setting then to the Property or the Operator to
allow the `yield' to function.

2004-02-25  Marek Safar  <marek.safar@seznam.cz>

* codegen.cs: Implemented attribute support for modules.
        New AssemblyClass, ModuleClass and CommonAssemblyModulClass for
        Assembly/Module functionality.

        * attribute.cs, class.cs, cs-parser.jay, delegate.cs, driver.cs, enum.cs
        interface.cs, rootcontext.cs, statement.cs, typemanager.cs:
        Updated dependencies on CodeGen.ModuleBuilder and CodeGen.AssemblyBuilder.

2004-02-16  Marek Safar  <marek.safar@seznam.cz>

* interface.cs (FindMembers): The operation is performed on all base
interfaces and not only on the first. It is required for future CLS Compliance patch.

2004-02-12 Ben Maurer  <bmaurer@users.sourceforge.net>

* statement.cs, codegen.cs:
This patch deals with patterns such as:

public class List : IEnumerable {

public MyEnumerator GetEnumerator () {
return new MyEnumerator(this);
}

IEnumerator IEnumerable.GetEnumerator () {
...
}

public struct MyEnumerator : IEnumerator {
...
}
}

Before, there were a few things we did wrong:
1) we would emit callvirt on a struct, which is illegal
2) we emited ldarg when we needed to emit ldarga
3) we would mistakenly call the interface methods on an enumerator
type that derived from IEnumerator and was in another assembly. For example:

public class MyEnumerator : IEnumerator

Would have the interface methods called, even if there were public impls of the
method. In a struct, this lead to invalid IL code.

2004-02-11  Marek Safar  <marek.safar@seznam.cz>

        * const.cs: Const is now derived from FieldBase. Method EmitConstant name
  renamed to Emit.

        * delegate.cs (Define): Fixed crash when delegate type is undefined.

2004-02-11  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Fix small regression: we were not testing V2
compiler features correctly.

* interface.cs: If the emit context is null, then create one

2004-02-09  Marek Safar  <marek.safar@seznam.cz>

        * decl.cs (GetSignatureForError): New virtual method to get full name
  for error messages.

* attribute.cs (IAttributeSupport): New interface for attribute setting.
  Now it is possible to rewrite ApplyAttributes method to be less if/else.

        * interface.cs : All InterfaceXXX classes are now derived from MemberCore.
  Duplicated members and code in these classes has been removed.
  Better encapsulation in these classes.

2004-02-07  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (Assign.DoResolve): When dealing with compound
assignments, there is a new rule in ECMA C# 2.4 (might have been
there before, but it is documented here) that states that in:

a op= b;

If b is of type int, and the `op' is a shift-operator, then the
above is evaluated as:

a = (int) a op b

* expression.cs (Binary.ResolveOperator): Instead of testing for
int/uint/long/ulong, try to implicitly convert to any of those
types and use that in pointer arithmetic.

* delegate.cs (Error_NoMatchingMethodForDelegate): Compute the
method to print information for from the type, not from the
null-method we were given.

2004-02-01  Duncan Mak  <duncan@ximian.com>

* cs-tokenizer.cs (get_cmd_arg): Skip over whitespace before
parsing for cmd, fixes bug #53694.

2004-02-04  Marek Safar  <marek.safar@seznam.cz>

* class.cs, decl.cs: Fixed problem where IndexerName attribute was ignored
        in the member name duplication tests. Property and operator name duplication
        was missing too (error tests cs0102-{2,3,4,5}.cs, cs0111-{3,4}.cs).

2004-02-03  Marek Safar  <marek.safar@seznam.cz>

* interface.cs (PopulateMethod): Fixed crash when interface method
returns not existing type (error test cs0246-3.cs).

2004-02-02  Ravi Pratap M <ravi@ximian.com>

* cs-parser.jay (interface_accessors): Re-write actions to also
store attributes attached to get and set methods. Fix spelling
while at it.

(inteface_property_declaration): Modify accordingly.

(InterfaceAccessorInfo): New helper class to store information to pass
around between rules that use interface_accessors.

* interface.cs (Emit): Apply attributes on the get and set
accessors of properties and indexers too.

* attribute.cs (ApplyAttributes): Modify accordingly to use the
right MethodBuilder when applying attributes to the get and set accessors.

2004-01-31  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Applied patch from Marek Safar to fix bug 53386

2004-01-26  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Handle #line hidden from PDC bits.

2004-01-25  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Remove YIELD token, instead use the new grammar
changes that treat `yield' specially when present before `break'
or `return' tokens.

* cs-tokenizer.cs: yield is no longer a keyword.

2004-01-23  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay, class.cs (DefineDefaultConstructor): Fixed ModFlags
        setting for default constructors.
For default constructors are almost every time set wrong Modifier. The
generated IL code has been alright. But inside mcs this values was
wrong and this was reason why several of my CLS Compliance tests
failed.

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

20 years ago2004-02-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 27 Feb 2004 06:49:46 +0000 (06:49 -0000)]
2004-02-27  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (GetFullNameSignature): Improve the method to
cope with ".ctor" and replace it with the type name.

* class.cs (ConstructorInitializer.Resolve): Now the method takes
as an argument the ConstructorBuilder where it is being defined,
to catch the recursive constructor invocations.

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

20 years ago2004-02-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 27 Feb 2004 06:39:38 +0000 (06:39 -0000)]
2004-02-26  Miguel de Icaza  <miguel@ximian.com>

* iterators.cs (IteratorHandler.IsIEnumerator, IsIEnumerable): New
routines to check if a type is an enumerable/enumerator allow
classes that implement the IEnumerable or IEnumerator interfaces.

* class.cs (Property, Operator): Implement IIteratorContainer, and
implement SetYields.

(Property.Define): Do the block swapping for get_methods in the
context of iterators.   We need to check if Properties also
include indexers or not.

(Operator): Assign the Block before invoking the
OperatorMethod.Define, so we can trigger the Iterator code
replacement.

* cs-parser.jay (SimpleIteratorContainer): new helper class.  Both
Property and Operator classes are not created when we parse the
declarator but until we have the block completed, so we use a
singleton SimpleIteratorContainer.Simple to flag whether the
SetYields has been invoked.

We propagate this setting then to the Property or the Operator to
allow the `yield' to function.

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

20 years agoKilled the junk at the beginning of the file.
Martin Baulig [Fri, 27 Feb 2004 06:07:09 +0000 (06:07 -0000)]
Killed the junk at the beginning of the file.

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

20 years agoDeleting vb files starting with lowercase
Anirban Bhattacharjee [Fri, 27 Feb 2004 06:00:52 +0000 (06:00 -0000)]
Deleting vb files starting with lowercase

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

20 years agoDeleting files starting with lowercase 'i', 'l' and 'm'
Anirban Bhattacharjee [Fri, 27 Feb 2004 05:50:58 +0000 (05:50 -0000)]
Deleting files starting with lowercase 'i', 'l' and 'm'

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

20 years agoDeleting files starting with lowercase 'd' and 'e'.
Anirban Bhattacharjee [Fri, 27 Feb 2004 05:40:21 +0000 (05:40 -0000)]
Deleting files starting with lowercase 'd' and 'e'.

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

20 years agoDeleting all the files starting with lower case 'b' and 'c'.
Anirban Bhattacharjee [Fri, 27 Feb 2004 05:35:17 +0000 (05:35 -0000)]
Deleting all the files starting with lower case 'b' and 'c'.

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

20 years agoDeleting all the files starting with lower case 'a'.
Anirban Bhattacharjee [Fri, 27 Feb 2004 05:29:42 +0000 (05:29 -0000)]
Deleting all the files starting with lower case 'a'.

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

20 years agoWrong name
Anirban Bhattacharjee [Fri, 27 Feb 2004 05:25:03 +0000 (05:25 -0000)]
Wrong name

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

20 years agoMade it even more complex :-)
Martin Baulig [Fri, 27 Feb 2004 04:30:06 +0000 (04:30 -0000)]
Made it even more complex :-)

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

20 years agoUpdated.
Martin Baulig [Fri, 27 Feb 2004 02:39:57 +0000 (02:39 -0000)]
Updated.

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

20 years ago2004-02-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 27 Feb 2004 02:37:55 +0000 (02:37 -0000)]
2004-02-27  Martin Baulig  <martin@ximian.com>

* generics.cs (ConstructedType.ResolveType): Make the nested type
stuff actually work.

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

20 years ago2004-02-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 27 Feb 2004 02:34:45 +0000 (02:34 -0000)]
2004-02-27  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_bind_generic_parameters): Take a
`MonoReflectionType *' instead of a `MonoType *'.

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

20 years ago * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
Lluis Sanchez [Fri, 27 Feb 2004 00:03:45 +0000 (00:03 -0000)]
* MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
  of XmlInclude attributes needed for the service class.
  IsMapExported: Removed check for object type, since it can now be exported.
  SetMapExported: Use the type name as key, since different importers may
  be used to create a map for the same type.
  GenerateClassInclude: Updated signature.
* SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  GenerateClassInclude(): Updated signature.
* SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
  Implemented IncludeTypes.
* XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  GenerateClassInclude(): Updated signature.
* XmlMemberMapping.cs: Added missing property.
* XmlReflectionImporter.cs: GetReflectionMembers must be private.
  Implemented IncludeTypes().
* XmlSchemaExporter.cs: Added support for exporting typeof(object).
* XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
  Now, it does a regular import and then assign the required base class to
  the imported map. In this way it is possible to assign a base type for a
  map that was previously imported without a base type.
* XmlTypeMapping.cs: Added internal method SetRoot().

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 22:08:01 +0000 (22:08 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.1, setreg.1: New. Man files for new security tools.
* man.xml: updated to include new tools certmgr and setreg.
* Makefile.am: update to include certmgr and setreg.

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

20 years agoFlushage
Miguel de Icaza [Thu, 26 Feb 2004 21:48:35 +0000 (21:48 -0000)]
Flushage

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 21:28:12 +0000 (21:28 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* cert2spc.in, makecert.in, setreg.in, certmgr.in: New.
* Makefile.am: added cert2spc, mmakecert, setreg, certmgr.
* .cvsignore: update to ignore all generated files.

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 18:50:37 +0000 (18:50 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* System.dll.sources: Added System.Net/DefaultCertificatePolicy.cs to
the build.

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 18:48:09 +0000 (18:48 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* DefaultCertificatePolicy.cs: New. Certificate validation
policy compatible with the documented one present in Fx. It
allows valid certificates and expired certificates to be used
for SSL connections.
* ServicePointManager.cs: Removed the DummyPolicy. Now creates
a DefaultCertificatePolicy to validate certificates.

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 18:30:37 +0000 (18:30 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* TlsServerCertificate.cs: Certificate validation has been activated.

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

20 years agofix tests
Jordi Mas i Hernandez [Thu, 26 Feb 2004 16:50:52 +0000 (16:50 -0000)]
fix tests

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 15:25:30 +0000 (15:25 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Ajusted versions, informations and copyrights.
* certmgr.cs: New. Very limited certificate manager. Allow to add new
certificates into the Trusted certificate store.
* Makefile: Added certmgr and setreg to the build.
* README: Updated.
* setreg.cs: New. Allow to add/remove test root certificates from the
trusted certificate store.

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 14:57:44 +0000 (14:57 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* X509Store.cs: Changed not to use base64 in filenames as it can
conflict with path separators. Now use plain hex. Now catch
incorrectly encoded certificates / CRL in stores. Added Name property.

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

20 years ago2004-02-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 Feb 2004 13:58:52 +0000 (13:58 -0000)]
2004-02-26  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mini_method_compile): Reenable global regalloc in methods
with exception handlers.

* linear-scan.c (mono_varlist_sort): Fix warning.

* linear-scan.c (mono_linear_scan): Fix computation of used_regs.

* mini-x86.c (mono_arch_regalloc_cost): Reenable precise computation of
regalloc costs.

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

20 years ago2004-02-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 Feb 2004 13:54:08 +0000 (13:54 -0000)]
2004-02-26  Zoltan Varga  <vargaz@freemail.hu>

* liveness.c: Make all variables uses in exception clauses volatile, to
prevent them from being allocated to registers. Fixes #42136.

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

20 years ago2004-02-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 Feb 2004 13:47:59 +0000 (13:47 -0000)]
2004-02-26  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (run_finalize): Avoid finalizing the object representing the
finalizer thread.
(finalizer_thread): Fix warning.

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

20 years ago2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2004 13:46:42 +0000 (13:46 -0000)]
2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* DES.cs: Same fix as for SymmetricAlgorithm (get_Key is
overridden to check for weak keys). Also ensured that no weak keys
would be generated.
* SymmetricAlgorithm.cs: Return a copy of the key (and IV) so it
doesn't get destroyed when dispose is called (in this case the key
zeroization is the caller's responsability). Match MS implementation.
* TripleDES.cs: Same fix as for SymmetricAlgorithm (get_Key is
overridden to check for weak keys). Fix bugzilla #54868.

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

20 years agoAdded HandshakeState.cs file to the source list
Carlos Guzmán Álvarez [Thu, 26 Feb 2004 10:51:22 +0000 (10:51 -0000)]
Added HandshakeState.cs file to the source list

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

20 years ago2004-02-26 Carlos Guzman Alvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Thu, 26 Feb 2004 10:50:55 +0000 (10:50 -0000)]
2004-02-26 Carlos Guzman Alvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls/HandshakeState.cs:

- New file.

* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

- Modified the level of some alerts according to the RFC.

* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/SslServerStream.cs:
* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/ClientContext.cs:
* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:

- Added changes for better handling of ClientHelloRequest messages.

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

20 years agoUpdated information about the Firebird ADO.NET data provider
Carlos Guzmán Álvarez [Thu, 26 Feb 2004 10:36:06 +0000 (10:36 -0000)]
Updated information about the Firebird ADO.NET data provider

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

20 years ago2004-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2004 10:18:21 +0000 (10:18 -0000)]
2004-02-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaCollection.cs : Implemented SyncRoot and IsSynchronized
  (as always synchronized).

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

20 years ago2004-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2004 10:13:33 +0000 (10:13 -0000)]
2004-02-26  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentBuilder.cs : Close XmlReader when we passed uri.

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

20 years ago2004-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Feb 2004 01:35:43 +0000 (01:35 -0000)]
2004-02-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ServicePoint.cs: SendContinue is always false for HTTP/1.0

* WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
calling more the ContinueDelegate more than once when we get the
headers in several packets.

* WebConnectionStream.cs: removed call to WaitForContinue.

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

20 years agoFirst try at bug #52067 - Incomplete and hardcoded
Rafael Teixeira [Thu, 26 Feb 2004 01:02:45 +0000 (01:02 -0000)]
First try at bug #52067 - Incomplete and hardcoded

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

20 years ago2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Feb 2004 20:50:21 +0000 (20:50 -0000)]
2004-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* WebConnection.cs: Update previous patch to use HttpsClientStream
(internal in Mono.Security assembly) in place of SslClientStream.
This will reduce reflection and allow to use ICertificatePolicy.

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

20 years ago2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Feb 2004 20:42:30 +0000 (20:42 -0000)]
2004-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security.dll.sources: Added new internal class HttpsClientStream
in Mono.Security.Protocol.Tls to the build.

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

20 years ago2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Feb 2004 20:40:19 +0000 (20:40 -0000)]
2004-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* HttpsClientStream.cs: New. Internal glue class between System.dll
WebConnection and SslClientStream to reduce reflection.
* SslClientStream.cs: RaiseServerCertificateValidation is now virtual
to allow HttpsClientStream to override it.

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

20 years ago * File.cs: Report the filename when deleting a file fails. Patch
Jackson Harper [Wed, 25 Feb 2004 19:56:33 +0000 (19:56 -0000)]
    * File.cs: Report the filename when deleting a file fails. Patch
by Gert Driesen. Fixes bug #54855.

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

20 years ago * ResourceReaderTest.cs: Make work on windows.
Jackson Harper [Wed, 25 Feb 2004 19:47:18 +0000 (19:47 -0000)]
    * ResourceReaderTest.cs: Make work on windows.

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

20 years ago2004-02-25 Atshushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 19:34:19 +0000 (19:34 -0000)]
2004-02-25  Atshushi Enomoto <atsushi@ximian.com>

* testing : added XML and RELAX NG standalone test info.
* xml-classes : updates

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 19:27:25 +0000 (19:27 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* Added README, Makefile, relaxngtest.cs, prep.xsl, copying.html
  and ChangeLog.

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 18:47:40 +0000 (18:47 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* Removed
  - RngGrammar.cs
  - RngNameClass.cs
  - RngPattern.cs
  - RngPatternType.cs
  They are moved to RelaxngXXX.cs and improved

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 18:44:22 +0000 (18:44 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* Added RdpContextType.cs.
* RdpNameClasses.cs,
  RdpObjects.cs,
  RdpPatterns.cs,
  Util.cs : radical design change (too many things to write up).

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 18:43:18 +0000 (18:43 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* Added
  - RelaxngDatatype.cs
  - RelaxngDatatypeProvider.cs
  - RelaxngDefaultDatatypes.cs
  - RelaxngException.cs
  - RelaxngGrammar.cs
  - RelaxngMergedProvider.cs
  - RelaxngNameClass.cs
  - RelaxngPattern.cs
  - RelaxngPatternType.cs
  - XsdDatatypeProvider.cs
* Misc.cs,
  RelaxngReader.cs,
  RelaxngValidatingReader.cs : Radical design changes.

In short:
  - API redesign (renaming RngXxx to RelaxngXxx)
  - Strict grammar validation
  - Datatype support (XML Schema primitive datatypes)
  - Some derivative bugfixes such as list validation.

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 18:40:28 +0000 (18:40 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlDefaultReader.cs : Added support for IXmlLineInfo.

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 18:40:04 +0000 (18:40 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* Added README.
* Commons.Xml.Relaxng.dll.sources : added many new files.

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

20 years ago2004-02-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 25 Feb 2004 18:26:53 +0000 (18:26 -0000)]
2004-02-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* PrivateFontCollection.cs: Removed excess attributes

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

20 years ago2004-02-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 25 Feb 2004 18:22:18 +0000 (18:22 -0000)]
2004-02-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* FontCollection.cs: Remove console

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

20 years agofontcollection wrapper and fixes
Jordi Mas i Hernandez [Wed, 25 Feb 2004 18:01:55 +0000 (18:01 -0000)]
fontcollection wrapper and fixes

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

20 years agoSmall fix in my previous commit.
Martin Baulig [Wed, 25 Feb 2004 17:11:20 +0000 (17:11 -0000)]
Small fix in my previous commit.

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

20 years agoAdded two test cases.
Martin Baulig [Wed, 25 Feb 2004 17:11:10 +0000 (17:11 -0000)]
Added two test cases.

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

20 years ago2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Feb 2004 15:43:52 +0000 (15:43 -0000)]
2004-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* tlstest.cs: Updated to support Basic and Digest authentication. Also
support ICertificatePolicy for WebRequests.

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

20 years ago2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 25 Feb 2004 15:37:43 +0000 (15:37 -0000)]
2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.

        * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.

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

20 years ago2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 25 Feb 2004 15:37:08 +0000 (15:37 -0000)]
2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.

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

20 years ago2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 25 Feb 2004 15:36:10 +0000 (15:36 -0000)]
2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.

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

20 years agono handle support anytime soon
Jordi Mas i Hernandez [Wed, 25 Feb 2004 15:26:03 +0000 (15:26 -0000)]
no handle support anytime soon

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

20 years agoupdated
Gonzalo Paniagua Javier [Wed, 25 Feb 2004 14:41:02 +0000 (14:41 -0000)]
updated

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

20 years ago2004-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 25 Feb 2004 14:34:42 +0000 (14:34 -0000)]
2004-02-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DigestClient.cs: fix quote handling. Reordered attributes in response.
Fixed typo (QOP->CNonce).

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

20 years agoWorkaround weird bug #54839 in mcs
Gonzalo Paniagua Javier [Wed, 25 Feb 2004 14:32:17 +0000 (14:32 -0000)]
Workaround weird bug #54839 in mcs

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

20 years ago2004-02-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Feb 2004 13:34:55 +0000 (13:34 -0000)]
2004-02-25  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_regalloc_cost): Revert this change since it
causes regressions.

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

20 years ago2004-02-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Feb 2004 13:16:49 +0000 (13:16 -0000)]
2004-02-25  Zoltan Varga  <vargaz@freemail.hu>

* mini.h linear-scan.c mini-x86.c mini-sparc.c mini-ppc.c: Add 'cfg'
argument to mono_arch_regalloc_cost.

* mini-x86.c (mono_arch_regalloc_cost): Compute regalloc costs
precisely.

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

20 years ago2004-02-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 25 Feb 2004 11:53:36 +0000 (11:53 -0000)]
2004-02-25  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.CurrentTypeParameters): New protected
property; returns the type parameters just from the current type,
ie. with the ones from outer classes.
(DeclSpace.LookupGeneric): First search in the current class, then
in outer classes.
(DeclSpace.initialize_type_params): When hiding a type parameter
from an outer class, put it into the `type_param_list' anyways.

* expression.cs (MemberAccess.expr): Made this field protected.

* class.cs (TypeContainer.Define): The `CurrentType' just contains
the type parameters from the current class.

* generic.cs (ConstructedType.ResolveType): Support nested generic
types by taking the type parameters which we inherit from outer
classes into account.
(GenericMemberAccess.ResolveAsTypeStep): Override this and added
support for nested generic types.

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

20 years ago2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Feb 2004 11:07:18 +0000 (11:07 -0000)]
2004-02-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriterOpenElement.cs : Reset() should reset _all_ fields.
  This fixes indentation bug.

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

20 years ago2004-02-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 25 Feb 2004 11:06:02 +0000 (11:06 -0000)]
2004-02-25  Martin Baulig  <martin@ximian.com>

* class.c (_mono_class_get_instantiation_name): Added `int offset'
argument for nested types.
(mono_class_create_generic): Added support for nested generictypes.

* class.h (MonoGenericInst): Added `MonoType *nested_in' and
`GList *nested'.

* icall.c (ves_icall_MonoGenericInst_GetNestedTypes): New icall.

* reflection.c (method_encode_signature): Increase the minimum
value of `size' from 10 to 11.
(mono_reflection_bind_generic_parameters): Take `int type_argc'
and `MonoType **types' arguments instead of the `MonoArray
*types'; added `MonoType *nested_in'.  Recursively instantiate
nested classes.

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

20 years agostringformat clone method
Jordi Mas i Hernandez [Wed, 25 Feb 2004 10:25:31 +0000 (10:25 -0000)]
stringformat clone method

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

20 years agoclone test method
Jordi Mas i Hernandez [Wed, 25 Feb 2004 10:23:58 +0000 (10:23 -0000)]
clone test method

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

20 years ago2004-02-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 25 Feb 2004 10:22:22 +0000 (10:22 -0000)]
2004-02-25  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs
(MonoGenericInst.GetNestedTypes): Override this.

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

20 years ago2004-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 25 Feb 2004 09:44:23 +0000 (09:44 -0000)]
2004-02-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DigestClient.cs: removed Console.
* HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.

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

20 years ago2004-02-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 25 Feb 2004 09:15:54 +0000 (09:15 -0000)]
2004-02-25  Marek Safar <marek.safar@seznam.cz>

* Makefile: Enable test-230.

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

20 years ago2004-02-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 25 Feb 2004 09:11:13 +0000 (09:11 -0000)]
2004-02-25  Marek Safar  <marek.safar@seznam.cz>

* codegen.cs: Implemented attribute support for modules.
        New AssemblyClass, ModuleClass and CommonAssemblyModulClass for
        Assembly/Module functionality.

        * attribute.cs, class.cs, cs-parser.jay, delegate.cs, driver.cs, enum.cs
        interface.cs, rootcontext.cs, statement.cs, typemanager.cs:
        Updated dependencies on CodeGen.ModuleBuilder and CodeGen.AssemblyBuilder.

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

20 years agos/doc\//web\//g
Gonzalo Paniagua Javier [Wed, 25 Feb 2004 09:09:27 +0000 (09:09 -0000)]
s/doc\//web\//g

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

20 years agoRemove duplicate
Miguel de Icaza [Wed, 25 Feb 2004 04:19:55 +0000 (04:19 -0000)]
Remove duplicate

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

20 years agoLove the Makefile
Miguel de Icaza [Wed, 25 Feb 2004 04:07:57 +0000 (04:07 -0000)]
Love the Makefile

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

20 years agoUpdate this one too
Miguel de Icaza [Wed, 25 Feb 2004 04:04:24 +0000 (04:04 -0000)]
Update this one too

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

20 years ago2004-02-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Feb 2004 02:39:04 +0000 (02:39 -0000)]
2004-02-18  Sebastien Pouliot  <sebastien@ximian.com>

* DigestClient.cs: Fixed issue with Apache server which do not use "
for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").

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

20 years agoUpdate this one too
Miguel de Icaza [Wed, 25 Feb 2004 02:12:52 +0000 (02:12 -0000)]
Update this one too

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