ShatteredPrism/launcher
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
..
filelink
icons Add webp validIconExtensions 2024-08-30 02:08:07 -05:00
java remove task parent from constuctor 2024-11-15 09:35:36 +02:00
launch remove task parent from constuctor 2024-11-15 09:35:36 +02:00
meta remove task parent from constuctor 2024-11-15 09:35:36 +02:00
minecraft Improve MANIFEST.MF parsing 2024-11-25 10:05:19 +00:00
modplatform remove task parent from constuctor 2024-11-15 09:35:36 +02:00
net remove task parent from constuctor 2024-11-15 09:35:36 +02:00
news made sure that the retry dialog is not displayed offline 2024-06-24 00:29:21 +03:00
pathmatcher increment clang-tools version 2024-06-28 12:48:52 +03:00
resources update adoptium icon 2024-08-22 20:38:08 +03:00
screenshots Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into clean_net 2024-07-22 22:06:09 +03:00
settings skip QSaveFile temprary files 2024-10-22 14:41:34 +00:00
tasks remove task parent from constuctor 2024-11-15 09:35:36 +02:00
tools increment clang-tools version 2024-06-28 12:48:52 +03:00
translations Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into cmake_fields 2024-09-16 20:06:18 +03:00
ui remove task parent from constuctor 2024-11-15 09:35:36 +02:00
updater translate standard buttons 2024-10-28 20:34:51 +00:00
Application.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
Application.h lock m_instanceExtras 2024-10-30 20:56:30 +00:00
ApplicationMessage.cpp
ApplicationMessage.h
BaseInstaller.cpp Replaced QFile::remove with FS::deletePath 2024-02-10 11:03:51 +02:00
BaseInstaller.h increment clang-tools version 2024-06-28 12:48:52 +03:00
BaseInstance.cpp Merge pull request #1886 from Trial97/time4 2024-06-24 23:07:41 +03:00
BaseInstance.h Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
BaseVersion.h
BaseVersionList.cpp Made tar.gz parser 2024-03-21 19:46:57 +02:00
BaseVersionList.h Made tar.gz parser 2024-03-21 19:46:57 +02:00
CMakeLists.txt skip QSaveFile temprary files 2024-10-22 14:41:34 +00:00
Commandline.cpp
Commandline.h
DataMigrationTask.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
DataMigrationTask.h remove task parent from constuctor 2024-11-15 09:35:36 +02:00
DefaultVariable.h
DesktopServices.cpp Fixed open path a second time 2024-01-22 20:36:57 +02:00
DesktopServices.h chore: improve param name 2024-01-03 18:15:03 +01:00
Exception.h Fix formatting issues 2024-02-12 15:24:56 +00:00
ExponentialSeries.h
FastFileIconProvider.cpp
FastFileIconProvider.h
FileIgnoreProxy.cpp
FileIgnoreProxy.h
FileSystem.cpp skip QSaveFile temprary files 2024-10-22 14:41:34 +00:00
FileSystem.h Fix a typo in comment 2024-07-29 21:07:28 +08:00
Filter.cpp Recommend java major 2024-07-23 01:41:41 +03:00
Filter.h fix java crash on refresh 2024-09-13 23:26:04 +03:00
GZip.cpp
GZip.h
install_prereqs.cmake.in fix: make portable builds bundle Qt 2024-04-29 15:08:10 +02:00
InstanceCopyPrefs.cpp
InstanceCopyPrefs.h
InstanceCopyTask.cpp Wrap FS::write in try catch 2024-09-16 12:42:09 +03:00
InstanceCopyTask.h
InstanceCreationTask.cpp Fix file remaingin open after program closure 2024-11-15 05:14:42 +00:00
InstanceCreationTask.h Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
InstanceImportTask.cpp Fix file remaingin open after program closure 2024-11-15 05:14:42 +00:00
InstanceImportTask.h Fix file remaingin open after program closure 2024-11-15 05:14:42 +00:00
InstanceList.cpp Update launcher/InstanceList.cpp 2024-07-08 15:04:27 +03:00
InstanceList.h remove some poly mentions from the code 2024-07-08 14:53:39 +03:00
InstancePageProvider.h add setting for quickplay singleplayer 2024-08-08 16:53:26 +03:00
InstanceTask.cpp Rename setting to SkipModpackUpdatePrompt 2024-07-03 23:13:39 +02:00
InstanceTask.h
JavaCommon.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
JavaCommon.h Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into feature/java-downloader 2024-06-28 20:45:30 +03:00
Json.cpp
Json.h
KonamiCode.cpp
KonamiCode.h
LaunchController.cpp remove task parent from constuctor 2024-11-15 09:35:36 +02:00
LaunchController.h remove task parent from constuctor 2024-11-15 09:35:36 +02:00
Launcher.in Fix removing portable.txt on Linux portable build 2024-10-21 19:45:10 +00:00
LoggedProcess.cpp Use UTF-8 to decode logs on Java 18 or newer 2024-10-09 17:15:53 +01:00
LoggedProcess.h Use UTF-8 to decode logs on Java 18 or newer 2024-10-09 17:15:53 +01:00
main.cpp
MangoHud.cpp fix mangohud detection for absolute path 2024-08-26 09:00:46 +03:00
MangoHud.h
Markdown.cpp Fixed more clang formatting 2024-05-01 00:21:32 -04:00
Markdown.h
MessageLevel.cpp
MessageLevel.h
MMCTime.cpp
MMCTime.h
MMCZip.cpp replace unzipping with unpacking 2024-10-28 13:23:42 +00:00
MMCZip.h fix some transtaions warnings 2024-10-01 08:51:06 +03:00
MTPixmapCache.h fix: prevent inf recursion when mod icon load fails; cut max pixmapcache to 1/4 previous value 2024-10-11 13:26:20 -07:00
NullInstance.h Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
ProblemProvider.h
PSaveFile.h Replaced QSet with QHash 2024-10-22 14:41:34 +00:00
QObjectPtr.h
qtlogging.ini Remove katabasis 2024-05-15 12:53:06 +03:00
QVariantUtils.h
RecursiveFileSystemWatcher.cpp
RecursiveFileSystemWatcher.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
ResourceDownloadTask.cpp add checksum validator 2024-08-26 00:27:23 +03:00
ResourceDownloadTask.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
RuntimeContext.h Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
RWStorage.h
SeparatorPrefixTree.h
StringUtils.cpp Made Regex static and const, removed dist 2024-05-01 13:00:55 -04:00
StringUtils.h Moved html patch to StringUtils 2024-04-30 23:14:26 -04:00
SysInfo.cpp fix macos system detection 2024-10-30 19:16:53 +00:00
SysInfo.h Code spaghetti and more chaos 2024-01-27 22:47:28 +02:00
Untar.cpp Fixed tar extract 2024-03-29 00:10:59 +02:00
Untar.h Fixed qMin 2024-03-21 20:01:40 +02:00
Usable.h
Version.cpp move checkMcVersions to Filter struct 2024-10-07 00:21:28 +03:00
Version.h move checkMcVersions to Filter struct 2024-10-07 00:21:28 +03:00
VersionProxyModel.cpp Lots of J's for Java needed to be uppercased 2024-09-26 01:58:21 -04:00
VersionProxyModel.h Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into feature/java-downloader 2024-06-28 20:45:30 +03:00
WatchLock.h
WindowsConsole.cpp
WindowsConsole.h