mono.git
8 years agoMerge pull request #2208 from martinbooth/dataannotation_strings_from_corefx_without_resx
Alexander Köplinger [Tue, 24 Nov 2015 14:26:39 +0000 (15:26 +0100)]
Merge pull request #2208 from martinbooth/dataannotation_strings_from_corefx_without_resx

[System.ComponentModel.DataAnnotations] Replaced data annotation error messages with values extracted from corefx resource file

8 years agoMerge pull request #2248 from barsgroup/bugfix/35980
Alexander Köplinger [Tue, 24 Nov 2015 14:16:03 +0000 (15:16 +0100)]
Merge pull request #2248 from barsgroup/bugfix/35980

CSharpCodeCompiler should treat multi-line warning messages as warnings

8 years agoCSharpCodeCompiler should not treat multi-line warnings from mcs as internal compiler...
Dmitry Kalyanov [Wed, 18 Nov 2015 13:04:46 +0000 (16:04 +0300)]
CSharpCodeCompiler should not treat multi-line warnings from mcs as internal compiler errors.

Most errors and warnings from c# compiler are reported in one line in format "FILE(LINE, COL): warning CS1234: Text".
But some warning span multiple lines:

  /tmp/3fb23cc0/634d2022.0.cs(22,29): warning CS0114: `NS.B.F()' hides inherited member `NS.A.F()' ..
  /tmp/3fb23cc0/634d2022.0.cs(16,29): (Location of the symbol related to previous warning)

Previously the second line was considered to be an internal compiler error since it doesn't match the error regex.

This seems to be only type of messages that span multiple lines.

This fixes #35980

8 years ago[llvm] Fix the mapping of byref types.
Zoltan Varga [Tue, 24 Nov 2015 02:18:40 +0000 (21:18 -0500)]
[llvm] Fix the mapping of byref types.

8 years agoMerge pull request #2259 from xmcclure/modet-pointer
Jonathan Pryor [Mon, 23 Nov 2015 20:31:02 +0000 (15:31 -0500)]
Merge pull request #2259 from xmcclure/modet-pointer

Fix unsafe pointer conversion in sys-stat.c

8 years agoFix sys-stat.c where a pointer to a mode_t (potentially an int16) was being unsafely...
Andi McClure [Mon, 23 Nov 2015 19:33:44 +0000 (14:33 -0500)]
Fix sys-stat.c where a pointer to a mode_t (potentially an int16) was being unsafely converted to an int32 pointer

8 years ago[runtime] Fix non-byref LPArray marshalling. Fixes #36128.
Zoltan Varga [Sun, 22 Nov 2015 14:04:18 +0000 (09:04 -0500)]
[runtime] Fix non-byref LPArray marshalling. Fixes #36128.

8 years agoMerge pull request #2255 from directhex/override-mono-wrapper
Alexander Köplinger [Sun, 22 Nov 2015 14:01:04 +0000 (15:01 +0100)]
Merge pull request #2255 from directhex/override-mono-wrapper

Allow mono-wrapper executable to be overridden by environment

8 years ago[ji] Add a mini-llvm.h header file for the functions implemented by the LLVM backend.
Zoltan Varga [Sat, 21 Nov 2015 15:13:52 +0000 (10:13 -0500)]
[ji] Add a mini-llvm.h header file for the functions implemented by the LLVM backend.

8 years ago[runtime] Implement FIXMEs in the portable ppdb code.
Zoltan Varga [Sat, 21 Nov 2015 14:30:45 +0000 (09:30 -0500)]
[runtime] Implement FIXMEs in the portable ppdb code.

8 years ago[runtime] Fix the loading of ppdb files.
Zoltan Varga [Sat, 21 Nov 2015 13:32:24 +0000 (08:32 -0500)]
[runtime] Fix the loading of ppdb files.

8 years ago[aot] Fix support for runtime invokes to array accessors of reference arrays. Fixes...
Zoltan Varga [Sat, 21 Nov 2015 11:53:50 +0000 (06:53 -0500)]
[aot] Fix support for runtime invokes to array accessors of reference arrays. Fixes #35855.

8 years ago[system] Bump uri limit to match .net. Fixes #36095
Marek Safar [Sat, 21 Nov 2015 09:46:20 +0000 (10:46 +0100)]
[system] Bump uri limit to match .net. Fixes #36095

8 years ago[mkbundle] Improved support for Windows
Alexis Christoforides [Sat, 21 Nov 2015 02:40:07 +0000 (21:40 -0500)]
[mkbundle] Improved support for Windows

8 years ago[System.Data] Remove some win32-specific p/invokes for the mobile profile
Sebastien Pouliot [Sat, 21 Nov 2015 02:33:49 +0000 (21:33 -0500)]
[System.Data] Remove some win32-specific p/invokes for the mobile profile

This reduce the size of System.dll and also removes some Win32 specific
p/invokes.

They cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

**Incomplete** (some remains) but enough so we can run LinkSDK and
System.Data unit tests apps (the managed linker can remove the rest)

8 years ago[mdoc] Add some diagnostics
Miguel de Icaza [Sat, 21 Nov 2015 01:31:18 +0000 (20:31 -0500)]
[mdoc] Add some diagnostics

8 years ago[corlib] Bump reference source for .net 4.6 hotfix. Fixes #36003
Marek Safar [Fri, 20 Nov 2015 23:18:21 +0000 (00:18 +0100)]
[corlib] Bump reference source for .net 4.6 hotfix. Fixes #36003

8 years ago[runtime] Use the standard __MOBILE__ define instead of MOBILE for the mini tests.
Zoltan Varga [Fri, 20 Nov 2015 22:48:56 +0000 (17:48 -0500)]
[runtime] Use the standard __MOBILE__ define instead of MOBILE for the mini tests.

8 years ago[System] Remove internal Win32* classes from mobile builds
Sebastien Pouliot [Fri, 20 Nov 2015 16:57:48 +0000 (11:57 -0500)]
[System] Remove internal Win32* classes from mobile builds

This reduce the size of System.dll and also removes some Win32 specific
p/invokes.

They cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

8 years ago[System.ServiceModel.Internals] Do not include win32 p/invokes in mobile builds
Sebastien Pouliot [Fri, 20 Nov 2015 15:07:37 +0000 (10:07 -0500)]
[System.ServiceModel.Internals] Do not include win32 p/invokes in mobile builds

This cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

8 years ago[runtime] Revert breaking changes in MonoGHashGCType.
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 13:19:16 +0000 (14:19 +0100)]
[runtime] Revert breaking changes in MonoGHashGCType.

Xamarin.iOS and Xamarin.Mac uses this enum, and changing the values
causes us to break.

For Xamarin.Mac apps that do not bundle their mono, this would break
when the user updated their system mono.

8 years ago[System.Drawing] Add ifdefs to source code used by Xamarin.iOS/Mac to make it compile...
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 11:20:01 +0000 (12:20 +0100)]
[System.Drawing] Add ifdefs to source code used by Xamarin.iOS/Mac to make it compile there.

8 years ago[aot] Add instances of LongEnumEqualityComparer which is used by EqualityComparer...
Zoltan Varga [Fri, 20 Nov 2015 11:15:56 +0000 (06:15 -0500)]
[aot] Add instances of LongEnumEqualityComparer which is used by EqualityComparer to compare long/ulong based enums.

8 years agoAllow mono-wrapper executable to be overridden by environment
Jo Shields [Fri, 20 Nov 2015 11:04:10 +0000 (11:04 +0000)]
Allow mono-wrapper executable to be overridden by environment

This makes it easier to force Cygwin-brokered test suite runs to use MSVC builds of Mono, i.e. by overriding MONO_EXECUTABLE to .../msvc/bin/Win32/mono-sgen.exe

8 years agoMerge pull request #2254 from Sebmaster/fix-datasourceview
Marek Safar [Fri, 20 Nov 2015 09:42:16 +0000 (10:42 +0100)]
Merge pull request #2254 from Sebmaster/fix-datasourceview

Fix NullReferenceException when reader fails in SqlDataSourceView

8 years ago[corlib] Disable an attribute test which fails on mobile because of linking.
Zoltan Varga [Fri, 20 Nov 2015 07:29:39 +0000 (02:29 -0500)]
[corlib] Disable an attribute test which fails on mobile because of linking.

8 years ago[msvc] Remove outdated projects and configs to fix x64 build
Alexander Köplinger [Fri, 20 Nov 2015 01:17:29 +0000 (02:17 +0100)]
[msvc] Remove outdated projects and configs to fix x64 build

Some of the profiler projects are no longer needed since the corresponding pieces were removed.

Update sln to only build required projects by default and update configurations in projects.

