mono.git
14 years ago2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 17 Mar 2010 19:10:08 +0000 (19:10 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.c: _timedwait takes an absolute time.

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

14 years ago2010-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 Mar 2010 19:02:17 +0000 (19:02 -0000)]
2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join
overloads.

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

14 years ago2010-03-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 17 Mar 2010 18:12:09 +0000 (18:12 -0000)]
2010-03-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: TimeSpan is actually implementing IFormattable.

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

14 years ago2010-03-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 17 Mar 2010 17:46:29 +0000 (17:46 -0000)]
2010-03-17 Rodrigo Kumpera  <rkumpera@novell.com>

* mini-*.c (mono_arch_output_basic_block): Record try block
* holes on all remaining archs. Alpha and hppa maintainers, please stand up.

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

14 years ago2010-03-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Mar 2010 15:02:39 +0000 (15:02 -0000)]
2010-03-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_build_imt_thunk): Always save and restore r11 since it
is needed even when fail_tramp!=NULL.

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

14 years ago2010-03-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Mar 2010 14:55:32 +0000 (14:55 -0000)]
2010-03-17  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (insert_breakpoint): Write a log message.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 13:52:42 +0000 (13:52 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* WsdlExporter.cs : allow identical contract while exporting a set
  of endpoints, while reject identical ones when calling
  ExportEndpoint() individually.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 13:26:23 +0000 (13:26 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataExchangeBindings.cs : use WSHttpBinding (it works if other
  parts gets fixed).

* MetadataExchangeBindingsTest.cs : new test.

* System.ServiceModel_test.dll.sources :
  add MetadataExchangeBindingsTest.cs.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 13:19:09 +0000 (13:19 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataExtension.cs, WsdlExporter.cs :
  implement ExportEndpoints() and use it.

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

14 years ago2010-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 Mar 2010 11:56:17 +0000 (11:56 -0000)]
2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* Stream.cs: CopyTo methods are part of SL4 too

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 11:27:31 +0000 (11:27 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataPublishingElement.cs : use IsNullOrEmpty(), names
  could be "" which is equivalent to null here.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 11:26:36 +0000 (11:26 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : use namespace for mex binding comparison, to
  cover other bindings than http (such as https).
* WSHttpBindingBase.cs : add some comment.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 11:09:11 +0000 (11:09 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigUtil.cs, StandardBindingCollectionElement.cs,
  MexHttpsBindingCollectionElement.cs,
  MexHttpBindingCollectionElement.cs : use GetDefault() in
  BindingCollectionElement to create a Binding, instead of activator
  immediately. And for mex bindings, use MetadataExchangeBindings.

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

14 years ago2010-03-17 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 17 Mar 2010 10:36:49 +0000 (10:36 -0000)]
2010-03-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 08:48:15 +0000 (08:48 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeaders.cs :
  why does it filter out most of the headers? kill it.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 07:05:41 +0000 (07:05 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
  HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
  to not raise "not found" error (see bug #573795).

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 05:10:42 +0000 (05:10 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs : fix cosmetic 2.0 compatibility issue in
  WriteStartAttribute() which allows "" for prefixed xmlns and brings
  incompatibility with XmlTextWriter class.

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

14 years agoNew test.
Marek Safar [Tue, 16 Mar 2010 22:32:21 +0000 (22:32 -0000)]
New test.

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

14 years ago2010-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Mar 2010 22:09:51 +0000 (22:09 -0000)]
2010-03-16  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_llvm_call_info): Avoid crashes with arguments
passed on the stack.

* mini-amd64.c (mono_arch_get_llvm_call_info): Ditto.

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

14 years ago2010-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Mar 2010 22:04:42 +0000 (22:04 -0000)]
2010-03-16  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_llvm_call_info): Avoid crashes with arguments
passed on the stack.

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

14 years agodifferent check
Marek Safar [Tue, 16 Mar 2010 19:58:19 +0000 (19:58 -0000)]
different check

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

14 years agoAdded system.web.mvc2.pc
Marek Habersack [Tue, 16 Mar 2010 18:58:05 +0000 (18:58 -0000)]
Added system.web.mvc2.pc

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

14 years ago2010-03-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Mar 2010 18:51:40 +0000 (18:51 -0000)]
2010-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
providing backwards compatibility by also supporting '.' as the
separator.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:16:48 +0000 (15:16 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

* iltests.il.in: Add a few tests for LEAVE going over multiple
finally clauses.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:16:25 +0000 (15:16 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

 * mini-x86.c (mono_arch_output_basic_block): Record try block holes.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:16:11 +0000 (15:16 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

* mini.h (MonoBasicBlock): Add native_length field.
* mini.h (MonoCompile): Add try_block_holes field.
* mini.h (MonoInst): Add exception_clause pointer to
the data union.

* mini.c (mono_codegen): Calculate MonoBasicBlock::native_length.
* mini.c (mono_cfg_add_try_hole): New function to register possible
holes in try blocks.
* mini.c (create_jit_info): Fill in the holes information.

* mini-exceptions.c: Verify for holes when checking if an IP is covered
by a try block.

* method-to-ir.c: Add the EH clause to the CALL_HANDLE instruction.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:15:03 +0000 (15:15 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

* domain-internals.h: Add MonoTryBlockHoleJitInfo struct and
associated changes to support holes in the protected range of a
try block.

* domain.c: Add mono_jit_info_get_try_block_hole_table_info, which
retrieves the holes table from a given MonoJitInfo.

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

14 years agoNew tests.
Marek Safar [Tue, 16 Mar 2010 14:55:05 +0000 (14:55 -0000)]
New tests.

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

14 years ago * library.make (MDOC_UP): Set MONO_PATH to find monodoc.dll.
Jonathan Pryor [Tue, 16 Mar 2010 14:48:12 +0000 (14:48 -0000)]
* library.make (MDOC_UP): Set MONO_PATH to find monodoc.dll.
* rules.make (MDOC): MONO_PATH needs to include
  $(topdir)/class/lib/net_2_0 so that monodoc.dll can be found.

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

14 years agoIn class:
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 12:34:05 +0000 (12:34 -0000)]
In class:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile: Add System.Xml.Serialization to the Moonlight build.

In class/System.Xml.Serialization/Assembly:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AssemblyInfo.cs: Added.

In class/System.Xml.Serialization:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile:
* System.Xml.Serialization.dll.sources:
* moonlight_raw_System.Xml.Serialization.dll.sources: Added.

In class/System.Xml.Serialization/System.Xml.Serialization:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* XmlMapping.cs:
* XmlAttributes.cs:
* XmlSerializer.cs:
* XmlTypeMapping.cs:
* XmlAttributeOverrides.cs:
* XmlSerializationWriter.cs:
* XmlSerializationReader.cs:
* XmlSerializerNamespaces.cs:
* XmlSerializationGeneratedCode.cs: Added a partially stubbed out version of
System.Xml.Serialization.dll, required for the Silverlight test suite to
compile. A real implementation based on the same classes in System.Xml should
eventually be done.

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:31:23 +0000 (12:31 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:27:35 +0000 (12:27 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:25:55 +0000 (12:25 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:25:17 +0000 (12:25 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:24:55 +0000 (12:24 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:21:34 +0000 (12:21 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:19:11 +0000 (12:19 -0000)]
use MOONLIGHT symbol

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

14 years agoTue Mar 16 13:16:16 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Mar 2010 12:17:13 +0000 (12:17 -0000)]
Tue Mar 16 13:16:16 CET 2010 Paolo Molaro <lupus@ximian.com>

* jit-icalls.c: adjusted for the array API changes.

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

14 years agoTue Mar 16 13:11:15 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Mar 2010 12:16:53 +0000 (12:16 -0000)]
Tue Mar 16 13:11:15 CET 2010 Paolo Molaro <lupus@ximian.com>

* object.h, object-internals.h, object.c, icall.c, gc-internal.h,
debug-helpers.c, cominterop.c, process.c, sgen-gc.c, socket-io.c:
hide the contents of the MonoString and MonoArray structs from the
public API. Change the accessor macros to accessors functions where
needed. Adjusted the array API to allow for pointer-sized lengths and
starting positions, so 64 bit arrays can be optionally provided in an
API compatible way if needed on 64 bit systems.

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:15:11 +0000 (12:15 -0000)]
use MOONLIGHT symbol

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

14 years ago2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 12:14:40 +0000 (12:14 -0000)]
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Enum.cs: Added a few 4.0 api to Moonlight.

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

14 years ago2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 12:14:30 +0000 (12:14 -0000)]
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* WebRequest_2_1.cs: Added UseDefaultCredentials property.

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

14 years ago2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 12:14:19 +0000 (12:14 -0000)]
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AppDomain.cs: Added IsCompatibilitySwitchSet for .NET 4.0 and Moonlight.

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

14 years ago2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 12:14:05 +0000 (12:14 -0000)]
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* XElement.cs:
* SaveOptions.cs: Add more 4.0 api to Moonlight.

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:13:57 +0000 (12:13 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:11:37 +0000 (12:11 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:10:42 +0000 (12:10 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:10:19 +0000 (12:10 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:07:46 +0000 (12:07 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 10:55:58 +0000 (10:55 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 10:53:59 +0000 (10:53 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 10:52:43 +0000 (10:52 -0000)]
use MOONLIGHT symbol

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

14 years ago2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 10:47:36 +0000 (10:47 -0000)]
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Path.cs:
* Directory.cs:
* DirectoryInfo.cs: Add some of the 4.0 methods to Moonlight.

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

14 years agoTue Mar 16 11:20:14 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Mar 2010 10:21:23 +0000 (10:21 -0000)]
Tue Mar 16 11:20:14 CET 2010 Paolo Molaro <lupus@ximian.com>

* mono-profiler-iomap.c: fix some API usage and add a warning
about this code.

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

14 years agoTue Mar 16 10:18:07 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Mar 2010 09:20:22 +0000 (09:20 -0000)]
Tue Mar 16 10:18:07 CET 2010 Paolo Molaro <lupus@ximian.com>

* class-internals.h, class.c, loader.c, marshal.c, metadata.c,
reflection.c: the MonoMethodNormal struct is now unused, so remove it.

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

14 years agorename net_2_1 to moonlight
Jb Evain [Tue, 16 Mar 2010 08:32:57 +0000 (08:32 -0000)]
rename net_2_1 to moonlight

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

14 years agorename net_2_1 to moonlight
Jb Evain [Tue, 16 Mar 2010 08:32:37 +0000 (08:32 -0000)]
rename net_2_1 to moonlight

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

14 years ago2010-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Mar 2010 07:51:14 +0000 (07:51 -0000)]
2010-03-16  Zoltan Varga  <vargaz@gmail.com>

* iltests.il.in: Disable the fconv_to_i test on sparc too.

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

14 years ago2010-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Mar 2010 04:58:06 +0000 (04:58 -0000)]
2010-03-16  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c: Simplify the way breakpoints are processed by removing
the 'pending' flag. This fixes support for appdomains too.

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

14 years ago2010-03-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 16 Mar 2010 01:52:11 +0000 (01:52 -0000)]
2010-03-15  Geoff Norton  <gnorton@novell.com>

* DirectoryCatalog.cs: Patch from MEF team to fix
a case-sensitivity issue on linux

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

14 years ago2010-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Mar 2010 00:35:58 +0000 (00:35 -0000)]
2010-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* TcpTransportElement.cs
  MsmqIntegrationElement.cs
  MsmqElementBase.cs
  NamedPipeTransportElement.cs
  HttpsTransportElement.cs
  TransportElement.cs
  MsmqTransportElement.cs
  HttpTransportElement.cs : implement missing methods.

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

14 years ago2010-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Mar 2010 00:34:56 +0000 (00:34 -0000)]
2010-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* IssuedTokenClientElement.cs, MsmqBindingElementBase.cs,
  NamedPipeConnectionPoolSettingsElement.cs,
  TcpConnectionPoolSettingsElement.cs,
  StandardBindingReliableSessionElement.cs,
  LocalServiceSecuritySettingsElement.cs : use TimeSpanConverter.

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

14 years ago * TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
Carlos Alberto Cortez [Mon, 15 Mar 2010 22:39:42 +0000 (22:39 -0000)]
* TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
range -this is, 23-, then it is processed as days instead - opposed to
2.0, where we are throwing an OverflowException.

2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years agoMVC2 import
Marek Habersack [Mon, 15 Mar 2010 22:32:50 +0000 (22:32 -0000)]
MVC2 import

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

14 years agoAdd DIST_SUBDIRS with SUBDIRS and net_4_0_dirs so that all that stuff gets dist'd
Andrew Jorgensen [Mon, 15 Mar 2010 22:05:58 +0000 (22:05 -0000)]
Add DIST_SUBDIRS with SUBDIRS and net_4_0_dirs so that all that stuff gets dist'd

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

14 years ago2010-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 15 Mar 2010 21:53:52 +0000 (21:53 -0000)]
2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: Make the colon parsing optional -and adjust the name to
reflect it-, so we can properly parse the case where we only have the
hours and minutes. This subtle bug was hidden before, since a string
such "10:12" would be parsed correctly, but "10:12  " (trailing white
space) was getting a FormatException.

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

14 years ago2010-03-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 15 Mar 2010 21:36:30 +0000 (21:36 -0000)]
2010-03-15  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* XElement.cs: Added two new Load overloads for NET 4.0 and Moonlight.

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

