Commit Graph

2886 Commits

Author SHA1 Message Date
Glavo
bf04854e68
弃用 FXML (#1911)
* Remove message-dialog.fxml

* Remove authlib-injector-server-add.fxml

* Remove profile.fxml

* Remove task-dialog.fxml

* Flatten AddAuthlibInjectorServerPane

* Flatten MessageDialogPane

* Remove unused fxml files

* Remove modpack.fxml

* Remove modpack-source.fxml

* Remove selection.fxml

* Remove type.fxml

* Remove versions.fxml

* Remove input-dialog.fxml

* Remove fxml

* Cleanup code

* Cleanup code

* Cleanup Code

* Cleanup Code
2022-12-10 22:36:14 +08:00
Glavo
2bcf9ee39e
Optimize automatic memory allocation (#1914) 2022-12-10 22:32:09 +08:00
huanghongxun
7a90035278 feat(about): add link to qq channel. 2022-12-07 15:52:55 +08:00
Glavo
a7108f318a
Adjust JVM arguments priority (#1898)
* Adjust JVM arguments priority

* #1889: Use the default JVM arguments consistent with the official launcher

* Follow -Xmx settings in modpack info

* Do not force generation of -Xmx
2022-12-06 13:34:32 +08:00
zkitefly
a3eaccb45b
exe and sh download java link update (#1903)
* Update main.cpp

* exe and sh download java link update

* fix
2022-12-06 13:33:00 +08:00
zkitefly
e0c97da9fd
Update main.cpp (#1900) 2022-12-03 23:22:15 +08:00
zkitefly
3843002113
(c)->© (#1899)
* Update I18N_zh_CN.properties

* Update I18N.properties

* Update I18N_es.properties

* Update I18N_ja.properties

* Update I18N_ru.properties

* Update I18N_zh.properties

* Update I18N_zh_CN.properties

* Update I18N.properties

* `(c)`->`©`

* fix

* Update AboutPage.java

* Update AboutPage.java
2022-12-03 15:05:42 +08:00
Glavo
1ec9e41459
fix #1885: filter letter color code (#1890) 2022-12-02 17:28:25 +08:00
Glavo
a6231ac593
修复内存泄漏 (#1888)
* Fix memory leaks

* Cache icon in cell

* Lazy acquisition of availableCharsets
2022-12-02 17:27:52 +08:00
Glavo
ea91ee91ec
close #1199: Reimplement Zipper (#1891) 2022-12-02 17:26:00 +08:00
Glavo
d4c0c30283
修复在精简 JRE 上崩溃的问题 (#1893)
* Do not load javafx.web on unsupported platforms

* No longer requires jdk.zipfs to exist
2022-12-02 17:23:08 +08:00
Glavo
9e2c46a6f8
Gradle 7.6 (#1895) 2022-12-02 17:22:09 +08:00
Glavo
ce31bcc6e0 Catch the exception that the OperatingSystemMXBean does not exist 2022-12-01 03:51:21 +08:00
Glavo
d11e22026c
修复遗留问题 (#1875)
* Check the sha1 file of java in the minecraft runtime dir

* Fix download Java on macOS

* misc

* Verify Java at startup

* Find the Java installed by official launcher on osx-arm64

* Extract the downloaded file to a temporary file

* Rollback JavaRepository.getSystemJavaPlatform
2022-11-26 21:43:35 +08:00
Glavo
a96fe298b8
fix #1108 (#1882)
close #1791
close #1868
2022-11-26 21:43:03 +08:00
Glavo
8e28c2487f
Load gif background (#1877) 2022-11-26 20:33:46 +08:00
Glavo
fda6f75333
fix #1553: Hide popup before rolling back mod (#1881) 2022-11-26 20:33:02 +08:00
zkitefly
e414450f3c
优化日志分析器 (#1813)
* 优化日志分析器

* 修复翻译错误

* 修复翻译错误

* 修复翻译错误

* Update CrashReportAnalyzer.java

* Update I18N_zh_CN.properties

* 逐步修复问题

* 逐步修复问题

* 尝试修复

* 修复错误

* 修复错误

* 尝试

* 尝试

* 修复

* 按照要求修改

* 依据 Check Style 修复问题

* 按提示修改

* 修复错误

* Update CrashReportAnalyzer.java

* 删除

* Update I18N_zh_CN.properties

* Update CrashReportAnalyzer.java
2022-11-25 22:45:00 +08:00
Glavo
95e15d7df4
Replace ObservableMap with MapProperty (#1870) 2022-11-25 22:40:16 +08:00
Glavo
7e826a5952
close #1803: Add new rule to CrashReportAnalyzer (#1872) 2022-11-25 22:37:41 +08:00
Glavo
43e2644f0e
fix NPE (#1871) 2022-11-25 22:37:05 +08:00
Glavo
a0ef16bef4
close #1781: Add suggestions for naming (#1873) 2022-11-25 22:35:01 +08:00
Glavo
f5d83095cc
修复 Java 下载相关问题 (#1874)
* fix #1561: Replace existing files when downloading Java
close #1756

* close #1755: Download Java using mirror

* Skip existing files
2022-11-25 22:34:26 +08:00
Glavo
a94bb407e5
Submit the modification of JFXTextField after editing (#1869) 2022-11-25 17:20:16 +08:00
Glavo
6611774aa9
Fix the problem of garbled logs on Java 18+ (#1866) 2022-11-25 17:17:31 +08:00
Glavo
e1eb40c129
Optimization HMCLProcessListener::onLog (#1867) 2022-11-25 17:16:23 +08:00
Glavo
2e532be34c
将 Quilt 图标添加至 VersionIconDialog (#1864)
* Safely deserialize VersionSetting

* Add quilt to VersionIconDialog
2022-11-24 12:54:56 +08:00
Glavo
b9d0cfc12a
Update GitHub Action (#1863) 2022-11-24 12:54:48 +08:00
Glavo
3d88bc35bb
fix memory leak (#1865) 2022-11-24 12:53:16 +08:00
Glavo
8c9c8fd28f
修复 macOS Dock 中的图标 (#1862)
* High resolution logo

* Load original icon on Java 8
2022-11-24 12:52:54 +08:00
Glavo
5e685b7f26
Modify the version number for unofficial builds (#1861) 2022-11-23 22:54:28 +08:00
Glavo
c76b562705
Remove log4j-patch (#1860)
* Remove log4j-patch

* Update I18N
2022-11-23 17:20:15 +08:00
Glavo
4c9f8d3dca
Complete the missing translation (#1859) 2022-11-23 17:19:45 +08:00
Glavo
0f26ae5cfc
代码清理与修复 UI 卡顿资源占用过高的问题 (#1849)
* Lazy initialization of Swing

* Load ISRG Root X1 certificate only on Java 8

* Replace JOptionPane with JavaFX Alert

* Avoid using java.awt.Desktop

* Rewrite TexturesLoader

* Optimization SelfDependencyPatcher

* fix typo

* close #968: Use computeIfAbsent to ensure thread safety

* Optimization GameVersion::minecraftVersion

* code cleanup

* Set the initial capacity of readFullyWithoutClosing

* code cleanup

* Mark inner classes as static if possible

* Cache version icon

* Code cleanup

* Fix ListView scrolling performance issues

* DatapackListPage::items

* Replace OutputStream with FileChannel::write
2022-11-23 16:33:14 +08:00
Glavo
035469240d
close #1855: Add 1.19 to DEFAULT_GAME_VERSIONS (#1857) 2022-11-23 16:32:20 +08:00
Glavo
7ee81f7425
Deny access to CurseForge without api key (#1858) 2022-11-23 16:32:07 +08:00
zkitefly
024c90d688
在HMCL显示changelog时自动定位该更新内容 (#1850)
* 在HMCL显示changelog时自动定位该更新内容

* 尝试修复错误

* updata

* fix
2022-11-23 14:07:13 +08:00
Glavo
1253272626
fix #1852: Lookup manifest in this jar (#1853) 2022-11-23 14:06:35 +08:00
zkitefly
73b938cfd9
修复微软账户登录弹窗不显示“忘记密码”的问题 (#1829) 2022-11-13 23:44:01 +08:00
Glavo
ee843543bf
性能与内存优化 (#1848)
* optimization

* Make ManagedProcess::getLines thread safe
2022-11-13 23:43:45 +08:00
skbeh
fa8a479aac
Bump Gradle Shadow to 7.1.2 (#1831)
This allows compilation with `sourceCompatibility = 17`.
2022-11-13 23:40:10 +08:00
Glavo
bac14db432
修复无法正确处理带有 Quilt 的 MultiMC 整合包的问题 (#1841)
* fix #1760: typo

* export quilt info in mmc modpack
2022-11-13 23:39:56 +08:00
zkitefly
f6242ea868
添加提示 (#1844) 2022-11-13 23:39:40 +08:00
zkitefly
16db35655a 修改 2022-11-11 21:50:10 +08:00
Glavo
53336aedc9 Remove HiPer Support 2022-11-11 18:30:27 +08:00
zkitefly
eaddb67932
Update HelpPage.java (#1827) 2022-11-05 23:21:47 +08:00
Glavo
c7b7dd9500
fix crash (#1826) 2022-11-05 22:51:10 +08:00
Glavo
9901bf738d
fix crash (#1825) 2022-11-05 22:12:44 +08:00
huanghongxun
a3d8c6b3b3 feat(skin): introduce new official skins. 2022-11-05 20:22:02 +08:00
huanghongxun
948928f740 feat: update HMCLauncher.exe 2022-11-05 20:11:22 +08:00