Fixes the Win64 build on Jenkins.

8 years agoFix NullReferenceException when reader fails
Sebastian Mayr [Fri, 20 Nov 2015 00:53:02 +0000 (01:53 +0100)]
Fix NullReferenceException when reader fails

If the reader execution in the try block fails, reader will stay null, but we later try to access reader.RecordsAffected. This raises a null reference exception which hides the original exception, making this particularly hard to detect.

8 years ago[System]: Implement X509Certificate2.Export(X509ContentType.Pfx).
Martin Baulig [Thu, 19 Nov 2015 20:19:42 +0000 (15:19 -0500)]
[System]: Implement X509Certificate2.Export(X509ContentType.Pfx).

(cherry picked from commit e51b4ec6853e7e7ae6f7e862275a282a8c1e7904)

8 years ago[x86] Fix OP_IMUL_OVF_UN clobbering edx in some cases. Fixes #36052.
Zoltan Varga [Thu, 19 Nov 2015 19:19:08 +0000 (14:19 -0500)]
[x86] Fix OP_IMUL_OVF_UN clobbering edx in some cases. Fixes #36052.

8 years agoFix mcs build to use Thread.Abort.
Rolf Bjarne Kvinge [Thu, 19 Nov 2015 15:24:39 +0000 (16:24 +0100)]
Fix mcs build to use Thread.Abort.

8 years agoRemove Thread API from the watch/tv runtime profiles as well.
Rolf Bjarne Kvinge [Thu, 19 Nov 2015 15:19:52 +0000 (16:19 +0100)]
Remove Thread API from the watch/tv runtime profiles as well.

8 years agoMerge pull request #2183 from joelmartinez/monodoc-ecmacref-fix
Jonathan Pryor [Thu, 19 Nov 2015 15:39:54 +0000 (10:39 -0500)]
Merge pull request #2183 from joelmartinez/monodoc-ecmacref-fix

[monodoc] Fixed several issues with `.ToEcmaCref` method.

8 years ago[msvc] Fix path to ml64.exe in masm.fixed.props
Jo Shields [Thu, 19 Nov 2015 14:20:21 +0000 (14:20 +0000)]
[msvc] Fix path to ml64.exe in masm.fixed.props

8 years agoBring the Asin/Acos fix from CoreFX
Miguel de Icaza [Thu, 19 Nov 2015 14:12:10 +0000 (09:12 -0500)]
Bring the Asin/Acos fix from CoreFX

8 years ago[corlib] Update long/short timepatterns. Reference source DateTimeInfo uses different...
Marek Safar [Thu, 19 Nov 2015 13:54:02 +0000 (14:54 +0100)]
[corlib] Update long/short timepatterns. Reference source DateTimeInfo uses different logic for single pattern extraction. Fixes part of #36003

8 years agoRemove Thread.[Abort|Suspend|Resume] from TvOS/WatchOS.
Rolf Bjarne Kvinge [Tue, 6 Oct 2015 11:47:37 +0000 (13:47 +0200)]
Remove Thread.[Abort|Suspend|Resume] from TvOS/WatchOS.

In tests replace usages of Thread.Abort with Thread.Interrupt when it looks
like it can work, otherwise just disable the complete test.

8 years ago[aot] Fix support for synchronized wrappers of gsharedvt methods.
Zoltan Varga [Thu, 19 Nov 2015 11:09:42 +0000 (06:09 -0500)]
[aot] Fix support for synchronized wrappers of gsharedvt methods.

8 years ago[mono-api-info] Take return type into account when comparing methods.
Rolf Bjarne Kvinge [Thu, 19 Nov 2015 09:23:03 +0000 (10:23 +0100)]
[mono-api-info] Take return type into account when comparing methods.

8 years ago[mono-api-info] Take into account parameters when sorting properties.
Rolf Bjarne Kvinge [Thu, 19 Nov 2015 09:00:20 +0000 (10:00 +0100)]
[mono-api-info] Take into account parameters when sorting properties.

8 years ago[mono-api-info] Sort attributes.
Rolf Bjarne Kvinge [Thu, 19 Nov 2015 08:59:36 +0000 (09:59 +0100)]
[mono-api-info] Sort attributes.

So that info files can be compared textually to test for api equality.

