mono.git
14 years agoflush
Marek Safar [Wed, 13 Jan 2010 14:37:37 +0000 (14:37 -0000)]
flush

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

14 years agoNew test.
Marek Safar [Wed, 13 Jan 2010 14:19:02 +0000 (14:19 -0000)]
New test.

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

14 years ago2010-01-13 Marek Safar <marek.safar at gmail.com>
Marek Safar [Wed, 13 Jan 2010 14:18:46 +0000 (14:18 -0000)]
2010-01-13  Marek Safar  <marek.safar at gmail.com>

* expression.cs (Conditional): Resolve reduced expression.

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

14 years agoEnabled variance tests.
Marek Safar [Wed, 13 Jan 2010 13:58:16 +0000 (13:58 -0000)]
Enabled variance tests.

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

14 years ago2010-01-13 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 13 Jan 2010 13:27:47 +0000 (13:27 -0000)]
2010-01-13  Jb Evain  <jbevain@novell.com>

* MarkStep.cs: preserve methods specified by the
XmlSchemaProvider attribute.

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

14 years agoWarnings cleanup
Marek Safar [Wed, 13 Jan 2010 13:14:15 +0000 (13:14 -0000)]
Warnings cleanup

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

14 years agoNew tests.
Marek Safar [Wed, 13 Jan 2010 12:58:29 +0000 (12:58 -0000)]
New tests.

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

14 years ago2010-01-13 Marek Safar <marek.safar at gmail.com>
Marek Safar [Wed, 13 Jan 2010 12:56:43 +0000 (12:56 -0000)]
2010-01-13  Marek Safar  <marek.safar at gmail.com>

* *.cs: Introduced non-generic method specification.

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

14 years ago2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 11:51:19 +0000 (11:51 -0000)]
2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeaders.cs : implement SetAction().

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

14 years ago2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 11:40:03 +0000 (11:40 -0000)]
2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* ExceptionDetail.cs : uncomment DataMember (likely commented out due
  to missing default serialization in the past).

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

14 years ago2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 11:35:10 +0000 (11:35 -0000)]
2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* EndpointAddressBuilder.cs : reader getters were broken.

* EndpointAddressBuilderTest.cs : add usage example test.

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

14 years ago2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 11:26:30 +0000 (11:26 -0000)]
2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* EndpointAddressBuilder.cs : implement.

* net_2_1_raw_System.ServiceModel.dll.sources :
  add EndpointAddressBuilder.cs.

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

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

* ContractDescriptionGenerator.cs : fill Operation.Faults.

* FaultContractInfo.cs : implement.
* DispatchOperation.cs, ClientOperation.cs: fill Faults.

* net_2_1_raw_System.ServiceModel.dll.sources :
  add FaultContractInfo.cs.

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

14 years agoforgot to commit.
Atsushi Eno [Wed, 13 Jan 2010 10:35:13 +0000 (10:35 -0000)]
forgot to commit.

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

14 years ago2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 10:31:34 +0000 (10:31 -0000)]
2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactoryBase.cs : fix build.

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

14 years ago2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 09:55:05 +0000 (09:55 -0000)]
2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* Double.cs : no need to preserve old code.

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

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

* ChannelFactoryBase.cs :
  implement On{Begin/End}Close() on the generic type.

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

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

* HttpChannelFactory.cs, TcpChannelFactory.cs,
  ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
  PeerChannelFactory.cs, HttpRequestChannel.cs:
  fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
  type and made required changes.

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

14 years ago2010-01-13 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Jan 2010 08:13:43 +0000 (08:13 -0000)]
2010-01-13  Astushi Enomoto  <atsushi@ximian.com>

* net_2_1_raw_System.ServiceModel.dll.sources :
  add HttpCookieContainerBindingElement.cs.

* HttpCookieContainerBindingElement.cs : new.
* IHttpCookieContainer.cs : fix type name.
* HttpRequestChannel.cs, HttpChannelFactory.cs : support above.

