mono.git
14 years ago2010-01-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 26 Jan 2010 16:26:20 +0000 (16:26 -0000)]
2010-01-26  Sebastien Pouliot  <sebastien@ximian.com>

* monotouch_System.ServiceModel.Web.dll.sources: Don't inherit from
net_2_1_raw*.sources when you require a superset of moonlight API

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

14 years ago2010-01-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 26 Jan 2010 11:53:03 +0000 (11:53 -0000)]
2010-01-26  Marek Habersack  <mhabersack@novell.com>

* net_2_1_raw_corlib.dll.sources: added System.IO/SearchOption.cs
to fix the build.

2010-01-26  Marek Habersack  <mhabersack@novell.com>

* SearchOption.cs: included in 2.1 build as internal to fix
the build.

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

14 years ago2010-01-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 26 Jan 2010 09:52:57 +0000 (09:52 -0000)]
2010-01-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #573329
* eval.cs: Don't disable error reporting completely on silent mode.

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

14 years agoAdded test case
Miguel de Icaza [Tue, 26 Jan 2010 08:24:18 +0000 (08:24 -0000)]
Added test case

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 07:06:51 +0000 (07:06 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReflectionImporter.cs, SerializationCodeGenerator.cs,
  XmlSerializationWriterInterpreter.cs: XmlAnyElementAttribute can be
  still used for non-XmlNode (object) array. It only fails when it
  tries to serialize non-XmlNode object at run-time.
  Fixed bug #553032.

* XmlSerializerTests.cs : added test for bug #553032.

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 06:10:41 +0000 (06:10 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidatorTests.cs : added test for bug #502251, by
  Jonas Larsson.

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

14 years agoSome findings
Miguel de Icaza [Tue, 26 Jan 2010 06:00:49 +0000 (06:00 -0000)]
Some findings

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 05:59:04 +0000 (05:59 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaComplexType.cs : validate base type first and then
  validate particle. Patch by Jonas Larsson, fixed bug #502251.

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 02:19:40 +0000 (02:19 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaSet.cs : when adding a schema with "", it seems treated
  as if it were null. Fixed bug #571650.

* XmlSchemaSetTests.cs : added test for bug #571650.

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

14 years ago2010-01-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 26 Jan 2010 02:12:58 +0000 (02:12 -0000)]
2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* EnumTest.cs: New tests for the new TryParse method.

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 26 Jan 2010 00:13:15 +0000 (00:13 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DirectoryInfo.cs: new overload for GetFileSystemInfos().

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 23:36:49 +0000 (23:36 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UnmanagedMemoryStream.cs: add the SafeBuffer overloads.

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

14 years agostatus fix
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 21:33:03 +0000 (21:33 -0000)]
status fix

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 21:07:41 +0000 (21:07 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* EqualityComparer.cs: (Equals) the arguments are checked to be
the correct type.

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 21:06:42 +0000 (21:06 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Array.cs: updates to the API from beta2.
* _AppDomain.cs: no GetLifeTimeService() in 4.0

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 21:02:41 +0000 (21:02 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.ServiceModel.Web.dll.sources: Use custom
version of DataContractJsonSerializer for Moonlight

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 21:00:38 +0000 (21:00 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* DataContractJsonSerializerTest.cs: Add non-working test cases
for null-string, known types and handling floating point special
values

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 20:58:11 +0000 (20:58 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* DataContractJsonSerializer_2_1.cs: New. Simpler version for
Moonlight since it does not inherit from the same base type nor
does it overrides any base methods.

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 20:56:07 +0000 (20:56 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Fix attributes for Moonlight

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

14 years agoA few more tests
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 20:36:48 +0000 (20:36 -0000)]
A few more tests

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

14 years agoNew test.
Marek Safar [Mon, 25 Jan 2010 16:42:47 +0000 (16:42 -0000)]
New test.

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

14 years ago2010-01-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 25 Jan 2010 16:21:20 +0000 (16:21 -0000)]
2010-01-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #573312
* constant.cs, expression.cs, ecore.cs: Emit correct offset for
pointer index of unknown size types greater than 2.

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

14 years ago2010-01-25 Leszek Ciesielski <skolima@gmail.com>
Leszek 'skolima' Ciesielski [Mon, 25 Jan 2010 16:07:01 +0000 (16:07 -0000)]
2010-01-25  Leszek Ciesielski <skolima@gmail.com>

        * SerialPortStream.cs: Read was returning requested count instead
        of actual bytes read. Thanks to Thad Thompson for spotting this.

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

14 years ago2010-01-25 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 25 Jan 2010 15:46:31 +0000 (15:46 -0000)]
2010-01-25  Jb Evain  <jbevain@novell.com>

* QueryableTransformer.cs (ReplaceQueryableMethod): fix
exception message.

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

14 years agoUpdated compiler check error message.
Marek Safar [Mon, 25 Jan 2010 14:04:15 +0000 (14:04 -0000)]
Updated compiler check error message.

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

14 years ago2010-01-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 25 Jan 2010 14:02:18 +0000 (14:02 -0000)]
2010-01-25  Marek Habersack  <mhabersack@novell.com>

* SqlCacheDependency.cs: added parameter checks to the
constructors.
Partially implemented 4.0 method CreateOutputCacheDependency

* CacheItemUpdateReason.cs, CacheItemUpdateCallback.cs: added

* CacheItem.cs: added OnUpdateCallback field

* Cache.cs: implemented support for cache item update callback
(3.5+)

* AggregateCacheDependency.cs: added undocumented
DependencyDispose method override

2010-01-25  Marek Habersack  <mhabersack@novell.com>

* SqlCacheDependencyTest.cs: added

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

14 years agoIn .:
Sebastien Pouliot [Mon, 25 Jan 2010 13:21:52 +0000 (13:21 -0000)]
In .:
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Add UdpAnySourceMulticastClient and
UdpSingleSourceMulticastClient stubs (with some validations)
for SL4 (required to compile tests)

In System.Net:
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* UdpAnySourceMulticastClient.cs: New. Stub for SL4
* UdpSingleSourceMulticastClient.cs: New. Stub for SL4

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

14 years ago2010-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 Jan 2010 12:46:41 +0000 (12:46 -0000)]
2010-01-25  Zoltan Varga  <vargaz@gmail.com>

* ArrayTest.cs: Add a test for SetValue () + nullables.

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

14 years ago2010-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 Jan 2010 12:42:30 +0000 (12:42 -0000)]
2010-01-25  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Array_SetValueImpl): Handle nullable types correctly.
Fixes #573322.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 12:10:51 +0000 (12:10 -0000)]
2010-01-25  Atsushi Enomoto <atsushi@ximian.com>

* XPathEditableDocument.cs : add support for WriteRaw().
  Patch by Adriaan van Kekem, closing bug #560838.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 12:06:39 +0000 (12:06 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs : allow readonly field as data member.
  Fixed bug #560155.

* XmlObjectSerializerTest.cs : added test for bug #560155.

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

14 years ago2010-01-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 Jan 2010 10:53:33 +0000 (10:53 -0000)]
2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Enum.cs: Implement TryParse and do the required refactoring of our
Parse method to support it.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 09:02:48 +0000 (09:02 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : finally System.ServiceModel.dll is on the centum tests.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 09:01:04 +0000 (09:01 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : actually instance context provider could be
  null through the entire service run.

  Fixed all current nunit failures!

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 08:47:46 +0000 (08:47 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory_1.cs, ChannelFactory.cs : fix default constructor
  handling and ensure service endpoint at opening the factory.

* ChannelFactory_1Test.cs : added a couple of error check tests for
  constructors and CreateChannel() overloads.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 05:08:29 +0000 (05:08 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

Parse float and TimeSpan max/min values correctly.
Patch by Tiaan Geldenhuys.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 03:38:42 +0000 (03:38 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

some number ConvertTo() compatibility fixes (that are reported as
!CanConvertTo()), patch by Alexandre Gomes.

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

14 years ago2010-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 24 Jan 2010 21:44:56 +0000 (21:44 -0000)]
2010-01-24  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Improve the processing MONO_VERBOSE_METHOD so
it supports class names as well.

* mini.h (MonoCompile): Add a few flags to control JIT behavior which are
needed by the GC map code.

* mini.c (mini_method_compile): Call a function in mini-gc.c to set the new
flags if needed.

* method-to-ir.c (mono_method_to_ir): Emit initialization code for ref variables
if cfg->init_ref_vars is set.

* liveness.c (optimize_initlocals): Disable the initlocals opt for ref vars if
cfg->disable_initlocals_op_refs is set.

* method-to-ir.c (mono_spill_global_vars): Compute more precise live ranges
using liveness info if cfg->compute_precise_live_ranges is set.

* mini-gc.c: Ongoing work. Improve logging and debugging support. Handle
volatile variables correctly. Add comments about the live ranges. Not enabled
yet.

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

14 years ago2010-01-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 24 Jan 2010 04:07:46 +0000 (04:07 -0000)]
2010-01-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* StreamReaderTest.cs: New test for encoding detection.

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

14 years ago2010-01-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 24 Jan 2010 04:07:35 +0000 (04:07 -0000)]
2010-01-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* StreamReader.cs: When detecting the encoding we usually check the
four first bytes looking for either UTF32 or UTF8 BOM, since they share
the first two bytes, but if we happen to have less than 4 bytes at
detection time, just check for Unicode and use it as the current
encoding - this is exactly what .Net does, and it is specially visible
with NetworkStream.
Fixes #534137.

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

14 years agoIn System.Collections.Generic:
Robert Jordan [Sun, 24 Jan 2010 01:04:18 +0000 (01:04 -0000)]
In System.Collections.Generic:
2010-01-24  Robert Jordan  <robertj@gmx.net>

* Dictionary.cs: Fix deserialization compatibility with MS.NET.
Fixes bug #474009.

In Test/System.Collections.Generic:
2010-01-24  Robert Jordan  <robertj@gmx.net>

* DictionaryTest.cs: Add test case for bug #474009.

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

14 years ago2010-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 Jan 2010 23:40:54 +0000 (23:40 -0000)]
2010-01-24  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MonoDebugOptions): Add an option to init stack frames by writing
0x2a into them in method prologs.

* mini-amd64.c (mono_arch_emit_prolog): Implement it.

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

14 years agoUpdate doc tools
Miguel de Icaza [Sat, 23 Jan 2010 06:51:32 +0000 (06:51 -0000)]
Update doc tools

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

14 years ago2010-01-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 23 Jan 2010 00:19:29 +0000 (00:19 -0000)]
2010-01-23  Mark Probst  <mark.probst@gmail.com>

        * sgen-pinning.c (evacuate_pin_staging_area): Don't assume
        pin_staging_area_index is greater than 0.

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

14 years ago2010-01-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 22 Jan 2010 22:26:06 +0000 (22:26 -0000)]
2010-01-22  Marek Habersack  <mhabersack@novell.com>