8 years ago[jit] Fix memory leaks in the generic sharing code by making sure that values stored...
Zoltan Varga [Thu, 19 Nov 2015 07:00:23 +0000 (02:00 -0500)]
[jit] Fix memory leaks in the generic sharing code by making sure that values stored into an rgctx slot are never NULL, since otherwise the runtime would recompute them on every access. Fixes #36000.

8 years ago[jit] Fix the gsharedvtcheck make target.
Zoltan Varga [Thu, 19 Nov 2015 06:52:37 +0000 (01:52 -0500)]
[jit] Fix the gsharedvtcheck make target.

8 years ago[metadata] Remove unused empty struct from marshal.h
Alexander Köplinger [Wed, 18 Nov 2015 19:26:29 +0000 (11:26 -0800)]
[metadata] Remove unused empty struct from marshal.h

It breaks MSVC.

8 years ago[mini] Add MONO_API to mono_parse_env_options
Alexander Köplinger [Wed, 18 Nov 2015 19:39:57 +0000 (11:39 -0800)]
[mini] Add MONO_API to mono_parse_env_options

We need this exported for our multi lib setup in MSVC.

8 years ago[msvc] Remove obsolete jay project files
Alexander Köplinger [Wed, 18 Nov 2015 22:18:15 +0000 (23:18 +0100)]
[msvc] Remove obsolete jay project files

We're requiring VS2013 now.

8 years ago[msvc] Fix msbuild warnings
Alexander Köplinger [Wed, 18 Nov 2015 21:56:25 +0000 (13:56 -0800)]
[msvc] Fix msbuild warnings

OutDir/IntDir should end with trailing slash.

Don't override Linker OutputFile, instead copy jay via a PostBuildEvent to the correct dir.

8 years ago[msvc] Add missing files to libmonoutils.vcxproj
Alexander Köplinger [Wed, 18 Nov 2015 19:51:55 +0000 (20:51 +0100)]
[msvc] Add missing files to libmonoutils.vcxproj

8 years ago[msvc] Update .def files
Alexander Köplinger [Wed, 18 Nov 2015 19:25:32 +0000 (11:25 -0800)]
[msvc] Update .def files

8 years ago[tests] Skip Local name (incorrect) assumption for iOS/tvOS/watchOS/OSX in TimeZoneIn...
Sebastien Pouliot [Wed, 18 Nov 2015 17:30:27 +0000 (12:30 -0500)]
[tests] Skip Local name (incorrect) assumption for iOS/tvOS/watchOS/OSX in TimeZoneInfo tests

8 years ago[runtime] Fix multiple inclusion of object-offsets.h
Zoltan Varga [Wed, 18 Nov 2015 16:48:33 +0000 (11:48 -0500)]
[runtime] Fix multiple inclusion of object-offsets.h

8 years agoMerge pull request #2243 from konrad-kruczynski/process_exited_should_wait_in_background
Ludovic Henry [Wed, 18 Nov 2015 13:57:25 +0000 (13:57 +0000)]
Merge pull request #2243 from konrad-kruczynski/process_exited_should_wait_in_background

Process.cs: adding a handler to Exited will make the program wait for the process to exit

8 years agoCaller of Exited event should wait for process to exit in background.
Konrad M. Kruczynski [Wed, 18 Nov 2015 12:44:49 +0000 (13:44 +0100)]
Caller of Exited event should wait for process to exit in background.

Otherwise simply adding an event will make our program to live at least as long
as the created process lives.

8 years ago[System] Exclude code that tries to load System.Windows.Forms.dll dynamically on...
Rolf Bjarne Kvinge [Tue, 6 Oct 2015 11:44:03 +0000 (13:44 +0200)]
[System] Exclude code that tries to load System.Windows.Forms.dll dynamically on mobile.

It won't succeed anyway.

8 years ago[aot] Fix another memory leak.
Zoltan Varga [Wed, 18 Nov 2015 12:26:28 +0000 (07:26 -0500)]
[aot] Fix another memory leak.

8 years agoBump ikdasm to 323eeecdf13c39527c53efa5f6c8487765ee42c0.
Zoltan Varga [Wed, 18 Nov 2015 11:24:30 +0000 (06:24 -0500)]
Bump ikdasm to 323eeecdf13c39527c53efa5f6c8487765ee42c0.

8 years ago[external/ikdasm] Bump to d6db90d6780d5cdb37ef97ec36d0cb452ac70e9e.
Zoltan Varga [Wed, 18 Nov 2015 09:23:53 +0000 (04:23 -0500)]
[external/ikdasm] Bump to d6db90d6780d5cdb37ef97ec36d0cb452ac70e9e.

