Rodrigo Kumpera [Wed, 29 Apr 2009 23:28:36 +0000 (23:28 -0000)]
2009-04-29 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for field marshal table.
svn path=/trunk/mono/; revision=133094
Rodrigo Kumpera [Wed, 29 Apr 2009 23:28:21 +0000 (23:28 -0000)]
2009-04-29 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the custom field marshal table.
svn path=/trunk/mono/; revision=133093
Rodrigo Kumpera [Wed, 29 Apr 2009 23:28:02 +0000 (23:28 -0000)]
2009-04-29 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for cattr table.
* assembly-with-cattr.cs: New test file for producing tests
for cattr table.
* Makefile: Add new dependencies and do some cleanup.
svn path=/trunk/mono/; revision=133092
Rodrigo Kumpera [Wed, 29 Apr 2009 23:27:51 +0000 (23:27 -0000)]
2009-04-29 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the custom attribute table.
svn path=/trunk/mono/; revision=133091
Rodrigo Kumpera [Wed, 29 Apr 2009 23:27:30 +0000 (23:27 -0000)]
2009-04-29 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Close the image after using it.
Force the runtime to initialize with 2.0.
svn path=/trunk/mono/; revision=133090
Zoltan Varga [Wed, 29 Apr 2009 23:25:44 +0000 (23:25 -0000)]
2009-04-30 Zoltan Varga <vargaz@gmail.com>
* decompose.c (mono_decompose_long_opts): Move the implementation of LNEG
to mono_arch_decompose_long_opts () for x86 and arm.
svn path=/trunk/mono/; revision=133088
Chris Toshok [Wed, 29 Apr 2009 23:08:53 +0000 (23:08 -0000)]
2009-04-29 Chris Toshok <toshok@ximian.com>
* AssemblyInfo.cs: in the 2.1 case we're InternalsVisibleTo
System.Windows.Browser
svn path=/trunk/mcs/; revision=133087
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 16:01:00 +0000 (16:01 -0000)]
2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* sockets.c: don't display a warning when connect() fails because the
socket was closed in another thread.
svn path=/trunk/mono/; revision=133031
Sebastien Pouliot [Wed, 29 Apr 2009 14:23:19 +0000 (14:23 -0000)]
In Mono.Security.Cryptography:
2009-04-29 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1.cs: Make this work under NET_2_1 where SHA384 and SHA512
are not available in the BCL.
In System.Security.Cryptography:
2009-04-29 Sebastien Pouliot <sebastien@ximian.com>
* DES.cs, DESCryptoServiceProvider.cs: Do not include in NET_2_1
* HMACMD5.cs, HMACRIPEMD160.cs, HMACSHA384.cs, HMACSHA512.cs: Do
not include in NET_2_1
* MACTripleDES.cs: Do not include in NET_2_1
* RC2.cs, RC2CryptoServiceProvider.cs: Do not include in NET_2_1
* Rijndael.cs, RijndaelManaged.cs, RijndaelManagedTransform.cs:
Do not include in NET_2_1 (AES is available in System.Core.dll)
* RIPEMD160.cs, RIPEMD160Managed.cs: Do not include in NET_2_1
* SHA1CryptoServiceProvider.cs: Do not include in NET_2_1, however
SHA1Managed is available.
* SHA384.cs, SHA384Managed.cs: Do not include in NET_2_1
* SHA512.cs, SHA512Managed.cs: Do not include in NET_2_1
* TripleDES.cs, TripleDESCryptoServiceProvider.cs: Do not include
in NET_2_1
svn path=/trunk/mcs/; revision=133013
Sebastien Pouliot [Wed, 29 Apr 2009 14:07:09 +0000 (14:07 -0000)]
2009-04-29 Sebastien Pouliot <sebastien@ximian.com>
* MD5Cng.cs, SHA1Cng.cs, SHA256Cng.cs, SHA256CryptoServiceProvider.cs,
SHA384Cng.cs, SHA384CryptoServiceProvider.cs, SHA512Cng.cs,
SHA512CryptoServiceProvider.cs: Regenerated to be excluded from
NET_2_1
svn path=/trunk/mcs/; revision=133012
Sebastien Pouliot [Wed, 29 Apr 2009 14:05:33 +0000 (14:05 -0000)]
2009-04-29 Sebastien Pouliot <sebastien@ximian.com>
* hashwrap.cs: Add "#if !NET_2_1 ... #endif" on wrappers so they
don't get compiled for 2.1 (since mscorlib 2.1 lacks some
required types and the generated code is not part of SL2).
svn path=/trunk/mcs/; revision=133011
Marek Habersack [Wed, 29 Apr 2009 13:17:39 +0000 (13:17 -0000)]
2009-04-29 Marek Habersack <mhabersack@novell.com>
* MetaTable.cs: implemented the DataContextType,
DataContextPropertyName properties and the ToString method.
* MetaColumn.cs: implemented the Scaffold, DisplayName,
SortExpression, UIHint properties and the ToString method.
* DynamicField.cs: implemented
* DynamicDataManager.cs: partially implemented RegisterControl.
Added internal AutoFieldGenerator class, used by RegisterControl
when dealing with GridView.
Implemented some properties.
* DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
* DynamicControl.cs: implemented parts of the class.
2009-04-29 Marek Habersack <mhabersack@novell.com>
* DataBoundControl.cs: added InternalGetDataSource method, used by
DynamicData
2009-04-29 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added InternalsVisibleTo for
System.Web.DynamicData
2009-04-29 Marek Habersack <mhabersack@novell.com>
* Test/System.Web.DynamicData.ModelProviders/TableProviderTest.cs:
added
* System.Web.DynamicData_test.dll.sources: added
System.Web.DynamicData/DynamicDataManagerTest.cs,
System.Web.DynamicData/DynamicDataExtensionsTest.cs,
System.Web.DynamicData.ModelProviders/TableProviderTest.cs
* System.Web.DynamicData.dll.sources: added
System.Web.DynamicData.ModelProviders/DLinqAssociationProvider.cs
System.Web.DynamicData.ModelProviders/DLinqColumnProvider.cs
System.Web.DynamicData.ModelProviders/DLinqDataModelProvider.cs
System.Web.DynamicData.ModelProviders/DLinqTableProvider.cs and
removed
System.Web.DynamicData.ModelProviders/DLinqDataModelProviders.cs
2009-04-29 Marek Habersack <mhabersack@novell.com>
* TableProvider.cs: implemented
* DLinqDataModelProvider.cs: renamed from
DLinqDataModelProviders.cs and moved some classes to separate
files.
* DLinqTableProvider.cs: moved to here from
DLinqDataModelProvider.cs
* DLinqColumnProvider.cs: moved to here from
DLinqDataModelProvider.cs
* DLinqAssociationProvider.cs: added
2009-04-29 Marek Habersack <mhabersack@novell.com>
* DataBinder.cs: GetPropertyValue must throw also if propName is
empty.
2009-04-23 Marek Habersack <mhabersack@novell.com>
* ContextConfiguration.cs: implemented all the methods and added a
parameterless constructor.
2009-04-23 Marek Habersack <mhabersack@novell.com>
* System.Web.DynamicData_test.dll.sources: added
System.Web.DynamicData/ContextConfigurationTest.cs
* Makefile: tests need to be linked with
System.ComponentModel.DataAnnotations.dll
2009-04-23 Marek Habersack <mhabersack@novell.com>
* AssociatedMetadataTypeTypeDescriptor.cs: added - doesn't add any
real functionality yet.
* AssociatedMetadataTypeTypeDescriptionProvider.cs: implemented
all the methods.
2009-04-23 Marek Habersack <mhabersack@novell.com>
* System.ComponentModel.DataAnnotations_test.dll.sources: added
* System.ComponentModel.DataAnnotations.dll.sources: added
System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
* Makefile: enabled tests
2009-04-23 Marek Habersack <mhabersack@novell.com>
* ContextConfigurationTest.cs: added
svn path=/trunk/mcs/; revision=133003
Sebastien Pouliot [Wed, 29 Apr 2009 12:12:36 +0000 (12:12 -0000)]
In .:
2009-04-29 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Add CryptoConfig_2_1.cs (partial class) to
the build
In System.Security.Cryptography:
2009-04-29 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Change to partial class and don't include this
part (#ifdef out) in the NET_2_1 build.
* CryptoConfig_2_1.cs: Partial class that contains only what's
needed for Moonlight (NET_2_1). This disallow dynamically replacing
cryptographic algorithms using machine.config
svn path=/trunk/mcs/; revision=132992
Zoltan Varga [Wed, 29 Apr 2009 09:37:49 +0000 (09:37 -0000)]
2009-04-29 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_regstate_alloc_int): Use __x86_64__ instead of
TARGET_AMD64 here.
svn path=/trunk/mono/; revision=132977
Zoltan Varga [Wed, 29 Apr 2009 09:37:42 +0000 (09:37 -0000)]
2009-04-28 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add an option to disable the solaris tar check.
svn path=/trunk/mono/; revision=132976
Marek Habersack [Wed, 29 Apr 2009 07:41:32 +0000 (07:41 -0000)]
Unbreak TdsComm by removing a stray line
svn path=/trunk/mcs/; revision=132962
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 05:41:25 +0000 (05:41 -0000)]
fix test
svn path=/trunk/mcs/; revision=132956
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 05:27:36 +0000 (05:27 -0000)]
2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Enum.cs: return the value as an enum of the right type.
svn path=/trunk/mcs/; revision=132953
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 03:18:16 +0000 (03:18 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpContext.cs:
* HttpWorkerRequest.cs:
* HttpRuntime.cs: if other parts of the system are using the
threadpool and we queue requests, once the threadpool is free we
might still not get back to use it to the maximum extent possible.
Adding a few more calls to QueuePendingRequest ensures that does not
happen.
svn path=/trunk/mcs/; revision=132946
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 02:59:24 +0000 (02:59 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Enum.cs: avoid exceptions from ToObject and use Try* instead.
svn path=/trunk/mcs/; revision=132944
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 02:54:36 +0000 (02:54 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqlConnection.cs: if the error causes a disconnection from the
server, close the data stream.
svn path=/trunk/mcs/; revision=132942
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 02:51:56 +0000 (02:51 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TdsConnectionPool.cs: if GetConnection() fails to create a
connection, try again several times and then throw. Improved
ResetConnectionPool() so that it does not immediately close
connections in use. Don't re-add connections that have been closed.
* Tds.cs: Connected tests the socket connection too. Made Disconnect()
not throw.
* TdsComm.cs: set more socket options (timeout and NoDelay) and have a
single entry point for reading from the stream.
svn path=/trunk/mcs/; revision=132939
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:56 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Fix stream header calculation.
* cli-tables-tests.md: Tests for constant.
* assembly-with-constants.cs: New test file for producing tests
for constant table.
* Makefile: Add new dependencies and do some cleanup.
svn path=/trunk/mono/; revision=132937
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:45 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the constant table.
svn path=/trunk/mono/; revision=132936
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:15 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for memberref.
svn path=/trunk/mono/; revision=132935
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:05 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the memberef table.
svn path=/trunk/mono/; revision=132934
Rodrigo Kumpera [Wed, 29 Apr 2009 02:01:41 +0000 (02:01 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (get_coded_index_token): Remove
dead argument.
svn path=/trunk/mono/; revision=132933
Rodrigo Kumpera [Wed, 29 Apr 2009 02:01:18 +0000 (02:01 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* assembly-with-complex-type.cs: Add more types and methods to be used generating tests.
* cli-tables-tests.md: Tests for interfaceimpl.
svn path=/trunk/mono/; revision=132932
Rodrigo Kumpera [Wed, 29 Apr 2009 02:01:03 +0000 (02:01 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the interfaceimpl table.
svn path=/trunk/mono/; revision=132931
Rodrigo Kumpera [Wed, 29 Apr 2009 02:00:40 +0000 (02:00 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* valid_ldflda_owned_field_on_cctor.il: Fix visibility of .ctor.
svn path=/trunk/mono/; revision=132930
Rodrigo Kumpera [Wed, 29 Apr 2009 02:00:25 +0000 (02:00 -0000)]
2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Improve error message.
* debug-helpers.c (mono_type_get_desc): Harden the code that
deals with VAR and MVAR.
svn path=/trunk/mono/; revision=132929
Miguel de Icaza [Tue, 28 Apr 2009 22:36:21 +0000 (22:36 -0000)]
prop
svn path=/trunk/mcs/; revision=132902
Miguel de Icaza [Tue, 28 Apr 2009 22:35:59 +0000 (22:35 -0000)]
Fox
svn path=/trunk/mcs/; revision=132901
Miguel de Icaza [Tue, 28 Apr 2009 22:00:44 +0000 (22:00 -0000)]
Add targets
svn path=/trunk/mcs/; revision=132899
Miguel de Icaza [Tue, 28 Apr 2009 22:00:11 +0000 (22:00 -0000)]
Add proxy scripts
svn path=/trunk/mono/; revision=132898
Miguel de Icaza [Tue, 28 Apr 2009 21:52:06 +0000 (21:52 -0000)]
csproj generator
svn path=/trunk/mcs/; revision=132897
Gonzalo Paniagua Javier [Tue, 28 Apr 2009 21:47:22 +0000 (21:47 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DefaultModelBinder.cs: workaround for bug #499009.
svn path=/trunk/mcs/; revision=132896
Zoltan Varga [Tue, 28 Apr 2009 21:22:13 +0000 (21:22 -0000)]
2009-04-28 Zoltan Varga <vargaz@gmail.com>
* *.h *.c: Use TARGET_<ARCH> defines instead of __<arch>__ defines in the
JIT code.
svn path=/trunk/mono/; revision=132895
Zoltan Varga [Tue, 28 Apr 2009 21:22:05 +0000 (21:22 -0000)]
2009-04-28 Zoltan Varga <vargaz@gmail.com>
* configure.in: Define a TARGET_<ARCH> preprocessor symbol for some
architectures.
svn path=/trunk/mono/; revision=132894
Martin Baulig [Tue, 28 Apr 2009 21:05:24 +0000 (21:05 -0000)]
Fix the ChangeLog to reflect what's actually in SVN.
svn path=/trunk/mono/; revision=132890
Atsushi Eno [Tue, 28 Apr 2009 18:55:59 +0000 (18:55 -0000)]
2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
comments for magic numbers based on [MC-NMF].
* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
new test files.
* System.ServiceModel.dll_test.sources: added
BinaryMessageEncodingBindingElementTest.cs.
svn path=/trunk/mcs/; revision=132882
Atsushi Eno [Tue, 28 Apr 2009 18:50:16 +0000 (18:50 -0000)]
2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : implement part of in-band dictionary
support for [MC-NBFSE] record in [MC-NMF], in this class.
svn path=/trunk/mcs/; revision=132881
Atsushi Eno [Tue, 28 Apr 2009 18:46:45 +0000 (18:46 -0000)]
2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncodingBindingElement.cs : clear extra public members.
svn path=/trunk/mcs/; revision=132880
Atsushi Eno [Tue, 28 Apr 2009 18:44:40 +0000 (18:44 -0000)]
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : several fixes;
- Name property was always empty.
- Value property was always empty for attributes.
- TextIndex node type was not supported.
- node reset at Read() was incomplete.
- attribute Prefix for single character had wrong value.
- namespace nodes did not appear as attribute nodes.
- attribute value node must be always single. Another text node
means a text child of the element, not the following attr value.
tests will go in sys.servicemodel.
svn path=/trunk/mcs/; revision=132879
Zoltan Varga [Tue, 28 Apr 2009 18:11:45 +0000 (18:11 -0000)]
2009-04-28 Zoltan Varga <vargaz@gmail.com>
* image.c (mono_image_fixup_vtable): Avoid casting an lvalue. Fixes
part of #498692.
svn path=/trunk/mono/; revision=132875
Zoltan Varga [Tue, 28 Apr 2009 18:11:37 +0000 (18:11 -0000)]
2009-04-28 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.
svn path=/trunk/mono/; revision=132874
Zoltan Varga [Tue, 28 Apr 2009 17:58:08 +0000 (17:58 -0000)]
2009-04-23 Tom Hindle <tom_hindle@sil.org>
* cominterop.c (ves_icall_System_Runtime_InteropServices_Marshal_ReleaseComObjectInternal):
changed to match .Net behaviour of not aborting on additional calls to ReleaseComObject.
svn path=/trunk/mono/; revision=132872
Gonzalo Paniagua Javier [Tue, 28 Apr 2009 17:47:15 +0000 (17:47 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ConsoleTraceListener.cs: add an internal constructor that takes a
string argument. Used when 'initializeData' is set.
* DiagnosticsConfigurationHandler.cs: try internal constructors when
the assembly is System.
Fixes bug #498853.
svn path=/trunk/mcs/; revision=132868
Miguel de Icaza [Tue, 28 Apr 2009 17:46:09 +0000 (17:46 -0000)]
Update
svn path=/trunk/mcs/; revision=132867
Miguel de Icaza [Tue, 28 Apr 2009 17:28:42 +0000 (17:28 -0000)]
Update
svn path=/trunk/mono/; revision=132866
Miguel de Icaza [Tue, 28 Apr 2009 17:14:03 +0000 (17:14 -0000)]
Add more compat flags
svn path=/trunk/mcs/; revision=132864
Marek Safar [Tue, 28 Apr 2009 17:04:57 +0000 (17:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=132862
Marek Safar [Tue, 28 Apr 2009 17:02:37 +0000 (17:02 -0000)]
2009-04-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #495112
* class.cs (IsUnmanagedType): Handle recursive unmanaged types using
local cache.
svn path=/trunk/mcs/; revision=132861
Sebastien Pouliot [Tue, 28 Apr 2009 15:55:19 +0000 (15:55 -0000)]
In Test/System.Xml:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlReaderCommonTests.cs: Add test case for an empty string url
In System.Xml:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlTextReader.cs (InitializeContext): Under NET_2_1 do not give
a second change using Path.GetFullPath. (GetStreamFromUrl) Add
extra validations that would be missed in NET_2_1
svn path=/trunk/mcs/; revision=132856
Sebastien Pouliot [Tue, 28 Apr 2009 15:49:07 +0000 (15:49 -0000)]
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlReaderSettings.cs: Add MaxCharactersInDocument property for
NET_2_1 profile
* XmlUrlResolver.cs: Cleanup #ifdef NET_2_1 inside this file
since this is not used anymore in Moonlight
svn path=/trunk/mcs/; revision=132855
Sebastien Pouliot [Tue, 28 Apr 2009 15:36:50 +0000 (15:36 -0000)]
In System.Xml:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlXapResolver.cs: Remove dependency on XmlUrlResolver. Small
fixes wrt new unit tests (inside moon-unit).
In .:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_System.Xml.dll.sources: Remove XmlUrlResolver.cs
and the associated [SecuritySafeCritical] that it required
svn path=/trunk/mcs/; revision=132852
Sebastien Pouliot [Tue, 28 Apr 2009 15:23:37 +0000 (15:23 -0000)]
In Test/System.Xml:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlResolverTest.cs: New. Unit tests for base features.
In System.Xml:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlResolver.cs: Small fixes wrt new unit tests. Add SupportsType
method for NET_2_1 profile.
In .:
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* System.Xml_test.dll.sources: Add System.Xml/XmlResolverTest.cs to
the unit tests
svn path=/trunk/mcs/; revision=132851
Miguel de Icaza [Tue, 28 Apr 2009 14:53:29 +0000 (14:53 -0000)]
Update: +EXPR was never supported, just EXPR
svn path=/trunk/mono/; revision=132848
Sebastien Pouliot [Tue, 28 Apr 2009 14:08:15 +0000 (14:08 -0000)]
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c: Avoid redundant checks for platform code,
e.g. check for method and for class (very common) and check
for class and outer class (less common)...
svn path=/trunk/mono/; revision=132844
Sebastien Pouliot [Tue, 28 Apr 2009 12:35:47 +0000 (12:35 -0000)]
2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
* SocketException_2_1.cs: Remove extra ctor and property unused in 2.1
svn path=/trunk/mcs/; revision=132837
Marek Habersack [Tue, 28 Apr 2009 12:14:16 +0000 (12:14 -0000)]
2009-04-28 Marek Habersack <mhabersack@novell.com>
* GridView.cs: implemented ColumnsGenerator and enabled its use in
CreateColumns.
* DetailsView.cs: implemented the RowsGenerator property and
enabled its use in CreateFieldSet.
svn path=/trunk/mcs/; revision=132833
Marek Habersack [Tue, 28 Apr 2009 08:39:43 +0000 (08:39 -0000)]
2009-04-28 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx
2009-04-28 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompilerTest.cs: added test for bug #498637
2009-04-28 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: ProcessTag doesn't process a tag which is not
server-side and which has declarative expressions embedded. Fixes
bug #498637
2009-04-28 Marek Habersack <mhabersack@novell.com>
* NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx: added
svn path=/trunk/mcs/; revision=132812
Raja R Harinath [Tue, 28 Apr 2009 07:28:38 +0000 (07:28 -0000)]
Handle 3.5 profile better. Fix the build too
* Makefile (NAME_SUFFIX): New.
(LIBRARY_NAME): Use it.
(TEST_MCS_FLAGS): Don't mention name of library. Use NAME_SUFFIX
as appropriate when referring to other msbuild dlls.
svn path=/trunk/mcs/; revision=132811
Carlos Alberto Cortez [Tue, 28 Apr 2009 01:42:29 +0000 (01:42 -0000)]
2009-04-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: When losing the focus, if our textbox is not null,
close its auto complete list, if any.
Fixes part of #489339.
svn path=/trunk/mcs/; revision=132804
Miguel de Icaza [Mon, 27 Apr 2009 23:33:46 +0000 (23:33 -0000)]
svn path=/trunk/mcs/; revision=132797
Miguel de Icaza [Mon, 27 Apr 2009 23:07:17 +0000 (23:07 -0000)]
Only include the headers if available
svn path=/trunk/mono/; revision=132795
Sebastien Pouliot [Mon, 27 Apr 2009 21:17:06 +0000 (21:17 -0000)]
Makefile: Add missing Test/XmlFiles/496192.x* files to dist
svn path=/trunk/mcs/; revision=132788
Sebastien Pouliot [Mon, 27 Apr 2009 21:12:30 +0000 (21:12 -0000)]
2009-04-27 Sebastien Pouliot <sebastien@ximian.com>
* StreamReaderTest.cs: Fix build for NET_1_1
svn path=/trunk/mcs/; revision=132787
Andrés G. Aragoneses [Mon, 27 Apr 2009 20:32:41 +0000 (20:32 -0000)]
2009-04-27 Andrés G. Aragoneses <aaragoneses@novell.com>
* ListView.cs: Make OnColumnClick +internal to be used by a11y.
svn path=/trunk/mcs/; revision=132782
Brad Taylor [Mon, 27 Apr 2009 20:20:33 +0000 (20:20 -0000)]
2009-04-27 Brad Taylor <brad@getcoded.net>
* ToolStripButton.cs: Emit an internal event when CheckOnClick is
changed.
svn path=/trunk/mcs/; revision=132781
Zoltan Varga [Mon, 27 Apr 2009 20:06:04 +0000 (20:06 -0000)]
2009-04-27 Zoltan Varga <vargaz@gmail.com>
* custom-attr.cs: Add a test for #498545.
svn path=/trunk/mono/; revision=132779
Zoltan Varga [Mon, 27 Apr 2009 20:05:55 +0000 (20:05 -0000)]
2009-04-27 Zoltan Varga <vargaz@gmail.com>
* reflection.c: Avoid returning random cattrs for synthetic methods.
Fixes #498545.
svn path=/trunk/mono/; revision=132778
Zoltan Varga [Mon, 27 Apr 2009 20:05:43 +0000 (20:05 -0000)]
2009-04-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_create_specific_trampoline): Add a stat for the
number of trampolines used in full-aot mode.
* aot-compiler.c: Add an ntrampolines option to set the number of
trampolines emitted in full-aot mode.
svn path=/trunk/mono/; revision=132777
Sebastien Pouliot [Mon, 27 Apr 2009 19:07:56 +0000 (19:07 -0000)]
In System.Security:
2009-04-27 Sebastien Pouliot <sebastien@ximian.com>
* SecurityException.cs: Remove CAS-specific stuff from ToString
* SecurityManager.cs: Do not include for NET_2_1 build
* SecurityManager_2_1.cs: Alternate implementation for NET_2_1
In .:
2009-04-27 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Add new specific to 2.1 version of some
classes.
In System.Security.Policy:
2009-04-27 Sebastien Pouliot <sebastien@ximian.com>
* Evidence.cs: Custom GetDefaultHostEvidence for NET_2_1
* Hash.cs: Do not include for NET_2_1 build
* HashMembershipCondition.cs: Do not include for NET_2_1 build
* PolicyLevel.cs: Do not include for NET_2_1 build
* PolicyLevel_2_1.cs: Alternate implementation for NET_2_1
* Zone.cs: Do not include for NET_2_1 build
* ZoneMembershipCondition.cs: Do not include for NET_2_1 build
svn path=/trunk/mcs/; revision=132774
Gonzalo Paniagua Javier [Mon, 27 Apr 2009 16:33:52 +0000 (16:33 -0000)]
2009-04-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* assembly.c: assemblies in the GAC should never be shadow-copied.
svn path=/trunk/mono/; revision=132764
Ankit Jain [Mon, 27 Apr 2009 16:20:09 +0000 (16:20 -0000)]
* Engine.cs (BuildProjectFile): Set project's GlobalProperties to the
one passed as argument.
svn path=/trunk/mcs/; revision=132763
Atsushi Eno [Mon, 27 Apr 2009 15:56:10 +0000 (15:56 -0000)]
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : implemented some channel methods.
svn path=/trunk/mcs/; revision=132757
Atsushi Eno [Mon, 27 Apr 2009 15:54:40 +0000 (15:54 -0000)]
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
svn path=/trunk/mcs/; revision=132756
Atsushi Eno [Mon, 27 Apr 2009 14:40:43 +0000 (14:40 -0000)]
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntime.cs : some comment.
* ChannelDispatcher.cs : ongoing changes to handle listeners and
accepted channels at more precise state. Listeners are opened,
without accepting channels. Some setup code is done at OnOpen(),
while some are done at OnOpened().
* ServiceHost.cs : split dispatcher open from dispatcher loop start.
Use DispatchRuntime.Type to specify service type.
* ChannelDispatcherTest.cs : added a couple of EndpointDispatcher
state tests.
svn path=/trunk/mcs/; revision=132739
Jb Evain [Mon, 27 Apr 2009 14:33:12 +0000 (14:33 -0000)]
2009-04-27 Jb Evain <jbevain@novell.com>
* sync with CodePlex r10923.
svn path=/trunk/mcs/; revision=132736
Ankit Jain [Mon, 27 Apr 2009 11:42:12 +0000 (11:42 -0000)]
Improve support for compiling vb.net projects.
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
CreateVisualBasicManifestResourceNameTest.cs .
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* CreateCSharpManifestResourceName.cs (GetResourceIdFromFileName): Move
to ..
* CreateManifestResourceName.cs: .. here.
* CreateVisualBasicManifestResourceName.cs: Implement.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateVisualBasicManifestResourceNameTest.cs: New.
In class/Microsoft.Build.Tasks/Test/resources:
* Sample.vb: New.
In tools/xbuild:
* xbuild/Microsoft.VisualBasic.targets: Update to use
CreateVisualBasicManifestResourceName task, and fix compiler params.
svn path=/trunk/mcs/; revision=132723
Ankit Jain [Mon, 27 Apr 2009 11:41:53 +0000 (11:41 -0000)]
* Vbc.cs (AddResponseFileCommands): Escape DefineConstants as it can
contain double quotes itself. Fix /doc switch.
(EscapeDoubleQuotes): New.
svn path=/trunk/mcs/; revision=132722
Ankit Jain [Mon, 27 Apr 2009 11:41:38 +0000 (11:41 -0000)]
* TaskEngine.cs (Prepare): Emit a useful error message property value
can't be converted to required type.
svn path=/trunk/mcs/; revision=132721
Ankit Jain [Mon, 27 Apr 2009 11:41:06 +0000 (11:41 -0000)]
* ExpressionCollection.cs (ConvertToObject): Allow true/on/yes
as valid true values for bool, and corresponding for false.
svn path=/trunk/mcs/; revision=132720
Atsushi Eno [Mon, 27 Apr 2009 08:28:29 +0000 (08:28 -0000)]
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
svn path=/trunk/mcs/; revision=132711
Carlos Alberto Cortez [Mon, 27 Apr 2009 06:09:22 +0000 (06:09 -0000)]
2009-04-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Properly support UTF8 when handling the
SelectionRequest event - this is helpful supporting some window
managers, such KDE, that explictly request the text in utf8, as
opposed to gnome, that supports ascii.
Fixes #489393.
svn path=/trunk/mcs/; revision=132698
Carlos Alberto Cortez [Mon, 27 Apr 2009 02:05:40 +0000 (02:05 -0000)]
2009-04-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripDropDownItem.cs: When assigning a new
ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
Capture duties performed by Application/ToolStripManager are handled
nicely and we don't end up in an inconsisten stat.
Fixes #492815.
svn path=/trunk/mcs/; revision=132696
Zoltan Varga [Sun, 26 Apr 2009 22:39:33 +0000 (22:39 -0000)]
2009-04-27 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Implement OP_CHECK_THIS using
a volatile load. Get rid of get_tempname (), llvm assigns names
automatically.
* mini-llvm-cpp.cpp (mono_llvm_build_volatile_load): New instruction
builder function.
svn path=/trunk/mono/; revision=132691
Zoltan Varga [Sun, 26 Apr 2009 22:27:03 +0000 (22:27 -0000)]
2009-04-27 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Don't call LLVMGetParam on
a value.
* abcremoval.c (REPORT_ABC_REMOVAL): Don't output messages at verbose
level 1.
svn path=/trunk/mono/; revision=132690
Zoltan Varga [Sun, 26 Apr 2009 22:13:51 +0000 (22:13 -0000)]
2009-04-27 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_local_regalloc): Prevent sreg1/dreg to be allocated
to the same register as a fixed sreg2. Fixes #497271.
* iltests.il.in: Add a new test.
svn path=/trunk/mono/; revision=132689
Zoltan Varga [Sun, 26 Apr 2009 18:34:15 +0000 (18:34 -0000)]
2009-04-26 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c: Use moves instead of pushes for passing arguments on the
stack, since pushes complicate exception handling.
* exceptions-amd64.c (mono_arch_find_jit_info): Don't pop the arguments of
the stack if they are passed using moves.
svn path=/trunk/mono/; revision=132687
Zoltan Varga [Sun, 26 Apr 2009 18:31:57 +0000 (18:31 -0000)]
2009-04-26 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_llvm_vcall_trampoline): Add an assert.
* method-to-ir.c (mono_method_to_ir): Disable fast virtual generic methods
when using llvm.
* mini-llvm.c (mono_llvm_emit_method): Call jit icall wrappers, not the
icalls themselves. Convert arguments of FCOMPARE. Convert the destination
of FMOVE if it is an R4.
svn path=/trunk/mono/; revision=132686
Mark Probst [Sun, 26 Apr 2009 10:04:27 +0000 (10:04 -0000)]
Disable track resurrection hashes if using SGen.
2009-04-26 Mark Probst <mark.probst@gmail.com>
* domain.c, domain-internals.h: Disable
track_resurrection_{objects,handles}_hash in MonoDomain if using
SGen.
svn path=/trunk/mono/; revision=132681
Miguel de Icaza [Sat, 25 Apr 2009 19:34:34 +0000 (19:34 -0000)]
Add comment after much debate
svn path=/trunk/mcs/; revision=132672
Miguel de Icaza [Sat, 25 Apr 2009 19:32:34 +0000 (19:32 -0000)]
2009-04-25 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
load all the data that was added into the `stdin' stream when we
did the `Read'.
2009-04-25 Miguel de Icaza <miguel@novell.com>
* StreamReader.cs (DataAvailable): New internal function to work
around the fact that StreamReaders are now blocking on Peek(), and
that our own Console.TermInfoDriver used Peek() as a way of
probing if there was data on a stream before to avoid blocking. o
svn path=/trunk/mcs/; revision=132670
Miguel de Icaza [Sat, 25 Apr 2009 19:00:32 +0000 (19:00 -0000)]
Apply Gonzalo's patch to fix TermInfoDriver after his StreamReader changes
svn path=/trunk/mcs/; revision=132667
Miguel de Icaza [Sat, 25 Apr 2009 18:59:23 +0000 (18:59 -0000)]
Reapply
svn path=/trunk/mcs/; revision=132666
Zoltan Varga [Sat, 25 Apr 2009 18:47:02 +0000 (18:47 -0000)]
2009-04-25 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add OP_LLVM_OUTARG_VT opcode.
* mini.h (LLVMCallInfo): New structure to store calling convention
information for the LLVM back end similar to the CallInfo structures in
the back-ends.
* mini-amd64.c (mono_arch_get_llvm_call_info): New arch function to return
call information in a format usable by LLVM.
(mono_arch_emit_call): Move the LLVM handling code to mono_llvm_emit_call ().
* method-to-ir.c (mono_emit_call_args): Emit calls using
mono_llvm_emit_call () when compiling using LLVM.
* mini-llvm.c: Implement support for passing/receiving valuetypes. Add
comments to all functions. Fix memory leaks. Add a public init/cleanup
function.
* mini.c: Call the llvm init/cleanup functions in mini_init()/cleanup().
* method-to-ir.c (handle_array_new): Disable llvm when calling the vararg
mono_array_new_va () jit icall.
svn path=/trunk/mono/; revision=132665
Carlos Alberto Cortez [Sat, 25 Apr 2009 16:50:06 +0000 (16:50 -0000)]
2009-04-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
any ToolStripDropDownItem when receiving a mouse down event in an
empty area.
svn path=/trunk/mcs/; revision=132664
Sebastien Pouliot [Sat, 25 Apr 2009 15:57:46 +0000 (15:57 -0000)]
2009-04-25 Sebastien Pouliot <sebastien@ximian.com>
* *.cs: Exclude the files for the NET_2_1 profile, since they are
unneeded and adds a bunch (23) [SecuritySafeCritical] to audit for
Moonlight
svn path=/trunk/mcs/; revision=132663