mono.git
11 years agoOoops, variance is not available in 3.5.
Martin Baulig [Thu, 23 May 2013 19:16:59 +0000 (21:16 +0200)]
Ooops, variance is not available in 3.5.

11 years ago[make]: Build Facade assemblies in mcs/class/lib/$(PROFILE)/Facades.
Martin Baulig [Thu, 23 May 2013 19:04:32 +0000 (21:04 +0200)]
[make]: Build Facade assemblies in mcs/class/lib/$(PROFILE)/Facades.

11 years ago[xbuild]: Fix task batching for <ItemGroup> inside <Target>.
Martin Baulig [Thu, 23 May 2013 17:02:43 +0000 (19:02 +0200)]
[xbuild]: Fix task batching for <ItemGroup> inside <Target>.

This fixes

<Target Name="Simple">
<ItemGroup>
<Foo Include="A;B" />
<All Include="%(Foo.Identity)" />
</ItemGroup>
<Message Text="ALL: @(All)" />
</Target>

11 years ago[xbuild]: Fix 'make test'.
Martin Baulig [Thu, 23 May 2013 17:10:53 +0000 (19:10 +0200)]
[xbuild]: Fix 'make test'.

11 years agoAdd the hostname into the exception message when doing dns lookups.
Rodrigo Kumpera [Thu, 23 May 2013 15:24:15 +0000 (11:24 -0400)]
Add the hostname into the exception message when doing dns lookups.

11 years agoImplement Task::AsyncWaitHandle. Fixes #12342
Marek Safar [Thu, 23 May 2013 09:11:25 +0000 (11:11 +0200)]
Implement Task::AsyncWaitHandle. Fixes #12342

11 years agoAvoid the class name check in is_async_state_machine_class (), csc seems to generate...
Zoltan Varga [Wed, 22 May 2013 19:10:52 +0000 (21:10 +0200)]
Avoid the class name check in is_async_state_machine_class (), csc seems to generate a different name. Fixes #12329.

11 years agoUpdate to 3.0.12
Duncan Mak [Wed, 22 May 2013 17:58:06 +0000 (13:58 -0400)]
Update to 3.0.12

11 years ago[xbuild]: Rename @(_ResolvedDependencyFiles) -> @(ReferenceDependencyPaths)
Martin Baulig [Wed, 22 May 2013 17:36:02 +0000 (19:36 +0200)]
[xbuild]: Rename @(_ResolvedDependencyFiles) -> @(ReferenceDependencyPaths)

11 years ago[xbuild]: Add empty "BuildOnlySettings" target.
Martin Baulig [Wed, 22 May 2013 17:30:22 +0000 (19:30 +0200)]
[xbuild]: Add empty "BuildOnlySettings" target.

11 years agoFix the check in bf9c7dcc5ec5fddb673d97079d5443b919785b33.
Alex Rønne Petersen [Wed, 22 May 2013 04:49:03 +0000 (07:49 +0300)]
Fix the check in bf9c7dcc5ec5fddb673d97079d5443b919785b33.

The C preprocessor sucks.

11 years agoMerge pull request #629 from pruiz/syswebrouting-fixes2
Miguel de Icaza [Wed, 22 May 2013 02:36:02 +0000 (19:36 -0700)]
Merge pull request #629 from pruiz/syswebrouting-fixes2

[Sys.Web.Routing] Refactor of Route's GetVirtualPath implementation based on System.Web.Http.Routing code in order to fix a few incompatibilities between our implementation and the one at ms.net

11 years agoMerge pull request #644 from knocte/connstrings
Miguel de Icaza [Wed, 22 May 2013 02:24:36 +0000 (19:24 -0700)]
Merge pull request #644 from knocte/connstrings

 [System.Configuration] Remove a misleading MonoTODO in ConnectionStrings

11 years agoEnable partial sharing only in full-aot mode, it slows done generics heavy code like...
Zoltan Varga [Tue, 21 May 2013 21:09:06 +0000 (23:09 +0200)]
Enable partial sharing only in full-aot mode, it slows done generics heavy code like fsharp too much (see the fsharp test in the GC benchmark module).

11 years agoAdd support for certificates using RIPEMD160 and add test for them and SHA256/512...
Sebastien Pouliot [Tue, 21 May 2013 20:33:33 +0000 (16:33 -0400)]
Add support for certificates using RIPEMD160 and add test for them and SHA256/512. Fix bug #11703

