Skip to content

修复导出日志文件时文件为空的问题 - #6649

Merged
Glavo merged 1 commit into
HMCL-dev:mainfrom
Glavo:encdet
Aug 11, 2026
Merged

Glavo merged 1 commit into
HMCL-dev:mainfrom
Glavo:encdet

Conversation

@Glavo

@Glavo Glavo commented Aug 11, 2026

Copy link
Copy Markdown
Member

看来 kala-encoding-detector 还存在一些问题,我们先重新引入 readTextMaybeNativeEncoding/newBufferedReaderMaybeNativeEncoding 来解决编码推测失败导致文件为空的问题。

@github-actions github-actions Bot added the 40+ label Aug 11, 2026
@Glavo

Glavo commented Aug 11, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: bf939bf2a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Glavo
Glavo merged commit cf21cf4 into HMCL-dev:main Aug 11, 2026
3 checks passed
@Glavo
Glavo deleted the encdet branch August 11, 2026 13:37
MinecraftSTL pushed a commit to MinecraftSTL/XYML that referenced this pull request Aug 17, 2026
MinecraftSTL added a commit to MinecraftSTL/XYML that referenced this pull request Aug 17, 2026
Upstream endpoint: cf21cf4 (HMCL-dev#6649).

Integrates the audited applicable upstream changes with XYML equivalents:
- HMCL-dev#6098 0443ff7: on-demand add-on changelogs and safe Swing HTML rendering.
- HMCL-dev#6620 ff459a5: exact provider version links.
- HMCL-dev#6617 c149401: changelog spacing.
- HMCL-dev#6630 15d4874: streaming MCBBS pack metadata.
- HMCL-dev#6633 8eec184: instance selector popup toggle.
- HMCL-dev#6641 0807c04: 32-bit automatic-memory cap.
- HMCL-dev#6642 78b8d37: missing manifest patches handling.
- HMCL-dev#6636 a0d1fa8: OOM task lifecycle completion.
- HMCL-dev#6649 cf21cf4: non-empty log export with native-encoding fallback.

Commit HMCL-dev#6613 (5796dad) is intentionally content-skipped because it only changes the removed JavaFX image-detection/UI path.

Conflict policy: retain the Swing rewrite and all XYML-specific behavior; do not restore removed JavaFX/JFoenix files. This merge makes the cached upstream history an ancestor without forcing unrelated branch differences into the resulting tree.
MinecraftSTL added a commit to MinecraftSTL/XYML that referenced this pull request Aug 18, 2026
Upstream endpoint: cf21cf4 (HMCL-dev#6649).

Integrates the audited applicable upstream changes with XYML equivalents:
- HMCL-dev#6098 0443ff7: on-demand add-on changelogs and safe Swing HTML rendering.
- HMCL-dev#6620 ff459a5: exact provider version links.
- HMCL-dev#6617 c149401: changelog spacing.
- HMCL-dev#6630 15d4874: streaming MCBBS pack metadata.
- HMCL-dev#6633 8eec184: instance selector popup toggle.
- HMCL-dev#6641 0807c04: 32-bit automatic-memory cap.
- HMCL-dev#6642 78b8d37: missing manifest patches handling.
- HMCL-dev#6636 a0d1fa8: OOM task lifecycle completion.
- HMCL-dev#6649 cf21cf4: non-empty log export with native-encoding fallback.

Commit HMCL-dev#6613 (5796dad) is intentionally content-skipped because it only changes the removed JavaFX image-detection/UI path.

Conflict policy: retain the Swing rewrite and all XYML-specific behavior; do not restore removed JavaFX/JFoenix files. This merge makes the cached upstream history an ancestor without forcing unrelated branch differences into the resulting tree.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant