mono.git
11 years agoAdded CreateNLSocket stub for non-linux platforms
Marek Habersack [Wed, 20 Mar 2013 00:38:07 +0000 (01:38 +0100)]
Added CreateNLSocket stub for non-linux platforms

11 years agoDo not assume the unit tests can write in the application directory (e.g. iOS devices).
Sebastien Pouliot [Tue, 19 Mar 2013 19:04:49 +0000 (15:04 -0400)]
Do not assume the unit tests can write in the application directory (e.g. iOS devices).

11 years agoDisable CAS permission tests for MOBILE profile
Sebastien Pouliot [Tue, 19 Mar 2013 19:04:09 +0000 (15:04 -0400)]
Disable CAS permission tests for MOBILE profile

11 years agoEnsure the linker does not remove some types needed (thru reflection) for some test...
Sebastien Pouliot [Tue, 19 Mar 2013 18:06:45 +0000 (14:06 -0400)]
Ensure the linker does not remove some types needed (thru reflection) for some test cases to work

11 years agoFix expansion of imported generic interfaces implementing imported types. Fixes ...
Marek Safar [Tue, 19 Mar 2013 17:27:17 +0000 (18:27 +0100)]
Fix expansion of imported generic interfaces implementing imported types. Fixes #11241

11 years agoMerge branch 'feature-free-32'
Mark Probst [Tue, 19 Mar 2013 17:09:55 +0000 (10:09 -0700)]
Merge branch 'feature-free-32'

11 years ago[sgen] Statistics for 32 bit freeing.
Mark Probst [Mon, 18 Mar 2013 22:51:57 +0000 (15:51 -0700)]
[sgen] Statistics for 32 bit freeing.

11 years ago[sgen] While iterating over empty block array, compact it.
Mark Probst [Fri, 15 Mar 2013 22:45:46 +0000 (15:45 -0700)]
[sgen] While iterating over empty block array, compact it.

11 years ago[sgen] Try allocating M&S blocks in smaller contingents in case of failure.
Mark Probst [Fri, 15 Mar 2013 19:37:40 +0000 (12:37 -0700)]
[sgen] Try allocating M&S blocks in smaller contingents in case of failure.

This might happen when the address space fragments.  If it happens due to
OOM, we're probably lost anyway.

11 years ago[sgen] Free contiguous blocks on 32 bit archs.
Mark Probst [Fri, 15 Mar 2013 17:59:56 +0000 (10:59 -0700)]
[sgen] Free contiguous blocks on 32 bit archs.

11 years agoFix parsing decimal values used with integral numbers. Fixes #9090
Marek Safar [Tue, 19 Mar 2013 11:25:24 +0000 (12:25 +0100)]
Fix parsing decimal values used with integral numbers. Fixes #9090

11 years agoUse /bin/bash instead of /bin/sh in autogen.sh.
alexrp [Tue, 19 Mar 2013 04:17:54 +0000 (05:17 +0100)]
Use /bin/bash instead of /bin/sh in autogen.sh.

11 years agoDo not assume the unit tests can write in the application directory (e.g. iOS devices)
Sebastien Pouliot [Tue, 19 Mar 2013 01:30:47 +0000 (21:30 -0400)]
Do not assume the unit tests can write in the application directory (e.g. iOS devices)

11 years agoDisable CAS permission tests for MOBILE profile
Sebastien Pouliot [Tue, 19 Mar 2013 01:30:29 +0000 (21:30 -0400)]
Disable CAS permission tests for MOBILE profile