14 years agoMon Mar 15 18:28:00 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Mar 2010 17:57:27 +0000 (17:57 -0000)]
Mon Mar 15 18:28:00 CET 2010 Paolo Molaro <lupus@ximian.com>

* class-internals.h: remove the method header from MonoMethod since
from now on it will be transient. We have a header pointer for method
wrappers, since in that case we need to keep track of it. For this
reason, all the Reflection.Emit generated methods use MonoMethodWrapper
structs now. The same happens with MonoMethodInflated.
* class.c: reset the sre_method flag for inflated method structures:
this makes the code that cares look at the header in the MonoMethodInflated
structure.
* loader.c: lookup the method header in the appropriate field now that
it is removed from MonoMethod.
* metadata-internals.h: add a flag to the method header to know if it
can be freed inside mono_metadata_free_mh ().
* method-builder.c: updates after moving the header field from
MonoMethod to MonoMethodWrapper.
* reflection.c: MonoMethods generated from Reflection.Emit use
MonoMethodWrapper structs if they need a method header now (later take
advantage of this and remove all the current unsafe uses of method_aux_hash).
* metadata.c: make method header parsing not leak when verification
fails. Alloc it with g_malloc() and free it in mono_metadata_free_mh().
These changes save a few hundred KB of runtime memory in a mcs
bootstrap or a monodevelop startup.

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

