Ankit Jain [Thu, 4 Aug 2011 08:21:24 +0000 (13:51 +0530)]
[xbuild] RemoveDir - remove only if the dir exists.
Fixes bug #710234.
Atsushi Eno [Thu, 4 Aug 2011 00:05:06 +0000 (17:05 -0700)]
Merge pull request #146 from flutos/
207ce0bccceec3ff7860ea986086fedb5a92d822
fix for bug 708178 that would fail if the type wasnt IEnumerable, should check if it implement IEnumerable rather than is IEnumerable
Rodrigo Kumpera [Wed, 3 Aug 2011 22:44:18 +0000 (19:44 -0300)]
Fix padding of call instructions.
Chris Toshok [Fri, 29 Jul 2011 23:50:50 +0000 (16:50 -0700)]
don't redefine ABS
Zoltan Varga [Wed, 3 Aug 2011 15:51:01 +0000 (17:51 +0200)]
Avoid allocating the memory for all the dominator arrays at once.
Marek Habersack [Wed, 3 Aug 2011 13:58:20 +0000 (15:58 +0200)]
[runtime, globalization] Fix for Xamarin bug #161. Fix culture info data for certain locale short date formats
Modified locales which don't use '/' as the short date separator.
Marek Safar [Wed, 3 Aug 2011 13:05:51 +0000 (14:05 +0100)]
Initial support for handling exceptions inside async
Marek Safar [Tue, 2 Aug 2011 18:11:24 +0000 (19:11 +0100)]
All resolve contexts are now SRE-free
Atsushi Eno [Wed, 3 Aug 2011 04:53:11 +0000 (13:53 +0900)]
Fix NET_2_1 builds (regression from the previous SecurityBindingElement fixes).
Rodrigo Kumpera [Wed, 3 Aug 2011 02:25:05 +0000 (23:25 -0300)]
Implement fail tramp support on arm for full-aot imt thunks.
* aot-compiler.c (arch_emit_imt_thunk): Implement fail tramp
support on arm. This enables variance to work under full-aot.
The code blowout is not really significant as even on non linked
apps the imt thunk overhead is 0.5%.
Geoff Norton [Wed, 3 Aug 2011 01:45:49 +0000 (21:45 -0400)]
[gc] Darwin/AMD64 can have 64-bit thread id's, so we need to ensure
we cast properly to make sure the modulus has a valid result.
Additionally add support for x86_THREAD_STATE64.
Atsushi Eno [Tue, 2 Aug 2011 20:51:35 +0000 (13:51 -0700)]
Merge pull request #145 from ngraziano/
99b87f07af0beed3a887
Fix Service Model Xml Serialization and XMLAttributes
Atsushi Eno [Tue, 2 Aug 2011 20:35:26 +0000 (05:35 +0900)]
Fix bug #707434, check order only when applicable.
Based on the input by Scott Fluto.
Marek Safar [Tue, 2 Aug 2011 18:07:17 +0000 (19:07 +0100)]
Clean up block return label handling
Alan McGovern [Tue, 2 Aug 2011 16:02:00 +0000 (17:02 +0100)]
[System.IO.Path] Fix potential infinite loop in Path.GetTempFileName
Refactor this method so that it only attempts alternative filenames if
the filename just attempted already exists. This way we will never end
up looping forever being unable to create the required file. Previously
if we opened the maximum allowed files and then called GetTempFileName
we'd loop forever throwing an IOException in the FileStream constructor
every time.
Marek Safar [Tue, 2 Aug 2011 14:34:11 +0000 (15:34 +0100)]
Add async exception binding
Atsushi Eno [Tue, 2 Aug 2011 13:42:44 +0000 (06:42 -0700)]
Merge pull request #143 from mistoll/master
Fixes for WCF BasicHttpBinding with message security
Rolf Bjarne Kvinge [Tue, 2 Aug 2011 12:39:55 +0000 (14:39 +0200)]
[aot-compiler] Replace assert with descriptive error message.
Michael Stoll [Tue, 2 Aug 2011 08:34:27 +0000 (10:34 +0200)]
Fixed coding style in SecureMessageDecryptor
Michael Stoll [Tue, 2 Aug 2011 08:34:08 +0000 (10:34 +0200)]
Fixed coding style in SecureMessageGenerator
Michael Stoll [Tue, 2 Aug 2011 08:23:24 +0000 (10:23 +0200)]
Fixed coding style for BasicHttpBinding and SecurityBindingElement
Michael Stoll [Tue, 2 Aug 2011 08:08:25 +0000 (10:08 +0200)]
Fixed coding style in System.IdentityModel
Alex [Mon, 1 Aug 2011 22:04:19 +0000 (00:04 +0200)]
Define MONO_ARCH_NOMAP32BIT for DragonFly BSD.
Atsushi Eno [Tue, 2 Aug 2011 16:58:28 +0000 (09:58 -0700)]
Fill/reflect ReturnValue to and from corresponding message part.
This may have fixed bug #41.
Atsushi Eno [Tue, 2 Aug 2011 14:41:49 +0000 (07:41 -0700)]
part of fix bug #41. MessageParameterAttribute is considered for return value.
Michael Stoll [Mon, 1 Aug 2011 10:30:53 +0000 (12:30 +0200)]
Remvoed debug console output
Moved the check for the action header because it is not required in all messages.
Michael Stoll [Mon, 1 Aug 2011 10:29:00 +0000 (12:29 +0200)]
Splitted the SecureMessage method for a better readability.
Fixed message creation for AddressingVersion.None
Fixed the element type of encrypted xml (Content vs. Element)
Fixed GetAction() (Using correct property name)
Fixed message body Id attribute prefix
Michael Stoll [Mon, 1 Aug 2011 10:23:55 +0000 (12:23 +0200)]
Fixed the SecurityBindingElement creation of BasicHttpBinding
Michael Stoll [Mon, 1 Aug 2011 08:38:44 +0000 (10:38 +0200)]
Added support for negative serial numbers in X509IssuerSerialKeyIdentifierClause as proposed in RFC 5280
Alex [Mon, 1 Aug 2011 08:27:25 +0000 (10:27 +0200)]
Add support for DragonFly and NetBSD to sigcontext.
Jeffrey Stedfast [Fri, 29 Jul 2011 21:01:55 +0000 (17:01 -0400)]
Fix a compiler warning in mkbundle by #including mono-config.h
scott fluto [Thu, 28 Jul 2011 21:19:43 +0000 (15:19 -0600)]
[708178] - Type check invalid and breaks XmlSerialization if serializing ICollection<> types
Rodrigo Kumpera [Tue, 26 Jul 2011 05:35:14 +0000 (02:35 -0300)]
OSX won't expose IPV6_PKTINFO unless __APPLE_USE_RFC_3542 is defined.
Rodrigo Kumpera [Tue, 26 Jul 2011 02:19:01 +0000 (23:19 -0300)]
Handle a race on thread cleanup.
* mini.c (mini_thread_cleanup): Under some rare cases it's
possible to have a NULL lmf.
Mark Probst [Thu, 28 Jul 2011 11:45:43 +0000 (13:45 +0200)]
Factor the lock-free growable array out of the lock-free array queue.
Mark Probst [Wed, 27 Jul 2011 17:14:09 +0000 (19:14 +0200)]
Factor the simple lock-free array queue out of hazard-pointer.c.
Mark Probst [Wed, 27 Jul 2011 17:03:23 +0000 (19:03 +0200)]
[sgen] Don't use pthread_once() to init a TLS key, do it at GC init.
Miguel de Icaza [Thu, 28 Jul 2011 14:32:14 +0000 (07:32 -0700)]
Merge pull request #93 from konrad-kruczynski/dispatcher_timer_fix
[Fix] Fix for bug #677265 with DispatcherTimer.
Miguel de Icaza [Thu, 28 Jul 2011 14:27:32 +0000 (07:27 -0700)]
Merge pull request #136 from spencerhakim/master
Fixed SKEL_DIRECTORY definition in Release build of jay2010.vcxproj
Miguel de Icaza [Thu, 28 Jul 2011 14:25:00 +0000 (07:25 -0700)]
Merge pull request #139 from HorstKakuschke/master
Fix for Xamarin Bug 42: Exception 'TypeConverter cannot convert from System.String' when specifying soapExtensionReflectorTypes
Jérémie Laval [Wed, 27 Jul 2011 23:51:19 +0000 (19:51 -0400)]
Same test for TaskCompletionSource
Jérémie Laval [Wed, 27 Jul 2011 23:36:40 +0000 (19:36 -0400)]
Ensure that Task is in a correct initial state before starting it for real
Jérémie Laval [Wed, 27 Jul 2011 23:35:50 +0000 (19:35 -0400)]
Test that futures throw Exception through Result property when they are Faulted
Jérémie Laval [Wed, 27 Jul 2011 22:31:13 +0000 (18:31 -0400)]
Add test for various AggregateException ctor exception situations
Jérémie Laval [Wed, 27 Jul 2011 22:20:57 +0000 (18:20 -0400)]
Move innerExceptions internal null check at the right place.
Jérémie Laval [Wed, 27 Jul 2011 22:12:23 +0000 (18:12 -0400)]
Add testcase to ensure unobserved exception on Task are correctly propagated
Jérémie Laval [Wed, 27 Jul 2011 22:01:22 +0000 (18:01 -0400)]
Makes AggregateException ToString output closer to .NET one
Jérémie Laval [Wed, 27 Jul 2011 21:51:20 +0000 (17:51 -0400)]
Fix AggregateException behavior
Jérémie Laval [Wed, 27 Jul 2011 20:22:24 +0000 (16:22 -0400)]
Allow using a worker number that is greater than Environment.ProcessorCount for parallel loops.
Marek Safar [Wed, 27 Jul 2011 17:35:56 +0000 (18:35 +0100)]
Add missing check for async scope in array access
Marek Safar [Wed, 27 Jul 2011 16:34:42 +0000 (17:34 +0100)]
New test
Marek Safar [Wed, 27 Jul 2011 16:23:48 +0000 (17:23 +0100)]
[708408] Don't start recursive check when reporting inaccesible base type
Atsushi Eno [Thu, 28 Jul 2011 04:03:31 +0000 (21:03 -0700)]
Fix wsdl import wrt element qname (!= type name).
Mark Probst [Wed, 27 Jul 2011 11:06:55 +0000 (13:06 +0200)]
[sgen] Don't allow nursery sizes smaller than SGEN_MAX_NURSERY_WASTE.
That's the smallest TLAB size SGen will use, so having a smaller
nursery makes no sense as it will never be used and all allocation
will be degraded.
Mark Probst [Wed, 27 Jul 2011 11:05:37 +0000 (13:05 +0200)]
[sgen] Construct the array_fill_vtable manually.
For very small nursery sizes the initalization happened too late, and
we can't do it early because we depend on other runtime stuff being
initialized. This is a clean solution that only requires the byte
class to be initialized.
Mark Probst [Wed, 27 Jul 2011 11:03:00 +0000 (13:03 +0200)]
[sgen] Accept numbers without suffixes in env var parameters.
Jeffrey Stedfast [Tue, 26 Jul 2011 22:40:38 +0000 (18:40 -0400)]
Don't invoke libc uname() on non-Unix systems
Marek Safar [Tue, 26 Jul 2011 21:14:04 +0000 (22:14 +0100)]
Avoid creating a temporary variable when target await expression is does not include await
Marek Safar [Tue, 26 Jul 2011 20:31:06 +0000 (21:31 +0100)]
Use simple null check for implicitly convertible reference types is check
Mark Probst [Tue, 26 Jul 2011 15:33:49 +0000 (17:33 +0200)]
[sgen] Use the proper object size when scanning arrays from a card table.
Using the block object size is incorrect since we might scan beyond
the end of the array.
Mark Probst [Tue, 26 Jul 2011 14:37:48 +0000 (16:37 +0200)]
[sgen] Make the card table on AMD64 correct for 64 bit nursery addresses.
Mark Probst [Tue, 26 Jul 2011 14:36:56 +0000 (16:36 +0200)]
[sgen] Print a warning when using binary protocol and card tables.
Mark Probst [Tue, 26 Jul 2011 13:53:52 +0000 (15:53 +0200)]
[sgen] Binary protocol for every write barrier, not just the generic store one.
Mark Probst [Tue, 26 Jul 2011 13:52:50 +0000 (15:52 +0200)]
[sgen] Make the binary protocol compile and work again.
Mark Probst [Tue, 26 Jul 2011 13:52:00 +0000 (15:52 +0200)]
[sgen] Fix mono_gc_wbarrier_value_copy() for remsets.
We must store the element size, not the size of the whole array.
Mark Probst [Tue, 26 Jul 2011 13:50:05 +0000 (15:50 +0200)]
[sgen] Make mono_sgen_safe_object_get_size() handle forwarded objects.
This is sometimes called on forwarded objects from the major collector
during finalization. Now it doesn't crash anymore.
Zoltan Varga [Mon, 25 Jul 2011 13:35:52 +0000 (15:35 +0200)]
Fix windows build.
Miguel de Icaza [Mon, 25 Jul 2011 23:08:43 +0000 (19:08 -0400)]
Fix invocation to syslog
Atsushi Eno [Mon, 25 Jul 2011 19:25:00 +0000 (04:25 +0900)]
Fix bug #16: use Owner node instead of Parent. Patch by Martin Potter.
Sebastien Pouliot [Mon, 25 Jul 2011 13:58:14 +0000 (09:58 -0400)]
Fixed decoding of PKCS/CMS message with detached ContentInfo. Pull request from Pablo Ruiz Garcia <pablo.ruiz@gmail.com>
Zoltan Varga [Sun, 24 Jul 2011 18:41:58 +0000 (20:41 +0200)]
Fix a crash in the soft-float decompose code when a branch following an fcompare is optimized away. Fixes #705186.
Zoltan Varga [Tue, 12 Jul 2011 01:18:46 +0000 (03:18 +0200)]
Mark Probst [Sat, 23 Jul 2011 19:29:30 +0000 (21:29 +0200)]
Remove references to mono_pthread_key_for_tls(). Fixes builds.
Sebastien Pouliot [Sat, 23 Jul 2011 19:09:56 +0000 (15:09 -0400)]
add put support in certmgr (git pull request 124 by rabink)
Sebastien Pouliot [Sat, 23 Jul 2011 15:03:44 +0000 (11:03 -0400)]
Expose new ReadLines extension methods in the mobile-based profiles
HorstKakuschke [Fri, 22 Jul 2011 17:17:56 +0000 (19:17 +0200)]
Fix for Bug 42: Exception 'TypeConverter cannot convert from System.String' when specifying soapExtensionReflectorTypes
Added type conversion via class TypeTypeConverter for configuration property "type"
Atsushi Eno [Fri, 22 Jul 2011 14:20:08 +0000 (07:20 -0700)]
Merge pull request #137 from eisnerd/bug-xpath-reverse-axes-497017
XPath reverse axes bug #497017
Mark Probst [Fri, 22 Jul 2011 09:55:30 +0000 (11:55 +0200)]
TLS is always fast now, so remove NO_TLS_SET_VALUE in domain.c.
Mark Probst [Fri, 22 Jul 2011 09:48:36 +0000 (11:48 +0200)]
Remove io-layer Windows API TLS emulation code.
We should always use native TLS. The Windows TLS emulation adds
an unnecessary layer and even slows us down considerably on some
platforms: The TlsGetValue() code not only does a TLS get, but,
since it calls SetLastError(), also a TLS set, so on platforms
with slow TLS set, TLS get will also be slow.
This will almost certainly break something. I beg forgiveness.
Atsushi Eno [Fri, 22 Jul 2011 05:02:48 +0000 (14:02 +0900)]
Avoid possible duplicate xmlns output. Fixes xsp-based hosting somehow.
David Eisner [Thu, 21 Jul 2011 22:28:32 +0000 (23:28 +0100)]
Removal of XPath debugging code relating to bug #497017, leaving the new test cases
David Eisner [Thu, 21 Jul 2011 22:20:13 +0000 (23:20 +0100)]
XPath test cases and debugging code relating to bug #497017
David Eisner [Thu, 21 Jul 2011 22:19:00 +0000 (23:19 +0100)]
Corrected XPath iterator for ancestor-or-self axes for runaway behaviour
Adding a test case for ancestor-or-self along the lines of the existing one for ancestor showed runaway, memory-eating behaviour. In changing CollectResults to remove the livelock, it seemed simplest to remove the extra yield of the root from MoveNextCore. I was unable to ascertain a good reason for producing this element in this special way compared to the AncestorIterator.
David Eisner [Thu, 21 Jul 2011 22:07:02 +0000 (23:07 +0100)]
Fixed the XPath built-in position function for bug #497017
According to http://www.w3.org/TR/xpath#predicates, a predicate [n] should be equivalent to [position()=n] for a number expression n. However, we currently have a PredicateIterator intepretation of [n] that has been corrected for the issue outlined in the bug report, leaving the position() function behind with an inappropriate, document-order value for reverse axes. Note that [n] is not treated by parsing or transforming to the same form as [position()=n] before evaluation, valid as that would be.
The discussion in that same section of the recommendation about forward and reverse axes and further remarks in http://www.w3.org/TR/xpath#node-sets make it clear that the predicate [1] has the sense of "nearest" rather than "first in the document" which then, depending on the axis type, may be the same or reverse of the document order. It does not seem to me to be so clear whether the order given by a navigator for a location path expression should mirror this or always give the document order. The .Net implementation seems to always give the document order, as well as predicates having the correct reverse/forward senses, so I have added test cases that explore both.
Zoltan Varga [Thu, 21 Jul 2011 14:33:37 +0000 (16:33 +0200)]
Remove obsolete and broken msvc05 files.
Marek Safar [Thu, 21 Jul 2011 11:33:06 +0000 (12:33 +0100)]
Include context member name in async wrapper to easier debugging
Marek Safar [Thu, 21 Jul 2011 10:03:09 +0000 (11:03 +0100)]
More emit updates to handle await sub-expressions
Atsushi Eno [Wed, 20 Jul 2011 19:57:32 +0000 (04:57 +0900)]
Fix bug #703910 - implement Order support in XmlSerializer.
Marek Safar [Wed, 20 Jul 2011 17:30:07 +0000 (18:30 +0100)]
Type details are no longer need when emitting ldloc
Marek Safar [Wed, 20 Jul 2011 11:31:22 +0000 (12:31 +0100)]
Remove failed approach to await stack handling
Marek Safar [Wed, 20 Jul 2011 10:55:36 +0000 (11:55 +0100)]
Handle await in liften binary expression with compound assignment
Marek Safar [Wed, 20 Jul 2011 09:47:19 +0000 (10:47 +0100)]
Report full method name for IL code mismatch
Sebastien Pouliot [Wed, 20 Jul 2011 17:29:46 +0000 (13:29 -0400)]
Allow IsolatedStorage to work on MOBILE profiles even when CAS types are linked out
Sebastien Pouliot [Wed, 20 Jul 2011 15:39:48 +0000 (11:39 -0400)]
another case where the linker needs help to eliminate CAS
Spencer Hakim [Wed, 20 Jul 2011 14:37:46 +0000 (10:37 -0400)]
Fixed SKEL_DIRECTORY pre-processor definition in Release build of jay2010.vcxproj
Sebastien Pouliot [Wed, 20 Jul 2011 12:12:49 +0000 (08:12 -0400)]
Ensure the linker can eliminate most CAS-related types in the MOBILE-based profiles
Sebastien Pouliot [Wed, 20 Jul 2011 11:58:29 +0000 (07:58 -0400)]
Ensure the linker can eliminate the *RequestCreator code without extra instructions.
Marek Safar [Wed, 20 Jul 2011 08:03:11 +0000 (09:03 +0100)]
Honour command line checked option during emit phase
Geoff Norton [Wed, 20 Jul 2011 02:33:09 +0000 (22:33 -0400)]
Type matching is fun
Geoff Norton [Wed, 20 Jul 2011 02:28:17 +0000 (22:28 -0400)]
info->signal does not exist on MACH either