Commit Graph
11438 Commits
Author SHA1 Message Date
umutcagand 6bc731da54 fix(logs): read log4j event timestamps as milliseconds
log4j's XMLLayout writes the event time in milliseconds since the epoch, but
parseAttributes() handed it to QDateTime::fromSecsSinceEpoch(). Every entry in
the Minecraft Log tab therefore carried an instant about 55000 years out, and
once rendered as HH:mm:ss it showed a clock time with no relation to when the
line was actually logged.

The launcher's own sample log shows it plainly: the first two events of
testdata/TestLogs/vanilla-1.21.5.xml.log are stamped 1745005148589 and
1745005150587, just under two seconds apart, which is also how far apart they
are in the plain text capture of the same startup sequence. Read as seconds
they land 33 minutes apart, in the year 57267.

The added test compares instants rather than rendered clock times, so it does
not depend on the time zone it runs in.

Assisted-by: Claude Code:claude-opus-5
Signed-off-by: umutcagand <237324081+c8dhjp4tyv-bit@users.noreply.github.com>
2026-09-12 10:11:48 +03:00
Alexandru Ionut Tripon c5df040ac0 Fix a few issues with instance icon folder (#6075) 2026-09-11 21:36:14 +00:00
Alexandru Ionut Tripon 61c4b170bf Change FS::copy to add an option to copy empty directories and symlinked directories as such (#6011) 2026-09-11 21:35:56 +00:00
Alexandru Ionut Tripon 48ae890109 refactor(skins): fold task subclasses into request factories (#5937) 2026-09-11 13:16:05 +00:00
Alexandru Ionut Tripon a070ca7b28 refactor(screenshots): merge Imgur into ImgurAPI (#6020) 2026-09-11 12:13:38 +00:00
Alexandru Ionut Tripon f6db53b654 refactor: use RpcSink for log uploads (#6026) 2026-09-11 11:48:04 +00:00
Alexandru Ionut TriponandOctol1ttle d76418fa97 Update launcher/screenshots/ImgurAPI.cpp
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-09-11 14:47:27 +03:00
Alexandru Ionut TriponandOctol1ttle bc5f0e6d47 Update launcher/minecraft/skins/SkinRequests.cpp
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-09-11 14:47:10 +03:00
Alexandru Ionut TriponandOctol1ttle 2e240fdd10 Apply batched suggestions from code review
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-09-11 14:21:43 +03:00
Trial97 42bb46a9ee refactor: wrap PasteType in EnumWrapper
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 23:58:37 +03:00
TheKodeToad 7dbed49b02 Only search folders which are directly inside icons
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-09-10 21:45:00 +01:00
TheKodeToad 2e26d80af2 Remove unused SettingChanged slot
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-09-10 21:44:41 +01:00
TheKodeToad 79d863b42b Fix root icons being cleared out when subdir is updated
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-09-10 21:44:17 +01:00
Trial97 a1a17514a4 refactor: use RpcSink for log uploads
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 23:06:56 +03:00
Trial97 3680a052d0 style: modernize net sinks and skin dialog code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 22:47:31 +03:00
Trial97 b2de330862 refactor(skins): fold task subclasses into request factories
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 22:47:31 +03:00
Trial97 bb03a6584a refactor(screenshots): merge Imgur into ImgurAPI
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 22:29:49 +03:00
Alexandru Ionut Tripon 0db8771a28 fix: report installed status for non-mod resources (#6059) 2026-09-10 18:06:53 +00:00
Trial97 c20cc6a89d fix: report installed status for non-mod resources
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 20:24:26 +03:00
Alexandru Ionut Tripon c9065adcad feat(launch): add pre-load command (#6041) 2026-09-10 15:51:32 +00:00
timoreo 84f7644729 chore: update sparkle to 2.9.6 (#6065) 2026-09-10 15:04:36 +00:00
timoreo 63f10d18cd fix(modrinth): detect datapacks from project_type and loaders (#6058) 2026-09-10 14:40:51 +00:00
Trial97 c7cfb6d61f feat(launch): add early-launch command
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-10 15:22:51 +03:00
DioEgizio e93cae0e26 chore: update sparkle to 2.9.6
Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-09-10 12:53:35 +02:00
Octol1ttle 592deac57e chore(deps): update determinatesystems/magic-nix-cache-action action to v15 (#6062) 2026-09-10 06:38:40 +00:00
Octol1ttle 6d16d71015 chore(deps): update determinatesystems/update-flake-lock action to v29 (#6063) 2026-09-10 06:20:28 +00:00
renovate[bot] 89dfefa7e7 chore(deps): update determinatesystems/update-flake-lock action to v29 2026-09-10 02:13:46 +00:00
renovate[bot] 31826807b8 chore(deps): update determinatesystems/magic-nix-cache-action action to v15 2026-09-10 02:13:40 +00:00
Alexandru Ionut Tripon 8f241f8f00 build: bump qt minimum to 6.8 (#6049) 2026-09-09 18:41:52 +00:00
Trial97 880e8c919c fix(modrinth): detect datapacks from project_type and loaders
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-09 21:38:24 +03:00
Trial97 3da92e893d refactor: fix clang-tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-09 19:45:32 +03:00
Trial97 6d225d6ec7 build: bump qt minimum to 6.8
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-09 19:45:32 +03:00
Octol1ttle 26b75af8db chore!: update to qt 6.11.2 (#6052) 2026-09-09 16:15:57 +00:00
Alexandru Ionut Tripon 19d9416bcc Fix some atl install bugs (#6035) 2026-09-09 14:59:29 +00:00
Octol1ttle 575a73739a fix(modplatform): update download when version changes (#6048) 2026-09-09 14:54:36 +00:00
Alexandru Ionut Tripon b69f059c8f refactor(launch): merge pre/post launch command steps (#6037) 2026-09-09 14:38:42 +00:00
Octol1ttle 349a82eca0 fix(resources): validate index in onResourceToggle (#6036) 2026-09-09 14:08:32 +00:00
Octol1ttle a5f5799539 Add checkbox to disable profiler on next launch (#6024) 2026-09-09 13:36:35 +00:00
Octol1ttle 2176c85cb4 feat(net): add RpcSink and Spec for typed requests (#6019) 2026-09-09 12:23:04 +00:00
cecilia 444f96d9fb Fix local variable casing
Signed-off-by: cecilia <alcremieow@posteo.de>
2026-09-09 14:00:26 +02:00
Alexandru Ionut Tripon c204b069df ResourceFolderModel: move resource resolving tasks to separate thread (properly) (#6042) 2026-09-09 11:47:06 +00:00
Alexandru Ionut Tripon c12cd67acb fix: only pass the demo applet parameter when launching the demo (#6051) 2026-09-09 11:37:31 +00:00
Octol1ttle 0c567a050f chore: clean up includes
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-09-09 15:42:24 +05:00
Octol1ttle 8d44475573 fix(ResourceFolderModel): move resource resolving tasks to separate thread (properly)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-09-09 15:10:25 +05:00
DioEgizio 41a2cad3f0 fix: switch to latest aqtinstall commit
the latest release still doesn't support qt 6.11

Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-09-09 10:54:25 +02:00
DioEgizio f0ac4c060c chore!: update to qt 6.11.2
this also raises the macos minimum version to 13.0

Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-09-09 10:43:43 +02:00
Kim2091 6a3d08c68a fix: only pass the demo applet parameter when launching the demo
The first versions with demo support (12w16a to 12w18a) enable demo mode
whenever the applet's demo parameter is present, ignoring its value:

    if (getParameter("demo") != null)
        minecraft.setDemo(true);

LegacyFrame always set the parameter, and the boolean overload stores the
string "false", which getParameter returns as non-null. Those versions
therefore ran in demo mode on every launch, including for accounts that
own the game. Set the parameter only when the demo was requested.

Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Kim2091 <jpavatargirl@gmail.com>
2026-09-08 19:47:33 -05:00
Trial97 173027f413 feat(modplatform): keep version selection in sync
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-08 21:58:19 +03:00
Trial97 4618feb94e fix(modplatform): update download when version changes
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-09-08 21:57:11 +03:00
Alexandru Ionut Tripon 5785da3317 add setting to update minecraft instance setting to the latest available version (#3340) 2026-09-07 21:30:54 +00:00