b2a37452be
Merge pull request #3024 from Trial97/leak
...
fix leak on resource search
2024-11-15 06:18:33 +01:00
82bffabb69
do not capture by default all values in lambdas
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-30 18:16:43 +02:00
8e7d84d05b
fix leak on resource search
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-29 00:40:13 +02:00
3336f8107c
Removed AuthRequest and NetAction
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-05-14 00:21:45 +03:00
ded77e6183
Fix NetJob use-after-free
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2024-02-11 15:43:36 +00:00
abbac5c26c
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into fail_concurrent_task
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-09-01 22:28:59 +03:00
25ce11d85d
Merge pull request #1539 from Trial97/refactor_modpack_ux
...
Improvements to modpack UX
2023-08-31 14:58:54 +01:00
aa065f2b51
Updated dependency resolution
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-23 13:28:23 +03:00
44ff247f5f
feat:refactored modpack ux
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-18 20:03:02 +03:00
42a6c670c7
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into fail_concurrent_task
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-15 12:52:59 +03:00
91ba4cf75e
chore: reformat
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-14 18:16:53 +02:00
ef6f9487f4
Merge remote-tracking branch 'upstream/staging' into chore/add-compiler-warnings
2023-08-10 20:38:32 +02:00
6cf7c0a647
Connected last fail signals
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-07-15 20:17:16 +03:00
8d7dcdfc5b
chore: fix shadowed member and signed/unsigned mismatch
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: supress unused with [[maybe_unused]]
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: unshadow ^&^& static_cast implicit return
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: deshadow and mark unused in parse task
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: mark unused in folder models
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: deshadow and mark unused with instances
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: more deshadow and unused
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: remove uneeded simicolons
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: mark unused
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
chore: prevent shadow
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-07-01 23:39:38 -07:00
df4fd7df7f
Merge remote-tracking branch 'upstream/develop' into refactor/net-split-headers-to-proxy-class
2023-06-25 12:43:48 -07:00
9c10965997
refactor: split out setting api headers for downloads
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-06-25 11:09:25 -07:00
69c709b05a
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-06-23 20:01:17 +03:00
147366bc0a
Made ByteSynkArray to use shared_ptr
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-06-15 22:59:41 +03:00
737fc1a2a4
Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into develop
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-05-28 18:01:39 +03:00
c81cb59b4b
fix(memory leak): don't capture job and create cyclic refrence
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-05-26 21:21:10 -07:00
b4fa6e120a
Fixed tipo
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:06 +03:00
5655a33515
Added Dependency API
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
29f7ea752f
refactor: make shared_qobject_ptr ctor explicit
...
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-25 16:57:51 -03:00
ea5020e188
fix(license): add/fix my copyright/license headers
...
*sobbing in messy legal stuff i know nothing about*
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-23 11:12:43 -03:00
ba677a8cb7
refactor: change some ResourceAPI from NetJob to Task
...
This makes it easier to create resource apis that aren't network-based.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:09 -03:00
45d1319891
refactor(RD): decouple ResourceModels from ResourcePages
...
This makes it so that we don't need a reference to the parent page in
the model. It will be useful once we change the page from a widget-based
one to a QML page.
It also makes tasks be created in the dialog instead of the page, so
that the dialog can also have the necessary information to mark versions
as selected / deselected easily. It also makes the task pointers into
smart pointers.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:07 -03:00
6a18079953
refactor: generalize mod models and APIs to resources
...
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.
For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.
It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p
This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:00 -03:00