Commit Graph

9280 Commits

Author SHA1 Message Date
5cfb5a6f0d do not capture things implicitely in lambdas 2024-11-24 16:37:42 +01:00
d927c539b5 Update CONTRIBUTING.md conventions section
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 19:55:40 +01:00
14454faac8 Use old list style
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:21:03 +01:00
2351531e84 Add naming checks to clang-tidy
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:15:07 +01:00
33ff3b4f36 Fix naming
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:10:33 +01:00
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
fbbd64ddb7 chore(nix): sync with upstream nixpkgs
Signed-off-by: seth <getchoo@tuta.io>
2024-11-22 17:33:16 -05:00
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
79dd912126 Merge pull request #3091 from Awqre/develop
Lossless image asset compression
2024-11-20 10:12:34 +02:00
00fa65c18b Merge branch 'PrismLauncher:develop' into develop 2024-11-20 02:08:31 +00:00
1fb0fe0171 ping servers when opening Servers page 2024-11-19 20:48:17 +01:00
a79a66c177 remove debug print 2024-11-19 20:43:04 +01:00
60fb922ba2 remove QObject parent argument from ServerPingTask constructor 2024-11-19 20:43:04 +01:00
59db80cb0e Merge pull request #3068 from Scrumplex/chore/update-nixos-readme
[Linux] Update Nix README
2024-11-19 10:09:11 -05:00
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
6ca18c6266 Refactoring
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-18 19:19:02 +01:00
e74592fa09 Code style conventions (camelCase, m_ prefix)
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-17 20:43:09 +01:00
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
7d04f0ee75 remove useless code when reading response 2024-11-17 20:06:08 +01:00
7cf24586c2 .hpp -> .h 2024-11-17 19:58:30 +01:00
9d5727e36b MCResolver -> McResolver 2024-11-17 19:51:15 +01:00
b8035ca078 refactor header and code into 2 files 2024-11-17 19:50:52 +01:00
8b7040d416 use Qt5-compatible writeString() impl 2024-11-17 19:37:15 +01:00
c3543b104b fix qDebug() call with string << append 2024-11-17 19:26:21 +01:00
2d06e0a111 Fix after rebase 2024-11-17 19:21:09 +01:00
1f094b9803 avoid translating back to stf string without reason 2024-11-17 19:10:15 +01:00
b35cffb347 fix warning about unused jsonLength 2024-11-17 19:10:15 +01:00
0d830e56e9 replace std::runtime_exception with PrismLauncher Exception + add try/catch 2024-11-17 19:10:15 +01:00
8cf0c2029c No need to close the socket, it is done automatically
https://doc.qt.io/qt-6/qtcpsocket.html#dtor.QTcpSocket
2024-11-17 19:10:15 +01:00
cba7e2dc36 use std::optional<> to signify when there is no value 2024-11-17 19:10:15 +01:00
6a7678a6e9 Actually show online players when clicking on the button 2024-11-17 19:10:15 +01:00
0a379a05ff replace my printf calls with qDebug 2024-11-17 19:10:15 +01:00
fe28a051d5 make MCResolver a dynamic object so it doesnt get deleted before the callback
See https://discord.com/channels/1031648380885147709/1031823065937629267/1307471566166167696
2024-11-17 19:10:15 +01:00
87c9066a2b run the code in tasks 2024-11-17 19:10:15 +01:00
ea2a2349f8 make splitAddress() const 2024-11-17 19:10:15 +01:00
2f70115be5 add debug print 2024-11-17 19:10:15 +01:00
8fa1dff17d remove space 2024-11-17 19:10:15 +01:00
99ac11bc40 add my classes to CMakeLists 2024-11-17 19:10:15 +01:00
ee35ac5afd add method queryStatus() to servers and use it on click 2024-11-17 19:10:15 +01:00
43a54cafef add my classes 2024-11-17 19:10:15 +01:00
fac521a312 Add dummy UI button 2024-11-17 19:10:15 +01:00
3c88eccf17 Merge branch 'PrismLauncher:develop' into develop 2024-11-17 08:19:35 +00:00
48235f5b71 Merge pull request #3083 from Trial97/fix_resource_search
Fix resource search
2024-11-15 23:09:28 +00:00
736ecf266d Merge pull request #3019 from Trial97/task_parent
fixed double deletion for tasks
2024-11-15 06:19:40 +01:00
b2a37452be Merge pull request #3024 from Trial97/leak
fix leak on resource search
2024-11-15 06:18:33 +01:00
54f2e75b9d Merge pull request #3070 from TheKodeToad/general-scrollbar
Add scrollbar to Settings -> Launcher -> Features
2024-11-15 06:16:54 +01:00
f7620a43aa Merge pull request #3094 from Trial97/remove_resource_warning
Fix warnings regarding Resource static cast
2024-11-15 06:15:55 +01:00
bcbe5da87f Merge pull request #3096 from Trial97/dangling_file
Fix file remaingin open after program closure
2024-11-15 06:14:25 +01:00
e735ea7e63 Merge pull request #3003 from PrismLauncher/update_flake_lock_action
chore(nix): update lockfile
2024-11-14 22:50:53 +02:00
ce61ed2f86 Fix file remaingin open after program closure
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-14 13:27:16 +02:00