Satya Sudha K [Fri, 29 Apr 2005 04:51:45 +0000 (04:51 -0000)]
Removed LateBinding12.vb so that it compiles
svn path=/trunk/mcs/; revision=43767
Satya Sudha K [Fri, 29 Apr 2005 04:38:28 +0000 (04:38 -0000)]
More testcases for late binding - by Sudharsan V
svn path=/trunk/mcs/; revision=43766
Satya Sudha K [Fri, 29 Apr 2005 04:07:24 +0000 (04:07 -0000)]
Some late bindig testcases
svn path=/trunk/mcs/; revision=43765
Raja R Harinath [Fri, 29 Apr 2005 02:35:01 +0000 (02:35 -0000)]
* class.c (mono_class_init): Add a mono_loader_unlock to the #74734 fix.
svn path=/trunk/mono/; revision=43764
César Natarén [Fri, 29 Apr 2005 02:06:16 +0000 (02:06 -0000)]
changelog entries
svn path=/trunk/mcs/; revision=43763
César Natarén [Fri, 29 Apr 2005 02:04:06 +0000 (02:04 -0000)]
Changes for MS API compliance
svn path=/trunk/mcs/; revision=43762
César Natarén [Fri, 29 Apr 2005 02:00:50 +0000 (02:00 -0000)]
Changes for MS API compliance
svn path=/trunk/mcs/; revision=43761
César Natarén [Fri, 29 Apr 2005 01:12:46 +0000 (01:12 -0000)]
Changes for MS API compliance
svn path=/trunk/mcs/; revision=43760
César Natarén [Fri, 29 Apr 2005 01:10:55 +0000 (01:10 -0000)]
Changes for API compliance
svn path=/trunk/mcs/; revision=43759
Jonathan Pryor [Fri, 29 Apr 2005 00:54:11 +0000 (00:54 -0000)]
* StdlibTest.cs: Calling a P/Invoke function from signal-handler context is
*bad*, which is why I've had so much trouble getting consistent results
getting this test to work -- it was broken by design. Instead, just save
the signum passed to the handler (which is reentrant safe), and compare
the saved value with the expected value after the signal handler returns.
This should always work. Use SIGURG instead of SIGUSR1 because SIGURG is
ignored by default (allowing us to call it without adding your own
handler), unlike SIGUSR1 which terminates the program.
svn path=/trunk/mcs/; revision=43758
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 00:19:42 +0000 (00:19 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ReaderWriterLock.cs: fix random ApplicationException errors. Tested
with the System.Web.Cache stress program. Patch by Eyal Alayuf
(Mainsoft). Fixes 74598.
svn path=/trunk/mcs/; revision=43757
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 23:48:39 +0000 (23:48 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* handles.c:
* handles-private.h: added _wapi_handle_forecch that loops through all
the handles and call a callback function when a handle of the given
type is found.
* sockets.c: no need to keep open sockets in an array, as we have them
in the handles structure.
Fixes bug #74755.
svn path=/trunk/mono/; revision=43756
César Natarén [Thu, 28 Apr 2005 23:41:34 +0000 (23:41 -0000)]
BinaryOp.cs: Changes for MS API compliance.
svn path=/trunk/mcs/; revision=43755
César Natarén [Thu, 28 Apr 2005 23:01:27 +0000 (23:01 -0000)]
2005-04-28 Cesar Lopez Nataren <cnataren@novell.com>
* BinaryOp.cs, ActivationObject.cs, expression.cs (Args),
ArrayLiteral.cs, ArrayObject.cs, IRedirectOutput.cs, ASTList.cs,
IVsaScriptScope.cs, ast.cs (AST): Changes for MS API compliance.
svn path=/trunk/mcs/; revision=43754
Jackson Harper [Thu, 28 Apr 2005 21:23:26 +0000 (21:23 -0000)]
* ThemeWin32Classic.cs: Don't fill the middle of progress
bars. This fills areas outside of the clip bounds that don't need
to be filled.
svn path=/trunk/mcs/; revision=43748
Jackson Harper [Thu, 28 Apr 2005 20:48:01 +0000 (20:48 -0000)]
* Control.cs: Don't expose functionality to touch the image buffers.
* ProgressBar.cs:
* ListView.cs: We do not need to (and no longer can) manipulate
the image buffers directly. All of this is handled by Control.
svn path=/trunk/mcs/; revision=43746
James Willcox [Thu, 28 Apr 2005 20:24:18 +0000 (20:24 -0000)]
2005-04-28 James Willcox <james@ximian.com>
* man/mkbundle.1: add --config-dir flag
svn path=/trunk/mono/; revision=43745
James Willcox [Thu, 28 Apr 2005 20:21:01 +0000 (20:21 -0000)]
2005-04-28 James Willcox <james@ximian.com>
* mkbundle.cs: Add --config-dir option
* template.c: same
svn path=/trunk/mcs/; revision=43744
Zoltan Varga [Thu, 28 Apr 2005 19:49:34 +0000 (19:49 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mini_cleanup): Skip the freeing of the runtime structures
for now, since some threads might still be running.
svn path=/trunk/mono/; revision=43743
Zoltan Varga [Thu, 28 Apr 2005 19:46:53 +0000 (19:46 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Environment_Exit): Remove the
suspend_all_other_threads () call for the time being, since it can hang.
* threads.c (mono_thread_manage): Similarly, disable the waiting for
the background threads to exit, since it can also hang.
svn path=/trunk/mono/; revision=43742
Sebastien Pouliot [Thu, 28 Apr 2005 19:32:28 +0000 (19:32 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlDsigXPathTransformTest.cs: Marked FunctionHereObsolete (ignored)
and LoadInputAsXmlNodeList (failure) as [Category("NotWorking")] as
they both pass under MS 1.x runtime (for bad and/or good reasons).
svn path=/trunk/mcs/; revision=43740
Peter Dennis Bartok [Thu, 28 Apr 2005 19:26:12 +0000 (19:26 -0000)]
- Flush, before something gets lost
svn path=/trunk/mcs/; revision=43739
Sebastien Pouliot [Thu, 28 Apr 2005 18:31:21 +0000 (18:31 -0000)]
Add CAS unit tests for System.Reflection.Assembly
svn path=/trunk/mcs/; revision=43737
Sebastien Pouliot [Thu, 28 Apr 2005 18:30:12 +0000 (18:30 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyCas.cs: New. CAS unit tests for Assembly.
svn path=/trunk/mcs/; revision=43736
Dick Porter [Thu, 28 Apr 2005 15:38:47 +0000 (15:38 -0000)]
2005-04-28 Dick Porter <dick@ximian.com>
* processes.c: Cope with handles that are only around for as long
as the search is running. If we're searching for process handles,
check to see if the process is still running and signal it if not.
* handles.c (_wapi_search_handle): Search in the shared space as
well. Fixed bug 74752.
* mutexes.c:
* handles.c (_wapi_handle_new_from_offset):
_wapi_handle_new_for_existing_ns () was doing exactly the same as
this, so deleted it.
svn path=/trunk/mono/; revision=43728
Jordi Mas i Hernandez [Thu, 28 Apr 2005 15:28:32 +0000 (15:28 -0000)]
* Combobox:
- Adjust control's height for non-simple comboboxes (bug fix)
- Remove dead code
* MenuAPI.cs: remove unused var
* ScrollBar.cs: remove unsed var
* ListBox.cs: unselect items when clearing
2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=43727
Zoltan Varga [Thu, 28 Apr 2005 14:06:32 +0000 (14:06 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* class.c (mono_class_init): Applied patch from Ankit Jain
(radical@gmail.com). Avoid pending init errors when a field refers
to a nested class using a typeref. Fixes #74734.
svn path=/trunk/mono/; revision=43724
Zoltan Varga [Thu, 28 Apr 2005 13:44:08 +0000 (13:44 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (emit_call): Fix calls to native functions when the
runtime is compiled as a shared library. Fixes #74756.
svn path=/trunk/mono/; revision=43723
Sebastien Pouliot [Thu, 28 Apr 2005 13:42:22 +0000 (13:42 -0000)]
Add new unit tests for contexts (2.0) to the build and CAS tests for them too.
svn path=/trunk/mcs/; revision=43722
Sebastien Pouliot [Thu, 28 Apr 2005 13:30:19 +0000 (13:30 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Added property to get the ExecutionContext in 2.0. Fixed
GetCompressedStack and made SetCompressedStack available (as internal)
before NET_2_0.
svn path=/trunk/mcs/; revision=43721
Sebastien Pouliot [Thu, 28 Apr 2005 13:27:13 +0000 (13:27 -0000)]
2005-03-28 Sebastien Pouliot <sebastien@ximian.com>
* SecurityContextCas.cs: New. CAS unit tests for SecurityContext.
* SecurityContextTest.cs: New. Unit tests for SecurityContext.
* SecurityCriticalAttributeTest.cs: New. Unit tests for
SecurityCriticalAttribute.
* SecurityTransparentAttributeTest.cs: New. Unit tests for
SecurityTransparentAttribute.
svn path=/trunk/mcs/; revision=43720
Sebastien Pouliot [Thu, 28 Apr 2005 13:24:04 +0000 (13:24 -0000)]
2005-03-28 Sebastien Pouliot <sebastien@ximian.com>
* CompressedStackCas.cs: New. CAS unit tests for CompressedStack.
* CompressedStackTest.cs: New. Unit tests for CompressedStack.
* ExecutionContextCas.cs: New. CAS unit tests for ExecutionContext.
* ExecutionContextTest.cs: New. Unit tests for ExecutionContext.
svn path=/trunk/mcs/; revision=43719
Zoltan Varga [Thu, 28 Apr 2005 12:53:07 +0000 (12:53 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilderTest.cs: Add test for GetModules ().
svn path=/trunk/mcs/; revision=43718
Zoltan Varga [Thu, 28 Apr 2005 12:48:13 +0000 (12:48 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal): Fix
this for dynamic modules.
svn path=/trunk/mono/; revision=43717
Sebastien Pouliot [Thu, 28 Apr 2005 12:18:44 +0000 (12:18 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Added internal property to get the ExecutionContext.
svn path=/trunk/mcs/; revision=43716
Sebastien Pouliot [Thu, 28 Apr 2005 12:13:22 +0000 (12:13 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* AsyncFlowControl.cs: Updated wrt beta2.
* ExecutionContext.cs: Updated wrt beta2. Class is now internal in
NET_1_1 to allow the compressed stack propagation to other threads.
* CompressedStack.cs: Updated wrt beta2. Class is internal in NET_1_1
to allow the compressed stack propagation to other threads.
* ContextCallback.cs: Updated wrt beta2.
* HostExecutionContext.cs: Updated wrt beta2.
* HostExecutionContextManager.cs: Updated wrt beta2.
svn path=/trunk/mcs/; revision=43715
Sebastien Pouliot [Thu, 28 Apr 2005 12:09:31 +0000 (12:09 -0000)]
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetCollection.cs: Updated wrt beta2. Seems this will be
removed before 2.0 final.
* HostProtectionException.cs: Updated wrt beta2. Added TODO as it
isn't support by the runtime.
* SecurityContext.cs: Updated wrt beta2. Class is now internal in
NET_1_1 to allow the compressed stack propagation to other threads.
* SecurityCriticalAttribute.cs: Added support for property Scope.
* SecurityException.cs: Removed PermitOnlySetInstance property to
match beta2.
* SecurityTransparentAttribute.cs: Fixed AttributeUsage. Added TODO
as it isn't support by the runtime.
* SuppressUnmanagedCodeSecurityAttribute.cs: Added delegates to usage
in NET_2_0.
svn path=/trunk/mcs/; revision=43714
Martin Baulig [Thu, 28 Apr 2005 11:37:01 +0000 (11:37 -0000)]
2005-04-28 Martin Baulig <martin@ximian.com>
* Dictionary.cs, Queue.cs, Stack.cs, List.cs, Comparer.cs: Don't
duplicate type parameters in the nested classes.
svn path=/trunk/mcs/; revision=43713
Jordi Mas i Hernandez [Thu, 28 Apr 2005 10:39:20 +0000 (10:39 -0000)]
2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
* ListControl.cs: honors OnPositionChanged and default Selected Item
* ListBox.cs: unselect items when clearing
svn path=/trunk/mcs/; revision=43709
Zoltan Varga [Thu, 28 Apr 2005 08:56:22 +0000 (08:56 -0000)]
2005-04-28 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Assert if ldsfld and friends are used
on a literal field. Fixes #74751.
svn path=/trunk/mono/; revision=43707
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 06:22:47 +0000 (06:22 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: implemented GetEditor. Patch by Jonathan Chambers.
svn path=/trunk/mcs/; revision=43706
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 04:01:16 +0000 (04:01 -0000)]
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ExpiresBuckets.cs:
* Cache.cs:
* CacheExpires.cs: fix NullReferenceException thrown sometimes when
using sliding expiration and under high load. Patch by Eyal Alayuf from
Mainsoft.
svn path=/trunk/mcs/; revision=43705
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 03:56:38 +0000 (03:56 -0000)]
updates
svn path=/trunk/mcs/; revision=43704
Gonzalo Paniagua Javier [Thu, 28 Apr 2005 03:42:24 +0000 (03:42 -0000)]
New test for Cache by Eyal Alayuf (Mainsoft)
svn path=/trunk/mcs/; revision=43703
Raja R Harinath [Thu, 28 Apr 2005 03:25:52 +0000 (03:25 -0000)]
svn:eol-style native
svn path=/trunk/mcs/; revision=43702
Raja R Harinath [Thu, 28 Apr 2005 03:06:48 +0000 (03:06 -0000)]
re-enable -dlopen workaround for monodis-wrapper.
Known problem libtools:
libtool/experimental on Debian (1.6.0+1.5a...)
libtool on the SuSE x86_64 (don't know the version)
svn path=/trunk/mono/; revision=43701
Gonzalo Paniagua Javier [Wed, 27 Apr 2005 23:54:50 +0000 (23:54 -0000)]
2005-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threads.c: don't wait for threads that are in the process of aborting
or aborted. Set the 'shutting_down' flag before cleaning the threadpool
and waiting for background threads to finish. This makes xsp and
mod-mono-server exit without random length delays and/or hangs.
svn path=/trunk/mono/; revision=43700
Gonzalo Paniagua Javier [Wed, 27 Apr 2005 23:49:39 +0000 (23:49 -0000)]
2005-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* icall.c: remove duplicate assignment from GetReferencedAssemblies.
svn path=/trunk/mono/; revision=43699
Jackson Harper [Wed, 27 Apr 2005 20:33:50 +0000 (20:33 -0000)]
* X11Keyboard.cs: Initialize a default keyboard and give a warning
if a "correct" keyboard is not found. This will make us not crash,
but might give some users bad keyboard layouts...seems to be the
same thing rewind does.
svn path=/trunk/mcs/; revision=43685
Sebastien Pouliot [Wed, 27 Apr 2005 18:38:36 +0000 (18:38 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
directly in UseMachineKeyStore (not just wrapped inside a
CryptographicException).
* RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
directly in UseMachineKeyStore (not just wrapped inside a
CryptographicException).
svn path=/trunk/mcs/; revision=43675
Sebastien Pouliot [Wed, 27 Apr 2005 18:26:02 +0000 (18:26 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* KeyPairPersistenceTest.cs: Upgrade to NUnit 2.2 API to use Ignore.
Now Ignore all tests that results in UnauthorizedAccessException.
svn path=/trunk/mcs/; revision=43674
Jackson Harper [Wed, 27 Apr 2005 18:09:45 +0000 (18:09 -0000)]
* BindingManagerBase.cs: Attach the current/position changed
handlers to their respective events.
svn path=/trunk/mcs/; revision=43673
Jackson Harper [Wed, 27 Apr 2005 17:45:29 +0000 (17:45 -0000)]
* ComboBox.cs: Just fill the clipping rect not the entire client
rect when drawing the background. This prevents pieces of the
image buffer from getting overwritten and is theoretically faster.
svn path=/trunk/mcs/; revision=43670
Jackson Harper [Wed, 27 Apr 2005 17:23:50 +0000 (17:23 -0000)]
* ThemeWin32Classic.cs: Don't fill the background for picture
boxes. This could overright user drawing.
svn path=/trunk/mcs/; revision=43668
Jackson Harper [Wed, 27 Apr 2005 17:00:27 +0000 (17:00 -0000)]
* Control.cs: Make sure that the first WM_PAINT does a full draw,
not just a blit.
svn path=/trunk/mcs/; revision=43667
Sebastien Pouliot [Wed, 27 Apr 2005 16:45:08 +0000 (16:45 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateCollectionTest.cs: Re-enable the tests as they now
works on 2.0 beta2 exactly like under Mono.
svn path=/trunk/mcs/; revision=43666
Sebastien Pouliot [Wed, 27 Apr 2005 14:54:11 +0000 (14:54 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* IBuiltInPermissionTest.cs: Fixed token index numbers wrt beta2.
* IsolatedStorageFilePermissionTest.cs: Change containment to match
beta2.
* UrlIdentityPermissionTest.cs: Fixed test case for 2.0.
* ZoneIdentityPermissionAttributeTest.cs: Tag unrestricted test as
NotWorking.
svn path=/trunk/mcs/; revision=43660
Sebastien Pouliot [Wed, 27 Apr 2005 14:50:10 +0000 (14:50 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Updated features for 2.0.
svn path=/trunk/mcs/; revision=43659
Sebastien Pouliot [Wed, 27 Apr 2005 14:47:45 +0000 (14:47 -0000)]
Added new classes in System.Security and some support classes for X509Certificate (imported from Mono.Security.dll).
svn path=/trunk/mcs/; revision=43658
Sebastien Pouliot [Wed, 27 Apr 2005 14:45:30 +0000 (14:45 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12.cs: New. Copied from Mono.Security.dll to allow support of
PKCS#12 files in X509Certificate for 2.0.
* X509Certificate.cs: Added new features required to support 2.0.
svn path=/trunk/mcs/; revision=43657
Sebastien Pouliot [Wed, 27 Apr 2005 14:43:23 +0000 (14:43 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* PKCS8.cs: New. Copied from Mono.Security.dll to allow support of
PKCS#12 files in X509Certificate for 2.0.
svn path=/trunk/mcs/; revision=43656
Sebastien Pouliot [Wed, 27 Apr 2005 14:41:52 +0000 (14:41 -0000)]
New attribute and enum introduced in 2.0 beta2
svn path=/trunk/mcs/; revision=43655
Sebastien Pouliot [Wed, 27 Apr 2005 14:20:42 +0000 (14:20 -0000)]
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* X509BasicConstraintsExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509CertificateEx.cs: Throw a CryptographicException in the RawData
property if no certificate is loaded in the instance.
* X509EnhancedKeyUsageExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509Extension.cs: Now throw ArgumentNullException in CopyFrom (fixed
in beta2).
* X509KeyUsageExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509Store.cs: Re-added certificate creation to get the exception.
* X509SubjectKeyIdentifierExtension.cs: Throw ArgumentNullException in
CopyFrom (fixed in beta2). Fix SubjectKeyIdentifier to return an empty
string (not null) after (unsucessful) decoding.
svn path=/trunk/mcs/; revision=43654
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