* SubstitutionResponseElement.cs: implemented correct
(de)serialization of the Callback delegate.

* OutputCache.cs: implemented Serialize, Deserialize,
DefaultProviderName and Providers.

2010-01-22  Marek Habersack  <mhabersack@novell.com>

* AssertExtensions.cs: added AreEqual method for comparing byte
arrays.

2010-01-22  Marek Habersack  <mhabersack@novell.com>

* OutputCacheTest.cs: added

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

14 years ago* configure.in: Improve r150055 by checking for CXX=g++ as well, according to
Andrés G. Aragoneses [Fri, 22 Jan 2010 21:42:14 +0000 (21:42 -0000)]
* configure.in: Improve r150055 by checking for CXX=g++ as well, according to
http://lists.gnu.org/archive/html/bug-autoconf/2002-04/msg00077.html

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

14 years agoFix crash introduced by the previous change.
Zoltan Varga [Fri, 22 Jan 2010 20:50:55 +0000 (20:50 -0000)]
Fix crash introduced by the previous change.

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

14 years agoUniform use of the return error from mono_dl
Miguel de Icaza [Fri, 22 Jan 2010 19:19:43 +0000 (19:19 -0000)]
Uniform use of the return error from mono_dl

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 15:05:11 +0000 (15:05 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : fix complicated IMetadataExchange handling to
  pass nunit tests (treat mex binding as special case).

* ServiceMetadataBehaviorTest.cs : check name constant (MSDN is
  wrong here).

* ServiceHostTest.cs : add a few more comments.

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

14 years ago2010-01-22 Leszek Ciesielski <skolima@gmail.com>
Leszek 'skolima' Ciesielski [Fri, 22 Jan 2010 10:31:04 +0000 (10:31 -0000)]
2010-01-22  Leszek Ciesielski <skolima@gmail.com>

        * SerialPortStream.cs: Check for error on every native call

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

14 years ago2010-01-22 Leszek Ciesielski <skolima@gmail.com>
Leszek 'skolima' Ciesielski [Fri, 22 Jan 2010 10:30:08 +0000 (10:30 -0000)]
2010-01-22 Leszek Ciesielski <skolima@gmail.com>

        * serial.c: baud rate 460800 by Thad Thompson <TThompson@nucsafe.com>
        * serial.c: report errors from every function

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

14 years ago2010-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 09:13:27 +0000 (09:13 -0000)]
2010-01-22  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Disable the solaris tar check on !solaris platforms.

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

