mono.git
15 years agocorlib.dll.sources: Add System.Security/SecurityState.cs
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago* TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
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

15 years ago* Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
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

15 years agoadd helper target
Jb Evain [Thu, 7 Aug 2008 15:37:25 +0000 (15:37 -0000)]
add helper target

svn path=/trunk/mcs/; revision=109869

15 years agoNew tests.
Marek Safar [Thu, 7 Aug 2008 15:25:58 +0000 (15:25 -0000)]
New tests.

svn path=/trunk/mcs/; revision=109868

15 years agoNew tests.
Marek Safar [Thu, 7 Aug 2008 15:25:45 +0000 (15:25 -0000)]
New tests.

svn path=/trunk/mcs/; revision=109867

15 years ago2008-08-07 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Jb Evain <jbevain@novell.com>
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

15 years agonet_2_1_raw_System.dll.sources: Add existing System/UriIdnScope.cs
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

15 years agoSystem_test.dll.sources: Add System.ComponentModel/DefaultValueAttributeTest.cs to...
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-07 Marek Safar <marek.safar@gmail.com>
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

15 years agoupdate
Raja R Harinath [Thu, 7 Aug 2008 11:41:24 +0000 (11:41 -0000)]
update

svn path=/trunk/mcs/; revision=109843

15 years ago2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-06 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
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

15 years agoSystem.Drawing_test.dll.sources: Add System.Drawing.Imaging.FrameDimension unit tests...
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

15 years ago2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-06 Miguel de Icaza <miguel@novell.com>
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

15 years agoAdd missing test
Miguel de Icaza [Wed, 6 Aug 2008 23:11:19 +0000 (23:11 -0000)]
Add missing test

svn path=/trunk/mcs/; revision=109801

15 years agonet_2_1_raw_System.dll.sources: Add System.CodeDom.Compiler/GeneratedCodeAttribute...
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

15 years agoAssembly comparison is not needed in this case
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

15 years ago2008-08-06 Marek Habersack <mhabersack@novell.com>
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

15 years agoNew test.
Marek Safar [Wed, 6 Aug 2008 16:10:54 +0000 (16:10 -0000)]
New test.

svn path=/trunk/mcs/; revision=109763

15 years agoNew tests.
Marek Safar [Wed, 6 Aug 2008 16:09:38 +0000 (16:09 -0000)]
New tests.

svn path=/trunk/mcs/; revision=109762

15 years ago2008-08-06 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-08-06 Zoltan Varga <vargaz@gmail.com>
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

15 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
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

15 years agoIn class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
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

15 years ago2008-08-06 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-06 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-08-05 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-08-05 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago* SoapHexBinary.cs: In Byte [] ctor, actually save the value. Fixes
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

15 years ago2008-08-05 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-08-05 Ivan N. Zlatev <contact@i-nz.net>
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

15 years agoNew tests.
Marek Safar [Tue, 5 Aug 2008 13:18:16 +0000 (13:18 -0000)]
New tests.

svn path=/trunk/mcs/; revision=109677

15 years ago2008-08-05 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-08-05 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-08-05 Andreas Faerber <andreas.faerber@web.de>
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

15 years ago2008-08-05 Jb Evain <jbevain@novell.com>
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

15 years agoifdef out ResetAbort for SL2
Jb Evain [Tue, 5 Aug 2008 10:45:16 +0000 (10:45 -0000)]
ifdef out ResetAbort for SL2

svn path=/trunk/mcs/; revision=109659

15 years ago2008-08-05 Jb Evain <jbevain@novell.com>
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

15 years agouse sl compatible hack
Jb Evain [Tue, 5 Aug 2008 10:11:25 +0000 (10:11 -0000)]
use sl compatible hack

svn path=/trunk/mcs/; revision=109657

15 years ago2008-08-05 Jb Evain <jbevain@novell.com>
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

15 years agorefresh
Raja R Harinath [Tue, 5 Aug 2008 09:47:50 +0000 (09:47 -0000)]
refresh

svn path=/trunk/mcs/; revision=109652

15 years ago2008-08-05 Jb Evain <jbevain@novell.com>
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

15 years agoNew tests.
Marek Safar [Tue, 5 Aug 2008 09:22:09 +0000 (09:22 -0000)]
New tests.

svn path=/trunk/mcs/; revision=109649

15 years agoNew test.
Marek Safar [Tue, 5 Aug 2008 09:20:33 +0000 (09:20 -0000)]
New test.

svn path=/trunk/mcs/; revision=109647

15 years ago2008-08-05 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-08-05 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2008-08-05 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-08-05 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-08-04 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-08-04 Ivan N. Zlatev <contact@i-nz.net>
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

15 years agorefresh
Raja R Harinath [Mon, 4 Aug 2008 18:59:39 +0000 (18:59 -0000)]
refresh

svn path=/trunk/mcs/; revision=109606

15 years ago2008-08-04 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-08-04 Bill Holmes <billholmes54@gmail.com>
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

15 years ago2008-08-04 Zoltan Varga <vargaz@gmail.com>
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

15 years agoNew tests.
Marek Safar [Mon, 4 Aug 2008 15:06:54 +0000 (15:06 -0000)]
New tests.

svn path=/trunk/mcs/; revision=109584

15 years ago2008-08-04 Marek Safar <marek.safar@gmail.com>
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

