mono.git
11 years agoPass more defines in config.h instead of on the command line. Pass libgc defines...
Zoltan Varga [Thu, 30 May 2013 08:59:05 +0000 (10:59 +0200)]
Pass more defines in config.h instead of on the command line. Pass libgc defines to libgc only.

11 years agoDisable locking around archive accesses in libtool on darwin, it doesn't seem to...
Zoltan Varga [Thu, 30 May 2013 05:58:27 +0000 (07:58 +0200)]
Disable locking around archive accesses in libtool on darwin, it doesn't seem to be necessary and it slows down parallel builds.

11 years agoEnable dolt on ios builds.
Zoltan Varga [Thu, 30 May 2013 05:57:04 +0000 (07:57 +0200)]
Enable dolt on ios builds.

11 years agoRemove the #ifdef HAVE_SGEN_GC dependency from main.c by using a separate main-sgen...
Zoltan Varga [Thu, 30 May 2013 03:15:18 +0000 (05:15 +0200)]
Remove the #ifdef HAVE_SGEN_GC dependency from main.c by using a separate main-sgen.c file for sgen.

11 years agoFix a warning.
Zoltan Varga [Thu, 30 May 2013 03:13:43 +0000 (05:13 +0200)]
Fix a warning.

11 years agoAvoid putting a duplicate -arch i386 into CPPFLAGS, it prevents ccache from working.
Zoltan Varga [Thu, 30 May 2013 03:13:33 +0000 (05:13 +0200)]
Avoid putting a duplicate -arch i386 into CPPFLAGS, it prevents ccache from working.

11 years agoUse gsharedvt for some generic instances in full-aot mode to avoid code blowup.
Zoltan Varga [Wed, 29 May 2013 08:12:37 +0000 (10:12 +0200)]
Use gsharedvt for some generic instances in full-aot mode to avoid code blowup.

11 years agoMove the adding of unbox trampolines to mini_add_method_trampoline ().
Zoltan Varga [Thu, 30 May 2013 00:44:00 +0000 (02:44 +0200)]
Move the adding of unbox trampolines to mini_add_method_trampoline ().

