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
Atsushi Eno [Tue, 9 Mar 2010 11:21:24 +0000 (11:21 -0000)]
2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
* JsonSerializationWriter.cs, JsonSerializationReader.cs,
JsonWriter.cs : Fix DateTime serialization and "\/" string escape
issues. Fixed bug #586169.
* DataContractJsonSerializerTest.cs : add test for bug #586169.
* JsonWriterTest.cs : add standalone write case for "\/".
svn path=/trunk/mcs/; revision=153318
Marek Safar [Tue, 9 Mar 2010 10:31:12 +0000 (10:31 -0000)]
2010-03-09 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay (GetLocation): Use an expression when available.
svn path=/trunk/mcs/; revision=153314
Atsushi Eno [Tue, 9 Mar 2010 08:01:46 +0000 (08:01 -0000)]
2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
type, and use null password unless we find a chance to get password
in ASP.NET HttpContext.
svn path=/trunk/mcs/; revision=153310
Gonzalo Paniagua Javier [Tue, 9 Mar 2010 07:45:32 +0000 (07:45 -0000)]
2010-03-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpConnection.cs: set the right position when a CR is found.
Fixes bug #577891.
svn path=/trunk/mcs/; revision=153309
Gonzalo Paniagua Javier [Tue, 9 Mar 2010 06:34:44 +0000 (06:34 -0000)]
add realm from HttpListener
svn path=/trunk/mcs/; revision=153302
Gonzalo Paniagua Javier [Tue, 9 Mar 2010 06:05:10 +0000 (06:05 -0000)]
2010-03-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpListener.cs:
* HttpListenerRequest.cs:
* ListenerAsyncResult.cs:
* HttpConnection.cs: make sure there is no pending input when reusing
the connection.
svn path=/trunk/mcs/; revision=153300
Geoff Norton [Tue, 9 Mar 2010 06:01:50 +0000 (06:01 -0000)]
revert this
svn path=/trunk/mcs/; revision=153299
Atsushi Eno [Tue, 9 Mar 2010 05:58:03 +0000 (05:58 -0000)]
2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportSecurity.cs : remove MonoTODOs.
* XmlDictionaryReaderQuotasElement.cs : add ApplyConfiguration().
* BasicHttpBindingElement.cs : apply transport security part.
Use ReaderQuotas.ApplyConfiguration() for better config application.
* HttpTransportSecurityElement.cs :
Add utility config method. Fix enum default values.
svn path=/trunk/mcs/; revision=153298
Carlos Alberto Cortez [Tue, 9 Mar 2010 03:26:28 +0000 (03:26 -0000)]
* TimeSpan.cs: Implement 4.0 overloads of TryParse/Parse.
2010-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=153297
Carlos Alberto Cortez [Tue, 9 Mar 2010 02:09:05 +0000 (02:09 -0000)]
2010-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpanTest.cs: New tests for the 4.0 ToString overloads.
svn path=/trunk/mcs/; revision=153294
Carlos Alberto Cortez [Tue, 9 Mar 2010 02:07:30 +0000 (02:07 -0000)]
2010-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: Implement 4.0 ToString overloads.
svn path=/trunk/mcs/; revision=153293
Zoltan Varga [Tue, 9 Mar 2010 00:40:06 +0000 (00:40 -0000)]
2010-03-09 Zoltan Varga <vargaz@gmail.com>
* include/private/gc_locks.h: Fix amd64 build with newer gcc's.
svn path=/trunk/mono/; revision=153291
Zoltan Varga [Tue, 9 Mar 2010 00:10:58 +0000 (00:10 -0000)]
2010-03-09 Zoltan Varga <vargaz@gmail.com>
* sgen-gray.c: Get rid of the unused 'start' field in GrayQueueSection.
svn path=/trunk/mono/; revision=153290
Gonzalo Paniagua Javier [Mon, 8 Mar 2010 21:55:46 +0000 (21:55 -0000)]
2010-03-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpListenerContext.cs: split the auth header in 2 parts.
* HttpListener.cs: backported SelectAuthenticationScheme and
added new InternalEndGetContext used for connections that require
authentication.
* ListenerAsyncResult.cs: allow this object to be just a forwarder
when nesting connections for authentication purposes.
Fixes bug #585455.
svn path=/trunk/mcs/; revision=153288
Rodrigo Kumpera [Mon, 8 Mar 2010 20:53:08 +0000 (20:53 -0000)]
2010-03-08 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c: Store the initial basic block returned by
* mono_basic_block_split
so we can release the whole list and not just the first one.
Free it in more places as well.
svn path=/trunk/mono/; revision=153282
Rodrigo Kumpera [Mon, 8 Mar 2010 20:53:00 +0000 (20:53 -0000)]
2010-03-08 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Store the initial basic block returned by
* mono_basic_block_split
so we can release the whole list and not just the first one.
svn path=/trunk/mono/; revision=153281
Rodrigo Kumpera [Mon, 8 Mar 2010 20:52:52 +0000 (20:52 -0000)]
2010-03-08 Rodrigo Kumpera <rkumpera@novell.com>
* mono.supp: Add hazard pointers supressions.
svn path=/trunk/mono/; revision=153280
Miguel de Icaza [Mon, 8 Mar 2010 20:04:33 +0000 (20:04 -0000)]
This too
svn path=/trunk/mcs/; revision=153278
Miguel de Icaza [Mon, 8 Mar 2010 20:03:00 +0000 (20:03 -0000)]
removed this too
svn path=/trunk/mcs/; revision=153277
Jérémie Laval [Mon, 8 Mar 2010 18:35:17 +0000 (18:35 -0000)]
2010-03-08 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Threading/:
* SpinLock.cs: Merge algorithm back in SpinLock struct
svn path=/trunk/mcs/; revision=153276
Rodrigo Kumpera [Mon, 8 Mar 2010 17:45:06 +0000 (17:45 -0000)]
2010-03-08 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c: Revert r153222 as it doesn't belong here.
svn path=/trunk/mono/; revision=153274
Jérémie Laval [Mon, 8 Mar 2010 17:21:05 +0000 (17:21 -0000)]
2010-03-08 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/:
* corlib_test.dll.sources: Add System.Threading/SpinLockTests.cs
In class/corlib/System.Threading/:
* SpinLock.cs: Update to use ticket spinlock algorithm
In class/corlib/Test/System.Threading/:
* SpinLockTests.cs: Added unit tests for SpinLock
svn path=/trunk/mcs/; revision=153273
Paolo Molaro [Mon, 8 Mar 2010 16:59:39 +0000 (16:59 -0000)]
Mon Mar 8 17:58:26 CET 2010 Paolo Molaro <lupus@ximian.com>
* mini.h, *.c: prepare for MonoMethodHeader to become a transient entity.
svn path=/trunk/mono/; revision=153270
Paolo Molaro [Mon, 8 Mar 2010 16:50:02 +0000 (16:50 -0000)]
Mon Mar 8 17:35:26 CET 2010 Paolo Molaro <lupus@ximian.com>
* driver.c: report also other misc build options.
svn path=/trunk/mono/; revision=153267
Paolo Molaro [Mon, 8 Mar 2010 16:34:01 +0000 (16:34 -0000)]
Mon Mar 8 17:30:44 CET 2010 Paolo Molaro <lupus@ximian.com>
* verify.c, debug-helpers.c, profiler.c, loader.c,
mono-basic-block.c, mono-debug.c, reflection.c: prepare to make
MonoMethodHeader a transient entity.
svn path=/trunk/mono/; revision=153265
Zoltan Varga [Mon, 8 Mar 2010 16:32:10 +0000 (16:32 -0000)]
2010-03-08 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (scan_needed_big_objects): Call drain_gray_stack () to avoid
uncontrolled growth of the gray stack.
* sgen-gray.c: Rewrite this so it behaves like a stack, not a queue, so recently
added items are removed first, improving cache locality. Avoid freeing queue
segments in the fast path, use the list of segments as the free list, truncate
it to its max size at the start of collection.
svn path=/trunk/mono/; revision=153264
Zoltan Varga [Mon, 8 Mar 2010 16:31:33 +0000 (16:31 -0000)]
2010-03-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Fix the handling of loader errors in
the delegate ctor optimization when using sgen.
svn path=/trunk/mono/; revision=153263
Zoltan Varga [Mon, 8 Mar 2010 16:06:55 +0000 (16:06 -0000)]
Revert "2010-03-06 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
4166ce286e8133828521b62d654d8d08ca62e6aa.
Revert this too as the corresponding fix was reverted.
svn path=/trunk/mono/; revision=153256
Zoltan Varga [Mon, 8 Mar 2010 16:02:45 +0000 (16:02 -0000)]
Revert "2010-03-06 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
8e7bbca7b9258e3622192f30b13475bc2a0fb52b.
svn path=/trunk/mono/; revision=153255
Atsushi Eno [Mon, 8 Mar 2010 12:42:52 +0000 (12:42 -0000)]
2010-03-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSerializationWriter.cs : namespaces argument could be null.
MS generated serializers often pass null here.
svn path=/trunk/mcs/; revision=153250
Atsushi Eno [Mon, 8 Mar 2010 11:36:00 +0000 (11:36 -0000)]
2010-03-08 Atsushi Enomoto <atsushi@ximian.com>
* X509RecipientCertificateServiceElement.cs : remove extra FIXMEs.
* ServiceCredentialsElement.cs : implement CreateBehavior().
* IssuedTokenServiceCredential.cs : add missing members.
svn path=/trunk/mcs/; revision=153247
Atsushi Eno [Mon, 8 Mar 2010 10:06:56 +0000 (10:06 -0000)]
2010-03-08 Atsushi Enomoto <atsushi@ximian.com>
* TypeElementCollection.cs : more corcompare fixes.
svn path=/trunk/mcs/; revision=153238
Paolo Molaro [Mon, 8 Mar 2010 09:31:12 +0000 (09:31 -0000)]
Mon Mar 8 10:13:52 CET 2010 Paolo Molaro <lupus@ximian.com>
* metadata-internals.h: more memory savings, both with small config and without.
svn path=/trunk/mono/; revision=153235
Paolo Molaro [Mon, 8 Mar 2010 09:14:44 +0000 (09:14 -0000)]
Mon Mar 8 10:13:52 CET 2010 Paolo Molaro <lupus@ximian.com>
* metadata.h: more space savings, both with small config and without.
svn path=/trunk/mono/; revision=153234
Rodrigo Kumpera [Mon, 8 Mar 2010 04:30:59 +0000 (04:30 -0000)]
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfo.cs: New v4 stuff.
svn path=/trunk/mcs/; revision=153230
Rodrigo Kumpera [Mon, 8 Mar 2010 04:30:50 +0000 (04:30 -0000)]
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
* ManifestResourceInfo.cs> Ne v4 .ctor.
svn path=/trunk/mcs/; revision=153229
Rodrigo Kumpera [Mon, 8 Mar 2010 04:05:59 +0000 (04:05 -0000)]
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
* Debugger.cs: Add Obsolete attribute to .ctor().
svn path=/trunk/mcs/; revision=153227
Rodrigo Kumpera [Sun, 7 Mar 2010 20:29:00 +0000 (20:29 -0000)]
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
* Runtime.cs: Document how NewObject() is meant to be used.
svn path=/trunk/mcs/; revision=153224
Rodrigo Kumpera [Sun, 7 Mar 2010 20:28:51 +0000 (20:28 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* UIntPtr.cs: Remove some v4 custom attributes that were
on Beta2 but aren't there on RC.
svn path=/trunk/mcs/; revision=153223
Rodrigo Kumpera [Sun, 7 Mar 2010 20:18:02 +0000 (20:18 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c: Generate better code for the NewObject
intrinsic.
svn path=/trunk/mono/; revision=153222
Zoltan Varga [Sun, 7 Mar 2010 19:26:55 +0000 (19:26 -0000)]
2010-03-07 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_if_conversion): Disable one of the cases when deadce
is disabled. Fixes #582322.
* iltests.il.in: Add a test.
svn path=/trunk/mono/; revision=153219
Rodrigo Kumpera [Sun, 7 Mar 2010 00:09:31 +0000 (00:09 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* BigIntegerTest.cs: Tests for decimal stuff.
svn path=/trunk/mcs/; revision=153216
Rodrigo Kumpera [Sun, 7 Mar 2010 00:09:22 +0000 (00:09 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* BigInteger.cs: Simply Parse/TryParse.
svn path=/trunk/mcs/; revision=153215
Rodrigo Kumpera [Sun, 7 Mar 2010 00:09:14 +0000 (00:09 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* BigIntegerTest.cs: Tests for decimal stuff.
svn path=/trunk/mcs/; revision=153214
Rodrigo Kumpera [Sun, 7 Mar 2010 00:09:05 +0000 (00:09 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* BigInteger.cs: Add decimal operators/ctor.
svn path=/trunk/mcs/; revision=153213
Rodrigo Kumpera [Sun, 7 Mar 2010 00:08:54 +0000 (00:08 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* BigInteger.cs: Float/double coersion operators.
svn path=/trunk/mcs/; revision=153212
Marek Habersack [Sat, 6 Mar 2010 22:47:44 +0000 (22:47 -0000)]
oops
svn path=/trunk/mcs/; revision=153211
Gonzalo Paniagua Javier [Sat, 6 Mar 2010 21:36:54 +0000 (21:36 -0000)]
2010-03-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* processes.c: made ShellExecuteEx actually work when the file name to
execute is quoted. Display a message intead of blindly ignoring the
result of g_shell_parse_argv(). Fixes bug #385497.
svn path=/trunk/mono/; revision=153208
Rodrigo Kumpera [Sat, 6 Mar 2010 20:45:54 +0000 (20:45 -0000)]
2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* BigIntegerTest.cs: Tests for remaining ToString
overloads
svn path=/trunk/mcs/; revision=153207