15 years agoUpdate known-issues to latest results
Raja R Harinath [Mon, 4 Aug 2008 15:02:58 +0000 (15:02 -0000)]
Update known-issues to latest results

svn path=/trunk/mcs/; revision=109582

15 years ago* XmlDataReaderTest.cs (XmlLoadCustomTypesTest): Fix compile
Raja R Harinath [Mon, 4 Aug 2008 15:02:37 +0000 (15:02 -0000)]
* XmlDataReaderTest.cs (XmlLoadCustomTypesTest): Fix compile
error, there's no DataSet.Close ().

svn path=/trunk/mcs/; revision=109581

15 years agoHandle #if!FOO linenoise
Raja R Harinath [Mon, 4 Aug 2008 15:02:05 +0000 (15:02 -0000)]
Handle #if!FOO linenoise

* mcs/cs-tokenizer.cs (get_cmd_arg): Simplify.  Don't be too pedantic.
* tests/test-668.cs: New test distilled from
System.Web/Test/System.Web.UI.WebControls/CustomValidatorTest.cs.

svn path=/trunk/mcs/; revision=109580

15 years agouse SL friendly Parse methods
Jb Evain [Mon, 4 Aug 2008 14:34:15 +0000 (14:34 -0000)]
use SL friendly Parse methods

svn path=/trunk/mcs/; revision=109575

15 years ago2008-08-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 4 Aug 2008 14:28:41 +0000 (14:28 -0000)]
2008-08-04  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Add test case for "half" closed paths.
[Bug #413461]

svn path=/trunk/mcs/; revision=109573

15 years agoworkaround bootstrap-smcs issue
Jb Evain [Mon, 4 Aug 2008 14:08:10 +0000 (14:08 -0000)]
workaround bootstrap-smcs issue

svn path=/trunk/mcs/; revision=109566

15 years agodoh, once in for all, get those in
Jb Evain [Mon, 4 Aug 2008 14:02:19 +0000 (14:02 -0000)]
doh, once in for all, get those in

svn path=/trunk/mcs/; revision=109565

15 years ago2008-08-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Aug 2008 13:51:24 +0000 (13:51 -0000)]
2008-08-04  Jb Evain  <jbevain@novell.com>

* TimeZoneInfo.cs: avoid using a SortedDictionary when not needed.

svn path=/trunk/mcs/; revision=109564

15 years ago2008-08-04 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 4 Aug 2008 13:49:56 +0000 (13:49 -0000)]
2008-08-04  Bill Holmes  <billholmes54@gmail.com>

* src/glib.h : Changing the allocation routines to return null if 0 size is
  passed in.

Contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=109563

15 years agoa lil refactoring
Jb Evain [Mon, 4 Aug 2008 13:43:00 +0000 (13:43 -0000)]
a lil refactoring

svn path=/trunk/mcs/; revision=109562

15 years agoget it right this time
Jb Evain [Mon, 4 Aug 2008 13:21:52 +0000 (13:21 -0000)]
get it right this time

svn path=/trunk/mcs/; revision=109560

15 years agooops
Jb Evain [Mon, 4 Aug 2008 13:20:27 +0000 (13:20 -0000)]
oops

svn path=/trunk/mcs/; revision=109559

15 years agotune some more, remove Permission stuff
Jb Evain [Mon, 4 Aug 2008 13:19:39 +0000 (13:19 -0000)]
tune some more, remove Permission stuff

svn path=/trunk/mcs/; revision=109558

15 years ago2008-08-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Aug 2008 13:00:32 +0000 (13:00 -0000)]
2008-08-04  Jb Evain  <jbevain@novell.com>

* Hashtable.cs: cleanup internal KeyMarker type for NET_2_1.

svn path=/trunk/mcs/; revision=109557

15 years ago2008-08-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Aug 2008 12:52:00 +0000 (12:52 -0000)]
2008-08-04  Jb Evain  <jbevain@novell.com>

* ArrayList.cs: introduce a helper method to throw
ArgumentOutOfRangeExceptions correctly as SL miss some
constructors.

svn path=/trunk/mcs/; revision=109556

15 years agoadd CollectionBase as well
Jb Evain [Mon, 4 Aug 2008 12:36:17 +0000 (12:36 -0000)]
add CollectionBase as well

svn path=/trunk/mcs/; revision=109555

15 years agoNew test.
Marek Safar [Mon, 4 Aug 2008 11:52:26 +0000 (11:52 -0000)]
New test.

svn path=/trunk/mcs/; revision=109550

15 years ago2008-08-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 4 Aug 2008 11:39:37 +0000 (11:39 -0000)]
2008-08-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #414165
* anonymous.cs: Use same anonymous implementation method for all anonymous
method emits.

svn path=/trunk/mcs/; revision=109549

15 years agoNew test.
Marek Safar [Mon, 4 Aug 2008 10:48:32 +0000 (10:48 -0000)]
New test.

svn path=/trunk/mcs/; revision=109548

15 years ago2008-08-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 4 Aug 2008 10:48:19 +0000 (10:48 -0000)]
2008-08-04  Marek Safar  <marek.safar@gmail.com>

* generic.cs, anonymous.cs, statement.cs: Emit inherited anonymous method
constraints.

svn path=/trunk/mcs/; revision=109547