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

[mono][tasks] Extract EmitWasmBundle into generic EmitBundle task and enable bundling in mono self-contained library #84191

Merged
merged 115 commits into from
Jun 20, 2023

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    1d4e246 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2955cdb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d25efc View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    d8d97e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb5e396 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a34c284 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1924b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9084234 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Address feedback

    Redesign bundling apis to handle various types of resources
    
    Move bundle registering into generated function and handle all forms of bundle registering there
    
    Move bundling api into assembly.c and prototypes into assembly-internals.h
    
    Rename assemblies to resources in bundling context
    
    Include EmitBundle task in wasm nuget
    
    Declare macro for case invariant string comparison
    
    Add documentation for bundling apis
    mdh1418 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    382a93d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4d4193 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e70e61a View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Configuration menu
    Copy the full SHA
    ecf5ffc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fda389a View commit details
    Browse the repository at this point in the history
  3. Handle pdb bundling

    mdh1418 committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    791c743 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d98c0a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6fc54b1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7c09d0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d1b5f02 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

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

Commits on Apr 18, 2023

  1. Fix source file name

    mdh1418 committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    7683ed1 View commit details
    Browse the repository at this point in the history
  2. Prefix struct with Mono

    mdh1418 committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    b1f3240 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddf6691 View commit details
    Browse the repository at this point in the history
  4. Fix types in autoinit

    mdh1418 committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    130aff3 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Configuration menu
    Copy the full SHA
    b8177d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60aa110 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba241b5 View commit details
    Browse the repository at this point in the history
  4. [EmitBundle][task] Add templates for bundled source files

    Templates added:
    - header mirroring bundled-resources-internals.h and MonoBundledSatelliteAssembly
    - source file template for each resource's byte data and size
    - individual templates to build preallocated MonoBundled*Resource structs
    - source file template to hold preallocated MonoBundled*Resource structs
    mdh1418 committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    cfa60e5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6fe9912 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    077c020 View commit details
    Browse the repository at this point in the history
  7. [EmitBundle] Output symbol to resource type map for populating functi…

    …on to add bundled resources
    mdh1418 committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    1e7ad1c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c5eb985 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d28ee4b View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. [EmitBundle] Move bundle registration back into EmitBundle

    [EmitBundle] Leverage Emit for file generation
    mdh1418 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    a796bfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    364a119 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e48dc6 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Address feedback

    Migrate logic to check hash table for assemblies or satellite assemblies back to bundled-resources.c
    Prepend apis with consistent mono_bundled_resources prefix
    mdh1418 committed May 10, 2023
    Configuration menu
    Copy the full SHA
    46bd211 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ddade81 View commit details
    Browse the repository at this point in the history
  3. Address various fixups

    Remove unused function
    Remove unnecessary string duplication
    Add length checks for comparisons
    Fix spacing in MonoBundledResource structs
    Avoid g_hash_table_lookup_extended precondition macro assertion fail
    mdh1418 committed May 10, 2023
    Configuration menu
    Copy the full SHA
    7c0081f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39b5107 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69af44c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c3401df View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    239c649 View commit details
    Browse the repository at this point in the history
  8. Add inlined resource getters

    mdh1418 committed May 10, 2023
    Configuration menu
    Copy the full SHA
    ae088f2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    233025a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7f4258a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a632a73 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    429fe75 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5aeaef4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ccd783b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3cf95fc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5d265db View commit details
    Browse the repository at this point in the history
  17. Update bundled header and switch to non internal types

    Update bundled header to declare resource symbols and registration function
    Switch types from mono internal types to C99 compliant as bundling apis are partially exposed to public
    mdh1418 committed May 10, 2023
    Configuration menu
    Copy the full SHA
    3206aab View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a8c5d88 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Configuration menu
    Copy the full SHA
    fbe022e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3390e90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e16e467 View commit details
    Browse the repository at this point in the history
  4. Fixup Address various fixups

    mdh1418 committed May 11, 2023
    Configuration menu
    Copy the full SHA
    684b667 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Remove unnecessary includes

    mdh1418 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    50fd4ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    236539a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df96a6d View commit details
    Browse the repository at this point in the history
  4. Various cleanups

    Instantiating boolean variables
    More direct insertion into hash table
    Removing unnecessary assertions
    Proper type casting
    Preferring symbol_data over symfile
    Adding void to prototype functions arg
    Fix indentation and spacing
    Prefer id over name
    mdh1418 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    befa5d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c3bb50a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a060748 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aff9c60 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. Configuration menu
    Copy the full SHA
    c1e9ec1 View commit details
    Browse the repository at this point in the history
  2. Fixup mono-debug

    mdh1418 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    aeaf879 View commit details
    Browse the repository at this point in the history
  3. Cleanup header

    mdh1418 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    a6b9245 View commit details
    Browse the repository at this point in the history
  4. fixup wasi

    mdh1418 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    6c7d33d View commit details
    Browse the repository at this point in the history
  5. fixup template format

    mdh1418 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    dfba3f4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e8aa970 View commit details
    Browse the repository at this point in the history
  7. Various fixups

    mdh1418 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    d191d59 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Configuration menu
    Copy the full SHA
    afaf91a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3eff6b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d3bebd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    187855f View commit details
    Browse the repository at this point in the history
  5. Rename resource size symbol

    mdh1418 committed May 16, 2023
    Configuration menu
    Copy the full SHA
    7cf6edd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a78222 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5ec428 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f309569 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5001622 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Configuration menu
    Copy the full SHA
    0b3b30d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1803ede View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. wip

    mdh1418 committed May 19, 2023
    Configuration menu
    Copy the full SHA
    2af674d View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. wip

    mdh1418 committed May 23, 2023
    Configuration menu
    Copy the full SHA
    4541530 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. WIP

    mdh1418 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    204cae7 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    a77c39c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec2570d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ba29ad View commit details
    Browse the repository at this point in the history
  4. Guard webcil specific logic

    mdh1418 committed May 25, 2023
    Configuration menu
    Copy the full SHA
    9e5e42f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d0fafb6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5dad711 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    51637a3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e33442 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Revert to custom hash and equal without WEBCIL guard

    This reverts commit 0e33442.
    mdh1418 committed May 26, 2023
    Configuration menu
    Copy the full SHA
    37b1c82 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    88f90d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4c6ef6 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    dbe7c21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8705c97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4071c10 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a573583 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d1a6bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    58eeb95 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4e568b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. WIP

    mdh1418 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    b755fc7 View commit details
    Browse the repository at this point in the history
  2. Free function chaining.

    lateralusX committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    e34aff7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    854c5ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4379c37 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    59ba150 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    102c47d View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    560491a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e41b81 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Address Feedback

    mdh1418 committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    18afeda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2c69ab View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Addressing more feedback

    mdh1418 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    45d2f8b View commit details
    Browse the repository at this point in the history
  2. Validate OutputDirectory

    mdh1418 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    b377ff4 View commit details
    Browse the repository at this point in the history