14 years ago2010-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 09:09:23 +0000 (09:09 -0000)]
2010-01-22  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Check whenever g++ is installed, since libtool requires it
even if no c++ files will be compiled.

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

14 years agoFix the build.
Zoltan Varga [Fri, 22 Jan 2010 09:09:18 +0000 (09:09 -0000)]
Fix the build.

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 08:48:54 +0000 (08:48 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : added a workaround receiver delay
  that somehow makes callback client to not cause infinite loop.

* CallbackBehaviorAttributeTest.cs : enable the test again.

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

14 years ago2010-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 08:43:26 +0000 (08:43 -0000)]
2010-01-22  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add -fno-rrti to CXXFLAGS.

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

14 years ago2010-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 08:43:20 +0000 (08:43 -0000)]
2010-01-22  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm-cpp.cpp: Remove uses of dynamic_cast, it no longer works with llvm
classes, since llvm is compiled with -fno-rtti.

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

14 years ago2010-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 08:22:59 +0000 (08:22 -0000)]
2010-01-22  Zoltan Varga  <vargaz@gmail.com>

* mini.h (COMPILE_SOFT_FLOAT): New macro, similar to COMPILE_LLVM.

* method-to-ir.c ir-emit.h: Use if (COMPILE_SOFT_FLOAT) in a few places since
llvm does not require it.

