Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Throw MemberAccessException when abstract class is used with newobj instruction #902

Open
wants to merge 271 commits into
base: unity-main
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Dec 6, 2017

  1. Debugger Use IL2CPP Types 4 (#730)

    * use more il2cpp types
    
    * Renamed method->declaring_type to method->klass (#731)
    mderoy authored Dec 6, 2017
    Configuration menu
    Copy the full SHA
    02bd94f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #732 from Unity-Technologies/unity-master-staging-…

    …il2cpp-debugger-scopes
    
    Enabling support for scopes in methods in the debugger
    brianradunity authored Dec 6, 2017
    Configuration menu
    Copy the full SHA
    c20990b View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2017

  1. [Debugger] Merge all MACRO and c struct changes (#746)

    * use more il2cpp types
    
    * Renamed method->declaring_type to method->klass
    
    * Remove Il2CppMonoType
    
    * Remove VM_CLASS macros, and IL2CppMonoClass
    
    * Remove VM_IMAGE macros and IL2CPPMonoImage
    
    * Remove VM_METHOD macros and Il2CppMonoMethod
    
    * Remove VM_METHOD macros and Il2CppMonoMethod
    
    * Remove VM_GENERIC and VM_ARRAY macros and remove Il2CppMonoArray, Il2CppMonoGeneric<x>
    
    * Remove VM_PROPERTY macros and Il2CppMonoProperty
    
    * Remove Il2cppMonoString
    
    * Remove VM_ARRAY Macros and Il2CppMonoArray
    
    * Remove VM_THREAD and VM_INTERNAL_THREAD macros and Il2CppMonoThread and Il2CppMonoInternalThread
    
    * cleanup profiler, reflectiontype, ghashtable
    
    * Remove VM_DOMAIN_GET_ASS...macro fix not taking the address of byval_arg and this_arg
    
    * Fix property test broken due to defining wrong propertyinfo struct
    mderoy authored Dec 7, 2017
    Configuration menu
    Copy the full SHA
    9302500 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. Remove VM_ASSEMBLY macros (#747)

    * Remove VM_ASSEMBLY Macros and Il2CppMonoAssembly
    
    * Remove define around image->dynamic
    mderoy authored Dec 11, 2017
    Configuration menu
    Copy the full SHA
    d405b5d View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. Debugger Remove "C" versions of structs and instead use included vers…

    …ions (#750)
    
    * remove more fake types
    
    * Remove Il2cppMonoDomain
    
    * remove more structs
    mderoy authored Dec 12, 2017
    Configuration menu
    Copy the full SHA
    2099330 View commit details
    Browse the repository at this point in the history
  2. Implementing step-to-catch for il2cpp debugger

    Unknown committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e1d8189 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9655708 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #760 from Unity-Technologies/unity-master-staging-…

    …debugger-step-to-catch
    
    Implementing step-to-catch for il2cpp debugger
    brianradunity authored Dec 12, 2017
    Configuration menu
    Copy the full SHA
    450fd71 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2017

  1. Avoid using BSTR for conversion of a SecureString

    There is no need to use BSTR marshaling to convert a SecureString to a
    string. On some platforms, BSTR marshaling is not implemented, but we
    still want to be able to convert a SecureString to a string on those
    platforms.
    
    So instead, use Unicode string marshaling.
    joshpeterson committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    a682954 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #765 from Unity-Technologies/no-bstr-in-secure-string

    Avoid using BSTR for conversion of a SecureString
    joshpeterson authored Dec 14, 2017
    Configuration menu
    Copy the full SHA
    1e60e61 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2017

  1. Configuration menu
    Copy the full SHA
    d773c76 View commit details
    Browse the repository at this point in the history
  2. [unitytls] Added UnityTlsProvider stub + registration.

    Changed namespaces from UnityTls to Unity, change casing from 'TLS' to 'Tls'
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    90d29d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ce647e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b1e0d68 View commit details
    Browse the repository at this point in the history
  5. [unitytls] size_t is now a struct instead of an alias. Change char* p…

    …tr to Int8=byte ptr since char has a different meaning in C# than in C
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    4d49d8b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8f1c80b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5b0f3c4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1b25fe8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    598e0d4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    98e940d View commit details
    Browse the repository at this point in the history
  11. [unitytls] size_t is now IntPtr and can convert to int implicitely. U…

    …pdated UnityTls interface with trace methods
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    0b84cf2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    74d5592 View commit details
    Browse the repository at this point in the history
  13. [unitytls] Cleaned up CheckAndThrow methods.

    CheckAndThrow for verify results forwards now to the one without verify result.
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    f7dac9e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ad45770 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f77b0c5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f6c2b75 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cfa1e04 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    445e584 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    594e2ac View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ca57238 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    af91c35 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    5bb3eb6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    9ea74ae View commit details
    Browse the repository at this point in the history
  24. [unitytls] Updated interfaces to newer mono version.

    Development up until this point happened on unity-2017-02-staging
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    22b6ae9 View commit details
    Browse the repository at this point in the history
  25. [sslstreamtest] Added separate test suite for BadSsl authentification…

    … test (only activated for unity)
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    6ecb133 View commit details
    Browse the repository at this point in the history
  26. [sslstreamtest] SslStreamBadSslTest unpacks AggregateException now

    Note that previous versions of mono would directly pass on whatever exception the implementation throws.
    Now, not only is TlsException wrapped with the correct AuthentificationException but - since it is run form a task - it is passed on as an AggregateException
    AndreasReich committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    32ca087 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2017

  1. [unitytls] unitytls api update - changed callback names

    (non-breaking change)
    AndreasReich committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    af58b51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a0611c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d282ba9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01d462a View commit details
    Browse the repository at this point in the history
  5. [unitytls] Improved wording of NotImplementedException for server-sid…

    …ed client certificate check, fixed comment on gchandle
    AndreasReich committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    6492173 View commit details
    Browse the repository at this point in the history
  6. [unitytls] Brought back handling of intermediate certificates in AddC…

    …ertificateToNativeChain
    
    This reverts commit 4a0611c.
    AndreasReich committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    a898096 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    90d89ea View commit details
    Browse the repository at this point in the history
  8. Debugger suspend threads

    * Initial work to properly suspend threads running managed code when the debugger requests it.
    Enabling more thread related tests after the thread suspension fix.
    * Fixing some issues with step filters that were never working.  Hijacking the jitinfo pointer and storing a Il2CppSequencePoint pointer in it for il2cpp.  We can
    use the sequence point to access data we need for filtering, in much the same way mono uses the JitInfo pointer.
    * Fixing crashing issues that occur when you generate debug code but don't pass in
    the appropriate arguments to initialize the debugger.  We need to check that the debugger has been initialized before performing various debugger-related operations.
    Brian Raderman committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    e8d0652 View commit details
    Browse the repository at this point in the history
  9. [unitytls] fixed internal read blocking handling

    previously would_block may have not been set correctly
    AndreasReich committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    048d08a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7f65773 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    86c910f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7cf1799 View commit details
    Browse the repository at this point in the history
  13. [unitytls] Added new (so far) unity specific test suite for ssl tests…

    …. Has only handshake verification failure test so far
    AndreasReich committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    3e58282 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2017

  1. Configuration menu
    Copy the full SHA
    bc25f62 View commit details
    Browse the repository at this point in the history
  2. [unitytls] Cleanup of properties in UntyTlsProvider. Comment notes on…

    … use of validator.Settings
    AndreasReich committed Dec 19, 2017
    Configuration menu
    Copy the full SHA
    afc9bb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d303e41 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #768 from Unity-Technologies/unity-master-staging-…

    …debugger-thread-suspension
    
    Debugger suspend threads
    brianradunity authored Dec 19, 2017
    Configuration menu
    Copy the full SHA
    92f3755 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2cb0c4c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9bd3b1a View commit details
    Browse the repository at this point in the history
  7. add embedding api lost in mono master merge (#769)

    * add embedding api lost in mono master
    
    * Add MMAP overrides
    mderoy authored Dec 19, 2017
    Configuration menu
    Copy the full SHA
    9dfe4d8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dbe0ae8 View commit details
    Browse the repository at this point in the history
  9. [unitytls] No longer keeping server certs and private key alive.

    (possible due to a recent update in UnityTls)
    AndreasReich committed Dec 19, 2017
    Configuration menu
    Copy the full SHA
    936a925 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2017

  1. Merge pull request #770 from Unity-Technologies/unity-master-staging

    Mono Bleeding Edge fixes for Trunk
    case 947208 - partial fix
    case 973494 - Expose mono_object_is_alive
    
    Lots of IL2CPP debugger work.
    joncham authored Dec 20, 2017
    Configuration menu
    Copy the full SHA
    320954f View commit details
    Browse the repository at this point in the history
  2. Fix TimeZoneInfo local time on platforms that do not have tzdata

    CreateLocal works by checking the platform. If it is windows, it uses the windows API or registry depending on api version, UWP, etc. otherwise it checks for the $TZ environment variable. If thats not found. it looks for /etc/localtime.....more obscure platforms like WebGL have no means of obtaining tzdata this way. This means that CreateLocal falls back to setting the TimeZoneInfo.Local time to UTC....this causes functions like DateTime.Now and DateTime.ToLocalTime to convert to UTC, instead of the user's local time.  By using Mono's old icall, we won't be able to convert between arbitrary timezones, but basic time conversion, such as UTC to Local will work.
    joncham authored and mderoy committed Dec 20, 2017
    Configuration menu
    Copy the full SHA
    5778842 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2017

  1. [unitytls] Emulating .net's behavior to call authentification even if…

    … server client authentification is disabled
    AndreasReich committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    f938941 View commit details
    Browse the repository at this point in the history
  2. [unitytls] Added tests for server client auth callback and getting co…

    …rrect certificates in callbacks
    AndreasReich committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    39be2ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf391b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7671c1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3b9f52d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    37431de View commit details
    Browse the repository at this point in the history
  7. Disable incremental link for release builds. This causes native stack…

    … traces to be incorrect for exported mono symbols. Also, move warning as error for 4716 from additional command line args to explicit setting in vcxproj.
    joncham committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    b7052c0 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2017

  1. Configuration menu
    Copy the full SHA
    97587c8 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2018

  1. Merge pull request #774 from Unity-Technologies/unity-master-staging-…

    …merge2
    
    Mono Master -> Unity Master
    joncham authored Jan 1, 2018
    Configuration menu
    Copy the full SHA
    cae4850 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2018

  1. IL2CPP debugger fixes for working with Unity players (#772)

    * IL2CPP debugger fixes for working with Unity players
    
    * Ignoring setp_out sequence points when searching for sequence points that don't correspond to step_out requests.
    * Not returning step_out sequence points when retrieving method debug  info.  The step out sequence points have the same offset as other sequence points, but different line numbers.
    * Hardened the il2cpp_mono_free_method_signatures() function against multiple calls by setting the method_signatures hash table to null after it is cleared.
    * The isActive field in Il2CppSequencePoint should be a uint8_t, not a bool, as it gets incremented.  I think this change was made in the previous C-only type for this struct but not propagated to the C++ version, which is the only version we use now.
    
    * Fixed missed issue with duplicate inner loop variable
    brianradunity authored Jan 2, 2018
    Configuration menu
    Copy the full SHA
    37ff3f5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #776 from Unity-Technologies/unity-master-staging

    Mono Bleeding Edge for Trunk
    case 980742 - Fix 32-bit Windows Standalone failing to load Mono
    joncham authored Jan 2, 2018
    Configuration menu
    Copy the full SHA
    29cbfa1 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2018

  1. Configuration menu
    Copy the full SHA
    f9c524f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d07185 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ebbe9a View commit details
    Browse the repository at this point in the history
  4. Fix link

    joncham committed Jan 3, 2018
    Configuration menu
    Copy the full SHA
    008d862 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bec1156 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    033f565 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3492bb2 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2018

  1. Enable IPv6 support in the settings files

    It looks like the upstream Mono code uses either the class library PAL
    or a fallback to a hard-coded value to enable IPv6 support. The fallback
    is not compiled in for the Unity code, so the class library code tries a
    final fallback to the settings file. In the old Mono this setting was
    present, but it does not exist in the new Mono, as it is not needed
    upstream.
    
    This change corrects Unity case 941946 by enabling IPv6 support in the
    settings file.
    joshpeterson committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    4068aab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f785be4 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. [unitytls] Added missing MONO_API to mono_unity_get_unitytls_interfac…

    …e and added it to the header for completeness
    AndreasReich committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    1382d28 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #781 from Unity-Technologies/unity-master-fix-andr…

    …oid-gc (case 954427)
    
    Always set GC_no_dls when using bdwgc. This fixes a segfault when using our newer Boehm GC on android
    mderoy authored Jan 5, 2018
    Configuration menu
    Copy the full SHA
    c2401ef View commit details
    Browse the repository at this point in the history
  3. Merge pull request #780 from Unity-Technologies/enable-ipv6-settings-…

    …file
    
    Enable IPv6 support in the settings files
    joshpeterson authored Jan 5, 2018
    Configuration menu
    Copy the full SHA
    a83dfbb View commit details
    Browse the repository at this point in the history
  4. [unitytls] Removed SslStream tests again since they are not passing w…

    …ith standard mono tls implementation. These tests are now part of Unity to ensure that UnityTls works properly
    AndreasReich committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    62e7a52 View commit details
    Browse the repository at this point in the history
  5. [unitytls] mono_unity_unitytls_interface exposes now invalid_handle, …

    …removing the need for unitytls_x509list_get_size
    AndreasReich committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    b990700 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a47260d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7924b37 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dc8d8fb View commit details
    Browse the repository at this point in the history
  9. Merge pull request #783 from Unity-Technologies/unity-master-il2cpp-o…

    …n-mono-fixes
    
    Avoid some code paths on IL2CPP on Mono to avoid test failures.
    joncham authored Jan 5, 2018
    Configuration menu
    Copy the full SHA
    3d1a1f7 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #782 from Unity-Technologies/unity-master-mixed-ca…

    …llstack-cleanup
    
    Mixed Callstacks: Reduce allocations and perform name calculation outside of lock.
    joncham authored Jan 5, 2018
    Configuration menu
    Copy the full SHA
    acc623a View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. Configuration menu
    Copy the full SHA
    b1a8eca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    589f130 View commit details
    Browse the repository at this point in the history
  3. [unitytls] Removed local caching of unitytls native interface again.

    Adds code complexity with little gain. With native interface being a property this also feels more natural now.
    AndreasReich committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    ca2058f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a1e777 View commit details
    Browse the repository at this point in the history
  5. [unitytls] Removed commented debug output in MonoTlsProviderFactory a…

    …nd simplified branch-flow for UnityTls support
    AndreasReich committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    d90ff2f View commit details
    Browse the repository at this point in the history
  6. [unitytls] Reverted remaining changes in system tests

    All additional tests are now done from unity to ensure that unitytls inkl binding to unity is working properly
    AndreasReich committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    f9e79da View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9889bec View commit details
    Browse the repository at this point in the history
  8. [unitytls] FinishHandshake no longer passes null for errorState when …

    …retrieving information about the connection from tlsctx.
    
    Passing null for the errorstate is no longer supported in an upcoming unitytls version.
    AndreasReich committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    a5df54c View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Configuration menu
    Copy the full SHA
    fe8bf68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1165e17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f7503b View commit details
    Browse the repository at this point in the history
  4. breakpoints_cleanup() in the debugger agent can be called multiple

    times when used with IL2CPP, so added some defense against this to
    prevent already-cleared hashtables and arrays from being destroyed multiple
    times.
    Brian Raderman committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    88d2f08 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. [unitytls] Implemented client->server authentification

    Fixed RemoteCertificate property always being null
    AndreasReich committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    02aa179 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3843d8e View commit details
    Browse the repository at this point in the history
  3. Add API to control behavior of thread abort within handler blocks (ca…

    …se 979679).
    
    Unity unloads domains and this is accomplished via thread abort exceptions.
    Mono now matches .NET behavior by not interrupting catch/finally blocks with
    thread abort exceptions. This can lead to hangs in Unity as domain unload
    blocks until all thread are interrupted.
    joncham committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    f332f26 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    601111c View commit details
    Browse the repository at this point in the history
  5. Fix instrumentation with legacy profiler APIs (case 979612)

    Add call instrumentation filter that is enabled for all methods when
    legacy embedding API mono_profiler_set_events is used to enable method
    enter/leave instrumentation.
    joncham committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    4c76fc9 View commit details
    Browse the repository at this point in the history
  6. Fix Windows Socket.Send not blocking (case 984723)

    This matches behavior of receive variants. Fixes blocking send call
    where Win32 returns WSAEWOULDBLOCK.
    
    Related to issue mono#6464
    joncham committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    26c4caf View commit details
    Browse the repository at this point in the history
  7. Fix crash on startup when script debugging is enabled due to shared s…

    …ignals between mono and the GC (case 973794)
    mderoy committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    eb39683 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #786 from Unity-Technologies/unity-master-win32-so…

    …cket-error
    
    Fix Windows Socket.Send not blocking (case 984723)
    joncham authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    cb363d5 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #788 from Unity-Technologies/add-embedding-api-han…

    …dler-block-guards
    
    Add API to control behavior of thread abort within handler blocks (case 979679).
    joncham authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    9d02a18 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #789 from Unity-Technologies/unity-master-fix-deep…

    …-profiling
    
    Fix instrumentation with legacy profiler APIs (case 979612)
    joncham authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    daa5b79 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #790 from Unity-Technologies/fix-android-signal (c…

    …ase 973794)
    
    Fix crash on android when script debugging is enabled (case 973794)
    mderoy authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3207b33 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #787 from Unity-Technologies/il2cpp-debugger-misc-…

    …bug-fixes
    
    Make breakpoints_cleanup() safe to call multiple times
    brianradunity authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3191b8a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2018

  1. Use new MonoBleedingEdge builds.zip for bootstrap Mono.

    Our previous committed mono versions are too old to build latest mono
    and we were falling back to monolite to build.
    joncham committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    2e82f4d View commit details
    Browse the repository at this point in the history
  2. Add folder specifically for UnityScript and Boo assemblies.

    This starts process of treating them as not part of standard set of
    system assemblies. We can easily reference them as needed rather than
    assuming they are in all the mono profile directories.
    joncham committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    d93250b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #791 from Unity-Technologies/unity-master-fix-mono…

    …-build-deps
    
    Use new MonoBleedingEdge builds.zip for bootstrap Mono.
    joncham authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    0940f04 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #792 from Unity-Technologies/unity-master-us-and-b…

    …oo-directory
    
    Add folder specifically for UnityScript and Boo assemblies.
    joncham authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    07c1f14 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2018

  1. [unitytls] UnityTls.IsSupported no longer relies on exception handlin…

    …g but on a simple null check
    AndreasReich committed Jan 12, 2018
    Configuration menu
    Copy the full SHA
    52e347b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65af3e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7162bf5 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #793 from Unity-Technologies/unity-master-debugger…

    …-cleanup-attempt-3
    
    Debugger Cleanups
    mderoy authored Jan 12, 2018
    Configuration menu
    Copy the full SHA
    22ca037 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. for some regions, specifically Asia/Singapore, the native icall retur…

    …ns incorrectly because the country's timezone changed. In this case in 1981 Asia/Singapore changed from +0730 to +08....Since the UTC offset changed, our logic thinks that daylight savings may have started, and the icall returns incorrect data, which causes the CreateLocalUnity function to throw. Fixing the icall is important, but for the time being we'll wrap the CreateLocalUnity function with a try catch. then fix the native icall...
    mderoy committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    9500a30 View commit details
    Browse the repository at this point in the history
  2. [unitytls] Renamed mono_unity_unitytls_interface to unitytls_interfac…

    …e_struct
    
    Change due the fact that the interface is soon to be used in other places.
    AndreasReich committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    5a28379 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #795 from Unity-Technologies/unity-master-tz-fix-b…

    …uild
    
    Catch errors from CreateLocalUnity function
    mderoy authored Jan 16, 2018
    Configuration menu
    Copy the full SHA
    1e12465 View commit details
    Browse the repository at this point in the history
  4. * Changed IL2CPP specific sections in debugger-agent.c to use the

    RUNTIME_IL2CPP macro instead of IL2CPP_MONO_DEBUGGER, as the latter is
    switched off on release builds to control debugger code usage.  We will
    still build the debugger-agent in release, but the native linker
    should strip it out.
    * Stripping out code in stubs that reference code in utils::Debugger when
    the debugging code is turned off.  utils::Debugger implementation is stripped
    out completey in this case.
    Brian Raderman committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    7356c31 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2018

  1. Configuration menu
    Copy the full SHA
    cdaebd8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #794 from Unity-Technologies/il2cpp-debugger-prepr…

    …ocessor-cleanup
    
    Preprocessor cleanup for il2cpp debugger
    brianradunity authored Jan 17, 2018
    Configuration menu
    Copy the full SHA
    ce99638 View commit details
    Browse the repository at this point in the history
  3. Changing the CMD_TYPE_IS_INITIALIZED command for the il2cpp case in

    the debugger agent to use the klass instead of the vtable.  The local
    vtable variable in this case points to the actual IL2CPP vtable and
    will not have the "initialized" bit we are looking for.
    Brian Raderman committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    7fa476f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #800 from Unity-Technologies/il2cpp-debugger-type-…

    …is-initialized-fix
    
    Fixing debugger command CMD_TYPE_IS_INITIALIZED for il2cpp
    brianradunity authored Jan 17, 2018
    Configuration menu
    Copy the full SHA
    4d85d0e View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Configuration menu
    Copy the full SHA
    eee354c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #801 from Unity-Technologies/unity-master-tz-fix-b…

    …uild (case 988428) (case 943047)
    
    Support timezones without daylight savings time
    mderoy authored Jan 18, 2018
    Configuration menu
    Copy the full SHA
    e01ef6d View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. Configuration menu
    Copy the full SHA
    682e1af View commit details
    Browse the repository at this point in the history
  2. Changing sequence point IDs to integers because they are array

    indexes now instead of arbitrary hash codes.
    Brian Raderman committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    d9dda45 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Configuration menu
    Copy the full SHA
    3ea4ed4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #802 from Unity-Technologies/unity-master-unitytls

    Updated unitytls_interface_struct to newest version
    AndreasReich authored Jan 22, 2018
    Configuration menu
    Copy the full SHA
    b122ffb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #803 from Unity-Technologies/il2cpp-debugger-remov…

    …e-hash-tables
    
    Changing sequence point IDs to integers
    brianradunity authored Jan 22, 2018
    Configuration menu
    Copy the full SHA
    712071d View commit details
    Browse the repository at this point in the history
  4. Fixes an issue where a pipestream handle may be closed twice (Case 94…

    …2966)
    Michael DeRoy committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    71ad545 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #804 from Unity-Technologies/unity-master-fix-name…

    …dpipe-crash
    
    Fixes an issue where a pipestream handle may be closed twice (Case 942966)
    mderoy authored Jan 22, 2018
    Configuration menu
    Copy the full SHA
    1ad733d View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Reuse class unload cache filter logic from metadata in debugger (case…

    … 974228)
    
    Debugger maintains it's own list of loaded classes. The unload/filter
    logic does not handle composite types like arrays and generic instances.
    Expose and reuse the logic from metadata that properly detects any
    usage of an image within a type.
    
    This prevents the cache from containing MonoClass values which have
    already been freed by the metadata cleaning code.
    joncham committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    79f86de View commit details
    Browse the repository at this point in the history
  2. Merge pull request #809 from Unity-Technologies/unity-master-debugger…

    …-clear-types-for-assembly
    
    Reuse class unload cache filter logic in debugger (case 974228)
    
    case 974228 - Fix crash on exit when using script debugger
    
    Debugger maintains it's own list of loaded classes. The unload/filter
    logic does not handle composite types like arrays and generic instances.
    Expose and reuse the logic from metadata that properly detects any
    usage of an image within a type.
    
    This prevents the cache from containing MonoClass values which have
    already been freed by the metadata cleaning code.
    joncham authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    e2d3ddd View commit details
    Browse the repository at this point in the history
  3. Add legacy profiler support for allocations (case 988906)

    Return in Boehm 0 for number of managed allocators.
    If GC has no managed allocators, allow allocation profiling to be
    set lazily.
    joncham committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    c7ff206 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. Configuration menu
    Copy the full SHA
    4ca758f View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2018

  1. adds the option to build android runtime with windows subsystem for l…

    …inux
    Michael DeRoy committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    f26d7c9 View commit details
    Browse the repository at this point in the history
  2. Fixes for il2cpp debugger running with Visual Studio for Mac:

    * Returning an empty "list" of custom attributes for types, fields,
    properties, and methods instead of a not-implemented error.
    * Updating debugger ASSEMBLY_GET_NAME command to use Il2Cpp code for
    generating the fully qualified name with public key tokens.  The Mono
    code generates invalid strings for the token with the Il2Cpp assembly
    name data, which will cause the VSfM debug client to disconnect.
    Brian Raderman committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    95ab5eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c0dec0 View commit details
    Browse the repository at this point in the history
  4. Fix issue on android where HTTPClient.GetAsync will fail with libc er…

    …ror (case 935292)
    Michael DeRoy committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    5ef7ea5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #822 from Unity-Technologies/unity-master-add-andr…

    …oid-wsl
    
    Build the android runtime with windows subsystem for linux
    mderoy authored Jan 25, 2018
    Configuration menu
    Copy the full SHA
    9c14da5 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #824 from Unity-Technologies/unity-master-load-ass…

    …embly-raw-decrease-refcount
    
    Remove extra reference count on images loaded via byte array (case 923165)
    
    case 923165 - Fix memory corruption/crash after domain reload when using Assembly.Load(Byte[])
    joncham authored Jan 25, 2018
    Configuration menu
    Copy the full SHA
    31039ff View commit details
    Browse the repository at this point in the history
  7. Merge pull request #815 from Unity-Technologies/unity-master-profiler…

    …-gc-allocations
    
    Add legacy profiler support for allocations (case 988906)
    
    Return in Boehm 0 for number of managed allocators.
    If GC has no managed allocators, allow allocation profiling to be
    set lazily.
    
    case 988906 - Fix GC allocation profiling
    joncham authored Jan 25, 2018
    Configuration menu
    Copy the full SHA
    b117a3d View commit details
    Browse the repository at this point in the history
  8. Revert il2cpp as dependency of mono f16d00e

    Michael DeRoy committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    59240d1 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #826 from Unity-Technologies/unity-master-fix-andr…

    …oid-domainname-issue (case 935292)
    
    Fix issue on android where HTTPClient.GetAsync will fail with libc error (case 935292)
    mderoy authored Jan 25, 2018
    Configuration menu
    Copy the full SHA
    ff33da9 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #817 from Unity-Technologies/unity-master-oop-cras…

    …h-handler
    
    Rebase of out of process crash handlers taken and squashed from https://github.com/PeteLewisUnity/mono/commits/unity-2017-02-staging-oop
    
    These were missed with our rebase onto mono master
    joncham authored Jan 25, 2018
    Configuration menu
    Copy the full SHA
    5d92128 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2018

  1. Implement path remapping support (case 992909)

    This was previously stubbed out when rebasing
    onto mono master branch.
    joncham committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    155ca60 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #830 from Unity-Technologies/unity-master-remove-i…

    …l2cpp
    
    Revert il2cpp as dependency of mono f16d00e
    mderoy authored Jan 26, 2018
    Configuration menu
    Copy the full SHA
    bb0c4f9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #834 from Unity-Technologies/unity-master-path-rem…

    …apping
    
    Implement path remapping support (case 992909)
    
    This was previously stubbed out when rebasing
    onto mono master branch.
    
    case 992909 - Fix FileNotFoundException encountered when using packages
    joncham authored Jan 26, 2018
    Configuration menu
    Copy the full SHA
    6922252 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2018

  1. Only call waitpid for processes that Mono tracks, rather than all c…

    …hild processes owned by the calling process. (mono#6202)
    
    waitpid(-1,...) reaps all zombie child processes of the calling process (see `man waitpid`). After a child process is reaped, it can no longer be queried. Because this reaping step is invoked via the `SIGCHLD` signal, all zombie children of the calling process are reaped every time any child process terminates, regardless of whether that child process was tracked by Mono.
    
    The impact of this bug is that apps using Mono that spawn their own child processes (outside of Mono's `w32process` API) cannot query the exit state of its children. For example, a call to `waitpid(my_child_pid,...)` will return `ECHILD` for "no such child" because Mono has already cleaned up the child the moment `SIGCHLD` was raised.
    PeteLewisUnity authored and joncham committed Jan 27, 2018
    Configuration menu
    Copy the full SHA
    9190155 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #836 from Unity-Technologies/unity-master-waitpid-…

    …tracked-processes
    
    Only call `waitpid` for processes that Mono tracks, rather than all c…
    joncham authored Jan 27, 2018
    Configuration menu
    Copy the full SHA
    0897c51 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. Configuration menu
    Copy the full SHA
    d476b39 View commit details
    Browse the repository at this point in the history
  2. [unitytls] Handling gracefully closed connections properly now. Sendi…

    …ng close notify if requested.
    AndreasReich committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    0768508 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #838 from Unity-Technologies/unity-master-unitytls

    UnityTls Interface update + handling of connection closing
    AndreasReich authored Jan 29, 2018
    Configuration menu
    Copy the full SHA
    0541fdf View commit details
    Browse the repository at this point in the history
  4. Merge pull request #823 from Unity-Technologies/il2cpp-debugger-vs-fo…

    …r-mac-fixes
    
    Fixes for il2cpp debugger running with Visual Studio for Mac:
    brianradunity authored Jan 29, 2018
    Configuration menu
    Copy the full SHA
    454c8f0 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2018

  1. Configuration menu
    Copy the full SHA
    2a3eb56 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #844 from Unity-Technologies/unity-master-sync-il2…

    …cpp-fixes
    
    Sync IL2CPP fixes for older MSVC
    joncham authored Jan 31, 2018
    Configuration menu
    Copy the full SHA
    2b30167 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Configuration menu
    Copy the full SHA
    6e036ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16f0741 View commit details
    Browse the repository at this point in the history
  3. Don't flush buffers explicitly. let the file cache do that since it s…

    …hould most of the time flush before the plugin reads it anway
    Michael DeRoy committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    d735272 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2018

  1. Merge pull request #845 from Unity-Technologies/unity-master-dont-flu…

    …sh-plugin
    
    [Mixed Callstack Plugin]Don't flush the file buffers.
    mderoy authored Feb 5, 2018
    Configuration menu
    Copy the full SHA
    3bc9017 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. Configuration menu
    Copy the full SHA
    237c030 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2018

  1. Configuration menu
    Copy the full SHA
    4d5b659 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. Configuration menu
    Copy the full SHA
    71f1c16 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #846 from Unity-Technologies/unity-master-windows-…

    …runtime-on-aot
    
    Fix COM and Windows Runtime support on UnityAot profile
    TautvydasZilys authored Feb 12, 2018
    Configuration menu
    Copy the full SHA
    dcb6577 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. Merge pull request #847 from Unity-Technologies/il2cpp-debbuger-sync

    Synchronize changes debugger from the IL2CPP repo
    joshpeterson authored Feb 13, 2018
    Configuration menu
    Copy the full SHA
    f0fe112 View commit details
    Browse the repository at this point in the history
  2. Changing debugger metadata to a format that will be faster to compile

    as well lend itself to being output as a binary format that can be
    memory-mapped at runtime.  Changed everything to use static
    initializers instead of function calls, replaced externally linked
    pointers with indexes, and pulled out redundant string data into
    separate tables.  Using a table-of-tables format with a separate
    index for large amounts of data that must be spread among multiple
    files.
    Brian Raderman committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    eab4eb5 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. Merge pull request #848 from Unity-Technologies/il2cpp-debugger-metadata

    IL2CPP debugger metadata improvement
    brianradunity authored Feb 15, 2018
    Configuration menu
    Copy the full SHA
    aa8661a View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2018

  1. Initial changes to get the debugger to compile on PS4

    Josh Peterson committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    6b9a6f9 View commit details
    Browse the repository at this point in the history
  2. Add missing files to be copied from Mono.

    Update the copy script to fail when an expected source file is not found.
    Josh Peterson committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    18b971e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #850 from Unity-Technologies/il2cpp-debugger-ps4

    Changes to get the IL2CPP debugger building on PS4
    joshpeterson authored Feb 16, 2018
    Configuration menu
    Copy the full SHA
    6a05f5d View commit details
    Browse the repository at this point in the history
  4. Work around an Android C++ compiler bug

    The class library code in `GetErrorMessage` exposes a C++ compiler bug
    on Android in the r13b NDK. We can't easily update the NDK, so instead
    we will work around the bug by changing the class library code. We don't
    expect any change in behavior from this change.
    joshpeterson committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    415dc87 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. Merge pull request #851 from Unity-Technologies/workaround-android-co…

    …mpiler-bug
    
    Work around an Android C++ compiler bug
    
    The class library code in GetErrorMessage exposes a C++ compiler bug
    on Android in the r13b NDK. We can't easily update the NDK, so instead
    we will work around the bug by changing the class library code. We don't
    expect any change in behavior from this change.
    
    This corrects case 986215.
    
    Release notes:
    
    IL2CPP: Work around a C++ compiler bug in the Android NDK that occurs when obtaining the message from a socket exception.
    
    I'll back port this fix to 2018.1, 2017.3, and 2017.2
    joshpeterson authored Feb 20, 2018
    Configuration menu
    Copy the full SHA
    9410509 View commit details
    Browse the repository at this point in the history
  2. Removing unneeded files from the IL2CPP external/mono/mono/mini

    directory.  The extra files were causing compilation errors on
    Android due to pre-existing platform support that we weren't using.
    Stubbing out types and re-defining a few things to support these
    changes.
    Brian Raderman committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    4ff5d1e View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Merge pull request #852 from Unity-Technologies/il2cpp-debugger-build

    Cleaning up mono/mini directory in IL2CPP externals
    brianradunity authored Feb 21, 2018
    Configuration menu
    Copy the full SHA
    991e78a View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. Configuration menu
    Copy the full SHA
    3aa9801 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2018

  1. Merge pull request #856 from Unity-Technologies/fix-uwp-and-xbox-one-…

    …build-for-debugger
    
    Fix Mono so libil2cpp with debugger compiles on UWP and Xbox One
    TautvydasZilys authored Feb 24, 2018
    Configuration menu
    Copy the full SHA
    74d2477 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Use the Unity PAL for the IL2CPP debugger

    Change the IL2CPP manager debugger to use the Unity PAL, so the debugger
    can work on all platforms that IL2CPP supports.
    Josh Peterson committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    58faedf View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2018

  1. Merge pull request #855 from Unity-Technologies/il2cpp-debugger-unity…

    …-pal
    
    Use the Unity PAL for the IL2CPP debugger
    joshpeterson authored Feb 27, 2018
    Configuration menu
    Copy the full SHA
    7e21310 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Use proper sized integer for ioctlsocket on Win32 (case 990979)

    Windows expects a 32-bit unsigned long in this API.
    Previously we passed a 64-bit value and the actual amount
    was stored in the wrong bits.
    joncham committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    2c936e0 View commit details
    Browse the repository at this point in the history
  2. [bcl] Allow conversion from enums and their basetypes in both directi…

    …ons with Delegate.CreateDelegate (). Fixes mono#6255. (case 977917)
    vargaz authored and joncham committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    3d4bb39 View commit details
    Browse the repository at this point in the history
  3. [mcs] Support implicit user conversion from nullable type without unw…

    …rapping. Fixes #60900 (case 970493)
    marek-safar authored and joncham committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    bc0ff2f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ecef34c View commit details
    Browse the repository at this point in the history
  5. change first supported time to 1971 for ps4

    Michael DeRoy committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    e15b660 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #858 from Unity-Technologies/first-timezone-1971

    Change first supported time to 1971
    mderoy authored Mar 1, 2018
    Configuration menu
    Copy the full SHA
    6d1b992 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2018

  1. Remove the machine.config check for IPv6 support

    We want the .NET 4.x and the .NET Standard 2.0 profiles to work the same
    with respect to IPv6.  Previously, the .NET 4.x profile checked the
    machine.config file for IPv6 support.
    
    This change removes the code which checks the machine.config file, and
    instead always returns true. Later, we will use the Unity PAL to get the
    proper value for each platform. For now, we want consistency.
    joshpeterson committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    14342b1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #862 from Unity-Technologies/ipv6-normalize-profiles

    Remove the machine.config check for IPv6 support
    
    We want the .NET 4.x and the .NET Standard 2.0 profiles to work the same
    with respect to IPv6. Previously, the .NET 4.x profile checked the
    machine.config file for IPv6 support.
    
    This change removes the code which checks the machine.config file, and
    instead always returns true. Later, we will use the Unity PAL to get the
    proper value for each platform. For now, we want consistency.
    
    I'll back port this to 2018.1.
    
    No release notes for this change.
    joshpeterson authored Mar 7, 2018
    Configuration menu
    Copy the full SHA
    ca762c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Set the frame ID for the debugger

    This code is a bit odd. It depends on the `i` variable value after the
    `for` loop. If that `for` loop does not execute (even if the loop body
    does nothing), the code won't set the frame ID properly. This causes
    locals to be reported for the wrong frame in the `GET_FRAME_INFO`
    command.
    
    On a side note, maybe we should implement something for IL2CPP in the
    body of for loop, but that is a different issue.
    
    This syncs with the debugger code in the IL2CPP repo.
    Josh Peterson committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    fdd29ba View commit details
    Browse the repository at this point in the history
  2. Merge pull request #863 from Unity-Technologies/sync-il2cpp-debugger

    Set the frame ID for the debugger
    joshpeterson authored Mar 8, 2018
    Configuration menu
    Copy the full SHA
    a49c62a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af9f98c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #865 from Unity-Technologies/unity-master-valuetyp…

    …e-equals-gethashcode-pointer-fields
    
    Support pointer fields in ValueType Equals & GetHashCode (case 1005597)
    
    Release Notes:
    case 1005597 - Fix crash when calling NativeArray.Equals
    joncham authored Mar 8, 2018
    Configuration menu
    Copy the full SHA
    194102d View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. [corlib] Fix Type.GetInterface() to find implemented interface when "…

    …ignoreCase: true" is used (mono#7464)
    
    Fixes mono#6579
    KonH authored and joncham committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    3bb0be9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c9428b View commit details
    Browse the repository at this point in the history
  3. Update README.md

    joncham authored Mar 9, 2018
    Configuration menu
    Copy the full SHA
    cb33cc6 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2018

  1. [Facades] Add missing Facades that exist in .NET 4.7.1 (mono#7541)

    Some of them we had on mobile only, others were missing completely.
    
    Fixes mono#7536
    akoeplinger authored and joncham committed Mar 10, 2018
    Configuration menu
    Copy the full SHA
    002915a View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2018

  1. Sync changes from IL2CPP 85698322c225ff1be2bc71c65a00b64d67d71a24

    Added a building test for building with the debugger code generation
    enabled but the debugger turned "off" via the IL2CPP_MONO_DEBUGGER
    preprocessor define.
    joncham committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    b6daf20 View commit details
    Browse the repository at this point in the history
  2. Sync changes from IL2CPP 7071db69fe79c82b32c928e94c61b8af145e7697

    Fix for case 1011160: Step Out from an Update function behaves
    incorrectly.  If we are stepping out of the only managed frame
    in the call stack, cancel creating the step request and just continue.
    joncham committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    374a152 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2018

  1. Don't fail constructing WebProxyData if retrieving proxy data from th…

    …e registry fails with DllNotFoundException. We don't construct it on Unity AOT profile anyway, and it's better for it to work without proxy support than not work at all.
    
    Release notes:
    
    � Universal Windows Platform: Fixed HttpWebRequest throwing
    DllNotFoundException on IL2CPP scripting backend (case 989588).
    TautvydasZilys committed Mar 13, 2018
    Configuration menu
    Copy the full SHA
    70ff150 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #870 from Unity-Technologies/fix-http-web-request-uwp

    Fix HttpWebRequest on UWP and Xbox One (case 989588)
    TautvydasZilys authored Mar 13, 2018
    Configuration menu
    Copy the full SHA
    7a9ba85 View commit details
    Browse the repository at this point in the history
  3. Fixed calling conventions for unitytls callbacks

    (for calls native -> managed)
    AndreasReich committed Mar 13, 2018
    Configuration menu
    Copy the full SHA
    96c5d15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b3f8a5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #871 from Unity-Technologies/unity-master-unitytls…

    …-fix-callconvs
    
    Fixed calling conventions for unitytls callbacks
    AndreasReich authored Mar 13, 2018
    Configuration menu
    Copy the full SHA
    c328a85 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Merge pull request #869 from Unity-Technologies/unity-master-sync-il2cpp

    Sync debugger changes from IL2CPP
    joncham authored Mar 14, 2018
    Configuration menu
    Copy the full SHA
    3633b8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d68de1 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2018

  1. Merge pull request #872 from Unity-Technologies/unity-master-unitytls…

    …-rawhandle-interface-workaround
    
    Workaround for crash on Android when calling unitytls_tlsctx_create_server
    AndreasReich authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    e618bee View commit details
    Browse the repository at this point in the history
  2. Merge pull request #868 from Unity-Technologies/unity-master-missing-…

    …facades
    
    [Facades] Add missing Facades that exist in .NET 4.7.1 (mono#7541)
    
    Release Notes:
    
    case 996947 - Add missing some missing Facades that exist in 4.7.1-api
    joncham authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    bbed2bf View commit details
    Browse the repository at this point in the history
  3. Merge pull request #866 from Unity-Technologies/unity-master-fix-get-…

    …active-udp-listeners
    
    Swap bytes for port number (case 1006506)
    joncham authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    5354438 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f517be7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #867 from Unity-Technologies/unity-master-remove-m…

    …ono-api-extensions
    
    Remove mono specific reference assemblies
    joncham authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    562c6a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2018

  1. Fix issue mono#7596 on Windows x64. (mono#7625)

    * Fix error in vcxproj filter causing load error in Visual Studio.
    
    * Fixes issue mono#7596 on Windows x64.
    
    Passing value types in Windows x64 not fitting into register will be passed
    by reference (ArgValuetypeAddrInIReg or ArgValuetypeAddrOnStack )
    using a local variable allocated in caller’s frame.
    
    Current implementation sized and marshaled the native struct correctly when
    using pinvoke, but it sized the final local passed as reference to the native method
    using the managed stack size instead of the native. This caused the final copy
    into the local to overwrite other locals on stack if managed and native struct stack
    sizes differed.
    
    The fix is to flag the local variable used as stack parameter with its pinvoke state.
    This makes sure the stack allocation size will be correct when using value types
    passed on the stacks in pinvokes.
    
    When running other unit tests with sequence points I hit a similar issue with
    empty structs as return parameters (using [StructLayout (LayoutKind.Sequential, Size = 0)].
    This commit includes a fix to ignore the return value if it’s an empty struct on Windows x64.
    lateralusX authored and joncham committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    13ef9d1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #873 from Unity-Technologies/unity-master-win64-st…

    …ruct-pinvoke
    
    Fix issue mono#7596 on Windows x64. (mono#7625)
    
    case 1001996 - Fix p/invoke on Win32 when soft debugger is enabled
    joncham authored Mar 16, 2018
    Configuration menu
    Copy the full SHA
    d37a5bf View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. unity_process_breakpoint_inner(), like its Mono counterpart, will

    process breakpoint, stepping, and method exit/entry events all at the
    same time when checking a sequence point.  So, if there is is a
    breakpoint and a stepping event at the same time, the debugger agent
    will suspend the current thread twice, which means you have to click
    the step button in the debugger client twice on that line.  The fix
    for this is to only consider one of these events at a time and ignore
    the others.
    Brian Raderman committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    02e341b View commit details
    Browse the repository at this point in the history
  2. If a bad header is received from the client or the connection is broken,

    send an internal VM_DISPOSE command to shut down the debugger thread
    properly.  This prevents runtime hangs that occur during profile
    events after the debugger shuts down.
    Brian Raderman committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    24a16c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9304fdd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #876 from Unity-Technologies/debugger-dispose-on-c…

    …onnect-error
    
    Debugger dispose on connection error
    brianradunity authored Mar 19, 2018
    Configuration menu
    Copy the full SHA
    51603c9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #874 from Unity-Technologies/il2cpp-debugger-bp-st…

    …ep-fix
    
    Fix for "double-step" issue in il2cpp debugger
    brianradunity authored Mar 19, 2018
    Configuration menu
    Copy the full SHA
    c3fbab9 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. Merge pull request #878 from Unity-Technologies/unity-master-remove-i…

    …l2cpp-copy
    
    Remove IL2CPP copy scripts. This is in IL2CPP repo now.
    joncham authored Mar 20, 2018
    Configuration menu
    Copy the full SHA
    fd2dd4c View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2018

  1. Sync with IL2CPP changes for memory mapped files

    Josh Peterson committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    e73093f View commit details
    Browse the repository at this point in the history
  2. This fixes an issue we are seeing with VSTU debgugging in Unity. (mon…

    …o#7634)
    
    process_breakpoint() will process breakpoint, stepping, and method
    exit/entry events all at the same time when checking a sequence point.
    So, if there is is a breakpoint and a stepping event at the same time,
    the debugger agent will suspend the current thread twice, which means
    you have to click the step button in the debugger client twice on that
    line.  Considering only one of these events at a time seems to fix
    the issue without breaking any current unit tests or showing any other
    noticeable issues in testing.
    brianradunity committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    28a9910 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18b5d68 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2018

  1. Raise marshaling exception rather than aborting when marshaling inval…

    …id data type as array (case 935726)
    joncham authored and Michael DeRoy committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    cfa536f View commit details
    Browse the repository at this point in the history
  2. Allow structure to pointer conversion for blittable multi-dimensional…

    … arrays (case 940012)
    joncham authored and Michael DeRoy committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    929620b View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Merge pull request #883 from Unity-Technologies/unity-master-fix-bare…

    …-minimum-runtime
    
    Add .NET FW to beginning of path rather than end for referencing MSBuild.exe
    joncham authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    6590226 View commit details
    Browse the repository at this point in the history
  2. [object] mono_string_new should not assert on UTF conversion failures (

    …mono#6333)
    
    Revert the embedding API behavior change introduced by dcdfb3c
    
    mono_string_new will:
     * return NULL if the given byte sequence is not a valid UTF-8 sequence
     * assert if there is not enough memory to allocate a new MonoString.
    
    This only changes the behavior of the API function.  The runtime will continue
    to use mono_string_new_checked which sets MonoError* for both sorts of
    failures.
    lambdageek authored and joncham committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    01019fe View commit details
    Browse the repository at this point in the history
  3. Forward mono_string_new_wrapper to mono_string_new for error handling.

    In commit 8ba48b5
    mono_string_new was adjusted to only assert for
    out of memory rather than all errors to preserve
    previous behavior for invalid strings. This
    change preserves behavior for mono_string_new_wrapper.
    joncham committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    f650db8 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #884 from Unity-Technologies/graft-marshal-changes

    Graft marshal changes from old mono (Case 1013898)
    mderoy authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    9c63172 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #880 from Unity-Technologies/unity-master-invalid-…

    …string-allocations
    
    case 1015822 - Avoid assert and crash on invalid text content
    joncham authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    96d5379 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #882 from Unity-Technologies/mono-debugger-dispose…

    …-on-connect-error
    
    This fixes an issue we are seeing with VSTU debgugging in Unity. (mono#7634)
    brianradunity authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    6de05ee View commit details
    Browse the repository at this point in the history
  7. [arm] fix stack alignment for structs (mono#7691)

    fixes mono#7449
    lewurm authored and joncham committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    0e083f5 View commit details
    Browse the repository at this point in the history
  8. add boo to unityscript folder

    Michael DeRoy committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    14b7ebe View commit details
    Browse the repository at this point in the history
  9. Merge pull request #888 from Unity-Technologies/unity-master-package-…

    …boo-in-unityscript-folder
    
    Add boo to unityscript folder
    mderoy authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    2bcc421 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2018

  1. Merge pull request #890 from Unity-Technologies/unity-master-fix-stac…

    …k-alignment-structs-android
    
    [arm] fix stack alignment for structs (mono#7691)
    
    case 915869 - Fix pinvoke structure alignment on Android
    case 960482 (maybe) - Fix Marshal.PtrToStructure alignment on Android
    joncham authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    d6f6688 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2018

  1. Merge pull request #881 from Unity-Technologies/il2cpp-implement-memo…

    …ry-mapped-file-icalls
    
    Sync with IL2CPP changes for memory mapped files
    joshpeterson authored Mar 27, 2018
    Configuration menu
    Copy the full SHA
    1ff90f7 View commit details
    Browse the repository at this point in the history
  2. Exposing MonoClass.has_cctor via a new unity-utils function. Need

    this to check if a class has a static constructor, so we can call it
    before a static method gets invoked.
    Brian Raderman committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    da417b7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #892 from Unity-Technologies/expose-klass-has-cctor

    Expose klass->has_cctor
    brianradunity authored Mar 27, 2018
    Configuration menu
    Copy the full SHA
    c1fe038 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2018

  1. Revert "Remove mono specific reference assemblies"

    This reverts commit f517be7.
    joncham committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    d889370 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2018

  1. Use An AOT-friendly Linq implementation

    The corefx implementation of Linq is not AOT-friendly, and won't work
    with IL2CPP until IL2CPP gets full generic sharing support. So use the
    Linq implementation from reference source for the unityaot profile. This
    implementation is AOT-friendly.
    
    This change addresses case 1013854 in Unity.
    joshpeterson committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    dab14a9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #894 from Unity-Technologies/linq-unityaot-profile

    Use An AOT-friendly Linq implementation
    joshpeterson authored Mar 30, 2018
    Configuration menu
    Copy the full SHA
    83e3daa View commit details
    Browse the repository at this point in the history
  3. Report the proper socket error

    When a connection fails, the socket error was being incorrectly reported
    as an address family not supported error, instead of connection refused.
    
    It looks like this happened between
    c4e698c (Unity 2018.1b5), where the
    proper error was reported, and ec98a4e
    (Unity 2018.1b6), there the incorrect error is reported.
    
    Why did this happen? Between those two changesets (there are about 180
    intervening changesets), the order of addresses returned from
    `Dns.GetHostAddresses` changed. The newer code returns the IPv6 address
    first, and the IPv4 address second. While `GetCheckedIPs` mentioned in a
    comment that it skips addresses that don't match the address family, it
    did not. The code using the addresses returned by `GetCheckedIPs` will
    use the first address in the array. If this address happens to match the
    address family of the socket, things will work "properly" (the correct
    socket error will occur).
    
    If, however the first entry has the wrong address family, then the
    socket error will be an address family not supported error, since the
    socket was created with different address family.
    
    This change modifies `GetCheckedIPs` to filter the addresses, removing
    those which do not match the address family.
    
    This corrects Unity case 1012875.
    joshpeterson committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    e09ab04 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2018

  1. Configuration menu
    Copy the full SHA
    aafa4ac View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2018

  1. Merge pull request #897 from Unity-Technologies/proper-socket-error

    Report the proper socket error (case 1012875)
    
    Release notes:
    Scripting: Provide the proper socket error when an IPv4 connection is refused.
    joshpeterson authored Apr 5, 2018
    Configuration menu
    Copy the full SHA
    17a6516 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #899 from Unity-Technologies/unity-master-fileio-p…

    …rofiling
    
    File IO profile support
    davidrogers-unity authored Apr 5, 2018
    Configuration menu
    Copy the full SHA
    13e9761 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1feca2 View commit details
    Browse the repository at this point in the history