14 years agoMon Mar 15 18:25:49 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Mar 2010 17:26:51 +0000 (17:26 -0000)]
Mon Mar 15 18:25:49 CET 2010 Paolo Molaro <lupus@ximian.com>

* mini-amd64.c, mini-ia64.c: remove direct access to method->header.

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

14 years ago2010-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2010 15:13:07 +0000 (15:13 -0000)]
2010-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceEndpointCollection.cs : those overrides are rather to check
  null arguments, not to skip contract duplicates.

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

14 years ago2010-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2010 15:00:43 +0000 (15:00 -0000)]
2010-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : do not reject endpoints with an identical
  contract to existing ones but with different binding, address or
  listen URI.

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

14 years ago2010-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2010 14:44:27 +0000 (14:44 -0000)]
2010-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDebugElement.cs : binding names could rather be empty.

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

14 years ago2010-03-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 15 Mar 2010 14:32:01 +0000 (14:32 -0000)]
2010-03-15  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* SearchOption.cs: Make public for Moonlight, this type is in SL4.

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

14 years ago2010-03-15 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2010 08:33:53 +0000 (08:33 -0000)]
2010-03-15  Astushi Enomoto  <atsushi@ximian.com>

* net_4_0_System.ServiceModel.dll.sources:
  more types from Sys.SM.Web.dll in 4.0 profile here.

