Commit Graph

779 Commits

Author SHA1 Message Date
huanghongxun
b1301dcdec add: BMCLAPI support for fabric download 2020-02-09 00:55:51 +08:00
huanghongxun
bdb6784a9b fix: broken error handling 2020-02-06 12:47:25 +08:00
huanghongxun
0d906e0adf fix: #664 2020-02-06 12:46:38 +08:00
huanghongxun
4923370897 fix: #661 2020-02-05 15:25:28 +08:00
huanghongxun
bdee33456b fix: #662 2020-02-05 14:36:44 +08:00
huanghongxun
5a8446524a update copyright 2020-02-05 13:13:10 +08:00
huanghongxun
b864ea89d7 add: restore old sync task executor 2020-02-05 11:58:50 +08:00
huanghongxun
04aa257b48 refactor: extract superclass of TaskExecutor 2020-02-05 11:58:28 +08:00
huanghongxun
1b466eb33f fix: recognizing CancellationException as crash 2020-02-04 22:49:49 +08:00
huanghongxun
c7e3639155 fix: download missing library more than one time 2020-02-04 22:38:59 +08:00
huanghongxun
9c1905bb51 no longer download file from BMCLAPI when the official download provider is activated 2020-02-04 15:26:37 +08:00
huanghongxun
31e39900b6 fix: unable to launch when asset index not downloaded 2020-02-04 15:20:07 +08:00
huanghongxun
25e4fa3834 add: friendly prompt of corrupt forge installer 2020-02-03 12:09:06 +08:00
huanghongxun
9849b5659b fix: #654 2020-02-03 00:33:59 +08:00
huanghongxun
43428c054a add: auto fix malformed asset index file 2020-02-02 23:35:47 +08:00
huanghongxun
1d579c52eb fix: unable to cancel tasks 2020-02-02 23:34:42 +08:00
huanghongxun
214ff9de94 add: MCBBS download provider 2020-02-02 23:32:01 +08:00
huanghongxun
bb2e74009e fix: #596 2020-01-14 11:51:01 +08:00
huanghongxun
53366ee284 fix: mess quote escaping in Windows 2020-01-14 11:50:16 +08:00
huanghongxun
f3434fe2a8 Fix #644 2020-01-14 10:58:15 +08:00
huanghongxun
acda1952ca Fix #641 2020-01-14 10:17:46 +08:00
huanghongxun
084b15e113 fix: delete installed curse when some mods failed 2020-01-14 10:11:30 +08:00
huanghongxun
30499aa623 fix: unable to launch vivecraft 2020-01-14 01:20:59 +08:00
huanghongxun
20d5957331 Update license headers of source files. Closes #640 2020-01-07 00:11:53 +08:00
huanghongxun
829d92c8bb Exclude logs and CustomSkinLoader cache 2019-12-14 12:51:16 +08:00
huanghongxun
71131dadb7 Fix #632 2019-12-14 12:50:22 +08:00
huanghongxun
61abed04f3 Fix crash 2019-12-14 12:14:08 +08:00
huanghongxun
6e79d287f3 Revert "Fix #632"
This reverts commit 30f86571
2019-12-14 09:20:01 +08:00
huanghongxun
30f8657174 Fix #632 2019-12-14 00:32:14 +08:00
huanghongxun
0cee859e15 always download missing files for server modpack 2019-11-22 10:57:40 +08:00
huanghongxun
956b4e4a6a Add fileApi option in modpackInfoPage 2019-11-12 17:49:26 +08:00
huanghongxun
4e0ffc8d1e Support Server Auto-Update Task. Closes #624 2019-11-11 17:35:03 +08:00
huanghongxun
177935241f Support download modpack from direct download url 2019-11-11 17:34:59 +08:00
huanghongxun
f133fcf66c Fix NPE 2019-11-11 17:34:58 +08:00
huanghongxun
869f57cbf1 avoiding crash when recorded AI server url is malformed 2019-11-11 17:34:58 +08:00
huanghongxun
a2540c2e9b Fix #619 2019-10-10 16:51:01 +08:00
huanghongxun
4737240c91 Add: forgesvc for Curse Mod Detection fallback 2019-10-10 16:46:32 +08:00
huanghongxun
944d88b8af Fix: keep not completed Curse modpack game version 2019-10-10 16:39:27 +08:00
huanghongxun
529c4ed420 Fix: ConcurrentModificationException 2019-10-10 16:03:25 +08:00
huanghongxun
e0ebb02530 Fix: java.nio.file.InvalidPathException 2019-10-10 15:53:47 +08:00
huanghongxun
be22d55cec Fix: java.lang.IllegalArgumentException: MALFORMED[1] 2019-10-10 15:24:37 +08:00
huanghongxun
993ce660aa Fix: not recognizing java 12 2019-09-29 18:46:03 +08:00
huanghongxun
ba699c4ed5 Fix NPE 2019-09-12 16:38:28 +08:00
huanghongxun
bc96afd0cd Fix #605 2019-09-12 15:51:20 +08:00
huanghongxun
5eba896e6d Fix forge installer 404 2019-09-09 16:49:36 +08:00
huanghongxun
e69d149c34 Fix HMCL import 2019-09-09 15:32:55 +08:00
huanghongxun
2f9955febd No longer report JsonParseException 2019-09-05 19:06:09 +08:00
huanghongxun
df39be708f Check if given game version is malformed 2019-09-05 17:49:59 +08:00
huanghongxun
ce3b9e3b1f FIx: unable to download Forge installer 2019-09-05 15:49:27 +08:00
huanghongxun
a9feb65fc8 Try to fix ConcurrentModificationException 2019-08-25 15:35:17 +08:00
huanghongxun
369b9bb6cf Fix #603 2019-08-24 11:57:43 +08:00
huanghongxun
c9b6f2f62f Collect uncaught RuntimeException thrown in task execution 2019-08-24 11:49:53 +08:00
huanghongxun
e2787af044 no longer force using javaw 2019-08-20 00:54:12 +08:00
huanghongxun
30c27bbb67 MultiMC fabric and local libraries 2019-08-20 00:53:59 +08:00
huanghongxun
7aee7e33d0 Making versions whose library being removed pure patched 2019-08-20 00:53:36 +08:00
huanghongxun
11e66ac13c Support changing game version 2019-08-19 16:05:40 +08:00
huanghongxun
a2ac3c1f18 Hide generated resolved patches in InstallerListPage 2019-08-19 15:39:30 +08:00
huanghongxun
c5919f2719 Fix OptiFine installation 2019-08-19 00:18:34 +08:00
huanghongxun
fb24516b90 Show unrecognized patches in InstallerListPage 2019-08-19 00:17:03 +08:00
huanghongxun
60fa4eb0a1 Fix LibrariesUniqueTask changing order of classpath 2019-08-19 00:16:02 +08:00
huanghongxun
536576084d Fix forge local installation 2019-08-19 00:12:28 +08:00
huanghongxun
c62cc499c5 Show HMCL version in game main menu 2019-08-18 10:54:05 +08:00
huanghongxun
c11bbf8836 Fix failure of auto-installing more than one library 2019-08-18 10:27:48 +08:00
huanghongxun
71c0cede24 Fixed unrecognizing Optifine jar file 2019-08-18 10:27:12 +08:00
huanghongxun
ad16bbc96d Disable failure test 2019-08-17 12:13:05 +08:00
huanghongxun
520ffe4c09 Add missing license header 2019-08-17 00:45:47 +08:00
huanghongxun
e3f603c145 Repackaging 2019-08-17 00:12:02 +08:00
huanghongxun
880b8cb072 Support exporting multimc modpack 2019-08-16 21:13:54 +08:00
huanghongxun
eb6baa8ad1 Support fabric auto-installation 2019-08-16 12:35:56 +08:00
huanghongxun
d53d56d93a Renaming json as well as jar when the folder is renamed manually 2019-08-16 00:29:52 +08:00
huanghongxun
b11acb7762 Make auto-installing more flexible 2019-08-16 00:18:52 +08:00
huanghongxun
51aa0dd851 Fix non-idea-compilable errors 2019-08-15 12:54:39 +08:00
huanghongxun
861b0a1c62 Add exceptional functional interfaces 2019-08-15 12:53:52 +08:00
huanghongxun
27a33f567f add missing setCacheDirectory directives 2019-08-15 12:45:31 +08:00
huanghongxun
e862a4b46b Fix #592 2019-07-28 20:16:12 +08:00
huanghongxun
2b3e8ebfc0 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2019-07-28 20:05:18 +08:00
asl97
0454ff9bf7 Fix #586 2019-07-27 01:21:11 +08:00
huanghongxun
a7c02e2dea name task async 2019-05-13 00:05:08 +08:00
huanghongxun
cfb9610afc Merge branch 'task-refactor' into javafx
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/LeftPaneController.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/account/AccountListItemSkin.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/InstallerListPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/WorldListPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/upgrade/UpdateHandler.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/DefaultDependencyManager.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/DefaultGameBuilder.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/MaintainTask.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/forge/ForgeInstallTask.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/optifine/OptiFineInstallTask.java
2019-05-10 10:33:06 +08:00
huanghongxun
300efb99d2 Fix #540 2019-05-09 00:49:10 +08:00
yushijinhun
6fb3610bcc
Refresh skins on startup
Mentioned in #539
2019-05-02 12:40:46 +08:00
yushijinhun
43fb3ca10a
Fix illegal texturePayload may cause crash 2019-05-02 12:35:43 +08:00
yushijinhun
adc360eaaa
Fix #548 2019-05-02 00:12:33 +08:00
huanghongxun
5e659352d7 Support install Forge/OptiFine from local file 2019-04-30 20:26:31 +08:00
huanghongxun
ea19e6efd8 Add Fabric installerItem in list page 2019-04-29 17:57:04 +08:00
huanghongxun
55d38f2b36 Fix importing fabric multimc instance 2019-04-28 14:18:04 +08:00
huanghongxun
e0abf3e0c1 Support fabric detection 2019-04-28 14:17:28 +08:00
huanghongxun
1956ba7a73 Force refreshing version list when remove version from disk 2019-04-25 13:39:07 +08:00
huanghongxun
c209617ee7 Try to fix ConcurrentModificationException 2019-04-25 13:38:44 +08:00
huanghongxun
b198eea9e4 Friendly prompt if response code is not OK 2019-04-03 14:05:14 +08:00
huanghongxun
3f4364c67c Fix cannot launch a game multiple times 2019-03-24 12:14:13 +08:00
huanghongxun
23e2df5e58 Unzip natives to /versions/ reducing trashes in temp 2019-03-21 11:08:00 +08:00
huanghongxun
3d008dcab5 Make DatapackListPage multiple-selectable 2019-03-19 10:31:02 +08:00
huanghongxun
2dce675fe2 Ignore all color formatting in world name. 2019-03-18 23:24:50 +08:00
huanghongxun
f866f692e2 Hide ForgeNew/OldInstallTask 2019-03-18 20:17:03 +08:00
huanghongxun
1eb4b1ca9e Fix unable to delete the version which failed to download 2019-03-05 19:37:37 +08:00
huanghongxun
bf37db2cbe Fix #538 2019-03-05 19:32:24 +08:00
huanghongxun
5b30617a6b Forbid user from installing both Forge 1.13 and OptiFine simultaneously 2019-03-04 12:27:09 +08:00
huanghongxun
266c686a3a Fix forge 1.13 installation 2019-03-04 11:39:30 +08:00
huanghongxun
32d0d6a7ee Add some task test 2019-02-26 15:28:40 +08:00
huanghongxun
d9a336e50b Remove redundant codes 2019-02-26 13:29:09 +08:00
huanghongxun
3c958d06c8 Replace scheduler to executor 2019-02-26 11:39:38 +08:00
huanghongxun
15a75a69b3 Fix exception handling 2019-02-26 08:17:46 +08:00
huanghongxun
cae32cff4c remove isDependentSucceeded in whenComplete 2019-02-25 23:59:21 +08:00
huanghongxun
eeef76594f Rename task.lastException -> task.exception 2019-02-25 22:17:30 +08:00
huanghongxun
8f2a1030bc Refactor Task 2019-02-24 23:27:53 +08:00
huanghongxun
def45cc3e4 Fix NumberFormatException when parsing forge version list json 2019-02-24 23:11:09 +08:00
huanghongxun
8007f1958e Rename isDependentsSucceeded to isDependentSucceeded 2019-02-24 17:00:17 +08:00
huanghongxun
b22e724a3f Remove SilentException 2019-02-24 12:39:40 +08:00
huanghongxun
ed66b016db Rename then-series functions 2019-02-24 12:39:39 +08:00
yushijinhun
9f85e4a63b
Do not run GameVersion.minecraftVersion on UI thread 2019-02-24 12:25:19 +08:00
yushijinhun
7fcd4d94a6
Merge branch 'javafx' of github.com:huanghongxun/HMCL into javafx 2019-02-23 23:52:26 +08:00
yushijinhun
84fbca7905
Remove unused code 2019-02-23 23:48:23 +08:00
huanghongxun
9add2387b9 Add comments to FileUtils and IOUtils 2019-02-23 23:42:05 +08:00
huanghongxun
a388450f94 Remove AutoTypingMap 2019-02-23 22:50:01 +08:00
huanghongxun
fff7abc2ac finalized no longer passes AutoTypingMap as callback parameter 2019-02-23 22:50:00 +08:00
yushijinhun
7c89fac1e9
Rename MultiStepBinding->BindingMapping 2019-02-23 22:14:29 +08:00
yushijinhun
bc9a9ffb72
rewrite MultiStepBinding.asyncMap 2019-02-23 21:58:44 +08:00
yushijinhun
1bf2f17538
Fix #533 2019-02-23 18:38:43 +08:00
huanghongxun
608a531655 Remove AtomicReference 2019-02-20 20:18:34 +08:00
huanghongxun
e57180eb15 remove lastException in task.variables 2019-02-20 20:07:43 +08:00
huanghongxun
3ae826d9ca Fix task.getLastException does not receive subtasks' value 2019-02-20 20:07:11 +08:00
huanghongxun
e940845c60 Fix not correct mod installation 2019-02-20 16:40:26 +08:00
huanghongxun
d8aa989cc4 Fix #532 2019-02-19 23:15:45 +08:00
huanghongxun
a3dc7798e7 fetch Forge remote version list only from BMCLAPI 2019-02-17 14:01:05 +08:00
huanghongxun
9062c2e447 Display more friendly error message when fail to install library 2019-02-17 13:45:10 +08:00
huanghongxun
c2d609cdb4 Use TableView in ModListPage to allow multiple selection 2019-02-15 19:39:43 +08:00
yushijinhun
758216245f
Add missing license headers 2019-02-13 20:05:01 +08:00
huanghongxun
9ced29aa93 Display furnace image as default for modded 1.13 game 2019-02-11 19:53:55 +08:00
huanghongxun
c889d7cb3f Download missing game jar when launching 2019-02-11 19:36:19 +08:00
huanghongxun
84636f3f50 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2019-02-10 10:51:39 +08:00
huanghongxun
9a6f07d7c9 make DefaultGameRepositoy.readVersionJson nonnull. 2019-02-10 10:51:04 +08:00
huanghongxun
e8f5088049 Support automatic installation of Forge 1.13. 2019-02-10 10:49:48 +08:00
yushijinhun
507cade50d
polish authlib-injector 2019-02-08 17:08:23 +08:00
huanghongxun
f0c7f54cc6 Redownload asset index when install new game 2019-02-08 15:54:28 +08:00
yushijinhun
62c38482f6
polish 639bc58e84
see 639bc58e84 (r32215378)
2019-02-08 14:55:58 +08:00
yushijinhun
0ff6ca18ed
Use https for bmclapi 2019-02-08 14:35:16 +08:00
huanghongxun
bbe6c388a3 Merge branch 'skin-refactor' into javafx 2019-02-06 22:53:38 +08:00
huanghongxun
639bc58e84 Support version identification of Minecraft 1.14 2019-02-06 21:54:51 +08:00
huanghongxun
c0bcafd747 Revert "Use JFXListView in place of custom components to accelerate rendering"
This reverts commit 0813211
2019-02-06 17:14:49 +08:00
huanghongxun
bcaa019551 Only maintain game version json with launchwrapper installed.
Forge modlauncher is not supported right now.
2019-02-06 15:14:08 +08:00
huanghongxun
38725abc48 DownloadInfo.url can be null in forge 1.13.2 version json 2019-02-06 13:35:16 +08:00
yushijinhun
68a02966d0
Skip parsing json file if it does not exist 2019-02-05 14:31:33 +08:00
yushijinhun
5ea63273be
check validity of YggdrasilSession response 2019-02-05 01:46:48 +08:00
yushijinhun
9298f5e030
Account Refactor 2019-02-04 23:12:40 +08:00
Feng Chang
f20c11a4e2 Ensure sequential execution of configuration writer threads (#516)
* Ensure sequential execution of configuration writer threads

Signed-off-by: Chang Feng <chang_196700@hotmail.com>

* Change method to add synchronized to action

Signed-off-by: Chang Feng <chang_196700@hotmail.com>
2019-02-04 02:18:24 +08:00
yushijinhun
8d774e267f
Show register link in login dialog
https://github.com/yushijinhun/authlib-injector/issues/25
2019-01-26 15:19:17 +08:00
huanghongxun
28d002f6d3 Do not schedule task if preExecute and postExecute are not overrided. 2019-01-22 16:46:11 +08:00
huanghongxun
cdfae54ab9 Fixed costly time consumption reading level.dat. Mentioned in #512 2019-01-22 16:11:31 +08:00
huanghongxun
0813211c20 Use JFXListView in place of custom components to accelerate rendering 2019-01-22 16:01:00 +08:00
huanghongxun
056a4eead2 Add comments to LiteLoaderInstallTask and OptiFineInstallTask 2019-01-22 15:54:59 +08:00
huanghongxun
2635d31425 Fix not correctly adding "--tweakClass" for MultiMC modpack 2019-01-22 15:52:57 +08:00
huanghongxun
76d35af5b9 MultiMC modpack patch json file may have "+libraries" or "libraries" 2019-01-22 15:51:52 +08:00
huanghongxun
bcff1695d3 Refactor MaintainTask 2019-01-22 15:50:49 +08:00
huanghongxun
3d04447c2f Load world asynchronously 2019-01-22 14:59:01 +08:00
huanghongxun
2736b88a10 Add some promise-like method to TaskResult 2019-01-22 14:58:00 +08:00
huanghongxun
0804a2fbf8 Merge TaskCallable and TaskCallable2 2019-01-22 14:56:48 +08:00
huanghongxun
7224ed6a7d Fix missorting optifine versions 2019-01-16 12:34:13 +08:00
huanghongxun
c41737364c Prevent from potential conflict that a MultiMC modpack has ".minecraft" and "minecraft" at the same time 2019-01-13 17:10:23 +08:00
huanghongxun
fc3f2e045b Retry fetching remote text file when downloading had been terminated 2019-01-13 16:50:54 +08:00
huanghongxun
481b47bf10 Fix #508. MultiMC stores files in ".minecraft" instead 2019-01-13 16:50:21 +08:00
huanghongxun
718a98d7ec Fix alerting Forge conflicts with LiteLoader but actually not 2019-01-11 21:17:02 +08:00
huanghongxun
fb3ba220b6 Fix redownloading disabled mods for curse modpack 2019-01-09 13:18:04 +08:00
yushijinhun
d655c9ec6b
Use /* instead of /** for license header
see: https://github.com/mycila/license-maven-plugin/issues/118
2019-01-05 19:04:24 +08:00
yushijinhun
8a67f33cf6
Update license year to 2019 2019-01-05 18:50:16 +08:00
huanghongxun
778f26d55f Support manually created world pack 2018-12-21 00:34:46 +08:00
huanghongxun
fab5bdc2e1 Auto detect world and datapack's encoding 2018-12-20 20:27:32 +08:00
huanghongxun
1ca9d0fa2c Backup when updating modpack 2018-12-18 13:08:02 +08:00
huanghongxun
a015585bd1 Let TaskExecutorDialogPane close itself when finished 2018-12-18 12:35:03 +08:00
huanghongxun
bc34427793 Add doDependenciesSucceeded in Task 2018-12-18 00:26:31 +08:00
huanghongxun
0fe867cd93 Fixed #499 2018-12-17 23:31:47 +08:00
yushijinhun
9f060be3fd
Fix #502
* Check if port is valid before setting it
* Validate user input
* Change proxyPort to int
2018-12-16 15:49:57 +08:00
huanghongxun
f5ffa875b8 Auto detect encoding of compressed packs 2018-12-13 00:42:52 +08:00
huanghongxun
2cb23cbfcb Log messages at finer and finest level 2018-12-11 15:47:12 +08:00
yushijinhun
672b6054a6
Format license headers 2018-12-08 21:13:03 +08:00
yushijinhun
cf28b27d50
Remove HMCLCore usage instructions 2018-12-08 19:14:56 +08:00
huanghongxun
b78f9c8cd5 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2018-12-02 20:03:15 +08:00
huanghongxun
91bd67dc26 Restore default cache directory if needed. Closes #489 2018-12-02 20:02:22 +08:00
yushijinhun
900f483a03
Fix #493 2018-12-02 14:57:37 +08:00
yushijinhun
4d7af2e68b
Fix #492
Related: 4d73187376
2018-12-02 14:54:58 +08:00
huanghongxun
ef6cfa785f Query cursemeta for removed mods 2018-11-26 00:40:53 +08:00
huanghongxun
9c7795687f Show installation succeeded when Curse modpack not finished completion 2018-11-26 00:40:49 +08:00
yushijinhun
b273c80a02
Add AuthlibInjectorAccount.toString() 2018-11-24 20:43:41 +08:00
yushijinhun
8cdab4710b
Add response text to exception message when authlib-injector meta is malformed 2018-11-24 20:33:46 +08:00
yushijinhun
ea5b31d537
Allow specifying authlib-injector path 2018-11-24 20:32:22 +08:00
yushijinhun
37186439cb
Fetch authlib-injector metadata on startup 2018-11-23 23:29:41 +08:00
yushijinhun
34b7e1d582
Support use authlib-injector offline 2018-11-23 22:01:52 +08:00
yushijinhun
4d73187376
Use @JsonAdapter 2018-11-23 21:49:50 +08:00
yushijinhun
dcd0a42705
Refactor AuthlibInjectorServer 2018-11-23 21:34:54 +08:00
yushijinhun
1b40916046
Rewrite config properties 2018-11-23 21:16:05 +08:00
yushijinhun
a4e4782f2f
Change type from ExceptionalSupplier to AuthlibInjectorDownloader 2018-11-23 17:47:51 +08:00
huanghongxun
44ac3bc900 Fix messy name of installed modpack game 2018-11-06 22:03:43 +08:00
huanghongxun
e79a95b885 Fix NPE when version json missing "libraries" 2018-10-23 13:42:16 +08:00
yushijinhun
f8a838506d
Replace 'Open logs folder' with 'Export logs'
Related: 8905f2e855
2018-10-20 17:52:06 +08:00
yushijinhun
c9466cf8ef
Move MINECRAFT_DIRECTORY & HMCL_DIRECTORY to Metadata 2018-10-20 17:43:35 +08:00
huanghongxun
6c74364fa5 Fix writeText 2018-10-15 22:27:26 +08:00
huanghongxun
cf70f72f9c Fix #471 2018-10-14 19:04:27 +08:00
huanghongxun
16ea88a659 Fixed failing to download file when cached entry was removed by user 2018-10-14 19:04:21 +08:00
huanghongxun
5918b04b48 Prevent from calling register and fireEvent at the same time 2018-10-13 11:17:16 +08:00
huanghongxun
b8bd0a08e0 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2018-10-11 14:05:35 +08:00
huanghongxun
fb31eebcf2 Add a warning that forge 2760 is not compatible with liteloader 2018-10-11 14:04:52 +08:00
huanghongxun
b12711969c Rewrite encode location 2018-10-10 16:37:04 +08:00
huanghongxun
94727353c4 Fix response code 400 when downloading mods from curse 2018-10-10 15:27:27 +08:00
huanghongxun
5eb7449b74 Delete old files if etag was updated 2018-10-10 01:36:31 +08:00
huanghongxun
07a701e572 Cache asset indexes by ETag cache 2018-10-09 20:22:54 +08:00
huanghongxun
5323aaed6d ETag caching 2018-10-09 20:16:16 +08:00
huanghongxun
daf659373f Removed static login method 2018-10-08 21:23:01 +08:00
huanghongxun
f1d97454c2 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2018-10-06 12:42:50 +08:00
huanghongxun
ffb6a45e28 Remove toLowerCase 2018-10-06 12:42:30 +08:00
huanghongxun
f0d1c9b361
Merge pull request #468 from yushijinhun/authlib-injector-ali
支持 authlib-injector API 地址指示
2018-10-06 12:38:04 +08:00
huanghongxun
749ecfe37f Fix #467 2018-10-06 12:20:42 +08:00
yushijinhun
c51da28e31
Add error message for authlib-injector download failure 2018-10-06 12:06:31 +08:00
yushijinhun
f3dca75a10
Do not check for update of authlib-injector each time 2018-10-06 11:56:02 +08:00
yushijinhun
c3dcb0292c
Support -Dauthlibinjector.side=client argument
See yushijinhun/authlib-injector#16
2018-10-06 11:38:55 +08:00
yushijinhun
2a42ecda78
Support authlib-injector ALI
See yushijinhun/authlib-injector#18
2018-10-06 00:47:36 +08:00
yushijinhun
4121921aca
Fix compile errors 2018-10-03 19:20:47 +08:00
yushijinhun
2f522b744f
Add MappedProperty & reservedSelectedPropertyFor(CheckBox) 2018-10-03 17:09:12 +08:00
yushijinhun
5f9490d780
Add SafeStringConverter & Refactor font settings 2018-10-03 16:38:21 +08:00
yushijinhun
2c7ca6d354
Remove some methods in Lang 2018-10-02 22:01:42 +08:00
yushijinhun
e21f315239
Fix VersionNumber.equals() and hashCode() may not be consistent 2018-10-02 21:25:29 +08:00
huanghongxun
8e1e13058b Fix #463 2018-10-02 18:33:48 +08:00
huanghongxun
c8f74ee8e3 Add test game in game list page 2018-10-02 11:47:53 +08:00
yushijinhun
7da5b8fbc8
Add AutomatedToggleGroup & Refactor AccountList 2018-10-01 20:39:00 +08:00
yushijinhun
83f7e61d37
Add selectedItemPropertyFor(ToggleGroup) 2018-10-01 20:03:57 +08:00
yushijinhun
86765275c8
Make SelectionModelSelectedItemProperty a util class 2018-10-01 15:38:12 +08:00
yushijinhun
a01e15d841
Add MultiStepBinding&ReadWriteComposedProperty 2018-10-01 15:35:39 +08:00
yushijinhun
684813e131
Refactor Java lookup 2018-09-30 19:18:29 +08:00
huanghongxun
76ef47efc4 Suppress exceptions thrown when checking Java installation 2018-09-30 13:22:42 +08:00
huanghongxun
48d98b2424 Conceal NPE 2018-09-26 19:07:09 +08:00
huanghongxun
518969d2f2 Fix JsonParseException 2018-09-26 13:13:21 +08:00
huanghongxun
01ff1327f7 Make head displayed more precisely 2018-09-25 12:30:21 +08:00
huanghongxun
1611d11544 Fix crash when yggdrasil server gives response with malformed UUID 2018-09-24 17:24:13 +08:00
yushijinhun
4a0831a155
Replace Properties with InvocationDispatcher & Make config saving async 2018-09-22 14:21:17 +08:00
yushijinhun
fa38c53915
Remove Constants.SYSTEM_CHARSET 2018-09-22 12:54:15 +08:00
yushijinhun
9b69fe8c56
Remove Constants.DEFAULT_ICON 2018-09-22 12:52:30 +08:00
yushijinhun
ed91771594
Remove truePredicate/falsePredicate/emptyConsumer 2018-09-22 12:39:57 +08:00
yushijinhun
b33e014f71
Move GSON const to JsonUtils 2018-09-22 12:37:03 +08:00
yushijinhun
19632ac162
Move JsonUtils->gson, JarUtils->io, Properties->javafx 2018-09-22 12:33:18 +08:00
yushijinhun
74e3a9e2d1
Use http.agent to set useragent 2018-09-22 12:30:33 +08:00
yushijinhun
b15291dc57
Refactor util package structure 2018-09-22 12:12:06 +08:00
huanghongxun
8b52c46664 Merge resources.zip to allow multiple datapack zip containing resources.zip 2018-09-20 00:12:41 +08:00
huanghongxun
aa8c386cdd Support zip file in datapacks folder 2018-09-19 23:02:27 +08:00
huanghongxun
d426952d47 Fix Minecraft jar does not exist when renaming a version 2018-09-19 00:12:44 +08:00
huanghongxun
67b6a60382 Fix bugs with world. 2018-09-17 16:30:27 +08:00
huanghongxun
9752dea0e1
Merge pull request #454 from yushijinhun/javafx
重构
2018-09-16 13:46:31 +08:00
huanghongxun
9afdc99157 Support single datapack zip 2018-09-16 13:15:54 +08:00
huanghongxun
07febc18d4 World and datapacks management 2018-09-16 12:38:15 +08:00
yushijinhun
68fdfb36fd
Add selectedItemPropertyFor(ComboBox) 2018-09-16 00:52:03 +08:00
yushijinhun
9950bef260
Change type of downloadType to string 2018-09-15 23:05:37 +08:00
Yuhui Huang
1753b4d27e Datapack resolving 2018-09-14 15:44:40 +08:00