* BasicHttpBinding.cs : add SL3 EnableHttpCookieContainer support.

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

14 years agoReverted r149419.
Marek Safar [Tue, 12 Jan 2010 19:58:00 +0000 (19:58 -0000)]
Reverted r149419.

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

14 years agoSupport for PropertyGroup as a child of When and Otherwise
Rodrigo B. de Oliveira [Tue, 12 Jan 2010 18:47:48 +0000 (18:47 -0000)]
Support for PropertyGroup as a child of When and Otherwise

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

14 years ago2010-01-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Jan 2010 18:43:52 +0000 (18:43 -0000)]
2010-01-12  Sebastien Pouliot  <sebastien@ximian.com>

* WebRequest_2_1.cs: Rework registration wrt the two, browser
and client, stacks offered in SL3. Only global works now.

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

14 years ago2010-01-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 12 Jan 2010 17:10:11 +0000 (17:10 -0000)]
2010-01-12  Marek Safar  <marek.safar@gmail.com>

* *.cs: Introduced non-generic method specification.

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

14 years agoRemoved duplicate usings and 1.1 code
Marek Safar [Tue, 12 Jan 2010 17:05:32 +0000 (17:05 -0000)]
Removed duplicate usings and 1.1 code

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

14 years agoRebuild Mono.CSharp first
Marek Safar [Tue, 12 Jan 2010 16:52:38 +0000 (16:52 -0000)]
Rebuild Mono.CSharp first

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

14 years ago2010-01-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 12 Jan 2010 16:34:25 +0000 (16:34 -0000)]
2010-01-12  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_get_implemented_interfaces): Now take a MonoError argument.

* class.c:
* cominterop.c:
* icall.c:
* object.c:
* class-internals.h: Adjust for new signature of mono_class_get_implemented_interfaces.

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

14 years ago2010-01-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 12 Jan 2010 16:34:06 +0000 (16:34 -0000)]
2010-01-12  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_setup_interfaces): Now take a MonoError argument and
it can fail loading the type.

* class.c: Add mono_class_inflate_generic_class_checked.

* class.c:
* verify.c:
* class-internals.h: Adjust for new signature of mono_class_setup_interfaces.

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

14 years agooups, removed too much
Marek Safar [Tue, 12 Jan 2010 16:29:53 +0000 (16:29 -0000)]
oups, removed too much

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

14 years agoReference Mono.CSharp instead of .exe
Marek Safar [Tue, 12 Jan 2010 16:24:25 +0000 (16:24 -0000)]
Reference Mono.CSharp instead of .exe

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

14 years agoDisable building RabbitMQ for now until the new generated-on-the-fly stuff
Jonathan Pobst [Tue, 12 Jan 2010 16:05:33 +0000 (16:05 -0000)]
Disable building RabbitMQ for now until the new generated-on-the-fly stuff
can be implemented instead of the static copies.

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

14 years ago * Makefile: monodoc should only be built under the 2.0 profile.
Jonathan Pryor [Tue, 12 Jan 2010 15:44:26 +0000 (15:44 -0000)]
* Makefile: monodoc should only be built under the 2.0 profile.

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

14 years ago2010-01-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 12 Jan 2010 13:54:19 +0000 (13:54 -0000)]
2010-01-12  Miguel de Icaza  <miguel@novell.com>

* Regex.cs: Re-enable the new regex compiler as the bug seems to
be gone now.

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

14 years agoIn Test/System.Net:
Sebastien Pouliot [Tue, 12 Jan 2010 13:07:44 +0000 (13:07 -0000)]
In Test/System.Net:
2010-01-12  Sebastien Pouliot  <sebastien@ximian.com>

* NetworkCredentialTest.cs: New. Unit tests.

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

* NetworkCredential.cs: Fix properties to never return null.

In .:
2010-01-12  Sebastien Pouliot  <sebastien@ximian.com>

* System_test.dll.sources: Add NetworkCredentialTest.cs to the tests

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