* net_2_0_System.ServiceModel.Web.dll.sources,
  common_System.ServiceModel.Web.dll.sources : UriTemplates are
  moved to Sys.SM.dll in 4.0 profile.

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

14 years ago2010-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2010 06:12:42 +0000 (06:12 -0000)]
2010-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaComplexType.cs : quick fix for bug #584664. Fill base
  content type particles in prior to filling its own.

* XmlSchemaValidatorTests.cs : added test for bug #584664.

584664b.xsd, 584664a.xml, 584664b.xml, 584664a.xsd: new test files
  by Florian Haag.

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

14 years ago2010-03-15 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2010 02:39:27 +0000 (02:39 -0000)]
2010-03-15  Astushi Enomoto  <atsushi@ximian.com>

* Dummy_2_1.cs : added cosmetic silverlight sdk compatibility stuff.

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

14 years ago2010-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 14 Mar 2010 01:53:07 +0000 (01:53 -0000)]
2010-03-14  Zoltan Varga  <vargaz@gmail.com>

* ILParser.jay: Fix the float32(<long>) case in the previous change.

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

14 years ago2010-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 14 Mar 2010 01:42:46 +0000 (01:42 -0000)]
2010-03-14  Zoltan Varga  <vargaz@gmail.com>

* ILParser.jay: Fix support for hex float literals on big-endian platforms.

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

