Sebastien Pouliot [Wed, 27 Apr 2005 14:15:06 +0000 (14:15 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* ProtectedDataTest.cs: Updated to NUnit 2.2 API to use Ignore it the
platform doesn't support ProtectedData.
* ProtectedMemoryTest.cs: Updated to NUnit 2.2 API to use Ignore it
the platform doesn't support ProtectedData.
svn path=/trunk/mcs/; revision=43653
Sebastien Pouliot [Wed, 27 Apr 2005 12:46:25 +0000 (12:46 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyTest.cs: Updated NET_2_0 tests to check for v2.0.50215
(beta2).
svn path=/trunk/mcs/; revision=43651
Sureshkumar T [Wed, 27 Apr 2005 12:39:14 +0000 (12:39 -0000)]
2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
* System.Data/DataTableReader.cs: Implemented most of the TODO.
* Test/System.Data/DataTableReaderTest.cs: Added Tests for DataTableReader class.
* System.Data.Common/DbDataReader.cs: Added static method to construct the schema
table with default schema. Could be reused in many places.
* System.Data_test.dll.sources: Added DataTableReaderTest.cs
svn path=/trunk/mcs/; revision=43650
Sebastien Pouliot [Wed, 27 Apr 2005 12:25:21 +0000 (12:25 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Updated for 2.0 beta 2.
svn path=/trunk/mcs/; revision=43649
Lluis Sanchez [Wed, 27 Apr 2005 11:17:57 +0000 (11:17 -0000)]
2005-04-27 Lluis Sanchez Gual <lluis@ximian.com>
* RemotingServicesTest.cs: Fix warning.
* ContextsTest.cs: Removed unneeded exception catch.
Changed the order in which GetEnvoySink is called. I think
this is a safe chenge, since it is not defined where the
call to GetEnvoySink should be made.
svn path=/trunk/mcs/; revision=43648
Lluis Sanchez [Wed, 27 Apr 2005 10:09:32 +0000 (10:09 -0000)]
2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
* PointF.cs: Make serialization compatible with MS.
svn path=/trunk/mcs/; revision=43647
Ankit Jain [Wed, 27 Apr 2005 08:48:49 +0000 (08:48 -0000)]
* ILParser.jay (method_ref): Let owner.GetMethodRef handle the
creation of TypeSpecMethodRef.
svn path=/trunk/mcs/; revision=43645
Ankit Jain [Wed, 27 Apr 2005 08:48:14 +0000 (08:48 -0000)]
* ExternTypeRefInst.cs (ExternTypeRefInst.GetMethodRef): Use method_table to avoid
creating duplicates.
* PrimitiveTypeRef.cs (PrimitiveTypeRef.GetMethodRef): Use method_table to avoid
creating duplicates
* PeapiTypeRef.cs (Pair): New class. Tuple of PEAPI.Type and string.
(PeapiTypeRef.type_table): New.
(PeapiTypeRef.MakeArray, MakeBoundArray, MakeManagedPointer, MakeUnmanagedPointer,
MakeCustomModified): Use type_table to avoid creating duplicates.
svn path=/trunk/mcs/; revision=43644
Gonzalo Paniagua Javier [Wed, 27 Apr 2005 07:39:34 +0000 (07:39 -0000)]
Use CultureInfo.DefaultInvariant instead of just the Default
svn path=/trunk/mcs/; revision=43643
Marek Safar [Wed, 27 Apr 2005 06:54:02 +0000 (06:54 -0000)]
2005-04-27 Marek Safar <marek.safar@seznam.cz>
* test-294.cs: Add test based on #74378
svn path=/trunk/mcs/; revision=43641
Marek Safar [Wed, 27 Apr 2005 06:53:12 +0000 (06:53 -0000)]
2005-04-27 Marek Safar <marek.safar@seznam.cz>
Fix #74378
* class.cs (EmitFieldInitializers): Use FieldExpr in initializer.
* ecore.cs (FieldExpr): Add a new ctor with in_initializer.
(FieldExpr.DoResolve): Obsolete members are ignored for field
initializers.
svn path=/trunk/mcs/; revision=43640
Raja R Harinath [Wed, 27 Apr 2005 06:31:02 +0000 (06:31 -0000)]
* configure.in (AC_DISABLE_FAST_INSTALL): Set.
Try a somewhat different tack.
svn path=/trunk/mono/; revision=43639
Raja R Harinath [Wed, 27 Apr 2005 06:11:14 +0000 (06:11 -0000)]
* ILTokenizer.cs (GetNextToken): Handle 'tail.' and 'unaligned.' instructions.
svn path=/trunk/mcs/; revision=43638
Atsushi Eno [Wed, 27 Apr 2005 02:47:16 +0000 (02:47 -0000)]
2005-04-27 Atsushi Enomoto <atsushi@ximian.com>
* TextInfo.cs : Some performance fixes. Avoid delegate.
Compute parent culture only once. Quick ASCII range check.
svn path=/trunk/mcs/; revision=43637
Sebastien Pouliot [Tue, 26 Apr 2005 23:15:53 +0000 (23:15 -0000)]
Added unit tests for System.Security.Policy. ApplicationTrust class.
svn path=/trunk/mcs/; revision=43632
Sebastien Pouliot [Tue, 26 Apr 2005 23:14:02 +0000 (23:14 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* ApplicationTrustTest.cs: New. Unit tests for ApplicationTrust (2.0).
svn path=/trunk/mcs/; revision=43631
Sebastien Pouliot [Tue, 26 Apr 2005 23:07:41 +0000 (23:07 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* ApplicationTrust.cs: Completed TODO. Added missing set for
ApplicationIdentity property.
* ApplicationTrustCollection.cs: Completed TODO.
svn path=/trunk/mcs/; revision=43630
Miguel de Icaza [Tue, 26 Apr 2005 22:25:36 +0000 (22:25 -0000)]
Preload the path of Mono, that should fix the build
svn path=/trunk/mono/; revision=43629
Jordi Mas i Hernandez [Tue, 26 Apr 2005 18:59:48 +0000 (18:59 -0000)]
Check DataManager before setting it
svn path=/trunk/mcs/; revision=43618
Sebastien Pouliot [Tue, 26 Apr 2005 18:56:10 +0000 (18:56 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateEx.cs: Used new features from Mono.Security.dll to
load certificates and private keys from PKCS#12.
svn path=/trunk/mcs/; revision=43617
Sebastien Pouliot [Tue, 26 Apr 2005 18:54:47 +0000 (18:54 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* AlgorithmIdentifierTest.cs: Complete some test cases. Updated to
NUnit 2.2 API.
* SignedCmsTest.cs: Added [Ignore] to 3 tests that now also fails
on beta2.
svn path=/trunk/mcs/; revision=43616
Sebastien Pouliot [Tue, 26 Apr 2005 18:52:43 +0000 (18:52 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* AlgorithmIdentifier.cs: Removed FIXME - seems "by design".
* ContentInfo.cs: Applied fix for ArgumentNullException (was fixed in
beta2).
* Pkcs9ContentType.cs: Added new override for CopyFrom.
* Pkcs9DocumentDescription.cs: Added new override for CopyFrom.
Applied fix for ArgumentNullException (was fixed in beta2).
* Pkcs9DocumentName.cs: Added new override for CopyFrom.
Applied fix for ArgumentNullException (was fixed in beta2).
* Pkcs9MessageDigest.cs: Added new override for CopyFrom.
* Pkcs9SigningTime.cs: Added new override for CopyFrom.
svn path=/trunk/mcs/; revision=43615
Sebastien Pouliot [Tue, 26 Apr 2005 18:35:13 +0000 (18:35 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: DSA and RSA properties are now cached. In 2.0
they also have a set accessor.
* PKCS12.cs: Modified code to allow providing the password as a byte
array (the new constructor is available in 2.0).
svn path=/trunk/mcs/; revision=43613
Sebastien Pouliot [Tue, 26 Apr 2005 18:34:48 +0000 (18:34 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12Test.cs: Fix a test for 2.0 (where the constructor could be
ambiguous).
svn path=/trunk/mcs/; revision=43612
Sebastien Pouliot [Tue, 26 Apr 2005 18:24:00 +0000 (18:24 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* IBuiltInPermission.cs: Fixed index values for GacIdentityPermission
and KeyContainerPermission. Removed DataProtectionPermission.
* IsolatedStorageContainment.cs: Fixed ApplicationIsolationByUser
value to 0x15.
* UrlIdentityPermission.cs: Fixed differences between 1.x and 2.0.
svn path=/trunk/mcs/; revision=43611
Jordi Mas i Hernandez [Tue, 26 Apr 2005 18:10:08 +0000 (18:10 -0000)]
2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Databinding support fixes, fire missing events
* ListControl.cs: implement missing methods and properties, fixes
* ThemeWin32Classic.cs: Databiding support on Drawing
* CheckedListBox.cs: Databinding support fixes, fire missing events
* ListBox.cs: Databinding support fixes, fire missing events
svn path=/trunk/mcs/; revision=43610
Atsushi Eno [Tue, 26 Apr 2005 18:09:26 +0000 (18:09 -0000)]
2005-04-26 Atsushi Enomoto <atsushi@ximian.com>
*/Makefile :
Fixed file sharing violation when built under net_2_0* profile
on Windows.
svn path=/trunk/mcs/; revision=43609
Sebastien Pouliot [Tue, 26 Apr 2005 14:32:54 +0000 (14:32 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* KeyInfoX509DataTest.cs: Added new unit tests for NET_1_1 and updated
tests to work on NET_2_0.
svn path=/trunk/mcs/; revision=43597
Sebastien Pouliot [Tue, 26 Apr 2005 14:31:38 +0000 (14:31 -0000)]
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* KeyInfoX509Data.cs: Fixed to work biwht unit tests on both NET_1_1
and NET_2_0 (except for obvious beta2 bugs). ArraList are now only
created when required.
svn path=/trunk/mcs/; revision=43596
Dick Porter [Tue, 26 Apr 2005 13:47:44 +0000 (13:47 -0000)]
2005-04-26 Dick Porter <dick@ximian.com>
* handles.c: Fix stupid thinko where if a new shared handle is
created but a collection was needed to free some space, it
returned an error anyway. Should fix the messages shown in bug
74659.
svn path=/trunk/mono/; revision=43595
Dick Porter [Tue, 26 Apr 2005 13:34:25 +0000 (13:34 -0000)]
MONO_DISABLE_SHM env var not used any more
svn path=/trunk/mono/; revision=43593
Ankit Jain [Tue, 26 Apr 2005 13:13:23 +0000 (13:13 -0000)]
In ilasm/parser:
2005-04-26 Ankit Jain <ankit@corewars.org>
* ILParser.jay (comp_name): Allow n.a.'b' .
svn path=/trunk/mcs/; revision=43592
Ankit Jain [Tue, 26 Apr 2005 13:09:50 +0000 (13:09 -0000)]
In ilasm/scanner:
Parts of the patch from Harinath & Jackson.
svn path=/trunk/mcs/; revision=43591
Ankit Jain [Tue, 26 Apr 2005 12:56:25 +0000 (12:56 -0000)]
* ILTokenizer.cs (ILTokenizer.GetNextToken): Advance reader to look at
char after a '.' .
(ILTokenizer.BuildId): Never end an id on a DOT.
Patch by Harinath.
svn path=/trunk/mcs/; revision=43590
Raja R Harinath [Tue, 26 Apr 2005 12:49:08 +0000 (12:49 -0000)]
update
svn path=/trunk/mcs/; revision=43589
Satya Sudha K [Tue, 26 Apr 2005 11:15:56 +0000 (11:15 -0000)]
A minor correction (By Sudharsan V)
svn path=/trunk/mcs/; revision=43588
Raja R Harinath [Tue, 26 Apr 2005 11:12:51 +0000 (11:12 -0000)]
* rerrors_btest.dll.sources: Remove LateBinding10.vb and
LateBinding11.vb so that it compiles.
svn path=/trunk/mcs/; revision=43587
Ritvik Mayank [Tue, 26 Apr 2005 10:18:33 +0000 (10:18 -0000)]
2005-04-26 Ritvik Mayank <mritvik@novell.com>
* System.Windows.Forms_test.dll.sources : Added LabelPropertyTest.cs for Label Test
svn path=/trunk/mcs/; revision=43586
Lluis Sanchez [Tue, 26 Apr 2005 09:20:55 +0000 (09:20 -0000)]
2005-04-26 Lluis Sanchez Gual <lluis@novell.com>
* XmlSerializerTests.cs:
* DeserializeTests.cs:
* XmlSerializerTestClasses.cs: Added tests for readonly properties and
elements with spaces on them.
svn path=/trunk/mcs/; revision=43585
Lluis Sanchez [Tue, 26 Apr 2005 09:20:34 +0000 (09:20 -0000)]
2005-04-26 Lluis Sanchez Gual <lluis@novell.com>
* XmlReflectionImporter.cs, SoapReflectionImporter.cs: ignore array
properties which are read only. Fixes bug #74723.
svn path=/trunk/mcs/; revision=43584
Marek Safar [Tue, 26 Apr 2005 07:33:40 +0000 (07:33 -0000)]
2005-04-26 Marek Safar <marek.safar@seznam.cz>
* cls-test-6.cs: Put in a new test.
svn path=/trunk/mcs/; revision=43582
Gonzalo Paniagua Javier [Tue, 26 Apr 2005 07:24:42 +0000 (07:24 -0000)]
2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: when the day is active, modify the text of the literal
control that holds the number, not the text of the TableCell. Also call
OnDayRender before updating that text. Fixes bug #74718.
svn path=/trunk/mcs/; revision=43581
Marek Safar [Tue, 26 Apr 2005 07:10:37 +0000 (07:10 -0000)]
new tests + update
svn path=/trunk/mcs/; revision=43580
Marek Safar [Tue, 26 Apr 2005 06:58:26 +0000 (06:58 -0000)]
2005-04-26 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (AreOverloadedMethodParamsClsCompliant): Add array
of arrays detection.
* class.cs (Interface.VerifyClsCompliance): Add base interfaces
verification.
(Field.VerifyClsCompliance): Volatile fields are not compliant.
* decl.cs (MemberCache.VerifyClsParameterConflict): Add array of
arrays report.
svn path=/trunk/mcs/; revision=43579
Satya Sudha K [Tue, 26 Apr 2005 06:36:57 +0000 (06:36 -0000)]
Testcases for Late Binding and typemembers
svn path=/trunk/mcs/; revision=43578
Satya Sudha K [Tue, 26 Apr 2005 05:48:01 +0000 (05:48 -0000)]
Added Makefiles to each sub-directories
svn path=/trunk/mcs/; revision=43577
Gonzalo Paniagua Javier [Tue, 26 Apr 2005 04:21:23 +0000 (04:21 -0000)]
missed the case when the expr. don't ends with whitespace
svn path=/trunk/mcs/; revision=43576
Gonzalo Paniagua Javier [Tue, 26 Apr 2005 04:15:53 +0000 (04:15 -0000)]
2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Tokenizer.cs: make it not rely in exceptions being thrown to know that
the array is entirely processed.
svn path=/trunk/mcs/; revision=43575
Manjula GHM [Tue, 26 Apr 2005 03:53:45 +0000 (03:53 -0000)]
"out" is not supported as Parameter Modifier in VB.NET
svn path=/trunk/mcs/; revision=43574
Manjula GHM [Tue, 26 Apr 2005 03:42:32 +0000 (03:42 -0000)]
"out" is not supported as Parameter Modifier in VB.NET
svn path=/trunk/mcs/; revision=43573
Gonzalo Paniagua Javier [Tue, 26 Apr 2005 02:24:01 +0000 (02:24 -0000)]
2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultValueAttribute.cs: fixed the .ctor that takes a type and a
string. Previous implementation caused *lots* of exceptions being thrown
when processing WebControl types.
svn path=/trunk/mcs/; revision=43571
Ben Maurer [Tue, 26 Apr 2005 01:34:49 +0000 (01:34 -0000)]
2005-04-25 Ben Maurer <bmaurer@ximian.com>
* cs-parser.jay: Use the prefered version of -unsafe in error
message.
svn path=/trunk/mcs/; revision=43570
Sebastien Pouliot [Tue, 26 Apr 2005 01:11:57 +0000 (01:11 -0000)]
Remove unrequired/duplicate files from build (wrt beta2)
svn path=/trunk/mcs/; revision=43569
Gonzalo Paniagua Javier [Tue, 26 Apr 2005 00:07:06 +0000 (00:07 -0000)]
2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs:
* SimpleWebHandlerParser.cs: removed values assigned and neved used.
svn path=/trunk/mcs/; revision=43568
Gonzalo Paniagua Javier [Tue, 26 Apr 2005 00:05:03 +0000 (00:05 -0000)]
2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.Configuration/CompilerCollection.cs: added CompareLanguages
method.
* System.Web.Compilation/AspGenerator.cs: when checking languages, try
to match other aliases too (ie, 'cs' == 'c#').
svn path=/trunk/mcs/; revision=43567
Peter Dennis Bartok [Mon, 25 Apr 2005 22:37:58 +0000 (22:37 -0000)]
2005-04-25 Peter Bartok <pbartok@novell.com>
* LinkLabel.cs: Length of LinkArea is not allowed to be negative
svn path=/trunk/mcs/; revision=43566
Zoltan Varga [Mon, 25 Apr 2005 20:54:27 +0000 (20:54 -0000)]
2005-04-25 Zoltan Varga <vargaz@freemail.hu>
* class.c (mono_class_is_assignable_from): Call is_assignable_to for
dynamic types to prevent infinite loops. Fixes #74727.
* reflection.c (mono_reflection_call_is_assignable_from): Rename to
..._is_assignable_to.
svn path=/trunk/mono/; revision=43564
Dick Porter [Mon, 25 Apr 2005 20:43:08 +0000 (20:43 -0000)]
2005-04-25 Dick Porter <dick@ximian.com>
* handles.c (_wapi_handle_check_share): Only consider mono
processes when looking to see if a file is still being held open,
while checking share permissions.
svn path=/trunk/mono/; revision=43563
Jackson Harper [Mon, 25 Apr 2005 20:42:07 +0000 (20:42 -0000)]
* TreeView.cs: Use the horizontal scrollbars height not width when
determining how much of the client area is available.
svn path=/trunk/mcs/; revision=43562
Gonzalo Paniagua Javier [Mon, 25 Apr 2005 20:16:18 +0000 (20:16 -0000)]
2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* mkbundle.cs: GetReferencedAssemblies () will not report CodeBase, so
load the assembly and get it from there. Fixes bug #74695.
svn path=/trunk/mcs/; revision=43561
Miguel de Icaza [Mon, 25 Apr 2005 19:52:34 +0000 (19:52 -0000)]
Make it build
svn path=/trunk/mcs/; revision=43559
Zoltan Varga [Mon, 25 Apr 2005 19:27:27 +0000 (19:27 -0000)]
2005-04-25 Zoltan Varga <vargaz@freemail.hu>
* iltests.il: Add test for #74726.
* mini-amd64.c: Fix saving of registers in mul.ovf.un. Fixes #74726.
svn path=/trunk/mono/; revision=43558
Jackson Harper [Mon, 25 Apr 2005 18:33:05 +0000 (18:33 -0000)]
* Control.cs: Double buffering is handled differently now. As per
the spec, the extra buffer is created in the WM_PAINT message and
passed down to the control's drawing code.
* GroupBox.cs:
* Label.cs:
* CheckBox.cs:
* ProgressBar.cs:
* RadioButton.cs:
* ColorDialog.cs:
* ComboBox.cs:
* PropertyGridView.cs:
* UpDownBase.cs:
* MessageBox.cs:
* MenuAPI.cs:
* ListView.cs:
* ButtonBase.cs:
* SizeGrip.cs:
* ScrollBar.cs:
* ListBox.cs:
* TrackBar.cs:
* ToolBar.cs:
* PictureBox.cs:
* DateTimePicker.cs:
* StatusBar.cs:
* TreeView.cs: Update to new double buffering system.
* MonthCalendar.cs: Uncomment block, as Capture is now
working. Update to new double buffering
* LinkLabel.cs: Lazy init the link collection. Update to new double buffering
* PaintEventArgs.cs: New internal method allows us to set the
graphics object. This is used for double buffering.
* ThemeWin32Classic.cs: Give the picture box drawing code a clip
rectangle. The internal paint_area var has been removed from
StatusBar. The clipping rect should be used instead.
* Theme.cs: Give the PictureBox drawing method a clipping rect.
* TabPage.cs: The RefreshTabs method was removed, so just call the
tab controls Refresh method now.
* TabControl.cs: Update to new double buffering. Make sure the
handle is created before sizing the tab pages, otherwise we will
get stuck in a loop.
svn path=/trunk/mcs/; revision=43557
Jackson Harper [Mon, 25 Apr 2005 18:18:25 +0000 (18:18 -0000)]
* System.Windows.Forms.dll.sources: Add CursorConvert.cs to the
build
svn path=/trunk/mcs/; revision=43556
Sebastien Pouliot [Mon, 25 Apr 2005 17:26:14 +0000 (17:26 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfigTest.cs: Check that ArgumentNullException is throw in
EncodeOID for 2.0. Comment test for RSA OID (2.0).
* DESTest.cs: Check that null keys throws CryptographicException in
IsWeakKey and IsSemiWeakKey for 2.0.
* TripleDESTest.cs: Check that null keys throws CryptographicException
in IsWeakKey for 2.0.
* SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
a CryptographicException in 2.0.
svn path=/trunk/mcs/; revision=43555
Sebastien Pouliot [Mon, 25 Apr 2005 17:22:53 +0000 (17:22 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Removed RSA OID and added null check in EncodeOID
in NET_2_0 to match beta2.
* DES.cs: Added null check for IsWeakKey and IsSemiWeakKey in NET_2_0
to match beta2.
* SymmetricAlgorithm.cs: Throw CryptographicException when feedback is
zero in NET_2_0 to match beta2
* TripleDES.cs: Added null check for IsWeakKey in NET_2_0 to match
beta2.
svn path=/trunk/mcs/; revision=43554
Sebastien Pouliot [Mon, 25 Apr 2005 17:08:17 +0000 (17:08 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* HostSecurityManagerTest.cs: Renamed HostSecurityManagerFlags to
HostSecurityManagerOptions to match beta2.
* PermissionSetCollectionTest.cs: Removed "set" tests for the
PermissionSets property (removed in beta2).
svn path=/trunk/mcs/; revision=43553
Sebastien Pouliot [Mon, 25 Apr 2005 16:52:17 +0000 (16:52 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* FileCodeGroupTest.cs: Revoved tests for Scope property (2.0).
* GacMembershipConditionTest.cs: Renamed Gac to GacInstalled (new name
* GacTest.cs: Renamed Gac to GacInstalled (new name in beta2).
in beta2).
* IBuiltInEvidenceTest.cs: Renamed Gac to GacInstalled (new name in
beta2).
* SiteTest.cs: Removed [Catogery("NotWorking")] from some 2.0 tests.
* UrlTest.cs: Removed [Catogery("NotWorking")] from some 2.0 tests.
* UrlMembershipConditionTest.cs: Removed [Catogery("NotWorking")] from
some 2.0 tests.
svn path=/trunk/mcs/; revision=43552
Sebastien Pouliot [Mon, 25 Apr 2005 16:41:57 +0000 (16:41 -0000)]
Update HostSecurityManager and HostSecurityManagerOptions for beta2
svn path=/trunk/mcs/; revision=43551
Sebastien Pouliot [Mon, 25 Apr 2005 16:25:03 +0000 (16:25 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* AllMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
* ApplicationDirectory.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2. Removed FIXME - confirmed as "by design" by MS.
* ApplicationDirectoryMembershipCondition.cs: Added [ComVisible (true)]
in NET_2_0 to match beta2.
* ApplicationSecurityInfo.cs: Updated to match beta2.
* ApplicationSecurityManager.cs: Updated to match beta2.
* ApplicationTrust.cs: Updated to match beta2.
* ApplicationTrustCollection.cs: Updated to match beta2.
* ApplicationTrustEnumerator.cs: Added [ComVisible (true)] to match
beta2.
* ApplicationVersionMatch.cs: Added [ComVisible (true)] to match beta2.
* CodeConnectAccess.cs: Added [ComVisible (true)] to match beta2.
* CodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
Reworked Equals to avoid multiple typecast.
* Evidence.cs: Updated to match beta2. Now use internal method
Assembly.UnprotectedGetName during security manager initialization.
* FileCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
beta2. Removed Scope property (didn't survive beta2).
* FirstMatchCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
* Gac.cs: Renamed class to GacInstalled. Added [ComVisible (true)] to
match beta2.
* GacMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
* Hash.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
* HashMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2. Reworked Equals to avoid multiple typecast.
* IApplicationTrustManager.cs: Added [ComVisible (true)] to match
beta2.
* IIdentityPermissionFactory.cs: Added [ComVisible (true)] in NET_2_0
to match beta2.
* IMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
* NetCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
beta2. Removed Scope property (didn't survive beta2).
* PermissionRequestEvidence.cs: Added [ComVisible (true)] in NET_2_0
to match beta2.
* PolicyException.cs: Added [ComVisible (true)] in NET_2_0 to match
beta2.
* PolicyLevel.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
* PolicyStatementAttribute.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
* PolicyStatement.cs: Added [ComVisible (true)] in NET_2_0 to match
beta2.
* ProvideAssemblyEvidenceEventArgs.cs: Added [ComVisible (true)] to
match beta2.
* Publisher.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
Reworked Equals to avoid multiple typecast.
* PublisherMembershipCondition.cs: Added [ComVisible (true)] in
NET_2_0 to match beta2. Reworked Equals to avoid multiple typecast.
* Site.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
allowed characters accepted in site names (different in 2.0 from 1.x).
* SiteMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
* StrongName.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
* StrongNameMembershipCondition.cs: Added [ComVisible (true)] in
NET_2_0 to match beta2.
* TrustManagerContext.cs: Updated to match beta2.
* TrustManagerUIContext.cs: Added [ComVisible (true)] to match beta2.
* UnionCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
beta2.
* Url.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
the difference in Url matching between 1.x and 2.0. Reworked Equals to
avoid multiple typecast.
* UrlMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2. Fixed the difference in Url matching between 1.x and 2.0.
* Zone.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
Reworked Equals to avoid multiple typecast.
* ZoneMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
match beta2.
svn path=/trunk/mcs/; revision=43550
Sebastien Pouliot [Mon, 25 Apr 2005 16:24:47 +0000 (16:24 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* ActivationContext.cs: Updated for beta2.
* AppDomainManager.cs: Updated for beta2.
* ApplicationId.cs: Updated for beta2.
* ApplicationIdentity.cs: Updated for beta2.
* Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
doesn't leak the code base from the returned AssemblyName.
svn path=/trunk/mcs/; revision=43549
Dick Porter [Mon, 25 Apr 2005 15:29:19 +0000 (15:29 -0000)]
2005-04-25 Dick Porter <dick@ximian.com>
* sockets.c:
* io.c:
* wapi-private.h (struct _WapiHandleOps):
* handles.c (_wapi_handle_unref): When destroying handles, save
the handle data and call the close function only after the array
slot has been cleared. This prevents race conditions with file
descriptors, fixing bug 74713.
* mutexes.c: Delete the handle close functions, they didn't do
anything anyway
* error.c (_wapi_get_win32_file_error): Add a mapping for EINTR so
the "Unknown error" g_warning doesn't get displayed.
svn path=/trunk/mono/; revision=43548
Ben Maurer [Mon, 25 Apr 2005 14:50:48 +0000 (14:50 -0000)]
2005-04-25 Ben Maurer <bmaurer@ximian.com>
* configure.in: Version bumpage
svn path=/trunk/mono/; revision=43547
Raja R Harinath [Mon, 25 Apr 2005 13:43:06 +0000 (13:43 -0000)]
Fix #74692.
* configure.in ($mcsdir/build/config.make): Point RUNTIME and
ILDISASM to the in-tree versions of mono and monodis. Propagate
value of INSTALL to mcs too.
* runtime/Makefile.am: Avoid passing RUNTIME and ILDISASM to each
sub-make, now that 'configure' sets up the 'mcs' tree.
svn path=/trunk/mono/; revision=43546
Raja R Harinath [Mon, 25 Apr 2005 13:42:51 +0000 (13:42 -0000)]
* Makefile (centum_tests): Add Mono.Security and
System.Runtime.Remoting.
* */Makefile: Replace $(RUNTIME) with $(RUNTIME) $(RUNTIME_FLAGS).
* build/config-default.make (RUNTIME): Set to 'false'.
Reported by Ben Maurer.
* build/profiles/basic.make (MCS): Revert changes below.
* build/platforms/linux.make (ILDISASM): Define.
* build/platforms/win32.make (ILDIsASM): Likewise.
* class/Microsoft.VisualBasic/fixup/Makefile (ILDISASM): Remove.
($(the_il)): Create temporary files in profile directory.
svn path=/trunk/mcs/; revision=43545
Sebastien Pouliot [Mon, 25 Apr 2005 13:06:17 +0000 (13:06 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* INormalizeForIsolatedStorage.cs: Added [ComVisible(true)] for 2.0.
* IsolatedStorage.cs: Added [ComVisible(true)] for 2.0 except for new
property ApplicationIdentity.
* IsolatedStorageException.cs: Added [ComVisible(true)] for 2.0.
* IsolatedStorageFile.cs: Now calls UnprotectedGetEvidence to get the
assembly evidences. Added [ComVisible(true)] for 2.0.
* IsolatedStorageFileStream.cs: Added [ComVisible(true)] for 2.0.
* IsolatedStorageScope.cs: Added [ComVisible(true)] for 2.0.
svn path=/trunk/mcs/; revision=43544
Sebastien Pouliot [Mon, 25 Apr 2005 13:05:56 +0000 (13:05 -0000)]
* Assembly.cs: Added some CAS security to avoid returning restricted
information to partially truster callers (e.g. code base). Added new
methods to get the Evidence and AssemblyName so that the security
runtime can bootstrap itself (without calling itself).
2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
svn path=/trunk/mcs/; revision=43543
Sebastien Pouliot [Mon, 25 Apr 2005 12:48:48 +0000 (12:48 -0000)]
security.c: Fixed #74698 where sysconf returned -1 on FreeBSD.
svn path=/trunk/mono/; revision=43542
Raja R Harinath [Mon, 25 Apr 2005 12:43:56 +0000 (12:43 -0000)]
* gmcs.exe.config: Update v2.0.40607 -> v2.0.50215.
svn path=/trunk/mcs/; revision=43541
Sebastien Pouliot [Mon, 25 Apr 2005 11:55:08 +0000 (11:55 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* System.Security.dll.sources: Added IRelDecryptor interface and
XmlLicenseTransform class to System.Security.Cryptography.Xml (2.0).
svn path=/trunk/mcs/; revision=43540
Sebastien Pouliot [Mon, 25 Apr 2005 11:52:50 +0000 (11:52 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* EncryptedData.cs: Avoid re-creating collection object on load.
* EncryptedKey.cs: Fix compiler warning (unused variables).
* EncryptedType.cs: Remove set on EncryptionProperties property.
* IRelDecryptor.cs: New. Interface for XrML support.
* SymmetricKeyWrap.cs: Comment unused static method Xor(byte[],int).
* XmlDecryptionTransform.cs: Fix compiler warning (unused variable).
* XmlDsigEnvelopedSignatureTransform.cs: Fix compiler warning.
* XmlLicenseTransform.cs: New. Class for XrML support.
svn path=/trunk/mcs/; revision=43539
Sebastien Pouliot [Mon, 25 Apr 2005 11:48:14 +0000 (11:48 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* SignedCms.cs: Fix compiler warning (unused variable).
svn path=/trunk/mcs/; revision=43538
Sebastien Pouliot [Mon, 25 Apr 2005 11:47:13 +0000 (11:47 -0000)]
2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
* AsnEncodedData.cs: Fix compiler warning (unused variable).
svn path=/trunk/mcs/; revision=43537
Dick Porter [Mon, 25 Apr 2005 11:27:02 +0000 (11:27 -0000)]
2005-04-25 Dick Porter <dick@ximian.com>
* wapi-private.h:
* threads.c: Make thread handles process-private for now to take
some of the space pressure off the shared memory, while I work on
a real fix.
svn path=/trunk/mono/; revision=43536
Raja R Harinath [Mon, 25 Apr 2005 08:41:54 +0000 (08:41 -0000)]
* Makefile.am (RUNTIME): Add MONO_CFG_DIR.
svn path=/trunk/mono/; revision=43535
Martin Baulig [Mon, 25 Apr 2005 05:37:20 +0000 (05:37 -0000)]
2005-04-25 Martin Baulig <martin@ximian.com>
* Environment.cs (Environment.Version): Changed to 2.0.50215.
svn path=/trunk/mcs/; revision=43530
Martin Baulig [Mon, 25 Apr 2005 05:35:34 +0000 (05:35 -0000)]
2005-04-25 Martin Baulig <martin@ximian.com>
Upgrade to the latest .NET 2.x beta (Visual Studio 2005 Beta 2).
* domain.c
(supported_runtimes): Change "v2.0.40607" -> "v2.0.50215".
* row-indexes.h (MONO_GENERICPARAM_KIND): Removed.
* reflection.c (build_compressed_metadata): Set metadata header
version to 2.0.
svn path=/trunk/mono/; revision=43529
Ritvik Mayank [Mon, 25 Apr 2005 03:48:06 +0000 (03:48 -0000)]
2005-04-25 Ritvik Mayank <mritvik@novell.com>
* LabelPropertyTest.cs : Test for Label
2004-11-29 Marek Safar <marek.safar@seznam.cz>
* TreeViewTest.cs : Test for TreeView
* TreeNodeTest.cs : Test for TreeNode
2004-11-29 Ravindra <rkumar@novell.com>
* ImageIndexConverter.cs : Test for ImageIndexConversion.
svn path=/trunk/mcs/; revision=43526
Atsushi Eno [Mon, 25 Apr 2005 02:42:10 +0000 (02:42 -0000)]
2005-04-25 Atsushi Enomotot <atsushi@ximian.com>
* CP932.cs : Half-width katakana was not handled properly.
* CP51932.cs : ditto. Patch by Hiroyuki Ishimine.
svn path=/trunk/mcs/; revision=43524
Peter Dennis Bartok [Mon, 25 Apr 2005 02:29:31 +0000 (02:29 -0000)]
2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
* LinkLabel.cs: Fix typo, bug #74719; patch
from Borja Sanchez Zamorano
svn path=/trunk/mcs/; revision=43521
Sebastien Pouliot [Sun, 24 Apr 2005 19:07:00 +0000 (19:07 -0000)]
2005-04-24 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Add [ComVisible (true)] to class, add new Issuer
and Subject properties. Removed some [ComVisible (false)] on methods.
* X509ContentType.cs: Add [ComVisible (true)] to enum.
* X509KeyStorageFlags.cs: Add [ComVisible (true)] to enum.
svn path=/trunk/mcs/; revision=43517
Jordi Mas i Hernandez [Sun, 24 Apr 2005 17:12:23 +0000 (17:12 -0000)]
2005-04-24 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
* Cairo.cs Adds InStroke/InFill (patch from Pedro Kiefer)
svn path=/trunk/mcs/; revision=43515
Sebastien Pouliot [Sun, 24 Apr 2005 16:16:23 +0000 (16:16 -0000)]
2005-04-24 Sebastien Pouliot <sebastien@ximian.com>
* SignedInfo.cs: Added [ComVisible (false)] to new property.
* SignedXml.cs: Added [ComVisible (false)] to new properties and
methods.
* ReferenceList.cs: Fixed members signatures for beta2.
* Reference.cs: Added [ComVisible (false)] to new set_TransformChain.
* EncryptedType.cs: Fix compilation with EncryptionPropertyCollection
changes.
* DataObject.cs: Fix compilation warnings.
* EncryptedKey.cs: Fix compilation with ReferenceList and
EncryptionPropertyCollection changes.
* EncryptionProperties.cs: Class has been renamed to
EncryptionPropertyCollection.
* Transform.cs: Added [ComVisible (false)] to new properties and
methods.
* EncryptedXml.cs: Changed XmlEncRSA1_5Url to XmlEncRSA15Url.
* KeyInfoRetrievalMethod.cs: Added [ComVisible (false)] to Type
property.
* KeyInfoX509Data.cs: Added [ComVisible (false)] to AddSubjectKeyId
(string) method and implemented it.
* EncryptedData.cs: Changed EncryptionProperties to new
EncryptionPropertyCollection.
* XmlDsigC14NTransform.cs: Added [ComVisible (false)] to
GetDigestedOutput method and added a basic implementation.
* X509IssuerSerial.cs: IssuerName and SerialNumber are now properties.
svn path=/trunk/mcs/; revision=43514
Sebastien Pouliot [Sun, 24 Apr 2005 15:42:31 +0000 (15:42 -0000)]
2005-04-24 Sebastien Pouliot <sebastien@ximian.com>
* SubjectIdentifierType.cs: Removed (really) obsolete enum value and
[Serializable] attribute.
svn path=/trunk/mcs/; revision=43513
Sebastien Pouliot [Sun, 24 Apr 2005 14:57:52 +0000 (14:57 -0000)]
2005-04-24 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateEx.cs: Added new constructors and Import methods that
accept SecureString for passwords. Added new property HasPrivateKey and
Verify method.
* X509CertificateExCollection.cs: Added new constructor that accept a
single X509Certificate2.
* X509EnhancedKeyUsageExtension.cs: Fixed compiler warnings.
* X509KeyUsageExtension.cs: Fixed new enum name for CrlSign.
* X509KeyUsageFlags.cs: Fixed values and removed [Serializable].
* X509NameType.cs: Fixed values and removed [Serializable].
* X509Store.cs: Added new constructor that accept an IntPtr and the
StoreHandle property. Fixed compiler warnings.
svn path=/trunk/mcs/; revision=43512
Zoltan Varga [Sat, 23 Apr 2005 20:46:53 +0000 (20:46 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* objects.cs: Add missing null casting test.
svn path=/trunk/mono/; revision=43509
Jackson Harper [Sat, 23 Apr 2005 19:43:04 +0000 (19:43 -0000)]
* TreeNode.cs: Implement Handle stuff.
* TreeView.cs: Utility methods so nodes can get/lookup by handle.
svn path=/trunk/mcs/; revision=43508
Ben Maurer [Sat, 23 Apr 2005 18:58:08 +0000 (18:58 -0000)]
2005-04-23 Ben Maurer <bmaurer@ximian.com>
* profiles/basic.make: Ensure that make dist works even if you
only have an old mono rpm installed. Essential for the new build
system.
svn path=/trunk/mcs/; revision=43502
Atsushi Eno [Sat, 23 Apr 2005 18:38:25 +0000 (18:38 -0000)]
2005-04-23 Atsushi Enomoto <atsushi@ximian.com>
* CP51932.cs : Fixed GetCharCount() that did not match with GetChars().
svn path=/trunk/mcs/; revision=43501
Zoltan Varga [Sat, 23 Apr 2005 18:31:23 +0000 (18:31 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* MathTest.cs: Add new rounding test.
svn path=/trunk/mcs/; revision=43499