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
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
Martin Baulig [Mon, 29 Mar 2004 17:12:25 +0000 (17:12 -0000)]
Generics ...
svn path=/trunk/mcs/; revision=24718
Martin Baulig [Mon, 29 Mar 2004 17:12:09 +0000 (17:12 -0000)]
Oooops, forgot to add them.
svn path=/trunk/mcs/; revision=24717
Martin Baulig [Mon, 29 Mar 2004 17:11:51 +0000 (17:11 -0000)]
Added testcase.
svn path=/trunk/mcs/; revision=24716
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
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
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
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
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
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
Martin Baulig [Mon, 29 Mar 2004 15:07:20 +0000 (15:07 -0000)]
New test.
svn path=/trunk/mcs/; revision=24708
Martin Baulig [Mon, 29 Mar 2004 15:07:11 +0000 (15:07 -0000)]
New tests ...
svn path=/trunk/mcs/; revision=24707
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
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
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
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
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
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
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
Jackson Harper [Mon, 29 Mar 2004 05:18:33 +0000 (05:18 -0000)]
* ILParser.jay: Fix typo.
svn path=/trunk/mcs/; revision=24698
Ben Maurer [Mon, 29 Mar 2004 05:13:03 +0000 (05:13 -0000)]
revert -- breaks build
svn path=/trunk/mcs/; revision=24696
Martin Baulig [Mon, 29 Mar 2004 01:58:26 +0000 (01:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=24691
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
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
Ben Maurer [Mon, 29 Mar 2004 01:18:06 +0000 (01:18 -0000)]
more test
svn path=/trunk/mcs/; revision=24688
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
Ben Maurer [Mon, 29 Mar 2004 01:14:22 +0000 (01:14 -0000)]
test case
svn path=/trunk/mcs/; revision=24686
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
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
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
Rafael Teixeira [Sun, 28 Mar 2004 19:43:01 +0000 (19:43 -0000)]
updating mbas text a bit
svn path=/trunk/mono/; revision=24680
Martin Baulig [Sun, 28 Mar 2004 19:28:13 +0000 (19:28 -0000)]
Bug fixes ....
svn path=/trunk/mcs/; revision=24679
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
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
Martin Baulig [Sun, 28 Mar 2004 19:24:50 +0000 (19:24 -0000)]
Don't crash here ;-)
svn path=/trunk/mono/; revision=24676
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
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
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
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
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
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
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
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
Duncan Mak [Sun, 28 Mar 2004 06:06:31 +0000 (06:06 -0000)]
Remove OpenModeTypes
svn path=/trunk/mcs/; revision=24666
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
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
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
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
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
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
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
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
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
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
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
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
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
Duncan Mak [Sat, 27 Mar 2004 06:03:18 +0000 (06:03 -0000)]
Fix the filename
svn path=/trunk/mcs/; revision=24649
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
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
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
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
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
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
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
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
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
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 
 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
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
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
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
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
Ravindra [Fri, 26 Mar 2004 13:48:00 +0000 (13:48 -0000)]
dos2unix and some cosmatic changes.
svn path=/trunk/mcs/; revision=24630
Ravindra [Fri, 26 Mar 2004 13:33:58 +0000 (13:33 -0000)]
Fixed wrapmode enum values.
svn path=/trunk/mcs/; revision=24629
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
Gonzalo Paniagua Javier [Thu, 25 Mar 2004 23:54:57 +0000 (23:54 -0000)]
removed debugging output
svn path=/trunk/mono/; revision=24624
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
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
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
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
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
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
Martin Baulig [Thu, 25 Mar 2004 22:09:06 +0000 (22:09 -0000)]
Oooops.
svn path=/trunk/mono/; revision=24617
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
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
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
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
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
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
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
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
Martin Baulig [Thu, 25 Mar 2004 19:55:13 +0000 (19:55 -0000)]
2004-03-25 Martin Baulig <martin@ximian.com>
* mini.c (mini_get_class): Take a `MonoGenericContext *' instead
of a `MonoMethod *'.
svn path=/trunk/mono/; revision=24607
Martin Baulig [Thu, 25 Mar 2004 19:51:03 +0000 (19:51 -0000)]
2004-03-25 Martin Baulig <martin@ximian.com>
* mini.c (mini_get_method): Take a `MonoGenericContext *' instead
of a `MonoGenericMethod *'.
(TYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_TYPE): mono_method_to_ir() has
a new local variable called `generic_context' which holds the
current `MonoGenericContext *'; use it to lookup things.
svn path=/trunk/mono/; revision=24606
Martin Baulig [Thu, 25 Mar 2004 19:50:48 +0000 (19:50 -0000)]
2004-03-25 Martin Baulig <martin@ximian.com>
* loader.h (MonoMethodInflated): Store the MonoGenericContext
instead of the MonoGenericMethod here.
svn path=/trunk/mono/; revision=24605
Martin Baulig [Thu, 25 Mar 2004 19:00:17 +0000 (19:00 -0000)]
2004-03-25 Martin Baulig <martin@ximian.com>
* class.h (MonoGenericInst): Added `MonoGenericContext *context';
each time we create a new MonoGenericInst, we also create a new
context which points back to us.
* class.c (inflate_method): Use `ginst->context' instead of
creating a new context.
* loader.c (method_from_memberref): Use
`klass->generic_inst->context' instead of creating a new context.
svn path=/trunk/mono/; revision=24604
Jackson Harper [Thu, 25 Mar 2004 18:56:33 +0000 (18:56 -0000)]
* gacutil.cs: Add culture to assemblies version string.
svn path=/trunk/mcs/; revision=24603
Martin Baulig [Thu, 25 Mar 2004 18:52:25 +0000 (18:52 -0000)]
2004-03-25 Martin Baulig <martin@ximian.com>
* class.h (MonoGenericContext): New struct.
(MonoGenericMethod): Removed `generic_inst'.
* class.c (mono_class_inflate_generic_method): Take a
`MonoGenericContext *' instead of a `MonoGenericMethod *'.
svn path=/trunk/mono/; revision=24602
Martin Baulig [Thu, 25 Mar 2004 18:26:11 +0000 (18:26 -0000)]
2004-03-25 Martin Baulig <martin@ximian.com>
* loader.h (MonoMethodInflated): New typedef.
* metadata.h (MonoMethodSignature): Removed `gen_method', make
`generic_param_count' consume just 30 bits, added `is_inflated'
and `has_type_parameters' flags (one bit each).
* class.c (mono_class_inflate_generic_method): Create a
MonoMethodInflated instead of a MonoMethodNormal and set
`is_inflated' in the method signature.
* class.h (MonoGenericMethod): Removed `generic_method'.
svn path=/trunk/mono/; revision=24600
Sebastien Pouliot [Thu, 25 Mar 2004 18:01:12 +0000 (18:01 -0000)]
2004-03-25 Sebastien Pouliot <sebastien@ximian.com>
* SignedXml.cs: Added try/catch in CheckSignatureWithKey to return
false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
-retrieval-method.xml in the Phaos test suite.
svn path=/trunk/mcs/; revision=24599