mono.git
20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 21:15:59 +0000 (21:15 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* class.cs (MethodBase.CheckGenericOverride): New abstract method.
(MethodCore.CheckGenericOverride): When overriding a generic
method, check whether the constraints match.

* support.cs (GenericConstraints): New public interface.
(ParameterData.GenericConstraints): New public method.

* parameter.cs (Parameter.Resolve): Check whether we're a generic
method parameter and compute our constraints if appropriate.
(Parameter.GenericConstraints): New public property.

* generic.cs (Constraints): Implement GenericConstraints.

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

20 years agoWe may get called to create the parent of a dynamic generic instance; in this
Martin Baulig [Mon, 29 Mar 2004 20:49:30 +0000 (20:49 -0000)]
We may get called to create the parent of a dynamic generic instance; in this
case, we're dynamic as well.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 18:23:28 +0000 (18:23 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.FindMemberToOverride): Use
`paramTypes [j].Equals (cmpAttrs [j])' instead of `=='.

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

20 years ago * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Lluis Sanchez [Mon, 29 Mar 2004 17:59:33 +0000 (17:59 -0000)]
* CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Created a new method GetSafeTypeName to support this.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:59:21 +0000 (17:59 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* generic.cs (GenericMethod.Define): Resolve our type parameters.

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

20 years ago* Executor.cs: Implemented.
Lluis Sanchez [Mon, 29 Mar 2004 17:56:19 +0000 (17:56 -0000)]
* Executor.cs: Implemented.

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

20 years agoDamn, no debugging code here.
Martin Baulig [Mon, 29 Mar 2004 17:47:34 +0000 (17:47 -0000)]
Damn, no debugging code here.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:47:18 +0000 (17:47 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* cs-parser.jay: Report CS0080 instead of -200 ("Constraints are
not allowed on non-generic declarations").

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:39:29 +0000 (17:39 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.ContainsGenericParameters): Implemented.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:16:47 +0000 (17:16 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.InferTypeArguments): Added overloaded
public version of this method.

* class.cs (MethodCore.IsDuplicateImplementation): Use
Invocation.InferTypeArguments() to check this.

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

20 years agoGenerics ...
Martin Baulig [Mon, 29 Mar 2004 17:12:25 +0000 (17:12 -0000)]
Generics ...

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

20 years agoOooops, forgot to add them.
Martin Baulig [Mon, 29 Mar 2004 17:12:09 +0000 (17:12 -0000)]
Oooops, forgot to add them.

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

20 years agoAdded testcase.
Martin Baulig [Mon, 29 Mar 2004 17:11:51 +0000 (17:11 -0000)]
Added testcase.

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

20 years ago2004-03-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 29 Mar 2004 16:46:08 +0000 (16:46 -0000)]
2004-03-29 Marek Safar <marek.safar@seznam.cz>
* cs0029-3.cs,
          cs0173-2.cs,
          cs0619-{2-26}.cs,
          cs0672.cs: 29 new error tests.

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

20 years ago * GuidTest.cs: Test constructor when the input string is in format "P"
Lluis Sanchez [Mon, 29 Mar 2004 16:07:59 +0000 (16:07 -0000)]
* GuidTest.cs: Test constructor when the input string is in format "P"
  or "N".

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

20 years ago * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue and
Lluis Sanchez [Mon, 29 Mar 2004 16:06:43 +0000 (16:06 -0000)]
* Convert.cs: In ToSingle(double), removed checks for Single.MaxValue and
  Single.MinValue. MS.NET don't do it. This fixes bug #56005.
* Guid.cs: Added support for guid strings in the "N" and "P" formats in
  the constructor. This fixes bug #54019.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 15:57:30 +0000 (15:57 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* convert.cs: Use TypeManager.IsDelegateType() instead of
comparing types correctly.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 15:28:00 +0000 (15:28 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* convert.cs: Use TypeManager.IsSubclassOf() instead of comparing
types directly to make it work for generic instances.

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

20 years ago * main.c: Handle pinvoke info where there is not an impl_map
Jackson Harper [Mon, 29 Mar 2004 15:16:18 +0000 (15:16 -0000)]
    * main.c: Handle pinvoke info where there is not an impl_map
entry.

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

20 years agoNew test.
Martin Baulig [Mon, 29 Mar 2004 15:07:20 +0000 (15:07 -0000)]
New test.

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

20 years agoNew tests ...
Martin Baulig [Mon, 29 Mar 2004 15:07:11 +0000 (15:07 -0000)]
New tests ...

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 15:05:54 +0000 (15:05 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.MayBecomeEqualGenericTypes): Added
support for arrays.

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

20 years ago2004-03-29 Umadevi S (sumadevi@novell.com)
Umadevi S [Mon, 29 Mar 2004 12:46:32 +0000 (12:46 -0000)]
2004-03-29 Umadevi S (sumadevi@novell.com)
- Removed TODO tags from Find methods since .NET also returns null

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

20 years ago * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
Lluis Sanchez [Mon, 29 Mar 2004 12:17:03 +0000 (12:17 -0000)]
* HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
the lock is released in case of exception (for example, a
ThreadAbortException). This also "fixes" bug #52417.
Beware, this requires a runtime update (due to a bug in Monitor.Exit).
* ServicePoint.cs: Changed method from internal to private, since it is not
called from outside the class.

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

20 years ago * monitor.c: In mono_monitor_exit(), don't throw an exception if the owner
Lluis Sanchez [Mon, 29 Mar 2004 12:03:10 +0000 (12:03 -0000)]
* monitor.c: In mono_monitor_exit(), don't throw an exception if the owner
of the lock is not the current thread. MS.NET don't do it, in spite of
what the documentation says. See bug #56157.

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

20 years agoadded missing methods and properties to a few classes and fixes
Jordi Mas i Hernandez [Mon, 29 Mar 2004 11:32:22 +0000 (11:32 -0000)]
added missing methods and properties to a few classes and fixes

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

20 years ago * CollectionBase.cs: Renamed internal arraylist member to match MS.NET
Lluis Sanchez [Mon, 29 Mar 2004 10:16:32 +0000 (10:16 -0000)]
* CollectionBase.cs: Renamed internal arraylist member to match MS.NET
  (to allow serialization interoperability).

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

20 years ago2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
Juraj Skripsky [Mon, 29 Mar 2004 07:56:47 +0000 (07:56 -0000)]
2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>

* System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
* Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs

* ExpressionElements.cs : remove
* DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
Integration of new Mono.Data.SqlExpressions classes used in
DataTable.{Select, Compute}.
Fixes bug #55503 and lots of failures in DataTableTest.cs.

* DataTableTest.cs : add test case for bug #55503,
comment out meaningless test cases.

* Initial implementation of Mono.Data.SqlExpressions.

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

20 years ago * ILParser.jay: Fix typo.
Jackson Harper [Mon, 29 Mar 2004 05:18:33 +0000 (05:18 -0000)]
    * ILParser.jay: Fix typo.

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

20 years agorevert -- breaks build
Ben Maurer [Mon, 29 Mar 2004 05:13:03 +0000 (05:13 -0000)]
revert -- breaks build

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

20 years agoNew test.
Martin Baulig [Mon, 29 Mar 2004 01:58:26 +0000 (01:58 -0000)]
New test.

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

20 years ago2004-03-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 01:57:45 +0000 (01:57 -0000)]
2004-03-28  Martin Baulig  <martin@ximian.com>

* mini.c (mmono_method_to_ir): In CEE_STELEM, do a handle_stobj()
if neccessary.

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

20 years ago2004-03-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Mar 2004 01:35:41 +0000 (01:35 -0000)]
2004-03-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: cs0213, cant fix a fixed expression.
fixes 50231.

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

20 years agomore test
Ben Maurer [Mon, 29 Mar 2004 01:18:06 +0000 (01:18 -0000)]
more test

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

20 years ago2004-03-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Mar 2004 01:16:29 +0000 (01:16 -0000)]
2004-03-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* cs-parser.jay: detect invalid embeded statements gracefully.
bug #51113.

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

20 years agotest case
Ben Maurer [Mon, 29 Mar 2004 01:14:22 +0000 (01:14 -0000)]
test case

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

20 years ago2004-03-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Mar 2004 01:09:06 +0000 (01:09 -0000)]
2004-03-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* ecore.cs, typemanager.cs: Correct impl of cs1540 check.
As a regex:
s/
the invocation type may not be a subclass of the tye of the item/
The type of the item must be a subclass of the invocation item.
/g