11 years ago[ios] Allow some level of configuration when CryptoConfig is used (as a last resort...
Sebastien Pouliot [Wed, 29 May 2013 20:52:50 +0000 (16:52 -0400)]
[ios] Allow some level of configuration when CryptoConfig is used (as a last resort fallback)

11 years agoRemove MOBILE defines inside X509Chain tests
Sebastien Pouliot [Wed, 29 May 2013 18:54:53 +0000 (14:54 -0400)]
Remove MOBILE defines inside X509Chain tests

11 years ago[mdoc] Fix unit tests.
Jonathan Pryor [Wed, 29 May 2013 15:53:22 +0000 (11:53 -0400)]
[mdoc] Fix unit tests.

3d3fe6af (among other commits...) "broke" the `mdoc` unit tests, as it
did two things:

 1. It added a new codepath calling string.Format(), thus introducing
    a new set of exceptions.
 2. Due to an `mdoc` bug, (1) resulted in a stack overflow on OS X.

(1) demonstrates that the mdoc unit tests might be too brittle.

(2) was fixed in 04bf9ad.

The problem with 04bf9ad, though, is that it resulted in a gigantic
~212MB diff, because while the recursion was "fixed", we could still
process the same method multiple times, resulting in _lots_ of
duplication, e.g. System.String.get_Chars() would be repeated hundreds
of times for a given exception.

Improve the source reporting mechanism so that instead of a
List<MemberReference> we use a HashSet<MemberReference>, listing each
source location _once_ instead of repeating them.

The _formatting_ of the <exception/> element is also changed so that
each source location is on its own line, making it easier to read and
review the locations.

11 years agoUse a different function for emitting write barriers for gsharedvt types which can...
Zoltan Varga [Wed, 29 May 2013 14:26:56 +0000 (16:26 +0200)]
Use a different function for emitting write barriers for gsharedvt types which can handle reference types too. Fixes #12429.

11 years agoAvoid calling alloc wrappers directly, sgen does some initialization when the wrapper...
Zoltan Varga [Wed, 29 May 2013 14:26:02 +0000 (16:26 +0200)]
Avoid calling alloc wrappers directly, sgen does some initialization when the wrapper method is created.

11 years ago[mdoc] Fix export-msxdoc regression, updated expected output.
Jonathan Pryor [Wed, 29 May 2013 10:45:12 +0000 (06:45 -0400)]
[mdoc] Fix export-msxdoc regression, updated expected output.

Commit 44b2b4a8 completely broke `mdoc export-msxdoc` because
EcmaDoc.GetCref() was removed. Expected:

<member name="C:Mono.DocTest.DocAttribute(System.String)">

Actual:

<member name="Mono.DocTest.DocAttribute..ctor">

i.e. useless.

The fix: bring back GetCref(), this time within monodocs2slashdoc.cs.

Commit 0ad6ffde changed the HTML-generating stylesheet and moved some
@id attributes around, thus breaking the mdoc unit tests (expected
output likewise changed). Fix the monodoc XSLTs so that we don't emit
id="" attributes (id's with no value).

Update mdoc's expected output so that tests pass[*].

[*]: tests will NOT actually pass, as 04bf9add -- attempted fix for
an OS X stackoverflow caused by 3d3fe6af -- results in a gigantic
216MB diff because String.get_Chars() is repeated over and over and
over... The updated expected output in this commit is the "ideal"
update needed after locally reverting 3d3fe6af and 04bf9add.)

11 years agoEnable fixed tests
Marek Safar [Wed, 29 May 2013 09:04:17 +0000 (11:04 +0200)]
Enable fixed tests

11 years agoRun YieldAwaitable tests on default synchronization context. Fixes #12446
Marek Safar [Wed, 29 May 2013 09:02:00 +0000 (11:02 +0200)]
Run YieldAwaitable tests on default synchronization context. Fixes #12446

11 years agoRevert "Use gsharedvt for some generic instances in full-aot mode to avoid code blowup."
Zoltan Varga [Wed, 29 May 2013 08:51:12 +0000 (10:51 +0200)]
Revert "Use gsharedvt for some generic instances in full-aot mode to avoid code blowup."

This reverts commit 9f36e10b1b87e53335d3dbcea1e570b4d16ea0f4.

Revert this as it breaks some mt tests.

11 years agoUse gsharedvt for some generic instances in full-aot mode to avoid code blowup.
Zoltan Varga [Wed, 29 May 2013 08:12:37 +0000 (10:12 +0200)]
Use gsharedvt for some generic instances in full-aot mode to avoid code blowup.

11 years agoAdd support for constrained calls to Object.Equals to gsharedvt.
Zoltan Varga [Wed, 29 May 2013 07:53:42 +0000 (09:53 +0200)]
Add support for constrained calls to Object.Equals to gsharedvt.

11 years agoDisable some YieldAwaitable tests on MT.
Zoltan Varga [Wed, 29 May 2013 04:41:11 +0000 (06:41 +0200)]
Disable some YieldAwaitable tests on MT.

11 years agoChange code to more linker friendly ways to create MD5 and X509Chain and allow, for...
Sebastien Pouliot [Wed, 29 May 2013 01:09:06 +0000 (21:09 -0400)]
Change code to more linker friendly ways to create MD5 and X509Chain and allow, for iOS, the creation of X509Chain without requiring CryptoConfig

11 years agoRefactor the Mono.Security code to use more linker friendly ways to create hash algor...
Sebastien Pouliot [Wed, 29 May 2013 00:11:46 +0000 (20:11 -0400)]
Refactor the Mono.Security code to use more linker friendly ways to create hash algorithms

11 years agoAvoid direct recursion when computing the exceptions of a method.
Rodrigo Kumpera [Wed, 29 May 2013 00:03:52 +0000 (20:03 -0400)]
Avoid direct recursion when computing the exceptions of a method.

* exceptions.cs: When Filling the exceptions of a method make sure
to not recurse on the methods itself as this can lead to a stackoverflow.

11 years ago[ios] Add, as a last resort, the creation of the hash based on it's type name. Needed...
Sebastien Pouliot [Tue, 28 May 2013 23:35:12 +0000 (19:35 -0400)]
[ios] Add, as a last resort, the creation of the hash based on it's type name. Needed for some API (which provides it) and the associated unit tests

11 years agoUpdate failing mobile test
Marek Safar [Tue, 28 May 2013 18:34:32 +0000 (20:34 +0200)]
Update failing mobile test

11 years agoFix 2.0 corlib test suite.
Rodrigo Kumpera [Tue, 28 May 2013 18:00:09 +0000 (14:00 -0400)]
Fix 2.0 corlib test suite.

11 years agoOlder versions of iOS don't have pthread_mutexattr_setpolicy_np so dynamically look...
Rodrigo Kumpera [Tue, 28 May 2013 17:37:53 +0000 (13:37 -0400)]
Older versions of iOS don't have pthread_mutexattr_setpolicy_np so dynamically look up the function and fallback on failure. Fixes #12394

11 years agoFix support for dynamic methods in collect_method_images (). Fixes #12412.
Zoltan Varga [Tue, 28 May 2013 16:15:07 +0000 (18:15 +0200)]
Fix support for dynamic methods in collect_method_images (). Fixes #12412.

11 years agoKeep cancellation token for all running requests. Fixes #12349
Marek Safar [Tue, 28 May 2013 09:11:59 +0000 (11:11 +0200)]
Keep cancellation token for all running requests. Fixes #12349

11 years agoUpdated CryptoConvert.cs path
Marek Safar [Tue, 28 May 2013 09:10:44 +0000 (11:10 +0200)]
Updated CryptoConvert.cs path

11 years agoResolve unreachable block with correct flow settings. Fixes #12361
Marek Safar [Tue, 28 May 2013 09:08:07 +0000 (11:08 +0200)]
Resolve unreachable block with correct flow settings. Fixes #12361

11 years agoFix a reading of invalid memory error introduced by 3f3092b4776a554abcf13f698a488adf7...
Zoltan Varga [Tue, 28 May 2013 02:23:33 +0000 (04:23 +0200)]
Fix a reading of invalid memory error introduced by 3f3092b4776a554abcf13f698a488adf749bba57.

11 years agoMerge pull request #647 from knocte/aspnet_lru
Marek Habersack [Mon, 27 May 2013 20:36:05 +0000 (13:36 -0700)]
Merge pull request #647 from knocte/aspnet_lru

[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)

11 years ago[System.Web] Improve locking logic for WebConfigManager's sectionCache
Andres G. Aragoneses [Mon, 27 May 2013 20:27:33 +0000 (21:27 +0100)]
[System.Web] Improve locking logic for WebConfigManager's sectionCache

As suggested by Marek Habersack, instead of catching
SynchronizationLockException in the case that the lock wasn't
acquired, we now have a boolean that indicates if it was
acquired or not, so we can act on it on the finally{} block.

11 years agoBump ikvm to f66ae58 to recognize PCL Facade Assemblies.
Martin Baulig [Mon, 27 May 2013 18:03:31 +0000 (20:03 +0200)]
Bump ikvm to f66ae58 to recognize PCL Facade Assemblies.

11 years ago[xbuild]: Remove duplicates from 'TargetFrameworkDirectory'.
Martin Baulig [Mon, 27 May 2013 15:41:13 +0000 (17:41 +0200)]
[xbuild]: Remove duplicates from 'TargetFrameworkDirectory'.

11 years ago[WebConnection]: Fix incorrect end-of-stream with null callback.
Martin Baulig [Sat, 25 May 2013 15:44:28 +0000 (17:44 +0200)]
[WebConnection]: Fix incorrect end-of-stream with null callback.

This fixes #12355/#12395/#5904.

When EndRead() is called with a null "inner" IAsyncResult, then
we should not consider this as an end-of-stream condition.

This happens sometimes when using SSL and chunked encoding.

11 years agoAdd more argument checks to RegisterWaitForSingleObject
Marek Safar [Sat, 25 May 2013 08:21:56 +0000 (10:21 +0200)]
Add more argument checks to RegisterWaitForSingleObject

11 years agoMerge pull request #648 from DavidKarlas/defaultDependcyObject
Marek Safar [Sat, 25 May 2013 06:57:57 +0000 (23:57 -0700)]
Merge pull request #648 from DavidKarlas/defaultDependcyObject

DependencyObject default value

11 years agoforgot to add new source to .sources.
Atsushi Eno [Fri, 24 May 2013 23:02:46 +0000 (08:02 +0900)]
forgot to add new source to .sources.

11 years ago[xbuild]: Fix conditions for <ItemGroup> inside <Target>.
Martin Baulig [Fri, 24 May 2013 22:41:20 +0000 (00:41 +0200)]
[xbuild]: Fix conditions for <ItemGroup> inside <Target>.

11 years agoUse IKVM.Reflection to fully avoid reflection+mscorlib issues.
Atsushi Eno [Fri, 24 May 2013 22:09:05 +0000 (07:09 +0900)]
Use IKVM.Reflection to fully avoid reflection+mscorlib issues.

11 years agoMerge some Nacl/ARM changes from https://github.com/igotti-google/mono/commit/65d8d68...
Zoltan Varga [Fri, 24 May 2013 21:41:39 +0000 (23:41 +0200)]
Merge some Nacl/ARM changes from https://github.com/igotti-google/mono/commit/65d8d68e8c81cf6adb1076de7a9425c84cab86a3.

11 years ago[PCL]: Add missing type-forwarder for System.String to System.Runtime.
Martin Baulig [Fri, 24 May 2013 21:20:31 +0000 (23:20 +0200)]
[PCL]: Add missing type-forwarder for System.String to System.Runtime.

11 years ago[sdb] Fix race condition on test program that would cause a hang when running on...
Rodrigo Kumpera [Fri, 24 May 2013 19:47:37 +0000 (15:47 -0400)]
[sdb] Fix race condition on test program that would cause a hang when running on wrench.

11 years agothe previous change was #fail, the string constants were regarded as preprocessor...
Atsushi Eno [Fri, 24 May 2013 19:31:19 +0000 (04:31 +0900)]
the previous change was #fail, the string constants were regarded as preprocessor directives.

11 years agoadd include-less build for XamAndroid.
Atsushi Eno [Fri, 24 May 2013 19:28:19 +0000 (04:28 +0900)]
add include-less build for XamAndroid.

11 years agoPut back the tests, we were trying to track down the regressions
Miguel de Icaza [Fri, 24 May 2013 19:20:50 +0000 (15:20 -0400)]
Put back the tests, we were trying to track down the regressions

11 years agoDocument --break with generic methods
Miguel de Icaza [Wed, 8 May 2013 18:00:54 +0000 (14:00 -0400)]
Document --break with generic methods

11 years agoDependencyProperty of DependencyObject was trowing KeyNotFound exception instead...
David Karlaš [Fri, 24 May 2013 18:53:17 +0000 (20:53 +0200)]
DependencyProperty of DependencyObject was trowing KeyNotFound exception instead of default value

11 years ago[System.Drawing]: Disable more broken tests.
Martin Baulig [Fri, 24 May 2013 18:16:04 +0000 (20:16 +0200)]
[System.Drawing]: Disable more broken tests.

11 years agoRefactor the [D|R]SACryptoServiceProvider constructors so it's possible for the linke...
Sebastien Pouliot [Fri, 24 May 2013 14:30:45 +0000 (10:30 -0400)]
Refactor the [D|R]SACryptoServiceProvider constructors so it's possible for the linker to remove the dependency on the XML parser when CspParameters are not used (saves 42KB)

11 years agoAdd some missing MSBuild project model evaluation members.
Atsushi Eno [Fri, 24 May 2013 02:54:40 +0000 (11:54 +0900)]
Add some missing MSBuild project model evaluation members.

11 years agoAdd missing MSBuild Framework interface.
Atsushi Eno [Fri, 24 May 2013 02:24:26 +0000 (11:24 +0900)]
Add missing MSBuild Framework interface.

11 years ago[System.Drawing]: Disable broken tests.
Martin Baulig [Fri, 24 May 2013 00:28:24 +0000 (02:28 +0200)]
[System.Drawing]: Disable broken tests.

11 years agoAdd Microsoft.Portable.CSharp.targets to the .spec file.
Martin Baulig [Thu, 23 May 2013 23:59:10 +0000 (01:59 +0200)]
Add Microsoft.Portable.CSharp.targets to the .spec file.

11 years ago[xbuild]: Implicitly expand PCL2 facade assemblies.
Martin Baulig [Tue, 21 May 2013 16:39:54 +0000 (18:39 +0200)]
[xbuild]: Implicitly expand PCL2 facade assemblies.

* GetReferenceAssemblyPaths: return the reference assemblies for the
  requested PCL profile.

* ResolveAssemblyReference: always include System.Runtime as a
  dependency; the .targets check for this to determine whether
  we're a PCL2 library.

11 years ago[xbuild]: Provide a real Microsoft.Portable.CSharp.targets
Martin Baulig [Tue, 21 May 2013 16:38:57 +0000 (18:38 +0200)]
[xbuild]: Provide a real Microsoft.Portable.CSharp.targets

11 years ago[xbuild]: Fix reference assembly path.
Martin Baulig [Tue, 14 May 2013 23:50:07 +0000 (01:50 +0200)]
[xbuild]: Fix reference assembly path.

11 years agoShare a bit more code wrt OID/hash so X.509 CRL can use any of them (like the certifi...
Sebastien Pouliot [Thu, 23 May 2013 19:18:52 +0000 (15:18 -0400)]
Share a bit more code wrt OID/hash so X.509 CRL can use any of them (like the certificates) and make the code a little bit more linker friendly

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