Commit Graph

507 Commits

Author SHA1 Message Date
huanghongxun
95a509b86c ToStringBuilder 2018-02-20 12:11:31 +08:00
huanghongxun
e5ccc40358 clear cached skin records when refrshing account state 2018-02-18 18:35:05 +08:00
huanghongxun
9ae952bb78 Add comments 2018-02-18 18:26:01 +08:00
huanghongxun
57a7eaccf5 Optimize imports 2018-02-18 17:16:42 +08:00
huanghongxun
1934bfa962
Merge pull request #282 from yushijinhun/javafx
重构
2018-02-18 17:12:16 +08:00
yushijinhun
b45907a9f6
Polish, 处理部分警告 2018-02-18 16:23:12 +08:00
yushijinhun
8fd9395e23
删除对SSL的干涉(出于安全考虑) 2018-02-18 16:03:13 +08:00
yushijinhun
126b2a19e7
ReflectionHelper中使用参数化类型 2018-02-18 16:01:21 +08:00
yushijinhun
bde01af89d
help compilers to infer types
ecc cannot infer it
2018-02-18 15:49:11 +08:00
yushijinhun
65491ef18e
Remove 3-arg Lang.merge() 2018-02-18 15:44:32 +08:00
huanghongxun
44a9470613 Fixed same skin among characters in one account 2018-02-18 15:42:18 +08:00
yushijinhun
470045f228
Rename Lang.getOrPut() to computeIfAbsent()
See Map.computeIfAbsent() in java9
2018-02-18 15:33:58 +08:00
yushijinhun
d081a6ee92
Remove Lang.requireJsonNonNull(), use JsonUtils.fromNonNullJson() instead 2018-02-18 15:32:00 +08:00
yushijinhun
95f404bb64
move emptyConsumer() to Constants 2018-02-18 15:20:00 +08:00
yushijinhun
dcea76bcd3
Add missing @SafeVarargs in Lang 2018-02-18 15:17:17 +08:00
yushijinhun
e9b816fb87
Change Lang.EMPTY_CONSUMER to emptyConsumer() 2018-02-18 15:15:28 +08:00
huanghongxun
20a7039f59 GC after game launched 2018-02-18 13:54:13 +08:00
huanghongxun
4ad172dda4 authlib-injector prefetch support 2018-02-18 09:39:56 +08:00
huanghongxun
adf6c19996 Cache session profile response. Closes #280 2018-02-17 23:38:40 +08:00
huanghongxun
24ec0adacf Authlib Injector support 2018-02-17 23:28:05 +08:00
huanghongxun
83bc6748a3 HMCLCore authlib injector support 2018-02-17 11:01:08 +08:00
huangyuhui
8bd4f2b5b5 hmcl.log in normal format 2018-02-14 23:42:08 +08:00
huangyuhui
552238676c Fixed activation of mods not working. Closes #259 2018-02-14 15:16:42 +08:00
huangyuhui
c9e7bf7ca5 Yggdrasil account offline logging in 2018-02-14 14:51:42 +08:00
huangyuhui
8d1e335abf Downloading snapshot versions 2018-02-14 14:15:34 +08:00
huangyuhui
c76bcb5d15 show retry link when failed to fetch version list 2018-02-14 13:29:08 +08:00
huangyuhui
0fb248e6be theme selection 2018-02-14 00:15:27 +08:00
huangyuhui
69ea41056d background customizing 2018-02-13 18:37:33 +08:00
huangyuhui
46917af37c Renaming profile 2018-02-12 23:52:10 +08:00
huangyuhui
f6c95e3095 Show alex or steve portrait for offline account 2018-02-12 21:25:47 +08:00
huangyuhui
6823291eb0 Ignoring IOExceptions in log4j handler 2018-02-08 00:04:02 +08:00
huangyuhui
98b43945ed Global and special version settings. Fixed property bindings 2018-02-07 22:33:52 +08:00
huangyuhui
5607298898 reduce 'return null' 2018-02-07 21:01:09 +08:00
huangyuhui
35047477fe Fixed crash when a version inherits from a nonexistent version. Closes #269 2018-02-06 16:40:31 +08:00
huanghongxun
08a31a92f2
Merge pull request #267 from mslxl/javafx
Fix `Unable to move temp file`, `File::renameTo` is problematic.
2018-02-06 09:54:08 +08:00
huangyuhui
6e2fc7ff97 Maintains minecraft arguments when installing or uninstalling Forge, OptiFine, LiteLoader 2018-02-06 00:07:32 +08:00
huangyuhui
44d1f9cf7d LiteLoader installing 2018-02-05 23:53:57 +08:00
mslxl
826a6bf868 Fix Unable move temp file on Arch Linux 2018-02-05 16:24:44 +08:00
huangyuhui
3abb96e5b9 Temporarily fix spacing missing. Closes #264 2018-02-05 00:23:58 +08:00
huangyuhui
228fddf902 Fix always throwing IOException when downloading game asset index 2018-02-04 21:26:55 +08:00
huangyuhui
1516802a8d Fix the layout of task executor pane 2018-02-04 21:26:25 +08:00
huangyuhui
c7589e4e3c Fix official optifine download 2018-02-04 12:33:09 +08:00
huangyuhui
a502785209 character selection 2018-02-03 16:48:30 +08:00
huangyuhui
c923ed69a0 Update & Crash 2018-02-02 17:45:29 +08:00
huangyuhui
e4bd1c758f Delete version folder when installing canceled 2018-02-02 15:38:55 +08:00
huangyuhui
ad175fd2f2 Fixed duplicated but different version libraries casuing crash when Forge and OptiFine installed. Closes #261 2018-02-02 15:31:42 +08:00
huangyuhui
190cc18b11 Fixed no forge when install a version with its name not the default one. Closes #208 2018-02-02 14:40:59 +08:00
huangyuhui
55e7b8901a Forbids interrupted exception shown 2018-02-02 14:25:21 +08:00
huangyuhui
f144dd888d Launching messages 2018-02-02 13:44:53 +08:00
huangyuhui
0a4944f120 decompress natives to system temp directory 2018-02-02 11:13:10 +08:00
huangyuhui
7675347889 decompress natives when making launch script 2018-02-02 10:53:59 +08:00
huangyuhui
7ea2b57ece Unable to launch dialog 2018-02-02 10:46:27 +08:00
huangyuhui
cec8249b24 Removed -XstartOnFirstThread to fix freezed launched game. GH-257 2018-02-01 15:57:55 +08:00
huangyuhui
2c7510fe5f Crash and upgrade 2018-01-27 16:16:38 +08:00
huangyuhui
418be689f2 Cached Minecraft jars 2018-01-27 14:05:39 +08:00
huangyuhui
1a572be52e Modpack updates UI 2018-01-27 12:56:45 +08:00
huangyuhui
e8316de160 Modpack updates 2018-01-27 01:19:13 +08:00
huangyuhui
12fa94627d TransitionHandler update 2018-01-25 22:41:15 +08:00
huangyuhui
056c0901f2 make launch script 2018-01-24 19:42:04 +08:00
huangyuhui
6db41431ed localization 2018-01-20 11:18:59 +08:00
huangyuhui
b90d6b7b8c Update Readme.md for HMCLCore introduction 2018-01-16 19:34:53 +08:00
huangyuhui
4b39c046a7 Prepare for MCBBS modpack 2018-01-12 21:30:09 +08:00
huangyuhui
8edfe7bc9c MessageBox 2018-01-09 21:37:04 +08:00
huangyuhui
9e21e02791 G1GC more options 2018-01-09 17:17:41 +08:00
huangyuhui
8e6b56b2d6 upgrader 2018-01-09 17:14:50 +08:00
huangyuhui
4b65d4da06 Make background transparent? 2018-01-09 00:03:34 +08:00
huangyuhui
a40c5fdd40 Turn to java 2018-01-01 23:12:59 +08:00
huangyuhui
d8be9abcc5 nothing 2018-01-01 16:21:54 +08:00
huangyuhui
d2529cfc23 Merge 'arguments' 2017-11-16 00:13:49 +08:00
huangyuhui
b81b38f7e4 remove -Xincgc for Java 9 2017-11-04 11:07:36 +08:00
huangyuhui
d9225b9529 Launching 1.13 2017-11-03 13:38:38 +08:00
keteZeng
807f42ad65 Fixed invalid forge download url 2017-09-17 12:08:02 +08:00
huanghongxun
621562a17e Fixed finding asset objects. Closes #205 2017-09-16 20:42:08 +08:00
huanghongxun
5f7f885d99 Added custom game directory. Closes #199 2017-09-04 15:55:18 +08:00
huangyuhui
41337f66a8 Upgrader 2017-08-27 14:23:27 +08:00
huangyuhui
8c61bc1a5e Prepare for proguard 2017-08-27 12:49:56 +08:00
huangyuhui
b07144278b Task chain exception catching 2017-08-26 19:09:21 +08:00
huangyuhui
c775e8368e Try to asynchronize some time-costly tasks 2017-08-26 10:53:05 +08:00
huangyuhui
008f07cacc Removed wrong imports 2017-08-25 20:22:27 +08:00
huangyuhui
ff1a566bf4 Profiles editing and selecting 2017-08-25 20:18:27 +08:00
huangyuhui
3b4359f7eb Fixed logging spaces and tabs missing, unclickable version item, removing 'logging' element when installing forge and liteloader 2017-08-25 13:22:10 +08:00
huangyuhui
e70226afba Apache common-compress 2017-08-25 10:12:56 +08:00
huangyuhui
cc2c186e7f Load mod list asynchronously 2017-08-25 09:28:55 +08:00
huangyuhui
833247d133 Icon selection 2017-08-25 08:54:33 +08:00
huangyuhui
f532df20e6 MultiMC modpack support 2017-08-24 23:53:27 +08:00
huangyuhui
0fa601ad5e Auto-installing 2017-08-24 19:20:15 +08:00
huangyuhui
6da1dc5372 HMCL modpack export 2017-08-24 13:57:01 +08:00
huangyuhui
2e3d9c22e3 Tooltip reflection for advanced options 2017-08-23 12:07:08 +08:00
huangyuhui
86cef86fc9 HMCL modpack output model 2017-08-22 21:07:56 +08:00
huangyuhui
d83291eac0 HMCL modpack import 2017-08-22 20:15:26 +08:00
huangyuhui
0cc7d621bc Javadoc 2017-08-22 14:31:35 +08:00
huangyuhui
b40b0ec47c Version setting pane context menu 2017-08-21 22:57:45 +08:00
huangyuhui
a67bfabea4 Log window category and show lines 2017-08-21 20:59:32 +08:00
huangyuhui
be202a6e1a Log Window refined 2017-08-21 13:40:16 +08:00
huangyuhui
563ea993c6 Minecraft Logging 2017-08-20 19:47:28 +08:00
huangyuhui
cbf2a4e7a8 Allow draging files to mod pane 2017-08-20 09:25:37 +08:00
huangyuhui
432fd287c9 Fix yggdrasil login. 2017-08-19 23:44:12 +08:00
huangyuhui
383453f9af Launching progress 2017-08-19 21:51:46 +08:00
huangyuhui
27939c6b61 Skin portrait 2017-08-18 22:42:11 +08:00
huangyuhui
dc468f1a76 Java Selection 2017-08-18 13:58:49 +08:00
huangyuhui
99f60ea6e5 CurseForge modpack support. Random UserAgent for OptiFine. Fixed mis-repositioning of maronry pane 2017-08-17 13:14:34 +08:00
huangyuhui
a9b044b4d2 localization 2017-08-11 18:16:23 +08:00
huangyuhui
301130bc0c Clear warnings 2017-08-10 19:56:27 +08:00
huangyuhui
36b23d072c Add files 2017-08-10 19:34:19 +08:00
huangyuhui
66ad048053 Remove tests 2017-08-10 19:08:05 +08:00
huangyuhui
9bd7071297 emmmmm 2017-08-10 18:44:21 +08:00
huangyuhui
da66102bc0 Able to launch game now 2017-08-08 23:57:17 +08:00
huangyuhui
f1ffa5ca03 Scheduler JavaFX and Swing now have Future 2017-08-06 11:45:12 +08:00
huangyuhui
736a8c1b30 FXML for decorator 2017-08-03 23:54:15 +08:00
huangyuhui
41498b5d93 UI works 2017-08-02 00:33:24 +08:00
huangyuhui
3c32ef39c7 Fixed compile error 2017-08-01 18:56:13 +08:00
huangyuhui
726f92a9c9 Fixed untracked files 2017-08-01 18:12:39 +08:00
huangyuhui
1410b3b5b1 LICENSE 2017-08-01 18:10:36 +08:00
huangyuhui
6dc2b36d14 HMCLKotlin project 2017-08-01 13:51:48 +08:00
huangyuhui
34d560b75e Now OptionPane Yes No are translated 2017-07-28 09:44:29 +08:00
huangyuhui
caa77387df Fixed reseting the color at warning mode 2017-07-28 08:45:36 +08:00
huangyuhui
a0b19cfd1b Russian Lang 2017-07-19 23:28:56 +08:00
huangyuhui
6afcf8d0d7 Support liteloader snapshots 2017-07-03 19:43:36 +08:00
huangyuhui
b8591007cf Fixed wrong username when already logged in. Closes #158 2017-07-03 08:52:41 +08:00
huangyuhui
7fe3e28a2d Add default log4j config file for better performance 2017-07-03 08:46:35 +08:00
huangyuhui
72a1d4f186 Initial version here 2017-07-02 23:08:26 +08:00
huangyuhui
4ecdefc14e Added searching log texts. Closes #69 2017-07-02 16:24:50 +08:00
huangyuhui
38eff7e59c Supported 'logging' item in minecraft.json 2017-07-02 13:12:41 +08:00
huangyuhui
7d8a66b71a Fixed not downloading when a library and an native library have the same name 2017-07-01 23:38:07 +08:00
huangyuhui
29f53d574c add log lines limitation 2017-07-01 21:31:24 +08:00
huangyuhui
2f3c8285c8 Fixed #153 2017-06-24 15:52:28 +08:00
huangyuhui
cfa7b4832a try to avoid not supporting translucent 2017-06-11 21:46:54 +08:00
huangyuhui
fbeabfcad2 Fix spinner UI 2017-06-11 13:11:44 +08:00
huangyuhui
5a6c64377a Fix console font coloring 2017-06-11 12:24:50 +08:00
huangyuhui
faa806fc9f New console font options 2017-06-11 12:17:41 +08:00
huangyuhui
4fdafecf77 add STDOUT & STDERR highlight 2017-06-08 22:59:21 +08:00
huangyuhui
a8bc4eb352 Change version to 2.7.7 2017-05-20 19:10:38 +08:00
huangyuhui
532ff88ea4 Fixed not aborting launching when not having successfully downloaded all libraries 2017-05-20 19:01:32 +08:00
huangyuhui
0d8bd2569f Fixed warning when renaming a game version 2017-04-09 20:09:11 +08:00
huangyuhui
a68aa84e2f An alert to suggest users to use Java 8 2017-04-04 18:10:05 +08:00
huangyuhui
ebadbb0f18 Fixed #130 2017-04-04 13:58:14 +08:00
huangyuhui
4f03ec503f Fixed outputing crash advice twice 2017-03-12 13:50:20 +08:00
huangyuhui
fd2a5a07a1 Try to fix concurrentModificationException 2017-03-10 19:38:51 +08:00
huangyuhui
0f390e63d3 Add progress of installing and game downloading 2017-03-02 13:18:25 +08:00
huangyuhui
61afad30c8 Animations on buttons and comboboxes 2017-02-27 20:36:14 +08:00
huangyuhui
0fc7eb6316 will not take operations when cancel the file chooser 2017-02-26 21:45:39 +08:00
huangyuhui
926e276167 InstallerPanel: show loading in the table instead of showing a task window 2017-02-26 21:38:38 +08:00
huangyuhui
a34875e804 New launcher visibility mode: hide and reopen later 2017-02-26 21:19:21 +08:00
huangyuhui
7436736040 Modify logging system 2017-02-26 20:21:35 +08:00
huangyuhui
6e685a2aa1 support jar upgrading 2017-02-24 19:42:42 +08:00
huangyuhui
4b435d4ac3 Try to fix auto update 2017-02-24 19:22:06 +08:00
huangyuhui
c67caafdb4 Fixed forge not downloading from BMCL 2017-02-24 13:13:55 +08:00
huangyuhui
0bda79c0d5 Fixed typesafe again and again 2017-02-24 12:57:18 +08:00
huangyuhui
44735b3d4e try to fix memory over flow 2017-02-23 18:19:14 +08:00
huangyuhui
d1c4dee7f7 New LaF 2017-02-22 20:12:21 +08:00
huangyuhui
445367532a Fixed #119 2017-02-19 16:30:27 +08:00
huangyuhui
9df351a2f0 Add #111: wrapper launch options and login result processing event 2017-02-18 13:02:19 +08:00
huangyuhui
65e5677788 Fixed #114: no lwjgl64 in java.library.path 2017-02-18 12:41:56 +08:00
huangyuhui
0bd1b404aa Update I18N_zh.land and I18N_zh.properties 2017-02-17 20:16:44 +08:00
huangyuhui
5f65496500 Load plugins from jar file 2017-02-17 20:00:45 +08:00
huangyuhui
413854d1f1 Add an option to disable common path 2017-02-16 20:34:31 +08:00
huangyuhui
f836afa2ea Api 2017-02-15 20:28:01 +08:00