11 years agoLook for facade assemblies in $(mono_libdir)/4.5/Facades/
Martin Baulig [Sat, 6 Apr 2013 13:04:54 +0000 (15:04 +0200)]
Look for facade assemblies in $(mono_libdir)/4.5/Facades/

11 years agoAdditional crypto support needs to be in mscorlib.dll (not System.dll) to be usable...
Sebastien Pouliot [Tue, 21 May 2013 18:51:51 +0000 (14:51 -0400)]
Additional crypto support needs to be in mscorlib.dll (not System.dll) to be usable for X509Certificate and PKCS#1

11 years ago[xbuild]: Generate [TargetFramework] attribute.
Martin Baulig [Tue, 14 May 2013 22:55:37 +0000 (00:55 +0200)]
[xbuild]: Generate [TargetFramework] attribute.

11 years agoPoint sources to Mono.Security versions of the files= (duplicates were removed)
Sebastien Pouliot [Tue, 21 May 2013 13:52:59 +0000 (09:52 -0400)]
Point sources to Mono.Security versions of the files= (duplicates were removed)

11 years agoRemove duplicate files (cvs-time artefact)
Sebastien Pouliot [Fri, 17 May 2013 15:28:30 +0000 (11:28 -0400)]
Remove duplicate files (cvs-time artefact)

11 years agoMerge pull request #645 from knocte/nitpicks
Marek Safar [Tue, 21 May 2013 07:13:24 +0000 (00:13 -0700)]
Merge pull request #645 from knocte/nitpicks

Fix couple of nitpicks in mono-service and HttpWebRequest-Tests

11 years ago[Mono.Posix] Fix INTL.DLL CallingConvention.
Jonathan Pryor [Tue, 21 May 2013 00:34:50 +0000 (20:34 -0400)]
[Mono.Posix] Fix INTL.DLL CallingConvention.

INTL.DLL on Windows uses the `__cdecl` calling convention.

Let's not corrupt the stack on Windows...

11 years ago[Sys.Configuration] Remove unneeded NET_2_0 ifdefs
Andres G. Aragoneses [Mon, 20 May 2013 16:55:09 +0000 (17:55 +0100)]
[Sys.Configuration] Remove unneeded NET_2_0 ifdefs

11 years ago[Sys.Configuration] Remove a misleading MonoTODO in ConnectionStrings
Andres G. Aragoneses [Mon, 20 May 2013 16:36:24 +0000 (17:36 +0100)]
[Sys.Configuration] Remove a misleading MonoTODO in ConnectionStrings

The ConnectionStrings property of System.Configuration.ConfigurationManager
works perfectly, so this MonoTODO is not needed.

A unit test is also added to demonstrate that it's fully working and to
prevent it failing in the future.

11 years agoAdd a sanity check to catch things like `-DARM_FPU_NONE -DARM_FPU_VFP`.
Alex Rønne Petersen [Mon, 20 May 2013 13:37:06 +0000 (15:37 +0200)]
Add a sanity check to catch things like `-DARM_FPU_NONE -DARM_FPU_VFP`.

11 years agoGeneralize the ARM pattern match in configure.
Alex Rønne Petersen [Fri, 17 May 2013 22:10:11 +0000 (00:10 +0200)]
Generalize the ARM pattern match in configure.

The previous one would only work if the 'vendor'
part of the target triple equals "unknown" which
is a bit of an arbitrary limitation.

11 years agoAlways define __ARM_EABI__ when compiling for ARM.
Alex Rønne Petersen [Fri, 17 May 2013 22:03:08 +0000 (00:03 +0200)]
Always define __ARM_EABI__ when compiling for ARM.

We don't actually support any non-AAPCS ABI.

11 years agoDo not define HAVE_ARMV6 unconditionally when cross-compiling for ARM.
Alex Rønne Petersen [Fri, 17 May 2013 22:01:21 +0000 (00:01 +0200)]
Do not define HAVE_ARMV6 unconditionally when cross-compiling for ARM.

This is simply an invalid assumption and certainly not a sane default.

Reverts part of 8f7a7a74.

11 years agoAdd a function to convert from a MonoError to a loader error. Use it with callers...
Rodrigo Kumpera [Fri, 17 May 2013 21:51:48 +0000 (17:51 -0400)]
Add a function to convert from a MonoError to a loader error. Use it with callers of mono_class_create_from_typedef.

