Permalink
Commits on Dec 7, 2016
  1. Merge pull request #4102 from marek-safar/bootstrap

    [build] Fixes win32 bootstrap in mcs mode
    marek-safar committed on GitHub Dec 7, 2016
  2. [ci] Move mcs switch for Win32 builds into the run-jenkins.sh script

    So we can more easily switch it over to roslyn again in a PR.
    akoeplinger committed on GitHub Dec 7, 2016
  3. [threads] Fix conflicting signal with boehm (#4096)

    Boehm would use SIGPWR on linux 32/64bits for its suspend signal, but that would conflict with utils/threads suspend signal.
    
    The fix consists in looking for an available realtime signal in utils/threads, and fallback to the default SIGXFSZ, SIGPWR and SIGXCPU
    ludovic-henry committed on GitHub Dec 7, 2016
Commits on Dec 6, 2016
  1. [llvm] Fix intrinsic Selector.GetHandle support. (#4103)

    An OBJC_IMAGE_INFO section must be emitted when we emit the native equivalent
    of @selector for Selector.GetHandle, otherwise the Objective-C runtime will
    not process the selectors in this image at runtime (and we may end up with
    duplicate selectors in memory).
    
    The AOT compiler already does this here: https://github.com/mono/mono/blob/2eda626316fd8f70cd98947af2f89b7ca9b0ebe5/mono/mini/aot-compiler.c#L9657-L9661
    rolfbjarne committed with vargaz Dec 6, 2016
  2. [Mac SDK] Use MSBuild to build IronPython/IronRuby.

    Xbuild currently fails with 'CSC: error CS0041: Unexpected error writing debug information -- 'Windows PDB writer is not available -- could not find Microsoft.DiaSymReader.Native.x86.dll'
    
    Xbuild should be passing "/debug:Portable" to csc in order to work. There is a possibly broken attempt to this in 2d08353.
    alexischr committed Dec 6, 2016
  3. [System]: fix certificate validation on Wine/OSX

    - the `is_macosx` static field should be false on Wine/OSX, as it is on Windows.
    rvuistin committed with akoeplinger Dec 6, 2016
  4. Revert "[runtime] Use MonoBoolean as the return value of monitor ical…

    …ls."
    
    This reverts commit 0608860.
    
    It was breaking the build on i386 Linux:
    
    ```
    Unhandled Exception:
     System.ExecutionEngineException: System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpression (Microsoft.CodeAnalysis.CSharp.BoundExpression expression, System.Boolean used) [0x00070] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x000ad] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatementAndCountInstructions (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x0000c] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitSequencePointStatement (Microsoft.CodeAnalysis.CSharp.BoundSequencePoint node) [0x0002d] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x00087] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitBlock (Microsoft.CodeAnalysis.CSharp.BoundBlock block) [0x0009d] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x0007a] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatementList (Microsoft.CodeAnalysis.CSharp.BoundStatementList list) [0x00023] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
       at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x000b4] in <8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
    ...
    ```
    akoeplinger committed Dec 6, 2016
  5. [corlib] Put back Directory.GetDirectoryRoot() which was accidentally…

    … removed
    
    The mistake happened in #4042.
    Added a test for the method so we don't do it again.
    akoeplinger committed Dec 6, 2016
  6. Fix Microsoft.Build.Engine fail when built with mcs

    Fixes the Makefile to not fail if the compiler hasn't generated a pdb file for
    the TestTasks dll.
    ntherning committed with marek-safar Dec 6, 2016
  7. Revert "Merge pull request #4093 from ntherning/enable-building-bcl-w…

    …ith-mono-4.6-mcs"
    
    This reverts commit d661684, reversing
    changes made to 556a4f4.
    marek-safar committed Dec 6, 2016
  8. [build] Fixes win32 bootstrap in mcs mode

    Uses installed mono instead on .NET to run same boostrap check as we
    do on other platforms
    marek-safar committed Dec 6, 2016
  9. [w32handle] Fix race in foreach and unref (#4089)

    It could happen that we unref a handle that we are currently looping over. This could be the case if we are calling Process.GetProcessById (which loops over all handles) and mono_w32handle_unref on a MonoW32HandleProcess handle.
    ludovic-henry committed on GitHub Dec 6, 2016
  10. Merge pull request #4093 from ntherning/enable-building-bcl-with-mono…

    …-4.6-mcs
    
    Enable building the BCL with mcs from pre-4.8 mono installation
    akoeplinger committed on GitHub Dec 6, 2016
Commits on Dec 5, 2016
  1. [runtime] Use coop handles for the remaining System.Reflection.Assemb…

    …ly icalls (#4082)
    
    * [reflection] Use handles for System.Reflection.Assembly.GetFilesInternal
    
    * [reflection] Use handles for System.Reflection.Assembly.InternalGetType
    
    * [reflection] Use handles for System.Reflection.Assembly.GetManifestResourceNames
    
    * [reflection] Use handles for System.Reflection.Assembly.LoadPermissions
    
    * [reflection] Add mono_method_get_object_handle
    
      Reimplement mono_method_get_object_checked in terms of the handles one.
    
    * [reflection] Use handles for System.Reflection.Assembly.get_EntryPoint
    
    * [reflection] Use handles for four more icalls in System.Refleciton.Assembly
    
      That's the lot of them.
    
        * get_ReflecitonOnly
        * get_code_base
        * get_fullname
    
    * get_global_assembly_cache
    
    * [security] Use handles for System.Security.Policy.Evidence.IsAuthenticodePresent
    
    * [runtime] Use handles for System.Web.Util.Icalls.GetUnmanagedResourcesPtr
    
    * [runtime] Use MONO_HANDLE_GETVAL instead of MONO_HANDLE_RAW in a few places
    
    * [runtime] Use handles for System.AppDomain.ExecuteAssembly
    lambdageek committed on GitHub Dec 5, 2016
  2. Enable building the BCL with mcs from pre-4.8 mono installation

    This skips passing -runtimemetadataversion when building the BCL with
    --with-csc=mcs.
    ntherning committed Dec 5, 2016
  3. Merge pull request #4092 from ntherning/fix-w32process-win32.c-build-…

    …failure
    
    Fix build failure in w32process-win32.c
    ntherning committed on GitHub Dec 5, 2016
  4. Fix build failure in w32process-win32.c

    Commit 07630fe broke the build on Windows.
    ntherning committed Dec 5, 2016
  5. Merge pull request #3997 from lateralusX/jlorenss/win-api-family-supp…

    …ort-safearray
    
    Add possibility to exclude COM SafeArray implementation on some none desktop Windows API families.
    lateralusX committed on GitHub Dec 5, 2016
Commits on Dec 4, 2016
Commits on Dec 3, 2016
  1. [runtime] Fix build

    ludovic-henry committed Dec 3, 2016
  2. Don't allow Join to return due to an APC (#3970)

    * Don't allow Join to return due to an APC
    
    On Windows, Thread.Join does an alertable wait. If the thread calling
    Join gets an APC during the call, Join will incorrectly return. Instead,
    the code should handle the APC and continue waiting.
    
    * Do an uninterrupted wait during thread join.
    
    Mimic the behavior of mono_wait_uninterrupted, but for a single thread
    that we want to join.
    
    * Make some style changes suggested in the PR.
    joshpeterson committed with ludovic-henry Dec 3, 2016
  3. Fix Makefile issue on Windows

    "Makefile:25: *** multiple target patterns.  Stop.", according to web searches
    this is because of colons in the file path. install-local always runs so we
    don't really need the source files as dependency -> removing.
    akoeplinger committed Dec 3, 2016