14 years agoJavaScriptReader.cs: Deserialize false correctly. Fixed bug #586712.
Kornél Pál [Sat, 13 Mar 2010 09:48:25 +0000 (09:48 -0000)]
JavaScriptReader.cs: Deserialize false correctly. Fixed bug #586712.

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

14 years agoRevert now that its fixed
Geoff Norton [Sat, 13 Mar 2010 08:30:54 +0000 (08:30 -0000)]
Revert now that its fixed

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

14 years ago2010-03-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 12 Mar 2010 18:59:22 +0000 (18:59 -0000)]
2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>

* WebClient_2_1.cs: Directly set 'progress' delegate field
* WebRequest_2_1.cs: Avoid using reflection (since it was not
really needed anyway)

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

14 years ago2010-03-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 12 Mar 2010 18:09:26 +0000 (18:09 -0000)]
2010-03-12 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Improve error message.

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

14 years ago2010-03-12 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 12 Mar 2010 14:53:56 +0000 (14:53 -0000)]
2010-03-12  Jb Evain  <jbevain@novell.com>

* dump.c (dump_table_exported): dump the type flags as well.

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

14 years agoIn System:
Sebastien Pouliot [Fri, 12 Mar 2010 13:11:11 +0000 (13:11 -0000)]
In System:
2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>

* Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
of SL4

In System.Collections:
2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>

* IStructuralComparable.cs, IStructuralEquatable.cs: Add them to
NET_2_1 since they are parts of SL4

In System.IO:
2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>

* File.cs: Enable some NET_4_0 features in NET_2_1 since they are
part of SL4. Throw a SecurityException in Moonlight in non-debug
builds until we're ready for elevated trust.

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

14 years agofix uncomplete 153500
Jb Evain [Fri, 12 Mar 2010 11:50:22 +0000 (11:50 -0000)]
fix uncomplete 153500

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

14 years ago2010-03-12 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 12 Mar 2010 11:46:55 +0000 (11:46 -0000)]
2010-03-12  Jb Evain  <jbevain@novell.com>

* AssemblyBuilder.cs (AddTypeForwarder): throw if the
type is a nested type.

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

14 years ago2010-03-12 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 12 Mar 2010 11:45:11 +0000 (11:45 -0000)]
2010-03-12  Jb Evain  <jbevain@novell.com>

* reflection.c (add_exported_type): populate the exported
table with the type's nested type.

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

