mono.git
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

14 years ago2010-03-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 11 Mar 2010 15:15:45 +0000 (15:15 -0000)]
2010-03-11  Marek Safar  <marek.safar@gmail.com>

* statement.cs, cs-parser.jay: Use correct location for empty
statements.

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

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

* FieldInfoTest.cs: Remove invalid assert.

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

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

* TypeBuilderTest.cs: New tests for GetMethod, GetConstructor
* and GetField.

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

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

* TypeBuilder.cs (GetMethod): Allow type to be the typebuilder
* itself.
Add better error checking to GetConstructor and GetField.

Fixes #587106.

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

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

* EventInfo.cs: Some v4 adjustments.

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

14 years agoUpdated.
Marek Safar [Thu, 11 Mar 2010 14:04:31 +0000 (14:04 -0000)]
Updated.

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

14 years ago2010-03-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 11 Mar 2010 14:04:13 +0000 (14:04 -0000)]
2010-03-11  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Disable Location from expression.

* generic.cs: Check constraints for overrides in the parser.

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

14 years agoremove commented out code
Gonzalo Paniagua Javier [Thu, 11 Mar 2010 06:07:57 +0000 (06:07 -0000)]
remove commented out code

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

14 years agoMoved chain building and validation from Mono.Security to System
Gonzalo Paniagua Javier [Thu, 11 Mar 2010 06:02:08 +0000 (06:02 -0000)]
Moved chain building and validation from Mono.Security to System
to better support the 2.0 validation callback.

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

14 years agofix dist, reviewed by vargaz
Andrew Jorgensen [Thu, 11 Mar 2010 01:06:18 +0000 (01:06 -0000)]
fix dist, reviewed by vargaz

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

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

* Path.cs (GetTempFileName): Fix infinite loop if the process doesn't have
write access to /tmp. Fixes #585017.

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

14 years agoAdd NULL check to type_command()/CMD_TYPE_GET_SOURCE_FILES.
Martin Baulig [Wed, 10 Mar 2010 23:42:33 +0000 (23:42 -0000)]
Add NULL check to type_command()/CMD_TYPE_GET_SOURCE_FILES.
2010-03-11  Martin Baulig  <martin@ximian.com>

