Marek Safar [Tue, 16 Oct 2012 10:52:02 +0000 (11:52 +0100)]
Copy all context flags from resolve context to block context. Fixes #7826
Zoltan Varga [Mon, 15 Oct 2012 21:09:57 +0000 (23:09 +0200)]
Fix a problem introduced by
63a5e6aa04e2d69b98c335be02eebcdbc6a87c7f. Scan the register locations before clearing them in the precise stack scanning code.
Zoltan Varga [Mon, 15 Oct 2012 18:32:56 +0000 (20:32 +0200)]
Fix the handling of param slots holding byref arguments on x86 when using precise stack marking. Add tests.
Zoltan Varga [Sun, 14 Oct 2012 19:52:18 +0000 (21:52 +0200)]
Fix an assert in the sgen match thread suspend code.
Zoltan Varga [Sun, 14 Oct 2012 19:49:00 +0000 (21:49 +0200)]
Add more info for collections/thread suspends to the sgen binary protocol.
Atsushi Eno [Mon, 15 Oct 2012 15:08:07 +0000 (00:08 +0900)]
Add some Microsoft.Build classes stubs.
They are used in NRefactory github master.
Zoltan Varga [Sun, 14 Oct 2012 17:41:02 +0000 (19:41 +0200)]
Fix compiling with SGEN_BINARY_PROTOCOL.
Zoltan Varga [Sun, 14 Oct 2012 14:32:21 +0000 (16:32 +0200)]
Add a debug function to sgen to do consistency checks of object pointers.
Zoltan Varga [Sun, 14 Oct 2012 14:29:43 +0000 (16:29 +0200)]
Clear the saved register locations when processing the last frame during precise stack scanning, the registers save info is not precise for the last frame.
Marek Safar [Sun, 14 Oct 2012 14:02:06 +0000 (15:02 +0100)]
Remove unreachable code
Marek Safar [Thu, 11 Oct 2012 11:48:49 +0000 (12:48 +0100)]
Don't report duplicate error when error recovery fails at eof
Marek Safar [Sat, 13 Oct 2012 08:36:20 +0000 (01:36 -0700)]
Merge pull request #476 from pruiz/xamarin-bug-2527
Fix implementation of System.IO.Packaging::GetRelativeUri(Uri,Uri) [fixes xamarin's bug #2727]
Zoltan Varga [Sat, 13 Oct 2012 08:19:40 +0000 (10:19 +0200)]
Zoltan Varga [Thu, 11 Oct 2012 18:57:30 +0000 (20:57 +0200)]
Remove some LLVM intrinsics declarations which no longer exist.
Zoltan Varga [Thu, 11 Oct 2012 17:36:45 +0000 (19:36 +0200)]
Upgrade LLVM backend to work with the latest code in the mono LLVM repo (
de7f73ea42408193b31aebbaa1f89f0e94cff96a).
Martin Baulig [Fri, 12 Oct 2012 22:39:13 +0000 (00:39 +0200)]
mono_lookup_pinvoke_call: Correctly handle full path names.
* Fix the prefix matching code: if the dllmap path is "/path/foo",
we want to look for "/path/libfoo", not "lib/path/foo".
* Check for @executable_path, @loader_path and @rpath on OS X.
(see http://stackoverflow.com/questions/
12834141/setting-path-of-the-native-library-for-dllimport-on-mono-for-mac/).
Pablo Ruiz Garcia [Fri, 12 Oct 2012 23:23:47 +0000 (01:23 +0200)]
Fix implementation of System.IO.Packaging::GetRelativeUri(Uri,Uri) [fixes xamarin's bug #2727].
Jeffrey Stedfast [Fri, 12 Oct 2012 19:59:35 +0000 (15:59 -0400)]
[Mono.Debugger.Soft] Reverted EscapeString() logic. We'll do this at a higher level.
Jeffrey Stedfast [Fri, 12 Oct 2012 19:55:31 +0000 (15:55 -0400)]
Modified the Linq Sort() to re-use the Array.Sort()
Jérémie Laval [Thu, 11 Oct 2012 15:40:26 +0000 (08:40 -0700)]
Merge pull request #440 from mono-soc-2012/garyb/resources
Bring resources implementation close to .NET 2 standard.
Mark Probst [Thu, 11 Oct 2012 15:37:39 +0000 (17:37 +0200)]
[sgen] Fix bridge code internal memory tag bug.
We need to use a different internal memory tag for each kind of data
item, otherwise we'll get an assertion.
garyb [Thu, 11 Oct 2012 15:17:54 +0000 (16:17 +0100)]
[Not Resources Related] Fixed buggy tests breaking the test build.
garyb [Thu, 11 Oct 2012 14:11:19 +0000 (15:11 +0100)]
Fix project files again after failed rebase
Marek Safar [Thu, 11 Oct 2012 11:03:26 +0000 (12:03 +0100)]
Bump bootstrap compiler support to include default parameters
Marek Safar [Thu, 11 Oct 2012 10:55:45 +0000 (11:55 +0100)]
Implement PropertyInfo simple Get/SetValue. Fixes #7725
Marek Safar [Thu, 11 Oct 2012 09:49:59 +0000 (10:49 +0100)]
Remove extra attributes
Marek Safar [Thu, 11 Oct 2012 09:49:09 +0000 (10:49 +0100)]
Add more incomplete expressions to ast.
Marek Safar [Wed, 10 Oct 2012 18:47:37 +0000 (19:47 +0100)]
Make block field readonly
Marek Safar [Wed, 10 Oct 2012 18:47:13 +0000 (19:47 +0100)]
Add new test
garyb [Wed, 10 Oct 2012 22:18:17 +0000 (23:18 +0100)]
Managed.Windows.Forms relies on System.Runtime.Serialization.Formatters.Soap
garyb [Thu, 13 Sep 2012 22:15:50 +0000 (23:15 +0100)]
Test solution added to Test folder, some project file updates
garyb [Fri, 14 Sep 2012 15:46:14 +0000 (16:46 +0100)]
Fix System.Web build
garyb [Thu, 13 Sep 2012 20:27:54 +0000 (21:27 +0100)]
Tidy after feedback
garyb [Thu, 13 Sep 2012 20:26:33 +0000 (21:26 +0100)]
Tidy after feedback
garyb [Tue, 21 Aug 2012 19:38:56 +0000 (20:38 +0100)]
Mark test NotWorking
garyb [Mon, 20 Aug 2012 16:31:15 +0000 (17:31 +0100)]
System.Resources: Tidy file headers
garyb [Mon, 20 Aug 2012 14:52:20 +0000 (15:52 +0100)]
System.Design: Tidy file headers and add test files to projects
garyb [Sat, 18 Aug 2012 20:59:11 +0000 (21:59 +0100)]
Support for ResXResourceWriter.BasePath being deeper than actual filepath
garyb [Fri, 17 Aug 2012 20:32:53 +0000 (21:32 +0100)]
Implement Basepath on ResXResourceWriter
garyb [Fri, 27 Jul 2012 15:43:54 +0000 (16:43 +0100)]
Fixed bug where using ResXResourceWriter filename ctor caused corrupted output
garyb [Wed, 18 Jul 2012 12:58:53 +0000 (13:58 +0100)]
Refactored, cleaned up
garyb [Wed, 18 Jul 2012 11:31:24 +0000 (12:31 +0100)]
Remove reliance on 2.0 profile test assembly
garyb [Wed, 18 Jul 2012 10:09:57 +0000 (11:09 +0100)]
Fixed comment writing. Ref to serialized obj no longer kept. Refactoring.
garyb [Tue, 17 Jul 2012 17:01:04 +0000 (18:01 +0100)]
More tests, more tidying, all present currently pass
garyb [Tue, 17 Jul 2012 10:23:53 +0000 (11:23 +0100)]
Fixes RE failing tests
garyb [Mon, 16 Jul 2012 15:34:22 +0000 (16:34 +0100)]
ResXDataNode based resx handling nearly complete. More tests added.
garyb [Thu, 12 Jul 2012 16:56:39 +0000 (17:56 +0100)]
ResXDataNode test refactoring, few more member tests.
garyb [Wed, 11 Jul 2012 11:19:14 +0000 (12:19 +0100)]
Added File Headers
garyb [Wed, 11 Jul 2012 10:24:48 +0000 (11:24 +0100)]
Draft Tests and Implementation of ResXDataNode Based ResX Handling
garyb [Tue, 19 Jun 2012 17:55:25 +0000 (18:55 +0100)]
StronglyTypedResourceBuilder implementation and tests.
Rodrigo Kumpera [Wed, 10 Oct 2012 22:01:21 +0000 (18:01 -0400)]
Merge remote-tracking branch 'joncham/sgen-msvc2'
Conflicts:
mono/metadata/sgen-copy-object.h
mono/metadata/sgen-gc.c
Rodrigo Kumpera [Wed, 10 Oct 2012 20:32:58 +0000 (13:32 -0700)]
Merge pull request #438 from mattleibow/master
UInt32 is too large for Int32
Andrew Wilson [Mon, 3 Sep 2012 20:13:28 +0000 (21:13 +0100)]
Add test for g_utf8_to_utf16_with_nuls.
Andrew Wilson [Mon, 3 Sep 2012 20:06:50 +0000 (21:06 +0100)]
Fix bug 5732, nuls in attribute strings.
Andrew Wilson [Mon, 3 Sep 2012 20:12:47 +0000 (21:12 +0100)]
Add g_utf8_to_utf16_with_nuls for strings containing nul.
Rodrigo Kumpera [Wed, 3 Oct 2012 16:26:28 +0000 (12:26 -0400)]
Make sure that the unsafe array store intrinsics emit a write barrier.
* method-to-ir.c: Array.UnsafeStore and Array.SetGenericValueImpl must
emit a write barrier for reference types.
Marek Safar [Wed, 10 Oct 2012 07:47:44 +0000 (08:47 +0100)]
Add catch variable to ast when block is missing
Sebastien Pouliot [Tue, 9 Oct 2012 23:45:36 +0000 (19:45 -0400)]
[OSX][iOS] Ensure 'sectrust' is released even if we deny the request
Sebastien Pouliot [Tue, 9 Oct 2012 23:43:52 +0000 (19:43 -0400)]
Provide a non-null X509Chain in the callback for MonoTouch (useful for custom validations) but we are not fully building it (since we do not use the output) and this can be done if customization is required
Martin Baulig [Tue, 9 Oct 2012 19:49:05 +0000 (21:49 +0200)]
[WCF,Serialization] Improve and fully implement support for collection types.
* System.Runtime.Serialization/XsdDataContractImporter:
Check ImportOptions.ReferencedCollectionTypes to determine the proxy type.
* System.ServiceModel.Description/MetadataImporter.cs:
Very simply implementation of the 'State' property.
* System.ServiceModel.Description/DataContractSerializerMessageContractImporter.cs:
Use it here.
* Test/Resources/WSDL: Added some sample .wsdl files for the new tests; adding
these as resources to the test dll.
* Test/System.Runtime.Serialization: Added WsdlHelper.cs,
XsdDataContractImporterTest2.cs and XsdDataContractExportTest2.cs
Zoltan Varga [Tue, 9 Oct 2012 19:36:26 +0000 (21:36 +0200)]
Clean up some cross-compilation issues on osx. Add a TARGET_MACH define instead of using __MACH__.
Marek Safar [Tue, 9 Oct 2012 07:49:36 +0000 (08:49 +0100)]
Don't include prepared catch block in ast when it's unfinished
Zoltan Varga [Mon, 8 Oct 2012 12:45:21 +0000 (14:45 +0200)]
Fix MonoInternalThread layout problems introduced by
1b0326d73f9709456c9de5728edafec96f8d996e. Add an assert to avoid this happening again.
Marek Safar [Mon, 8 Oct 2012 12:08:05 +0000 (13:08 +0100)]
Handle more incomplete declarations with full ast
Marek Safar [Mon, 8 Oct 2012 12:07:49 +0000 (13:07 +0100)]
Better reference type check
Zoltan Varga [Fri, 5 Oct 2012 18:07:54 +0000 (20:07 +0200)]
Remove an unused define.
Zoltan Varga [Fri, 5 Oct 2012 17:09:34 +0000 (19:09 +0200)]
Use #ifdef MONO_ARCH_SIMD_INTRINSICS in more places.
Zoltan Varga [Fri, 5 Oct 2012 16:48:42 +0000 (18:48 +0200)]
Revert "Allow inlining of methods which consist of only a call."
This reverts commit
9a2345d3f86e8f3b106eb5749939e8117b6c6bd9.
Zoltan Varga [Fri, 5 Oct 2012 16:48:31 +0000 (18:48 +0200)]
Revert "Fix the previous commit."
This reverts commit
dad73706274401838604806a571a3aad3d51124a.
Marek Safar [Fri, 5 Oct 2012 15:36:19 +0000 (16:36 +0100)]
Setup partial type constraints types without expanding interface list
Marek Safar [Fri, 5 Oct 2012 12:44:43 +0000 (13:44 +0100)]
Remove some redundant initializations
Zoltan Varga [Fri, 5 Oct 2012 12:29:37 +0000 (14:29 +0200)]
Clean up the InternalThread structure. Synchronize fields between the managed and unmanaged versions, group reference fields together near the beginning.
Zoltan Varga [Fri, 5 Oct 2012 11:02:12 +0000 (13:02 +0200)]
Fix a warning.
Zoltan Varga [Fri, 5 Oct 2012 10:49:43 +0000 (12:49 +0200)]
Fix the previous commit.
Zoltan Varga [Fri, 5 Oct 2012 06:00:31 +0000 (08:00 +0200)]
Allow inlining of methods which consist of only a call.
Zoltan Varga [Fri, 5 Oct 2012 05:08:52 +0000 (07:08 +0200)]
Allow 64 bit method addresses in the amd64 backend, LLVM on osx seems to generate them.
Marek Safar [Thu, 4 Oct 2012 14:13:38 +0000 (15:13 +0100)]
Report warning when calling async method without wait in non-async context.
Marek Safar [Thu, 4 Oct 2012 11:56:00 +0000 (12:56 +0100)]
Update IKVM.Reflection
Zoltan Varga [Thu, 4 Oct 2012 11:03:06 +0000 (13:03 +0200)]
Save fp registers in the ARM throw trampoline, ios has callee saved fp registers, and LLVM generates code which uses them.
Marek Safar [Thu, 4 Oct 2012 10:52:09 +0000 (11:52 +0100)]
BeginGetRequestStream cannot be called once the request has been submitted.
Marek Safar [Thu, 4 Oct 2012 10:39:21 +0000 (11:39 +0100)]
Add missing configureawait
Marek Safar [Thu, 4 Oct 2012 10:35:30 +0000 (11:35 +0100)]
Remove unnecessary and incompatible finalizer
Marek Safar [Thu, 4 Oct 2012 10:31:10 +0000 (11:31 +0100)]
Flush StreamWriter buffer even if underlying stream is kept open. Fixes #7510
Marek Safar [Wed, 3 Oct 2012 13:54:01 +0000 (14:54 +0100)]
Optimize list enumerator
Mark Probst [Tue, 2 Oct 2012 12:20:12 +0000 (14:20 +0200)]
[sgen] Complete the bridge weak reference fix.
When dereferencing a weak link we check whether bridge processing is
in progress. If it is, we wait for it to finish. This ensures that
we never follow weak links to dead objects before bridge processing
can null them.
Mark Probst [Tue, 18 Sep 2012 14:34:26 +0000 (16:34 +0200)]
[sgen] Use a hash table for the bridge weak references step.
Mark Probst [Tue, 18 Sep 2012 13:30:24 +0000 (15:30 +0200)]
[sgen] Incomplete bridge weak reference fix.
This is an incomplete fix for #6715. After bridge processing we
iterate through all weak references again, this time nulling those
that point to bridged objects that were diagnosed as dead by the
bridge.
As of now it's inefficient because it uses linear search for each weak
reference lookup, as well as incomplete because the code runs while
the world is running, so the weak links might be accessed before they
are consistent.
Mark Probst [Tue, 18 Sep 2012 13:17:27 +0000 (15:17 +0200)]
[sgen] Separate header for the hash table.
This is so that we can use the hash table more easily in the
mobile-master branch which doesn't yet have the hash table factored
out.
Zoltan Varga [Wed, 3 Oct 2012 11:26:28 +0000 (13:26 +0200)]
Implement constrained calls to iface methods correctly. Fixes #7571.
Marek Safar [Wed, 3 Oct 2012 11:26:07 +0000 (04:26 -0700)]
Merge pull request #474 from knocte/master
[System.XML]: Do not set XmlTypeMapElementInfo.IsNullable if it's already True
Marek Safar [Wed, 3 Oct 2012 11:19:19 +0000 (12:19 +0100)]
Clean up some static initializers
Andres G. Aragoneses [Wed, 3 Oct 2012 11:08:16 +0000 (12:08 +0100)]
[System.XML]: Do not set XmlTypeMapElementInfo.IsNullable if it's already True
The IsNullable attribute in XmlElementAttribute is false by default,
so when not using it in a member which was already nullable
(i.e. Nullable<DateTime>), Mono was overriding the attribute causing
a FormatException later if an xsi:nil value was found when deserializing.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=7613
Zoltan Varga [Wed, 3 Oct 2012 10:21:23 +0000 (12:21 +0200)]
Add more information about inline failures to the verbose JIT output.
Zoltan Varga [Wed, 3 Oct 2012 08:27:43 +0000 (10:27 +0200)]
Fix a warning.
Zoltan Varga [Wed, 3 Oct 2012 08:26:37 +0000 (10:26 +0200)]
Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer supported, see lists.gnu.org/archive/html/automake/2012-08/msg00087.html.
Rodrigo Kumpera [Tue, 2 Oct 2012 19:13:11 +0000 (15:13 -0400)]
Disable the type check on reference type array stores.
* method-to-ir.c (emit_array_store): We can avoid the type check
on stores to reference arrays as it turns out List<T> is not
covariant to its element type as I previously thought so.
Marek Safar [Tue, 2 Oct 2012 16:03:15 +0000 (17:03 +0100)]
Implement TaskFactory::FromAsync for calls completed synchronously.
Marek Safar [Tue, 2 Oct 2012 12:20:07 +0000 (13:20 +0100)]
Spped up array reverse
Marek Safar [Tue, 2 Oct 2012 08:46:16 +0000 (09:46 +0100)]
Fix array IStructuralEquatable.GetHashCode to use provided comparer.
Mark Probst [Tue, 2 Oct 2012 10:52:10 +0000 (12:52 +0200)]
[sgen] Fix race condition in mono_gc_weak_link_get ().