* aot-runtime.c (load_method): Print the full name of the last aot method.

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

14 years ago2010-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 08:22:50 +0000 (08:22 -0000)]
2010-01-21  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (mono_arch_notify_pending_exc): Avoid a crash if the
thread has not fully started yet.

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 08:18:19 +0000 (08:18 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexClientRuntimeChannel.cs : do not try to iterate channel
  acceptor when it is being closed.

* ChannelDispatcher.cs : do not try to iterate channel acceptor when
  it is being closed.

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 06:17:10 +0000 (06:17 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDocument.cs : fix type check for optimal node creation.
  Fixed bug #571336, #571226 and #572738.

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 05:00:21 +0000 (05:00 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
  DuplexChannelBase.cs : Receive() should rather use TryReceive().
  It should not be in reverse order.

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

14 years ago2010-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 22 Jan 2010 04:46:34 +0000 (04:46 -0000)]
2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Activator.cs: When calling CreateInstance() and no default .ctor is
found for the type, don't pass the member argument to the
MissingMethodException, to have a better and simpler error message.
Fixes #396986.

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 03:06:48 +0000 (03:06 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs, HttpListenerManager.cs :
  Implement async cancellation in the expected manner (though with
  some hack). This mostly removed nunit blockers.

* NetTcpBindingTest.cs : enabled connection tests again, as they
  got working again (and more importantly, they don't block).
* CallbackBehaviorAttributeTest.cs : on the other hand, disabled
  a test so far. It is the only active test && the blocker now.

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

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 02:23:53 +0000 (02:23 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : fix wrong status changes.

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

14 years ago2010-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 22 Jan 2010 01:50:48 +0000 (01:50 -0000)]
2010-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* SocketAsyncEventArgs.cs: Apply Gendarme's ProtectCallToEventDelegatesRule

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

14 years ago2010-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 21 Jan 2010 23:43:48 +0000 (23:43 -0000)]
2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IPEndPoint.cs: When throwing an ArgumentException in Create()
because of a mismatch in the address family, use a more informative
message. Patch by Juho Vähä-Herttu<juhovh@iki.fi>.
Fixes #505105.

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

14 years agoFix
Miguel de Icaza [Thu, 21 Jan 2010 23:12:16 +0000 (23:12 -0000)]
Fix

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

14 years ago2010-01-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 21 Jan 2010 22:30:21 +0000 (22:30 -0000)]
2010-01-21  Marek Habersack  <mhabersack@novell.com>

* FileResponseElementTest.cs, HeaderElementTest.cs,
MemoryResponseElementTest.cs, SubstitutionResponseElementTest.cs:
added

2010-01-21  Marek Habersack  <mhabersack@novell.com>

* DatabaseNotEnabledForNotificationException.cs, OutputCache.cs,
FileResponseElement.cs, HeaderElement.cs, IOutputCacheEntry.cs,
MemoryResponseElement.cs, OutputCacheProvider.cs,
ResponseElement.cs, OutputCacheProviderCollection.cs,
SubstitutionResponseElement.cs,
TableNotEnabledForNotificationException.cs: added

* CacheDependency.cs: default constructor is protected in 4.0

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

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 19:37:35 +0000 (19:37 -0000)]
2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (typebuilder_setup_fields): Pretend field setup already
happened before starting to encode the actual fields. This avoid ciclic
dependencies and eventual crashes.

Fixes #572660.

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

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 19:37:34 +0000 (19:37 -0000)]
2010-01-21 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Add tests for #572660.

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

