mono.git
7 years ago[msvc] Update csproj files (#4204)
monojenkins [Wed, 4 Jan 2017 22:50:10 +0000 (23:50 +0100)]
[msvc] Update csproj files (#4204)

7 years ago[mcs] Accept and ignore /debug:portable option
Alexander Köplinger [Wed, 4 Jan 2017 22:45:27 +0000 (23:45 +0100)]
[mcs] Accept and ignore /debug:portable option

We'll just generate a normal .mdb instead.

Decided not to update the help text since
technically we don't support generating a ppdb.

7 years agoMerge pull request #4202 from marek-safar/compression
Marek Safar [Wed, 4 Jan 2017 22:32:36 +0000 (23:32 +0100)]
Merge pull request #4202 from marek-safar/compression

[System.IO.Compression] Replaced by corefx implementation

7 years ago[llvmonly] Use right IMT slow path for lazy array interfaces (#4199)
Alexander Kyte [Wed, 4 Jan 2017 22:00:34 +0000 (17:00 -0500)]
[llvmonly] Use right IMT slow path for lazy array interfaces (#4199)

7 years ago[System.Core] Fix infinite loop in csproj-local target
Alexander Köplinger [Wed, 4 Jan 2017 21:32:53 +0000 (22:32 +0100)]
[System.Core] Fix infinite loop in csproj-local target

This was introduced in 9d5de96b0f21b3602e7489c8d63c8db3034228fe since
we would now call the csproj-local target without `intermediate`
being set which results in an infinite loop.

Overriding the target doesn't seem to be necessary anymore, so remove it.

7 years ago[btls] Pass CC and CXX to the BTLS CMake and disable BTLS on older GCC (#4200)
Alexander Köplinger [Wed, 4 Jan 2017 18:49:41 +0000 (19:49 +0100)]
[btls] Pass CC and CXX to the BTLS CMake and disable BTLS on older GCC (#4200)

CMake doesn't pick up the compiler from the PATH by default,
it only looks in default locations so without this we might
end up using a different compiler for BTLS than for the main
Mono build which we don't want.

BTLS also requires a fairly new GCC which includes C++11
features, added a quick check for stdalign.h which BTLS
requires and disable it if the header isn't found.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=46712

7 years ago[build] Fixes monotouch_tv_runtime build
Marek Safar [Wed, 4 Jan 2017 16:34:34 +0000 (17:34 +0100)]
[build] Fixes monotouch_tv_runtime build

7 years ago[build] Fixes monotouch_runtime build
Marek Safar [Wed, 4 Jan 2017 16:19:49 +0000 (17:19 +0100)]
[build] Fixes monotouch_runtime build

7 years ago[System.IO.Compression] Replaced by corefx implementation
Marek Safar [Wed, 4 Jan 2017 14:32:53 +0000 (15:32 +0100)]
[System.IO.Compression] Replaced by corefx implementation

7 years agoRevert "Bump corlib version"
Marek Safar [Wed, 4 Jan 2017 12:46:29 +0000 (13:46 +0100)]
Revert "Bump corlib version"

This reverts commit acf7d8597142b558a3ec83c952b456ae81841eff.

7 years ago[System] Compression enums from corefx
Marek Safar [Wed, 4 Jan 2017 12:01:09 +0000 (13:01 +0100)]
[System] Compression enums from corefx

7 years ago[build] Fixes tarball build on systems with old mono
Marek Safar [Wed, 4 Jan 2017 11:37:12 +0000 (12:37 +0100)]
[build] Fixes tarball build on systems with old mono

7 years agoMerge pull request #4196 from DavidKarlas/stepAndCatchException
David Karlaš [Wed, 4 Jan 2017 06:49:11 +0000 (07:49 +0100)]
Merge pull request #4196 from DavidKarlas/stepAndCatchException

[Debugger] Fixed step-in and step-out in case of exception + unit tests

7 years ago[System] Include common.sources in the tarball
Alexander Köplinger [Wed, 4 Jan 2017 00:12:58 +0000 (01:12 +0100)]
[System] Include common.sources in the tarball

7 years agoBump corlib version
Alexander Köplinger [Wed, 4 Jan 2017 00:04:32 +0000 (01:04 +0100)]
Bump corlib version

Somehow mcs.exe disappeared from monolite even though it was added
in 68d56e8027809791b7ff64153bd0a77f9b408075 and worked for a while.

See if bumping corlib version (i.e. generating a new monolite) fixes it.

7 years ago[xbuild] Fix test that got broken by 248fded92a107a556d08fa77a9e458f0a990a28a
Alexander Köplinger [Tue, 3 Jan 2017 21:38:09 +0000 (22:38 +0100)]
[xbuild] Fix test that got broken by 248fded92a107a556d08fa77a9e458f0a990a28a

7 years agoMerge pull request #4152 from BrzVlad/misc-gc-altstack
Vlad Brezae [Tue, 3 Jan 2017 19:12:46 +0000 (21:12 +0200)]
Merge pull request #4152 from BrzVlad/misc-gc-altstack

[sgen] Reenable gc-altstack test

7 years ago[System] Warnings cleanup
Marek Safar [Tue, 3 Jan 2017 16:05:26 +0000 (17:05 +0100)]
[System] Warnings cleanup

7 years ago[System] Keep single MonoPInvokeCallbackAttribute implementation
Marek Safar [Tue, 3 Jan 2017 15:01:24 +0000 (16:01 +0100)]
[System] Keep single MonoPInvokeCallbackAttribute implementation

7 years ago[System] Unify Mono.Security dependency to be same for all profiles
Marek Safar [Tue, 3 Jan 2017 14:13:57 +0000 (15:13 +0100)]
[System] Unify Mono.Security dependency to be same for all profiles

7 years ago[xbuild] More tweaks for portable debug mode
Marek Safar [Tue, 3 Jan 2017 10:02:09 +0000 (11:02 +0100)]
[xbuild] More tweaks for portable debug mode

7 years ago[mcs] Disable more array interpolation on user code. Fixes #51166
Marek Safar [Mon, 2 Jan 2017 18:10:01 +0000 (19:10 +0100)]
[mcs] Disable more array interpolation on user code. Fixes #51166

7 years agoMerge pull request #4194 from DavidKarlas/bug44974
Marek Safar [Mon, 2 Jan 2017 18:03:45 +0000 (19:03 +0100)]
Merge pull request #4194 from DavidKarlas/bug44974

Bug 44974 - [pdb] stepping over is not working

7 years agoRoslyn 2.0 (rc2) upgrade
Marek Safar [Wed, 30 Nov 2016 14:38:21 +0000 (15:38 +0100)]
Roslyn 2.0 (rc2) upgrade

7 years ago[Debugger] Fixed step-in and step-out in case of exception + unit tests
David Karlaš [Wed, 28 Dec 2016 19:57:28 +0000 (20:57 +0100)]
[Debugger] Fixed step-in and step-out in case of exception + unit tests
Before this change step-in and step-out didn’t place breakpoints on catch handlers which caused code to continue execution instead of stopping since it missed all breakpoints…

7 years agoMerge pull request #4193 from DavidKarlas/stepinSpeedup
David Karlaš [Wed, 28 Dec 2016 14:33:53 +0000 (15:33 +0100)]
Merge pull request #4193 from DavidKarlas/stepinSpeedup

[Debugger] Fixed bug where we loop randomly long(+1) and optimised stepping in(over) non-user code

7 years ago[Debugger] Fixed bug where we loop randomly long(+1 part) and optimised stepping...
David Karlaš [Wed, 28 Dec 2016 14:22:11 +0000 (15:22 +0100)]
[Debugger] Fixed bug where we loop randomly long(+1 part) and optimised stepping in(over) non-user code

7 years agoBug 44974 - [pdb] stepping over is not working
David Karlaš [Wed, 28 Dec 2016 14:10:15 +0000 (15:10 +0100)]
Bug 44974 - [pdb] stepping over is not working
mcs.exe didn’t emit some NOPs after method calls needed when doing StepOut, now that Roslyn emits this we correctly step out to line that called hence, some unit tests needed correcting

7 years ago[simd] Enable simd support when 32 bit floats are enabled.
Zoltan Varga [Wed, 28 Dec 2016 03:09:52 +0000 (22:09 -0500)]
[simd] Enable simd support when 32 bit floats are enabled.

7 years ago[llvm] Fix compilation/working with recent llvm versions. This should work with 4d6d2...
Zoltan Varga [Wed, 28 Dec 2016 01:08:55 +0000 (20:08 -0500)]
[llvm] Fix compilation/working with recent llvm versions. This should work with 4d6d2b05a267f9f4e46fdbb302f380add938b0cd from the mono/llvm repo.

7 years agoFix a warning.
Zoltan Varga [Tue, 27 Dec 2016 23:02:48 +0000 (18:02 -0500)]
Fix a warning.

7 years ago[reflection] Use handles for several more icalls (#4098)
Aleksey Kliger (λgeek) [Tue, 27 Dec 2016 20:37:18 +0000 (15:37 -0500)]
[reflection] Use handles for several more icalls (#4098)

* [runtime] Remove MonoReflectionGenericMethod typedef.

  - It's not used in the runtime,
  - Unlike other defs in object-internals.h it doesn't seem to have a
    corresponding managed object.

* [reflection] Add mono_field_get_object_handle.

  Reimplement mono_field_get_object and mono_field_get_object_checked in
  terms of it.

* [reflection] Add mono_property_get_object_handle

  Reimplement mono_property_get_object and
  mono_property_get_object_checked in terms of it.

* [reflection] Use handles for FieldInfo,MonoPropertyInfo,ParameterInfo.GetTypeModifiers

* [reflection] Use handles for MonoMethodInfo.get_parameter_info

  - Change mono_param_get_objects_internal to use handles

* [reflection] Cleanup in method_object_construct

* [reflection] Use handles for System.Refleciton.EventInfo.internal_from_handle_type

  - Replace mono_event_get_object_checked by mono_event_get_object_handle
    which uses handles.

* [reflection] Use handles for System.Reflection.MethodBase.GetMethodBodyInternal

  - Replace mono_method_body_get_object_checked by
    mono_method_body_get_object_handle

* [reflection] Remove CHECK_OR_CONSTRUCT, it's dead code.

  All former callers now use CHECK_OR_CONSTRUCT_HANDLE

* [reflection] Use handles for FieldInfo.get_marshal_info and MonoMethodInfo.get_retval_marshal

  - Change mono_reflection_marshal_as_attribute_from_marshal_spec to
    return a handle; fix callers

* [metadata] Add mono_metadata_get_canonical_generic_inst utility function

* [reflection] Use handles for System.Reflection.Module.ResolveMemberToken and 3 more icalls

  - ResolveFieldToken
  - ResolveMethodToken
  - ResolveTypeToken

7 years ago[threadpool] Restore handle stack mark after a worker PerformWaitCallback
Aleksey Kliger [Thu, 22 Dec 2016 17:32:47 +0000 (12:32 -0500)]
[threadpool] Restore handle stack mark after a worker PerformWaitCallback

If a task calls native code that uses handles before completing, we should
dispose of any handles that it may have used before we park the worker.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=49423

7 years ago[sgen] Assert that skipped threads have empty an HandleStack
Aleksey Kliger [Thu, 22 Dec 2016 17:31:46 +0000 (12:31 -0500)]
[sgen] Assert that skipped threads have empty an HandleStack

If we skip scanning a thread with a non-empty handle stack, we may move an
object but fail to update the reference in the handle.

7 years ago[coop handles] Add mono_handle_stack_is_empty
Aleksey Kliger [Wed, 21 Dec 2016 20:15:06 +0000 (15:15 -0500)]
[coop handles] Add mono_handle_stack_is_empty

7 years ago[coop handles] Add MONO_HANDLE_TRACK_OWNER mode.
Aleksey Kliger [Wed, 21 Dec 2016 15:29:40 +0000 (10:29 -0500)]
[coop handles] Add MONO_HANDLE_TRACK_OWNER mode.

If MONO_HANDLE_TRACK_OWNER is defined, each coop handle records the source location
where it was first allocated.

7 years ago[System] Fix basic/build profile build
Alexander Köplinger [Thu, 22 Dec 2016 22:35:19 +0000 (23:35 +0100)]
[System] Fix basic/build profile build

It was broken by 37875ca6f3b0e65eb5750ebf556d5355da8715e9.

7 years ago[runtime] Add a few missing object offsets for arm.
Zoltan Varga [Thu, 22 Dec 2016 22:32:27 +0000 (17:32 -0500)]
[runtime] Add a few missing object offsets for arm.

7 years ago[jit] Fix a test which fails on big endian.
Neale Ferguson [Thu, 22 Dec 2016 22:09:38 +0000 (17:09 -0500)]
[jit] Fix a test which fails on big endian.

7 years ago[System] Remove duplicated sources info
Marek Safar [Thu, 22 Dec 2016 18:15:26 +0000 (19:15 +0100)]
[System] Remove duplicated sources info

7 years ago[System] remove unused file
Marek Safar [Thu, 22 Dec 2016 10:53:37 +0000 (11:53 +0100)]
[System] remove unused file

7 years agoconfigure.ac: set CSC variable to mcs.exe when using mcs as the compiler
Alexander Köplinger [Thu, 22 Dec 2016 17:49:46 +0000 (18:49 +0100)]
configure.ac: set CSC variable to mcs.exe when using mcs as the compiler

Otherwise it'd still be using Roslyn e.g. in mono/mini as $(CSC)
would continue to point to the Roslyn csc.exe which is wrong.

7 years agoPump hazard pointer queue in unregister_thread while thread is still alive. (#4183)
Aleksey Kliger (λgeek) [Thu, 22 Dec 2016 16:41:04 +0000 (11:41 -0500)]
Pump hazard pointer queue in unregister_thread while thread is still alive. (#4183)

Some of the destructors (for example mono_jit_info_table_free) may try to take
a lock, which requires that the current thread should be attached.

7 years agoFix MonoBtlsX509StoreManager machine store paths (#4027)
faulpeltz [Thu, 22 Dec 2016 13:08:50 +0000 (14:08 +0100)]
Fix MonoBtlsX509StoreManager machine store paths (#4027)

The machineXYZPath fields are initialized with machinePath instead of
userPath which caused the machine stores not to work at all

7 years agoFix a regression introduced by 98d7ad045e6661e4c2e428fe4acc4fc733d44fdc.
Zoltan Varga [Thu, 22 Dec 2016 12:04:44 +0000 (07:04 -0500)]
Fix a regression introduced by 98d7ad045e6661e4c2e428fe4acc4fc733d44fdc.

7 years ago[build] More mcs hacking
Marek Safar [Thu, 22 Dec 2016 10:40:47 +0000 (11:40 +0100)]
[build] More mcs hacking

7 years ago[build] install csc aot images from aot folder
Marek Safar [Thu, 22 Dec 2016 10:37:21 +0000 (11:37 +0100)]
[build] install csc aot images from aot folder

7 years ago[System.Xml] Disable more failing tests on old xslt implementation
Marek Safar [Thu, 22 Dec 2016 09:38:02 +0000 (10:38 +0100)]
[System.Xml] Disable more failing tests on old xslt implementation

7 years ago[System.Xml] Disable failing tests on old xslt implementation
Marek Safar [Thu, 22 Dec 2016 09:30:39 +0000 (10:30 +0100)]
[System.Xml] Disable failing tests on old xslt implementation

7 years ago[build] Pass --aot-path to the runtime when building the tests in tests/.
Zoltan Varga [Thu, 22 Dec 2016 01:41:15 +0000 (20:41 -0500)]
[build] Pass --aot-path to the runtime when building the tests in tests/.

7 years ago[build] Generate all aot images for csc into the profile directory instead of next...
Zoltan Varga [Thu, 22 Dec 2016 01:39:01 +0000 (20:39 -0500)]
[build] Generate all aot images for csc into the profile directory instead of next to the corresponding assembly so the external/roslyn-binaries submodule doesn't get dirty. Pass the --aot-path argument to the runtime so it picks up the aot images.

7 years agoFix warnings.
Zoltan Varga [Thu, 22 Dec 2016 00:48:43 +0000 (19:48 -0500)]
Fix warnings.

7 years ago[runtime] Remove some dead code.
Zoltan Varga [Thu, 22 Dec 2016 00:37:52 +0000 (19:37 -0500)]
[runtime] Remove some dead code.

7 years ago[aot] Cleanup the AOT loading code a bit. Add a --aot-path= command line option to...
Zoltan Varga [Thu, 22 Dec 2016 00:30:27 +0000 (19:30 -0500)]
[aot] Cleanup the AOT loading code a bit. Add a --aot-path= command line option to specify additional directories to search for AOT images. (#4191)

7 years ago[bcl] Clean up old run-test.bat and *.csproj files
Alexander Köplinger [Wed, 21 Dec 2016 17:20:21 +0000 (18:20 +0100)]
[bcl] Clean up old run-test.bat and *.csproj files

They .bat files haven't been used for a long time and don't work anymore.
The csproj files for the facades have a different name now.

7 years ago[exceptions] unregister SIGILL handler before calling abort ()
Bernhard Urban [Wed, 21 Dec 2016 15:39:39 +0000 (16:39 +0100)]
[exceptions] unregister SIGILL handler before calling abort ()

7 years ago[exceptions] only do SIGSEGV related actions for SIGSEGVs in mono_handle_native_crash
Bernhard Urban [Wed, 21 Dec 2016 13:00:03 +0000 (14:00 +0100)]
[exceptions] only do SIGSEGV related actions for SIGSEGVs in mono_handle_native_crash

7 years agoDo not free marshaled string conversion buffer on win32 (#4140)
Michael DeRoy [Wed, 21 Dec 2016 16:21:47 +0000 (11:21 -0500)]
Do not free marshaled string conversion buffer on win32 (#4140)

7 years agoInclude Open.snk in tarball
Alexander Köplinger [Wed, 21 Dec 2016 15:51:05 +0000 (16:51 +0100)]
Include Open.snk in tarball

7 years agoMerge pull request #4187 from rolfbjarne/dynamic-method-ios
Marek Safar [Wed, 21 Dec 2016 15:44:54 +0000 (16:44 +0100)]
Merge pull request #4187 from rolfbjarne/dynamic-method-ios

[test] DynamicMethod isn't available on iOS.

7 years ago[System.IO.Compression.ZipFile] Switch to corefx implementation
Marek Safar [Wed, 21 Dec 2016 15:41:17 +0000 (16:41 +0100)]
[System.IO.Compression.ZipFile] Switch to corefx implementation

7 years agoRenamed profile to winaot (#4190)
Henric Müller [Wed, 21 Dec 2016 15:41:01 +0000 (16:41 +0100)]
Renamed profile to winaot (#4190)

7 years ago[test] Use FULL_AOT_RUNTIME instead of MONOTOUCH.
Rolf Bjarne Kvinge [Wed, 21 Dec 2016 15:32:29 +0000 (16:32 +0100)]
[test] Use FULL_AOT_RUNTIME instead of MONOTOUCH.

7 years agoMerge pull request #4188 from Unity-Technologies/missing-internals-visible-to
Marek Safar [Wed, 21 Dec 2016 14:58:21 +0000 (15:58 +0100)]
Merge pull request #4188 from Unity-Technologies/missing-internals-visible-to

Add missing InternalsVisibleTo attributes on mscorlib.

7 years ago[build] Update runtime test tools to use correct path
Marek Safar [Wed, 21 Dec 2016 13:51:46 +0000 (14:51 +0100)]
[build] Update runtime test tools to use correct path

7 years ago[ilasm] Don't break arguments compatiblity
Marek Safar [Wed, 21 Dec 2016 13:17:17 +0000 (14:17 +0100)]
[ilasm] Don't break arguments compatiblity

7 years ago[ilasm] Clenup warnings
Marek Safar [Wed, 21 Dec 2016 13:13:06 +0000 (14:13 +0100)]
[ilasm] Clenup warnings

7 years agoMerge pull request #4185 from BrzVlad/fix-arm64-finally-abort
Vlad Brezae [Wed, 21 Dec 2016 13:12:44 +0000 (15:12 +0200)]
Merge pull request #4185 from BrzVlad/fix-arm64-finally-abort

[arm64] Fix finally abort

7 years agoAdd missing InternalsVisibleTo attributes on mscorlib.
Tautvydas Žilys [Wed, 21 Dec 2016 11:45:32 +0000 (13:45 +0200)]
Add missing InternalsVisibleTo attributes on mscorlib.

7 years agoMerge pull request #4159 from akoeplinger/aot-only-rename
Alexander Köplinger [Wed, 21 Dec 2016 11:37:35 +0000 (12:37 +0100)]
Merge pull request #4159 from akoeplinger/aot-only-rename

[bcl] Rename aot_only profile to testing_aot_full, aot_hybrid to testing_aot_hybrid

7 years ago[test] DynamicMethod isn't available on iOS.
Rolf Bjarne Kvinge [Wed, 21 Dec 2016 10:42:20 +0000 (11:42 +0100)]
[test] DynamicMethod isn't available on iOS.

7 years ago[runtime] Always expire a non-resolved hostname's cache
Alexander Kyte [Mon, 19 Dec 2016 20:03:21 +0000 (15:03 -0500)]
[runtime] Always expire a non-resolved hostname's cache

This addresses a regression here:

https://bugzilla.xamarin.com/show_bug.cgi?id=45761

The commits
97e51abfcfd87bb5ed12c04df030730a8590cbed and
d35b5d218894e15cec84273d77cf4a61985edb5f

changed control flow such that if the host can't be resolved
and host is set to null, then the later check will return null
for the duration that HasTimedOut is false.

7 years agoMerge pull request #4184 from madewokherd/roslynaot
Marek Safar [Wed, 21 Dec 2016 09:40:42 +0000 (10:40 +0100)]
Merge pull request #4184 from madewokherd/roslynaot

Fix roslyn install with AOT disabled.

7 years ago[System.Core] LINQ from corefx
Marek Safar [Tue, 20 Dec 2016 17:49:55 +0000 (18:49 +0100)]
[System.Core] LINQ from corefx

7 years ago[arm64] Fix finally abort
Vlad Brezae [Wed, 21 Dec 2016 01:29:49 +0000 (03:29 +0200)]
[arm64] Fix finally abort

A try finally set looks like :

try:
   ...
   call finally
E: exit try_block

finally:
   ...
   call E

If we get aborted in the finally block, instead of calling to E, we call to a handler block trampoline which will throw the exception using a context that has the ip at E (since we need to execute the finally block first). We need to make sure that E is not logically part of the try block, otherwise we will end up calling the finally block again when unwinding the stack.

7 years ago[amd64] Disable boehm on osx64.
Zoltan Varga [Wed, 21 Dec 2016 00:43:50 +0000 (19:43 -0500)]
[amd64] Disable boehm on osx64.

7 years agoFix roslyn install with AOT disabled.
Vincent Povirk [Tue, 20 Dec 2016 22:42:54 +0000 (16:42 -0600)]
Fix roslyn install with AOT disabled.

7 years agoMerge pull request #4118 from petertiedemann/fix-bug-48516
João Matos [Tue, 20 Dec 2016 20:38:03 +0000 (20:38 +0000)]
Merge pull request #4118 from petertiedemann/fix-bug-48516

Fix bug 48516

7 years ago[System.Xml] Fix casing of System.dll reference in Xslt compiler
Alexander Köplinger [Tue, 20 Dec 2016 19:40:54 +0000 (20:40 +0100)]
[System.Xml] Fix casing of System.dll reference in Xslt compiler

Some XML tests enabled as part of 93e845de160cb40830c74f5d0fd7fa82fe2f1d35 failed
on Linux because of the lowercased system.dll reference in referencesource:

```
1) CompileNoLineInfoSource (MonoTests.System.Xml.Xsl.MsxslScriptTests.CompileNoLineInfoSource)
   System.Xml.Xsl.XsltException : Script compile errors:
error CS0006: Metadata file `system.dll' could not be found

  at System.Xml.Xsl.XsltOld.Compiler.CompileAssembly (System.Xml.Xsl.XsltOld.ScriptingLanguage lang, System.Collections.Hashtable typeDecls, System.String nsName, System.Security.Policy.Evidence evidence) [0x00229] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Compiler.cs:823
  at System.Xml.Xsl.XsltOld.Compiler.CompileScript (System.Security.Policy.Evidence evidence) [0x00016] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Compiler.cs:749
  at System.Xml.Xsl.XsltOld.Compiler.Compile (System.Xml.Xsl.XsltOld.NavigatorInput input, System.Xml.XmlResolver xmlResolver, System.Security.Policy.Evidence evidence) [0x0009d] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Compiler.cs:200
  at System.Xml.Xsl.XslTransform.Compile (System.Xml.XPath.XPathNavigator stylesheet, System.Xml.XmlResolver resolver, System.Security.Policy.Evidence evidence) [0x00022] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs:264
  at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator stylesheet, System.Xml.XmlResolver resolver) [0x0000e] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs:82
  at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.IXPathNavigable stylesheet, System.Xml.XmlResolver resolver) [0x0000e] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs:69
  at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.IXPathNavigable stylesheet) [0x00000] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs:63
  at MonoTests.System.Xml.Xsl.MsxslScriptTests.CompileNoLineInfoSource () [0x00018] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs:210
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-i386/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
```

7 years ago[jit] Allow simple TLS accesses in gsharedvt methods. Properly propagate errors in...
Zoltan Varga [Tue, 20 Dec 2016 19:19:09 +0000 (14:19 -0500)]
[jit] Allow simple TLS accesses in gsharedvt methods. Properly propagate errors in fill_runtime_generic_context (). Fixes #49056.

7 years ago[aot] AOT System.Numerics.Vectors when running make fullaotcheck.
Zoltan Varga [Tue, 20 Dec 2016 19:18:28 +0000 (14:18 -0500)]
[aot] AOT System.Numerics.Vectors when running make fullaotcheck.

7 years ago[mkbundle] Don't use Path.GetDirectoryName on `directory` (#4130)
Jo Shields [Tue, 20 Dec 2016 19:02:09 +0000 (19:02 +0000)]
[mkbundle] Don't use Path.GetDirectoryName on `directory` (#4130)

`directory` is already a directory. It's in the name.

`Path.GetDirectoryName ("/path/to/a/thing")` returns `"/path/to/a"`, whether
`thing` is a directory or not. If there's a trailing `/` then it returns
the directory, not the parent - but we don't have a trailing `/`.

This fixes an issue where the path needs to be created by hand before an
SDK can be downloaded.

7 years agoAdd test profiles as a list on configure.ac summary
Alexander Köplinger [Tue, 20 Dec 2016 18:42:14 +0000 (19:42 +0100)]
Add test profiles as a list on configure.ac summary

Should be easier to extend if we add more such profiles.

Also add the new Xbox profile which was missed.

7 years ago[bcl] Rename aot_hybrid profile to testing_aot_hybrid
Alexander Köplinger [Tue, 20 Dec 2016 18:29:39 +0000 (19:29 +0100)]
[bcl] Rename aot_hybrid profile to testing_aot_hybrid

7 years ago[bcl] Rename aot_only profile to testing_aot_full
Alexander Köplinger [Tue, 20 Dec 2016 17:32:19 +0000 (18:32 +0100)]
[bcl] Rename aot_only profile to testing_aot_full

7 years ago[runtime] Add an assert to mono_class_setup_vtable_general () to catch cases when...
Zoltan Varga [Tue, 20 Dec 2016 16:49:11 +0000 (11:49 -0500)]
[runtime] Add an assert to mono_class_setup_vtable_general () to catch cases when the max_vtsize calculation is incorrect.

7 years ago[build] Fix warning (#4177)
Ludovic Henry [Tue, 20 Dec 2016 15:16:01 +0000 (10:16 -0500)]
[build] Fix warning (#4177)

7 years ago[coop] switch to GC unsafe state in SIGINT handler as it may throw an exception
Bernhard Urban [Wed, 14 Dec 2016 11:54:52 +0000 (12:54 +0100)]
[coop] switch to GC unsafe state in SIGINT handler as it may throw an exception

7 years ago[coop] switch to GC unsafe state in SIGFPE handler as it may throw an exception
Bernhard Urban [Wed, 14 Dec 2016 11:53:37 +0000 (12:53 +0100)]
[coop] switch to GC unsafe state in SIGFPE handler as it may throw an exception

7 years agoMerge pull request #3981 from kumpera/fix_symbolification_issues
Rodrigo Kumpera [Tue, 20 Dec 2016 14:05:47 +0000 (12:05 -0200)]
Merge pull request #3981 from kumpera/fix_symbolification_issues

This PR adds runtime crash symbolification. It requires runtime and tooling changes.

7 years ago[System.Xml] Add support for msxsl format functions. Fixes #50242
Marek Safar [Tue, 20 Dec 2016 13:44:02 +0000 (14:44 +0100)]
[System.Xml] Add support for msxsl format functions. Fixes #50242

7 years ago[System.Xml] Enable more tests
Marek Safar [Tue, 20 Dec 2016 12:21:38 +0000 (13:21 +0100)]
[System.Xml] Enable more tests

7 years agoImplement fast tls for s390x (#4161)
Neale Ferguson [Tue, 20 Dec 2016 12:56:21 +0000 (07:56 -0500)]
Implement fast tls for s390x (#4161)

[s390x] Implement fast tls for s390x

7 years ago[sn] Improve signing error message
Marek Safar [Tue, 20 Dec 2016 11:01:59 +0000 (12:01 +0100)]
[sn] Improve signing error message

7 years ago[System.ValueTuple] Don't emit debug symbols
Marek Safar [Tue, 20 Dec 2016 11:00:10 +0000 (12:00 +0100)]
[System.ValueTuple] Don't emit debug symbols

7 years agoMerge pull request #4178 from ntherning/fix-broken-windows-build
Niklas Therning [Tue, 20 Dec 2016 10:23:32 +0000 (11:23 +0100)]
Merge pull request #4178 from ntherning/fix-broken-windows-build

Fix broken Windows build due to missing mini-exceptions-native-unwinder.c

7 years agoFix broken Windows build due to missing mini-exceptions-native-unwinder.c
Niklas Therning [Tue, 20 Dec 2016 10:04:14 +0000 (11:04 +0100)]
Fix broken Windows build due to missing mini-exceptions-native-unwinder.c

Commit 41272d634b5917f67c12fc4f7172d66242abe7d9 removed mono/mini/mini-
exceptions-native-unwinder.c from the source tree but didn't update msvc
/libmono-static.vcxproj accordingly causing the VS build to fail.

7 years ago[Facades] Removes duplicate signing info
Marek Safar [Tue, 20 Dec 2016 09:18:56 +0000 (10:18 +0100)]
[Facades] Removes duplicate signing info

7 years ago[exception] remove dynamic loading of libunwind/libcorkscrew on Android
Bernhard Urban [Mon, 19 Dec 2016 16:48:54 +0000 (17:48 +0100)]
[exception] remove dynamic loading of libunwind/libcorkscrew on Android

we will rely on the output of debuggerd in order to get a native stack
trace.  The arguments to support that:

(a) native stack trace by debuggerd is at least as good as the one we get via
    libunwind (most of the time the trace provided by libunwind is useless?)

(b) we cannot screw up by accident (e.g. we have seen issues with a too small altstack)

(c) we don't need to maintain the libunwind integration into mono (which we
    sort of had to do because of the upcoming dlopen limitation in Android 7.0
    Nougat).

(d) the libmonosgen-2.0.so had about one megabyte more footprint (16mb ->
    17mb). I'm talking about a debug build here though.

See mailing list discussion for more information:
http://lists.dot.net/pipermail/android-devel/2016-December/000026.html

7 years ago[external] remove libunwind headers
Bernhard Urban [Tue, 13 Dec 2016 21:55:35 +0000 (22:55 +0100)]
[external] remove libunwind headers