* debugger-agent.c (type_commands): Add NULL check to
`CMD_TYPE_GET_SOURCE_FILES'.

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

14 years agoMakefile: For NET_2_1 build System.XML before System.Net
Sebastien Pouliot [Wed, 10 Mar 2010 14:05:37 +0000 (14:05 -0000)]
Makefile: For NET_2_1 build System.XML before System.Net

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

14 years agoIn System/System.Net.Sockets:
Sebastien Pouliot [Wed, 10 Mar 2010 13:19:46 +0000 (13:19 -0000)]
In System/System.Net.Sockets:
2010-03-10  Sebastien Pouliot  <sebastien@ximian.com>

* SocketAsyncEventArgs.cs: Remove the use of reflection to check
xdomain poilicy on sockets (since the policy code now resides in
System.Net.dll)

In System.Net:
2010-03-10  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.Net.dll.sources: Add types from (new internal)
System.Net.Policy (moved from System.Windows.Browser.dll)
* Makefile: Add reference to System.Xml.dll to parse policies

In System.Net/System.Net.Policy:
2010-03-10  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDomainPolicy.cs, ClientAccessPolicy[Parser].cs,
CrossDomainPolicyManager.cs, FlashCrossDomainPolicy[Parser].cs,
ICrossDomainPolicy.cs, NoAccessPolicy.cs, PolicyDownloadPolicy.cs,
SiteOfOriginPolicy.cs: Moved from System.Net.dll with namespace
and minor build adjustments.

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

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

* XmlAnyElementAttribute.cs : add internal IsNullableSpecified
  (for moonlight compatibility).
* XmlChoiceIdentifierAttribute.cs : implement MemberInfo (ditto).

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

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

in System.ServiceModel.Web:
* JavaScriptReader.cs : moved from Sys.Json/JsonReader.cs.

* net_2_0_System.ServiceModel.Web.dll.sources,
  net_2_1_raw_System.ServiceModel.Web.dll.sources :
  move JsonReader.cs as Sys.R.S.Json/JavaScriptReader.cs

in System.Json:
* JsonReader.cs : moved to Sys.SM.Web/Sys.R.S.Json.

* System.Json.dll.sources : remove JsonReader.cs.

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

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

in System.ServiceModel.Web:
* JavaScriptObjectDeserializer.cs : new internal file, which is
  used by System.Json (for moonlight compatibility).

* net_2_0_System.ServiceModel.Web.dll.sources,
  net_2_1_raw_System.ServiceModel.Web.dll.sources :
  add JavaScriptObjectDeserializer.cs and JsonReader in Sys.Json
  (which is to be moved later).

* AssemblyInfo.cs: added InternalVisibleTo(System.Json). Also added
  dummy 2.0 for easy testing.

in System.Json:

* JsonValue.cs : use Sys.SM.Web.dll's JavaScriptObjectDeserializer
  for silverlight sdk / moonlight compatibility.
* JsonReader.cs : renamed to JavaScriptReader (for disambiguation in
  Sys.SM.Web.dll). Now it is native-type based and used by the above
  deserializer.

* Makefile : reference System.Xml and System.ServiceModel.Web (for
  moonlight compatibility).

* AssemblyInfo.cs : use the same pub key in 2.0 (dummy), to ease
  testing locally.

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

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

* DataContractJsonSerializerTest.cs : oops, the test was careless.
  Use fixed date.

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

14 years ago2010-03-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 10 Mar 2010 04:46:25 +0000 (04:46 -0000)]
2010-03-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DeflateStream.cs: don't call unmanaged code when the byte count
is 0. Fixes bug #586870.

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

14 years ago2010-03-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Mar 2010 00:22:20 +0000 (00:22 -0000)]
2010-03-10  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (STRING_SIZE): Semi-revert r153342.  I'm an idiot who
        can't read parentheses.

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

14 years ago2010-03-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Mar 2010 00:06:18 +0000 (00:06 -0000)]
2010-03-10  Mark Probst  <mark.probst@gmail.com>

        * threads.c (thread_cleanup): Add a guard to dereferencing
        "thread" to avoid an unlikely race condition.

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

14 years agoRe-add the changelog entry removed by mistake.
Zoltan Varga [Tue, 9 Mar 2010 22:22:53 +0000 (22:22 -0000)]
Re-add the changelog entry removed by mistake.

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

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

* object-internals.h (_G_BOOLEAN_EXPR): Fix the definition of this to explicitly
convert to a boolean, recent gcc versions compile this differently.

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

14 years agoFix warnings.
Zoltan Varga [Tue, 9 Mar 2010 22:21:26 +0000 (22:21 -0000)]
Fix warnings.

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

14 years ago2010-03-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 9 Mar 2010 20:12:27 +0000 (20:12 -0000)]
2010-03-09  Sebastien Pouliot  <sebastien@ximian.com>

* assembly.c: Fix crash in moon-unit when aname->culture is NULL
instead of an empty string.

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

14 years ago2010-03-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Mar 2010 19:41:10 +0000 (19:41 -0000)]
2010-03-09  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c (safe_object_get_size): Avoid a function call so this can really be
inlined.

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

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

* mini-ppc.c (mono_arch_decompose_opts): Fix OP_ICONV_TO_R_UN when cross-compiling.

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

14 years ago2010-03-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Mar 2010 19:32:49 +0000 (19:32 -0000)]
2010-03-09  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_peephole_ins): Fix the OP_FMOVE optimization. Fixes
#586664.

* iltests.il.in: Add a test.

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

14 years ago2010-03-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 9 Mar 2010 19:14:50 +0000 (19:14 -0000)]
2010-03-09  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (STRING_SIZE): Off by one.

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

14 years agoAdd support for aborting invocations; fixed my commit from Friday, so it doesn't...
Martin Baulig [Tue, 9 Mar 2010 18:30:23 +0000 (18:30 -0000)]
Add support for aborting invocations; fixed my commit from Friday, so it doesn't break compatibility.
2010-03-05  Martin Baulig  <martin@ximian.com>

Add support for aborting invocations.

* IInvokeAsyncResult.cs: New file.
(IInvokeAsyncResult): New public interface; derives from
`IAsyncResult' and contains an Abort() method.

* Connection.cs
(Connection.VM_BeginInvokeMethod): Return the `id'.
(Connection.VM_AbortInvoke): New method.

* ObjectMirror.cs
(ObjectMirror.AbortInvoke): New internal static method.

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

14 years agoAdd support for aborting invocations in the Soft Debugger.
Martin Baulig [Tue, 9 Mar 2010 18:30:10 +0000 (18:30 -0000)]
Add support for aborting invocations in the Soft Debugger.
2010-03-05  Martin Baulig  <martin@ximian.com>

Add support for aborting invocations.

* debugger-agent.c
(InvokeData): Added `InvokeData *last_invoke'.
(DebuggerTlsData): Renamed `invoke' into `pending_invoke' and
added a new `invoke' field to keep the `InvokeData *' throughout
the invocation.
(ErrorCode): Added `ERR_NO_INVOCATION'.
(CmdVM): Added `CMD_VM_ABORT_INVOKE'.
(mono_debugger_agent_handle_exception): Don't report any exception
if an abort was requested.
(invoke_method): Store the `InvokeData *' in `tls->invoke'; reset
a thread abort if necessary.
(vm_commands): Implement `CMD_VM_ABORT_INVOKE'.

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

14 years ago2010-03-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 9 Mar 2010 18:09:10 +0000 (18:09 -0000)]
2010-03-09  Mark Probst  <mark.probst@gmail.com>

        * sgen-archdep.h: Fix the signal context register access for
        AMD64.

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

14 years agofix build
Chris Toshok [Tue, 9 Mar 2010 17:24:07 +0000 (17:24 -0000)]
fix build

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