11 years agoMove mono_class_create_from_typedef to use MonoError.
Rodrigo Kumpera [Fri, 17 May 2013 21:05:42 +0000 (17:05 -0400)]
Move mono_class_create_from_typedef to use MonoError.

* class.c (mono_class_create_from_typedef): Do error handling using MonoError
instead of the loader error for this one.

11 years agoAdd mono_class_set_failure_from_loader_error and use it in a few spots.
Rodrigo Kumpera [Fri, 17 May 2013 20:41:43 +0000 (16:41 -0400)]
Add mono_class_set_failure_from_loader_error and use it in a few spots.

11 years ago[Mono.Data.Sqlite] Stop DataAdapter.Fill exploding when using Sqlite built w/o column...
Michael Hutchinson [Fri, 17 May 2013 21:02:53 +0000 (17:02 -0400)]
[Mono.Data.Sqlite] Stop DataAdapter.Fill exploding when using Sqlite built w/o column metadata support

Fixes Bug 327 - Mono.Data.Sqlite doesn't work without SQLITE_ENABLE_COLUMN_METADATA

Essentially, if sqlite3_column_origin_name is not found, omit the metadata, instead of
exploding.  This is the fallback that's already used on MonoTouch.

A better fix would be load the column metadata from other sources, as proposed in
https://bugzilla.xamarin.com/show_bug.cgi?id=2128

11 years ago[monodoc] Return null from GetHelpXml if node not found
Michael Hutchinson [Fri, 17 May 2013 19:55:56 +0000 (15:55 -0400)]
[monodoc] Return null from GetHelpXml if node not found

Instead of exploding the XML parser by trying to parse null.

11 years ago[monodoc] Throw exception on unparseable URL
Michael Hutchinson [Fri, 17 May 2013 19:54:58 +0000 (15:54 -0400)]
[monodoc] Throw exception on unparseable URL

Instead of logging error with no useful context/content.

11 years agoClear entries referencing the domain in reference_queue_clear_for_domain () even...
Zoltan Varga [Fri, 17 May 2013 20:07:51 +0000 (22:07 +0200)]
Clear entries referencing the domain in reference_queue_clear_for_domain () even if the object is already null. Fixes #4595.

11 years agoUse the source files from ../Mono.Security/ to avoid duplicate (and different files)
Sebastien Pouliot [Fri, 17 May 2013 15:08:39 +0000 (11:08 -0400)]
Use the source files from ../Mono.Security/ to avoid duplicate (and different files)

11 years agoMerge changes, that were only made in corlib, back into Mono.Security
Sebastien Pouliot [Fri, 17 May 2013 15:07:29 +0000 (11:07 -0400)]
Merge changes, that were only made in corlib, back into Mono.Security

11 years agoDo not bring (linking-wise) most of ToBase64Transform when Convert.ToBase64String...
Sebastien Pouliot [Thu, 16 May 2013 20:14:27 +0000 (16:14 -0400)]
Do not bring (linking-wise) most of ToBase64Transform when Convert.ToBase64String is used

11 years agoAdd regression test for #11362.
Rodrigo Kumpera [Fri, 17 May 2013 15:03:25 +0000 (11:03 -0400)]
Add regression test for #11362.

11 years agoFail with an exception when loading the value of field of a broken class. Fixes ...
Rodrigo Kumpera [Fri, 17 May 2013 14:59:20 +0000 (10:59 -0400)]
Fail with an exception when loading the value of field of a broken class. Fixes #11362

* object.c (mono_field_get_value_object): If the field belongs to a class with a broken
vtable, lets raise an exception instead of printing a message and returning NULL.

Fixes #11362

11 years ago[HttpWebRequest] Assertion message nitpicks in new timeout tests
Andres G. Aragoneses [Thu, 16 May 2013 23:48:10 +0000 (00:48 +0100)]
[HttpWebRequest] Assertion message nitpicks in new timeout tests

The timeout tests I added recently* had a missing assertion message and
one with a couple of typos.

* https://github.com/mono/mono/commit/96be7828510a1fb14dab07eed1e93dc1a3a7dd84

11 years ago[mono-service] log service name when reporting ExitCode != 0
Andres G. Aragoneses [Thu, 16 May 2013 23:27:55 +0000 (00:27 +0100)]
[mono-service] log service name when reporting ExitCode != 0