14 years agoForget to commit this one.
Marek Safar [Tue, 12 Jan 2010 10:44:01 +0000 (10:44 -0000)]
Forget to commit this one.

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

14 years ago2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jan 2010 09:53:15 +0000 (09:53 -0000)]
2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* XElementTest.cs : add extensive tests by Tiaan Geldenhuys, with
  one sort of comment-out as stated in r149388.

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

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

* XUtil.cs : for DateTimeOffset, use XmlConvert to format string.

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

14 years ago2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jan 2010 09:32:13 +0000 (09:32 -0000)]
2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* XUtil.cs : format float and double values as round-trippable.

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

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

* XmlConvertTests.cs : added commented-out tests for the remaining
  parse tests by Tiaan Geldenhuys for XLinq, with the reason why.

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

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

* XmlConvert.cs : handle Infinity and -Infinity here due to the
  commented reason.

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

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

* XmlConvert.cs : ToSingle(string) should do the same as ToDouble().

* XmlConvertTests.cs : float parse should do the same. Fix NaN test.

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

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

* XmlConvert.cs : ToDouble(string) should handle NaN, INF and -INF
  with whitespace allowed.

* XmlConvertTests.cs : another double parse test for string with
  spaces, for string constants such as NaN.

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

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

* Double.cs : AllowLeading/TrailingWhite should also check those
  surrounding string constants such as "NaN".

* DoubleTest.cs : add test for AllowLeading/TrailingSpace flags.

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

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

* XmlConvert.cs : ToDouble(string) and ToIntXX(string) allows
  whitespaces.

* XUtil.cs : to create an XNode from an object, do not use ToString()
  directly. Handle TimeSpan in xsd manner.

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

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

* XUtil.cs : to create an XNode from an object, do not use ToString()
  directly. Handle TimeSpan in xsd manner.

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

14 years agoforgot ChangeLog.
Atsushi Eno [Tue, 12 Jan 2010 07:18:11 +0000 (07:18 -0000)]
forgot ChangeLog.

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

14 years ago_GNU_SOURCE is already defined by configure.ac
Miguel de Icaza [Tue, 12 Jan 2010 06:59:35 +0000 (06:59 -0000)]
_GNU_SOURCE is already defined by configure.ac

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

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

* XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
  DateTime seem also support general conversion (parse) from strings.

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

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

* XmlConvert.cs : ToString(DateTimeOffset) does not emit extra
  fraction numbers.

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

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

* XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
  boolean seem also to handle case-insensitive true/false strings.

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

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

* XmlConvert.cs : fix some cosmetic compatibility bugs:
  ArgumentException -> FormatException.

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

14 years ago2010-01-11 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 12 Jan 2010 04:47:03 +0000 (04:47 -0000)]
2010-01-11  Miguel de Icaza  <miguel@novell.com>

* valgrind.h, memcheck.h: Add guards to prevent the gcc features
from being included in non-GCC builds like the Windows build.

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

14 years agoUpdate docs
Miguel de Icaza [Tue, 12 Jan 2010 04:43:08 +0000 (04:43 -0000)]
Update docs

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

14 years agoFix eglib so it builds again.
Zoltan Varga [Tue, 12 Jan 2010 04:30:41 +0000 (04:30 -0000)]
Fix eglib so it builds again.

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

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

* dwarfwriter.c (emit_line_number_info): Fix the eglib case so it doesn't crash.

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

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

* XmlWriter.cs : handle a corner case for empty string handling
  difference between XmlTextWriter and XmlWriter.Create().

* XmlWriterTests.cs : added a corner case test for empty string handling
  difference between XmlTextWriter and XmlWriter.Create().

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

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

* profiles/basic.make (do-profile-check): Honor the V=1 flag.

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

14 years agoAdd support for rendering the title
Miguel de Icaza [Tue, 12 Jan 2010 01:11:02 +0000 (01:11 -0000)]
Add support for rendering the title

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

14 years ago2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 11 Jan 2010 23:42:22 +0000 (23:42 -0000)]
2010-01-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Int32Test.cs: Add test case for exponent support in the Parse
methods.

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

