Permalink
Commits on Mar 8, 2013
  1. @vargaz

    Fix the mobile build.

    vargaz committed Mar 8, 2013
  2. @vargaz

    Fix the mobile mscorlib build.

    vargaz committed Mar 7, 2013
  3. @vargaz
  4. @vargaz
  5. @vargaz

    Fix the encoding of runtime-invoke wrappers in AOT. Add support for g…

    …sharedvt delegate begin/end-invoke wrappers to full AOT.
    vargaz committed Mar 7, 2013
  6. @vargaz
Commits on Mar 7, 2013
  1. @kumpera
  2. @kumpera

    Move some MOBILE bits under DISABLE_REMOTING as a remoting enabled ru…

    …ntime will need them for
    
    basic functionality.
    kumpera committed Mar 7, 2013
  3. @kumpera
  4. @kumpera
  5. @kumpera
  6. @kumpera

    Make sure to unlock InternalThread::synch_cs when we fail to suspend …

    …the thread during shutdown.
    
    This should fix both crashes seen during Environment.Exit by xbuild and possibly deadlocks.
    kumpera committed Mar 7, 2013
  7. @kumpera

    Make sure all functions in the hot path of eg_utf8_to_utf16_general a…

    …re inlined.
    
    This gives a 33% performance boost on a micro benchmark just triggering a call
    to mono_string_new.
    kumpera committed Mar 4, 2013
  8. @marek-safar

    Fixes mobile build

    marek-safar committed Mar 7, 2013
  9. @marek-safar

    Update mobile tests

    marek-safar committed Mar 7, 2013
  10. @marek-safar
  11. @marek-safar
  12. @vargaz

    Fix a typo introduced by c808ced.

    vargaz committed Mar 7, 2013
  13. @vargaz

    Make begin-invoke/end-invoke wrappers for generic delegates like Func…

    …/Action generic, similarly to 8eae1a7.
    vargaz committed Mar 7, 2013
  14. @marek-safar
  15. @marek-safar
  16. @marek-safar
  17. @marek-safar

    Merge pull request #596 from madewokherd/typefromclsid

    corlib: Implement System.Type.GetTypeFromCLSID.
    marek-safar committed Mar 7, 2013
  18. @jonpryor

    [xbuild] Replace string.ToLower() comparison with OrdinalIgnoreCase c…

    …omparison
    
    Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=10946
    
    The scenario is the "turkish-i problem": Have an MSBuild Task Assembly
    which calls ITaskItem.GetMetadata("Identity") (like, oh, the
    Xamarin.Android build system...). Run in a Turkish locale (tr-TR), and
    things fail badly:
    
    	Error executing task AndroidComputeResPaths: System.ArgumentException: Invalid reserved metadata name
    	  at Mono.XBuild.Utilities.ReservedNameUtils.GetReservedMetadata (System.String itemSpec, System.String metadataName, IDictionary metadata) [0x00000] in <filename unknown>:0
    	  at Microsoft.Build.Utilities.TaskItem.GetMetadata (System.String metadataName) [0x00000] in <filename unknown>:0
    	  at Xamarin.Android.Tasks.AndroidComputeResPaths.Execute () [0x00000] in <filename unknown>:0
    	  at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] in <filename unknown>:0
    	  at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] in <filename unknown>:0
    
    Wat? Well, in tr-TR, "Identity".ToLower() is "ıdentity", which
    doesn't match match anything in GetReservedMetadata()'s `switch`
    statement, so it throws an ArgumentException. *BOOM*.
    
    So, if you need a culture-invariant comparison, USE IT.
    
    Related: We could have just s/ToLower/ToLowerInvariant/g, which would
    have fixed the problem, but would still result in lots of string
    temporaries that aren't really necessary. Use the appropriate
    string.Compare() or string.Equals() methods instead to avoid the
    string temporary as well.
    jonpryor committed Mar 7, 2013
  19. @vargaz
  20. @vargaz
  21. @vargaz

    Clean up the code which handles prepending _ to global symbol names o…

    …n MACH by doing it in aot-compiler.c instead of the image writer.
    vargaz committed Mar 7, 2013
Commits on Mar 6, 2013
  1. @schani
  2. corlib: Implement System.Type.GetTypeFromCLSID.

    This commit is licensed as MIT/X11.
    Vincent Povirk committed Mar 6, 2013
  3. @jstedfast
  4. @schani

    [sgen] Allow empty parameters in MONO_GC_PARAMS and MONO_GC_DEBUG.

    This allows easy appending/prepending, like so:
    
        export MONO_GC_PARAMS="major=marksweep-conc,$MONO_GC_PARAMS"
    schani committed Mar 6, 2013
  5. @vargaz
  6. @vargaz

    Make the JIT icall wrappers for opcode emulation jit icalls call the …

    …C icall function directly on MT.
    vargaz committed Mar 6, 2013
  7. @vargaz

    Modify the way calls to icalls are made from the icall wrappers. Prev…

    …iously, the address to call was encoded in an OP_PCONST, and various pieces of code looked up the value in the jit icall table to see if it was an icall address. With the new approach, the fact that this is an icall address is explicit through the JIT.
    vargaz committed Mar 6, 2013
  8. @vargaz

    Fix AOT on osx+amd64.

    vargaz committed Mar 6, 2013