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

Blazor hang with marshal methods #7927

Closed
wants to merge 108 commits into from
Closed

Commits on Mar 28, 2023

  1. Some debug messages

    grendello committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    31fa878 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] Fix Android Version Code for Release builds (dotnet#7795)
    grendello committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    40646c5 View commit details
    Browse the repository at this point in the history
  3. Marshal methods tracing

    grendello committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    a89f45b View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Native backtrace implementation

    Better string handling in LLVM IR generator
    grendello committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    fd06651 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Mono.Android] Bind API-UpsideDownCake Developer Preview 1 (dotnet#7796)
      Bump to dotnet/installer@d109cba3ff 8.0.100-preview.4.23176.5 (dotnet#7921)
    grendello committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    2193db1 View commit details
    Browse the repository at this point in the history
  2. [WIP] Stack unwinding (doesn't build yet)

    Use standalone libunwind instead of the LLVM's
    
    Instead of using autoconf on *nix and cmake on Windows, provide our
    own CMakeLists.txt file which works everywhere we need.
    grendello committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    0564634 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Build and use our own libunwind

    Building application with tracing currently fails because of
    __cxa_demangle missing symbols (it requires the built-in clang
    libunwind which we cannot use) - we will need our own demangler.
    Next week.
    grendello committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    3732378 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [tests] Remove `net472` multitargeting (dotnet#7932)
      [monodroid] Fix `ld` build error on Nightly Builds. (dotnet#7925)
      Bump to xamarin/Java.Interop/main@0355acf (dotnet#7931)
      [tests] Use msftconnecttest.com in QuoteInvalidQuoteUrlsShouldWork (dotnet#7919)
      [ci] Don't set demands for megapipeline (dotnet#7929)
    grendello committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    8b05e39 View commit details
    Browse the repository at this point in the history
  2. Make lld really ignore missing symbols + other stuff

      * provide library stubs for liblog and libdl
      * include libc++abi demangler directly in the trace library (its
        sources are part of the NDK)
      * better trace output
    
    The only remaining dependency on NDK is the clang builtins
    library (compiler-rt).  Should be able to eliminate that too, with some
    tweaks.
    grendello committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    97c5127 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Eliminate the need to use NDK when enabling marshal methods tracing

    At XA build time we find and package the compiler's builtins libraries
    for all the ABIs we support. This allows us to link libxamarin-app.so
    without requiring NDK to be present on end user's machine.
    
    Additionally, traces have now adjusted addresses and offsets for all
    frames, to match bionic behavior.
    
    Finally, the entire trace output is logged in a single message. This
    makes everything faster, but also makes sure that the trace won't be
    interleaved with unrelated messages in logcat.
    grendello committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    d37a22a View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [readme] Add aka.ms links for d17.5. (dotnet#7935)
    grendello committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    1ca486a View commit details
    Browse the repository at this point in the history
  2. Java stack trace implemented

    Also: introduce tracing modes, 'basic` for just the method enter/leave
    messages and 'full' to include native and java stack traces on method
    entry.
    grendello committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    fb7f7e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [ci] Remove remaining Classic test jobs. (dotnet#7924)
      Add Nightly Tests for Humanizer
    grendello committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    2f58b13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3d2649 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [ci] Stop building classic test suites. (dotnet#7938)
    grendello committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    581194e View commit details
    Browse the repository at this point in the history
  2. Day spent debugging

    It appears that the following might be cause of the "hang":
    
        04-07 19:39:36.121  4859  4859 I chromium: [INFO:CONSOLE(2)] "Uncaught ReferenceError: Blazor is not defined", source: https://0.0.0.0/ (2)
    
    It is probably caused by this JavaScript fragment from Blazor:
    
        Blazor.start();
        window.__BlazorStarted = true;
    
    And the Blazor class might not be initialized because of a problem with
    delegates using the "old" registration mechanism when marshal methods
    are enabled (there are quite a few of them in the test app).
    
    lldb didn't reveal anything interesting, process state appeared to be
    fine.
    grendello committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    0ba212e View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android] Remove OpenTK, sqlite-xamarin, System.EnterpriseServices. (dotnet#7940)
    grendello committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    a512324 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/Java.Interop/main@a172402 (dotnet#7944)
    grendello committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    8c1b27f View commit details
    Browse the repository at this point in the history
  3. Tracing code is going to live in a separate DSO

    The same library will be used by marshal methods tracing (by linking it
    into `libxamarin-app.so` when tracing is enabled) or will be used by
    `libmonodroid.so` (or p/invoked from managed land) if desired.
    grendello committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    b8cb13d View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump com.android.tools:r8 from 4.0.52 to 8.0.40 (dotnet#7934)
    grendello committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    0cf46bd View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] fix cases of missing `@(Reference)` (dotnet#7947)
      Bumping to the correct monodroid commit
      Trying to bump monodroid to run debugger-tests
      Pass timeout to runtime
    grendello committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    61f2114 View commit details
    Browse the repository at this point in the history
  3. Put tracing code in a separate library

    Eventually to be used, optionally, by libmonodroid
    grendello committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    d0ef3e7 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into blazor-hang

    * main:
      Convert `/tools` and `/build-tools` projects from `net472` to `$(DotNetStableTargetFramework)` (dotnet#7943)
    grendello committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    469e752 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Don't package the tracing DSO unless told so

    The DSO is packaged only if marshal methods tracing is enabled or if
    native stack traces are enabled (via the `_UseNativeStackTraces` MSBuild
    property)
    
    Added a p/invoke which can log any combination of: native, java, managed
    stack traces as well as the state of signal handlers.
    
    Updated p/invoke dispatch tables
    grendello committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    1076ed5 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/Java.Interop/main@554d819 (dotnet#7951)
      [Microsoft.Android.Sdk.ILLink] fix crash when TZ changes (dotnet#7956)
      [tests] Port 'Xamarin.Android.JcwGen-Tests.JcwGen-Tests' to .NET (dotnet#7949)
      [Xamarin.Android.Build.Tasks] remove `pdb2mdb` (dotnet#7950)
      [ci] Add some extra params to configure the test templates (dotnet#7955)
    grendello committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    d9d869c View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Spent the day tracking registered and executed methods

    Next week:
      * see what other types we should trace with Mono
      * check whether all JS callbacks are invoked
    grendello committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    c291dc4 View commit details
    Browse the repository at this point in the history
  2. A small TODO

    grendello committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    35be489 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] enable ForceInterpretedInvoke switch (dotnet#7972)
      [Mono.Android] Bind API-UpsideDownCake Beta 1 (dotnet#7980)
      Bump to xamarin/xamarin-android-tools/main@8bc07503 (dotnet#7863)
      [automation] Add 'xaSourcePath' to yaml so they can be used from monodroid. (dotnet#7978)
      Bump to dotnet/installer@16c10f8115 8.0.100-preview.4.23218.1 (dotnet#7969)
      [docs] Add UnitTest.md  (dotnet#7877)
      [ci] Suppress fork PR build warnings (dotnet#7973)
      [Xamarin.Android.Build.Tasks] Bump ZipFlushFilesLimit (dotnet#7957)
      Bump to dotnet/installer@3ca7ad1c79 8.0.100-preview.4.23211.1 (dotnet#7946)
      [CI] Allow passing xamarin-android checkout dir to nested templates. (dotnet#7961)
      [Xamarin.Android.Build.Tasks] Fix `-int.ToString()` for locales (dotnet#7941)
      [ci] Automatically retry failed apk-instrumentation tests. (dotnet#7963)
    grendello committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    4b595a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4288baf View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] remove Xamarin.Android.Legacy.targets and friends (dotnet#7985)
      Bump external/Java.Interop from `554d819` to `f0e3300` (dotnet#7982)
      [Xamarin.Android.Build.Tasks] stop redistributing `apksigner` (dotnet#7984)
    grendello committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    b68b512 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/Java.Interop/main@07d5595 (dotnet#7988)
      [ci] Use hosted Linux build pool for PR builds (dotnet#7976)
      Bump to dotnet/installer@f876fb51a4 8.0.100-preview.4.23224.14 (dotnet#7979)
    grendello committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    7eb75e3 View commit details
    Browse the repository at this point in the history
  2. Add some Java tracing + Java.Interop tracing

    Also, add a parameterless constructor to InputStreamAdapter, which
    wasn't activated in the "broken" case because its JCW lacked constructor
    with a call to TypeManager.Activate
    grendello committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    caae9e9 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [ci] Always download nupkgs to nuget-unsigned (dotnet#7999)
      Bump to xamarin/java.interop/main@3c2a066 (dotnet#7992)
    grendello committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    6a48e52 View commit details
    Browse the repository at this point in the history
  2. More tracing, perhaps getting closer

    It **might** be a bug in Mono native-to-managed wrappers generated
    for UCO methods, but we'll see - consulting with the runtime team.
    grendello committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    72abfa3 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to dotnet/installer@0ce891843a 8.0.100-preview.5.23228.7 (dotnet#7994)
      [ci] Automatically retry failed emulator tests. (dotnet#7997)
      [xaprepare] Combine 'AndroidTestDependencies' and 'EmulatorTestDependencies' scenarios. (dotnet#8006)
      [xaprepare] Provision 'platform-33_r02' (dotnet#8004)
      [Xamarin.Android.Build.Tasks] Add AndroidEnableRestrictToAttributes (dotnet#7990)
      [ci] Remove plots-to-appinsights. (dotnet#8002)
      [Xamarin.Android.Build.Tasks] remove NuGet dependencies (dotnet#8000)
      Bump to 33.0.56 $(AndroidNet7Version) (dotnet#7998)
      $(AndroidPackVersionSuffix)=preview.5; net8 is 34.0.0-preview.5 (dotnet#7996)
    grendello committed May 4, 2023
    Configuration menu
    Copy the full SHA
    4b45d5f View commit details
    Browse the repository at this point in the history
  2. Base code for parameter and return value logging

    After poring over the logs, it seems that we might be seeing a problem
    with some WebView callbacks not returning valid values when [UCO]
    wrappers are used.
    grendello committed May 4, 2023
    Configuration menu
    Copy the full SHA
    48f4b6a View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Different approach to printing params

    More complicated from the code generator's pov, but more efficient at
    runtime (and much less verbose).
    grendello committed May 5, 2023
    Configuration menu
    Copy the full SHA
    212f6ef View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Progress towards supporting variadic functions

    Code won't work right now, need to unify LlvmIrFunctionParameter with
    LlvmIrFunctionArgument tomorrow, it's currently very awkward to
    render **argument** types when handling variadic arguments for which
    there are no matching **parameters**
    grendello committed May 8, 2023
    Configuration menu
    Copy the full SHA
    bc5b0f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7600af1 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/Java.Interop/main@a91ae7f (dotnet#8017)
    grendello committed May 9, 2023
    Configuration menu
    Copy the full SHA
    788bd63 View commit details
    Browse the repository at this point in the history
  2. Generated code not complete, won't compile

    Continue to make generator more flexible and capable to add parameter
    tracing
    grendello committed May 9, 2023
    Configuration menu
    Copy the full SHA
    19e79a2 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [ci] Don't stop emulator on test agents that won't get reused. (dotnet#8005)
      [ci] Bump NUnit versions (dotnet#8021)
    grendello committed May 10, 2023
    Configuration menu
    Copy the full SHA
    cae9bb0 View commit details
    Browse the repository at this point in the history
  2. Way too much time spent on this...

    ...but LLVM IR conditional blocks finally work and IR quirks worked
    around.
    
    The main quirk is that in LLVM IR all unnamed parameters, local
    variables **and** labels must use sequential numbers as their name.
    However, a branch instruction needs to be (obviously) generated before
    the labels it refers to (two of them, for true and false conditions) are
    output.  This poses a problem if code generation is done in one,
    forward-only, pass - like in our case.  There's no way to go back to the
    br instruction and update label names (which would be easy if an AST was
    used), so instead of using anonymous labels we now use named ones but
    whose names have a sequential integer value appended to guarantee
    uniqueness should two labels of the same name be requested.
    grendello committed May 10, 2023
    Configuration menu
    Copy the full SHA
    cae0bd8 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/Java.Interop/main@6aedf1c (dotnet#8027)
      [ci] Simplify WearOS Emulator test job. (dotnet#8024)
      [Mono.Android] Generate API docs for .NET Android (dotnet#8007)
    grendello committed May 11, 2023
    Configuration menu
    Copy the full SHA
    9fd0b07 View commit details
    Browse the repository at this point in the history
  2. Found and fixed an issue with marshal methods

    Wrong size was used for `char` to native translation. The type's 16-bits
    wide in Java, we used 8 bits.  Also added support for System.Char
    blittable type.
    
    Furthermore, added generation of the asprintf format string, added
    support for upcasting narrower integers to 32-bits and float to double
    before passing them to asprintf.
    grendello committed May 11, 2023
    Configuration menu
    Copy the full SHA
    fd3eefd View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. asprintf call & co is complete

    Return value rendering is still missing. It requires a bit more code if
    we want to see all the values (e.g. arrays of chars)
    grendello committed May 12, 2023
    Configuration menu
    Copy the full SHA
    fde3078 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] pass `-S` for `am start` commands (dotnet#8032)
    grendello committed May 15, 2023
    Configuration menu
    Copy the full SHA
    46fe18b View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/xamarin-android-tools/main@3b8c467 (dotnet#8039)
      [Xamarin.Android.Build.Tasks] skip `proguard.txt` files in !app (dotnet#8025)
      [Mono.Android] Remove `monoandroid10` target framework (dotnet#8035)
    grendello committed May 16, 2023
    Configuration menu
    Copy the full SHA
    79cf274 View commit details
    Browse the repository at this point in the history
  2. Function parameter and return value tracing works

    Output for the function parameters is mostly extremely boring, since we
    don't (yet) translate Java strings or characters, so it's mostly
    hexadecimal pointer values.
    
    Candidates for "unwrapping":
    
      * strings
      * characters
      * character arrays
      * class name for the `klass` parameter
    grendello committed May 16, 2023
    Configuration menu
    Copy the full SHA
    d942663 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to dotnet/installer@8488614afe 8.0.100-preview.5.23264.2 (dotnet#8018)
    grendello committed May 17, 2023
    Configuration menu
    Copy the full SHA
    37c401a View commit details
    Browse the repository at this point in the history
  2. Preparations for better argument logging

    Prepare infrastructure for converting jclass, jobject, jstring and
    jboolean to human-readable strings in trace logs.
    grendello committed May 17, 2023
    Configuration menu
    Copy the full SHA
    a74882f View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [build] enable CA1305 for most projects (dotnet#7993)
      Bump to xamarin/monodroid@5aed7edd (dotnet#8043)
    grendello committed May 18, 2023
    Configuration menu
    Copy the full SHA
    3673a3a View commit details
    Browse the repository at this point in the history
  2. Third iteration... done for today

    Just flushing current state, doesn't build. TBC tomorrow.
    grendello committed May 18, 2023
    Configuration menu
    Copy the full SHA
    37b16d3 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump external/Java.Interop from `6aedf1c` to `dbb9edd` (dotnet#8046)
      [ci] Remove release stages (dotnet#8051)
      [ci] Retry .NET install attempts (dotnet#8049)
    grendello committed May 19, 2023
    Configuration menu
    Copy the full SHA
    9af8f8e View commit details
    Browse the repository at this point in the history
  2. Cul-de-sac, dead end, wrong way, doh

    Well, time to take a few steps back and start anew. Next week.
    grendello committed May 19, 2023
    Configuration menu
    Copy the full SHA
    8f86bc7 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to xamarin/Java.Interop/main@be2acbcb (dotnet#8052)
    grendello committed May 22, 2023
    Configuration menu
    Copy the full SHA
    f6df472 View commit details
    Browse the repository at this point in the history
  2. New approach to LLVM IR generation

    New code will be built around the notion of LLVM IR module - a
    collection of data, code, attributes etc.  As many operations as
    possible will be implemented by adding abstract nodes (a'la CodeDOM or
    AST) instead of generating LLVM IR code directly.  This will simplify
    "client" (e.g. `MarshalMethodsNativeAssemblyGenerator`) implementation.
    
    Code will be generated from the AST at the end.
    grendello committed May 22, 2023
    Configuration menu
    Copy the full SHA
    135744c View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Mono.Android] Bind API-UpsideDownCake Beta 2 (dotnet#8044)
      Bump to 33.0.59 $(AndroidNet7Version) (dotnet#8056)
    grendello committed May 23, 2023
    Configuration menu
    Copy the full SHA
    58965d1 View commit details
    Browse the repository at this point in the history
  2. More steps towards new LLVM IR generator

    There will be a lot of code duplication for a while
    grendello committed May 23, 2023
    Configuration menu
    Copy the full SHA
    ef27fe5 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to dotnet/installer@a78abfe66f 8.0.100-preview.5.23271.2 (dotnet#8055)
    grendello committed May 24, 2023
    Configuration menu
    Copy the full SHA
    c9cb983 View commit details
    Browse the repository at this point in the history
  2. Moving forward with the new LLVM IR generator

    Function declarations and definitions are done.
    grendello committed May 24, 2023
    Configuration menu
    Copy the full SHA
    12b8a61 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

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

Commits on May 26, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] introduce Eol.targets for .NET 6 (dotnet#8047)
      [Xamarin.Android.Build.Tasks] Add $(_BindingsToolsLocation) to allow overriding binding tool binaries. (dotnet#8069)
      [tests] new test for provisioning JDKs (dotnet#8059)
      Localized file check-in by OneLocBuild Task (dotnet#8065)
      [AndroidDependenciesTests] Use platform-tools 34.0.3 (dotnet#8062)
      Bump to xamarin/Java.Interop/main@93c50fe (dotnet#8060)
      [Xamarin.Android.Build.Tasks] Update XA5300 text (dotnet#8057)
    grendello committed May 26, 2023
    Configuration menu
    Copy the full SHA
    c67fbb9 View commit details
    Browse the repository at this point in the history
  2. New generator is alive

    grendello committed May 26, 2023
    Configuration menu
    Copy the full SHA
    3d5e073 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      LEGO: Merge pull request 8079
      Bump to dotnet/installer@3b24233fbe 8.0.100-preview.5.23275.7 (dotnet#8070)
      Bump to 33.0.68 $(AndroidNet7Version) (dotnet#8076)
      $(AndroidPackVersionSuffix)=preview.6; net8 is 34.0.0-preview.6 (dotnet#8072)
      LEGO: Merge pull request 8074
    grendello committed May 29, 2023
    Configuration menu
    Copy the full SHA
    603afbb View commit details
    Browse the repository at this point in the history
  2. Data generation progressing nicely.

    Added a way to generate code for "generic" arrays. Nested arrays
    probably won't work, but we don't use them so I'm not sweating it.
    grendello committed May 29, 2023
    Configuration menu
    Copy the full SHA
    ec099cf View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

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

Commits on May 31, 2023

  1. Structure arrays done

    grendello committed May 31, 2023
    Configuration menu
    Copy the full SHA
    42437cd View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Phew, array and structure handling simplified and unified

    We should be able to support nested structures and arrays.
    Done away with variable modification when adding to module as well as
    with the need for wrapper variables and array information
    structures. Much nicer now!
    grendello committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    0f39485 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [XABT] Prefer `SupportedOSPlatformVersion` over `minSdkVersion` (dotnet#8026)
      Bump to xamarin/Java.Interop/main@72b041a (dotnet#8089)
      Bump LibZipSharp to 3.0.0 (dotnet#8061)
      Bump to xamarin/Java.Interop/main@8c9eece (dotnet#8073)
      [profiled-aot] update AOT profile for .NET 8 Preview 5 (dotnet#8077)
      Localized file check-in by OneLocBuild Task (dotnet#8078)
      Bump to dotnet/installer@6150605bd0 8.0.100-preview.6.23276.3 (dotnet#8083)
    grendello committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    c937202 View commit details
    Browse the repository at this point in the history
  2. ApplicationConfigNativeAssemblyGenerator switched to the new LLVM IR …

    …generator
    
    Code is less cluttered, easier to follow and has less quirks.
    grendello committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    f81fa85 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      LEGO: Merge pull request 8103
      LEGO: Merge pull request 8101
      Localized file check-in by OneLocBuild Task (dotnet#8099)
    grendello committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    0da112c View commit details
    Browse the repository at this point in the history
  2. Moving on with new LLVM IR generator

    Started on the typemap composer
    grendello committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    09fbf9c View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [ci] Use new 1ES Hosted Linux PR build pool (dotnet#8108)
      Bump external/Java.Interop from `72b041a` to `738de61` (dotnet#8104)
      Bump to xamarin/xamarin-android-tools/main@44885bc (dotnet#8093)
      LEGO: Merge pull request 8105
    grendello committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    fd93c1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c32dc33 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [ci] Shut down dotnet processes before retrying failed unit tests. (dotnet#8107)
      Bump to dotnet/installer@18dc2cf1 8.0.100-preview.6.23305.2
      [Xamarin.Android.Build.Tasks] Ignore non-Android XML resources (dotnet#8091)
      [build] Ignore CA1305 in more projects (dotnet#8110)
    grendello committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    55aec7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f35855b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2990041 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      LEGO: Merge pull request 8119
      [build] Bump `$(XABuildToolsVersion)`=34 (dotnet#8118)
      [Xamarin.Android.Build.Tasks] missing resource error handling (dotnet#8066)
      [CI] Allow MSBuild test stages to run in the megapipeline (dotnet#8033)
      [ci] Fix nightly test environment provisioning (dotnet#8113)
    grendello committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    cd4584b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d126d26 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [build] stop setting `$DOTNET_gcServer` (dotnet#8085)
      [tests] Remove XASdkProject (dotnet#7869)
      [Mono.Android] Fix NRT warnings in hand bound code (dotnet#8086)
      Bump to dotnet/installer@9e6f9a8b9e 8.0.100-preview.6.23310.1 (dotnet#8123)
      Localized file check-in by OneLocBuild Task (dotnet#8102)
      LEGO: Merge pull request 8122
    grendello committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    0de8a6f View commit details
    Browse the repository at this point in the history
  2. Data portion of the marshal methods generator done

    Code tomorrow
    grendello committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    7a23158 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [xaprepare] Add support for Debian trixie release (dotnet#8127)
      Localized file check-in by OneLocBuild Task (dotnet#8126)
    grendello committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    0fea526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d27e22 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] <GenerateJavaStubs/> should open readonly in some cases (dotnet#8129)
      [Mono.Android] suppress/solve more illink warnings (dotnet#8063)
    grendello committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    fb63716 View commit details
    Browse the repository at this point in the history
  2. Code generation works

    First two instructions implemented (`store` and `ret`), together with
    support for TBAA metadata (https://llvm.org/docs/LangRef.html#tbaa-metadata)
    
    `xamarin_app_init` now fully generated.
    grendello committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    5e98bc3 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to Tessil/robin-map@784245b4 [v1.2.1] (dotnet#8128)
    grendello committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    11bf0a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ddf89f View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] Allow override of `uncompressedGlob` (dotnet#7965)
    grendello committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    80c510a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c17d76 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to dotnet/installer@8d98e5a6ba 8.0.100-preview.6.23318.1 (dotnet#8131)
    grendello committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    76e4d0c View commit details
    Browse the repository at this point in the history
  2. Conversion to the new LLVM IR complete for everything except tracing

    Tomorrow, testing and cleanup
    grendello committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    33c9ac3 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [One .NET] fix 'dotnet publish' with no arguments (dotnet#8137)
      [build] consider `$NUGET_PACKAGES` for `$(XAPackagesDir)` (dotnet#8136)
      Bump external/xamarin-android-tools from `44885bc` to `3cee10b` (dotnet#8121)
    grendello committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    69bd75e View commit details
    Browse the repository at this point in the history
  2. Cleanup

    grendello committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    4d8d4dc View commit details
    Browse the repository at this point in the history
  3. A bit more cleanup

    grendello committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    6799989 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [tests] Remove `XASdkDeployTests` (dotnet#8139)
    grendello committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    60b0a13 View commit details
    Browse the repository at this point in the history
  2. Update libunwind to 1.7.0

    grendello committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    580aae9 View commit details
    Browse the repository at this point in the history
  3. Tracing progress

    grendello committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    944b73b View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      Bump to google/bundletool@f17ce94a (dotnet#8135)
      [Xamarin.Android.Build.Tasks] Handle IOException in Aapt2Daemon (dotnet#8130)
      [tests] don't set `/uses-sdk@android:targetSdkVersion=34` by default (dotnet#8138)
    grendello committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    2c74196 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95d423d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

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

Commits on Jun 27, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      [Mono.Android] Bind and enumify API-34 (dotnet#8116)
    grendello committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    e148e1b View commit details
    Browse the repository at this point in the history
  2. More tracing improvements

    grendello committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    5316425 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Merge branch 'main' into blazor-hang

    * main:
      $(AndroidPackVersionSuffix)=preview.7; net8 is 34.0.0-preview.7 (dotnet#8149)
    grendello committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    c11f03b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b864253 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into blazor-hang

    * main:
      [Xamarin.Android.Build.Tasks] MarshalMethodsAssemblyRewriter+new file (dotnet#8151)
      Bump to dotnet/installer@d2a244f560 8.0.100-preview.7.23325.5 (dotnet#8142)
    grendello committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    c1cad61 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Merge branch 'main' into blazor-hang

    * main: (306 commits)
      [templates] Remove redundant "template" from display name. (dotnet#8773)
      Bump to xamarin/Java.Interop/main@a7e09b7 (dotnet#8793)
      [build] Include MIT license in most NuGet packages (dotnet#8787)
      Bump to dotnet/installer@893b762b6e 9.0.100-preview.3.24153.2 (dotnet#8782)
      [docs] update notes about `dotnet-trace` and `dotnet-gcdump` (dotnet#8713)
      [Mono.Android] Fix race condition in AndroidMessageHandler (dotnet#8753)
      [ci] Fix SDL Sources Analysis for PRs from forks (dotnet#8785)
      [ci] Add 1ESPT override to MSBuild test stages (dotnet#8784)
      [ci] Do not use @self annotation for templates (dotnet#8783)
      [ci] Migrate to the 1ES template (dotnet#8747)
      [Mono.Android] fix trimming warnings, part 2 (dotnet#8758)
      [Xamarin.Android.Build.Tasks] set `%(DefineConstantsOnly)` for older API levels (dotnet#8777)
      [tests] fix duplicate sources in `NuGet.config` (dotnet#8772)
      Bump to xamarin/monodroid@e13723e701 (dotnet#8771)
      Bump to xamarin/xamarin-android-tools/main@37d79c9 (dotnet#8752)
      Bump to dotnet/installer@d070660282 9.0.100-preview.3.24126.2 (dotnet#8763)
      Bump to xamarin/java.interop/main@14a9470 (dotnet#8766)
      $(AndroidPackVersionSuffix)=preview.3; net9 is 34.99.0.preview.3 (dotnet#8765)
      [Mono.Android] Do not dispose request content stream in AndroidMessageHandler (dotnet#8764)
      Bump com.android.tools:r8 from 8.2.42 to 8.2.47 (dotnet#8761)
      ...
    grendello committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    b5fc35f View commit details
    Browse the repository at this point in the history
  2. Fixups after merge

    grendello committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    76cd39a View commit details
    Browse the repository at this point in the history