Marek Safar [Mon, 23 Feb 2015 18:24:17 +0000 (19:24 +0100)]
[system] Bymp reference sources to get correct category names
Marek Safar [Mon, 23 Feb 2015 17:14:10 +0000 (18:14 +0100)]
Bump reference sources for stream api update
Ludovic Henry [Mon, 23 Feb 2015 16:27:22 +0000 (11:27 -0500)]
[mdoc] Update few failing tests
Marek Safar [Mon, 23 Feb 2015 16:15:44 +0000 (17:15 +0100)]
[mdoc] Update few failing tests
Marek Safar [Mon, 23 Feb 2015 16:03:43 +0000 (17:03 +0100)]
[system.core] Switch to dynamic visitor from reference sources and remove unused files
Marek Safar [Mon, 23 Feb 2015 12:39:44 +0000 (13:39 +0100)]
[build] 3.10 bump for bootstrap was too much
Atsushi Eno [Mon, 23 Feb 2015 12:24:59 +0000 (20:24 +0800)]
bump referencesource (fix encoding endianness).
João Matos [Mon, 23 Feb 2015 11:11:52 +0000 (11:11 +0000)]
Merge pull request #1586 from vkargov/master
[runtime] Prioritize loading a profiler library from the installation dir.
Marek Safar [Mon, 23 Feb 2015 10:28:53 +0000 (11:28 +0100)]
[build] Bump bootstrap mono requirement to 3.10 which does not have problems with flow-analysis in external/referencesource/mscorlib/system/text/asciiencoding.cs
Marek Safar [Mon, 23 Feb 2015 09:42:27 +0000 (10:42 +0100)]
Merge pull request #1580 from akoeplinger/msbuild-3B-escape
[Microsoft.Build.Engine] Fix bug with escaped semicolon and spaces
Marek Safar [Mon, 23 Feb 2015 06:36:11 +0000 (07:36 +0100)]
Merge pull request #1585 from akoeplinger/msbuild-makerelative
[Microsoft.Build.Engine] Implement MakeRelative() predefined property function
Vladimir Kargov [Mon, 23 Feb 2015 04:02:20 +0000 (07:02 +0300)]
[runtime] Prioritize loading a profiler library from the installation dir over standard libarary paths.
Ludovic Henry [Mon, 22 Dec 2014 20:55:54 +0000 (15:55 -0500)]
[Linq] Replace implementation by Microsoft reference sources
Alexander Köplinger [Sun, 22 Feb 2015 19:38:35 +0000 (20:38 +0100)]
Ensure MakeRelative() works even when basePath doesn't end in slash
Alexander Köplinger [Sun, 22 Feb 2015 19:09:31 +0000 (20:09 +0100)]
[Microsoft.Build.Engine] Implement MakeRelative() predefined property function
Zoltan Varga [Sun, 22 Feb 2015 05:31:41 +0000 (00:31 -0500)]
[aot] Fix thumb support when using separate llvm modules.
Zoltan Varga [Sat, 21 Feb 2015 23:41:00 +0000 (18:41 -0500)]
[runtime] Add a --disable-visibility-hidden flag to disable the usage of -fvisibility=hidden for now.
Zoltan Varga [Sat, 21 Feb 2015 23:32:10 +0000 (18:32 -0500)]
[runtime] Export a few more symbols.
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.
Alexander Köplinger [Wed, 18 Feb 2015 22:02:51 +0000 (23:02 +0100)]
[Microsoft.Build.Engine] Fix bug with escaped semicolon and spaces
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.
Alexander Köplinger [Mon, 16 Feb 2015 19:30:47 +0000 (20:30 +0100)]
[Microsoft.Build.Tasks] Added tests for escaped semicolon and space
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