This nitpick was forgotten in this commit:
https://github.com/mono/mono/commit/4b3e9b3874334a55a9de3534f298ddbe891d94bd

11 years agoRemap printf to g_print in the Mini code on Android.
Alex Rønne Petersen [Thu, 16 May 2013 22:01:50 +0000 (00:01 +0200)]
Remap printf to g_print in the Mini code on Android.

11 years agoRevert "Replace (f)printf with g_print(err) in method-to-ir.c, mini-arm.c, mini.c"
Alex Rønne Petersen [Thu, 16 May 2013 21:59:09 +0000 (23:59 +0200)]
Revert "Replace (f)printf with g_print(err) in method-to-ir.c, mini-arm.c, mini.c"

This reverts commit 26ffc615bf26f18e8dd9dc34889b219cdf3585ec.

11 years agoReplace (f)printf with g_print(err) in method-to-ir.c, mini-arm.c, mini.c
Alex Rønne Petersen [Thu, 16 May 2013 20:51:39 +0000 (22:51 +0200)]
Replace (f)printf with g_print(err) in method-to-ir.c, mini-arm.c, mini.c

11 years agoFix copy-paste typo (encryptionAlgorithm vs decryptionAlgorithm) in my last CipherSui...
Sebastien Pouliot [Thu, 16 May 2013 20:06:55 +0000 (16:06 -0400)]
Fix copy-paste typo (encryptionAlgorithm vs decryptionAlgorithm) in my last CipherSuite.cs change

11 years agorevert my 2 last commits
Radek Doulik [Thu, 16 May 2013 15:27:57 +0000 (17:27 +0200)]
revert my 2 last commits

        Revert "add System.Net.Http.Formatting to monodroid build"
        Revert "added System.Configuration and System.Security to monodroid build to fix it"

        This reverts commit 85cb9e31763e14f55ab60554a68e8f8b899dd6a3 and
                     commit 6566273367f79b1f928a921cddfe05db4d622e1e.

11 years agoPrefer using AES over Rijndael in newer profiles. SSL/TLS does not need the extra...
Sebastien Pouliot [Wed, 15 May 2013 21:17:22 +0000 (17:17 -0400)]
Prefer using AES over Rijndael in newer profiles. SSL/TLS does not need the extra block size and some platforms (e.g. iOS) have a much better implementation for AES

11 years agoMerge pull request #637 from LogosBible/enetdown
Alex Rønne Petersen [Thu, 16 May 2013 11:57:08 +0000 (04:57 -0700)]
Merge pull request #637 from LogosBible/enetdown

Handle ENETDOWN error if defined.

11 years agoMerge pull request #638 from directhex/master
Alex Rønne Petersen [Thu, 16 May 2013 11:56:43 +0000 (04:56 -0700)]
Merge pull request #638 from directhex/master

Ensure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it

11 years agoEnsure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it
Jo Shields [Thu, 16 May 2013 11:10:55 +0000 (12:10 +0100)]
Ensure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it

Prior to 38348361dadd5d9e8a1721ecd3ea31b01952d1e7, the mono/X.X folders
were created when "gacutil /i foo.dll /package X.X" was called. However,
The above commit caused a call to $(INSTALL_DATA) to be executed *before*
gacutil, which caused a copy of Microsoft.Common.targets to be installed
as a file named mono/3.5 instead of into the mono/3.5 folder, on fresh
installs (not a problem installing into an existing prefix).

This commit forces creation of the folder which could potentially not
have been created yet by gacutil.

11 years agoCorrect list of EXTRA_DISTFILES
Jo Shields [Thu, 16 May 2013 11:06:38 +0000 (12:06 +0100)]
Correct list of EXTRA_DISTFILES

EXTRA_DISTFILES is used for tarball generation, it should be a list of files which actually exist

11 years agoadded System.Configuration and System.Security to monodroid build to fix it
Radek Doulik [Thu, 16 May 2013 10:16:47 +0000 (12:16 +0200)]
added System.Configuration and System.Security to monodroid build to fix it

11 years agoIf the TP monitor thread is signaled, bound the number of spins when sleeping. Workar...
Rodrigo Kumpera [Thu, 16 May 2013 02:28:04 +0000 (22:28 -0400)]
If the TP monitor thread is signaled, bound the number of spins when sleeping. Workaround for #8186.