14 years ago2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 11 Jan 2010 23:41:19 +0000 (23:41 -0000)]
2010-01-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Int32.cs: Implement support for exponent in the Parse methods.
Fixes #542464.

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

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

* loader.c (mono_method_signature_checked): New internal function taking an
MonoError argument.

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

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

* socket-io.c (AI_ADDRCONFIG): Applied patch from John Lightsey (jd@cpanel.net).
Fixes build on rh 7.3.

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

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

* mono-profiler-logging.c (_ProfilerFileWriteBuffer): Use MONO_ZERO_LEN_ARRAY.
Fixes #569806.

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

14 years agoUse the pre-C99 printf formatting.
Gonzalo Paniagua Javier [Mon, 11 Jan 2010 21:08:48 +0000 (21:08 -0000)]
Use the pre-C99 printf formatting.

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

14 years agoIn .:
Sebastien Pouliot [Mon, 11 Jan 2010 20:26:27 +0000 (20:26 -0000)]
In .:
2010-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Add InternalWebRequestStreamWrapper.cs
* Makefile: Add reference to System.Core (for Action<T>)

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

* InternalWebRequestStreamWrapper.cs: New. Moved (and adapted)
from Moonlight System.Windows.Browser assembly.
* InternalWebResponseStreamWrapper.cs: New. Moved (and adapted)
from Moonlight System.Windows.Browser assembly.
* WebClient_2_1.cs: Remove custom delegate declaration (Gendarme's
AvoidDeclaringCustomDelegatesRule). Remove locking over a variable
(Gendarme's ReviewLockUsedOnlyForOperationsOnVariablesRule).
Avoid potential race with event handlers (Gendarme's
ProtectCallsToEventDelegatesRule). Implement OnWriteStreamClosed
* WebRequest_2_1.cs: Signature change from delegate to
Action<long,long,object>. Found using Gendarme's
AvoidDeclaringCustomDelegatesRule

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

14 years agoNo soft debug for PS3 yet.
Gonzalo Paniagua Javier [Mon, 11 Jan 2010 20:08:16 +0000 (20:08 -0000)]
No soft debug for PS3 yet.

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

14 years agoNo valgrind on windows.
Gonzalo Paniagua Javier [Mon, 11 Jan 2010 19:47:57 +0000 (19:47 -0000)]
No valgrind on windows.

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

14 years ago * Mono.Documentation/monodocs2slashdoc.cs: Fix NamespaceSummaries.xml
Jonathan Pryor [Mon, 11 Jan 2010 13:53:22 +0000 (13:53 -0000)]
* Mono.Documentation/monodocs2slashdoc.cs: Fix NamespaceSummaries.xml
  generation to look at the ns-NAMESPACE.xml files, not just
  NAMESPACE.xml files.

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

14 years ago2010-01-10 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Mon, 11 Jan 2010 06:04:09 +0000 (06:04 -0000)]
2010-01-10  Aaron Bockover  <abockover@novell.com>

    * assembly.c (mono_set_rootdir): Support finding the mono paths on OS X
    at runtime in the same way as on Windows, which yields a relocatable
    Mono. Uses dyld's _NSGetExecutablePath and realpath to resolve the path
    of the running mono process.

    On TARGET_ARM, fallback () will always be executed.

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

14 years ago2010-01-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Jan 2010 04:09:18 +0000 (04:09 -0000)]
2010-01-11  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (mono_debugger_agent_parse_options): Allow onthrow without
an argument which matches any exception.

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

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

* ToolStripMenuItemTest: New test for the events related to the check
state.

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

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

* ToolStripMenuItem.cs: Put the Checked/CheckState logic in a single
place and synchronize the events properly. Fixes a lack of
coordination between the events - which should be fired together.

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

14 years ago2010-01-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 10 Jan 2010 22:40:28 +0000 (22:40 -0000)]
2010-01-10  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_emit_method_call_full): Avoid the virt->nonvirt
optimization if the called method is gshared and marshalbyref, since gshared
methods can' have wrappers. Fixes #569390.