Fixes bug #50820.

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

20 years ago2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Mon, 29 Mar 2004 00:01:19 +0000 (00:01 -0000)]
2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
        * Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor (melkor@adinet.com.uy) for spotting that.

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

20 years ago * PeapiTypeRef.cs: Check for null bounds in bound arrays. Patch by
Jackson Harper [Sun, 28 Mar 2004 20:56:50 +0000 (20:56 -0000)]
      * PeapiTypeRef.cs: Check for null bounds in bound arrays. Patch by
Vladimir Vukicevic.
* ModifiablyType.cs: Set names properly for bound arrays.

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

20 years agoupdating mbas text a bit
Rafael Teixeira [Sun, 28 Mar 2004 19:43:01 +0000 (19:43 -0000)]
updating mbas text a bit

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

20 years agoBug fixes ....
Martin Baulig [Sun, 28 Mar 2004 19:28:13 +0000 (19:28 -0000)]
Bug fixes ....

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

20 years ago * ILParser.jay: Set true and false literals properly. Add instance
Jackson Harper [Sun, 28 Mar 2004 19:27:39 +0000 (19:27 -0000)]
    * ILParser.jay: Set true and false literals properly. Add instance
property attribute.

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

20 years ago2004-03-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 28 Mar 2004 19:26:40 +0000 (19:26 -0000)]
2004-03-28  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): Don't call init_properties() and
init_events() for generic instances; set `prop->parent' when
inflating properties.

* reflection.c (mono_generic_inst_get_object): Call
`mono_class_init (ginst->klass)'.
(mono_type_get_object): Only create a MonoGenericInst if your
generic type is a TypeBuilder.
(do_mono_reflection_bind_generic_parameters): Only set
`ginst->is_dynamic' if our generic type is a TypeBuilder.

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

20 years agoDon't crash here ;-)
Martin Baulig [Sun, 28 Mar 2004 19:24:50 +0000 (19:24 -0000)]
Don't crash here ;-)

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

20 years ago2004-02-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sun, 28 Mar 2004 19:20:34 +0000 (19:20 -0000)]
2004-02-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Utils.cs:
Spacing corrections

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

20 years ago * get.c (get_constant): output bool consts as bool(true) or
Jackson Harper [Sun, 28 Mar 2004 18:30:48 +0000 (18:30 -0000)]
    * get.c (get_constant): output bool consts as bool(true) or
       bool(false)  (to be same as ildasm, also what mono and ms
       ilasm expect). Patch by Vladimir Vukicevic.

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

20 years ago2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sun, 28 Mar 2004 18:27:08 +0000 (18:27 -0000)]
2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
        * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 17:16:54 +0000 (17:16 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_patch_code): Fix warnings.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 17:08:57 +0000 (17:08 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_output_basic_block): Fix CEE_MUL_OVF_UN if
dreg is not EAX. Thanks to Willibard Krenn for spotting this. Also
remove unused conv_u4 opcode.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 16:15:17 +0000 (16:15 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (unload_thread_main): Do not clear proxy_vtable_hash.
Fixes #56091.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 16:12:42 +0000 (16:12 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: Remove valgrind workaround since it slows down things
even when mono is not run under valgrind.

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

20 years agoThis fixes bugs #56129 and #56014.
Juraj Skripsky [Sun, 28 Mar 2004 11:43:28 +0000 (11:43 -0000)]
This fixes bugs #56129 and #56014.

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

20 years agoRemove OpenModeTypes
Duncan Mak [Sun, 28 Mar 2004 06:06:31 +0000 (06:06 -0000)]
Remove OpenModeTypes

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 22:33:16 +0000 (22:33 -0000)]
2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* ScriptCompilerInfo.cs : #line directive now holds dummy filename
  when BaseURI for msxsl:script node is not available. This fixes
  bug #56070.
  Don't output line number in the error message, when it is 0.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 22:14:43 +0000 (22:14 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadInnerXml() should progress reader when it is on
  an empty element. This fixes bug #56064.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 22:00:44 +0000 (22:00 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* DTDReader.cs : In some places sequential parameter entity was
  incorrectly skipped (and caused invalid result).

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 20:21:53 +0000 (20:21 -0000)]
2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 20:21:18 +0000 (20:21 -0000)]
2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* XsltContext.cs : Supply NameTable to base ctor().

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 19:59:31 +0000 (19:59 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* SignedXml.cs : namespace nodes also should be supplied for enveloped
  objects.
* KeyInfoRetrievalMethod.cs : Keep input element as well as others.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 19:46:40 +0000 (19:46 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* SignedXml.cs : XPath transformation output is not type of Stream.
  Fix to support them by canonicalizing it.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 19:21:31 +0000 (19:21 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlDsigXsltTransform.cs : GetOutput() now just returns
  transformation output.

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

20 years ago2004-03-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 27 Mar 2004 18:48:10 +0000 (18:48 -0000)]
2004-03-27  Sebastien Pouliot  <sebastien@ximian.com>

* xmldsig.cs: Added (manual) certificates for Phaos tests using
Manifests.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 18:13:50 +0000 (18:13 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* SignedXml.cs : Added xmlns support for Manifest.

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

20 years ago2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 27 Mar 2004 13:19:57 +0000 (13:19 -0000)]
2004-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
Now the posted file content does not have the boundaries and headers
included.

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

20 years ago* ForEachEnum.cs:
Duncan Mak [Sat, 27 Mar 2004 06:07:16 +0000 (06:07 -0000)]
* ForEachEnum.cs:
* OpenModeTypes.cs: Implemented according to the
Mainsoft Java implementation.

* Globals.cs:
* VBFixedArrayAttribute.cs:
* VBFixedStringAttribute: Changes made by Dennis Hayes
<dennish@raytek.com> from
 studying the Mainsoft implementation.

* Utils.cs (GetResourceString): Added stub for easing the port
from the Mainsoft Java implementation.

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

20 years agoRemove Changelog, it's ChangeLog now
Duncan Mak [Sat, 27 Mar 2004 06:04:24 +0000 (06:04 -0000)]
Remove Changelog, it's ChangeLog now

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

20 years agoFix the filename
Duncan Mak [Sat, 27 Mar 2004 06:03:18 +0000 (06:03 -0000)]
Fix the filename

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

20 years ago2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Mar 2004 21:16:36 +0000 (21:16 -0000)]
2004-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security.dll.sources: Added internal class Manifest.

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

20 years ago2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Mar 2004 21:14:07 +0000 (21:14 -0000)]
2004-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* XmlSignature.cs: Added constants for Manifest element and URI.

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

20 years ago2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Mar 2004 21:10:40 +0000 (21:10 -0000)]
2004-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
This should help us to validate more tests from the Phaos suite.
Note: Microsoft doesn't support this and we only support it for
verification (not signature generation).
* SignedXml.cs: Added support for Manifest, including recursive
manifests. Made some changes to reuse existing code as much as
possible. Better support for local/remote files - but requires
catching an Uri exception for local files :-(.

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

20 years ago2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Mar 2004 20:58:04 +0000 (20:58 -0000)]
2004-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* xmldsig.cs: Reactivated <Manifest> tests as support for them will be
present in Mono. Changed directory for Phaos tests because of some
documents' references.

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

20 years ago2004-03-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Fri, 26 Mar 2004 18:39:17 +0000 (18:39 -0000)]
2004-03-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* do-tests.pl: i think this fixes the problem with
tests that have comp options alway passing
* mcs-expect*: update for above.

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

20 years agoadded missing members and complete the wrapper
Jordi Mas i Hernandez [Fri, 26 Mar 2004 17:53:51 +0000 (17:53 -0000)]
added missing members and complete the wrapper

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

20 years ago2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2004 16:24:04 +0000 (16:24 -0000)]
2004-03-26  Atsushi Enomoto <atsushi@ximian.com>

* System.Security_test.dll.sources :
  Added XmlDsigEnvelopedSignatureTest.cs.

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

20 years ago2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2004 16:22:39 +0000 (16:22 -0000)]
2004-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* Added XmlDsigEnvelopedSignatureTransformTest.cs.
* SignedXmlTest.cs : Added some KeyInfo and error handling repro.

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

20 years ago2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2004 16:18:06 +0000 (16:18 -0000)]
2004-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : Use alias for mcs and mono and debuginfo.

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

20 years ago2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2004 16:12:40 +0000 (16:12 -0000)]
2004-03-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlCanonicalizer.cs :
  Don't output &#xD; for Whitespace node.
  To filter every kind of nodes, make sure node.Attributes isnot null.
  This makes some phaos tests passed.

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

20 years ago2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2004 16:08:47 +0000 (16:08 -0000)]
2004-03-26  Atsushi Enomoto <atsushi@ximian.com>

* SignedXml.cs :
  - Use specified (or default) XmlResolver to get external resource,
    instead of using WebRequest directly. Also modified it easier.
  - ApplyTransform() : Clone only when it is required. Handle
    transformation output other than Stream.
  - Even if applicable key was not found in GetHash(), don't throw
    crypto exception every time and just return false (MS does it).
    Throw an exception only when no key was specified as KeyInfo.
* XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
  incorrectly set InputTypes internally.
* XmlDsigXPathTransform.cs : Context namespace nodes in loaded
  transform parameter (i.e. <XPath>..</XPath>) should be registered
  to XsltContext. Otherwise prefix binding error occurs.
  Just filter attribute node, instead of filtering attribute children.

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

20 years ago2004-03-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 26 Mar 2004 15:30:23 +0000 (15:30 -0000)]
2004-03-26  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c: Update status.

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

20 years ago2004-03-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 26 Mar 2004 15:27:57 +0000 (15:27 -0000)]
2004-03-26  Zoltan Varga  <vargaz@freemail.hu>

* inssel-sparc.brg: Add some optimizations.

* inssel-sparc.brg mini-sparc.c: Rework branch instructions to allow
future delay slot filling. Add support for varargs, tail calls and JMP.

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

20 years ago2004-03-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 26 Mar 2004 15:24:16 +0000 (15:24 -0000)]
2004-03-26  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg mini-ops.h mini.c: Use OP_REFANYTYPE instead of
CEE_REFANYTYPE, since CEE_REFANYTYPE needs a prefix to be unique.

* inssel.brg: Fix register allocation in OP_ARGLIST.

* inssel.brg: Fix warnings.

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

20 years agodos2unix and some cosmatic changes.
Ravindra [Fri, 26 Mar 2004 13:48:00 +0000 (13:48 -0000)]
dos2unix and some cosmatic changes.

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

20 years agoFixed wrapmode enum values.
Ravindra [Fri, 26 Mar 2004 13:33:58 +0000 (13:33 -0000)]
Fixed wrapmode enum values.

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

20 years ago2004-03-26 Umadevi S (sumadevi@novell.com)
Umadevi S [Fri, 26 Mar 2004 05:05:21 +0000 (05:05 -0000)]
2004-03-26 Umadevi S (sumadevi@novell.com)
* Changed SqlClientPermission Attribute to fix a build issue using csc

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

20 years agoremoved debugging output
Gonzalo Paniagua Javier [Thu, 25 Mar 2004 23:54:57 +0000 (23:54 -0000)]
removed debugging output

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

20 years ago2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 25 Mar 2004 23:52:50 +0000 (23:52 -0000)]
2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SearchPattern.cs: small improvement for files with no wildcard.

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

20 years ago2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 25 Mar 2004 23:45:44 +0000 (23:45 -0000)]
2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: use the ISynchronizeInvoke object to invoke the event.
Implemented Close, CloseMainWindow and Kill.

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

20 years ago2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 25 Mar 2004 23:45:40 +0000 (23:45 -0000)]
2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-layer/daemon-messages.h: added kill structs.

* io-layer/daemon.c: implemented process_process_kill.
* io-layer/handles-private.h:  define process_process_kill.
* io-layer/handles.c: implemented _wapi_handle_process_kill.
* io-layer/processes.[ch]: implemented TerminateProcess.
* metadata/icall.c: added Kill_internal icall.
* metadata/process.[ch]: added Kill_internal icall.

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

20 years agobuild fix for 1.2 prof
Ben Maurer [Thu, 25 Mar 2004 23:00:27 +0000 (23:00 -0000)]
build fix for 1.2 prof

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

20 years ago2004-03-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 25 Mar 2004 22:50:04 +0000 (22:50 -0000)]
2004-03-25  Martin Baulig  <martin@ximian.com>

* class.h (MonoStats): Added `generic_instance_count',
`inflated_method_count', `inflated_type_count' and
`generics_metadata_size'.

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

20 years ago2004-03-25 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 25 Mar 2004 22:14:54 +0000 (22:14 -0000)]
2004-03-25  Bernie Solomon  <bernard@ugsolutions.com>

* daemon.c (rem_fd): On solaris you seem to get an
error even after removing the input source so don't
try and rem_fd it twice.

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

20 years agoOooops.
Martin Baulig [Thu, 25 Mar 2004 22:09:06 +0000 (22:09 -0000)]
Oooops.

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

20 years ago2004-03-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 25 Mar 2004 22:06:32 +0000 (22:06 -0000)]
2004-03-25  Martin Baulig  <martin@ximian.com>

* interp.c (stackval_from_data): Added MONO_TYPE_GENERICINST.
(stackval_to_data): Added MONO_TYPE_GENERICINST.
(calc_offsets): Use mono_class_get_full() and mono_get_method_full().
(ves_exec_method_with_context): Likewise.

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

20 years ago2004-03-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 25 Mar 2004 22:06:20 +0000 (22:06 -0000)]
2004-03-25  Martin Baulig  <martin@ximian.com>

* mini.c (inflate_generic_field): Removed.
(mini_get_method): Removed, use mono_get_method_full(),
(mini_get_class): Removed, use mono_class_get_full().
(mono_method_to_ir): Pass our generic context to
mono_field_from_token().

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

20 years ago2004-03-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 25 Mar 2004 22:06:07 +0000 (22:06 -0000)]
2004-03-25  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_get_full): New public function; does a
mono_class_get(), but also takes a `MonoGenericContext *'.

