9353 Commits

Author SHA1 Message Date
iTrooz
26f50f9b81
connect job to deletion task before starting it
This ensures the signal is not fired before we have connected it
2024-11-26 18:50:37 +01:00
iTrooz
ca52d00b80
replace std::string by QString in emitFail() 2024-11-26 18:47:13 +01:00
iTrooz
66f36195d8
simplify code 2024-11-26 18:44:21 +01:00
iTrooz
f05548f3a3
remove implicit captures 2024-11-26 18:43:14 +01:00
iTrooz
3a9c030982
Do not timeout after just 3000ms
Keep the network default timeout
2024-11-26 18:24:46 +01:00
iTrooz
fef8ee2d1b
Disconnect task finished signal when ServersModel is destroyed 2024-11-26 18:16:15 +01:00
iTrooz
7c61fec8e0
Make task output online players rather than updating Server itself
This doesn't really change anything
2024-11-26 18:03:35 +01:00
guihkx
f6770a847a
flatpak: update KDE runtime to 6.8
This also switches to the Docker image provided and maintained by
Flathub collaborators through the 'flathub-infra' organization on
GitHub, because it looks better maintained at the moment.

Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
2024-11-26 13:51:09 -03:00
guihkx
4a50e94967
flatpak: update xrandr to 1.5.3
Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
2024-11-26 13:51:09 -03:00
iTrooz
087ab70143
refresh UI when we got the players online 2024-11-26 14:33:02 +01:00
iTrooz
4fad298d67
put more McClient methods to private 2024-11-26 13:22:02 +01:00
iTrooz
520d6b0b42
run socket code in thread 2024-11-26 13:22:00 +01:00
iTrooz
ca6d66970e
add documentation for Task and ConcurrentTask 2024-11-25 23:49:03 +01:00
Jan200101
514ec99a03
Integrate switcheroo-control for discrete GPU support
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2024-11-25 22:29:39 +01:00
TheKodeToad
6c062c48b4
Merge pull request #3130 from Kationor/trimversion
Improve MANIFEST.MF parsing
2024-11-25 10:05:02 +00:00
iTrooz
7d2da19418
make McResolver have the same signal name conventions as Task 2024-11-25 01:09:47 +01:00
iTrooz
24b9815763
cleanup 2024-11-25 00:16:46 +01:00
iTrooz
7c8d2c9b55
always delete McResolver object, even when it fails 2024-11-25 00:16:25 +01:00
iTrooz
0c6f78dee2
communicate when ServerPingTask succeeds/fails 2024-11-25 00:10:17 +01:00
iTrooz
9ce5eaaa0c
fix job being deleted before tasks are finished 2024-11-24 23:54:19 +01:00
Kationor
b40a1973bf
Improve MANIFEST.MF parsing
Previously, we would only properly parse LF-encoded manifests, and even
those only if they used the recommended casing.

This commit allows the parser to recognise CR and CRLF newlines, and
also makes the name comparison case insensitive to align with the
specification. (Though not completely: we still don't support multiline
values)

Signed-off-by: Kationor <n96211028@gmail.com>
2024-11-24 19:30:59 +01:00
Trial97
a09af619ce
Make FTB Import note italic to match others
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-24 20:29:07 +02:00
TheKodeToad
835944387b
Merge pull request #3128 from QazCetelic/naming-clang-tidy
Add naming check in `.clang-tidy` file
2024-11-24 16:10:41 +00:00
iTrooz
5cfb5a6f0d
do not capture things implicitely in lambdas 2024-11-24 16:37:42 +01:00
QazCetelic
d927c539b5 Update CONTRIBUTING.md conventions section
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 19:55:40 +01:00
QazCetelic
14454faac8 Use old list style
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:21:03 +01:00
QazCetelic
2351531e84 Add naming checks to clang-tidy
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:15:07 +01:00
QazCetelic
33ff3b4f36 Fix naming
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:10:33 +01:00
seth
11e7b218d4
Merge pull request #3113 from PrismLauncher/update_flake_lock_action
chore(nix): adopt new darwin SDK pattern
2024-11-22 18:25:21 -05:00
seth
fbbd64ddb7
chore(nix): sync with upstream nixpkgs
Signed-off-by: seth <getchoo@tuta.io>
2024-11-22 17:33:16 -05:00
github-actions[bot]
41db87c8cf chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nix-filter':
    'github:numtide/nix-filter/776e68c1d014c3adde193a18db9d738458cd2ba4?narHash=sha256-SCHiL%2B1f7q9TAnxpasriP6fMarWE5H43t25F5/9e28I%3D' (2024-10-29)
  → 'github:numtide/nix-filter/f7653272fd234696ae94229839a99b73c9ab7de0?narHash=sha256-oRam5PS1vcrr5UPgALW0eo1m/5/pls27Z/pabHNy2Ms%3D' (2024-11-13)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7?narHash=sha256-Zwl8YgTVJTEum%2BL%2B0zVAWvXAGbWAuXHax3KzuejaDyo%3D' (2024-11-05)
  → 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19)
2024-11-22 22:26:01 +00:00
Alexandru Ionut Tripon
79dd912126
Merge pull request #3091 from Awqre/develop
Lossless image asset compression
2024-11-20 10:12:34 +02:00
Awqre
00fa65c18b
Merge branch 'PrismLauncher:develop' into develop 2024-11-20 02:08:31 +00:00
iTrooz
1fb0fe0171
ping servers when opening Servers page 2024-11-19 20:48:17 +01:00
iTrooz
a79a66c177
remove debug print 2024-11-19 20:43:04 +01:00
iTrooz
60fb922ba2
remove QObject parent argument from ServerPingTask constructor 2024-11-19 20:43:04 +01:00
seth
59db80cb0e
Merge pull request #3068 from Scrumplex/chore/update-nixos-readme
[Linux] Update Nix README
2024-11-19 10:09:11 -05:00
Alexandru Ionut Tripon
e5a4dfdf16
Merge pull request #2962 from AOSC-Tracking/upstream/detect-aosc-os-jdks
javautils: add a filter for detecting Java paths on AOSC OS
2024-11-19 13:44:57 +02:00
QazCetelic
6ca18c6266 Refactoring
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-18 19:19:02 +01:00
QazCetelic
e74592fa09 Code style conventions (camelCase, m_ prefix)
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-17 20:43:09 +01:00
QazCetelic
abbebff400 Removed bug when renaming icon file in nested folder while application is running
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-17 20:35:24 +01:00
iTrooz
7d04f0ee75
remove useless code when reading response 2024-11-17 20:06:08 +01:00
iTrooz
7cf24586c2
.hpp -> .h 2024-11-17 19:58:30 +01:00
iTrooz
9d5727e36b
MCResolver -> McResolver 2024-11-17 19:51:15 +01:00
iTrooz
b8035ca078
refactor header and code into 2 files 2024-11-17 19:50:52 +01:00
iTrooz
8b7040d416
use Qt5-compatible writeString() impl 2024-11-17 19:37:15 +01:00
iTrooz
c3543b104b
fix qDebug() call with string << append 2024-11-17 19:26:21 +01:00
iTrooz
2d06e0a111
Fix after rebase 2024-11-17 19:21:09 +01:00
iTrooz
1f094b9803
avoid translating back to stf string without reason 2024-11-17 19:10:15 +01:00
iTrooz
b35cffb347
fix warning about unused jsonLength 2024-11-17 19:10:15 +01:00