8 years ago[runtime] Add a DECL_SIZE2 macro usable from offsets files.
Zoltan Varga [Wed, 18 Nov 2015 05:34:03 +0000 (00:34 -0500)]
[runtime] Add a DECL_SIZE2 macro usable from offsets files.

8 years ago[runtime] Fix the lookup of nested types in type forwarders. Fixes #35447.
Zoltan Varga [Wed, 18 Nov 2015 05:06:49 +0000 (00:06 -0500)]
[runtime] Fix the lookup of nested types in type forwarders. Fixes #35447.

8 years agoFix a warning.
Zoltan Varga [Wed, 18 Nov 2015 03:54:02 +0000 (22:54 -0500)]
Fix a warning.

8 years ago[aot] Fix a memory leak in init_amodule_got ().
Zoltan Varga [Wed, 18 Nov 2015 03:36:22 +0000 (22:36 -0500)]
[aot] Fix a memory leak in init_amodule_got ().

8 years agoRevert "[sgen] Remove sgen specific suspend code"
Ludovic Henry [Wed, 18 Nov 2015 00:25:15 +0000 (00:25 +0000)]
Revert "[sgen] Remove sgen specific suspend code"

This reverts commit 64af68dd8d7ba888ad9e5d35dc9714df6f9d5963.

8 years agoActually, really fix my last build - sorry for the breakage.
Martin Baulig [Tue, 17 Nov 2015 21:42:38 +0000 (16:42 -0500)]
Actually, really fix my last build - sorry for the breakage.

(cherry picked from commit e95a4a2e35922fd68b3abf7b49685a93eebf599f)

8 years agoFix my last commit.
Martin Baulig [Tue, 17 Nov 2015 21:04:48 +0000 (16:04 -0500)]
Fix my last commit.

(cherry picked from commit 4a5da6f7639a2ebeb4f7ac69fadec5be58a566a6)

8 years agoMerge pull request #2236 from akoeplinger/add-dataflow
Alexander Köplinger [Tue, 17 Nov 2015 21:03:53 +0000 (22:03 +0100)]
Merge pull request #2236 from akoeplinger/add-dataflow

[System.Threading.Tasks.Dataflow] Replace implementation with CoreFx version

8 years ago[Mono.Security]: Add 'X509Chain' to ICertificateValidator.InvokeSystemValidator and...
Martin Baulig [Tue, 17 Nov 2015 18:43:16 +0000 (13:43 -0500)]
[Mono.Security]: Add 'X509Chain' to ICertificateValidator.InvokeSystemValidator and MonoTlsProvider.InvokeSystemCertificateValidator.

On OS X and Mobile, the X509Chain will be initialized with all the
certificates from the X509CertificateCollection, but not actually
built.

ServicePointManager.ServerCertificateValidationCallback can use the 'chain' argument
to get all the certificates from the server.

(cherry picked from commit 73e37f0ecfd403780d60f36d8b0d68f27987b256)

8 years ago[Mono.Security]: The default value of 'MonoTlsSettings.UseServicePointManagerCallback...
Martin Baulig [Tue, 17 Nov 2015 02:39:39 +0000 (21:39 -0500)]
[Mono.Security]: The default value of 'MonoTlsSettings.UseServicePointManagerCallback' is supposed to be true.

This fixes a regression where ServicePointManager.ServerCertificateValidationCallback
was not called when using WebClient.

(cherry picked from commit 5022db1956cd7dbde46928473800ff5b5e6b651e)

8 years ago[threads] Fix build
Ludovic Henry [Tue, 17 Nov 2015 15:48:26 +0000 (15:48 +0000)]
[threads] Fix build

8 years ago[mcs] Set null operator barrier between invocation instance and its arguments. Fixes...
Marek Safar [Tue, 17 Nov 2015 15:12:56 +0000 (16:12 +0100)]
[mcs] Set null operator barrier between invocation instance and its arguments. Fixes #33341

8 years ago[arm] Avoid an assertion check in aot mode.
Zoltan Varga [Tue, 17 Nov 2015 15:02:23 +0000 (10:02 -0500)]
[arm] Avoid an assertion check in aot mode.

