Robert Jordan [Thu, 27 May 2010 22:16:56 +0000 (22:16 -0000)]
2010-05-28 Robert Jordan <robertj@gmx.net>
* Makefile, *.dll.sources: disambiguate between Mvc and Mvc2
by using a distinct LIBRARY. Needed because the current
build system does not pay attention to LIBRARY_COMPAT
while building *.reponse and *.makefrag.
svn path=/trunk/mcs/; revision=158066
Ankit Jain [Thu, 27 May 2010 20:53:30 +0000 (20:53 -0000)]
* AssemblyResolver.cs (PopulateTargetFrameworkAssemblies):
Handle invalid dll, add a null check.
svn path=/trunk/mcs/; revision=158064
Marek Safar [Thu, 27 May 2010 18:56:56 +0000 (18:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158060
Marek Safar [Thu, 27 May 2010 18:56:30 +0000 (18:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158059
Marek Safar [Thu, 27 May 2010 18:56:10 +0000 (18:56 -0000)]
2010-05-27 Marek Safar <marek.safar@gmail.com>
A fix for bugs #608007, #572540, #566130, #476358
* generic.cs, linq.cs, expression.cs, statement.cs, cs-parser.jay:
More tricky refactoring of implicit linq blocks.
svn path=/trunk/mcs/; revision=158058
Zoltan Varga [Thu, 27 May 2010 18:23:52 +0000 (18:23 -0000)]
2010-05-27 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c (mono_arch_output_basic_block): Applied patch from Aurelien Minvielle
. Fix OP_ATOMIC_EXCHANGE_I4 on s390x. Fixes #609023.
svn path=/trunk/mono/; revision=158055
Zoltan Varga [Thu, 27 May 2010 18:18:11 +0000 (18:18 -0000)]
2010-05-27 Zoltan Varga <vargaz@gmail.com>
* interlocked.cs: Add a test for Interlocked.Exchange on a local variable.
svn path=/trunk/mono/; revision=158054
Martin Baulig [Thu, 27 May 2010 17:37:31 +0000 (17:37 -0000)]
#605698: Execute SDB commands in the debuggee's appdomain.
2010-05-27 Martin Baulig <martin@ximian.com>
Fix #605698.
* debugger-agent.c (method_commands, type_commands): Temporarily
set the appdomain while executing this method; do all metadata
calls in the debuggee's appdomain where user assemblies are loaded.
svn path=/trunk/mono/; revision=158052
Carlos Alberto Cortez [Thu, 27 May 2010 17:21:10 +0000 (17:21 -0000)]
* IsolatedStorageFileTest.cs: New test case for CopyFile.
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=158050
Carlos Alberto Cortez [Thu, 27 May 2010 17:19:48 +0000 (17:19 -0000)]
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Implement CopyFile.
svn path=/trunk/mcs/; revision=158049
Atsushi Eno [Thu, 27 May 2010 17:17:12 +0000 (17:17 -0000)]
2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
* EndpointDispatcher.cs : fill CallbackDispatchRuntime. Add some
FIXME comments for ongoing fixes.
svn path=/trunk/mcs/; revision=158048
Atsushi Eno [Thu, 27 May 2010 17:14:44 +0000 (17:14 -0000)]
2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
* CallbackBehaviorAttributeTest.cs : fix assertion label.
svn path=/trunk/mcs/; revision=158046
Atsushi Eno [Thu, 27 May 2010 17:13:56 +0000 (17:13 -0000)]
2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
* ServiceRuntimeChannel.cs : remove unused members for refactoring.
* OperationContext.cs : add comment on GetCallbackChannel<T>().
svn path=/trunk/mcs/; revision=158045
Zoltan Varga [Thu, 27 May 2010 16:26:43 +0000 (16:26 -0000)]
2010-05-27 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c (mono_arch_get_delegate_invoke_impls): Fix the s390x build.
svn path=/trunk/mono/; revision=158044
Jonathan Pobst [Thu, 27 May 2010 14:55:22 +0000 (14:55 -0000)]
Declare variables first, to fix msvc build.
svn path=/trunk/mono/; revision=158037
Carlos Alberto Cortez [Thu, 27 May 2010 13:01:16 +0000 (13:01 -0000)]
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test case for GetCreationTime.
svn path=/trunk/mcs/; revision=158031
Carlos Alberto Cortez [Thu, 27 May 2010 13:00:30 +0000 (13:00 -0000)]
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Implement GetCreationTime, GetLastAccessTime
and GetLastWriteTime, as well as creating a single method to check for
the closed/disposed fields.
svn path=/trunk/mcs/; revision=158030
Jb Evain [Thu, 27 May 2010 11:51:02 +0000 (11:51 -0000)]
flush
svn path=/trunk/mcs/; revision=158024
Jb Evain [Thu, 27 May 2010 11:40:06 +0000 (11:40 -0000)]
flush
svn path=/trunk/mcs/; revision=158022
Jb Evain [Thu, 27 May 2010 11:39:58 +0000 (11:39 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* EnumBuilder.cs (GetEnumUnderlyingType): override.
svn path=/trunk/mcs/; revision=158021
Jb Evain [Thu, 27 May 2010 11:39:31 +0000 (11:39 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* EnumBuilderTest.cs: add test for .net_4_0's GetEnumUnderlyingType.
svn path=/trunk/mcs/; revision=158020
Jb Evain [Thu, 27 May 2010 11:16:30 +0000 (11:16 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* Assembly.cs (Load*): add net_4_0 overloads.
svn path=/trunk/mcs/; revision=158018
Jb Evain [Thu, 27 May 2010 10:58:57 +0000 (10:58 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* AppDomain.cs (DefineDynamicAssembly): add new net_4_0 overloads.
svn path=/trunk/mcs/; revision=158017
Jb Evain [Thu, 27 May 2010 10:58:38 +0000 (10:58 -0000)]
include System.Security.SecurityContextSource
svn path=/trunk/mcs/; revision=158016
Jb Evain [Thu, 27 May 2010 10:58:08 +0000 (10:58 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* SecurityContextSource.cs: add new enum in net_4_0.
svn path=/trunk/mcs/; revision=158015
Rodrigo Kumpera [Thu, 27 May 2010 00:38:43 +0000 (00:38 -0000)]
2010-05-25 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (search_fragment_for_size): Move fragment setup into
a separate function called setup_fragment.
* sgen-gc.c (search_fragment_for_size_range): Variant of
search_fragment_for_size that does search for a secondary smaller
size.
* sgen-gc.c (mono_gc_alloc_obj_nolock): Use search_fragment_for_size_range
for tlab allocation so small fragments are used.
This patch uses small fragments for tlab allocation when possible in order
to improve nursery utilization. With a fixed size tlab this patch is not very
usefull but once size gets dynamically adjusted, this will be invaluable.
Performance under pystone 500k is unchanged. Nursery utilization improves by
3.5% and 18 more fragments are used per minor GC.
Performance under modified binary-tree is unchanged. Nursery utilization
improves by 0.5% and 3 more fragments are used per minor GC.
These numbers make sense since as more pinning happens, more fragments are
created and so are the chances of having a bunch of small ones.
svn path=/trunk/mono/; revision=157998
Rodrigo Kumpera [Thu, 27 May 2010 00:38:35 +0000 (00:38 -0000)]
2010-05-26 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (mono_gc_alloc_obj_nolock): Avoid wasting space
* from
the current fragment when allocating a TLAB.
Reduces number of pystone 500k minor collections by 7%.
svn path=/trunk/mono/; revision=157997
Rodrigo Kumpera [Thu, 27 May 2010 00:38:28 +0000 (00:38 -0000)]
2010-05-26 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Add missing write barrier
* to stobj.
svn path=/trunk/mono/; revision=157996
Geoff Norton [Wed, 26 May 2010 20:10:38 +0000 (20:10 -0000)]
Fix the build
svn path=/trunk/mono/; revision=157987
Carlos Alberto Cortez [Wed, 26 May 2010 15:58:05 +0000 (15:58 -0000)]
2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Remove should call Close, just as .Net seems
to do.
svn path=/trunk/mcs/; revision=157970
Carlos Alberto Cortez [Wed, 26 May 2010 15:52:22 +0000 (15:52 -0000)]
2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileStreamTest.cs: New test cases for constructor
obtaining a closed/disposed IsolatedStorageFile.
svn path=/trunk/mcs/; revision=157969
Miguel de Icaza [Wed, 26 May 2010 15:06:03 +0000 (15:06 -0000)]
Update docs
svn path=/trunk/mono/; revision=157966
Zoltan Varga [Wed, 26 May 2010 14:14:10 +0000 (14:14 -0000)]
2010-05-26 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Instead of freeing method headers immediately, save them in a list in
MonoCompile, and free them in mono_destroy_compile (), since the MonoType's in them could
be referenced even after the header is freed.
svn path=/trunk/mono/; revision=157962
Jb Evain [Wed, 26 May 2010 12:23:20 +0000 (12:23 -0000)]
fix integration tests
svn path=/trunk/mcs/; revision=157958
Marek Safar [Wed, 26 May 2010 11:53:06 +0000 (11:53 -0000)]
flush
svn path=/trunk/mcs/; revision=157956
Atsushi Eno [Wed, 26 May 2010 10:46:32 +0000 (10:46 -0000)]
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
here. If the contract is not one-way (IsOneWay = false) and there is
a callback, the callback message sent to the client should *not* be
assigned RelatesTo header here. Just do it in the request-reply
context. Do it in OperationInvokerHandler.
* OperationInvokerHandler.cs : assign RelatesTo header item here.
svn path=/trunk/mcs/; revision=157950
Jb Evain [Wed, 26 May 2010 10:44:04 +0000 (10:44 -0000)]
fix tests
svn path=/trunk/mcs/; revision=157949
Marek Habersack [Wed, 26 May 2010 10:30:34 +0000 (10:30 -0000)]
Fix test compilation - parts of web security were moved to a separate assembly
svn path=/trunk/mcs/; revision=157946
Marek Habersack [Wed, 26 May 2010 09:51:48 +0000 (09:51 -0000)]
2010-05-26 Marek Habersack <mhabersack@novell.com>
* ValidationAttribute.cs: cope with null/empty ErrorMessageString
in FormatErrorMessage
svn path=/trunk/mcs/; revision=157941
Atsushi Eno [Wed, 26 May 2010 09:28:03 +0000 (09:28 -0000)]
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : revert the previous change. It was
actually sent.
svn path=/trunk/mcs/; revision=157940
Atsushi Eno [Wed, 26 May 2010 07:54:50 +0000 (07:54 -0000)]
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : do not add implicit ReplyTo on output
channels.
svn path=/trunk/mcs/; revision=157935
Zoltan Varga [Wed, 26 May 2010 03:04:34 +0000 (03:04 -0000)]
2010-05-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Remove the half finished support for decoding the .arm_exidx
section.
svn path=/trunk/mono/; revision=157926
Bill Holmes [Tue, 25 May 2010 21:23:52 +0000 (21:23 -0000)]
2010-05-25 Bill Holmes <billholmes54@gmail.com>
* genmdesc.c (main): Fixing the detection of the nacl switch.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=157911
Zoltan Varga [Tue, 25 May 2010 19:15:42 +0000 (19:15 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Enable llvm for methods with clauses when using
LLVM SVN.
svn path=/trunk/mono/; revision=157894
Zoltan Varga [Tue, 25 May 2010 18:52:31 +0000 (18:52 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_find_jit_info_ext): Adjust the ip for LMF frames too.
svn path=/trunk/mono/; revision=157892
Zoltan Varga [Tue, 25 May 2010 18:27:08 +0000 (18:27 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c aot-compiler.c: More LLVM 2.8 updates.
* mini.h (LLVM_CHECK_VERSION): New helper macro.
svn path=/trunk/mono/; revision=157889
Miguel de Icaza [Tue, 25 May 2010 17:31:33 +0000 (17:31 -0000)]
2010-05-25 Miguel de Icaza <miguel@novell.com>
* genmdesc.pl (build_spec): Add support for nacl: keyword also to
the Perl program
svn path=/trunk/mono/; revision=157882
Miguel de Icaza [Tue, 25 May 2010 17:25:21 +0000 (17:25 -0000)]
2010-05-25 Miguel de Icaza <miguel@novell.com>
* genmdesc.c: Added support for nacl: key on the machine
description files to support the extra space required by Google
Native Client.
svn path=/trunk/mono/; revision=157881
Zoltan Varga [Tue, 25 May 2010 15:56:01 +0000 (15:56 -0000)]
Revert "2010-05-22 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
eeadb4d4b391091d6517b2ca8e44d7f187a92373.
svn path=/trunk/mono/; revision=157871
Zoltan Varga [Tue, 25 May 2010 15:55:54 +0000 (15:55 -0000)]
Revert "2010-05-23 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
d21dba61ec1fd95ee9695473084b355974435e3c.
svn path=/trunk/mono/; revision=157870
Zoltan Varga [Tue, 25 May 2010 15:51:01 +0000 (15:51 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* Applied patch from Burkhard Linke (blinke@cebitec.uni-bielefeld.de). Fix
building on solaris.
svn path=/trunk/mono/; revision=157869
Martin Baulig [Tue, 25 May 2010 15:44:51 +0000 (15:44 -0000)]
Release memory from symfiles that were loaded from memory.
2010-05-25 Martin Baulig <martin@ximian.com>
Applying a patch from Lucas Meijer <lucas@lucasmeijer.com>.
* debug-mono-symfile.c: Release memory from symfiles that were
loaded from memory.
svn path=/trunk/mono/; revision=157865
Martin Baulig [Tue, 25 May 2010 15:39:34 +0000 (15:39 -0000)]
Add public API to get the protocol version.
2010-05-24 Martin Baulig <martin@ximian.com>
* Connection.cs (VersionInfo): Make this public.
* VirtualMachine.cs (Version): New public property.
svn path=/trunk/mcs/; revision=157862
Jérémie Laval [Tue, 25 May 2010 14:37:01 +0000 (14:37 -0000)]
2010-05-25 Jérémie Laval <jeremie.laval@gmail.com>
In class/System.Core/System.Linq/:
* ParallelExecuter.cs: Fix NRE caused by lambda wrapping
svn path=/trunk/mcs/; revision=157856
Jb Evain [Tue, 25 May 2010 13:59:46 +0000 (13:59 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedViewAccessor.cs: fix API.
svn path=/trunk/mcs/; revision=157852
Jb Evain [Tue, 25 May 2010 13:51:40 +0000 (13:51 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFile.cs: add missing overloads.
svn path=/trunk/mcs/; revision=157850
Jb Evain [Tue, 25 May 2010 13:50:59 +0000 (13:50 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFileTest.cs: use proper overloads.
svn path=/trunk/mcs/; revision=157849
Jb Evain [Tue, 25 May 2010 13:37:35 +0000 (13:37 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFile.cs: make some helper methods private.
svn path=/trunk/mcs/; revision=157847
Jb Evain [Tue, 25 May 2010 13:37:05 +0000 (13:37 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFileSecurity.cs: ifdef for NET_4_0.
svn path=/trunk/mcs/; revision=157846
Jb Evain [Tue, 25 May 2010 13:23:45 +0000 (13:23 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* CryptoTools.cs: make types internal for INSIDE_SYSCORE as well.
svn path=/trunk/mcs/; revision=157845
Jb Evain [Tue, 25 May 2010 13:23:10 +0000 (13:23 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* Makefile: define INSIDE_SYSCORE.
svn path=/trunk/mcs/; revision=157844
Jb Evain [Tue, 25 May 2010 13:13:23 +0000 (13:13 -0000)]
tag a couple of obsolete members
svn path=/trunk/mcs/; revision=157843
Marek Safar [Tue, 25 May 2010 10:48:07 +0000 (10:48 -0000)]
2010-05-25 Marek Safar <marek.safar@gmail.com>
* linq.cs, cs-parser.jay: Keep location for all linq clauses.
svn path=/trunk/mcs/; revision=157835
Marek Safar [Tue, 25 May 2010 09:55:05 +0000 (09:55 -0000)]
2010-05-21 Marek Safar <marek.safar@gmail.com>
* context.cs, expression.cs, cs-parser.jay: Don't store current
block in This expression (it's too early for linq blocks).
svn path=/trunk/mcs/; revision=157834
Jb Evain [Tue, 25 May 2010 08:56:12 +0000 (08:56 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* Enumerable.cs: make Reverse lazier. Based on a patch by
Matthew Flaschen <matthew.flaschen@gatech.edu>. Fixes #608195.
svn path=/trunk/mcs/; revision=157831
Atsushi Eno [Tue, 25 May 2010 05:54:52 +0000 (05:54 -0000)]
this bug had nothing to do with it.
svn path=/trunk/mcs/; revision=157824
Atsushi Eno [Tue, 25 May 2010 05:43:00 +0000 (05:43 -0000)]
2010-05-25 Atsushi Enomoto <atsushi@ximian.com>
* UriTemplate.cs : safe-unescape template parameters.
Got bug #573795 site working.
svn path=/trunk/mcs/; revision=157823
Carlos Alberto Cortez [Tue, 25 May 2010 01:02:42 +0000 (01:02 -0000)]
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test cases for CreateFile,
MoveDirectory and MoveFile.
svn path=/trunk/mcs/; revision=157817
Carlos Alberto Cortez [Tue, 25 May 2010 01:02:15 +0000 (01:02 -0000)]
* IsolatedStorageFileStream.cs: When creating the instance, we should check
for diposed first, and for closed on second place.
* IsolatedStorageFile.cs: Add Obsolete to CurrentSize and MaximumSize,
as part of 4.0.
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=157816
Zoltan Varga [Mon, 24 May 2010 21:29:03 +0000 (21:29 -0000)]
2010-05-24 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_free_dynamic_wrappers): Avoid an assert when this is called
during shutdown.
svn path=/trunk/mono/; revision=157808
Carlos Alberto Cortez [Mon, 24 May 2010 16:13:39 +0000 (16:13 -0000)]
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileStream.cs: When creating our instance check that
the IsolatedStorageFile is not closed/disposed.
* IsolatedStorageFile.cs: Expose closed/disposed info as internal
properties, as well as implement 4.0 MoveDirectory/MoveFile, CreateFile
and OpenFile methods.
svn path=/trunk/mcs/; revision=157801
Atsushi Eno [Mon, 24 May 2010 12:38:12 +0000 (12:38 -0000)]
2010-05-24 Atsushi Enomoto <atsushi@ximian.com>
* JsonQueryStringConverter.cs : objects are regarded serializable as
long as they are public here, with some exceptions (not implemented).
* JsonQueryStringConverterTest.cs : add more tests for CanConvert()
and reorganized some classes to make tests rational.
svn path=/trunk/mcs/; revision=157795
Atsushi Eno [Mon, 24 May 2010 09:32:16 +0000 (09:32 -0000)]
2010-05-24 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : do not reject relative URIs that contain ':' and
any non-scheme characters preceding it.
* UriTest.cs : more URI tests, for relative URIs with ':'.
svn path=/trunk/mcs/; revision=157789
Zoltan Varga [Sun, 23 May 2010 16:47:56 +0000 (16:47 -0000)]
2010-05-23 Zoltan Varga <vargaz@gmail.com>
* marshal.c (free_wrapper): New helper function to free dynamic wrappers.
svn path=/trunk/mono/; revision=157787
Carlos Alberto Cortez [Sun, 23 May 2010 16:19:40 +0000 (16:19 -0000)]
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test cases for DirectoryExists and
FileExists.
svn path=/trunk/mcs/; revision=157785
Carlos Alberto Cortez [Sun, 23 May 2010 16:12:04 +0000 (16:12 -0000)]
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Implement FileExists and DirectoryExists, as
well as adding fields to detect that Close/Dispose have been called
and fire the proper exceptions.
svn path=/trunk/mcs/; revision=157784
Carlos Alberto Cortez [Sun, 23 May 2010 16:03:45 +0000 (16:03 -0000)]
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* corlib.dll.sources: Add System.IO.IsolatedStorageSecurityState.cs
and System.IO.IsolatedStorageSecurityOptions.cs.
svn path=/trunk/mcs/; revision=157783
Zoltan Varga [Sat, 22 May 2010 23:03:10 +0000 (23:03 -0000)]
2010-05-23 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Propagate exceptions in one more place.
svn path=/trunk/mono/; revision=157769
Zoltan Varga [Sat, 22 May 2010 22:02:59 +0000 (22:02 -0000)]
2010-05-23 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Propagate exceptions from
mono_runtime_class_init_full ().
(mono_jit_runtime_invoke): Ditto. Fixes #608073.
svn path=/trunk/mono/; revision=157766
Zoltan Varga [Sat, 22 May 2010 21:04:46 +0000 (21:04 -0000)]
2010-05-22 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Simplify the code computing the
target class and remove some dead code.
svn path=/trunk/mono/; revision=157765
Zoltan Varga [Sat, 22 May 2010 20:56:14 +0000 (20:56 -0000)]
Remove some debugging code.
svn path=/trunk/mono/; revision=157764
Zoltan Varga [Sat, 22 May 2010 20:53:01 +0000 (20:53 -0000)]
2010-05-22 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_generic_array_helper): Make these wrappers dynamic and
free them when their parent method is freed.
svn path=/trunk/mono/; revision=157763
Zoltan Varga [Sat, 22 May 2010 19:07:19 +0000 (19:07 -0000)]
2010-05-22 Zoltan Varga <vargaz@gmail.com>
* metadata.c: Add a 'transient' argument to the MonoType creation functions, so
the MonoTypes inside method headers can be freed when the header is freed.
svn path=/trunk/mono/; revision=157762
Zoltan Varga [Sat, 22 May 2010 03:16:19 +0000 (03:16 -0000)]
2010-05-22 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c mini-llvm-cpp.cpp: Update after LLVM 2.8 changes.
svn path=/trunk/mono/; revision=157751
Geoff Norton [Sat, 22 May 2010 02:44:42 +0000 (02:44 -0000)]
2010-05-21 Geoff Norton <gnorton@novell.com>
* BasicHttpBinding.cs: Transport mode supports authentication as well.
svn path=/trunk/mcs/; revision=157748
Carlos Alberto Cortez [Fri, 21 May 2010 20:22:03 +0000 (20:22 -0000)]
2010-05-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4.0 Updates.
* IsolatedStorage.cs: Add ObsoleteAttribute to CurrentSize and
MaximumSize.
* IsolatedStorageSecurityState.cs: New, stubbed.
* IsolatedStorageSecurityOptions.cs: New file.
svn path=/trunk/mcs/; revision=157739
Zoltan Varga [Fri, 21 May 2010 18:22:12 +0000 (18:22 -0000)]
2010-05-21 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_output_basic_block): Use ins->inst_c1 instead of p1, the
two are not the same on ilp32.
svn path=/trunk/mono/; revision=157715
Zoltan Varga [Fri, 21 May 2010 17:03:30 +0000 (17:03 -0000)]
2010-05-21 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Remove a DISABLE_JIT block which was
added by mistake.
svn path=/trunk/mono/; revision=157710
Zoltan Varga [Fri, 21 May 2010 16:52:35 +0000 (16:52 -0000)]
2010-05-21 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c: Fix the DISABLE_JIT build.
svn path=/trunk/mono/; revision=157709
Zoltan Varga [Fri, 21 May 2010 16:52:28 +0000 (16:52 -0000)]
2010-05-21 Zoltan Varga <vargaz@gmail.com>
* threadpool.c: Fix the DISABLE_SOCKETS build.
svn path=/trunk/mono/; revision=157708
Zoltan Varga [Fri, 21 May 2010 16:50:47 +0000 (16:50 -0000)]
2010-05-21 Zoltan Varga <vargaz@gmail.com>
* src/gmisc-win32.c (g_setenv): Use the
GetEnvironmentVariableW/SetEnvironmentVariableW variants.
svn path=/trunk/mono/; revision=157707
Sebastien Pouliot [Fri, 21 May 2010 13:03:53 +0000 (13:03 -0000)]
2010-05-21 Sebastien Pouliot <sebastien@ximian.com>
* AsyncOperation.cs: Add checks for null delegates
* BackgroundWorker.cs: Ensure ProgressChanged can be called before
starting the work but not after its complete
svn path=/trunk/mcs/; revision=157698
Sebastien Pouliot [Fri, 21 May 2010 13:02:23 +0000 (13:02 -0000)]
2010-05-21 Sebastien Pouliot <sebastien@ximian.com>
* DefaultValueAttributeTest.cs: Change test case to compare the
hash code of two DVA created with null (instead of comparing to 0)
svn path=/trunk/mcs/; revision=157697
Martin Baulig [Fri, 21 May 2010 12:15:48 +0000 (12:15 -0000)]
#604911: Use alertable WaitForMultipleObjectsEx().
2010-05-19 Martin Baulig <martin@novell.com>
Fix #604911.
* threads.c (wait_for_tids_or_state_change): Use an
alertable WaitForMultipleObjectsEx().
(wait_for_tids): Likewise.
svn path=/trunk/mono/; revision=157683
Marek Safar [Fri, 21 May 2010 09:59:40 +0000 (09:59 -0000)]
New tests & update.
svn path=/trunk/mcs/; revision=157672
Marek Safar [Fri, 21 May 2010 09:56:26 +0000 (09:56 -0000)]
2010-05-21 Marek Safar <marek.safar@gmail.com>
* expression.cs: Use constrained prefix more broadly to avoid boxing.
svn path=/trunk/mcs/; revision=157671
Atsushi Eno [Fri, 21 May 2010 09:16:37 +0000 (09:16 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : disable slottling again :( It still fails
to process concurrent requests if there is service metadata channel
and MaxConcurrentSessions > 1 on non-ASP.NET channels.
svn path=/trunk/mcs/; revision=157670
Atsushi Eno [Fri, 21 May 2010 09:07:48 +0000 (09:07 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : remove Sleep() hack. The host is now ensured
to wait for channels opened.
svn path=/trunk/mcs/; revision=157669
Atsushi Eno [Fri, 21 May 2010 07:19:58 +0000 (07:19 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* WebScriptServiceHostFactory.cs : similarly to ServiceDebugBehavior
and ServiceMetadataBehavior in ServiceHostBase, it must *prepend*
WebScriptEnablingBehavior to apply all other behaviors subsequently.
svn path=/trunk/mcs/; revision=157667
Atsushi Eno [Fri, 21 May 2010 07:13:17 +0000 (07:13 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : ServiceMetadataBehavior and ServiceDebugBehavior
are special. They must be applied in prior to other behaviors so that
newly populated ChannelDispatchers are applied behaviors accordingly.
svn path=/trunk/mcs/; revision=157666