aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-12-24feat: add a `ModUtils::validate`Rachel Powers
moves the reading of mod files into `ModUtils` namespace Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: add initial support for parseing datapacksRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24Make requested changesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-22feat(docs): add note about logging env variables in man pageflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-22feat: use Qt logging facilities instead of our ownflow
This system allows us to globally define categories, and control whether they are shown or not at runtime. It also does some things by it's own, so we can remove some (uhhh) code. Lastly, this allows changing the behavior of the logger at runtime via environment variables that Qt takes care of for us. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-19Merge pull request #628 from flowln/fix_multiple_resource_packs_crashSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/624
2022-12-18fix: exclude unused tls backendsDioEgizio
makes bundles slightly smaller on windows and macos: - qopensslbackend will not be used neither on macos nor on qt6 windows, so let's just not copy it - qcertonlybackend won't be used and wouldn't work for prism anyways as it doesn't support some features we use Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-17Merge pull request #636 from flowln/fix_component_version_when_updatingSefa Eyeoglu
Correctly set component versions in Modrinth pack updating
2022-12-17refactor(Tasks): remove 'm_total_size' from ConcurrentTaskflow
We can use the queues directly instead. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-17Merge pull request #630 from leo78913/yeet-scrollbarsflow
2022-12-17refactor(Inst. Import): use m_* for member variables in MR componentsflow
Makes it clearer what is being changed when. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-17fix(Inst. Import): correctly set component versions when updatingflow
This makes it so that the later call to parse the old manifest doesn't change the class data, so that the new data con continue there and be reflected on the component list later. Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-17let the theme decide the notes page right marginleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-16Merge pull request #607 from flowln/dont_crash_on_zip_importflow
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/609
2022-12-16fix: translate unknown mod providerleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-15fix: only show scrollbars when neededleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-15fix(ResourceModel): use a single ConcurrentTask for parsing tasksflow
This avoids creating a bunch of threads that fills up the maximum amount allowed by QThreadPool, and causes a deadlock between the helper threads and the main thread (main thread tries to create threads in painting code, but isn't able to, so it keeps waiting for a thread to free up, but all the threads are waiting on the main thread to process some events). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-15feat(Tasks): allow adding subtasks while running in ConcurrentTaskflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-15feat(Tasks): add ConcurrentTask::clear to allow re-using tasksflow
This way old runs won't pile up in the internal DSs Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-15feat: add a provider column to the mods pageleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-15ApplicationMessage: Use QHash instead of QMapEdgars Cīrulis
QHash provides faster lookup times than QMap because it uses a hash table to store the elements, while QMap uses a self-balancing binary tree. Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2022-12-15Merge pull request #605 from flowln/fix_crash_in_downloader_imageflow
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/590
2022-12-14Merge branch 'develop' into remove-updaterSefa Eyeoglu
2022-12-14Merge pull request #561 from leo78913/iconpicker-stuffSefa Eyeoglu
closes https://github.com/PrismLauncher/PrismLauncher/issues/494
2022-12-14Add confirmation on customised componentsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-14Improve handling of destructive actionsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-14move cat to bottom rightDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-13fix(Inst.Import): don't set managed pack info from imported ZIPsflow
This prevents the Managed Pack page from showing up even though there's no way for it to work correctly. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-13Merge pull request #601 from Scrumplex/fix-translations-3flow
2022-12-13fix: update source stringsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-12-13fix(Inst.Import): don't assert extra data when importing from ZIPflow
ZIPs don't have the necessary data in those cases. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-12fix: bind image fetch callback lambda to the parent objectflow
Fixes a possible crash with the callback being called after the image object was already deleted. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-12fix(ManagedPackPage): crash with GTK2 theme due to QProxyStyleflow
Seemingly related issue: https://bugreports.qt.io/browse/QTBUG-49940 Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-12Fix: Reset stylesheet before setting styleTheLastRar
Resolves #510 Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-12-11Not all libraries are from MojangUna
Signed-off-by: Una <me@unascribed.com>
2022-12-11fix: remove leftover TODODioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-11Merge pull request #569 from Jan200101/PR/fix-mangohudSefa Eyeoglu
2022-12-11fix breeze icon colors and matrix iconTayou
Signed-off-by: Tayou <tayou@gmx.net>
2022-12-11Merge pull request #486 from flowln/wide_bar_customizationflow
2022-12-11Merge pull request #461 from flowln/fix_big_resource_pack_imgsflow
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/360
2022-12-11chore: replace naive mangohud preload with vklayer detectionJan200101
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2022-12-11chore: replace naive mangohud detection with vulkan layer detectionJan200101
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2022-12-10Merge pull request #32 from flowln/modpack_update_pageflow
Closes https://github.com/PrismLauncher/PrismLauncher/issues/180 Closes https://github.com/PrismLauncher/PrismLauncher/issues/170
2022-12-10Update launcher/icons/IconList.cppleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-10Update launcher/icons/IconList.cppleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-09fix: prevent potental crash if droping non local filesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-09Merge pull request #572 from DioEgizio/breeze-icons-improvementsflow
2022-12-09Merge pull request #571 from Ryex/blocked-targetFolderSefa Eyeoglu
fix(blockedmods): Track and use targetFolder for blocked files
2022-12-09feat: improve new.svg in breeze icon packsDioEgizio
makes it better and more similar to the one in legacy Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-08Merge pull request #568 from leo78913/flatpak-shortcutsflow