8 years ago[runtime] Add MONO_ABI_SIZEOF macros similar to the existing MONO_ABI_ALIGNOF macros...
Zoltan Varga [Tue, 17 Nov 2015 15:01:33 +0000 (10:01 -0500)]
[runtime] Add MONO_ABI_SIZEOF macros similar to the existing MONO_ABI_ALIGNOF macros, use these to compute sizes of types.

8 years agoMerge pull request #2240 from UCIS/patch-6
Alexis Christoforides [Tue, 17 Nov 2015 14:57:39 +0000 (09:57 -0500)]
Merge pull request #2240 from UCIS/patch-6

Fixed hang in SslStreamBase when stream is closed during I/O

8 years ago[sgen] Remove sgen specific suspend code
Ludovic Henry [Wed, 21 Oct 2015 15:49:00 +0000 (16:49 +0100)]
[sgen] Remove sgen specific suspend code

8 years agoMerge pull request #2241 from f00f/patch-1
Alex Rønne Petersen [Tue, 17 Nov 2015 14:29:05 +0000 (15:29 +0100)]
Merge pull request #2241 from f00f/patch-1

Fixed typo

8 years agoFixed typo
f00f [Tue, 17 Nov 2015 14:28:19 +0000 (15:28 +0100)]
Fixed typo

8 years agoFixed hang in SslStreamBase when stream is closed during I/O
Ivo Smits [Tue, 17 Nov 2015 13:54:02 +0000 (14:54 +0100)]
Fixed hang in SslStreamBase when stream is closed during I/O

If the SslStreamBase is disposed while a read or write operation is in progress, the asynchronous I/O state is never marked as completed, resulting in synchronous Read/Write calls never returning. To fix this, the internal I/O callbacks should mark the asynchronous operations as completed, possibly with an error, even if the SslStreamBase is disposed.

8 years agoMerge pull request #2201 from rolfbjarne/linker-better-xml-processing-errors
Rolf Bjarne Kvinge [Tue, 17 Nov 2015 13:47:18 +0000 (08:47 -0500)]
Merge pull request #2201 from rolfbjarne/linker-better-xml-processing-errors

[linker] Provide better error message when an error occurs while processing xml descriptions

8 years agoRemove link to Wrench from README.md
Alexander Köplinger [Tue, 17 Nov 2015 13:14:55 +0000 (14:14 +0100)]
Remove link to Wrench from README.md

We're retiring public Wrench and replacing it with Jenkins, see http://lists.ximian.com/pipermail/mono-devel-list/2015-November/043399.html

8 years agoAdd monotouch_*_runtime profiles for watchOS and tvOS.
Rolf Bjarne Kvinge [Mon, 16 Nov 2015 18:30:55 +0000 (19:30 +0100)]
Add monotouch_*_runtime profiles for watchOS and tvOS.

8 years agoIgnore extensions-config.h
Rolf Bjarne Kvinge [Tue, 17 Nov 2015 10:12:05 +0000 (11:12 +0100)]
Ignore extensions-config.h

8 years agoFix the build.
Zoltan Varga [Tue, 17 Nov 2015 08:30:49 +0000 (03:30 -0500)]
Fix the build.

8 years agoRemove obsolete interpreter embedding sample.
Zoltan Varga [Tue, 17 Nov 2015 07:16:25 +0000 (02:16 -0500)]
Remove obsolete interpreter embedding sample.

8 years ago[jit] Remove unused mono_aot_register_globals () function.
Zoltan Varga [Tue, 17 Nov 2015 07:12:29 +0000 (02:12 -0500)]
[jit] Remove unused mono_aot_register_globals () function.

8 years ago[jit] Remove the nursery_bits from the wrapper info for the gc write barrier methods...
Zoltan Varga [Tue, 17 Nov 2015 06:54:17 +0000 (01:54 -0500)]
[jit] Remove the nursery_bits from the wrapper info for the gc write barrier methods, its no longer needed after 85581ff1bb8b28141ec1823b7371efa5a14551bb.

8 years ago[jit] Add a header file for aot-compiler.c.
Zoltan Varga [Tue, 17 Nov 2015 06:51:13 +0000 (01:51 -0500)]
[jit] Add a header file for aot-compiler.c.

8 years ago[jit] Fix the check for emulation of div instructions in 9f253965d02d20b7fd39549ba07b...
Zoltan Varga [Tue, 17 Nov 2015 03:27:35 +0000 (22:27 -0500)]
[jit] Fix the check for emulation of div instructions in 9f253965d02d20b7fd39549ba07b35e76a69e48f.

