Jb Evain [Tue, 16 Mar 2010 12:25:17 +0000 (12:25 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153670
Jb Evain [Tue, 16 Mar 2010 12:24:55 +0000 (12:24 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153669
Jb Evain [Tue, 16 Mar 2010 12:21:34 +0000 (12:21 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153668
Jb Evain [Tue, 16 Mar 2010 12:19:11 +0000 (12:19 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153667
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
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
Jb Evain [Tue, 16 Mar 2010 12:15:11 +0000 (12:15 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153664
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
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
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
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
Jb Evain [Tue, 16 Mar 2010 12:13:57 +0000 (12:13 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153659
Jb Evain [Tue, 16 Mar 2010 12:11:37 +0000 (12:11 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153658
Jb Evain [Tue, 16 Mar 2010 12:10:42 +0000 (12:10 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153657
Jb Evain [Tue, 16 Mar 2010 12:10:19 +0000 (12:10 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153656
Jb Evain [Tue, 16 Mar 2010 12:07:46 +0000 (12:07 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153655
Jb Evain [Tue, 16 Mar 2010 10:55:58 +0000 (10:55 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153654
Jb Evain [Tue, 16 Mar 2010 10:53:59 +0000 (10:53 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153653
Jb Evain [Tue, 16 Mar 2010 10:52:43 +0000 (10:52 -0000)]
use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153651
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
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
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
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
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
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
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
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
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
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
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
Marek Habersack [Mon, 15 Mar 2010 22:32:50 +0000 (22:32 -0000)]
MVC2 import
svn path=/trunk/mcs/; revision=153615
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Geoff Norton [Sat, 13 Mar 2010 08:30:54 +0000 (08:30 -0000)]
Revert now that its fixed
svn path=/trunk/mcs/; revision=153535
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
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
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
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
Jb Evain [Fri, 12 Mar 2010 11:50:22 +0000 (11:50 -0000)]
fix uncomplete 153500
svn path=/trunk/mono/; revision=153502
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
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
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
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
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
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
Atsushi Eno [Fri, 12 Mar 2010 07:22:53 +0000 (07:22 -0000)]
forgot to add.
svn path=/trunk/mcs/; revision=153491
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
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
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
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
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
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
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
Marek Safar [Thu, 11 Mar 2010 17:07:20 +0000 (17:07 -0000)]
Use existing accessor for explicit
svn path=/trunk/mcs/; revision=153475
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
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
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
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
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
Marek Safar [Thu, 11 Mar 2010 14:04:31 +0000 (14:04 -0000)]
Updated.
svn path=/trunk/mcs/; revision=153464
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
Gonzalo Paniagua Javier [Thu, 11 Mar 2010 06:07:57 +0000 (06:07 -0000)]
remove commented out code
svn path=/trunk/mcs/; revision=153446
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
Andrew Jorgensen [Thu, 11 Mar 2010 01:06:18 +0000 (01:06 -0000)]
fix dist, reviewed by vargaz
svn path=/trunk/mono/; revision=153435
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
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
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
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
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
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
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
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
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
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
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
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
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
Zoltan Varga [Tue, 9 Mar 2010 22:21:26 +0000 (22:21 -0000)]
Fix warnings.
svn path=/trunk/mono/; revision=153370
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
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
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
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
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
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
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
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
Chris Toshok [Tue, 9 Mar 2010 17:24:07 +0000 (17:24 -0000)]
fix build
svn path=/trunk/mcs/; revision=153331