aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2023-01-27better fix for WideBar::insertSeparatorleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Remove unused BarEntry variableleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Update launcher/ui/MainWindow.uileo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Update launcher/ui/MainWindow.uileo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-26refactor: clean up some MainWindow stuffleo78913
this makes the accounts button and menubar item share the same QMenu and also refactors some code Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-25refactor: add error handling to component importSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-25Merge pull request #784 from flowln/fix_resource_folder_double_smart_ptrsSefa Eyeoglu
2023-01-25Merge pull request #458 from Scrumplex/remove-updaterSefa Eyeoglu
2023-01-24fix(Tasks): don't try to start more tasks than necessaryflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-24fix(ResourceFolder): don't create two smart ptrs for the same raw ptrflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-24Update launcher/Application.cppRachel Powers
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-24remove NDEBUG check per Scrumplex's ordersRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-23fix: let jars be found from inside build dir for debug buildsRachel Powers
debug bug builds run form inside the build dir before they are bundled can't find the jars Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-23Merge pull request #675 from flowln/generalize_mod_modelSefa Eyeoglu
2023-01-23Merge pull request #758 from flowln/fix_process_events_backstabSefa Eyeoglu
2023-01-23fix(license): add/fix my copyright/license headersflow
*sobbing in messy legal stuff i know nothing about* Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-21feat+fix(Version): make comparsion FlexVer-compatibleflow
... and fixes a minor issue in the parsing. This changes the expected behavior of Versions in one significant way: Now, Versions like 1.2 or 1.5 evaluate to LESS THAN 1.2.0 and 1.5.0 respectively. This makes sense for sorting versions, since one expects the versions without patch release to 'contain' the ones with, so the ones without should be evaluated uniformily with the ones with the patch. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-20Fix main window icon and stuffleo78913
i forgor 💀 Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: make the newsLabel toolbutton fullwidth againleo78913
this reverts it to how it was before the MainWindow .ui port Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix status bar nameleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20remove useless setEnabled callsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat(WideBar): custom context menu actionsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: translate actionNoDefaultAcount textleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: translate NoAccountsAdded textleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20fix(widebar): fix insertSeparatorleo78913
WideBar::insertSeparator was adding the separator to the end of the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat(WideBar): Allow disabling alt shortcutsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20refactor: Port the main window to a .ui fileleo78913
some stuff still needs to be done in the c++ side because qt designer is dumb >:( the instance toolbar icon and instance name buttons are still added manually inside MainWindow.cpp looks almost identical, with some minor tweaks: - the instance toolbar is now a WideBar, so you can customize what actions you want :D - the instance toolbar buttons are now fullwidth - the close window button is now at the end of the file menu - the help menu has some layout changes this also fixes some stuff: - menus not having tooltips - the top toolbar not connecting to the title bar in kde - the instance toolbar separators looking weird after you move the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat: add Widebar::InsertWidgetBefore methodleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20make MainWindow cat update instantlyTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-20refactor: clean up Section structflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-20refactor: simplify Version operatorsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-19Version.cpp: Add new lineEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-19Version.h: Fix comparison of null version in Version classEdgars Cīrulis
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-19fix: proper null padded version comparisonRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-19feat: add debug printing for VersionRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-18fix: call processEvents() before adding new tasks to the task queueflow
This allows the ongoing task to go off the stack before the next one is started. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-17Version.cpp: Remove unnecessary QStringList includeEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Decompose version strings according to flexverEdgars Cīrulis
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Format parse function code using clang-formatEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Simplify Version::parse by using const auto& current_charEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Use anonymous function to eliminate code duplicationEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Add version string parser to split on '.' characterEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Improve version parsing to handle mixed numeric and alphabetic ↵Edgars Cīrulis
characters Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-16Merge pull request #696 from Ryex/import-all-the-thingsSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/581 Fixes https://github.com/PrismLauncher/PrismLauncher/issues/700
2023-01-14chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-14Merge pull request #743 from flowln/fix_mods_with_wrong_modListVersionflow
2023-01-13fix: don't fail mod parsing when encountering invalid modListVersionflow
The spec (admitely a very old one) states that this entry should always have the value "2". However, some mods do not follow this convention, causing issues. One notable example is the 1.6 version of Aether II for 1.7.10, that has this value set at "5" for whatever reason. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13Merge pull request #685 from byteduck/instance-accountsflow