Zoltan Varga [Fri, 8 Aug 2008 17:17:37 +0000 (17:17 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_get_throw_exception_generic): Add AOT support.
svn path=/trunk/mono/; revision=109990
Zoltan Varga [Fri, 8 Aug 2008 17:11:26 +0000 (17:11 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c mini.c driver.c aot-compiler.c: Update after
mono_marshal_get_native_wrapper () signature changes.
svn path=/trunk/mono/; revision=109988
Zoltan Varga [Fri, 8 Aug 2008 17:08:43 +0000 (17:08 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_native_wrapper): Add an 'aot' argument, when
it is set, looking up the icall address is deferred to the JIT, since
in embedded scenarios, the icall might not be registered in the runtime
doing the AOT compilation. Backported from the 2.0 branch.
svn path=/trunk/mono/; revision=109987
Zoltan Varga [Fri, 8 Aug 2008 17:07:40 +0000 (17:07 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* cil-opcodes.xml: Add an 'icall_addr' opcode.
svn path=/trunk/mono/; revision=109986
Gert Driesen [Fri, 8 Aug 2008 16:58:46 +0000 (16:58 -0000)]
* TestIcon.cs: Modified test for bug #410608 to work around bug
#415809.
svn path=/trunk/mcs/; revision=109985
Sebastien Pouliot [Fri, 8 Aug 2008 15:40:20 +0000 (15:40 -0000)]
2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Remove a few attributes for SL2
svn path=/trunk/mcs/; revision=109976
Zoltan Varga [Fri, 8 Aug 2008 15:23:54 +0000 (15:23 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* mono.1: Remove no-dlsym aot option for now.
svn path=/trunk/mono/; revision=109974
Zoltan Varga [Fri, 8 Aug 2008 15:16:52 +0000 (15:16 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* mono.1: Document the 'static' aot option.
svn path=/trunk/mono/; revision=109971
Zoltan Varga [Fri, 8 Aug 2008 15:00:46 +0000 (15:00 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* nullable_boxing.2.cs: Add test for #415621.
svn path=/trunk/mono/; revision=109970
Zoltan Varga [Fri, 8 Aug 2008 14:58:26 +0000 (14:58 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_remoting_wrapper): Handle nullable types correctly.
Fixes #415621.
svn path=/trunk/mono/; revision=109968
Sebastien Pouliot [Fri, 8 Aug 2008 14:11:51 +0000 (14:11 -0000)]
2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate20.cs: Remove reference to X509ContentType.Pfx and
SerializedCert since they are not available in SL 2.0
* X509ContentType.cs: Remove values not available in SL 2.0
* X509KeyStorageFlags.cs: Remove values not available in SL 2.0
svn path=/trunk/mcs/; revision=109964
Marek Safar [Fri, 8 Aug 2008 10:33:09 +0000 (10:33 -0000)]
Warnings cleanup.
svn path=/trunk/mcs/; revision=109956
Marek Safar [Fri, 8 Aug 2008 10:21:39 +0000 (10:21 -0000)]
2008-08-08 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, ecore.cs: Ambiguous operators can come from different
classes.
svn path=/trunk/mcs/; revision=109955
Marek Habersack [Fri, 8 Aug 2008 09:52:29 +0000 (09:52 -0000)]
2008-08-08 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: a better bugfix for bug #412495.
Do not call RootNode within BuildSiteMap, as it induces
recursion. Fixes bug #415685.
svn path=/trunk/mcs/; revision=109952
Marek Safar [Fri, 8 Aug 2008 09:10:06 +0000 (09:10 -0000)]
2008-08-08 Marek Safar <marek.safar@gmail.com>
* convert.cs, delegate.cs: Fixed delegate compatibility conversion.
svn path=/trunk/mcs/; revision=109950
Jb Evain [Fri, 8 Aug 2008 08:41:14 +0000 (08:41 -0000)]
fix #415644
svn path=/trunk/mcs/; revision=109948
Marek Habersack [Fri, 8 Aug 2008 01:14:59 +0000 (01:14 -0000)]
2008-08-08 Marek Habersack <mhabersack@novell.com>
* StateManagedCollection.cs: set all the contained objects state
to dirty in SetDirty.
svn path=/trunk/mcs/; revision=109932
Marek Habersack [Fri, 8 Aug 2008 00:36:27 +0000 (00:36 -0000)]
2008-08-08 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: do not check whether a panel whose children are
to be rendered has been marked for update in the async postback
mode. It prevents complex scenarios where there is one superior
update panel which owns an inferior one, and only the superior one
has Update called on it.
svn path=/trunk/mcs/; revision=109922
Sebastien Pouliot [Thu, 7 Aug 2008 18:19:09 +0000 (18:19 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* Aes.cs: Don't set the (unexisting) FeedbackSizeValue field
for NET_2_1
* AesTransform.cs: Remove code for blocksize != 128 bits
svn path=/trunk/mcs/; revision=109898
Sebastien Pouliot [Thu, 7 Aug 2008 18:17:56 +0000 (18:17 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* CryptoTools.cs: Make this usable with Silverlight 2.0 (NET_2_1)
* SymmetricTransform.cs: Make this (more) usable with SL2 limited
crypto support.
svn path=/trunk/mcs/; revision=109897
Sebastien Pouliot [Thu, 7 Aug 2008 18:17:26 +0000 (18:17 -0000)]
corlib.dll.sources: Add System.Security/SecurityState.cs
svn path=/trunk/mcs/; revision=109896
Sebastien Pouliot [Thu, 7 Aug 2008 18:16:13 +0000 (18:16 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* MiniParser.cs: Remove. It is not used anymore inside corlib
svn path=/trunk/mcs/; revision=109895
Sebastien Pouliot [Thu, 7 Aug 2008 18:15:04 +0000 (18:15 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* SecurityState.cs: New. Silverlight 2.0 abstract type.
svn path=/trunk/mcs/; revision=109894
Sebastien Pouliot [Thu, 7 Aug 2008 18:13:50 +0000 (18:13 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricAlgorithm.cs: Hide some protected fields not present in
Silverlight 2.0 (NET_2_1)
svn path=/trunk/mcs/; revision=109893
Sebastien Pouliot [Thu, 7 Aug 2008 18:12:17 +0000 (18:12 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Make this (more) usable with SL2 limited
crypto support.
svn path=/trunk/mcs/; revision=109892
Rodrigo Kumpera [Thu, 7 Aug 2008 17:33:04 +0000 (17:33 -0000)]
2008-08-07 Rodrigo Kumpera <rkumpera@novell.com>
* jit-icalls.c (mono_fconv_ovf_u8): Work around soft-float double to long
conversion bug under arm.
svn path=/trunk/mono/; revision=109882
Gert Driesen [Thu, 7 Aug 2008 17:21:30 +0000 (17:21 -0000)]
* TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
on bug #323511.
svn path=/trunk/mcs/; revision=109880
Gert Driesen [Thu, 7 Aug 2008 16:58:15 +0000 (16:58 -0000)]
* Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
and imageData until after the number of entries was determined to
cope with skipping of 256x256 icons. Fixes bug #410608.
* Makefile: Add 323511.ico.
* TestIcon.cs: Add test case for bug #410608.
svn path=/trunk/mcs/; revision=109879
Jb Evain [Thu, 7 Aug 2008 15:37:25 +0000 (15:37 -0000)]
add helper target
svn path=/trunk/mcs/; revision=109869
Marek Safar [Thu, 7 Aug 2008 15:25:58 +0000 (15:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109868
Marek Safar [Thu, 7 Aug 2008 15:25:45 +0000 (15:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109867
Marek Safar [Thu, 7 Aug 2008 15:24:50 +0000 (15:24 -0000)]
2008-08-07 Marek Safar <marek.safar@gmail.com>
* class.cs, decl.cs, iterator.cs, ecore.cs: Refactor base type resolving.
Also fixes #362146 and #381592.
svn path=/trunk/mcs/; revision=109866
Ivan Zlatev [Thu, 7 Aug 2008 14:44:11 +0000 (14:44 -0000)]
2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Check if current property is a ICustomTypeDescriptor
and not the parent one (the propertyowner). Fixes the behavior of
GetConverter/GetEditor.
[Fixes bug #415452]
svn path=/trunk/mcs/; revision=109864
Ivan Zlatev [Thu, 7 Aug 2008 14:38:04 +0000 (14:38 -0000)]
2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
[Fixes part of bug #415452]
svn path=/trunk/mcs/; revision=109862
Atsushi Eno [Thu, 7 Aug 2008 14:06:36 +0000 (14:06 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* SmtpClient.cs : Fixed bug #392809, patch by Ted Unangst. Text body
was not copied to byte array which is being sent.
svn path=/trunk/mcs/; revision=109861
Sebastien Pouliot [Thu, 7 Aug 2008 14:02:01 +0000 (14:02 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* GenericUriParserOptions.cs: Add new values for SL2 (NET_2_1)
* UriFormatException.cs: Add ctor(string,Exception) for SL2 (NET_2_1)
* UriIdnScope.cs: Fix values
svn path=/trunk/mcs/; revision=109860
Jb Evain [Thu, 7 Aug 2008 13:49:28 +0000 (13:49 -0000)]
2008-08-07 Jb Evain <jbevain@novell.com>
* Expression.cs (GetAssociatedProperty): strengthen accessors
comparisons.
svn path=/trunk/mcs/; revision=109858
Sebastien Pouliot [Thu, 7 Aug 2008 13:45:50 +0000 (13:45 -0000)]
net_2_1_raw_System.dll.sources: Add existing System/UriIdnScope.cs
svn path=/trunk/mcs/; revision=109857
Sebastien Pouliot [Thu, 7 Aug 2008 13:38:17 +0000 (13:38 -0000)]
System_test.dll.sources: Add System.ComponentModel/DefaultValueAttributeTest.cs to the test suite
svn path=/trunk/mcs/; revision=109855
Sebastien Pouliot [Thu, 7 Aug 2008 13:36:58 +0000 (13:36 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* DefaultValueAttributeTest.cs: New. A few unit tests for
DefaultValueAttribute - showing problems in Equals and GetHashCode.
svn path=/trunk/mcs/; revision=109854
Sebastien Pouliot [Thu, 7 Aug 2008 13:36:27 +0000 (13:36 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* DefaultValueAttribute.cs: Fix Equals (wrt boxing) and
GetHashCode (wrt NRE on null Value).
* PropertyChangedEventArgs.cs: Property PropertyName is not
virtual for NET_2_1
svn path=/trunk/mcs/; revision=109853
Atsushi Eno [Thu, 7 Aug 2008 12:24:18 +0000 (12:24 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* set Algorithm in .ctor(bool), fixed bug #398904.
svn path=/trunk/mcs/; revision=109851
Atsushi Eno [Thu, 7 Aug 2008 12:18:36 +0000 (12:18 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : zzzz format allows non-fixed length of number, even
in exact parsing mode. Fixed bug #377042.
* DateTimeTest.cs : added test for bug #377042.
svn path=/trunk/mcs/; revision=109847
Marek Safar [Thu, 7 Aug 2008 11:56:07 +0000 (11:56 -0000)]
2008-08-07 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Reduced constant cannot be used as an attribute value.
* cs-parser.jay: Base expression has to be a type.
* expression.cs (Conditional): Uses ReducedExpression.
svn path=/trunk/mcs/; revision=109846
Raja R Harinath [Thu, 7 Aug 2008 11:41:24 +0000 (11:41 -0000)]
update
svn path=/trunk/mcs/; revision=109843
Atsushi Eno [Thu, 7 Aug 2008 08:30:02 +0000 (08:30 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs : fixed bug #387878, patch by Ted Unangst.
The number of generic type arguments must not be assumed as less
than 10.
svn path=/trunk/mcs/; revision=109837
Sebastien Pouliot [Thu, 7 Aug 2008 02:05:52 +0000 (02:05 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* XmlDsigC14NTransform.cs,
* XmlDsigExcC14NTransform.cs
* XmlDsigXsltTransform.cs: Don't use is + as.
[Found using Gendarme AvoidRepetitiveCastsRule]
svn path=/trunk/mcs/; revision=109819
Rodrigo Kumpera [Thu, 7 Aug 2008 00:53:21 +0000 (00:53 -0000)]
2008-08-06 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-arm.md: Increase long_conv_to_ovf_i4_2 max length to 36.
* mini-arm.c (mono_arch_output_basic_block): Implement long to int conversion
with overflow checking.
svn path=/trunk/mono/; revision=109817
Sebastien Pouliot [Thu, 7 Aug 2008 00:26:28 +0000 (00:26 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* ToolboxItem.cs: (Initialize) Avoid casting image to Bitmap 2 times.
[Found using Gendarme]
svn path=/trunk/mcs/; revision=109814
Sebastien Pouliot [Thu, 7 Aug 2008 00:20:17 +0000 (00:20 -0000)]
System.Drawing_test.dll.sources: Add System.Drawing.Imaging.FrameDimension unit tests to the build
svn path=/trunk/mcs/; revision=109813
Sebastien Pouliot [Thu, 7 Aug 2008 00:19:00 +0000 (00:19 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* FrameDimensionTest.cs: New. Unit tests for FrameDimension
svn path=/trunk/mcs/; revision=109812
Sebastien Pouliot [Thu, 7 Aug 2008 00:18:04 +0000 (00:18 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* FrameDimension.cs: Fix double-cast in Equals (found using Gendarme).
Then fixed a lot of other things while creating unit tests for it.
svn path=/trunk/mcs/; revision=109811
Sebastien Pouliot [Wed, 6 Aug 2008 23:52:01 +0000 (23:52 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* Debug_2_1.cs: Add missing [Conditional] attributes.
svn path=/trunk/mcs/; revision=109803
Miguel de Icaza [Wed, 6 Aug 2008 23:34:16 +0000 (23:34 -0000)]
2008-08-06 Miguel de Icaza <miguel@novell.com>
* Uri.cs: Use exception-less operations.
2008-08-06 Miguel de Icaza <miguel@novell.com>
* IPAddress.cs (ParseIPV6): Use an exception-less parser for ipv6
addresses.
* IPv6Address.cs: Rewrite most of the parsing code to not use that
incredibly fragile, hacky and hacky implementation.
(TryParse): Provide a exception-less parsing path.
svn path=/trunk/mcs/; revision=109802
Miguel de Icaza [Wed, 6 Aug 2008 23:11:19 +0000 (23:11 -0000)]
Add missing test
svn path=/trunk/mcs/; revision=109801
Sebastien Pouliot [Wed, 6 Aug 2008 21:05:27 +0000 (21:05 -0000)]
net_2_1_raw_System.dll.sources: Add System.CodeDom.Compiler/GeneratedCodeAttribute.cs since it's part of SL2 beta 2.
svn path=/trunk/mcs/; revision=109793
Marek Habersack [Wed, 6 Aug 2008 18:25:14 +0000 (18:25 -0000)]
Assembly comparison is not needed in this case
svn path=/trunk/mcs/; revision=109776
Marek Habersack [Wed, 6 Aug 2008 18:16:42 +0000 (18:16 -0000)]
2008-08-06 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: handle situation when a property of
a control for which we're generating the code is of type
'Type'. In such case, variable.GetType() will return
System.MonoType, which must not be output to the generated
source. Thanks to Robert Jordan for giving the idea for the hack!
svn path=/trunk/mcs/; revision=109773
Marek Safar [Wed, 6 Aug 2008 16:10:54 +0000 (16:10 -0000)]
New test.
svn path=/trunk/mcs/; revision=109763
Marek Safar [Wed, 6 Aug 2008 16:09:38 +0000 (16:09 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109762
Marek Safar [Wed, 6 Aug 2008 16:09:18 +0000 (16:09 -0000)]
2008-08-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #376826
* parameter.cs, ecore.cs, anonymous.cs, expression.cs, statement.cs: An
address of hoisted local variable or parameter cannot be taken.
svn path=/trunk/mcs/; revision=109761
Zoltan Varga [Wed, 6 Aug 2008 13:30:36 +0000 (13:30 -0000)]
2008-08-06 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (EXTRA_DIST): Add dtrace-prelink.sh and build-mingw32.sh.
* scripts/Makefile.am (EXTRA_DIST): Add patch-quiet.sh.
svn path=/trunk/mono/; revision=109756
Ankit Jain [Wed, 6 Aug 2008 12:54:38 +0000 (12:54 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* Csc.cs (AddResponseFileCommands): Don't quote DefineConstants.
Correctly handle response filenames and win32 resource switch.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CscTest.cs: Alter tests to checking for quoting in various switches.
svn path=/trunk/mcs/; revision=109753
Ankit Jain [Wed, 6 Aug 2008 11:08:53 +0000 (11:08 -0000)]
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* CommandLineBuilder.cs (AppendSwitchIfNotNull): Quote individual items
of the array.
In class/Microsoft.Build.Utilities/Test/Microsoft.Build.Utilities:
* CommandLineBuilderTest.cs: Add more tests.
svn path=/trunk/mcs/; revision=109747
Atsushi Eno [Wed, 6 Aug 2008 10:20:58 +0000 (10:20 -0000)]
2008-08-06 Atsushi Enomoto <atsushi@ximian.com>
* IPGlobalProperties.cs : fixed ToEndPoint() to not bork at
parsing IPv6 string. Fixed bug #410006.
svn path=/trunk/mcs/; revision=109745
Atsushi Eno [Wed, 6 Aug 2008 05:21:04 +0000 (05:21 -0000)]
2008-08-06 Atsushi Enomoto <atsushi@ximian.com>
* IPAddress.cs : several IPv4 parsing fix exposed by bug #411920.
* IPAddressTest.cs : added test strings for bug #411920 as well as
enabling some ipv4ParseOK strings.
svn path=/trunk/mcs/; revision=109737
Sebastien Pouliot [Tue, 5 Aug 2008 20:45:26 +0000 (20:45 -0000)]
2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
* System.Core.dll.sources: Add new files for crypto.
* System.Core_test.dll.sources: Add crypto unit tests.
svn path=/trunk/mcs/; revision=109711
Sebastien Pouliot [Tue, 5 Aug 2008 20:45:02 +0000 (20:45 -0000)]
2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
* CngAlgorithmGroupTest.cs: New. Unit tests.
* CngAlgorithmTest.cs: New. Unit tests.
* MD5CngTest.cs: New. MD5 unit tests.
* SHA1CngTest.cs: New. SHA1 unit tests.
* SHA256CngTest.cs: New. SHA256 unit tests.
* SHA256CryptoServiceProviderTest.cs: New. SHA256 unit tests.
* SHA384CngTest.cs: New. SHA384 unit tests.
* SHA384CryptoServiceProviderTest.cs: New. SHA384 unit tests.
* SHA512CngTest.cs: New. SHA512 unit tests.
* SHA512CryptoServiceProviderTest.cs: New. SHA512 unit tests.
svn path=/trunk/mcs/; revision=109710
Sebastien Pouliot [Tue, 5 Aug 2008 20:44:38 +0000 (20:44 -0000)]
2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
* Aes.cs: New. Base class for AES cipher.
* AesCryptoServiceProvider.cs: New. CSP implementation
of AES. For mono we're reusing the managed AesTransform
* AesManaged.cs: New. Managed implementation of AES.
* AesTransform.cs: New. Actual managed code for AES.
* CngAlgorithm.cs: New.
* CngAlgorithmGroup.cs: New.
* MD5Cng.cs: New. Generated code.
* SHA1Cng.cs: New. Generated code.
* SHA256Cng.cs: New. Generated code.
* SHA256CryptoServiceProvider.cs: New. Generated code.
* SHA384Cng.cs: New. Generated code.
* SHA384CryptoServiceProvider.cs: New. Generated code.
* SHA512Cng.cs: New. Generated code.
* SHA512CryptoServiceProvider.cs: New. Generated code.
svn path=/trunk/mcs/; revision=109709
Sebastien Pouliot [Tue, 5 Aug 2008 20:43:22 +0000 (20:43 -0000)]
2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
* hashwrap.cs: Build wrappers around managed hash implementations
for CNG and CSP types.
* Makefile: Build tools and wrappers.
svn path=/trunk/mcs/; revision=109708
Ivan Zlatev [Tue, 5 Aug 2008 20:39:18 +0000 (20:39 -0000)]
2008-08-05 Ivan N. Zlatev <contact@i-nz.net>
* ApplicationSettingsBase.cs: If there is no explicit
SettingsSerializeAs attribute to specify the format, distinguish
between plain string and XML by checking if the TypeConverter for the
property type supports string conversions. If it doesn't then we are
present with XML.
[Fixes bug #414445]
svn path=/trunk/mcs/; revision=109706
Sebastien Pouliot [Tue, 5 Aug 2008 20:38:43 +0000 (20:38 -0000)]
2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
* CryptoTools.cs: Make this usable with Silverlight 2.0 (NET_2_1)
svn path=/trunk/mcs/; revision=109705
Gert Driesen [Tue, 5 Aug 2008 18:49:19 +0000 (18:49 -0000)]
* SoapHexBinary.cs: In Byte [] ctor, actually save the value. Fixes
bug #414373. In Parse, when passed in value has uneven length throw
a RemotingException. On 2.0 profile, throw RemotingException for
invalid hex digits.
* SoapHexBinaryTest.cs: New. Simple ctor and properties tests.
* corlib_test.dll.sources: Add SoapHexBinaryTest.cs.
svn path=/trunk/mcs/; revision=109696
Marek Habersack [Tue, 5 Aug 2008 18:04:55 +0000 (18:04 -0000)]
2008-08-05 Marek Habersack <mhabersack@novell.com>
* configure.in: use the PKG_CONFIG_PATH only when cross-compiling.
svn path=/trunk/mono/; revision=109691
Ivan Zlatev [Tue, 5 Aug 2008 14:38:24 +0000 (14:38 -0000)]
2008-08-05 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: ITypeDescriptorContext should be relative to the parent
GridEntry, not the current.
[Fixes bug #413896]
svn path=/trunk/mcs/; revision=109683
Marek Safar [Tue, 5 Aug 2008 13:18:16 +0000 (13:18 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109677
Marek Safar [Tue, 5 Aug 2008 13:18:03 +0000 (13:18 -0000)]
2008-08-05 Marek Safar <marek.safar@gmail.com>
* ecore.cs, constant.cs, expression.cs, statement.cs: Resolve correctly
anonymous method inside checked/unchecked expression.
svn path=/trunk/mcs/; revision=109676
Marek Habersack [Tue, 5 Aug 2008 12:13:51 +0000 (12:13 -0000)]
2008-08-05 Marek Habersack <mhabersack@novell.com>
* configure.in: added support for cross-compilation
2008-08-05 Marek Habersack <mhabersack@novell.com>
* build-mingw32.sh: added a script to build Mono for Windows on a
Linux host using mingw.
2008-08-05 Marek Habersack <mhabersack@novell.com>
* scripts/Makefile.am: added support for cross-compilation,
including .bat generation for windows targets.
2008-08-05 Marek Habersack <mhabersack@novell.com>
* scripts/smcs.bat.in, scripts/script.bat.in,
scripts/script_umask.bat.in: added .bat templates.
2008-08-05 Marek Habersack <mhabersack@novell.com>
* runtime/Makefile.am: mingw cross-compilation support.
2008-08-05 Marek Habersack <mhabersack@novell.com>
* Makefile.am (GENMDESC_PRG): when cross-compiling use full path
to the genmdesc.pl file
2008-08-05 Marek Habersack <mhabersack@novell.com>
* Makefile.am: added support for cross-compilation
svn path=/trunk/mono/; revision=109671
Andreas Färber [Tue, 5 Aug 2008 11:37:46 +0000 (11:37 -0000)]
2008-08-05 Andreas Faerber <andreas.faerber@web.de>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
In eglib:
2008-08-05 Andreas Faerber <andreas.faerber@web.de>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
In libgc:
2008-08-05 Andreas Faerber <andreas.faerber@web.de>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=109666
Jb Evain [Tue, 5 Aug 2008 11:16:33 +0000 (11:16 -0000)]
2008-08-05 Jb Evain <jbevain@novell.com>
* String.cs: add new NET_2_1 Compare methods.
svn path=/trunk/mcs/; revision=109662
Jb Evain [Tue, 5 Aug 2008 10:45:16 +0000 (10:45 -0000)]
ifdef out ResetAbort for SL2
svn path=/trunk/mcs/; revision=109659
Jb Evain [Tue, 5 Aug 2008 10:37:12 +0000 (10:37 -0000)]
2008-08-05 Jb Evain <jbevain@novell.com>
* XmlConvert.cs (ToChar): add a specific SL2 version.
svn path=/trunk/mcs/; revision=109658
Jb Evain [Tue, 5 Aug 2008 10:11:25 +0000 (10:11 -0000)]
use sl compatible hack
svn path=/trunk/mcs/; revision=109657
Jb Evain [Tue, 5 Aug 2008 09:58:07 +0000 (09:58 -0000)]
2008-08-05 Jb Evain <jbevain@novell.com>
* CaseInsensitiveHashCodeProvider.cs: refactor CultureInfo
comparison to also work for SL2.
svn path=/trunk/mcs/; revision=109653
Raja R Harinath [Tue, 5 Aug 2008 09:47:50 +0000 (09:47 -0000)]
refresh
svn path=/trunk/mcs/; revision=109652
Jb Evain [Tue, 5 Aug 2008 09:31:22 +0000 (09:31 -0000)]
2008-08-05 Jb Evain <jbevain@novell.com>
* Mono.Tuner/CheckVisibility.cs: properly verify famorassem.
svn path=/trunk/mcs/; revision=109651
Marek Safar [Tue, 5 Aug 2008 09:22:09 +0000 (09:22 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109649
Marek Safar [Tue, 5 Aug 2008 09:20:33 +0000 (09:20 -0000)]
New test.
svn path=/trunk/mcs/; revision=109647
Marek Safar [Tue, 5 Aug 2008 09:18:35 +0000 (09:18 -0000)]
2008-08-05 Marek Safar <marek.safar@gmail.com>
* typemanager.cs (IsEqual): Guard against null.
* ecore.cs, class.cs, convert.cs, const.cs, constant.cs, expression.cs,
attribute.cs, enum.cs, statement.cs: Pass EmitContext to constant conversion
routine. Fixed few misleading conversion errors.
svn path=/trunk/mcs/; revision=109645
Atsushi Eno [Tue, 5 Aug 2008 05:36:44 +0000 (05:36 -0000)]
2008-08-05 Atsushi Enomoto <atsushi@ximian.com>
* WebClient.cs : it should not invoke delegate directly, but should
call overridable OnDownloadProgressChanged.
svn path=/trunk/mcs/; revision=109641
Zoltan Varga [Tue, 5 Aug 2008 01:08:55 +0000 (01:08 -0000)]
2008-08-05 Zoltan Varga <vargaz@gmail.com>
* ir-emit.h (EMIT_NEW_ARGSTORE): Fix the usage of param_types and
arg_array in the soft-float versions of the LOAD/STORE macros.
* method-to-ir.c (mono_method_to_ir2): Fix a warning in the arm switch
implementation.
svn path=/trunk/mono/; revision=109634
Zoltan Varga [Tue, 5 Aug 2008 00:11:50 +0000 (00:11 -0000)]
2008-08-05 Zoltan Varga <vargaz@gmail.com>
* ir-emit.h (NEW_VARLOADA): Handle SOFT_FLOAT correctly.
svn path=/trunk/mono/; revision=109631
Zoltan Varga [Mon, 4 Aug 2008 21:21:22 +0000 (21:21 -0000)]
2008-08-04 Zoltan Varga <vargaz@gmail.com>
* SqliteParameterUnitTests.cs: Disable the InsertRandomValuesWithParameter
test as it fails randomly.
svn path=/trunk/mcs/; revision=109620
Ivan Zlatev [Mon, 4 Aug 2008 20:04:55 +0000 (20:04 -0000)]
2008-08-04 Ivan N. Zlatev <contact@i-nz.net>
* TextBoxBase.cs: De-internalize max_length field.
* RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox
share the same logic.
[Fixes bug #414454]
svn path=/trunk/mcs/; revision=109611
Raja R Harinath [Mon, 4 Aug 2008 18:59:39 +0000 (18:59 -0000)]
refresh
svn path=/trunk/mcs/; revision=109606
Zoltan Varga [Mon, 4 Aug 2008 18:57:49 +0000 (18:57 -0000)]
2008-08-04 Zoltan Varga <vargaz@gmail.com>
* socket-io.c (get_socket_assembly): Make 'moonlight' variable static.
svn path=/trunk/mono/; revision=109604
Bill Holmes [Mon, 4 Aug 2008 18:10:34 +0000 (18:10 -0000)]
2008-08-04 Bill Holmes <billholmes54@gmail.com>
* test/tests.h, test/Makefile.am, test/memory.c : Adding memory tests to test
allocation routines return NULL when 0 size is passed in.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=109599
Zoltan Varga [Mon, 4 Aug 2008 15:21:11 +0000 (15:21 -0000)]
2008-08-04 Zoltan Varga <vargaz@gmail.com>
* rules.make (PROFILE): If no profile is passed on the command line, make
net_2_0 the default.
svn path=/trunk/mcs/; revision=109587
Marek Safar [Mon, 4 Aug 2008 15:06:54 +0000 (15:06 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109584
Marek Safar [Mon, 4 Aug 2008 15:06:40 +0000 (15:06 -0000)]
2008-08-04 Marek Safar <marek.safar@gmail.com>
* class.cs: Consider generics when checking cycles in struct layout.
svn path=/trunk/mcs/; revision=109583