Marek Safar [Sat, 21 Feb 2015 12:22:01 +0000 (13:22 +0100)]
Merge pull request #1573 from akoeplinger/msbuild-import-empty
[Microsoft.Build.Engine] Ignore import with empty project attribute when condition is false
João Matos [Fri, 20 Feb 2015 20:14:15 +0000 (20:14 +0000)]
Merge pull request #1583 from akoeplinger/fix-genproj-line-endings
[genproj] Fix line endings in generated file to be CRLF
Atsushi Eno [Fri, 20 Feb 2015 19:35:57 +0000 (03:35 +0800)]
Merge branch 'master' of github.com:mono/mono
(some commits occurred while I have been cherry-picking a lot of "they are
in import-system-xml branch but it works with existing sys.xml" stuff.)
work in master
Atsushi Eno [Fri, 6 Feb 2015 08:01:19 +0000 (16:01 +0800)]
[WCF] XmlWriter.WriteAttributeString(string,string) does not accept xml:*.
It needs LocalName. So use other overloads instead.
Atsushi Eno [Thu, 5 Feb 2015 21:36:13 +0000 (05:36 +0800)]
[XLinq] create new instance of XmlSchemaInfo for each XObject from XmlReader.
In referencesource, XmlReader.SchemaInfo does not return different instances
for each node at its state but just returns the XmlReader itself (which
implements IXmlSchemaInfo). Hence, if we just set the corresponding
IXmlScemaInfo to each XObject, it results in inconsistent state.
This fixes two regressions in ExtensionsTest (XAttributeFailValidate and
XAttributeThrowExceptionValidate).
Atsushi Eno [Wed, 4 Feb 2015 04:56:29 +0000 (12:56 +0800)]
[Sys.Security] don't expect XmlNode.ChildNodes returns the same instance.
It did in mono implementation. It doesn't on referencesource.
Atsushi Eno [Tue, 3 Feb 2015 10:33:32 +0000 (18:33 +0800)]
[Configuration] skip whitespaces in the settings xml.
This is required after we switch to referencesource, which somehow
preserves whitespaces during deserialization from xml.
Atsushi Eno [Mon, 2 Feb 2015 10:24:15 +0000 (18:24 +0800)]
[Xaml] XamlXmlWriter should flush output when disposing.
With referencesource, XmlWriter for TextWriter buffers the output.
When closing XamlXmlWriter, it does not flush the output, causing
the buffered XmlWriter output discarded in the wild.
Atsushi Eno [Mon, 2 Feb 2015 09:48:14 +0000 (17:48 +0800)]
[WCF] for certain kind of Messages, do now write BodyContents twice.
Atsushi Eno [Mon, 2 Feb 2015 09:03:19 +0000 (17:03 +0800)]
[Sys.Xml] when deserializing XmlNode, use XmlReader's NameTable.
Atsushi Eno [Mon, 2 Feb 2015 09:01:00 +0000 (17:01 +0800)]
[WCF] fix wrong using scope on XmlWriter in security token serializer test.
Atsushi Eno [Fri, 30 Jan 2015 16:44:34 +0000 (00:44 +0800)]
[WCF] do not use XmlReader.Name to check LocalName.
It won't match for prefixed ones.
Atsushi Eno [Fri, 30 Jan 2015 16:43:23 +0000 (00:43 +0800)]
[WCF] Do not expect XmlElement.FirstChild is non-whitespace here.
Fix several regressions caused by referencesource Sys.Xml import.
Atsushi Eno [Fri, 30 Jan 2015 08:57:53 +0000 (16:57 +0800)]
[S.R.Serialization] fix referencesource glitch in XmlMtomDictionaryWriter.
MTOM writer didn't expect multiple top-level elements are rejected at
ConformanceLevel.Auto, neiher do against Write[Start/End]Document() with
such elements.
Also Flush is often needed before directly writing to the Stream(Writer).
EOLs handling was also inconsistent between referencesource and old mono.
Atsushi Eno [Thu, 29 Jan 2015 18:51:33 +0000 (02:51 +0800)]
[S.R.Serialization] add missing attributes in MS serialization namespace.
This fixes another regression which failed to load Test ns22.xsd.
Atsushi Eno [Thu, 29 Jan 2015 08:39:51 +0000 (16:39 +0800)]
[Sys.Xml] don't use XmlSchemaElement.ElementType anymore. MS doesn't use it.
XML Schema compilation is done in referencesource.
XmlSchemaImporter is based on mono code. Hence this glitch happened.
The following regression is fixed:
1) MonoTests.System.Xml.Serialization.XmlSchemaImporterTests.DefaultTypeTopLevelElementImportsAllComplexTypes : System.InvalidOperationException : 'Root' is missing.
at System.Xml.Serialization.XmlSchemaImporter.ImportTypeMapping (System.Xml.XmlQualifiedName name) [0x0005a] in /svn/mono/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs:453
at MonoTests.System.Xml.Serialization.XmlSchemaImporterTests.DefaultTypeTopLevelElementImportsAllComplexTypes () [0x00039] in /svn/mono/mcs/class/System.XML/Test/System.Xml.Serialization/XmlSchemaImporterTests.cs:1104
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /svn/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:230
Atsushi Eno [Tue, 27 Jan 2015 14:00:42 +0000 (22:00 +0800)]
Our XmlDictionaryWriter implementation expects XmlReader at non-Initial state.
It is to fix glitch between mono Sys.Xml and referencesource.
Atsushi Eno [Tue, 20 Jan 2015 10:23:06 +0000 (19:23 +0900)]
[Sys.Data] DataSet.ReadXmlSchema(): use LocalName instead of Name on XmlReader.
MS referencesource Sys.Xml uncovered this bug.
Zoltan Varga [Fri, 20 Feb 2015 18:59:56 +0000 (13:59 -0500)]
[aot] Fix the emission of llvm plt entries.
Marek Safar [Fri, 20 Feb 2015 17:45:42 +0000 (18:45 +0100)]
[corlib] Fixes build with old UnmanagedMemoryStream
Atsushi Eno [Mon, 16 Feb 2015 18:44:00 +0000 (02:44 +0800)]
Add missing new I18N DefaultEncoder class.
Atsushi Eno [Mon, 16 Feb 2015 13:06:51 +0000 (21:06 +0800)]
Add old mono Encoder and use it in MonoEncoding to keep compatibility.
There was some glitch in CP932 encoding and referencesource Encoder
that caused error in Convert(), shown in System.XML tests.
To avoid this, bring back old Encoder as we used before and keep
compatible processing.
It might be buggier, but doesn't regress. We may be able to bring nlp-
based Encodings later too.
Zoltan Varga [Fri, 20 Feb 2015 16:51:19 +0000 (11:51 -0500)]
[runtime] Export the GC bridge api functions.
Miguel de Icaza [Fri, 20 Feb 2015 16:23:50 +0000 (11:23 -0500)]
Merge pull request #1582 from zevane/patch-1
Make the class thread-safe
Marek Safar [Fri, 20 Feb 2015 16:07:15 +0000 (17:07 +0100)]
[corlib] Remove ResourceCloseHandler usage
Marek Safar [Fri, 20 Feb 2015 14:09:14 +0000 (15:09 +0100)]
[corlib] Add more internal apis
Marek Safar [Fri, 20 Feb 2015 12:34:18 +0000 (13:34 +0100)]
[build] Handle multiple entries in RESOURCE_STRINGS
Marek Safar [Fri, 20 Feb 2015 10:25:23 +0000 (11:25 +0100)]
Bump reference sources to revert Add read-only interfaces to some collections
Marek Safar [Fri, 20 Feb 2015 10:16:18 +0000 (11:16 +0100)]
Use more resource text strings from reference sources
Marek Safar [Fri, 20 Feb 2015 08:57:30 +0000 (09:57 +0100)]
[System.Runtime.Serialization] Makefile cleanup
Marek Safar [Fri, 20 Feb 2015 08:52:44 +0000 (09:52 +0100)]
[System.Numerics] Cleanup Makefile
Marek Safar [Fri, 20 Feb 2015 08:44:37 +0000 (09:44 +0100)]
[System.ComponentModel.DataAnnotations] Makefile clean-up
zevane [Fri, 20 Feb 2015 08:12:47 +0000 (09:12 +0100)]
Make the class thread-safe
If two threads request the same section, which isn't yet cached, both try to insert it into the cache, causing a "Key duplication when adding...". It's neccesary to lock the getter. This solves bugs #5263, #7785, #18303
Marek Safar [Fri, 20 Feb 2015 07:49:17 +0000 (08:49 +0100)]
[corlib] Switch to official mscorlib.txt
Miguel de Icaza [Fri, 20 Feb 2015 02:02:49 +0000 (21:02 -0500)]
Bring referencesource messages that were just published by Microsoft
Zoltan Varga [Fri, 20 Feb 2015 01:24:38 +0000 (20:24 -0500)]
[aot] Fix the emission of dwarf debug info.
Zoltan Varga [Fri, 20 Feb 2015 01:02:39 +0000 (20:02 -0500)]
[aot] Emit dwarf emission on arm64.
Zoltan Varga [Thu, 19 Feb 2015 23:53:37 +0000 (18:53 -0500)]
Zoltan Varga [Thu, 19 Feb 2015 22:17:20 +0000 (17:17 -0500)]
[llvm] Mark methods with the NOINLINING attribute as non-inlinable.
Zoltan Varga [Thu, 19 Feb 2015 22:01:59 +0000 (17:01 -0500)]
[llvm] Refactor the calling convention handling code a bit, add support for returning fp structures by value.
Ludovic Henry [Thu, 19 Feb 2015 20:48:47 +0000 (15:48 -0500)]
[tpl] Increase wait timing in test suite to adapt to the slower ramp up of the ThreadPool
Zoltan Varga [Thu, 19 Feb 2015 19:34:27 +0000 (14:34 -0500)]
[aot] Enable LLVM level inlining.
Marek Safar [Thu, 19 Feb 2015 19:12:31 +0000 (20:12 +0100)]
[system.web] Tests update
Marek Safar [Thu, 19 Feb 2015 19:11:05 +0000 (20:11 +0100)]
[WindowsBase] Implement Vector formattable ToString
Marek Safar [Thu, 19 Feb 2015 16:17:04 +0000 (17:17 +0100)]
[corlib] BufferedStream from reference sources
Zoltan Varga [Thu, 19 Feb 2015 19:06:20 +0000 (14:06 -0500)]
[llvm] Mark methods with clauses as noinline.
Zoltan Varga [Thu, 19 Feb 2015 19:05:51 +0000 (14:05 -0500)]
[jit] Fix the overflow checks in the liveness2 pass since the liveness ranges are stored as signed ints.
Zoltan Varga [Thu, 19 Feb 2015 18:26:23 +0000 (13:26 -0500)]
[aot] Fix catching exceptions in gshared methods on amd64.
Alexander Köplinger [Thu, 19 Feb 2015 18:12:10 +0000 (19:12 +0100)]
[genproj] Fix line endings in generated file to be CRLF
The template uses CRLF everywhere, so we should generate the same to avoid mixed line endings.
Zoltan Varga [Thu, 19 Feb 2015 17:10:02 +0000 (12:10 -0500)]
[llvm] Mark the mono_aot_personality () function as used, to prevent llvm from optimizing it away.
Zoltan Varga [Thu, 19 Feb 2015 16:41:05 +0000 (11:41 -0500)]
[runtime] Export a few functions needed by xam.mac.
Jo Shields [Thu, 19 Feb 2015 15:50:20 +0000 (15:50 +0000)]
Add ReferenceSources/mscorlib.txt to EXTRA_DIST (fixes distcheck)
Marek Safar [Thu, 19 Feb 2015 16:04:14 +0000 (17:04 +0100)]
[corlib] Text streams from reference sources
Marek Safar [Thu, 19 Feb 2015 15:42:57 +0000 (16:42 +0100)]
[corlib] Use public TextWriter.Synchronized for Console synchronization and leave stream closing handling to underlying stream
Marek Safar [Thu, 19 Feb 2015 12:04:16 +0000 (13:04 +0100)]
[corlib] Stream, MemoryStream from reference sources
Marek Safar [Thu, 19 Feb 2015 11:47:40 +0000 (12:47 +0100)]
[corlib] Access null stream using public property
Marek Safar [Thu, 19 Feb 2015 11:46:48 +0000 (12:46 +0100)]
[corlib] Rename IsDirectorySeparator method to match reference sources
Alex Rønne Petersen [Thu, 19 Feb 2015 10:04:59 +0000 (11:04 +0100)]
Stop building with `-Wdeclaration-after-statement` since we're C99 now.
Zoltan Varga [Thu, 19 Feb 2015 01:35:47 +0000 (20:35 -0500)]
[aot] Fix an assertion.
Zoltan Varga [Thu, 19 Feb 2015 00:15:12 +0000 (19:15 -0500)]
[llvm] Emit null checks for remainders as well.
Zoltan Varga [Thu, 19 Feb 2015 00:04:51 +0000 (19:04 -0500)]
[llvm] Emit null checks in div opcodes if needed.
Zoltan Varga [Thu, 19 Feb 2015 00:04:08 +0000 (19:04 -0500)]
[aot] Fix binary search in the code offsets table when emitting llvm code separately.
Zoltan Varga [Wed, 18 Feb 2015 23:24:44 +0000 (18:24 -0500)]
[aot] Fix the computation of LLVM code ranges.
Jo Shields [Wed, 18 Feb 2015 23:13:43 +0000 (23:13 +0000)]
Ensure check-seq-point target exits immediately on failure.
Zoltan Varga [Wed, 18 Feb 2015 22:31:02 +0000 (17:31 -0500)]
[jit] Disable llvm support for the atomic load/store opcodes for now to fix corlib test failures.
Zoltan Varga [Wed, 18 Feb 2015 22:10:57 +0000 (17:10 -0500)]
[aot] Handle separate blocks of llvm and jitted code correctly.
Mark Probst [Wed, 18 Feb 2015 20:26:00 +0000 (12:26 -0800)]
[sgen] Correctly calculate size of zero-based one-dimensional non-vector arrays.
Marek Safar [Wed, 18 Feb 2015 19:01:05 +0000 (20:01 +0100)]
[mcs] Make compiler output deterministic. Fixes #26842
Zoltan Varga [Wed, 18 Feb 2015 18:41:08 +0000 (13:41 -0500)]
Merge pull request #1576 from McSherry/patch-1
revises GZipStream ctor parameter names
Zoltan Varga [Wed, 18 Feb 2015 18:39:00 +0000 (13:39 -0500)]
[runtime] Really fix the loadable LLVM build.
Liam McSherry [Wed, 18 Feb 2015 18:32:43 +0000 (18:32 +0000)]
revises GZipStream ctor parameter names
By changing the names of the parameters, code that uses .NET GZipStream constructors[1][2] with named parameters can use this GZipStream without change.
[1]: https://msdn.microsoft.com/en-us/library/as1ff51s(v=vs.110).aspx
[2]: https://msdn.microsoft.com/en-us/library/27ck2z1y(v=vs.110).aspx
Jo Shields [Wed, 18 Feb 2015 18:29:01 +0000 (18:29 +0000)]
Just avoid BSD sed altogether.
Jo Shields [Wed, 18 Feb 2015 17:42:15 +0000 (17:42 +0000)]
More fixes for BSD sed breaking check-seq-point target
Jo Shields [Wed, 18 Feb 2015 17:17:21 +0000 (17:17 +0000)]
Further fixes to check-seq-point test
Jo Shields [Wed, 18 Feb 2015 16:54:30 +0000 (16:54 +0000)]
Fix test suite on OSX
Zoltan Varga [Wed, 18 Feb 2015 16:43:25 +0000 (11:43 -0500)]
[runtime] Fix the loadable LLVM build.
Marek Safar [Wed, 18 Feb 2015 16:04:30 +0000 (17:04 +0100)]
Bump ikdasm to fix crashes on mobile mscorlib
João Matos [Wed, 18 Feb 2015 16:00:06 +0000 (16:00 +0000)]
Merge pull request #1575 from mono/revert-1574-patch-1
Revert "revises GZipStream ctor parameter names"
João Matos [Wed, 18 Feb 2015 15:59:39 +0000 (15:59 +0000)]
Revert "revises GZipStream ctor parameter names"
João Matos [Wed, 18 Feb 2015 15:59:16 +0000 (15:59 +0000)]
Merge pull request #1574 from McSherry/patch-1
revises GZipStream ctor parameter names
Liam McSherry [Wed, 18 Feb 2015 15:55:01 +0000 (15:55 +0000)]
revises GZipStream ctor parameter names
By changing the names of the parameters, code that uses .NET GZipStream constructors[1][2] with named parameters can use this GZipStream without change.
[1]: https://msdn.microsoft.com/en-us/library/as1ff51s(v=vs.110).aspx
[2]: https://msdn.microsoft.com/en-us/library/27ck2z1y(v=vs.110).aspx
João Matos [Wed, 18 Feb 2015 15:28:59 +0000 (15:28 +0000)]
[profiler] Fixed an Android build regression introduced by
2b74940f64fb39b727b882c278eda31e06a15fcf.
Zoltan Varga [Wed, 18 Feb 2015 13:12:32 +0000 (08:12 -0500)]
[runtime] Use -fvisibility=hidden so only symbols marked with MONO_API are exported. Use a separate SHARED_CFLAGS variable so it only affects a subset of libs.
Zoltan Varga [Wed, 18 Feb 2015 13:10:44 +0000 (08:10 -0500)]
Revert "[runtime] Use -fvisibility=hidden so only symbols marked with MONO_API are exported."
This reverts commit
8a5a230aeca7e229d86761c0d4f7885112b8e2b8.
Revert this as it still causes test failures.
João Matos [Wed, 18 Feb 2015 12:48:52 +0000 (12:48 +0000)]
[monodis] Fixed building against LLVM-compiled Mono.
João Matos [Wed, 18 Feb 2015 12:26:09 +0000 (12:26 +0000)]
Merge pull request #1572 from directhex/emit-nunit-xml-in-unmanaged-tests
Emit NUnit representation of check-seq-points target.
Jo Shields [Wed, 18 Feb 2015 12:10:39 +0000 (12:10 +0000)]
Emit NUnit representation of check-seq-points target.
This generates an XML representation of the check-seq-points target,
as separate tests, which can be easily tracked by anything which
parses NUnit output (e.g. Jenkins or other CI systems). For example,
we are currently regressed on this on ARM.
Marek Safar [Wed, 18 Feb 2015 11:54:49 +0000 (12:54 +0100)]
[corlib] Removes extra bufffer from FileStream async mode writes. Fixes #27086
Martin Baulig [Wed, 18 Feb 2015 07:12:08 +0000 (08:12 +0100)]
Merge pull request #1464 from akoeplinger/fix-portable-target
[xbuild] Only execute PCL target "ImplicitlyExpandTargetFramework" when corresponding property is true
Alexander Köplinger [Wed, 18 Feb 2015 05:22:29 +0000 (06:22 +0100)]
[Microsoft.Build.Engine] Ignore import with empty project attribute when condition is false
<Import Project="$(Variable)" Condition="false" /> causes an exception otherwise when Variable is not set.
Also added a test for condition referencing extension path after discussion in https://github.com/akoeplinger/mono/commit/
f13d9cb5dacbb5c9f758d6dd8b9aacf46b5508b6
Miguel de Icaza [Wed, 18 Feb 2015 04:27:58 +0000 (23:27 -0500)]
Merge pull request #1563 from directhex/emit-nunit-xml-in-unmanaged-tests
Generate NUnit interpretation of whether "mono --regressions" passed
Zoltan Varga [Thu, 12 Feb 2015 07:25:12 +0000 (02:25 -0500)]
[runtime] Use -fvisibility=hidden so only symbols marked with MONO_API are exported.
Zoltan Varga [Tue, 17 Feb 2015 22:31:26 +0000 (17:31 -0500)]
[runtime] Link the logging profiler against eglib.
Zoltan Varga [Tue, 17 Feb 2015 22:28:26 +0000 (17:28 -0500)]
[runtime] Export mono_threads_attach_tools_thread ().
Marek Safar [Tue, 17 Feb 2015 20:58:23 +0000 (21:58 +0100)]
[build] Remove misused bootstrap profile definition
Marek Safar [Tue, 17 Feb 2015 20:42:54 +0000 (21:42 +0100)]
[corlib] Remove duplicate source files
Marek Safar [Tue, 17 Feb 2015 20:40:59 +0000 (21:40 +0100)]
[corlib] Replace resource keys with actual messages during compilation
Rodrigo Kumpera [Tue, 17 Feb 2015 19:49:05 +0000 (13:49 -0600)]
Merge pull request #1570 from mono/fix27010
Bug 27010 - Difference in Assembly.GetExportedTypes with .NET
Alex Rønne Petersen [Tue, 17 Feb 2015 18:58:14 +0000 (19:58 +0100)]
Merge pull request #1571 from evincarofautumn/fix-warning
[utils] Fix warning in Makefile.am.
Jon Purdy [Tue, 17 Feb 2015 18:56:01 +0000 (10:56 -0800)]
[utils] Fix warning in Makefile.am.