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
Zoltan Varga [Sat, 23 Apr 2005 18:28:08 +0000 (18:28 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* sysmath.c (ves_icall_System_Math_Round2): Use modf to decompose the
number into an integral and a decimal part. Fixes #70473.
svn path=/trunk/mono/; revision=43498
Atsushi Eno [Sat, 23 Apr 2005 17:51:48 +0000 (17:51 -0000)]
2005-04-23 Atsushi Enomoto <atsushi@ximian.com>
* Strings.cs : We don't seem to have I18N.resources (maybe missed when
importing), so just hacked to avoid resource errors.
svn path=/trunk/mcs/; revision=43496
Zoltan Varga [Sat, 23 Apr 2005 17:06:27 +0000 (17:06 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* MarshalTest.cs: Add test for OffsetOf and static fields.
svn path=/trunk/mcs/; revision=43493
Zoltan Varga [Sat, 23 Apr 2005 17:05:27 +0000 (17:05 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_OffsetOf): Ignore static fields. Fixes #74703.
svn path=/trunk/mono/; revision=43492
Zoltan Varga [Sat, 23 Apr 2005 16:39:51 +0000 (16:39 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* doc: Remove unused directory.
svn path=/trunk/mono/; revision=43489
Zoltan Varga [Sat, 23 Apr 2005 16:39:02 +0000 (16:39 -0000)]
2005-04-23 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Remove --with-icu option to prevent people from using
it by mistake.
svn path=/trunk/mono/; revision=43488
Sebastien Pouliot [Sat, 23 Apr 2005 14:23:41 +0000 (14:23 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* EncryptedXml.cs, SignedXml.cs: Changed X509CertificateEx to
X509Certificate2 to match beta2.
svn path=/trunk/mcs/; revision=43484
Sebastien Pouliot [Sat, 23 Apr 2005 14:22:03 +0000 (14:22 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* CmsRecipientTest.cs, CmsSignerTest.cs, EnvelopedCmsTest.cs,
Pkcs9AttributeTest.cs, Pkcs9DocumentDescriptionTest.cs,
Pkcs9DocumentNameTest.cs, Pkcs9SigningTimeTest.cs, SignedCmsTest.cs:
Adapted for class name changes in beta2 and re-activated some tests on
Windows that were fixed in beta2.
svn path=/trunk/mcs/; revision=43483
Sebastien Pouliot [Sat, 23 Apr 2005 14:19:12 +0000 (14:19 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* CmsRecipient.cs, CmsRecipientCollection.cs, CmsSigner.cs,
EnvelopedCms.cs, KeyAgreeRecipientInfo.cs, Pkcs9Attribute.cs,
Pkcs9ContentType.cs, Pkcs9DocumentDescription.cs, Pkcs9DocumentName.cs,
Pkcs9MessageDigest.cs, Pkcs9SigningTime.cs, SignedCms.cs,
SignerInfo.cs: Adapted for changes in class names in beta2.
svn path=/trunk/mcs/; revision=43482
Sebastien Pouliot [Sat, 23 Apr 2005 14:15:49 +0000 (14:15 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* X509BasicConstraintsExtensionTest.cs, X509ChainPolicyTest.cs,
X509EnhancedKeyUsageExtensionTest.cs, X509ExtensionTest.cs,
X509KeyUsageExtensionTest.cs, X509StoreTest.cs,
X509SubjectKeyIdentifierExtensionTest.cs: Changed X509CertificateEx to
X509Certificate2 and re-activated some tests on Windows that were
fixed in beta2.
svn path=/trunk/mcs/; revision=43481
Sebastien Pouliot [Sat, 23 Apr 2005 14:09:12 +0000 (14:09 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateEx.cs, X509CertificateExCollection.cs,
X509CertificateExEnumerator.cs, X509Chain.cs, X509ChainElement.cs,
X509ChainPolicy.cs, X509Store.cs: Changed all references of
X509CertificateEx to X509Certificate2 to match beta2.
svn path=/trunk/mcs/; revision=43480
Sebastien Pouliot [Sat, 23 Apr 2005 14:06:56 +0000 (14:06 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* CryptographicAttributeTest.cs: Changed class names to match beta2.
svn path=/trunk/mcs/; revision=43479
Sebastien Pouliot [Sat, 23 Apr 2005 14:05:49 +0000 (14:05 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* CryptographicAttribute.cs: Renamed class to CryptographicAttribute
Object to match beta2.
* CryptographicAttributeCollection.cs: Renamed class to Cryptographic
AttributeObjectCollection to match beta2.
* CryptographicAttributeEnumerator.cs: Renamed class to Cryptographic
AttributeObjectEnumerator to match beta2.
svn path=/trunk/mcs/; revision=43478
Sebastien Pouliot [Sat, 23 Apr 2005 13:09:01 +0000 (13:09 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* System.Security.dll.sources: Added StorePermission and
StorePermissionAttribute to System.Security.Permissions (2.0).
svn path=/trunk/mcs/; revision=43477
Sebastien Pouliot [Sat, 23 Apr 2005 13:07:31 +0000 (13:07 -0000)]
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* StorePermission.cs: New. CAS permission to access certificate stores.
* StorePermissionAttribute.cs: New. CAS permission attribute for
StorePermission.
svn path=/trunk/mcs/; revision=43476
Gonzalo Paniagua Javier [Sat, 23 Apr 2005 11:15:17 +0000 (11:15 -0000)]
2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpBrowserCapabilities.cs: fix Win32 property.
svn path=/trunk/mcs/; revision=43475
Ankit Jain [Sat, 23 Apr 2005 09:54:16 +0000 (09:54 -0000)]
* get.c : Revert Atsushi's earlier patch. Its already been fixed with r43342.
svn path=/trunk/mono/; revision=43474
Atsushi Eno [Sat, 23 Apr 2005 09:51:09 +0000 (09:51 -0000)]
2005-04-23 Atsushi Enomoto <atsushi@ximian.com>
* ko_KR.xml : fixed time format.
Fixed bug #74701. Patch by Hye-Shik Chang.
* culture-info-table.h : reflected the latest locale-builder output.
svn path=/trunk/mono/; revision=43473
Atsushi Eno [Sat, 23 Apr 2005 09:30:57 +0000 (09:30 -0000)]
2005-04-23 Atsushi Enomoto <atsushi@ximian.com>
* fixup/Makefile :
monodis might not be in PATH. Use one from mono tree.
svn path=/trunk/mcs/; revision=43472
Gonzalo Paniagua Javier [Sat, 23 Apr 2005 07:41:15 +0000 (07:41 -0000)]
2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: check for SuspendRequested too when deciding if
mono_thread_interruption_checkpoint should be called.
svn path=/trunk/mono/; revision=43471
Gonzalo Paniagua Javier [Sat, 23 Apr 2005 07:24:33 +0000 (07:24 -0000)]
2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* appdomain.[ch]: added function to set the shutting_down flag to TRUE.
* threads.c: remove interruption_mutex and use Interlocked instead. When
suspending all the threads, wait for all the suspended events at once.
If we're shutting down and get an APC that is going to be queued,
call mono_thread_execute_interruption immediately, as the thread might
be sleeping on a pthread condition or mutex.
* icall.c: call mono_runtime_set_shutting_down before suspending the
threads.
Fixes bug #74693. And now xsp is happier when exiting.
svn path=/trunk/mono/; revision=43470
Sebastien Pouliot [Sat, 23 Apr 2005 03:12:49 +0000 (03:12 -0000)]
2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
* GenericIdentity.cs: Added [ComVisible(true)] for NET_2_0.
* GenericPrincipal.cs: Added [ComVisible(true)] for NET_2_0.
* IIdentity.cs: Added [ComVisible(true)] for NET_2_0.
* IPrincipal.cs: Added [ComVisible(true)] for NET_2_0.
* PrincipalPolicy.cs: Added [ComVisible(true)] for NET_2_0.
* TokenImpersonationLevel.cs: Added [ComVisible(true)] for NET_2_0.
* WindowsAccountType.cs: Added [ComVisible(true)] for NET_2_0.
* WindowsBuiltInRole.cs: Added [ComVisible(true)] for NET_2_0.
svn path=/trunk/mcs/; revision=43469
Sebastien Pouliot [Sat, 23 Apr 2005 02:53:43 +0000 (02:53 -0000)]
* Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the number of missing in the class status pages.
svn path=/trunk/mcs/; revision=43468
Sebastien Pouliot [Sat, 23 Apr 2005 02:51:06 +0000 (02:51 -0000)]
Add _Attribute interface (2.0) to the build
svn path=/trunk/mcs/; revision=43467
Sebastien Pouliot [Sat, 23 Apr 2005 02:48:33 +0000 (02:48 -0000)]
2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
* _Attribute.cs: New. Interface for attributes in 2.0.
svn path=/trunk/mcs/; revision=43466
Sebastien Pouliot [Sat, 23 Apr 2005 02:26:14 +0000 (02:26 -0000)]
2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
* AccessControlActions.cs: Removed [ComVisible] and [Serializable] to
match beta2.
svn path=/trunk/mcs/; revision=43465
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 20:57:32 +0000 (20:57 -0000)]
fixlet
svn path=/trunk/mono/; revision=43464
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 20:34:00 +0000 (20:34 -0000)]
2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
TempDirectory is not empty before assigning it. Don't mangle the
assembly names provided.
* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
as the temp directory instead of Path.GetTempPath.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.UI/TemplateParser.cs: always get the location (full path)
for assemblies, even the ones from the GAC.
* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
directory exists before creating the TempFileCollection.
The changes related to assembly names fix bug number #74500.
svn path=/trunk/mcs/; revision=43462
Zoltan Varga [Fri, 22 Apr 2005 19:24:12 +0000 (19:24 -0000)]
2005-04-22 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (mono_find_jit_info): Fix native offset calculation
in wrapper methods. Also rename 'address' variable to 'offset'.
svn path=/trunk/mono/; revision=43459
Zoltan Varga [Fri, 22 Apr 2005 19:22:27 +0000 (19:22 -0000)]
2005-04-22 Zoltan Varga <vargaz@freemail.hu>
* loader.c (mono_stack_walk): Fix #74690.
svn path=/trunk/mono/; revision=43458
Martin Baulig [Fri, 22 Apr 2005 17:51:29 +0000 (17:51 -0000)]
2005-04-22 Martin Baulig <martin@ximian.com>
* generic.cs (GenericMethod): Create the EmitContext in the
`Define()'; in `Define(MethodBuilder)', create the type parameters
before calling `Define()'. Fixes #73933.
svn path=/trunk/mcs/; revision=43454
Martin Baulig [Fri, 22 Apr 2005 17:51:22 +0000 (17:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=43453
Atsushi Eno [Fri, 22 Apr 2005 17:12:10 +0000 (17:12 -0000)]
2005-04-22 Atsushi Enomoto <atsushi@ximian.com>
* get.c : arraytype[,] should not be wrapped as 'arraytype[]'.
svn path=/trunk/mono/; revision=43451
Marek Safar [Fri, 22 Apr 2005 16:09:16 +0000 (16:09 -0000)]
2005-04-22 Marek Safar <marek.safar@seznam.cz>
* driver.cs (CompilerCallableEntryPoint.Invoke): Reset under any
circumstances.
svn path=/trunk/mcs/; revision=43450
Martin Baulig [Fri, 22 Apr 2005 16:08:45 +0000 (16:08 -0000)]
New tests.
svn path=/trunk/mcs/; revision=43449
Atsushi Eno [Fri, 22 Apr 2005 15:35:55 +0000 (15:35 -0000)]
2005-04-22 Atsushi Enomoto <atsushi@ximian.com>
* InstrTable.cs :
ble.un.s and blt.un.s were incorrectly added to the table.
svn path=/trunk/mcs/; revision=43447
Martin Baulig [Fri, 22 Apr 2005 15:35:53 +0000 (15:35 -0000)]
2005-04-22 Martin Baulig <martin@ximian.com>
* mono-debug.h (MonoDebugMethodJitInfo): Added
`MonoDebugMethodJitInfo *jit'.
* mono-debug.c (mono_debug_read_method): Cache the
MonoDebugMethodJitInfo in `address->jit'.
(mono_debug_free_method_jit_info): New public method.
svn path=/trunk/mono/; revision=43446
Martin Baulig [Fri, 22 Apr 2005 15:08:46 +0000 (15:08 -0000)]
Updated.
svn path=/trunk/mcs/; revision=43445
Lluis Sanchez [Fri, 22 Apr 2005 15:08:35 +0000 (15:08 -0000)]
2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/HyperLinkField.cs
svn path=/trunk/mcs/; revision=43444
Lluis Sanchez [Fri, 22 Apr 2005 15:07:47 +0000 (15:07 -0000)]
2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
* DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
members.
* DataControlFieldHeaderCell.cs: Save Scope in view state.
Added AbbreviatedText property.
* AutoGeneratedField.cs: The constructor should actually be internal.
* DataGridItem.cs: Added implemented interface in 2.0.
* DataControlFieldCollection.cs: Implemented CloneFields and
GetKnownTypes().
*
svn path=/trunk/mcs/; revision=43443
Martin Baulig [Fri, 22 Apr 2005 15:04:49 +0000 (15:04 -0000)]
2005-04-22 Martin Baulig <martin@ximian.com>
* generic.cs
(Constraints.Resolve): Make things work wrt. the new type lookup system.
(ConstructedType.ResolveAsTypeTerminal): Don't override this.
* ecore.cs (Expression.ResolveAsTypeTerminal): If `te' is a
ConstructedType, check its constraints.
svn path=/trunk/mcs/; revision=43442
Martin Baulig [Fri, 22 Apr 2005 14:58:56 +0000 (14:58 -0000)]
2005-04-22 Martin Baulig <martin@ximian.com>
* class.c (mono_class_is_assignable_from): Disallow
type parameter -> interface.
svn path=/trunk/mono/; revision=43441
Sureshkumar T [Fri, 22 Apr 2005 13:11:40 +0000 (13:11 -0000)]
In Test/System.Data:
2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
* DataTableLoadRowTest.cs: Added. A test case for testing
LoadDataRow method of DataTable. This tests for various
possiblities of row state and loadoption.
In System.Data.Common:
2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
* DbDataAdapter.cs: Moved FillTable and BuildSchema as static
methods as they are not operating on the current instance. This
could be reused to fill any table from a data reader.
* RecordCache.cs: While disposing records, make sure that the
record is not already disposed. i.e. to make sure later the same
record is not reused. Implemented a static method to compare two
version of records in a container.
In .:
2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
* System.Data_test.dll.sources: Added DataTableLoadRowTest.cs.
In System.Data:
2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
* LoadOption.cs: Changed the enums. Keeping old values for
migration.
* DataTable.cs: Implemented methods Load and its overloads. Also
implemented LoadDataRow.
* DataRowCollection.cs: Added a variation of the Find method to
return a row even if it is of state Deleted. This is required for
DataTable.LoadDataRow method.
* DataRow.cs: Implemented internal helper method Load for loading
values from an object array and given an LoadOption (2.0 feature).
* DataRowAction.cs: Added few more enums for .net 2.0. Sorted
alphabetically.
svn path=/trunk/mcs/; revision=43440
Martin Baulig [Fri, 22 Apr 2005 11:56:57 +0000 (11:56 -0000)]
Small fix.
svn path=/trunk/mcs/; revision=43439
Lluis Sanchez [Fri, 22 Apr 2005 11:43:19 +0000 (11:43 -0000)]
2005-04-22 LLuis Sanchez Gual <lluis@novell.com>
* AttributeCollection.cs: When checking if the list contains an
attribute, always return true if that attribute is the default
attribute for that kind of attributes.
svn path=/trunk/mcs/; revision=43438
Ankit Jain [Fri, 22 Apr 2005 11:29:24 +0000 (11:29 -0000)]
* TypeSpecMethodRef.cs (TypeSpecMethodRef.Resolve): Set is_resolved
to true.
svn path=/trunk/mcs/; revision=43437
Lluis Sanchez [Fri, 22 Apr 2005 10:51:39 +0000 (10:51 -0000)]
2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
* HtmlForm.cs: Use the new WriteSubmitStatements method from
Page.ClientScript.
svn path=/trunk/mcs/; revision=43436
Lluis Sanchez [Fri, 22 Apr 2005 10:51:16 +0000 (10:51 -0000)]
2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
* ClientScriptManager.cs: Use a linked list instead of a Hashtable
to store the scripts. In this way, scripts will be rendered in the
same order as they have been registered. It shouldn't be slower
since pages don't have many scripts.
svn path=/trunk/mcs/; revision=43435
Jordi Mas i Hernandez [Fri, 22 Apr 2005 09:50:34 +0000 (09:50 -0000)]
2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: call base constructors, fixes
* GridColumnStylesCollection.cs: missing events, methods, and functionality
* GridTableStylesCollection.cs: fixes, check duplicate mapping names
* DataGridTableStyle.cs: implements create default column styles
* DataGridBoolColumn.cs: which types can handle
* DataGrid.cs: missing methods, fixes, new functionality
* DataGridColumnStyle.cs: fixes
svn path=/trunk/mcs/; revision=43434
Raja R Harinath [Fri, 22 Apr 2005 08:55:18 +0000 (08:55 -0000)]
* Makefile.am (CSC): Use '-unsafe' instead of '--unsafe'.
svn path=/trunk/mono/; revision=43433
Satya Sudha K [Fri, 22 Apr 2005 07:50:05 +0000 (07:50 -0000)]
Support for 'LateGet'
svn path=/trunk/mcs/; revision=43432
Raja R Harinath [Fri, 22 Apr 2005 07:05:24 +0000 (07:05 -0000)]
Revert unlogged change.
svn path=/trunk/mcs/; revision=43431
Raja R Harinath [Fri, 22 Apr 2005 06:31:29 +0000 (06:31 -0000)]
* fixup/Makefile (install-local): Depend on $(the_lib).
* fixup/fixup.pl: Be more resilient to varying order of .param
custom attributes.
svn path=/trunk/mcs/; revision=43430
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 04:37:32 +0000 (04:37 -0000)]
2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StringArrayConverter.cs:
* Calendar.cs: warnings.
svn path=/trunk/mcs/; revision=43429
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 04:14:13 +0000 (04:14 -0000)]
tag
svn path=/trunk/mcs/; revision=43428
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 03:58:41 +0000 (03:58 -0000)]
2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: use a stack for non-server tags even before getting
to a form. Fixes bug #70274.
svn path=/trunk/mcs/; revision=43427
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 03:37:26 +0000 (03:37 -0000)]
2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspParser.cs: don't error out on ill formed tags if it's not a server
tag (ie, allow something like '<table align="left cellpadding="0">' to
work, as MS does. Fixes bug #67909.
svn path=/trunk/mcs/; revision=43426
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 03:10:45 +0000 (03:10 -0000)]
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnexceptionalStreamWriter.cs: don't throw anything on Flush. Closes
bug #74190.
svn path=/trunk/mcs/; revision=43425
Gonzalo Paniagua Javier [Fri, 22 Apr 2005 02:34:23 +0000 (02:34 -0000)]
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: only add the charset when explicitly set or for
well-known content types.
svn path=/trunk/mcs/; revision=43424
Gonzalo Paniagua Javier [Thu, 21 Apr 2005 22:51:33 +0000 (22:51 -0000)]
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MulticastDelegate.cs: (GetInvocationList) when building the list that
is later traversed forward, mark 'this' as the end of the chain.
Fixes bug #74607.
svn path=/trunk/mcs/; revision=43421
Dick Porter [Thu, 21 Apr 2005 21:05:32 +0000 (21:05 -0000)]
2005-04-21 Dick Porter <dick@ximian.com>
* handles.c (_wapi_handle_check_share): Make sure there is a "fd"
dir in /proc before blowing away handle info. Fixes bug 74649.
svn path=/trunk/mono/; revision=43420
Ben Maurer [Thu, 21 Apr 2005 20:46:46 +0000 (20:46 -0000)]
fix up for when corlib changes versions
svn path=/trunk/mcs/; revision=43419
Ben Maurer [Thu, 21 Apr 2005 20:30:22 +0000 (20:30 -0000)]
disable fixup crap until this works on ppc
svn path=/trunk/mcs/; revision=43418
Gonzalo Paniagua Javier [Thu, 21 Apr 2005 20:00:20 +0000 (20:00 -0000)]
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Mono.Posix.dll.sources: added UnixListener and UnixClient from Joe
Shaw.
* UnixClient.cs:
* UnixListener.cs: TcpListener/TcpClient clones from Jow Shaw.
svn path=/trunk/mcs/; revision=43416
Gonzalo Paniagua Javier [Thu, 21 Apr 2005 19:08:07 +0000 (19:08 -0000)]
2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnixEndPoint.cs: fix from Mono.Posix.
svn path=/trunk/mcs/; revision=43415
Dick Porter [Thu, 21 Apr 2005 17:17:00 +0000 (17:17 -0000)]
2005-04-21 Dick Porter <dick@ximian.com>
* wait.c (WaitForMultipleObjectsEx): Implement special waits
* handles.c (_wapi_handle_wait_signal_poll_share): Don't return a
timeout, just wait briefly for the private signals and let the
waiting thread test again. This prevents us missing shared
signals.
svn path=/trunk/mono/; revision=43413
Lluis Sanchez [Thu, 21 Apr 2005 16:15:45 +0000 (16:15 -0000)]
2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/FormView.cs
System.Web.UI.WebControls/FormViewRow.cs
System.Web.UI/IEditableTextControl.cs
svn path=/trunk/mcs/; revision=43411
Lluis Sanchez [Thu, 21 Apr 2005 16:14:46 +0000 (16:14 -0000)]
2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
* FormViewDeleteEventArgs.cs:
* FormViewInsertEventArgs.cs:
* FormViewUpdateEventArgs.cs:
* FormViewDeletedEventArgs.cs:
* FormViewUpdatedEventArgs.cs:
* FormViewInsertedEventArgs.cs: Implemented some missing properties.
* LinkButton.cs:
* IButtonControl.cs:
* Button.cs: Removed SoftKey property.
* CheckBox.cs: Don't try to load post back data if the control
is disabled.
* ImageField.cs:
* AutoGeneratedField.cs:
* DataControlField.cs:
* CommandField.cs:
* ButtonFieldBase.cs:
* BoundField.cs:
* CheckBoxField.cs:
* TemplateField.cs:
* ButtonField.cs: Don't bind fields in Insert state.
Implemented CreateField and CopyProperties.
* GridView.cs:
* DetailsView.cs: Removed some unneeded interfaces. Don't
generate the field rows if there are no items in the data source.
Don't get the current keys until the whole control has been
bound.
* DetailsViewInsertedEventArgs.cs:
* DataBoundControl.cs:
* ObjectDataSourceView.cs: Made some methods private.
* MenuItemStyle.cs:
* Menu.cs: Changed some properties from int to Unit.
* DataControlButton.cs: javascript prefix is needed when raising
the postback event from a link.
* PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
The result was wrong when the total data source count was 0.
* FormView.cs: Implemented.
* FormViewRow.cs: Implemented.
* Literal.cs:
* Localize.cs: Fixed base interface.
* BaseDataBoundControl.cs: In DataBind() call the base class
DataBind method, so the binding context is properly set.
svn path=/trunk/mcs/; revision=43410
Lluis Sanchez [Thu, 21 Apr 2005 16:14:16 +0000 (16:14 -0000)]
2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
* IEditableTextControl.cs: Implemented.
* DataBinder.cs: Marked constructor as obsolete in 2.0.
In GetDataItem, check for the IDataItemContainer interface
in the container.
* TemplateControl.cs: Improved check for data item.
svn path=/trunk/mcs/; revision=43409
Sebastien Pouliot [Thu, 21 Apr 2005 15:03:59 +0000 (15:03 -0000)]
2005-04-21 Sebastien Pouliot <sebastien@ximian.com>
* ChangeLog: New. Track changes in the tests.
* Makefile: New. Build and execute tests.
* README: Informations about the tests.
* thread1.cs: New. Deny unmanaged code before creating the thread
object.
* thread2.cs: New. Deny unmanaged code after creating the thread
object but before calling Start.
* thread3.cs: New. Deny unmanaged code after creating the thread
object and calling Start.
* timer1.cs: New. Use System.Threading.Timer (Thread.Start) to test
stack propagation.
* timer2.cs: New. Use System.Timers.Timer (ThreadPool.
QueueUserWorkItem) to test stack propagation.
svn path=/trunk/mono/; revision=43405
Raja R Harinath [Thu, 21 Apr 2005 14:17:03 +0000 (14:17 -0000)]
($mcsdir/build/config.make): Don't be over-eager in the definition
and evaluation of '$exec_prefix'.
svn path=/trunk/mono/; revision=43404
Dick Porter [Thu, 21 Apr 2005 14:04:02 +0000 (14:04 -0000)]
2005-04-21 Dick Porter <dick@ximian.com>
* collection.h (_WAPI_HANDLE_COLLECTION_EXPIRED_INTERVAL): Reduce
the time before a slot is considered too old and deleted. This is
a workaround while I come up with a proper fix.
svn path=/trunk/mono/; revision=43402