* generics.cs: Add a test.

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

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

* GC.cs: Add stubs for new net 4.0 methods.

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

14 years ago2010-01-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 10 Jan 2010 01:52:54 +0000 (01:52 -0000)]
2010-01-10  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_print_thread_dump_from_ctx): New helper function
callable from gdb.

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

14 years ago2010-01-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 10 Jan 2010 01:15:03 +0000 (01:15 -0000)]
2010-01-10  Atsushi Enomoto  <atsushi@ximian.com>

* SilverlightClientConfigLoader.cs : uncomment binary message
  encoding element which was internal-only in SL2 but public in SL3.

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

14 years ago2010-01-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 9 Jan 2010 21:20:35 +0000 (21:20 -0000)]
2010-01-09  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (transport_connect): comment out freeaddrinfo calls under win32,
since it is not supported in win2000.

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

14 years ago2010-01-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 9 Jan 2010 17:03:44 +0000 (17:03 -0000)]
2010-01-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TrackBarTest.cs: New test for events.

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

14 years ago2010-01-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 9 Jan 2010 16:58:04 +0000 (16:58 -0000)]
2010-01-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TrackBar.cs: Move our events code to a single method, allowing it to
optionally fire the Scroll event. This way we both avoid the
duplicated calls to OnScroll and also will be able to fire Scroll
*before* OnValueChanged in other places.
Fixes #568026.

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

14 years ago2010-01-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 9 Jan 2010 09:51:13 +0000 (09:51 -0000)]
2010-01-09  Atsushi Enomoto  <atsushi@ximian.com>

* XElement.cs : add DateTimeOffset implicit operator.
  Patch by Tiaan Geldenhuys.

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

14 years ago2010-01-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 9 Jan 2010 00:29:25 +0000 (00:29 -0000)]
2010-01-09  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: GetSection properly handles looking
up and caching of <location> instances. Part of fix for bug
#568441

* WebConfigurationHost.cs: GetConfigPathFromLocationSubPath
calculatesthe path relative to the current config file path. Part
of fix for bug #568441

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

* VirtualPathUtility.cs: small optimizations for GetDirectory

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

* ConfigurationLocation.cs: trailing / characters are removed from
the path.

* Configuration.cs: instances created for locations inherit
ConfigPath from their containing document.
Host.GetConfigPathFromLocationSubPath must be called with current
instance's configPath, not LocationConfigPath.
Locations are sought for using paths relative to the current
instance's configPath, not to the root path.
All of the above is part of fix for bug #568441

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

14 years agoFix the previous change.
Zoltan Varga [Fri, 8 Jan 2010 22:42:34 +0000 (22:42 -0000)]
Fix the previous change.

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

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

* aot-runtime.c (load_image): Add a SET_ERROR argument to set the loader
error if loading an assembly fails.
(mono_aot_plt_resolve): Return NULL instead of asserting if loading fails.

* mini-trampolines.c (mono_aot_plt_trampoline): Throw a pending loader error
if exists.

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

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

* TypeTest.cs: Test for variant use of GetInterfaceMap.

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

14 years ago2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 8 Jan 2010 20:47:15 +0000 (20:47 -0000)]
2010-01-08  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_Type_GetInterfaceMapData): This function is generics variance aware.

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

14 years ago * library.make: Update $(MDOC_UP) to remove the net_1_ detection.
Jonathan Pryor [Fri, 8 Jan 2010 20:16:26 +0000 (20:16 -0000)]
* library.make: Update $(MDOC_UP) to remove the net_1_ detection.
  mdoc 2.4 moved to Cecil and stopped building monodocer1, rendering
  the check meaningless, and current trunk doesn't build the 1.0
  profile anyway, making the check more meaningless.

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

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

* aot-runtime.c (decode_exception_debug_info): Set jinfo->from_llvm for LLVM
compiled methods.

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