* loader.c (mono_field_from_memberref): Renamed to
`field_from_memberref', made static and added `MonoGenericContext *'
argument.
(mono_field_from_token): Added `MonoGenericInst *' argument.
(method_from_memberef): Likewise.
(mono_get_method_from_token): Likewise.
(mono_get_method_full): New public function; does a
mono_get_method(), but also takes a `MonoGenericContext *'.

* verify.c (mono_method_verify): Get the method's generic context
and pass it to mono_field_from_token(), mono_get_method_full() and
mono_class_get_full().

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

20 years ago2004-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 25 Mar 2004 21:04:28 +0000 (21:04 -0000)]
2004-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* mcs-expect-no-errors: Removed cs1548 and cs1458-2.cs (fixed #55364).

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

20 years ago2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 25 Mar 2004 21:01:00 +0000 (21:01 -0000)]
2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* reflection.c: no warnings now.

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

20 years ago2004-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 25 Mar 2004 20:31:32 +0000 (20:31 -0000)]
2004-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyBuilder.cs: Changed strongname support to match MS
implementation (i.e. attributes are used by the compiler - not by
AssemblyBuilder).

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

20 years ago2004-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 25 Mar 2004 20:29:43 +0000 (20:29 -0000)]
2004-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* attribute.cs: Added methods to get a string and a bool from an
attribute. Required to information from AssemblyKeyFileAttribute,
AttributeKeyNameAttribute (string) and AssemblyDelaySign (bool).
* codegen.cs: Modified AssemblyName creation to include support for
strongnames. Catch additional exceptions to report them as CS1548.
* compiler.csproj: Updated include CryptoConvert.cs.
* compiler.csproj.user: Removed file - user specific configuration.
* CryptoConvert.cs: New. A COPY of the class CryptoConvert from
Mono.Security assembly. The original class is maintained and tested in
/mcs/class/Mono.Security/Mono.Security.Cryptography/CryptoConvert.cs.
* drivers.cs: Added support for /keyfile, /keycontainer and /delaysign
like CSC 8.0 (C# v2) supports.
* Makefile: Added CryptoConvert.cs to mcs sources.
* rootcontext.cs: Added new options for strongnames.

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

20 years ago2004-03-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 25 Mar 2004 20:15:56 +0000 (20:15 -0000)]
2004-03-25  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_type): Take a
`MonoGenericContext *' instead of a `MonoGenericInst *' and a
`MonoGenericMethod *'.

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