8 years agoMerge pull request #2239 from xmcclure/interbals2
Alexander Köplinger [Mon, 16 Nov 2015 23:25:26 +0000 (00:25 +0100)]
Merge pull request #2239 from xmcclure/interbals2

Minor: Style cleanup on internal headers (continued)

8 years agoMinor: Style cleanup on internal headers (continued)
Andi McClure [Mon, 16 Nov 2015 23:17:21 +0000 (18:17 -0500)]
Minor: Style cleanup on internal headers (continued)

Previous patch missed some build files.

8 years agoMerge pull request #2238 from xmcclure/interbals
Andi McClure [Mon, 16 Nov 2015 22:26:17 +0000 (17:26 -0500)]
Merge pull request #2238 from xmcclure/interbals

Minor: Style cleanup on internal headers

8 years agoMinor: Style cleanup on internal headers
Andi McClure [Mon, 16 Nov 2015 20:45:01 +0000 (15:45 -0500)]
Minor: Style cleanup on internal headers

For consistency, rename any -internal.h files to -internals.h. Also remove INTERBALS

8 years agoUpdated Assert.Equals to Assert.AreEqual
Marcos Henrich [Mon, 16 Nov 2015 17:21:45 +0000 (17:21 +0000)]
Updated Assert.Equals to Assert.AreEqual

8 years ago[System.Threading.Tasks.Dataflow] Replace implementation with CoreFx version
Alexander Köplinger [Mon, 16 Nov 2015 15:23:09 +0000 (16:23 +0100)]
[System.Threading.Tasks.Dataflow] Replace implementation with CoreFx version

We were seeing some random test failures on Jenkins with our Dataflow implementation.
Replacing it with Microsoft's CoreFx version fixed those and makes us more compatible.

While we'd ideally not ship this assembly at all with Mono (it doesn't ship with .NET),
we shipped it in the past and as such people might rely on it so we can't remove it.

The CoreFx commit this version was taken is 905a1940bcda0afdca2f14ceb2b0161ebc4d1d02.

8 years ago[arm] HACK: Disable fast TLS on ARM for now.
Alex Rønne Petersen [Wed, 4 Nov 2015 19:16:28 +0000 (20:16 +0100)]
[arm] HACK: Disable fast TLS on ARM for now.

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

8 years ago[linker] Always preserve Interlocked.Exchange<T> ().
Alex Rønne Petersen [Mon, 16 Nov 2015 15:07:18 +0000 (16:07 +0100)]
[linker] Always preserve Interlocked.Exchange<T> ().

The runtime expects to be able to find the generic variant of this method in
the metadata even when code is calling the `object` overload.

8 years agoMerge pull request #2228 from lambdageek/dev/sgen-timeouts
Alexander Köplinger [Mon, 16 Nov 2015 14:10:24 +0000 (15:10 +0100)]
Merge pull request #2228 from lambdageek/dev/sgen-timeouts

[test] sgen tests should behave nicer on slower machines.

8 years ago[arm] Simplify the seq point code used for soft breakpoints.
Zoltan Varga [Mon, 16 Nov 2015 03:55:00 +0000 (03:55 +0000)]
[arm] Simplify the seq point code used for soft breakpoints.

8 years ago[Windows.Forms] add a warning to the Carbon driver when running on 64 bits
Miguel de Icaza [Sun, 15 Nov 2015 15:12:03 +0000 (10:12 -0500)]
[Windows.Forms] add a warning to the Carbon driver when running on 64 bits

8 years ago[runtime] Fix Thread.CurrentThread in non-root appdomains by setting the tls slot...
Zoltan Varga [Sun, 15 Nov 2015 13:32:36 +0000 (08:32 -0500)]
[runtime] Fix Thread.CurrentThread in non-root appdomains by setting the tls slot in start_wrapper, otherwise Thread.CurrentThread would create a new Thread object so there would be two. Fixes #35828.

8 years agoFix a warning.
Zoltan Varga [Sun, 15 Nov 2015 08:00:30 +0000 (03:00 -0500)]
Fix a warning.

8 years ago[amd64] Make amd64_patch non-inline, it seems to be miscompiled by older clang versio...
Zoltan Varga [Sun, 15 Nov 2015 00:04:40 +0000 (19:04 -0500)]
[amd64] Make amd64_patch non-inline, it seems to be miscompiled by older clang versions (5.1).