11 years agoDo not assume the unit tests can write in the application directory (e.g. iOS devices...
Sebastien Pouliot [Mon, 18 Mar 2013 21:38:01 +0000 (17:38 -0400)]
Do not assume the unit tests can write in the application directory (e.g. iOS devices). Use the temporary directory and open files in read-only

11 years agoParallelize the compression in mkbundle.
Zoltan Varga [Mon, 18 Mar 2013 18:54:27 +0000 (19:54 +0100)]
Parallelize the compression in mkbundle.

11 years agoReturn null for AppDomain.Evidence so API accepting this type won't fail (as the...
Sebastien Pouliot [Mon, 18 Mar 2013 18:07:10 +0000 (14:07 -0400)]
Return null for AppDomain.Evidence so API accepting this type won't fail (as the type is linked away) when using AppDomain.CurrentDomain.Evidence as an argument. Fix more than 20 System.Xml unit tests on iOS devices

11 years agoAdd localized infinity symbols. Fixes #9052
Marek Safar [Mon, 18 Mar 2013 13:57:57 +0000 (14:57 +0100)]
Add localized infinity symbols. Fixes #9052

11 years agoUse curl instead of wget
Marek Safar [Mon, 18 Mar 2013 13:57:25 +0000 (14:57 +0100)]
Use curl instead of wget

11 years agoFully resolve extension method argument. Fixes #11213
Marek Safar [Mon, 18 Mar 2013 09:57:04 +0000 (10:57 +0100)]
Fully resolve extension method argument. Fixes #11213

11 years agoRemove internal continuations from unfinished tasks used in WhenAny, Fixes #11008
Marek Safar [Sat, 16 Mar 2013 14:46:44 +0000 (15:46 +0100)]
Remove internal continuations from unfinished tasks used in WhenAny, Fixes #11008

11 years agoRevert "Fixes make dist"
Martin Baulig [Fri, 15 Mar 2013 22:14:44 +0000 (18:14 -0400)]
Revert "Fixes make dist"

This reverts commit 87e95b46ed84d290d1e26806881a9a03e5864633.

This puts DataContractJsonSerializerSettings.cs back into
mcs/class/System.ServiceModel.Web/System.Runtime.Serialization.Json.

Let's please not have a single file from this namespace in another
directory, either move the entire System.Runtime.Serialization.Json
stuff into System.Runtime.Serialization or leave it here.

11 years agoProperly bzero unaligned small blocks. Fixes #11184.
Rodrigo Kumpera [Fri, 15 Mar 2013 20:30:15 +0000 (16:30 -0400)]
Properly bzero unaligned small blocks. Fixes #11184.

11 years agoCache implicitly created static delegates
Marek Safar [Fri, 15 Mar 2013 17:37:18 +0000 (18:37 +0100)]
Cache implicitly created static delegates

11 years agopart of fix bug #10160 - give innerException for some rethrown exception.
Atsushi Eno [Fri, 15 Mar 2013 16:19:16 +0000 (01:19 +0900)]
part of fix bug #10160 - give innerException for some rethrown exception.

11 years agoAvoid an assert in sdb for compiler generated byref locals. Fixes #11115.
Zoltan Varga [Fri, 15 Mar 2013 15:43:41 +0000 (16:43 +0100)]
Avoid an assert in sdb for compiler generated byref locals. Fixes #11115.

11 years agoAdd new tests
Marek Safar [Fri, 15 Mar 2013 14:28:27 +0000 (15:28 +0100)]
Add new tests

11 years agoUpdate locations
Marek Safar [Fri, 15 Mar 2013 14:28:06 +0000 (15:28 +0100)]
Update locations

11 years agoImplement optimization where lambdas can be replaced by direct method-group they...
Marek Safar [Fri, 15 Mar 2013 14:25:25 +0000 (15:25 +0100)]
Implement optimization where lambdas can be replaced by direct method-group they are wrapping. Fixes #10663

11 years agoFix column info for symbol file expressions
Marek Safar [Fri, 15 Mar 2013 13:51:06 +0000 (14:51 +0100)]
Fix column info for symbol file expressions

11 years ago[monodoc] Handle summaries for transient root nodes better. Add unit-tests.
Jeremie Laval [Fri, 15 Mar 2013 11:19:03 +0000 (11:19 +0000)]
[monodoc] Handle summaries for transient root nodes better. Add unit-tests.

11 years ago[sgen] Remove some dead #defines.
Mark Probst [Thu, 14 Mar 2013 21:46:01 +0000 (14:46 -0700)]
[sgen] Remove some dead #defines.

11 years agoAdd new assemblies
Marek Safar [Thu, 14 Mar 2013 18:09:18 +0000 (19:09 +0100)]
Add new assemblies

11 years agoTemporarily revert "Add PCL type-forwarders."
Martin Baulig [Thu, 14 Mar 2013 17:37:57 +0000 (13:37 -0400)]
Temporarily revert "Add PCL type-forwarders."

This reverts commit 62559a75df7aac7b46870ca03a0ba71a1a526be4.

11 years agoAdd PCL type-forwarders.
Martin Baulig [Wed, 13 Mar 2013 22:35:25 +0000 (18:35 -0400)]
Add PCL type-forwarders.

11 years agoRemove redundant lambda wrapper
Marek Safar [Thu, 14 Mar 2013 16:43:16 +0000 (17:43 +0100)]
Remove redundant lambda wrapper

11 years agoFixes make dist
Marek Safar [Thu, 14 Mar 2013 16:42:45 +0000 (17:42 +0100)]
Fixes make dist

11 years ago[sgen] Don't call sgen_scan_togglerefs() twice.
Mark Probst [Wed, 13 Mar 2013 23:04:20 +0000 (16:04 -0700)]
[sgen] Don't call sgen_scan_togglerefs() twice.

In the case where they are called twice, the first call must already have
processed the whole heap.

11 years ago[sgen] Remove superfluous arguments to finish_gray_stack().
Mark Probst [Wed, 13 Mar 2013 20:12:44 +0000 (13:12 -0700)]
[sgen] Remove superfluous arguments to finish_gray_stack().

11 years agoAdd type-forwarders for existing assemblies.
Martin Baulig [Wed, 13 Mar 2013 22:07:44 +0000 (18:07 -0400)]
Add type-forwarders for existing assemblies.

11 years agoMerge pull request #599 from knocte/ntlm_fixes
Martin Baulig [Wed, 13 Mar 2013 21:35:32 +0000 (14:35 -0700)]
Merge pull request #599 from knocte/ntlm_fixes

[Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)

11 years ago[semaphore] Fix mono_sem_wait() for Darwin, clean up mono_sem_post().
Mark Probst [Wed, 13 Mar 2013 20:39:50 +0000 (13:39 -0700)]
[semaphore] Fix mono_sem_wait() for Darwin, clean up mono_sem_post().

semaphore_wait() never returns -1, but returns KERN_ABORTED if the
call needs to be repeated.  This caused a semaphore wait to sometimes
return in the SGen workers code when it shouldn't, which caused a
mysterious assertion failure.

11 years agoImplement MonoType.IsConstructedGenericType.
Martin Baulig [Wed, 13 Mar 2013 19:51:34 +0000 (15:51 -0400)]
Implement MonoType.IsConstructedGenericType.

11 years agoImplement IntrospectionExtensions.GetTypeInfo().
Martin Baulig [Wed, 13 Mar 2013 19:33:16 +0000 (15:33 -0400)]
Implement IntrospectionExtensions.GetTypeInfo().

11 years ago[Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)
Andres G. Aragoneses [Wed, 13 Mar 2013 19:00:50 +0000 (19:00 +0000)]
[Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)

New NTLM APIs have been pushed recently[1], which made Mono.Data.Tds break
with IOE: Refusing to use legacy-mode LM/NTLM authentication unless
explicitly enabled using DefaultAuthLevel.

This doesn't fix the bug completely, but at least reverts the situation
to the same exception being thrown before the NTLM changes took place.

[1] https://github.com/mono/mono/commit/45745e5123267e8530b87b8dada9a89c6269b383

11 years agoProgress<T> (ActioN<T>) constructor now also initializes the context
Miguel de Icaza [Wed, 13 Mar 2013 18:48:29 +0000 (14:48 -0400)]
Progress<T> (ActioN<T>) constructor now also initializes the context

11 years agoPut back MethodInfo.CreateDelegate() and fix DynamicMethod.
Martin Baulig [Wed, 13 Mar 2013 18:19:05 +0000 (14:19 -0400)]
Put back MethodInfo.CreateDelegate() and fix DynamicMethod.

11 years agoDon't set the visibility of the type_info_ symbols in the LLVM backend. Fixes #11076.
Zoltan Varga [Wed, 13 Mar 2013 17:02:50 +0000 (18:02 +0100)]
Don't set the visibility of the type_info_ symbols in the LLVM backend. Fixes #11076.

11 years agoRevert part of 9ec4d6984f8f81f5cfd0760fc70a76336b92839f since it breaks DynamicMethods.
Zoltan Varga [Wed, 13 Mar 2013 16:44:31 +0000 (17:44 +0100)]
Revert part of 9ec4d6984f8f81f5cfd0760fc70a76336b92839f since it breaks DynamicMethods.

11 years agoTry to fix statement expression location. Fixes #10306
Marek Safar [Wed, 13 Mar 2013 14:52:15 +0000 (15:52 +0100)]
Try to fix statement expression location. Fixes #10306

11 years ago[monodoc] Handle global `root:' url
Jérémie Laval [Wed, 13 Mar 2013 14:25:46 +0000 (14:25 +0000)]
[monodoc] Handle global `root:' url

11 years agoResolve switch block without fake sections blocks. Fixes #10781
Marek Safar [Wed, 13 Mar 2013 11:02:18 +0000 (12:02 +0100)]
Resolve switch block without fake sections blocks. Fixes #10781

11 years agoPut back unsupported EventWaitHandle and Mutex constructors.
Martin Baulig [Wed, 13 Mar 2013 02:13:39 +0000 (22:13 -0400)]
Put back unsupported EventWaitHandle and Mutex constructors.

11 years agoOops, fix the mobile build.
Martin Baulig [Wed, 13 Mar 2013 01:41:21 +0000 (21:41 -0400)]
Oops, fix the mobile build.

11 years ago[sgen] Gather a histogram of layouts of scanned objects.
Mark Probst [Fri, 16 Nov 2012 22:45:08 +0000 (23:45 +0100)]
[sgen] Gather a histogram of layouts of scanned objects.

With this information we can implement more efficient GC descriptors.

11 years agoDataContractSerializer changes for .NET 4.5.
Martin Baulig [Tue, 12 Mar 2013 22:29:38 +0000 (18:29 -0400)]
DataContractSerializer changes for .NET 4.5.

* Move System.Runtime.Serialization.Json from System.ServiceModel.Web.dll
  into System.Runtime.Serialization.dll on the mobile profile.

* Add DataContractJsonSerializerSettings and DataContractSerializerSettings..

11 years agoMinor .NET 4.5 API fixes.
Martin Baulig [Tue, 12 Mar 2013 22:26:39 +0000 (18:26 -0400)]
Minor .NET 4.5 API fixes.

11 years agoAdd System.WeakReference<T>.
Martin Baulig [Tue, 12 Mar 2013 18:33:18 +0000 (14:33 -0400)]
Add System.WeakReference<T>.

11 years agoSystem.Threading.SemaphoreSlim.WaitAsync().
Martin Baulig [Tue, 12 Mar 2013 19:28:35 +0000 (15:28 -0400)]
System.Threading.SemaphoreSlim.WaitAsync().

11 years agoSystem.Threading.{Semaphore|EventWaitHandle|Mutex}.TryOpenExisiting().
Martin Baulig [Tue, 12 Mar 2013 22:17:15 +0000 (18:17 -0400)]
System.Threading.{Semaphore|EventWaitHandle|Mutex}.TryOpenExisiting().

11 years agoUpdate aspnetwebstack to e77b12e.
Martin Baulig [Wed, 13 Mar 2013 01:13:21 +0000 (21:13 -0400)]
Update aspnetwebstack to e77b12e.

This is just the single commit:
https://github.com/mono/aspnetwebstack/commit/e77b12e6cc5ed260a98447f609e887337e44e299

11 years agoFix some DISABLE_JIT problems.
Zoltan Varga [Wed, 13 Mar 2013 00:52:22 +0000 (01:52 +0100)]
Fix some DISABLE_JIT problems.

11 years ago[mdoc] Build with -platform:x86
Jonathan Pryor [Wed, 13 Mar 2013 00:03:53 +0000 (20:03 -0400)]
[mdoc] Build with -platform:x86

Works around: http://connect.microsoft.com/VisualStudio/feedback/details/635365

The problem is that 64-bit .NET has a bug:
RuntimeHelpers.InitializeArray() throws ArgumentException for certain
array creation constructs that mcs likes to emit. Cecil uses
RuntimeHelpers.InitializeArray() to get the data, which throws, and
everyone becomes very sad:

Running mdoc "update" "--debug" ...
mdoc: System.TypeInitializationException: The type initializer for 'Mono.Cecil.Metadata.TableHeap' threw an exception. ---> System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
   at Mono.Cecil.Metadata.TableHeap..cctor()
   --- End of inner exception stack trace ---
   at Mono.Cecil.Metadata.TableHeap..ctor(Section section, UInt32 start, UInt32 size)
   at Mono.Cecil.PE.ImageReader.ReadMetadataStream(Section section)
   at Mono.Cecil.PE.ImageReader.ReadMetadata()
   at Mono.Cecil.PE.ImageReader.ReadImage()
   at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream)
   at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters)
   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
   at Mono.Cecil.AssemblyDefinition.ReadAssembly(String fileName, ReaderParameters parameters)
   at Mono.Documentation.MDocUpdater.LoadAssembly(String name)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Mono.Documentation.MDocUpdater.Run(IEnumerable`1 args)
   at Mono.Documentation.MDoc.Run(String[] args)
   at Mono.Documentation.MDoc.Main(String[] args)

The "fix" is to not use the 64-bit runtime, and instead explicitly
require the 32-bit runtime by using -platform:x86.

11 years agoEnable ContextTest on mt.
Zoltan Varga [Tue, 12 Mar 2013 22:30:32 +0000 (23:30 +0100)]
Enable ContextTest on mt.

11 years agoWrap MonoVTable::remote into a pair of accessors to make it easy to have code linked...
Rodrigo Kumpera [Tue, 12 Mar 2013 22:21:28 +0000 (18:21 -0400)]
Wrap MonoVTable::remote into a pair of accessors to make it easy to have code linked out.

11 years agoWrap MonoClass::is_com_object into a pair of accessors to make it easy to have code...
Rodrigo Kumpera [Tue, 12 Mar 2013 22:07:03 +0000 (18:07 -0400)]
Wrap MonoClass::is_com_object into a pair of accessors to make it easy to have code linked out.

11 years agoImplement new .NET 4.5 Reflection APIs.
Martin Baulig [Tue, 12 Mar 2013 21:52:47 +0000 (17:52 -0400)]
Implement new .NET 4.5 Reflection APIs.

11 years agoAdd System.ComponentModel.Composition.4.5 to the mobile build.
Martin Baulig [Wed, 6 Mar 2013 21:33:50 +0000 (16:33 -0500)]
Add System.ComponentModel.Composition.4.5 to the mobile build.

11 years agoFix System.ComponentModel.DataErrorsChangedEventArgs API.
Martin Baulig [Tue, 5 Mar 2013 21:57:22 +0000 (16:57 -0500)]
Fix System.ComponentModel.DataErrorsChangedEventArgs API.

11 years agoAdd System.ComponentModel.DataAnnotations to the mobile build.
Martin Baulig [Tue, 5 Mar 2013 21:33:32 +0000 (16:33 -0500)]
Add System.ComponentModel.DataAnnotations to the mobile build.

11 years agoSmall cleanup on runtime shutdown to move more code to the same spot and reduce dupli...
Rodrigo Kumpera [Tue, 12 Mar 2013 21:43:57 +0000 (17:43 -0400)]
Small cleanup on runtime shutdown to move more code to the same spot and reduce duplication.

11 years agoMerge pull request #505 from roji/shutdown_flow
Rodrigo Kumpera [Tue, 12 Mar 2013 21:25:47 +0000 (14:25 -0700)]
Merge pull request #505 from roji/shutdown_flow

Fixed threadpool+ProcessExit problem in shutdown flow

11 years agoAdd stubs for some new .NET 4.0/4.5 WCF APIs.
Martin Baulig [Tue, 12 Mar 2013 20:50:26 +0000 (16:50 -0400)]
Add stubs for some new .NET 4.0/4.5 WCF APIs.

11 years agoSystem.Runtime.Serialization.DateTimeFormat
Martin Baulig [Tue, 5 Mar 2013 23:33:08 +0000 (18:33 -0500)]
System.Runtime.Serialization.DateTimeFormat

11 years agoBigInteger.Parse/TryParse() overloads for .NET 4.0.
Martin Baulig [Tue, 5 Mar 2013 23:23:01 +0000 (18:23 -0500)]
BigInteger.Parse/TryParse() overloads for .NET 4.0.

11 years agoSystem.Progress
Martin Baulig [Tue, 5 Mar 2013 22:40:52 +0000 (17:40 -0500)]
System.Progress

11 years agoAdd System.Text.RegularExpressions.Regex timeout APIs.
Martin Baulig [Tue, 5 Mar 2013 22:20:12 +0000 (17:20 -0500)]
Add System.Text.RegularExpressions.Regex timeout APIs.

11 years agoTrivial API additions.
Martin Baulig [Tue, 12 Mar 2013 20:40:04 +0000 (16:40 -0400)]
Trivial API additions.

11 years agoMissing WebUtility methods.
Martin Baulig [Tue, 5 Mar 2013 22:44:59 +0000 (17:44 -0500)]
Missing WebUtility methods.

11 years agoHttpWebRequest/Response API fixes for .NET 4.5.
Martin Baulig [Tue, 12 Mar 2013 20:23:28 +0000 (16:23 -0400)]
HttpWebRequest/Response API fixes for .NET 4.5.

11 years agoAdd System.IO.Compression.FileSystem stubs.
Martin Baulig [Tue, 12 Mar 2013 20:18:01 +0000 (16:18 -0400)]
Add System.IO.Compression.FileSystem stubs.

11 years agoMisc .NET 4.5 / PCL APIs.
Martin Baulig [Tue, 12 Mar 2013 20:13:21 +0000 (16:13 -0400)]
Misc .NET 4.5 / PCL APIs.

11 years ago[xbuild] It's safe to pass /debug:pdbonly to mcs now
Michael Hutchinson [Tue, 12 Mar 2013 20:28:39 +0000 (16:28 -0400)]
[xbuild] It's safe to pass /debug:pdbonly to mcs now

11 years agoImplement OP_LCONV_TO_I4 using OP_SEXT_I4 instead of OP_LSHR_IMM(0). Fixes #11058.
Zoltan Varga [Tue, 12 Mar 2013 20:31:54 +0000 (21:31 +0100)]
Implement OP_LCONV_TO_I4 using OP_SEXT_I4 instead of OP_LSHR_IMM(0). Fixes #11058.

11 years agoRemove MonoTouch specific code that is now handled without reflection
Sebastien Pouliot [Tue, 12 Mar 2013 20:04:26 +0000 (16:04 -0400)]
Remove MonoTouch specific code that is now handled without reflection

11 years agoRemove dependency on generated file
Marek Safar [Tue, 12 Mar 2013 14:41:45 +0000 (15:41 +0100)]
Remove dependency on generated file

11 years ago[monodoc] Parse and display mastersummary.xml on root:/ ECMA urls
Jeremie Laval [Tue, 12 Mar 2013 13:42:40 +0000 (13:42 +0000)]
[monodoc] Parse and display mastersummary.xml on root:/ ECMA urls

11 years ago[monodoc] Cleanups
Jeremie Laval [Tue, 12 Mar 2013 13:42:12 +0000 (13:42 +0000)]
[monodoc] Cleanups

11 years ago[tests] In GC descriptor tests script, optionally generate huge nested if.
Mark Probst [Mon, 11 Mar 2013 17:43:50 +0000 (10:43 -0700)]
[tests] In GC descriptor tests script, optionally generate huge nested if.

11 years agoOptimize mono_gc_bzero and mono_gc_memmove to closely match native performance.
Rodrigo Kumpera [Mon, 11 Mar 2013 15:03:13 +0000 (11:03 -0400)]
Optimize mono_gc_bzero and mono_gc_memmove to closely match native performance.

* gc.c (mono_gc_memmove): Doing naive word copy turned out to be several times
slower than optimized memmove.Doing optimized memmove is a hellbent problem
because each target (x86, amd64, arm, etc) have multiple implementations based
on which CPU you're currently running on.

Given we're not ready to suck in ten thousand lines of assembly for the benefit
of a few targets a better solution is needed.

The problem we face is due to implementations that don't perform word stores
on the word aligned parts of the destination. This does break things for us
as the CLI environment disallows word tearing for normal operations.

The solution is then to work around the silliness of the known implementations
that basically handle any sorts of misalignment badly. To do so we ensure that
we only call memmove with a word aligned destination and a word multiple size.

This should be enough for OSX, Android, linux and iOS on x86, amd64 and ARM.

11 years agoRe-enable some tests on mt which seem to work now.
Zoltan Varga [Mon, 11 Mar 2013 21:16:46 +0000 (22:16 +0100)]
Re-enable some tests on mt which seem to work now.

11 years agoExport inst_is_gsharedvt_sharable () so it is usable by other parts of the JIT.
Zoltan Varga [Mon, 11 Mar 2013 20:04:16 +0000 (21:04 +0100)]
Export inst_is_gsharedvt_sharable () so it is usable by other parts of the JIT.

11 years agoBump version to 3.0.8
Duncan Mak [Mon, 11 Mar 2013 18:56:15 +0000 (14:56 -0400)]
Bump version to 3.0.8

11 years agoAdd a 'dwarfdebug' AOT option to emit DWARF debug info even if the 'nodebug' AOT...
Zoltan Varga [Mon, 11 Mar 2013 14:29:22 +0000 (15:29 +0100)]
Add a 'dwarfdebug' AOT option to emit DWARF debug info even if the 'nodebug' AOT option is used.

11 years agoMerge pull request #597 from kamalaboulhosn/master
Miguel de Icaza [Mon, 11 Mar 2013 14:18:40 +0000 (07:18 -0700)]
Merge pull request #597 from kamalaboulhosn/master

Translate errno for EHOSTDOWN to WSAEHOSTDOWN

11 years agoAdded translation for EHOSTDOWN errno
Kamal Aboul-Hosn [Sat, 9 Mar 2013 23:10:39 +0000 (18:10 -0500)]
Added translation for EHOSTDOWN errno

11 years agoDisable some tests failing on mt due to #10539/#10552.
Zoltan Varga [Sat, 9 Mar 2013 00:13:11 +0000 (01:13 +0100)]
Disable some tests failing on mt due to #10539/#10552.

11 years agoCorrectly type fixed buffer wrapper type. Fixes #10803
Marek Safar [Fri, 8 Mar 2013 22:45:13 +0000 (23:45 +0100)]
Correctly type fixed buffer wrapper type. Fixes #10803

11 years agoClone shared members list before operators merging. Fixes #10967
Marek Safar [Fri, 8 Mar 2013 21:55:23 +0000 (22:55 +0100)]
Clone shared members list before operators merging. Fixes #10967

11 years agoMerge pull request #469 from symform/symform-better-drive-type-check
Miguel de Icaza [Sat, 9 Feb 2013 22:26:16 +0000 (14:26 -0800)]
Merge pull request #469 from symform/symform-better-drive-type-check

When detecting drive type it is possible that a path might be mounted mo...