14 years ago2010-01-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 21 Jan 2010 18:47:36 +0000 (18:47 -0000)]
2010-01-21  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, gc-internal.h, object.c: Make string allocation
        atomic and remove the half-constructed hack in SGen.

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

14 years ago2010-01-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 21 Jan 2010 18:46:28 +0000 (18:46 -0000)]
2010-01-21  Marek Habersack  <mhabersack@novell.com>

* HierarchicalDataBoundControlDesigner.cs: added

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

14 years ago2010-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jan 2010 17:07:48 +0000 (17:07 -0000)]
2010-01-21  Jonathan Pobst  <monkey@jpobst.com>

* DateComparisonTest.cs: Failing test TestDateComparisonLeft
marked NotWorking.  Bug filed as 572725.

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

14 years ago2010-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jan 2010 17:01:10 +0000 (17:01 -0000)]
2010-01-21  Jonathan Pobst  <monkey@jpobst.com>

* DataTableTest2.cs: Mark PrimaryKey test as NotWorking.
Bug filed as 572722.

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

14 years ago2010-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jan 2010 16:43:19 +0000 (16:43 -0000)]
2010-01-21  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (can_marshal_struct): Allow marshalling enums.

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

14 years ago2010-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jan 2010 16:34:30 +0000 (16:34 -0000)]
2010-01-21  Jonathan Pobst  <monkey@jpobst.com>

* ThemeTest.cs: Mark UrlProperty test as NotWorking to clean
up buildbot.  Filed as 572707.

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

14 years agosupport for nested Choose elements + fixed bug where the project reference would...
Rodrigo B. de Oliveira [Thu, 21 Jan 2010 16:31:33 +0000 (16:31 -0000)]
support for nested Choose elements + fixed bug where the project reference would be null during condition evaluation

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

14 years ago2010-01-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 21 Jan 2010 16:24:45 +0000 (16:24 -0000)]
2010-01-21  Miguel de Icaza  <miguel@novell.com>

* driver.c: Do not abort if LLVM is not supported, print a
warning and add the information to the Mono JIT information.

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

14 years agoadd XNA public key token
Sebastien Pouliot [Thu, 21 Jan 2010 15:27:07 +0000 (15:27 -0000)]
add XNA public key token

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

14 years ago2010-01-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 21 Jan 2010 15:21:27 +0000 (15:21 -0000)]
2010-01-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SmtpClient.cs: rethrow inner exception so that
AsyncCompletedEventArgs.Error gets the right value on error. Patch
by Dimitar Dobrev.

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

14 years agoIn Test/System.Net:
Sebastien Pouliot [Thu, 21 Jan 2010 15:02:51 +0000 (15:02 -0000)]
In Test/System.Net:
2010-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* CookieContainerTest.cs: Additional test cases from Tom Philpot

In System.Net:
2010-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* CookieContainer.cs: Fix to cloning and expiration. Patch
by Tom Philpot <tom.philpot@logos.com>

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

14 years agoresponse file might be specified in double quotes
Rodrigo B. de Oliveira [Thu, 21 Jan 2010 15:00:13 +0000 (15:00 -0000)]
response file might be specified in double quotes

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

14 years ago2010-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jan 2010 14:32:01 +0000 (14:32 -0000)]
2010-01-21  Zoltan Varga  <vargaz@gmail.com>

* ir-emit.h (MONO_EMIT_NULL_CHECK): Don't emit an OP_IMPLICIT_EXCEPTION when
using explicit null checks.

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

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 14:28:24 +0000 (14:28 -0000)]
2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (parse_generic_inst): Fail a type signature if it
has a recursive reference to itself.

Fixes #571863.

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

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 14:28:12 +0000 (14:28 -0000)]
2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature): Fix error message.

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

14 years ago2010-01-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 21 Jan 2010 13:41:14 +0000 (13:41 -0000)]
2010-01-21  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Reuse to-space sections between nursery collections.

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

14 years agoNUnit tests for xbuild
Rodrigo B. de Oliveira [Thu, 21 Jan 2010 13:04:03 +0000 (13:04 -0000)]
NUnit tests for xbuild

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

14 years agoFix the 2.0 build
Marek Habersack [Thu, 21 Jan 2010 09:09:52 +0000 (09:09 -0000)]
Fix the 2.0 build

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

14 years ago2010-01-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jan 2010 03:48:24 +0000 (03:48 -0000)]
2010-01-21  Atsushi Enomoto  <atsushi@ximian.com>

* SslStreamSecurityBindingElementTest.cs : reduce extra base dep.

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

14 years agoImprove, do not advertise what is not available
Miguel de Icaza [Thu, 21 Jan 2010 03:25:50 +0000 (03:25 -0000)]
Improve, do not advertise what is not available

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

14 years agoAdd xdebug.c to fix msvc build.
Jonathan Pobst [Thu, 21 Jan 2010 01:00:38 +0000 (01:00 -0000)]
Add xdebug.c to fix msvc build.

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

14 years ago2010-01-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 21 Jan 2010 00:49:45 +0000 (00:49 -0000)]
2010-01-20  Miguel de Icaza  <miguel@novell.com>

       * Dictionary.cs: Always create the keys, fixes compatibility
       between Mono and .NET.  Patch from John Lenz <jlenz2@math.uiuc.edu>

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

14 years agoRevert, will remove both linux-gnu, but needs some work
Miguel de Icaza [Thu, 21 Jan 2010 00:33:02 +0000 (00:33 -0000)]
Revert, will remove both linux-gnu, but needs some work

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

14 years ago2010-01-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 21 Jan 2010 00:04:31 +0000 (00:04 -0000)]
2010-01-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* configure.in: Add support for disabling mdb support.

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

14 years agoMake this shorter
Miguel de Icaza [Thu, 21 Jan 2010 00:00:27 +0000 (00:00 -0000)]
Make this shorter

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

14 years ago * ComboBox.cs: When the normal drop down window is closed, make sure
Carlos Alberto Cortez [Wed, 20 Jan 2010 23:47:44 +0000 (23:47 -0000)]
* ComboBox.cs: When the normal drop down window is closed, make sure
that the auto complete list -if any- is closed as well, instead of
stay open without need.

2010-01-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years agoIn class/Mono.Cecil.Mdb:
Rolf Bjarne Kvinge [Wed, 20 Jan 2010 23:47:15 +0000 (23:47 -0000)]
In class/Mono.Cecil.Mdb:
2010-01-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile: Specify the path to Mono.Cecil.dll when referencing it.

In tools/linker:
2010-01-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile: Fetch Mono.Cecil.dll from whatever profile we happen to be
building in.

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

14 years agospec fixes
Andrew Jorgensen [Wed, 20 Jan 2010 23:02:55 +0000 (23:02 -0000)]
spec fixes

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

14 years ago2010-01-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jan 2010 22:39:05 +0000 (22:39 -0000)]
2010-01-20  Marek Habersack  <mhabersack@novell.com>

* SessionStateBehavior.cs: added (4.0)

2010-01-20  Marek Habersack  <mhabersack@novell.com>

* OutputCacheSection.cs: implemented the Providers and
DefaultProviderName 4.0 properties.

2010-01-20  Marek Habersack  <mhabersack@novell.com>

* HttpContextBase.cs: implemented RemapHandler and
SetSessionStateBehavior 4.0 APIs.

2010-01-20  Marek Habersack  <mhabersack@novell.com>

* HttpContext.cs: implemented the 4.0 SetSessionStateBehavior
method

* HttpCacheVaryByContentEncodings.cs, HttpCacheVaryByHeaders.cs,
HttpCacheVaryByParams.cs : parameterless constructors are public
in 4.0

* HttpApplication.cs: implemented the 4.0
GetOutputCacheProviderName method

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