Rodrigo Kumpera [Thu, 25 Mar 2010 23:42:05 +0000 (23:42 -0000)]
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyBuilder.cs: Implement v4 GetType.
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyBuilderTest.cs: Add test for v4 GetType and
fix other test to not be broken.
svn path=/trunk/mcs/; revision=154231
Rodrigo Kumpera [Thu, 25 Mar 2010 23:41:56 +0000 (23:41 -0000)]
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
*AssemblyTest.cs: Fix one more tests under v4.
svn path=/trunk/mcs/; revision=154230
Rodrigo Kumpera [Thu, 25 Mar 2010 23:41:47 +0000 (23:41 -0000)]
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
* Assembly.cs:
* MonoAssembly.cs: Move a dozen methods from Assembly.cs
to MonoAssembly.cs, so they can either be the concrete impl
on v4 of the only impl on v2.
Add to Assembly.cs versions that throws NotImplementedException.
Mask Assembly.cs as abstract.
svn path=/trunk/mcs/; revision=154229
Zoltan Varga [Thu, 25 Mar 2010 23:27:18 +0000 (23:27 -0000)]
2010-03-26 Zoltan Varga <vargaz@gmail.com>
* mono.1: Document the MONO_ENABLE_SHM env variable.
svn path=/trunk/mono/; revision=154227
Zoltan Varga [Thu, 25 Mar 2010 23:27:12 +0000 (23:27 -0000)]
2010-03-26 Zoltan Varga <vargaz@gmail.com>
* shared.c: Disable shared supported by default, it can be enabled by setting
the MONO_ENABLE_SHM env variable.
svn path=/trunk/mono/; revision=154226
Jonathan Pobst [Thu, 25 Mar 2010 23:16:41 +0000 (23:16 -0000)]
fix msvc build.
svn path=/trunk/mono/; revision=154225
Geoff Norton [Thu, 25 Mar 2010 22:17:02 +0000 (22:17 -0000)]
We dont do MacOSX on MacOSX
svn path=/trunk/mcs/; revision=154223
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 20:43:22 +0000 (20:43 -0000)]
2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-semaphore.[hc]: make sure the semaphore calls are restarted if
interrupted. Return 0 on success and -1 on failure on windows.
svn path=/trunk/mono/; revision=154219
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 18:12:41 +0000 (18:12 -0000)]
fix the build
svn path=/trunk/mcs/; revision=154212
Sebastien Pouliot [Thu, 25 Mar 2010 17:53:04 +0000 (17:53 -0000)]
2010-03-25 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Add new properties that are in both FX4 and SL4
since Moonlight needs them (for testing purpose).
* Environment.cs: FailFast overloads are present in SL4 (and also
needed for testing Moonlight)
svn path=/trunk/mcs/; revision=154209
Marek Safar [Thu, 25 Mar 2010 17:48:22 +0000 (17:48 -0000)]
2010-03-25 Marek Safar <marek.safar@gmail.com>
* IPGlobalProperties.cs: Made Win32_IN6_ADDR verifiable.
svn path=/trunk/mcs/; revision=154208
Mark Probst [Thu, 25 Mar 2010 17:37:44 +0000 (17:37 -0000)]
2010-03-25 Mark Probst <mark.probst@gmail.com>
* gc-internal.h, sgen-gc.c, sgen-gc.h, boehm-gc.c, null-gc.c: New
function mono_gc_invoke_with_gc_lock() which invokes a function
with the guarantee that no collection will occur during its execution.
2010-03-25 Mark Probst <mark.probst@gmail.com>
* mono-hash.c, mono-ehash.c: Fix rehashing with regard to moving
GC. Register root for ehash.
svn path=/trunk/mono/; revision=154207
Mark Probst [Thu, 25 Mar 2010 16:20:34 +0000 (16:20 -0000)]
2010-03-25 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Update a few comments.
svn path=/trunk/mono/; revision=154206
Atsushi Eno [Thu, 25 Mar 2010 15:32:59 +0000 (15:32 -0000)]
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs : removed HTTP status rewriting for
commented reason.
svn path=/trunk/mcs/; revision=154201
Atsushi Eno [Thu, 25 Mar 2010 15:27:36 +0000 (15:27 -0000)]
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* OperationInvokerHandler.cs : removed unused code.
svn path=/trunk/mcs/; revision=154200
Atsushi Eno [Thu, 25 Mar 2010 15:26:59 +0000 (15:26 -0000)]
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* MessageTest.cs : add another IsFault tests, which exposed some
issues at client side.
svn path=/trunk/mcs/; revision=154199
Rodrigo Kumpera [Thu, 25 Mar 2010 13:42:01 +0000 (13:42 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Add vector x scalar multiply.
svn path=/trunk/mcs/; revision=154197
Atsushi Eno [Thu, 25 Mar 2010 08:18:38 +0000 (08:18 -0000)]
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBaseTest.cs : add not-working ActionNotFound test by
Matt Dargavel.
svn path=/trunk/mcs/; revision=154192
Atsushi Eno [Thu, 25 Mar 2010 07:53:38 +0000 (07:53 -0000)]
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : handle only 4xx errors as to not process
content stream.
svn path=/trunk/mcs/; revision=154191
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 05:39:24 +0000 (05:39 -0000)]
commented out invalid test
svn path=/trunk/mcs/; revision=154190
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 05:39:05 +0000 (05:39 -0000)]
2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Directory.cs: a directory named ":" is legal in unix.
This gets rid of the annoying ":" folder when running
corlib tests.
svn path=/trunk/mcs/; revision=154189
Atsushi Eno [Thu, 25 Mar 2010 04:18:45 +0000 (04:18 -0000)]
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : do not use SOAP11 namespace for fault contents.
svn path=/trunk/mcs/; revision=154188
Rodrigo Kumpera [Wed, 24 Mar 2010 23:11:49 +0000 (23:11 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for vector x scalar binary operators.
svn path=/trunk/mono/; revision=154183
Rodrigo Kumpera [Wed, 24 Mar 2010 23:11:41 +0000 (23:11 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrincs.c (simd_intrinsic_emit_binary): Support binary
intrinsics with expanded scalar arguments.
svn path=/trunk/mono/; revision=154182
Rodrigo Kumpera [Wed, 24 Mar 2010 22:27:53 +0000 (22:27 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* Assembly.cs: Make it a partial class under !v4.
* MonoAssembly.cs: New type that exists only under
v4. Under v2 it is a part of Assembly.
This is the initial setup to make v4 Assembly an
abstract type where all methods raise exceptions.
svn path=/trunk/mcs/; revision=154179
Rodrigo Kumpera [Wed, 24 Mar 2010 22:27:44 +0000 (22:27 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
*AssemblyTest.cs: Fix some tests under v4.
svn path=/trunk/mcs/; revision=154178
Rodrigo Kumpera [Wed, 24 Mar 2010 22:27:36 +0000 (22:27 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTests.cs: Fix some tests under v4.
svn path=/trunk/mcs/; revision=154177
Rodrigo Kumpera [Wed, 24 Mar 2010 22:26:49 +0000 (22:26 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c: Add support for new v4 type
System.Reflection.MonoAssembly that is the concrete version
of Assembly which is abstract unver v4.
svn path=/trunk/mono/; revision=154175
Rodrigo Kumpera [Wed, 24 Mar 2010 20:53:15 +0000 (20:53 -0000)]
2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* mini-exceptions.c (get_exception_catch_class): Non catch
clausesdon't have an exception class, so don't decode it. This would
crash with filter clauses.
svn path=/trunk/mono/; revision=154172
Marek Safar [Wed, 24 Mar 2010 20:46:31 +0000 (20:46 -0000)]
Formatting.
svn path=/trunk/mcs/; revision=154171
Sebastien Pouliot [Wed, 24 Mar 2010 20:43:05 +0000 (20:43 -0000)]
2010-03-24 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Change default value from null to false for new
(NET_4_0 and SL4) IsCompatibilitySwitchSet. Not sure when (or even
if) it can return null (at least not when testing SL4 RC).
Fix DRT198
svn path=/trunk/mcs/; revision=154170
Jérémie Laval [Wed, 24 Mar 2010 19:26:17 +0000 (19:26 -0000)]
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Collections.Concurrent/:
* ConcurrentDictionary.cs: Remove while looping
svn path=/trunk/mcs/; revision=154166
Jérémie Laval [Wed, 24 Mar 2010 19:26:00 +0000 (19:26 -0000)]
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Collections.Concurrent/:
* ConcurrentDictionary.cs: Enable tracking on SpinLock
* ConcurrentSkipList.cs: Use Spinlock instead of Monitor and
refactor to use a saner lock acquiring scheme.
In class/corlib/Test/System.Collections.Concurrent/:
* ConcurrentDictionaryTests.cs: Renaming in Assert
svn path=/trunk/mcs/; revision=154165
Jérémie Laval [Wed, 24 Mar 2010 19:25:42 +0000 (19:25 -0000)]
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/Test/System.Threading/:
* SpinLockTests.cs: Add a correctness check unit test
svn path=/trunk/mcs/; revision=154164
Miguel de Icaza [Wed, 24 Mar 2010 17:54:34 +0000 (17:54 -0000)]
2010-03-24 U-anarquia\miguel <miguel@anarquia>
Make sure that trunk builds with DISABLE_JIT, an update to the
PlayStation 3 port.
* mini.c (mini_get_shared_method): this code seems to be necessary
regardless of whether DISABLE_JIT has been defined.
(mono_jit_compile_method_inner): it seems that this method is
required even in full AOT mode, so ifdef out only the pieces that
try to genrate code (the body of code that applies patches to the
code).
(mini_method_compile): do not compile when using DISABLE_JIT.
* mini-ppc.c (mono_arch_get_allocatable_int_vars)
(mono_arch_output_basic_block, mono-arch_emit_exceptions): Do not
compile when DISABLE_JIT is set. 2010-03-24 U-anarquia\miguel <miguel@anarquia>
* reflection.c (mono_reflection_get_custom_attrs_info): Protect
code that uses System.Reflection.Emit in DISABLE_REFLECTION_EMIT.
Expose a few macros that are needed for SR but not SRE to the
world (previous inside the SRE ifdef)
svn path=/trunk/mono/; revision=154158
Jb Evain [Wed, 24 Mar 2010 17:39:49 +0000 (17:39 -0000)]
2010-03-24 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: add test for #582502.
svn path=/trunk/mcs/; revision=154155
Jb Evain [Wed, 24 Mar 2010 17:39:19 +0000 (17:39 -0000)]
2010-03-24 Jb Evain <jbevain@novell.com>
* SortSequenceContext.cs: Fix OrderByDescending stability.
Based on a patch by Richard Kiene <richard.kiene@logos.com>.
svn path=/trunk/mcs/; revision=154154
Andrés G. Aragoneses [Wed, 24 Mar 2010 14:56:04 +0000 (14:56 -0000)]
fix conflict crap
svn path=/trunk/mono/; revision=154148
Andrés G. Aragoneses [Wed, 24 Mar 2010 14:53:32 +0000 (14:53 -0000)]
2010-03-24 Andrés G. Aragoneses <knocte@gmail.com>
* mono-dl.c: (mono_dl_build_path) Take in account the suffix
variable assigned wrt the prefix comparison to concat the final
path for dlopen. Fixes BNC#588143. r:vargaz
svn path=/trunk/mono/; revision=154147
Zoltan Varga [Wed, 24 Mar 2010 14:17:13 +0000 (14:17 -0000)]
Avoid putting code after a return statement.
svn path=/trunk/mono/; revision=154142
Mark Probst [Wed, 24 Mar 2010 14:06:57 +0000 (14:06 -0000)]
2010-03-24 Mark Probst <mark.probst@gmail.com>
* mini.c (mono_create_tls_get): Only create a TLS operation if the
arch really supports it.
svn path=/trunk/mono/; revision=154141
Jérémie Laval [Wed, 24 Mar 2010 13:58:11 +0000 (13:58 -0000)]
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Collections.Concurrent/:
* ConcurrentDictionary.cs: Fix lock releasing
svn path=/trunk/mcs/; revision=154140
Mark Probst [Wed, 24 Mar 2010 13:42:25 +0000 (13:42 -0000)]
2010-03-24 Mark Probst <mark.probst@gmail.com>
* mini-x86.c, mini-x86.h, mini.c: CEE_MONO_TLS support for Darwin/x86.
svn path=/trunk/mono/; revision=154139
Jérémie Laval [Wed, 24 Mar 2010 13:39:43 +0000 (13:39 -0000)]
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Collections.Concurrent/:
* ConcurrentDictionary.cs: Use SpinLock instead of Monitor
for basket locking
In class/corlib/Test/System.Collections.Concurrent/:
* ConcurrentDictionaryTests.cs: Update behavior of TryAddDuplicateTest
The method returns false and doesn't throw exception anymore
svn path=/trunk/mcs/; revision=154138
Sebastien Pouliot [Wed, 24 Mar 2010 13:25:35 +0000 (13:25 -0000)]
In corlib/Mono.Security:
2010-03-24 Sebastien Pouliot <sebastien@ximian.com>
* ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of
null) to avoid crash on Windows. Patch by Yoni Shalom.
In Mono.Security/Mono.Security:
2010-03-24 Sebastien Pouliot <sebastien@ximian.com>
* ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of
null) to avoid crash on Windows. Patch by Yoni Shalom.
svn path=/trunk/mcs/; revision=154135
Rolf Bjarne Kvinge [Wed, 24 Mar 2010 12:27:53 +0000 (12:27 -0000)]
2010-03-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MethodInfo.cs: Exclude IsGenericMethod* and ContainsGenericParameters
from moonlight too.
svn path=/trunk/mcs/; revision=154129
Atsushi Eno [Wed, 24 Mar 2010 10:54:55 +0000 (10:54 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
Patch by Matt Dargavel.
svn path=/trunk/mcs/; revision=154125
Atsushi Eno [Wed, 24 Mar 2010 10:00:48 +0000 (10:00 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : use lock object which is subject to
change. Fix by Matt Dargavel.
svn path=/trunk/mcs/; revision=154121
Atsushi Eno [Wed, 24 Mar 2010 09:58:46 +0000 (09:58 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : remove consumed HttpListenerContext from
the pending queue. Compare "wsdl" request in case insensitive
manner. Patch by Matt Dargavel.
svn path=/trunk/mcs/; revision=154120
Atsushi Eno [Wed, 24 Mar 2010 07:12:29 +0000 (07:12 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : return EndpointDispatcher at initializing
for internal use. Add some locks. Patch by Matt Dargavel.
* ServiceHostBase.cs : if there is an existing ChannelDispatcher
for the same endpoint URI, reuse it. Patch by Matt Dargavel.
svn path=/trunk/mcs/; revision=154114
Atsushi Eno [Wed, 24 Mar 2010 06:44:49 +0000 (06:44 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* TransportSecurityBindingElementTest.cs : new test.
* System.ServiceModel.dll.sources : move back all the Features tests
that were once disabled (now we can handle mannerless tests).
svn path=/trunk/mcs/; revision=154113
Atsushi Eno [Wed, 24 Mar 2010 06:15:44 +0000 (06:15 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
supposed to provide detailed 400 error message.
svn path=/trunk/mcs/; revision=154112
Atsushi Eno [Wed, 24 Mar 2010 06:07:09 +0000 (06:07 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : fix wrong method call in open_delegate.
Patch by Matt Dargavel.
svn path=/trunk/mcs/; revision=154111
Atsushi Eno [Wed, 24 Mar 2010 06:04:22 +0000 (06:04 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : give the actual exception message instead
of "error occured".
svn path=/trunk/mcs/; revision=154110
Atsushi Eno [Wed, 24 Mar 2010 05:41:02 +0000 (05:41 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ServiceMetadataExtension.cs : compare "wsdl" parameter in case-
insensitive manner.
svn path=/trunk/mcs/; revision=154109
Atsushi Eno [Wed, 24 Mar 2010 05:25:17 +0000 (05:25 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* TransactionFlowBindingElement.cs: revamp the previous change to
not regress regarding service metadata.
svn path=/trunk/mcs/; revision=154108
Atsushi Eno [Wed, 24 Mar 2010 05:10:27 +0000 (05:10 -0000)]
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
GetProperty<T>() bug that fails to retrieve properties. (This may
be rewritten later if an ongoing change proposal is to take place.)
svn path=/trunk/mcs/; revision=154107
Mark Probst [Wed, 24 Mar 2010 02:18:52 +0000 (02:18 -0000)]
2010-03-24 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (gc_register_current_thread): We need
stack_start_limit as well in the non-attribute pthread case.
svn path=/trunk/mono/; revision=154105
Sebastien Pouliot [Wed, 24 Mar 2010 00:25:03 +0000 (00:25 -0000)]
2010-03-23 Sebastien Pouliot <sebastien@ximian.com>
* SecurityManager_2_1.cs: Add an internal HasElevatedPermissions
property to mscorlib since the "real" (i.e. visible) one in
System.Windows.dll is not accessible by most code.
svn path=/trunk/mcs/; revision=154099
Gonzalo Paniagua Javier [Tue, 23 Mar 2010 20:34:03 +0000 (20:34 -0000)]
2010-03-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: error handling was totally broken in the synchronous
Connect() call. Fixes bug #590488.
svn path=/trunk/mcs/; revision=154087
Neale Ferguson [Tue, 23 Mar 2010 20:00:46 +0000 (20:00 -0000)]
Primarily, add support for mono_arch_get_throw_corlib_exception and IMT
for s390x. Other s390x fixes to instruction sizes, parameter passing, and ARCH
settings.
svn path=/trunk/mono/; revision=154085
Carlos Alberto Cortez [Tue, 23 Mar 2010 19:38:20 +0000 (19:38 -0000)]
2010-03-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: Add some new assertions for old/new stuff in
TimeSpan.
svn path=/trunk/mcs/; revision=154082
Zoltan Varga [Tue, 23 Mar 2010 18:30:22 +0000 (18:30 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* mini-generic-sharing.c (fill_in_rgctx_template_slot): Remove an assert which
can be hit with partial sharing.
svn path=/trunk/mono/; revision=154073
Zoltan Varga [Tue, 23 Mar 2010 18:22:04 +0000 (18:22 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* mini-generic-sharing.c (get_shared_class): Handle partially shared methods
in non-shared classes correctly.
(generic_inst_is_sharable): Allow all primitive types in partial sharing.
Turn on partial sharing.
svn path=/trunk/mono/; revision=154072
Zoltan Varga [Tue, 23 Mar 2010 16:44:05 +0000 (16:44 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (BASE_TEST_CS_SRC): Remove make-imt-test.cs, it is not a test.
* test-runner.cs: Add an option to run the tests with different optimization
sets.
* Makefile.am: Make it possible to run the normal+gshared tests using the managed
test runner by passing the M=1 option to make.
svn path=/trunk/mono/; revision=154068
Sebastien Pouliot [Tue, 23 Mar 2010 15:48:23 +0000 (15:48 -0000)]
2010-03-23 Sebastien Pouliot <sebastien@ximian.com>
* Monitor.cs: Implement new NET_4_0 (and SL4) Enter overload
required to run some DRT tests (e.g. 7007)
svn path=/trunk/mcs/; revision=154067
Zoltan Varga [Tue, 23 Mar 2010 15:16:25 +0000 (15:16 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h: Put back MONO_ARCH_NOMAP32BIT for OpenBSD which was removed
by mistake.
svn path=/trunk/mono/; revision=154063
Rodrigo Kumpera [Tue, 23 Mar 2010 14:37:36 +0000 (14:37 -0000)]
2010-03-23 Rodrigo Kumpera <rkumpera@novell.com>
* MethodOnTypeBuilderInst.cs (ContainsGenericParameters): Check
the base_method first.
2010-03-23 Rodrigo Kumpera <rkumpera@novell.com>
* MethodOnTypeBuilderInstTest.cs: Add Test for
* ContainsGenericParameters.
svn path=/trunk/mcs/; revision=154062
Rodrigo Kumpera [Tue, 23 Mar 2010 07:59:06 +0000 (07:59 -0000)]
2010-03-23 Rodrigo Kumpera <rkumpera@novell.com>
* threads.c: Fix windows build.
svn path=/trunk/mono/; revision=154043
Geoff Norton [Tue, 23 Mar 2010 05:04:34 +0000 (05:04 -0000)]
2010-03-23 Geoff Norton <gnorton@novell.com>
* da_DK.xml: The short format is day. month, not
day month. Fixes #588165
svn path=/trunk/mono/; revision=154038
Atsushi Eno [Tue, 23 Mar 2010 04:43:07 +0000 (04:43 -0000)]
2010-03-23 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionOrientedTransportElement.cs, StandardBindingElement.cs,
LocalClientSecuritySettingsElement.cs, CustomBindingElement.cs:
add couple of missing methods and TypeConverterAttributes.
svn path=/trunk/mcs/; revision=154036
Gonzalo Paniagua Javier [Tue, 23 Mar 2010 04:16:17 +0000 (04:16 -0000)]
2010-03-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-semaphore.h: MONO_SEM_WAIT() return value inverted when using
the windows API.
* mono-semaphore.c: handle INFINITE timeout.
svn path=/trunk/mono/; revision=154035
Carlos Alberto Cortez [Tue, 23 Mar 2010 02:18:59 +0000 (02:18 -0000)]
2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpanTest.cs: It seems somebody forgot to actually mark the
TestParse method with TestAttribute. Also, add a bunch of asserions
to reflect the new behaviour for 4.0 in the needed test cases.
svn path=/trunk/mcs/; revision=154034
Carlos Alberto Cortez [Tue, 23 Mar 2010 01:59:52 +0000 (01:59 -0000)]
* TimeSpan.cs: When parsing ticks, we used to only parse
the first 7 digits, and more than that would cause a FormatException -
starting in 4.0 we need to throw an OverflowException, however. Also,
for hours/minutes/seconds, two or more preceding zeroes will cause an
OverflowException as well.
2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=154033
Rodrigo Kumpera [Tue, 23 Mar 2010 01:30:06 +0000 (01:30 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* thread-types.h: Add mono_thread_resume_interruption.
* threads.c: Add mono_thread_resume_interruption, this
function should be called after the last protected handler
found at interruption time has finished.
svn path=/trunk/mono/; revision=154032
Rodrigo Kumpera [Tue, 23 Mar 2010 01:29:57 +0000 (01:29 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* threads.c (ves_icall_System_Threading_Thread_ResetAbort):
Check MonoInternalThread's ::state instead of ::abort_exc
since the later can be lazily created.
This is specially problematic when running a finally block
under AbortRequested state. ResetAbort must work, but the
abort_exc object has not been created because interruption
has not began.
svn path=/trunk/mono/; revision=154031
Rodrigo Kumpera [Tue, 23 Mar 2010 01:29:50 +0000 (01:29 -0000)]
2009-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* threads.h: Add wapi_self_interrupt.
* wthreads.c: Add wapi_self_interrupt which puts the current
thread in interrupted state.
* wthreads.c (wapi_thread_clear_wait_handle): Previous handle
can possibly be NULL if an async interrupt cleared it.
This is safe because it is only async cleared if running inside
a handler block.
svn path=/trunk/mono/; revision=154030
Andreas Färber [Tue, 23 Mar 2010 00:19:30 +0000 (00:19 -0000)]
Don't rely on SIGIO
SIGIO is not part of POSIX, and Haiku does not support it.
map.c contains checks to handle this, but old-map.c doesn't.
Its generator make-map no longer exists, so let's insert the
check manually.
2010-03-23 Andreas Faerber <andreas.faerber@web.de>
* old-map.c (map_Mono_Posix_Signals): Fix build for platforms where
SIGIO is not defined (Haiku).
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=154029
Zoltan Varga [Tue, 23 Mar 2010 00:18:02 +0000 (00:18 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Handle the failure of
mono_method_signature ().
* mini-trampolines.c (mono_delegate_trampoline): Ditto.
* mini.c (mini_method_compile): Get the signature of cfg->method early with
error checking, so later calls do not need error checking.
svn path=/trunk/mono/; revision=154028
Zoltan Varga [Mon, 22 Mar 2010 21:43:14 +0000 (21:43 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c: Add support for OpenBSD which has no UCONTEXT_GREGS.
* mini-amd64.h: Enable MONO_ARCH_USE_SIGACTION on OpenBSD as well.
svn path=/trunk/mono/; revision=154018
Zoltan Varga [Mon, 22 Mar 2010 21:43:08 +0000 (21:43 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Define UCONTEXT accessors for openbsd/amd64.
svn path=/trunk/mono/; revision=154017
Zoltan Varga [Mon, 22 Mar 2010 21:31:04 +0000 (21:31 -0000)]
Revert "2010-03-22 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
2ae84e6bac9195688797490dd7a03aa0b3ebcace.
svn path=/trunk/mono/; revision=154016
Zoltan Varga [Mon, 22 Mar 2010 21:30:58 +0000 (21:30 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Define UCONTEXT accessors for openbsd/amd64.
svn path=/trunk/mono/; revision=154015
Rodrigo Kumpera [Mon, 22 Mar 2010 20:36:48 +0000 (20:36 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* mini-exceptions.c (mono_handle_exception_internal): Don't
check try_end for archs different than s390.
* mini.c (create_jit_info): Don't crash if the finallt block is
* the last one.
svn path=/trunk/mono/; revision=154014
Rodrigo Kumpera [Mon, 22 Mar 2010 20:36:39 +0000 (20:36 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* driver.c (mono_main): Don't free global codeman under linux
* since glic now peeks at code on stack for more archs than just amd64.
svn path=/trunk/mono/; revision=154013
Geoff Norton [Mon, 22 Mar 2010 20:24:32 +0000 (20:24 -0000)]
2010-03-22 Geoff Norton <gnorton@novell.com>
* locales.c: Its possible for CFStringGetCStringPtr
to return null and not convert encodings. Use
CFStringGetCString instead.
svn path=/trunk/mono/; revision=154012
Carlos Alberto Cortez [Mon, 22 Mar 2010 18:45:19 +0000 (18:45 -0000)]
2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: Create a new Parser.Execute method for 4.0 -and use the
previous impl for 2.0-, to handle the new semantics gracefully -
specifically the new 'dd:hh:mm:ss' format and related bits, instead of
of a ton of #ifdef blocks. Remove any 4.0 bits from the previous
version as well, to keep it clean.
svn path=/trunk/mcs/; revision=154005
Paolo Molaro [Mon, 22 Mar 2010 17:10:44 +0000 (17:10 -0000)]
Mon Mar 22 18:09:09 CET 2010 Paolo Molaro <lupus@ximian.com>
* mini.c, method-to-ir.c: changes to support compressed interface
bitmaps.
svn path=/trunk/mono/; revision=154003
Paolo Molaro [Mon, 22 Mar 2010 17:10:20 +0000 (17:10 -0000)]
Mon Mar 22 18:06:38 CET 2010 Paolo Molaro <lupus@ximian.com>
* class-internals.h, class.c, object.c: introduce compressed
interface bitmaps (for now only under small config): this saves
about 600 KB of runtime memory on gmcs bootstraps or monodevelop
startups.
svn path=/trunk/mono/; revision=154002
Zoltan Varga [Mon, 22 Mar 2010 17:00:47 +0000 (17:00 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h: Applied patch from Robert Nagy (Robert@openbsd.org).
Use sigaction on OpenBSD too.
svn path=/trunk/mono/; revision=153998
Zoltan Varga [Mon, 22 Mar 2010 17:00:40 +0000 (17:00 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Applied patch from Robert Nagy (Robert@openbsd.org).
Add OpenBSD definitions.
svn path=/trunk/mono/; revision=153997
Miguel de Icaza [Mon, 22 Mar 2010 16:32:36 +0000 (16:32 -0000)]
Update license files
svn path=/trunk/mono/; revision=153993
Miguel de Icaza [Mon, 22 Mar 2010 16:29:18 +0000 (16:29 -0000)]
Add missing copyright notices to Sgen
svn path=/trunk/mono/; revision=153992
Paolo Molaro [Mon, 22 Mar 2010 15:05:13 +0000 (15:05 -0000)]
typo
svn path=/trunk/mono/; revision=153984
Paolo Molaro [Mon, 22 Mar 2010 15:04:47 +0000 (15:04 -0000)]
Mon Mar 22 16:03:34 CET 2010 Paolo Molaro <lupus@ximian.com>
* mono-debug.c: don't try to get the emthod ehader, it causes a
deadlock and it is not used for anything anymore.
svn path=/trunk/mono/; revision=153983
Andreia Gaita [Mon, 22 Mar 2010 13:27:57 +0000 (13:27 -0000)]
2010-03-22 Andreia Gaita <avidigal@gmail.com>
* configure.in: fix build when doing with-mcs-docs=no on a clean tree
svn path=/trunk/mono/; revision=153979
Zoltan Varga [Mon, 22 Mar 2010 12:40:57 +0000 (12:40 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_get_marshal_info): Fix the handling of dynamic methods
broken by the last change.
svn path=/trunk/mono/; revision=153972
Zoltan Varga [Mon, 22 Mar 2010 12:06:52 +0000 (12:06 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (event_req_matches_assembly): Handle request modifiers too.
svn path=/trunk/mono/; revision=153969
Sebastien Pouliot [Mon, 22 Mar 2010 11:53:14 +0000 (11:53 -0000)]
2010-03-22 Sebastien Pouliot <sebastien@ximian.com>
* Directory.cs, DirectoryInfo.cs: Disble new NET_4_0 API used in
SL4 until we have elevated trust working correctly (since they
are *not* decorated as [SecurityCritical])
svn path=/trunk/mcs/; revision=153968
Andreas Färber [Sun, 21 Mar 2010 23:47:12 +0000 (23:47 -0000)]
Add include for fd_set
According to POSIX, fd_set is defined in sys/select.h.
http://www.opengroup.org/onlinepubs/
9699919799/basedefs/sys_select.h.html
2010-03-21 Andreas Faerber <andreas.faerber@web.de>
* debugger-agent.c: #include sys/select.h for fd_set.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=153962