Zoltan Varga [Tue, 3 Mar 2015 20:59:16 +0000 (15:59 -0500)]
Rename Managed.Windows.Forms to System.Windows.Forms for consistency.
Zoltan Varga [Tue, 3 Mar 2015 20:25:19 +0000 (15:25 -0500)]
[jit] Enable partial generic sharing when not using AOT as an experiment.
Atsushi Eno [Tue, 3 Mar 2015 19:31:00 +0000 (03:31 +0800)]
Remove old System.Xml sources. bye bye.
Marek Safar [Tue, 3 Mar 2015 16:49:35 +0000 (17:49 +0100)]
[corlib] Peek to attribute import from reference souces
Marek Safar [Tue, 3 Mar 2015 16:42:52 +0000 (17:42 +0100)]
[corlib] Apply activation attributes for IsContextful types only
João Matos [Tue, 3 Mar 2015 16:27:07 +0000 (16:27 +0000)]
Support multiple options when processing the AOT flag "ld-flags".
Atsushi Eno [Tue, 3 Mar 2015 14:43:22 +0000 (22:43 +0800)]
Update expected error message to match System.Xml referencesource.
João Matos [Tue, 3 Mar 2015 14:40:32 +0000 (14:40 +0000)]
Merge pull request #1611 from mono/akoeplinger-patch-1
Readme: add badges for armel/armhf and split off community supported archs
Alexander Köplinger [Tue, 3 Mar 2015 14:06:18 +0000 (15:06 +0100)]
Readme: add badges for armel/armhf and split off community supported archs
Marek Safar [Tue, 3 Mar 2015 13:28:03 +0000 (14:28 +0100)]
[corlib] Activator from reference sources
Atsushi Eno [Tue, 3 Mar 2015 12:04:43 +0000 (20:04 +0800)]
Merge pull request #1608 from atsushieno/import-system-xml-4
Import large chunk of System.Xml sources from referencesource.
Zoltan Varga [Tue, 3 Mar 2015 03:37:43 +0000 (22:37 -0500)]
[aot] Fix thumb support with separate llvm modules.
Zoltan Varga [Tue, 3 Mar 2015 03:37:20 +0000 (22:37 -0500)]
[arm] Fix support for backward branches in mono_arm_get_thumb_plt_entry ().
Zoltan Varga [Tue, 3 Mar 2015 01:39:01 +0000 (20:39 -0500)]
Disable bug-Xamarin-5278.exe for now to make the build green again, it was broken by
5d26590e79da139a284459299aee95c25f4cd835.
Zoltan Varga [Tue, 3 Mar 2015 01:20:53 +0000 (20:20 -0500)]
Zoltan Varga [Tue, 3 Mar 2015 01:15:54 +0000 (20:15 -0500)]
[runtime] Fix the non-loaded llvm build.
Rodrigo Kumpera [Mon, 2 Mar 2015 20:26:09 +0000 (14:26 -0600)]
Merge pull request #1610 from madewokherd/decimalbuild
Rename decimal functions to not conflict with win32 versions.
Vincent Povirk [Mon, 2 Mar 2015 20:19:09 +0000 (14:19 -0600)]
Rename decimal functions to not conflict with win32 versions.
Atsushi Eno [Mon, 2 Mar 2015 19:46:39 +0000 (03:46 +0800)]
Merge branch 'master' into import-system-xml-4
Zoltan Varga [Mon, 2 Mar 2015 19:03:56 +0000 (14:03 -0500)]
[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce duplication.
João Matos [Mon, 2 Mar 2015 16:08:40 +0000 (16:08 +0000)]
Merge pull request #1609 from iainx/build-cov-for-osx
[COV] Set the correct link flags for OS X
Iain [Mon, 2 Mar 2015 15:51:10 +0000 (15:51 +0000)]
[COV] Set the correct link flags for OS X
Cov needs to be linked using the flat namespace on OS X, the same way that proflog is linked or else it won't do anything.
Atsushi Eno [Mon, 2 Mar 2015 13:32:07 +0000 (21:32 +0800)]
take out ThisAssembly from SR.cs, conflicts with the one in Sys.Data.
Marek Safar [Mon, 2 Mar 2015 13:17:25 +0000 (14:17 +0100)]
[mcs] Handle string constants inside interpolated string expression. Fixes #27533
Jo Shields [Mon, 2 Mar 2015 12:58:52 +0000 (12:58 +0000)]
Add net_4_5_parallel_dirs to SUBDIRS, so it's included in "make dist"
Atsushi Eno [Mon, 2 Mar 2015 11:35:32 +0000 (19:35 +0800)]
fix build; I only updated Consts.cs, not Consts.cs.in...
Atsushi Eno [Mon, 2 Mar 2015 11:10:50 +0000 (19:10 +0800)]
[xml] take out some types in Dummy.cs to better source files.
Atsushi Eno [Mon, 2 Mar 2015 10:42:51 +0000 (18:42 +0800)]
XML error messages has changed again now that they are from referencesource.
Marek Safar [Mon, 2 Mar 2015 09:14:07 +0000 (10:14 +0100)]
[mcs] Add cloning to string interpolation expressions. Fixes #27525
Atsushi Eno [Thu, 26 Feb 2015 13:01:07 +0000 (21:01 +0800)]
Add referencesource's [InternalsVisiblTo] attributes in System.Xml.dll.
Atsushi Eno [Mon, 23 Feb 2015 09:09:33 +0000 (17:09 +0800)]
[xml] Fix dropped lines in Makefile during merge.
Atsushi Eno [Fri, 20 Feb 2015 19:52:23 +0000 (03:52 +0800)]
Fix mobile build wrt. Res classes.
Atsushi Eno [Fri, 20 Feb 2015 16:32:29 +0000 (00:32 +0800)]
Add referencesource-based message strings to the build.
It should be using RESOURCE_STRINGS, but mcs doesn't support its special
option for string resources for multiple files.
The resource .cs files are generated by genresstringcs.sh, but System.Xml.txt
contains some bogus characters that prevents source generation, so after
the tool has generated the sources, I manually fixed them.
It won't matter once mcs supports the option for multiple files anyways.
Atsushi Eno [Tue, 17 Feb 2015 09:14:52 +0000 (17:14 +0800)]
[xml] update message resources for referencesource.
Atsushi Eno [Mon, 16 Feb 2015 18:44:27 +0000 (02:44 +0800)]
Update all mcs errors expected messages for referencesource changes.
Atsushi Eno [Mon, 16 Feb 2015 16:17:14 +0000 (00:17 +0800)]
Fix regression in mcs/tools/mdoc by giving referencesource-based message.
(The error message is actually created by ourselves.)
Atsushi Eno [Fri, 6 Feb 2015 15:08:01 +0000 (23:08 +0800)]
[mdoc/Test] add missing DTD.
With referencesource, the XmlReader now requires the DTD in SYSTEM
declaration to exist. So just add the DTD.
Atsushi Eno [Fri, 6 Feb 2015 12:36:41 +0000 (20:36 +0800)]
[msbuild] fixing referencesource import "regression".
It is about insignificant whitespace handling difference.
Atsushi Eno [Fri, 6 Feb 2015 08:02:33 +0000 (16:02 +0800)]
[Xml] another human readable exception message.
Atsushi Eno [Wed, 4 Feb 2015 08:34:52 +0000 (16:34 +0800)]
[Xml] fix regression in winforms tests.
ResXResourceReaderTest checks that the argument file is in the error
message. We only have stub messages so far, hence it "regressed".
Atsushi Eno [Wed, 4 Feb 2015 08:33:41 +0000 (16:33 +0800)]
[WCF] fix mobile builds. Mono.Xml.XPath is gone.
Atsushi Eno [Wed, 4 Feb 2015 04:54:40 +0000 (12:54 +0800)]
[Xml] add mobile XslCompiledTransform implementation.
XslCompiledTransform doesn't work without CodeDom and dynamic code
generation. This "implementation" just dispatches everything to XslTransform.
Atsushi Eno [Tue, 3 Feb 2015 11:55:30 +0000 (19:55 +0800)]
[Xml] Removed XslCompiledTransform and co. Now monodroid builds.
It will be added as mere alias of XslTransform as mono used to do.
Atsushi Eno [Tue, 3 Feb 2015 11:04:13 +0000 (19:04 +0800)]
[Sys.Xml] first onging mobile build work. It does NOT build for mobiles now.
Removed Configuration dependencies and codegenerator parts in XmlSerializer
as well as switching CodeIdentifier implementation to old mono stuff
as referencesource totally depends on CodeDom (mono doesn't).
Atsushi Eno [Mon, 2 Feb 2015 09:58:09 +0000 (17:58 +0800)]
[Xaml] fix EOL handling in tests. referencesource emits LF.
Atsushi Eno [Mon, 2 Feb 2015 09:22:51 +0000 (17:22 +0800)]
[Sys.Xml] give understandable message and arguments for Xml_WrongToken.
Atsushi Eno [Fri, 30 Jan 2015 10:12:42 +0000 (18:12 +0800)]
[XLinq] fix some "regressions" caused by referencesource switch.
EOLs are platform dependent on referencesource.
Turn NotDotNet into Ignore (as we're also importing buggy implementation).
Atsushi Eno [Thu, 29 Jan 2015 13:35:40 +0000 (21:35 +0800)]
[S.R.Serialization] explicitly add MS serialization schema if it's not in the set.
Atsushi Eno [Thu, 29 Jan 2015 10:08:29 +0000 (18:08 +0800)]
[Sys.Xml] swap xmlns:xsd and xmlns:xsi in serialized xml to remove "regression".
The order of those namespaces are insignificant, and the latest
combination of mono corlib (partly referencesource-d) and sys.xml
(referencesource except for XmlSerializer) caused this implementation
glitch.
Atsushi Eno [Tue, 20 Jan 2015 09:42:15 +0000 (18:42 +0900)]
[Sys.Data] fix wrong test in XmlDataDocument.
This doesn't match .NET behavior.
(Found by referencesource import, verified w/ .NET 4.5.)
Atsushi Eno [Mon, 19 Jan 2015 12:13:01 +0000 (21:13 +0900)]
[Sys.Data] Fix tests regarding XmlTextWriter EOL handling.
MS referencesource changed XmlTextWriter behavior regarding EOL so that
now it preserves CRLF as is, instead of replacing them with
XmlWriterSettings.NewLineChars (mono implementation behavior).
There are some tests that depend on old behavior. The entire points of
those XmlDataDocument tests are not about checking EOLs, so just replace
the test XML file to not contain CRLF.
Atsushi Eno [Wed, 14 Jan 2015 15:51:27 +0000 (00:51 +0900)]
[Sys.Data] fix DOM event order related issue caused by referencesource.
There is implementation mismatch in XmlDocument event order regarding
Load(). Take this code:
string xml = "<root><child>1</child></root>";
var doc = new XmlDocument ();
doc.NodeInserted += (o, e) =>
Console.WriteLine (e.Node.NodeType + e.Node.LocalName);
doc.LoadXml (xml);
This is mono output before referencesource:
Text#text
Elementchild
Elementroot
This is with referencesource:
Elementchild
Text#text
Elementroot
So, there are event order differences in our two implementations.
Now, XmlDataDocument depends on those XmlDocument events to fill DataRow
values. It worked fine with pre-referencesource System.Xml model, but
with referencesource it skipped to fill data row values.
This change makes sure to fill data row values from text node which are
added _after_ the parent node is added to the document.
Atsushi Eno [Wed, 7 Jan 2015 12:49:10 +0000 (21:49 +0900)]
[System.Data] fix another NRE that was exposed by referencesource.
Atsushi Eno [Wed, 7 Jan 2015 12:47:00 +0000 (21:47 +0900)]
[System.Data] MS implementation doesn't expect CRLF on *nix. Use Env.NewLine.
Atsushi Eno [Wed, 7 Jan 2015 12:43:58 +0000 (21:43 +0900)]
[System.Data] MS implementation does NOT expect CRLF in the output on *nix.
Atsushi Eno [Wed, 7 Jan 2015 12:41:01 +0000 (21:41 +0900)]
[System.Data] fix NRE that was exposed by referencesource.
Atsushi Eno [Wed, 7 Jan 2015 07:46:04 +0000 (16:46 +0900)]
update dummy messages to somewhat understandable values.
Atsushi Eno [Tue, 6 Jan 2015 10:41:56 +0000 (19:41 +0900)]
First step to import referencesource System.Xml.
It is not simply replacement because we have to workaround dynamic codegen
for Xamarin.iOS.
Also there were several tests failing with MS implementation (e.g. for
W3C DOM conformance), so we had to disable them.
There is one regression that rather needs to be fixed in Reflection.Emit.
Also, some WCF tests fail with this implementation. They need to be
investigated, reviewed and appropriately fixed.
Zoltan Varga [Mon, 2 Mar 2015 03:15:05 +0000 (22:15 -0500)]
[jit] Rename mini-llvm.h to mini-llvm-loaded.c and make it a non-header file.
Zoltan Varga [Sun, 1 Mar 2015 23:36:20 +0000 (18:36 -0500)]
[runtime] Fix the loadable llvm build.
João Matos [Sun, 1 Mar 2015 20:36:42 +0000 (20:36 +0000)]
Merge pull request #1514 from directhex/master
Workaround for X509Certificate.RSA throwing an unhandled exception
Zoltan Varga [Sun, 1 Mar 2015 05:47:02 +0000 (00:47 -0500)]
[jit] Move aot method loading to mono_jit_compile_method_with_opt ().
Zoltan Varga [Sun, 1 Mar 2015 05:17:38 +0000 (00:17 -0500)]
[jit] Remove some dead code/includes.
Zoltan Varga [Sun, 1 Mar 2015 05:03:07 +0000 (00:03 -0500)]
[runtime] Split mini.c into two files: mini.c contains the JIT code, while mini-runtime.c contains the runtime code, i.e. startup/shutdown, threading, tls, etc.
Zoltan Varga [Sun, 1 Mar 2015 03:56:31 +0000 (22:56 -0500)]
Fix a warning.
Zoltan Varga [Sun, 1 Mar 2015 01:56:52 +0000 (20:56 -0500)]
[build] Avoid changing System.Xml.Linq references to System.XML.Linq during parallel build dependency calculation.
Zoltan Varga [Sat, 28 Feb 2015 22:01:19 +0000 (17:01 -0500)]
[jit] Remove some dead code.
Zoltan Varga [Sat, 28 Feb 2015 21:19:26 +0000 (16:19 -0500)]
Merge pull request #1607 from davidmoore1/bug-27529
Bug 27529 Tool Tip appears behind menu
David Moore [Sat, 28 Feb 2015 16:00:05 +0000 (11:00 -0500)]
Bug 27529 Tool Tip appears behind menu
In certain cases, hovering over a ToolStripMenuItem
that has a tool tip defined will result in the tool
tip appearing behind, and hidden by, the context
menu containing the item. The change is to cause
the tool tip to be pushed to the front when it is
displayed.
Jo Shields [Mon, 19 Jan 2015 14:32:22 +0000 (14:32 +0000)]
Workaround for X509Certificate.RSA throwing an unhandled exception in ASN1 parsing of certificates with ECC public keys only.
Zoltan Varga [Sat, 28 Feb 2015 00:46:29 +0000 (19:46 -0500)]
[bcl] Enable parallel build for parts of the 4.5 class libs/tools.
Zoltan Varga [Fri, 27 Feb 2015 18:33:23 +0000 (13:33 -0500)]
[llvm] Increase the size of a parameter array which was too small for some arm64 calling conventions.
Marek Safar [Fri, 27 Feb 2015 18:08:33 +0000 (19:08 +0100)]
[Microsoft.Build.Engine] Update missing method exception type
Marek Safar [Fri, 27 Feb 2015 17:58:23 +0000 (18:58 +0100)]
[corlib] Throw correct exception for missing properties called via InvokeMember
João Matos [Fri, 27 Feb 2015 17:24:24 +0000 (17:24 +0000)]
Added "ld-flags" to pass extra linker flags to the AOT linker pipeline.
Rodrigo Kumpera [Fri, 27 Feb 2015 16:07:14 +0000 (11:07 -0500)]
Remove explicit support for 2.0, it will now use 4.5
Marek Safar [Fri, 27 Feb 2015 15:56:33 +0000 (16:56 +0100)]
[mcs] Better error reporting for wrong unexpected escaped characters. Fixes #27441
Zoltan Varga [Fri, 27 Feb 2015 15:41:07 +0000 (10:41 -0500)]
Merge pull request #1605 from iainx/cov-install-coverage-filter
Check the coverage hash exists before accessing it
iain holmes [Fri, 27 Feb 2015 15:25:59 +0000 (15:25 +0000)]
Check the coverage hash exists before accessing it
If a profiler has not installed a coverage filter, or the coverage filter has returned FALSE, then calls to mono_profiler_coverage_get trigger a assertion failed warning in g_hash_table_lookup.
Zoltan Varga [Fri, 27 Feb 2015 15:25:02 +0000 (10:25 -0500)]
Merge pull request #1604 from iainx/cov-install-coverage-filter
[cov] Install a coverage filter
Marek Safar [Fri, 27 Feb 2015 13:42:38 +0000 (14:42 +0100)]
[corlib] Implement Activator invocation on params constructor with conversion from object
Zoltan Varga [Fri, 27 Feb 2015 13:07:48 +0000 (08:07 -0500)]
Merge pull request #1603 from iainx/coverage-null-protect
Check for valid coverage info before dereferencing it.
iain holmes [Fri, 27 Feb 2015 12:35:40 +0000 (12:35 +0000)]
Check for valid coverage info before dereferencing it.
If a profiler had requested MONO_PROFILE_COVERAGE events and not installed a
coverage filter, then the coverage info is NULL and a crash quickly followed
Marek Safar [Fri, 27 Feb 2015 12:13:01 +0000 (13:13 +0100)]
Bump reference sources to fix #27492
Marek Safar [Fri, 27 Feb 2015 12:02:35 +0000 (13:02 +0100)]
[corlib] Add DefaultDllImportSearchPathsAttribute
Marek Safar [Fri, 27 Feb 2015 11:06:17 +0000 (12:06 +0100)]
[corlib] Binder from reference sources
Marek Safar [Fri, 27 Feb 2015 10:26:04 +0000 (11:26 +0100)]
[build] Use resource strings for library builds only
iain holmes [Fri, 27 Feb 2015 10:13:54 +0000 (10:13 +0000)]
[cov] Install a coverage filter
Zoltan Varga [Fri, 27 Feb 2015 04:30:35 +0000 (23:30 -0500)]
Zoltan Varga [Fri, 27 Feb 2015 03:27:27 +0000 (22:27 -0500)]
[build] Add dependency information for class libraries using a LIB_REFS variable which lists the assemblies a given assembly depends on to build.
Zoltan Varga [Thu, 26 Feb 2015 23:06:21 +0000 (18:06 -0500)]
[bcl] Remove some net 1.0 stuff from Makefiles.
Zoltan Varga [Thu, 26 Feb 2015 22:54:40 +0000 (17:54 -0500)]
Merge pull request #1602 from cdettmering/master
Fixing ToolStripManager.RevertMerge
Chad Dettmering [Thu, 26 Feb 2015 22:47:03 +0000 (17:47 -0500)]
Fixed up formatting to comply with Mono coding guidelines
Chad Dettmering [Thu, 26 Feb 2015 22:31:49 +0000 (17:31 -0500)]
Changed System.Windows.Forms.ToolStripManager.RevertMerge to return
false when given a null argument instead of throwing an exception.
According to the msdn here:
https://msdn.microsoft.com/en-us/library/b4e35dwy%28v=vs.110%29.aspx
this method should never throw an exception. This was also confirmed
with the official Microsoft runtime.
This change is released under the MIT license.
Zoltan Varga [Thu, 26 Feb 2015 19:56:57 +0000 (14:56 -0500)]
[jit] Disable direct calls to icalls when using llvm, llvm can't handle direct calls to 64 bit addresses (tests/jit-float.exe fails).
Rolf Bjarne Kvinge [Thu, 26 Feb 2015 18:57:51 +0000 (19:57 +0100)]
Ignore a few decimal tests on mobile, according to #27269
https://bugzilla.xamarin.com/show_bug.cgi?id=27269
Zoltan Varga [Thu, 26 Feb 2015 18:08:34 +0000 (13:08 -0500)]
[runtime] Use mono_set_pending_exception () in some places in icalls. Avoid using it for throwing exceptions returned by mono_thread_execute_interruption (), since that seems to cause problems.
Zoltan Varga [Thu, 26 Feb 2015 17:57:14 +0000 (12:57 -0500)]
[runtime] Disable the "bridge-implementation=tarjan,major=marksweep-conc|ms-conc-tarjan-bridge" sgen tests which currently fail.
Rolf Bjarne Kvinge [Thu, 26 Feb 2015 12:34:19 +0000 (13:34 +0100)]
Don't use _NSGetEnviron on arm64.
Rolf Bjarne Kvinge [Thu, 26 Feb 2015 10:32:54 +0000 (11:32 +0100)]
Restrict IOKit usage to desktop OSX.
IOKit is a private framework in iOS, so it can't be used (and
no headers are provided, so it doesn't even compile).