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

Port to mapping-io (Glitch's Version) #432

Merged
merged 10 commits into from
Oct 9, 2024
Merged

Port to mapping-io (Glitch's Version) #432

merged 10 commits into from
Oct 9, 2024

Commits on May 20, 2024

  1. Port to mapping-io (Glitch's Version)

    This is step 0 in adding the ability for Loader to use alternative intermediates for mods, or use something like mojmaps at runtime. This commit migrates the pre-existing MappingConfiguration to use mapping-io, but doesn't do much to actually refactor Loader to take advantage of mapping-io's strengths.
    
    This PR moves a few dependencies to be shadowed that Floader moved as well. Tiny Remapper was required to be moved to work with mapping-io, tiny mapping parser was removed by upstream, and I just decided to bring AccessWidener in line with upstream as well.
    
    (PS: I know QMT exists-ish, but it's not finished and I want to work on a modloader, not a mappings parser. When and if QMT is finished, we can evaluate migrating to it, but the potential to use a first-party library later shouldn't prevent us from improving Loader today)
    TheGlitch76 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    192f93d View commit details
    Browse the repository at this point in the history
  2. Fix "duplicate class" spam from Tiny Remapper in RuntimeModRemapper

    TR eagerly opens nested ZIP files and flattens them, and this slightly bizarre behavior
    causes lots of issues when trying to remap mods that include JiJ candidates. To mitigate this,
    we create a read-only view of *only* the `.class` files. This has minimal memory impact as the
    FS is copy-on-write, so it is just a big map of file paths.
    TheGlitch76 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    ce9c813 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6de720 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d80d3b View commit details
    Browse the repository at this point in the history
  5. Mount instead of CoW

    TheGlitch76 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    aeb0f9f View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Remove Proguard

    Proguard is magically adding SequencedCollection to the LVT of MemoryMappingTree.accept
    in mapping-io. We couldn't find a minimal reproduction, so we're just going to move away from
    it for now.
    TheGlitch76 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    f07dbca View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Fix mods that need remapping, but don't contain any class files, caus…

    …ing the remapper to crash because the mod directory didn't exist.
    
    Also comment out the DedicatedServerOnly annotation on TestMixinGuiHelper, because we're not testing package-stripping annotations any more. This allows us to run the test mod.
    AlexIIL committed May 29, 2024
    Configuration menu
    Copy the full SHA
    ec90a26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1b1190 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Merge branch 'refs/heads/develop' into mappings-fun

    # Conflicts:
    #	src/main/java/org/quiltmc/loader/impl/launch/common/MappingConfiguration.java
    TheGlitch76 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    39d7537 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

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