14 years ago2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 8 Jan 2010 19:04:24 +0000 (19:04 -0000)]
2010-01-08 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_iface_with_variant_constraint.cs: Constraints can be variant.

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

14 years ago2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 8 Jan 2010 19:04:16 +0000 (19:04 -0000)]
2010-01-08  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_is_assignable_from_slow): Support variant
generic delegates.

* class.c (mono_class_implement_interface_slow): Support types with
variant generic arguments.

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

14 years ago2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 8 Jan 2010 19:04:07 +0000 (19:04 -0000)]
2010-01-08  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Remove some code duplication.

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

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

* mini-llvm-cpp.cpp: Remove the unused ctx variable.

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

14 years agoFix dis and monograph builds when using LLVM
Miguel de Icaza [Fri, 8 Jan 2010 17:40:16 +0000 (17:40 -0000)]
Fix dis and monograph builds when using LLVM

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

14 years agoadd test for 568989
Jb Evain [Fri, 8 Jan 2010 14:00:05 +0000 (14:00 -0000)]
add test for 568989

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

14 years ago2010-01-08 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 8 Jan 2010 13:59:20 +0000 (13:59 -0000)]
2010-01-08  Jb Evain  <jbevain@novell.com>

* Expression.cs (Call): properly deal with zero length array
of type arguments for non generic methods. Fixes #568989.

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

14 years ago2010-01-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Jan 2010 10:40:46 +0000 (10:40 -0000)]
2010-01-08  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : fix GetCallbackContract() to
  correctly retrieve ServiceContractAttribute from the service type,
  not the callback type. This ended up to get the bug #567672 sample
  working (but it will break at some stage as it involves some
  non-implemented classes).

* EndpointDispatcher.cs, InputOrReplyRequestProcessor.cs :
  Pass service type to correctly retrieve ServiceContractAttribute
  from the service type, not callback type.

* ServiceProxyGenerator.cs, ServiceRuntimeChannel.cs :
  Pass service type to correctly retrieve ServiceContractAttribute
  from the service type, not callback type.

* CallbackBehaviorAttributeTest.cs : added callback example from
  bug #567672.

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

14 years ago2010-01-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Jan 2010 09:17:47 +0000 (09:17 -0000)]
2010-01-08  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : to open duplex callback channel, it must
  ensure to open the channel itself (not only its inner channel).

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

14 years ago2010-01-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Jan 2010 04:28:58 +0000 (04:28 -0000)]
2010-01-08  Atsushi Enomoto  <atsushi@ximian.com>

* TypeMap.cs : forward port r145077 (see change line for 2009-10-29).

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

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

* SerializationMap.cs, KnownTypeCollection.cs : differentiate
  [DataContract(Namespace=null)] and [DataContract(Namespace="")].
  Fixed bug #568763.

* XmlObjectSrializerTest.cs : added test for bug #568763.

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

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

* mini-llvm.c (mono_llvm_emit_method): Add some comments about why aot+clauses
is not supported yet.

* unwind.c (DW_EH_PE_absptr): Add more DW_EH_PE_ constants.

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

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

* object.c: Update docs.

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

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

* method-to-ir.c: All types with variant arguments must fallback to the
slow path. This makes cast of variant delegates work.

* mini-trampolines.c (mono_get_vcall_slot_addr): Add new variance_used out
argument that is set to TRUE is the returned vtable slot is for a variant
interface. Changed a g_print + g_assert_not_reached to a g_error.

* mini-trampilines.c (common_call_trampoline): Handle variant interfaces in
a similar fashion of generic virtual methods.

2010-01-07  Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (add_imt_builder_entry): Improve DEBUG_IMT spew.

* object.c (build_imt_slots): Interfaces with variant generic arguments use the
fallback trampoline as well.

* class.c (mono_class_interface_offset_with_variance): Add new non_exact_match
out argument that is set to TRUE if the match was direct.

* class.c (mono_class_is_assignable_from): Delegates require variance testing as well.

* class-internal.h: Update prototype of mono_class_interface_offset_with_variance.

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