11 years agoFor HMAC avoid using the hash names to create instances (since it bring CryptoConfig...
Sebastien Pouliot [Wed, 15 May 2013 20:36:54 +0000 (16:36 -0400)]
For HMAC avoid using the hash names to create instances (since it bring CryptoConfig) when under FULL_AOT_RUNTIME. Also simplify the 'legacy' support for 384/512

11 years agoDo not require an exception to detect if SHA1 is used.
Sebastien Pouliot [Wed, 15 May 2013 20:29:44 +0000 (16:29 -0400)]
Do not require an exception to detect if SHA1 is used.

11 years agoAvoid calling TripleDES.Create(string), which calls CryptoConfig, when possible ...
Sebastien Pouliot [Wed, 15 May 2013 20:25:59 +0000 (16:25 -0400)]
Avoid calling TripleDES.Create(string), which calls CryptoConfig, when possible (e.g. from the default .ctor) since it makes linked applications smaller

11 years agoadd System.Net.Http.Formatting to monodroid build
Radek Doulik [Wed, 15 May 2013 20:17:33 +0000 (22:17 +0200)]
add System.Net.Http.Formatting to monodroid build

 - changed the Create method with FileOptions to not depend on FileSecurity
   to avoid dragging System.Security assembly in monodroid build as well

11 years agoMake sure we release memory for the runtime generated backtraces.
Rodrigo Kumpera [Wed, 15 May 2013 20:16:58 +0000 (16:16 -0400)]
Make sure we release memory for the runtime generated backtraces.

11 years agoMake sure we can properly suspend the main thread on Android. Fixes #12112.
Rodrigo Kumpera [Wed, 15 May 2013 19:55:16 +0000 (15:55 -0400)]
Make sure we can properly suspend the main thread on Android. Fixes #12112.

* sgen-os-posix.c (sgen_thread_handshake): Never never never never never
use pthread_kill on Android as it doesn't work with the main thread.

This resulted in all sorts of fringe crashes in #12112.

11 years agoEnable partial generic sharing by default.
Zoltan Varga [Wed, 15 May 2013 18:11:34 +0000 (20:11 +0200)]
Enable partial generic sharing by default.

11 years agoDisable the gsharedvt optimizatiom in AOT if it is not supported by the platform.
Zoltan Varga [Wed, 15 May 2013 17:01:08 +0000 (19:01 +0200)]
Disable the gsharedvt optimizatiom in AOT if it is not supported by the platform.

11 years agoShorten some gshared function names.
Zoltan Varga [Wed, 15 May 2013 16:28:24 +0000 (18:28 +0200)]
Shorten some gshared function names.

11 years agoAdd partial sharing support to AOT.
Zoltan Varga [Wed, 15 May 2013 16:26:32 +0000 (18:26 +0200)]
Add partial sharing support to AOT.

11 years agoHandle ENETDOWN error if defined.
Tom Philpot [Tue, 23 Apr 2013 21:10:06 +0000 (14:10 -0700)]
Handle ENETDOWN error if defined.

11 years agoDisable a corlib test which can fail on some systems.
Zoltan Varga [Wed, 15 May 2013 00:46:24 +0000 (02:46 +0200)]
Disable a corlib test which can fail on some systems.

11 years agoClean up the partial generic sharing code a bit.
Zoltan Varga [Wed, 15 May 2013 00:11:42 +0000 (02:11 +0200)]
Clean up the partial generic sharing code a bit.

11 years ago[xbuild]: Define TargetingClr2Framework.
Martin Baulig [Tue, 14 May 2013 22:51:23 +0000 (00:51 +0200)]
[xbuild]: Define TargetingClr2Framework.

11 years ago[xbuild]: Fix 4.0/4.5 repo layout.
Martin Baulig [Tue, 14 May 2013 22:24:31 +0000 (00:24 +0200)]
[xbuild]: Fix 4.0/4.5 repo layout.

4.0/Microsoft.Common.* was not installed anywhere, so it could safely
be deleted, and 4.5/M.C.* was previously being installed into
$(prefix)/lib/mono/4.0.  It's now in 4.0/M.C.* to match xbuild's
tool version.

This patch does not affect how things are installed, it simply cleans
up the source layout.

11 years agoSimply logic a bit when SslClientStream is only used from inside System.dll
Sebastien Pouliot [Tue, 14 May 2013 12:37:31 +0000 (08:37 -0400)]
Simply logic a bit when SslClientStream is only used from inside System.dll

11 years agoSpace/tabs unification
Sebastien Pouliot [Tue, 14 May 2013 12:23:59 +0000 (08:23 -0400)]
Space/tabs unification

11 years agoUse the native unwinder when Exception::ToString throws.
Rodrigo Kumpera [Tue, 14 May 2013 18:18:28 +0000 (14:18 -0400)]
Use the native unwinder when Exception::ToString throws.

* exception.c: Add mono_exception_get_managed_backtrace so the code that
deals with unhandled exceptions can produce some stacktrace in case
Exception::ToString itself produces another exception.

This can happen under multiple situations, be it OOM, heap corruption or
bugs in ToString ().

11 years agoImprove the size of the arm SEQ_POINT implementation a bit.
Zoltan Varga [Tue, 14 May 2013 17:43:47 +0000 (19:43 +0200)]
Improve the size of the arm SEQ_POINT implementation a bit.

11 years ago[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)
Andres G. Aragoneses [Tue, 14 May 2013 16:47:40 +0000 (17:47 +0100)]
[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)

System.Web.ConfigurationManager had a cache which didn't have any max limit,
therefore when using Restful URIs in ASP.NET (like having some variable
parameter in the virtual path, i.e. /user/{userId}/tracks, where {userId}
is a variable Integer) this was very likely to cause a leak which would
end up causing troubles, like an InvalidCastException thrown by
HttpApplication::PreStart()

(Read operations in the cache now cause a write operation on the cache
object, so all sectionCache lock-read usages are converted to lock-write.)

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

11 years agoEnable hw division/remainder on mt in non-thumb mode as well.
Zoltan Varga [Tue, 14 May 2013 16:27:32 +0000 (18:27 +0200)]
Enable hw division/remainder on mt in non-thumb mode as well.

11 years ago[man] update Mono version from "2.11" to "3.0"
Andres G. Aragoneses [Tue, 14 May 2013 16:06:39 +0000 (17:06 +0100)]
[man] update Mono version from "2.11" to "3.0"

11 years agoAdd a missing IS_VFP check for OP_FCLT in the ARM back end.
Alex Rønne Petersen [Tue, 14 May 2013 01:13:48 +0000 (03:13 +0200)]
Add a missing IS_VFP check for OP_FCLT in the ARM back end.

11 years agoRemove an unused variable in verify.c.
Alex Rønne Petersen [Tue, 14 May 2013 01:10:58 +0000 (03:10 +0200)]
Remove an unused variable in verify.c.

11 years agoKill support for the ancient FPA format on ARM.
Alex Rønne Petersen [Tue, 14 May 2013 01:10:43 +0000 (03:10 +0200)]
Kill support for the ancient FPA format on ARM.

11 years agoEnable hw division on armv7s in ARM mode too.
Zoltan Varga [Tue, 14 May 2013 00:37:17 +0000 (02:37 +0200)]
Enable hw division on armv7s in ARM mode too.

11 years agoFix the build.
Zoltan Varga [Mon, 13 May 2013 22:25:11 +0000 (00:25 +0200)]
Fix the build.

11 years agoFix thumb support in 36b9052157da87809210eb3cb00b9c5a8af03823.
Zoltan Varga [Mon, 13 May 2013 20:06:19 +0000 (22:06 +0200)]
Fix thumb support in 36b9052157da87809210eb3cb00b9c5a8af03823.

11 years agoRework the way AOT method addresses are obtained on ios. Instead of emitting direct...
Zoltan Varga [Mon, 13 May 2013 18:35:19 +0000 (20:35 +0200)]
Rework the way AOT method addresses are obtained on ios. Instead of emitting direct method addresses, emit a table of branches to the methods. This is position-independent, and it is easier for the linker to handle. Hopefully fixes #12143.

11 years agoAdd regression test for bug #10392.
Rodrigo Kumpera [Thu, 2 May 2013 11:03:26 +0000 (07:03 -0400)]
Add regression test for bug #10392.

11 years agoDon't try to merge interfaces between to non-interface types. Fixes #10392.
Rodrigo Kumpera [Thu, 2 May 2013 10:59:26 +0000 (06:59 -0400)]
Don't try to merge interfaces between to non-interface types. Fixes #10392.

MCS used to emit code that would merge two stacks only by one of the interfaces
that two concrete types have.

This is not the behavior on either the SPEC or the MS implementation. It's not
a great one as the selected interface is non-deterministic, while the a parent is.

11 years agoAllow compiling SSL/TLS and NTLM support directly into System.dll to avoid a dependen...
Sebastien Pouliot [Mon, 13 May 2013 15:09:35 +0000 (11:09 -0400)]
Allow compiling SSL/TLS and NTLM support directly into System.dll to avoid a dependency (on Mono.Security assembly) and avoid code duplication (with mscorlib.dll)

11 years agoReduce the number of intermediate calls to allow the linker to remove mode code
Sebastien Pouliot [Fri, 10 May 2013 21:49:23 +0000 (17:49 -0400)]
Reduce the number of intermediate calls to allow the linker to remove mode code

11 years agoDo not bring Win32 or Linux specific code for iOS NetworkInterface
Sebastien Pouliot [Fri, 10 May 2013 14:02:01 +0000 (10:02 -0400)]
Do not bring Win32 or Linux specific code for iOS NetworkInterface

11 years agoMake the checks done to detect unhandled exceptions in async invokes more precise...
Zoltan Varga [Mon, 13 May 2013 14:28:32 +0000 (16:28 +0200)]
Make the checks done to detect unhandled exceptions in async invokes more precise so they don't trigger for other calls to mono_runtime_invoke (). Fixes #3338.

11 years agoUpdate .gitignore.
Zoltan Varga [Mon, 13 May 2013 02:29:20 +0000 (04:29 +0200)]
Update .gitignore.

11 years agoBump the AOT file format version because of ad141a8b7bda47c3ce28ba210975157e19175eb2.
Zoltan Varga [Sat, 11 May 2013 13:33:12 +0000 (15:33 +0200)]
Bump the AOT file format version because of ad141a8b7bda47c3ce28ba210975157e19175eb2.

11 years agoUse FULL_AOT_RUNTIME instead of MONOTOUCH since we only want this code when running...
Sebastien Pouliot [Fri, 10 May 2013 00:15:46 +0000 (20:15 -0400)]
Use FULL_AOT_RUNTIME instead of MONOTOUCH since we only want this code when running on iOS (simulator or devices) and *not* when running tools (e.g. btouch #12179) that needs to use the mscorlib.dll shipped with Xamarin.iOS.

11 years agoAdd stubs for a remoting icall instead of removing it.
Zoltan Varga [Thu, 9 May 2013 21:38:39 +0000 (23:38 +0200)]
Add stubs for a remoting icall instead of removing it.

11 years ago[monodoc] Add missing legacy GetTitle method
Jérémie Laval [Thu, 9 May 2013 20:56:15 +0000 (16:56 -0400)]
[monodoc] Add missing legacy GetTitle method

11 years ago[monodoc] Add forgotten test file
Jérémie Laval [Thu, 9 May 2013 20:55:44 +0000 (16:55 -0400)]
[monodoc] Add forgotten test file

11 years agoAvoid using a different layout for the MonoAotFileInfo structure on mt.
Zoltan Varga [Thu, 9 May 2013 20:05:03 +0000 (22:05 +0200)]
Avoid using a different layout for the MonoAotFileInfo structure on mt.

11 years agogcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
Neale Ferguson [Thu, 9 May 2013 19:42:58 +0000 (15:42 -0400)]
gcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
mini-s390x.c - Add profiling support to prolog/epilog instrumentation

11 years agoDisable parallel compression in mkbundle again, it still doesn't seem to work, the...
Zoltan Varga [Thu, 9 May 2013 16:58:26 +0000 (18:58 +0200)]
Disable parallel compression in mkbundle again, it still doesn't seem to work, the resulting executable reports 'Error 2 decompressing data'.

11 years ago[monodoc] Disable usage of HtmlAgilityPack in tests since the concerned ones are...
Jérémie Laval [Thu, 9 May 2013 16:32:38 +0000 (12:32 -0400)]
[monodoc] Disable usage of HtmlAgilityPack in tests since the concerned ones are disabled. Hopefully make them run again on the bots.

11 years agoFix a typo.
Zoltan Varga [Thu, 9 May 2013 16:19:00 +0000 (18:19 +0200)]
Fix a typo.