787234a53a
Merge pull request #1163 from flowln/fix_list_icons
2022-10-08 12:12:38 +02:00
fc3a64056c
Merge pull request #1154 from Scrumplex/epic-formatting-codes
2022-10-08 12:12:26 +02:00
6ebc9abb80
fix: update capabilities before first-run wizard
...
On first run, the condition for the wizard would return, before running
updateCapabilities(). This moves that call up, as its only dependency is
the settings system.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-10-06 14:46:13 +02:00
80e9eed35a
fix: remove old unused lgtm.yml, exclude cpp/fixme-comment
...
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com >
2022-10-04 16:17:57 +02:00
23b3990f99
feat(code scanning): enable security-and-quality query
...
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com >
2022-10-04 16:17:57 +02:00
41276403df
feat(actions): add codeql code scanning
...
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com >
2022-10-04 16:17:57 +02:00
e3e9e39498
Merge pull request #1171 from vedantmgoyal2009/patch-1
2022-10-02 15:08:59 +02:00
f315025a8d
Merge pull request #1167 from Scrumplex/epic-commandline
2022-10-02 00:41:34 +05:30
8e43d97133
Microsoft account only
...
Signed-off-by: stoltsvensk <104643560+stoltsvensk@users.noreply.github.com >
2022-10-01 16:47:23 +02:00
c97a47dc62
Merge pull request #1172 from Scrumplex/fix-includes
2022-09-30 18:08:45 -03:00
7ccafdc993
fix: add missing includes to fix Qt 6.4 build
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-30 19:56:01 +02:00
0dca9cb6b8
Merge pull request #1162 from Trial97/feature/Replace-toml-library
2022-09-30 19:44:45 +02:00
be3d780720
Update winget.yml
...
Signed-off-by: Vedant <83997633+vedantmgoyal2009@users.noreply.github.com >
2022-09-30 22:51:47 +05:30
0f59a1dde1
fix(nix): add tomlplusplus
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 15:42:45 +02:00
7c6bb80cee
fix: move toml++ find call
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 13:46:01 +02:00
62841c5b23
fix: pin tomlplusplus to latest release
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 13:44:28 +02:00
aad4f8d1f7
fix: update Git modules
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 13:44:28 +02:00
11c44c676c
fix: remove unused MACOS_HINT
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 13:28:46 +02:00
370c3aa598
Merge pull request #894 from flowln/update_from_external_source
...
epic PR
2022-09-26 08:25:12 -03:00
1cdadafdf8
refactor: use QCommandLineParser instead
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-26 13:21:27 +02:00
dd6f670dec
fix: Fixed memory leak
...
Signed-off-by: timoreo <contact@timoreo.fr >
2022-09-26 11:50:55 +02:00
9ff364b0d3
huge nit: added const refs, everywhere
...
Signed-off-by: timoreo <contact@timoreo.fr >
2022-09-26 11:50:31 +02:00
58a5331f7b
Merge pull request #1164 from Scrumplex/fix-sort-languages
2022-09-25 19:50:55 +02:00
ed261f0af9
Update launcher/minecraft/mod/tasks/LocalModParseTask.cpp
...
Co-authored-by: flow <flowlnlnln@gmail.com >
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com >
2022-09-25 20:38:55 +03:00
c01b475cbf
Merge pull request #1165 from ErogigGit/develop
2022-09-25 09:33:29 -03:00
3d4feeec8d
DCO Remediation Commit for ErogigGit <eric.hagerstrand@gmail.com>
...
I, ErogigGit <eric.hagerstrand@gmail.com >, hereby add my Signed-off-by to this commit: 8a4f1c66f83a339d33ab0ba0076d8c1141055067
Signed-off-by: ErogigGit <eric.hagerstrand@gmail.com >
2022-09-24 23:31:30 +02:00
a1800ec23f
Prefer the system tomlplusplus
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2022-09-25 00:20:01 +03:00
8a4f1c66f8
Allow double clicking to mark for dowload
...
Signed-off-by: Erogig <erogigabyte@gmail.com >
2022-09-24 22:37:51 +02:00
b187231b0e
fix: sort languages by their name instead of key
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-24 11:53:41 +02:00
60b38de69f
fix: fallback for languages without a native name
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-24 11:48:33 +02:00
600c49f7f0
Replaced tomlc99 with tomlplusplus
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2022-09-24 00:10:27 +03:00
e7380e70a3
fix: use placeholder icon when the project has no icon in MR
...
Projects with no icon return a null icon URL in Modrinth's API.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-23 18:05:58 -03:00
3df8594f19
feat: change project item delegate for modrinth modpacks
...
more info! \ ^-^/
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-23 16:59:40 -03:00
ee4a829293
fix: remove manual icon resize in ModModel
...
THis fixes a FIXME, now that we fixed the issue :o
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-23 16:59:40 -03:00
1862f3c124
fix: set icon sizes correctly in ProjectItemDelegate
...
no more dumb hacks with icons!!
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-23 16:59:40 -03:00
777ab3416f
feat: also format resource/texture pack names
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-21 15:00:28 +02:00
ecf5ab75e7
feat: support more formatting codes
...
also fix some crashes
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-09-21 14:59:01 +02:00
4f6d964217
fix: don't change groups when updating an instance
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:10 -03:00
06019f01e3
feat: add dialog to ask whether to chaneg instance's name
...
This prevents custom names from being lost when updating, by only
changing the name if the old instance name constains the old version,
so that we can update it if the user whishes to.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:10 -03:00
ddde885084
fix: show warning in case there's no old index when updating
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:10 -03:00
be8c6f218c
refactor: setAbortStatus -> setAbortable
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:10 -03:00
9eb35ea7c8
fix: don't load specific settings for managed pack info
...
This avoids loading all settings for all instances when searching for
one with a specific managed pack name.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:10 -03:00
d2fdbec41d
fix: move file deletion to the end of the instance update
...
This makes it harder for problems in the updating process to affect the
current instance. Network issues, for instance, will no longer put the
instance in an invalid state.
Still, a possible improvement to this would be passing that logic to
InstanceStaging instead, to be handled with the instance commiting
directly. However, as it is now, the code would become very spaguetti-y,
and given that the override operation in the commiting could also put
the instance into an invalid state, it seems to me that, in order to
fully error-proof this, we would need to do a copy operation on the
whole instance, in order to modify the copy, and only in the end
override everything an once with a rename. That also has the possibility
of corrupting the instance if done without super care, however, so I
think we may need to instead create an automatic backup system, with an
undo command of sorts, or something like that. This doesn't seem very
trivial though, so it'll probably need to wait until another PR. In the
meantime, the user is advised to always backup their instances before
doing this kind of action, as always.
What a long commit message o.O
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
2dd372600c
fix: some abort-related issues
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
eda6cf11ef
feat(ui): improve info dialog before updating an instance
...
Adds a 'Cancel' option, and add a note about doing a backup before
updating.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
68facd6b93
fix(ui): hook up abort status signal in ProgressDialog
...
Now we have a visual indication on when tasks are abortable!
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
87002fb8f8
fix: hook up setAbortStatus in instance import tasks
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
6a50fa35ec
feat: add canAbort() status change in Task
...
By now, it's a recurring pattern of wanting to restrict aborting in
certain situations. This avoids further code duplication, and adds a
signal that external users can hook up to to respond to such change.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
6541570969
fix: simplify abort handling and add missing emits
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00
4b0ceea894
fix: correctly set managed pack fields in CF pack
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:09 -03:00