aboutsummaryrefslogtreecommitdiff
path: root/launcher/net/Download.cpp
AgeCommit message (Collapse)Author
2023-04-17Fix: signal/slot macro -> func pointer & network fixesRachel Powers
- convert qt connect calls to use function pointers instead of the signal/slot macros wherever practical (UI classes were mostly left alone, target was tasks and processes) - give signals an explicit receivers to use the static method over the instance method wherever practical - ensure networks tasks are using the `errorOccured` signal added in Qt5.15 over the deprecated `error` signal - ensure all networks tasks have an sslErrors signal connected - add seemingly missing `MinecraftAccount::authSucceeded` connection for `MSAInteractive` login flow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-05Apply flowln's suggestionTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02Prism-ify more license headersTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02Replace with exact match and add TODO to improveTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-01Allow custom Modrinth API tokenTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
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>
2022-09-05Merge pull request #1034 from Scrumplex/detect-performance-featuresSefa Eyeoglu
2022-08-21feat: add eternal cache entriesflow
Those are entries that don't get stale over time, so we don't invalidate them if they 'expire'. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-08refactor: store current capabilitiesSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11Merge pull request #678 from Scrumplex/improvements-around-proprietary-servicesSefa Eyeoglu
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: fix slots for Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08chore: add missing license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08feat: track capabilities of applicationSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08refactor: rename references to CurseForge to FlameSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-06-04feat: custom user-agentRyan Cao
2022-05-21Merge pull request #500 from flowln/net_refactorSefa Eyeoglu
Refactor a little the code in `launcher/net/` files
2022-05-20Add cursefrog key overridedada513
2022-05-12chore: add polymc license headers to launcher/net filesflow
2022-05-12fix: abort and fail logic in tasksflow
Also sets up correctly the status connections
2022-05-12refactor: more net cleanupflow
This runs clang-tidy on some other files in launcher/net/. This also makes use of some JSON wrappers in HttpMetaCache, instead of using the Qt stuff directly. Lastly, this removes useless null checks (crashes don't occur because of this, but because of concurrent usage / free of the QByteArray pointer), and fix a fixme in Download.h
2022-05-12refactor: remove some superfluous signalsflow
Since now we're inheriting from Task, some signals can be reused.
2022-05-12refactor: organize a little more the code in launcher/net/flow
This also reduces some code duplication by using some Task logic in NetAction.
2022-05-08adopt changes from #497 remappedRyan Cao
2021-11-21NOISSUE continue refactoring things to make tests passPetr Mrázek
2021-11-20NOISSUE Some happy little refactorsPetr Mrázek
2021-11-17NOISSUE qnam -> networkPetr Mrázek
2021-07-25NOISSUE Flatten gui and logic libraries into MultiMCPetr Mrázek