Marek Safar [Tue, 1 Jun 2004 18:24:31 +0000 (18:24 -0000)]
2004-06-01 Marek Safar <marek.safar@seznam.cz>
Fixed bug #59071 & cs0160.cs
* statement.cs (Try.Resolve): Check here whether order of catch
clauses matches their dependencies.
svn path=/trunk/mcs/; revision=28648
Gert Driesen [Tue, 1 Jun 2004 17:58:08 +0000 (17:58 -0000)]
* RemotingServices.cs: Added missing Conditional attribute and
MonoTODO attribute on LogRemotingStage
svn path=/trunk/mcs/; revision=28644
Gert Driesen [Tue, 1 Jun 2004 17:48:31 +0000 (17:48 -0000)]
* Assembly.cs: added missing ComVisible attribute on
ImageRuntimeVersion property
* ConstructorInfo.cs: added missing attributes on Invoke
* EventInfo.cs: added missing attributes
* FieldInfo.cs: added missing attributes
* MethodBase.cs: added missing attributes
* PropertyInfo.cs: added missing attributes
svn path=/trunk/mcs/; revision=28642
Gert Driesen [Tue, 1 Jun 2004 17:47:55 +0000 (17:47 -0000)]
forgot to remove conflict indicators
svn path=/trunk/mcs/; revision=28641
Gert Driesen [Tue, 1 Jun 2004 17:47:04 +0000 (17:47 -0000)]
* Type.cs: added missing attributes on InvokeMember
svn path=/trunk/mcs/; revision=28640
Atsushi Eno [Tue, 1 Jun 2004 14:15:36 +0000 (14:15 -0000)]
2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
* platforms/win32.make : TEST_RUNTIME should be always mono we can't
test our libs against MS.NET runtime. Think about internal call).
svn path=/trunk/mcs/; revision=28628
Miguel de Icaza [Tue, 1 Jun 2004 13:30:40 +0000 (13:30 -0000)]
2004-06-01 Miguel de Icaza <miguel@ximian.com>
* String.cs: Flag concat with four arguments internal.
svn path=/trunk/mcs/; revision=28625
Ravindra [Tue, 1 Jun 2004 12:09:36 +0000 (12:09 -0000)]
Minor correction in Pen.Dispose and SolidBrush.Dispose
svn path=/trunk/mcs/; revision=28624
Sebastien Pouliot [Tue, 1 Jun 2004 12:09:27 +0000 (12:09 -0000)]
2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
* SortedList.cs: Fixed case where the initial capacity was set to 0.
svn path=/trunk/mcs/; revision=28623
Sebastien Pouliot [Tue, 1 Jun 2004 12:05:49 +0000 (12:05 -0000)]
2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
* SortedListTest.cs: Added new test when initial capacity is set to 0
(so it never returns to default, 16, when Capacity is set to 0) unless
Clear is called. Cleaned up unused SetUp/TearDown.
svn path=/trunk/mcs/; revision=28622
Marek Safar [Tue, 1 Jun 2004 11:59:37 +0000 (11:59 -0000)]
2004-06-01 Marek Safar <marek.safar@seznam.cz>
* cs1555.cs,
* cs1556.cs,
* cs3000.cs: 3 new error tests.
svn path=/trunk/mcs/; revision=28621
Raja R Harinath [Tue, 1 Jun 2004 10:02:34 +0000 (10:02 -0000)]
(monolite-bootstrap): Update.
svn path=/trunk/mono/; revision=28620
Raja R Harinath [Tue, 1 Jun 2004 09:50:00 +0000 (09:50 -0000)]
(bootstrap,faststrap,fasterstrap): Refactor.
Fix 'faststrap' to be corlib-version-change-safe.
(one-stage-strap,two-stage-strap,three-stage-strap): Remove.
svn path=/trunk/mono/; revision=28619
Lluis Sanchez [Tue, 1 Jun 2004 08:59:06 +0000 (08:59 -0000)]
2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
* DiscoveryReference.cs: Added missing XmlIgnore attribute.
svn path=/trunk/mcs/; revision=28617
Lluis Sanchez [Tue, 1 Jun 2004 08:58:32 +0000 (08:58 -0000)]
2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
* HttpSoapWebServiceHandler.cs: Removed unused variables.
* SoapHeaderAttribute.cs: Added Obsolete attribute.
svn path=/trunk/mcs/; revision=28616
Lluis Sanchez [Tue, 1 Jun 2004 08:49:25 +0000 (08:49 -0000)]
* Binding.cs: removed extra XmlIgnore attribute on ServiceDescription
* Import.cs: removed extra XmlIgnore attribute on ServiceDescription
* Message.cs: removed extra XmlIgnore attribute on ServiceDescription
* MessageBinding.cs: removed extra DefaultValue attribute from Name,
removed extra XmlIgnoreAttribute from OperationBinding
* MessagePart.cs: removed extra XmlIgnore attribute on Message
* MimeContentBinding.cs: removed extra DefaultValue attribute on Part
* Operation.cs: removed extra XmlIgnore attribute on PortType
* OperationBinding.cs: removed extra XmlIgnore attribute on Binding
* OperationMessage.cs: removed extra XmlIgnore attribute on Operation
* Port.cs: removed extra XmlIgnore attribute on Service
* PortType.cs: removed extra XmlIgnore on ServiceDescription
* Service.cs: removed extra XmlIgnore on ServiceDescription
* ServiceDescriptionFormatExtension.cs: removed extra XmlIgnore
attribute on Parent
* SoapHeaderBinding.cs: added XmlElement attribute on Fault
* HttpSimpleProtocolImporter.cs: removed unused variable
* ServiceDescriptionImporter.cs: removed unused variable
* SoapProtocolImporter.cs: removed unused variable
svn path=/trunk/mcs/; revision=28615
Lluis Sanchez [Tue, 1 Jun 2004 08:48:08 +0000 (08:48 -0000)]
* WebServicesConfigurationSectionHandler.cs: removed unused variables
svn path=/trunk/mcs/; revision=28614
Ravindra [Tue, 1 Jun 2004 08:29:58 +0000 (08:29 -0000)]
Patch from Gert Driesen.
svn path=/trunk/mcs/; revision=28613
Anirban Bhattacharjee [Tue, 1 Jun 2004 06:12:41 +0000 (06:12 -0000)]
test cases for Delegate
svn path=/trunk/mcs/; revision=28612
Gonzalo Paniagua Javier [Tue, 1 Jun 2004 05:47:02 +0000 (05:47 -0000)]
2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
to Markus Kr�utner.
svn path=/trunk/mcs/; revision=28611
Gonzalo Paniagua Javier [Tue, 1 Jun 2004 05:45:05 +0000 (05:45 -0000)]
2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RegexBugs.cs: added CategoryAndNegated test.
svn path=/trunk/mcs/; revision=28610
Gonzalo Paniagua Javier [Tue, 1 Jun 2004 05:43:48 +0000 (05:43 -0000)]
2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
emitting a Category.All if both a category and its negated value are
present.
svn path=/trunk/mcs/; revision=28609
Ravindra [Tue, 1 Jun 2004 05:10:45 +0000 (05:10 -0000)]
Formatting.
svn path=/trunk/mcs/; revision=28608
Ravindra [Tue, 1 Jun 2004 05:00:16 +0000 (05:00 -0000)]
* Pen.cs: Added a note on Dispose method.
* Brush.cs: Fixed Dispose method.
* SolidBrush.cs: Fixed Dispose method.
svn path=/trunk/mcs/; revision=28607
Sebastien Pouliot [Tue, 1 Jun 2004 01:42:38 +0000 (01:42 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* ArrayTest.cs: Fixed array used for some tests. Strangely the tests
didn't fail on MS runtime ?!?! but they should have!
svn path=/trunk/mcs/; revision=28606
Sebastien Pouliot [Tue, 1 Jun 2004 01:24:57 +0000 (01:24 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* PathTest.cs: Fixed ChangeExtension_BadExtension to run only on Windows.
svn path=/trunk/mcs/; revision=28605
Gonzalo Paniagua Javier [Tue, 1 Jun 2004 01:01:23 +0000 (01:01 -0000)]
2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* syntax.cs: reverting my previous patch. It causes bigger problems.
svn path=/trunk/mcs/; revision=28604
Sebastien Pouliot [Tue, 1 Jun 2004 00:49:08 +0000 (00:49 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* Array.cs: Fixed legal case where value is null.
* Byte.cs: Fixed ToString when format is an empty string (use "G").
svn path=/trunk/mcs/; revision=28603
Sebastien Pouliot [Tue, 1 Jun 2004 00:45:29 +0000 (00:45 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* Guid.cs: Renamed private fields (and changed some to signed) to
match MS implementation and allow serialization to work. Fix
bug #59113.
svn path=/trunk/mcs/; revision=28602
Sebastien Pouliot [Tue, 1 Jun 2004 00:44:10 +0000 (00:44 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* Hashtable.cs: Added ArgumentNullException in GetObjectData.
svn path=/trunk/mcs/; revision=28601
Sebastien Pouliot [Tue, 1 Jun 2004 00:20:08 +0000 (00:20 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* ArrayListTest.cs: Added new test for null in BinarySearch.
* HashtableTest.cs: Added null checking fro GetObjectData.
svn path=/trunk/mcs/; revision=28600
Sebastien Pouliot [Tue, 1 Jun 2004 00:16:12 +0000 (00:16 -0000)]
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
* FileTest.cs: Added tests to confirm that Exists never throws
exceptions even for invalid filenames or for unexisting directories.
* PathTest.cs: Added windows-specific tests that shows that
ChangeExtension validate the input patch but doesn't validate the
resulting path.
svn path=/trunk/mcs/; revision=28599
Sebastien Pouliot [Tue, 1 Jun 2004 00:11:50 +0000 (00:11 -0000)]
2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
* ArrayTest.cs: Added tests for null values in BinarySearch.
* Byte.cs: Added test for default ToString format value.
svn path=/trunk/mcs/; revision=28598
Gonzalo Paniagua Javier [Mon, 31 May 2004 19:15:56 +0000 (19:15 -0000)]
2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
when SetFilePath is called. This way the cached values are reset and
get the right value in case someone (namely SessionStateModule +
cookieless session) changes the FilePath after the property cached its
value. Fixes bug #59364.
svn path=/trunk/mcs/; revision=28586
Atsushi Eno [Mon, 31 May 2004 19:12:07 +0000 (19:12 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : Loop-break of the last fix was incorrect.
svn path=/trunk/mcs/; revision=28585
Miguel de Icaza [Mon, 31 May 2004 18:22:57 +0000 (18:22 -0000)]
version
svn path=/trunk/mcs/; revision=28575
Miguel de Icaza [Mon, 31 May 2004 18:22:28 +0000 (18:22 -0000)]
version
svn path=/trunk/mcs/; revision=28574
Atsushi Eno [Mon, 31 May 2004 18:16:37 +0000 (18:16 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : When a row has no parent row but the table has parent
relation(s), that row had been always ignored.
svn path=/trunk/mcs/; revision=28572
Gonzalo Paniagua Javier [Mon, 31 May 2004 18:14:08 +0000 (18:14 -0000)]
tired of those ^M
svn path=/trunk/mcs/; revision=28571
Miguel de Icaza [Mon, 31 May 2004 17:51:14 +0000 (17:51 -0000)]
This is Beta2
svn path=/trunk/mono/; revision=28567
Miguel de Icaza [Mon, 31 May 2004 17:28:06 +0000 (17:28 -0000)]
UPdate
svn path=/trunk/mono/; revision=28566
Atsushi Eno [Mon, 31 May 2004 17:16:55 +0000 (17:16 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
rejected same-named tables in different hierarchy. Thanks to Boris.
svn path=/trunk/mcs/; revision=28565
Ben Maurer [Mon, 31 May 2004 17:12:21 +0000 (17:12 -0000)]
add multi-6
svn path=/trunk/mcs/; revision=28564
Gonzalo Paniagua Javier [Mon, 31 May 2004 17:01:48 +0000 (17:01 -0000)]
2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: fixlets for windows.
svn path=/trunk/mono/; revision=28562
Paolo Molaro [Mon, 31 May 2004 17:01:25 +0000 (17:01 -0000)]
Mon May 31 19:41:46 CEST 2004 Paolo Molaro <lupus@ximian.com>
* mini.c revert Zoltan's fix to bug#58863 on ppc, since it causes
regressions in gtk-sharp.
svn path=/trunk/mono/; revision=28561
Miguel de Icaza [Mon, 31 May 2004 16:57:21 +0000 (16:57 -0000)]
2004-05-31 Miguel de Icaza <miguel@ximian.com>
* Reverted patch to namespace.cs (Use lookuptypedirect). This
caused a regression: #59343. Referencing nested classes from an
assembly stopped working.
svn path=/trunk/mcs/; revision=28560
Atsushi Eno [Mon, 31 May 2004 16:50:16 +0000 (16:50 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlDiffLoader.cs : Added some Skip() that is required not to go to
infinite loop. Thanks to Boris for this fix.
svn path=/trunk/mcs/; revision=28558
Atsushi Eno [Mon, 31 May 2004 16:44:03 +0000 (16:44 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* Directory.cs, File.cs : Fixed Exists() that raised
DirectoryNotFoundException. Quick fix for bug #59354.
svn path=/trunk/mcs/; revision=28557
Zoltan Varga [Mon, 31 May 2004 15:47:57 +0000 (15:47 -0000)]
2004-05-31 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_runtime_invoke): Fix CR/LFs.
svn path=/trunk/mono/; revision=28555
Miguel de Icaza [Mon, 31 May 2004 15:18:47 +0000 (15:18 -0000)]
Updated with new tests
svn path=/trunk/mcs/; revision=28554
Miguel de Icaza [Mon, 31 May 2004 15:13:25 +0000 (15:13 -0000)]
Add new test files
svn path=/trunk/mcs/; revision=28553
Atsushi Eno [Mon, 31 May 2004 12:06:45 +0000 (12:06 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* SignedXml.cs : partial fix for bug #59165 that does not output
namespace that conflicts with element's namespace.
svn path=/trunk/mcs/; revision=28551
Atsushi Eno [Mon, 31 May 2004 10:47:19 +0000 (10:47 -0000)]
The latest tests were by Boris Kirzner (thanks!)
svn path=/trunk/mcs/; revision=28550
Atsushi Eno [Mon, 31 May 2004 10:45:27 +0000 (10:45 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* DataTableTest.cs : Added test for serialization.
* DataSetInferXmlSchemaTest.cs : Added test for schema element skip.
svn path=/trunk/mcs/; revision=28549
Atsushi Eno [Mon, 31 May 2004 10:29:27 +0000 (10:29 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
Thanks to Boris for this fix.
svn path=/trunk/mcs/; revision=28548
Atsushi Eno [Mon, 31 May 2004 10:23:31 +0000 (10:23 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* RncParser.jay : now error output is disabled.
* RncTokenizer.cs : It should not be public class.
svn path=/trunk/mcs/; revision=28547
Atsushi Eno [Mon, 31 May 2004 10:22:51 +0000 (10:22 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* Misc.cs : made Util class internal.
* RelaxngDatatypeProvider.cs : looks commit was missing.
* RelaxngException.cs : made one .ctor() internal that accepts
RdpPattern.
* RelaxngNameClas.cs : Names list should not be settable.
* RelaxngPattern.cs : RelaxngRefPattern class is internal use only.
* RelaxngPatternType.cs : there is not "Include" pattern.
svn path=/trunk/mcs/; revision=28546
Atsushi Eno [Mon, 31 May 2004 10:22:02 +0000 (10:22 -0000)]
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* anglia-test-runner.cs : Added support for RELAX NG compact syntax
parser tests.
* Makefile : added anglia-test support.
* README : ditto.
svn path=/trunk/mcs/; revision=28545
Rafael Teixeira [Mon, 31 May 2004 09:15:09 +0000 (09:15 -0000)]
2004-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* OptionDetails.cs : ShortForm member now a string to favor some simplifications, fixes for Bug 58672
* OptionList.cs : Fixes for Bug 58672 and better handling for mixed-form options (linux/windows)
svn path=/trunk/mcs/; revision=28543
Rafael Teixeira [Mon, 31 May 2004 08:57:22 +0000 (08:57 -0000)]
Exercise Mono.GetOptions a bit in the testmbas/WriteOK.exe target
svn path=/trunk/mcs/; revision=28542
Ravindra [Mon, 31 May 2004 08:43:54 +0000 (08:43 -0000)]
* pie.cs: Made the output image little organized and added a
case where DrawPie and FillPie were crashing the system. It
was happening with zero degree sweep angle.
svn path=/trunk/mcs/; revision=28541
Rafael Teixeira [Mon, 31 May 2004 07:03:50 +0000 (07:03 -0000)]
2004-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* OptionDetails.cs: Assemble an one-line authors' list in about processor (also abandon after about)
svn path=/trunk/mcs/; revision=28534
Rafael Teixeira [Mon, 31 May 2004 07:00:05 +0000 (07:00 -0000)]
2004/05/31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* AssemblyInfo.cs : Anirban is and author too
svn path=/trunk/mcs/; revision=28532
Rafael Teixeira [Mon, 31 May 2004 05:35:21 +0000 (05:35 -0000)]
2004-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Financial.cs:
Correct IRR and MIRR method signatures and prevent public default constructor, all according to Class Status Page (corcompare)
svn path=/trunk/mcs/; revision=28530
Rafael Teixeira [Mon, 31 May 2004 04:51:11 +0000 (04:51 -0000)]
BETTER ALPHA WARNING
svn path=/trunk/mcs/; revision=28529
Martin Baulig [Mon, 31 May 2004 02:55:34 +0000 (02:55 -0000)]
2004-05-31 Martin Baulig <martin@ximian.com>
MCS is now frozen for beta 2.
svn path=/trunk/mcs/; revision=28528
Martin Baulig [Mon, 31 May 2004 02:46:01 +0000 (02:46 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=28527
Martin Baulig [Mon, 31 May 2004 02:44:20 +0000 (02:44 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=28526
Martin Baulig [Mon, 31 May 2004 02:32:48 +0000 (02:32 -0000)]
Reverted everything back until 14:15 this afternoon.
svn path=/trunk/mcs/; revision=28525
Martin Baulig [Mon, 31 May 2004 02:31:16 +0000 (02:31 -0000)]
2004-05-30 Ben Maurer <bmaurer@users.sourceforge.net>
* decl.cs: If possible, use lookuptypedirect here. We can only do
this if there is no `.' after the namespace. Avoids using
LookupType, which does lots of slow processing.
(FindNestedType) New method, does what it says :-).
* namespace.cs: use LookupTypeDirect.
* rootcontext.cs: use membercache, if possible.
* typemanager.cs (LookupTypeDirect): Cache negative hits too.
svn path=/trunk/mcs/; revision=28523
Martin Baulig [Mon, 31 May 2004 02:26:38 +0000 (02:26 -0000)]
2004-05-30 Ben Maurer <bmaurer@users.sourceforge.net>
* expression.cs:
According to the spec,
In a member access of the form E.I, if E is a single identifier,
and if the meaning of E as a simple-name (�7.5.2) is a constant,
field, property, localvariable, or parameter with the same type as
the meaning of E as a type-name (�3.8), then both possible
meanings of E are permitted.
We did not check that E as a simple-name had the same type as E as
a type name.
This trivial check gives us 5-7% on bootstrap time.
2004-05-30 Ben Maurer <bmaurer@users.sourceforge.net>
* expression.cs (Invocation.OverloadResolve): Avoid the
use of hashtables and boxing here by allocating on demand.
svn path=/trunk/mcs/; revision=28522
Martin Baulig [Mon, 31 May 2004 02:24:04 +0000 (02:24 -0000)]
2004-05-30 Martin Baulig <martin@ximian.com>
* rootcontext.cs (RootContext.LookupType): Don't cache things if
we're doing a silent lookup. Don't try to lookup nested types in
TypeManager.object_type (thanks to Ben Maurer).
2004-05-30 Martin Baulig <martin@ximian.com>
Committing a patch from Ben Maurer.
* rootcontext.cs (RootContext.LookupType): Cache negative results.
svn path=/trunk/mcs/; revision=28521
Martin Baulig [Mon, 31 May 2004 02:12:45 +0000 (02:12 -0000)]
Reverted everything back until 14:15:00 this afternoon.
svn path=/trunk/mcs/; revision=28520
Martin Baulig [Mon, 31 May 2004 01:18:45 +0000 (01:18 -0000)]
Moved the marker again.
svn path=/trunk/mcs/; revision=28519
Martin Baulig [Mon, 31 May 2004 01:18:06 +0000 (01:18 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=28518
Ben Maurer [Mon, 31 May 2004 01:13:30 +0000 (01:13 -0000)]
hush little baby, dont say a word
svn path=/trunk/mcs/; revision=28517
Ben Maurer [Mon, 31 May 2004 01:11:56 +0000 (01:11 -0000)]
disable this for now
svn path=/trunk/mcs/; revision=28516
Ben Maurer [Sun, 30 May 2004 23:11:04 +0000 (23:11 -0000)]
2004-05-30 Ben Maurer <bmaurer@users.sourceforge.net>
* convert.cs: add a trivial cache for overload operator resolution.
svn path=/trunk/mcs/; revision=28515
Ben Maurer [Sun, 30 May 2004 22:49:58 +0000 (22:49 -0000)]
revert this patch, it broke the build
svn path=/trunk/mcs/; revision=28514
Jackson Harper [Sun, 30 May 2004 22:44:38 +0000 (22:44 -0000)]
* library.make: Install to 2.0 package if building with the
net_2_0 profile.
svn path=/trunk/mcs/; revision=28513
Ben Maurer [Sun, 30 May 2004 22:10:04 +0000 (22:10 -0000)]
2004-05-31 Marek Safar <marek.safar@seznam.cz>
* attribute.cs
(AttributeTester.GetObsoleteAttribute): Returns instance of
ObsoleteAttribute when type is obsolete.
* class.cs
(TypeContainer.VerifyObsoleteAttribute): Override.
(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
(MethodCode.VerifyObsoleteAttribute): Override.
svn path=/trunk/mcs/; revision=28512
Marek Safar [Sun, 30 May 2004 21:56:07 +0000 (21:56 -0000)]
2004-05-31 Marek Safar <marek.safar@seznam.cz>
* attribute.cs
(AttributeTester.GetObsoleteAttribute): Returns instance of
ObsoleteAttribute when type is obsolete.
* class.cs
(TypeContainer.VerifyObsoleteAttribute): Override.
(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
(MethodCode.VerifyObsoleteAttribute): Override.
(MemberBase.VerifyObsoleteAttribute): Override.
* decl.cs
(MemberCore.CheckUsageOfObsoleteAttribute): Tests presence of ObsoleteAttribute
and report proper error.
*delegate.cs
(Delegate.VerifyObsoleteAttribute): Override.
* ecore.cs
(Expression.CheckObsoleteAttribute): Tests presence of ObsoleteAttribute
and report proper error.
(FieldExpr.DoResolve): Added tests for ObsoleteAttribute.
* enum.cs
(Enum.GetObsoleteAttribute): Returns ObsoleteAttribute for both enum type
and enum member.
* expression.cs
(Probe.DoResolve, Cast.DoResolve, LocalVariableReference.DoResolve,
New.DoResolve, SizeOf.DoResolve, TypeOf.DoResolce, MemberAccess.DoResolve):
Added test for ObsoleteAttribute.
* statement.cs
(Catch): Derived from Statement.
svn path=/trunk/mcs/; revision=28511
Marek Safar [Sun, 30 May 2004 21:37:08 +0000 (21:37 -0000)]
2004-05-31 Marek Safar <marek.safar@seznam.cz>
* attribute.cs
(GetConditionalAttributeValue): New method. Returns
condition of ConditionalAttribute.
(SearchMulti): New method. Returns all attributes of type 't'.
Use it when attribute is AllowMultiple = true.
* class.cs
(Method.IsExcluded): Implemented. Returns true if method has conditional
attribute and the conditions is not defined (method is excluded).
(IMethodData): Extended interface for ConditionalAttribute support.
(PropertyMethod.IsExcluded): Implemented.
svn path=/trunk/mcs/; revision=28510
Martin Baulig [Sun, 30 May 2004 21:32:23 +0000 (21:32 -0000)]
Oooops, forgot to add this.
svn path=/trunk/mcs/; revision=28509
Marek Safar [Sun, 30 May 2004 21:28:21 +0000 (21:28 -0000)]
2004-05-30 Marek Safar <marek.safar@seznam.cz>
* test-240.cs: Enable test.
svn path=/trunk/mcs/; revision=28508
Gonzalo Paniagua Javier [Sun, 30 May 2004 20:50:33 +0000 (20:50 -0000)]
2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Mono.Data.SqliteClient.dll.sources: added SqliteTransaction.cs
* Mono.Data.SqliteClient/SqliteConnection.cs:
* Mono.Data.SqliteClient/SqliteTransaction.cs: patch from
grompf@sublimeintervention.com that adds transactions support.
svn path=/trunk/mcs/; revision=28507
Gonzalo Paniagua Javier [Sun, 30 May 2004 20:42:47 +0000 (20:42 -0000)]
2004-05-30 Gert Driesen (drieseng@users.sourceforge.net)
* SetWin32ContextInIDispatchAttribute.cs: only build
for NET_2_0 profile
* VariantWrapper.cs: only build for NET_2_0 profile
svn path=/trunk/mcs/; revision=28506
Ben Maurer [Sun, 30 May 2004 20:37:58 +0000 (20:37 -0000)]
2004-05-30 Ben Maurer <bmaurer@users.sourceforge.net>
* expression.cs:
According to the spec,
In a member access of the form E.I, if E is a single identifier,
and if the meaning of E as a simple-name (�7.5.2) is a constant,
field, property, localvariable, or parameter with the same type as
the meaning of E as a type-name (�3.8), then both possible
meanings of E are permitted.
We did not check that E as a simple-name had the same type as E as
a type name.
This trivial check gives us 5-7% on bootstrap time.
svn path=/trunk/mcs/; revision=28505
Ben Maurer [Sun, 30 May 2004 20:33:08 +0000 (20:33 -0000)]
add this
svn path=/trunk/mcs/; revision=28504
Atsushi Eno [Sun, 30 May 2004 20:23:52 +0000 (20:23 -0000)]
2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
* RncTests.cs : fixed test that got impossible to build anymore.
svn path=/trunk/mcs/; revision=28503
Atsushi Eno [Sun, 30 May 2004 20:23:26 +0000 (20:23 -0000)]
2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
* RncParser.jay :
Now RncParser.Parse() returns RelaxngPattern, not RelaxngGrammar.
Fixed many "confusing RelaxngPattern and RelaxngPatternList"
problems, and ditto for other "List" stuff.
To avoid complex situations, mostly removed unused annotation stuff.
svn path=/trunk/mcs/; revision=28502
Atsushi Eno [Sun, 30 May 2004 20:22:51 +0000 (20:22 -0000)]
2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngDatatypeProvider.cs : removed meaningless using alias.
* RelaxngGrammar.cs : modified ArrayList to RelaxngGrammarContentList.
RelaxngMergedProvider.cs : Added #if PNET switch to support non-
xmlschema available environment.
* RelaxngPattern.cs : added IGrammarContent and
RelaxngGrammarContentList.
svn path=/trunk/mcs/; revision=28501
Miguel de Icaza [Sun, 30 May 2004 20:18:01 +0000 (20:18 -0000)]
Start
svn path=/trunk/mono/; revision=28500
Martin Baulig [Sun, 30 May 2004 19:52:04 +0000 (19:52 -0000)]
2004-05-30 Martin Baulig <martin@ximian.com>
* Makefile (net_2_0_dir): New variable; also use the correct
directory here.
svn path=/trunk/mcs/; revision=28499
Marek Safar [Sun, 30 May 2004 19:51:00 +0000 (19:51 -0000)]
2004-05-30 Marek Safar <marek.safar@seznam.cz>
Fixed bug #59071 & cs0160.cs
* statement.cs (Try.Resolve): Check here whether order of catch
clauses matches their dependencies.
svn path=/trunk/mcs/; revision=28498
Sebastien Pouliot [Sun, 30 May 2004 19:34:26 +0000 (19:34 -0000)]
2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
* FileStream.cs: Added missing validations.
svn path=/trunk/mcs/; revision=28497
Sebastien Pouliot [Sun, 30 May 2004 19:18:50 +0000 (19:18 -0000)]
2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
* FileStream.cs: Lots of new tests for exception handling (negatives,
disposed) and test reading a byte ast the end of the stream.
svn path=/trunk/mcs/; revision=28496
Atsushi Eno [Sun, 30 May 2004 19:13:00 +0000 (19:13 -0000)]
2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
* DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
for ReadXml(). Thanks to Boris.
svn path=/trunk/mcs/; revision=28495
Marek Safar [Sun, 30 May 2004 19:08:00 +0000 (19:08 -0000)]
2004-05-30 Marek Safar <marek.safar@seznam.cz>
* cs1017.cs: New test.
svn path=/trunk/mcs/; revision=28494
Marek Safar [Sun, 30 May 2004 19:00:12 +0000 (19:00 -0000)]
2004-05-30 Marek Safar <marek.safar@seznam.cz>
Fixed bug #58624
* ecore.cs (SimpleName.SimpleNameResolve): Added test for
unsafe type.
svn path=/trunk/mcs/; revision=28493