ShatteredPrism/launcher/minecraft
Kationor a914747416 Improve MANIFEST.MF parsing
Previously, we would only properly parse LF-encoded manifests, and even
those only if they used the recommended casing.

This commit allows the parser to recognise CR and CRLF newlines, and
also makes the name comparison case insensitive to align with the
specification. (Though not completely: we still don't support multiline
values)

Signed-off-by: Kationor <n96211028@gmail.com>
(cherry picked from commit b40a1973bfe590fb21b486419a8d223b2c6aae7f)
2024-11-25 10:05:19 +00:00
..
auth remove task parent from constuctor 2024-11-15 09:35:36 +02:00
gameoptions chore: reformat 2023-08-14 18:16:53 +02:00
launch remove task parent from constuctor 2024-11-15 09:35:36 +02:00
mod Improve MANIFEST.MF parsing 2024-11-25 10:05:19 +00:00
skins Add more null protection for skin management 2024-09-16 12:41:33 +03:00
update Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
Agent.h Replace typedef with using 2023-10-24 01:36:27 -07:00
AssetsUtils.cpp validate metadata on launch 2024-06-28 20:51:26 +03:00
AssetsUtils.h Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
Component.cpp fix don't hang the ui for a full version load 2024-10-24 10:24:53 +00:00
Component.h fix don't hang the ui for a full version load 2024-10-24 10:24:53 +00:00
ComponentUpdateTask_p.h add better profile logging properly resolve important dependencies 2024-06-29 20:34:08 -07:00
ComponentUpdateTask.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
ComponentUpdateTask.h remove task parent from constuctor 2024-11-15 09:35:36 +02:00
GradleSpecifier.h chore: update license headers 2023-08-14 18:17:05 +02:00
LaunchProfile.cpp Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
LaunchProfile.h preparing java autodownload 2024-02-03 00:11:05 +02:00
Library.cpp Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into validate_metadata 2024-07-21 02:24:30 +03:00
Library.h Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
Logging.cpp add better profile logging properly resolve important dependencies 2024-06-29 20:34:08 -07:00
Logging.h add better profile logging properly resolve important dependencies 2024-06-29 20:34:08 -07:00
MinecraftInstance.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
MinecraftInstance.h Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
MinecraftLoadAndCheck.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
MinecraftLoadAndCheck.h remove task parent from constuctor 2024-11-15 09:35:36 +02:00
MojangDownloadInfo.h Replace typedef with using 2023-10-24 01:36:27 -07:00
MojangVersionFormat.cpp Added java metadata 2024-01-25 22:22:21 +02:00
MojangVersionFormat.h chore: reformat 2023-08-14 18:16:53 +02:00
OneSixVersionFormat.cpp Improve UI 2024-03-20 00:15:02 +02:00
OneSixVersionFormat.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
PackProfile_p.h fix misepellings 2024-06-29 20:34:08 -07:00
PackProfile.cpp fix merge issue 2024-07-19 17:10:04 +03:00
PackProfile.h Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
ParseUtils.cpp chore: reformat 2023-08-14 18:16:53 +02:00
ParseUtils.h chore: reformat 2023-08-14 18:16:53 +02:00
ProfileUtils.cpp Fix a few typos 2024-07-18 22:08:18 -04:00
ProfileUtils.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
Rule.cpp chore: update license headers 2023-08-14 18:17:05 +02:00
Rule.h chore: update license headers 2023-08-14 18:17:05 +02:00
VanillaInstanceCreationTask.cpp chore: reformat 2023-08-14 18:16:53 +02:00
VanillaInstanceCreationTask.h fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
VersionFile.cpp preparing java autodownload 2024-02-03 00:11:05 +02:00
VersionFile.h Recommend java major 2024-07-23 01:41:41 +03:00
VersionFilterData.cpp chore: reformat 2023-08-14 18:16:53 +02:00
VersionFilterData.h chore: reformat 2023-08-14 18:16:53 +02:00
World.cpp skip QSaveFile temprary files 2024-10-22 14:41:34 +00:00
World.h chore: reformat 2023-08-14 18:16:53 +02:00
WorldList.cpp chore: update license headers 2023-08-14 18:17:05 +02:00
WorldList.h chore: reformat 2023-08-14 18:16:53 +02:00