Marek Safar [Fri, 26 Mar 2010 14:37:44 +0000 (14:37 -0000)]
New test.
svn path=/trunk/mcs/; revision=154277
Marek Safar [Fri, 26 Mar 2010 14:36:40 +0000 (14:36 -0000)]
New test.
svn path=/trunk/mcs/; revision=154276
Atsushi Eno [Fri, 26 Mar 2010 14:18:47 +0000 (14:18 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : ok, no need for conditional code path.
svn path=/trunk/mcs/; revision=154275
Atsushi Eno [Fri, 26 Mar 2010 14:17:48 +0000 (14:17 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* AddressingVersion.cs : add fault action namespace.
svn path=/trunk/mcs/; revision=154274
Mark Probst [Fri, 26 Mar 2010 14:15:08 +0000 (14:15 -0000)]
2010-03-26 Andreas Faerber <andreas.faerber@web.de>
* null-gc.c (mono_gc_invoke_with_gc_lock): Fix function name.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=154273
Atsushi Eno [Fri, 26 Mar 2010 13:56:39 +0000 (13:56 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs, XmlQualifiedName.cs : ReadElementContentAs() when
used for qname, treats non-prefixed name as in default namespace.
* XmlReaderCommonTests.cs : added test for ReadElementContentAs() for
qname, with default namespace.
svn path=/trunk/mcs/; revision=154272
Veerapuram Varadhan [Fri, 26 Mar 2010 13:45:50 +0000 (13:45 -0000)]
changelog changes
svn path=/trunk/mcs/; revision=154271
Veerapuram Varadhan [Fri, 26 Mar 2010 13:45:38 +0000 (13:45 -0000)]
2010-03-26 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #564833/580736
* DbDataAdapter.cs (*Command): Fix for .NET compatibility which
supports both type of adapters with/without discrete command
instances.
svn path=/trunk/mcs/; revision=154270
Sebastien Pouliot [Fri, 26 Mar 2010 12:30:14 +0000 (12:30 -0000)]
2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestChannel.cs: There is no WebHeaderCollection.Add
method in SL API
svn path=/trunk/mcs/; revision=154264
Sebastien Pouliot [Fri, 26 Mar 2010 12:26:45 +0000 (12:26 -0000)]
2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
* moonlight_raw_corlib.dll.sources: Add MonoAssembly to ML build
since it contains parts of the Assembly features (partial class)
svn path=/trunk/mcs/; revision=154263
Andreas Färber [Fri, 26 Mar 2010 10:56:10 +0000 (10:56 -0000)]
Fix mono version for git
When working on a Git repository that was cloned from a git-svn repo,
such as git://repo.or.cz/mono/afaerber.git, the version is currently
displayed as "tarball" in `mono -V`.
The method used to obtain the revision info from git since r134435 -
searching the log - is independent of git-svn, so no need to check
for .git/svn directory.
* Makefile.am (version.h): Check for pure .git directory only,
fixes SVN revision when using git without git-svn.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=154256
Paolo Molaro [Fri, 26 Mar 2010 10:47:00 +0000 (10:47 -0000)]
Fri Mar 26 11:33:17 CET 2010 Paolo Molaro <lupus@ximian.com>
* object.c, threads.c, threads-types.h, threads.h: make the
managed thread local storage references precisely tracked.
svn path=/trunk/mono/; revision=154254
Atsushi Eno [Fri, 26 Mar 2010 08:46:06 +0000 (08:46 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : use FaultConverter as documented at:
http://msdn.microsoft.com/en-us/library/ms789039%28VS.100%29.aspx
(Though I found _no_ use of this FC class in the world...)
svn path=/trunk/mcs/; revision=154251
Atsushi Eno [Fri, 26 Mar 2010 08:10:09 +0000 (08:10 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
* MessageBufferTest.cs : add test for copy of IsFault value.
svn path=/trunk/mcs/; revision=154250
Atsushi Eno [Fri, 26 Mar 2010 07:03:27 +0000 (07:03 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
for fault message.
svn path=/trunk/mcs/; revision=154249
Atsushi Eno [Fri, 26 Mar 2010 06:33:48 +0000 (06:33 -0000)]
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : create HttpResponseMessageProperty.
svn path=/trunk/mcs/; revision=154247
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 03:12:56 +0000 (03:12 -0000)]
Reworked the threadpool. See individual ChangeLog entries for details.
svn path=/trunk/mono/; revision=154243
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 03:12:56 +0000 (03:12 -0000)]
Reworked the threadpool. See individual ChangeLog entries for details.
svn path=/trunk/mcs/; revision=154243
Zoltan Varga [Fri, 26 Mar 2010 03:06:39 +0000 (03:06 -0000)]
2010-03-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Apply some openbsd changes from openbsd ports.
svn path=/trunk/mono/; revision=154242
Zoltan Varga [Fri, 26 Mar 2010 03:06:32 +0000 (03:06 -0000)]
2010-03-26 Zoltan Varga <vargaz@gmail.com>
* sockets.c: Apply some openbsd changes from openbsd ports.
svn path=/trunk/mono/; revision=154241
Zoltan Varga [Fri, 26 Mar 2010 03:06:25 +0000 (03:06 -0000)]
2010-03-26 Zoltan Varga <vargaz@gmail.com>
* mono-proclib.c mono-semaphore.c: Apply some openbsd changes from openbsd
ports.
svn path=/trunk/mono/; revision=154240
Zoltan Varga [Fri, 26 Mar 2010 03:06:17 +0000 (03:06 -0000)]
2010-03-26 Zoltan Varga <vargaz@gmail.com>
* configure.in: Apply some openbsd changes from openbsd ports.
svn path=/trunk/mono/; revision=154239
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 02:57:36 +0000 (02:57 -0000)]
only check for the Mac library file once
svn path=/trunk/mcs/; revision=154237
Mark Probst [Fri, 26 Mar 2010 02:06:16 +0000 (02:06 -0000)]
2010-03-26 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: More FIXME/TODO updates.
svn path=/trunk/mono/; revision=154236
Rodrigo Kumpera [Thu, 25 Mar 2010 23:47:29 +0000 (23:47 -0000)]
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
* Assembly.cs: Add v4 obsolete attribute.
svn path=/trunk/mcs/; revision=154233
Rodrigo Kumpera [Thu, 25 Mar 2010 23:42:14 +0000 (23:42 -0000)]
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyBuilder.cs: Implement v4 GetModule(s).
2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyBuilderTest.cs: Add test for v4 GetModule(s).
svn path=/trunk/mcs/; revision=154232
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