14 years ago2010-03-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Mar 2010 11:15:44 +0000 (11:15 -0000)]
2010-03-12  Atsushi Enomoto  <atsushi@ximian.com>

* MessageDescription.cs : implement MessageName.

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

14 years ago2010-03-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Mar 2010 11:15:10 +0000 (11:15 -0000)]
2010-03-12  Atsushi Enomoto  <atsushi@ximian.com>

* KnownTypeCollection.cs, SerializationMap.cs :
  some refactoring to implement MessageDescription.XmlName.

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

14 years ago2010-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Mar 2010 07:27:23 +0000 (07:27 -0000)]
2010-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* BaseMessagesFormatter.cs : add internal OperationFormatter type
  for moonlight/silverlight-sdk compatibility. It mostly wraps
  the existing the return value by BaseMessagesFormatter.Create().
* DispatchOperation.cs, ClientOperation.cs, EndpointDispatcher.cs:
  use above new type.

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

14 years ago2010-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Mar 2010 07:24:58 +0000 (07:24 -0000)]
2010-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* OperationDescription.cs, MessagePartDescription.cs,
  MessageDescription.cs : add internal moonlight compat stuff.

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

14 years agoforgot to add.
Atsushi Eno [Fri, 12 Mar 2010 07:22:53 +0000 (07:22 -0000)]
forgot to add.

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

14 years ago2010-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Mar 2010 05:19:23 +0000 (05:19 -0000)]
2010-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* XmlName.cs : new internal type for moonlight/SL SDK compatibility.

* System.ServiceModel.dll.sources,
  net_2_1_raw_System.ServiceModel.dll.sources:
  added XmlName.cs.

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

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

* Makefile : build Sys.Json after Sys.SM.Web.

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

14 years ago2010-03-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Mar 2010 02:23:57 +0000 (02:23 -0000)]
2010-03-12  Atsushi Enomoto  <atsushi@ximian.com>

* monotouch_System.ServiceModel.Web.dll.sources :
  This also needs new files.

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

14 years ago2010-03-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 12 Mar 2010 01:06:13 +0000 (01:06 -0000)]
2010-03-12  Zoltan Varga  <vargaz@gmail.com>

* simd-intrinsics.c (simd_intrinsic_emit_getter): Don't emit shuffle opcodes
when using LLVM, LLVM generates it itself when needed.

* mini-llvm-cpp.cpp (mono_llvm_build_aligned_load): New helper function.

* mini-llvm.c: Use an unaligned load for OP_LOADX_MEMBASE. Add zero extension
to some OP_EXTRACT_ opcodes. Fix the naming of some sse intrinsics. Fix
OP_ANDNPS/OP_ANDNPD.

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

14 years ago2010-03-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Mar 2010 21:24:06 +0000 (21:24 -0000)]
2010-03-11  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c (mono_arch_create_monitor_enter_trampoline_full): Use 'code' for
the pc instead of 'buf'. Fix the call to mono_arch_flush_icache ().
(mono_arch_create_monitor_exit_trampoline_full): Ditto.

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

14 years agoIn System.Diagnostics:
Sebastien Pouliot [Thu, 11 Mar 2010 18:15:05 +0000 (18:15 -0000)]
In System.Diagnostics:
2010-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* Debug_2_1.cs: Change type to static to match SL4

In .:
2010-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.dll.sources: Add existing files that are
part of SL4

In System.Collections.Generic:
2010-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* ISet.cs: Add NET_2_1 since this is part of SL4

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

14 years agoIn .:
Sebastien Pouliot [Thu, 11 Mar 2010 18:12:10 +0000 (18:12 -0000)]
In .:
2010-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_corlib.dll.sources: Add System.Diagnostics.Contracts
for Moonlight 4

In System.Diagnostics.Contracts:
2010-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* *.cs: Add NET_2_1 since contracts are part of SL4 :-)

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

14 years agoUse existing accessor for explicit
Marek Safar [Thu, 11 Mar 2010 17:07:20 +0000 (17:07 -0000)]
Use existing accessor for explicit

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